Commit Graph

48098 Commits

Author SHA1 Message Date
Ji-Youn Park dc7b91cb7c elm_image: fix break related with elm image error enum 2016-06-03 17:14:37 +08:30
Jean-Philippe Andre 31279d2513 Efl.Pack: Replace pack_direction with Efl.Orientation
Since I first made the pack_direction before orientation
existed, the names didn't match. This should improve API
consistency.
2016-06-03 16:52:31 +09:00
Davide Andreoli 681ddb2f90 Fix legacy name of elm_win_efl_screen_dpi_get()
...spank again goes to Ji-Youn Park, that insist to not even try his work
2016-06-03 08:51:51 +02:00
Ji-Youn Park 242f79a98c elm_win: remove main_menu, window_id, fake_canvas property from eo 2016-06-03 15:09:28 +08:30
Jean-Philippe Andre 57b279cd56 elm_test: Add test case for event refeed
Not sure if this test case is really good, but it was
necessary to prove that input event refeed can work from
application side. This is a feature that should work
but shouldn't be used :)
2016-06-03 15:36:02 +09:00
Jean-Philippe Andre b147911bad elm_win: Forward events between window and evas
This does:
1. Forward keyboard events from evas to win
2. Allow feeding external input events

Input events can be faked by apps by simply forging
eo objects of the proper type (key or pointer evt) and
calling eo_event_callback_call().

Such events will be forwarded to the internal Evas, and
some bool flags prevent infinite refeeding loops.

efl_event_dup() returns fake events for this to work.

@feature
2016-06-03 15:29:17 +09:00
Jean-Philippe Andre a4701ea969 elm: Partially revert "elementary: avoid random memory access."
This reverts commit ac5a0b7e79.

I added assert(pd == sd) in the modified code and couldn't find
anything suspicious. The proper class is used in eo_data_scope_get().
I also can't find a crash or a bug currently in hover. I know there
was a problem earlier, but that was fixed in 3092e08a83.

Now, if there is still a problem, we should check it carefully.
Pinging @cedric
2016-06-03 15:29:17 +09:00
Jean-Philippe Andre 5fd02a79cc Efl.Ui.Box: Fix direction set
VERTICAL means UP but UP was ignored...
2016-06-03 15:29:01 +09:00
Vyacheslav Reutskiy 8f82e93368 edje_edit: add API for get part item attributes by item index
Cedric revert patch 6f7608befd same days
ago.

<quote Cedric>
Your patch 6f7608befd did break elemines
which does relly on the proper index to be given to it. I think
Edje_Edit should be fine and use the index if no name is provided (See
edje_load.c around L1180). In all case this was clearly an ABI break and
needed to be reverted.
</quote Cedric>

So now edje_cc not guarantee name for part items. This is bad, because
edje_edit use item name for access to item attributes. If item have not
name we cann't get it attributes, because edje_edit compare the given
name with part items name from edj-file, strcmp dislake NULL args.
For now I see one way mark all edje_edit_part_item* APIs as deprecated
and add new APIs for manage part items by index.

For clearly and history:
The eason for revert - https://phab.enlightenment.org/D3820
The proposed solution - https://phab.enlightenment.org/D3907
2016-06-03 08:35:13 +03:00
Jaehwan Kim 2f75c8b6d9 examples: elementary: fix the wrong spell in comment. 2016-06-03 10:34:25 +09:00
Cedric BAIL ac5a0b7e79 elementary: avoid random memory access.
It seems that this content_get function are not getting the data pointer
they expect at all.
2016-06-02 17:20:16 -07:00
Cedric BAIL 87e653239f elementary: make eo_provider_find lookup in both eo and elementary parent hierarchy.
We can not assume that the elementary parent will be also somewhere in the eo parent
hierarchy. We need to explore both when doing an eo_provider_find in elementary for it
to be really useful.
2016-06-02 12:47:54 -07:00
Cedric BAIL c77856456e evas: attempt to fix massive memory leak in the fb engine.
T3763
2016-06-02 10:53:42 -07:00
Cedric BAIL 0a7b668249 emotion: properly fix build of vlc generic player. 2016-06-02 10:43:29 -07:00
Cedric BAIL 63a1de1263 evas: correctly handle dependencies of evas generic loaders. 2016-06-02 10:43:04 -07:00
Cedric BAIL 776e3ae28c autotools: we can't destroy this files as it break a make clean all cycle. 2016-06-02 10:42:21 -07:00
Chris Michael 5f10ad8155 Revert "Revert "elput: add missing dependency on libudev""
Apparently, libudev is not thread-safe which means we cannot use Eeze
for getting the udev but rather need to actually use libudev, so those
revert needs to be reverted.

