Commit Graph

285 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
Carsten Haitzler 26a35cdf01 backlight config tab, module, slider and core in. somehow doesnt work
with hal atm even tho i think i sent the right dbus req. hmmm. get
response.. of 0 for getting bl. for xrandr it works.



SVN revision: 60242
2011-06-12 15:05:22 +00:00
Miculcy Brian 73cb3ad73e Dialogs aren't allowed to be iconified or maximized, even don't allow via keybinding
SVN revision: 57990
2011-03-22 14:05:53 +00:00
Hannes Janetzek abb627d2b4 e17: raise border in window_desk_move_by action
SVN revision: 57703
2011-03-12 15:09:49 +00:00
Hannes Janetzek 3f610a161e e17: allow window manipulation for any type of window maximize policy when 'allow maipulation of maximized windows' is enabled
fixing http://trac.enlightenment.org/e/ticket/430


SVN revision: 57681
2011-03-10 20:58:55 +00:00
Hannes Janetzek f3b8b6ccb7 e17: remove redundant checks. lock_focus_out is check in e_boder_focus_set*
SVN revision: 57648
2011-03-10 02:44:02 +00:00
Miculcy Brian c695554642 allow to change layer when locking border position
SVN revision: 57609
2011-03-09 00:05:03 +00:00
Boris Faure 599e4570d0 e: fix indent
SVN revision: 57118
2011-02-17 09:54:43 +00:00
Boris Faure 4f7e03fe3e e: just use eina_stringshare_replace
SVN revision: 57079
2011-02-16 09:31:44 +00:00
Boris Faure 9fcfc565b1 e: use stringshare_replace in window_border_set
SVN revision: 57077
2011-02-16 09:07:44 +00:00
Boris Faure c48d74e023 e: use stringshare_replace in window_border_cycle
SVN revision: 57059
2011-02-15 18:15:54 +00:00
Boris Faure fce4b80b86 e: add window_border_cycle to e_actions
SVN revision: 57040
2011-02-14 21:35:48 +00:00
Boris Faure 0ee47d4245 e: add window_border_set as possible action
SVN revision: 56994
2011-02-13 21:23:29 +00:00
Boris Faure fbe9738e6f e: whitespaces-- and use x = !x instead of if else
SVN revision: 56992
2011-02-13 19:37:50 +00:00
Christopher Michael 629b3a304e Add missing UNUSED.
SVN revision: 56676
2011-02-03 17:21:57 +00:00
Hannes Janetzek 93c43fe854 add __UNUSED__
SVN revision: 56300
2011-01-25 18:20:13 +00:00
Christopher Michael 572970d903 Add a Suspend Now command to actions so that on ACPI lid close, you
can do suspend without a confirmation dialog.
Clear the Action Paramaters box when a binding or action changes.



SVN revision: 56207
2011-01-17 17:25:42 +00:00
Mike Blumenkrantz b523a45218 add __UNUSED__ somewhat indiscriminately here since we're doing crazy macros anyway
SVN revision: 56159
2011-01-16 02:08:22 +00:00
Carsten Haitzler 3fb1756479 makr strings to be translatable - but dont translate
SVN revision: 56109
2011-01-14 11:19:30 +00:00
Carsten Haitzler 7c54b118e8 gettext-> translate at gui display time not in storing in structs!
SVN revision: 56107
2011-01-14 09:49:42 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Luis Felipe Strano Moraes 058f651795 Changing action description to the correct parameters.
I'd actually prefer bottom-left and bottom-right instead of down-left
and down-right, but then we would also have to change up-left to top-left
and so on. This change was the one that introduced minimal annoyance to
people who already use this amazing push-to binding (the few people here
who used evilwm should know it).



SVN revision: 53186
2010-10-08 13:32:08 +00:00
Mike Blumenkrantz 4be4d99103 englishize kill message
SVN revision: 52151
2010-09-11 02:22:01 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Christopher Michael 7a8bbab059 Add UNUSED.
Fix formatting in e_actions.



