Commit Graph

280 Commits

Author SHA1 Message Date
Christopher Michael b2456af159 Elm: Fix ticket 1363 (Cannot change focus with Shift+Tab when using
the wayland engines).

The focus handler which traps key events needs to listen for
ISO_Left_Tab also (which is what xkb reports for Shift+Tab).



SVN revision: 75618
2012-08-23 11:27:43 +00:00
Eduardo de Barros Lima 45dbb295aa elm_win: Formatting
SVN revision: 75558
2012-08-22 19:55:20 +00:00
Christopher Michael 8f4fc356f7 Elm: Remove some dead, commented out old code.
SVN revision: 75547
2012-08-22 12:48:46 +00:00
Carsten Haitzler 6faa1f83da make elm inlined window focus in work and thus key events work. :)
SVN revision: 75534
2012-08-22 10:02:32 +00:00
Christopher Michael b3344b337a Elm: Fix window inline test on wayland engines.
Fix checks for image object when we have a frame.



SVN revision: 75531
2012-08-22 09:21:28 +00:00
Carsten Haitzler faa6d2e91f spotted a missing feature not matching with trap stuff. fix.
SVN revision: 75493
2012-08-21 08:48:47 +00:00
Carsten Haitzler f6c1032582 printf--
SVN revision: 75447
2012-08-20 07:33:39 +00:00
Carsten Haitzler 3aa9c19663 fix preferred engine/config engine handlign and fb fallback to all
work as expected.



SVN revision: 75446
2012-08-20 07:09:44 +00:00
Kim Shinwoo 4de57c2cb9 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] *  access *

Series of of pathes from kim shinwoo. looked good to me - so in they
go, finishing off some more access mode to be more complete.



SVN revision: 75415
2012-08-18 13:52:03 +00:00
Christopher Michael f9d98db03e Elm: Add a mouse,out event (when we have a wayland frame) to handle
the case of resetting the wayland cursor image. Fixes ticket #1293.
Increase the size of the event rects on the border theme to allow for
easier resizing.




SVN revision: 75313
2012-08-16 09:40:02 +00:00
Christopher Michael 4637675056 Elm: Add fullscreen handling :)
Basically, we will remove the frame when going into fullscreen, and
readd when we leave fullscreen. When we remove the frame, then during
window redraw the appropriate fullscreen size will be calculated.
This allows proper fullscreening.



SVN revision: 75294
2012-08-15 10:57:31 +00:00
Daniel Juyung Seo 2859fb07e5 elm elm_win.c: Removed warning while compiling without HAVE_ELEMENTARY_WAYLAND option.
SVN revision: 74997
2012-08-08 08:10:22 +00:00
Christopher Michael 0d4d37e807 Elm: Fix ticket #1266: "delete,request" callback never gets called on window close
Delete requests where not being called when the frame close button was
pressed. I know this is not the 'ideal' fix (which is why I left
myself a FIXME here), HOWEVER the Ideal fix would mean breaking the
Feature Freeze (and potentially API), so I will wait until freeze is
over for that. For now, this fixes the 'bugger' in a non-instrusive way.



SVN revision: 74946
2012-08-06 14:34:25 +00:00
Christopher Michael 6acb77e647 Elm: Do not need to get frame x/y values here as we do not need them
anymore.



SVN revision: 74932
2012-08-06 12:47:04 +00:00
Christopher Michael 7287ff954b Elm: Fix ticket #1245. Mouse cursor does not change before window
resizing.

Previously, we only changed the mouse cursor when the border frame was
actually clicked. Now we can change it when the mouse moves over the
border/frame areas (like in X11). This adds a callback from the edc to
know when and where the mouse moves (with respect to the frame border
only). (IE: When the user moves the mouse over the bottom portion of
the border, the edc will let us know and we can change pointer
accordingly).




SVN revision: 74925
2012-08-06 12:05:53 +00:00
Daniel Juyung Seo 190a171f87 elm elm_win.c: Mark __UNUSED__ for unused parameters.
SVN revision: 74920
2012-08-06 10:30:55 +00:00
Carsten Haitzler 419a66ff93 handl x io errors more gracefully by quitting the mainloop cleanly.
also let app woners know via ioerr cb's on windows before we schedule
the quit.



SVN revision: 74893
2012-08-06 04:09:02 +00:00
Christopher Michael 40eacfcb99 Elm: Account for framespace when resizing frame object. Do not need to
account for it in any other case.



