Commit Graph

16391 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri a3d7c51003 improve counter tests wrt safety.
TODO: parse dump and see if it's valid.


SVN revision: 67411
2012-01-21 04:32:33 +00:00
Gustavo Sverzut Barbieri 8b9fd10c60 install eina_model.h
thanks JihoonKim


SVN revision: 67410
2012-01-21 04:22:18 +00:00
Gustavo Sverzut Barbieri 63a5350974 beef inlist tests wrt safety pointers
SVN revision: 67409
2012-01-21 04:20:32 +00:00
Gustavo Sverzut Barbieri e877d6617d improve magic tests, check output to see if it happened
SVN revision: 67408
2012-01-21 03:59:03 +00:00
Gustavo Sverzut Barbieri cdac7c3864 oops, use the copied va_list.
SVN revision: 67407
2012-01-21 03:57:09 +00:00
Gustavo Sverzut Barbieri 63bae2176c improve log tests.
actually check stuff instead of relying on user to do so, also
produces no output if is correct.



SVN revision: 67406
2012-01-21 03:36:02 +00:00
Gustavo Sverzut Barbieri 7c0357ddeb 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
2012-01-21 01:30:09 +00:00
Iván Briano 2283fda5f4 My bad.. the type is referring to something out of the macro
SVN revision: 67404
2012-01-20 20:18:10 +00:00
Sebastian Dransfeld 93ed956adf efreet: Remove unneeded headers
SVN revision: 67403
2012-01-20 19:54:20 +00:00
Iván Briano 3c007c2791 type-o... see what I did there? Yes, I'm an idiot.
SVN revision: 67402
2012-01-20 19:31:32 +00:00
Cedric BAIL cbd7088c63 eio: fix open use with O_CREATE.
SVN revision: 67394
2012-01-20 16:08:10 +00:00
Gustavo Sverzut Barbieri fcc86ae34b 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
2012-01-20 13:00:01 +00:00
Gustavo Sverzut Barbieri 829c6f58e4 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
2012-01-20 12:52:15 +00:00
Vincent Torri 2efe7dee82 stupid moap
SVN revision: 67391
2012-01-20 12:45:46 +00:00
Gustavo Sverzut Barbieri f0224e0ecd eina_test_clist: foce usage of local eina, not system.
SVN revision: 67390
2012-01-20 12:44:40 +00:00
Vincent Torri 1c6ea6ff65 * 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
2012-01-20 12:44:05 +00:00
Sung Park 9afd5b3f3f 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
2012-01-20 12:29:14 +00:00
Guillaume Friloux 0f2dba299d 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
2012-01-20 02:58:57 +00:00
Carsten Haitzler 185832f2da fix style change inside callback reported by:
Guilherme Silveira <xguiga@gmail.com>



SVN revision: 67368
2012-01-20 02:57:02 +00:00
Daniel Juyung Seo 3a9c5a5079 eio: Added .gitignore
SVN revision: 67366
2012-01-20 02:31:35 +00:00
Daniel Juyung Seo b07fa42c85 emotion: Added .gitignore
SVN revision: 67365
2012-01-20 02:31:32 +00:00
Gustavo Sverzut Barbieri 5cfb4088e8 efreet_alloc test: check if icons are missing.
SVN revision: 67359
2012-01-19 19:40:41 +00:00
Gustavo Sverzut Barbieri 83d9012a96 efreet: make doxyfile similar to eina's.
SVN revision: 67358
2012-01-19 19:38:40 +00:00
Tom Hacohen d264316ab3 Efreet tests: fix compilation warning.
SVN revision: 67357
2012-01-19 18:50:24 +00:00
Stefan Schmidt 0802e6a28d 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
2012-01-19 16:55:17 +00:00
Gustavo Sverzut Barbieri 30a5c9e1f7 oopps!
SVN revision: 67354
2012-01-19 16:52:58 +00:00
Gustavo Sverzut Barbieri 9a47bffc98 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
2012-01-19 16:49:47 +00:00
Gustavo Sverzut Barbieri 883923028e fix set-but-not-used errors from newer gcc.
SVN revision: 67352
2012-01-19 16:35:47 +00:00
Gustavo Sverzut Barbieri 12af485e26 eeze: fix warnings.
ioctls just have 3 elements... and 'i' must be reset before using it
again for ipv6.



SVN revision: 67351
2012-01-19 15:55:03 +00:00
Cedric BAIL 54fdc48d6a 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
2012-01-19 15:17:24 +00:00
Cedric BAIL 113348cac9 eina: fix inarray macro.
SVN revision: 67346
2012-01-19 15:13:07 +00:00
Gustavo Sverzut Barbieri 293ca061c3 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
2012-01-19 14:54:01 +00:00
Gustavo Sverzut Barbieri 44467fed7a 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
2012-01-19 14:07:35 +00:00
Gustavo Sverzut Barbieri 09f87ff655 docs: remove some warnings and make eina/eet doc more uniform.
SVN revision: 67339
2012-01-19 13:26:40 +00:00
Tom Hacohen 8b9a30d96e Edje: Revert "Edje: Replace x1 -> xx1 (also y1, x2 and y2)."
Oops, apparently I broke things.

