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
Gustavo Sverzut Barbieri [Fri, 20 Jan 2012 12:44:40 +0000 (12:44 +0000)]
eina_test_clist: foce usage of local eina, not system.
SVN revision: 67390
Vincent Torri [Fri, 20 Jan 2012 12:44:05 +0000 (12:44 +0000)]
* Makefile.am:
Fix EXTRA_DIST variable
* src/bin/Makefile.am:
* src/bin/evil_suite.c:
* src/lib/evil_libgen.c:
* src/lib/evil_util.c:
* src/lib/evil_util.h:
Add evil_path_is_absolute() API and use it.
* src/bin/evil_test_dlfcn.c:
* src/bin/evil_test_realpath.c:
clean up.
SVN revision: 67389
Sung Park [Fri, 20 Jan 2012 12:29:14 +0000 (12:29 +0000)]
Added Direct Rendering to Evas' window instead of an FBO in Evas_GL.
This optimization is significant for rendering to a large surface
because it'l save an extra copy overhead as well as an extra rendering pass.
To enable it, you can give EVAS_GL_OPTIONS_DIRECT hint in the surface
config options_bits. The following conditions have to be met in order
for evas to render directly into the Evas' window. If they are not met, the
engine will fallback to rendering to an FBO as it normally does.
conditions:
1.) All the GL calls have to be called using the pixel_get_callback function.
This is necessary for the evas object order to be maintained.
2.) Alpha must be disabled on the image ojbect that renders evas_gl.
3.) No rotation allowed.
One way to override above condition is to set EVAS_GL_DIRECT_OVERRIDE=1 but
there is no guarantee in its behavior.
Currently, this optimization is added for gl_x11 engine only.
SVN revision: 67388
Guillaume Friloux [Fri, 20 Jan 2012 02:58:57 +0000 (02:58 +0000)]
From: Guillaume Friloux <guillaume.friloux@asp64.com>
Subject: Re: [E-devel] Various patches in eina's doc
update authors in doc patch.
SVN revision: 67369
Carsten Haitzler [Fri, 20 Jan 2012 02:57:02 +0000 (02:57 +0000)]
fix style change inside callback reported by:
Guilherme Silveira <xguiga@gmail.com>
SVN revision: 67368
Daniel Juyung Seo [Fri, 20 Jan 2012 02:31:35 +0000 (02:31 +0000)]
eio: Added .gitignore
SVN revision: 67366
Daniel Juyung Seo [Fri, 20 Jan 2012 02:31:32 +0000 (02:31 +0000)]
emotion: Added .gitignore
SVN revision: 67365
Gustavo Sverzut Barbieri [Thu, 19 Jan 2012 19:40:41 +0000 (19:40 +0000)]
efreet_alloc test: check if icons are missing.
SVN revision: 67359
Gustavo Sverzut Barbieri [Thu, 19 Jan 2012 19:38:40 +0000 (19:38 +0000)]
efreet: make doxyfile similar to eina's.
SVN revision: 67358
Tom Hacohen [Thu, 19 Jan 2012 18:50:24 +0000 (18:50 +0000)]
Efreet tests: fix compilation warning.
SVN revision: 67357
Stefan Schmidt [Thu, 19 Jan 2012 16:55:17 +0000 (16:55 +0000)]
evas_blend_ops: Fix gcc complains about static used in non static inline functions.
Make the functions static as well to avoid gcc warnings like this:
warning: 'ALPHA_SSE3' is static but used in inline function 'sub4_alpha_sse3' which is not static
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
SVN revision: 67355
Gustavo Sverzut Barbieri [Thu, 19 Jan 2012 16:52:58 +0000 (16:52 +0000)]
oopps!
SVN revision: 67354
Gustavo Sverzut Barbieri [Thu, 19 Jan 2012 16:49:47 +0000 (16:49 +0000)]
fix gcc warnings about set-but-unused and shadows of y1.
NOTE: did not touch mess that is jpeg, someone else can deal with it :-P
SVN revision: 67353
Gustavo Sverzut Barbieri [Thu, 19 Jan 2012 16:35:47 +0000 (16:35 +0000)]
fix set-but-not-used errors from newer gcc.
SVN revision: 67352
Gustavo Sverzut Barbieri [Thu, 19 Jan 2012 15:55:03 +0000 (15:55 +0000)]
eeze: fix warnings.
ioctls just have 3 elements... and 'i' must be reset before using it
again for ipv6.
SVN revision: 67351
Cedric BAIL [Thu, 19 Jan 2012 15:17:24 +0000 (15:17 +0000)]
evas: add double buffer support to buffer engine.
NOTE: This patch is a first step to replace and remove
Evas SDL Software backend.
SVN revision: 67347