Commit Graph

326 Commits

Author SHA1 Message Date
Christopher Michael 7d817812d9 Remove samsung policy directory. Not really needed.
SVN revision: 44868
2010-01-04 01:55:03 +00:00
Christopher Michael 35df00f32a Add event for when policy changes.
Handle policy change event.
Remove some unneeded includes.



SVN revision: 44867
2010-01-03 22:54:47 +00:00
Christopher Michael 21055add39 Fix sorting on major numbers (still a problem w/ sorting on minor numbers
tho).



SVN revision: 44866
2010-01-03 22:34:09 +00:00
Christopher Michael 687881fc63 Rework illume2:
- Policies are now loadable .so's ;)
       


SVN revision: 44864
2010-01-03 22:24:07 +00:00
Christopher Michael 6ca0879feb Remove old illume2 (readding in a second with lots of changes, so this was
easier).



SVN revision: 44863
2010-01-03 22:22:39 +00:00
Christopher Michael a1bc311d9a Fix some formatting in connman.
Remove some commented lines in quickpanel.
Add some printfs to quickpanel sort.
Remove dead code line in illume2 layout.
Separate illume and illume2 modules in build process (this allows illume &
illume2 to be enabled/disabled separately)



SVN revision: 44841
2010-01-01 17:15:16 +00:00
Christopher Michael e20470a501 Add input window so we can click anywhere and dismiss QP. Also listens for
mouse_wheel up to dismiss (because we use mouse_wheel currently to show QP).



SVN revision: 44810
2009-12-30 19:45:53 +00:00
Christopher Michael 0f08cc2cac Implement priority sorting for quickpanels.
SVN revision: 44804
2009-12-30 18:41:55 +00:00
Christopher Michael ca2c3ef479 Formatting in quickpanel.
Use better method to get current zone.
Check valid border count on mode switch and create new home windows if needed.



SVN revision: 44778
2009-12-30 02:34:27 +00:00
Christopher Michael 67a4f2caa0 Add different icons for different layout modes in mode-toggle module.
Add code to handle layout changes & update icon.
Implement new Ecore_X Illume Modes.
Make mode toggle actually cycle through modes and change accordingly.



SVN revision: 44769
2009-12-29 22:23:15 +00:00
Christopher Michael a3b7ffe569 And fix quickpanel layer if we are not animating.
SVN revision: 44767
2009-12-29 20:48:19 +00:00
Christopher Michael 7beb5fbf59 Fix quickpanel layering issue.
SVN revision: 44766
2009-12-29 20:43:14 +00:00
Christopher Michael a19182368b Remove function protos that are not used anymore.
SVN revision: 44765
2009-12-29 20:34:43 +00:00
Christopher Michael 93bcd9f4b0 Reduce variable usage.
Reenable border_assign hook (apparently it is needed for proper window
placement).
Reduce variable usage in some functions.
Remove border show/hide handlers (not used here).



SVN revision: 44764
2009-12-29 20:30:39 +00:00
Christopher Michael b6c8671bca Fix some quickpanel placement issues.
Add function to adjust quickpanel position.
Add function to return if border is valid.
Set layer of App borders.
Reduce variable usage (use valid_count_get directly).



SVN revision: 44763
2009-12-29 20:26:15 +00:00
Christopher Michael 5e5c3108cc Add missing quickpanel files (not complete yet, but does work)
SVN revision: 44754
2009-12-28 22:22:50 +00:00
Christopher Michael 676817424c Remove code which handles quickpanel state in client message handler.
Remove quickpanel functions from policy (handled differently now)
Create quickpanel object so we can animate it.
Add quickpanel init/shutdown to startup.
Don't handle layer set for quickpanel in border_add
Set quickpanel layer in layout code.



