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
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
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
Jihoon Kim [Mon, 13 Feb 2012 10:55:26 +0000 (10:55 +0000)]
scim_immodule: improve maintenability
SVN revision: 67878
Cedric BAIL [Mon, 13 Feb 2012 09:06:28 +0000 (09:06 +0000)]
eio: fix a doc typo.
SVN revision: 67877
윤정현 [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
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
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
Jihoon Kim [Mon, 13 Feb 2012 04:19:38 +0000 (04:19 +0000)]
edje_util.c: remove wrong return
SVN revision: 67868
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
Gustavo Sverzut Barbieri [Sat, 11 Feb 2012 18:04:32 +0000 (18:04 +0000)]
improve documentation of eina model and value.
SVN revision: 67851
Gustavo Sverzut Barbieri [Sat, 11 Feb 2012 00:48:42 +0000 (00:48 +0000)]
model: add helper for common pattern
SVN revision: 67845
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
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
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
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
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
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
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 20:39:27 +0000 (20:39 +0000)]
fix test leaks
SVN revision: 67836
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
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 20:38:28 +0000 (20:38 +0000)]
fix memleak in test suite.
SVN revision: 67834
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
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
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
Cedric BAIL [Fri, 10 Feb 2012 15:30:33 +0000 (15:30 +0000)]
eet: add support for statistique.
SVN revision: 67829
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
Rafael Fonseca [Fri, 10 Feb 2012 13:27:46 +0000 (13:27 +0000)]
Ecore_Evas_Cocoa: fix header include name.
SVN revision: 67825
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
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
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
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
Gustavo Sverzut Barbieri [Fri, 10 Feb 2012 10:34:19 +0000 (10:34 +0000)]
add missing shutdown
SVN revision: 67818
Christopher Michael [Fri, 10 Feb 2012 09:16:29 +0000 (09:16 +0000)]
Ecore_Evas: Add functions for setting wayland mouse pointer (used from
elm wayland clients).
SVN revision: 67816
Jihoon Kim [Fri, 10 Feb 2012 00:03:25 +0000 (00:03 +0000)]
scim_immmodule: Provide compose, string in key down/up event in case of scim-input-pad.
SVN revision: 67801
Gustavo Sverzut Barbieri [Thu, 9 Feb 2012 21:42:50 +0000 (21:42 +0000)]
remove @EINA_CPPFLAGS@ from remaining Makefile.am
Thanks to Tommy[D] for spotting the problem!
SVN revision: 67799
Gustavo Sverzut Barbieri [Thu, 9 Feb 2012 20:26:00 +0000 (20:26 +0000)]
add Jonas to authors.
He worked previously with documentation, now is helping me with
Eina_Model and will keep adding some examples and fixes here and
there.
SVN revision: 67798
Jonas M. Gastal [Thu, 9 Feb 2012 19:13:54 +0000 (19:13 +0000)]
More documentation for eina_model.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>
SVN revision: 67797
Gustavo Sverzut Barbieri [Thu, 9 Feb 2012 16:29:50 +0000 (16:29 +0000)]
eina_model: rename all "search" to "criteria_match"
SVN revision: 67796
Gustavo Sverzut Barbieri [Thu, 9 Feb 2012 16:20:16 +0000 (16:20 +0000)]
eina_model: helper function to setup subclass during runtime.
SVN revision: 67795
Tom Hacohen [Thu, 9 Feb 2012 12:29:56 +0000 (12:29 +0000)]
Eina examples: Formatted model example a bit.
SVN revision: 67791
Tom Hacohen [Thu, 9 Feb 2012 12:21:18 +0000 (12:21 +0000)]
Evas textblock: Better handle visible formats.
Fixed a crash. Thanks WooHyun for making me fix it now. :)
SVN revision: 67790
Tom Hacohen [Thu, 9 Feb 2012 10:32:14 +0000 (10:32 +0000)]
Eina model: Made i_method_resolve a macro (for interface as well)
Same as the previous commit about "Type" this time about Interface.
This will also hopefully remove the likelihood for hacks.
Previous functions are still available as method_offset_resolve.
SVN revision: 67786
Cedric BAIL [Thu, 9 Feb 2012 10:30:04 +0000 (10:30 +0000)]
eet: add support for GnuTLS 3.x
SVN revision: 67785
Tom Hacohen [Thu, 9 Feb 2012 10:21:17 +0000 (10:21 +0000)]
Evas jpeg loader: Fixed a couple of compilation warnings.
There are a couple more *important* warnings. The switch case at line 564
does not cover all options.
SVN revision: 67784
Christopher Michael [Thu, 9 Feb 2012 08:16:45 +0000 (08:16 +0000)]
Ecore_Wl: Add function in header.
SVN revision: 67782
Christopher Michael [Thu, 9 Feb 2012 08:15:10 +0000 (08:15 +0000)]
Ecore_Wl: Also send mouse move before sending mouse down/up. Add some
missing Logfn's. Add handler to free the mouse_move event when we're
done with it. Add a function to retrieve the 'last mouse button down
time' (needed for fixing surface move).
SVN revision: 67781
Christopher Michael [Thu, 9 Feb 2012 08:12:39 +0000 (08:12 +0000)]
Ecore_Evas (Wayland): Fix getting double mouse events for the wayland
engines.
NB: Fixes elementary momentum scrolling.
SVN revision: 67780
Jihoon Kim [Thu, 9 Feb 2012 03:53:03 +0000 (03:53 +0000)]
ecore_imf_context.c: fix formatting
SVN revision: 67779
Carsten Haitzler [Thu, 9 Feb 2012 03:50:10 +0000 (03:50 +0000)]
hmm no - we shouldnt delete here.. we just find it in the active image
hash. as such the image is dirtied and thus removed from this hash
anyway so it doesnt need deleting.
SVN revision: 67778
Mike Blumenkrantz [Thu, 9 Feb 2012 00:50:38 +0000 (00:50 +0000)]
add new curl function to news
SVN revision: 67777
Lucas De Marchi [Thu, 9 Feb 2012 00:06:14 +0000 (00:06 +0000)]
eina_sched: fix rt priority drop
Thanks to cedric for noticing this bug. Priority in userspace are in the
opposite order as in kernel space.
SVN revision: 67776
Mike Blumenkrantz [Wed, 8 Feb 2012 22:58:07 +0000 (22:58 +0000)]
@SVN revision: 67759
SVN revision: 67774
Mike Blumenkrantz [Wed, 8 Feb 2012 21:25:45 +0000 (21:25 +0000)]
SVN revision: 67759
SPANK SPANK SPANK RASTER
SVN revision: 67772
Tom Hacohen [Wed, 8 Feb 2012 16:50:04 +0000 (16:50 +0000)]
Ecore tests: Disable ecore_x tests in the meanwhile.
They are currently useless and just cause buildbot to complain.
SVN revision: 67768
Tom Hacohen [Wed, 8 Feb 2012 16:39:19 +0000 (16:39 +0000)]
Eina model: Added an eina model example for inheritance.
Patch by Yakov Goldberg.
SVN revision: 67767
Cedric BAIL [Wed, 8 Feb 2012 16:05:44 +0000 (16:05 +0000)]
edje: fix build with EDJE_PROGRAM_CACHE
SVN revision: 67766
Tom Hacohen [Wed, 8 Feb 2012 15:37:07 +0000 (15:37 +0000)]
Eina model: Made _method_resolve a macro to remove the need for offsetof.
This will also hopefully remove the likelihood for hacks.
Previous functions are still available as method_offset_resolve.
SVN revision: 67765
Gustavo Sverzut Barbieri [Wed, 8 Feb 2012 15:13:25 +0000 (15:13 +0000)]
eina_model: correctly retrieve the memory from value.
val->value.ptr is just valid on 64bits platforms, as on 32bits both
pointers of the Eina_Value_Struct fits in the 8bytes of val->value.buf.
Always use the function to correctly retrieve it.
SVN revision: 67764
Cedric BAIL [Wed, 8 Feb 2012 14:41:21 +0000 (14:41 +0000)]
edje: filter means, we can't change any state when we check for match. Delay, we should.
SVN revision: 67763
Cedric BAIL [Wed, 8 Feb 2012 14:20:29 +0000 (14:20 +0000)]
edje: don't update edje calc cache state when only one direction was computed.
SVN revision: 67762
Carsten Haitzler [Wed, 8 Feb 2012 13:25:08 +0000 (13:25 +0000)]
add ecore_con_url_http_version_set() to be able to specify request
version
SVN revision: 67759
Carsten Haitzler [Wed, 8 Feb 2012 12:25:50 +0000 (12:25 +0000)]
some more debug for surfs
SVN revision: 67758
Carsten Haitzler [Wed, 8 Feb 2012 12:08:41 +0000 (12:08 +0000)]
add some definable surf debug code... and STORE allocated size on
alloc so cache doesnt overfill!!!!!!!!!!!!!!!
SVN revision: 67757
Carsten Haitzler [Wed, 8 Feb 2012 11:22:09 +0000 (11:22 +0000)]
revert cedricism's. this just creates an infintie evas_image_entry leak.
SVN revision: 67755
Carsten Haitzler [Wed, 8 Feb 2012 11:21:05 +0000 (11:21 +0000)]
let's link to the right libs for wayland shm eh?
SVN revision: 67754
Tom Hacohen [Tue, 7 Feb 2012 13:24:27 +0000 (13:24 +0000)]
Eina model: Fix another issue with the method resolve functios.
Make it possible to resolve foo (the last item).
struct _My_Object_Type
{
Eina_Model_Type parent_class;
...
void (*foo)(Eina_Model *, int);
};
SVN revision: 67733
Tom Hacohen [Tue, 7 Feb 2012 13:17:13 +0000 (13:17 +0000)]
Eina Model: Fix wrong error checking in the method resolve functions.
This enables resolving method foo...
struct _My_Object_Type
{
Eina_Model_Type parent;
void (*foo)(Eina_Model *, int);
...
}
SVN revision: 67732
Jihoon Kim [Tue, 7 Feb 2012 10:30:57 +0000 (10:30 +0000)]
Support ecore_imf_context_input_panel_show/hide in SCIM module
SVN revision: 67728
Jihoon Kim [Tue, 7 Feb 2012 10:10:23 +0000 (10:10 +0000)]
ecore_imf_xim: Support ecore_imf_context_input_panel_show/hide in XIM module.
SVN revision: 67727
WooHyun Jung [Tue, 7 Feb 2012 09:42:18 +0000 (09:42 +0000)]
[edje] Modified Changlog and Edje.h. Thanks Vincent :)
SVN revision: 67726
WooHyun Jung [Tue, 7 Feb 2012 08:52:30 +0000 (08:52 +0000)]
[edje/markup_filter] update Changelog and NEWS
SVN revision: 67725
WooHyun Jung [Tue, 7 Feb 2012 08:49:56 +0000 (08:49 +0000)]
[edje/markup filter] Add new API, edje_object_markup_filter_callback_add. When using
edje_object_text_insert_filter_callback_add, a filter function
should check the type(format, text, or markup) of text for correct
filtering. But in markup filter function(added by new API), text is
always markup so no need to check the type of text.
SVN revision: 67724
Jihoon Kim [Tue, 7 Feb 2012 02:30:36 +0000 (02:30 +0000)]
Ecore_IMF.h: fix wrong documentation about Ecore_IMF_Preedit_Attr
SVN revision: 67723
Jihoon Kim [Mon, 6 Feb 2012 09:46:38 +0000 (09:46 +0000)]
ecore_imf: Add Ecore_IMF function to set or get the input panel-specific data
SVN revision: 67711
Jihoon Kim [Mon, 6 Feb 2012 08:05:58 +0000 (08:05 +0000)]
ecore_imf : Set ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL as default layout in ecore_imf_context_add.
SVN revision: 67710
Jihoon Kim [Mon, 6 Feb 2012 05:10:18 +0000 (05:10 +0000)]
Ecore_IMF.h : describe Ecore_IMF_Callback_Type, Ecore_IMF_Autocapital_Type, and Ecore_IMF_Preedit_Attr in more detail
SVN revision: 67709
Jihoon Kim [Mon, 6 Feb 2012 03:30:45 +0000 (03:30 +0000)]
edje entry: set ALPHABET in case of password mode
SVN revision: 67708
Jihoon Kim [Sun, 5 Feb 2012 23:37:45 +0000 (23:37 +0000)]
fix @dates in each header file
SVN revision: 67705
Vincent Torri [Sun, 5 Feb 2012 09:41:25 +0000 (09:41 +0000)]
Eina: use new Evil API to detect absolute path name
SVN revision: 67702
Vincent Torri [Sun, 5 Feb 2012 09:34:17 +0000 (09:34 +0000)]
Eina: append and prepend __ to gcc attributes
Avoid conflicts with macros that have been previously defined
with the same name than the attribute
SVN revision: 67701
WooHyun Jung [Fri, 3 Feb 2012 11:24:44 +0000 (11:24 +0000)]
[evas/evas_object_textblock] When markup_to_utf8 is tried with an invalid
escape tag, escape will be NULL. "eina_strbuf_append" should not be
called with NULL string.
SVN revision: 67696
Jihoon Kim [Fri, 3 Feb 2012 10:12:13 +0000 (10:12 +0000)]
ecore_imf: fix wrong ingroup fields for doxygen
SVN revision: 67695
Jihoon Kim [Fri, 3 Feb 2012 06:32:24 +0000 (06:32 +0000)]
scim_imcontext.cpp: fix formatting
SVN revision: 67692
Jihoon Kim [Fri, 3 Feb 2012 04:50:23 +0000 (04:50 +0000)]
Entry: Fix to work edje_object_part_text_input_panel_enabled_set/get well even though ecore_imf doesn't exist or immodule isn't used.
SVN revision: 67690
Jonas M. Gastal [Thu, 2 Feb 2012 12:32:13 +0000 (12:32 +0000)]
Change eina_mode_child_search to more descriptive
eina_model_child_criteria_match.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>
SVN revision: 67688
Jonas M. Gastal [Thu, 2 Feb 2012 12:31:46 +0000 (12:31 +0000)]
Better documentation for eina_model.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>
SVN revision: 67687
Daniel Juyung Seo [Thu, 2 Feb 2012 05:21:24 +0000 (05:21 +0000)]
ecore ecore_main.c: Fixed formatting. It has nice documentation. Thanks raster :O
SVN revision: 67685
Cedric BAIL [Wed, 1 Feb 2012 17:28:30 +0000 (17:28 +0000)]
evas: use evas_image_cache_drop instead of plain wrong call to free.
SVN revision: 67681
Carsten Haitzler [Wed, 1 Feb 2012 09:48:46 +0000 (09:48 +0000)]
ok 1 segv less. this code looks most suspicious...
SVN revision: 67671
Jihoon Kim [Wed, 1 Feb 2012 06:39:26 +0000 (06:39 +0000)]
Describe in more detail about ecore_imf_context_cursor_location_set API
SVN revision: 67670
Gustavo Sverzut Barbieri [Tue, 31 Jan 2012 21:05:20 +0000 (21:05 +0000)]
eina_value: fix struct type.
1. consider case where the struct was not set for flush and others;
2. flush previous struct on pset;
3. setup the new struct members memory on pset;
4. always use ops->alloc and ops->free if they are provided;
SVN revision: 67662
Mike Blumenkrantz [Tue, 31 Jan 2012 17:31:48 +0000 (17:31 +0000)]
unbreak eina_value
SVN revision: 67643
Tom Hacohen [Tue, 31 Jan 2012 17:27:57 +0000 (17:27 +0000)]
Eina stringshare: fixed up the previous commit a bit.
Fixed wrong usage of Eina_Stringshare - Thanks k-s.
Omited the star from the typedef - Thanks Sacihel.
SVN revision: 67642
Tom Hacohen [Tue, 31 Jan 2012 17:12:23 +0000 (17:12 +0000)]
Eina stringshare: Added Eina_Stringshare a stringshare visual hint.
It's interchangeable with const char *, it's juts there as a visual hint
for functions expecting stringshared values. Docs are not enough...
SVN revision: 67641
Mike Blumenkrantz [Tue, 31 Jan 2012 16:55:10 +0000 (16:55 +0000)]
add new eina value dummy type TIMESTAMP which is identical to ULONG
SVN revision: 67639
Gustavo Sverzut Barbieri [Tue, 31 Jan 2012 16:47:36 +0000 (16:47 +0000)]
add missing @since 1.2
SVN revision: 67638
Gustavo Sverzut Barbieri [Tue, 31 Jan 2012 16:45:59 +0000 (16:45 +0000)]
eina_value: add EINA_VALUE_TYPE_MODEL
SVN revision: 67637
Gustavo Sverzut Barbieri [Tue, 31 Jan 2012 15:26:48 +0000 (15:26 +0000)]
eina_model: change the way extensions are done.
Thanks to Tasn review it was noticed that subclasses using "const void *value"
with sub-structure would have to resolve their methods manually, quite bad.
Then the extension will happen with structures inside structures, as
previously used in Evas_Smart_Class. To allow the system to resolve
the methods and keep it, it is now specificed the type_size.
A new function is added to help extensions:
eina_model_type_method_resolve(), together with few helper macros.
To allow Eina_Model_Type to be augmented with more methods without
breaking the ABI, 4 slots are left there. We expect we got it right
from beginning and these will never be used, but we can never be sure
;-)
Last but not least, similar changes were done to Eina_Model_Interface
for consistency matters.
SVN revision: 67635
Tom Hacohen [Tue, 31 Jan 2012 11:32:48 +0000 (11:32 +0000)]
Evas textblock: Fixed native size calculation - margins were not used.
SVN revision: 67631
Jiyoun Park [Mon, 30 Jan 2012 14:36:15 +0000 (14:36 +0000)]
fix memory leak of dirty image
if file was chaned by somebody, it was added to dirty list during cache request.
currently this dirty image added to cache->dirty list and never freed until image shutdown.
but dirty image of chaned file never used so add delete code for memory efficiency.
and fix bad indentation.
SVN revision: 67604