Commit Graph

1245 Commits

Author SHA1 Message Date
Daniel Willmann cb3f50d19c eina/evas: Fix includes for examples
Some examples are still missing includes
2013-04-25 00:11:06 +01:00
Carsten Haitzler a73b21f13f fix examples makefiles to find Efl_Config.h 2013-04-25 02:08:49 +09:00
Daniel Willmann 9b88fb4d39 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 339fd52989 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 d5313371de 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 91fe8d97bc ecore_audio: Fix warnings
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:34:33 +01:00
Daniel Willmann 49403e9659 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 ee3ea49cfa 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 1de5d3cd23 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 575069ae18 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 79bc257a60 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 e29dec1793 Fix incorrect printf format usage 2013-04-16 12:07:36 +04:00
Rafael Antognolli 7ec690ee07 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 9728b2679a 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 3daf67a4ba eina/examples: Return in a non-void function.
Reported by Simotek. Thanks!
2013-03-28 10:56:05 +00:00
Tom Hacohen 52dd8953ea Eina examples: Fixed eina magic example.
Return a value in the "new" function...
2013-03-26 11:24:17 +00:00
Cedric Bail b46016141d edje: work also when not cross compiling. 2013-03-24 23:44:04 +09:00
Cedric Bail 1732270f0c edje: add option to enable theme compilation when cross compiling 2013-03-24 22:59:44 +09:00
Rafael Antognolli b58ee5181d 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 67bebcc226 Change usage of eo_do_super to the new prototype. 2013-03-18 16:14:18 +00:00
Jihoon Kim 83fde2e42f ecore_imf_example: call ecore_imf_context_filter_event in mouse up/down event 2013-02-23 18:01:10 +09:00
Jihoon Kim fc4d74617d ecore_imf_example: remove unused variable, fix warning 2013-02-23 17:59:29 +09:00
Jiyoun Park 89be30b2b3 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 5a8bfea09b Revert "Fix build break"
This doesn't really fix build break, it actually breaks it.

This reverts commit e655f0b7358765f02ea392971c6ddbf8518c37c8.
2013-02-15 16:19:35 +00:00
Jaehwan Kim 310834a5b2 Fix build break 2013-02-15 20:15:58 +09:00
Jiyoun Park 2ccc13696a 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 4f3ca3efcd 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 e2dae9a49e 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 4b966d4a2c 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 b215a6dd81 ecore_imf_example: add parameter NULL checking
SVN revision: 83340
2013-01-26 03:01:12 +00:00
Jihoon Kim a410c32691 ecore_imf_example: fix comment style
SVN revision: 83339
2013-01-26 02:58:50 +00:00
Jihoon Kim b02a592528 ecore_imf_example: add mouse down event handler
SVN revision: 83338
2013-01-26 02:49:39 +00:00
Jihoon Kim 917b131ee3 ecore_imf: fix typo in ecore_imf_example.c
SVN revision: 83002
2013-01-19 06:18:31 +00:00
Gustavo Sverzut Barbieri 4e9f2eaaf9 fix DSO spotted by stefan
SVN revision: 82982
2013-01-18 14:45:44 +00:00
Gustavo Sverzut Barbieri 04066fdb89 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 b2eba6e2b4 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 b2ceb059a8 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 23cf059b23 Eina examples: Fixed unused parameter warnings.
SVN revision: 82829
2013-01-15 17:18:40 +00:00
Lucas De Marchi 57cf1ac7ef 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 847b831002 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 66791fc191 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 694eefedb6 missing file.
SVN revision: 82678
2013-01-12 04:30:57 +00:00
Gustavo Sverzut Barbieri 24537f9c8b efl/ethumb: the test is actually an example.
SVN revision: 82676
2013-01-12 03:59:25 +00:00
Gustavo Sverzut Barbieri 9c66145044 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 18f0e57f27 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 768ebc01f4 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 f7679697c6 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 dc409bc596 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 62ee2c0952 efl/ecore: hopefully fix all examples.
SVN revision: 82243
2013-01-04 23:51:53 +00:00
Gustavo Sverzut Barbieri 852653c0a9 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