Commit Graph

16458 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 68d5bb81bc 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
2012-02-08 15:13:25 +00:00
Cedric BAIL ed1558ff84 edje: filter means, we can't change any state when we check for match. Delay, we should.
SVN revision: 67763
2012-02-08 14:41:21 +00:00
Cedric BAIL 26c7ebd1e7 edje: don't update edje calc cache state when only one direction was computed.
SVN revision: 67762
2012-02-08 14:20:29 +00:00
Carsten Haitzler 6c31fcf709 add ecore_con_url_http_version_set() to be able to specify request
version



SVN revision: 67759
2012-02-08 13:25:08 +00:00
Carsten Haitzler b7efefd294 some more debug for surfs
SVN revision: 67758
2012-02-08 12:25:50 +00:00
Carsten Haitzler d279c4e97c add some definable surf debug code... and STORE allocated size on
alloc so cache doesnt overfill!!!!!!!!!!!!!!!



SVN revision: 67757
2012-02-08 12:08:41 +00:00
Carsten Haitzler 767e40227c revert cedricism's. this just creates an infintie evas_image_entry leak.
SVN revision: 67755
2012-02-08 11:22:09 +00:00
Carsten Haitzler a3672c0048 let's link to the right libs for wayland shm eh?
SVN revision: 67754
2012-02-08 11:21:05 +00:00
Tom Hacohen b5de0cf46b 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
2012-02-07 13:24:27 +00:00
Tom Hacohen c0ab80f047 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
2012-02-07 13:17:13 +00:00
Jihoon Kim 15ea121e01 Support ecore_imf_context_input_panel_show/hide in SCIM module
SVN revision: 67728
2012-02-07 10:30:57 +00:00
Jihoon Kim cf42822ea5 ecore_imf_xim: Support ecore_imf_context_input_panel_show/hide in XIM module.
SVN revision: 67727
2012-02-07 10:10:23 +00:00
WooHyun Jung 3856fe3c84 [edje] Modified Changlog and Edje.h. Thanks Vincent :)
SVN revision: 67726
2012-02-07 09:42:18 +00:00
WooHyun Jung 4f2baad01b [edje/markup_filter] update Changelog and NEWS
SVN revision: 67725
2012-02-07 08:52:30 +00:00
WooHyun Jung af9f325325 [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
2012-02-07 08:49:56 +00:00
Jihoon Kim 9e7c912aa4 Ecore_IMF.h: fix wrong documentation about Ecore_IMF_Preedit_Attr
SVN revision: 67723
2012-02-07 02:30:36 +00:00
Jihoon Kim 20646f9fa1 ecore_imf: Add Ecore_IMF function to set or get the input panel-specific data
SVN revision: 67711
2012-02-06 09:46:38 +00:00
Jihoon Kim 1d92d7dbe6 ecore_imf : Set ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL as default layout in ecore_imf_context_add.
SVN revision: 67710
2012-02-06 08:05:58 +00:00
Jihoon Kim 0a709db9d2 Ecore_IMF.h : describe Ecore_IMF_Callback_Type, Ecore_IMF_Autocapital_Type, and Ecore_IMF_Preedit_Attr in more detail
SVN revision: 67709
2012-02-06 05:10:18 +00:00
Jihoon Kim 557628f18b edje entry: set ALPHABET in case of password mode
SVN revision: 67708
2012-02-06 03:30:45 +00:00
Jihoon Kim 36c2029d0a fix @dates in each header file
SVN revision: 67705
2012-02-05 23:37:45 +00:00
Vincent Torri 6199e30512 Eina: use new Evil API to detect absolute path name
SVN revision: 67702
2012-02-05 09:41:25 +00:00
Vincent Torri 76057ccbe8 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
2012-02-05 09:34:17 +00:00
WooHyun Jung 768b9af1fb [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
2012-02-03 11:24:44 +00:00
Jihoon Kim 95e78175a5 ecore_imf: fix wrong ingroup fields for doxygen
SVN revision: 67695
2012-02-03 10:12:13 +00:00
Jihoon Kim 29f18d42a5 scim_imcontext.cpp: fix formatting
SVN revision: 67692
2012-02-03 06:32:24 +00:00
Jihoon Kim 0cfdf167d0 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
2012-02-03 04:50:23 +00:00
Jonas M. Gastal 90f5f268dc Change eina_mode_child_search to more descriptive
eina_model_child_criteria_match.

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



SVN revision: 67688
2012-02-02 12:32:13 +00:00
Jonas M. Gastal 8f35a3d5ab Better documentation for eina_model.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>



SVN revision: 67687
2012-02-02 12:31:46 +00:00
Daniel Juyung Seo de5074849f ecore ecore_main.c: Fixed formatting. It has nice documentation. Thanks raster :O
SVN revision: 67685
2012-02-02 05:21:24 +00:00
Cedric BAIL 7055227957 evas: use evas_image_cache_drop instead of plain wrong call to free.
SVN revision: 67681
2012-02-01 17:28:30 +00:00
Carsten Haitzler 53c539ae55 ok 1 segv less. this code looks most suspicious...
SVN revision: 67671
2012-02-01 09:48:46 +00:00
Jihoon Kim 517a436cbc Describe in more detail about ecore_imf_context_cursor_location_set API
SVN revision: 67670
2012-02-01 06:39:26 +00:00
Gustavo Sverzut Barbieri ceb07e60d1 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
2012-01-31 21:05:20 +00:00
Mike Blumenkrantz 128f5aa6e9 unbreak eina_value
SVN revision: 67643
2012-01-31 17:31:48 +00:00
Tom Hacohen 518424907e 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
2012-01-31 17:27:57 +00:00
Tom Hacohen ade018086c 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
2012-01-31 17:12:23 +00:00
Mike Blumenkrantz 56dc6e9571 add new eina value dummy type TIMESTAMP which is identical to ULONG
SVN revision: 67639
2012-01-31 16:55:10 +00:00
Gustavo Sverzut Barbieri 0d72a87ff6 add missing @since 1.2
SVN revision: 67638
2012-01-31 16:47:36 +00:00
Gustavo Sverzut Barbieri 948ce4b9ec eina_value: add EINA_VALUE_TYPE_MODEL
SVN revision: 67637
2012-01-31 16:45:59 +00:00
Gustavo Sverzut Barbieri 088ab8dd2b 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
2012-01-31 15:26:48 +00:00
Tom Hacohen f91a385b62 Evas textblock: Fixed native size calculation - margins were not used.
SVN revision: 67631
2012-01-31 11:32:48 +00:00
Jiyoun Park 64e2d7fee5 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
2012-01-30 14:36:15 +00:00
Sung Park 4f4a904816 Fixing my silly mistake before someone else catches it.
I was accessing a variable before it was NULL checked. 
Fixed now.



SVN revision: 67601
2012-01-30 11:21:38 +00:00
Christopher Michael f6ff119e67 Ecore: Update ChangeLog so nobody has a fit.
SVN revision: 67594
2012-01-29 20:41:50 +00:00
Christopher Michael 3beb6bb400 Ecore_X: Add api function (and code) to retrieve actual keycode from
keyname (needed to handle input from x11 to wayland clients).



SVN revision: 67591
2012-01-29 20:29:30 +00:00
Tom Hacohen 7dbd7c03e6 Eina test model: Use EINA_VALUE_STRUCT_MEMBER and the new EINA_C_ARRAY_LENGTH.
SVN revision: 67590
2012-01-29 15:38:04 +00:00
Tom Hacohen 92d70212c5 Eina: Added EINA_C_ARRAY_LENGTH.
This macro returns the length of a standard C array.

SVN revision: 67589
2012-01-29 15:38:01 +00:00
Davide Andreoli c37e388c4a epp does not support variadic args
SVN revision: 67588
2012-01-29 14:41:51 +00:00
Daniel Juyung Seo 30980e2ecf ecore ecore_imf_context.c: Fixed build warnings.
ecore_imf_context.c: In function ‘ecore_imf_context_event_callback_del’:
ecore_imf_context.c:1099:9: warning: ‘return’ with no value, in function returning non-void
ecore_imf_context.c:1109:26: warning: initialization discards qualifiers from pointer target type

SVN revision: 67585
2012-01-29 13:39:07 +00:00