Commit Graph

561 Commits

Author SHA1 Message Date
WooHyun Jung 8e72f77b5f edje/edje_entry : When preediting text is removed by filter callback, committing is useless. So I added some codes for skipping that committing.
SVN revision: 82339
2013-01-07 11:17:55 +00:00
Christopher Michael bdfe30ea8d Fix typo in evas_map_free doxy.
NB: Can someone please backport this ??

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82335
2013-01-07 09:56:01 +00:00
Sung Park edcb4cf295 Pulled out evas gl backend binary shader file caching code from
evas_gl_shader.c file and made an internal generic caching api in 
evas_gl_common.h for use in other places ie. evas_gl.

Then implemented evas_gl surface cap. caching code in gl backend to
accelerate the engine creation. 



SVN revision: 82321
2013-01-07 06:16:18 +00:00
Cedric BAIL fb1225caa7 efl: fix build of Evas XCB backend.
Patch by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>


SVN revision: 82310
2013-01-07 01:07:21 +00:00
David Walter Seikel 6a804bb4e1 Clean up the Lua docs. Much less clean up than I thought would be needed.
And my work for the year is done.  B-)


SVN revision: 82306
2013-01-06 15:36:44 +00:00
David Walter Seikel 0b12a76c5a Link the Lua docs to the main Edje page.
SVN revision: 82303
2013-01-06 14:59:43 +00:00
Ulisses Furquim d53f43abaf evas/common/thread_render: fix queue cache handling
Fixed queue cache handling to let enqueue and process happen at the same
time, even though this is not our use case yet. This also solves a race
with the assignment of cache variables outside the queue lock and
remembers to free the cache when shutting down.



SVN revision: 82296
2013-01-06 02:01:53 +00:00
Ulisses Furquim 7904f59248 evas/async_events: fix leak of events array and simplify code
Fixed leak of 'memory' array (now async_events_cache) and simplified code of
evas_async_events_put().



SVN revision: 82295
2013-01-06 01:58:50 +00:00
Gustavo Sverzut Barbieri 9b5958ce91 efl/edje: ecore_imf_init() only once.
use technique similar to elementary and delay init() of module, but
once you do, do it only once and avoid shutdown() until
edje_shutdown().

This is good if we keep creating and deleting edje objects with entry,
the count could go to 0 and ecore_imf_shutdown() would unload
everything, just to load it soon.



SVN revision: 82281
2013-01-05 16:17:53 +00:00
Gustavo Sverzut Barbieri 519a702681 efl/edje: fix definition of parameter-less functions.
SVN revision: 82280
2013-01-05 16:15:59 +00:00
Gustavo Sverzut Barbieri 1108fc893b efl/edje: improve HAVE_ECORE_IMF conditional handling.
I wonder if we should still support no Ecore_IMF, can we make it
mandatory as it's always built with single-tree?




SVN revision: 82279
2013-01-05 16:07:59 +00:00
Gustavo Sverzut Barbieri de7dc1c2cc efl/evas: proper glShaderSource() definition as glext.h
it is "const char * const *", not "const char **", and it was triggering a warning in our code.

it's just constness and will not trigger an error in our user's code, just an warning that he should fix.



SVN revision: 82278
2013-01-05 15:55:58 +00:00
Gustavo Sverzut Barbieri 5c7967827b efl: easy warning fixes.
SVN revision: 82277
2013-01-05 15:42:26 +00:00
Gustavo Sverzut Barbieri 7499e9dee0 efl: distcheck will run tests and compile all examples.
Tests are disabled by default, but they should be mandatory for
distcheck. So should be examples, we should have them to at least
compile.

As there is no way to force "make distcheck" to run "make examples",
I've created --enable-always-build-examples to make examples regular
noinst_PROGRAMS, being always compiled. distcheck will use that
option.



SVN revision: 82276
2013-01-05 14:41:14 +00:00
Gustavo Sverzut Barbieri d9858fc223 efl/edje: codegen shouldn't use BUILT_SOURCES.
if use BUILT_SOURCES it will always generate those files, and their
requirement codegen.edj, even if examples were not to be built.

make will automatically build the files if there are rules to do so,
we just have to clean them.



SVN revision: 82275
2013-01-05 14:38:32 +00:00
Gustavo Sverzut Barbieri b716ab72e9 efl: warnings--
SVN revision: 82273
2013-01-05 14:04:22 +00:00
Tom Hacohen af94656955 Evas smart clipped: Potentially fix memory leak as reported by raster.
Not really properly tested, sorry for that.

