Tom Hacohen [Fri, 20 Jun 2014 10:14:59 +0000 (11:14 +0100)]
Eo (base class): Fix .eo file to have proper namespacing for the class naem.
Tom Hacohen [Fri, 27 Jun 2014 18:25:45 +0000 (19:25 +0100)]
Ecore examples: Add ecore_compose_get() example.
Example created by Vincent Torri.
Daniel Kolesa [Mon, 30 Jun 2014 16:41:30 +0000 (17:41 +0100)]
Merging 'devs/q66/eolian_types'
This gets in new type syntax in eo files as well as brand new
API for handling types and updated generators.
Daniel Kolesa [Mon, 30 Jun 2014 16:40:09 +0000 (17:40 +0100)]
Merging 'devs/q66/eolian_experimental'
This gets in several changes - such as new eolian API for deduplication
of names, support for eot files and processing of classes and typedefs
in sequence.
Daniel Kolesa [Fri, 27 Jun 2014 14:41:06 +0000 (15:41 +0100)]
eolian/tests: warning fixes
Daniel Kolesa [Fri, 27 Jun 2014 14:39:19 +0000 (15:39 +0100)]
eolian: make tests pass
Daniel Kolesa [Fri, 27 Jun 2014 13:47:40 +0000 (14:47 +0100)]
eolian: new type API
This new API supports function pointer types, multiple type subtypes, const attribute without parsing
the name string, own attribute for any partial type and more. This commit also updates the C and C++
generators so that they compile and generate correct code.
@feature
Daniel Kolesa [Fri, 27 Jun 2014 11:49:21 +0000 (12:49 +0100)]
eolian: transform tests to the new @own syntax
Daniel Kolesa [Fri, 27 Jun 2014 10:06:27 +0000 (11:06 +0100)]
eolian: preparation for new type API
Daniel Kolesa [Fri, 27 Jun 2014 09:55:54 +0000 (10:55 +0100)]
eolian: type -> typedef
Daniel Kolesa [Thu, 26 Jun 2014 14:55:18 +0000 (15:55 +0100)]
eolian: allow multiple subtypes by reorganizing the type structure - preparation for new API
Daniel Kolesa [Thu, 26 Jun 2014 13:27:45 +0000 (14:27 +0100)]
eolian/lexer: new keyword (func) plus new token (->) - for function pointer types
Daniel Kolesa [Thu, 26 Jun 2014 13:11:52 +0000 (14:11 +0100)]
eolian: builtin fixed size integer types, floating point types and void
Daniel Kolesa [Thu, 26 Jun 2014 11:02:19 +0000 (12:02 +0100)]
eolian: support for C type translation in eo lexer
Daniel Kolesa [Thu, 26 Jun 2014 10:51:08 +0000 (11:51 +0100)]
eolian: handle new type syntax in parser
Daniel Kolesa [Thu, 26 Jun 2014 10:50:29 +0000 (11:50 +0100)]
eolian: remove all occurences of unsigned
Daniel Kolesa [Thu, 26 Jun 2014 09:52:17 +0000 (10:52 +0100)]
eolian: modify all eo files according to the new type syntax
Daniel Kolesa [Tue, 24 Jun 2014 16:23:13 +0000 (17:23 +0100)]
elua: use the new dedup API in lualian
Daniel Kolesa [Tue, 24 Jun 2014 16:20:33 +0000 (17:20 +0100)]
eolian_cxx: use the new eolian dedup API
Daniel Kolesa [Tue, 24 Jun 2014 16:15:17 +0000 (17:15 +0100)]
eolian: new API: eolian_function_full_c_name_get - reduces duplication of code
Daniel Kolesa [Tue, 24 Jun 2014 15:34:21 +0000 (16:34 +0100)]
eolian: free the iterator
Daniel Kolesa [Tue, 24 Jun 2014 13:21:32 +0000 (14:21 +0100)]
eolian_cxx/generator: support for eot files
Daniel Kolesa [Tue, 24 Jun 2014 12:56:41 +0000 (13:56 +0100)]
elua: update lualian against latest changes
Daniel Kolesa [Tue, 24 Jun 2014 12:45:51 +0000 (13:45 +0100)]
eolian: introducing support for .eot files
.eot files are similar to .eo, but they can't contain classes; all .eot files found in include paths
are parsed and information is added into the database. They're there for typedefs and eventually also
enums, structs and constants.
@feature
Daniel Kolesa [Mon, 23 Jun 2014 18:04:20 +0000 (19:04 +0100)]
eolian: process classes and typedefs in order
Stefan Schmidt [Fri, 27 Jun 2014 14:53:54 +0000 (16:53 +0200)]
evas/drm: Remove obsolete tty open function
We use ecore_drm for this already. Remove this non-used version.
Stefan Schmidt [Fri, 27 Jun 2014 14:21:32 +0000 (16:21 +0200)]
evas/drm: Make use of ecore_drm for opening DRM device
We use this functionality already from ecore_drm. The evas version does
not even use udev to acquire the device which means we could not support
hotplugging. The only missing feature was the capability check for
DUMB_BUFFER which I added to ecore_drm now.
Stefan Schmidt [Fri, 27 Jun 2014 14:18:21 +0000 (16:18 +0200)]
ecore_drm: Make struct Ecore_Drm_Device available
Allow the struct to be used by other parts and not only ecore_drm.
This is needed to use ecore_drm in the evas drm engine.
Stefan Schmidt [Fri, 27 Jun 2014 13:30:35 +0000 (15:30 +0200)]
ecore_drm: Test drm device for DUMB BUFFER capability
Without this we can't do software rendering on the DRM device.
Stefan Schmidt [Fri, 27 Jun 2014 13:29:38 +0000 (15:29 +0200)]
ecore_drm: Use CLOEXEC option when openning drm device
Stefan Schmidt [Fri, 27 Jun 2014 09:03:55 +0000 (11:03 +0200)]
ecore_drm: Iterate over all available connectors not just the first
Maybe this was here for some debugging? It does not make any sense though
to loop over all connectors but break out of the loop after the first run.
Boris Faure [Sun, 29 Jun 2014 21:11:15 +0000 (23:11 +0200)]
lz4: fix shadow issue
@fix
Vincent Torri [Sun, 29 Jun 2014 15:57:20 +0000 (17:57 +0200)]
ecore_win32: discard WM_MOUSEMOVE message if it has the same mouse coordinates than the previous one. See link in commit for an explanation
Vincent Torri [Sun, 29 Jun 2014 15:33:43 +0000 (17:33 +0200)]
ecore_win32: activate an Ecore window when raising it
Vincent Torri [Sun, 29 Jun 2014 15:24:54 +0000 (17:24 +0200)]
ecore_win32: fix the raise of an Ecore Window overlapped by another window when clicking on the title bar
Vincent Torri [Sun, 29 Jun 2014 15:01:01 +0000 (17:01 +0200)]
ecore_win32: simplify logic
To avoid flickering, we have to manage WM_ERASEBKGND. This message
is sent because CS_HREDRAW and CS_VREDRAW are used when registering
the window class. So just omit CS_HREDRAW and CS_VREDRAW.
Cedric BAIL [Sun, 29 Jun 2014 17:56:12 +0000 (19:56 +0200)]
ecore_win32: fix typo.
wonguk.jeong [Sun, 29 Jun 2014 13:04:03 +0000 (15:04 +0200)]
evas: fix jpeg loader rotation by metadata (exif)
Summary:
90 or 270 degree rotation is not working properly
width should be regarded as height, and vice versa.
if this patch and D1082 were commited, rotation from metadata will be working properly by using evas_object_image_load_orientation_set()
@fix
Test Plan: add image object and invoke evas_object_image_load_orientation_set() -> load file with orientation metadata -> check whether image is rotated properly or not
Reviewers: raster, cedric, jpeg
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D1084
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
wonguk.jeong [Sun, 29 Jun 2014 11:10:15 +0000 (13:10 +0200)]
jpeg loader: exif parsing bug fix
Summary:
problem: orientation information was not come out properly
byte align value was wrong. 0x4949 is II not MM
refer to http://www.media.mit.edu/pia/Research/deepview/exif.html
@fix
Reviewers: raster, cedric, jpeg
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D1082
Wonguk Jeong [Sun, 29 Jun 2014 11:04:16 +0000 (13:04 +0200)]
jpeg laoder: exif orientation test added
Summary:
currently, normal orientation tests are only added.
I'm going to add flipped orientation tests as well after I put related code in jpeg loader (currently it's not supported)
Reviewers: raster, cedric, jpeg
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D1098
Cedric BAIL [Sun, 29 Jun 2014 10:56:56 +0000 (12:56 +0200)]
lz4: fix possible security issue.
See :
- http://fastcompression.blogspot.fr/2014/06/lets-move-on.html
- http://www.openwall.com/lists/oss-security/2014/06/26/25
@fix
Cedric BAIL [Fri, 27 Jun 2014 14:59:51 +0000 (16:59 +0200)]
windows: make those warning explicit about what they imply.
ChunEon Park [Fri, 27 Jun 2014 12:47:00 +0000 (21:47 +0900)]
evas/gl - ... removed white trailing.
ChunEon Park [Fri, 27 Jun 2014 12:38:30 +0000 (21:38 +0900)]
evas/gl: fix indentation.
ChunEon Park [Fri, 27 Jun 2014 12:29:24 +0000 (21:29 +0900)]
evas/gl: improve the rendering quality.
To avoid texture bleeding in the texture atlas,
we adjust texture uv point as much as a half uv point.
Especially, this improves the rendering quality when the image has the border
area.
Unless apply this patch,
You might find the rendering result is different with software backened,
if the image has the borders.
In the software backened,
the border line was clear but the gl wasn't.
because the border line was interpolated so the rendering result was not the one we expected.
@fix
Cedric BAIL [Fri, 27 Jun 2014 11:49:59 +0000 (13:49 +0200)]
evas: fix warning and remove useless code.
Cedric BAIL [Fri, 27 Jun 2014 11:47:44 +0000 (13:47 +0200)]
evas: read fullscreen flags from initialized value.
Cedric BAIL [Fri, 27 Jun 2014 10:30:28 +0000 (12:30 +0200)]
evas: fix warning in DDraw backend.
Cedric BAIL [Fri, 27 Jun 2014 11:45:06 +0000 (13:45 +0200)]
evas: silent some warning during Windows backend build.
Cedric BAIL [Fri, 27 Jun 2014 11:41:39 +0000 (13:41 +0200)]
ecore_file: this parameter is indeed not used.
Cedric BAIL [Fri, 27 Jun 2014 11:41:20 +0000 (13:41 +0200)]
ecore_con: just a reminder to look at later.
Cedric BAIL [Fri, 27 Jun 2014 11:34:02 +0000 (13:34 +0200)]
ecore_win32: another forgotten read that is unecessary in current setup.
Cedric BAIL [Fri, 27 Jun 2014 11:27:33 +0000 (13:27 +0200)]
ecore_win32: silent warning by reading the returned value in a useful way.
Cedric BAIL [Fri, 27 Jun 2014 11:23:37 +0000 (13:23 +0200)]
eina: silence warning of unused parameter on Windows.
Cedric BAIL [Fri, 27 Jun 2014 11:22:37 +0000 (13:22 +0200)]
eina: use the right function prototype on Windows.
Cedric BAIL [Fri, 27 Jun 2014 11:20:39 +0000 (13:20 +0200)]
ecore_evas: remove warning from Windows backend.
Tom Hacohen [Thu, 26 Jun 2014 19:14:42 +0000 (20:14 +0100)]
Edje C++: Fix Edje.hh generation to update correctly.
Andrii Kroitor [Thu, 26 Jun 2014 10:34:35 +0000 (19:34 +0900)]
edje: textblock style loading changed
Summary:
Keeping "font=", "font_size=" and "text_class" in tag->value fixes
style loading issues (after saving edj file with edje_edit_save method).
Reviewers: cedric, raster, seoz, Hermet, tasn
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D940
@fix
ChunEon Park [Thu, 26 Jun 2014 08:00:37 +0000 (17:00 +0900)]
evas/png - better way to support png grayscale with transparency format.
suggested by cedric.
Chris Michael [Wed, 25 Jun 2014 17:20:13 +0000 (13:20 -0400)]
ecore-evas: Fix formatting and remove whitespace
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 25 Jun 2014 17:11:16 +0000 (13:11 -0400)]
ecore-evas: Fix cursor position getting reset to 0,0 when using
ecore_evas_cursor_object_set
NB: Previously, if we mad calls to ecore_evas_cursor_object_set to update the
mouse cursor hotspot, the mouse cursor would be repositioned at 0,0 on
the canvas due to x & y being set to 0,0. We fix that here by fetching
the current mouse position Regardless if we are changing the object or
not (ie: perhaps we are just updating the hotspot and not the object)
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
ChunEon Park [Wed, 25 Jun 2014 12:46:49 +0000 (21:46 +0900)]
evas/gl - fix to render grayscale with transparency format in gl backened.
In case of png, grayscale with transparency format (transparency doesn't mean the png has alpha channel)
gl doesn't prepare that format render.
In this case, set it argb8888 to convert the data in the png loader.
@fix
Chris Michael [Tue, 24 Jun 2014 18:30:40 +0000 (14:30 -0400)]
ecore-evas: Fix some doxy grammar and spelling
NB: Rewrite the doxy paragraph for ecore_evas_object_cursor_set.
Previous documentation there was a bit confusing in how it read.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Vorobiov Vitalii [Tue, 24 Jun 2014 14:11:09 +0000 (17:11 +0300)]
Documentation: adding missed documentation to edcref (map.color param)
Summary:
There is param (of the map block in part's description) that allows user to
set a color for specified vertex/point of that part.
That param was undocumented so actually no one know that this param is exist and can be used in edj file.
Two main fixes:
- adding documentation for map.color param in edc reference.
- adding .edc source code example for seeing how map.color param works.
@fix
Reviewers: cedric, Hermet, raster, seoz
Reviewed By: cedric
CC: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1083
MinJeong Kim [Tue, 24 Jun 2014 13:00:56 +0000 (09:00 -0400)]
eina-tiler: Fix invalid read on eina tiler
Summary:
Fix invalid read on eina tiler reported by valgrind.
This revision will prevent access to data that was gained from eina iterator, after free of eina_iterator.
Test Plan:
1. Build enlightenment on devs/devilhorns/e_comp_wl branch with efl applyied this patch.
2. Run enlightenment with valgrind options.
3. build enlightenment with this patch
4. Run any wayland app on enlightenment
5. There will be no more invalid read message by valgrind.
Reviewers: cedric, devilhorns, raster, gwanglim, zmike
CC: cedric
Differential Revision: https://phab.enlightenment.org/D1080
Cedric BAIL [Tue, 24 Jun 2014 08:25:27 +0000 (10:25 +0200)]
eina: fix build on windows.
Add necessary include for proper compilation.
@fix
Daniel Kolesa [Mon, 23 Jun 2014 17:44:11 +0000 (18:44 +0100)]
Revert "eolian: process classes and typedefs in order (preparation for later potential extension)"
This reverts commit
7c28de061693fdc9a9409039692a4298bfb587c6.
Daniel Kolesa [Mon, 23 Jun 2014 17:43:23 +0000 (18:43 +0100)]
Revert "eolian: generalized node append"
This reverts commit
98d25243aa053422307afab579ed59eb29f5b05f.
Reason: accidentally got into master... I'm tired.
Daniel Kolesa [Mon, 23 Jun 2014 14:38:23 +0000 (15:38 +0100)]
eolian: generalized node append
Daniel Kolesa [Mon, 23 Jun 2014 14:32:17 +0000 (15:32 +0100)]
eolian: process classes and typedefs in order (preparation for later potential extension)
Daniel Kolesa [Mon, 23 Jun 2014 13:16:12 +0000 (14:16 +0100)]
elua: eo_prefix fix + add method name deduplication to lua generator
Daniel Kolesa [Mon, 23 Jun 2014 13:05:50 +0000 (14:05 +0100)]
elua: eo_prefix_get will always return a valid value
Kateryna Fesyna [Mon, 23 Jun 2014 09:26:25 +0000 (11:26 +0200)]
edje: Edje_Edit - add edje_edit_sound_tone_add() function that allows user to add new tone to collection
Summary:
New function provides the ability to add new tones to currently loaded collection.
It takes the name that will define new tone in collection and its frequency as parameters.
@feature
Reviewers: cedric, Hermet, seoz, raster
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1023
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Kateryna Fesyna [Mon, 23 Jun 2014 09:23:07 +0000 (11:23 +0200)]
edje: Edje_Edit - add functions that provide the ability to set and get source for proxy parts state
Summary:
This commit contains two new functions that provide the ability to set and get
source property of proxy parts state:
edje_edit_state_proxy_source_get() and edje_edit_state_proxy_source_set().
Also it contains the implementation of printing source data on
edc code generation.
@feature
Reviewers: cedric, Hermet, seoz, raster, reutskiy.v.v
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1061
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Kateryna Fesyna [Mon, 23 Jun 2014 09:18:59 +0000 (11:18 +0200)]
edje: Edje_Edit - add missed iterator and object deletion in _delete_play_actions() function
Summary:
this commit adds missed eina_iterator_free() and evas_object_del() calls
in _delete_play_actions() functions.
@feature
Reviewers: cedric, Hermet, seoz, raster, reutskiy.v.v, tasn
Reviewed By: reutskiy.v.v
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1059
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Maksym Volodin [Mon, 23 Jun 2014 09:17:51 +0000 (11:17 +0200)]
edje: Edje_Edit - add edje_edit_part_item_del.
Summary:
Delete exist item from part. This part should have BOX or TABLE type.
In parametr - name of exist item to delete it from BOX or TABLE.
@feature
Reviewers: cedric, Hermet, seoz, raster, reutskiy.v.v
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1070
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Andrii Kroitor [Mon, 23 Jun 2014 09:16:37 +0000 (11:16 +0200)]
edje: Edje_Edit - add API for missing map properties
Summary:
added getters & setters for
collections.group.parts.part.description.perspective.zplane
collections.group.parts.part.description.perspective.focal
collections.group.parts.part.description.map.rotation: x, y, z
collections.group.parts.part.description.map.smooth
collections.group.parts.part.description.map.alpha
collections.group.parts.part.description.map.perspective_on
collections.group.parts.part.description.map.backface_cull
@feature
Reviewers: cedric, raster, seoz, Hermet
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D1071
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Cedric BAIL [Mon, 23 Jun 2014 09:25:04 +0000 (11:25 +0200)]
ecore_win23: oops forgotten path.
Vincent Torri [Sun, 22 Jun 2014 15:33:34 +0000 (17:33 +0200)]
ecore: fix ecore main loop on Windows when number of objects is greater that MAXIMUM_WAIT_OBJECTS
@fix
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Vincent Torri [Sat, 21 Jun 2014 16:02:19 +0000 (18:02 +0200)]
ecore_win32: fix key events on Windows.
@fix
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
ChunEon Park [Mon, 23 Jun 2014 03:07:41 +0000 (12:07 +0900)]
evas/gl: eeeek. i missed removing one unnecessary checking
ChunEon Park [Mon, 23 Jun 2014 03:01:01 +0000 (12:01 +0900)]
evas/gl: increase message level and avoid unnecessary checking
the checking is introduced previous my commit
5f52f5c9e5758f52f2bc9e4b7220c8c61076f4ea.
Jean-Philippe Andre [Mon, 23 Jun 2014 00:31:15 +0000 (09:31 +0900)]
Evas ETC2: Remove some useless operations
No need to write out alpha in a RGBA color when only
the RGB values are used by the distance op.
Also, add a comment on the byte order. Maybe I'm wrong
but I believe the operations are fine wrt. byte order :)
ChunEon Park [Mon, 23 Jun 2014 01:07:39 +0000 (10:07 +0900)]
evas/gl: don't go forward if the format is not supported.
ChunEon Park [Mon, 23 Jun 2014 00:50:55 +0000 (09:50 +0900)]
evas/gl: abort is so cruel. print error and let it don't die there.
Jean-Philippe ANDRE [Sun, 22 Jun 2014 09:35:33 +0000 (18:35 +0900)]
Evas ETC2: Remove some C99/GCC extensions code
There is still some C99 code in the file in the form of
for (int k = 0; ...)
If there's a strong requirement not to use this form, I'll
change it, otherwise I find this specific code style more
readable (k is local to this iteration).
This patch and the previous one even give a ~10% speedup
on the encoding time. Sweet :)
Jean-Philippe ANDRE [Sun, 22 Jun 2014 09:23:51 +0000 (18:23 +0900)]
Evas ETC2: Fix horrible warnings in etc2_encoder
So I guess always compiling with debug flags and no
optimizations isn't the best idea as some really bad warnings
can be hidden. Thanks raster for the notice.
Jean-Philippe ANDRE [Sun, 22 Jun 2014 09:08:56 +0000 (18:08 +0900)]
Evas map: Add missing EINA_MAGIC check
Daniel Kolesa [Fri, 20 Jun 2014 20:11:21 +0000 (21:11 +0100)]
eolian_cxx: support API deduplication like the main generator
Daniel Kolesa [Fri, 20 Jun 2014 15:53:51 +0000 (16:53 +0100)]
eolian/generator: public api func name deduplication, spank tasn if it breaks
Daniel Kolesa [Fri, 20 Jun 2014 14:46:00 +0000 (15:46 +0100)]
eolian: less code repeating
Daniel Kolesa [Fri, 20 Jun 2014 14:31:45 +0000 (15:31 +0100)]
eolian: more cleanups
Daniel Kolesa [Fri, 20 Jun 2014 14:07:25 +0000 (15:07 +0100)]
eolian: some less repeated code
Daniel Kolesa [Fri, 20 Jun 2014 13:38:57 +0000 (14:38 +0100)]
eolian: small cleanup
Daniel Kolesa [Fri, 20 Jun 2014 11:24:10 +0000 (12:24 +0100)]
eolian: mark all methods/properties in interfaces as virtual by default and disallow everything but class.(con|de)structor in their implements
Daniel Kolesa [Fri, 20 Jun 2014 10:33:25 +0000 (11:33 +0100)]
eolian: simplify the parser a bit (unify 3 funcs into one)
Savio Sena [Fri, 20 Jun 2014 09:55:57 +0000 (10:55 +0100)]
Evas/Eolian: Eolian'ized Evas_Object events.
Summary:
The event descriptions of Evas_Object were hardcoded instead
of declared in evas_object.eo and thus no binding could be aware of
their existence.
Note: Evas_Canvas events were left as is.
Reviewers: cedric, tasn, q66, JackDanielZ
Reviewed By: q66
CC: felipealmeida, raster, smohanty, cedric
Differential Revision: https://phab.enlightenment.org/D1065
Daniel Kolesa [Fri, 20 Jun 2014 09:52:00 +0000 (10:52 +0100)]
tests/eolian: fix for the new namespace syntax
Daniel Kolesa [Fri, 20 Jun 2014 09:45:55 +0000 (10:45 +0100)]
eolian: fix end-of-file checking, move namespaces from :: to .
Cedric BAIL [Fri, 20 Jun 2014 08:52:34 +0000 (10:52 +0200)]
evil: actually commit the right fix.