Commit Graph

102 Commits

Author SHA1 Message Date
Carsten Haitzler 6fbadc1d08 dont re-order gagdtes when a user has told us what to do with them!
SVN revision: 33919
2008-03-04 13:33:18 +00:00
Carsten Haitzler 65438bc3ab printf--
SVN revision: 33918
2008-03-04 12:20:50 +00:00
Carsten Haitzler 91ede9eacc and in case an object is deleted clear out the gadcon as well
SVN revision: 33915
2008-03-04 11:34:31 +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
Christopher Michael 28a576fbe9 Set proper icon for Inset.
SVN revision: 33265
2007-12-27 21:05:35 +00:00
Sebastian Dransfeld 1923026bb8 Disable gadcon locking for gadcon client menu for now. Need to find the
right solution.


SVN revision: 32934
2007-12-02 16:01:02 +00:00
Christopher Michael c7bbdb6b68 Make sure that the gcc->menu is set.
SVN revision: 32879
2007-11-25 08:27:13 +00:00
Christopher Michael f815a503eb More thorough check on menu_post for shelf.
SVN revision: 32874
2007-11-25 05:36:54 +00:00
Christopher Michael 0509cb1a44 More gadcon->shelf checks before calling any shelf-specific functions.
SVN revision: 32868
2007-11-25 04:15:50 +00:00
Christopher Michael 0f0a57d127 More shelf-specific checks before calling shelf-specific functions.
SVN revision: 32864
2007-11-25 03:25:26 +00:00
Christopher Michael 326b96eb5f *sigh* Gadget containers can be other things besides Shelfs. Check for
existance of shelf before calling shelf-specific functions.


SVN revision: 32863
2007-11-25 03:18:31 +00:00
Christopher Michael e24160a744 Only call shelf_lock_set if the gadcon is part of a shelf & gadcon->shelf
exists. . This fixes segfaults with trying to edit/move items in the toolbar.


SVN revision: 32845
2007-11-23 11:49:27 +00:00
Sebastian Dransfeld 2124f06c27 lock shelf on gadcon edit and menu
SVN revision: 32841
2007-11-23 09:38:30 +00:00
Sebastian Dransfeld 4ca1a61c07 Declare and put static methods where they belong.
SVN revision: 32840
2007-11-23 09:32:02 +00:00
Christopher Michael 36c6082b05 Fix toolbar layer.
Modify e_gadcon so that the "Stop resizing this item" menu appears for
toolbar. No need to get w & h from the canvas to pop the menu, only need x & y.


SVN revision: 32730
2007-11-16 03:07:55 +00:00
Christopher Michael cef1e53756 Efm modules don't support Plain/Inset, so no need for the menu entry there.
SVN revision: 32593
2007-11-12 01:59:50 +00:00
Christopher Michael a6b5ad55bd Keep Begin/Stop of move/resize gadgets in sync.
This fixes a bugger where the shelf menu & gadcon client menu were not
updating properly when editing, ie: the shelf menu would still read Stop
Editing even tho no other gcc's where in edit mode.


SVN revision: 32579
2007-11-11 17:44:29 +00:00
Christopher Michael bf03226559 Add some trapping to gadcon for doing drags. This is needed because toolbar
gadcon does not have zone->container.


SVN revision: 32522
2007-11-09 20:34:55 +00:00
Christopher Michael 9a4d68f63a Initial check-in of upcoming toolbar. Ignore this code for now as it's still
a work in progress (ie: do not use right now).


SVN revision: 32229
2007-10-31 10:09:51 +00:00
Carsten Haitzler 43a5794c88 buttom patch from lok and seb's shelf bug fix.
SVN revision: 31974
2007-10-05 06:05:16 +00:00
Sebastian Dransfeld a9948c5272 Better check if a gadcon supports new features.
SVN revision: 31729
2007-09-16 00:24:42 +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
Christopher Michael f4725035d1 Check that we actually have gadcon_layout_data before trying to access it.
This fixes bug #196.


