Commit Graph

3995 Commits

Author SHA1 Message Date
Christopher Michael c877cdcf42 Set the proper grab_mouse_win to zero when releasing grabinput.
SVN revision: 33453
2008-01-12 00:13: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
Sebastian Dransfeld b17822ffd7 Remove unused variable.
SVN revision: 33437
2008-01-10 17:24:02 +00:00
Sebastian Dransfeld 3330befa8a Create a define which can be used to wrap internal E stuff. This works as
the define is created in config.h which isn't exported.

This will break modules which still uses _() to wrap NLS strings. It is an
error that they use it as modules strings wont be defined in E's domain.
Modules should use D_() and define it to lock up strings in their own
domain.


SVN revision: 33426
2008-01-10 07:43:01 +00:00
Christopher Michael 2a34d931f1 Handle corner cases where popup X may be less than the zone X.
SVN revision: 33396
2008-01-08 19:33:48 +00:00
Christopher Michael 0f8558761f Center gadcon popups over their respective gadgets, not aligned to the left.
SVN revision: 33390
2008-01-08 06:12:22 +00:00
Christopher Michael 020677904e For now, use the same toolbar for each new efm window.
SVN revision: 33344
2008-01-04 20:59:10 +00:00
Christopher Michael af701cf3cd Better Shelf Contents Dialog.
- Allows multi-select so we don't have to constently reload the shelf.
  - Provides descriptions for the modules just like the module dialog.


SVN revision: 33342
2008-01-04 09:18:42 +00:00
Christopher Michael 1d9279a619 Change char to const char to avoid compiler warning.
SVN revision: 33337
2008-01-04 03:47:27 +00:00
Christopher Michael f980a42516 Remove unused function prototype.
SVN revision: 33335
2008-01-03 22:06:56 +00:00
Christopher Michael f890f93942 Cannot use mouse_down on the input windows to pop the menu because of the
input_window's layer. This was causing menus to popup over applications.


SVN revision: 33334
2008-01-03 22:05:40 +00:00
Christopher Michael cfb3dc4c37 Remove commented lines.
SVN revision: 33313
2007-12-30 21:20:41 +00:00
Christopher Michael 5e502dd473 Move description area to be below both loaded & unloaded because
descriptions can be shown for either.


SVN revision: 33302
2007-12-30 19:01:33 +00:00
Christopher Michael b3e92e4213 Give the entry widget focus when showing the entry dialog.
SVN revision: 33297
2007-12-30 15:26:33 +00:00
Christopher Michael 882c779674 Remove check for compositing available and just use whatever the user
selected. Not entirely safe nor correct tho.


SVN revision: 33292
2007-12-29 23:00:52 +00:00
Christopher Michael 16738014c3 Better check for composite support.
SVN revision: 33290
2007-12-29 22:02:10 +00:00
Christopher Michael 9d5667ee77 When trying todo composite for popups, check that 1) the user wanted to use
it AND 2) X can actually do it (ie: composite is enabled).


SVN revision: 33289
2007-12-29 21:43:59 +00:00
Eric Schuele 636d2ecf29 Change name for consistency
SVN revision: 33271
2007-12-28 22:58:48 +00:00
Miculcy Brian 73672354b3 Allows to focus a specified window on start using the remember settings.
This is for the users who don't want to give new windows by default the focus.


SVN revision: 33268
2007-12-28 03:18:37 +00:00
Miculcy Brian 38bf25eceb When a window is closed, the focus was given to a window on the wrong desktop. Fixies.
SVN revision: 33267
2007-12-28 02:49:39 +00:00
Christopher Michael 02330b094a Add support for themeing X cursor type "plus".
SVN revision: 33266
2007-12-27 22:53:30 +00:00
Christopher Michael 28a576fbe9 Set proper icon for Inset.
SVN revision: 33265
2007-12-27 21:05:35 +00:00
Eric Schuele beac12a11a Make sure xrandr is present before using it to change the display resolution during a fullcreen operation.
SVN revision: 33262
2007-12-27 06:38:28 +00:00
Christopher Michael 680afdc9e8 Delete edge input windows when we free the zone.
Handle mouse clicks inside the edge input windows so that menus & such can
still be shown if a user clicks the mouse down while on top of one of the
edge windows.


