Commit Graph

16503 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 5c0041f6ad 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
2012-02-11 00:42:00 +00:00
Gustavo Sverzut Barbieri 1fc6b13d10 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
2012-02-11 00:34:25 +00:00
Gustavo Sverzut Barbieri 3fbce27e8d 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
2012-02-10 22:03:48 +00:00
Gustavo Sverzut Barbieri 6609523415 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
2012-02-10 21:43:55 +00:00
Gustavo Sverzut Barbieri edfd15d9ca value: allow multiple flush.
multiple flush may happen when handling errors. May be used in some cases.




SVN revision: 67839
2012-02-10 21:34:28 +00:00
Gustavo Sverzut Barbieri 0d1b66d44e eina_value: fix convert to string on empty/null cases.
SVN revision: 67838
2012-02-10 21:18:59 +00:00
Gustavo Sverzut Barbieri 63cc1bceea fix test leaks
SVN revision: 67836
2012-02-10 20:39:27 +00:00
Gustavo Sverzut Barbieri e8924c7600 eina_value_hash: must free hash value after it's flushed.
SVN revision: 67835
2012-02-10 20:39:07 +00:00
Gustavo Sverzut Barbieri 817d6234b8 fix memleak in test suite.
SVN revision: 67834
2012-02-10 20:38:28 +00:00
Mike Blumenkrantz 252f6a04b3 fix breakage from r67537 with alias inheriting or somesuch
SVN revision: 67833
2012-02-10 20:34:18 +00:00
Jonas M. Gastal 27f0f4cceb Another example for eina_model.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>



SVN revision: 67832
2012-02-10 17:18:10 +00:00
Cedric BAIL d5cbba52ef 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
2012-02-10 16:49:58 +00:00
Cedric BAIL ef1e91430f eet: add support for statistique.
SVN revision: 67829
2012-02-10 15:30:33 +00:00
ChunEon Park f6db68d6f5 evas/evas_events - do not call the up event when obj is freezed and removed useless codes.
SVN revision: 67828
2012-02-10 13:39:15 +00:00
Rafael Fonseca 53e3f54ba5 Ecore_Evas_Cocoa: fix header include name.
SVN revision: 67825
2012-02-10 13:27:46 +00:00
Gustavo Sverzut Barbieri ef2976ec46 thanks vincent.
I just did that mistake to see if you were paying attention... /me liar! :-)


SVN revision: 67822
2012-02-10 11:03:18 +00:00
Gustavo Sverzut Barbieri 687e59a102 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
2012-02-10 10:48:39 +00:00
Christopher Michael 5c8833cbbe Ecore: Add ChangeLog entries for new ecore_evas_wayland function.
SVN revision: 67820
2012-02-10 10:37:28 +00:00
Christopher Michael 317f1ebf99 Ecore_Evas (wayland): Disable logfn's (again) :( Remove extra parens.
SVN revision: 67819
2012-02-10 10:36:21 +00:00
Gustavo Sverzut Barbieri 6d60ece7db add missing shutdown
SVN revision: 67818
2012-02-10 10:34:19 +00:00
Christopher Michael 1acb7b4f9e Ecore_Evas: Add functions for setting wayland mouse pointer (used from
elm wayland clients).



SVN revision: 67816
2012-02-10 09:16:29 +00:00
Jihoon Kim 039cd30ebd scim_immmodule: Provide compose, string in key down/up event in case of scim-input-pad.
SVN revision: 67801
2012-02-10 00:03:25 +00:00
Gustavo Sverzut Barbieri 5150befe04 remove @EINA_CPPFLAGS@ from remaining Makefile.am
Thanks to Tommy[D] for spotting the problem!


SVN revision: 67799
2012-02-09 21:42:50 +00:00
Gustavo Sverzut Barbieri 232fbec9f1 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
2012-02-09 20:26:00 +00:00
Jonas M. Gastal 9f90af4dc7 More documentation for eina_model.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>



SVN revision: 67797
2012-02-09 19:13:54 +00:00
Gustavo Sverzut Barbieri 0bcae96ccb eina_model: rename all "search" to "criteria_match"
SVN revision: 67796
2012-02-09 16:29:50 +00:00
Gustavo Sverzut Barbieri 013c986c40 eina_model: helper function to setup subclass during runtime.
SVN revision: 67795
2012-02-09 16:20:16 +00:00
Tom Hacohen 0b8df6a240 Eina examples: Formatted model example a bit.
SVN revision: 67791
2012-02-09 12:29:56 +00:00
Tom Hacohen 8a1351b5f0 Evas textblock: Better handle visible formats.
Fixed a crash. Thanks WooHyun for making me fix it now. :)

SVN revision: 67790
2012-02-09 12:21:18 +00:00
Tom Hacohen 29c291ff3b 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
2012-02-09 10:32:14 +00:00
Cedric BAIL 87eb14012b eet: add support for GnuTLS 3.x
SVN revision: 67785
2012-02-09 10:30:04 +00:00
Tom Hacohen edbdd6a1ad 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
2012-02-09 10:21:17 +00:00
Christopher Michael 671cda7b73 Ecore_Wl: Add function in header.
SVN revision: 67782
2012-02-09 08:16:45 +00:00
Christopher Michael c510ba8471 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
2012-02-09 08:15:10 +00:00
Christopher Michael 2644d16d50 Ecore_Evas (Wayland): Fix getting double mouse events for the wayland
engines.

NB: Fixes elementary momentum scrolling.



SVN revision: 67780
2012-02-09 08:12:39 +00:00
Jihoon Kim 09d8eb2f1d ecore_imf_context.c: fix formatting
SVN revision: 67779
2012-02-09 03:53:03 +00:00
Carsten Haitzler 3c9c59c5a5 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
2012-02-09 03:50:10 +00:00
Mike Blumenkrantz 1a89d6b59d add new curl function to news
SVN revision: 67777
2012-02-09 00:50:38 +00:00
Lucas De Marchi 4c184eff2f 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
2012-02-09 00:06:14 +00:00
Mike Blumenkrantz 3be93385bf @SVN revision: 67759
SVN revision: 67774
2012-02-08 22:58:07 +00:00
Mike Blumenkrantz 6abc186588 SVN revision: 67759
SPANK SPANK SPANK RASTER


SVN revision: 67772
2012-02-08 21:25:45 +00:00
Tom Hacohen c96f3aa53a Ecore tests: Disable ecore_x tests in the meanwhile.
They are currently useless and just cause buildbot to complain.

SVN revision: 67768
2012-02-08 16:50:04 +00:00
Tom Hacohen 8144798618 Eina model: Added an eina model example for inheritance.
Patch by Yakov Goldberg.

SVN revision: 67767
2012-02-08 16:39:19 +00:00
Cedric BAIL 1eadf59d59 edje: fix build with EDJE_PROGRAM_CACHE
SVN revision: 67766
2012-02-08 16:05:44 +00:00
Tom Hacohen 1dbab17f64 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
2012-02-08 15:37:07 +00:00
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