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