SVN revision: 82271
2013-01-05 12:14:41 +00:00
Carsten Haitzler 7f1fb9b10d thanks joel.
SVN revision: 82254
2013-01-05 02:20:13 +00:00
Carsten Haitzler 61995f2cf2 BIG COMMENT!!!!
SVN revision: 82248
2013-01-05 01:38:45 +00:00
Mike McCormack 8d1683367f efl: Remove unused variables
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 82246
2013-01-05 00:06:28 +00:00
Mike McCormack 53fda2cc48 efl: Fix uninitialized variable
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 82245
2013-01-05 00:06:23 +00:00
Gustavo Sverzut Barbieri 4a35861791 efl/ecore: hopefully fix all examples.
SVN revision: 82243
2013-01-04 23:51:53 +00:00
Gustavo Sverzut Barbieri 2b29626d8d efl: fix make dist.
Carefully compared 'svn export' and 'make dist' results and couple of
files were missing.

Changes:

 * Makefile.am: removed all .pc from EXTRA_DIST, we shouldn't
   distribute them here as they will contain ./configure data such as
   install location.
 * src/Makefile.am: moved all if-endif to files, otherwise EXTRA_DIST
   won't work properly. We must EXTRA_DIST outside of the if-endif
   block.
 * static_libs/liblinebreak: removed couple of unused files.




SVN revision: 82241
2013-01-04 20:55:12 +00:00
Gustavo Sverzut Barbieri 7abf31c882 efl/ecore_fb: remove deprecated files.
SVN revision: 82240
2013-01-04 20:44:19 +00:00
Gustavo Sverzut Barbieri 06c3306d3c efl/efreet: enable locale test.
export those symbols, they are harmless and will help tests.



SVN revision: 82239
2013-01-04 20:27:49 +00:00
Gustavo Sverzut Barbieri deeaf20150 efl/eina: add source benchmark file.
SVN revision: 82235
2013-01-04 20:12:28 +00:00
Gustavo Sverzut Barbieri a2c1d84cc8 efl/efreet: remove unused file.
SVN revision: 82234
2013-01-04 20:11:29 +00:00
Gustavo Sverzut Barbieri b40dcff62f efl/eeze: remove unused file.
unused since old api was removed.


SVN revision: 82230
2013-01-04 19:46:51 +00:00
Paulo Alcantara a33afe35f9 efl/wayland_egl: Fix invalid argument being passed
evas_common_font_draw() should be called with glyphs array for now,
instead of intl_props.

This patch should fix ticket #2149.

Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>

Patch by: Paulo Alcantara <pcacjr@profusion.mobi>

SVN revision: 82229
2013-01-04 19:37:22 +00:00
Gustavo Sverzut Barbieri 2b672efbdd efl/edje: fix examples to not build EDJ during regular install
do not use standard files_DATA and filesdir as they would always be
executed during compilation.



SVN revision: 82223
2013-01-04 18:25:43 +00:00
Gustavo Sverzut Barbieri f063c393eb efl: simplify examples handling.
SVN revision: 82222
2013-01-04 18:24:41 +00:00
Gustavo Sverzut Barbieri 71cf862c95 efl/evas_cserve2: use eina_prefix
SVN revision: 82220
2013-01-04 18:00:12 +00:00
Gustavo Sverzut Barbieri 1eddf87965 efl/efreet: use eina_prefix, kill one TODO item.
SVN revision: 82219
2013-01-04 17:42:23 +00:00
Gustavo Sverzut Barbieri 733425c62c efl: make libraries aware of EFL_RUN_IN_TREE.
this variable tells that the build is being done in tree and we should
not look at install locations.



SVN revision: 82217
2013-01-04 17:19:43 +00:00
José Roberto de Souza 748b09d7c0 edbus: Remove unused parameter warning of edbus examples
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82213
2013-01-04 16:44:06 +00:00
Gustavo Sverzut Barbieri 231b69735b efl/ecore_audio: fix test in suite.
SVN revision: 82212
2013-01-04 16:41:53 +00:00
Gustavo Sverzut Barbieri 9f07c785b1 efl: fix -DPACKAGE_DATA_DIR
they were using $(PACKAGE) that is now "efl".



SVN revision: 82211
2013-01-04 16:28:22 +00:00
Rafael Antognolli f8dbdafae6 evas/wayland_egl: Force EGL_PLATFORM to wayland to skip autodetection.
Since we are already inside wayland_egl code, force this env var to
avoid the EGLNativeDisplayType autodetection (done by EGL code), which
seems to be incorrect.

