platform/upstream/efl.git
12 years agoif we're going to pretend to handle errors, at least clean up before failing
Mike Blumenkrantz [Sun, 19 Feb 2012 22:33:39 +0000 (22:33 +0000)]
if we're going to pretend to handle errors, at least clean up before failing

SVN revision: 68129

12 years agonot sure why we're passing a bogus data pointer which is never used
Mike Blumenkrantz [Sun, 19 Feb 2012 22:32:17 +0000 (22:32 +0000)]
not sure why we're passing a bogus data pointer which is never used

SVN revision: 68128

12 years agofix and simplify init/shutdown logic
Mike Blumenkrantz [Sun, 19 Feb 2012 22:26:40 +0000 (22:26 +0000)]
fix and simplify init/shutdown logic

SVN revision: 68127

12 years agoEdje entry: Fix memory leak with markup filter.
Tom Hacohen [Sun, 19 Feb 2012 15:28:42 +0000 (15:28 +0000)]
Edje entry: Fix memory leak with markup filter.

Spank Spank WooHyun.

SVN revision: 68124

12 years agoEvil: fix doc
Vincent Torri [Sun, 19 Feb 2012 08:11:44 +0000 (08:11 +0000)]
Evil: fix doc

SVN revision: 68120

12 years agoEdje: revert ugly commit, as Evil takes care of the problem, now
Vincent Torri [Sat, 18 Feb 2012 18:12:19 +0000 (18:12 +0000)]
Edje: revert ugly commit, as Evil takes care of the problem, now

SVN revision: 68118

12 years ago * src/lib/Evil.h:
Vincent Torri [Sat, 18 Feb 2012 18:11:10 +0000 (18:11 +0000)]
* src/lib/Evil.h:
* src/lib/Makefile.am:
* src/lib/evil_macro.h:
* src/lib/evil_print.h:
* src/lib/evil_macro_pop.h (added):
Undef __cdecl if it has been defined by Evil and
move some defined macro to evil_macro_pop.h
* src/lib/evil_unistd.c:
* src/lib/evil_unistd.h:
Define gettimeofday() only for vc++ as MinGW-w64
already defines it.

SVN revision: 68117

12 years agoEdje: ugly commit to make edje compiling on Windows
Vincent Torri [Sat, 18 Feb 2012 14:48:31 +0000 (14:48 +0000)]
Edje: ugly commit to make edje compiling on Windows
I was obliged to do that because almost all the headers are
included in edje_private.h... That way to include headers is
fine on unix, but when doing also compilation on Windows,
it's just a nightmare

SVN revision: 68111

12 years agoEdje: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family...
Vincent Torri [Sat, 18 Feb 2012 14:45:21 +0000 (14:45 +0000)]
Edje: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions

SVN revision: 68110

12 years agoEdje: remove useless headers
Vincent Torri [Sat, 18 Feb 2012 14:27:36 +0000 (14:27 +0000)]
Edje: remove useless headers

SVN revision: 68109

12 years agoEdje: remove some shadow variable warnings
Vincent Torri [Sat, 18 Feb 2012 14:26:30 +0000 (14:26 +0000)]
Edje: remove some shadow variable warnings

SVN revision: 68108

12 years agoEdje: update declaration of alloca
Vincent Torri [Sat, 18 Feb 2012 14:25:45 +0000 (14:25 +0000)]
Edje: update declaration of alloca

SVN revision: 68107

12 years agoEmbryo: update alloca declaration
Vincent Torri [Sat, 18 Feb 2012 13:05:34 +0000 (13:05 +0000)]
Embryo: update alloca declaration

SVN revision: 68106

12 years agoEcore: better check of ecore_evas_extn. This also fixes its compilation on Windows
Vincent Torri [Sat, 18 Feb 2012 12:56:53 +0000 (12:56 +0000)]
Ecore: better check of ecore_evas_extn. This also fixes its compilation on Windows

SVN revision: 68105

12 years agoEcore: ecore_pipe: remove ugly FMT_* compatibility strings as Evil has now POSIX...
Vincent Torri [Sat, 18 Feb 2012 12:55:26 +0000 (12:55 +0000)]
Ecore: ecore_pipe: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions

SVN revision: 68104