This reverts commit 354bc66d0d.
2016-06-02 12:00:32 -04:00
Stefan Schmidt 2782f043a3 build: use the normal efl tree macros for dependency handling
This should hopefully be the last fix for the merged emotion generic player.
2016-06-02 17:27:03 +02:00
Mike Blumenkrantz 596b132226 Revert "elput: Use Eeze function to get the udev to create context with"
This reverts commit 7b3d20371e.

using a separate context was intentional here since libudev is not threadsafe
and this will crash
2016-06-02 11:12:06 -04:00
Chris Michael 354bc66d0d Revert "elput: add missing dependency on libudev"
A better fix to not use libudev functions has been pushed previously,
so there is no need to add an extra dependency on libudev as we use
Eeze already.

This reverts commit 9d429a7c1f.
2016-06-02 10:26:38 -04:00
Chris Michael 7b3d20371e elput: Use Eeze function to get the udev to create context with
As we already link to Eeze and use it throughout this code, there is
no point in adding an extra dependency on libudev itself when we can
just use Eeze functions to get what we need. This is a better fix for
T3712

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-02 10:24:42 -04:00
Stefan Schmidt 6664229bdc build: use internal dependency for eina and ecore for generic players
On a system without efl installed these two packages would not be found as.
Need to be internal now that we merged them inside efl.
2016-06-02 15:58:35 +02:00
Stefan Schmidt 9cb1190f00 elementary: add missing dependency on libwayland-client in elm_cnp
lib/elementary/.libs/lib_elementary_libelementary_la-elm_cnp.o: In function `wl_data_offer_accept':
/usr/include/wayland-client-protocol.h:893: undefined reference to `wl_proxy_marshal'
/usr/include/wayland-client-protocol.h:893: undefined reference to `wl_proxy_marshal'
collect2: error: ld returned 1 exit status

Based on a patch by aerodynamik. Thanks!

Fixes T3398
2016-06-02 15:34:18 +02:00
Stefan Schmidt 9d429a7c1f elput: add missing dependency on libudev
Elput is using udev directly so we need to amke sure we link against it.

lib/elput/.libs/lib_elput_libelput_la-elput_input.o: In function `_elput_input_init_thread':
/<<PKGBUILDDIR>>/src/lib/elput/elput_input.c:317: undefined reference to `udev_new'
/<<PKGBUILDDIR>>/src/lib/elput/elput_input.c:326: undefined reference to `udev_unref'

Patch by aerodynamik. Thanks!

Fixes T3712
2016-06-02 15:34:18 +02:00
Carsten Haitzler 6ad484be28 evas generic svg loader - dotn continue if rsvg handle is null
should avoid complaints of null rsvg handles
2016-06-02 22:31:53 +09:00
Carsten Haitzler 38f8958778 efl - build again after adding generic players 2016-06-02 22:29:54 +09:00
Daniel Kolesa b1946ca5d6 eolian: utilize the new void_ptr builtin across eo files
This lets me narrow down the remaining cases of pointers across the EFL.
The void pointers will later need to be reevaluated on per-case basis and
replaced appropriately where possible/feasible.
2016-06-02 13:00:26 +01:00
Jee-Yong Um 69ea4145c9 edje_cc: improve code readability when parsing external params
Reviewers: Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4009
2016-06-02 20:55:10 +09:00
Tom Hacohen 92cfd074aa Merge evas generic loaders and emotion generic players
We decided to merge these into the efl. They are now part of the repo
and build as port of the normal makefiles. History is fully retained.
2016-06-02 11:39:08 +01:00
Cedric BAIL 674cb5c165 emotion: remove legacy files from emotion_generic_players. 2016-06-02 11:35:06 +01:00
Cedric BAIL c6fba15fc4 evas: remove legacy file from evas_generic_loaders. 2016-06-02 11:35:05 +01:00
Cedric BAIL 6b5ed1b711 evas: integrate evas generic loaders into our single tree build system. 2016-06-02 11:35:05 +01:00
Cedric BAIL 36f15d761a emotion: integrate generic legacy vlc support in the build system. 2016-06-02 11:35:05 +01:00
Tom Hacohen e649307d92 Merge in emotion generic players.
This commit only merges the repository in (including history) but
doesn't actually build anything. This is the first steps towards the
merge.
2016-06-02 11:35:05 +01:00
Tom Hacohen e0f0630015 Merge in evas generic loaders.
This commit only merges the repository in (including history) but
doesn't actually build anything. This is the first steps towards the
merge.
2016-06-02 11:35:04 +01:00
Jean-Philippe Andre 915e09aed3 Evas: Rename Evas.Rectangle as Efl.Canvas.Rectangle 2016-06-02 18:57:30 +09:00
Carsten Haitzler aec0cb9a67 elm fileselector - make ok/cancel in selector configurable per os
so the theme build can order ok/cancel based on preference for an os,
so make configure have an option for this and build the theme
specifically based on that option. enable the option if you want mac
style cancel, ok or default ok, cancel as is common elsewhere.

  --enable-cancel-ok

