Commit Graph

233 Commits

Author SHA1 Message Date
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
Sebastian Dransfeld c129c20ab6 Update icon name.
SVN revision: 29059
2007-03-24 23:12:23 +00:00
Christopher Michael b665b3f114 Fix some horrid formatting issues.
SVN revision: 28203
2007-02-03 02:44:59 +00:00
Sebastian Dransfeld 6d66dbb271 Reset test to button 1 to select desk.
SVN revision: 28097
2007-01-21 21:36:17 +00:00
Sebastian Dransfeld c299f6aa14 Add a convert callback so that a drag can have several types.
Make it possible to drag pager windows to the ibar.


SVN revision: 27751
2007-01-03 06:14:04 +00:00
Sebastian Dransfeld f03791e7b6 Formatting.
SVN revision: 27737
2007-01-02 19:37:11 +00:00
Sebastian Dransfeld 239f6f9b06 Use config button value to test against.
SVN revision: 27736
2007-01-02 19:35:15 +00:00
Sebastian Dransfeld 2320ea99b8 This is reset when dragging starts.
SVN revision: 27735
2007-01-02 19:32:06 +00:00
Sebastian Dransfeld 3ca822502f This is already 0 when dragging begins.
SVN revision: 27734
2007-01-02 19:28:37 +00:00
Sebastian Dransfeld de00355874 No need to track the drag, as it is assured to be deleted by the dnd code
after e_drag_start has been called.


SVN revision: 27733
2007-01-02 19:14:45 +00:00
Sebastian Dransfeld cba29bd250 Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.


SVN revision: 27684
2006-12-30 23:32:25 +00:00
Sebastian Dransfeld 805315670b Clean up some gadcon config code.
Make id unique for each gadcon.


SVN revision: 27673
2006-12-30 17:54:27 +00:00
Christopher Michael b000e0e44d Minor formatting fix.
SVN revision: 27273
2006-11-29 09:14:45 +00:00
Carsten Haitzler 815e1699c7 patches from people (see mail list) and stuff.
SVN revision: 27174
2006-11-19 08:58:05 +00:00
metrics cb5d8a9cd8 Only send events for the correct pager desks (--FIXME's).
SVN revision: 27168
2006-11-18 05:40:29 +00:00
metrics 7f9999dbf8 More fixes of the autoscroll/drag and drop behaviour for gadgets in
shelves. Added callback to allow the current drop position to be
dynamically updated as the gadget scrolling is animated.


SVN revision: 27114
2006-11-15 06:24:30 +00:00
metrics 86add777e6 Fix pager autoscroll dnd issues.
SVN revision: 27111
2006-11-15 02:49:49 +00:00
Viktor Kojouharov 00dea4b79a don't send the urgent signal to the pager desk, if the border is iconified
SVN revision: 26780
2006-10-24 17:22:59 +00:00
Viktor Kojouharov d2515a119e the pager and iconbox now emit a signal when a border changes state from urgent
to normal and the other way around.

for the themers: the iconbox icon, the pager window and the pager desk, receive
 the signals e,state,urgent and e,state,not_urgent, so you can do something nice
 with those.


SVN revision: 26772
2006-10-24 14:32:22 +00:00
sebastid 11c9afa270 Add cast.
Remove unused variables.


SVN revision: 26102
2006-09-24 13:37:37 +00:00
Carsten Haitzler a9757fa04b i'm cleaning up dnd. fixed leaks. made dnd more convenient - less work to do
(it returns x,y coords relative to the drop target geom, not the screen,
start putting in all the necessary stuff in fm2 - can dnd 2 file now (drop
has no effect though)...


SVN revision: 25950
2006-09-18 03:49:45 +00:00
Carsten Haitzler 8497432eca fix up dnd to handle stacked windows and move the burden of window offset
handling etc. to dnd not the objects that create dnd zones. they onyl need to
now worry about the dnd zone withint heir canvas/window/whatever


SVN revision: 25903
2006-09-17 06:12:48 +00:00
Viktor Kojouharov 49415b41d1 make the pager flip desks linearly with the mouse wheel.
SVN revision: 25873
2006-09-16 09:44:35 +00:00
David Walter Seikel 1255baa040 Converted to use .desktop file.
SVN revision: 25386
2006-09-03 07:42:06 +00:00
Carsten Haitzler 27369eb3cd remove the pagers wheel handler
SVN revision: 25120
2006-08-26 10:10:42 +00:00
rephorm d0a3102a4a and the modules...
SVN revision: 25060
2006-08-23 04:02:03 +00:00