12 years agoshut gcc warning up - pointless but hey - 1 warn less.
Carsten Haitzler [Sat, 18 Feb 2012 08:56:00 +0000 (08:56 +0000)]
shut gcc warning up - pointless but hey - 1 warn less.

SVN revision: 68102

12 years agomissed this file
Vincent Torri [Sat, 18 Feb 2012 08:33:36 +0000 (08:33 +0000)]
missed this file

SVN revision: 68101

12 years agoEvas: remove WIN32_CPPFLAGS and WIN32_CFLAGS are there are not used anymore. Move...
Vincent Torri [Sat, 18 Feb 2012 08:33:00 +0000 (08:33 +0000)]
Evas: remove WIN32_CPPFLAGS and WIN32_CFLAGS are there are not used anymore. Move some headers in evas_common.h

SVN revision: 68100

12 years agoadd debug info with url
Mike Blumenkrantz [Sat, 18 Feb 2012 02:38:10 +0000 (02:38 +0000)]
add debug info with url

SVN revision: 68098

12 years agofix shadow var
Mike Blumenkrantz [Sat, 18 Feb 2012 02:23:09 +0000 (02:23 +0000)]
fix shadow var

SVN revision: 68097

12 years agooutdent some code here
Mike Blumenkrantz [Sat, 18 Feb 2012 02:19:36 +0000 (02:19 +0000)]
outdent some code here

SVN revision: 68096

12 years agoecore_imf: describe doxygen about some enums
Jihoon Kim [Sat, 18 Feb 2012 01:45:50 +0000 (01:45 +0000)]
ecore_imf: describe doxygen about some enums

SVN revision: 68095

12 years agoEdje Lua: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family...
David Walter Seikel [Fri, 17 Feb 2012 21:59:10 +0000 (21:59 +0000)]
Edje Lua: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions.

As per caro's commits.  Not actually tested under Windows, my WiMo phone doesn't quite have what it takes to compile EFL.

SVN revision: 68093

12 years agoEvas: use evil_path_is_absolute()
Vincent Torri [Fri, 17 Feb 2012 21:35:57 +0000 (21:35 +0000)]
Evas: use evil_path_is_absolute()

SVN revision: 68092

12 years agoEet: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family...
Vincent Torri [Fri, 17 Feb 2012 21:08:15 +0000 (21:08 +0000)]
Eet: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions

SVN revision: 68091

12 years agoEet: formatting
Vincent Torri [Fri, 17 Feb 2012 21:02:31 +0000 (21:02 +0000)]
Eet: formatting

SVN revision: 68090

12 years agoforgot NEWS file
Vincent Torri [Fri, 17 Feb 2012 20:55:25 +0000 (20:55 +0000)]
forgot NEWS file

SVN revision: 68089

12 years agoEvil: forgot the NEWS file
Vincent Torri [Fri, 17 Feb 2012 20:54:34 +0000 (20:54 +0000)]
Evil: forgot the NEWS file

SVN revision: 68088

12 years agoEina: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family...
Vincent Torri [Fri, 17 Feb 2012 20:53:36 +0000 (20:53 +0000)]
Eina: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions

SVN revision: 68087

12 years agoUse gnu_printf attribute to detect wrong usage of printf family functions
Vincent Torri [Fri, 17 Feb 2012 20:52:15 +0000 (20:52 +0000)]
Use gnu_printf attribute to detect wrong usage of printf family functions

SVN revision: 68086

12 years agomove standard header file before private ones
Vincent Torri [Fri, 17 Feb 2012 20:51:05 +0000 (20:51 +0000)]
move standard header file before private ones

SVN revision: 68085