This reverts commit 67325.

SVN revision: 67338
2012-01-19 13:18:26 +00:00
Gustavo Sverzut Barbieri 47198a4132 Oops, forgot to fix some warnings for eina docs out-of-tree generation.
SVN revision: 67336
2012-01-19 12:25:42 +00:00
Gustavo Sverzut Barbieri 5f5fe93a51 doxyen -u + minor changes, let's see if warnings are reduced.
SVN revision: 67335
2012-01-19 12:23:37 +00:00
Tom Hacohen 7266659814 Evas textblock: Fix a bug with ellipsis and word-wrap.
Ellipsis didn't work well with word wrapping textblocks.

SVN revision: 67333
2012-01-19 12:11:44 +00:00
Cedric BAIL 408b4b5a39 eio: fix build on old debian system.
Patch by Guillaume Friloux <guillaume.friloux@asp64.com>


SVN revision: 67330
2012-01-19 10:26:41 +00:00
Tom Hacohen 5b8302468c Evas textblock tests: Fix tests warnings.
SVN revision: 67329
2012-01-19 09:02:12 +00:00
Tom Hacohen 1941918cdd Evas textblock: Also add tab support to prev commit, oops.
SVN revision: 67328
2012-01-19 08:44:01 +00:00
Tom Hacohen c6d242426f 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
2012-01-19 08:41:37 +00:00
Carsten Haitzler 039089b6ba remove in.h form headers - dont need it.
SVN revision: 67326
2012-01-19 08:38:18 +00:00
Tom Hacohen dc27871eab 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
2012-01-19 08:17:14 +00:00
Tom Hacohen 61134f1e6b Edje: Fixed a lot of warnings.
SVN revision: 67324
2012-01-19 08:17:12 +00:00
Tom Hacohen 2eaaa462da Edje cc: Remove unused parameters cpp_token_line/file.
SVN revision: 67323
2012-01-19 08:17:07 +00:00
Mike Blumenkrantz 1f35fa8b95 use client_kill instead of directly eventing
SVN revision: 67322
2012-01-19 08:02:41 +00:00
Tom Hacohen e37d4495d3 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
2012-01-19 07:52:37 +00:00
Tom Hacohen ef0ac9d69a 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
2012-01-19 07:52:34 +00:00
Mike Blumenkrantz a83f8838d5 remove use of 'dead' variable from win32 code
SVN revision: 67319
2012-01-19 07:36:02 +00:00
Vincent Torri 9a76004770 Eina: Fix compilation of eina_semaphore_lock() (Windows port)
Patch by Shinwoo Kim


SVN revision: 67317
2012-01-19 06:33:42 +00:00
Sebastian Dransfeld c53f0f501b efreet: name_length -> name_start
SVN revision: 67311
2012-01-19 01:05:33 +00:00
Sebastian Dransfeld b2193b6fd3 eina: Add FIXME
SVN revision: 67310
2012-01-19 00:36:20 +00:00
Sebastian Dransfeld 8be657aed8 eina: formatting
SVN revision: 67309
2012-01-19 00:36:05 +00:00
Sebastian Dransfeld 820722a779 efreet: opendir -> eina_file_direct_ls
SVN revision: 67308
2012-01-19 00:35:51 +00:00
Sebastian Dransfeld 46a8cf1c4c 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
2012-01-19 00:35:36 +00:00
Sebastian Dransfeld 7f9dc64529 evas: correct notation to indicate unused variable
SVN revision: 67305
2012-01-18 23:34:05 +00:00
Sebastian Dransfeld 45f0dcbd45 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
2012-01-18 23:33:54 +00:00
Sebastian Dransfeld 26de65cf2c evas: before_char is only used with BIDI_SUPPORT
SVN revision: 67303
2012-01-18 23:33:43 +00:00
Sebastian Dransfeld c9abcf691d evas: Remove unused variables
SVN revision: 67302
2012-01-18 23:33:33 +00:00
Sebastian Dransfeld ccfb163282 evas: par_len is only used with BIDI_SUPPORT
SVN revision: 67301
2012-01-18 23:33:21 +00:00
Sebastian Dransfeld 28dff90eff evas: Fix shadow warnings
SVN revision: 67300
2012-01-18 23:33:07 +00:00
Cedric BAIL 4a853cde86 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
2012-01-18 17:47:05 +00:00
Cedric BAIL a49186092e eio: temporary fix when splice is not available.
SVN revision: 67294
2012-01-18 15:45:01 +00:00
Youness Alaoui c63f4cce09 Edje: Fix big-endian issue with aspect_preference being declared as an enum/int and read from file as a char
SVN revision: 67292
2012-01-18 06:16:01 +00:00
Youness Alaoui 18eedb2caa Ecore: Send joypad buttons as key down/up events and properly send the quit request
SVN revision: 67291
2012-01-18 06:15:52 +00:00
Jihoon Kim c652e4e78a 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
2012-01-18 04:38:04 +00:00
Guillaume Friloux 537bc81acb 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
2012-01-18 04:32:37 +00:00
Carsten Haitzler 46c5dd5329 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
2012-01-18 04:27:13 +00:00
Carsten Haitzler 25171bf215 lets check write err so we dont get warnings. :/
SVN revision: 67287
2012-01-18 04:13:52 +00:00
Carsten Haitzler 0e9a475092 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
2012-01-18 02:32:36 +00:00
Tom Hacohen 47d0c9c67b Evas tests: use unitptr_t in callback test.
SVN revision: 67277
2012-01-17 15:08:38 +00:00
Guillaume Friloux 14ff0e1ae0 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
2012-01-17 11:37:35 +00:00
Carsten Haitzler a70fc50208 we can optimize matching by breaking loop when match becomes 0 :)
SVN revision: 67267
2012-01-17 09:15:31 +00:00
Carsten Haitzler ad3aca617f 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
2012-01-17 09:15:05 +00:00
Tom Hacohen 626b70afb3 Edje entry: Handle entry newline legacy mode better.
SVN revision: 67265
2012-01-17 08:38:37 +00:00
Carsten Haitzler 4ae6816486 add EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN for accessibility
:)



