Commit Graph

674 Commits

Author SHA1 Message Date
Cedric Bail 1073b4a887 autotools: fix lots of warning.
Thankcs Jean Guyomarc'h.
2016-05-16 09:09:23 -07:00
Stefan Schmidt 83e336e0f4 examples: eolian_cxx: fix some problems after changing the colourable namespace
Fix commit 3e8db298f70932ce7b2f5296d44b262a615ea87c the namepsace changed but
only a few files have  been fixed for this. Many files did still not compile
with make examples. I fixed some more but stopped at the cxx files with the hope
that the original author would actually do this.
2016-05-10 11:10:24 +02:00
Stefan Schmidt ef4a4bc0f6 examples: evas-3d: fix executable name for evas 3d fog example
This list contains the executable names and not the source file names.
2016-05-10 10:00:42 +02:00
Cedric BAIL 6d84d5f97f efl: everyone should now rely on Eina MIN/MAX redefinition. 2016-05-09 16:58:53 -07:00
Felipe Magno de Almeida 5893c8635c elementary: Fix example compilation when compiling in another directory 2016-05-08 12:20:27 -03:00
Felipe Magno de Almeida 47afc12f78 eolian-cxx: Disable example and fix new naming standard
Fixed naming standard in some tests and disabled the callback test
while Ecore Eo API is still rapidly changing
2016-05-08 12:19:48 -03:00
Felipe Magno de Almeida 19bbc79829 evas: Disabled C++ example while Eo API is still rapidly changing 2016-05-08 12:02:39 -03:00
Cedric BAIL 0b03f2d093 elementary: make clean, clean edj correctly. 2016-05-05 14:55:52 -07:00
Cedric BAIL 5cdfbc364b elementary: add resulting edj to allow make dist to work on a clean directory.
Due to dependencies from elementary codegen on the edj files triggered by the
generation of .h and .c, we actually need to provide the edj as it would
otherwise to build edje_cc prior to any make dist.

As the edje file was added after in the git repository, you may have some
timestamp issue to fix before doing a make dist. Try touch on all codegen_example
files.

T3588
2016-05-05 14:54:53 -07:00
Larry Jr b37ad2b589 Efl, Eio, Eldbus, Elementary: new model API use eina_promise
Efl - efl_model_base changed to use eina_promise
Eio - eio_model use efl_model_base with promise
Eldbus - elddbus models use promise now
Elementary - elm_view_list and elm_view_form use new models with promise

updated all related examples and tests
2016-04-29 13:21:24 -03:00
Carsten Haitzler 5ec412c4bd efreetd - reduce memory usage by using stringshare much more
lots of long paths for monitoring file paths for icons etc. are in
memory for efreetd. this reduces that memory by sharing them much more.

@optimization
2016-04-23 23:07:48 +09:00
Cedric BAIL 2569ba7b7a elementary: actually this is part of our make dist and shouldn't be build everytime. 2016-04-21 16:58:15 -07:00
Felipe Magno de Almeida 1de3d58ae3 eolian-cxx: Remove deprecated examples
Removed deprecated and non-compilable examples for C++ using
Evas. Users should look into C++ Elementary's examples instead.
2016-04-21 15:25:24 -03:00
Jean-Philippe Andre cc413235d0 Examples: Fix compilation (disable CXX examples!)
Warning: This disables CXX examples because they use
now-internal APIs that have no EO API binding.
Those examples should be updated to use Efl.Ui widgets... once
we have them.
2016-04-21 17:16:53 +09:00
Oleksandr Shcherbina 4b8bfe543e evas: update evas-3d-shadow example
Summary: Add possibility turn on/off rendering scene with/without post processing

Reviewers: cedric, raster, Hermet

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-04-15 11:20:14 -07:00
Cedric BAIL 9dfb570be9 examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
Oleksandr Shcherbina efe419f31c evas.canvas3d: Change shade_mode to shader_mode
Summary:
enum Evas.Canvas3D.Shade_Mode are using for choose relevant shader source code.
So renaming have a sence.
Rename evas_canvas3d_shade_mode_set/get property to evas_canvas3d_shader_mode_set/get
Rename internal fields and functions

Reviewers: cedric, Hermet, raster

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3882
2016-04-14 20:28:20 +09:00
Amitesh Singh 9686393885 example: eina log - set eina log levels in examples 2016-04-13 15:29:29 +05:30
Tom Hacohen 8a66cff035 Eo event: rename Eo_Event->event_info to Eo_Event->info.
The previous naming was redundant and too long.
2016-04-12 15:23:55 +01:00
Carsten Haitzler 046bd1c536 evas gl - fix leak with font glyph textures
some font glyphs are still allocated after tyhe last gl window is
freed which means we can't make current anymore to free textures after
that. this fixes that by flushing gl texture info from the font cache
when the last gl windows are gone.

@fix
2016-04-12 12:47:30 +09:00
Cedric BAIL 56139dd32e elementary: we actually need to include this generated files or make dist will fail. 2016-04-11 11:26:06 -07:00
Stefan Schmidt 96b2096876 build: make sure generated files in examples get cleaned up
Distcheck pointed these out as not being cleaned up and it was right. Make sure
we handle these generated files during cleanup.
2016-04-11 14:18:17 +02:00
Cedric Bail 7416fe7e9d elementary: fix dependencies to build clean examples. 2016-04-10 12:04:29 -07:00
Cedric BAIL c3758534e6 elementary: restore examples build. 2016-04-08 16:01:07 -07:00
Cedric BAIL df81e2ddef evas: don't track some forgotten example 2016-04-08 16:01:07 -07:00
Cedric BAIL 447a746a67 elua: unbreak make install-examples 2016-04-08 16:01:07 -07:00
Yeshwanth Reddivari eaa5e65d48 Interface: Flip and orientation interface
Summary:
Added flip and orientation interface and used them in evas_image.
Removed efl_image_orientation_set API and used efl_orientation_set and efl_flip_set API.
In implementation part, converted enums back and forth in order to keep current implementation as it is.

