Commit Graph

26975 Commits

Author SHA1 Message Date
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
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 8ed0f61dc6 eina-cxx: Remove warnings from tests. 2014-07-21 20:18:51 -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
Savio Sena 82af4fb19d eo-cxx: Fixed return of the assignment operator. 2014-07-21 19:57:52 -03:00
Shinwoo Kim 971589bf56 eina: Eina_Module - check whether the file exists or not, before memory allocation of Eina_Module
Summary:
I got an issue from emotion_basic_example, because my machine has following directories.

/usr/local/lib/emotion/modules/
├── gstreamer
│   ├── linux-gnu-i686-1.7.99
│   ├── linux-gnu-i686-1.8.0
│   └── linux-gnu-i686-1.8.99
└── gstreamer1
    ├── linux-gnu-i686-1.8.99
    └── v-1.10

The defined MODULE_ARCH is v-1.10, and the _emotion_modules which is returned by eina_module_arch_list_get(); has two items.
Because eina_module_new(); creates Eina_Module, even though the "/usr/local/lib/emotion/modules/gstreamer/v-1.10/module.so"
does not exist.

Test Plan: Create directory without MODULE_ARCH, run emotion_basic_example, and check whether it works properly or not.

Reviewers: raster, seoz, Hermet, woohyun, jpeg, cedric

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1200

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-21 19:33:27 +02:00
Gwanglim Lee 3d534e87c3 eina: Eina_Tiler - return a NULL if intersection of two tilers doesn't exist
Summary:
change eina_tiler_intersection to return a NULL if intersection
of two tilers doesn't exist. and add test case to check it.

This doesn't break ABI/API as this call could already return a NULL value and it
should have been handled by the caller anyway. This just make an expected behavior
more correct.

Test Plan: run eina_suite after building eina test suite

Reviewers: cedric, raster, torori, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1205

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-21 19:33:27 +02:00
Daniel Kolesa 3b8a03cf7b eolian/generator: remove check_same 2014-07-21 17:13:43 +01:00
Daniel Kolesa b81e05def5 eolian: new API: eolian_type_alias_find_by_name, remove the old APIs that take an alias name, update tests 2014-07-21 17:12:35 +01:00
Daniel Kolesa 058a3c314c eolian: rename _types to _aliases 2014-07-21 16:58:12 +01:00
Tom Hacohen 6030b9de79 Configure.ac: Free up the "efl" name for usage.
At the moment we use the fake "efl" library as a dependency for
everything and use it as a way to have global cflags and lib deps. This
is bad as we'd like to have a "real" libefl.

I changed EFL to EFLALL as the new name. Easy to change to something
else if anyone finds this name lacking. It's internal.
2014-07-21 16:53:14 +01:00
Daniel Kolesa e797e40478 eolian: remove Eolian_Typedef, use Eolian_Type instead; allow eolian_type_base_type_get on aliases 2014-07-21 16:53:25 +01:00
Daniel Kolesa 3798eb2f99 eolian: move eina types to namespaced syntax 2014-07-21 16:30:23 +01:00
Daniel Kolesa 6079270c96 eolian: database_type_to_str now respects namespaces (and thus the to-C-type conversion API does too) 2014-07-21 16:08:06 +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
Daniel Kolesa ac7f5d0f79 eolian: fill in full_name and namespaces properly, and allow parsing dots in type names 2014-07-21 15:17:59 +01:00
Daniel Kolesa 460cfd9e34 eolian: type_struct_description, type_struct_file -> type_description, type_file 2014-07-21 14:39:14 +01:00
Daniel Kolesa 7117aad879 eolian: new APIs: eolian_type_full_name_get, eolian_type_naespaces_list_get 2014-07-21 14:27:23 +01:00
Daniel Kolesa 197034bfd7 eolian: type_struct_is_extern -> type_is_extern 2014-07-21 14:14:22 +01:00
Daniel Kolesa 6f9c8779c0 eolian: initial code and struct layout for revamped alias API 2014-07-21 14:10:42 +01:00