Commit Graph

24849 Commits

Author SHA1 Message Date
Daniel Zaoui 857bdca899 Eolian/Lexer: remove default ctor/dtor.
They are now supported inside the section implements.
2014-03-03 14:09:55 +02:00
Daniel Zaoui 2f34bcac4b Eolian/Lexer: support of class types.
Now, .eo format has to supply the class type class, abstract, mixin or
interface.

Example: class Elm_Button {...
2014-03-03 14:09:55 +02:00
Daniel Zaoui 9add4c695c Eolian: remove --class option.
Now, the .eo file needs to be supplied instead of the class.
2014-03-03 14:09:54 +02:00
Yossi Kantor 17abdbdd43 Eolian: Code review fixes
1) API defined under EFL_BETA_API_SUPPORT
2) Init counters for init and shutdown
3) void for no-parameters functions
2014-03-03 14:09:54 +02:00
Daniel Zaoui 4ec1ae2d0f Eolian/Lexer: the ';' is now optional after '}'. 2014-03-03 14:09:54 +02:00
Daniel Zaoui 7a114b18af Eolian/Generator: oups, didn't mean to push that. 2014-03-03 14:09:54 +02:00
Daniel Zaoui 8de58b9757 Eolian/Lexer: rename signals to events. 2014-03-03 14:09:54 +02:00
Daniel Zaoui a934780714 Eolian-generator: fix crash during generation
It happens when no description is supplied for an event.
2014-03-03 14:09:54 +02:00
Tom Hacohen 4b24559ea6 Eolian: Split eolian build helper a different file.
This will let other modules use it more easily, and also make it easier
to borrow it to other repos.
2014-03-03 14:09:54 +02:00
Daniel Zaoui ab8d877150 Eolian/Generator: support legacy as option.
For the moment, the option works for C files. Have to add support for H
files.
2014-03-03 14:09:54 +02:00
Daniel Zaoui 327202ef37 Eolian/Generator: port options to getopt
Even if we want to remove the appending options, we still support them.
We will remove them later.
2014-03-03 14:09:54 +02:00
Tom Hacohen fabea6399c Eolian: Added an helper to call eolian_gen from within the project. 2014-03-03 14:09:54 +02:00
Tom Hacohen e4534ed0f2 Eolian: Renamed the eolian tool to eolian_gen. 2014-03-03 14:09:54 +02:00
Tom Hacohen 57c8f7ff38 Eolian: Fixed EXTRA_DIST. 2014-03-03 14:09:54 +02:00
Tom Hacohen 5a4f68d472 Eolian: Added eolian to the build system. 2014-03-03 14:09:53 +02:00
Tom Hacohen 036e3eeaa3 Eolian: Add EAPI to API calls. 2014-03-03 14:09:53 +02:00
Daniel Zaoui 5dea8ee0a8 Eolian: first import.
Imported by Tom, from the eolian repo which was written by:
Daniel Zaoui <daniel.zaoui@samsung.com>
Yakov Goldberg <yakov.g@samsung.com>
Yossi Kantor <yossi.kantor@samsung.com>
Savio Sena <savio@expertisesolutions.com.br>
Jérémy Zurcher <jeremy@asynk.ch>

Signed-off-by: Tom Hacohen <tom@stosb.com>
2014-03-03 14:09:53 +02:00
Cedric Bail 92a24dea79 edje: @feature to include license in edje file.
This will close T1027.
2014-03-03 08:39:53 -03:00
Cedric Bail f3ba81f7c1 ecore_avahi: remove useless printf. 2014-02-28 19:58:25 -03:00
Cedric Bail 7d3e7ad748 ecore_avahi: @fix timeout to avoid pitfall of forever frozen timer.
@backport.
2014-02-28 19:57:44 -03:00
Cedric Bail c08c0b05a3 evas: add libdrm as a dependency. 2014-02-28 16:21:00 -03:00
Chris Michael 807f944696 Evas: Fix build issue when building without drm
@bugfix: Fix issue of building efl without drm or drm hw accel options

By default drm & drm hw acceleration is off as an option. This caused
a problem when passing no options to autogen due to a missing define.
This commit fixes that mess by only defining HAVE_DRM_HW_ACCEL If we
actually have the deps for it, rather than using an AM_CONDITIONAL as
it did previously.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 14:46:44 +00:00
Stefan Schmidt b70ff13404 examples/eina: Check return value of eina_iterator_next
If we define an API with warn_unused_result we should actually
check the result in our examples.
2014-02-28 14:37:53 +01:00
Stefan Schmidt 4e2e2ea01e examples: Use EINA_UNUSED in examples to silence a ton of warning
First step to get the examples compiling output in a useful state.
With all the warning noise one would never see the important messages.