SVN revision: 74569
2012-07-30 10:06:28 +00:00
ChunEon Park d555e52cc4 elementary/win - fixed invalid sd memory access catched by valgrind.
now, more simple and clear!



SVN revision: 74310
2012-07-23 08:23:01 +00:00
Cedric BAIL 187462ec9d elementary: fix erroneous memory access.
One more pack of beer for the Valgrind developer !


SVN revision: 74202
2012-07-20 04:20:06 +00:00
Gustavo Sverzut Barbieri 3506c20374 elm_win: support trapping ecore_evas calls (aka: e17 support)
Allows setting a trap in elm_win that intercepts calls to
ecore_evas. If there is a trap and the trap returns EINA_FALSE, then
the corresponding call is NOT issued. If it does not exist or returns
EINA_TRUE, then the call is executed.

Enlightenment window manager will set these traps and will call
e_border directly, allowing E17 to use Elementary! A major feature
given e_widgets painful usage.

This should also help integrating into Wayland or even debug.





SVN revision: 74156
2012-07-19 04:35:50 +00:00
yan.wang 9521230ca9 From: yan.wang@linux.intel.com
Subject: [E-devel] [PATCH] Add frame size when calculating minimized
elm_win size

Hi,
  I found frame size including width and height isn't counted in
  _elm_win_resize_objects_eval() when calculating minimized elm_window
  size.
    It is OK for X engine because elementary only draw client area and X
    provides widow frame. So both the width and height from
    evas_output_framespace_get are 0.
      But it cause bug for wayland engine because elementary need draw
window
frame by itself. So real client area size is smaller than window size.
If frame size isn't counted into minimized window size, there isn't
enough client area to layout widgets.
  So it is bug for any engine in which elementary draws window frame by
  itself. It is the reason of
http://trac.enlightenment.org/e/ticket/1064.
  Could you please my attached patch for this issue?
    Thanks.
    


SVN revision: 74049
2012-07-18 08:27:52 +00:00
Gustavo Lima Chaves ef87e0cfb6 [elm] Style fix.
SVN revision: 74025
2012-07-17 18:46:18 +00:00
Christopher Michael e7aff2633f Elm: Commit roberts patch which fixes the unsafe call to
ecore_evas_window_get with a replacement function that checks the
currently used engine first. This fixes a segfault when running elm
with the wayland engines.



SVN revision: 73568
2012-07-11 11:53:29 +00:00
Carsten Haitzler 95bb03f0be add dpi get func in elm.
SVN revision: 73342
2012-07-05 12:59:06 +00:00
Carsten Haitzler c417a9c99f fix several elm+fb related issues and add a feature.
SVN revision: 73334
2012-07-05 09:23:38 +00:00
Stefan Schmidt b65fe02596 elementary/elm_win: No need to define and undef the same macro all over again.
SVN revision: 72194
2012-06-15 14:11:47 +00:00
Stefan Schmidt 9c0f6e7709 elementary/elm_win: Also check for potential NULL in other defines
Thanks to Daniel Willmann pointing them out to me. Actually I wonder
why we need all this define and undef for ENGINE_COMPARE. Will dig a
bit deeper into that and see if we may can go with a single one.

SVN revision: 72144
2012-06-14 15:56:42 +00:00
Stefan Schmidt c6ff40ba13 elementary/elm_win: Check argument for NULL before we pass it to strncmp
strncmp() really does not like that. So we should not be lazy and check for it. Say thanks to
scan-build which reported these to me.

SVN revision: 72142
2012-06-14 15:01:37 +00:00
Carsten Haitzler 78b003d5ea new api's for hinting base+step sizes for a window.
SVN revision: 72009
2012-06-12 10:15:19 +00:00
Christopher Michael 8ae0fe2422 Elm: Patches from Rob Bradford <rob@linux.intel.com> to:
* Move X related window items into their own substruct of
_Elm_Win_Smart_Data to allow grouping based on engine.

* Move X related cursor items into their own substruct of Elm_Cursor
to make supporting cursors on other platforms cleaner.

* Add support for setting the cursor under Wayland:
* Introduce a configure option and #define to as per other engines
* Add always-built API function to allow identification of running
under Wayland (like for X11)
* Call into Ecore to set the cursor when the mouse enters the desired
widget.



SVN revision: 71754
2012-06-06 13:55:15 +00:00
Christopher Michael 8ec6c0d94e Elm: Patch from Rob Bradford <rob@linux.intel.com> for:
* Move X related window items into their own substruct of
_Elm_Win_Smart_Data to allow grouping based on engine.



