Commit Graph

239 Commits

Author SHA1 Message Date
Christopher Michael 50bac54206 Ok, another stab at adding this to svn. Remove old code.
SVN revision: 46289
2010-02-19 02:59:56 +00:00
Christopher Michael efb5c66c67 New illume2 code in svn now :)
SVN revision: 46286
2010-02-19 02:32:18 +00:00
Christopher Michael 581ada3a3f Remove old illume2 code.
SVN revision: 46285
2010-02-19 02:30:01 +00:00
Sebastian Dransfeld b7066f4191 And use e_border_name_get to get name
SVN revision: 46154
2010-02-13 19:11:23 +00:00
Christopher Michael b1804a21eb Don't need the return variable here.
Don't free the title.



SVN revision: 46146
2010-02-13 16:19:41 +00:00
Carsten Haitzler 820d76b53d use netwm name in preference.
SVN revision: 46145
2010-02-13 16:12:28 +00:00
Carsten Haitzler bdb206f5c6 why do a server rount trip for every border to get title when it's already
stored? bad bad bad! this will cause mucho slowness.



SVN revision: 46128
2010-02-13 11:42:28 +00:00
Carsten Haitzler 10cde00bbd fix fd handler del complaint! add events before adding handler for them!
otherwise event id is 0!



SVN revision: 46124
2010-02-13 02:57:01 +00:00
Christopher Michael cecda9c13d Fix for showing windows @ their original size, then resizing them.
Some cleanup of code.



SVN revision: 46034
2010-02-10 04:49:25 +00:00
Christopher Michael 2d846f27ed Remove .pc file (not used anymore).
SVN revision: 45940
2010-02-06 19:48:00 +00:00
Christopher Michael c466a427b3 Layout fixes for conformant windows (wrt keyboard).
SVN revision: 45936
2010-02-06 17:14:40 +00:00
Christopher Michael 63c874d7a6 Fix quickpanel not showing correctly (this also needs elm_win update).
SVN revision: 45935
2010-02-06 16:58:15 +00:00
Christopher Michael 7d96aaa67f Handle border property change events for Fullscreen/Unfullscreen.
SVN revision: 45932
2010-02-06 15:42:04 +00:00
Christopher Michael 9260b043d7 Oops, that should have been show/hide bottom panel (according to fixme).
SVN revision: 45924
2010-02-06 01:13:49 +00:00
Christopher Michael f82a3fb67e Address fixme for show/hide indicator window.
SVN revision: 45923
2010-02-06 01:10:10 +00:00
Carsten Haitzler 1595840134 some stuff... hmmm.
SVN revision: 45890
2010-02-05 06:12:02 +00:00
Christopher Michael 2e4b78b724 Add more error trapping.
SVN revision: 45691
2010-01-29 06:09:20 +00:00
Christopher Michael 3ac0f2e690 Add more error trapping.
SVN revision: 45690
2010-01-29 06:04:11 +00:00
Christopher Michael 25dd627a3a more trapping.
SVN revision: 45688
2010-01-29 05:58:46 +00:00
Christopher Michael 795ee6f6c2 Add some more error trapping.
SVN revision: 45687
2010-01-29 05:57:40 +00:00
Christopher Michael 096d4b0623 More error trapping.
SVN revision: 45686
2010-01-29 05:54:47 +00:00
Christopher Michael 5693b420a3 More error trapping.
SVN revision: 45685
2010-01-29 05:52:36 +00:00
Christopher Michael 30733c2133 E_FREE already sets variables to NULL.
SVN revision: 45684
2010-01-29 05:44:21 +00:00
Christopher Michael cb1d92f244 More possible error trapping.
SVN revision: 45683
2010-01-29 05:42:55 +00:00
Christopher Michael bab37d908f More trapping.
SVN revision: 45682
2010-01-29 05:41:20 +00:00
Christopher Michael c53dd2238d better trapping in dbus code (in case of unforseen problems)
SVN revision: 45680
2010-01-29 05:31:08 +00:00
Christopher Michael 7a3f478648 Shutdown config subsystem if layout init fails.
Do not allocate zones if zone count is zero.



SVN revision: 45679
2010-01-29 05:07:37 +00:00
Christopher Michael fa665ff798 Resize the dialog if it doesn't fit in the zone.
SVN revision: 45678
2010-01-29 04:58:14 +00:00
Christopher Michael c45b689eb1 Fix custom layout mode for fullscreen apps.
SVN revision: 45606
2010-01-26 22:37:55 +00:00
Christopher Michael eeb3a3318d Fix up layout code wrt fullscreen apps, conformant apps, and vkbd.
SVN revision: 45598
2010-01-26 20:13:34 +00:00
Christopher Michael 8b90bb8941 Completely fix conformant windows (wrt vkbd) in single layout mode.
SVN revision: 45580
2010-01-26 10:50:51 +00:00
Christopher Michael f435b6322c Allow conformant windows to work with vkbd in single layout mode (need to
handle dual mode still).



SVN revision: 45579
2010-01-26 10:16:29 +00:00
Christopher Michael f92311b2a9 Remove e_mod_border (dead file).
Rework layout code for all modes:
       - Better layout code for dual modes.
       - Don't set focus if the border is already focused.
       - No need to call the 'back' method on border_delete.
       - Don't call focus_latest_set on border_focus_in.
         (not needed as it turns out).
Cleanup e_illume_border.c: 
        - Free lists when done with them.
        - Check zones are valid.
        - Reduce variable usage.



SVN revision: 45503
2010-01-23 21:31:06 +00:00
Christopher Michael a77b6a8ad9 Reduce variable usage.
Add additional error trapping.



