Commit Graph

78 Commits

Author SHA1 Message Date
Cedric BAIL 6e8fe3b03d embryo: use eina_file_mkstemp. 2013-03-25 18:45:42 +09:00
Cedric BAIL 8222bf4650 edje: add spread.{w,h}.
This is particularly useful when using table and replicating the
same group all over the place. At least for many games I have in mind
this will save a lot of lines !
2013-03-22 18:17:12 +09:00
Tom Hacohen 71e95fa386 Evas cserve2: Remove useless var when calculating size of sun_path.
I have no idea how I missed these 2.
2013-03-21 14:15:10 +00:00
Tom Hacohen ecc0972468 Evas cserve2: Remove useless var when calculating size of sun_path. 2013-03-21 13:15:47 +00:00
Daniel Willmann 262f05782b embryo_cc: Fix possible buffer overflow in setconfig()
Need to account for the space of the trailing '/' as well.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-18 12:46:26 +00:00
Cedric BAIL 42d320c523 edje: i am lazy, i like to not care about case. 2013-03-18 16:28:22 +09:00
Cedric Bail 338412434c edje: fix edje_watch compilation on Windows. 2013-03-16 15:40:36 +09:00
Cedric Bail 69b5868005 edje: fix epp compilation on Windows. 2013-03-16 15:40:35 +09:00
Cedric Bail ebdb49cf0e efreet: avoid symbol collision. 2013-03-16 15:40:33 +09:00
Henrique Dante de Almeida ca8fc827a3 efl: Fixes to support compiling with CFLAGS=-Werror
This allows compiling with gcc 4.7.2 without errors (using the
default configuration).
2013-02-26 10:55:04 -03:00
Henrique Dante de Almeida 2656d7097e evas: Fix PSD image loading 2013-02-26 10:17:28 -03:00
Henrique Dante de Almeida f5d4ae70bd evas: Fix buffer overflows on environment variables 2013-02-26 10:17:28 -03:00
Christopher Michael 7f7f7f7c1f Fix possible memory leak.
Dynamic memory stored in 'ptr2' allocated through function 'malloc' at
line 653 can be lost at line 1022. Also there is one similar error on
line 1029.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 13:14:31 +00:00
Tom Hacohen 326e2958d7 Edje pick: Fixed lockwork suspected leaks.
The problem is that apparently size can be 0 but some data can still
be returned.
2013-02-18 11:59:29 +00:00
Ivan Briano 61b8e2aefe More removal of \r 2013-02-17 14:53:25 -03:00
Carsten Haitzler 5fa5f1430b small change to something never used/tested much ... cserve2 - FAIL if
an existing cserve 2 client is there.



SVN revision: 83866
2013-02-13 11:32:30 +00:00
Stefan Schmidt 446687d63d efl/edbus: Make sure to compare EOF against an int from fgetc.
Fgetc() return an int to clearly detect EOF. If you want to read more about it:
http://stackoverflow.com/questions/11057259/fgetc-checking-eof

SVN revision: 83829
2013-02-11 15:03:41 +00:00
Stefan Schmidt fe86e29fa6 efl/ethumb: Fix more memory leaks in ethumbd_slave.c
MAke sure we free strdup'ed memory when hittign an error case.

SVN revision: 83818
2013-02-11 10:54:34 +00:00
Stefan Schmidt 664b4b9db4 efl/ethumb: Fix memory leak on error path in ethumb_slave.
When we hit an error with _ec_pipe_str_read we should clean up the strdup
from previous calls to avoid leaks in the error case.

SVN revision: 83817
2013-02-11 10:54:29 +00:00
Mike McCormack 3fe5d4d6aa efl: Fix shadow warning
Signed-off-by: Mike McCormack <mike@atratus.org>

SVN revision: 83335
2013-01-25 21:30:54 +00:00
Gustavo Sverzut Barbieri df701d8ca2 some clang warning cleanups i forgot to commit
SVN revision: 83024
2013-01-21 00:22:35 +00:00
Gustavo Sverzut Barbieri 8d2b64ed3b fix bug spotted by clang
SVN revision: 83016
2013-01-20 14:25:11 +00:00
Gustavo Sverzut Barbieri c6358ff322 fix evas_cserve2 utils linkage and includes.
they are basic eina apps, not evas (use EINA_CFLAGS), they just use
evas_cs2.h for types and enums.

they also must link with eina.



SVN revision: 82995
2013-01-18 19:30:44 +00:00
Gustavo Sverzut Barbieri d97c63e4c6 fix directory structure: move ethumd_client out of ethumb.
it's another library, do not mix stuff as it used to be.




