Commit Graph

1003 Commits

Author SHA1 Message Date
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
Carsten Haitzler 4cf68bf728 eoid -> use mmap for allocating id tables. makes it a separate memory
regions with page separations... this allows us more direct control
over access and visibility.
2013-04-23 23:39:37 +09:00
Carsten Haitzler c9ad644be2 eoid -> rjid 64bit bit allocations for.. not so much bloat. 2013-04-23 23:39:37 +09:00
Aharon Hillel ba57a1c795 ecore: Split Ecore headers
Now, Ecore.h includes three new files:
- Ecore_Eo.h: Eo API functions (functions defines, enums, base id).
- Ecore_Legacy.h: contains the API functions related to objects
- Ecore_Common.h: common data (structs, enums...) + functions not
related to objects.

This phase is needed for the EFL 1.8 release to disable Eo APIs if we
consider it is not enough mature to be used by applications.
2013-04-23 16:47:44 +03:00
Daniel Zaoui 337fac0e73 Eo: pointers indirection mechanism for objects and classes
Summary: This feature replaces Eo pointers with ids to prevent bad usage
or reuse of these pointers. It doesn't change API.
The mechanism uses tables storing the real pointers to the objects.
See the src/lib/eo/eo_ptr_indirection.c file for more details on the
mechanism.
2013-04-23 09:50:40 +03:00
Carsten Haitzler 33a46372c9 Revert "ummm dont set max based on max hint... this got added at some point"
This reverts commit 116013320a.
2013-04-23 15:44:16 +09:00
Mike Blumenkrantz 715c77adb9 fix recursive proxy rendering to just show a black rectangle 2013-04-22 16:41:24 +01:00
Stefan Schmidt c2da27328b eeze/sensor: Simplify object handling in async paths.
This follows the simplified handling of sensor object we are already
doing for the sync paths. Its a bit more complicated here as we need
to pass all data through the module specific async handling. But the
result should be the same.
2013-04-22 15:58:28 +01:00
Carsten Haitzler 116013320a ummm dont set max based on max hint... this got added at some point
but it actually breaks older code that used these hints to store
sizing info but didnt expect it to be enforced.
2013-04-23 00:08:19 +09:00
Carsten Haitzler 6d54f4608d fix 64bit ecore-x selection overrun bug. 2013-04-23 00:08:18 +09:00
WooHyun Jung beba98895a edje/edje_entry : When selected word exists, selection is cleared and cursor remains on the current entry by additional key input. 2013-04-22 23:34:25 +09:00
Daniel Juyung Seo 436d63e01a eina_unicode.H: be nice. add more documentation for deprecated api. 2013-04-20 19:01:02 +09:00
Daniel Willmann 6781342d3c ecore_audio: Guard against attaching an input twice
Add check in input_attach and change test case accordingly

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 18:34:16 +01:00
Rafael Antognolli f12b3b94d0 ecore/ews: Make this engine be aware of the wayland frame object.
Its background object must be resized to the framespace, and left at
least one layer available for the frame object to be under it.
2013-04-19 12:57:50 -03:00
Daniel Willmann 3b5f002f17 ecore_audio: Remove unnecessary methods in tone input
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 15:29:44 +01:00
Daniel Willmann 1c0107afd8 ecore_audio: Fix seeking in tone input
Also make seekable be a property of the input as this doesn't make sense
for the output.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 15:28:00 +01:00
Daniel Willmann fe292a34fb ecore_audio: Fix possible memory leak in pulse main loop integration
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 13:43:52 +01:00
Stefan Schmidt 27a711b83c eeze/sensor: Simplify sensor object handling.
We rely on the app to provide a sensible object pointer and we now longer
need to have a copy of the object around to operate on it.

Simplifies code, maintenance and reduces mem copies. Win-Win :)
2013-04-19 09:21:12 +01:00
Cedric Bail 9abcb77c73 efreet: shutdown in the right order. 2013-04-19 15:41:41 +09:00
Jihoon Kim 6e767dd75b edje: remove useless ecore_imf_context_reset call in case of pressing ESC and Return key 2013-04-19 14:46:42 +09:00
Rafael Antognolli e937f1f5a3 evas/wayland: Unclip objects from the framespace after rendering.
These objects should be clipped only during rendering, since keeping
them clipped after that allows for unexpected behavior on the
application side. For instance, an application could check if objects
have clippers before doing something to them, assuming that some objects
should have no clipper, but under wayland, after the first render
iteration, there will be no objects without a clipper.

This commit fixes this behavior by unclipping objects that had no
clipper prior to the render iteration.

