Commit Graph

404 Commits

Author SHA1 Message Date
discomfitor b5c837b61e fix pager visual fade out 2013-09-05 19:01:17 +01:00
Carsten Haitzler cf3c77aefd allow enter/kp enter/space to select a desktop when pager popup is up 2013-08-25 19:29:39 +09:00
Mike Blumenkrantz 71d6c94b10 use e list macros for pager event handlers 2013-08-15 09:46:44 +01:00
Mike Blumenkrantz cf76a4b142 remove redundant pager desk selection for pager popups on flip 2013-08-14 13:46:21 +01:00
Mike Blumenkrantz 517d537dfa don't iterate over pager desks to set active/inactive, this is stupid. 2013-08-14 12:53:03 +01:00
Mike Blumenkrantz 5afa40b352 remove some old pre-comp pager cruft 2013-08-14 12:49:17 +01:00
Mike Blumenkrantz 2f998593e1 fix pager window visibility during drag 2013-07-02 07:59:00 +01:00
Chris Michael 2047bac4b0 Fix klockwork issue: NULL pointer may be dereferenced:
Don't call e_comp_win_effect_set unless we have a valid pager window

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 14:45:36 +01:00
Mike Blumenkrantz 1837d1c266 fix pager window dragging in pager when comp effects are enabled 2013-06-13 07:30:36 +01:00
Mike Blumenkrantz f5e3f2ea6a unset comp win effect when dragging a window to the current desk 2013-06-12 14:08:27 +01:00
Mike Blumenkrantz 0aa86c902e fix pager popup hide/delete animation 2013-06-12 09:38:46 +01:00
Mike Blumenkrantz 9a24c85571 pager dnd is now significantly more awesome 2013-05-30 09:42:29 +01:00
Mike Blumenkrantz 25c0f38bf6 pager popups no longer allow clicking
deal with it
2013-05-20 08:59:50 +01:00
Mike Blumenkrantz 53330cc2e1 clean up pager desk drag objects 2013-04-18 12:38:39 +01:00
Mike Blumenkrantz 2d5d042979 fix pager dnd icon deletion 2013-02-26 07:27:44 +00:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Mike Blumenkrantz c48fd0b06d giant commit that wipes all bindi^W^W^Wsplits out binding configs into a separate config domain so they can be more easily copied and so they won't be wiped in the event that primary config is wiped
also splits all binding lists out of e_config: they are now conveniently located in the global "e_bindings" struct


SVN revision: 83544
2013-02-01 10:21:54 +00:00
Mike Blumenkrantz 3bc56a9e5f fix a tremendous number of stringshare leaks
SVN revision: 81532
2012-12-21 10:20:05 +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
Massimo Maiurana f4cd4df207 Make two more messages translatable (patch from Igor Murzov)
SVN revision: 81040
2012-12-16 08:57:55 +00:00
Mike Blumenkrantz a4cb0df4ea prevent double pager settings menus
SVN revision: 80769
2012-12-12 14:56:59 +00:00
Mike Blumenkrantz fde12e4225 simplify pager dnd leave cb
SVN revision: 80654
2012-12-11 12:48:49 +00:00
Mike Blumenkrantz 1ecfd5bb0e don't need to iterate on pager drop move cb
SVN revision: 80636
2012-12-11 09:54:50 +00:00
Mike Blumenkrantz 92cdc69ead typo
SVN revision: 80633
2012-12-11 09:19:27 +00:00
Mike Blumenkrantz d4e3ceb6c2 clean up pager enter dnd event cb
SVN revision: 80632
2012-12-11 09:19:15 +00:00
Mike Blumenkrantz 486c74738d use EINA_LIST_FOREACH in pager
SVN revision: 80631
2012-12-11 09:02:13 +00:00
Mike Blumenkrantz 557b8c3c8d fix pager usage of E_FREE
SVN revision: 80364
2012-12-06 14:12:55 +00:00
Carsten Haitzler 0683ecf7b3 ummm pager - when dragging a whole DESKTOP... dont set a white bg..
theme haqndles this with the pager setup itself.



SVN revision: 79689
2012-11-26 10:13:54 +00:00
Carsten Haitzler 3868f0f91a try avoid null ptr derefs.
SVN revision: 79168
2012-11-12 14:45:59 +00:00
Sebastian Dransfeld 8eacf64412 pager: prevent double pager windows
SVN revision: 78950
2012-11-06 21:31:25 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Mike Blumenkrantz dbb6951538 raise borders when dragging to different desks in pager
ticket #1423