SVN revision: 44753
2009-12-28 22:22:07 +00:00
Christopher Michael 7804b38022 Remove dead code. These hooks are not needed.
SVN revision: 44744
2009-12-28 05:50:23 +00:00
Christopher Michael 019ced7f7c Reduce duplicated code.
SVN revision: 44743
2009-12-28 04:21:38 +00:00
Christopher Michael 3f2e4ed776 Add config variable for quickpanel animation duration.
Add gui for setting quickpanel duration (in Animation settings)
Bump config version for new variable (qp duration)



SVN revision: 44742
2009-12-28 03:50:44 +00:00
Christopher Michael fa7997bb19 Do not need to pass module when doing e_kbd_init.
Do not need to pass module when doing e_mod_layout_init.
Use global config->mod_dir in e_kbd_dbus.
Handle layer set & lower of quickpanel(s) in _border_add function.
Actually show/hide quickpanels when asked (temporary..this will change soon)
No need to handle setting conformant app layer in layout code. Done in
border_add.



SVN revision: 44741
2009-12-28 03:41:20 +00:00
Christopher Michael 4a4d04fa81 Add functions to allow quickpanel show/hide to be handled on a per-policy
basis.



SVN revision: 44740
2009-12-28 02:34:49 +00:00
Christopher Michael 0576446c11 Add check in 'valid borders get' for quickpanel so it is not included in
that return.
Add function to return all quickpanel borders.
Add function to return count of quickpanel borders.
No need to retrieve mode from event window when we get a client message. The
mode is actually returned to us already in the event data.
Add trap for quickpanel state in client message handler.



SVN revision: 44738
2009-12-28 02:11:55 +00:00
Christopher Michael f6f8eb8c09 Need an actual move here to handle external keyboards (elm_kbd). This
'should' make kbd 100% finished. Works in all test cases I have run so far.



SVN revision: 44734
2009-12-27 20:09:26 +00:00
Christopher Michael 4b60457607 Fix some corner cases where keyboard was not showing the second time.
SVN revision: 44732
2009-12-27 18:22:20 +00:00
Christopher Michael c23cca0bbb Rework/recode e_kbd stuff. This makes keyboard work nicely with everything
that I have tested so far. No more initial home window size problems either :)



SVN revision: 44728
2009-12-27 05:04:41 +00:00
Christopher Michael 269e469496 Remove commented line.
SVN revision: 44726
2009-12-27 00:58:59 +00:00
Christopher Michael 21739a8521 Break apart keyboard code to separate dbus code (cleaner).
Fix initial home window size problem.



SVN revision: 44725
2009-12-27 00:57:04 +00:00
Christopher Michael 0942505cff Resize the quickpanel borders during layout.
SVN revision: 44698
2009-12-23 20:04:44 +00:00
Christopher Michael 5906ab2010 Trap for quickpanel windows. Not actually doing anything with them yet tho.
SVN revision: 44694
2009-12-23 15:26:51 +00:00
Christopher Michael db41be00b2 Remove winlist client message.
Add defines for border layers to allow easier changing in code.



SVN revision: 44687
2009-12-23 13:36:13 +00:00
Christopher Michael c873ad8207 Remove EAPI from kbd functions. We do not need to export these as they are
used by illume2 only.



SVN revision: 44683
2009-12-23 12:02:55 +00:00
Christopher Michael 53b66b881c Breakup code a little more to be better organized. Separates all border
functions into one file.



SVN revision: 44681
2009-12-23 11:48:55 +00:00
Christopher Michael 8ff96c07d1 Separate illume mode toggle into it's own gadget. This makes illume2 that
much cleaner.
Remove mode icon from illume2 edj.
Remove gadcon files from illume2 (in own gadget now).
Modify illume2 e.cfg to include illume-mode-toggle gadget and reorder gadgets.



SVN revision: 44671
2009-12-23 00:39:24 +00:00
Christopher Michael f9f0e3f2fb Add zone as a parameter to some functions so we can make sure that these
functions operate only on the current zone.



SVN revision: 44635
2009-12-21 17:19:32 +00:00
Christopher Michael 652da596a2 Create kbd on current zone.
Formatting.



SVN revision: 44619
2009-12-21 03:54:41 +00:00
Christopher Michael 7fa3653854 Remove dead code.
Add function to get border max size.
Set conformant apps to be below indicator bar.