SVN revision: 33258
2007-12-27 03:42:04 +00:00
Christopher Michael 2cb74bebe9 Entry dialog now supports "Return" key which will call the "Ok" function.
SVN revision: 33243
2007-12-25 18:15:26 +00:00
Miculcy Brian 7bb7bb21dd Allow to disable mouse slide on newly focused windows. This is consistent with sloppy and mouse
focus but some users don't like it much, so here is the option...
Remember: It breaks the focus logic when you for example have sloppy focus mode, pointer over a
window but focus on another window!


SVN revision: 33202
2007-12-22 01:46:22 +00:00
Carsten Haitzler 20dae06a93 and actually USE the path calculated if relative
SVN revision: 33179
2007-12-18 10:43:03 +00:00
Carsten Haitzler 6d69f2cd7f allow relative path for icon files in .desktops
SVN revision: 33174
2007-12-18 01:42:08 +00:00
Christopher Michael 73fe916ef6 Forgot to commit this w/ new View menu option.
SVN revision: 33138
2007-12-14 20:44:59 +00:00
Christopher Michael b33225621e Context menu for setting View Mode (list/grid). Used in wallpaper & theme
dialogs.


SVN revision: 33130
2007-12-14 16:32:20 +00:00
Carsten Haitzler 4a2bc0e79c patches, caching fixes, zone dynamic creation/deletion handling, stuff.
SVN revision: 33127
2007-12-14 05:57:16 +00:00
Christopher Michael 1e54439422 Set popup layer == layer of the exebuf.
Fix some formatting issues.


SVN revision: 33124
2007-12-13 19:27:02 +00:00
andrunko 9f42fdc4dd Deleting Ecore_IMF event handlers on _e_entry_smart_del.
SVN revision: 33112
2007-12-12 19:00:48 +00:00
Christopher Michael 85bf3a8e33 Start of panning the e_fm while selecting. Not working quite correct so
leave commented out for now.
Remove some extra printfs to quiet down e_fm.


SVN revision: 33111
2007-12-12 15:59:14 +00:00
Christopher Michael 8b7fec175f Add convenience function for getting an icon's geometry. This is used in
placing the new fwin next to the icon that spawned it.


SVN revision: 33097
2007-12-11 14:57:46 +00:00
Christopher Michael 4b690ff9aa Do not enable Titlebar font class by default on new configs. This overrides
any titlbar font set in a theme.


SVN revision: 33085
2007-12-10 23:55:09 +00:00
Sebastian Dransfeld e9e513b86b Fix fullscreen on desktop change (patch by Hannes Janetzek).
SVN revision: 33066
2007-12-09 15:40:14 +00:00
Sebastian Dransfeld 36e5670541 Delay assignment of es->win, as e_popup_edje_bg_object_set might change
the window (patch from jeffdameth).


SVN revision: 33065
2007-12-09 15:38:03 +00:00
Christopher Michael a78f33109f No need to use a switch when detecting mouse button. A simple one-line if
will work instead.


SVN revision: 33064
2007-12-09 15:35:41 +00:00
Christopher Michael 207802377b Minor fix for Skip Pager menu entry. It wasn't always updating some borders
based on skip_pager property change.


SVN revision: 33056
2007-12-09 00:23:50 +00:00
Christopher Michael 27b2feab69 Some shelf fixes.
- Use -1 during a call to evas_list_sort rather than evas_list_count. -1
will sort the whole list anyway, and we avoid the extra call to list_count.
- Don't sort shelves during every add. They are sorted when e_shelf_list is
called anyway.
- Fix shelf numbering in the shelf list dialog.