SVN revision: 75881
2012-08-30 13:13:51 +00:00
Carsten Haitzler 25cb07dcf9 simplify some stacking code handling.
SVN revision: 75774
2012-08-28 10:25:47 +00:00
Mike Blumenkrantz 2434f5adbe more PATH_MAX cleanups
SVN revision: 75520
2012-08-22 07:32:12 +00:00
Carsten Haitzler 1739590e05 fix wad of focus issues with click-to-focus and alt+tab + fullscreen
windows.



SVN revision: 75399
2012-08-18 04:40:56 +00:00
Mike Blumenkrantz 94e2fc5257 clean up gadget right click menus to stop leaking
SVN revision: 75285
2012-08-15 07:22:04 +00:00
Mike Blumenkrantz 9c281e264f don't invert pager with FLOAT orientation
SVN revision: 75244
2012-08-14 08:41:39 +00:00
Mike Blumenkrantz 08e0a309bd unrevert pager changes, now with more null checks
SVN revision: 75235
2012-08-14 06:35:32 +00:00
Carsten Haitzler 33df11d1cd going to have to do this.. reverties. 1:15am and this commit gets my
e17 to rash instantly on start and leave me with all modules unloaded.
have to revert as its the quickest fix. :)



SVN revision: 75219
2012-08-13 16:18:57 +00:00
Mike Blumenkrantz ea5cfeba4a pager gadget now autocorrects its orientation to vertical when trying to display a pager for a screen with NUMx1 vdesks with gadcon orient: vertical
this makes it look/work differently, but at least the gadget is usable


