summaryrefslogtreecommitdiff
path: root/src/lib/ecore (follow)
AgeCommit message (Collapse)Author
2013-12-26efl: Unified eina critical manro to CRI.Daniel Juyung Seo
Being annoyed by different types of eina critical macros - CRI, CRIT, CRITICAL -, I concluded to unify them to one. Discussed on IRC and finally, CRI was chosen to meet the consistency with other macros - ERR, WRN, INF, DBG - in terms of the number of characters. If there is any missing bits, please let me know.
2013-12-23ecore: fix shutdown when using system module.Cedric BAIL
This patch will detect how many more times ecore_init was called during initialization and use that as a threshold to do a clean shutdown. It is a necessary evil as we do have ecore module that will initialize eldbus that will then reinit ecore_init from within ecore_init and without a chance for the application to act on it. I also reenable a test to make sure we will catch earlier this kind of issue.
2013-12-17getopt: add positional argument handling.Gustavo Sverzut Barbieri
positional arguments must appear at the end of the description array (after the last option) and should have a metavar set and not have shortname or longname. Simple, elegant and fit :-) There is a new function to parse the positional arguments, ecore_getopt_parse_positional() because we may want to not try to parse them in the case of a quit-option such as --help, --license, --copyright, --version or some user-defined action. This avoids us producing errors of missing positional arguments when printing help and adds some flexibility as well. This should make Tasn happy :-)
2013-12-17getopt: fix line wrapping issues in help strings.Gustavo Sverzut Barbieri
2013-12-17Ecore_Avahi: initial commit.Cedric BAIL
TODO: - Add tests, how ? - Integrate with Eo, needed ?
2013-12-09ecore loop + animator - add call to get if an animator cb has run this iterCarsten Haitzler (Rasterman)
this adds a simple call and infra to get if an animator has run this iteration. it's simple and not really useful other than internally to efl.
2013-12-04ecore ecore_glib.c: fixed documentation about glib integration always ↵Daniel Juyung Seo
configure option. --enable-glib-integration-always was changed to --with-glib=always in efl 1.8.
2013-12-02Adding the cubic-bezier curve to edje transitionsOtavio Pontes
Summary: Adding an option to use a cubic-bezier curve in edje transitions. Reviewers: Sachiel, cedric, raster Reviewed By: raster CC: raster Differential Revision: https://phab.enlightenment.org/D319
2013-11-26Ecore animator: delete animater's internal timer in _end_tick() in all cases.Daniel Juyung Seo
When the ecore_animator_source_set() is called with different sources repeatedly, sometimes internal timer is not deleted and this leads animator misbehavior. Especially when the source is changed from ECORE_ANIMATOR_SOURCE_TIMER to ECORE_ANIMATOR_SOURCE_CUSTOM before the SOURCE_TIMER's internal timer is deleted, this problem occurs. In this case, even though _end_tick() is called in ecore_animator_source_set(), the SOURCE_TIMER's timer is not deleted because the source is already changed to CUSTOM. So we should delete the internal timer in _end_tick() in all cases.
2013-11-20Docs fix for ecore_animator_add fixedCarsten Haitzler (Rasterman)
Summary: Function returns boolean value, docs said it can return int. I had fixed that. Reviewers: cedric, raster Reviewed By: raster CC: cedric Differential Revision: https://phab.enlightenment.org/D342
2013-11-14allow ecore to not load system modules.Gustavo Sverzut Barbieri
this won't go to changelog/news as it's mainly internal, I can't see people wanting to use it except rare cases as edje tools.
2013-11-07Changed Eo class names to be consistent.Tom Hacohen
All the class names are now of the format: Lib_Type_Subtype_Extra.
2013-11-05ecore: remove coroutine for now. Can easily be reverted for 1.9.Cedric Bail
2013-11-04alpha1 release autofoo/build tree work to pass distcheck and actually workv1.8.0-alpha1Carsten Haitzler (Rasterman)
2013-10-31Ecore_Common.h: fixed documentations.Daniel Juyung Seo
2013-10-23Ecore_Legacy.h: fixed typo while reading it.Daniel Juyung Seo
2013-10-22for ecore system time changed - use a real time in the future, notCarsten Haitzler (Rasterman)
time 0 for ECORE_EVENT_SYSTEM_TIMEDATE_CHANGED we use a timerfd on linux (and also support talking to systemd) to detet time/date changes. the timerfd was set up to go off at the absolute time of 0. since that is almost always... in the past.. lets set a REAL time in the future. (almost end of time)
2013-10-11ecore: Use Eina_Spinlock for Ecore_Thread.Cedric Bail
2013-09-27Revert "eo: libs,test,benchmarks Eo_Class -> Eo"Tom Hacohen
This reverts commit 1714fe93f42d6950171d0ab9069bfb808a62fd31. We actually want this type, it makes things clearer. Conflicts: src/tests/eo/function_overrides/function_overrides_inherit2.c src/tests/eo/function_overrides/function_overrides_simple.c src/tests/eo/suite/eo_test_class_simple.c
2013-09-27eo: libs,test,benchmarks Eo_Class -> EoJérémy Zurcher
Conflicts: src/tests/eo/suite/eo_test_general.c
2013-09-25ecore: update to new eo_parent_get/set API.Cedric Bail
2013-09-03ecore: fix segfault while adding new local or global data to thread.Mariusz Grzegorczyk
2013-08-27ecore: add infrastructure to get info from malloc_info to.Cedric Bail
2013-08-27ecore: fix build without mallinfo.Cedric Bail
2013-08-27ecore: fix function call order to actually make mallinfo call work.Cedric Bail
2013-08-15ecore system: Add Tizen backendJosé Roberto de Souza
2013-08-10adjust (as discussed) to have enums for memory and battery state.Carsten Haitzler (Rasterman)
2013-08-09ecore: add system modules, implement 'systemd'.Gustavo Sverzut Barbieri
Ecore will now load "system modules" on ecore_init(). The "systemd" module will use DBus to monitor localed, hostnamed and timedated and add system events related to those changes.
2013-08-09ecore: detect and emit event on system time changed.Gustavo Sverzut Barbieri
If we have timerfd then we can set a timer with special features (ABSTIME | CANCELON) to be notified if its offset to monotonic time change, effectively this will alert us if user called settimeofday() or similar method to change system time. This code was inspired by Enlightenment's clock module.
2013-08-09ecore: add system-level events.Gustavo Sverzut Barbieri
- ECORE_EVENT_LOW_MEMORY: Low memory state changed - ECORE_EVENT_LOW_BATTERY: Low battery state changed - ECORE_EVENT_LOCALE_CHANGED: Locale changed - ECORE_EVENT_HOSTNAME_CHANGED: Hostname changed - ECORE_EVENT_SYSTEM_TIMEDATE_CHANGED: Time or Date changed
2013-08-09Fix glib integration copy/paste issue:Chris Michael
- If we are supposed to be deleting an fd handler, let's use g_source_remove_poll instead of g_source_add_poll ;) Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-07ecore: Check if eina_inarray_grow return NULL.Stefan Schmidt
We will dereference one line below. CID 1039337
2013-07-16fix clang nonnull complaintCarsten Haitzler (Rasterman)
2013-07-16fix flang nonnull complaintCarsten Haitzler (Rasterman)
2013-07-08Fix memleak of Ecore_Thread_Data reported by CoverityChris Michael
NB: Fixes Coverity CID1039280 Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24efl: fix systemd spelling.Doug Newgard
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-07Fix some doxy formatting.Chris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-04ecore: actually return the real value, even if they were the same in this case.Cedric Bail
2013-05-22ecore_pipe.c: fixed fd handler increasing issue.Daniel Juyung Seo
Call _ecore_pipe_unhandle() when you return from _ecore_pipe_read() or the fd will never be closed. This fixed increasing numbers of fd handler issue when you call ecore_pipe_add/del repeatedly. In that case, reusing ecore_pipe is recommended though.
2013-05-17ecore_animator: Ensure correct start/end values are returned.Daniel Willmann
Make sure pos_map(0) == 0 and pos_map(1) == 1 Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-05ecore: properly order header for building on windows.Cedric Bail
2013-05-02revert the revert... damn you git!Carsten Haitzler (Rasterman)
Revert "Revert "Efl: replace eo_data_get for objects data referencing."" This reverts commit b64a2994b3b277cbe7fce17d7ee275fd0d78c925.
2013-05-02Revert "Efl: replace eo_data_get for objects data referencing."Carsten Haitzler (Rasterman)
This reverts commit 654a3f5f94c2464b8563d27da94a78398c112962.
2013-05-01Efl: replace eo_data_get for objects data referencing.Daniel Zaoui
2013-04-24add a global Efl_Config.h for everyone.Carsten Haitzler (Rasterman)
* ned to replicate changes in other .pc.in files * need to replicate changes in other E*.h installed header files
2013-04-23ecore: Split Ecore headersAharon Hillel
Now, Ecore.h includes three new files: - Ecore_Eo.h: Eo API functions (functions defines, enums, base id). - Ecore_Legacy.h: contains the API functions related to objects - Ecore_Common.h: common data (structs, enums...) + functions not related to objects. This phase is needed for the EFL 1.8 release to disable Eo APIs if we consider it is not enough mature to be used by applications.
2013-04-02Ecore.h: fixed ecore documentation.Daniel Juyung Seo
2013-03-30ecore: add some usefull debugging information.Cedric Bail
2013-03-28ecore: add systemd watchdog support to Ecore main loop.Cedric Bail
2013-03-27efl: integrate eina_log_timing.Cedric BAIL