Commit Graph

235 Commits

Author SHA1 Message Date
Mike Blumenkrantz aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz 57933c9d02 giant rollup commit fixing all xkb issues
tickets #1799, #2082


SVN revision: 83531
2013-01-31 17:50:45 +00:00
ChunEon Park ef2d139967 e/action - removed unnecessary line. already structure is clean.
SVN revision: 83122
2013-01-23 05:30:59 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Massimo Maiurana 9f1d6e067e Store and handle action names correctly. (patch from Igor Murzov)
SVN revision: 81049
2012-12-16 16:58:17 +00:00
Mike Blumenkrantz 9605a4fb85 resizable dialogs are now compatible with the maximize action and maximize options in border menu
ticket #1950


SVN revision: 80581
2012-12-10 08:20:52 +00:00
Mike Blumenkrantz 503d7305db Dear all,
As I've said before, I'm attached a patch for minor bugs in the e17 again.
 Please take a look at attached patch.

 01. missing E_FREE(wev) if zone is null
     File: src/bin/e_actions.c: 1467
     Function: ACT_FN_GO_EDGE macro function
     null check of zone and wev, it would be better to separate them.

 02. dead code
     File: src/bin/e_configure.c: 338
     Function: _e_configure_efreet_desktop_update

 03. array buf might be overwritten by "buf[i] = '\0'"
     File: src/bin/e_eap_editor.c: 412
     Function: _e_desktop_edit_user_local_desktop_filename_generate

 04. missing null check
     File: src/bin/e_fm.c
     Function: e_fm2_icon_get: 2196
     It would be better to check ic->info.file in e_fm2_icon_get
     before passing to _e_fm2_file_is_edje because it doesn't check
     null pointer.

 05. array 'path' might be overwritten by "path[i + 1] = XXX"
     File: src/bin/e_fm.c: 4299
     Function: _e_fm2_uri_parse

 06. missing null check
     File: src/bin/e_fm_device.c: 468
     Function: e_fm2_device_mount_find
     If the null pointer is passed to e_fm2_device_mount_find,
     then it attempt to compare string using strncmp without null
     check.
     e.g., e_fm2_path_set
           -> real_path = _e_fm2_dev_path_map: this function could return null.
           -> sd->realpath = real_path;
           -> e_fm2_device_mount_find(sd->realpath)

 07. missing free(fstrip)
     File: src/bin/e_import_config_dialog.c: 34
     Function: _import_edj_gen

 08. missing _module_free(cfm)
     File: src/bin/e_int_config_modules.c: 530
     Function: _load_modules

 09. missing free(class) in for loop
     File: src/bin/e_int_menus.c: 1187
     Function: _e_int_menus_clients_add_by_class

 10. missing free(roots)
     File: src/bin/e_main.c: 1646
     Function: _e_main_screens_init
     Actually only e_win_init function could return 0.
     But I've added free to other codes for the consistency.

 11. missing null check of 'es->cfg'
     File: src/bin/e_shelf.c: 2583
     Function: _e_shelf_bindings_add
     'es->cfg' might be null. please look at e_shelf_position_calc.

 12. no ect->category check before comparing string values
     File: src/bin/e_theme.c: 387
     Function: e_theme_config_remove
     I'm not sure, but inner if block checks ect->category before
     deleting a string.

 13. missing E_FREE(wcb) in while loop
     File: src/bin/e_widget_ilist.c: 146
     Function: _queue_timer

 14. dereferencing freed pointer 'entry'
     File: src/modules/quickaccess/e_mod_quickaccess.c: 583
     Function: _e_qa_event_border_remove_cb

 15. missing E_FREE(trov)
     File: src/modules/tiling/e_mod_tiling.c: 3106
     Function: _do_transition_overlay

 Thanks & Regards,
 Gwanglim