SVN revision: 75207
2012-08-13 12:30:14 +00:00
Carsten Haitzler 4ea769764a pager fixups...
1. dont use a livethumb resolution OF THE SCREEN! per pager desktop
that means u alloc width*height*4 bytes... u have 6 desktops,
1920x1080 screen... thats 48mb for the backing images at full res. no!
bad bad! so i cut it down to 1/16th of the screen res. ie 1920/16 x
1080/16 for the full rest "livethumb". at least its much more
managable (i woke up to find after an update my e was using an EXTRA
100mb of ram! (2560x1440*4desk + 1920x1200*4desk).
2. dont create the livethumbs at all unless you have the bg preview
on! (i had it off and i still paid the price of the mem usage).
3. make the live preview inverted in the cfg gui - ie enable the live
preview, not disable it.
4. fix theme to preview bg fills the pager base box correctly within
the border bounds.
5. dont enforce aspect handling in livethumb as pager is "master" of
aspect (taken from desktop anyway).



SVN revision: 75154
2012-08-11 04:40:30 +00:00
Mike Blumenkrantz 113448e2ac fixed pager bg previewing to use livethumb and also support animated backgrounds
note: using this with klok WILL slow your system to a crawl


SVN revision: 75102
2012-08-10 13:29:35 +00:00
Mike Blumenkrantz f55b60e3af much more strict checking with pager module to account for cases where a user may be sneaky and set animated wallpapers without pagers loaded or somesuch and have config->enable_live_preview set
SVN revision: 74857
2012-08-03 17:21:31 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +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
Carsten Haitzler 90e537d983 code config better for pager.
SVN revision: 73850
2012-07-14 11:10:56 +00:00
Mike Blumenkrantz 6c7b03d79b fix pager deletion
SVN revision: 73808
2012-07-13 10:25:51 +00:00
Mike Blumenkrantz 741b234f04 remove pager window previews until e18 :(
SVN revision: 73599
2012-07-12 06:26:27 +00:00
Mike Blumenkrantz 26867329e4 update pager gc on config change
SVN revision: 73588
2012-07-11 17:59:10 +00:00
Mike Blumenkrantz 558c9e0285 add pager config option just for enabling live window previews -- off by default
SVN revision: 73587
2012-07-11 17:48:05 +00:00
Mike Blumenkrantz eef8d26710 save live preview settings for pager
SVN revision: 73586
2012-07-11 17:38:08 +00:00
Mike Blumenkrantz 11215e3663 who likes features? eh? EH? pager gadget now gets semi-live updating of windows when comp module + live updating is enabled
small bug: don't try resizing windows with this activated or it'll crash you without a white box


SVN revision: 73585
2012-07-11 17:36:50 +00:00
Mike Blumenkrantz 1798b70bd4 in further testing, ticket #1155 does not exist and is, in fact, a heisenbug
SVN revision: 73576
2012-07-11 13:18:57 +00:00
Mike Blumenkrantz 22775c508a add event handler to pager to handle wallpaper changes; see ticket #1155 for the bug that this works around
SVN revision: 73574
2012-07-11 13:02:03 +00:00
Mike Blumenkrantz a883c59c02 toggling pager's 'show desktop names' now properly toggles constant display of desktop names
SVN revision: 73563
2012-07-11 10:53:07 +00:00
Mike Blumenkrantz d2254253be pager module now uses deskpreview to show full, realtime previews of desktops; option to disable can be found in pager settings
ticket #141


SVN revision: 73555
2012-07-11 08:50:52 +00:00
Mike Blumenkrantz 9f4057044c fix a bug where dragging a maximized window using the pager would cause that window to disappear from the pager
also fix drag of maximized windows using pagers in general
ticket #1037


SVN revision: 73327
2012-07-05 07:18:49 +00:00
Mike Blumenkrantz 84d81fc63e use edje min size for pager desks and freeze table while adding desks to prevent unnecessary recalcs
SVN revision: 73221
2012-07-03 10:40:39 +00:00
Mike Blumenkrantz 8fbf0e7f68 formatting
SVN revision: 72797
2012-06-25 10:48:42 +00:00
Mike Blumenkrantz 74edef9f46 fix memory leak spotted by seb in gc_id_new. this whole thing is pretty confusing; I'm glad we don't have docs for it
SVN revision: 72689
2012-06-22 07:21:51 +00:00
Mike Blumenkrantz 3ccb0c6b95 fix pager id saving, fixes #684 and also deletes your pager configs
SVN revision: 72586
2012-06-21 10:42:04 +00:00
Vincent Torri 9d9ce41db0 E17: fix some warning
SVN revision: 71233
2012-05-18 13:02:20 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Chidambar Zinnoury bc0ae06616 e pager: check zone when adding a border.
When a window is sticky and a pager is created (when restarting the window manager for instance), not checking zones makes the window being shown everywhere - on every screen


SVN revision: 70183
2012-04-14 12:13:16 +00:00
Lucas De Marchi 8c153f8f26 Don't signal urgency hint when window has focus
SVN revision: 65538
2011-11-23 13:03:02 +00:00
Boris Faure 27264671d0 e/gadcon: label() returns a const char*
Original patch by Fabien Romano from OpenBSD

SVN revision: 65204
2011-11-14 21:46:57 +00:00
Mike Blumenkrantz fe4b68060e yet enother unused var
SVN revision: 64911
2011-11-07 23:36:56 +00:00
Hannes Janetzek 907f739312 e17/pager: always show virtual desktop settings in top-level menu
SVN revision: 58002
2011-03-22 23:07:30 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Mike Blumenkrantz 6d87da8c14 yet another null deref
SVN revision: 56151
2011-01-16 01:34:05 +00:00
Mike Blumenkrantz 9224fcdb23 avoid null deref
SVN revision: 55721
2010-12-22 23:23:47 +00:00
Mike Blumenkrantz 6dd6c9bc89 another comment
SVN revision: 55704
2010-12-22 22:41:26 +00:00
Mike Blumenkrantz 75f95cebe2 add comment
SVN revision: 55701
2010-12-22 22:31:24 +00:00
Boris Faure e9d8b9b3a7 pager: add config whether to show urgent popup on focused windows
SVN revision: 54464
2010-11-11 17:58:23 +00:00
Sebastian Dransfeld 32a8f5160d Fix dnd working with reference coords.
SVN revision: 54383
2010-11-09 21:14:38 +00:00
Sebastian Dransfeld 2a048b5005 gadcon helper functions
SVN revision: 54348
2010-11-08 20:11:45 +00:00
Sebastian Dransfeld 7ec3dd0f41 Right drop target size
If we are in an autoscroll container, use it's size as drop target

SVN revision: 54328
2010-11-08 14:05:29 +00:00
Miculcy Brian 2f8f31fbf5 This commit will change the shelf menu completly:
If you have a Gadget and open the menu over it, all gadget specific options are under a separate submenu. The menu items which the Gadget sets theirself can be put on the main menu tree or on the Gadget submenu.
If you don't see a reason for this, check the ibar menu _before_ and _after_. :)

This api change broke all modules but i already fixed them all. Hope everything works... I also shortend text strings, etc, etc.
Hope you like it! :)


SVN revision: 52041
2010-09-09 14:44:21 +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
Christopher Michael 5034dc5d5f Add UNUSED where needed.
SVN revision: 51403
2010-08-19 15:20:05 +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
Lucas De Marchi c426218dfe Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
Cedric BAIL 1e81ac0d3b * pager: Don't double del timer.
SVN revision: 50197
2010-07-12 14:02:15 +00:00
Christopher Michael 4798504a46 Missed one place where __UNUSED__ was not proper. Fix.
SVN revision: 49938
2010-06-29 15:22:18 +00:00
Christopher Michael 4a554402f2 Fix the mess called pager:
- Use PATH_MAX & E_FREE
 - Make use of __UNUSED__ correctly.
 - Fix formatting.
 


SVN revision: 49937
2010-06-29 15:19:48 +00:00
Cedric BAIL 2e92d43a46 * e: cleanup pager code.
SVN revision: 49855
2010-06-25 08:57:32 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Hannes Janetzek bfbd5f09d2 fix refocus window below issue with pager popup action
SVN revision: 48932
2010-05-17 00:41:28 +00:00
Hannes Janetzek 082f1dd1f7 added pager pop action for next/prev desk
SVN revision: 48514
2010-05-01 18:22:28 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Carsten Haitzler 0ebccbedbf fix pager - how did that break? oooh i see! DEVILHORNS!
SVN revision: 45029
2010-01-11 02:58:47 +00:00
Sebastian Dransfeld 821ba7d77e Don't move windows relative to shelves on pager
Pager windows should be set on pager where they actually are on the
desktop. So if they are behind a shelf, they should be behind it in the
pager.

This fixes bug #445.

SVN revision: 45025
2010-01-10 20:46:32 +00:00
Hannes Janetzek 7935aebb1f disable move in pager for now. as it leads to lost window if one drops between the desks
SVN revision: 42380
2009-09-10 13:51:12 +00:00
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Gustavo Sverzut Barbieri 609964ff1a unbreak pager and mouse wheel.
pagers should not rely on events on the edje object as it might get
lots of event replicas if there is a chain of swallows/groups/smarts
and they repeat events.

the new theme exports an e.eventarea part that will get the events and
pager will try to use it, if not fallback to the old behavior.

I cannot test this now, please say if it does not work.



SVN revision: 40616
2009-05-13 11:38:12 +00:00
Christopher Michael 06692e1e18 Lots of formatting fixes. Clear the text label in the pager desks if
Show Desktop Names is not enabled. Currently, any changes made to the 
pager module config require the pager module to be restarted (or E 
restarted). This should be addressed before a 1.0 release.


SVN revision: 40443
2009-04-28 15:29:56 +00:00
Gustavo Sverzut Barbieri be6a6ba639 improvements to e_border positioning.
* e_border_center() will center window in a better way, accounting
   the shelves/panels instead of just centering on the screen. This is
   better and most noticeable if screens are small and a big shelf on
   just one edge.

 * e_border_move_without_border(), e_border_resize_without_border()
   and e_border_move_resize_without_border() will assume the given
   values do not acount border/decorations (client_inset) and will do
   automatically. As stated in documentation, this is specially useful
   when it is a new client and thus have no decorations when it is
   positioned, when decorations are added window would be placed at
   wrong position. One can try this by adding efwin window overflowing
   the bottom-right corner, closing it and when reopen fileman would
   try to make it inside the screen, this would not work well with
   part of the window still being outside.

 * e_win_move(), e_win_resize() and e_win_move_resize() will now use
   new e_border functions.



SVN revision: 40307
2009-04-23 02:24:59 +00:00
Vincent Torri 7506655ca9 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39924
2009-04-10 09:57:57 +00:00
Viktor Kojouharov 30b11d23c8 add a urgent show function on the gadcon level and use that
(p.s. it's a good idea to recompile any extra module that you might use)


SVN revision: 39686
2009-03-24 16:08:37 +00:00