Commit Graph

135 Commits

Author SHA1 Message Date
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Carsten Haitzler e5bc1dbf29 and accoutn for starting at -1!
SVN revision: 37687
2008-11-17 04:10:07 +00:00
Carsten Haitzler d6c689e422 and use last_full if there...
SVN revision: 37686
2008-11-17 03:57:32 +00:00
Carsten Haitzler c646bbdc51 alert popup wrong - if time_left < 0 then its unknown and shouldnt be used.
SVN revision: 37685
2008-11-17 03:42:21 +00:00
Carsten Haitzler de764df2a8 and make alert behave better
SVN revision: 37648
2008-11-15 04:25:09 +00:00
Carsten Haitzler 60827e2c96 battery module now will use hal - if it finds it, for battery info. tested by
killing hald and seeing if fallback to batget works. :) at least if hal is
runing and already monitoring power/battery and polling - e will just flow
along with it. pre-hal batget still is there.



SVN revision: 37646
2008-11-15 03:42:19 +00:00
Christopher Michael 4a70730d4a Width & Height are not needed here either.
SVN revision: 37540
2008-11-08 05:48:47 +00:00
Davide Andreoli 45cbf72298 * Gadcon API 3 *BREAK*
Version 3 add the *client_class param to icon(),label(),id_new(), id_del() 
 and the *orient param to orient().

All the modules (with a gadcon_client) need to be fixed...just add the new params 

to follow the EXTRA modules update.

SVN revision: 37450
2008-11-04 03:57:45 +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
Chidambar Zinnoury 21b4c9ef1f Work on battery module:
- popup texts are set by the module, not the theme;
- remove resize func as it does nothing more than default.


SVN revision: 36808
2008-10-19 10:59:20 +00:00
toma a3c3d2c23f Icon work. HUGE revision of icons and their names. This breaks the icon theme API so you might need to revise some themes. It does however, simplify a whole lot of stuff. You'll notice a lot more icons in menus. This bigger changes will come with the new theme once it is done. The missing icon names are put in b_and_w theme for now so if you need them, look them up. Also a bit of base work for EFM and the border icons in there. Commented out till the old icons are merged in. Message me if anything is screwed up.
SVN revision: 36591
2008-10-12 06:04:26 +00:00
Carsten Haitzler 7e4396ae33 remvoe stray \
SVN revision: 36231
2008-09-25 01:38:15 +00:00
Carsten Haitzler b3fa7a32d0 and remove more fake calls.
SVN revision: 36230
2008-09-25 01:37:38 +00:00
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 72dcd1c169 Remove unused variables.
SVN revision: 34862
2008-06-19 12:18:59 +00:00
Christopher Michael 3b07a36398 little formatting fix.
SVN revision: 34821
2008-06-14 06:18:30 +00:00
Christopher Michael fd52c28a4d Fix formatting.
SVN revision: 34457
2008-05-03 22:18:35 +00:00
Nicholas Hughart a90333bbf4 Fix an issue with the auto popup hiding.
Reenable popup after reconfiguring the battery module.


SVN revision: 34456
2008-05-03 21:49:37 +00:00
Christopher Michael 5e4b4b1d3c Fix formatting issues.
Remove Whitespace.
Use E_FREE to free the inst struct (Ensures to null the pointer).


SVN revision: 34455
2008-05-03 20:12:57 +00:00
Nicholas Hughart 6d14620446 Add alert popup to battery module. Was broken after batget changes. Popup is now themeable and also a bit less intrusive.
SVN revision: 34454
2008-05-03 19:51:49 +00:00
doursse 1dfffe770b returning 0 stops the delete event to be called in the screenlock module.
So we return 1.

Patch from sECuRE_


SVN revision: 34077
2008-03-22 08:04:12 +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 17d1bbe1a8 use new exe flag to make children die! die! die! kill the children... KILL!
...

child processes that is.
:)


SVN revision: 33975
2008-03-10 06:45:05 +00:00
Carsten Haitzler 930f53e765 fix batget restart on shelf re-config so it displays right
SVN revision: 33972
2008-03-09 17:31:12 +00:00
Carsten Haitzler 3d34b587af use either the min size set or calculate - as needed.
SVN revision: 33932
2008-03-05 06:00:25 +00:00
Carsten Haitzler be433bba00 and dont del exe if its not there
SVN revision: 33916
2008-03-04 11:35:00 +00:00
Carsten Haitzler 40a179e870 start batget only if there is a battery gadget and restart per gadget (likely
only 1) so that they get updated on shelf change.


SVN revision: 33913
2008-03-04 10:35:30 +00:00
Carsten Haitzler 6c8d35abf0 let's just put all things that multiply that could possibly be big numbers be
long long to avoid overflows. :)