SVN revision: 45478
2010-01-23 05:56:17 +00:00
Christopher Michael 64ccc4f601 Reorg/refactor some code to reduce duplicate code.
SVN revision: 45477
2010-01-23 05:31:05 +00:00
Christopher Michael 5e5e414525 Reorganize some variable placement to reduce potential register usage.
SVN revision: 45476
2010-01-23 04:52:28 +00:00
Christopher Michael c1fa97861b Not sure why, but moving QP borders here need an actual e_border_move call.
SVN revision: 45475
2010-01-23 04:35:23 +00:00
Christopher Michael 8ca7469480 Hide/Show QP borders when appropriate.
If we move the indicator window in policy, then send qp_pos_update message
so quickpanel is in the correct position.



SVN revision: 45473
2010-01-22 23:28:03 +00:00
Christopher Michael 19f06ac085 Rework quickpanel to account for ability to drag indicators...so now when
indicator moves, quickpanel will adjust it's position accordingly.



SVN revision: 45468
2010-01-22 22:51:31 +00:00
Carsten Haitzler d57b58c4c3 fix distcheck!
SVN revision: 45426
2010-01-22 05:11:19 +00:00
Christopher Michael cc1334f5aa We cannot rely on bd->client.icccm.title to be valid, so fix illume border
detection with that in mind.



SVN revision: 45423
2010-01-22 01:44:50 +00:00
Christopher Michael b03babe944 Remove printfs.
SVN revision: 45378
2010-01-21 02:05:19 +00:00
Christopher Michael 63b73189d0 When quickpanel gets deleted, we need to remove the borders from the qp list.
SVN revision: 45376
2010-01-21 01:47:30 +00:00
Christopher Michael e814e90d4a Fix border focus cycling.
SVN revision: 45313
2010-01-19 02:35:12 +00:00
Christopher Michael 3bf5c6c2f3 Recode 'back' message to work on focus per-zone.
SVN revision: 45312
2010-01-19 02:21:14 +00:00
Christopher Michael 1d8b54bd91 When deleting a window, send the 'back' command so we set focus to the
previous window.



SVN revision: 45309
2010-01-19 00:33:53 +00:00
Christopher Michael 2c99b1edf0 Hide indicator window if we launch a fullscreen app, and show indicator
window when fullscreen window is closed.



SVN revision: 45307
2010-01-19 00:00:07 +00:00
Christopher Michael 1bc2b829f2 Use PATH_MAX in e_utils.
Add function in e_utils to get a zone by Ecore_X_Window (black_win).
No need to check for locked in illume-indicator.
Add client message handler for quickpanel to handle zone request changes on
quickpanel borders.
Remove some printfs.
Minor formatting in illume2 e_kbd.
Easier check for focused_vkbd_state.



SVN revision: 45233
2010-01-16 18:40:03 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Carsten Haitzler d4c9dd55e6 fix segv if no per-zeon-config found!
SVN revision: 45158
2010-01-15 04:40:08 +00:00
Christopher Michael 525346b624 Don't send mode message here.
SVN revision: 45155
2010-01-15 03:58:23 +00:00
Christopher Michael b8cb5165c5 Loop managers & containers when looking for the proper zone.
Some re-org/cleanup during init.



SVN revision: 45124
2010-01-14 20:10:11 +00:00
Christopher Michael 245804f5d7 Remove the pkg-config file for E_Illume.
Remove dead lines in indicator code.



SVN revision: 45108
2010-01-14 04:08:04 +00:00
Christopher Michael d307f74950 Do xinerama/dual-head setup based on managers->containers->zones, not
xinerama screen count. (as E the wm will take care of setting up
managers/containers/zones per what is needed from xinerama/dual-head).



SVN revision: 45101
2010-01-14 01:18:37 +00:00
Christopher Michael e02e87239a Remove unused files.
SVN revision: 45100
2010-01-14 00:55:54 +00:00
Christopher Michael 8fc8d8d24f Fix missing corner case for layout placement.
Change variable name in policy settings.



SVN revision: 45099
2010-01-14 00:20:32 +00:00
Christopher Michael 07666b4952 Add illume2 module...oops :(
SVN revision: 45073
2010-01-13 01:10:39 +00:00
Christopher Michael 3daa61a89d Remove all old illume2 code. New code coming in mass.
SVN revision: 45067
2010-01-12 20:18:38 +00:00
Carsten Haitzler 07ccfbae03 fix seg!
SVN revision: 45001
2010-01-09 02:56:20 +00:00
Christopher Michael a5bac23eca Use border props for quickpanel rather than round-trip X calls.
SVN revision: 44881
2010-01-04 18:19:27 +00:00
Christopher Michael f435c770e4 Add illume atoms to e_border struct.
Add code to fetch illume atoms on border map & property changes (if needed).
    - This avoids a lot of round-trip calls to X when running illume2.
Remove whitespace & fix some formatting.
Use PATH_MAX instead of 4096.
Update illume2 code to use new border atoms and avoid round-trip X calls.



SVN revision: 44879
2010-01-04 18:15:56 +00:00
Christopher Michael 3ec7e23d3f Some printfs for quickpanel sort (as it still does not seem to sort
correctly all the time).



SVN revision: 44872
2010-01-04 05:32:13 +00:00
Christopher Michael d39c3131fe Remove a printf.
Do not set lock_client_location or lock_user_location during border assign
hook. (These were responsible for elm_indicator window not being movable)
Add a new function so that we can move indicator window to proper position
if we are not in landscape mode. ( This resets indicator window to top
position when mode changes to non-landscape)

Thanks for the help Raster ;)



SVN revision: 44871
2010-01-04 02:53:51 +00:00
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