Commit Graph

258 Commits

Author SHA1 Message Date
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
Viktor Kojouharov 4c074624bf pop the shelf if there's no popup
SVN revision: 39680
2009-03-24 14:22:54 +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
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Davide Andreoli 3d41cbb20d More icon works, this commit include changes to the icons on the desktop.
You will probably loose desktop icons until you get a fresh profile. Or you can edit the
.desktop files in .e/e/fileman/favorites (new icons name are: user-desktop, user-home, computer and user-temp)

Sorry for bothering... the next commit should be the last ;)



SVN revision: 39419
2009-03-08 23:09:48 +00:00
Davide Andreoli 1101c58d9f more icons renamed
SVN revision: 39396
2009-03-06 19:17:12 +00:00
Davide Andreoli 3d669d1177 * Rename the new function:
e_util_menu_item_fdo_icon_set to e_util_menu_item_theme_icon_set
As it looks for icons in e theme AND in fdo icon themes.
* Use the new function everywere instead of e_util_menu_item_edje_icon_set,
that is now marked as DEPRECATED

You should not see any difference with this commit. With the next few commit I'm
going to rename all the icons in the theme following fdo standard. I will not change
any icons, just rename them to match fdo ones.



SVN revision: 39370
2009-03-04 20:46:05 +00:00
Gustavo Sverzut Barbieri 22df734bfc fix possible segv with pager, caught by clang.
If no pager exists on given zone and popup is urgent, it would segfault.



SVN revision: 38558
2009-01-12 18:51:56 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Christopher Michael a9f9017432 No need to get Width & Height, they are not used here.
SVN revision: 37544
2008-11-08 05:54:39 +00:00
Davide Andreoli 45cbf72298 * Gadcon API 3 *BREAK*
Version 3 add the *client_class param to icon(),label(),id_new(), id_del() 
 and the *orient param to orient().

All the modules (with a gadcon_client) need to be fixed...just add the new params 

to follow the EXTRA modules update.

SVN revision: 37450
2008-11-04 03:57:45 +00:00
Sebastian Dransfeld 94cbe9dcc2 No need to check for delete border, as border now cleans up drag.
SVN revision: 37246
2008-10-27 14:15:56 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
toma a3c3d2c23f Icon work. HUGE revision of icons and their names. This breaks the icon theme API so you might need to revise some themes. It does however, simplify a whole lot of stuff. You'll notice a lot more icons in menus. This bigger changes will come with the new theme once it is done. The missing icon names are put in b_and_w theme for now so if you need them, look them up. Also a bit of base work for EFM and the border icons in there. Commented out till the old icons are merged in. Message me if anything is screwed up.
SVN revision: 36591
2008-10-12 06:04:26 +00:00
Chidambar Zinnoury f9ea21e172 Check if current desktop is the same as previous one to prevent to prevent signals from being resent.
SVN revision: 36454
2008-10-05 17:45:13 +00:00
Chidambar Zinnoury 3cd8bd2a93 Remove a segfault when a border has been closed before the drop actually happened (maybe display a notification to user?)
SVN revision: 36453
2008-10-05 17:42:50 +00:00
Gustavo Sverzut Barbieri e051adccc7 pager: raise selected desktop before sending signal.
raises selected desktop before sending it the "e,state,selected"
signal so that animation won't be hidden by adjacent desktops.

Patch by Chidambar 'ilLogict' Zinnoury.


SVN revision: 36444
2008-10-05 13:50:35 +00:00
Gustavo Sverzut Barbieri d1f5aeb033 Fix dimension computation.
Patch by Chidambar 'ilLogict' Zinnoury.


SVN revision: 36423
2008-10-03 20:07:36 +00:00
Carsten Haitzler b3fa7a32d0 and remove more fake calls.
SVN revision: 36230
2008-09-25 01:37:38 +00:00
Viktor Kojouharov aeb7c1642a ecore_x:
* in ecore_x_pointer_xy_get, fill x & y with '-1', if the pointer is not in the same screen as the given window
  * add 'same_screen' and 'root_win' information for the XEvents dealing with keyboard and mouse events

e:
  * make sure e_manager_current_get returns the correct manager for the current screen
  * fix various modules to use the correct window, when dealing with events


SVN revision: 34705
2008-05-30 22:30:57 +00:00
Hannes Janetzek 15ce9ac71b allow to switch to desks with fullscreen windows that are set to lock user from change position.
catched by loquens


SVN revision: 33484
2008-01-14 15:23:49 +00:00
Hannes Janetzek ce96d3da09 remove duplicated code
change text to e.text.label