SVN revision: 44617
2009-12-21 02:35:14 +00:00
Christopher Michael 4d32e932ea Handle another corner case wrt layout. Dual mode working nicely now even
with moving indicator (just need to handle conformant & fullscreen now).



SVN revision: 44611
2009-12-20 17:29:04 +00:00
Christopher Michael a9af8c438d More work on layout code. Handle cases where top shelf was dragged to
zone->y, thus making app1 region too small to display anything, so we do the
layout as was done previously. There are still some corner cases that I need
to trap here.



SVN revision: 44591
2009-12-20 06:06:53 +00:00
Christopher Michael 904f3db655 New layout code for dual-mode. This works with dragable indicator bars (tho
still need to handle fullscreen/conformant cases, and cases where an app
which wants vkbd is placed at the bottom - the vkbd ends up covering the app
window :( )



SVN revision: 44580
2009-12-19 21:05:49 +00:00
Christopher Michael ecf7f4c4f5 Reduce variable usage.
SVN revision: 44559
2009-12-18 23:58:51 +00:00
Christopher Michael 91c093d45a Add handy functions for getting dual-app mode safe regions (safe regions
being space that is available to place a window).



SVN revision: 44557
2009-12-18 23:51:54 +00:00
Christopher Michael b1734750c9 Traps for landscape mode when moving top_shelf or bottom_panel (so we don't
move the panel(s) if it's in a custom location).




SVN revision: 44550
2009-12-18 17:51:35 +00:00
Christopher Michael 6ffaf58927 Some safety checks to make sure we return a border, else calls to policy are
useless.



SVN revision: 44535
2009-12-18 05:17:03 +00:00
Christopher Michael fbf2f44a55 Add some handy functions for getting top_shelf/bottom_panel position and size.
SVN revision: 44530
2009-12-17 23:47:48 +00:00
Christopher Michael 13856e38f5 Remove old drag code for indicator & illume2. Drag of top shelf is now
handled almost entirely by the top shelf itself. This removes the
input_window also.



SVN revision: 44528
2009-12-17 23:36:07 +00:00
Christopher Michael d567df75c6 Remove config variables for locking.
Send mode to root window so we can lock/unlock indicator window on startup.



SVN revision: 44518
2009-12-16 21:39:04 +00:00
Christopher Michael f9c88ca73e Handle dragables a bit better. This also removes the config option from the
config dialog for locking.



SVN revision: 44517
2009-12-16 21:13:48 +00:00
Christopher Michael ae8da17111 Add config options to lock dragables.
Cleanup some code.



SVN revision: 44515
2009-12-16 20:12:49 +00:00
Christopher Michael 327fef16fd Remove dnd files. Handled it differently.
SVN revision: 44495
2009-12-16 02:22:34 +00:00
Christopher Michael 123a6e786e Add drag_start and drag_end to policy.
Remove old dead code.



SVN revision: 44493
2009-12-16 02:21:28 +00:00
Christopher Michael e707acdeb3 More work on dnd for indicator bar (not complete yet).
SVN revision: 44474
2009-12-15 08:24:40 +00:00
Christopher Michael 23aa71925c Start of dnd code for dragging indicator bars.
SVN revision: 44472
2009-12-15 06:55:37 +00:00
Christopher Michael 6488b1d7d7 Better placement of 'dialog' types for portrait mode.
SVN revision: 44459
2009-12-15 02:11:32 +00:00
Christopher Michael 652069d580 More appropriate place for border layers on fullscreen & conformant.
SVN revision: 44458
2009-12-15 01:51:19 +00:00
Christopher Michael b6001850ee Reenable layering of dialogs.
SVN revision: 44457
2009-12-15 01:35:09 +00:00
Christopher Michael 47cbcc03ae Don't focus activated if focus is locked out.
SVN revision: 44456
2009-12-15 00:12:26 +00:00
Christopher Michael 0f2e260558 Rework illume layout code to be cleaner WITH comments :)
Much much much better layout code. I believe this handles ALL cases now :)



