Commit Graph

380 Commits

Author SHA1 Message Date
Sebastian Dransfeld c31e108c14 e/modules/battery: match strdup with free
SVN revision: 48656
2010-05-06 20:51:31 +00:00
Sebastian Dransfeld bf511e235c e/modules/battery: need to stringshare
SVN revision: 48655
2010-05-06 20:51:20 +00:00
Mike Blumenkrantz 5593cdfe91 step 5: migrate battery module with properly #ifdef-ed code
SVN revision: 48496
2010-05-01 01:13:38 +00:00
Mike Blumenkrantz 97da075d67 ukit integration taking way longer than expected, so I'm fixing all the stringshares now. should be safe to use. hooray.
SVN revision: 48414
2010-04-29 08:58:38 +00:00
Carsten Haitzler f1bb22e498 from andrnils < fbsd build stuff
SVN revision: 48295
2010-04-25 06:26:25 +00:00
Christopher Michael 3de8c6adbc Fix up expand/fill for sliders (so they use all available width).
SVN revision: 47091
2010-03-09 16:54:05 +00:00
Miculcy Brian b80eca5ad3 remove the now useless title
SVN revision: 47002
2010-03-08 16:09:21 +00:00
Gustavo Sverzut Barbieri c0430f9e9d no frames required there...
SVN revision: 46995
2010-03-08 13:02:01 +00:00
Gustavo Sverzut Barbieri 4a4faa95b5 module overhaul, passes -Wextra and reports more errors.
* check_changed for both basic and advanced dialog modes;

 * disable sliders and other widgets that depend on the checkbox;

 * smaller sliders;

 * ensure there is a timer if alert is set;

 * check all fgets() return, report error if format was not expected,
   simplify some cases.



SVN revision: 46802
2010-03-02 21:42:59 +00:00
Christopher Michael fe96ced232 Don't expand list.
SVN revision: 46662
2010-02-28 18:42:58 +00:00
Sebastian Dransfeld a9bf975e7b export less
SVN revision: 45455
2010-01-22 20:28:39 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Sebastian Dransfeld 25398b689f make clang happy
SVN revision: 45151
2010-01-14 23:48:37 +00:00
Vincent Torri 18db67b1fb batget:
* some cleanup
 * allow compilation with opensolaris


SVN revision: 44521
2009-12-17 08:20:37 +00:00
Massimo Maiurana 72f66136ae added greek translation
SVN revision: 44477
2009-12-15 11:44:56 +00:00
Carsten Haitzler 6916f42c84 make error replyies not seegv dbus... why error tho?
SVN revision: 43348
2009-10-30 12:28:03 +00:00
Hannes Janetzek a551323a28 e/src/modules:
- cast ints to pointer correctly
- remove unused variables
- #if 0 unusued code
- fix some function declarations for callbacks 


SVN revision: 42210
2009-09-03 16:32:48 +00:00
Christopher Michael dada3377d4 Formatting.
Whitespace Removal.
Use E_FREE for cfdata structure.


SVN revision: 41972
2009-08-25 11:23:46 +00:00
Carsten Haitzler 690fd53e50 disable uevent fd handler - i thought i committed this?
SVN revision: 41836
2009-08-17 07:55:01 +00:00
Gustavo Sverzut Barbieri 64e97e62a0 battery: set force_mode so dialog shows it.
SVN revision: 41495
2009-07-25 05:30:25 +00:00
Massimo Maiurana d96d336352 adding turkish translations for desktop files
SVN revision: 41232
2009-07-02 16:56:15 +00:00
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Viktor Kojouharov c1dd656e64 remove all traces of the resize callback function. it iss not needed anymore
SVN revision: 40940
2009-06-07 08:56:16 +00:00
Vincent Torri 64f80081aa define MAX for all OS, instead of plenty #include
SVN revision: 40012
2009-04-13 10:25:11 +00:00
Vincent Torri 992597240a allow compilation of battery module on mac os x
SVN revision: 39935
2009-04-10 14:05:50 +00:00
Carsten Haitzler d3e714523e formatting
SVN revision: 39761
2009-03-27 14:07:12 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Davide Andreoli 3d41cbb20d More icon works, this commit include changes to the icons on the desktop.
You will probably loose desktop icons until you get a fresh profile. Or you can edit the
.desktop files in .e/e/fileman/favorites (new icons name are: user-desktop, user-home, computer and user-temp)