Additionally, it fixes a bug where a maximized/fullscreen window could
have not all of its content rendered immediately. This was occuring
because some objects could be clipped to the framespace clipper, but
considered invisible in the beginning of the render phase, where they
are evaluated. They were considered invisible because the framespace
clipper object was not resized at that phase yet, and thus these objects
were being clipped out from the viewport.
2013-04-18 16:38:16 -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 88835840ea ecore_audio: Change method signature of read and read_internal
Use size_t and ssize_t as len/return value

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:32:46 +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 43299ade45 edje_multisense: Now works with eo rewrite
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:16:40 +01:00
Daniel Willmann e93ddc9bb3 ecore_audio_pulse: Fix small bug that would delay PA stream deletion
In case of short reads just make sure that playback is started
immediately. No need to drain just yet as that just causes issues with
delayed removals of streams.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:16:40 +01:00
Daniel Willmann d2326d229e ecore_audio: Support VIO in sndfile input
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:16:40 +01:00
Daniel Willmann e89153a21d ecore_audio: Implement virtual IO for generic input
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:15:39 +01:00
Daniel Willmann 7255656738 ecore_audio: Add pulseaudio output for eo
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann 01e4c9597e ecore_audio: Change signature of read function, reorder methods
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann 76509b2340 ecore_audio: Implement notification when samplerate changes
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann 38b3738384 ecore_audio: Allow setting frequency and length in tone input
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann e865d5b0a4 ecore_audio: Add tone input class
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann 422d3313e8 ecore_audio: Add sndfile in- and output
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann 845aeb5c63 ecore_audio_obj_in: Implemented read and event sending
A protected read function must now be implemented by the child class to
perform the actual reading.

Signals on playback loop and end are sent.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann bd948a81a4 ecore_audio: Add new methods to ecore_audio objects
obj_format_get/set
obj_in_looped_get/set
obj_in_length_get
Change signature of seek

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann 1dab08a39e ecore_audio: Clean up the headers
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann b22ac214e2 ecore_audio: Add EO_TYPECHECK to the method ID macro
Better checks should prevent typos/cnp issues when registering methods
for functions.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +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
Daniel Willmann bfc4601673 ecore_audio: Add new eo-based ecore_audio objects
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:16 +01:00
Stefan Schmidt f4ecb5ebcc eeze/sensor: Just use one list for available modules and add udev.
The second list got introduced when eeze got merged into efl. Instead
of maintaining both lists we can just go with one.
2013-04-18 15:50:40 +01:00
Tom Hacohen 8698e455f8 Ecore_x: init ret, otherwise it might be used uninitialized. 2013-04-18 13:46:28 +01:00
Tom Hacohen 171eebc21b Evas object dbg_info: Fixed cast of pointer to int.
Also fixed additional unneeded cast.
2013-04-18 12:20:46 +01:00
Shinwoo Kim 3b81d4aa51 [ecore_x] add accessibility support 2013-04-18 14:53:58 +09:00
Jiyoun Park 2d0d852fa9 expand indicator type to support if it want more than two indicator type 2013-04-18 14:45:11 +09:00
Carsten Haitzler 5339ab4501 small change: valgrind shus about uninitiallized data from stack...
it's unused anyway.
2013-04-18 12:49:24 +09:00
Deon 'PrinceAMD' Thomas 7df54da4c4 Ecore Pointer get root x,y position without ecore_x_window. 2013-04-18 12:07:26 +09:00
Carsten Haitzler 6ccae99bd1 let's fix eeze sensors to not segv on shutdown.. dup registered fake
(udev registered it as fake)... and in the process i found that we
probably double free as sensor is calloced in the module and AGAIN in
eeze sensor core... oh and symbols probably might lak from modules..
so static them up yo.
2013-04-18 00:30:04 +09:00
Daniel Willmann 8a19bb4b29 Eo: Print location of the calling functions in eo log output
Because of the way eo is dispatching method calls of objects the usual
error log you get if you mix up objects or try to call non-existent
methods is:

ERR<12404>:eo lib/eo/eo.c:362 _eo_dov_internal() Can't find func for op
0x24 (ecore_audio_obj_in:ECORE_AUDIO_OBJ_IN_SUB_ID_SPEED_GET) for class
'ecore_audio_obj_out_pulse'. Aborting.

Of course the problem is not really in lib/eo/eo.c, but in the function
calling eo_do()

Now the macros pass source file and line number on to the _internal
functions so we can log where the error originally happened:

ERR<1938>:eo lib/eo/eo.c:362 _eo_dov_internal() in
lib/ecore_audio/ecore_audio_obj_out_pulse.c:119: Can't find func for op
0x24 (ecore_audio_obj_in:ECORE_AUDIO_OBJ_IN_SUB_ID_SPEED_GET) for class
'ecore_audio_obj_out_pulse'. Aborting.

This makes debugging with eo a lot easier.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-17 15:56:45 +01:00
Daniel Juyung Seo 4497815caf evas_object_main.c: added Clipper information for debug info.
Eina value type does not support pointer so I used int as of now.
This needs to be converted into hexa later.
By using Clouseau, one can see this Clipper information.
2013-04-17 16:58:30 +09:00