If you add new code please make sure its warning free.
2014-02-28 14:37:53 +01:00
Chris Michael 886c8d55b7 evas-drm: Ddd support for setting vsync with env variable.
@feature: Add support for EVAS_DRM_VSYNC environment variable to
@feature: Add support for marking a Framebuffer as dirty.
@bugfix: Fix color mask values for evas conversion functions.
@bugfix: Start with using the Backbuffer for drawing.
@bugfix: Fix previous Slowness with evas_cache image data.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:13:17 +00:00
Chris Michael 7ca6837084 evas-drm: Add vsync/non-vsync support to evas_drm code
@feature: Add ability to render software buffers using vsync or not
@bugfix: Fix drmModeAddFB to use proper depth & bpp when adding FB
@bugfix: Fix mmap to use NULL (not 0) so that kernel assigns memory
address.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:13:17 +00:00
Chris Michael 09b69d567e evas-drm: cleanup evas_engine code for drm sw engine
@bugfix: clear the tilebuffer when we get the next redraw update.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:13:17 +00:00
Chris Michael 54680b1f97 evas-drm: cleanup outbuf structure and functions
@bugfix: this cleans up the Outbuf structure by removing unused
fields, Fixing some function declarations, and defaulting the number
of buffers to 2 (double-buffering)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:13:17 +00:00
Chris Michael aafd8e5277 evas-drm: Add flag for setting vsync to engine structure
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:13:17 +00:00
Chris Michael 06050df6cf evas-drm: Forgot to install the evas drm engine pkgconfig file
@bugfix: Fix install of evas drm engine pkgconfig file

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-02-28 13:12:56 +00:00
Chris Michael c52d47ba36 evas-drm: Break out plane creation code into it's own function for cleaner code
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:12:51 +00:00
Chris Michael 62a6b32ed3 evas-drm: Start on hardware Plane support
@feature: Start on hardware Plane support
 - Add Plane structure
 - Store list of Planes in the Output buffer

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:12:31 +00:00
Chris Michael fcd4929702 evas-drm: Add field to engine info for storing the buffer manager
- Typically this will come from ecore_evas and be used by evas to
allocate hardware accelerated buffers (gbm, tbm, etc)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:11:58 +00:00
Chris Michael e870bca601 evas-drm: Add Evas_Engine_Drm header to source files
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:11:54 +00:00
Chris Michael 5fe4a20cf7 evas-drm: Add support for checking what GL library to use for drm hardware acceleration
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:11:47 +00:00
Chris Michael 5267daa9ae evas-drm: Rename drm hardware acceleration option
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:11:42 +00:00
Chris Michael 8a18515c7c evas-drm: Fix opening of drm card
@feature: Add code to check if async page flipping is supported by the driver.
@bugfix: Add code to get the proper drm driver name when we init the card.
@bugfix: Use drmOpen when opening the card so that any sub-driver gets initialized.
@bugfix: Add some debug/testing code to enumerate planes.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:10:55 +00:00
Chris Michael 258ce60930 evas-drm: Call framebuffer_set earlier in the process so that the screen gets
updated sooner.

@bugfix: set framebuffer on crtc earlier in process
@bugfix: Set the rendered image's alpha flag to be equal to the output buffer's

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:10:21 +00:00
Chris Michael ccbdd2137f evas-drm: Triple buffer by default.
@feature: Triple buffer by default on drm engine

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:10:00 +00:00
Chris Michael d21ab6f597 evas-drm: Start on hardware-accel support for drm
@feature: Start on hardware acceleration support by adding EGL
structure to engine info

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:09:37 +00:00
Chris Michael 97e6ea75de evas-drm: Fix up some m4 formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:09:32 +00:00
Chris Michael 0ebdaec9cd evas-drm: Fix configure.ac typo for drm hw accel argument
@bugfix: Fix typo in configure.ac file for drm hardware acceleration

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:09:14 +00:00
Chris Michael b2ad8e401b evas-drm: Check for drm hw accel support in the drm engine
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:09:08 +00:00
Chris Michael 437654c6b5 evas-drm: Add option to enable drm hardware acceleration
@feature: Start on drm hardware acceleration

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:08:57 +00:00
Chris Michael b184d140a2 evas-drm: Set Magic on the Ecore_Evas
@bugfix: Set magic on the ecore_evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:08:44 +00:00
Chris Michael b42af265be evas-drm: Add Evas Drm Engine (software only currently)
@feature: Add working Evas_Drm Engine (software only currently)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:08:19 +00:00
Chris Michael b36adec952 evas-drm: Add evas_drm to build order for Evas drm engine
@feature: Add evas-drm engine to Evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:08:00 +00:00
Stefan Schmidt 0ca191a6f0 examples/evas: Set a proper format string for fprintf
Instead of abusing the format string we should set it.
Was made aware of this problme by chinmaya061 in
https://phab.enlightenment.org/D585

@fix
2014-02-28 12:17:52 +01:00
Tom Hacohen 46361148b2 Evas textblock: Implemented mid-contextualization formatting.
There are many situations (e.g all the time with Arabic text) in which
characters change their appearance depending on the context they lie
within. Before this patch, we didn't support changing font appearance
mid-context. So for example one couldn't do "a<color=#f00>b" without
messing up 'a' and 'b's change to their contextual forms.

Although Arabic is a very good example, this also applies to Latin text
in many cases, and should fix some wrong spacing that might have
appeared when changing styles.

@feature
2014-02-28 10:47:56 +00:00
Jihoon Kim 449f9b76ba ecore_evas: fix version of APIs to support for window auxiliary hint recently
EFL 1.9 was already out, it's 1.10 phase now.
2014-02-28 08:43:31 +09:00