Sorry for bothering... the next commit should be the last ;)



SVN revision: 39419
2009-03-08 23:09:48 +00:00
Davide Andreoli 3d669d1177 * Rename the new function:
e_util_menu_item_fdo_icon_set to e_util_menu_item_theme_icon_set
As it looks for icons in e theme AND in fdo icon themes.
* Use the new function everywere instead of e_util_menu_item_edje_icon_set,
that is now marked as DEPRECATED

You should not see any difference with this commit. With the next few commit I'm
going to rename all the icons in the theme following fdo standard. I will not change
any icons, just rename them to match fdo ones.



SVN revision: 39370
2009-03-04 20:46:05 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
toma c6224edd2f Fix aspect ratio.
SVN revision: 38969
2009-02-08 03:55:04 +00:00
toma 8df63ada45 Battery module gets a better battery.
SVN revision: 38968
2009-02-08 03:20:20 +00:00
toma b00b69c435 Module icons... most of them. Some still need some love, but Ill get around to that. Shout out to Sachiel!
SVN revision: 38953
2009-02-05 14:34:01 +00:00
Gustavo Sverzut Barbieri 465f232867 Remove compiler warnings.
SVN revision: 38947
2009-02-05 02:35:46 +00:00
Gustavo Sverzut Barbieri 82edc2c6da Remove annoyance.
When e starts in systems under heavy load, it might not get reply from
HAL before we need it, so detect batteries that still do not have
filled properties and avoid calling _battery_update() if nothing is
known.



SVN revision: 38946
2009-02-05 02:34:20 +00:00
Carsten Haitzler a03639d55f battery config.... better!
SVN revision: 38920
2009-02-03 12:45:38 +00:00
Massimo Maiurana 879511c665 french translations for desktop files
SVN revision: 38890
2009-02-01 15:24:59 +00:00
Carsten Haitzler efc07de04f and kill batget when forcing hal mode.
SVN revision: 38874
2009-02-01 03:29:22 +00:00
Carsten Haitzler 6a7c68a45b b attery has option fo forcing hal or internal (batget). config ui is still
too big.