SVN revision: 44454
2009-12-14 23:49:36 +00:00
Christopher Michael eb8d577866 Handle resizing border when vkbd appears. Works for single mode and dual
mode (top & bottom).



SVN revision: 44438
2009-12-14 06:56:43 +00:00
Christopher Michael 627ff5934f When a border needs fullscreen, set it.
SVN revision: 44431
2009-12-13 20:03:18 +00:00
Christopher Michael 393fb5cef5 Hide top & bottom panels when border is fullscreen.
SVN revision: 44430
2009-12-13 19:47:05 +00:00
Christopher Michael 1b14226912 Formatting. Fix comments.
SVN revision: 44427
2009-12-13 18:14:24 +00:00
Christopher Michael d51a62dceb Handle client messages for back & close.
SVN revision: 44400
2009-12-12 01:11:05 +00:00
Christopher Michael 9452fba9fe Trap for illume_mode client messages.
SVN revision: 44386
2009-12-11 21:13:40 +00:00
Christopher Michael 62c83dfff3 Set keyboard as sticky.
SVN revision: 44354
2009-12-11 09:34:52 +00:00
Christopher Michael 374b78a8dc Don't treat config dialogs as special anymore. They also can work w/ dual
app mode.



SVN revision: 44346
2009-12-11 02:56:07 +00:00
Christopher Michael fe9c5f663c Handle conformant apps in both dual modes now.
SVN revision: 44343
2009-12-10 18:14:32 +00:00
Christopher Michael 82d1609fd6 Handle dual-mode left/right setting.
SVN revision: 44334
2009-12-10 15:25:23 +00:00
Christopher Michael 06a58496d9 Config dialogs take up all zone space even in dual mode (until I'm told
otherwise).



SVN revision: 44282
2009-12-08 16:03:57 +00:00
Christopher Michael f95bb4526e Make basic dual mode work :) (this does not cover conformant apps yet, just
'basic' apps).



SVN revision: 44260
2009-12-07 21:14:28 +00:00
Christopher Michael a50456436b Don't move_resize a border if the dimensions are already set.
SVN revision: 44232
2009-12-07 00:32:39 +00:00
Christopher Michael 3b095fa6ec Trap for config dialogs in conformant check.
SVN revision: 44227
2009-12-06 19:16:49 +00:00
Christopher Michael 50f6c36b93 Don't need to show/hide "special windows" here. Handled in the
border_add/del functions.



SVN revision: 44226
2009-12-06 19:08:45 +00:00
Christopher Michael c91b7a42f3 Use new ecore_x_e_illume_conformant functions.
Add functions to get top_shelf & bottom_panel borders so we can hide/show
them.
If a conformant app window gets closed, reshow the top & bottom panels.



SVN revision: 44221
2009-12-06 17:32:31 +00:00
Christopher Michael 9989e6dddd Don't raise or focus a border if it's a "special" border.
SVN revision: 44218
2009-12-06 16:29:56 +00:00
Christopher Michael 3f55fcf7f4 Add ability for policy to handle activate code itself.
SVN revision: 44217
2009-12-06 16:17:39 +00:00
Christopher Michael ca0ebba0e4 Add function to test for a border at certain position.
SVN revision: 44216
2009-12-06 15:57:05 +00:00
Christopher Michael 63a836412c Handle netwm active requests.
SVN revision: 44206
2009-12-05 23:41:33 +00:00
Christopher Michael 781568dc46 Add function to return valid borders.
Focus any newly added borders.
Remove any remaining layer_set(s).



SVN revision: 44201
2009-12-05 17:27:30 +00:00
Christopher Michael f7058ca20b Don't use layers for layout code.
SVN revision: 44195
2009-12-04 23:33:56 +00:00
Massimo Maiurana 1aa44b0081 adding french and italian translations
SVN revision: 44177
2009-12-03 19:20:06 +00:00
Christopher Michael 42c80e1924 Change layer. Make it above softkey, but below dialogs if it's a conformant
app.



