Commit Graph

448 Commits

Author SHA1 Message Date
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
Gustavo Sverzut Barbieri 8ba0561e49 efl: remove lstat and fchmod checks.
- fchmod() was isolated by HAVE_CHMOD, which was always present
   before... then fchmod() is also present as no errors were reported
   since its introduction.

 - fchmod() is POSIX for a while now.

 - lstat() is POSIX for a while now.

 - setxattr is supported by EFL_CHECK_FUNCS() as is used by eina.

 - splice() check added to EFL_CHECK_FUNCS()



SVN revision: 81938
2012-12-31 18:18:00 +00:00
Gustavo Sverzut Barbieri 66ebe6a3f8 efl: remove checks for EINA_HAVE_THREADS
SVN revision: 81937
2012-12-31 17:31:17 +00:00
Gustavo Sverzut Barbieri 09748cfb15 efl: beef thread documentation and error reporting.
eina_thread_join() is nasty and didn't report errors :-(

I'm using Eina_Error here, but it's global to the application and not
thread-local. Maybe we should make eina_error_get() and
eina_error_set() thread-local storage?



SVN revision: 81936
2012-12-31 17:26:33 +00:00
Gustavo Sverzut Barbieri 4668d04f04 efl: cleanup HAVE_THREADS and pthread usage outside of eina.
Eina now abstracts threads, so use that.

the touched files had the EFL_HAVE_THREADS as it's mandatory now.



SVN revision: 81935
2012-12-31 16:14:40 +00:00
Gustavo Sverzut Barbieri 12e0602452 efl: eio checks cleanup
some functions were being checked but their IFDEF not being handled,
others (getpwnam and getgrnam) were isolated in a code that is now
Windows, then no need to check them as well as these are POSIX.



SVN revision: 81934
2012-12-31 15:16:49 +00:00
Gustavo Sverzut Barbieri 8ffc6d6909 efl/eina: fix mempools when they are not static
although we force them to be fixed to static, we left the automake to
make it possible and they were wrong:
 - missed the proper directory prefix for .la files (were being generated at src/)
 - had typos due copy & paste, with chained being used in some places.



SVN revision: 81933
2012-12-31 14:42:35 +00:00
Cedric BAIL e985899c9c efl: and fix a potential memory leak.
SVN revision: 81922
2012-12-31 01:59:00 +00:00
Cedric BAIL db2a8c62f4 efl: fix issue when text didn't get properly replaced.
Thanks to hannes.janetzek@gmail.com !


SVN revision: 81921
2012-12-31 01:49:36 +00:00
Gustavo Sverzut Barbieri 4e6ce9277f efl/evas: add ecore-evas dependent examples.
nice feature of single tree efl is that evas examples can use ecore-evas :-)



SVN revision: 81919
2012-12-31 01:40:50 +00:00
Cedric BAIL 209347f148 efl: rename eina_inarray_add to eina_inarray_grow.
SVN revision: 81918
2012-12-31 01:27:58 +00:00
Gustavo Sverzut Barbieri 125d308f2c efl: unbreak last commit.
seems that automake will parse LDFLAGS for -module and if it's not
present it will complain about name not starting with 'lib'.

seems my last try was without NOCONFIGURE=1 and autogen continued to
the old ./configure, that printed lots of messages and the error went
unnoticed



SVN revision: 81917
2012-12-31 01:13:47 +00:00
Gustavo Sverzut Barbieri ec863dc17f efl: create macro to simplify libtool module declaration.
SVN revision: 81916
2012-12-31 00:54:48 +00:00
Gustavo Sverzut Barbieri df1b3d30c4 efl: refactor CFLAGS, LIBS, LIBADD and LDADD usage.
- remove EFL_LIBS and EFL_CFLAGS, use per-lib values that inherit
   from EFL (general)

 - add NAME_LDFLAGS and EFL_LDFLAGS for linker flags.

 - LDADD (binaries) now use NAME_LDFLAGS instead of NAME_LIBS, as they
   link to libname.la and that will pull in the libtool dependencies



SVN revision: 81915
2012-12-31 00:46:14 +00:00