Commit Graph

4276 Commits

Author SHA1 Message Date
Carsten Haitzler aa87227505 fix battery module sizing and handle netwm activate messages.
SVN revision: 34950
2008-06-30 08:48:29 +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
Sebastian Dransfeld 3bc2777b2b Correct window for shelf on the desktop is the containers bg window.
SVN revision: 34899
2008-06-24 15:56:15 +00:00
Sebastian Dransfeld c2f787049d Can't use zone directly.
SVN revision: 34896
2008-06-23 15:47:16 +00:00
Sebastian Dransfeld 54b6437092 clean up dnd registering, should be no functional change.
SVN revision: 34895
2008-06-23 14:45:28 +00:00
Sebastian Dransfeld 493223f32c Add edge move event, so a slide in on the edge will show a shelf.
Fix interrupt hiding on mouse in.


SVN revision: 34872
2008-06-19 13:23:20 +00:00
Sebastian Dransfeld 82d51d02aa Update flip windows in case we change outhide behaviour.
SVN revision: 34861
2008-06-19 12:12:24 +00:00
Sebastian Dransfeld cbd38a447d Function doesn't return a value.
SVN revision: 34860
2008-06-19 11:59:25 +00:00
Sebastian Dransfeld dea9b9f220 Remove unused variables.
SVN revision: 34859
2008-06-19 11:57:59 +00:00
Sebastian Dransfeld 6688c66f3a Remove unused variable.
SVN revision: 34858
2008-06-19 11:56:54 +00:00
Carsten Haitzler 44a4687bf8 delayed action binding - makies use of key ups (abd button ups)
SVN revision: 34852
2008-06-18 11:38:29 +00:00
Sebastian Dransfeld c40f8dd6e5 formatting
SVN revision: 34831
2008-06-15 12:30:26 +00:00
Sebastian Dransfeld f0f65afaeb We don't need to search for window at pointer with xdnd, xdnd handles this
already.


SVN revision: 34830
2008-06-15 12:28:16 +00:00
Sebastian Dransfeld fcbcbfcc50 Fix typo.
SVN revision: 34829
2008-06-15 12:19:40 +00:00
Sebastian Dransfeld 65fe9d6616 Remove printf
SVN revision: 34828
2008-06-15 08:44:32 +00:00
Sebastian Dransfeld 8ad0f691b7 Use right base window for drop.
SVN revision: 34827
2008-06-15 08:41:41 +00:00
Sebastian Dransfeld e2d3ec990a pure zone isn't available.
SVN revision: 34824
2008-06-14 10:10:54 +00:00
Sebastian Dransfeld 590e894b88 Add missing dnd registration for shelf.
SVN revision: 34823
2008-06-14 09:53:05 +00:00
Sebastian Dransfeld 98299b971b On drop from external program, use the event window to find the drop target.
SVN revision: 34817
2008-06-13 21:35:39 +00:00
Sebastian Dransfeld ff992cfb50 No need to continue looping after finding active.
SVN revision: 34814
2008-06-13 10:57:06 +00:00
Sebastian Dransfeld ed204e3f4e No need to alloc
SVN revision: 34811
2008-06-13 10:21:43 +00:00
Sebastian Dransfeld 705f459e8c Check whether the gadcon is on a shelf before doing shelf operation.
(Thanks to Dave Andreoli).


SVN revision: 34810
2008-06-13 09:14:20 +00:00
Carsten Haitzler cf2d797345 typo!!!!
SVN revision: 34798
2008-06-11 07:02:05 +00:00
Christopher Michael e763cc453f If the desktop editor dialog is closed, close any open icon selector dialog.
This fixes a nasty segfault if you closed the editor dialog while the icon
selector dialog was open.


SVN revision: 34771
2008-06-07 18:31:08 +00:00
Miculcy Brian 34eb4aeda4 Patch by Michael Stapelberg <michael+e17@stapelberg.de> (needed by the new tiling module).
SVN revision: 34748
2008-06-05 10:52:13 +00:00
Viktor Kojouharov aeb7c1642a ecore_x:
* in ecore_x_pointer_xy_get, fill x & y with '-1', if the pointer is not in the same screen as the given window
  * add 'same_screen' and 'root_win' information for the XEvents dealing with keyboard and mouse events