SVN revision: 71736
2012-06-06 08:25:12 +00:00
Gustavo Lima Chaves ba73332345 [elm] Give a dedicated file for inwin widget.
Thus facilitating hierarchy tree generation.



SVN revision: 71687
2012-06-04 17:36:01 +00:00
Daniel Juyung Seo 7ee2903275 elm win: Place ifdef to a proper place. Initialize variable.
SVN revision: 71529
2012-05-30 04:57:31 +00:00
Christopher Michael 29a1391542 Elm: Patch from Robert Bradford <robert.bradford@intel.com> for native
window representation.

The attached change to Elementary makes a small refactor to use
existing code that was already conditional on the Elm engine to
retrieve the underlying window - thus allowing elm_win_xwindow_get to
return 0 in the case when called on a Wayland based Elm window.

Patches have been tested against X11 and Wayland built together by
running elementary_test.



SVN revision: 71455
2012-05-28 12:28:46 +00:00
Carsten Haitzler b29d458517 barebones initial support for access commands. XXX's
SVN revision: 71324
2012-05-22 12:13:49 +00:00
Jihoon Kim c69b7f2b60 elm_win.c: fix typo
SVN revision: 71143
2012-05-16 07:28:29 +00:00
Christopher Michael 22eda0e4f0 Elm (wayland): Fix elm not drawing frames in Wayland. Fix setting a
window to alpha also.



SVN revision: 71124
2012-05-15 14:48:30 +00:00
Gustavo Lima Chaves 1ab8266b77 [Elm] Removing cruft (unnecessary) code on elm
win.
With things done right, one does not need this child deletion
by force.



SVN revision: 70718
2012-05-03 22:42:20 +00:00
Gustavo Lima Chaves a239210a0d [Elm] Now elm win and inwin got into the new
widget hierarchy.
Win inherits directly from Elm_Widget_Smart_Class, while inwin is now
an elm layout.

Note that elm_widget_sub_object_list_get(), which was an unecessary
hack only used on win, was killed.



SVN revision: 70717
2012-05-03 22:42:15 +00:00
WooHyun Jung f83917a420 elementar/focus : New feature - focus movement in all direction. By
using elm_widget_focus_direction_go function, focus will be moved from
the current focused object to the near object in one direction.
Direction can be set by degree(for easy usability). Degree changes
clockwise, i.e. 0 means UP, 90 means RIGHT, 180 means DOWN, and 270
means LEFT. You can select any direction by changing this degree.


SVN revision: 70681
2012-05-03 03:02:54 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves 7f2ba3a399 [Elm] Set this call free again.
SVN revision: 70671
2012-05-02 17:07:36 +00:00
Gustavo Lima Chaves 60cc8e20a1 [Elm] Removing cruft (unnecessary) code on elm
win.
With things done right, one does not need this child deletion
by force.



SVN revision: 70641
2012-05-02 16:59:01 +00:00
Gustavo Lima Chaves 5869e3bd8d [Elm] Now elm win and inwin got into the new
widget hierarchy.
Win inherits directly from Elm_Widget_Smart_Class, while inwin is now
an elm layout.

Note that elm_widget_sub_object_list_get(), which was an unecessary
hack only used on win, was killed.



SVN revision: 70640
2012-05-02 16:58:56 +00:00
Carsten Haitzler d76345fc8a use profate atof that fixes up locale issues for string -> float
conversion.



SVN revision: 70485
2012-04-26 03:32:18 +00:00
Christopher Michael 42865eba02 Elm: Update functions for moving/resizing elm_window (when a wayland
client).



SVN revision: 70448
2012-04-24 17:32:44 +00:00
Carsten Haitzler 3a7b769a63 use the new escape text set to clear up issues if theme has TEXT vs
TEXTBLOCK items and handling escapes so text is consistend across elm.
fiuxes the fileselector issues kai reported.



SVN revision: 70362
2012-04-20 12:51:10 +00:00
WooHyun Jung c9b889f338 elementary/elm_win : Patch from Rajeev. Thanks. - Removed the
unnecessary comparison for sub-object list not being NULL as it has
been done aleady earlier.


SVN revision: 69972
2012-04-09 10:56:42 +00:00
Jihoon Kim 7046f87e3a elementary: ignore key event of keypad when NumLock is turned on in win, scroller, slider, video, photocam, map, slideshow, and spinner.
SVN revision: 69952
2012-04-06 10:34:03 +00:00