SVN revision: 80231
2012-12-05 11:13:09 +00:00
Mike Blumenkrantz eb2ae4dfb2 improve and homogenize system action dialog texts
SVN revision: 79817
2012-11-29 07:20:17 +00:00
Mike Blumenkrantz 4a4f40215e pass border to kill function as expected and don't kill anything if a non-border object was passed
ticket #1769


SVN revision: 79206
2012-11-13 08:39:45 +00:00
Mike Blumenkrantz 31b2e6dcf9 add "Flip To Previous Desktop" action
ticket #1717, patch originally by Robert David <robert.david.public@gmail.com>


SVN revision: 79148
2012-11-12 10:49:28 +00:00
Mike Blumenkrantz 15b668e01a more build fixes: MAX into e.h if not defined, remove other definitions as pointed out by Robert David
ticket #1757 (2/3)


SVN revision: 79138
2012-11-12 09:16:23 +00:00
Eric Schuele 2d173a6ae2 Much more appropriate fix for TRAC#1222.
SVN revision: 77960
2012-10-13 20:38:49 +00:00
Eric Schuele 46870c46b5 TRAC#1222 Resolve sticky windows not offering resistance on window_push for desktops other than that which they belong.
SVN revision: 77927
2012-10-12 01:21:24 +00:00
Carsten Haitzler 7bed18f089 add action to enable/disable and toggle a module... useufl for... eg
togling comp on and off :)



SVN revision: 76442
2012-09-11 06:59:46 +00:00
Carsten Haitzler 2a363406b8 pointer screen switch fullscreen focus bug--
SVN revision: 76397
2012-09-10 12:22:16 +00:00
Eduardo de Barros Lima 0537308565 Add missing actions for Maximize Left/Right
SVN revision: 76202
2012-09-05 16:06:35 +00:00
Mike Blumenkrantz f1e4a5909f add two new maximize modes: left and right
these will maximize a window to either the left or the right half of the screen, respectively
work started by etrunko in ticket #1422


SVN revision: 76198
2012-09-05 13:46:15 +00:00
Mike Blumenkrantz 77a97c35c3 set correct group for window_shaded action
SVN revision: 75650
2012-08-24 09:57:32 +00:00
Mike Blumenkrantz 6294cb8353 create action names for actions which were missing them
SVN revision: 75648
2012-08-24 09:28:23 +00:00
Mike Blumenkrantz f5944a4eb3 fix crash in window_jump_to action
SVN revision: 75592
2012-08-23 06:44:23 +00:00
Christopher Michael 184e904c64 E: Add unused to missing function.
params is unused for app_new_instance_go.



SVN revision: 74300
2012-07-22 15:37:14 +00:00
Christopher Michael 636e6af10f E: Minor formatting fixes.
SVN revision: 74298
2012-07-22 14:49:01 +00:00
Leif Middelschulte bc5b594dda Add 'Exec new instance of focused app' action for consistent tabbing
SVN revision: 74297
2012-07-22 14:44:13 +00:00
Mike Blumenkrantz 0a99276b73 ensure focus is set when moving a window across zones
SVN revision: 74188
2012-07-19 13:15:33 +00:00
Mike Blumenkrantz 9872898794 fix fullscreen window moving using pager/bindings
ticket #1181


SVN revision: 74187
2012-07-19 13:13:23 +00:00
Mike Blumenkrantz 547fa4da3c fix fullscreen/maximize window zone/desk movement which use actions and pager
ticket #1181


SVN revision: 74047
2012-07-18 07:21:26 +00:00
Mike Blumenkrantz 81b9360022 fix bug with mouse screen move actions which prevented them from properly wrapping screen 0 to screen MAX
SVN revision: 74044
2012-07-18 07:08:42 +00:00
Mike Blumenkrantz 17a2461427 cleanups for screen_send_by action, no functional changes
SVN revision: 74038
2012-07-18 06:52:43 +00:00
Mike Blumenkrantz 2abb446f08 clean up screen_send_to action: no functional changes
SVN revision: 73980
2012-07-17 14:11:38 +00:00
Cedric BAIL eccf13058a e: add scripting feature to lock/unlock require some tests.
SVN revision: 73979
2012-07-17 13:33:21 +00:00
Mike Blumenkrantz 8de859c901 yet another amazingly old bug+patch on trac that nobody bothered to commit: jump-to-window actions from mcalamelli in pre-trac times
ticket #80