12 years ago * AUTHORS:
Vincent Torri [Fri, 17 Feb 2012 20:48:11 +0000 (20:48 +0000)]
* AUTHORS:
* src/lib/Evil.h:
* src/lib/Makefile.am:
* src/lib/evil_inet.c:
* src/lib/evil_mman.c:
* src/lib/evil_stdio.c:
* src/lib/evil_stdio.h:
* src/lib/evil_stdlib.c:
* src/lib/evil_util.c:
* src/lib/sys/mman.h:
* src/lib/evil_printa.c (added):
* src/lib/evil_pformatw.c (added):
* src/lib/evil_pformat.h (added):
* src/lib/evil_printw.c (added):
* src/lib/evil_print.h (added):
* src/lib/evil_macro.h (added):
* src/lib/evil_pformata.c (added):
Add POSIX printf family. Code taken from the MinGW-w64
project and modified to be integrated into Evil.
* src/bin/Makefile.am:
* src/bin/evil_suite.c:
* src/bin/evil_test_util.h (added):
* src/bin/evil_test_print.c (added):
* src/bin/evil_test_print.h (added):
* src/bin/evil_test_util.c (added):
Add util and printf unit tests
* src/lib/evil_errno.c:
* src/lib/errno.h (deleted):
* src/lib/mingw32ce (added):
* src/lib/mingw32ce/errno.h (added):
Move errno.h for Windows CE in its own directory to
suppress conflicts with standard errno.h when compiling
for Windows XP.
* src/lib/dlfcn/dlfcn.c:
* src/lib/evil_link_ce.c:
* src/lib/evil_main.c:
* src/lib/evil_unistd.c:
Define WIN32_LEAN_AND_MEAN only if it's not defined.
* src/lib/evil_fcntl.c:
Remove debug.
* src/bin/evil_test_dlfcn.c:
* src/bin/evil_test_environment.c:
* src/bin/evil_test_gettimeofday.c:
* src/bin/evil_test_link.c:
* src/bin/evil_test_mkstemp.c:
* src/bin/evil_test_pipe.c:
* src/bin/evil_test_realpath.c:
Remove warnings.
* src/lib/evil_link_xp.cpp:
Formatting.

SVN revision: 68084

12 years agoEina value example with user defined type.
Jonas M. Gastal [Fri, 17 Feb 2012 18:52:58 +0000 (18:52 +0000)]
Eina value example with user defined type.

SVN revision: 68082

12 years agoDocumented example of eina_value struct usage.
Jonas M. Gastal [Fri, 17 Feb 2012 13:24:05 +0000 (13:24 +0000)]
Documented example of eina_value struct usage.

SVN revision: 68072

12 years agoDocumented example for eina_value.
Jonas M. Gastal [Fri, 17 Feb 2012 13:24:02 +0000 (13:24 +0000)]
Documented example for eina_value.

SVN revision: 68071

12 years agoeina: fix forgotten initialization of count during eina_list_split_list.
Cedric BAIL [Fri, 17 Feb 2012 11:16:01 +0000 (11:16 +0000)]
eina: fix forgotten initialization of count during eina_list_split_list.

SVN revision: 68067

12 years agoChange impl. to follow param name of header.
Leif Middelschulte [Fri, 17 Feb 2012 10:52:20 +0000 (10:52 +0000)]
Change impl. to follow param name of header.

SVN revision: 68065

12 years agorename 'size' param of eina_list_sort to 'limit'
Leif Middelschulte [Fri, 17 Feb 2012 10:48:49 +0000 (10:48 +0000)]
rename 'size' param of eina_list_sort to 'limit'

SVN revision: 68064

12 years agonull check
Mike Blumenkrantz [Thu, 16 Feb 2012 21:57:34 +0000 (21:57 +0000)]
null check

SVN revision: 68039

12 years agoeina_model: new events for load/unload.
Gustavo Sverzut Barbieri [Thu, 16 Feb 2012 19:48:13 +0000 (19:48 +0000)]
eina_model: new events for load/unload.

Added the events: loaded and unloaded to notify eina_model_load() and
eina_model_unload() were called.

To be more specific, the interfaces used by EINA_MODEL_TYPE_MIXIN
(Eina_Model_Interface_Properties and Eina_Model_Interface_Children)
also do:
 * properties,loaded
 * properties,unloaded
 * children,loaded
 * children,unloaded

SVN revision: 68035

12 years ago3/3 eina_model: fix inheritance test.
Gustavo Sverzut Barbieri [Thu, 16 Feb 2012 19:33:50 +0000 (19:33 +0000)]
3/3 eina_model: fix inheritance test.

HUMAN_POOPER_IFACE must have ANIMAL_POOPER_IFACE as parent interface,
otherwise the order will be incorrect.

The test were also improved in other ways:
 * use ck_assert_int_eq() instead of fail_if()... it prints the incorrect value
 * check refcount
 * unref models
 * shutdown eina

SVN revision: 68034