SVN revision: 31674
2007-09-10 20:07:14 +00:00
Carsten Haitzler a960cd070b move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
probably die as it's already got legacy funcion methods for layer etc. stuff.


SVN revision: 31161
2007-08-04 13:12:43 +00:00
Sebastian Dransfeld 80b32e7c7b Show shelves on dnd enter.
SVN revision: 29915
2007-05-07 19:54:12 +00:00
Sebastian Dransfeld f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Sebastian Dransfeld a286d71061 Remove stale code.
SVN revision: 29158
2007-03-25 22:20:45 +00:00
Viktor Kojouharov aaebfe05c2 a new function to return the correct geometry and position of the gcc regardless of the shelf layer
SVN revision: 28548
2007-03-03 22:42:37 +00:00
Sebastian Dransfeld 231a5fc1a3 Should be prepend.
SVN revision: 27850
2007-01-07 21:06:03 +00:00
Sebastian Dransfeld 322d9adcf3 DND for gadcon clients.
SVN revision: 27847
2007-01-07 16:32:57 +00:00
Sebastian Dransfeld c51bb204f7 If a config does not exist for a gadcon client on save, create it.
SVN revision: 27764
2007-01-03 17:33:40 +00:00
Sebastian Dransfeld 077df81327 dnd gadcon clients. Order for shrinked shelves does not work right.
SVN revision: 27759
2007-01-03 16:41:07 +00:00
Sebastian Dransfeld fb6c00b64d Rename callbacks for gadcon client.
Add callback for move/resize of the gadcon.


SVN revision: 27754
2007-01-03 06:30:43 +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
rephorm aac131f834 delete gc->clients->data from _before_ the removal
SVN revision: 27715
2007-01-02 03:25:01 +00:00
Sebastian Dransfeld f3882bd459 Set the requested gadcon client pos equal to the drop pos.
SVN revision: 27713
2007-01-01 21:44:23 +00:00
Sebastian Dransfeld 6af75194eb Use drag resist config value.
Remove gadcon client from gadcon when unpopulating. If someone else has a
ref on a gadcon client this loop will run for ever.


SVN revision: 27712
2007-01-01 21:27:35 +00:00
Sebastian Dransfeld a948c87538 Conditional resize.
SVN revision: 27704
2006-12-31 15:18:27 +00:00
Sebastian Dransfeld 2844b9d77c Disable drop handler.
SVN revision: 27701
2006-12-31 14:18:15 +00:00
Sebastian Dransfeld 6381bd0d4d Larger drag resist.
SVN revision: 27700
2006-12-31 14:07:01 +00:00
Sebastian Dransfeld 26ccc7a2a4 No need to continue looping after the id is rejected.
SVN revision: 27695
2006-12-31 12:23:16 +00:00
Sebastian Dransfeld abb527f7e5 Better check for unique id.
SVN revision: 27693
2006-12-31 10:07:12 +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 e2ad139030 Clean gadgets because of current changes.
It is possible to drop gadcon clients on shelves.


SVN revision: 27679
2006-12-30 22:31:28 +00:00
Sebastian Dransfeld ff30cfcfe3 Functions to create new config and del config.
SVN revision: 27676
2006-12-30 21:00:19 +00:00
Sebastian Dransfeld 3f41c2b290 Drag gadcons off the shelf in edit mode to remove them.
SVN revision: 27675
2006-12-30 18:12:53 +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
Sebastian Dransfeld db5451759f Disable drag.
SVN revision: 27646
2006-12-29 16:58:56 +00:00
Sebastian Dransfeld 439b87ffa6 Start of drag code for gadcon.
SVN revision: 27645
2006-12-29 16:54:21 +00:00
Christopher Michael 8954bb145b Some formatting love for the ohh so friendly e_gadcon :)
Icons in the shelf menu for Config Contents and Shelf Config.


SVN revision: 27534
2006-12-20 22:40:01 +00:00