Commit Graph

16423 Commits

Author SHA1 Message Date
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
Tom Hacohen 73830721ce Eina test model: Get offsets and sizes properly.
Make the tests work on multiple platforms and also let people who read the
code see how to do it properly.

SVN revision: 67584
2012-01-29 12:57:36 +00:00
Tom Hacohen 107d92d428 Evas textblock: Fixed a possible invalid mem write.
SVN revision: 67580
2012-01-29 10:01:27 +00:00
Christopher Michael 279a7c3c91 Evas (m4): Use simpler check for wayland egl. Don't reset
'gl_flavor_gles' when checking for sgx support (if we reset
gl_flavor_gles here, then the autofoo output always returns 'NO' for
gles.



SVN revision: 67572
2012-01-28 13:47:12 +00:00
Christopher Michael f267c9f556 Evas: Fix typo in autofoo output.
SVN revision: 67571
2012-01-28 13:40:21 +00:00
Iván Briano fdbbef9af9 Do set the max to the image size if asked for it
SVN revision: 67567
2012-01-27 14:32:45 +00:00
Vincent Torri 16b49b02f5 Eina: fix previous commit
SVN revision: 67564
2012-01-27 07:52:30 +00:00
Iván Briano 840d9727e9 Tell the descriptors about our new properties
SVN revision: 67559
2012-01-26 21:26:08 +00:00
Cedric BAIL 5358608eab edje: fix obvious c&p error.
SVN revision: 67557
2012-01-26 18:32:30 +00:00
Cedric BAIL a4c58712c3 edje: add min: SOURCE, max: SOURCE.
SVN revision: 67555
2012-01-26 18:24:00 +00:00
Tom Hacohen a45dd94b03 Eina model: fix a memory leak in the model's "to_string" function.
SVN revision: 67551
2012-01-26 16:42:00 +00:00
Tom Hacohen f947afdaff Edje textblock: Fixed style user memory leak.
Thanks to Hermet for spotting this.

SVN revision: 67549
2012-01-26 14:03:29 +00:00
Tom Hacohen a64d78e07a Evas textblock: Fixed style user memory leak.
Thanks to Hermet for spotting it.

SVN revision: 67548
2012-01-26 14:02:59 +00:00
Vincent Torri fcd0b658cf Eina: fix compilation errors in Eina_RWLock code when building code on Windows > XP
SVN revision: 67545
2012-01-26 07:21:27 +00:00
Gustavo Sverzut Barbieri 8ca2f1bcaa The polygon drawing code for the DirectFB backend incorrectly casts a
void pointer causing a segfault. The attached patch fixes the issue
and allows an expedite run to complete.

By: Will Newton <will.newton@gmail.com>



SVN revision: 67543
2012-01-25 18:40:22 +00:00
Cedric BAIL 1ed79260ee edje: don't forget to reference child image in set.
SVN revision: 67542
2012-01-25 18:37:10 +00:00
Gustavo Sverzut Barbieri be80cc08ec bugfix: reset iterator to head before the second lookup.
SVN revision: 67539
2012-01-25 17:06:29 +00:00
Gustavo Sverzut Barbieri 3683b0e719 eina_value_struct_member_value: helper to be used by esql and possibly others.
It is common to already known the member, then no need to query
it. This provides optimized retrieval for people that can manage it.



SVN revision: 67538
2012-01-25 16:58:57 +00:00
Cedric BAIL 664e6939fb edje: fix use of inherit, overridding and alias.
SVN revision: 67537
2012-01-25 16:47:38 +00:00
Jonas M. Gastal 263d6af353 Small fixes to eina_model documentation.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>



SVN revision: 67535
2012-01-25 13:48:32 +00:00
Tom Hacohen 4bd08d2ca5 Eina model: Fix the example in the docs to compile.
SVN revision: 67534
2012-01-25 12:05:20 +00:00
Cedric BAIL 762126ef49 edje: rename variable to have a more miningfull name.
SVN revision: 67528
2012-01-25 10:11:02 +00:00
Cedric BAIL 0379b5c2da edje: cast the right type.
SVN revision: 67527
2012-01-25 09:53:38 +00:00
Cedric BAIL f968d16b55 edje: do it in the right order.
SVN revision: 67526
2012-01-25 09:36:08 +00:00
Cedric BAIL 7191b9a3f6 edje: edje_cc will now only store and encore needed image.
SVN revision: 67524
2012-01-25 09:07:36 +00:00
Sung Park 14a94f1a8f Fixed a logic error for Evas GL Direct rendering override
option.

It should have been OR instead of AND operator.

When the image object alpha is on "OR" the rotation angle 
is not "0", direct rendering isn't allowed.  However,  
allow direct rendering if EVAS_GL_DIRECT_OVERRIDE=1 is set. 




SVN revision: 67521
2012-01-25 05:08:23 +00:00
Gustavo Sverzut Barbieri 73b1d45d15 value got the helper, will be useful in other cases as well.
SVN revision: 67518
2012-01-24 22:56:17 +00:00
Gustavo Sverzut Barbieri 73b595df2f more efficient model properties based on struct.
this is a killer, should be very efficient in memory and speed to
set/get items: instead of a hash of properties, keep them in a C
struct!

The constraint is that properties have fixed types defined at compile
time and cannot be deleted, but this is expected in many cases (ie:
esql rows).




SVN revision: 67517
2012-01-24 22:17:57 +00:00
Gustavo Sverzut Barbieri 19a47340a5 reset log level after it's done testing.
SVN revision: 67516
2012-01-24 22:15:06 +00:00
Vincent Torri 78c73ea97a Eina: fix requirements and a comment message
SVN revision: 67515
2012-01-24 22:05:46 +00:00
Cedric BAIL 7e8b2681c9 eio: fix eio monitor by Guillaume Friloux.
SVN revision: 67501
2012-01-24 16:00:57 +00:00
Cedric BAIL 457de1db0b ecore: M_PI / 2.0 == M_PI_2
SVN revision: 67496
2012-01-24 14:50:39 +00:00
Cedric BAIL 814d9bfb29 edje: prevent filter from matching during a program run.
SVN revision: 67495
2012-01-24 14:48:51 +00:00
Cedric BAIL 93a7b884a9 edje: back port in 1.0 and 1.1.
SVN revision: 67485
2012-01-24 09:07:55 +00:00
Vincent Torri 1f27f0b581 Eina: update alloca() declaration from latest autoconf doc.
SVN revision: 67483
2012-01-24 07:21:33 +00:00
Vincent Torri 0f16de1de6 Eina: Windows version is managed by Evil, now. I'm not sure I have to update ChangeLog.
SVN revision: 67482
2012-01-24 07:08:23 +00:00