12 years ago2/3 eina_model: properly eliminate duplicates.
Gustavo Sverzut Barbieri [Thu, 16 Feb 2012 19:31:56 +0000 (19:31 +0000)]
2/3 eina_model: properly eliminate duplicates.

We must check for duplicates otherwise we'll have remaining entries
after topological sort.

SVN revision: 68033

12 years ago1/3 eina_model: lookup interfaces in the correct order.
Gustavo Sverzut Barbieri [Thu, 16 Feb 2012 19:30:23 +0000 (19:30 +0000)]
1/3 eina_model: lookup interfaces in the correct order.

We should lookup then in forward order, as they are sorted from
most-specific first, with parents at the end.

This breaks test, will fix in the last commit (3/3).

SVN revision: 68032

12 years agoAdd mode add/del functions to ecore_x_randr
Leif Middelschulte [Thu, 16 Feb 2012 19:26:30 +0000 (19:26 +0000)]
Add mode add/del functions to ecore_x_randr

SVN revision: 68031

12 years ago[Evas] Use the right size for parent smart class on
Gustavo Lima Chaves [Thu, 16 Feb 2012 16:27:21 +0000 (16:27 +0000)]
[Evas] Use the right size for parent smart class on
 inheritance.

SVN revision: 68029

12 years agoElm model: Updated examples.
Tom Hacohen [Thu, 16 Feb 2012 12:37:27 +0000 (12:37 +0000)]
Elm model: Updated examples.

Patch by Yakov.

SVN revision: 68027

12 years agoEdje.h: add @since 1.2 in Edje_Input_Panel_Lang, Edje_Input_panel_Return_Key_Type
Jihoon Kim [Thu, 16 Feb 2012 00:40:56 +0000 (00:40 +0000)]
Edje.h: add @since 1.2 in Edje_Input_Panel_Lang, Edje_Input_panel_Return_Key_Type

Thanks to Vincent about spotting it

SVN revision: 67994

12 years agoecore_imf: add @since 1.2 in Ecore_IMF_Input_Panel_Lang and Ecore_IMF_Input_Panel_Ret...
Jihoon Kim [Thu, 16 Feb 2012 00:35:14 +0000 (00:35 +0000)]
ecore_imf: add @since 1.2 in Ecore_IMF_Input_Panel_Lang and Ecore_IMF_Input_Panel_Return_Key_Type

Thanks to Vincent about spotting it

SVN revision: 67993

12 years agoDocumentation for all eina model functions.
Jonas M. Gastal [Wed, 15 Feb 2012 18:44:50 +0000 (18:44 +0000)]
Documentation for all eina model functions.

SVN revision: 67992

12 years agomake tasn happier
Gustavo Sverzut Barbieri [Wed, 15 Feb 2012 14:17:16 +0000 (14:17 +0000)]
make tasn happier

SVN revision: 67987

12 years agoreview animal as example for other example files.
Gustavo Sverzut Barbieri [Wed, 15 Feb 2012 14:08:01 +0000 (14:08 +0000)]
review animal as example for other example files.

SVN revision: 67986

12 years agobuild example.
Gustavo Sverzut Barbieri [Wed, 15 Feb 2012 13:50:43 +0000 (13:50 +0000)]
build example.

SVN revision: 67985

12 years agoedje: forgot to save the information in the file.
Cedric BAIL [Wed, 15 Feb 2012 13:45:56 +0000 (13:45 +0000)]
edje: forgot to save the information in the file.

SVN revision: 67984

12 years agoedje/edje_entry:
Jihoon Kim [Wed, 15 Feb 2012 08:21:11 +0000 (08:21 +0000)]
edje/edje_entry:
add edje_object_part_text_input_panel_language_set/get
    edje_object_part_text_input_panel_imdata_set/get
    edje_object_part_text_input_panel_return_key_type_set/get
    edje_object_part_text_input_panel_return_key_disabled_set/get

SVN revision: 67966

12 years agoEina model: Added an advanced inheritance + interface example.
Tom Hacohen [Wed, 15 Feb 2012 08:18:47 +0000 (08:18 +0000)]
Eina model: Added an advanced inheritance + interface example.

SVN revision: 67965

12 years agoedje/entry: remove const from some edje_object_part_text_..._set APIs
Jihoon Kim [Wed, 15 Feb 2012 06:03:00 +0000 (06:03 +0000)]
edje/entry: remove const from some edje_object_part_text_..._set APIs

