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
Cedric BAIL [Thu, 19 Jan 2012 15:13:07 +0000 (15:13 +0000)]
eina: fix inarray macro.
SVN revision: 67346
Gustavo Sverzut Barbieri [Thu, 19 Jan 2012 14:54:01 +0000 (14:54 +0000)]
make eet_data_image_jpeg_alpha_decode() more like eet_data_image_jpeg_rgb_decode().
eet_data_image_jpeg_rgb_decode() did not had a warning the alpha
version did, as the code is very similar and the return pointer was
not used, make it just like rgb and return an integer.
SVN revision: 67345
Gustavo Sverzut Barbieri [Thu, 19 Jan 2012 14:07:35 +0000 (14:07 +0000)]
use $(MAKE) instead of make, echo the built doc package.
This removes the annoying:
make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
and with the package name I can upload it easily to somewhere else.
SVN revision: 67343
Gustavo Sverzut Barbieri [Thu, 19 Jan 2012 13:26:40 +0000 (13:26 +0000)]
docs: remove some warnings and make eina/eet doc more uniform.
SVN revision: 67339
Tom Hacohen [Thu, 19 Jan 2012 13:18:26 +0000 (13:18 +0000)]
Edje: Revert "Edje: Replace x1 -> xx1 (also y1, x2 and y2)."
Oops, apparently I broke things.
This reverts commit 67325.
SVN revision: 67338
Gustavo Sverzut Barbieri [Thu, 19 Jan 2012 12:25:42 +0000 (12:25 +0000)]
Oops, forgot to fix some warnings for eina docs out-of-tree generation.
SVN revision: 67336
Gustavo Sverzut Barbieri [Thu, 19 Jan 2012 12:23:37 +0000 (12:23 +0000)]
doxyen -u + minor changes, let's see if warnings are reduced.
SVN revision: 67335
Tom Hacohen [Thu, 19 Jan 2012 12:11:44 +0000 (12:11 +0000)]
Evas textblock: Fix a bug with ellipsis and word-wrap.
Ellipsis didn't work well with word wrapping textblocks.
SVN revision: 67333
Cedric BAIL [Thu, 19 Jan 2012 10:26:41 +0000 (10:26 +0000)]
eio: fix build on old debian system.
Patch by Guillaume Friloux <guillaume.friloux@asp64.com>
SVN revision: 67330
Tom Hacohen [Thu, 19 Jan 2012 09:02:12 +0000 (09:02 +0000)]
Evas textblock tests: Fix tests warnings.
SVN revision: 67329
Tom Hacohen [Thu, 19 Jan 2012 08:44:01 +0000 (08:44 +0000)]
Evas textblock: Also add tab support to prev commit, oops.
SVN revision: 67328
Tom Hacohen [Thu, 19 Jan 2012 08:41:37 +0000 (08:41 +0000)]
Evas textblock: Filter out illegal chars from format.
This really just filters them out. The solution is not complete, nor is
it the best one. But this fixes the bugs for the meanwhile.
SVN revision: 67327
Carsten Haitzler [Thu, 19 Jan 2012 08:38:18 +0000 (08:38 +0000)]
remove in.h form headers - dont need it.
SVN revision: 67326
Tom Hacohen [Thu, 19 Jan 2012 08:17:14 +0000 (08:17 +0000)]
Edje: Replace x1 -> xx1 (also y1, x2 and y2).
This should probably become the new standard for coords as it doesn't
clash with the damn y1 posix function.
Thasks to Gustavo for the naming.
SVN revision: 67325
Tom Hacohen [Thu, 19 Jan 2012 08:17:12 +0000 (08:17 +0000)]
Edje: Fixed a lot of warnings.
SVN revision: 67324
Tom Hacohen [Thu, 19 Jan 2012 08:17:07 +0000 (08:17 +0000)]
Edje cc: Remove unused parameters cpp_token_line/file.
SVN revision: 67323
Mike Blumenkrantz [Thu, 19 Jan 2012 08:02:41 +0000 (08:02 +0000)]
use client_kill instead of directly eventing
SVN revision: 67322
Tom Hacohen [Thu, 19 Jan 2012 07:52:37 +0000 (07:52 +0000)]
Evas textblock: Indentation adjustment for the previous commit.
(I wanted the actual changes to be clear for review, so I split the
commit to two).
SVN revision: 67321
Tom Hacohen [Thu, 19 Jan 2012 07:52:34 +0000 (07:52 +0000)]
Evas textblock: Merge text and format wrapping handling.
This should add a more standard compliant line breaking for format items
as well.
SVN revision: 67320
Mike Blumenkrantz [Thu, 19 Jan 2012 07:36:02 +0000 (07:36 +0000)]
remove use of 'dead' variable from win32 code
SVN revision: 67319
Vincent Torri [Thu, 19 Jan 2012 06:33:42 +0000 (06:33 +0000)]
Eina: Fix compilation of eina_semaphore_lock() (Windows port)
Patch by Shinwoo Kim
SVN revision: 67317
Sebastian Dransfeld [Thu, 19 Jan 2012 01:05:33 +0000 (01:05 +0000)]
efreet: name_length -> name_start
SVN revision: 67311
Sebastian Dransfeld [Thu, 19 Jan 2012 00:36:20 +0000 (00:36 +0000)]
eina: Add FIXME
SVN revision: 67310
Sebastian Dransfeld [Thu, 19 Jan 2012 00:36:05 +0000 (00:36 +0000)]
eina: formatting
SVN revision: 67309
Sebastian Dransfeld [Thu, 19 Jan 2012 00:35:51 +0000 (00:35 +0000)]
efreet: opendir -> eina_file_direct_ls
SVN revision: 67308
Sebastian Dransfeld [Thu, 19 Jan 2012 00:35:36 +0000 (00:35 +0000)]
edje: correct retrival of file name
When using eina_file_direct_ls, we already know where the file part of a
path is, not need to use ecore_file_file_get().
SVN revision: 67307
Sebastian Dransfeld [Wed, 18 Jan 2012 23:34:05 +0000 (23:34 +0000)]
evas: correct notation to indicate unused variable
SVN revision: 67305
Sebastian Dransfeld [Wed, 18 Jan 2012 23:33:54 +0000 (23:33 +0000)]
evas: only check references ifndef EVAS_CSERVE
We only check the value of references if EVAS_CSERVE isn't defined, so
no need to define it or assign it if EVAS_CSERVE isn't defined.
SVN revision: 67304
Sebastian Dransfeld [Wed, 18 Jan 2012 23:33:43 +0000 (23:33 +0000)]
evas: before_char is only used with BIDI_SUPPORT
SVN revision: 67303
Sebastian Dransfeld [Wed, 18 Jan 2012 23:33:33 +0000 (23:33 +0000)]
evas: Remove unused variables
SVN revision: 67302
Sebastian Dransfeld [Wed, 18 Jan 2012 23:33:21 +0000 (23:33 +0000)]
evas: par_len is only used with BIDI_SUPPORT
SVN revision: 67301
Sebastian Dransfeld [Wed, 18 Jan 2012 23:33:07 +0000 (23:33 +0000)]
evas: Fix shadow warnings
SVN revision: 67300
Cedric BAIL [Wed, 18 Jan 2012 17:47:05 +0000 (17:47 +0000)]
eina: be able to track and display our memory over head when using malloc.
NOTE: it is worth enabling it and see EINA_LOG_INFO displaying how much memory
we are wasting. Should help tune our memory allocator usage.
SVN revision: 67296
Cedric BAIL [Wed, 18 Jan 2012 15:45:01 +0000 (15:45 +0000)]
eio: temporary fix when splice is not available.
SVN revision: 67294
Youness Alaoui [Wed, 18 Jan 2012 06:16:01 +0000 (06:16 +0000)]
Edje: Fix big-endian issue with aspect_preference being declared as an enum/int and read from file as a char
SVN revision: 67292
Youness Alaoui [Wed, 18 Jan 2012 06:15:52 +0000 (06:15 +0000)]
Ecore: Send joypad buttons as key down/up events and properly send the quit request
SVN revision: 67291
Jihoon Kim [Wed, 18 Jan 2012 04:38:04 +0000 (04:38 +0000)]
From: Jihoon Kim <imfine98@gmail.com>
Long time ago, in
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg32795.html
mail thread and IRC,
I talked with about problem of asynchronous event API such as
ecore_imf_context_commit_event_add,
ecore_imf_context_preedit_changed_event_add, so on.
In short, The problem is that key event and text_set APIs are processed
immediately, but commit event and preedit changed event is processed
asynchronously because those APIs add each event to ecore event queue.
To fix these problems, I've decided to create synchronous event APIs such
as ecore_imf_context_event_callback_add, del and call.
For considering compatibility, sync and async event callback functions are
used in xim and scim immodule.
SVN revision: 67290
Guillaume Friloux [Wed, 18 Jan 2012 04:32:37 +0000 (04:32 +0000)]
From: Guillaume Friloux <guillaume.friloux@asp64.com>
Hello again e people, i have play a bit with eina's comments to get
proper namings and fix broken references.
SVN revision: 67289
Carsten Haitzler [Wed, 18 Jan 2012 04:27:13 +0000 (04:27 +0000)]
void impl for eina_lock stuff should return "innocuous" values - ie
pretend things succeed ad on a lockless platform u cant have threads
anyway :)
SVN revision: 67288
Carsten Haitzler [Wed, 18 Jan 2012 04:13:52 +0000 (04:13 +0000)]
lets check write err so we dont get warnings. :/
SVN revision: 67287
Carsten Haitzler [Wed, 18 Jan 2012 02:32:36 +0000 (02:32 +0000)]
update all minor versions to 2 (or 6) - and yes. i missed making most
be 1.1 (or 1.5) for the last release. too late. THIS is why i'm sick
and tired of all the bloody separate libs that have to be versiioned
and build and released separately. :( too many places to go fix up per
release.
SVN revision: 67284
Tom Hacohen [Tue, 17 Jan 2012 15:08:38 +0000 (15:08 +0000)]
Evas tests: use unitptr_t in callback test.
SVN revision: 67277
Guillaume Friloux [Tue, 17 Jan 2012 11:37:35 +0000 (11:37 +0000)]
ecore - Various patches in ecore's doc
Hello e people, i modified some comments to get less doxygen
warnings/errors.
Signed-Off-By: Guillaume Friloux <guillaume.friloux@asp64.com>
SVN revision: 67270
Carsten Haitzler [Tue, 17 Jan 2012 09:15:31 +0000 (09:15 +0000)]
we can optimize matching by breaking loop when match becomes 0 :)
SVN revision: 67267
Carsten Haitzler [Tue, 17 Jan 2012 09:15:05 +0000 (09:15 +0000)]
and in a fit of rage... i'm removing those EINA_PURE's - one of them i
found was causing compiler optimizations to, in some compielr versions
and optimization levels, to skip a func in the eva stest suites...
which is wrong. no more pure mumbo. gone entirely.
evas_textblock_string_escape_get() was the one.
SVN revision: 67266
Tom Hacohen [Tue, 17 Jan 2012 08:38:37 +0000 (08:38 +0000)]
Edje entry: Handle entry newline legacy mode better.
SVN revision: 67265
Carsten Haitzler [Tue, 17 Jan 2012 08:35:32 +0000 (08:35 +0000)]
add EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN for accessibility
:)
SVN revision: 67264
Christopher Michael [Mon, 16 Jan 2012 19:11:17 +0000 (19:11 +0000)]
Ecore_Evas (wayland): Add/Fix more dnd code.
SVN revision: 67248
Christopher Michael [Mon, 16 Jan 2012 19:10:33 +0000 (19:10 +0000)]
Ecore_Wayland: When handling wayland interfaces (during startup), we
cannot depend on the order in which the interfaces are given to us, so
we cannot create the data_device until we have both the input device
and the data_device_manager. Fix that.
Add more dnd code (not complete yet because frankly, the way Wayland
handles dnd & selection code is crappy, stupid, and difficult to
implement).
SVN revision: 67247
Iván Briano [Mon, 16 Jan 2012 17:25:40 +0000 (17:25 +0000)]
Add evas_object_smart_callback_del_full API
Patch by Raphael Kubo Costas (rakuco)
SVN revision: 67246
Tom Hacohen [Mon, 16 Jan 2012 12:34:13 +0000 (12:34 +0000)]
Edje: Fixed a couple of warnings that really don't indicate issues.
Global shadow warnings are annoying and thus will be ignored at the moment,
There are other issues as well though, for example, not using cpp_token_file.
I don't know if that's intended or not, so I won't just suppress the warning.
SVN revision: 67242
Tom Hacohen [Mon, 16 Jan 2012 09:30:29 +0000 (09:30 +0000)]
Ecore: Fix some more warnings.
I see a future in which there'll be no warnings in EFL.
At the mean time, lets do our best to make the buildbot happy. :)
SVN revision: 67240
Tom Hacohen [Mon, 16 Jan 2012 09:22:42 +0000 (09:22 +0000)]
Ecore: Fix some warnings.
SVN revision: 67239
Jiyoun Park [Mon, 16 Jan 2012 08:48:24 +0000 (08:48 +0000)]
modify ecore_evas_extn_socket_new and ecore_evas_extn_plug_new.
divide each new functions to two part
which create ecore evas and create socket for upper layer.
socket: new and listen
plug: new and connect
SVN revision: 67238
Leif Middelschulte [Sun, 15 Jan 2012 22:03:45 +0000 (22:03 +0000)]
Merge branch 'randr'
SVN revision: 67234
Stefan Schmidt [Sun, 15 Jan 2012 18:42:13 +0000 (18:42 +0000)]
From: Stefan Schmidt <stefan@datenfreihafen.org>
Date: Sun, 15 Jan 2012 13:46:07 +0100
Subject: [PATCH 2/2] ecore_con_info: Remove unused err variable.
SVN revision: 67233
Tom Hacohen [Sun, 15 Jan 2012 11:37:16 +0000 (11:37 +0000)]
Eet tests: Removed debug output, previous ugly hack fixed it.
SVN revision: 67232
Tom Hacohen [Sun, 15 Jan 2012 11:31:48 +0000 (11:31 +0000)]
Eet tests: An ugly hack to make it work with absolute paths.
SVN revision: 67231
Tom Hacohen [Sun, 15 Jan 2012 11:20:59 +0000 (11:20 +0000)]
Eina benchmark: Fixed compilation warnings.
SVN revision: 67230
Tom Hacohen [Sun, 15 Jan 2012 11:08:02 +0000 (11:08 +0000)]
Eet tests: Added an hack to test what's wrong with the build bot.
SVN revision: 67229
Tom Hacohen [Sun, 15 Jan 2012 10:32:10 +0000 (10:32 +0000)]
Eina value: Fixed signed and unsigned comparison.
SVN revision: 67227
Tom Hacohen [Sun, 15 Jan 2012 10:29:09 +0000 (10:29 +0000)]
Eet tests: Support out of source builds.
SVN revision: 67226
Tom Hacohen [Sun, 15 Jan 2012 10:10:05 +0000 (10:10 +0000)]
Eina tests: Fixed binbuf test.
SVN revision: 67225