Commit Graph

453 Commits

Author SHA1 Message Date
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Juyung Seo dcf935745e elm_win.c: fixed unused warning when it does not use wayland. 2013-05-01 22:52:01 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
Rafael Antognolli 6371404c13 elm/wayland: Move the frame object to -fx, -fy.
It is not a special object anymore, and does not need special handling.
Just move it to the correct position, since the canvas 0,0 point now has
an offset.
2013-04-29 11:31:02 -03:00
Rafael Antognolli 028fcf8827 elm/wayland: Fix window resize when the window is rotated. 2013-04-25 20:02:55 -03:00
Carsten Haitzler f3664848a1 remove support for now deprecated evas engines from elm win. 2013-04-15 12:04:43 +09:00
Shinwoo Kim 62415070e7 [access] turn off highlight display when accessibility is disabled 2013-04-10 17:28:08 +09:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Daniel Juyung Seo 615d05bfe5 elm: removed unnecessary multi blank lines. 2013-04-03 10:45:15 +09:00
Rafael Antognolli 0e226a356e elementary: Bring back the use of Evas framespace.
Use the evas_output_framespace_* functions to make objects inside the
framespace to get their respective offsets.
2013-04-02 14:42:37 -03:00
WooHyun Jung 71ec140693 elementary/win : Now elm_object_focus_next supports four more focus directions(up, down, right, and left). 2013-03-23 09:41:34 +09:00
Cedric BAIL 77581f1c0a elementary: add infrastructure to track startup time.
Set ELM_FIRST_FRAME to :
* D or E: for exit
* A: for abort
* T: to display the time since entering main();
2013-03-22 14:45:09 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
WooHyun Jung c739dbe4f4 elementary/elm_win : Focus highlight should be reconfigured when theme is changed. 2013-03-18 18:44:19 +09:00
WooHyun Jung f6a73beb76 Add elm_widget_newest_focus_order_get function for fixing a bug in elm_win. After elm_win is created, if there is no manual focus setting, only elm_win should get focus when focus state is changed. 2013-03-08 16:23:34 +09:00
Shinwoo Kim 491f47ae61 [access][win] unhighlight when window is unfocused 2013-03-07 16:59:51 +09:00
WooHyun Jung 285ed82000 elm_win : Focus hightlight should not be shown on (0, 0). Thanks for Wonkuk Jung for reporting and fixing. 2013-03-04 20:16:35 +09:00
ChunEon Park fb472f97b1 elementary - only support sending signals when orientation mode is changed.
it's enough right now.

need to consider more about theme change.
2013-02-26 13:26:22 +09:00
Carsten Haitzler aec477530d fix gl engine opt + pulse.
SVN revision: 84249
2013-02-20 03:08:33 +00:00
Tom Hacohen 1cc1651f6c Elm win: Fixed an OBVIOUS gcc warning.
SVN revision: 84242
2013-02-19 16:26:11 +00:00
ChunEon Park 0a71cd2727 elementary/widget - revised orientation mode code.
now if applying the orientation style is failed, it tries to apply the original style. if it fails again then default theme.

also it fixed a logic error when theme changed is happened.

It will try to apply the original style if the orientation style is invalid on theme changing.