e:
  * make sure e_manager_current_get returns the correct manager for the current screen
  * fix various modules to use the correct window, when dealing with events


SVN revision: 34705
2008-05-30 22:30:57 +00:00
Christopher Michael e134685ba9 Minor format fix.
SVN revision: 34654
2008-05-23 22:36:57 +00:00
Carsten Haitzler cf330f0023 handle more properties for .desktop fiels in config panel
SVN revision: 34647
2008-05-23 14:40:51 +00:00
Carsten Haitzler 251411d2b6 and allow a custom launch callback
SVN revision: 34646
2008-05-23 08:51:22 +00:00
Carsten Haitzler f195fc3275 e can now find any system config .desktops.. and put them automatically in
its config panel. the requirments: must be BOTH in category "System" and
"Settings". if so - it will go in the config panel.


SVN revision: 34645
2008-05-23 08:29:45 +00:00
Carsten Haitzler 4e866a3531 1. updated battery module .edj - we need to update a lot of .edj's due to eet
upgrades
2. dont need resize callback. pan handles it :) causes valgrind bitches if
left too.


SVN revision: 34640
2008-05-22 08:23:57 +00:00
Christopher Michael 6ec32d15ca remove #if 1...we use #if 0 to denote testing code, #if 1 serves no purpose
(afaik).
Fix some formatting & whitespace issues.


SVN revision: 34636
2008-05-21 22:59:19 +00:00
Miculcy Brian f977c5fd12 Better sorted border menu.
SVN revision: 34635
2008-05-21 22:37:00 +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 85bdd7b5b8 use the cancel and turn off fakes... leave code - just complain.
SVN revision: 34609
2008-05-19 04:15:47 +00:00
Christopher Michael f8bbe02235 Use -1 to sort the remember list. Saves a call to evas_list_count because we
are sorting the whole list anyway.
Fix formatting.
Remove whitespace.


SVN revision: 34598
2008-05-18 17:59:12 +00:00
Carsten Haitzler 9a417fc4b4 focus stack broken in focus new window and click to focus. fix.
SVN revision: 34596
2008-05-18 14:17:39 +00:00
andrunko 45425e9016 Proper handle Ecore_IMF commit event.
SVN revision: 34584
2008-05-15 21:08:30 +00:00
Carsten Haitzler a45af2e9f3 init splash missing software-x16 support
SVN revision: 34575
2008-05-15 06:02:41 +00:00
Christopher Michael bed3665ac7 minor formatting fix.
SVN revision: 34556
2008-05-13 07:05:00 +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
Christopher Michael d5950b9afa Add new flist widget which wraps the e_fm2 evas_objects which are used in
wallpaper dialog, theme dialog, and other places. This provides a common
widget for file lists with less duplicated code. This also fixes a problem
with the wallpaper/theme dialogs when you tried to use keyboard arrows to
navigate the list, the next item in list was not being selected.
E_Widget_FSel should be ported to use this new widget for file listings.


SVN revision: 34545
2008-05-12 20:38:27 +00:00
Christopher Michael 8e1632a54c Tracking a strange segfault with shelf removal; add a little extra trapping
for a shape change.
Remove whitespace & fix some formatting.


SVN revision: 34540
2008-05-11 21:42:38 +00:00
Christopher Michael 279192ec26 Whitespace removal.
SVN revision: 34526
2008-05-10 18:17:20 +00:00
Christopher Michael 5d0868e9ed Reduce some 2 line variable checks to single line.
Fix some formatting & remove whitespace.
In some instances, check if creation of widget_data was succesful before
continuing with the rest of the function.


SVN revision: 34522
2008-05-10 07:44:01 +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
Christopher Michael d9c072ea86 Add a very simple config dialog for deleting window remembers.
This is very very basic. Someone may want to redo the icon for this...I
didn't bring my crayons :)


