Commit Graph

35 Commits

Author SHA1 Message Date
Christopher Michael bb651d8eb8 Move Ecore.h (and associated headers) to own dir.
SVN revision: 50142
2010-07-09 06:23:19 +00:00
Carsten Haitzler 17263ea263 add ecore versioning
SVN revision: 49271
2010-05-29 06:28:25 +00:00
Vincent Torri 898768c963 various fixes for vc++. I'll add the Visual Studio projects later
SVN revision: 47758
2010-04-05 08:26:48 +00:00
Sebastian Dransfeld 75f4ccbbe5 More ecore_data to separate lib
SVN revision: 45782
2010-02-01 20:20:06 +00:00
Cedric BAIL 44193541f7 * ecore: Move ecore_job inside ecore.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.


SVN revision: 45570
2010-01-25 21:59:21 +00:00
Vincent Torri cad002c759 add stub Windows CE ecore_exe. Will be filled later
SVN revision: 45296
2010-01-18 18:16:50 +00:00
Vincent Torri ed3ac88827 Add data and error events in ecore_exe_win32.c.
There are still some problems with the win32 select loop, though

SVN revision: 44229
2009-12-06 19:25:48 +00:00
Vincent Torri 1b7b929a09 * link correctly ecore against pthread
* use the efl_pthread.m4 macro
 * add configure output for pthread support in ecore


SVN revision: 43627
2009-11-11 23:43:58 +00:00
Vincent Torri b7bd2998c4 ecore_exe for Windows.
Not complete yet but it executes a command and kills it
TODO: pipes


SVN revision: 43112
2009-10-16 09:17:26 +00:00
Gustavo Sverzut Barbieri 728841b576 welcome glib main loop integration support.
that's it, it's here... tested and works fine, please try with your
favorite gmainloop dependent library and report problems. Suggestions:

  * GConf to access Gnome and its applications settings.
  * GtkSettings to access other properties of Gnome and its applications.
  * GUPnP (okay, we have EUPnP, but they have more features so far)
  * Rygel, based on GUPnP.
  * Libsoup, SOAP and HTTP access, useful for web access and required
    by other libraries.
  * Mojito, by Moblin, access to various web2.0 services like flickr,
    picasa, twitter...

And last but not least, this enables Flash plugin on WebKit-EFL and
may enable us to get Google Gadgets sooner (before someone writes a
proper EFL backend).

Support is auto-detected at compile time but can be disabled with
--disable-glib. Runtime support is not enabled by default (so
compiling with it will just link yet another library), one needs to
call ecore_main_loop_glib_integrate() to do so.

Thanks to INdT folks that provided the initial implementation. I
rewrote it to make it correct, but the idea was good.



SVN revision: 42825
2009-10-01 03:56:38 +00:00
Vincent Torri 9f26b75b44 Use LTLIBINTL instead of LIBINTL
SVN revision: 42711
2009-09-26 13:05:20 +00:00
Vincent Torri af6cde97d3 fix gettext stuff
to disable it, pass to configure --disable-nls



SVN revision: 42166
2009-09-01 17:27:23 +00:00
Cedric BAIL 2bb8e5ad8e * ecore_thread_run: Add a facility to run heavy code in another thread
that still integrate cleanly with the EFL.

	ecore_thread_run need two callbacks :

	* func_heavy is called from another thread and should not use the
	EFL except Eina, but carefully.

	* func_end is called when func_heavy is done, but from inside ecore
	main loop, so you can at this point call every EFL functions without
	fear.

	Note :

	The system automatically detect how many CPU you have and will spread
	the load on all of them.

	You must not assume that the result will come in the same order you
	requested it. Depend on each CPU load and how heavy the function on it
	are.



SVN revision: 41555
2009-07-31 17:06:11 +00:00
Carsten Haitzler ce5a59b7e5 lutin... release soname patch. verbose svn soname used right now
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Vincent Torri d9d7c7d23b * update configure.ac so that default options are chosen according to the host
* fix requirements
 * fix configuration on mac os x (problem with automake 1.9) and
   add missing values/macro for quartz support
 * small typo in ecore_evas_win32 api
 * use m4 api in m4 files



SVN revision: 39471
2009-03-13 16:35:16 +00:00
Vincent Torri e18508b701 remove a bit the mess n ecore. It's just the first patch...
* add vim header
 * include config.h when necessary
 * fix the order of some include
 * move the standard header in ecore_private.h to the source files