SVN revision: 84082
2013-02-19 08:22:15 +00:00
Mike Blumenkrantz 822f4e8429 ignore tab key focus changes in elm_win if ctrl/alt is pressed: the trunk version
SVN revision: 84021
2013-02-17 14:19:53 +00:00
ChunEon Park afa738e3e6 elementary/widget - added widget orientation mode infra and 2 apis elm_object_orientation_mode_disabled_set(0, elm_object_orientation_mode_disabled_get()
Orientation Mode is used for widgets to change it's styles or to send signals
whenever it's window degree is changed. If the orientation mode is enabled
and the widget has different looks and styles for the window degree(0, 90,
180, 270), it will apply a style that is readied for the current degree,
otherwise, it will send signals to it's own edje to change it's any states if
the style doesn't be readied.



SVN revision: 83880
2013-02-14 05:38:26 +00:00
ChunEon Park 132df3ba04 elementary/win - removed duplicated logic.
SVN revision: 83868
2013-02-13 11:47:51 +00:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Mike McCormack 78cd042943 elementary: rename parameter
SVN revision: 83497
2013-01-31 03:30:53 +00:00
U. Artie Eoff 985c6f7af9 elementary/win: Fix engine comparision condition.
With the wrong comparison, elm_win_wl_window_get() will always return
NULL.

Patch by: U. Artie Eoff <ullysses.a.eoff@intel.com>

SVN revision: 83303
2013-01-24 16:05:12 +00:00
Henrique Dante de Almeida 9b2120b8a8 elm: Enable external main menu by default
This patch replaces the ELM_EXTERNAL_MENU environment variable for
ELM_DISABLE_EXTERNAL_MENU, so that the main menu bar always attemps
connecting via D-Bus, if possible.

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 83099
2013-01-22 18:51:24 +00:00
Henrique Dante de Almeida 0fbcdfb49b elm: Support switching between local and D-Bus main menus on the fly
With this patch, the main menu now keeps listening for the app menu
registrar all the time. Whenever it's available, it tries to register
itself. If the registrar exits, the menu switches back to local mode.

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 83098
2013-01-22 18:51:16 +00:00
Henrique Dante de Almeida 5f50803547 Fix main menu coding style
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82985
2013-01-18 15:56:25 +00:00
Henrique Dante de Almeida aa512d1604 elm: Handle D-Bus menu registration error
If a menu registration results in error, fall back to local menu.

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82960
2013-01-17 22:11:33 +00:00
Henrique Dante de Almeida 0591cf9cd9 elm: Add local main menu to elm_win
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82959
2013-01-17 22:11:27 +00:00
Henrique Dante de Almeida ae27a3a62f elm: Place elm_win children inside the layout and remove resize_obj code
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82958
2013-01-17 22:11:21 +00:00
Henrique Dante de Almeida 5a829baf6b elm: Add an Edje layout for elm_win
The layout has two parts, one for placing a menu bar on the window and
the other for placing the actual window contents. The content part is
an Evas box with a custom layout that mimics the standard widget
placement rules inside the window (adapted from resize_objects_eval
and resize_job)

Note: a custom layout was written here, because it's not possible to
use a common stacking layout, since applications do not follow the
stacking rules (they don't use EVAS_HINT_FILL and
evas_object_size_hint_align_set). Maybe, with time, applications
could be changed to use them, so the custom layout may be removed.

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82957
2013-01-17 22:11:15 +00:00
Shinwoo Kim b7e997b9fb [access] evas_call_smarts_calculate(); makes evas_event_feed_mouse_move();
so new object would be highlighted if there is new object under the previous mouse(cursor) position.
to fix this issue, elm_access is using the mouse_event_enable flag. but it would cause a problem as
following case: 1. create input window in access module, 2. read something, 3. disable access module
this would be resolved by export api to set mouse_event_enable flag the other day.


SVN revision: 82933
2013-01-17 11:32:14 +00:00
Carsten Haitzler dd0d6b153f let's try handling auto-throttle by counting up
shown/withdraw/iconified windows at the time we eval windows and then
use just the shown count to disable throttling. :)



SVN revision: 82748
2013-01-14 09:46:25 +00:00
Henrique Dante de Almeida c494985603 Cleanup code
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82644
2013-01-11 16:43:20 +00:00
Henrique Dante de Almeida ebbc9de6b9 Remove wayland frame caluclation code
Disabling frame calculation for now, because, in the code, a call
for getting the geometry might return the size with the frame
included, so adding it in the resize call would result in doubling
the frame size.

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82643
2013-01-11 16:43:14 +00:00
Carsten Haitzler d9179d33d7 oops printf--
SVN revision: 82560
2013-01-10 11:55:43 +00:00
Carsten Haitzler 30fdd25972 and dont set states until state change cb tells u they changed in
elm_win. more testing needed.