SVN revision: 44121
2009-12-02 18:35:02 +00:00
Christopher Michael cead02f0eb If a border is conformant, set layer to above the bottom_panel (softkey).
SVN revision: 44120
2009-12-02 18:33:05 +00:00
Christopher Michael 34b550e7e2 Add check for conformant app when calculating size/position.
SVN revision: 44112
2009-12-02 01:38:23 +00:00
Christopher Michael 1f6d1d1bea Add function to determine if an app is conformant.
SVN revision: 44111
2009-12-01 21:39:51 +00:00
Christopher Michael 540383bfe7 Start work on dual-mode window sizing/position.
SVN revision: 44109
2009-12-01 20:51:30 +00:00
Christopher Michael a94c2e4e6b Better default config (proper window matches).
SVN revision: 44108
2009-12-01 20:31:05 +00:00
Christopher Michael 7ad2dd4a19 Add 'changed' signal to update config.
Disable Window Layout radios when in single app mode.



SVN revision: 44107
2009-12-01 20:19:42 +00:00
Christopher Michael dced54c0bb Make policy handle if top shelf, bottom panel, etc, are sticky.
SVN revision: 44086
2009-12-01 10:07:24 +00:00
Christopher Michael 72567b1a15 actually add the gadcon files.
SVN revision: 44084
2009-12-01 09:41:08 +00:00
Christopher Michael bb93738ae9 Remove EAPI from functions that do not need it.
Create a gadget that can be added to gadcons for switching policy dual-app
mode.



SVN revision: 44083
2009-12-01 09:40:30 +00:00
Christopher Michael 8a0f1bc926 Fix up some typos.
Add some comments.



SVN revision: 44079
2009-12-01 08:01:20 +00:00
Christopher Michael d12d3c3e23 This function moved to e_mod_policy_settings files. Not needed here.
SVN revision: 44078
2009-12-01 05:48:18 +00:00
Christopher Michael 310069f653 Add config variables for dual-app mode.
Add a config dialog for changing dual-app mode.
Rename timer in Select Window to be more specific.



SVN revision: 44077
2009-12-01 05:43:04 +00:00
Christopher Michael cc05979308 Don't use transient_set on the 'Select Window' config dialog.
No need for a return on a new select window.
Don't select an item in the 'Select Window' ilist unless it matches.



SVN revision: 44076
2009-12-01 04:40:02 +00:00
Christopher Michael fb6e867677 Add config dialog for selecting the policy.
SVN revision: 44071
2009-11-30 21:46:30 +00:00
Christopher Michael 1ed657d3fd Delete the change timer if it exists when we close the config window.
SVN revision: 44069
2009-11-30 21:28:58 +00:00
Christopher Michael 5d6199390e Add separate file for Window Selection.
Add code to handle selecting which window will be home, vkbd, etc.



SVN revision: 44068
2009-11-30 21:02:47 +00:00
Christopher Michael 028496de15 Add checks in layout code to match windows based on what user wants (match
name, class, etc, etc).



SVN revision: 44031
2009-11-27 20:50:00 +00:00
Christopher Michael ebd62de75e Fix formatting in layout.c
Add config dialog options for selecting all windows.



SVN revision: 44029
2009-11-27 20:27:07 +00:00
Christopher Michael 988ada83ad Add config for matches.
Add checks & buttons to config dialog for selecting window and matches.
Fix typo w/ config struct.



SVN revision: 44028
2009-11-27 19:23:21 +00:00
Christopher Michael 099e03498e Remove some printfs.
Add config struct for Indicator Window.



SVN revision: 44026
2009-11-27 18:16:51 +00:00
Christopher Michael d5972250a4 Add config category & items.
Add config dialogs for Animation settings & Window settings.
Free the E_Config_DD when exiting.



SVN revision: 44024
2009-11-27 18:02:55 +00:00
Christopher Michael 536e398969 Whitespace removal.
Add some printfs to start working on window stacks.