is the option

@feature
2016-06-02 18:38:57 +09:00
Ji-Youn Park 80d0e4cb08 elm_win: remove elm_win_layer_set and inlined image get
elm_win_layer_set is not supported int wayland.
inlined image get api should alternative method to help app save, get pixel for TODO
2016-06-02 17:37:07 +08:30
Ji-Youn Park a3b8fefa24 elm_win: remove illume command send from eo
1. remain elm_win_type_set
2. remain elm_win_alpha_set
3. remain elm_win_available_profile_set/get
app usually set availble profile into window, and app fw or other lib can read it.
so I remain get/set api both.
4. remove elm_win_profile_set/get from eo
5. remove illume feture in eo and move it to legacy
2016-06-02 17:17:59 +08:30
Ji-Youn Park 2bf508836d Efl.Gfx.Size.Hint: add Efl.Gfx.Size.Hint skeletton
create Efl.Gfx.Size.Hint skeletton and change elm_win eo.
remove size_step and size_base API from elm_win
and inherit from Efl.Gfx.Size.hint
2016-06-02 16:48:17 +08:30
Jean-Philippe Andre 014295fbc9 ecore_evas: Fix mouse in/out events
Apparently I broke some inputs in E (efm) like mouse wheel.
Somehow the list of objects where the pointer is in was NULL.
This was because the mouse_in/out events were not matched to
the proper window ID.

Fixes T3760
2016-06-02 14:19:18 +09:00
Jean-Philippe Andre 29d5be9e5e ecore_evas: Fix mouse inputs
Yup, I broke everything again. This time, mouse move inputs
would not move the cursor, since I was bypassing the regular
_ecore_evas_mouse_xxx callbacks.

Fixes T3766
2016-06-02 14:19:18 +09:00
Jean-Philippe Andre 0505a729e2 Evas: Simplify eo event mechanism
So, I was stupid. I was relying on legacy callbacks to
trigger eo events, which means that only when a legacy
callback was registered would my new eo events be triggered.

Instead, I can pass the eo event desc & info whenever
calling evas_object_event_callback_call().
2016-06-02 14:19:18 +09:00
Jean-Philippe Andre 350b465d22 Evas: Send Efl_Event_Key data to evas objects 2016-06-02 13:31:40 +09:00
Jean-Philippe Andre d6b8f0a691 Evas: Send key events through eo callbacks 2016-06-02 13:31:40 +09:00
Jean-Philippe Andre 95628c1efa Evas: Add storage class for Key events
This is for key up/down events' info.
2016-06-02 13:31:40 +09:00
Jean Guyomarc'h 45b12224ec eina: fix compilation on OpenBSD/Windows of eina_btlog
We only care whether the process terminated successfully or not.
Non-zero values will be anything but a success, so we don't even care
about the exit code of the program.

This should fix compiling on OpenBSD (where WEXITSTATUS needed
to be defined by including a system header) as well on Windows.

Fixes T3733
2016-06-02 00:14:22 +02:00
Jean Guyomarc'h 098aa1615f elementary: fix runtime warning about missing fixed part 2016-06-01 22:46:31 +02:00
Jean Guyomarc'h 7ef392c438 ecore_cocoa: fix bad copy/paste in documentation
Thanks to Stefan Schmidt.
2016-06-01 22:45:35 +02:00
Tom Hacohen aa6b53a2ae Switch to eo_del() where it should be a del and not an unref
This code was written when eo_del() was removed and eo_unref() was the
recommended practice. Since we added eo_del() back we now need to adjust
this new code accordingly.
2016-06-01 19:27:40 +01:00