Daniel Juyung Seo
abec2d03b8
Ecore_Legacy.h: fixed typo while reading it.
2013-10-23 22:23:22 +09:00
Carsten Haitzler
7736a96c4f
for ecore system time changed - use a real time in the future, not
...
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-22 08:12:48 +01:00
Cedric Bail
7caef271dc
ecore: Use Eina_Spinlock for Ecore_Thread.
2013-10-11 11:08:17 +09:00
Tom Hacohen
682c69764d
Revert "eo: libs,test,benchmarks Eo_Class -> Eo"
...
This reverts commit 1714fe93f4
.
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-27 16:40:32 +01:00
Jérémy Zurcher
1714fe93f4
eo: libs,test,benchmarks Eo_Class -> Eo
...
Conflicts:
src/tests/eo/suite/eo_test_general.c
2013-09-27 14:01:46 +01:00
Cedric Bail
5166bab675
ecore: update to new eo_parent_get/set API.
2013-09-25 13:34:18 +09:00
Mariusz Grzegorczyk
ec67ea9c1e
ecore: fix segfault while adding new local or global data to thread.
2013-09-03 12:44:27 +09:00
Cedric Bail
0082c1b4eb
ecore: add infrastructure to get info from malloc_info to.
2013-08-27 16:52:00 +09:00
Cedric Bail
56983ed0d4
ecore: fix build without mallinfo.
2013-08-27 16:06:56 +09:00
Cedric Bail
d2da83fed8
ecore: fix function call order to actually make mallinfo call work.
2013-08-27 15:57:05 +09:00
José Roberto de Souza
76e69f9323
ecore system: Add Tizen backend
2013-08-15 14:46:30 -03:00
Carsten Haitzler
393040a9fe
adjust (as discussed) to have enums for memory and battery state.
2013-08-10 23:23:06 +09:00
Gustavo Sverzut Barbieri
c0c5736a4e
ecore: add system modules, implement 'systemd'.
...
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-09 14:28:02 -03:00
Gustavo Sverzut Barbieri
ca39ff976e
ecore: detect and emit event on system time changed.
...
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-09 12:14:00 -03:00
Gustavo Sverzut Barbieri
0a9c78896b
ecore: add system-level events.
...
- 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-09 12:14:00 -03:00
Chris Michael
e811036199
Fix glib integration copy/paste issue:
...
- 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-09 06:38:54 +01:00
Stefan Schmidt
03c2d1c868
ecore: Check if eina_inarray_grow return NULL.
...
We will dereference one line below.
CID 1039337
2013-08-07 15:18:19 +01:00
Carsten Haitzler
8d324a5d3d
fix clang nonnull complaint
2013-07-16 17:07:11 +09:00
Carsten Haitzler
6b6f689718
fix flang nonnull complaint
2013-07-16 16:58:45 +09:00
Chris Michael
18a9719003
Fix memleak of Ecore_Thread_Data reported by Coverity
...
NB: Fixes Coverity CID1039280
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:54:42 +01:00
Doug Newgard
95bc804a2e
efl: fix systemd spelling.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-24 12:04:18 +09:00
Chris Michael
ec328ec328
Fix some doxy formatting.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-07 15:42:52 +01:00
Cedric Bail
cd57e792bc
ecore: actually return the real value, even if they were the same in this case.
2013-06-04 11:20:25 +09:00
Daniel Juyung Seo
3c618e54a1
ecore_pipe.c: fixed fd handler increasing issue.
...
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-22 20:46:19 +09:00
Daniel Willmann
04829b9244
ecore_animator: Ensure correct start/end values are returned.
...
Make sure pos_map(0) == 0 and pos_map(1) == 1
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-17 17:15:27 +01:00
Cedric Bail
4e6fe47ea0
ecore: properly order header for building on windows.
2013-05-05 14:07:05 +09:00
Carsten Haitzler
f8c9a8d167
revert the revert... damn you git!
...
Revert "Revert "Efl: replace eo_data_get for objects data referencing.""
This reverts commit b64a2994b3
.
2013-05-02 16:47:16 +09:00
Carsten Haitzler
b64a2994b3
Revert "Efl: replace eo_data_get for objects data referencing."
...
This reverts commit 654a3f5f94
.
2013-05-02 14:17:19 +09:00
Daniel Zaoui
654a3f5f94
Efl: replace eo_data_get for objects data referencing.
2013-05-01 10:37:08 +03:00
Carsten Haitzler
daac3fb794
add a global Efl_Config.h for everyone.
...
* ned to replicate changes in other .pc.in files
* need to replicate changes in other E*.h installed header files
2013-04-24 23:43:33 +09:00
Aharon Hillel
ba57a1c795
ecore: Split Ecore headers
...
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-23 16:47:44 +03:00
Daniel Juyung Seo
3b9f8e4847
Ecore.h: fixed ecore documentation.
2013-04-02 16:25:51 +09:00
Cedric Bail
a49d3d6bb2
ecore: add some usefull debugging information.
2013-03-30 19:29:14 +09:00
Cedric Bail
7bb467819b
ecore: add systemd watchdog support to Ecore main loop.
2013-03-28 23:28:32 +09:00
Cedric BAIL
2063e4353d
efl: integrate eina_log_timing.
2013-03-27 21:43:45 +09:00
Cedric Bail
a831609e63
ecore: include mman.h also when Evil is found.
...
I don't really like this patch. I think it would be nicer to have mmap
been correctly detected when Evil or Exotic is there, but at this point
I don't feel at ease with configure.ac.
2013-03-20 10:59:56 +09:00
Daniel Willmann
a32870c424
ecore_coroutine: Silence warning in clang
...
We can't get more const than const int
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-19 17:00:33 +00:00
Cedric Bail
b631878821
ecore: fix overflow on Windows 64 bits.
2013-03-19 15:15:37 +09:00
Tom Hacohen
a170683334
Change usage of eo_do_super to the new prototype.
2013-03-18 16:14:18 +00:00
Daniel Juyung Seo
0140560530
Ecore.h: use ECORE_CALLBACK_RENEW/CANCEL for timer callback.
2013-03-17 17:54:40 +09:00
Cedric Bail
6df7da23b5
ecore: lower more warning level.
2013-03-16 23:08:19 +09:00
Cedric BAIL
d40fdc2e5f
ecore: improve systemd support after fork.
2013-03-15 11:41:42 +09:00
Cedric BAIL
cf2f191ff9
ecore: fix typo.
2013-03-12 16:33:33 +09:00
Cedric BAIL
376e83c0d5
ecore: don't propagate systemd state to child process.
2013-03-12 15:58:43 +09:00
Cedric BAIL
c945896c26
ecore: fix compiler warning when compiling with Fibers.
2013-03-12 15:58:42 +09:00
Carsten Haitzler
3d3cdf0944
i have no idea what has happened here, but older glibs REQUIRe you
...
g_thread_init andf link to libgthread...
2013-03-12 15:30:02 +09:00
Cedric BAIL
bccd190ec8
ecore: prevent coroutine code mixup on windows.
2013-03-11 10:36:54 +09:00
Cedric Bail
3fe8098e9c
include some header files conditionally add specific test for fcntl
2013-03-11 10:34:47 +09:00
Cedric Bail
8dedcfae2c
Fix warnings
2013-03-11 10:34:47 +09:00
Cedric Bail
29299ea2ab
ecore: notify systemd automatically when the main loop is starting.
2013-03-10 21:21:19 +09:00