Commit Graph

92 Commits

Author SHA1 Message Date
Christopher Michael bf4237f22c Remove this because it's just silly.
SVN revision: 39722
2009-03-26 00:47:36 +00:00
Christopher Michael 1987894874 Fix some formatting (still a lot more to fix). Remove whitespace. Make
sure int variables are initialized to a value.


SVN revision: 39699
2009-03-24 21:11:03 +00:00
Christopher Michael 474463ef6c Add missing menu_realize for POP_DIRECTION_RIGHT.
SVN revision: 39698
2009-03-24 20:13:50 +00:00
Christopher Michael 0f501d7228 Remove useless variable in ecore_evas_resize callback. No reason to
fetch data if it's not going to be used.


SVN revision: 39660
2009-03-24 00:20:38 +00:00
Gustavo Sverzut Barbieri 3475cb81c5 eina macros in menu loops
SVN revision: 39651
2009-03-23 12:28:15 +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
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Gustavo Sverzut Barbieri 05402668aa e_menu: recursively delete children menus.
e_menu had this behaviour that submenus were not deleted
automatically, relying on the parent menu to hook to post_deactivate
and then delete them.

This was good because maybe you don't want to delete these children,
you might want to reuse them sometime.

But it ended that nobody was using this feature, and worse: most use
cases were failing to delete these children, causing memory leak.

This commit changes the default behaviour and thus remove all the
existing code that was replicating such work. If one want the old
behavior, just call e_menu_item_submenu_set(mi, NULL) and it will be
unbounded from the parent.

If you experience any problems with that, try adding some printf()
before _e_menu_free() and _e_menu_item_free() and print some relevant
information like m->category and m->header.title or mi->label in order
to figure out the problematic menu.



SVN revision: 38528
2009-01-10 07:02:32 +00:00
Cedric BAIL d068510da3 Remove warning generated when requesting data from hash without key.
SVN revision: 38347
2008-12-29 12:40:49 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Carsten Haitzler e9b740c27d use the loop_time - better synced anim timepoints and less overhead on
gettimeofday :)



SVN revision: 37393
2008-11-02 02:36:10 +00:00
Sebastian Dransfeld 6dc64c5559 Correct callback for eina_hash_foreach.
SVN revision: 37169
2008-10-26 20:48:44 +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
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Sebastian Dransfeld 2b6195add0 formatting
SVN revision: 35025
2008-07-08 03:50:16 +00:00
Hannes Janetzek befc9fdc78 patch to allow transparent themed menus - analog to e_popup
SVN revision: 34092
2008-03-22 17:59:52 +00:00
Christopher Michael f723e3499c Fix function protos & functions for recent Evas_Hash changes to remove
compiler warnings.
Fix some formatting in e_font.


SVN revision: 33719
2008-02-09 22:41:30 +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 f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Sebastian Dransfeld 076fcd4be7 Formatting.
SVN revision: 27760
2007-01-03 16:53:48 +00:00
Sebastian Dransfeld 5c4c704dea #if 0 unused code.
SVN revision: 27598
2006-12-28 14:15:10 +00:00
Carsten Haitzler 7cdf9af46b metrics keynav patches in
SVN revision: 26416
2006-10-08 08:25:08 +00:00
Carsten Haitzler 7005802eb6 call deactivate if activate fails
SVN revision: 26411
2006-10-08 06:43:31 +00:00
Carsten Haitzler a19329ea92 set menu zone further up to avoid segv
SVN revision: 26410
2006-10-08 06:12:25 +00:00
Carsten Haitzler 04d99e3df8 main menu cleanups.
sys actions check error/status etc. logout implemented, and used. need to
have status for reboot/halt and for suspend and hibernate.


SVN revision: 25656
2006-09-09 07:00:14 +00:00
Carsten Haitzler 8c003ef92f patches from the world - fixes and todo's
SVN revision: 25578
2006-09-07 10:33:57 +00:00
David Walter Seikel 5a1799c941 Icons back in menus again.
SVN revision: 25401
2006-09-03 11:32:13 +00:00
David Walter Seikel fbd37bb027 More icon tweaking. I have started to simplify and rationalise this as
it was starting to get silly.  Searching the icon class in the wm theme
first, then searching fdo icon themes sometimes ends up with a less
specific icon.  Menus make life tricky, as things are deferred there,
but not enough to avoid delays.  Lots more tweaking to come, but this
commit should result in more icons on menus.


SVN revision: 25324
2006-09-02 04:20:10 +00:00
David Walter Seikel d3de4f4e95 Beginning to drag all the basic "show this icon for this app" code
together in one place to make it easy to keep it consistant.


SVN revision: 25273
2006-09-01 09:01:52 +00:00
rephorm 462bda0f22 another chunk
all group names prefaced by e/
its entirely possible i missed a few small places in this, so there may be some growing pains in the next day or two

also, spectrum content -> e.swallow.content


SVN revision: 25057
2006-08-23 03:39:02 +00:00
David Walter Seikel 7705dfc9b1 Added Drag'n'Drop from application menus to ibar and anything else that
can accept an E_App drop.


