platform/upstream/efl.git
10 years agoMerging 'devs/q66/eolian_experimental'
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.

10 years agoelua: use the new dedup API in lualian
Daniel Kolesa [Tue, 24 Jun 2014 16:23:13 +0000 (17:23 +0100)]
elua: use the new dedup API in lualian

10 years agoeolian_cxx: use the new eolian dedup API
Daniel Kolesa [Tue, 24 Jun 2014 16:20:33 +0000 (17:20 +0100)]
eolian_cxx: use the new eolian dedup API

10 years agoeolian: new API: eolian_function_full_c_name_get - reduces duplication of code
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

10 years agoeolian: free the iterator
Daniel Kolesa [Tue, 24 Jun 2014 15:34:21 +0000 (16:34 +0100)]
eolian: free the iterator

10 years agoeolian_cxx/generator: support for eot files
Daniel Kolesa [Tue, 24 Jun 2014 13:21:32 +0000 (14:21 +0100)]
eolian_cxx/generator: support for eot files

10 years agoelua: update lualian against latest changes
Daniel Kolesa [Tue, 24 Jun 2014 12:56:41 +0000 (13:56 +0100)]
elua: update lualian against latest changes

10 years agoeolian: introducing support for .eot files
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

10 years agoeolian: process classes and typedefs in order
Daniel Kolesa [Mon, 23 Jun 2014 18:04:20 +0000 (19:04 +0100)]
eolian: process classes and typedefs in order

10 years agoevas/drm: Remove obsolete tty open function
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.

10 years agoevas/drm: Make use of ecore_drm for opening DRM device
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.

10 years agoecore_drm: Make struct Ecore_Drm_Device available
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.

10 years agoecore_drm: Test drm device for DUMB BUFFER capability
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.

10 years agoecore_drm: Use CLOEXEC option when openning drm device
Stefan Schmidt [Fri, 27 Jun 2014 13:29:38 +0000 (15:29 +0200)]
ecore_drm: Use CLOEXEC option when openning drm device

10 years agoecore_drm: Iterate over all available connectors not just the first
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.

10 years agolz4: fix shadow issue
Boris Faure [Sun, 29 Jun 2014 21:11:15 +0000 (23:11 +0200)]
lz4: fix shadow issue

@fix

10 years agoecore_win32: discard WM_MOUSEMOVE message if it has the same mouse coordinates than...
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

10 years agoecore_win32: activate an Ecore window when raising it
Vincent Torri [Sun, 29 Jun 2014 15:33:43 +0000 (17:33 +0200)]
ecore_win32: activate an Ecore window when raising it

10 years agoecore_win32: fix the raise of an Ecore Window overlapped by another window when click...
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

10 years agoecore_win32: simplify logic
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.

10 years agoecore_win32: fix typo.
Cedric BAIL [Sun, 29 Jun 2014 17:56:12 +0000 (19:56 +0200)]
ecore_win32: fix typo.

10 years agoevas: fix jpeg loader rotation by metadata (exif)
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>
10 years agojpeg loader: exif parsing bug fix
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

10 years agojpeg laoder: exif orientation test added
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

10 years agolz4: fix possible security issue.
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

10 years agowindows: make those warning explicit about what they imply.
Cedric BAIL [Fri, 27 Jun 2014 14:59:51 +0000 (16:59 +0200)]
windows: make those warning explicit about what they imply.

10 years agoevas/gl - ... removed white trailing.
ChunEon Park [Fri, 27 Jun 2014 12:47:00 +0000 (21:47 +0900)]
evas/gl - ... removed white trailing.

10 years agoevas/gl: fix indentation.
ChunEon Park [Fri, 27 Jun 2014 12:38:30 +0000 (21:38 +0900)]
evas/gl: fix indentation.

10 years agoevas/gl: improve the rendering quality.
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

10 years agoevas: fix warning and remove useless code.
Cedric BAIL [Fri, 27 Jun 2014 11:49:59 +0000 (13:49 +0200)]
evas: fix warning and remove useless code.

10 years agoevas: read fullscreen flags from initialized value.
Cedric BAIL [Fri, 27 Jun 2014 11:47:44 +0000 (13:47 +0200)]
evas: read fullscreen flags from initialized value.

