Commit Graph

26363 Commits

Author SHA1 Message Date
Daniel Kolesa a83e28ca3d tests/eolian: fix for the new namespace syntax 2014-06-20 10:52:00 +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
Cedric BAIL c1aab3e51a autotools: remove forgotten BUILD_SAVER_JPEG 2014-06-20 10:43:12 +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
Savio Sena 656d280e6a 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
2014-06-20 01:00:14 +01:00
Daniel Kolesa ee24425ab5 eolian: remove semicolon termination of classes 2014-06-20 00:01:56 +01:00
Savio Sena bdd5cf5219 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
2014-06-19 23:54:36 +01:00
Cedric BAIL 35f0cd2680 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.
2014-06-19 22:40:50 +02:00
Daniel Kolesa 4ef61a1c29 eolian: fix a few casts 2014-06-19 17:28:19 +01:00
Daniel Kolesa f6c13708c5 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
2014-06-19 16:32:13 +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
Stefan Schmidt 2cebf6785e Revert "Coverage: Fix base directory."
This reverts commit 842e8e9fa0.

Scratching my head over this for a long time now. It sneaked in when
jenkins nightly builds which generates coverage reports was broken
due to newer gettext error handling. After that was fixed the build
kept being broken but now in coverage generation.

Finnaly found this change. Why was it done? Did you actually test it?
Coverage generation worked fine on my local system as well as on
jenkins when I worked on this. If it is broken for you we might need
to have another look, but not by breaking jenkins.
2014-06-19 15:41:06 +02:00
Jean-Philippe Andre 62e3c75777 Efreet: Fix shadow warning 2014-06-19 10:33:49 +09:00
Jean-Philippe Andre f7a14e945f Emotion tests: Fix compilation warning 2014-06-19 10:28:19 +09:00
Jean-Philippe Andre c64ea71dbe Evas: Fix potential resource leak in the TGV loader
The map would eventually be freed when closing the image.
But still...
2014-06-19 10:28:01 +09:00
Jean-Philippe Andre 5b1ed78605 Evas: Fix some comments in the TGV loader 2014-06-19 10:28:01 +09:00
Chris Michael e4fd7c5924 ecore-evas-wayland: Remove useless variable.
NB: Don't recall what the initial point was here, but I don't see one
now lol. No real usage for checking the ecore_wl_init count anymore so
remove the variable as we don't need to do that.

@fix

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-06-18 21:08:48 -04:00
Raoul Hecky 101929b3f4 evas_gl: add more matching formats to make cocoa_gl happy 2014-06-18 11:34:07 +02:00
Raoul Hecky f15034d2a6 evas_cocoa: more changes copied from sdl engine 2014-06-18 11:34:07 +02:00
Raoul Hecky d535a0e605 evas_cocoa: Update cocoa gl engine 2014-06-18 11:34:07 +02:00
Raoul Hecky 0df6a85056 ecore_cocoa: make engine works again 2014-06-18 11:34:07 +02:00
Raoul Hecky 5f80f1fe09 evas_cocoa: correct include for GL 2014-06-18 11:34:07 +02:00
Raoul Hecky 8dd2b5829a ecore_cocoa: missing link flag 2014-06-18 11:34:07 +02:00
Raoul Hecky 35cea9fd66 evas_cocoa: build gl_common 2014-06-18 11:34:07 +02:00
Raoul Hecky d29aac6fe7 evas_cocoa: remove eng_image_mask_create 2014-06-18 11:34:07 +02: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
Raoul Hecky 81f7d660c4 ecore_cocoa: Add missing opengl framework 2014-06-18 11:34:07 +02:00
Raoul Hecky 0c8954e6ec Add cocoa engine checks again 2014-06-18 11:34:07 +02:00
Benjamin Cohen edf621245e configure: fix net/if.h detection on osx (10.7) 2014-06-18 11:34:07 +02:00
Nicolas Aguirre 7182f87d51 evas: force equality in check otherwise i get debug output even if the environnement variable is not set. 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