SVN revision: 73527
2012-07-10 13:00:23 +00:00
Mike Blumenkrantz 711962e68d fix screen mouse flip action keyword jargon to not flip crazily and actually focus correct thing
fixes cedric's bug


SVN revision: 73345
2012-07-05 13:12:52 +00:00
Mike Blumenkrantz f613ce7d4e using an action to send the mouse to another screen now also sets window focus on that screen
ticket #863


SVN revision: 73285
2012-07-04 13:25:09 +00:00
Mike Blumenkrantz 0dc311768b these buttons seem stupidly labeled given that the dialog asks a yes/no question, but changing one button to read slightly better is easier than making up new dialog text
SVN revision: 73007
2012-06-28 13:31:58 +00:00
Mike Blumenkrantz 54f2079b25 add e actions for moving a window to next/prev screen: this can be found in Window : Moving for keybinds
SVN revision: 72924
2012-06-27 08:02:03 +00:00
Mike Blumenkrantz 4febddc346 clarify that window:actions{move by,move to} are for coordinate movement, not desk/screen movement
SVN revision: 72923
2012-06-27 07:22:58 +00:00
Chidambar Zinnoury f9e2aba1d4 e dialogs: some more Yes → action label updates.
SVN revision: 72903
2012-06-26 23:23:11 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz 9bf77b26ac keybindings which execute a command will no longer execute the command on the repeat of the key: you now have to press the key every time you want to execute the command.
fixes #329


SVN revision: 72536
2012-06-20 09:20:27 +00:00
Mike Blumenkrantz ad68c5f2ec keybind macro now takes 3 params to allow manually setting unused on key event param
SVN revision: 72531
2012-06-20 08:48:06 +00:00
Mike Blumenkrantz d0f5d7d5b3 formatting
SVN revision: 72530
2012-06-20 08:42:17 +00:00
Carsten Haitzler 7bac5692b1 add more stacking layers (10 now), bump module api numebr as a result
and fix actions infinite loop on shutdown.



SVN revision: 71322
2012-05-22 12:11:19 +00:00
Carsten Haitzler 9027606122 enable xkb next/prev and set actions. :)
SVN revision: 70613
2012-05-02 07:37:09 +00:00
Carsten Haitzler 5a00507e2b xkb config put into core. xkb layout is set on startup now (last one
used). removed setting up and deletion of keybindings - now its in
normal keybindings config territory. set them up yourself. much more
solid now. happy.



SVN revision: 70552
2012-04-30 09:52:05 +00:00
Vincent Torri c4cdd54b33 e17: unused variables
SVN revision: 70189
2012-04-15 07:48:43 +00:00
Carsten Haitzler aaf80033e5 add hibernate now action
fix backlight to not reset to default on restarts.



SVN revision: 67544
2012-01-26 06:21:21 +00:00
Carsten Haitzler 47447fd382 fix warping of mouse on desk flip in multihead
SVN revision: 64799
2011-11-06 06:37:02 +00:00
Hannes Janetzek 002a7d0350 e17: free more than half of action_list on shutdown
SVN revision: 62768
2011-08-25 01:25:43 +00:00
Carsten Haitzler 2b7b0b6082 fix issues k-s reported:
SVN revision: 60369
2011-06-16 03:26:21 +00:00
Carsten Haitzler 411f75319d backlight support for non randr (go right to /sys via suid root tool).
test keybindings too and make brightness be 0->100 to avoid float
parsing issues



SVN revision: 60350
2011-06-15 14:18:23 +00:00