SVN revision: 34477
2008-05-06 09:30:21 +00:00
Carsten Haitzler 9c02f966a8 add generic cfg call
SVN revision: 34409
2008-04-30 12:01:32 +00:00
Carsten Haitzler 10363970e6 seelct on single select on mouse up.
SVN revision: 34400
2008-04-29 08:57:02 +00:00
Sebastian Dransfeld d558710860 formatting
SVN revision: 34396
2008-04-28 16:10:05 +00:00
Carsten Haitzler b1c69d3f5f put in some place markers in efm for categories in a fm widget - nothing
there currently but the entry, and fix focus of iconified windows. broke it
before.


SVN revision: 34389
2008-04-28 10:50:36 +00:00
Carsten Haitzler 548c57be3e slidecode now jumps to items
SVN revision: 34382
2008-04-27 07:52:09 +00:00
Carsten Haitzler 7f2c0926ca dont focus iconified windows! that's just silly!
SVN revision: 34372
2008-04-26 06:41:48 +00:00
Sthithaprajna Garapaty 17ca96e1e8 Add a function to create the border menu rather than immediately showing it
SVN revision: 34370
2008-04-25 23:57:35 +00:00
Christopher Michael e3e488a9b6 E_Ilist
- Remove tons of nasty whitespace.
       - Initialize some list vars to NULL before use.
       - Reduce some 2 line checks (x = data; if !x return) into single line.
       - When setting an ilist item to selectable via API,
         check that the item is not a header as these are not selectable
         currently.
       - Add some NBs for if/when headers do become selectable.

Modules Dialog:
       - Initialize some list vars to NULL before use.
       - Reduce some 2 line checks (x = data; if !x return) into single line.
       - When loading/unload module(s), attempt to reselect the next item in
         the list(s).

sshh...I wasn't here ;)


SVN revision: 34303
2008-04-18 06:23:21 +00:00
Eric Schuele 2706ecfece I beleive these wires were crossed.
SVN revision: 34287
2008-04-17 03:07:51 +00:00
Eric Schuele f54d7becf3 Fix typo.
SVN revision: 34286
2008-04-17 02:51:26 +00:00
Carsten Haitzler e4483a8c0e add warp event by having current.
SVN revision: 34215
2008-04-07 19:06:13 +00:00
Carsten Haitzler 492fa506e0 deps lists/ debugging too...
SVN revision: 34177
2008-04-03 18:47:14 +00:00
Carsten Haitzler 13cc8ba33d add some macros for usefulness
SVN revision: 34165
2008-04-01 20:51:04 +00:00
Carsten Haitzler 6a7335a51f feed hold event
SVN revision: 34162
2008-03-31 21:52:50 +00:00
Carsten Haitzler 1fdc4f567e patch from zecke to support a perliminary hacky system config... :)
SVN revision: 34156
2008-03-31 15:49:19 +00:00
Carsten Haitzler 009592c86f add pkgconfig supprot to e17 itself.
SVN revision: 34133
2008-03-28 20:53:26 +00:00
Eric Schuele 66dde291b8 Per Devilhorns: General cleanup.
SVN revision: 34112
2008-03-25 16:48:14 +00:00
Eric Schuele dd441b580e Per Devilhorns:
- Formatting
 - Use PATH_MAX where needed


SVN revision: 34110
2008-03-25 02:20:32 +00:00
Sebastian Dransfeld b3e8f01a02 formatting
SVN revision: 34108
2008-03-24 14:27:50 +00:00
Sebastian Dransfeld f308caea74 Check if the gadcon has a shelf set.
SVN revision: 34107
2008-03-24 12:48:33 +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
Sebastian Dransfeld 867f92477d simpler way to set an empty string.
SVN revision: 34018
2008-03-13 19:10:27 +00:00
Sebastian Dransfeld efe7b9aaae Add correct sign
SVN revision: 34017
2008-03-13 19:09:15 +00:00
Sebastian Dransfeld d3fe458ab8 formatting
SVN revision: 33993
2008-03-12 10:05:19 +00:00
Carsten Haitzler f6a2d93ced use e_exec in action for exec. debugging printfs tew.
SVN revision: 33990
2008-03-12 07:31:13 +00:00
Carsten Haitzler 167bc53a57 batery module now playes with e's powersave api :)
SVN revision: 33989
2008-03-12 05:43:36 +00:00
Carsten Haitzler 1186949fbc cedrics for web
SVN revision: 33971
2008-03-09 16:43:58 +00:00
Carsten Haitzler 9bd622f018 fix 3 valgrind issues i found.
SVN revision: 33955
2008-03-07 19:13:54 +00:00
Carsten Haitzler 1cf57c6566 support qtopia hint flags and also multiple netwm types
SVN revision: 33952
2008-03-07 11:51:31 +00:00
Carsten Haitzler 5551c78397 revert patch. never tested by submiter.
SVN revision: 33950
2008-03-07 10:35:58 +00:00
Carsten Haitzler b02b82e4b4 somewhere along the way the ability to handle empty mount point defines was
kiled. bring it back so it works!


