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
e2c51100c7
eolian: add test for class methods/properties
...
This also fixes a bug in the Eolian parser that handles class properties.
2014-07-24 14:02:46 +01:00
Daniel Kolesa
94404b403c
eolian: parser support for constructor qualifier
...
This will be needed when the constructors {} section goes away.
2014-07-24 13:01:47 +01:00
Daniel Kolesa
214cfac378
eolian: protected ctors
2014-07-24 12:58:29 +01:00
Daniel Kolesa
178022ab65
eolian/generator: add support for class methods/properties
2014-07-24 12:15:55 +01:00
Daniel Kolesa
a5ad792780
eolian: add support for class functions
2014-07-24 12:05:12 +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
Carsten Haitzler
10405ffc41
evas - ico loader - detect probable p0ng entry in ico file
...
ico files were defined to have bmp's in each key - in fact a subset of
them. unbenknownst to yours truly, vista now allows them to also be
pngs and thus the ico loader rejects them as corrupt. at least detect
it and complain right now
2014-07-24 17:18:35 +09:00
Carsten Haitzler
dee1640d0f
fix some formatting in ico loader
2014-07-24 15:22:40 +09: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
987cde5f35
Revert "eina: new API: eina_file_path_basename"
...
This reverts commit 68282f8c42
.
This is actually not needed because of presence of basename in Evil.
2014-07-23 19:38:08 +01:00
Daniel Kolesa
a3182948ad
eolian: use libgen.h basename
2014-07-23 19:37:03 +01:00
Daniel Kolesa
5a67cc997d
eolian: fix tests
2014-07-23 17:19:34 +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
68282f8c42
eina: new API: eina_file_path_basename
2014-07-23 17:04:04 +01:00
Jean Guyomarc'h
f8235ff5c1
ecore_cocoa: Lion fullscreen workaround + warning fixes
...
Summary: Warnings and deprecated code fixes. I started to implement the OSX-Lion fullscreen style.
Reviewers: cedric, naguirre, raster, raoulh
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1175
2014-07-23 16:56:16 +02:00
Daniel Kolesa
572b7aa92f
eolian: eolian_function_parameter_get -> eolian_function_parameter_get_by_name
2014-07-23 14:22:25 +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
e26be1aca6
eolian: fix NULL checks in APIs that return iterators + fix tests
2014-07-23 13:45:25 +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
Carsten Haitzler
356d10fbee
efreet - add menu ref/unref calls and refcounting to try solve e issue
...
not much more to say really... efreet_menu_free now unrefs nd checks
for 0 refcount first... unref just calls it to be "nice"
@feature
2014-07-23 20:36:19 +09:00
Seunghun Lee
a609a3be9d
fix typo in configure.ac
...
Summary: N/A
Test Plan: N/A
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1221
2014-07-23 19:19:23 +09:00
Daniel Kolesa
a8c0504ce2
eolian: add comment parsing for typedefs
2014-07-23 10:57:23 +01:00
Amitesh Singh
17e2c4bc06
edje embryo: Now supports get_anim_pos_map
...
Summary:
works just like ecore_animator_pos_map().
@feature
Reviewers: seoz, Hermet, cedric, raster
Subscribers: cedric, seoz
Differential Revision: https://phab.enlightenment.org/D1211
2014-07-23 14:31:52 +09:00
Daniel Kolesa
77ad5e3297
eolian: fix coverity defects
...
Fixes CID 1228630 and 1228631.
2014-07-23 00:48:27 +01:00
Daniel Kolesa
d8e54e2636
eolian: use new syntax for const methods as per wiki
2014-07-22 17:13:24 +01:00
Daniel Kolesa
ab8fe63afa
eolian: use @protected syntax as per wiki
2014-07-22 16:35:54 +01:00
Daniel Kolesa
4f1f182a89
eolian: lexer line context push/pop/restore/clear
2014-07-22 15:44:23 +01:00
Cedric BAIL
0daff5e524
evas: do check visibility flag early to not propagate show/hide when not needed.
...
This should be a proper fix instead of D1217
2014-07-22 16:12:36 +02:00
Daniel Kolesa
cbd54f4de0
eolian: include file info in redef errors when different file
2014-07-22 15:01:09 +01:00
Daniel Kolesa
f487d44011
eolian: structs and aliases now contain line/column info for better error messages
2014-07-22 14:48:08 +01:00
Daniel Kolesa
89ca97aceb
eolian: new API: eolian_type_structs/aliases_get_by_file
2014-07-22 13:14:44 +01:00
Daniel Kolesa
b0788a546b
eolian: support for typedefs in c_type_get
2014-07-22 12:11:45 +01:00
Daniel Kolesa
2942d4bdfa
eolian: include newly added test files in dist
2014-07-22 11:53:59 +01:00
Cedric BAIL
a95f4657b2
autotools: missing files for make check in a make dist tarball.
2014-07-22 12:52:18 +02: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
Jean Guyomarc'h
6844a702dc
ecore_audio: fix crash on OSX when using Ecore_Audio with PulseAudio
...
Summary: Fix implicit function declaration of basename() which led to a violent crash when used.
Reviewers: cedric, naguirre, raoulh, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1162
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-22 12:39:48 +02:00
Cedric BAIL
64dccac59c
autotools: we actually do want portability warning.
...
This is to avoid people not using gnu stuff to report issue.
2014-07-22 12:20:03 +02:00
Daniel Kolesa
ccf157aa57
eolian: prevent freeing of full named structures that are inside of typedefs and fix a memory leak
2014-07-22 10:39:54 +01:00
Daniel Kolesa
71ae2f2c2e
eolian: another leak fix
2014-07-22 10:22:21 +01:00
Daniel Kolesa
c03a0a2a39
eolian: memory leak fix
2014-07-22 10:15:56 +01:00
Savio Sena
b1df4791d5
modules/evas/gl_common: Distribute rgb_a_pair_*.{h,shd}.
...
Added missing files to the list of distributed files.
2014-07-22 05:12:28 -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
f6c32ddffc
eolian-cxx: Removes more warnings.
2014-07-21 21:32:22 -03:00
Savio Sena
356640dc36
autotools: Added missing .eo to EXTRA_DIST
...
This fixes "make dist".
2014-07-21 21:12:00 -03:00