Commit Graph

301 Commits

Author SHA1 Message Date
Stefan Schmidt afef01a765 elm: Lets make it compile again.
2683:7: error: expected statement before ')' token

SVN revision: 79881
2012-11-30 11:00:01 +00:00
Carsten Haitzler 83fa4f6868 small change - doesnt fix a bug really... but get if screen is
composited before using argb in elm vs shaped.



SVN revision: 79878
2012-11-30 10:26:18 +00:00
Daniel Zaoui 54d4e7ce78 Fix for Wayland. Sorry, bad merge occurred some time
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79733
2012-11-27 05:35:48 +00:00
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
ChunEon Park 977adcb127 elementary/win - Dont be allow under -320 to be passed thorough.
babieri, you still read the commits!

Anyway thanks for reporting.



SVN revision: 79510
2012-11-21 12:50:17 +00:00
ChunEon Park d5e5c03b69 elementary/win - ahh. there are 2 APIs to set rotation.
SVN revision: 79509
2012-11-21 11:48:02 +00:00
ChunEon Park eacbb4bc33 elementary/win - more reasonable exception handling
Thanks GArik__ for reporting



SVN revision: 79508
2012-11-21 11:42:52 +00:00
Rafael Antognolli 1000855abe elm/wayland: Let elementary handle the frame by itself.
Elementary based programs composed of widgets and containers. This means
that every widget will be inside a container, or will be the base
container, usually set as a resize object of the window.

Taking advantage of this structure, we can leave the frame area
calculation be done by elementary, not relying anymore on the framespace
available from Evas.

This commit fixes the problems related to the wayland framespace on
Elementary, while the final implementation of the said framespace is not
done yet on Ecore and Evas. Later it can be easily changed to use the
available infrastructure.

SVN revision: 79491
2012-11-21 04:21:24 +00:00
Jiyoun Park 53f84c93d8 readd elm_window's function to deal with
property change


SVN revision: 79453
2012-11-19 16:51:44 +00:00
ChunEon Park 6d1126be3c elementary/win, conform - dont accept negative degree.
SVN revision: 79442
2012-11-19 11:56:54 +00:00
Daniel Juyung Seo 090417500a elm win: Refactoring. Use shorter/cleaner code.
SVN revision: 79393
2012-11-16 14:26:01 +00:00
Daniel Juyung Seo 2c10ffddc3 elm elm_win.c/h: Made documentation more explicit.
SVN revision: 78963
2012-11-07 08:49:37 +00:00
Eduardo Lima (Etrunko) 3e5e72a308 Elm_Win: Don't draw decorations for ELM_WIN_INLINED_IMAGE on
Wayland

Closes ticket #1419

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 78007
2012-10-15 20:51:23 +00:00
Jihoon Kim d19a9669c3 remove trailing spaces and fix coding style
SVN revision: 77838
2012-10-11 00:35:00 +00:00
Kim Shinwoo fdaf625316 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] access - activate widget
Subject: [E-devel] [Patch][elementary] scroller, slider - access
activate feature

the previous activate function just get object only. to activate scroller
or slider etc.. it needs more information. so the patch changed previous
activate(Evas_Object *obj) to activate(Evas_Object *obj, Elm_Activate act);
the Elm_Activate can be one of ELM_ACTIVATE_DEFAULT, UP, DOWN, RIGHT, and
LEFT.. you can add more if it is necessary.

I have attached two patches. one is for the slider and the other is for the
scoller.
this patch would support those who wants change value of slider or content
position of scroller on remote side.
this would be useful to the access side or voice control side also.



SVN revision: 76717
2012-09-17 03:01:46 +00:00
Doyoun Kang 2e8cbfe9b4 From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [patch] Add APIs for floating mode

I added APIs for supporting the floating mode -
elm_win_floating_mode_set, elm_win_floating_mode_get. 
The floating mode will be used on mobile environment. For example, if
the video-player window set the floating mode, then e (enlightenment
window manager) changes it's geometry and handles it like a popup.
Please check these APIs and give an advice for me.



SVN revision: 76667
2012-09-14 13:06:57 +00:00
Carsten Haitzler f89a528449 and support new ecore messages.
SVN revision: 75992
2012-09-03 09:43:35 +00:00
Kim Shinwoo 0bbfd9fc0b From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] access - add activate callback

till now, accessibility has used ecore_x_mouse_*_send(). the patch has
activate callback which takes place of the ecore_x_mouse_*_send() stuff.
if the access module is enabled and 'double tap' is detected, elm_win
will
receive ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL message with
ECORE_X_ATOME_E_ILLUME_ACCESS_ACTION_ACTIVATE and call the activate
callback for the accessibility. that's it.



SVN revision: 75978
2012-09-03 08:44:53 +00:00
Jiyoun Park 3cc89e117d add signal rotation and indicator mode change.
child elms can know indicator mod change and rotation change


SVN revision: 75955
2012-09-03 06:55:07 +00:00
Carsten Haitzler c4612009a4 Yes - i know. Release. Freeze. I put this in as it solves a complaint
(i guess bug report) about using cpua nd drawing while minimized.



SVN revision: 75776
2012-08-28 10:37:02 +00:00
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