SVN revision: 82559
2013-01-10 11:53:39 +00:00
Henrique Dante de Almeida 58b2fc2cd2 [elm] Add D-Bus external menu support
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 81746
2012-12-27 13:38:33 +00:00
Flavio Vinicius Alvares Ceolin 68d67520f1 elm: using the right ecore_evas engine api
SVN revision: 81396
2012-12-19 18:07:09 +00:00
Christopher Michael aae9891a64 If elementary is built with wayland support (and X support), then we
need to run an engine compare before trying to get wayland specific
items (in this case, the ecore_evas window).

NB: Fixes ticket #1992

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81369
2012-12-19 14:41:45 +00:00
ChunEon Park 87ff3ba820 elementary/win - return if focus target is NULL
SVN revision: 80512
2012-12-08 07:00:55 +00:00
Shinwoo Kim d878e2fb9e [access][win] use ecore client message data
SVN revision: 80429
2012-12-07 10:28:22 +00:00
Cedric BAIL cf45191574 elementary: such a shame...
SVN revision: 80330
2012-12-06 09:49:43 +00:00
Cedric BAIL 46daa66f8e elementary: as suspected, that was a bad idea.
SVN revision: 80328
2012-12-06 09:38:25 +00:00
Cedric BAIL 1a12d85dcc elementary: typo.
SVN revision: 80326
2012-12-06 09:23:04 +00:00
Cedric BAIL 2a7e6019e2 elementary: let's not break the work when we don't use Wayland.
SVN revision: 80325
2012-12-06 09:20:37 +00:00
Christopher Michael 29dbb8804d Patch from Juan Zhao <juan.j.zhao@linux.intel.com> to fix correct
usage of HAVE_ELEMENTARY_WAYLAND.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 80301
2012-12-06 07:30:27 +00:00
Gwanglim Lee 26b6d99e3f From: Gwanglim Lee <gl77.lee@samsung.com>
Subject: Re: Re: Re: [E-devel] [RFC] Virtual desktop window profile

I've attached 4th patch. May the 4th be with you.

ecore patch has been merged with efl and all files are based on r80123.

Thanks & Regards,
Gwanglim

------- Original Message -------
Sender : Daniel Juyung Seo<seojuyung2@gmail.com>
Date : 2012-12-04 01:55 (GMT+09:00)
Title : Re: Re: [E-devel] [RFC] Virtual desktop window profile

It looks ok to me.
Sorry but can you re-generate the patch according to the recent ecore
merge to efl single tree?

Daniel Juyung Seo (SeoZ)


On Thu, Nov 29, 2012 at 12:29 AM, Gwanglim Lee <gl77.lee@samsung.com>
wrote:

Dear Raster and Daniel Juyung Seo,

I've attached 3rd patches and test_config according to your reviews.
These are based on r79782.

[elementary & ecore]
1. "profile,set" -> "profile,changed" - done
2. spaces after EINA_LIST_FOREACH - done
3. variable type - keep
4. author - done
5. removing deprecated marking in patch - done
6. add elm_win_available_profiles_get to test_config for the debugging
purpose - done

