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
Carsten Haitzler
c71d2c7d83
evas cserve2 - fix check of fcntl return
...
fix CID 1039706
2014-08-27 15:04:04 +09:00
Carsten Haitzler
9825a16a26
evas cserve2 - check fcntl return for setting non-block
...
fix CID 1039707
2014-08-27 15:01:10 +09:00
Carsten Haitzler
29c4a28457
ethumbd - check arg signature
...
fix CID 1039708
2014-08-27 14:58:50 +09:00
Carsten Haitzler
b3fa71e0dc
ethumbd - check signature type
...
fix CID 1039709
2014-08-27 14:56:13 +09:00
Carsten Haitzler
c4b2d133e4
ethumbd - check arg signaature type
...
fix CID 1039710
2014-08-27 14:53:29 +09:00
Carsten Haitzler
9e8f024b73
ethumb - check signature of arguments for crop
...
fix CID 1039711
2014-08-27 14:52:11 +09:00
Carsten Haitzler
3f97906d70
embryo_cc - fix bunch of unchecked fseeks
...
this fixes CID 996788
2014-08-27 14:29:21 +09:00
Carsten Haitzler
0c99a2f156
eolian - fix possible leak of name string
...
fixes CID 1232734
2014-08-27 11:25:40 +09:00
Daniel Kolesa
d09262b011
eolian: stub header generator
...
This adds functionality into eolian_gen to generate a "stub header".
The main use for this is to deal with cyclic dependencies between Eo files.
2014-08-26 17:10:14 +01:00
Carsten Haitzler
f5f27afee0
epp - fix unused pointer var bug
...
fix CID 1039493
2014-08-25 12:57:26 +09:00
Daniel Kolesa
c562b38588
eolian: properly get the legacy attribute of a method/property
2014-08-22 17:01:36 +01:00
Daniel Kolesa
b75014a024
eolian: refactor the struct/enum field APIs
2014-08-22 16:56:41 +01:00
Daniel Kolesa
f35b5e35df
eolian: guard eo types in legacy headers
2014-08-22 14:40:01 +01:00
Daniel Kolesa
19d8209266
eolian: clean up type generation + fix function pointers
2014-08-22 14:04:22 +01:00
Daniel Kolesa
189bc4512d
eolian: fix type generation for function pointers
2014-08-22 13:45:20 +01:00
Carsten Haitzler
9415a1d310
embryo_cc - fix usless array check
...
fix CID 1039346
2014-08-22 20:14:58 +09:00
Carsten Haitzler
14008d3111
embryo_cc - fix uselss array existance check
...
fix CID 1039345
2014-08-22 20:14:58 +09:00
Carsten Haitzler
e9afad0b07
check strrchr to be sure
...
this fixes CID 1039342
2014-08-22 20:14:58 +09:00
Carsten Haitzler
554563cc21
fix fopen return check and error
...
fixes CID 1039341
2014-08-22 20:14:57 +09:00
Carsten Haitzler
ceee029484
ethumbd - check eldbus_service_object_data_get return like everywhere
...
this fixes CID 1039338
2014-08-22 20:14:57 +09:00
Carsten Haitzler
32e5189952
embryo_cc - check fseeek return and complain
...
fixes CID 996788
2014-08-22 20:14:57 +09:00
Mike Blumenkrantz
84b985b45c
edje_cc only prints kitten-harming message with nosave
2014-08-21 15:03:28 -04:00
Mike Blumenkrantz
82c0f67f02
de-frenchify edje_cc --no-save option
2014-08-21 15:02:46 -04:00
Daniel Kolesa
cdd4860520
eolian: turn db validation into separate API
2014-08-21 16:35:59 +01:00
Daniel Kolesa
5d5185f900
elua: support for passing data to modules via require
2014-08-21 15:32:03 +01:00
Daniel Kolesa
efa40a5bb2
elua: first namespace is root module name, remove -M
2014-08-21 15:17:19 +01:00
Cedric BAIL
9e8ece571b
edje: edje_cc - warn people when they do bad things.
2014-08-21 12:04:53 +02:00
Irfan Abdul
3709a908d7
edje: Edje_cc - fix not storing edc sources in .edj file with --no-save option
...
Reviewers: govi, raster, jpeg, zmike, cedric
Subscribers: cedric
@fix
Differential Revision: https://phab.enlightenment.org/D1292
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-08-21 12:04:53 +02:00
Daniel Kolesa
fce1e61ff5
eolian: fix shadow warnings
2014-08-21 09:26:06 +01:00
Daniel Kolesa
452497eac5
eolian: remove a bunch of pointless stringshare refs + fix in lua
2014-08-21 09:26:05 +01:00
Daniel Kolesa
423cfb5f61
eolian/generator: support for legacy-only functions
2014-08-21 09:26:05 +01:00
Daniel Kolesa
bbdb655bdb
elua: update lualian
2014-08-21 09:26:05 +01:00
Daniel Kolesa
e6954d143d
eolian: drop Eina_Value
...
Because of Eina_Value being less than optimal in our usage, we're dropping it in Eolian.
This simplifies the code and makes it easier to bind to other languages, which
will aid new generators. Also, we're dropping long double support from eo files
and expressions as it causes an ABI breakage in gcc 4.4.
2014-08-21 09:26:05 +01:00
Daniel Kolesa
913e0f09fa
eolian: get rid of the data hash in Eolian_Function
2014-08-21 09:26:05 +01:00
Daniel Kolesa
1688749ce9
eolian: add support for opaque struct types (+ tests)
2014-08-21 09:26:05 +01:00
Daniel Kolesa
2df5eae338
eolian/generator: support for private and protected events
2014-08-21 09:26:04 +01:00
Daniel Kolesa
93726c86a3
eolian: get rid of eolian_parameter_information_get
2014-08-21 09:26:04 +01:00
Daniel Kolesa
ad3dbe834b
eolian: API refactoring
...
Remove eolian_implement_information_get. Also, fix some nasty lookup problems.
2014-08-21 09:26:04 +01:00
Daniel Kolesa
057e01d67f
eolian: API refactoring
...
Start getting rid of the terrible _information_get APIs, starting with events.
2014-08-21 09:26:04 +01:00
Daniel Kolesa
ffbf149da1
eolian: new API: eolian_class_event_scope_get
2014-08-21 09:26:04 +01:00
Daniel Kolesa
a5964f0252
eolian: add comments containing original expressions to generated enum fields
...
This required a new API, eolian_expression_serialize.
2014-08-21 09:26:04 +01:00
Daniel Kolesa
18c2b5082e
eolian: allow usage of stack Eina_Value in expr API
2014-08-21 09:26:04 +01:00
Daniel Kolesa
732e3f417e
eolian: new API: eolian_type_enum_legacy_prefix_set + generator changes
...
This change adds a new API to retrieve the legacy prefix for enum members
and also adds support for generating enums into the C generator. Besides that,
it prevents generation of entire struct contents when the .eo file declares
a named struct inside of a typedef - as the struct itself gets generated later on.
2014-08-21 09:26:04 +01:00
Daniel Kolesa
2e3887b994
eolian: struct/enum fixes and initial test for enums
2014-08-21 09:26:04 +01:00
Daniel Kolesa
8c1b9ed3e2
eolian: initial API for expression evaluation
...
This commit also does several side (related) changes. Particularly, it updates
the Eolian C generator to use the new API, it adds missing expr types (null, char)
and masks, updates the API dealing with default return values to use expressions
instead of strings and does several fixes (mainly in lexer) around the place.
It also disallows single quoted strings as those are reserved for characters.
2014-08-21 09:26:03 +01:00
Daniel Kolesa
520275c66b
eolian: use newly created implicit typedefs in legacy API
...
Also update tests accordingly.
2014-08-21 09:26:03 +01:00
Daniel Kolesa
bb24b60638
eolian: generate implicit typedef for each class
...
And use these typedefs instead of just Eo in API.
2014-08-21 09:26:03 +01:00
Carsten Haitzler
c77accc0b9
eolain impl generator - fix possible null access
...
fix CID 1231994
2014-08-20 09:05:58 +09:00
Carsten Haitzler
2574f1578a
eolian - warning-- for eolian impl generator
2014-08-18 14:56:53 +09:00
Carsten Haitzler
d444e8f5f3
eolain_gen - fix implementation generation - it didn't even compile
...
so the test suites were useless because they didn't ecompile what was
generated. it was missing a ) at the end of calling eo_do_super to
start with. it was missing a call to do_uper fo destructors too. also
it didnt deal with the #include "blah.eo.c" at the file end either so
it produced uncompilable src at the start. again - also fix. this also
fixes test case comparisons to match the now correct generation that
compiles.
2014-08-16 13:09:17 +09:00
Carsten Haitzler
53ddf83842
edje_pick - remove unused var that we just free and nothing else
...
this should fix CID 1039669
2014-08-14 19:25:32 +09:00
Carsten Haitzler
bcbe9f621e
embryo_cc - check return value
...
this matches the check for fgetpos()
2014-08-14 19:11:06 +09:00
Carsten Haitzler
4e85b6b57b
embryo_cc - fix return value checking
...
fixes CID 1039712
2014-08-14 19:09:30 +09:00
Carsten Haitzler
f9cef6f079
epp - fix unchecked return
...
fix CID 1039717
2014-08-14 19:04:38 +09:00
Carsten Haitzler
00d3bd1747
epp - fix unchecked return
...
this fixes CID 1039718
2014-08-14 19:02:39 +09:00
Carsten Haitzler
27ef84e372
edje_decc - fix unchecked return value
...
fix CID 1039719
2014-08-14 19:00:37 +09:00
Carsten Haitzler
2ee14e5997
embryo_cc - make assert clearer
...
this fixes coverity warning CID 1039730
2014-08-14 18:55:02 +09:00
Carsten Haitzler
874e87e8df
fix noop self-assignment
...
this fixes CID 1040028
2014-08-14 18:25:42 +09:00
Carsten Haitzler
e82b61b420
epp - fix bit underflow in bitshift for multibyte
...
this fixes CID 1193200
2014-08-14 17:39:11 +09:00
Carsten Haitzler
c87748a7c1
evas cserve - handle possilbe null ref and fentry pointers
...
this fixes CID 1193209 with possible NULL refs.
2014-08-14 17:16:02 +09:00
Vyacheslav Reutskiy
d08dd13d3d
edje_pick: fix a copied aliases
...
Summary:
@fix
Reviewers: raster, Hermet, seoz, cedric
Subscribers: cedric, seoz, Sachiel
Differential Revision: https://phab.enlightenment.org/D1305
2014-08-14 00:08:07 +09:00
Vyacheslav Reutskiy
c8976fb21e
edje_pick: fix a segfault on 'set' copy
...
Summary:
wrong structure, a Edje_Image_Directory_Set_Entry, used for copy
a set's data to new file.
@fix
Reviewers: raster, seoz, cedric, Hermet
Reviewed By: Hermet
Subscribers: Sachiel, cedric, seoz
Differential Revision: https://phab.enlightenment.org/D1304
2014-08-14 00:03:18 +09:00
Carsten Haitzler
970968daab
embyro-cc - fix coverity overruun issue
...
overrun in fatal msg access - fix CID 1039315
2014-08-13 17:14:53 +09:00
Carsten Haitzler
84e032a252
embryo_cc - coverity mem access issue - fix
...
this fixes CID 1039316 in case error num is beyond errmsg bounds
2014-08-13 17:13:12 +09:00
Carsten Haitzler
b0e9886635
embryo_cc - fix coverity buffer overrun
...
fixes CID 1039317
2014-08-13 16:19:17 +09:00
Carsten Haitzler
6974a67f6f
evas - cserve - dummy slave - shut coverity up and unmap mmaped mem
...
while right, coverity doest know that this is just a dummy example,
so... make it happy by unmapping. fixes CID 1193218
2014-08-13 15:24:00 +09:00
Carsten Haitzler
db447bece5
fix non 0 terminated buffer in ethmubd slave
...
this fixes a potential non 0 terminated string buffer in ethumb slave
process - harmless for apps, but might happen. this fixes CID 1193232
2014-08-12 22:24:43 +09:00
Savio Sena
3b24c6ce91
eolian-cxx: Scan all files only when explicitly requested.
...
Fix T1463
2014-08-08 15:12:31 -03:00
Stefan Schmidt
2fa2c11910
edje_cc_handler: Fix build break from recent Edcref changes
...
Having correct syntax is needed here. ;)
2014-08-08 16:25:51 +02:00
Davide Andreoli
62af2b9bd1
Edcref: final doc improvements.
...
* Be consistent with the way we specify parameters
* A last css refinement
2014-08-08 15:54:38 +02:00
Davide Andreoli
1eca781d1d
Edcref: fixed (I hope) the doc for parts aliases
2014-08-08 15:54:38 +02:00
Davide Andreoli
cb84a5f994
Edcref: try to give sections titles more context
...
Also fixed some incorrect @context
Changed the @edcsubsection tags so they live in first line of the doccomment, this way you can read them when the file is folded-closed, improving the code readability.
2014-08-08 15:54:38 +02:00
Davide Andreoli
c00875818b
Edcref: tab-- , they tend to break the html render
2014-08-08 15:54:38 +02:00
Davide Andreoli
5fd1e27dce
edcref: move the Links functions so they dont break descriptions docs
...
Plus some other small doc adjustment
2014-08-08 15:54:38 +02:00
Davide Andreoli
b2b4e62dd3
edcref: move 3 params to be in the correct section
2014-08-08 10:37:03 +02:00
Davide Andreoli
6653ce2306
edcref: be consistent wrt params
2014-08-08 10:27:26 +02:00
Davide Andreoli
34c75a29f6
Edcref: and finally apply a cool style
...
Now the edc ref is decently readable
2014-08-08 02:30:33 +02:00
Davide Andreoli
a8a7158801
edcref: fix the base_scale property docs
...
base_scale is a property, so document it propertly
Also added missing @since
2014-08-08 02:30:33 +02:00
Daniel Zaoui
99888ceaec
Eolian/Generator: fix generation of class functions.
...
The generation for legacy was missing. The patch removes too the EINA_UNUSED
flag for static functions data.
2014-08-07 16:06:22 +03:00
Davide Andreoli
ba7ea64d97
edcref: review all the @since usage
...
* put them inside the @property block they belongs
* do not show micro version (1.7 instead of 1.7.0)
2014-08-07 14:41:25 +02:00
Davide Andreoli
25ce050920
edcref: quick access list: fix a link and make it more compact
2014-08-07 13:21:31 +02:00
Davide Andreoli
657d973858
edcref: unbreak formatting of the page
...
Every @block need a @context, or the table will broken up and formatting will be bad.
Also be a bit less redundant
2014-08-07 12:28:46 +02:00
Davide Andreoli
4e5d70511a
edcref: small typo in doc
2014-08-07 11:01:36 +02:00
Gwanglim Lee
52fab4e55d
edje: fix coverity defects
...
Summary:
CID 1214113: logically dead code
CID 1230295: dereference null return value
CID 1230296: use after free
@fix
Test Plan: N/A
Reviewers: raster, cedric, jpeg, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1275
2014-08-06 10:55:32 +01:00
Daniel Kolesa
8c677a1f0e
eolian: fread fix
...
Instead of 1 element of size N, we should read N elements of size 1 in
order to sensibly compare the result with the result of calling ftell.
2014-08-04 10:56:35 +01:00
Daniel Kolesa
97dc9cac36
ethumbd_slave: fix coverity defect
...
Fixes CID 1193232 (string not null terminated)
2014-08-04 10:44:35 +01:00
Daniel Kolesa
23761ed627
edje_cc_handlers: fix coverity defects
...
Fixes CID 1193224, 1193225, 1193226, 1193227, 1193230 (resource leak)
2014-08-04 10:26:06 +01:00
Daniel Kolesa
91bf465d52
eolian/generator: coverity fix
...
Fixes CID 1229130 (ignoring number of bytes read)
2014-08-04 09:59:36 +01:00
Daniel Kolesa
64c2b292ba
eolian: preliminary eo file support for builtin true/false/null
...
Real API will use the new expression system, but that won't get into 1.11.
2014-07-28 10:16:15 +01:00
Daniel Kolesa
3636f5c9a8
elua: make generator work again
...
Also adds to_array API to Lua eina iterators.
2014-07-25 17:11:20 +01:00
Jean Guyomarc'h
56ce6d8e74
Unregister eina_log domain
...
Reviewers: cedric, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1233
2014-07-25 11:08:47 +01:00
Daniel Kolesa
58a9de0309
eolian/generator: properly generate the data arg on class methods
...
For class methods, we need to generate unused void*, not a pointer to data struct.
2014-07-24 15:32:34 +01:00
Daniel Kolesa
178022ab65
eolian/generator: add support for class methods/properties
2014-07-24 12:15:55 +01:00
Daniel Zaoui
805d746910
Eolian: Generate typedefs and structs.
...
This patch permits the generation of typedefs and structs in the
legacy and Eo header files. It includes tests.
2014-07-24 11:59:34 +03:00
Daniel Zaoui
fe3602b0d8
Eolian: little refactoring of the C generator.
...
This change is a preparation for the generation of the types and a
little cleaning.
2014-07-24 11:59:34 +03:00
Jaehwan Kim
7e5d2606cc
edje: Add dpi feature.
...
Summary:
This dpi is used to get the scale for each collection.
If each collection has a described dpi, it calculates a proper scale
based on the dpi and dpi which is described in the collection.
@feature
Test Plan:
If add dpi to collection of edc, the edje will save the value as the dpi of the collection.
For example, if the dpi of your device is 100, you just set dpi: 100 in the collection of edc.
If the edj is loaded in another device(dpi is 200), it will scaled 2 times.
It is possible that the described dpi of application and theme are different.
In that case, application and theme have a different scale.
It makes the edj that made in different environment works in one device.
Reviewers: seoz, zmike, JackDanielZ, Hermet, woohyun, cedric, raster
Reviewed By: raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1190
2014-07-24 14:50:25 +09:00
Daniel Kolesa
0c3487cd3d
eolian/generator: fix coverity issues
...
Fixes CID 1228663 and 1228634.
2014-07-24 00:32:06 +01:00
Daniel Kolesa
a3182948ad
eolian: use libgen.h basename
2014-07-23 19:37:03 +01:00
Daniel Kolesa
315d5de11d
eolian: use just filename (not path) for eolian_class_get_by_file
2014-07-23 17:15:00 +01:00
Daniel Kolesa
88cc1167e9
eolian: eolian_parameters_get -> eolian_function_parameters_get
2014-07-23 14:17:19 +01:00
Daniel Kolesa
fd0210f30e
eolian: list_get -> get, find_by -> get_by
2014-07-23 14:13:21 +01:00
Daniel Kolesa
8d775fc96d
eolian_cxx: fix migration to iterators
2014-07-23 13:45:25 +01:00
Daniel Zaoui
0efeeaf1c0
Eolian: modify APIs to return iterators instead of lists.
...
The change affects the C and the C++ generators.
2014-07-23 13:45:25 +01:00
Daniel Zaoui
48d0570786
Eolian/Generator: simplify eo_do invocation.
...
Since eo_do returns the Eo operation result, we can generate:
{
return eo_do(obj, ...);
}
instead of:
{
int ret;
eo_do(obj, ret = ...);
return ret;
}
2014-07-22 13:44:51 +03:00
Savio Sena
721d8ca144
eolian-cxx: Oops. Fixing function_return_is_explicit_void the right way.
2014-07-21 22:56:31 -03:00
Savio Sena
b3bd72cd11
eolian-cxx: Handle exclicitly void-return getters.
...
Whenever a getter explicitly defines a void return the generated code
shall not convert single-parameter getters in any ways.
Actually the correct approach would be to delegate all conversions to
Eolian Database instead of for the generators.
2014-07-21 22:13:54 -03:00
Savio Sena
6e8c063f27
eolian-cxx: Added missing keyword.
...
Keyword "register" is also used in Elementary.
2014-07-21 21:11:33 -03:00
Savio Sena
07b75b9997
eolian-cxx: Handle C++ keywords in function names.
...
When function names are C++ keywords append '_' to it.
2014-07-21 20:17:44 -03:00
Daniel Kolesa
3b8a03cf7b
eolian/generator: remove check_same
2014-07-21 17:13:43 +01:00
Daniel Kolesa
a19adb71b9
eolian/generator: add code to check if the newly generated output is the same as old output - disabled for now because of build system issues
2014-07-21 16:00:57 +01:00
Felipe Magno de Almeida
7e84cc0154
eo-cxx: Added a few complex types to lookup table
2014-07-18 18:57:14 -03:00
Felipe Magno de Almeida
3abc94696e
Fixed type looking up for complex types
2014-07-18 18:57:14 -03:00
Felipe Magno de Almeida
2ff390e087
Changed uses of std::abort to assert's with better description
2014-07-18 18:57:14 -03:00
Savio Sena
e807421f60
eolian-cxx: Fixed complex-types.
2014-07-18 18:57:13 -03:00
Savio Sena
5d61edabd8
eolian-cxx: Fixed the translation of classnames
2014-07-18 18:57:13 -03:00
Felipe Magno de Almeida
637a97a0f5
eolian-cxx: Fixed using eo::base for extension_inheritance
...
Extended the logic for rewriting the eo::base to efl::eo::base for
parents to extension inheritance.
2014-07-18 18:57:13 -03:00
Savio Sena
67e187bebc
eolian-cxx: Fixed the translation of the native type.
2014-07-18 18:57:13 -03:00
Savio Sena
78e396ac19
eolian-cxx: Initial version of complex types / callbacks / events implementation.
2014-07-18 18:57:13 -03:00
Tom Hacohen
076d816364
Eolian generator: Disable system dir scan.
...
This was causing trouble for cross compilation.
Thanks to q66 for the fix and cedric for reporting.
2014-07-17 16:07:57 +01:00
Chris Michael
30b048b3b0
ecore-drm: Remove ecore_drm binary files
...
We no longer need the ecore_drm_launch binary to open input devices.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:42:01 -04:00
Daniel Kolesa
3be0dce99d
eolian: builtin types size, ssize, intptr, uintptr, ptrdiff
2014-07-14 16:51:38 +01:00
Daniel Kolesa
7b9276042d
elua: update lualian types
2014-07-14 16:35:22 +01:00
Daniel Kolesa
10ea6e9f0f
elua: use the type API in lualian (but only basics of it)
2014-07-14 16:08:31 +01:00
Daniel Kolesa
30e8d8a735
elua: make the lua generator generate things again - type stuff will need re-work
2014-07-14 15:37:32 +01:00
Daniel Kolesa
5d4cc031f9
eolian: s/dflt/default/g
2014-07-11 14:30:22 +01:00
Daniel Kolesa
888dc3b6fe
eolian: remove eolian_show and replace it with variants for class/struct/typedef/all.
2014-07-11 13:10:04 +01:00
Daniel Kolesa
883c4ca7df
eolian: events now use Eolian_Type* instead of stringshare
2014-07-11 11:47:37 +01:00
Jean-Philippe Andre
8ce52c2380
Edje: Add support for ETC1+Alpha
...
If the image is not opaque and etc1 is selected, choose
ETC1_ALPHA as encoding format.
2014-07-11 16:40:34 +09:00
Daniel Kolesa
a26546bc6b
eolian: the entire API is now const correct
2014-07-09 21:31:03 +01:00
Daniel Kolesa
dc1ea844a7
eolian_cxx: pass everything by ref
2014-07-09 21:02:41 +01:00
Daniel Kolesa
580aea04cd
eolian: refactoring step six
...
Move Eolian_Function as well, plus fix const correctness of several API funcs.
2014-07-09 20:59:31 +01:00
Savio Sena
012b586c8b
eolian-cxx: Pass references instead of pointers.
...
Fix Eolian-Cxx API to pass references instead of pointers.
2014-07-09 15:55:24 -03:00
Daniel Kolesa
accdd50f50
eolian: refactoring step five
...
Move from all instances of Eolian_Type to Eolian_Type*.
2014-07-09 17:18:02 +01:00
Daniel Kolesa
1a4f87d365
eolian: refactoring step four
...
Move from all isntances of Eolian_Function_Parameter to Eolian_Function_Parameter* plus const fixes.
2014-07-09 17:01:19 +01:00
Daniel Kolesa
c9119b0c88
eolian: refactoring step three
...
Move from all instances of Eolian_Event and Eolian_Implement to Eolian_Event* and Eolian_Implement*.
2014-07-09 16:45:58 +01:00
Daniel Kolesa
96eaaaf074
eolian: refactoring step two
...
Move from all instances of Eolian_Class to Eolian_Class*.
2014-07-09 16:33:19 +01:00
Daniel Kolesa
892c5cba5f
eolian: fix coverity defects
2014-07-09 10:19:42 +01:00
Daniel Kolesa
53fb9515e9
eolian/generator: add asterisk on inout too
2014-07-08 14:15:36 +01:00
wonguk.jeong
f803ba27b7
ethumb: fix setup related API problem
...
Summary:
setup related API was not working at all due to below problems
1. dbus type signature is wrong. it's array of dictionary not array of struct
2. since quality value was assigned to compress value, there was a problem during saving png image (out of bound)
3. orientation_set API was not working except NONE and ORIGINAL
@fix
Test Plan: make thumbnail by using elm_thumb_add -> orientation set to 90 CCW -> check whether image is rotated properly or not
Reviewers: raster, cedric
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D1138
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-07 19:11:02 +02:00
Daniel Kolesa
5168297fdb
eolian: new API: eolian_system_directory_scan, use it
2014-07-07 16:48:54 +01:00
Savio Sena
4e6825d6ac
eolian-cxx: Removed Wshadow warnings.
...
Summary:
Removes Wshadow warnings by prepending/appending radices to
the target variables and parameters.
Reviewers: felipealmeida
CC: cedric
Differential Revision: https://phab.enlightenment.org/D1118
2014-07-04 20:04:32 -03:00
Daniel Kolesa
84451db638
eolian: have eolian_all_classes_list_get instead of eolian_class_names_list_get
2014-07-03 22:12:31 +01:00
Daniel Kolesa
a1588f66e5
eolian_cxx: no need to normalize
2014-07-01 16:10:21 +01:00
Savio Sena
ce63b16f40
eolian-cxx: Make proper handling of namespaces.
...
Summary:
The generation of class prefixes was not taking into account the full
classname -- the namespace was not being prepended to it. Fixed that and
also re-organized the code a bit, removed some Wshadow warnings also.
This commit fixes 'make examples' and 'make check'.
Reviewers: tasn, cedric, q66
CC: felipealmeida, smohanty, cedric
Differential Revision: https://phab.enlightenment.org/D1100
2014-07-01 10:55:45 +01:00
Daniel Kolesa
dd22cf8148
eolian/generator: shadow fix
2014-06-30 21:53:08 +01:00
Daniel Kolesa
14a85859c5
eolian: _CLASS -> _CLASS/INTERFACE/MIXIN
2014-06-30 21:29:50 +01:00
Daniel Kolesa
c05493b480
eolian-cxx: Added namespaces and more (see below)
...
Implemented namespaces
Added eolian_wrappers.hh with C++ code wrapping Eolain API
Changed eolian_cxx program options. Now they're eolian_gen's
Added functions to safe_str.hh (safe_lower, safe_upper, normalize_spaces, path_base)
Added a mocked version of type_lookup.hh in advance. The full
version will come as soon as complex-types are added.
Made apply again by Daniel Kolesa, original implementation by Savio Sena.
2014-06-30 19:35:06 +01:00
Daniel Kolesa
7b54a0101c
eolian: new type API
...
This new API supports function pointer types, multiple type subtypes, const attribute without parsing
the name string, own attribute for any partial type and more. This commit also updates the C and C++
generators so that they compile and generate correct code.
@feature
2014-06-30 17:20:39 +01:00