SVN revision: 33911
2008-03-04 03:35:03 +00:00
Carsten Haitzler 55b40f3d3b seems to be behaving now.
SVN revision: 33906
2008-03-03 14:35:26 +00:00
Carsten Haitzler 16b851a43c move battery fetching/polling of info to its own sub process, pipe of stdout
to read like tempget. this means e cant hang hen polling - much better for
the mainloop. also clean up the code a lot. all battery specific "driver"
code is now in batget - this means it much nicer to later add hal battery
info fetching as that is also a remote service (and just not execute batget).
i also fixed up (in theory) the new 2.6.24+ /sys/class/power_supply parsing
to i think work better in more situations. i'm testing on a device i have
that does it - let me know if its wrong...


SVN revision: 33903
2008-03-03 09:48:37 +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
Nicholas Hughart e6acbda91b Add support for the new sysfs acpi power interface. With 2.6.24 kernels, the procfs inteface has been marked deprecated. Few people have tested without issues.
SVN revision: 33644
2008-01-28 20:37:00 +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 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
Christopher Michael 43cdb962de Allow battery to use it's own icon in Config Panel.
SVN revision: 32254
2007-10-31 15:15:33 +00:00
Carsten Haitzler 44fc6bc933 missed extra config calls
SVN revision: 32234
2007-10-31 12:44:40 +00:00
Carsten Haitzler 6840a4f977 boys and girls... animals and vegetables... pokemon and spatial anomolies
lend me your ears, for i come to break code, not to praise it!

module api getting kicked about. 1. modapi calls for config and about are gone
core module api call for about dialog gone (not needed anymore). use module
.desktops for about info in description. config should go via the config
panel calls to register stuff.... wherd... to... ma homieoes!


SVN revision: 32231
2007-10-31 12:21:02 +00:00
Sebastian Dransfeld ac35054634 We need id's for gadgets which are independent of shelves, so if we move
a gadget from one shelf to another it will keep the same config. Since the
id is mainly for the module to find the appropriate config for a gadget,
the module is now responsible for creating id's for gadgets config. One
problem is that we no longer can trust the id of a gadget, so we need to
store a reference between a gadget and its config after startup. No big
deal.


SVN revision: 31727
2007-09-16 00:02:53 +00:00
Eric Schuele 323620e492 Allow module to fire its alarm given a percentage remaining threshold.
SVN revision: 30039
2007-05-20 05:20:04 +00:00
Sebastian Dransfeld 5c9c68298a Remove stale code.
SVN revision: 29160
2007-03-25 22:46:21 +00:00
Sebastian Dransfeld c129c20ab6 Update icon name.
SVN revision: 29059
2007-03-24 23:12:23 +00:00
Sebastian Dransfeld 1bffed5388 Check if we still are within the string.
SVN revision: 29011
2007-03-24 15:07:55 +00:00
Sebastian Dransfeld cba29bd250 Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.


SVN revision: 27684
2006-12-30 23:32:25 +00:00
Sebastian Dransfeld 805315670b Clean up some gadcon config code.
Make id unique for each gadcon.


SVN revision: 27673
2006-12-30 17:54:27 +00:00
Carsten Haitzler a9757fa04b i'm cleaning up dnd. fixed leaks. made dnd more convenient - less work to do
(it returns x,y coords relative to the drop target geom, not the screen,
start putting in all the necessary stuff in fm2 - can dnd 2 file now (drop
has no effect though)...


SVN revision: 25950
2006-09-18 03:49:45 +00:00
Carsten Haitzler 34d6645d66 lots of freaky stuff.
1. cleaned up actions for restart and exit
2. made main menu cleaner in just using the actions
3. added ilits unselect calls for ilist smart and widget
4. patch for cpufreq to set all cpu clocks
5. fix battery module to handle broken acpi impl's that don't report drain rate
6. add e_sys subsystem - for executing system sensitive stuff like halt, reboot
   suspend, hibernate etc. this also covers exit, restart and logout. logout
   is currently dormant and just an action - not bound or in a menu. not
   complete anyway (no code for it). halt and reboot should probably use
   logout logic to shut down apps - i will recycle it. i added a suid root
   binary to do the actions - uses a system config (default one supplied that
   is secure - root will need to modify it to allow things).
7. fixed suid install hook for cpufreq
8. added sysconf dir to build for sys config file.
9. pants on


SVN revision: 25395
2006-09-03 08:51:32 +00:00
David Walter Seikel 1255baa040 Converted to use .desktop file.
SVN revision: 25386
2006-09-03 07:42:06 +00:00
rephorm d0a3102a4a and the modules...
SVN revision: 25060
2006-08-23 04:02:03 +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
codewarrior 12cc414daa battery hasnt been working on my fbsd laptop for a couple monthes, couldnt be bothered fixing, just did.
SVN revision: 24901
2006-08-19 09:07:33 +00:00