7. check whether a given profile is present in an available profiles.
otherwise window profile will be one of the item
    in available profiles. - newly added thing to the elm_win
        8. merge with EO - done. :(
        
        
            Any comments would be appreciated.
            


SVN revision: 80215
2012-12-05 06:50:27 +00:00
Shinwoo Kim 80d7b56b1f [access] enhance access features
1. add access lines for ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ
  2. add _elm_access_highlight_cycle(); becase there is a case that
     highlight object would be different with focused object after
     user moves finger to specific object which does not have focus
     currently.


SVN revision: 79884
2012-11-30 11:50:52 +00:00
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
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
ChunEon Park c35d5ac903 elementary/win - [E-devel] [Patch][Elementary] Patch for elm_win to fix the focus chain issue in case of a widget added as a normal sub-object, not a resizable object
Current Issue:
Currently when we add a widget to window as a sub-object, e.g.
elm_notify_add(win) which internally calls elm_widget_sub_object_add
then the focus chain using <TAB> includes only
the first focusable subitem of the widget, not all.
Whereas with elm_win_resize_object_add, it works fine and cycles to
all focusable sub-items of the widget.

Reason:
The reason is that we are appending sub-object to the list in
elm_win which is used for focus chain, only in case of
elm_win_resize_object_add.

Change Description:
Added a new API: EAPI Eina_List
*elm_widget_sub_object_list_get(const Evas_Object *obj);
This API returns the list of sub-objects of an elementary widget
(sd->subobjs) where sd is Smart_Data pointer obtainted using
elm_widget_smart_data_get(obj).
We have used this API in elm_win for focus_next_hook implementation.

Signed-Off-By: RAJEEV RANJAN<rajeev.r>@samsumg.com>



SVN revision: 69943
2012-04-06 06:19:16 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
Carsten Haitzler 01994a641a use new ref_get func in object cleanup for windows.
SVN revision: 69723
2012-03-29 07:46:59 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Vincent Torri cbd838c174 Elm: typo in comment
SVN revision: 69515
2012-03-20 04:40:36 +00:00
Jiyoun Park fb217ce3a9 remove deprecated code related with
elm_win_transparent_XXX
function.


SVN revision: 69240
2012-03-12 10:03:38 +00:00
myoungwoon kim 41148d0c62 From: myoungwoon kim <myoungwoon@gmail.com>
Subject: [E-devel] [Patch] Ecore, Elementary: Supporting indicator
opacity mode

This is Myoungwoon Roy Kim.

This patches are for supporting the indicator's opacity mode and made by
Jeonhoon Park(jh1979.park@samsung.com) who is responsible for Indicator
application.

Requirements:
- In mobile device, Indicator area should be displayed as Opacity,
Transparency, or sometimes Translucency according to the UX
requirements.
This requirement can be applied in case of fullscreen based menu and
fullscreen applications like video player etc.

Functional requirements:
1. User can set indicator's opacity mode as opacity, transparency, and
translucency
2. User can get the current indicator's opacity mode.

Currently there are no APIs for supporting the upper functional
requirements.

Thus, he added support for indicator's opacity mode.
It is designed for EFL developers easily to set the indicator's opacity
like the existing indicator's mode.
He added a Elm_Win_Indicator_Opacity_Mode structure variable into
Elm_Win
structure.
Meanwhile, new two APIs are implemented independently from the existing
source code.

Anybody please review this and apply it to upstream code.



SVN revision: 68959
2012-03-07 14:27:36 +00:00
Carsten Haitzler 7a5a301a63 rename a whole host of config-related functions to be elm_config_*
now. yes - no deprecation. no time to do that.



SVN revision: 68810
2012-03-06 12:04:25 +00:00
Carsten Haitzler 7542e629d3 deprecate elm_win_transparent stuff
SVN revision: 68698
2012-03-05 12:03:40 +00:00
Carsten Haitzler 8a65fc1495 add a proper elm api to request a prefeered evas rendering engine.
SVN revision: 68553
2012-02-29 12:45:58 +00:00
Carsten Haitzler 307eb11c75 and now add/implement window icon too. awesome++!!!!!!!
that set of missing stuff that u needed ecore_x for is now done. ugh.
more stuff to do.



SVN revision: 68551
2012-02-29 12:06:12 +00:00
Daniel Juyung Seo 93981f37c3 elm win: Fixed typo. Patch by Jeremy Zurcher <jeremy@asynk.ch>
On Wed, Feb 29, 2012 at 5:10 PM, J??r??my Zurcher <jeremy@asynk.ch>
wrote:
elm_win_widthdrawn_get -> elm_win_withdrawn_get

Jeremy

SVN revision: 68541
2012-02-29 08:56:40 +00:00
Daniel Juyung Seo fd19596e5a elm win: Commented unused function.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68533
2012-02-29 05:05:50 +00:00
Christopher Michael bf0c4315fa Elm (wayland): Set frame clip. Fix maximize/unmaximize in wayland.
SVN revision: 68524
2012-02-28 22:52:34 +00:00
Christopher Michael 36f0bb5003 Elm (wayland): Update elm code to reflect recent efl wayland changes.
SVN revision: 68519
2012-02-28 21:58:34 +00:00
Carsten Haitzler f0433e3a5e add callbacks for knowing several states of a window and more api's to
control a windows properties



SVN revision: 68502
2012-02-28 11:20:35 +00:00
Carsten Haitzler 8b615e6dda actually on reflection - doyoun - indicator mode should be like this.
SVN revision: 68432
2012-02-25 05:14:19 +00:00
Doyoun Kang d15d98327f From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: Add feature for showing/hiding indicator

Hi, raster.
As we discussed about indicator, i added feature for indicator.
Please check attached patch files.

1. elementary
i added enumeration to Elm_Illume_Command as below.
- ELM_ILLUME_COMMAND_INDICATOR_SHOW
- ELM_ILLUME_COMMAND_INDICATOR_HIDE

2. ecore
i added atoms/enumerations/APIs as below.
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_ON;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF;

typedef enum _Ecore_X_Illume_Indicator_State
{
   ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN = 0,
   ECORE_X_ILLUME_INDICATOR_STATE_OFF,
   ECORE_X_ILLUME_INDICATOR_STATE_ON
} Ecore_X_Illume_Indicator_State;
         
EAPI void ecore_x_e_illume_indicator_state_set(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);
EAPI Ecore_X_Illume_Indicator_State
ecore_x_e_illume_indicator_state_get(Ecore_X_Window win);
EAPI void ecore_x_e_illume_indicator_state_send(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);



SVN revision: 68410
2012-02-24 12:33:11 +00:00
Cedric BAIL 9cc9235a0a elementary: oops revert.
SVN revision: 68396
2012-02-24 11:04:06 +00:00
Cedric BAIL 4c6f423481 elementary: avoid segv and don't duplicate call.
SVN revision: 68395
2012-02-24 11:02:55 +00:00
Carsten Haitzler 628927d3d4 use focus order to determine if window never focused before instead of
show count. fixes focus problems in elm tests for entries



SVN revision: 68211
2012-02-21 10:54:46 +00:00
cnook df26dee932 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elm_win] elm_win_title_set(); can make a
crash with NULL

