Commit Graph

3982 Commits

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