Commit Graph

3579 Commits

Author SHA1 Message Date
Chris Michael c23ed65a3c 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>
2014-06-24 14:32:21 -04:00
MinJeong Kim aa5e2c6132 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
2014-06-24 09:00:56 -04:00
Cedric BAIL 6dbdbee453 eina: fix build on windows.
Add necessary include for proper compilation.

@fix
2014-06-24 10:25:27 +02:00
Daniel Kolesa 0f4bb89492 Revert "eolian: process classes and typedefs in order (preparation for later potential extension)"
This reverts commit 7c28de0616.
2014-06-23 18:44:11 +01:00
Daniel Kolesa af9b338dee Revert "eolian: generalized node append"
This reverts commit 98d25243aa.

Reason: accidentally got into master... I'm tired.
2014-06-23 18:43:23 +01:00
Daniel Kolesa 98d25243aa eolian: generalized node append 2014-06-23 15:38:23 +01:00
Daniel Kolesa 7c28de0616 eolian: process classes and typedefs in order (preparation for later potential extension) 2014-06-23 15:32:17 +01:00
Kateryna Fesyna 7c1a78cfd2 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>
2014-06-23 11:33:25 +02:00
Kateryna Fesyna 244d42b280 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>
2014-06-23 11:33:24 +02:00
Kateryna Fesyna 7c8764bf39 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>
2014-06-23 11:33:24 +02:00
Maksym Volodin 748e548763 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>
2014-06-23 11:33:24 +02:00
Andrii Kroitor cdc477e2f7 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>
2014-06-23 11:33:24 +02:00
Vincent Torri ed2987eb69 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>
2014-06-23 10:21:37 +02:00
Vincent Torri 113d794973 ecore_win32: fix key events on Windows.
@fix

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 10:21:26 +02:00
Jean-Philippe ANDRE d589e760d3 Evas map: Add missing EINA_MAGIC check 2014-06-22 18:12:01 +09:00
Daniel Kolesa 43e2349203 eolian/generator: public api func name deduplication, spank tasn if it breaks 2014-06-20 17:09:03 +01:00
Daniel Kolesa 4dcd45b010 eolian: less code repeating 2014-06-20 15:46:00 +01:00
Daniel Kolesa efcdfec94f eolian: more cleanups 2014-06-20 15:31:45 +01:00
Daniel Kolesa eb3a7cf6d0 eolian: some less repeated code 2014-06-20 15:07:25 +01:00
Daniel Kolesa 15704a7454 eolian: small cleanup 2014-06-20 14:38:57 +01:00
Daniel Kolesa 3acbdaa8c7 eolian: mark all methods/properties in interfaces as virtual by default and disallow everything but class.(con|de)structor in their implements 2014-06-20 12:24:10 +01:00
Daniel Kolesa ded5623c86 eolian: simplify the parser a bit (unify 3 funcs into one) 2014-06-20 11:33:25 +01:00
Savio Sena 71c1482827 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
2014-06-20 10:55:57 +01:00
Daniel Kolesa e9f4890747 eolian: fix end-of-file checking, move namespaces from :: to . 2014-06-20 10:46:04 +01:00
Cedric BAIL f4fc10f5ec evil: actually commit the right fix. 2014-06-20 10:52:34 +02:00
Rajeev Ranjan 7a35f5ffdb 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>
2014-06-20 10:12:07 +02:00
Cedric BAIL 301b672b3a evas: fix build of jpeg saver on Windows. 2014-06-20 09:47:06 +02:00
Cedric BAIL 279fdd9c07 eina: don't leak ressource due to the use of CreateThread on Windows. 2014-06-20 09:47:06 +02:00
Daniel Kolesa ee24425ab5 eolian: remove semicolon termination of classes 2014-06-20 00:01:56 +01:00
Daniel Kolesa 4ef61a1c29 eolian: fix a few casts 2014-06-19 17:28:19 +01:00
Daniel Kolesa fc72ca590d eolian: allow omitting of () in class with no inherits, fix up tests 2014-06-19 16:30:18 +01:00
Daniel Kolesa 78c1e92722 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 2014-06-19 16:04:08 +01:00
Daniel Kolesa ee053aa840 eolian: fix double free 2014-06-19 16:04:08 +01:00
Daniel Kolesa 9c2fcf5d4e eolian: lex_until and lex_balanced 2014-06-19 16:04:08 +01:00
Daniel Kolesa 74181192ad eolian: fix error handling and memory leaks 2014-06-19 16:04:08 +01:00
Daniel Kolesa 07dcaadb97 eolian: simpler type parsing 2014-06-19 16:04:08 +01:00
Daniel Kolesa b39b37d732 eolian: cleanup 2014-06-19 16:04:08 +01:00
Daniel Kolesa 9d48e256dc eolian: remove the ugly old type extractor, instead build the inlist during parsing 2014-06-19 16:04:08 +01:00
Daniel Kolesa 3c621045cd eolian: complex non-pointer types 2014-06-19 16:04:08 +01:00
Daniel Kolesa 077e9bc46c eolian: strip leading whitespace from doc comments + trim the resulting buffer 2014-06-19 16:04:08 +01:00
Daniel Kolesa 9b833f1dbd eolian: introducing a new lexer/parser
This handwritten lexer/parser is more strict and cleaner than the previous Ragel based one,
as well as faster and doesn't leak memory (or shouldn't). It's a recursive descent style
parser with separate lexer part (unlike the previous effort) which is run at the same
stage as the parser (so it doesn't pre-lex).

@feature
2014-06-19 16:04:08 +01:00
Daniel Kolesa 2056b99e85 eolian: add some stuff into eo_definitions needed for the new parser and temporarily adjust the lexer for it 2014-06-19 16:04:08 +01:00
Daniel Kolesa 0d417e6ebf eolian: remove the ragel file plus support for ragel from the build system 2014-06-19 16:04:07 +01:00
Daniel Kolesa 44afa93503 eolian: Eo_Tokenizer -> Eo_Lexer 2014-06-19 16:04:07 +01:00
Tom Hacohen 8a4849b1eb Eolian: Improve support (still incomplete) for namespaces. 2014-06-19 15:57:27 +01:00
Rajeev Ranjan bd65b5db5d evas: improvement of Eina Rectangle Pool and integration with Evas GL backend.
Summary:
This patch introduce various new logic for packing/unpacking of Eina Rectangle in a pool.
It is then used by Evas GL backend texture allocation to improve how efficiently we pack
image in texture atlas. This lead to improved memory usage and reduced power consumption
with usually a more stable higher FPS (as it use less texture to do the same task, their
is less texture switch, so saving memory and speed at the same time).

This patch was developped on Cedric's suggestions to optimize the packing logic using Skyline
algorithm. This patch is based on master and is a new submission for earlier phab link
https://phab.enlightenment.org/D774.

Signed-off-by: Sanjay Nirankari <sanjay.n1@samsung.com>
Signed-off-by: Rajeev Ranjan <rajeev.r@samsung.com>
Signed-off-by: Sreedeep Moulik <sreedeep.m@samsung.com>

Reviewers: cedric, raster

CC: wonsik, jpeg, sreedeep.m, sanjay, govi

Differential Revision: https://phab.enlightenment.org/D1063

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-19 16:48:45 +02:00
Jean-Philippe Andre 62e3c75777 Efreet: Fix shadow warning 2014-06-19 10:33:49 +09:00
Raoul Hecky 6f2d060c80 ecore_cocoa: add code from old branch 2014-06-18 11:34:07 +02:00
Raoul Hecky fc4d108b5f ecore_cocoa: add missing header from my old branch 2014-06-18 11:34:07 +02:00
Nicolas Aguirre 6d7caf9450 ecore_cocoa: switch keys to map correctly on OS-X.
os-x is notoriously switching the meaning of those keys
calling "BackSpace" "Delete, and "Delete" "Forward Delete"

Original patch by Pierre Tardy
2014-06-18 11:34:07 +02:00