SVN revision: 43986
2009-11-25 19:35:24 +00:00
Christopher Michael 56197c776c Add e.swallow.extra_buttons to illume-softkey (for ability to swallow other
buttons).
Formatting in illume2.
Remove EAPI from functions in both softkey & indicator modules for functions
that do not need to be exposed.



SVN revision: 43984
2009-11-25 18:01:42 +00:00
Christopher Michael 487baaef8f Use #if 0 rather than a bunch of comments.
(These lines disabled currently so that we always get a vkbd for testing.
Reenable before release)



SVN revision: 43981
2009-11-25 17:08:53 +00:00
Christopher Michael 2945763e97 Add Indicator module.
Some minor fixes for softkey module.



SVN revision: 43965
2009-11-25 01:01:40 +00:00
Christopher Michael 38bcb18081 Some minor cleanup so source is easier to read.
SVN revision: 43947
2009-11-24 04:06:54 +00:00
Christopher Michael f4760d9a2e Manager is not used here.
SVN revision: 43946
2009-11-24 04:02:56 +00:00
Christopher Michael 458d250be6 Don't need to set these here.
SVN revision: 43944
2009-11-24 01:18:19 +00:00
Christopher Michael 1b3eae87eb Add keyboards directory w/ ignore file.
SVN revision: 43942
2009-11-24 01:16:21 +00:00
Christopher Michael 2d7be93b67 Border hook fetch does nothing in e_kbd, so no need for border fetching there.
Add 'keyboards' subdir to illume2 so that ignore_built_in_keyboards gets
installed.



SVN revision: 43941
2009-11-24 01:15:53 +00:00
Christopher Michael c4cc9e404e add some printfs.
When calculating border minimum, use proper height variable from icccm.



SVN revision: 43940
2009-11-23 23:37:24 +00:00
Christopher Michael 8a4bb00bec Add config for illume2 module (for kbd slide duration, etc).
SVN revision: 43932
2009-11-23 17:26:51 +00:00
Christopher Michael 6f33391c98 Formatting.
Add some debug code.



SVN revision: 43913
2009-11-23 03:23:25 +00:00
Christopher Michael 9561b38452 Rename illume-bar to illume-buttonbar to avoid confusion.
SVN revision: 43908
2009-11-22 21:50:24 +00:00
Christopher Michael 9cd4ab6fab Readd e_kbd files. These do need to be part of illume2.
SVN revision: 43856
2009-11-21 02:00:28 +00:00
Christopher Michael a24704cbed Better check for 'is home'.
SVN revision: 43843
2009-11-20 18:07:49 +00:00
Christopher Michael 7be16ae569 better detection for a home window.
SVN revision: 43830
2009-11-20 17:21:10 +00:00
Christopher Michael 987e7d74ef Remove keyboard files. They are now separated into illume-keyboard.
SVN revision: 43827
2009-11-20 17:15:14 +00:00
Christopher Michael 57c34ffec8 Add illume-keyboard. This separates the keyboard logic from illume2 module
so that illume2 is just for handling policy & layout.



SVN revision: 43826
2009-11-20 17:13:43 +00:00
Christopher Michael 3f18d74435 Remove whitespace.
SVN revision: 43783
2009-11-18 17:35:17 +00:00
Christopher Michael ca227c2f4e Fix function prototypes to match border_hook_add callback.
Add detection for 'Home' window(s).



SVN revision: 43782
2009-11-18 17:29:40 +00:00
Christopher Michael fbb29d0e14 Add some printf's to illume2.
Add skeleton for illume-bar.
Add illume-bar to autofoo.



SVN revision: 43774
2009-11-18 05:54:22 +00:00
Carsten Haitzler e020fbb290 illume2 - work, toolbart - short labels, ok
SVN revision: 42030
2009-08-27 09:26:13 +00:00
Carsten Haitzler 0b404ef163 illume2 thing... refactoring the code here. use at your own risk!
SVN revision: 41883
2009-08-20 08:58:29 +00:00