Commit Graph

4034 Commits

Author SHA1 Message Date
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