Amitesh Singh
8ebf5d49b2
epp: fix memory leak.
...
Reviewers: cedric, seoz
Subscribers: cedric, seoz
Differential Revision: https://phab.enlightenment.org/D1470
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-22 14:59:27 +02:00
Anand
e520d3128e
edje: fix resourse leak in epp.
...
Summary: Variable prefix going out of scope leaks the storage it points to.
Reviewers: seoz, singh.amitesh, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1468
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-22 14:59:27 +02:00
Sebastian Dransfeld
54d5653e1b
efreet: Store known desktop environments
2014-09-18 10:48:50 +02:00
Savio Sena
991027ac9b
eolian-cxx: Remove warnings during release compilation.
2014-09-16 19:17:57 -03:00
Chinmaya Panigrahi
f6eb1f17a1
edje: prevent resource leak.
...
Summary:
The pointer used is not freed at the end of the function which
results resource leak.
@fix
Test Plan: Not Available
Reviewers: seoz, raster, cedric
Reviewed By: cedric
Subscribers: raster, seoz, cedric
Differential Revision: https://phab.enlightenment.org/D1438
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-12 23:08:26 +02:00
Savio Sena
6500c99669
eolian-cxx: Refactored eolian_cxx to cope with new Eolian API.
2014-09-12 16:50:09 -03:00
Savio Sena
fa01f747a8
eolian-cxx: Added properties_get() wrapper.
...
Returns the list of all properties in a class.
2014-09-12 16:48:58 -03:00
Savio Sena
c61bc0dec0
eolian-cxx: Added wrappers to handle Eolian_Implements.
2014-09-12 16:48:40 -03:00
Savio Sena
cc70746d10
eolian-cxx: Added new wrappers to handle Eolian_Function.
...
function_is_constructor() and function_is_visible().
2014-09-12 16:47:51 -03:00
Savio Sena
5a7d60cb77
eolian-cxx: Added wrappers to handle Eolian_Constructor.
2014-09-12 16:47:07 -03:00
Savio Sena
753f6ab918
eolian-cxx: Make class_name() wrapper return lower-case string.
2014-09-12 16:44:47 -03:00
Savio Sena
aef69a6a91
eolian-cxx: Refactored Eolian_Function functions
...
Renamed function_type to function_op_type and added function_type with
new semantics of returning if function is either regular or
class-function.
2014-09-12 16:42:51 -03:00
Savio Sena
3c90053091
eolian-cxx: Simply use find_replace instead of long form.
2014-09-12 16:41:33 -03:00
Savio Sena
8722d2b9a5
eolian-cxx: Clean-up.
...
Removed iterator_iterator, unused functions and reworded comments.
2014-09-12 16:39:47 -03:00
Stefan Schmidt
7d8c846d01
edje_watch: Use eina_file_mkstemp() to avoid problems with umask
...
CID 1039617
2014-09-11 11:55:49 +02:00
Stefan Schmidt
d55ab5e5cf
edje_cc: Remove no longer needed extern tmp_dir.
...
The last two user have been switched to eina_file_mkstemp so we don't
need to setup tmp_dir anymore.
2014-09-10 16:43:02 +02:00
Stefan Schmidt
cbc6cdda89
edje_cc_parse: Use eina_file_mkstemp() to avoid problems with umask
...
CID 1039618
2014-09-10 16:43:02 +02:00
Stefan Schmidt
693e9095eb
edje_cc: Use eina_file_mkstemp() to avoid problems with umask
...
In this case it also clears up the setup of temp dir.
CID 1039619
2014-09-10 16:43:02 +02:00
Stefan Schmidt
6d67f69061
edje_cc: Print out the right file name on the error message.
...
We failed to create sc->tmpo not tmpn here. Looks like a classical C&P error
2014-09-10 16:43:02 +02:00
Daniel Kolesa
599bee0553
elua: update eolian bindings to latest version
2014-09-09 16:30:46 +01:00
Daniel Zaoui
56bad2beb0
Eolian/Generator: support @empty and @auto.
...
Local and base class functions are supported.
When @empty is provided, dummy functions (initializing the parameters with default
values if needed) are generated.
When @auto is provided on properties, access to internal data variables is done. On
set, it will assign parameters values to private data members. On get,
parameters are set with private data members values.
See the supplied tests as examples.
@feature
2014-09-08 10:11:01 +03:00
Daniel Kolesa
dff8d56475
eolian: use implements only to retrieve functions list
...
This also changes the implements list so that it also includes virtual functions.
2014-09-05 11:54:29 +01:00
Daniel Kolesa
e75ded5e3f
eolian: prepare for implements list expansion
...
As the implements list will soon contain all methods and properties,
do some preparations. The Eolian library now fills in class field in
implements early on when the implement is local. The Eolian C generator
now checks for local implements and skips them (so that things don't break).
2014-09-04 15:03:00 +01:00
Daniel Zaoui
ffa9ad7daf
Eolian/Generator: support params initialization.
...
This is needed when get properties or methods have to return a
value in case of failure or to initialize parameters.
The way used is to generate an intermediate function that will
initialize the parameters and then invoke the "user" function.
2014-09-03 08:36:20 +03:00
Mike Blumenkrantz
3f468537fd
edje_cc now throws an error during link combination when the current part has no name
...
@fix
2014-09-02 15:17:07 -04:00
Carsten Haitzler
0040e00373
embryo_cc - fix symbol write
...
this fixes an actual bug coverity found in embryo_cc
fix CID 1039650
2014-09-01 19:40:47 +09:00
Carsten Haitzler
719ecf18e8
evas cserve2 - check return of fcntl
...
fix CID 1039707
2014-09-01 19:40:47 +09:00
Carsten Haitzler
0b7e3cf422
embryo_cc - fix possible buffer overrun
...
fix CID 1039594
2014-09-01 19:40:47 +09:00
Carsten Haitzler
d78703d0a8
embryo_cc - fix possible buffer overrun
...
fix CID 1039593
2014-09-01 19:40:47 +09:00
Carsten Haitzler
f440626cf0
embryo_cc - fix possible buffer overrun
...
fix CID 1039592
2014-09-01 19:40:46 +09:00
Carsten Haitzler
435a0dda37
embryo_cc - fix possible buffer overrun
...
fix CID 1039591
2014-09-01 19:40:46 +09:00
Carsten Haitzler
88fda07299
embryo_cc - fix possible buffer overrun
...
fix CID 1039590
2014-09-01 19:40:46 +09:00
Carsten Haitzler
09648f6cf1
embryo_cc - fix possible buffer overrun
...
fix CID 1039589
2014-09-01 19:40:46 +09:00
Carsten Haitzler
1f5aa3050b
embryo_cc - fix possible buffer overrun
...
fix CID 1039588
2014-09-01 19:40:46 +09:00
Carsten Haitzler
ea3d28d0c3
embryo_cc - fix possible buffer overrun
...
fix CID 1039587
2014-09-01 19:40:46 +09:00
Carsten Haitzler
1b74f19b60
embryo_cc - fix buffer overrun possibility
...
fix CID 1039586
2014-09-01 19:40:46 +09:00
Carsten Haitzler
6d694962c6
embryo_cc - fix coverity buffer complaint
...
this isnt an actual problem, but best it never comes around again. fix
CID 1039585
2014-09-01 19:40:46 +09:00
Daniel Kolesa
4785353baf
eolian: APIs to check if an implement references get/set
2014-08-29 15:30:51 +01:00
Daniel Kolesa
14d67f31d0
eolian: use EINA_C_ARRAY_LENGTH
2014-08-28 09:55:41 +01:00
Daniel Kolesa
1eb870e3d3
eolian/generator: use size of the array instead of fixed int
2014-08-28 09:49:57 +01:00
Carsten Haitzler
94f9d106c8
eolian generator - fix num of types handled
...
there are only 2 types in the ftype array... not 3!
fix CID 1232782
2014-08-28 08:45:09 +09:00
Daniel Kolesa
b69b90832f
eolian: remove constructors section cruft
2014-08-27 15:43:47 +01:00
Daniel Kolesa
1a76690abf
eolian/generator: remove support for custom constructors
2014-08-27 15:43:47 +01:00
Daniel Kolesa
0e873a260d
eolian_cxx: very quick workaround to make tests compile again (needs fix)
2014-08-27 15:43:47 +01:00
Daniel Kolesa
901d1343fd
eolian: no need to concat name in this case
2014-08-27 11:38:26 +01:00
Carsten Haitzler
7e3367d82c
fix error handling in edje_decc
...
fix CID 1039341
2014-08-27 17:49:29 +09:00
Carsten Haitzler
a427fc46f7
edje_decc - fix strrchr null return case
...
fix CID 1039342
2014-08-27 17:47:34 +09:00
Carsten Haitzler
209962f763
embryo_cc - remove useless check against always-there array
...
fix CID 1039345
2014-08-27 17:08:16 +09:00
Carsten Haitzler
dab0558843
evas cserv2 - fix fcntl return check
...
fixes CID 1039704
2014-08-27 15:09:14 +09:00
Carsten Haitzler
03941beeed
evas cserve2 - fix fcntl return check
...
fix CID 1039705
2014-08-27 15:06:41 +09:00