SVN revision: 67962

12 years agouse correct errno value for error events
Mike Blumenkrantz [Wed, 15 Feb 2012 05:55:28 +0000 (05:55 +0000)]
use correct errno value for error events

SVN revision: 67960

12 years agofinally finish implementing SOCKS5 proxies in ecore-con.
Mike Blumenkrantz [Wed, 15 Feb 2012 05:53:50 +0000 (05:53 +0000)]
finally finish implementing SOCKS5 proxies in ecore-con.
SOCKS5 is different from SOCKS4 in that it supports password authentication mechanisms (GSSAPI is still on the todo) and IPV6, neither of which are possible with SOCKS4

NOTE THAT THE CMDLINE SYNTAX FOR AUTOSOCKSING HAS CHANGED!
 *   ECORE_CON_SOCKS_V4=[user@]server-port:lookup
 *   ECORE_CON_SOCKS_V5=[user@]server-port:lookup

also note that I did not implement autosocksing with password. it's just not safe.

SVN revision: 67959

12 years agoecore_imf: Add ecore_imf APIs to set return key type, disable return key.
Jihoon Kim [Wed, 15 Feb 2012 01:22:28 +0000 (01:22 +0000)]
ecore_imf: Add ecore_imf APIs to set return key type, disable return key.

SVN revision: 67946

12 years agoedje: add EDJE_DUMP_PROGRAMS.
Cedric BAIL [Tue, 14 Feb 2012 18:07:44 +0000 (18:07 +0000)]
edje: add EDJE_DUMP_PROGRAMS.

SVN revision: 67940

12 years agohey cedric.. let's not segv shall we?
Carsten Haitzler [Tue, 14 Feb 2012 15:03:12 +0000 (15:03 +0000)]
hey cedric.. let's not segv shall we?

SVN revision: 67938

12 years agoedje: add broadcast_signal: bool.
Cedric BAIL [Tue, 14 Feb 2012 14:07:39 +0000 (14:07 +0000)]
edje: add broadcast_signal: bool.

This make it possible to completly disable signal broadcasting as this
new behaviour broke Edje 1.0 file. It's also now possible to use the
same group in different part in the same parent group without any issue.

I am tempted to backport this patch to 1.1 branch as it would make it
play nicely with file coming from Edje 1.0.

Another issue that this patch fix is that I did increment the minor version
as we really have add a lot of addition since Edje 1.1 and Edje file build
with trunk may not play well anymore on Edje 1.1.

SVN revision: 67936

12 years agoEdje entry: Fix mis-merge in my previous commit.
Tom Hacohen [Tue, 14 Feb 2012 13:54:44 +0000 (13:54 +0000)]
Edje entry: Fix mis-merge in my previous commit.

Spank spank. :)

SVN revision: 67935

12 years agowhile looking into the infintie loop issue - update regions can become
Carsten Haitzler [Tue, 14 Feb 2012 11:45:23 +0000 (11:45 +0000)]
while looking into the infintie loop issue - update regions can become
a lot in these pathological cases, so limit them to 24 and if > use
bounding box as a single region.

SVN revision: 67917

12 years agoEina model: Fix issues with interface inheritance.
Tom Hacohen [Tue, 14 Feb 2012 09:48:00 +0000 (09:48 +0000)]
Eina model: Fix issues with interface inheritance.

The ptr comparison had issues.
Order of interface overrides was wrong.

SVN revision: 67915

12 years agoEdje entry: Make keybindings work with non-latin keyboard layouts.
Tom Hacohen [Tue, 14 Feb 2012 08:32:23 +0000 (08:32 +0000)]
Edje entry: Make keybindings work with non-latin keyboard layouts.

SVN revision: 67902

12 years agoadd edje_object_part_text_prediction_allow_set/get.
Jihoon Kim [Tue, 14 Feb 2012 02:34:50 +0000 (02:34 +0000)]
add edje_object_part_text_prediction_allow_set/get.
These APIs can be used to set whether prediction feature is allowed or not.

SVN revision: 67889

12 years agoeina_value_stringshare: safer copy, to cope copying user-generated structs.
Gustavo Sverzut Barbieri [Mon, 13 Feb 2012 16:18:47 +0000 (16:18 +0000)]
eina_value_stringshare: safer copy, to cope copying user-generated structs.