SVN revision: 33945
2008-03-06 16:58:38 +00:00
Carsten Haitzler 7cc26d7eea focus - deny entirely in any visual and technical way, if asked.
SVN revision: 33943
2008-03-06 10:17:39 +00:00
Carsten Haitzler cdded0bf38 instant edit! werd! :)
SVN revision: 33936
2008-03-05 12:39:55 +00:00
Carsten Haitzler d904f1eb5c alvo's patch for efm - fix escaping.
SVN revision: 33926
2008-03-05 04:00:17 +00:00
Carsten Haitzler db4a8f8ba4 patch from petet can de werken with sticky signals and maximize
SVN revision: 33925
2008-03-05 02:54:30 +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 d2efd2f4c1 and shut down modules in 2 runs. 1. disable and save, then actually free.
SVN revision: 33917
2008-03-04 11:48:39 +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 497281afaa fix sys battery reader to support lowercase bats too...
some other bugs and fixes


SVN revision: 33849
2008-02-26 09:47:51 +00:00
Miculcy Brian d19728bcb2 cleanup
SVN revision: 33807
2008-02-22 00:59:42 +00:00
Miculcy Brian 93db2e5f8e fix for path // -> /
SVN revision: 33806
2008-02-21 23:32:34 +00:00
Carsten Haitzler 2df5c4159c gee.. um.. software-16 support in e17 - but beware! buggy buggy buggy. do not
use this unless you wish to have much pain :)

ummm... scrollframe thumb scroll has some heuristics on it to work better -
exec returns exec handles...


SVN revision: 33794
2008-02-20 04:12:59 +00:00
Gustavo Sverzut Barbieri 4dbd25097b More const added.
SVN revision: 33738
2008-02-13 04:51:01 +00:00
Sebastian Dransfeld 2cbb26fb44 Need to update edge windows after updating flip.
SVN revision: 33728
2008-02-11 17:27:18 +00:00
Christopher Michael f9bb9fdf5a Add __UNUSED__ to evas_hash_foreach function.
SVN revision: 33720
2008-02-09 22:48:28 +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
Gustavo Sverzut Barbieri 746ea5f85a Fix warnings.
SVN revision: 33717
2008-02-08 23:03:28 +00:00
Gustavo Sverzut Barbieri f1ba6e8204 e_widget_check calls calls widget change.
SVN revision: 33705
2008-02-08 18:42:55 +00:00
Christopher Michael 0b2da649e7 Fix more nasty formatting.
Please, please, please do not run 'indent' on E's code. It really makes a
mess of things :)


SVN revision: 33696
2008-02-06 21:33:28 +00:00
Christopher Michael 78afa37d21 Fix horrid formatting.
SVN revision: 33695
2008-02-06 21:18:41 +00:00
Gustavo Sverzut Barbieri ee8764718c Add const to e_widget_tlist and e_tlist.
SVN revision: 33694
2008-02-06 21:02:34 +00:00
Gustavo Sverzut Barbieri 6856f48592 Add const to e_widget_slider fmt.
SVN revision: 33693
2008-02-06 20:54:45 +00:00
Gustavo Sverzut Barbieri 28f94c2d0d Add const to e_widget_radio label and icon.
SVN revision: 33692
2008-02-06 20:52:50 +00:00
Gustavo Sverzut Barbieri 5de1c63e87 Add const to e_widget_image file and part.
SVN revision: 33691
2008-02-06 20:47:59 +00:00
Gustavo Sverzut Barbieri b09b8061bf Add const to check's label and icon.
SVN revision: 33690
2008-02-06 20:38:22 +00:00
Gustavo Sverzut Barbieri 9f97352e84 Add const to frametable's label.
SVN revision: 33689
2008-02-06 20:33:29 +00:00
Christopher Michael 8e521eb303 Remove uselss if block. The same calculation was being done in both parts of
the if.
Fix some formatting issues.