SVN revision: 82835
2013-01-15 18:10:58 +00:00
Gustavo Sverzut Barbieri 62bca66249 embryo: remove simple -Wshadow errors. Dangerous/uncertain left.
The follow are left:
{{{
bin/embryo/embryo_cc_sc1.c: In function ‘dowhile’:
bin/embryo/embryo_cc_sc1.c:3524:24: warning: declaration of ‘wq’ shadows a global declaration [-Wshadow]
bin/embryo/embryo_cc_sc1.c:115:21: warning: shadowed declaration is here [-Wshadow]
bin/embryo/embryo_cc_sc1.c: In function ‘dodo’:
bin/embryo/embryo_cc_sc1.c:3546:24: warning: declaration of ‘wq’ shadows a global declaration [-Wshadow]
bin/embryo/embryo_cc_sc1.c:115:21: warning: shadowed declaration is here [-Wshadow]
bin/embryo/embryo_cc_sc1.c: In function ‘dofor’:
bin/embryo/embryo_cc_sc1.c:3565:24: warning: declaration of ‘wq’ shadows a global declaration [-Wshadow]
bin/embryo/embryo_cc_sc1.c:115:21: warning: shadowed declaration is here [-Wshadow]
}}}

looking at their code, they say to alloc a local "wq", but then they
call functions such as delwhile() that changes the global... VERY suspicious!!




SVN revision: 82734
2013-01-13 23:54:21 +00:00
Gustavo Sverzut Barbieri 34f5315141 merge ethumb.
This one was a painful bitch. The edbus2 port was quite broken, mainly
leaking eina_stringshare and also not adding the '\0' to the strings
that are represented as bytearray (paths cannot be utf8 to avoid
translations).

Emotion plugin was also quite bogus and the video thumbnail as edje
(animated) is not working yet due bug in Edje_Edit api -- someone
needs to investigate this, seems strange.

Emotion plugin also had a bug that it was deleting the object from
inside object callback.

Now it seems to work. Please report if it does not.



SVN revision: 82675
2013-01-12 01:15:45 +00:00
Mike McCormack a06b6095f6 efl: Avoid shadow warnings (signal -> sig)
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 82669
2013-01-11 21:40:57 +00:00
Mike McCormack 66f4a7f14e efl: Fix unused variable warning
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 82668
2013-01-11 21:40:52 +00:00
Gustavo Sverzut Barbieri cf16220d44 efl: eet may do the error on close, where it tries to actually write stuff.
SVN revision: 82609
2013-01-11 04:28:50 +00:00
Gustavo Sverzut Barbieri f8fde3d560 efl: fix out-of-tree build of examples.
edje and embryo include files are in source dir, not build.

codegen example must have dependency to build in correct order :-/



SVN revision: 82605
2013-01-11 03:57:29 +00:00
Lucas De Marchi 06ff74834f efl: remove checks for socket.h, net/*, arpa/*
SVN revision: 82585
2013-01-10 20:26:02 +00:00
Lucas De Marchi 90ba30ec7c efl: remove checks for sys/select.h, sys/time.h and sys/resource.h
SVN revision: 82584
2013-01-10 20:25:57 +00:00
Lucas De Marchi db395ef7eb efl: Remove check for unistd.h
* unistd.h: is very useful, very old and very standard.



SVN revision: 82577
2013-01-10 20:25:26 +00:00
Lucas De Marchi 56f62b1f5d efl/evas: move cserve2 binaries under MODULE_ARCH dir
SVN revision: 82491
2013-01-09 22:32:08 +00:00
Lucas De Marchi 483a80be8a efl/efreet: move efreet_{icon,desktop}_cache_create under MODULE_ARCH
These binaries are called by efreetd and should be under MODULE_ARCH
dir.

And actually fix the path to efreet_desktop_cache_create that was wrong.



SVN revision: 82489
2013-01-09 22:31:59 +00:00
Lucas De Marchi c9b64474aa efl/edje: move epp under MODULE_ARCH
epp is invoked by edje_cc and should include the MODULE_ARCH dir.



SVN revision: 82488
2013-01-09 22:31:54 +00:00
Gustavo Sverzut Barbieri acf4ca6139 efl/edje: remove alloca as it's in eina now.
SVN revision: 82372
2013-01-07 23:30:06 +00:00
Gustavo Sverzut Barbieri 5c7967827b efl: easy warning fixes.
SVN revision: 82277
2013-01-05 15:42:26 +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
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 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
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 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
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
Gustavo Sverzut Barbieri 16a9372e35 efl/evas_cserve2: don't use libexec
many distros deprecate libexec and it's better to keep our stuff
together inside /usr/lib/evas.

cserve2 binaries now lives in /usr/lib/evas/cserve2/bin



SVN revision: 81897
2012-12-30 11:42:04 +00:00
Gustavo Sverzut Barbieri 4bc0210bd3 efl: merge efreet.
seems to be fine, pass distcheck and friends. please report.

changes:
 - documentation hierarchy fixes
 - replaced __UNUSED__ with EINA_UNUSED
 - replaced PKG_DATA_DIR with PACKAGE_DATA_DIR"/efreet"



SVN revision: 81889
2012-12-29 23:04:40 +00:00