10 years agoevas: fix warning in DDraw backend.
Cedric BAIL [Fri, 27 Jun 2014 10:30:28 +0000 (12:30 +0200)]
evas: fix warning in DDraw backend.

10 years agoevas: silent some warning during Windows backend build.
Cedric BAIL [Fri, 27 Jun 2014 11:45:06 +0000 (13:45 +0200)]
evas: silent some warning during Windows backend build.

10 years agoecore_file: this parameter is indeed not used.
Cedric BAIL [Fri, 27 Jun 2014 11:41:39 +0000 (13:41 +0200)]
ecore_file: this parameter is indeed not used.

10 years agoecore_con: just a reminder to look at later.
Cedric BAIL [Fri, 27 Jun 2014 11:41:20 +0000 (13:41 +0200)]
ecore_con: just a reminder to look at later.

10 years agoecore_win32: another forgotten read that is unecessary in current setup.
Cedric BAIL [Fri, 27 Jun 2014 11:34:02 +0000 (13:34 +0200)]
ecore_win32: another forgotten read that is unecessary in current setup.

10 years agoecore_win32: silent warning by reading the returned value in a useful way.
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.

10 years agoeina: silence warning of unused parameter on Windows.
Cedric BAIL [Fri, 27 Jun 2014 11:23:37 +0000 (13:23 +0200)]
eina: silence warning of unused parameter on Windows.

10 years agoeina: use the right function prototype on Windows.
Cedric BAIL [Fri, 27 Jun 2014 11:22:37 +0000 (13:22 +0200)]
eina: use the right function prototype on Windows.

10 years agoecore_evas: remove warning from Windows backend.
Cedric BAIL [Fri, 27 Jun 2014 11:20:39 +0000 (13:20 +0200)]
ecore_evas: remove warning from Windows backend.

10 years agoEdje C++: Fix Edje.hh generation to update correctly.
Tom Hacohen [Thu, 26 Jun 2014 19:14:42 +0000 (20:14 +0100)]
Edje C++: Fix Edje.hh generation to update correctly.

10 years agoedje: textblock style loading changed
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

10 years agoevas/png - better way to support png grayscale with transparency format.
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.

10 years agoecore-evas: Fix formatting and remove whitespace
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>
10 years agoecore-evas: Fix cursor position getting reset to 0,0 when using
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>
10 years agoevas/gl - fix to render grayscale with transparency format in gl backened.
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

10 years agoecore-evas: Fix some doxy grammar and spelling
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>
10 years agoDocumentation: adding missed documentation to edcref (map.color param)
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

10 years agoeina-tiler: Fix invalid read on eina tiler
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

10 years agoeina: fix build on windows.
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

10 years agoRevert "eolian: process classes and typedefs in order (preparation for later potentia...
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.

10 years agoRevert "eolian: generalized node append"
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.

10 years agoeolian: generalized node append
Daniel Kolesa [Mon, 23 Jun 2014 14:38:23 +0000 (15:38 +0100)]
eolian: generalized node append

10 years agoeolian: process classes and typedefs in order (preparation for later potential extension)
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)

10 years agoelua: eo_prefix fix + add method name deduplication to lua generator
Daniel Kolesa [Mon, 23 Jun 2014 13:16:12 +0000 (14:16 +0100)]
elua: eo_prefix fix + add method name deduplication to lua generator

10 years agoelua: eo_prefix_get will always return a valid value
Daniel Kolesa [Mon, 23 Jun 2014 13:05:50 +0000 (14:05 +0100)]
elua: eo_prefix_get will always return a valid value

10 years agoedje: Edje_Edit - add edje_edit_sound_tone_add() function that allows user to add...
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>
10 years agoedje: Edje_Edit - add functions that provide the ability to set and get source for...
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>
10 years agoedje: Edje_Edit - add missed iterator and object deletion in _delete_play_actions...
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>
10 years agoedje: Edje_Edit - add edje_edit_part_item_del.
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>
10 years agoedje: Edje_Edit - add API for missing map properties
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>
10 years agoecore_win23: oops forgotten path.
Cedric BAIL [Mon, 23 Jun 2014 09:25:04 +0000 (11:25 +0200)]
ecore_win23: oops forgotten path.

