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
Carsten Haitzler
2da95771d4
ecore-evas - enable attempting to turn on dri2 vsync
...
this enables the x11 dri2 vsync enabling code for x11 ecore-evas
2014-07-25 14:45:50 +09:00
Savio Sena
e0dc04fe04
eolian-cxx: Removed a warning from the example.
2014-07-24 19:52:23 -03:00
Savio Sena
2214ae92a2
autotools: Fixed 'make dist' for Eolian-Cxx
...
Added .eo to EXTRA_DIST and *_stub.h to example's source lists.
2014-07-24 19:52:23 -03:00
Savio Sena
3e43bb57d8
eolian-cxx: Added example of Eo implementation in C++.
...
Instead of implementing Eo functions in C we do it in C++ simply.
2014-07-24 19:52:23 -03:00
Savio Sena
fb82d67ab1
eolian-cxx: Fixed inheritance operations generation rules.
...
The generated code was not converting the types from C to C++ correctly.
2014-07-24 19:52:23 -03:00
Savio Sena
d0b09ea0df
eo-cxx: Added _release to efl::eo::inherit.
...
Just like previously added in efl::eo::base.
2014-07-24 19:52:23 -03:00
Savio Sena
bd68d29968
eolian-cxx: Added grammar rule parameters_cxx_list.
...
Now with the correct semantics: list parameters converting to C++.
2014-07-24 19:52:23 -03:00
Savio Sena
425f220f92
eo-cxx: Added generic parent_type and parent_set.
...
This allows us to use any type implementing _eo_ptr() with the parent
idiom "efl::eo::parent = obj" and also with efl::eo::inherit parent_set.
2014-07-24 19:52:23 -03:00
Savio Sena
90f46e36f2
eolian-cxx: Renamed parameters_cxx_list -> constructor_parameters_list
2014-07-24 19:52:23 -03:00
Savio Sena
cc04dff0b9
eolian-cxx: Removed unused code.
...
Sanitized grammar removing old code which is not unecessary for good.
2014-07-24 19:52:23 -03:00
Savio Sena
dcb75cdc1d
eolian-cxx: Fixed a bug in the generator.
...
It was not considering the variable name correctly.
2014-07-24 19:52:23 -03:00
Felipe Magno de Almeida
2979f8dcef
eolian-cxx: Enhance test for callback use
...
Added test for use of Eolian callbacks in C++. Testing adding
callbacks, calling callbacks and deleting them.
2014-07-24 18:53:46 -03:00
Chris Michael
0001b65783
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>
2014-07-24 11:33:21 -04:00
Tom Hacohen
ab38ffd6ed
Eo base: Fix marking of eolian functions with EOLIAN.
2014-07-24 15:35:00 +01:00
Tom Hacohen
490eebabea
Eo base: Mark class methods.
...
Use the new @class attribute to mark class methods.
2014-07-24 15:35:00 +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
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