SVN revision: 33686
2008-02-06 02:14:04 +00:00
Miculcy Brian 0c3c93f9ad Fixed: Pointer sliding (focus) shouldn't happen when dragging in...
Bugzilla: 380


SVN revision: 33684
2008-02-06 00:03:23 +00:00
Gustavo Sverzut Barbieri ce808eb614 Remove unused E_Gadcon_Popup->o_con
SVN revision: 33680
2008-02-05 16:39:22 +00:00
Gustavo Sverzut Barbieri 5ebcf31112 Avoid invalid read, remove useless calls.
e_object_del(E_OBJECT(pop->win)) will call ecore_evas_free() which
calls evas_free() which deletes all the objects, making pop->o_bg a
invalid read in its evas_object_del(). So it must be reordered, even
better the evas_object_del(pop->o_bg) can be avoided.

Since the window is deleted, no need to e_gadcon_popup_toggle_pinned()
it.

PS: need to check if there are users of o_con, if not, it should be
removed too.


SVN revision: 33679
2008-02-05 16:33:24 +00:00
Carsten Haitzler 5c2641e5dd 1. fix abort in tiff loader
2. slidesel theme garbage trailing. nuke
3. icon obj can have pre-scale set not. default is as before.
4. printf-- in slidesel


SVN revision: 33677
2008-02-05 12:00:19 +00:00
Carsten Haitzler 05fc729bf8 new widgety stuff
SVN revision: 33662
2008-02-02 05:26:07 +00:00
Christopher Michael 7b394739ae Remove redundant checks for horizontal; replace with one simple check.
SVN revision: 33615
2008-01-26 05:28:46 +00:00
Carsten Haitzler 00f55d1b10 useless fetch
SVN revision: 33614
2008-01-25 23:33:23 +00:00
Miculcy Brian 932c2dcc10 fix segfault
SVN revision: 33609
2008-01-25 17:17:32 +00:00
Christopher Michael 87ad212fab Very minor formatting fix.
SVN revision: 33606
2008-01-25 04:48:06 +00:00
Carsten Haitzler 6c730ee081 cosmetic for longer text.
SVN revision: 33593
2008-01-25 01:24:30 +00:00
Carsten Haitzler 4c72ca99bd no need to strdup to "" for name and class and machne - NULL is acceptable.
SVN revision: 33590
2008-01-24 23:59:16 +00:00
Carsten Haitzler ac82ddd658 if a module entry is null - skip it safely. same with name of module being
null..


SVN revision: 33575
2008-01-24 00:56:21 +00:00
Carsten Haitzler 284f202c13 use signed char - this is actually a numeric not a string - and negative
values are used, so it would matter if not signed.


SVN revision: 33572
2008-01-24 00:36:19 +00:00
Carsten Haitzler b92a1a6e24 thumbscroll. the ability to scroll any widget (anything scrolled by the
scrollfram smart/widget) using your "finger" anywhere in the view. not useful
for desktops. useful for small screen devices - openmoko/n800 etc. are
perfect targets. just click and drag with your finger, release. drag fast and
releas and you get momentum and it continues for a bit while it slows down.
configurable via a new config module.


SVN revision: 33564
2008-01-23 09:04:56 +00:00
Carsten Haitzler e29f245b1c actions added patch - config limit ping to min of 2 secs. :)
SVN revision: 33545
2008-01-21 01:22:00 +00:00
Sebastian Dransfeld 804737eb4d Only show edge windows which are in use.
SVN revision: 33532
2008-01-19 11:41:42 +00:00
Sebastian Dransfeld 907891b325 No need to recreate the popup if it already exists.
SVN revision: 33531
2008-01-19 10:08:05 +00:00
Sebastian Dransfeld ef3657ccbe formatting
SVN revision: 33530
2008-01-19 08:44:02 +00:00
Carsten Haitzler 5e8fe37119 entry disabled changes in.
SVN revision: 33529
2008-01-19 01:00:37 +00:00
Christopher Michael 1afb32246c Disable sorting the gadget list for now. Seems to be causing an issue where
gadgets don't show up.