SVN revision: 33054
2007-12-08 23:40:57 +00:00
Christopher Michael bfd61db58f Fixes needed for new Font Config dialog.
SVN revision: 32991
2007-12-05 02:07:07 +00:00
Christopher Michael 68d332ad0d Fix resizing of config_list widget.
Some formatting fixes.


SVN revision: 32986
2007-12-04 22:43:53 +00:00
Christopher Michael 9335742e16 Formatting & whitespace removal.
SVN revision: 32985
2007-12-04 22:20:25 +00:00
Christopher Michael 03b404c979 Add ability to edit/add mime types for a desktop file.
Fix some formatting.
(This dialog really needs a rewrite...may do that later)


SVN revision: 32981
2007-12-04 17:48:28 +00:00
Christopher Michael a6b55b25ad Fix lots of formatting issues in eap_editor
SVN revision: 32974
2007-12-04 10:52:55 +00:00
Sebastian Dransfeld d4767f9221 Something to do on a dark winter day.
SVN revision: 32950
2007-12-02 20:19:21 +00:00
Sebastian Dransfeld 2b60a23b28 formatting
SVN revision: 32948
2007-12-02 20:03:29 +00:00
Sebastian Dransfeld b2bd892200 Fix compile warnings.
SVN revision: 32947
2007-12-02 19:48:09 +00:00
Sebastian Dransfeld cb0c56abbf If we don't want to show the shelf, explicitly hide it. Needed if the
user moves the mouse along the shelf edge.


