Commit Graph

834 Commits

Author SHA1 Message Date
Cedric BAIL ad406d7353 eina: use a global variable to hold the same string accross other library. 2013-03-29 11:44:48 +09:00
Cedric Bail 7bb467819b ecore: add systemd watchdog support to Ecore main loop. 2013-03-28 23:28:32 +09:00
Carsten Haitzler 4f4681ebd8 warn-- 2013-03-28 20:13:40 +09:00
Carsten Haitzler 1f1704924d fix word start/end logic to be consistent with other toolkits. 2013-03-28 18:51:18 +09:00
ChunEon Park 7751a996c8 evas/render - better efficient check. 2013-03-28 10:34:26 +09:00
ChunEon Park 7fca35d848 evas - updated doc 2013-03-28 10:15:11 +09:00
Stefan Schmidt f7c055b0ce eeze/sensor: Setup all ecore event types in init.
We had some set up but not all. Do that and avoid the redo'ing in
eeze_sensor test.
2013-03-27 17:15:27 +00:00
Vladislav Brovko 7584a7e84d eina: add eina_file_mkdtemp and tests for Eina_File.
Test added for :
eina_file_direct_ls_simple
eina_file_ls_simple

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-27 22:45:34 +09:00
Cedric BAIL 6f6d425f0d eina: do not report timing for already stopped domain. 2013-03-27 22:37:15 +09:00
Cedric BAIL 2063e4353d efl: integrate eina_log_timing. 2013-03-27 21:43:45 +09:00
Cedric BAIL 1d5692baa6 eina: add eina_log_timing. 2013-03-27 21:43:45 +09:00
Jihoon Kim 8dda0883c1 edje: Add edje_object_part_text_input_panel_layout_variation_set/get API 2013-03-27 17:28:53 +09:00
Ryuan Choi fec755aef6 edje_entry: alt+home should not move to first letter. Patch by ryuan.choi.
When user pressed home and ctrl+home, caret is normaly moved to first letter.
But, it is not common behavior for alt+home.

For example, gedit does not have any behavior and urlbar of firefox open
home page when alt+home is pressed.
2013-03-27 16:30:11 +09:00
Jihoon Kim 6265365ddc ecore_imf: Add ecore_imf_context_input_panel_layout_variation_set/get API 2013-03-27 10:15:42 +09:00
Eduardo Lima (Etrunko) 19561c6112 Ecore_Wayland: Add ecore_wl_window_surface_create() API
On some use cases, it is necessary to create a new wl_surface without
associating it to a wl_shell_surface. This new API makes it possible.

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-03-26 15:51:41 -03:00
Tom Hacohen b7e8bb556d Evas text: Add apparently important NULL checks.
Apparently obj->layer and obj->layer->evas can sometimes be NULL. It is
checked in other objects, for example, image object. Add the checks here
to "fix" a crash reported by Christopher Michael.
2013-03-26 11:09:58 +00:00
Stefan Schmidt c3d8bcb56c eeze: Decrement eeze init count also in error cases 2013-03-26 11:04:07 +00:00
Stefan Schmidt 143b7fd304 eeze: Unregister all log domains in eeze shutdown.
We only unregistered _udev so far. Now also doing it for _net and _sensor
2013-03-26 09:36:09 +00:00
Stefan Schmidt 394fa35356 eeze: Make eeze sensor log domain private and use different ones for the modules
The main eeze sensor log domain was EAPI as it was used in the modules as well.
(Gives some nice runtime error when loading the shared object). Switch to different
domains for the module and make the main domain private.