This commit should fix ticket #1972.

Note: revert this as soon as EGL autodetection gets fixed.

SVN revision: 82183
2013-01-04 16:00:43 +00:00
Cedric BAIL bd9b55a3ab efl: draah, edje example don't follow the rest of efl example. so shut it down.
SVN revision: 82168
2013-01-04 10:36:54 +00:00
Cedric BAIL c0e3868bdc efl: the problem is edje not ephysics.
SVN revision: 82166
2013-01-04 10:24:00 +00:00
Cedric BAIL 2b52e2c129 efl: disable build of ephysics example as we can't build them on a clean machine.
NOTE: this is just the bootstrap issue we have been warning about.


SVN revision: 82165
2013-01-04 10:14:55 +00:00
Carsten Haitzler ee00e0fd5b ok- enable again.. but i think they should be DBG(). :)
SVN revision: 82163
2013-01-04 08:45:31 +00:00
Jérémy Zurcher 1424ac7d4d From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] 2 steps eina_share_common_del speed up

builtin node is never unlinked even if empty, always is the last of the queue,
so that it can be used to get a pointer to head.
      
cost: never unlink or promote builtin node.
benefit: no need to hash and search rbtree to unlink an empty node,
only to remove an empty head.

store full hash in Eina_Share_Common_Head, so we only hash once
use 8 lower bits as node hash, use next 8 bits as bucket index.
    
cost: have to apply 0xFF mask on hash in rbtree callbacks.
benefit: no need to hash when removing an empty head.
        


SVN revision: 82161
2013-01-04 08:41:47 +00:00
Daniel Juyung Seo 9b252e40d4 edje edje_cc_handlers.c: Better error message. Now it's kind.
SVN revision: 82154
2013-01-04 07:35:28 +00:00
Daniel Juyung Seo 1be443bc75 efl edje_cc_handlers.c: Ported r82093 from edje to efl/edje.
SVN revision: 82150
2013-01-04 07:27:46 +00:00
Gustavo Sverzut Barbieri c96a620b46 efl/edje: improve docs after merge.
SVN revision: 82142
2013-01-04 02:51:43 +00:00
Gustavo Sverzut Barbieri 9ea2ce1041 efl: merge edje.
this is still in progress, mostly the multisense stuff is pending.

it seems that when we merge ecore_audio in edje the libremix and
similar are gone, at least from Edje, and will be in ecore_audio
itself (or pulseaudio).

