Commit Graph

113 Commits

Author SHA1 Message Date
Chidambar Zinnoury 6de31a6163 id_del was never called for gadcon clients, so call it after shutdown. Report and help for testing done by stefzekiller <stefzekiller@gmail.com>.
Moreover, remove some new compiler warning.


SVN revision: 36661
2008-10-14 16:22:52 +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
Carsten Haitzler b370f8315f remove/comment out printfs and remove fixme (to be removed) fake mouse up funcs
SVN revision: 36229
2008-09-25 01:34:39 +00:00
Gustavo Sverzut Barbieri 18966c828b Add calculate callback to Evas_Smart_Class.
Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.

This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.



SVN revision: 35860
2008-09-07 01:25:49 +00:00
Sebastian Dransfeld ae855ee47e Fix dnd. Hopefully works in all situations now. Seems like we should
consider separating internal and external dnd code.


SVN revision: 34901
2008-06-24 20:13:35 +00:00
Christopher Michael 7676686823 Fix some formatting while I am here tracking down why every module (when
used with new gadman module) has an extra separator in the menu.


SVN revision: 34614
2008-05-19 09:57:48 +00:00
Carsten Haitzler 0a8ffffa5f add in gadman for desktop. happy dave! :)
SVN revision: 34610
2008-05-19 04:37:34 +00:00
Carsten Haitzler 586110892d since no icon is dragged - disable dnd gadgets off a gadcon for now.
SVN revision: 34554
2008-05-13 05:31:20 +00:00
Carsten Haitzler 56865b731c instant edit is on a delay timer of 1 sec
SVN revision: 34479
2008-05-06 10:20:53 +00:00
Carsten Haitzler 9bd622f018 fix 3 valgrind issues i found.
SVN revision: 33955
2008-03-07 19:13:54 +00:00
Carsten Haitzler cdded0bf38 instant edit! werd! :)
SVN revision: 33936
2008-03-05 12:39:55 +00:00
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