SVN revision: 51328
2010-08-18 19:46:26 +00:00
Lucas De Marchi f725ee6e15 Do not compare pointers to 0
SVN revision: 50973
2010-08-10 19:24:38 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Carsten Haitzler 94eb10404e edge -> no ev. dont seg
SVN revision: 49884
2010-06-27 08:35:59 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Gustavo Sverzut Barbieri d08037a625 Window/Action/Push in direction is now able to do 2d movements.
Allow one to send window to corners. up-left, up-right, down-left and
down-right are the new possible values.

HINT: for those that don't know, the "Push" has the nice behavior to
do the push in the given direction but stops in the first
window/obstacle in that direction, thus avoiding overlapping windows.



SVN revision: 49433
2010-06-04 02:08:43 +00:00
Gustavo Sverzut Barbieri 36c9bdebe1 Fix Window/Actions/{Move to..., Push in Direction...} to account shelf.
Now push to edges or move to position will account for shelves and not
move things below/ontop of them.

Move to help was also changed to say "+" instead of " " as it is more
clear. The code just checks for '-', so anything else is accounted as
positive anyway.



SVN revision: 49432
2010-06-04 01:51:24 +00:00
Christopher Michael d2d1e49bf5 Add bindings for ACPI.
Add acpi bindings to config.
Add handlers in e_acpi for common/default acpi events.
Add actions for some missing ACPI events.
 - NB: Dim/Undim screen do nothing currently except a printf.



SVN revision: 49309
2010-05-29 19:57:13 +00:00
Sebastian Dransfeld 1281326421 free desktop when done
SVN revision: 47475
2010-03-26 05:33:59 +00:00
Sebastian Dransfeld 080b8eda6c formatting
SVN revision: 47189
2010-03-13 21:56:25 +00:00
Sebastian Dransfeld 02b6e4db39 Ecore_Str.h -> Eina
SVN revision: 45740
2010-01-30 22:11:11 +00:00
Sebastian Dransfeld 56d7e58f04 And readd shelf_show action
SVN revision: 45420
2010-01-21 20:39:57 +00:00
Sebastian Dransfeld a9e5912f7f And remove rest of shelf action
SVN revision: 45382
2010-01-21 08:37:45 +00:00
Sebastian Dransfeld 226df7024c remove unneeded action
SVN revision: 45379
2010-01-21 07:50:06 +00:00
Sebastian Dransfeld 87f1bcb0ed remove unused variables
SVN revision: 45152
2010-01-14 23:48:48 +00:00
Christopher Michael 694a80290f Fix nasty formatting.
Remove whitespace.
Use -1 for eina_list_sort (saves a function call to eina_list_count).



SVN revision: 44801
2009-12-30 18:24:37 +00:00
Viktor Kojouharov b6ec16d97e hide edge event windows that are not used by any action
put the edge windows on the correct layers
allow edge click bindings
use actions for auto-hide shelves
toggling auto-hide will cause edge event windows to show/hide if necessary


SVN revision: 42864
2009-10-02 20:53:05 +00:00
Hannes Janetzek 28eac9678c fix warnings
SVN revision: 42476
2009-09-14 00:32:44 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Gustavo Sverzut Barbieri 04b88fea5f actions to toggle new modes.
SVN revision: 40385
2009-04-25 20:54:12 +00:00
Gustavo Sverzut Barbieri 7120b06df7 proper alignment when there is non-autohide shelves.
SVN revision: 40384
2009-04-25 18:49:39 +00:00
Cedric BAIL 74c6251db7 * e_actions: Use some eina macro.
SVN revision: 39591
2009-03-19 19:03:35 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Viktor Kojouharov 4c31250530 this option is more suitable for all actions, not just the desk flip one
SVN revision: 39442
2009-03-10 21:34:41 +00:00
Davide Andreoli 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +00:00
Eric Schuele fcc03a2173 Action to center the focused border.
SVN revision: 39301
2009-03-01 05:15:54 +00:00