array, list, struct and others set() now copies the values. These
values can be created by user, in this case string is just a stack
object and not a real eina_stringshare.

To cope with it, add the string instead of referencing it. Bit slower,
but nicer behavior.

SVN revision: 67886

12 years agomake rect_t use int's... no overflow. yay!
Carsten Haitzler [Mon, 13 Feb 2012 14:37:41 +0000 (14:37 +0000)]
make rect_t use int's... no overflow. yay!

SVN revision: 67884

12 years agoadd edje_object_part_text_imf_context_reset that will use for reseting the input...
Jihoon Kim [Mon, 13 Feb 2012 11:40:55 +0000 (11:40 +0000)]
add edje_object_part_text_imf_context_reset that will use for reseting the input method context

SVN revision: 67881

12 years agoFrom: Hyoyoung Chang <hyoyoung@gmail.com>
Hyoyoung Chang [Mon, 13 Feb 2012 11:25:23 +0000 (11:25 +0000)]
From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] evas - preventing retard mouse event
process in evas_object_event_callback_call

I made a small patch to prevent retard mouse event process.
At certain circumstance (like as genlist select callback + naviframe
item push),
some events are repeat processed.

If some evas_objects're iterating in evas_event_feed_mouse_up and
mouse_out event's emitted by other interrupt(such as naviframe item
push),
then some evas_objects events are multiple processed by
evas_object_event_callback_call.

More elaborating it with a example.
There are a genlist and a multibuttonentry on genlist item.
When a user clicks multibuttonentry then evas will process mouse down
and up.
in evas_event_feed_mouse_up, it gets evas object list to process mouse
events.
Then in the evas object list, there are two evas objects - rect and
textblock.
Two objects have its own parents.

the rect has below parents.
----------------------------------------
edje  - genlist item
elm_genlist_pan
edje
multibuttonentry
box
entry
els_scroller  (0x2a601788)
rect                                      <== the rect

the textblock has below parents.
----------------------------------------------
edje - genlist item
elm_genlist_pan
edje
multibuttonentry
box
entry
els_scroller(0x2a601788)
edje
elm_pan
edje
textblock                           <== the textblock

(note : two evas object have same parent (els_scroller))

So normally mouse up callbacks event propagates to its own parent.
the rect is processed to genlist item. and the textblock is processed
to genlist item.
but when els_scroller is processed, it's blocked by checking event
type and event id checking.

Mouse Up(rect) ->  Mouse Up(textblock)
event_id (3)      ->   event_id (3)

evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type
type, void *event_info, int event_id)
{
   ...
      if ((obj->delete_me) || (!obj->layer)) return;
         if ((obj->last_event == event_id) &&
                (obj->last_event_type == type)) return;
                     <=== blocked

                     However if naviframe item is pushed in the middle
of mouse up processing.
It can break into mouse up. So it's processed like below.

Mouse Up(rect) -> Mouse Out(rect) -> Mouse Out(textblock) -> Mouse
Up(textblock)
event_id (3)      -> event_id(4)         -> event_id(4)
-> event_id(3)
(note Mouse_Out is made by naviframe item push for event freezing)

If that, there's no mechanism to block that repeat processing same
event.
So I suggest this patch.
This patch blocks old events if there's no reason to process.
(It blocks old mouse_up event because mouse_out is processed.)

And I think it also clear the bug in
"[E-devel] event repetition with elm_naviframe/elm_genlist"

SVN revision: 67879

12 years agoscim_immodule: improve maintenability
Jihoon Kim [Mon, 13 Feb 2012 10:55:26 +0000 (10:55 +0000)]
scim_immodule: improve maintenability

SVN revision: 67878

12 years agoeio: fix a doc typo.
Cedric BAIL [Mon, 13 Feb 2012 09:06:28 +0000 (09:06 +0000)]
eio: fix a doc typo.

SVN revision: 67877

12 years agoFrom: 윤정현 <jh0506.yun@samsung.com>
윤정현 [Mon, 13 Feb 2012 06:49:30 +0000 (06:49 +0000)]
From: 윤정현 <jh0506.yun@samsung.com>
Subject: Re: [E-devel] [Patch] ecore_ipc - remove potential risk in
ecore_ipc_shutdown

I found a problem this infinite loop case.

If server is deleted, then ECORE_IPC_EVENT_SERVER_DEL callback
function will be called in client side.
It will happen infinite loop in ecore_ipc_shutdown if
ecore_ipc_shutdown called in this ECORE_IPC_EVENT_SERVER_DEL callback
function.

For example,
server_del_handler =
ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_DEL, _server_del_cb, NULL);
static Eina_Bool
_server_del_cb(void *data, int type, void *event)
{
   ecore_ipc_shutdown();
   return EINA_TRUE;
 }