Changes:
 * __UNUSED__ to EINA_UNUSED
 * binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and
   will assume the binaries are still not installed, running from
   build tree location (needs more testing, maybe doesn't work with
   srcdir != builddir, still doesn't solve cross compile builds)



SVN revision: 82139
2013-01-04 02:08:14 +00:00
Leandro Dorileo e2ce20e9a4 evas: add event source evas object
This patch introduces fields to event Evas_Event_Mouse_* structures
to hold the event source evas object in case of evas source events
propagation.


SVN revision: 82138
2013-01-04 01:55:07 +00:00
Gustavo Sverzut Barbieri 25bb274f1e efl/eeze: uncomment test cases
SVN revision: 82137
2013-01-04 01:50:14 +00:00
Leandro Dorileo f97e2750e4 Ephysics: get rid of shadow warnings
Get rid of -Wshadow warnings on bullet's C++ "shadowed" variables.


SVN revision: 82136
2013-01-04 01:21:07 +00:00
Gustavo Sverzut Barbieri e1d76fbdab efl/ephysics: quiet warning
SVN revision: 82133
2013-01-04 00:03:56 +00:00
Gustavo Sverzut Barbieri ab39205f6e efl/ephysics: add forgotten evil usage
SVN revision: 82128
2013-01-03 22:18:29 +00:00
Gustavo Sverzut Barbieri 9e0788cc2e efl: merge ephysics
changes:
 * __UNUSED__ -> EINA_UNUSED
 * Fixed doc hierarchy



SVN revision: 82126
2013-01-03 22:10:40 +00:00
Gustavo Sverzut Barbieri 9edec477eb efl/eeze: fix typo
SVN revision: 82110
2013-01-03 21:04:06 +00:00
Gustavo Sverzut Barbieri e4654ee6cf efl/eeze: remove other traces of old libudev support.
SVN revision: 82101
2013-01-03 20:42:37 +00:00
Gustavo Sverzut Barbieri 68188ac0c8 efl: merge eeze.
Changes also in this commit:
 * fix missing EAPI in symbols used by modules
 * removed old libudev and libmount support as agreed by discomfitor/zmike
 * replaced __UNUSED__ with EINA_UNUSED
 * fixed docs hierarchy



SVN revision: 82100
2013-01-03 20:37:42 +00:00
Gustavo Sverzut Barbieri 0ec613a4fa efl/efreet: remove file that is gone.
SVN revision: 82094
2013-01-03 18:18:39 +00:00
Gustavo Sverzut Barbieri 0a2d116119 efl: eina_alloca.h to simplify alloca() usage.
having to replicate 18 lines per file just to access alloca() is
insane. Let's do that in Eina.h and avoid that crap :-/



SVN revision: 82082
2013-01-03 15:10:34 +00:00
Lucas De Marchi c1d576dcc7 edbus: improve doc of edbus_message_* functions
SVN revision: 82081
2013-01-03 15:06:39 +00:00
Ulisses Furquim af8c81634f edbus: Fix connection name leak
Hack to fix the connection name leak. The problem is that each signal
handler has a reference to the FDO_BUS connection name and when the
penultimate connection name is released (and therefore its signal
handler), FDO_BUS is released, too.

Check if cn is still in the hash before trying to free it.

Patch by: Ulisses Furquim <ulisses@profusion.mobi>



SVN revision: 82077
2013-01-03 14:06:20 +00:00
José Roberto de Souza 32d7c8d5a9 edbus: Remove Connection_Context_NOC_Cb marked to be deleted
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82076
2013-01-03 14:06:14 +00:00
José Roberto de Souza 9365f02137 edbus codegen: Surpress unused parameters warnings
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82075
2013-01-03 14:06:06 +00:00
José Roberto de Souza daec0f2e74 edbus codegen: Properly handle autoclosed tags
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82074
2013-01-03 14:06:02 +00:00
José Roberto de Souza 62676bebb7 edbus codegen: Optimizations
Use eina_strbuf_string_steal() instead of strdup() +
eina_strbuf_string_get().

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82073
2013-01-03 14:05:56 +00:00
José Roberto de Souza 30a6da0e7f edbus: Suppress warnings of unused parameters
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82072
2013-01-03 14:05:51 +00:00
José Roberto de Souza 9e1f5d80fe edbus: Increment/decrement edbus refcount when processing signals
This allows the user to shutdown edbus inside a signal callback.

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82071
2013-01-03 14:05:45 +00:00
Daniel Juyung Seo 8c67bafaf2 evas Evas.h: Fixed a typo.
SVN revision: 82069
2013-01-03 12:22:49 +00:00
Rafael Antognolli 68d21e2e73 evas/loaders: Use png function to access private pointer.
SVN revision: 82065
2013-01-03 12:04:37 +00:00
Rafael Antognolli 54bffeb2fd ecore/examples: Add PACKAGE_EXAMPLES_DIR to ecore examples too.
SVN revision: 82064
2013-01-03 12:04:32 +00:00
Carsten Haitzler 9c864b6f5c remove redundant code in embryo.
SVN revision: 82054
2013-01-03 10:02:17 +00:00
Cedric BAIL 59ebafcb85 efl: rename eet_map to eet_mmap.
SVN revision: 82051
2013-01-03 09:18:05 +00:00
Cedric BAIL 1e8b9a90bf efl: use Eina_File for PNG to.
SVN revision: 82047
2013-01-03 07:57:18 +00:00
Sebastian Dransfeld f4d4630328 eio: formatting
SVN revision: 82045
2013-01-03 07:47:27 +00:00
Mike McCormack cf2f4d3e29 SVN revision: 82013
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 82044
2013-01-03 07:34:37 +00:00
Carsten Haitzler 90bc1aa27c fix ecore-con client double-free case
SVN revision: 82042
2013-01-03 06:56:42 +00:00
ChunEon Park 5cf84bb84a evas - use Eina_Bool
SVN revision: 82035
2013-01-03 05:38:03 +00:00
WooHyun Jung 56cbfddcff fixed build error :)
SVN revision: 82027
2013-01-03 02:01:25 +00:00
Cedric BAIL ef9ad2032b efl: add eio_eet_sync symbols
Patch by Jérémy Zurcher <jeremy@asynk.ch>.