Spotted by zmike.
2013-03-26 09:33:59 +00:00
Cedric BAIL 5081098925 edje: fix border limit bug. 2013-03-26 11:59:27 +09:00
Cedric BAIL d583d08814 evas: no need for a callback per async call.
Let's not multiply our callback infrastructure without any serious need. We
already have to many of them.
2013-03-26 11:59:27 +09:00
ChunEon Park 4198433cc0 ecore_x - use the exsiting variable. 2013-03-25 22:45:06 +09:00
Cedric BAIL 70f8bd50eb eina: add eina_file_mkstemp. 2013-03-25 18:45:42 +09:00
Cedric BAIL 7dfa9af0f4 eina: add some documentation for Eina_Cow. 2013-03-25 18:45:42 +09:00
Cedric Bail a1c24625dd eio: fix a typos. 2013-03-24 23:06:43 +09:00
Jerome Pinot 11e12d9a08 edje: doxygen doc improvement in edje_file_data_get 2013-03-23 14:10:22 +09:00
Jonas Gastal 3afb2e2a22 Fix CURRENT for moving objects. 2013-03-22 12:12:42 -03:00
Cedric BAIL 556111af62 edje: fix memory leak. 2013-03-22 21:01:53 +09:00
Cedric BAIL a4ea4423ac ecore: fix some aliasing warning. 2013-03-22 20:25:37 +09:00
Cedric BAIL fc2124436c edje: shutup you moronic GCC 4.7.
This memset is not necessary as pack_it_copy can only be accessed when
the part type is a BOX or a TABLE and thus pack_it will be defined. Sadly
GCC 4.7 is more stupid than GCC 4.6 and think that it is an unitialized data
resulting in a massive number of useless warning that could hide real warning.
2013-03-22 20:15:05 +09:00
Cedric BAIL 4a584fcc32 eina: correctly advertise to valgrind Eina_Cow memory size. 2013-03-22 20:15:05 +09:00
Cedric BAIL 2b30804b3f edje: fix buffer overrun. 2013-03-22 20:15:05 +09:00
Cedric BAIL 8222bf4650 edje: add spread.{w,h}.
This is particularly useful when using table and replicating the
same group all over the place. At least for many games I have in mind
this will save a lot of lines !
2013-03-22 18:17:12 +09:00
Cedric BAIL d1112534a1 evas: optionally propagate update rectangle on RENDER_POST. 2013-03-22 15:30:34 +09:00
Eduardo Lima (Etrunko) a8c63de55a Add missing Ecore.h include
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-03-21 16:32:13 -03:00
Tom Hacohen 026559f752 Evas cserve2: Remove useless var when calculating size of sun_path. 2013-03-21 13:22:35 +00:00
Boris 'billiob' Faure 61c50e9d1c eina-cow: fix valgrind instrumentation 2013-03-20 21:18:49 +01:00
Daniel Willmann 7f5ea979c3 Hush clang warnings for EINA_INLIST_FOREACH_SAFE
As cedric said a couple years ago in commit 17c820ae:
"This initialisation is not needed, but will reduce llvm warning noise."

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-20 17:05:27 +00:00
Jérémy Zurcher b4cad3c370 eina: add eina_list_shuffle
Summary: add uniform shuffle to Eina_List

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D27
2013-03-20 12:19:13 +01:00
Jérémy Zurcher d0f3357f77 TES
Conflicts:
	src/lib/eina/eina_list.c
	src/lib/eina/eina_types.h
2013-03-20 11:48:44 +01:00
Carsten Haitzler b71a17b9db oh so minor buglet - interpolate border scale by a sa float (in fixed
point) not an integer!
2013-03-20 12:45:18 +09:00
Cedric BAIL a40c41b1bd eina: fix use of Valgrind macro in Eina_Cow. 2013-03-20 11:01:03 +09:00
Cedric BAIL e02bb36e3a eina: improve speed of Eina_Cow.
* Use an Eina_Hash for the garbage collector list.
* Turn off garbage collection on object that are unlikely to match.

This patch make 1.8 as fast as 1.7 again.
2013-03-20 10:59:56 +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 1d8f06511c eet_cipher: Fix initialization of opened variable
In the error case we 'goto' the error path directly without passing
through the declaration and initialization of the variable.

This doesn't work so move the declaration/initialization to the start.
See this example (compile with -Wall for the warning):

-----
 #include <stdio.h>

 int main(void)
 {
   goto bar;

   int i = 15;

 bar:
   printf("Foo: %i\n", i);

   return 0;
 }
----

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-19 17:00:33 +00: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
Tom Hacohen d84de4adf1 Disable cow magic in dev profile, instead of a hack in the source.
Well played cedric, making me revert your patch and thus breaking the build.
2013-03-19 15:45:44 +00:00
Tom Hacohen 60c9ba4a8f Revert "eina: reenable them as it was a bug from Tasn."
This reverts commit a9041777d4.

Re-disable them as it was a bug from Cedric.

This is the cause for the huge slowdown.
2013-03-19 15:37:55 +00:00
Cedric Bail a9041777d4 eina: reenable them as it was a bug from Tasn. 2013-03-20 00:16:12 +09:00
Cedric Bail 68213b7f78 eina: disable Eina_Cow magic completely for the moment. 2013-03-19 23:42:12 +09:00