Commit Graph

327 Commits

Author SHA1 Message Date
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