Commit Graph

1217 Commits

Author SHA1 Message Date
Subhransu Sekhar Mohanty f7503e61ac Evas: 3D: Change the api name from t3d_scene to 3d_scene as the eolian issue got fixed. 2014-04-25 16:47:32 +09:00
Taekyun Kim 9014f50e97 Evas: 3D: Add missing image file for example evas-3d-proxy 2014-04-25 16:47:12 +09:00
Taekyun Kim 013f3da966 Evas: 3D: Updated proxy texture example 2014-04-25 16:42:03 +09:00
Taekyun Kim 6856e562ca Evas: 3D: Refined proxy texture implementation
Added new APIs for controlling source object's visibility.
Fixed bugs related to updating proxy textures.
2014-04-25 16:20:24 +09:00
Taekyun Kim 44a9f924ee Evas: 3D: Example: MD2 mesh file example
MD2 model file is from http://mb.srb2.org/showthread.php?t=34800
Thanks to Jeck Jim.
2014-04-25 16:19:10 +09:00
Taekyun Kim 0899e30be6 Evas: 3D: Example: Picking example 2014-04-25 16:19:05 +09:00
Taekyun Kim 578413e103 Evas: 3D: Example: Proxy texture example 2014-04-25 16:18:58 +09:00
Taekyun Kim 6daa0537df Evas: 3D: Example: Rotating Cube 2
Demonstrating key frame material animation and normal mapping.
2014-04-25 16:18:50 +09:00
Taekyun Kim c15c162016 Evas: 3D: Example: Rotating cube 2014-04-25 16:18:39 +09:00
Daniel Zaoui 9122f603f9 Eo: adapt examples to Eo2.
It includes Eo and Evas porting to Eo2.
2014-04-23 07:56:20 +03:00
Daniel Zaoui 03b99d58b2 Eo2: Fix other forgotten ret. 2014-04-11 05:02:54 +03:00
Tom Hacohen 92cc33c46f Eo: EO_BASE_CLASS->EO_CLASS. 2014-04-10 04:20:21 +01:00
Tom Hacohen 374af9b9ca Eo: eo_base's data_*->key_data_*. 2014-04-10 04:20:21 +01:00
Cedric Bail f3ba81f7c1 ecore_avahi: remove useless printf. 2014-02-28 19:58:25 -03: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
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
Cedric Bail 0e1c064fd0 ecore_avahi: add an avahi browse example (that doesn't work yet). 2014-02-27 20:09:09 -03:00
Cedric Bail 4ecc4eb615 Revert "evas example: fix warning in compilation of evas-box.c."
This reverts commit 442d880cf6.

Sorry mixed command of pull/push here.
2014-02-27 11:10:35 -03:00
chinmaya 442d880cf6 evas example: fix warning in compilation of evas-box.c.
Summary: The warning was "format not a string literal and no format arguments [-Wformat-security]".

Test Plan: gcc -o evas-box evas-box.c `pkg-config --libs --cflags evas ecore ecore-evas eina`

Reviewers: singh.amitesh, seoz, stefan_schmidt

CC: cedric, stefan_schmidt

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-02-27 11:09:20 -03:00
Cedric Bail 3312ba4c56 eina_cxx: oops forgotten path. 2014-02-26 14:42:29 -03:00
Cedric Bail eabb71d498 eina_cxx: don't track generated example binary. 2014-02-25 18:36:17 -03:00
Cedric Bail 5e6600143c eina_cxx: remove left over from when Boost was a dependency. 2014-02-25 18:35:04 -03:00
Felipe Magno de Almeida f279225a63 eina: add a C++ bindings to Eina @feature.
The goal of this library is to make the life of C++ developers easier
when having to manipulate Eina datatype by providing a layer to abstract
those data type in C++. Check examples for now. Documentation will come
soon, but we are pushing that rather sooner to get feedback on those bindings.

As you will notice, this library is just composed of headers. There is no .so
and we do think it is better this way. Reducing ABI and API stability issue for
applications developers who are the primary target of this binding.

Also please note that you will need to have C++11 to use this binding.

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-02-25 18:05:01 -03:00
Daniel Juyung Seo 01a5585482 ecore_evas_object_example: Added cursor unset example. 2014-02-24 16:01:37 +09:00
Jean-Philippe Andre 6dce77fbea Doc: Fix colors in the filter examples
Since the bg color changed from dark grey to white, the
colors don't match so much anymore... This is just like theme
work.
2014-02-24 11:17:42 +09:00
Jean-Philippe Andre 511049e20d Evas filters: Improve doc automatization
Include example filter codes from src/examples in Doxygen.
Use these examples for the generation as well.
2014-02-13 17:37:33 +09:00
Sebastian Dröge c64b2fba9b emotion: Use the GStreamer 1.x module instead of the 0.10 one in the border example application 2014-01-17 09:32:45 +01:00
Guillaume Friloux 4ec00f8edc Fix ecore_con example file to call shutdown functions.
Found by Chris Michael.
2014-01-15 20:42:50 +01:00
Cedric BAIL ea379f43a0 emotion: remove some warning in the example. 2014-01-10 16:37:59 +09:00
Vincent Torri 2ed4a0510a examples: fix various warnings in ecore and eina examples.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:37:45 +09:00
Vincent Torri c3d5ff9252 examples: fix pointer <-> int conversion (windows 64 bits) in ecore and evas examples.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:36:39 +09:00
Vincent Torri 3f3f652535 examples: do not do void* arithmetics in evas examples.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:36:12 +09:00
Vincent Torri c34578b5d1 example: fix uninitialized variable in ecore.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:35:59 +09:00
Vincent Torri e86a89aa52 examples: remove unused variables and label
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:35:47 +09:00
Vincent Torri 6871f93e2f examples: remove unused param warnings
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:35:32 +09:00
Vincent Torri 15ca789692 ecore: use WIN32 API to port readdir_r in ecore thread example
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:35:18 +09:00
Vincent Torri a3f8ec0e0c autotools: really don't build Unix specific example on Windows
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:34:56 +09:00
Cedric BAIL 3ceaaa0c79 ecore: don't build Unix specific example on Windows. 2014-01-09 10:17:14 +09:00
Jihoon Kim b879e3dcc6 ecore_imf_example: remove wrong implementation code.
Enter or Escape key should be processed by input method framework.
Editor should not call ecore_imf_context_reset by itself.
2014-01-04 14:23:38 +09:00
Jihoon Kim 3ebc18731f Use key instead of keyname for considering setxkbmap 2014-01-04 13:25:21 +09:00
Daniel Juyung Seo 76d8532b54 efl: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 12:27:13 +09:00
Sebastian Dröge 9c752106f7 emotion: initial port of emotion to GStreamer 1.0
Some commits to port emotion to GStreamer 1.0 and implement some missing features,
clean up code a bit and fix some bugs on the way.

This works as good as the 0.10 code for me now with the emotion examples,
just the Samsung hardware specific code is commented out. This should be
ported by someone who has such hardware, and also in a clean way now that
GStreamer since 1.0 has features to handle all this properly.

There's still a lot of potential to clean things up and fix many bugs, and also
to implement zerocopy rendering. But those are for later if there's actual
interest in this at all.

Commits:

- Update configure checks and ecore example to GStreamer 1.0
- Initial port of emotion to GStreamer 1.0
- Samsung specific code commented out, should be ported by someone
with the hardware.
- Return GST_FLOW_FLUSHING when the sink is unlocked
- Remove unused GSignal from the sink
- Use GstVideoInfo to store the format details inside the sink
- Add support for pixel-aspect-ratio
- Store video format information in GstVideoInfo for the different video streams
- Use GstAudioInfo to store the audio format information
- Remove some unused defines
- Header cleanup
- Implement initial support for GstNavigation interface
- Implement setting of audio/video channel

Reviewers: cedric

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-23 10:59:42 +09:00
Gustavo Sverzut Barbieri 0b86e5119f getopt: add positional argument handling.
positional arguments must appear at the end of the description array
(after the last option) and should have a metavar set and not have
shortname or longname. Simple, elegant and fit :-)