SVN revision: 38873
2009-02-01 03:26:46 +00:00
handyande 61801ee22d Fixup compile / link errors with OSX, still having a small issue with the batter module linking, but getting there
SVN revision: 38570
2009-01-13 16:30:37 +00:00
Daniel Kolesa e9fb962a08 added Czech translations to trunk/e/src/modules/*/module.desktop.in
SVN revision: 38450
2009-01-04 16:49:28 +00:00
Gustavo Sverzut Barbieri ebcb9f85a7 build infra improvements.
* configure.ac:
   - require C99 compiler;
   - disable F77 and CXX checks;
   - per-binary (program) flags, reduce linkage;
   - every module can be optionally compiled;
 * src/bin:
   - Makefile.am: per-binary libs, reduce linkage;
   - just add LIBS to LDADD and LIBADD, not LDFLAGS!
   - e_sys_main.c: rewrite using proper eina, avoid linking with evas.
 * src/modules:
   - just add LIBS to LDADD and LIBADD, not LDFLAGS!
   - every module can be optionally compiled;



SVN revision: 38009
2008-12-08 01:39:33 +00:00
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
Christopher Michael dbb87ccb30 struct Status appears to be a left-over and is not used afaik.
SVN revision: 37537
2008-11-07 23:21:12 +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
Chidambar Zinnoury d3d14662d2 And finally recompile all e modules' edje files.
SVN revision: 36696
2008-10-15 19:43:58 +00:00
Cedric BAIL 9e02df4fef Correctly include eina and fix pkg-config description.
SVN revision: 36667
2008-10-15 10:03:45 +00:00
Cedric BAIL d2f7e4da0d Make e depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36627
2008-10-13 16:00:58 +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
Nicholas Hughart c414d49e48 That's what I get for applying patches without looking at them well enough. Fix up a few bugs in the patch received, let me know if there are issues with it.
SVN revision: 36169
2008-09-22 14:23:15 +00:00
Nicholas Hughart 5450d03a0b Fix a couple typos and detection of sysfs acpi battery info.
SVN revision: 35971
2008-09-12 21:31:46 +00:00
toma 74bea17d1d Textblock in. Revised the use of textblock tags and fixed up all the modules to use it more correctly. This style may need to be repeated across all the E-MODULES-EXTRA modules for unification of styles. The altered .desktop files still look perfectly fine on BlingBling and a few other themes Ive tested it with. The textblock style itself could probably do with a little tweaking.
SVN revision: 35776
2008-09-01 15:24:32 +00:00
Carsten Haitzler 190c380c6d fix bins
SVN revision: 35511
2008-08-17 15:03:18 +00:00
Carsten Haitzler 1b3694eb00 handle other states for "state" - not charging is an... interesting one...
(as a replacement for discharging)


SVN revision: 35401
2008-08-07 23:37:14 +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
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
Carsten Haitzler 09453fe184 remove ! apm exists check.
SVN revision: 34538
2008-05-11 16:21:21 +00:00
Carsten Haitzler 5645ce0449 suspend/resume brokeon power class - lost event file node and never got it
back. now try get them all back if they get lost.


SVN revision: 34461
2008-05-04 06:13:26 +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
Massimo Maiurana ee431269a7 hu translations for desktop files
SVN revision: 34408
2008-04-30 10:28:40 +00:00
Carsten Haitzler 9aaf72f72a better detection of apm vs powerclass... as i have no seen a system with BOTH
of them active! argh!


SVN revision: 34406
2008-04-30 05:33:44 +00:00
Carsten Haitzler c71bc63e7e if we have apm as well on a new kernel - use that as it will probably take
preference to power_supply class stuff


SVN revision: 34390
2008-04-28 11:12:25 +00:00
Carsten Haitzler 6f4d707dd3 fix install of slave tools.
SVN revision: 34351
2008-04-23 03:50:21 +00:00
Carsten Haitzler 088fceedde fix batget infinie spin
SVN revision: 34273
2008-04-15 15:20:59 +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
Sebastian Dransfeld fe68d438c6 Fix compiler warnings.
SVN revision: 34019
2008-03-13 19:13:36 +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 2fb5738a7a add ignores.
SVN revision: 33928
2008-03-05 04:04:54 +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
Gustavo Sverzut Barbieri 617ab30c56 Integer overflow.
This fixes my battery showing 18% for on power, fully charged battery,
but possible there are many more of those.


SVN revision: 33910
2008-03-04 01:06:58 +00:00
Carsten Haitzler 55b40f3d3b seems to be behaving now.
SVN revision: 33906
2008-03-03 14:35:26 +00:00
Carsten Haitzler 29ccce4f86 dont loop forever on read from event fd
SVN revision: 33905
2008-03-03 11:36:59 +00:00
Carsten Haitzler fe6f5aa3d1 oops - pass sysev
SVN revision: 33904
2008-03-03 10:30:31 +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
Massimo Maiurana b5260fd925 updated module.desktop.in files with eo localization.
SVN revision: 33868
2008-02-29 18:31:50 +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 fa753e1ee2 Fix battery module description to fit width of new description box.
There will be a bunch more of these commits coming.


SVN revision: 33303
2007-12-30 19:04:58 +00:00
Eric Schuele 552cd506a5 Update many desktop files with some translations. Courtesy of tokyo.
SVN revision: 33009
2007-12-06 05:07:33 +00:00
Christopher Michael 488bbfab1d Change module type of .desktop
SVN revision: 32284
2007-11-02 06:15:24 +00:00
Christopher Michael e78c5f25b5 Add module type to .desktop.
SVN revision: 32282
2007-11-02 06:10:09 +00:00
Sebastian Dransfeld b8cd2447aa Fix warnings.
SVN revision: 32266
2007-10-31 19:56:59 +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
Massimo Maiurana 81440c9066 translated strings in italian for modules' .desktop files.
SVN revision: 31794
2007-09-23 20:53:15 +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 bd949fa4f9 Add comments to various E modules for display in the modules config dialog.
SVN revision: 31502
2007-08-25 21:48:02 +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 b8afe0e904 Remove X specific elements from the .desktop files.
Rename the icons so that the get a unique name. This will make it possible
to create a standard (FDO) icon theme for e which supplies these icons
without using custom X- keys.


SVN revision: 28990
2007-03-24 09:23:11 +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 0e1a66cb95 pass make distcheck.
SVN revision: 26452
2006-10-09 15:40:58 +00:00
Carsten Haitzler 899a2c009f 1. jose's premul patches for evas
2. fixes to patches to re-enable smooth scale again
3. fixes to make txtblock colors work
4. fixes to edje for premul + grad api changes
5. fixes to ecore to work in premul space
6. fixes to e17 for premul space
7. fixes to emotion for premul
8. rebuild of .edj files as premul requires themes to be rebuilt
9. removed unused fils from cvs (eap and old img files)


SVN revision: 26235
2006-09-30 10:16:24 +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
Carsten Haitzler a9e7340190 you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.


SVN revision: 24691
2006-08-14 15:22:46 +00:00
Carsten Haitzler 3704e4ee1b module icon updates
SVN revision: 24515
2006-08-09 19:34:34 +00:00
essiene e4b80ce483 Update core modules to use new default view settings
SVN revision: 24493
2006-08-09 06:38:35 +00:00
sebastid db452b14ac Fix warnings.
SVN revision: 24421
2006-08-06 02:21:07 +00:00
Christopher Michael a0f661695a Cleanup: Fix return value for modapi_init.
SVN revision: 24185
2006-07-25 04:09:41 +00:00
Christopher Michael 73a7ba6011 As per HandyAndE request, this patch gives ability for modules config
dialogs to show their icon in their config dialog by passing in the
module_eap path to the config_dialog_new function as the icon parameter ie:

e_config_dialog_new(con, module_name, eap_path, 0, v, data);

Update E core modules to use this ability.
Fix dropshadow config dialog to fit in 640x480.


SVN revision: 23682
2006-07-03 07:35:44 +00:00
Christopher Michael 17475003db Module about dialogs now show the module icon in the dialog, and the border.
Note: This breaks e_modules until I get them fixed.


SVN revision: 23660
2006-07-02 18:55:33 +00:00
doursse b962d733e4 return 0 when config dialog is NULL
SVN revision: 23651
2006-07-02 14:34:42 +00:00
Carsten Haitzler 97eec41ad9 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
Christopher Michael 2c98a4e7ea Revert back to void for e_modapi_init, HandyAndE is correct.
SVN revision: 23219
2006-06-06 15:19:36 +00:00
Christopher Michael ac459c4c81 Fix e_modapi_init to return int, not void.
SVN revision: 23208
2006-06-06 09:59:16 +00:00
Carsten Haitzler 3a2144cad0 nice little overhaul of module related stuff. moduels now finally RELY on
module.eap files being installed - and using the e_apps api to load them and
ask for a name. Also icon is expected to be in this file too and i have
removed the info func call from modules as well as config_menu, module menus,
and other cruft in moduel structs. this also means revving the module api
version and saving users from a "if i recompile it will work" thing. :)
moduels need serious updates, not just a recompile for this. your modules
WILL break.


SVN revision: 23045
2006-06-01 06:44:37 +00:00
sebastid 7c51b35764 Add const
SVN revision: 23023
2006-05-31 16:19:11 +00:00
Carsten Haitzler 7dc5dc0753 add icon provision for gadcon classes and label provider functions. also add
all the data, update and add new icons etc. etc.


SVN revision: 22495
2006-05-09 13:02:48 +00:00
Carsten Haitzler 811083bcba more paranoid cleanup of menus
SVN revision: 22283
2006-04-21 15:54:11 +00:00
codewarrior d21058c7b2 fix battery + freebsd
SVN revision: 22262
2006-04-20 11:52:40 +00:00
Carsten Haitzler c01f66c725 ef -> battery_config
bsd mis-port fix


SVN revision: 22261
2006-04-20 11:48:42 +00:00
Carsten Haitzler fbd972cdb9 e packages build again - also not much point having an enlightenment-data as
it's built as an arch specific package and it is intrinsically required by e
and cannot work without it nor is the data shared betwene e and other apps
unless e itself is installed too


SVN revision: 22260
2006-04-20 11:30:25 +00:00
Christopher Michael cc05c0b458 Remove unused Cfg_File struct
SVN revision: 21375
2006-03-18 16:41:55 +00:00
handyande 00330faaf9 Move the manipulation of user specified policy flags (ALLOW_OVERLAP and ALWAYS_ON_TOP (not used yet)) to the gadman edit menu, saves a LOT of code inside modules
SVN revision: 21226
2006-03-12 16:12:59 +00:00
xstasi ed715bb41a fixed bug on ibooks that would display -0% battery - now it displays all info correctly
SVN revision: 21002
2006-03-04 12:36:42 +00:00
Christopher Michael 3c8fe5f76f Nicer menus...shhh ! :)
SVN revision: 20642
2006-02-20 19:11:22 +00:00
Carsten Haitzler 47e7c5f243 cross-compile fixes, (odd that this didnt screw up before when i did some
cross-compiling of e for arm), illogict patches too :)


SVN revision: 20552
2006-02-18 04:35:35 +00:00
Christopher Michael 31541946e6 Fix bug where changing a config value then selecting a different page (Basic/Advanced) would reset the value to it's original state.
SVN revision: 20437
2006-02-13 16:10:33 +00:00
Christopher Michael a8dca935d1 Rename the Allow Overlap option
SVN revision: 20092
2006-01-29 02:40:04 +00:00
Christopher Michael 4a9f8d3a9a Fixes for E_Config_Dialog_View
SVN revision: 19960
2006-01-22 14:17:43 +00:00
Carsten Haitzler 5f71f7acf5 2 pending patches in my inbox.
1. "allow overlap" patch for modules - needs better names in the gui (Allow
windows to overlap maybe - as allow overlap is very vague)
2. itray module (buggy - buggy - beware. i know why. beware i said!)
3. TODO items


SVN revision: 19911
2006-01-20 04:04:14 +00:00
sebastid bbea62a127 Fix warnings.
SVN revision: 19801
2006-01-14 16:10:57 +00:00
Christopher Michael 4453a2bb87 Remove EAPI from function. Thanks Sebastian
SVN revision: 19642
2006-01-08 10:33:23 +00:00
Christopher Michael 3686bd231f Set pointer to config dialogue to NULL when closing
SVN revision: 19639
2006-01-08 09:29:42 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Christopher Michael b1d75321d1 If a module has a config dialogue, destroy it on module shutdown
SVN revision: 19575
2006-01-06 21:30:53 +00:00
Christopher Michael acb5e591ce Fix Config call for current container. Better trapping
SVN revision: 19425
2005-12-30 14:10:35 +00:00
Christopher Michael ebc84f1d30 Remove unused variables.C++ comments are bad, mmmkay?
SVN revision: 19390
2005-12-29 16:31:00 +00:00
Carsten Haitzler 78d729a57b make symbol hiding actually work - fix some bugs, fixme's adjust bugs and
TODO, add exe history and actually use it etc.


SVN revision: 19313
2005-12-27 17:16:58 +00:00
Christopher Michael 0affc3ee5c Remove unused protos. Cleanups
SVN revision: 19287
2005-12-24 20:01:03 +00:00
Christopher Michael 4632f1c9d3 Shhh..thanks onefang
SVN revision: 19126
2005-12-19 00:32:30 +00:00
Christopher Michael 517eb4c9cf Rename e_int_config calls to avoid E namespace conflicts
SVN revision: 19105
2005-12-18 06:33:14 +00:00
Christopher Michael 1ef3331419 Clean up e_mod_config.c
SVN revision: 19095
2005-12-17 22:02:05 +00:00
Carsten Haitzler 71040b0586 module config dialog
SVN revision: 19089
2005-12-17 11:21:54 +00:00
Christopher Michael 4212bf5607 Updated Battery Config Dialogue. Opinions ?
SVN revision: 19068
2005-12-16 05:21:12 +00:00
Christopher Michael af567f9581 Removed unused function
SVN revision: 19047
2005-12-15 22:05:58 +00:00
Christopher Michael 76c17f4207 Add missing include
SVN revision: 19034
2005-12-15 04:28:23 +00:00
Christopher Michael a8f6f0a453 Change Config Dialog To Configuration :)
SVN revision: 19033
2005-12-15 04:03:04 +00:00
Christopher Michael a75db00389 Remove Battery variable from cfdata, not needed
SVN revision: 19029
2005-12-15 02:59:05 +00:00
Christopher Michael c78d2508a3 Remove not needed menus/Formatting
SVN revision: 19025
2005-12-14 23:57:55 +00:00
Christopher Michael 8ddbb33327 Battery Config Dialog
SVN revision: 19020
2005-12-14 22:46:51 +00:00
technikolor 4cac22613e Patch submitted by Devon O\'Dell <devon.odell@gmail.com>. A fix for FreeBSD/AMD64 which lacks APM.
SVN revision: 18392
2005-11-09 07:56:20 +00:00
sebastid 4cb6863149 Remove sscanf
SVN revision: 17956
2005-10-25 10:51:58 +00:00
sebastid 05757dcf2f Better code structure.
SVN revision: 17255
2005-10-06 23:49:09 +00:00
sebastid 7d5b20f5b2 The data from ecore_file_ls is free'd when destroying the list.
SVN revision: 17247
2005-10-06 19:31:13 +00:00
sebastid f4498d11a3 New modapi!
If a module fails to load, don't unload it. Mark it with an error flag,
and ask the user if he wants to unload it.


SVN revision: 16918
2005-09-24 13:42:05 +00:00
sebastid 74f0aa00c7 Move module api check to module loader.
SVN revision: 16873
2005-09-23 17:13:47 +00:00
Dan Sinclair 9288298ae8 - move the common code to a function in the e_modules file.
SVN revision: 16851
2005-09-22 18:17:18 +00:00
sebastid ad4feaa85e E-codingstyle.
SVN revision: 16825
2005-09-21 06:57:36 +00:00
Christopher Michael 78e3b8efed Changed module to use e_dialog instead of e_error
SVN revision: 16820
2005-09-21 01:18:30 +00:00
sebastid e5406feda5 comments
SVN revision: 16666
2005-09-08 05:03:28 +00:00
sebastid 35b45b9e92 Support /proc/pmu
Check if mem allocation succeeds.


SVN revision: 16429
2005-08-30 12:15:36 +00:00
sebastid de9cde27b6 Don't need to check for . and .. ecore_file_ls removes them.
SVN revision: 16428
2005-08-30 11:29:24 +00:00
rbdpngn bb346eb54d Add the autofoo to enable OS X battery support.
SVN revision: 16232
2005-08-18 06:15:27 +00:00
rbdpngn da9e2162d2 Touch up some of the output values.
SVN revision: 16231
2005-08-18 06:09:43 +00:00
rbdpngn c92592433e Preliminary OS X battery support.
SVN revision: 16230
2005-08-18 05:35:02 +00:00
Carsten Haitzler c7fd8821f3 asus no rate acpi info fix
SVN revision: 16078
2005-08-09 07:13:55 +00:00
stffrdhrn c69a5ef492 don't try and compile BSD stuffs in linux
SVN revision: 15997
2005-08-02 15:05:48 +00:00
Carsten Haitzler 4bc83ed144 formatting
SVN revision: 15994
2005-08-02 09:55:03 +00:00
Carsten Haitzler ec414c6f6a bsd battery patch
SVN revision: 15993
2005-08-02 09:52:30 +00:00
Carsten Haitzler 744dfc58ff one way or the other i'm forced to add timestamps to events - i cant avoid it
anymore. sorry guys. really no way around it. :(


SVN revision: 15891
2005-07-25 09:55:47 +00:00
vandango 5fde1d501f e translation update
SVN revision: 15462
2005-06-20 23:03:42 +00:00
vandango d16963df9b e translation update
SVN revision: 15461
2005-06-20 23:03:00 +00:00
sebastid adfc31a964 Right include path for module
SVN revision: 14676
2005-05-08 22:34:45 +00:00
Carsten Haitzler bdbf2f2079 get rid of ecore warning
SVN revision: 14338
2005-04-25 05:58:45 +00:00
Carsten Haitzler 9015e17739 fix dropshadow bug
make e_theme stuff check contents of edje files for group requested, if not
there, fallback
fix shading of windows with shaped windows


SVN revision: 14307
2005-04-23 05:16:25 +00:00
Carsten Haitzler f0b0f6f614 add theme finder/class/category wrapper - handles finding theme files for
specific categories, and falling back if not found. it cant check specific
parts in edjes though - maybe i should add that? :)


SVN revision: 14278
2005-04-21 10:09:28 +00:00
Mike Frysinger d85eba72f2 fix inconsistent whitespace usage
SVN revision: 14260
2005-04-20 14:51:38 +00:00
sebastid 709c0003c8 Evas_List -> Ecore_List
SVN revision: 14198
2005-04-14 10:52:58 +00:00