If server is deleted,
1. _ecore_ipc_event_server_del : svr->event_count++
2. _server_del_cb : ecore_ipc_shutdown called
3. ecore_ipc_shutdown : while (servers) ecore_ipc_server_del(eina_list_data_get(servers))
4. ecore_ipc_server_del : can't eina_list_remove(servers, svr) because event_count != 0
5. infinite loop

I think this while code is very dangerous whether user miss or not.
I modified EINA_LIST_FOREACH_SAFE instead of EINA_LIST_FOREACH refer
to ecore_con.
Please review this patch.

SVN revision: 67874

12 years agoAdd edje_object_part_text_input_panel_show/hide.
Jihoon Kim [Mon, 13 Feb 2012 06:34:47 +0000 (06:34 +0000)]
Add edje_object_part_text_input_panel_show/hide.
These APIs can be used in input panel manual control mode.

SVN revision: 67873

12 years agoevas/gl_common - set line color with draw context.
ChunEon Park [Mon, 13 Feb 2012 05:05:59 +0000 (05:05 +0000)]
evas/gl_common - set line color with draw context.

SVN revision: 67870

12 years agoedje_util.c: remove wrong return
Jihoon Kim [Mon, 13 Feb 2012 04:19:38 +0000 (04:19 +0000)]
edje_util.c: remove wrong return

SVN revision: 67868

12 years agoscim_immodule: set cursor location even though only client_window is provided without...
Jihoon Kim [Sun, 12 Feb 2012 11:00:48 +0000 (11:00 +0000)]
scim_immodule: set cursor location even though only client_window is provided without evas (ecore_imf_context_client_canvas_set)

SVN revision: 67852

12 years agoimprove documentation of eina model and value.
Gustavo Sverzut Barbieri [Sat, 11 Feb 2012 18:04:32 +0000 (18:04 +0000)]
improve documentation of eina model and value.

SVN revision: 67851

12 years agomodel: add helper for common pattern
Gustavo Sverzut Barbieri [Sat, 11 Feb 2012 00:48:42 +0000 (00:48 +0000)]
model: add helper for common pattern

SVN revision: 67845

12 years agoone day I'll be less stupid...
Gustavo Sverzut Barbieri [Sat, 11 Feb 2012 00:42:00 +0000 (00:42 +0000)]
one day I'll be less stupid...

... or one day we'll move to git so I can rewrite stupid commits :-D

SVN revision: 67844

12 years agoeina_value: break usage, but makes it more uniform and correct.
Gustavo Sverzut Barbieri [Sat, 11 Feb 2012 00:34:25 +0000 (00:34 +0000)]
eina_value: break usage, but makes it more uniform and correct.

I did a bad decision to steal memory for Array, List, Hash and Struct
types, it was nice to not have to copy it internally, but breaks when
one needs to set a new value that was set elsewhere. What did not
happen with string, integers and other basic types.

This was exposed by Raphael Kubo using eina_model_property_set() with
complex types (Array, List and Hash) and it was not possible to
correctly set such properties.

Now it's all set, but the behavior changed and the memory is not
stolen and released anymore. Test eina_test_value.c was changed to
reflect it.

SVN revision: 67843

12 years agovalue: be safer on reset of existing values.
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 22:03:48 +0000 (22:03 +0000)]
value: be safer on reset of existing values.

if user get and then set the same value, we should not crash and this
may happen with previous code as the old
string/array/value/list... were released, then you ended with the
released memory still being pointed.

SVN revision: 67841

12 years agovalue: just setup on new memory!
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 21:43:55 +0000 (21:43 +0000)]
value: just setup on new memory!

We should not flush and then setup the memory, instead we leave
vset/pset functions do their own stuff to clean previous data, if any.

SVN revision: 67840