There is a new function to parse the positional arguments,
ecore_getopt_parse_positional() because we may want to not try to
parse them in the case of a quit-option such as --help, --license,
--copyright, --version or some user-defined action. This avoids us
producing errors of missing positional arguments when printing help
and adds some flexibility as well.

This should make Tasn happy :-)
2013-12-17 21:06:53 -02:00
Gustavo Sverzut Barbieri 1c1f9ea0e1 add great ecore_getopt example.
should cover and explain getopt usage and serve as base for
applications that want to use it (all efl should!)
2013-12-17 18:08:27 -02:00
Cedric BAIL 0a1cc79a91 Ecore_Avahi: initial commit.
TODO:
- Add tests, how ?
- Integrate with Eo, needed ?
2013-12-17 19:37:05 +09:00
Cedric BAIL 3392f08f59 autotools: fix complain about using subdirs without the right option. 2013-12-11 13:46:01 +09:00
Cedric Bail 5e3d934302 edje: correctly setup PATH and install Edje file as they are needed by examples.
This will fix T61.
2013-11-28 16:33:32 +09:00
Carsten Haitzler 16b9859f17 ecore-evas - examples - simply broken example - fix
this fixes T558 - it was just a broken example
2013-11-23 23:30:27 +09:00
Carsten Haitzler 53e27458f6 evas - examples - fix broken evas stacking example
this fixes a broken example that assumes getting name always succeeds.
this fixes T559
2013-11-23 23:07:54 +09:00
U. Artie Eoff 9c1466e193 evas/examples: fix clipper colors in evas-object-manipulation
This makes the clipper colors correct and also gets rid of the
following error message spam:

ERR..._color_set() Evas only handles pre multiplied colors!

Fixes T557

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-11-22 15:35:03 -08:00
Carsten Haitzler a1b503d0ad ecore-evas - example - fix lack of bg object in sub buffer
this fixes T229
2013-11-17 14:04:40 +09:00
Christophe Sadoine 6853dbcf23 eet: Adding EET_DATA_DESCRIPTOR_ADD_MAPPING_BASIC to add a basic type to a union.
I added EET_DATA_DESCRIPTOR_ADD_MAPPING_BASIC because I need basic types in unions, and EET_DATA_DESCRIPTOR_ADD_MAPPING is only for structs.
I also modified the example with a float and a string.

Reviewers: cedric

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-11-04 15:35:41 +09:00
Daniel Juyung Seo 203c3e7c15 ecore examples: move pkg-config at the end of gcc command.
This fixed build break on my machine.
2013-10-22 00:45:29 +09:00
Carsten Haitzler 69e27abdc3 eina - and e3fl in general - stop using eina_error_get/set - useless really 2013-10-11 16:50:40 +09:00
Jihoon Kim 98fac39cb9 ecore_imf_example: notify the cursor information in focus-in handler 2013-10-11 10:23:19 +09:00
U. Artie Eoff 4606c0b95e examples/ecore: don't use ECORE_CON_LIBS
We can't use ECORE_CON_LIBS at the examples/ "make" context
since it defines libraries relative to the src/ directory
(e.g. lib/ecore/libecore.la).  Use ECORE_CON_COMMON_LDADD instead.

This fixes the following link error with ecore_fd_handler_gnutls_example
when the project is configured with --with-crypto=gnutls:

