Savio Sena [Thu, 24 Jul 2014 18:45:53 +0000 (15:45 -0300)]
eolian-cxx: Removed unused code.
Sanitized grammar removing old code which is not unecessary for good.
Savio Sena [Wed, 23 Jul 2014 20:07:40 +0000 (17:07 -0300)]
eolian-cxx: Fixed a bug in the generator.
It was not considering the variable name correctly.
Felipe Magno de Almeida [Thu, 24 Jul 2014 21:53:20 +0000 (18:53 -0300)]
eolian-cxx: Enhance test for callback use
Added test for use of Eolian callbacks in C++. Testing adding
callbacks, calling callbacks and deleting them.
Chris Michael [Thu, 24 Jul 2014 15:33:21 +0000 (11:33 -0400)]
ecore-drm: Fix improper shutdown for error cases in ecore_drm_init
If an error occurs during ecore_drm_init, we need to cleanup things in
the proper order. This fixes the case where ecore_event_shutdown and
ecore_shutdown May Not have been called (in previous revision) due to
the error conditions being out of order.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Tom Hacohen [Thu, 24 Jul 2014 14:01:36 +0000 (15:01 +0100)]
Eo base: Fix marking of eolian functions with EOLIAN.
Tom Hacohen [Thu, 24 Jul 2014 13:41:23 +0000 (14:41 +0100)]
Eo base: Mark class methods.
Use the new @class attribute to mark class methods.
Daniel Kolesa [Thu, 24 Jul 2014 14:32:34 +0000 (15:32 +0100)]
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.
Daniel Kolesa [Thu, 24 Jul 2014 13:01:33 +0000 (14:01 +0100)]
eolian: add test for class methods/properties
This also fixes a bug in the Eolian parser that handles class properties.
Daniel Kolesa [Thu, 24 Jul 2014 12:01:47 +0000 (13:01 +0100)]
eolian: parser support for constructor qualifier
This will be needed when the constructors {} section goes away.
Daniel Kolesa [Thu, 24 Jul 2014 11:58:29 +0000 (12:58 +0100)]
eolian: protected ctors
Daniel Kolesa [Thu, 24 Jul 2014 11:15:55 +0000 (12:15 +0100)]
eolian/generator: add support for class methods/properties
Daniel Kolesa [Thu, 24 Jul 2014 11:05:12 +0000 (12:05 +0100)]
eolian: add support for class functions
Daniel Zaoui [Thu, 24 Jul 2014 08:55:08 +0000 (11:55 +0300)]
Eolian: Generate typedefs and structs.
This patch permits the generation of typedefs and structs in the
legacy and Eo header files. It includes tests.
Daniel Zaoui [Mon, 21 Jul 2014 11:43:17 +0000 (14:43 +0300)]
Eolian: little refactoring of the C generator.
This change is a preparation for the generation of the types and a
little cleaning.
Carsten Haitzler (Rasterman) [Thu, 24 Jul 2014 08:18:35 +0000 (17:18 +0900)]
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
Carsten Haitzler (Rasterman) [Thu, 24 Jul 2014 06:22:40 +0000 (15:22 +0900)]
fix some formatting in ico loader
Jaehwan Kim [Thu, 24 Jul 2014 05:50:25 +0000 (14:50 +0900)]
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
Daniel Kolesa [Wed, 23 Jul 2014 23:32:06 +0000 (00:32 +0100)]
eolian/generator: fix coverity issues
Fixes CID 1228663 and 1228634.
Daniel Kolesa [Wed, 23 Jul 2014 18:38:08 +0000 (19:38 +0100)]
Revert "eina: new API: eina_file_path_basename"
This reverts commit
68282f8c42c6e0c3d66cf298e1a763a0d12b81cf.
This is actually not needed because of presence of basename in Evil.
Daniel Kolesa [Wed, 23 Jul 2014 18:37:03 +0000 (19:37 +0100)]
eolian: use libgen.h basename
Daniel Kolesa [Wed, 23 Jul 2014 16:19:34 +0000 (17:19 +0100)]
eolian: fix tests
Daniel Kolesa [Wed, 23 Jul 2014 16:15:00 +0000 (17:15 +0100)]
eolian: use just filename (not path) for eolian_class_get_by_file
Daniel Kolesa [Wed, 23 Jul 2014 16:04:04 +0000 (17:04 +0100)]
eina: new API: eina_file_path_basename
Jean Guyomarc'h [Wed, 23 Jul 2014 14:56:16 +0000 (16:56 +0200)]
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
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.