Daniel Kolesa [Wed, 23 Jul 2014 13:22:25 +0000 (14:22 +0100)]
eolian: eolian_function_parameter_get -> eolian_function_parameter_get_by_name
Daniel Kolesa [Wed, 23 Jul 2014 13:17:19 +0000 (14:17 +0100)]
eolian: eolian_parameters_get -> eolian_function_parameters_get
Daniel Kolesa [Wed, 23 Jul 2014 13:13:21 +0000 (14:13 +0100)]
eolian: list_get -> get, find_by -> get_by
Daniel Kolesa [Wed, 23 Jul 2014 12:44:42 +0000 (13:44 +0100)]
eolian: fix NULL checks in APIs that return iterators + fix tests
Daniel Kolesa [Wed, 23 Jul 2014 11:29:53 +0000 (12:29 +0100)]
eolian_cxx: fix migration to iterators
Daniel Zaoui [Wed, 23 Jul 2014 07:24:59 +0000 (10:24 +0300)]
Eolian: modify APIs to return iterators instead of lists.
The change affects the C and the C++ generators.
Carsten Haitzler (Rasterman) [Wed, 23 Jul 2014 11:36:19 +0000 (20:36 +0900)]
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
Seunghun Lee [Wed, 23 Jul 2014 10:19:23 +0000 (19:19 +0900)]
fix typo in configure.ac
Summary: N/A
Test Plan: N/A
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1221
Daniel Kolesa [Wed, 23 Jul 2014 09:57:23 +0000 (10:57 +0100)]
eolian: add comment parsing for typedefs
Amitesh Singh [Wed, 23 Jul 2014 05:31:52 +0000 (14:31 +0900)]
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
Daniel Kolesa [Tue, 22 Jul 2014 23:47:26 +0000 (00:47 +0100)]
eolian: fix coverity defects
Fixes CID 1228630 and 1228631.
Daniel Kolesa [Tue, 22 Jul 2014 16:13:24 +0000 (17:13 +0100)]
eolian: use new syntax for const methods as per wiki
Daniel Kolesa [Tue, 22 Jul 2014 15:35:54 +0000 (16:35 +0100)]
eolian: use @protected syntax as per wiki
Daniel Kolesa [Tue, 22 Jul 2014 14:27:11 +0000 (15:27 +0100)]
eolian: lexer line context push/pop/restore/clear
Cedric BAIL [Tue, 22 Jul 2014 14:10:19 +0000 (16:10 +0200)]
evas: do check visibility flag early to not propagate show/hide when not needed.
This should be a proper fix instead of D1217
Daniel Kolesa [Tue, 22 Jul 2014 14:01:09 +0000 (15:01 +0100)]
eolian: include file info in redef errors when different file
Daniel Kolesa [Tue, 22 Jul 2014 13:48:08 +0000 (14:48 +0100)]
eolian: structs and aliases now contain line/column info for better error messages
Daniel Kolesa [Tue, 22 Jul 2014 12:14:44 +0000 (13:14 +0100)]
eolian: new API: eolian_type_structs/aliases_get_by_file
Daniel Kolesa [Tue, 22 Jul 2014 11:11:06 +0000 (12:11 +0100)]
eolian: support for typedefs in c_type_get
Daniel Kolesa [Tue, 22 Jul 2014 10:53:59 +0000 (11:53 +0100)]
eolian: include newly added test files in dist
Cedric BAIL [Tue, 22 Jul 2014 10:51:08 +0000 (12:51 +0200)]
autotools: missing files for make check in a make dist tarball.
Daniel Zaoui [Tue, 22 Jul 2014 10:26:16 +0000 (13:26 +0300)]
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;
}
Jean Guyomarc'h [Tue, 22 Jul 2014 10:39:30 +0000 (12:39 +0200)]
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>
Cedric BAIL [Tue, 22 Jul 2014 10:20:03 +0000 (12:20 +0200)]
autotools: we actually do want portability warning.
This is to avoid people not using gnu stuff to report issue.
Daniel Kolesa [Tue, 22 Jul 2014 09:39:34 +0000 (10:39 +0100)]
eolian: prevent freeing of full named structures that are inside of typedefs and fix a memory leak
Daniel Kolesa [Tue, 22 Jul 2014 09:22:21 +0000 (10:22 +0100)]
eolian: another leak fix
Daniel Kolesa [Tue, 22 Jul 2014 09:15:56 +0000 (10:15 +0100)]
eolian: memory leak fix
Savio Sena [Tue, 22 Jul 2014 08:12:28 +0000 (05:12 -0300)]
modules/evas/gl_common: Distribute rgb_a_pair_*.{h,shd}.
Added missing files to the list of distributed files.
Savio Sena [Tue, 22 Jul 2014 01:56:31 +0000 (22:56 -0300)]
eolian-cxx: Oops. Fixing function_return_is_explicit_void the right way.
Savio Sena [Tue, 22 Jul 2014 01:13:54 +0000 (22:13 -0300)]
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.
Savio Sena [Tue, 22 Jul 2014 00:32:22 +0000 (21:32 -0300)]
eolian-cxx: Removes more warnings.
Savio Sena [Tue, 22 Jul 2014 00:12:00 +0000 (21:12 -0300)]
autotools: Added missing .eo to EXTRA_DIST
This fixes "make dist".
Savio Sena [Tue, 22 Jul 2014 00:11:33 +0000 (21:11 -0300)]
eolian-cxx: Added missing keyword.
Keyword "register" is also used in Elementary.
Savio Sena [Mon, 21 Jul 2014 23:18:51 +0000 (20:18 -0300)]
eina-cxx: Remove warnings from tests.
Savio Sena [Mon, 21 Jul 2014 23:17:44 +0000 (20:17 -0300)]
eolian-cxx: Handle C++ keywords in function names.
When function names are C++ keywords append '_' to it.
Savio Sena [Mon, 21 Jul 2014 22:57:52 +0000 (19:57 -0300)]
eo-cxx: Fixed return of the assignment operator.
Shinwoo Kim [Mon, 21 Jul 2014 17:31:04 +0000 (19:31 +0200)]
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>
Gwanglim Lee [Mon, 21 Jul 2014 17:27:09 +0000 (19:27 +0200)]
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>
Daniel Kolesa [Mon, 21 Jul 2014 16:13:43 +0000 (17:13 +0100)]
eolian/generator: remove check_same
Daniel Kolesa [Mon, 21 Jul 2014 16:12:35 +0000 (17:12 +0100)]
eolian: new API: eolian_type_alias_find_by_name, remove the old APIs that take an alias name, update tests
Daniel Kolesa [Mon, 21 Jul 2014 15:57:45 +0000 (16:57 +0100)]
eolian: rename _types to _aliases
Tom Hacohen [Mon, 21 Jul 2014 14:51:39 +0000 (15:51 +0100)]
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.
Daniel Kolesa [Mon, 21 Jul 2014 15:53:25 +0000 (16:53 +0100)]
eolian: remove Eolian_Typedef, use Eolian_Type instead; allow eolian_type_base_type_get on aliases
Daniel Kolesa [Mon, 21 Jul 2014 15:30:23 +0000 (16:30 +0100)]
eolian: move eina types to namespaced syntax
Daniel Kolesa [Mon, 21 Jul 2014 15:08:06 +0000 (16:08 +0100)]
eolian: database_type_to_str now respects namespaces (and thus the to-C-type conversion API does too)
Daniel Kolesa [Mon, 21 Jul 2014 15:00:57 +0000 (16:00 +0100)]
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
Daniel Kolesa [Mon, 21 Jul 2014 14:11:19 +0000 (15:11 +0100)]
eolian: fill in full_name and namespaces properly, and allow parsing dots in type names
Daniel Kolesa [Mon, 21 Jul 2014 13:38:43 +0000 (14:38 +0100)]
eolian: type_struct_description, type_struct_file -> type_description, type_file
Daniel Kolesa [Mon, 21 Jul 2014 13:27:23 +0000 (14:27 +0100)]
eolian: new APIs: eolian_type_full_name_get, eolian_type_naespaces_list_get
Daniel Kolesa [Mon, 21 Jul 2014 13:14:22 +0000 (14:14 +0100)]
eolian: type_struct_is_extern -> type_is_extern
Daniel Kolesa [Mon, 21 Jul 2014 12:56:20 +0000 (13:56 +0100)]
eolian: initial code and struct layout for revamped alias API
Daniel Zaoui [Mon, 21 Jul 2014 11:42:13 +0000 (14:42 +0300)]
Eina: fix annoying warning during tests.
Daniel Kolesa [Mon, 21 Jul 2014 11:28:25 +0000 (12:28 +0100)]
eolian: typo fix
Daniel Kolesa [Mon, 21 Jul 2014 11:03:51 +0000 (12:03 +0100)]
eolian: add API to retrieve filename for each typedef and struct
Daniel Kolesa [Mon, 21 Jul 2014 10:47:35 +0000 (11:47 +0100)]
eolian: only check redef on actual named structs
Daniel Kolesa [Mon, 21 Jul 2014 10:42:05 +0000 (11:42 +0100)]
eolian: put structs and typedefs right in the respective hashmaps without going through nodes
Daniel Kolesa [Mon, 21 Jul 2014 10:34:14 +0000 (11:34 +0100)]
eolian: check redefinitions in the parser instead (provides line info)
Daniel Kolesa [Mon, 21 Jul 2014 10:22:49 +0000 (11:22 +0100)]
eolian: check for typedef and struct redefinitions
q66 [Sat, 19 Jul 2014 12:00:44 +0000 (13:00 +0100)]
eolian: ouch... fix a major bug, *spanks self*
WooHyun Jung [Sat, 19 Jul 2014 00:50:59 +0000 (09:50 +0900)]
evas: table - when colspan(rowspan) is over 2, padding size should be added.
@ fix
Felipe Magno de Almeida [Fri, 18 Jul 2014 22:23:43 +0000 (19:23 -0300)]
eldbus-cxx: Used inner braces for initialization of inner struct
This removes lots of warnings when compiling with clang.
Felipe Magno de Almeida [Fri, 18 Jul 2014 22:20:55 +0000 (19:20 -0300)]
eolian-cxx: Fixed generation using abstract return-type instead of C type
The _tmp_ret variable should use the native C type and not the
abstracted C++ type.
Felipe Magno de Almeida [Fri, 18 Jul 2014 20:58:45 +0000 (17:58 -0300)]
eolian-cxx: Fixed exapmle with support for complex types
Automatic conversion of Evas_Object* to evas::object wrapper broke the
example. Fixed it by using the new feature :).
Felipe Magno de Almeida [Fri, 18 Jul 2014 20:57:04 +0000 (17:57 -0300)]
eolian-cxx: Fixed inheritance feature with callbacks
The addition of callbacks was making the inheritance to fail. Fixed
generation by using the C types, instead of the abstracted callback
types for the wrapper functions.
Felipe Magno de Almeida [Fri, 18 Jul 2014 20:25:06 +0000 (17:25 -0300)]
eolian-cxx: Added callback test
Added test for callback generation and uses
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:49:12 +0000 (21:49 -0300)]
eolian-cxx: Various and various fixes with callbacks
Mimic the callback function generation for other functions that were
being generated incorrectly and inconsistently.
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:48:56 +0000 (21:48 -0300)]
eolian-cxx: Workaround for callbacks without void* data parameter
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:48:00 +0000 (21:48 -0300)]
eo-cxx: Added a few complex types to lookup table
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:47:36 +0000 (21:47 -0300)]
Fixed type looking up for complex types
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:47:23 +0000 (21:47 -0300)]
Changed uses of std::abort to assert's with better description
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:46:50 +0000 (21:46 -0300)]
eo-cxx: Added support for returning-void function objects
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:46:13 +0000 (21:46 -0300)]
eo-cxx: Removed the necessity of copying for interoperability of containers
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:45:25 +0000 (21:45 -0300)]
eina-cxx: Added move-constructors to lists
Felipe Magno de Almeida [Thu, 17 Jul 2014 18:29:31 +0000 (15:29 -0300)]
eo-cxx: Added default-constructor to wref type
Felipe Magno de Almeida [Thu, 17 Jul 2014 18:29:16 +0000 (15:29 -0300)]
eina-cxx: Added range_list to range types for eina-cxx
Added range_list which abstracts a ptr_list for wrapper types.
Felipe Magno de Almeida [Thu, 17 Jul 2014 17:09:26 +0000 (14:09 -0300)]
eolian-cxx: Workaround for multiple callbacks without corresponding void*data
Added workaround for generating classes with methods that have more
than one callback but doesn't have a corresponding void* data
parameter. E.g., elm_box.eo.
Felipe Magno de Almeida [Thu, 17 Jul 2014 17:07:09 +0000 (14:07 -0300)]
eina-cxx: eldbus-cxx: eo-cxx: Fixed test includes and header installation
Felipe Magno de Almeida [Thu, 17 Jul 2014 17:05:19 +0000 (14:05 -0300)]
eo-cxx: Added catch-all to_c interoperability function
Felipe Magno de Almeida [Thu, 17 Jul 2014 17:02:23 +0000 (14:02 -0300)]
eina-cxx: Fixed includ'ing list and array containers and fixed constructor
Added include for eina_list and eina_array for Eina.hh and fixed the
eina_ptrlist constructor receiving a raw Eina_List*.
Felipe Magno de Almeida [Wed, 16 Jul 2014 23:12:58 +0000 (20:12 -0300)]
eolian-cxx: Fixed double qualifying operator on generated code
Fixed the generation of double qualifying operators on extension
inheritance for classes defined in the global namespace.
Savio Sena [Thu, 17 Jul 2014 07:14:22 +0000 (04:14 -0300)]
eolian-cxx: Fixed complex-types.
Savio Sena [Thu, 17 Jul 2014 07:14:01 +0000 (04:14 -0300)]
eolian-cxx: Updated the examples according to the new syntax.
Savio Sena [Thu, 17 Jul 2014 07:06:07 +0000 (04:06 -0300)]
eolian-cxx: Relevant cosmetics.
Savio Sena [Thu, 17 Jul 2014 07:05:30 +0000 (04:05 -0300)]
eolian-cxx: Fixed the translation of classnames
Savio Sena [Thu, 17 Jul 2014 07:04:51 +0000 (04:04 -0300)]
eo-cxx: Fixed duplicated constructors.
Felipe Magno de Almeida [Wed, 16 Jul 2014 23:13:46 +0000 (20:13 -0300)]
eolian-cxx: Added eo_base extension_inheritance
Added eo::base as a partial specialization for extension inheritance,
since eo::base is not generated.
Felipe Magno de Almeida [Wed, 16 Jul 2014 23:17:10 +0000 (20:17 -0300)]
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.
Felipe Magno de Almeida [Thu, 17 Jul 2014 00:52:22 +0000 (21:52 -0300)]
eolian-cxx: Added empty wrapper constructor
Added empty wrapper constructor to generation from std::nullptr_t and
allowed efl::eo::base to be empty with proper copy-constructors and
assignment operators.
Felipe Magno de Almeida [Wed, 16 Jul 2014 14:04:22 +0000 (11:04 -0300)]
evas-cxx: Added canvas sub-directory to include paths for evas and evas-cxx
These subdirectories are needed because the generated wrappers include them directly.
Felipe Magno de Almeida [Wed, 16 Jul 2014 14:33:42 +0000 (11:33 -0300)]
eolian-cxx: Fixed inheritance extensions not proper qualifying the base class
The generator now globally qualifies the base names, so it works
outside the efl namespace
Savio Sena [Thu, 17 Jul 2014 04:25:45 +0000 (01:25 -0300)]
eolian-cxx: Fixed the translation of the native type.
Savio Sena [Thu, 17 Jul 2014 03:38:13 +0000 (00:38 -0300)]
eolian-cxx: Fixed a bug in class validator.
Savio Sena [Thu, 17 Jul 2014 00:29:47 +0000 (21:29 -0300)]
eolian-cxx: Initial version of complex types / callbacks / events implementation.
Savio Sena [Wed, 16 Jul 2014 19:32:56 +0000 (16:32 -0300)]
eolian-cxx: Added examples.
Added complex types, callbacks and events examples.
Savio Sena [Wed, 16 Jul 2014 19:14:17 +0000 (16:14 -0300)]
eolian-cxx: Added tests.
Savio Sena [Fri, 11 Jul 2014 23:19:30 +0000 (20:19 -0300)]
eina-cxx: Added interop containers.
Savio Sena [Fri, 11 Jul 2014 23:19:01 +0000 (20:19 -0300)]
tests: Added config.h to tests.
Savio Sena [Fri, 11 Jul 2014 23:17:04 +0000 (20:17 -0300)]
examples: Removed compilation warnings.
Daniel Kolesa [Fri, 18 Jul 2014 16:29:25 +0000 (17:29 +0100)]
eolian: disallow the data field in interfaces; it's always null
Felipe Magno de Almeida [Fri, 18 Jul 2014 15:23:32 +0000 (12:23 -0300)]
eolian-cxx: Fixed example eo file
The coulourable.eo file got outdated when Eolian syntax changed, it is
now updated and fixed.