I have recompiled all the efl and e17, and e17 seems to work fine with these changes.
If you encounter problems with that commit, let me know.


SVN revision: 38864
2009-01-31 18:33:39 +00:00
Gustavo Sverzut Barbieri 62d0d7eca0 Easy to use and powerful getopt implementation.
Create a parser description and give it the parameters, that's it. You
can store values (automatically converting types!), count occurrences,
make it true or false, create a list, choose from a list of items or
even specify your own callback to process arguments!

It was inspired by Python's optparse: http://www.python.org/doc/2.5.2/lib/module-optparse.html


SVN revision: 37781
2008-11-24 00:49:04 +00:00
Carsten Haitzler c8731aeaa6 add patch to add a pipe handler for glueing threads to the core main loop via
pipes - makes it save for a thread to send a message to the main loop and not
need lots of thread locks etc.



SVN revision: 37429
2008-11-03 05:42:27 +00:00
Vincent Torri 9b19b7dec4 autotools fixes
* remove useless _DEPENDENCIES variables
 * remove useless files in EXTRA_DIST
 * use -no-undefied directly
 * add some flags when the host is windows ce

make distcheck succeeds on my computer

next step will be to fix the horrible mess in Ecore.h and ecore_private.h


SVN revision: 37406
2008-11-02 09:01:35 +00:00
Cedric BAIL 1774413b17 Remove ecore_strings and switch to eina_stringshare.
SVN revision: 36675
2008-10-15 14:45:53 +00:00
Cedric BAIL 3d49d88a32 Make ecore depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36622
2008-10-13 15:59:19 +00:00
doursse cc0ca9325e integration of evil in ecore. It's compiling on windows and my ubuntu. The commit is big, please report any problem
SVN revision: 34671
2008-05-26 05:16:34 +00:00
Carsten Haitzler c1441e1c3a e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
doursse be1229247a autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove useless -L flags in *_la_LDFLAGS


SVN revision: 32338
2007-11-04 09:29:20 +00:00
doursse 25f684183c create the shared lib for ecore on windows
SVN revision: 30604
2007-07-05 09:33:11 +00:00
rephorm b8df6783e3 add ecore_strlcat for symmetry
add ecore_strbuf, an auto-expanding string buffer for building long strings whose length isn't easily determinable beforehand. for now just supports append.


SVN revision: 28379
2007-02-16 23:49:55 +00:00
ningerso a308648698 Add ecore_strlcpy for an strlcpy copy available on all architectures.
SVN revision: 27890
2007-01-10 11:28:41 +00:00
Carsten Haitzler 5856cddd6f autopackage ecore...
SVN revision: 13679
2005-03-10 15:19:43 +00:00
Carsten Haitzler 9b891c8217 some iccm
LDFLAGS.


SVN revision: 12128
2004-11-02 04:03:27 +00:00
Carsten Haitzler acfe995563 ok fix some things with SSL and ecore_evas. you ALWYAs have at least the api
to do ssl and al fo ecorE_evas stuff

BUt ecore_* may not be BUILT with that support
so the api stub exists
but it may just return NULL. theres calls to query for support here.


SVN revision: 11957
2004-10-22 03:41:49 +00:00
tsauerbeck f83c81433d mingw portability
SVN revision: 11926
2004-10-20 17:51:29 +00:00
Carsten Haitzler 5ef8dedf2e ecore animators... IN!
SVN revision: 11520
2004-09-05 08:00:10 +00:00
xcomputerman 1034f13443 Merge Ewd code into Ecore.
The new functions (Ecore_Data.h) have not been tested yet, be warned! :)


SVN revision: 9384
2004-03-18 05:29:54 +00:00
Carsten Haitzler 5a4428d1b2 debugging stuff to help profile an application using evas/ecore etc. to see
where (rougly) time is spent (as it runs - dynamically). quite useful if your
code is dropping frames to keep animation going - but u'd like to know when
exactly its happening so you can lean down the graphics design or the code in
those situations.


SVN revision: 9379
2004-03-17 05:14:13 +00:00
Carsten Haitzler a5c2425084 damn you salizar! damn you!
errr. i mean. ecore moves to HEAD!


SVN revision: 7475
2003-09-23 08:09:32 +00:00