Commit Graph

106 Commits

Author SHA1 Message Date
Chris Michael 42496ac4ea fopen can fail. check file is open before trying to write to it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:41:16 +01:00
Daniel Juyung Seo a3165bff15 edje: added BLOCK_HANDLE description and vim syntax. 2013-08-02 13:27:54 +09:00
Cedric Bail cf9b0180d6 edje: add threshold to draggable part. 2013-07-19 15:40:11 +09:00
ChunEon Park 8cec34d1d4 edje/map - changed data structure from list to array to improve color data memory access 2013-07-18 20:09:54 +09:00
Carsten Haitzler 08105a0136 fix clang sizeof complaint 2013-07-16 20:45:24 +09:00
Carsten Haitzler a484403db8 fix a bunch of reallocs self-assigning the same var 2013-07-16 20:45:24 +09:00
Carsten Haitzler b84e81fbea fix clang sizeof complaint 2013-07-16 20:45:24 +09:00
Carsten Haitzler a091a1d730 fix clang sizeof complaint 2013-07-16 20:45:24 +09:00
Carsten Haitzler 9a3256ba44 fix clang sizeof complaint 2013-07-16 20:45:24 +09:00
Carsten Haitzler 36cd49a182 fix realloc assign to "self". 2013-07-16 20:45:24 +09:00
Carsten Haitzler 2ca7f23dbc fix clang nonnull complaint 2013-07-16 17:12:08 +09:00
Carsten Haitzler 8db1013956 fix clang nonnull complaint 2013-07-16 17:10:59 +09:00
Chris Michael 7fc497ee6e Fix memleak reported by Coverity:
If we have file And fname, then we can call the source_fetch_file
function, HOWEVER we may only have One or the Other in which case we
still need to potentially free the other.

NB: Fixes Coverity CID1039296

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 13:13:15 +01:00
Chris Michael 61e17aa5c2 Fix memleak reported by Coverity: Don't leak a strdup.
NB: Fixes Coverity CID1039295

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 13:11:10 +01:00
Chris Michael 93fc18daf2 Fix leak of fd handle reported by Coverity
NB: Fixes Coverity CID1039288

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 13:07:18 +01:00
Chris Michael 9d60d6ccff Check return value of lseek call for errors.
NB: Fixes Coverity CID 1040029

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 07:31:50 +01:00
Ryuan Choi 8d41667412 edje_cc: Fixed possible leak when description.map.color defines same idx more than one time
Spotted by coverity. CID 1039298.
2013-07-06 01:30:54 +09:00
Chris Michael 03448524ab Don't try to print out how many bytes we write to an eet file Unless
we actually write something.

NB: Fixes klockwork issue.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 09:54:30 +01:00
Chris Michael 292d23321c Check for valid out_file before trying to write eet data to it.
NB: Fixes klockwork issue.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 09:53:08 +01:00
Chris Michael e2b2918858 Check for valid output_filename before trying to use it.
NB: Fixes klockwork issue.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 09:43:23 +01:00
Chris Michael 204212131b Fix klockwork error: Null pointer may be dereferenced
Check for valid out_file before trying to use it.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 13:48:21 +01:00
Daniel Willmann cd980c4bea edje_cc: Fix memory leak in data_thread_script() in error case
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 11:10:57 +01:00
Sebastian Dransfeld 336f6ec328 efl: formatting 2013-06-20 13:28:18 +02:00
Sebastian Dransfeld 068f1ddc62 efl: formatting 2013-06-20 13:08:36 +02:00
Stefan Schmidt 90aee3addd edje-codegen: Now really fix the mem leak without running into a double free.
The missing free was only for one of the paths to the end label. The other one
freed it before already. Take this into account to avoid the double free.
2013-06-14 10:54:19 +01:00
Eduardo Lima (Etrunko) d3292a7ae9 Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:50 -03:00
ChunEon Park 8476e20ffe edje - support map color set 2013-06-06 18:18:36 +09:00
Eduardo Lima (Etrunko) a346c834c1 edje_cc: Add -dd/--data_dir option
Used for specifying the path of files specified in 'data.file' section

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-04 17:39:30 -03:00
ChunEon Park 86f37578fa edje/edje_cc_parser - support [] markers for indexing values 2013-06-04 14:30:07 +09:00
Ederson Desouza b52a380a5f Support for -1.0 @ text ellipsis fields -- for not ellipsizing it at all. 2013-06-03 12:02:16 -03:00
ChunEon Park ad7622b94a edje/edje_cc - remove white spaces 2013-06-03 20:55:10 +09:00
ChunEon Park f55092ab93 edje - support edc proxy.source_clip 2013-05-31 20:08:59 +09:00
ChunEon Park 80e1353807 edje - support edc source_visible 2013-05-31 17:35:30 +09:00
ChunEon Park 87ce63941d edje/edje_cc - fixed typo 2013-05-31 16:04:33 +09:00
Eduardo Lima (Etrunko) c03c6bd12c edje_cc: create data hash if it doesn't exist
The check was being done only in 'data.item' handler

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-05-28 16:17:09 -03:00
thiepha (Thiep Ha) c38a2a6bb8 [Edje_Entry] Add selection handlers to entry
Add selection handlers to entry.

https://phab.enlightenment.org/D117

Conflicts:

	ChangeLog
	NEWS
2013-05-13 19:16:58 +09:00
Raphael Kubo da Costa e307f2fa8e edje: Remove duplicate check introduced in 9157c51. 2013-04-02 15:10:14 +03:00
Cedric BAIL 9157c51f32 edje: prevent segv when not defining item before setting there property. 2013-04-01 15:27:38 +09:00
Iván Briano 0a3087c0d5 Add mouse_events option on the group level
No runtime changes. This makes it possible to set mouse_events on a
group, and it will use this value as the default for mouse_events on
every part of that group. It defaults to 1 if not set, to keep things
working as they do now.

That is, instead of setting mouse_events: 0; on every single part you
don't want to receive events, it's now possible to set it for the group
and only use mouse_events: 1; explicitly on those that should handle
events.
2013-03-26 23:16:24 -03: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
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
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
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 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 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
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