SVN revision: 67264
2012-01-17 08:35:32 +00:00
Christopher Michael 58c865325d Ecore_Evas (wayland): Add/Fix more dnd code.
SVN revision: 67248
2012-01-16 19:11:17 +00:00
Christopher Michael 8de10044b4 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
2012-01-16 19:10:33 +00:00
Iván Briano 11d67f493d Add evas_object_smart_callback_del_full API
Patch by Raphael Kubo Costas (rakuco)


SVN revision: 67246
2012-01-16 17:25:40 +00:00
Tom Hacohen 544dfc53b3 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
2012-01-16 12:34:13 +00:00
Tom Hacohen ee4f301853 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
2012-01-16 09:30:29 +00:00
Tom Hacohen 98aee0ddde Ecore: Fix some warnings.
SVN revision: 67239
2012-01-16 09:22:42 +00:00
Jiyoun Park 6c1eb13012 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
2012-01-16 08:48:24 +00:00
Leif Middelschulte 67cce962f6 Merge branch 'randr'
SVN revision: 67234
2012-01-15 22:03:45 +00:00
Stefan Schmidt e5e51917d9 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
2012-01-15 18:42:13 +00:00
Tom Hacohen 5a97769481 Eet tests: Removed debug output, previous ugly hack fixed it.
SVN revision: 67232
2012-01-15 11:37:16 +00:00
Tom Hacohen 7e7af76a71 Eet tests: An ugly hack to make it work with absolute paths.
SVN revision: 67231
2012-01-15 11:31:48 +00:00
Tom Hacohen 3b5505aaaa Eina benchmark: Fixed compilation warnings.
SVN revision: 67230
2012-01-15 11:20:59 +00:00
Tom Hacohen e420ea7505 Eet tests: Added an hack to test what's wrong with the build bot.
SVN revision: 67229
2012-01-15 11:08:02 +00:00
Tom Hacohen aeef927046 Eina value: Fixed signed and unsigned comparison.
SVN revision: 67227
2012-01-15 10:32:10 +00:00
Tom Hacohen 3bbb598ea2 Eet tests: Support out of source builds.
SVN revision: 67226
2012-01-15 10:29:09 +00:00
Tom Hacohen 491f887708 Eina tests: Fixed binbuf test.
SVN revision: 67225
2012-01-15 10:10:05 +00:00
Tom Hacohen 18b3a49bd1 Eet tests: Fixed shadow warnings.
SVN revision: 67224
2012-01-15 09:57:20 +00:00
Gustavo Sverzut Barbieri 7f2ad91c9c minor improvements to doc (just to trigger buildbot)
SVN revision: 67223
2012-01-15 04:33:55 +00:00
Gustavo Sverzut Barbieri 3655466c56 whitespace cleanup (just to test build bot)
SVN revision: 67221
2012-01-15 03:20:45 +00:00
Gustavo Sverzut Barbieri a62fc08968 fix eet distcheck.
SVN revision: 67220
2012-01-15 02:33:28 +00:00
Mike Blumenkrantz 0bbf39f83d this change brought to you by: the french
SVN revision: 67208
2012-01-14 04:15:04 +00:00
Mike Blumenkrantz daeb7b6a54 stragglers from 67197
SVN revision: 67206
2012-01-14 04:08:01 +00:00
Carsten Haitzler 2264bfe0b7 wo... this turned out to be much more of a pain. minmul now works -
allows us to multiple a minimim size explicitly for min size calc so
we can do things like have content slide open/closed properly.



SVN revision: 67197
2012-01-14 02:29:13 +00:00