10 years agoecore: fix ecore main loop on Windows when number of objects is greater that MAXIMUM_...
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>
10 years agoecore_win32: fix key events on Windows.
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>
10 years agoevas/gl: eeeek. i missed removing one unnecessary checking
ChunEon Park [Mon, 23 Jun 2014 03:07:41 +0000 (12:07 +0900)]
evas/gl: eeeek. i missed removing one unnecessary checking

10 years agoevas/gl: increase message level and avoid 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.

10 years agoEvas ETC2: Remove some useless operations
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 :)

10 years agoevas/gl: don't go forward if the format is not supported.
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.

10 years agoevas/gl: abort is so cruel. print error and let it don't die there.
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.

10 years agoEvas ETC2: Remove some C99/GCC extensions code
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 :)

10 years agoEvas ETC2: Fix horrible warnings in etc2_encoder
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.

10 years agoEvas map: Add missing EINA_MAGIC check
Jean-Philippe ANDRE [Sun, 22 Jun 2014 09:08:56 +0000 (18:08 +0900)]
Evas map: Add missing EINA_MAGIC check

10 years agoeolian_cxx: support API deduplication like the main generator
Daniel Kolesa [Fri, 20 Jun 2014 20:11:21 +0000 (21:11 +0100)]
eolian_cxx: support API deduplication like the main generator

10 years agoeolian/generator: public api func name deduplication, spank tasn if it breaks
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

10 years agoeolian: less code repeating
Daniel Kolesa [Fri, 20 Jun 2014 14:46:00 +0000 (15:46 +0100)]
eolian: less code repeating

10 years agoeolian: more cleanups
Daniel Kolesa [Fri, 20 Jun 2014 14:31:45 +0000 (15:31 +0100)]
eolian: more cleanups

10 years agoeolian: some less repeated code
Daniel Kolesa [Fri, 20 Jun 2014 14:07:25 +0000 (15:07 +0100)]
eolian: some less repeated code

10 years agoeolian: small cleanup
Daniel Kolesa [Fri, 20 Jun 2014 13:38:57 +0000 (14:38 +0100)]
eolian: small cleanup

10 years agoeolian: mark all methods/properties in interfaces as virtual by default and disallow...
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

10 years agoeolian: simplify the parser a bit (unify 3 funcs into one)
Daniel Kolesa [Fri, 20 Jun 2014 10:33:25 +0000 (11:33 +0100)]
eolian: simplify the parser a bit (unify 3 funcs into one)

10 years agoEvas/Eolian: Eolian'ized Evas_Object events.
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

10 years agotests/eolian: fix for the new namespace syntax
Daniel Kolesa [Fri, 20 Jun 2014 09:52:00 +0000 (10:52 +0100)]
tests/eolian: fix for the new namespace syntax

10 years agoeolian: fix end-of-file checking, move namespaces from :: to .
Daniel Kolesa [Fri, 20 Jun 2014 09:45:55 +0000 (10:45 +0100)]
eolian: fix end-of-file checking, move namespaces from :: to .

10 years agoevil: actually commit the right fix.
Cedric BAIL [Fri, 20 Jun 2014 08:52:34 +0000 (10:52 +0200)]
evil: actually commit the right fix.

10 years agoautotools: remove forgotten BUILD_SAVER_JPEG
Cedric BAIL [Fri, 20 Jun 2014 08:38:31 +0000 (10:38 +0200)]
autotools: remove forgotten BUILD_SAVER_JPEG

10 years agoevas: fix invalid read reported in eina_rectangle_pool_free by valgrind.
Rajeev Ranjan [Fri, 20 Jun 2014 08:12:03 +0000 (10:12 +0200)]
evas: fix invalid read reported in eina_rectangle_pool_free by valgrind.

Summary:
This fixes an invalid read reported by valgrind in eina_rectangle_pool_free
Reference: T1360

Signed-off-by: Sanjay Nirankari <sanjay.n1@partner.samsung.com>
Signed-off-by: Rajeev Ranjan <rajeev.r@samsung.com>
Reviewers: cedric, raster

Reviewed By: cedric