12 years agovalue: allow multiple flush.
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 21:34:28 +0000 (21:34 +0000)]
value: allow multiple flush.

multiple flush may happen when handling errors. May be used in some cases.

SVN revision: 67839

12 years agoeina_value: fix convert to string on empty/null cases.
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 21:18:59 +0000 (21:18 +0000)]
eina_value: fix convert to string on empty/null cases.

SVN revision: 67838

12 years agofix test leaks
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 20:39:27 +0000 (20:39 +0000)]
fix test leaks

SVN revision: 67836

12 years agoeina_value_hash: must free hash value after it's flushed.
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 20:39:07 +0000 (20:39 +0000)]
eina_value_hash: must free hash value after it's flushed.

SVN revision: 67835

12 years agofix memleak in test suite.
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 20:38:28 +0000 (20:38 +0000)]
fix memleak in test suite.

SVN revision: 67834

12 years agofix breakage from r67537 with alias inheriting or somesuch
Mike Blumenkrantz [Fri, 10 Feb 2012 20:34:18 +0000 (20:34 +0000)]
fix breakage from r67537 with alias inheriting or somesuch

SVN revision: 67833

12 years agoAnother example for eina_model.
Jonas M. Gastal [Fri, 10 Feb 2012 17:18:10 +0000 (17:18 +0000)]
Another example for eina_model.

Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>

SVN revision: 67832

12 years agoedje: told you old man ! broadcasting message to all groups was a bad idea.
Cedric BAIL [Fri, 10 Feb 2012 16:49:58 +0000 (16:49 +0000)]
edje: told you old man ! broadcasting message to all groups was a bad idea.

This patch try to prevent the broadcasting of targeted message. This should minimize
the problem generated on edje sub GROUP that didn't expect to see that much message
coming to them. It just a minimization of the problem, as message that don't target
explicitly a part are still propagated and can still break your edje usage from 1.0
to 1.1 version.

SVN revision: 67830

12 years agoeet: add support for statistique.
Cedric BAIL [Fri, 10 Feb 2012 15:30:33 +0000 (15:30 +0000)]
eet: add support for statistique.

SVN revision: 67829

12 years agoevas/evas_events - do not call the up event when obj is freezed and removed useless...
ChunEon Park [Fri, 10 Feb 2012 13:39:15 +0000 (13:39 +0000)]
evas/evas_events - do not call the up event when obj is freezed and removed useless codes.

SVN revision: 67828

12 years agoEcore_Evas_Cocoa: fix header include name.
Rafael Fonseca [Fri, 10 Feb 2012 13:27:46 +0000 (13:27 +0000)]
Ecore_Evas_Cocoa: fix header include name.

SVN revision: 67825

12 years agothanks vincent.
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 11:03:18 +0000 (11:03 +0000)]
thanks vincent.

I just did that mistake to see if you were paying attention... /me liar! :-)

SVN revision: 67822

12 years agoeina_model: add xref/xunref, xrefs_get and models_usage_dump!
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 10:48:39 +0000 (10:48 +0000)]
eina_model: add xref/xunref, xrefs_get and models_usage_dump!

Let's try to help debug by allowing extended reference management that
takes in account an identifier. This identifier is accounted on xref
and xunref and must match.

xrefs_get will return the list of such references, for debugging purposes.

eina_models_list_get() was added to return all live models, just
tracked when EINA_MODEL_DEBUG is enabled.

eina_models_usage_dump() was added and use the same infrastructure as
eina_models_list_get() and eina_model_xrefs_get() to aid debugging :-)

SVN revision: 67821

12 years agoEcore: Add ChangeLog entries for new ecore_evas_wayland function.
Christopher Michael [Fri, 10 Feb 2012 10:37:28 +0000 (10:37 +0000)]
Ecore: Add ChangeLog entries for new ecore_evas_wayland function.

SVN revision: 67820

12 years agoEcore_Evas (wayland): Disable logfn's (again) :( Remove extra parens.
Christopher Michael [Fri, 10 Feb 2012 10:36:21 +0000 (10:36 +0000)]
Ecore_Evas (wayland): Disable logfn's (again) :( Remove extra parens.

SVN revision: 67819

12 years agoadd missing shutdown
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 10:34:19 +0000 (10:34 +0000)]
add missing shutdown

SVN revision: 67818