libtool: link: cannot find the library `lib/ecore/libecore.la'

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-10-01 13:53:29 -07:00
U. Artie Eoff 65b11e98c8 examples/ecore: ecore_pipe_gstreamer_example must go in HAVE_GSTREAMER guard
Only specify ecore_pipe_gstreamer_example in EXTRA_PROGRAMS inside the
HAVE_GSTREAMER makefile guard.

Fixes: https://phab.enlightenment.org/T423

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-10-01 13:46:57 -07:00
Cedric Bail 442dda08c4 edje: make min: source work correctly with GROUP part.
This close task T54.
2013-08-07 16:04:52 +09:00
Daniel Willmann 4c2c42034c ecore example: Disable ecore_audio examples while Eo is in flux
There is no legacy API we could use here, so just disable building for
now.
2013-07-24 08:57:05 +02:00
Daniel Willmann 6092846d16 ecore examples: Use old API as long as Eo is in flux
This avoids build errors while Eo/Eo2 is being moved around.
2013-07-24 08:57:05 +02:00
Cedric Bail cf9b0180d6 edje: add threshold to draggable part. 2013-07-19 15:40:11 +09:00
Stefan Schmidt d10be60e30 examples: Add missing Ecore_Eo.h for some defines.
If we are shuffling headers around testing if in-tree examples are
still working fine might be a sensible thing to do. Everybody agrees
on that?
2013-07-11 09:44:44 +01:00
José Roberto de Souza 20d9e486a8 eldbus: Handle removal of last reference of connection inside of callback 2013-07-05 16:08:01 -03:00
Eduardo Lima (Etrunko) 27b7ab457e Updated Eldbus connect_address example
See description on the header of the source file

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-07-04 17:23:52 -03:00
Sebastian Dransfeld 068f1ddc62 efl: formatting 2013-06-20 13:08:36 +02:00
Tom Hacohen aab50301a6 Edje examples: Fixed knob to be visible in the drag example. 2013-06-12 14:06:27 +01:00
Eduardo Lima (Etrunko) d3292a7ae9 Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:50 -03:00
Jérémy Zurcher d3c5356cf3 Makefile: compilation succed without png support
use --enable-image-loader-png=no
related to T64 and D133
2013-05-30 23:47:35 +02:00
Eduardo Lima (Etrunko) 3142db2880 Example for eldbus_address_connection_get() functions
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-05-28 09:42:29 -03:00
Rafael Antognolli 2ec4078456 evas/examples: Adding an example for multi-touch. 2013-05-08 16:56:11 -03:00
José Roberto de Souza dd25e02d5c eldbus: Add eldbus_message_iter_fixed_array_append() 2013-05-04 10:38:55 -03:00
Daniel Willmann 777d511814 eina/evas: Fix includes for examples
Some examples are still missing includes
2013-04-25 00:11:06 +01:00
Carsten Haitzler f2b1039e05 fix examples makefiles to find Efl_Config.h 2013-04-25 02:08:49 +09:00
Daniel Willmann 029fc6ec2a examples/ecore_audio: Require input and output file as argument
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-23 17:13:39 +01:00
Daniel Willmann 97d4b50c91 ecore_audio: Add more return values for methods, catch up with API
input_attach, input_detach, format_set, and source_set now return an
Eina_Bool

Tests, examples and edje_multisense adapted

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-23 17:13:39 +01:00
Lucas De Marchi 4e3804041f Rename edbus->eldbus
git grep -l edbus2 | while read f; do sed -i 's/edbus2/eldbus/g' "$f"; done
find . -name '*edbus2*' -exec rename edbus2 eldbus {} \;

git grep -l "EDBUS" | while read f; do sed -i 's/EDBUS/ELDBUS/g' "$f"; done
git grep -l "EDBus" | while read f; do sed -i 's/EDBus/Eldbus/g' "$f"; done
git grep -l "edbus (v2)" | while read f; do sed -i 's/edbus (v2)/eldbus/g' "$f"; done
git grep -l "Edbus" | while read f; do sed -i 's/Edbus/Eldbus/g' "$f"; done
git grep -l "edbus" | while read f; do sed -i 's/edbus/eldbus/g' "$f"; done

find . -name '*edbus*' -exec rename edbus eldbus {} \;
find . -name '*EDBus*' -exec rename EDBus Eldbus {} \;
2013-04-23 12:36:29 -03:00
Daniel Willmann 2d85906367 ecore_audio: Fix warnings
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:34:33 +01:00
Daniel Willmann e99ab4623a ecore_audio: Add return value to input_attach method
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:32:46 +01:00
Daniel Willmann 6df9640c10 ecore_audio: Make custom input example work with eo
Uses VIO to implement a custom read function

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:16:38 +01:00
Daniel Willmann f96ba47976 ecore_audio: Implement ecore_audio_playback example with eo
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:15:37 +01:00
Daniel Willmann 9da64ff201 ecore_audio: Update transcoding example to work with eo
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:25 +01:00
Daniel Willmann 48b78234a8 ecore_audio: Build Eo-based Ecore_Audio and tests now
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Igor Murzov 1373f0ba4a Fix incorrect printf format usage 2013-04-16 12:07:36 +04:00
Rafael Antognolli 97d06e5b3f ecore/wayland: Fix screen geometry when it is rotated.
Width and height should be swapped when the screen is rotated by 90 or
270 degrees.

Additionally, add a command to the ecore_evas_window_sizes_example which
returns the screen geometry.
2013-04-02 17:27:39 -03:00
Daniel Willmann 1ba22c2bc4 ecore_audio_playback: Support changing of speed
Implement ecore_audio_input_speed_set() in playback example
Fix volume limit off-by-one check while I'm at it

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02 16:26:47 +01:00
Stefan Schmidt 911dc0f2a9 eina/examples: Return in a non-void function.
Reported by Simotek. Thanks!
2013-03-28 10:56:05 +00:00
Tom Hacohen acd705fe9f Eina examples: Fixed eina magic example.
Return a value in the "new" function...
2013-03-26 11:24:17 +00:00
Cedric Bail 1737dab7ec edje: work also when not cross compiling. 2013-03-24 23:44:04 +09:00
Cedric Bail 0fbe8161ba edje: add option to enable theme compilation when cross compiling 2013-03-24 22:59:44 +09:00
Rafael Antognolli 46be79a206 evas/examples: Fix clipped smart object show/hide example.
Make the children get clipped to its smart object's clipper, so there's
no need to reimplement smart_show() and smart_hide() methods.
2013-03-22 15:31:21 -03:00
Tom Hacohen a170683334 Change usage of eo_do_super to the new prototype. 2013-03-18 16:14:18 +00:00
Jihoon Kim 161a78466b ecore_imf_example: call ecore_imf_context_filter_event in mouse up/down event 2013-02-23 18:01:10 +09:00
Jihoon Kim 2ea7ddfdcb ecore_imf_example: remove unused variable, fix warning 2013-02-23 17:59:29 +09:00
Jiyoun Park 7c5e9dbd62 ecore evas extn:add example file related with ecore extn
It can be used to see the function of ecore extn and msg send/recieve
2013-02-16 18:02:40 +09:00
Tom Hacohen 6ceabe7fa6 Revert "Fix build break"
This doesn't really fix build break, it actually breaks it.

This reverts commit e655f0b735.
2013-02-15 16:19:35 +00:00
Jaehwan Kim e655f0b735 Fix build break 2013-02-15 20:15:58 +09:00
Jiyoun Park c5a8a6b5ff Add infrastructure to handle message between ecore and parent ecore in Ecore_Evas
I add new example related with this. (ecore_evas_extn_socket & plug example)
ecore extn use this infrasturcture, server app and client app can communicate each other
later, this can be used to contorl access message


SVN revision: 83942
2013-02-15 09:32:40 +00:00
Ricardo de Almeida Gonzaga 512c759081 efl: add makefile.examples to each lib
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 83795
2013-02-08 17:35:24 +00:00
Ricardo de Almeida Gonzaga e379743c95 efl: add and fix some gcc lines and fix some examples. Its not possible to build from outside the directory with eina_prefix, the build still depends on PACKAGE_DATA_DIR
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 83794
2013-02-08 17:35:17 +00:00
Jihoon Kim 7cd88ec35a ecore_imf_example: add ecore_imf_context_reset in mouse down event callback
SVN revision: 83341
2013-01-26 03:30:16 +00:00
Jihoon Kim 782a3f0a1a ecore_imf_example: add parameter NULL checking
SVN revision: 83340
2013-01-26 03:01:12 +00:00
Jihoon Kim 0753ec709d ecore_imf_example: fix comment style
SVN revision: 83339
2013-01-26 02:58:50 +00:00
Jihoon Kim 81370c8926 ecore_imf_example: add mouse down event handler
SVN revision: 83338
2013-01-26 02:49:39 +00:00
Jihoon Kim 787ee80d0a ecore_imf: fix typo in ecore_imf_example.c
SVN revision: 83002
2013-01-19 06:18:31 +00:00
Gustavo Sverzut Barbieri ab07b8bd5f fix DSO spotted by stefan
SVN revision: 82982
2013-01-18 14:45:44 +00:00
Gustavo Sverzut Barbieri 4d050b6d4e fix distcheck.
it was failing:
 - leaving missing objects (.edj, .la)
 - eo was not building its examples automatically with --enable-always-build-examples
 - make dist with '--enable-always-build-examples' was not including 'src/examples'

plus lots of ignored files due test changes.



SVN revision: 82894
2013-01-16 18:28:43 +00:00
Gustavo Sverzut Barbieri ad046ea66b fix examples builds with recent module split.
ecore examples should be split... but I'm not in the mood to do so.



SVN revision: 82839
2013-01-15 19:27:48 +00:00
Gustavo Sverzut Barbieri d97c63e4c6 fix directory structure: move ethumd_client out of ethumb.
it's another library, do not mix stuff as it used to be.




SVN revision: 82835
2013-01-15 18:10:58 +00:00
Tom Hacohen 4b0d5c5479 Eina examples: Fixed unused parameter warnings.
SVN revision: 82829
2013-01-15 17:18:40 +00:00
Lucas De Marchi d4da99698e efl/edbus: make all edbus_*_send() methods unref its msg
There's no reason to keep a msg after it was sent. Before this patch we
had edbus_service_signal_send() unref'ing its msg and all the others
not. Also, several users (particularly the edbus_proxy_send() ones) were
forgetting to unref the msg.

This patch makes all these methods unref the message after it has been
succesfully sent:

 - edbus_connection_send()
 - edbus_object_send()
 - edbus_proxy_send()
 - edbus_service_signal_send()



SVN revision: 82807
2013-01-15 14:33:48 +00:00
Gustavo Sverzut Barbieri 3815810b1a clean up benchmark and example rules.
- they have no 'all' rule, keep out of SUBDIRS

 - they depend on 'all-am', the non-recursive target that builds everything.

 - they do not need a directory on its own to declare nothing.x



SVN revision: 82689
2013-01-12 07:38:26 +00:00
Gustavo Sverzut Barbieri 00f59eaf54 turn on automake warnings and fix them.
using their recommended way to implement silent rules.


SVN revision: 82686
2013-01-12 06:50:35 +00:00
Gustavo Sverzut Barbieri 42d3b66cc5 missing file.
SVN revision: 82678
2013-01-12 04:30:57 +00:00
Gustavo Sverzut Barbieri 4f52ae0f1b efl/ethumb: the test is actually an example.
SVN revision: 82676
2013-01-12 03:59:25 +00:00
Gustavo Sverzut Barbieri f8fde3d560 efl: fix out-of-tree build of examples.
edje and embryo include files are in source dir, not build.

codegen example must have dependency to build in correct order :-/



SVN revision: 82605
2013-01-11 03:57:29 +00:00
Gustavo Sverzut Barbieri dfb84c1657 efl: merge emotion.
this one was quite a huge work, but hopefully it's correct.

NOTES:
 * removed vlc generic module, it should go into a separate package.
 * gstreamer is enabled by default (see --disable-gstreamer)
 * xine is disabled by default (see --enable-gstreamer)
 * generic is always built statically if supported
 * gstreamer and xine can't be configured as static (just lacks command line options, build system supports it)
 * v4l2 is enabled by default on linux if eeze is built (see --disable-v4l2)
 * emotion_test moved to src/tests/emotion and depends on EFL_ENABLE_TESTS (--with-tests), but is still installed if enabled.

TODO (need your help!):
 * fix warnings with gstreamer and xine engine
 * call engine shutdown functions if building as static
 * remove direct usage of PACKAGE_*_DIR and use eina_prefix
 * add eina_prefix checkme file as evas and others
 * add support for $EFL_RUN_IN_TREE
 * create separate package for emotion_generic_modules
 * check docs hierarchy (doxygen is segv'in here)



SVN revision: 82501
2013-01-10 03:43:32 +00:00
Daniel Juyung Seo 91630603a5 ecore ecore_fd_handler_example.c: Added gcc build instruction for an example.
SVN revision: 82356
2013-01-07 17:04:18 +00:00
Gustavo Sverzut Barbieri 7499e9dee0 efl: distcheck will run tests and compile all examples.
Tests are disabled by default, but they should be mandatory for
distcheck. So should be examples, we should have them to at least
compile.

As there is no way to force "make distcheck" to run "make examples",
I've created --enable-always-build-examples to make examples regular
noinst_PROGRAMS, being always compiled. distcheck will use that
option.



SVN revision: 82276
2013-01-05 14:41:14 +00:00
Gustavo Sverzut Barbieri d9858fc223 efl/edje: codegen shouldn't use BUILT_SOURCES.
if use BUILT_SOURCES it will always generate those files, and their
requirement codegen.edj, even if examples were not to be built.

make will automatically build the files if there are rules to do so,
we just have to clean them.



SVN revision: 82275
2013-01-05 14:38:32 +00:00
Gustavo Sverzut Barbieri 4a35861791 efl/ecore: hopefully fix all examples.
SVN revision: 82243
2013-01-04 23:51:53 +00:00
Gustavo Sverzut Barbieri 2b29626d8d efl: fix make dist.
Carefully compared 'svn export' and 'make dist' results and couple of
files were missing.

Changes:

 * Makefile.am: removed all .pc from EXTRA_DIST, we shouldn't
   distribute them here as they will contain ./configure data such as
   install location.
 * src/Makefile.am: moved all if-endif to files, otherwise EXTRA_DIST
   won't work properly. We must EXTRA_DIST outside of the if-endif
   block.
 * static_libs/liblinebreak: removed couple of unused files.




SVN revision: 82241
2013-01-04 20:55:12 +00:00
Gustavo Sverzut Barbieri 2b672efbdd efl/edje: fix examples to not build EDJ during regular install
do not use standard files_DATA and filesdir as they would always be
executed during compilation.



SVN revision: 82223
2013-01-04 18:25:43 +00:00
Gustavo Sverzut Barbieri f063c393eb efl: simplify examples handling.
SVN revision: 82222
2013-01-04 18:24:41 +00:00
Gustavo Sverzut Barbieri 733425c62c efl: make libraries aware of EFL_RUN_IN_TREE.
this variable tells that the build is being done in tree and we should
not look at install locations.



SVN revision: 82217
2013-01-04 17:19:43 +00:00
José Roberto de Souza 748b09d7c0 edbus: Remove unused parameter warning of edbus examples
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82213
2013-01-04 16:44:06 +00:00
Cedric BAIL bd9b55a3ab efl: draah, edje example don't follow the rest of efl example. so shut it down.
SVN revision: 82168
2013-01-04 10:36:54 +00:00
Cedric BAIL c0e3868bdc efl: the problem is edje not ephysics.
SVN revision: 82166
2013-01-04 10:24:00 +00:00
Cedric BAIL 2b52e2c129 efl: disable build of ephysics example as we can't build them on a clean machine.
NOTE: this is just the bootstrap issue we have been warning about.


SVN revision: 82165
2013-01-04 10:14:55 +00:00
Gustavo Sverzut Barbieri 9ea2ce1041 efl: merge edje.
this is still in progress, mostly the multisense stuff is pending.

it seems that when we merge ecore_audio in edje the libremix and
similar are gone, at least from Edje, and will be in ecore_audio
itself (or pulseaudio).

Changes:
 * __UNUSED__ to EINA_UNUSED
 * binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and
   will assume the binaries are still not installed, running from
   build tree location (needs more testing, maybe doesn't work with
   srcdir != builddir, still doesn't solve cross compile builds)



SVN revision: 82139
2013-01-04 02:08:14 +00:00
Gustavo Sverzut Barbieri e1d76fbdab efl/ephysics: quiet warning
SVN revision: 82133
2013-01-04 00:03:56 +00:00
Gustavo Sverzut Barbieri 9e0788cc2e efl: merge ephysics
changes:
 * __UNUSED__ -> EINA_UNUSED
 * Fixed doc hierarchy



SVN revision: 82126
2013-01-03 22:10:40 +00:00
Rafael Antognolli 54bffeb2fd ecore/examples: Add PACKAGE_EXAMPLES_DIR to ecore examples too.
SVN revision: 82064
2013-01-03 12:04:32 +00:00
Gustavo Sverzut Barbieri 014cd8065d efl/eio: use eina_file_copy()
SVN revision: 81944
2012-12-31 23:45:24 +00:00
Gustavo Sverzut Barbieri 6ae6f925a4 efl: add eina_file_copy()
it's useful to copy file from one place to another and this will be
used in eio' s implementation.

NOTE: did not use mmap here as mmap faults may be cumbersome to handle
(Eina_File itself does that, but in a nasty way) and the
implementation would be severely different as there is no Eina_File
from FD, and there is no way to inject custom memory/fd into the
Eina_File's fault handling. The performance would not be that
different anyways and the splice() is already in there for systems
with good performance (read: Linux).



SVN revision: 81942
2012-12-31 23:17:18 +00:00
Gustavo Sverzut Barbieri 678727aae4 efl: missing api for xattr.
SVN revision: 81941
2012-12-31 21:05:58 +00:00
Gustavo Sverzut Barbieri 4e6ce9277f efl/evas: add ecore-evas dependent examples.
nice feature of single tree efl is that evas examples can use ecore-evas :-)



SVN revision: 81919
2012-12-31 01:40:50 +00:00
Gustavo Sverzut Barbieri df1b3d30c4 efl: refactor CFLAGS, LIBS, LIBADD and LDADD usage.
- remove EFL_LIBS and EFL_CFLAGS, use per-lib values that inherit
   from EFL (general)

 - add NAME_LDFLAGS and EFL_LDFLAGS for linker flags.

 - LDADD (binaries) now use NAME_LDFLAGS instead of NAME_LIBS, as they
   link to libname.la and that will pull in the libtool dependencies



SVN revision: 81915
2012-12-31 00:46:14 +00:00
Gustavo Sverzut Barbieri 331488d1ce efl: merge edbus (v2).
SVN revision: 81825
2012-12-28 17:53:25 +00:00
Gustavo Sverzut Barbieri 6800b178dc efl/src/examples/eio: fixed typo.
SVN revision: 81814
2012-12-28 15:59:12 +00:00
Yakov Goldberg fa11a3507d evas: fixing example
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 81359
2012-12-19 13:45:02 +00:00
Yakov Goldberg 3032a8554c evas: Eo-styled Evas example added.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 81328
2012-12-19 09:13:08 +00:00
Daniel Willmann 1c68e42f25 ecore_audio: Add an example for libsndfile output: ogg encoder
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 81003
2012-12-14 23:38:35 +00:00
Daniel Willmann 55f6091e3d ecore_audio: Example for user generated sounds
Uses the custom function support, which can probably be improved

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 81002
2012-12-14 23:38:31 +00:00
Daniel Willmann 2143671420 ecore_audio: Add an example - a simple CLI music player
Give it sound files (ogg, wav, not mp3) as parameter or

"tone:freq=<f>,duration=<dur_in_s>" to play a lovely sine wave

* '<' and '>' seek forward and backward
* '+' and '-' change the volume
* Space toggles pause
* Shows information for the song (remaining, %)
* (Un)loop a song with 'l'
* 'n' - Next song
* 'm' - Next song simultaneous to current
* Volume can be set from 0 - 150%

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 81001
2012-12-14 23:38:28 +00:00
Vincent Torri 1a2daa057d add eio example and fix ecore_fb linking
SVN revision: 80273
2012-12-05 18:10:43 +00:00
Daniel Willmann 5f81e0226d Make ecore examples compile again
Including ECORE_LIBS in LDADD is not enough, we have to include the
relevant libs from efl as well (eina, evas, ...)

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 80260
2012-12-05 15:28:10 +00:00
Vincent Torri 316ddf1b3f Ecore: fix subdirs (aka : to test, do not compile while being in the subdir, but at the top level dir...)
SVN revision: 80129
2012-12-04 07:23:43 +00:00
Vincent Torri 46d4358209 Ecore: add examples
SVN revision: 80097
2012-12-03 19:36:16 +00:00
Daniel Willmann c0840226b0 Remove binary character in Makefile.am
This caused automake to generate a faulty Makefile, which in turn caused
compilation to fail.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 79345
2012-11-15 13:28:14 +00:00
Vincent Torri 80910393d6 merge: add evas tests and examples
SVN revision: 79300
2012-11-14 20:12:53 +00:00
Vincent Torri 77d90bd45e merge: pass directly to the preprocessor the Windows macro instead of using autotools
SVN revision: 78350
2012-10-23 05:43:57 +00:00
Gustavo Sverzut Barbieri 2703b747a3 efl: eet and eo are now mandatory.
I've reordered the build to be: eina -> eo -> eet as it make more sense.



SVN revision: 77766
2012-10-10 17:27:11 +00:00
Vincent Torri 7fe3d35994 merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.
SVN revision: 77542
2012-10-05 20:09:47 +00:00
Cedric BAIL 1000f350e3 efl: backport Igor's eina patch.
SVN revision: 77415
2012-10-04 09:31:46 +00:00
Vincent Torri 0951e8a9d1 Eo IS optional. Sorry, i will fight to have ALL libs being optional
SVN revision: 77126
2012-09-27 04:46:30 +00:00
Carsten Haitzler a9230c1de3 make eo not an optional build - this WILL be no-option as we will be
based on it.



SVN revision: 77124
2012-09-27 04:39:28 +00:00
Carsten Haitzler 156f4a783f and more include dir fixes.
SVN revision: 77122
2012-09-27 04:14:38 +00:00
Carsten Haitzler b257931a81 make make examples work with dso linking unhappiness.
SVN revision: 77111
2012-09-27 03:22:34 +00:00
Vincent Torri 3b5a3448b7 merge: add eo
SVN revision: 77072
2012-09-26 06:56:52 +00:00
Vincent Torri 8ea0aea278 merge: clean generated examples
SVN revision: 77050
2012-09-25 08:23:06 +00:00
Vincent Torri 4b81a0b3de merge: minor fix
SVN revision: 77045
2012-09-25 08:01:31 +00:00
Vincent Torri 851975dbcc merge : remove useless CONDITIONALs and make eet build optional; eina is always built
SVN revision: 77026
2012-09-23 19:56:44 +00:00
Vincent Torri a05d6a0419 merge: use $(MAKE) $(AM_MAKEFLAGS) and not just make. Fix benchmark-e17 rule
SVN revision: 77008
2012-09-22 06:44:32 +00:00
Vincent Torri aeadf86ba6 merge: "fix" distcheck
I can't be sure that distcheck is fixed as the check of eet is failing.
I've disable the run of the eina test for now as it is *very* long. I'll
re-enable it once eet check is running flawlessly



SVN revision: 76772
2012-09-17 17:17:55 +00:00
Vincent Torri 8abaff3bdf merge: add eet
SVN revision: 76768
2012-09-17 16:35:38 +00:00
Vincent Torri 103b912f66 merge: and the eina examples
SVN revision: 76715
2012-09-16 21:15:43 +00:00