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
Sung Park [Mon, 30 Jan 2012 11:21:38 +0000 (11:21 +0000)]
Fixing my silly mistake before someone else catches it.
I was accessing a variable before it was NULL checked.
Fixed now.
SVN revision: 67601
Christopher Michael [Sun, 29 Jan 2012 20:41:50 +0000 (20:41 +0000)]
Ecore: Update ChangeLog so nobody has a fit.
SVN revision: 67594
Christopher Michael [Sun, 29 Jan 2012 20:29:30 +0000 (20:29 +0000)]
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
Tom Hacohen [Sun, 29 Jan 2012 15:38:04 +0000 (15:38 +0000)]
Eina test model: Use EINA_VALUE_STRUCT_MEMBER and the new EINA_C_ARRAY_LENGTH.
SVN revision: 67590
Tom Hacohen [Sun, 29 Jan 2012 15:38:01 +0000 (15:38 +0000)]
Eina: Added EINA_C_ARRAY_LENGTH.
This macro returns the length of a standard C array.
SVN revision: 67589
Davide Andreoli [Sun, 29 Jan 2012 14:41:51 +0000 (14:41 +0000)]
epp does not support variadic args
SVN revision: 67588
Daniel Juyung Seo [Sun, 29 Jan 2012 13:39:07 +0000 (13:39 +0000)]
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
Tom Hacohen [Sun, 29 Jan 2012 12:57:36 +0000 (12:57 +0000)]
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
Tom Hacohen [Sun, 29 Jan 2012 10:01:27 +0000 (10:01 +0000)]
Evas textblock: Fixed a possible invalid mem write.
SVN revision: 67580
Christopher Michael [Sat, 28 Jan 2012 13:47:12 +0000 (13:47 +0000)]
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
Christopher Michael [Sat, 28 Jan 2012 13:40:21 +0000 (13:40 +0000)]
Evas: Fix typo in autofoo output.
SVN revision: 67571
Iván Briano [Fri, 27 Jan 2012 14:32:45 +0000 (14:32 +0000)]
Do set the max to the image size if asked for it
SVN revision: 67567
Vincent Torri [Fri, 27 Jan 2012 07:52:30 +0000 (07:52 +0000)]
Eina: fix previous commit
SVN revision: 67564
Iván Briano [Thu, 26 Jan 2012 21:26:08 +0000 (21:26 +0000)]
Tell the descriptors about our new properties
SVN revision: 67559
Cedric BAIL [Thu, 26 Jan 2012 18:32:30 +0000 (18:32 +0000)]
edje: fix obvious c&p error.
SVN revision: 67557
Cedric BAIL [Thu, 26 Jan 2012 18:24:00 +0000 (18:24 +0000)]
edje: add min: SOURCE, max: SOURCE.
SVN revision: 67555
Tom Hacohen [Thu, 26 Jan 2012 16:42:00 +0000 (16:42 +0000)]
Eina model: fix a memory leak in the model's "to_string" function.
SVN revision: 67551
Tom Hacohen [Thu, 26 Jan 2012 14:03:29 +0000 (14:03 +0000)]
Edje textblock: Fixed style user memory leak.
Thanks to Hermet for spotting this.
SVN revision: 67549
Tom Hacohen [Thu, 26 Jan 2012 14:02:59 +0000 (14:02 +0000)]
Evas textblock: Fixed style user memory leak.
Thanks to Hermet for spotting it.
SVN revision: 67548
Vincent Torri [Thu, 26 Jan 2012 07:21:27 +0000 (07:21 +0000)]
Eina: fix compilation errors in Eina_RWLock code when building code on Windows > XP
SVN revision: 67545
Gustavo Sverzut Barbieri [Wed, 25 Jan 2012 18:40:22 +0000 (18:40 +0000)]
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
Cedric BAIL [Wed, 25 Jan 2012 18:37:10 +0000 (18:37 +0000)]
edje: don't forget to reference child image in set.
SVN revision: 67542
Gustavo Sverzut Barbieri [Wed, 25 Jan 2012 17:06:29 +0000 (17:06 +0000)]
bugfix: reset iterator to head before the second lookup.
SVN revision: 67539
Gustavo Sverzut Barbieri [Wed, 25 Jan 2012 16:58:57 +0000 (16:58 +0000)]
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
Cedric BAIL [Wed, 25 Jan 2012 16:47:38 +0000 (16:47 +0000)]
edje: fix use of inherit, overridding and alias.
SVN revision: 67537
Jonas M. Gastal [Wed, 25 Jan 2012 13:48:32 +0000 (13:48 +0000)]
Small fixes to eina_model documentation.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>
SVN revision: 67535
Tom Hacohen [Wed, 25 Jan 2012 12:05:20 +0000 (12:05 +0000)]
Eina model: Fix the example in the docs to compile.
SVN revision: 67534
Cedric BAIL [Wed, 25 Jan 2012 10:11:02 +0000 (10:11 +0000)]
edje: rename variable to have a more miningfull name.
SVN revision: 67528
Cedric BAIL [Wed, 25 Jan 2012 09:53:38 +0000 (09:53 +0000)]
edje: cast the right type.
SVN revision: 67527
Cedric BAIL [Wed, 25 Jan 2012 09:36:08 +0000 (09:36 +0000)]
edje: do it in the right order.
SVN revision: 67526
Cedric BAIL [Wed, 25 Jan 2012 09:07:36 +0000 (09:07 +0000)]
edje: edje_cc will now only store and encore needed image.
SVN revision: 67524
Sung Park [Wed, 25 Jan 2012 05:08:23 +0000 (05:08 +0000)]
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
Gustavo Sverzut Barbieri [Tue, 24 Jan 2012 22:56:17 +0000 (22:56 +0000)]
value got the helper, will be useful in other cases as well.
SVN revision: 67518
Gustavo Sverzut Barbieri [Tue, 24 Jan 2012 22:17:57 +0000 (22:17 +0000)]
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
Gustavo Sverzut Barbieri [Tue, 24 Jan 2012 22:15:06 +0000 (22:15 +0000)]
reset log level after it's done testing.
SVN revision: 67516
Vincent Torri [Tue, 24 Jan 2012 22:05:46 +0000 (22:05 +0000)]
Eina: fix requirements and a comment message
SVN revision: 67515
Cedric BAIL [Tue, 24 Jan 2012 16:00:57 +0000 (16:00 +0000)]
eio: fix eio monitor by Guillaume Friloux.
SVN revision: 67501
Cedric BAIL [Tue, 24 Jan 2012 14:50:39 +0000 (14:50 +0000)]
ecore: M_PI / 2.0 == M_PI_2
SVN revision: 67496
Cedric BAIL [Tue, 24 Jan 2012 14:48:51 +0000 (14:48 +0000)]
edje: prevent filter from matching during a program run.
SVN revision: 67495
Cedric BAIL [Tue, 24 Jan 2012 09:07:55 +0000 (09:07 +0000)]
edje: back port in 1.0 and 1.1.
SVN revision: 67485
Vincent Torri [Tue, 24 Jan 2012 07:21:33 +0000 (07:21 +0000)]
Eina: update alloca() declaration from latest autoconf doc.
SVN revision: 67483
Vincent Torri [Tue, 24 Jan 2012 07:08:23 +0000 (07:08 +0000)]
Eina: Windows version is managed by Evil, now. I'm not sure I have to update ChangeLog.
SVN revision: 67482
Cedric BAIL [Mon, 23 Jan 2012 16:53:51 +0000 (16:53 +0000)]
eet: reduce the time taken by eet tests suite and hopefully reduce the risk for failure.
SVN revision: 67480
Iván Briano [Mon, 23 Jan 2012 16:51:02 +0000 (16:51 +0000)]
dereference pointer before using
SVN revision: 67479
Cedric BAIL [Mon, 23 Jan 2012 16:39:37 +0000 (16:39 +0000)]
edje: remove white space.
SVN revision: 67478
Cedric BAIL [Mon, 23 Jan 2012 16:34:34 +0000 (16:34 +0000)]
edje: fix all id including the current directory entry.
SVN revision: 67477
Tom Hacohen [Mon, 23 Jan 2012 16:18:53 +0000 (16:18 +0000)]
Edje util: Remove useless cast.
SVN revision: 67476
Tom Hacohen [Mon, 23 Jan 2012 16:10:27 +0000 (16:10 +0000)]
Edje textblock: Added edje_object_part_text_style_user_set/get
That correspond to the new textblock functions.
SVN revision: 67474
Tom Hacohen [Mon, 23 Jan 2012 16:08:36 +0000 (16:08 +0000)]
Evas textblock: Added user style support.
This should make it easier to override the style set in textblock.
SVN revision: 67473
Cedric BAIL [Mon, 23 Jan 2012 15:45:12 +0000 (15:45 +0000)]
edje: detect when we try to inherit from ourself.
SVN revision: 67472
Gustavo Sverzut Barbieri [Mon, 23 Jan 2012 00:25:12 +0000 (00:25 +0000)]
beef eina_error tests.
SVN revision: 67461
Gustavo Sverzut Barbieri [Sun, 22 Jan 2012 23:09:47 +0000 (23:09 +0000)]
enable coverage for evas as well.
also print out the docs, so the buildbot gets it.
SVN revision: 67460
Gustavo Sverzut Barbieri [Sun, 22 Jan 2012 22:00:07 +0000 (22:00 +0000)]
fix paths to be relative to project build root.
"make doc" was doing "cd doc" and paths were relative to it, misleading.
SVN revision: 67459
Boris Faure [Sun, 22 Jan 2012 19:52:02 +0000 (19:52 +0000)]
evas: use correct format for size_t
SVN revision: 67457
Boris Faure [Sun, 22 Jan 2012 19:51:49 +0000 (19:51 +0000)]
evas: fix strict prototypes
SVN revision: 67456
Gustavo Sverzut Barbieri [Sun, 22 Jan 2012 18:07:04 +0000 (18:07 +0000)]
help buildbot and user know where the html files are.
SVN revision: 67454
Gustavo Sverzut Barbieri [Sun, 22 Jan 2012 15:09:51 +0000 (15:09 +0000)]
buildbot: new attempt at coverage support.
I've changed a bit the rules, let's see if it works with buildbot
(out-of-tree builds).
SVN revision: 67449
Gustavo Sverzut Barbieri [Sun, 22 Jan 2012 15:05:20 +0000 (15:05 +0000)]
ecore/docs: improve main page a bit.
SVN revision: 67448
Vincent Torri [Sun, 22 Jan 2012 12:08:06 +0000 (12:08 +0000)]
Eina: remove warning when compiling with mingw-w64
SVN revision: 67447
Vincent Torri [Sun, 22 Jan 2012 08:57:50 +0000 (08:57 +0000)]
Eina: DOS2UNIX eina_file_win32.c
SVN revision: 67445
Vincent Torri [Sun, 22 Jan 2012 08:56:13 +0000 (08:56 +0000)]
Eina: remove unused variable
SVN revision: 67444
Vincent Torri [Sun, 22 Jan 2012 08:55:02 +0000 (08:55 +0000)]
Eina "Fix" printf conversion format on Windows. printf family on Windows is just plain weirdness
SVN revision: 67443
Vincent Torri [Sat, 21 Jan 2012 08:23:23 +0000 (08:23 +0000)]
Eina: formatting
eina_file_init() and eina_file_shutdown() are global symbols, not local ones
SVN revision: 67423
Vincent Torri [Sat, 21 Jan 2012 08:21:32 +0000 (08:21 +0000)]
Eina: Windows fixes
add eina_file_path_sanitize() which was missing in the windows port
add locks
synchronize a bit with the linux version
SVN revision: 67422
Vincent Torri [Sat, 21 Jan 2012 08:19:46 +0000 (08:19 +0000)]
alphabetical order
SVN revision: 67421
Vincent Torri [Sat, 21 Jan 2012 08:02:54 +0000 (08:02 +0000)]
Eina: put m4 files in their own subdir
Warning: you must relaunch autogen.sh for these changes to
be taken into account
SVN revision: 67420
Vincent Torri [Sat, 21 Jan 2012 07:44:05 +0000 (07:44 +0000)]
Eina: include stdlib.h instead of alloca.h (alloca() is not used while malloc() is)
SVN revision: 67419
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 07:21:23 +0000 (07:21 +0000)]
eina share log refactor.
Don't print messages from share common, that way we have no way to
know where it happens, moreover the binshare values may lack trailing
'\0'.
Also makes no sense to share the log domain. With separate domains we
can be more selective in what we log/debug.
SVN revision: 67418
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 06:26:56 +0000 (06:26 +0000)]
eina_test_model: better use of check macros.
SVN revision: 67417
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 06:26:32 +0000 (06:26 +0000)]
eina_model: fix uninitialized bit
SVN revision: 67416
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 05:32:39 +0000 (05:32 +0000)]
matrixsparse: fix pointer after it's freed.
SVN revision: 67415
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 04:52:27 +0000 (04:52 +0000)]
ensure trailing \0
SVN revision: 67414
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 04:49:54 +0000 (04:49 +0000)]
check if file was parsed fine.
SVN revision: 67413
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 04:44:17 +0000 (04:44 +0000)]
more safety test checks for file and unicode.
jsut add infra and reduce output noise.
SVN revision: 67412
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 04:32:33 +0000 (04:32 +0000)]
improve counter tests wrt safety.
TODO: parse dump and see if it's valid.
SVN revision: 67411
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 04:22:18 +0000 (04:22 +0000)]
install eina_model.h
thanks JihoonKim
SVN revision: 67410
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 04:20:32 +0000 (04:20 +0000)]
beef inlist tests wrt safety pointers
SVN revision: 67409
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 03:59:03 +0000 (03:59 +0000)]
improve magic tests, check output to see if it happened
SVN revision: 67408
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 03:57:09 +0000 (03:57 +0000)]
oops, use the copied va_list.
SVN revision: 67407
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 03:36:02 +0000 (03:36 +0000)]
improve log tests.
actually check stuff instead of relying on user to do so, also
produces no output if is correct.
SVN revision: 67406
Gustavo Sverzut Barbieri [Sat, 21 Jan 2012 01:30:09 +0000 (01:30 +0000)]
welcome eina_model.
This is a simple to use generic hierarchical data access. It includes
properties, children, reference counting and notifications (callbacks).
It can be understood in the same lines as GObject or PyObject, but I
believe the best usage is just to provide data models, not generic
Object Oriented Programming in C.
It misses most of documentation, although the important bits are
there. Need help here :-/
SVN revision: 67405
Iván Briano [Fri, 20 Jan 2012 20:18:10 +0000 (20:18 +0000)]
My bad.. the type is referring to something out of the macro
SVN revision: 67404
Sebastian Dransfeld [Fri, 20 Jan 2012 19:54:20 +0000 (19:54 +0000)]
efreet: Remove unneeded headers
SVN revision: 67403
Iván Briano [Fri, 20 Jan 2012 19:31:32 +0000 (19:31 +0000)]
type-o... see what I did there? Yes, I'm an idiot.
SVN revision: 67402
Cedric BAIL [Fri, 20 Jan 2012 16:08:10 +0000 (16:08 +0000)]
eio: fix open use with O_CREATE.
SVN revision: 67394
Gustavo Sverzut Barbieri [Fri, 20 Jan 2012 13:00:01 +0000 (13:00 +0000)]
eina_unicode: add safety checks.
they are not so expensive and will help detect bugs.
also, safety can be disabled at compile time... if performance is so
critical.
SVN revision: 67393
Gustavo Sverzut Barbieri [Fri, 20 Jan 2012 12:52:15 +0000 (12:52 +0000)]
eina_unicode: fix header inclusion.
library files should ALWAYS include config.h, they should not include
Eina.h using "<Eina.h>" to avoid messing with system's version.
Last but definitely not least: include safety checks BEFORE your local
header, otherwise the macros EINA_ARG_NONNULL() will remove every
check for null pointers! eina_safety_checks.h redefines it to empty so
compiler does not optimize these things.
SVN revision: 67392
Vincent Torri [Fri, 20 Jan 2012 12:45:46 +0000 (12:45 +0000)]
stupid moap
SVN revision: 67391