CC: sreedeep.m, sanjay, cedric
Differential Revision: https://phab.enlightenment.org/D1069

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoevas: fix build of jpeg saver on Windows.
Cedric BAIL [Fri, 20 Jun 2014 07:40:48 +0000 (09:40 +0200)]
evas: fix build of jpeg saver on Windows.

10 years agoeina: don't leak ressource due to the use of CreateThread on Windows.
Cedric BAIL [Fri, 20 Jun 2014 07:21:41 +0000 (09:21 +0200)]
eina: don't leak ressource due to the use of CreateThread on Windows.

10 years agoEina-Cxx: Added native type constructors and examples.
Savio Sena [Fri, 20 Jun 2014 00:00:13 +0000 (01:00 +0100)]
Eina-Cxx: Added native type constructors and examples.

Summary:
This patch allows us to construct efl::eina:: types from
their respective C types.

Reviewers: cedric, felipealmeida, q66

Reviewed By: q66

CC: smohanty, woohyun, raster, cedric
Differential Revision: https://phab.enlightenment.org/D1068

10 years agoeolian: remove semicolon termination of classes
Daniel Kolesa [Thu, 19 Jun 2014 23:01:56 +0000 (00:01 +0100)]
eolian: remove semicolon termination of classes

10 years agoEolian-Cxx: Corrected the syntax of the .eo examples and added missing includes.
Savio Sena [Thu, 19 Jun 2014 22:54:36 +0000 (23:54 +0100)]
Eolian-Cxx: Corrected the syntax of the .eo examples and added missing includes.

Summary: Just updating the .eo's to match the new syntax.

Reviewers: cedric, q66, tasn, JackDanielZ

Reviewed By: q66

CC: felipealmeida, smohanty, woohyun, cedric
Differential Revision: https://phab.enlightenment.org/D1067

10 years agoevas: fix crash when preloading Evas_Object_Image.
Cedric BAIL [Thu, 19 Jun 2014 20:39:15 +0000 (22:39 +0200)]
evas: fix crash when preloading Evas_Object_Image.

This was a left over from the Eina_Rectangle patch improvement from Rajeev,
thanks Chris for spotting it.

10 years agoeolian: fix a few casts
Daniel Kolesa [Thu, 19 Jun 2014 16:28:19 +0000 (17:28 +0100)]
eolian: fix a few casts

10 years agoIntroducing new lexer/parser for Eolian
Daniel Kolesa [Thu, 19 Jun 2014 15:32:13 +0000 (16:32 +0100)]
Introducing new lexer/parser for Eolian

This set of changes introduces a new, handwritten lexer+parser in Eolian. This should
allow for easier maintenance as well as easier feature additions. Unlike the previous
effort, this separates lexer and parser part (but they still run at the same stage).

In long term some more APIs should get exposed (for IDEs and other tools). The parser
is also stricter and more conformant to the actual format so several issues with
existing Eo files were caught previously.

Merges branch 'devs/q66/eolian_new_parser'

@feature

10 years agoeolian: allow omitting of () in class with no inherits, fix up tests
Daniel Kolesa [Thu, 19 Jun 2014 15:30:18 +0000 (16:30 +0100)]
eolian: allow omitting of () in class with no inherits, fix up tests

10 years agoeolian: stricten the allowed characters in values, and values starting with @ must...
Daniel Kolesa [Thu, 19 Jun 2014 14:17:56 +0000 (15:17 +0100)]
eolian: stricten the allowed characters in values, and values starting with @ must be keywords - we no longer need all the arbitrary characters beacuse of lex_balanced and lex_until

10 years agoeolian: fix double free
Daniel Kolesa [Thu, 19 Jun 2014 14:09:40 +0000 (15:09 +0100)]
eolian: fix double free

10 years agoeolian: lex_until and lex_balanced
Daniel Kolesa [Thu, 19 Jun 2014 14:05:24 +0000 (15:05 +0100)]
eolian: lex_until and lex_balanced

10 years agoeolian: fix error handling and memory leaks
Daniel Kolesa [Thu, 19 Jun 2014 11:02:46 +0000 (12:02 +0100)]
eolian: fix error handling and memory leaks

10 years agoeolian: simpler type parsing
Daniel Kolesa [Thu, 19 Jun 2014 10:22:35 +0000 (11:22 +0100)]
eolian: simpler type parsing