Commit Graph

350 Commits

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