Cedric BAIL [Thu, 21 Aug 2014 11:47:59 +0000 (13:47 +0200)]
eina: add documentation for the tricky eina_hash_pointer_new
Daniel Kolesa [Thu, 21 Aug 2014 10:53:41 +0000 (11:53 +0100)]
eo, autotools: check for mmap feature rather than OS (mmap is POSIX)
Cedric BAIL [Thu, 21 Aug 2014 10:31:07 +0000 (12:31 +0200)]
ecore_evas: Ecore_Evas_X - make sure that ecore evas post render is always called.
This fix a case where when doing asynchronous rendering and no update was done,
the post render evas event would never be triggered and so no call to ecore evas
post render callback were made. Now the async X backend follow all other backend
behavior.
@fix
Tom Hacohen [Thu, 21 Aug 2014 10:02:46 +0000 (11:02 +0100)]
Efl inerfaces: Merge initial efl interfaces work.
This includes the efl interfaces changes as mentioned in:
https://phab.enlightenment.org/w/efl_interfaces/
This is still work in progress, but stable enough to be used.
Cedric BAIL [Thu, 21 Aug 2014 10:04:30 +0000 (12:04 +0200)]
ecore_x: fix debug message and try to shutdown in time.
Jean Guyomarc'h [Thu, 21 Aug 2014 09:27:14 +0000 (11:27 +0200)]
eo: mmap()/unmap() are also supported on OSX
Reviewers: raster, raoulh
@feature
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1240
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jean Guyomarc'h [Thu, 21 Aug 2014 09:23:24 +0000 (11:23 +0200)]
eina: port Eina_Spinlock for OSX
Summary: Support of Spinlocks in Eina (Eina_Spinlock) for OSX, which does not implement them in pthread.
@feature
Reviewers: raster, raoulh, naguirre, cedric, stefan_schmidt
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1151
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Mun, Gwan-gyeong [Thu, 21 Aug 2014 09:22:16 +0000 (11:22 +0200)]
evas: add evas gl-drm engine
Summary: This is the first step to introduce a gl-drm backend.
Test Plan: "ecore evas" create with ecore_evas_gl_drm_new(). It creates "ecore evas" with gl_drm evas backend.
@feature
Reviewers: raster, Hermet, cedric, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1187
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Julien Isorce [Thu, 21 Aug 2014 09:18:41 +0000 (11:18 +0200)]
evas: add example to test transparent background
Summary:
Reviewers: raster, devilhorns, cedric
Subscribers: capOM, cedric
Differential Revision: https://phab.enlightenment.org/D1228
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Thu, 21 Aug 2014 09:16:01 +0000 (11:16 +0200)]
edje: edje_cc - warn people when they do bad things.
Irfan Abdul [Thu, 21 Aug 2014 09:14:22 +0000 (11:14 +0200)]
edje: Edje_cc - fix not storing edc sources in .edj file with --no-save option
Reviewers: govi, raster, jpeg, zmike, cedric
Subscribers: cedric
@fix
Differential Revision: https://phab.enlightenment.org/D1292
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Andrii Kroitor [Thu, 21 Aug 2014 09:11:35 +0000 (11:11 +0200)]
edje: Edje_Edit - fix support for program's targets
Summary:
added support of all action types that use targets to
edje_edit_program_target_add and edje_edit_program_target_del
added targets cleaning to edje_edit_program_action_set to avoid usage of program id
as part id and vise versa.
@fix
Reviewers: cedric, seoz, Hermet
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1342
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Gwanglim Lee [Thu, 21 Aug 2014 09:01:48 +0000 (11:01 +0200)]
evas: Evas_Wayland_Egl - change size of common gl context after egl make current according to current Outbuf's size
Summary:
This fixes broken rendering of the main surface when new surface is created.
Rendering on main surface can be broken due to invalid size of common gl context.
Since common gl context is shared between surfaces, if new surface has been changed
size of common gl context, then rendering on main surface can be broken.
In order to fix problem, engine has to change size of common gl context after egl
make current according to size of current Outbuf.
@fix
Test Plan:
run elementary_test with wayland_egl engine under wayland and click any
button to create new surface. watch the main surface of elementary_test.
Reviewers: devilhorns, raster, stefan_schmidt, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1346
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Gwanglim Lee [Thu, 21 Aug 2014 09:01:17 +0000 (11:01 +0200)]
evas: Evas_wayland_Egl - fix black surface during resize
Summary:
use eng_output_resize of software_generic engine and move wl_egl_window_resize to
eng_outbuf_reconfigure. and remove eng_output_resize of wayland_egl.
@fix
Test Plan: run elementary_test with wayland_egl engine under wayland
Reviewers: devilhorns, raster, stefan_schmidt, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1343
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Gwanglim Lee [Thu, 21 Aug 2014 08:36:13 +0000 (10:36 +0200)]
evas: Evas_Gl_X11 - add missing eng_window_free
Summary:
add missing eng_window_free before return from eng_setup.
@fix
Test Plan: N/A
Reviewers: cedric, raster, devilhorns, stefan_schmidt
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1345
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Tom Hacohen [Fri, 8 Aug 2014 14:40:19 +0000 (15:40 +0100)]
Eo files: Adjust according to latest eolian changes.
Tom Hacohen [Fri, 8 Aug 2014 14:13:05 +0000 (15:13 +0100)]
Ecore exe: Start using the control interface.
Tom Hacohen [Thu, 7 Aug 2014 14:08:26 +0000 (15:08 +0100)]
Ecore Exe: Start using eo events.
Tom Hacohen [Thu, 7 Aug 2014 13:57:50 +0000 (14:57 +0100)]
Ecore Exe: Migrate to eo.
Tom Hacohen [Thu, 7 Aug 2014 11:51:36 +0000 (12:51 +0100)]
Efl interfaces: Add control interface.
Tom Hacohen [Wed, 6 Aug 2014 12:36:06 +0000 (13:36 +0100)]
Emotion object: Convert from a smart object to an eo object.
Tom Hacohen [Wed, 6 Aug 2014 10:56:01 +0000 (11:56 +0100)]
Emotion object: Create .eo file.
Tom Hacohen [Wed, 6 Aug 2014 11:24:41 +0000 (12:24 +0100)]
Efl image: Add ratio property.
Tom Hacohen [Wed, 6 Aug 2014 10:55:36 +0000 (11:55 +0100)]
Efl player: Add player interface.
This is the first version.
Tom Hacohen [Wed, 6 Aug 2014 10:55:00 +0000 (11:55 +0100)]
Efl file: Add eject method.
Tom Hacohen [Fri, 1 Aug 2014 05:38:40 +0000 (06:38 +0100)]
Ecore mainloop: add some more events.
Tom Hacohen [Thu, 24 Jul 2014 16:42:09 +0000 (17:42 +0100)]
Efl interfaces: Add text interface and start using it.
Tom Hacohen [Wed, 23 Jul 2014 16:03:40 +0000 (17:03 +0100)]
Efl interface: Add image interface and start using it.
Tom Hacohen [Wed, 23 Jul 2014 13:07:32 +0000 (14:07 +0100)]
Interfaces: remove interfaces that we don't use.
Tom Hacohen [Tue, 22 Jul 2014 13:55:51 +0000 (14:55 +0100)]
Interface file: Update file interface and use it for image.
Tom Hacohen [Mon, 21 Jul 2014 11:03:55 +0000 (12:03 +0100)]
Efl interfaces: Install missing files.
Tom Hacohen [Mon, 21 Jul 2014 10:47:23 +0000 (11:47 +0100)]
Efl interfaces: Drop interface namespace from the used interfaces.
We don't need this namespace, it just makes the names long and complicated.
Tom Hacohen [Sat, 19 Jul 2014 17:31:16 +0000 (18:31 +0100)]
Efl interfaces: Start using the text_properties interface.
Tom Hacohen [Fri, 18 Jul 2014 15:51:27 +0000 (16:51 +0100)]
Efl interface file: Remove unneeded method.
Felipe Magno de Almeida [Fri, 18 Jul 2014 14:57:26 +0000 (11:57 -0300)]
edje-cxx: Added interfaces subdir of efl project to include path for tests
Tom Hacohen [Thu, 19 Jun 2014 14:24:40 +0000 (15:24 +0100)]
Efl interface file: Start using the new interface.
Tom Hacohen [Fri, 18 Jul 2014 13:40:54 +0000 (14:40 +0100)]
Efl: Create Efl_Cxx makefile and headers.
Tom Hacohen [Fri, 18 Jul 2014 12:38:25 +0000 (13:38 +0100)]
Efl: Create libefl.
Create libefl.so and the interal package for dependencies.
Tom Hacohen [Fri, 20 Jun 2014 11:56:29 +0000 (12:56 +0100)]
Efl eolian: Adjust according to eolian syntax changes.
Tom Hacohen [Mon, 16 Jun 2014 15:12:09 +0000 (16:12 +0100)]
Efl interface part: First draft.
This interface will be used for fetching parts from objects.
The parts can either be real objects or more likely mock objects
that proxy into actual calls on the object.
Tom Hacohen [Mon, 16 Jun 2014 13:24:45 +0000 (14:24 +0100)]
Ecore mainloop: Add .eo implementation.
Tom Hacohen [Mon, 16 Jun 2014 12:42:44 +0000 (13:42 +0100)]
Efl: remove "part" interfaces. Useless.
Daniel Zaoui [Wed, 21 May 2014 12:54:27 +0000 (15:54 +0300)]
Interfaces: Integration into Makefile + fix of .eo
Daniel Zaoui [Wed, 21 May 2014 11:49:47 +0000 (14:49 +0300)]
First draft of interfaces
Julien Isorce [Thu, 21 Aug 2014 09:40:01 +0000 (18:40 +0900)]
xlib: fix undefined behaviour when freeing colormap too early
Summary:
On Ubuntu 14.04 it makes a 32 bit depth window un-responsive
to any XEvent.
Reviewers: cedric, raster
Reviewed By: raster
Subscribers: raster, capOM, cedric
Differential Revision: https://phab.enlightenment.org/D1236
Daniel Kolesa [Thu, 21 Aug 2014 08:25:19 +0000 (09:25 +0100)]
eolian: fix shadow warnings
Daniel Kolesa [Wed, 20 Aug 2014 12:08:33 +0000 (13:08 +0100)]
eolian: remove comma
Daniel Kolesa [Wed, 20 Aug 2014 10:15:32 +0000 (11:15 +0100)]
eolian: NULL the hashes after shutdown
Daniel Kolesa [Wed, 20 Aug 2014 10:08:18 +0000 (11:08 +0100)]
elua: eolian binding fix
Daniel Kolesa [Wed, 20 Aug 2014 09:37:24 +0000 (10:37 +0100)]
elua: update eolian bindings
Daniel Kolesa [Wed, 20 Aug 2014 09:33:44 +0000 (10:33 +0100)]
eolian: new API: eolian_function_is_constructing
Daniel Kolesa [Tue, 19 Aug 2014 15:37:29 +0000 (16:37 +0100)]
eolian: prevent potential on-error memory leaks
Daniel Kolesa [Tue, 19 Aug 2014 14:55:31 +0000 (15:55 +0100)]
eolian: support for setting a free function to values in eo files
Daniel Kolesa [Tue, 19 Aug 2014 10:53:50 +0000 (11:53 +0100)]
eolian: reduce code duplication
Daniel Kolesa [Mon, 18 Aug 2014 16:22:31 +0000 (17:22 +0100)]
eolian: fix tests
Daniel Kolesa [Mon, 18 Aug 2014 16:15:50 +0000 (17:15 +0100)]
eolian: remove a bunch of pointless stringshare refs + fix in lua
Daniel Kolesa [Mon, 18 Aug 2014 14:04:10 +0000 (15:04 +0100)]
eolian/generator: support for legacy-only functions
Daniel Kolesa [Mon, 18 Aug 2014 13:58:35 +0000 (14:58 +0100)]
eolian: legacy only test
Daniel Kolesa [Mon, 18 Aug 2014 13:51:03 +0000 (14:51 +0100)]
eolian: support "eo: null;" for legacy only functions/properties
Daniel Kolesa [Mon, 18 Aug 2014 13:00:32 +0000 (14:00 +0100)]
elua: update lualian
Daniel Kolesa [Mon, 18 Aug 2014 12:48:11 +0000 (13:48 +0100)]
elua: update eolian bindings
Daniel Kolesa [Mon, 18 Aug 2014 12:12:08 +0000 (13:12 +0100)]
eolian: drop Eina_Value
Because of Eina_Value being less than optimal in our usage, we're dropping it in Eolian.
This simplifies the code and makes it easier to bind to other languages, which
will aid new generators. Also, we're dropping long double support from eo files
and expressions as it causes an ABI breakage in gcc 4.4.
Daniel Kolesa [Fri, 15 Aug 2014 13:14:43 +0000 (14:14 +0100)]
eolian: remove the remaining superfluous database_ functions
Daniel Kolesa [Fri, 15 Aug 2014 12:51:41 +0000 (13:51 +0100)]
eolian: first batch of database_ functions removal (simplifies code)
Daniel Kolesa [Fri, 15 Aug 2014 10:52:11 +0000 (11:52 +0100)]
eolian: get rid of the data hash in Eolian_Function
Daniel Kolesa [Fri, 15 Aug 2014 10:07:06 +0000 (11:07 +0100)]
eolian: prevent potential memory leakage on error
Daniel Kolesa [Wed, 13 Aug 2014 15:44:31 +0000 (16:44 +0100)]
eolian: don't need this one
Daniel Kolesa [Wed, 13 Aug 2014 15:43:18 +0000 (16:43 +0100)]
eolian: add support for opaque struct types (+ tests)
Daniel Kolesa [Wed, 13 Aug 2014 13:54:54 +0000 (14:54 +0100)]
eolian/generator: support for private and protected events
Daniel Kolesa [Wed, 13 Aug 2014 13:08:00 +0000 (14:08 +0100)]
eolian: get rid of eolian_parameter_information_get
Daniel Kolesa [Wed, 13 Aug 2014 12:09:03 +0000 (13:09 +0100)]
eolian: API refactoring
Remove eolian_implement_information_get. Also, fix some nasty lookup problems.
Daniel Kolesa [Wed, 13 Aug 2014 11:06:48 +0000 (12:06 +0100)]
eolian: API refactoring
Start getting rid of the terrible _information_get APIs, starting with events.
Daniel Kolesa [Wed, 13 Aug 2014 10:53:33 +0000 (11:53 +0100)]
eolian: new API: eolian_class_event_scope_get
Daniel Kolesa [Wed, 13 Aug 2014 10:25:04 +0000 (11:25 +0100)]
eolian: add comments containing original expressions to generated enum fields
This required a new API, eolian_expression_serialize.
Daniel Kolesa [Wed, 13 Aug 2014 09:38:04 +0000 (10:38 +0100)]
eolian: allow usage of stack Eina_Value in expr API
Daniel Kolesa [Tue, 12 Aug 2014 16:24:24 +0000 (17:24 +0100)]
eolian: new API: eolian_type_enum_legacy_prefix_set + generator changes
This change adds a new API to retrieve the legacy prefix for enum members
and also adds support for generating enums into the C generator. Besides that,
it prevents generation of entire struct contents when the .eo file declares
a named struct inside of a typedef - as the struct itself gets generated later on.
Daniel Kolesa [Tue, 12 Aug 2014 15:46:53 +0000 (16:46 +0100)]
eolian: working more in-depth enum test
Daniel Kolesa [Tue, 12 Aug 2014 15:29:02 +0000 (16:29 +0100)]
eolian: struct/enum fixes and initial test for enums
Daniel Kolesa [Tue, 12 Aug 2014 14:26:48 +0000 (15:26 +0100)]
eolian: new APIs
This adds eolian_show_enum, eolian_show_global, eolian_show_constant.
Daniel Kolesa [Tue, 12 Aug 2014 14:07:46 +0000 (15:07 +0100)]
eolian: order fields in structs and enums properly
I don't know what I was thinking, struct and enum fields need to be ordered
so now we keep a separate list around containing the field names in correct order.
Daniel Kolesa [Tue, 12 Aug 2014 13:48:31 +0000 (14:48 +0100)]
eolian: add missing pieces of minor infra for enum
Daniel Kolesa [Tue, 12 Aug 2014 13:25:53 +0000 (14:25 +0100)]
eolian: enum API implementation
This implements the previously declared APIs to manipulate enum types. Also,
it implements the appropriate lookups in expression evaluation so that you
can refer to constants and enums inside constant expressions.
Daniel Kolesa [Tue, 12 Aug 2014 12:11:13 +0000 (13:11 +0100)]
eolian: allow namespaces when referring to constants in exprs
Daniel Kolesa [Mon, 11 Aug 2014 13:56:50 +0000 (14:56 +0100)]
eolian: initial parsing code and API declarations for enums
Daniel Kolesa [Fri, 8 Aug 2014 15:28:31 +0000 (16:28 +0100)]
eolian: test for constants/globals
Also added API to retrieve value of a variable (forgot about that one)
and made it impossible to create extern constants (doesn't make sense)
as well as made it impossible to give extern globals values.
Daniel Kolesa [Fri, 8 Aug 2014 14:57:39 +0000 (15:57 +0100)]
eolian: var parsing (global and constant)
This makes the API effectively functional. Also, I added new API
eolian_variable_is_extern to match structs and typedefs.
Daniel Kolesa [Fri, 8 Aug 2014 14:26:48 +0000 (15:26 +0100)]
eolian: expose new variable API
Daniel Kolesa [Fri, 8 Aug 2014 14:19:52 +0000 (15:19 +0100)]
eolian: add infrastructure for globals and constants
Nothing parses yet, and no API is exposed. Also, move the remaining instances of file
inside of existing structures to Eolian_Object and parse basename only once.
Daniel Kolesa [Fri, 8 Aug 2014 12:16:02 +0000 (13:16 +0100)]
eolian: consume private/protected modifier on events
Daniel Kolesa [Fri, 8 Aug 2014 10:47:21 +0000 (11:47 +0100)]
eolian: support for single-line doc comments
Daniel Kolesa [Fri, 8 Aug 2014 10:32:07 +0000 (11:32 +0100)]
eolian: expression mode for lexer
This way we can only lex expr related tokens (operators etc.) when actually
about to parse an expression. That allows stuff like nested complex types
without the lexer treating the endings as right shift.
Daniel Kolesa [Fri, 8 Aug 2014 10:22:41 +0000 (11:22 +0100)]
eolian: fix tests
Tom Hacohen [Thu, 7 Aug 2014 13:01:23 +0000 (14:01 +0100)]
Eolian parser: Allow tagging properties with @constructor.
Thanks to Quaker for the exact directions.
Daniel Kolesa [Wed, 6 Aug 2014 11:38:40 +0000 (12:38 +0100)]
eolian: consume the comment token in properties
This is to add syntax for later combined get/set property docs functionality.
Daniel Kolesa [Thu, 7 Aug 2014 15:58:45 +0000 (16:58 +0100)]
eolian: more consistent syntax
"legacy foo" is now "legacy: foo" and "return foo" is now "return: foo".
Daniel Kolesa [Thu, 7 Aug 2014 15:43:35 +0000 (16:43 +0100)]
eolian: fix null serialization
Daniel Kolesa [Thu, 7 Aug 2014 15:32:08 +0000 (16:32 +0100)]
eolian: better doc
Daniel Kolesa [Thu, 7 Aug 2014 15:29:03 +0000 (16:29 +0100)]
eolian: eolian_type_name_get now returns the eo name, not c name
so instead of "unsigned int" you get "uint". This is important for handling of
expressions and cross-language interoperability. You can use c_type_get on the
base type to get the C name. Also, append the appropriate suffix to number literals
when calling eolian_expression_value_to_literal.
Daniel Kolesa [Thu, 7 Aug 2014 14:46:11 +0000 (15:46 +0100)]
eolian: expression improvements
Character literals now allow escape sequences. Strings created by
eolian_expression_value_to_literal are now fully escaped.
Daniel Kolesa [Thu, 7 Aug 2014 14:15:07 +0000 (15:15 +0100)]
eolian: initial API for expression evaluation
This commit also does several side (related) changes. Particularly, it updates
the Eolian C generator to use the new API, it adds missing expr types (null, char)
and masks, updates the API dealing with default return values to use expressions
instead of strings and does several fixes (mainly in lexer) around the place.
It also disallows single quoted strings as those are reserved for characters.