Test Plan: src/examples/evas/evas-images5.c

Reviewers: singh.amitesh, raster, tasn, herdsman, woohyun, cedric, felipealmeida, jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3844
2016-04-06 10:46:39 +09:00
Daniel Zaoui 97806b0a3f Examples: remind Tom to compile before pushing
He will spank me for the commit message!!!
2016-03-29 09:49:52 +03:00
Jean-Philippe Andre 0a2d68c288 examples: Fix evas_canvas3d_proxy (temporary solution)
It was broken after all the changes in Evas.Image.
Since buffer map/unmap is not fully completed (GL support is
still to do), I added a quick #ifdef to switch between EO and
Legacy APIs.

Thanks @jackdanielz for the report.
2016-03-29 15:19:55 +09:00
Tom Hacohen 00e0cee670 Merge Elementary into the EFL
Some things may still be broken, but Cedric will progressively fix
things as they pop. Default configuration works as expected.
2016-03-24 18:50:47 +00:00
Cedric BAIL 83ad67f514 elementary: move all legacy files to their expected new location. 2016-03-23 13:24:41 -07:00
Stefan Schmidt b97fb616cb examples: adjust include path for headers no longer public headers
Since commit a4f0f08399de85b382603bc57e7a480872e85915 these header files are
no longer installed. Make sure the example have the correct path to actually
find teh files. If we no longer consider them public we might want to think
about removing the examples for them.

This commit fixes the examples build only.
2016-03-23 15:34:54 +01:00
Stefan Schmidt 319ab3be61 examples: mark unused argument to avoid warning 2016-03-23 15:34:54 +01:00
Oleksandr Shcherbina f802f50a95 evas.canvas3d: fix wrong output in evas-3d-pick example
Summary:
Since that
https://git.enlightenment.org/core/efl.git/commit/?id=c850cc0d80b754be851576083eba27a72b58b9f2
we don't use scene object for recalculation pick coordinates.
@fix

Reviewers: cedric, Hermet, raster

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-03-18 11:55:07 -07:00
Jean-Philippe Andre c109f6d22e Efl.Gfx.Fill: Rename filled to fill_auto
fill_filled is a strange name for the property.
fill_auto seems to make more sense. If you disagree, scream at
me or revert this commit.
2016-03-18 13:28:45 +09:00
Oleksandr Shcherbina ce17f39669 evas.canvas3d: example using static LOD
Summary:
Example using static LOD in evas.canvas3d
It should be applied after D3731

Reviewers: Hermet, raster, cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-17 11:53:26 -07:00
Jean-Philippe Andre cd10b5093f Evas.Image: Create Efl.Canvas.Image for file & data images
This replaces standard Evas_Object_Image when it is used "normally",
ie. it's an image from a file or from a pixel buffer. All other APIs
(proxy, snapshot, 3d, gl, ...) are disabled on this object.

Also, reduce number of failing calls when the object is not a legacy
object, but a legacy function is called. This is because a lot of
image APIs are called internally using the legacy APIs, often in
order to reset the state of the image object (eg. set file to NULL,
etc...)
2016-03-17 13:10:35 +09:00
Tom Hacohen 6b4d54df87 Change the EFL according to the renaming of the eo_add() current object. 2016-03-15 15:25:54 +00:00
Jean-Philippe Andre 29b645ea26 Examples: Update evas object eo example 2016-03-15 11:11:59 +09:00
Jean-Philippe Andre c01a10c331 Evas: Move 3d to Efl.Canvas.Scene3d
This still seems a bit redondant with the underlying
Evas.Canvas3d.Scene class.
2016-03-15 11:11:59 +09:00
Tom Hacohen fdb1a24ea0 Revert "Automatic migration to the new eo_add syntax."
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
2016-03-11 12:29:03 +00:00
Tom Hacohen d83c540ada Revert "Examples: Update according to recent eo_add changes."
This reverts commit 6594ba0b6df9ba72f031a00d0e8ba3b23cf2c0b2.
2016-03-11 12:29:03 +00:00
Tom Hacohen daa9ef817c Revert "Fix examples according to the recent eo event changes."
This reverts commit d2fba6c5959f82f35984167131d3b67207780f48.
2016-03-11 12:29:03 +00:00
Stefan Schmidt 26c16d8c0b examples gitignore: adding four new examples to their .gitignore files 2016-03-09 23:13:38 +01:00
Tom Hacohen 148e6d13e8 Fix examples according to the recent eo event changes. 2016-03-09 17:16:19 +00:00
Tom Hacohen fb11959f82 Examples: Update according to recent eo_add changes. 2016-03-09 17:02:45 +00:00
Tom Hacohen 6a210da20c Automatic migration to the new eo_add syntax. 2016-03-09 16:09:14 +00:00
Stefan Schmidt 0dcde7d3ea evas-3d examples: remove unused variables 2016-03-08 11:06:29 +01:00
Vitor Sousa f93800fa31 eolian-cxx: Fix Eolian C++ constructing methods with new eo_add
Also fix Eolian C++ examples using the new "eo_super".
2016-03-03 16:05:40 -03:00
Tom Hacohen d10f030d2c Examples: Remove eo examples.
Those were always bad, inaccurate and outdated, and are not really needed
because you should be using Eolian, and not Eo directly.
2016-03-03 09:58:08 +00:00