SVN revision: 32945
2007-12-02 19:32:32 +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
Eric Schuele 35e6d26df7 fix issue in which toggling skip pager option removes forever the window from the pager.
SVN revision: 32897
2007-11-27 05:52:16 +00:00
Miculcy Brian 55760113f6 This patch fixes a few sloppy focus problems (mouse was over a window which doesn't have the focus,...). See bug #210.
Great work sECuRE!


SVN revision: 32892
2007-11-26 21:33:23 +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
Sebastian Dransfeld b70ffc5a1c formatting
SVN revision: 32862
2007-11-24 13:27:49 +00:00
Miculcy Brian 30f57495c1 --old todo comment
SVN revision: 32861
2007-11-24 13:26:20 +00:00
Sebastian Dransfeld 1c8571d3ae Even though we have e_dbus support, it isn't sure that we get a dbus
connection.


SVN revision: 32860
2007-11-24 13:23:35 +00:00
Sebastian Dransfeld 82060a3ead No need to have both unref and close, only creates ambiguity.
SVN revision: 32859
2007-11-24 13:22:03 +00:00
Sebastian Dransfeld 378da822f8 Always focus on mouse in, and only focus if we interract with the shelf.
SVN revision: 32857
2007-11-24 12:35:20 +00:00
Sebastian Dransfeld 306ea57a09 Interrupt hiding on mouse in.
SVN revision: 32856
2007-11-24 12:31:15 +00:00
Sebastian Dransfeld 95baed480c Always hide on mouse out
SVN revision: 32847
2007-11-23 12:03:00 +00:00
Sebastian Dransfeld 48420fb474 Only hide if config says so.
SVN revision: 32846
2007-11-23 12:02:21 +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
Sebastian Dransfeld 9dd01a4b9f Fix if statement.
SVN revision: 32839
2007-11-23 09:23:52 +00:00
Sebastian Dransfeld d75ea71282 Remove debug printf
SVN revision: 32838
2007-11-23 09:22:43 +00:00
Sebastian Dransfeld 8304a2cb9e Possible to lock shelf.
SVN revision: 32837
2007-11-23 09:18:21 +00:00
Sebastian Dransfeld 218076320e Set pointer to null after deletion.
SVN revision: 32835
2007-11-23 06:38:08 +00:00
Sebastian Dransfeld 2eb12fddf3 Show shelf on edge trap and hide on mouse out on window.
SVN revision: 32833
2007-11-22 21:39:45 +00:00
Sebastian Dransfeld a793f7ef39 Add x and y coords in event.
SVN revision: 32831
2007-11-22 20:48:15 +00:00
Sebastian Dransfeld fa53aa99e0 Use convenience macro.
SVN revision: 32830
2007-11-22 20:38:35 +00:00
Sebastian Dransfeld 8034a61fb4 Remove unecessary event free, default is to free the event struct.
SVN revision: 32828
2007-11-22 20:09:04 +00:00
Sebastian Dransfeld 840a97ae0b Add edge events.
SVN revision: 32827
2007-11-22 20:08:07 +00:00
Sebastian Dransfeld 18b29ad02f Always show edge windows, prepare for edge events to show shelves.
SVN revision: 32826
2007-11-22 19:46:54 +00:00
Sebastian Dransfeld e0245ebe53 Remove unused variable
SVN revision: 32825
2007-11-22 19:33:34 +00:00
andrunko 072417d856 Do not crash when no input method context module is installed.
SVN revision: 32823
2007-11-22 14:55:43 +00:00
andrunko e8d5699915 Added Ecore_IMF_Evas.
Removed Evas dependency from Ecore_IMF, that was requested by Ewl developers
in order to be able to integrate Ecore_IMF on it.

Added Ecore_IMF_Evas, a library with helper functions to use Ecore_IMF together
with Evas.

Now everybody should be happy.


SVN revision: 32812
2007-11-21 22:20:16 +00:00
andrunko cb892827f8 Changed ecore_imf_context_client_window_set to receive an Evas pointer.
This would allow applications to create input method plugins with more
fancy stuff (like transparency, ...).
See http://staff.get-e.org/?p=users/andrunko/ilike-imf-ecore.git;a=summary.


SVN revision: 32804
2007-11-21 01:33:50 +00:00
andrunko cf413ab2cb Use ecore_imf instead of ecore_im. (again)
SVN revision: 32780
2007-11-19 20:03:05 +00:00
andrunko b845a105f5 Fixed include directive.
SVN revision: 32778
2007-11-19 19:44:45 +00:00
andrunko 9940c3c023 Added support for Ecore_IMF on E_Entry.
SVN revision: 32777
2007-11-19 18:42:40 +00:00
Carsten Haitzler f8fa4e0156 fix xdnd again.
SVN revision: 32774
2007-11-19 11:38:43 +00:00
Christopher Michael fe9b6df746 Fix formatting.
SVN revision: 32738
2007-11-16 22:27:35 +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
Sebastian Dransfeld d65683a1cf formatting
SVN revision: 32725
2007-11-15 20:16:25 +00:00
Christopher Michael b60e4ee532 Remove extra blank line.
SVN revision: 32699
2007-11-15 06:29:10 +00:00
Carsten Haitzler 046f1b7628 prtintfs disabled in dnd - was hunting the dnd performance bug. fixed.
SVN revision: 32695
2007-11-15 04:48:53 +00:00
Carsten Haitzler d9c1da31df check window as well during drag upates.
nb - xdnd in e is hell slow! :(


SVN revision: 32671
2007-11-13 23:30:07 +00:00
Christopher Michael 23ea7a7a11 Disable left/right side toolbars for now. Still needs work.
SVN revision: 32665
2007-11-13 21:28:41 +00:00
Christopher Michael e0f12c3ab9 Formatting & whitespace removal.
SVN revision: 32662
2007-11-13 19:16:56 +00:00
Christopher Michael bf1f087362 Some minor fixes for toolbar on resize.
SVN revision: 32635
2007-11-12 20:59:10 +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 d6f44b47dc Add callback signals for efm modules. Almost ready for primetime :)
SVN revision: 32575
2007-11-11 15:46:06 +00:00
Sebastian Dransfeld dece2dc171 Reuse event struct
SVN revision: 32572
2007-11-11 11:48:40 +00:00