SVN revision: 82025
2013-01-03 00:39:18 +00:00
Carsten Haitzler 83574d3ec3 oops - this one got moved byt not changed. fix.
SVN revision: 82022
2013-01-03 00:00:21 +00:00
Lucas De Marchi f1f81ca7c9 efl: stop depending on va_list type
va_list may be typedef'ed not only to array and pointer but also to a
plain struct. It could be made to work this way, but it's a lot simpler
a safer to not depend on it. To deal with the array corner case we copy
the va_list from the function arguments to the stack and call the "real"
function passing it.



SVN revision: 82017
2013-01-02 20:55:57 +00:00
Mike McCormack 81cf390f17 efl: Fix shadow warnings
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 82013
2013-01-02 20:36:40 +00:00
Mike McCormack 8d1f3f7851 efl: Fix initializer overwritten warnings
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 82012
2013-01-02 20:36:36 +00:00
José Roberto de Souza 3988f3fe52 edbus: Test if connection_name could be freed in name_owner_changed_callback_del
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82010
2013-01-02 20:31:53 +00:00
José Roberto de Souza 42af9b1629 edbus: Remove message leaks
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82009
2013-01-02 20:31:46 +00:00
Carsten Haitzler a34941c17f fix mask write line stuff.
SVN revision: 81998
2013-01-02 15:01:27 +00:00
ChunEon Park bb39010a0a evas - removed unnecessary lines.
in the render main function, it will always reset changed field whenever it calls the post function.



SVN revision: 81974
2013-01-02 11:56:20 +00:00
Cedric BAIL 49b2bfea5a efl: and now tiff also use Eina_File.
SVN revision: 81973
2013-01-02 06:44:26 +00:00
Cedric BAIL 42b877cace efl: fix potential segv.
SVN revision: 81972
2013-01-02 06:21:43 +00:00
Cedric BAIL 23e6e67ac8 efl: evas gif loader now use Eina_File.
SVN revision: 81971
2013-01-02 05:30:06 +00:00
Cedric BAIL 663d56e498 efl: add eet_map and use it.
SVN revision: 81970
2013-01-02 02:46:05 +00:00
Cedric BAIL 311fe62f75 efl: use Eina_File for evas webp loader.
SVN revision: 81969
2013-01-02 01:50:50 +00:00
Jihoon Kim 8263e62028 scim_immodule: remove EINA_UNUSED in parameter of slot_beep()
SVN revision: 81965
2013-01-01 23:43:23 +00:00
Carsten Haitzler 5c8c36507e let's use ()'s more and... lets be consistent about the ellipsis
end/start nodes in text so we dont get bitching about removing an item
not in the list (because it isnt?)



SVN revision: 81946
2013-01-01 08:22:46 +00:00
Carsten Haitzler 69c0e8a09c misplaced ERR-- - maybe DBG?
SVN revision: 81945
2013-01-01 08:12:09 +00:00
Gustavo Sverzut Barbieri 014cd8065d efl/eio: use eina_file_copy()
SVN revision: 81944
2012-12-31 23:45:24 +00:00
Gustavo Sverzut Barbieri 43eb232d38 oops: remove printf
SVN revision: 81943
2012-12-31 23:42:25 +00:00
Gustavo Sverzut Barbieri 6ae6f925a4 efl: add eina_file_copy()
it's useful to copy file from one place to another and this will be
used in eio' s implementation.

NOTE: did not use mmap here as mmap faults may be cumbersome to handle
(Eina_File itself does that, but in a nasty way) and the
implementation would be severely different as there is no Eina_File
from FD, and there is no way to inject custom memory/fd into the
Eina_File's fault handling. The performance would not be that
different anyways and the splice() is already in there for systems
with good performance (read: Linux).



SVN revision: 81942
2012-12-31 23:17:18 +00:00
Gustavo Sverzut Barbieri 678727aae4 efl: missing api for xattr.
SVN revision: 81941
2012-12-31 21:05:58 +00:00
Gustavo Sverzut Barbieri 9161f83a3e efl: make xattr stuff work.
* fix eina_xattr_value_ls() and eina_xattr_value_fd_ls() to not loop
   infinitely.

 * NULL terminate the retrieved xattr values, at least they'll be
   easier to handle in our programs and less error prone.



SVN revision: 81940
2012-12-31 20:41:54 +00:00
Gustavo Sverzut Barbieri 80fd3a77c0 eio: use eina_lock abstraction.
SVN revision: 81939
2012-12-31 18:26:53 +00:00