Have ever try to call elm_win_title_set(win, NULL)? Then try... :-] It
makes "Segmentation Fault".
Yeah, we can add patch in the Ecore side, but we can prevent the
segmentation fault before go inside.
Please check the patch and give any feedbacks. Thanks a lot.



SVN revision: 68154
2012-02-20 11:48:31 +00:00
Christopher Michael a4b470eced Elm: Call function to set wayland mouse pointer.
SVN revision: 67817
2012-02-10 09:17:49 +00:00
Christopher Michael dcee2d3a6b Elm: Start on wayland pointer handling code. (draws but not complete
yet).



SVN revision: 67814
2012-02-10 08:37:16 +00:00
Michael BOUCHAUD 4f51d4593d elementary: add hooks text to elm_win, from Davide Andreoli. Thanks!
SVN revision: 67743
2012-02-07 23:39:19 +00:00
Daniel Juyung Seo 4d06eea2bd elm win.c: Removed unnecessary variable.
SVN revision: 67253
2012-01-17 00:02:02 +00:00
Jiyoun Park c54c6c1ae9 Add new widget for extn socket and plug.
application can use ecore extn socket easyily 
by using elm_window_add with ELM_WIN_SOCKET_IMAGE style. 
And new widget Elm plug is similar with Elm image. 
it can show socket's image using connect API. 
I add test code also(test_win_socket/plug). 



SVN revision: 67245
2012-01-16 17:18:20 +00:00