SVN revision: 33477
2008-01-13 23:20:34 +00:00
Sebastian Dransfeld a1d9d6b9b5 Only trigger on edge event in the shelf's zone.
SVN revision: 33472
2008-01-13 19:14:19 +00:00
Sebastian Dransfeld 44f1e31aa1 Clean up unmaximize.
SVN revision: 33471
2008-01-13 18:53:58 +00:00
Sebastian Dransfeld bcd8b9c322 Fix unmaximize (bug #176)
SVN revision: 33470
2008-01-13 18:27:33 +00:00
Sebastian Dransfeld b906320201 Fix logical test by adding paranthesis.
SVN revision: 33458
2008-01-12 07:58:18 +00:00
Christopher Michael 58fca427d2 Make dialog a little wider.
Sort the list of available gadgets by name.


SVN revision: 33454
2008-01-12 00:27:41 +00:00
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
Carsten Haitzler 5868fed6fc limit hist to 500 - it seems i had some incredibly huge history file and it
was causign my e to pause often... :)


SVN revision: 32555
2007-11-10 23:37:35 +00:00
Christopher Michael 4f53107d14 Provide gadcon_config wrapper functions for toolbar & shelf. For now, just
used so we can have Toolbar Contents vs Shelf Contents in title.


SVN revision: 32528
2007-11-09 23:53:38 +00:00
Christopher Michael 5907077bf6 Add ability to change orient & resize correctly.
Still not ready for use yet.


SVN revision: 32526
2007-11-09 23:12:13 +00:00
Christopher Michael 00ff3f6f28 Add api functions to change orientation.
SVN revision: 32525
2007-11-09 21:05:18 +00:00
Christopher Michael 96d567024e Populate the toolbar when it gets created.
Added start of orientation support.


SVN revision: 32523
2007-11-09 20:43:54 +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 90163254fd Minor formatting fixes.
SVN revision: 32518
2007-11-09 07:43:38 +00:00
Carsten Haitzler d8b528ac8c send mroe signals.
SVN revision: 32404
2007-11-06 08:46:54 +00:00
Sebastian Dransfeld 437b0f36de Use %p when printing pointers.
SVN revision: 32402
2007-11-06 07:14:24 +00:00
Christopher Michael e72ba36a68 Working on getting actual efm modules into the gadcon.
Remove whitespace.


SVN revision: 32365
2007-11-04 21:40:39 +00:00
Christopher Michael 964fed717c Remove unused member from structure, it's really not needed.
SVN revision: 32364
2007-11-04 20:59:04 +00:00
Sebastian Dransfeld 2415c7e4d0 EAPI
SVN revision: 32352
2007-11-04 12:44:36 +00:00
Carsten Haitzler b7fae6decb pointer gets more singals now - needed this for my new theme for e17 - it
works like a charm though! it's really slick!


SVN revision: 32333
2007-11-04 04:13:59 +00:00
Christopher Michael 8aa7076fba Much better modules dialog. Faster at listing, loading & unloading modules.
Separates modules into sorted categories.


SVN revision: 32314
2007-11-02 21:41:06 +00:00
Sebastian Dransfeld 4f7cbdacbe Declare public functions in headers.
SVN revision: 32300
2007-11-02 12:07:09 +00:00
Christopher Michael 4b2a61803a Modify dialog to sort modules into categories.
SVN revision: 32290
2007-11-02 07:00:17 +00:00
Christopher Michael 4f4f035465 Formatting fixes.
SVN revision: 32278
2007-11-01 21:39:55 +00:00
Christopher Michael 76906e9a0a Be sure to free icon_file if it exists for both categories & items.
SVN revision: 32277
2007-11-01 20:35:08 +00:00
Christopher Michael 04592aa37d Minor formatting fixes.
SVN revision: 32276
2007-11-01 20:02:26 +00:00