SVN revision: 33473
2008-01-13 20:15:22 +00:00
Sebastian Dransfeld 8067490208 Add return value.
SVN revision: 33460
2008-01-12 08:00:13 +00:00
Carsten Haitzler b70f5a0ecc e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Sebastian Dransfeld fd0f6ce1b9 Fix compiler warnings.
SVN revision: 33423
2008-01-10 07:40:25 +00:00
Hannes Janetzek 24b6eb6bae yea, looks nicer without substraction
SVN revision: 33391
2008-01-08 16:26:14 +00:00
Sebastian Dransfeld 7bebd67e20 No need to subtract 1
SVN revision: 33389
2008-01-08 06:01:24 +00:00
Hannes Janetzek c86c54a816 remove unused variable
SVN revision: 33384
2008-01-08 00:52:37 +00:00
Christopher Michael 1bbbb5b8db Fix formatting.
SVN revision: 33383
2008-01-08 00:45:12 +00:00
Hannes Janetzek b9ac1c91bd add mouse wheel control to pager popup
SVN revision: 33382
2008-01-08 00:30:21 +00:00
Hannes Janetzek 9aa1837a99 better naming for actions
replace whitespaces with tabs


SVN revision: 33379
2008-01-07 02:31:52 +00:00
Hannes Janetzek e03ecc4766 dont show urgent popup if the border is iconified
SVN revision: 33378
2008-01-07 01:46:53 +00:00
Hannes Janetzek 963bf6eaa6 added keybindings to trigger to show the pager popup and to cycle through
desks without immediately switching to another desk. one switches the selected
desk if all modifier keys are left. (just think of the winlist behaviour :)
it is also possible to manipulate the pager popup by mouse like a shelf pager


SVN revision: 33376
2008-01-07 01:30:02 +00:00
Sebastian Dransfeld 367038c6ee Fix check for correct pager popup.
Add return values.


SVN revision: 33340
2008-01-04 07:40:17 +00:00
Christopher Michael 9cf5076159 Modified Patch from hannes Janetzek (jeffdame1h) for fixing pager popup always having
same size as shelf & problem of having 2 pagers in one zone.


SVN revision: 33139
2007-12-14 22:30:44 +00:00
Sebastian Dransfeld 8ab0fc06b2 Use correct event structs.
SVN revision: 32545
2007-11-10 18:54:45 +00:00
Carsten Haitzler 2405363f94 errrr. commit? did the last one work?
SVN revision: 32232
2007-10-31 12:23:15 +00:00
Sebastian Dransfeld ac35054634 We need id's for gadgets which are independent of shelves, so if we move
a gadget from one shelf to another it will keep the same config. Since the
id is mainly for the module to find the appropriate config for a gadget,
the module is now responsible for creating id's for gadgets config. One
problem is that we no longer can trust the id of a gadget, so we need to
store a reference between a gadget and its config after startup. No big
deal.


SVN revision: 31727
2007-09-16 00:02:53 +00:00
Miculcy Brian 348c00eed6 Don't show menu entry for configuring virtual desktops if conf_desks isn't loaded.
SVN revision: 31199
2007-08-06 23:35:13 +00:00
Sebastian Dransfeld ad3761c9bd Fix warnings.
SVN revision: 30963
2007-07-24 18:47:26 +00:00
Carsten Haitzler 2e875d3805 various patches from the devel mailing list in - and fixed where needed.
SVN revision: 30818
2007-07-15 08:28:11 +00:00
Carsten Haitzler 371504515f abstract config dialogs more - include params.
SVN revision: 30588
2007-07-04 11:11:03 +00:00
Carsten Haitzler 34ce52f83c fix another bug - move started while resizienand vice-versa is bad. disallow.
SVN revision: 30296
2007-06-10 04:39:52 +00:00
Carsten Haitzler ff35e5804c fix window if it changes pager skip flag while its up.
SVN revision: 30295
2007-06-10 04:34:23 +00:00
Eric Schuele c5d4436618 Tweak GUI. Fix users ability to disable the slide/drag buttons.
SVN revision: 29600
2007-04-19 16:57:47 +00:00
Carsten Haitzler 93aabd730b pager urgent popup patch - good
evas clipouts less allocs patch - definite spedusp for when it's used heavily!


SVN revision: 29331
2007-04-04 09:55:40 +00:00
Sebastian Dransfeld 5c9c68298a Remove stale code.
SVN revision: 29160
2007-03-25 22:46:21 +00:00