SVN revision: 25034
2006-08-22 08:38:24 +00:00
rephorm a5c71890d4 ****** MAJOR THEME REWORKING -- BREAKAGE *********
Almost every signal and required part name has changed. This means that ALL themes other than the default one are now broken. Sorry, but this had to happen.

I have a list of mappings from old to new at http://rephorm.com/files/dump/e_theme_map.txt

There will probably be a little more cleanup on this in the coming days. Then I'll write it all up in a nice theme spec.


SVN revision: 25033
2006-08-22 07:39:11 +00:00
Viktor Kojouharov d0751b3258 removed e_menu_item_icon_object_set as it could have never worked properly.
now, the menu icon can be set properly upon realization with the e_menu_item_realize_callback_set function. rewrote the clients menu to use the border icon, and be sorted like the winselector.


SVN revision: 25026
2006-08-21 20:03:09 +00:00
David Walter Seikel 3d29c9caf7 Actually display the FDO icons referenced from the FDO .desktop files.
Theme icons and .eaps are searched first.

Still needs some work and a lot of testing.  Also needs optimising,
which will come when I go over the caching code later.

Ibar and ibox modules read the .eap directly, so I need to convert them
seperately.

Next I'll spend some time with valgrind, things are leaking.


SVN revision: 24795
2006-08-16 09:37:14 +00:00
sebastid 9d81bc08ce Menu titles
SVN revision: 24507
2006-08-09 15:24:34 +00:00
sebastid a9df9076db Enough to keep track of active menu item.
SVN revision: 24506
2006-08-09 13:56:23 +00:00
sebastid 9d4a400dcc Keep track of active menu and active menu item.
SVN revision: 24505
2006-08-09 13:52:52 +00:00
Viktor Kojouharov b8706da78d function for adding evas objects as icons in the menus
SVN revision: 24281
2006-07-28 23:22:57 +00:00
sebastid 3efb09077b Remove unneeded function.
SVN revision: 24263
2006-07-28 10:56:21 +00:00
Carsten Haitzler 50063cad9c new thumbnailer system. works a bit more like epsilon - launches a
special-purpose executable and hands off workd to do via ipc (well the exe
connects back to e's ipc port actually but either way - same thing). it can
actually launch any numebr of thumbnailers - the default is 2, but this means
it can make full use of smp systems. i need to make this # of thumbnailers
configurable and add a config dialog for it. this does mean thew bg/theme
etc. dialogs pop up much faster as they dont load all the thumbs to start -
its farmed off and ipc tells us when they are ready (and if already generated
- thats pretty damn fast). :) anyway - now thumbnailing works reliably
(thoguh i think the queue handling isnt quite that good - well when it comes
to interacting with efm... but i'll check into that later. dont worry though
- it does actually generate all the thumbs - it just may be busy generating
ones you don't see while it catches up).


SVN revision: 23750
2006-07-08 09:18:04 +00:00
Carsten Haitzler 706c846e92 bug--
SVN revision: 23510
2006-06-20 13:10:08 +00:00
sebastid 179ea47d07 Fix name
SVN revision: 23296
2006-06-08 19:01:32 +00:00
Carsten Haitzler 2bc5d52739 illogict patches (minus a few that will break config despite fixing a typo)
SVN revision: 22405
2006-04-30 04:31:42 +00:00
Carsten Haitzler daccad473b more gadcon work... oooh getting close.
SVN revision: 20383
2006-02-10 12:21:22 +00:00
Carsten Haitzler b30f189e6f illogicit patches for:
>e_int_config_focus_missing_options.patch: adds refocus last focused window on
desktop switch and revert focus when hiding or closing a window options.
>e_menu_various.patch: (up-to-date) adds several things...
 - support KeyPad equivalent for keybindings (numbers as well as
 directions).
 - add [home] [end] support : will go to the first/last menu item
 - 0 will go to the last menu item instead of going to the 10th one.
 - corrected the bug when the first menu item was activated *twice* when
 creating a POP_DIRECTION_DOWN menu with keyboard <- passed a long time
 on this trying to figure why it was happening
 - do not activate an already active menu item
>e_int_border_menu_consistency.patch: do not show items that will ne be taken
into account anyway.


SVN revision: 20223
2006-02-03 06:16:25 +00:00
Carsten Haitzler 7ce12cd800 fangies work!
SVN revision: 19658
2006-01-08 16:38:01 +00:00
sebastid 792e1868df Clean warnings.
SVN revision: 19615
2006-01-07 17:38:13 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
codewarrior d3c1a4a4a0 -Efm:
- cleanups
- patch from Jose for menus.
- patch from Mista for Open With and other misc.


SVN revision: 19581
2006-01-06 23:45:13 +00:00
Carsten Haitzler 78d729a57b make symbol hiding actually work - fix some bugs, fixme's adjust bugs and
TODO, add exe history and actually use it etc.


SVN revision: 19313
2005-12-27 17:16:58 +00:00