Commit Graph

380 Commits

Author SHA1 Message Date
Vincent Torri 8058b50c82 E17: fix crash of the battery module on OpenBSD if the system has no AC adapter or battery sensor
SVN revision: 79630
2012-11-24 10:19:55 +00:00
Massimo Maiurana 8314c3b95c updating various translations
SVN revision: 79519
2012-11-21 19:45:32 +00:00
Mike Blumenkrantz c3569031ff more MAX removals
ticket #1757 (4/3)


SVN revision: 79140
2012-11-12 09:24:01 +00:00
Carsten Haitzler f534e30089 put lucas's makefiles back.. but what do you do to make it not break
between builds from older vs newer makefile setup?



SVN revision: 79024
2012-11-09 14:49:05 +00:00
Carsten Haitzler 5fa813e1cc lucas... u're going to hate me... but i'm reverting this whole lot of
module build chnages because its fundamentally broken. it DOES NOT
PRODUCE .SO FILES. just .la and .a files. the only reason u dont
notice is.. you ALREADY had .so's installed. i just got in from the
airport... synced and updated.. rebuilt and was met with all modules
not loading... literally - no .so's are installed int he module dirs.
try rm -rf the instaleld module tree.

regardless... this has to be reverted be3cause it's a major break. the
idea is right/nice. the implementation is causing... problems.



SVN revision: 79015
2012-11-09 10:45:35 +00:00
Lucas De Marchi 0000e87ffc e/modules: delete old Makefile.am's
SVN revision: 78983
2012-11-07 21:50:53 +00:00
Lucas De Marchi 92eee9068a e: use AM_CPPFLAGS instead of INCLUDES
Get rid of warnings like below with recent automake (1.11 and newer):
src/bin/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/bin/Makefile.am: installing './depcomp'
src/modules/access/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')



SVN revision: 78720
2012-10-31 20:40:40 +00:00
Massimo Maiurana 6f4591eed2 updating russian translation
SVN revision: 78648
2012-10-30 12:10:17 +00:00
Mike Blumenkrantz 303a69346a fix crash in battery gadget when deleting a gadget after module has been unloaded (possible if gadget is in edit mode)
SVN revision: 78523
2012-10-26 11:43:07 +00:00
Sebastian Dransfeld 427b6c34df e: Cleanup
Removes unused variables, drops duplicate return or break
     statements and drops unnecessary checks.

Patch by Igor Murzov

SVN revision: 77490
2012-10-04 23:26:48 +00:00
Mike Blumenkrantz df132cab81 patches from Basil Gor (basil.gor@gmail.com) fixing stringshare usage in battery module. thanks!
SVN revision: 76369
2012-09-10 07:55:15 +00:00
Mike Blumenkrantz 20efd7c8cd revert changes from last month to udev backend, seems to have broken things
probably fixes ticket #1304


SVN revision: 76285
2012-09-07 08:01:17 +00:00
Vincent Torri bf452c89ba E: various clean up for the battery module on OpenBSD
patch by Maxime Villard (rustyBSD)

SVN revision: 75575
2012-08-22 21:25:25 +00:00
Mike Blumenkrantz 2434f5adbe more PATH_MAX cleanups
SVN revision: 75520
2012-08-22 07:32:12 +00:00
Mike Blumenkrantz 94e2fc5257 clean up gadget right click menus to stop leaking
SVN revision: 75285
2012-08-15 07:22:04 +00:00
Mike Blumenkrantz 84126d9ffd use ac presence to indicate battery charging
SVN revision: 75209
2012-08-13 13:14:44 +00:00
Mike Blumenkrantz 9000c5eb47 fix some battery stringshare usage
SVN revision: 75208
2012-08-13 12:40:54 +00:00
Mike Blumenkrantz 5029b27458 battery gadget right click menu now also contains powermanagement option
SVN revision: 75197
2012-08-13 09:31:20 +00:00
Mike Blumenkrantz 82fcf900bd formatting
SVN revision: 75196
2012-08-13 09:24:51 +00:00
Mike Blumenkrantz 016ecb6d3d remove extraneous period
SVN revision: 75189
2012-08-13 07:06:00 +00:00
Mike Blumenkrantz 10ec75e35a add testing patch from seb (sdATtango.flipp.net) to improve udev battery monitoring; report any bugs to trac
SVN revision: 74921
2012-08-06 10:37:49 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Chidambar Zinnoury 907ea06deb e battery: don't report battery as charging when it obviously isn't.
On my laptop, when the travel (second) battery is finished discharging, its status is being reported as Unknown. As its charging rate is zero, stop pretending it's charging.


SVN revision: 74296
2012-07-22 13:39:16 +00:00
Chidambar Zinnoury 3e6aee7a61 e: units (sec → s).
SVN revision: 73860
2012-07-14 21:16:20 +00:00
Mike Blumenkrantz 74edef9f46 fix memory leak spotted by seb in gc_id_new. this whole thing is pretty confusing; I'm glad we don't have docs for it
SVN revision: 72689
2012-06-22 07:21:51 +00:00
Mike Blumenkrantz 08019c51a2 more bsd fd leaks--
SVN revision: 72597
2012-06-21 11:57:14 +00:00
Mike Blumenkrantz accabcade7 fix possible fd leak
SVN revision: 72595
2012-06-21 11:55:21 +00:00
Mike Blumenkrantz 7dbd2e8de9 fix the same instance id bug as in pager, this will likely delete configs for a large number of modules
SVN revision: 72592
2012-06-21 11:03:50 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Michael BOUCHAUD 7743a24db2 e: make e_powersave values configurable
SVN revision: 70698
2012-05-03 20:16:34 +00:00
Thomas Gstädtner 6f55d529a3 From: Thomas Gstädtner <thomas@gstaedtner.net>
Subject: [E-devel] [PATCH] battery: add support for different suspend
methods

Allow the user to select what to do when the battery runs low:
Suspend, Hibernate or Shutdown.



SVN revision: 69623
2012-03-26 04:00:53 +00:00
Carsten Haitzler b164a4c0db fix some battery errant warnings and dump some info about decisions
made for battery warning alert



SVN revision: 67847
2012-02-11 10:44:51 +00:00
Gustavo Sverzut Barbieri 4305b8e7fe e/docs: do bare documentation for e.
Just some groups and basic description for modules. I'm NOT going back
to this anytime soon, but would be VERY happy if people could do some
screenshots and put the images for each module in docs/img/ folder,
linking to them from each e_mod_main.h



SVN revision: 67362
2012-01-19 23:25:32 +00:00
Leif Middelschulte 72e9ba4bca Cleanup desktop notifications in battery.
-Properly init and shutdown e_notify
-Use "Battery" as name for notification sender
-Use ui configurable timeout for notification
-Save "use desktop notification" for real

SVN revision: 67029
2012-01-11 01:40:13 +00:00
Leif Middelschulte e5d5b57bc5 Add E_Notify to c- and linkerflags.
SVN revision: 67028
2012-01-11 00:49:46 +00:00
Leif Middelschulte 40b2ec83b7 Add desktop notifications to battery module.
SVN revision: 67027
2012-01-11 00:29:42 +00:00
Carsten Haitzler 861f7bb901 add eina include to tempget and batget
SVN revision: 65337
2011-11-17 11:12:30 +00:00
Boris Faure 27264671d0 e/gadcon: label() returns a const char*
Original patch by Fabien Romano from OpenBSD

SVN revision: 65204
2011-11-14 21:46:57 +00:00
Mike Blumenkrantz bc45b835df just return here, eh?
SVN revision: 64889
2011-11-07 22:41:02 +00:00
Vincent Torri 66f257b886 E17: add OpenBSD support for the battery module
patch by Jonathan Armani <armani@openbsd.org>


SVN revision: 64526
2011-10-30 16:47:50 +00:00
Carsten Haitzler 48f3614f96 make suspend on low power actually a hibernate - because yes,
hibernate makes more sense.



SVN revision: 63808
2011-10-04 14:17:28 +00:00
Carsten Haitzler 5eb3140137 how did i miss that? actually store edited config val!
SVN revision: 62672
2011-08-21 23:46:03 +00:00
Carsten Haitzler 9e0032aabf and allow config to suspend even if on AC power (ie if disabled wont
suspend on blank if connected to AC)



SVN revision: 62656
2011-08-21 11:02:33 +00:00
Carsten Haitzler d88e160f25 as per e17 release todo:
|| LOW  || Power    || Add suspend/hibernate w/ screen blank or low battery config option ||             ||     || ||

:)



SVN revision: 62655
2011-08-21 10:44:23 +00:00
Cedric BAIL 29dffc306c e: segv-- on power removal.
SVN revision: 62181
2011-08-07 12:35:21 +00:00
Carsten Haitzler 7cf548195e try now jeff. works for me with test dir based on your bat content.
use internal battery get option



SVN revision: 60613
2011-06-23 03:42:56 +00:00
Carsten Haitzler d920be48dd new battery icon.
SVN revision: 60561
2011-06-21 23:54:43 +00:00
Carsten Haitzler 2b7359879c jeff - try this battery change
SVN revision: 60549
2011-06-21 13:34:52 +00:00
Boris Faure 6048d46024 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Massimo Maiurana 359a85e93d updating various translations
SVN revision: 57225
2011-02-21 19:19:12 +00:00
Massimo Maiurana 308534cc44 updating russian translations
SVN revision: 57124
2011-02-17 12:15:59 +00:00
Mike Blumenkrantz 67b1000afa fix compile when ehal is not present
note that illume1 still requires ehal and I have no plans to write an eeze backend for it


SVN revision: 55944
2011-01-06 18:41:58 +00:00
Massimo Maiurana f13cdcbd02 updating german translations
SVN revision: 55935
2011-01-06 17:49:35 +00:00
Mike Blumenkrantz 15468f69f6 fix include paths for all these makefiles to add $top_builddir/src/bin instead of $top_srcdir/src/lib
SVN revision: 55884
2011-01-05 17:50:05 +00:00
Mike Blumenkrantz 9c200fb92e the formatting on this file was too awful to let it live
SVN revision: 55374
2010-12-08 15:35:13 +00:00
Massimo Maiurana 9a47758a74 updating portuguese translations
SVN revision: 54864
2010-11-23 11:43:54 +00:00
Miculcy Brian 87dcd15f58 typo
SVN revision: 52079
2010-09-09 15:20:23 +00:00
Miculcy Brian 2f8f31fbf5 This commit will change the shelf menu completly:
If you have a Gadget and open the menu over it, all gadget specific options are under a separate submenu. The menu items which the Gadget sets theirself can be put on the main menu tree or on the Gadget submenu.
If you don't see a reason for this, check the ibar menu _before_ and _after_. :)

This api change broke all modules but i already fixed them all. Hope everything works... I also shortend text strings, etc, etc.
Hope you like it! :)


SVN revision: 52041
2010-09-09 14:44:21 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
Sebastian Dransfeld d1b854b9c1 cleanup battery module
- Only open one connection to dbus (e_dbus_bus_get) and then close it on
  shutdown.
- Fix autodetection of backend.

SVN revision: 51764
2010-08-30 19:57:36 +00:00
Sebastian Dransfeld e2c4df0689 formatting
SVN revision: 51720
2010-08-29 10:57:05 +00:00
Sebastian Dransfeld cf7e7abbcb Check right variable
SVN revision: 51719
2010-08-29 10:56:55 +00:00
Sebastian Dransfeld 936d65abc6 Don't loop list twice
SVN revision: 51718
2010-08-29 10:56:40 +00:00
Christopher Michael 2547aeefe2 Add UNUSED where needed.
SVN revision: 51404
2010-08-19 15:21:14 +00:00
Cedric BAIL 9617253990 * edje: fix count that lead to memleak.
SVN revision: 51047
2010-08-12 15:07:26 +00:00
Cedric BAIL 288403f62b * edje: fix for updated edje file format.
SVN revision: 51037
2010-08-12 13:26:09 +00:00
Cedric BAIL 068d07757f * edje: converting edje file to make them compatible with old and new
loader. I didn't expect so many of them, maybe some one can take care
	of reducing their number (0 would be a good target).


SVN revision: 50938
2010-08-09 18:05:22 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Mike Blumenkrantz 435a74fcf8 update for eeze change
SVN revision: 50691
2010-07-30 18:19:53 +00:00
Christopher Michael 180e057bb3 Fixes for recent Ecore Api changes.
SVN revision: 49834
2010-06-24 17:52:08 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael a34913ae56 Add fuzzy to config edd so udev 'fuzzy' mode can be saved.
SVN revision: 49779
2010-06-21 03:39:50 +00:00
Mike Blumenkrantz d4c70a863c globals declared in main now
SVN revision: 49760
2010-06-19 17:53:49 +00:00
Mike Blumenkrantz fb5409a64a well that was dumb of me
SVN revision: 49183
2010-05-24 17:23:03 +00:00
Mike Blumenkrantz 97529addef match eeze changes, add init/shutdown calls to illume2 keyboard
SVN revision: 49130
2010-05-22 07:04:26 +00:00
Mike Blumenkrantz 95ee44e8c1 updates to match eeze changes
SVN revision: 49119
2010-05-22 01:55:28 +00:00
Carsten Haitzler 3f2657c5d5 spacing.
SVN revision: 49083
2010-05-21 05:10:10 +00:00
Mike Blumenkrantz 8b6b36637d fix stringshare delete
SVN revision: 49061
2010-05-20 10:05:52 +00:00
Mike Blumenkrantz d57aba55b1 update to handle new watch filter
SVN revision: 49046
2010-05-20 04:28:30 +00:00
Mike Blumenkrantz 9031bcbb6c make battery popup go away automatically when time goes above warning threshold
SVN revision: 49013
2010-05-19 17:57:17 +00:00
Mike Blumenkrantz a0dce1af21 popup tweak #2
SVN revision: 49012
2010-05-19 17:53:16 +00:00
Mike Blumenkrantz 1cfa2b2d8c fix annoying battery popups with 99% battery
SVN revision: 49011
2010-05-19 17:51:31 +00:00
Mike Blumenkrantz 9a864815ef update battery module to use new ecore poller functions and avoid destroying poller objects every few seconds
SVN revision: 49003
2010-05-19 09:17:09 +00:00
Mike Blumenkrantz 41359fe6cf workarounds for udev bugs?
SVN revision: 48992
2010-05-19 00:14:00 +00:00
Mike Blumenkrantz 19a2d9cbb7 workaround for unknown battery states
SVN revision: 48990
2010-05-19 00:01:07 +00:00
Christopher Michael 48d8eb4925 Disable 'fuzzy' check when the mode is not udev.
SVN revision: 48989
2010-05-18 23:47:47 +00:00
Mike Blumenkrantz fb6a6462c9 udev: recalc last full charge on update in case battery loses maxlife between module restarts
all: do not display time if full && have power


SVN revision: 48985
2010-05-18 20:15:11 +00:00
Hannes Janetzek df67f5838d ifdef udev
SVN revision: 48978
2010-05-18 14:17:05 +00:00
Mike Blumenkrantz f7f417298b udev mode enabled in battery module (--enable-device-udev) with polling time supported. udev times are extremely accurate AT THE TIME THAT THEY POLL.
I have added what I call "fuzzy mode", which (in udev mode only) averages the past 10 polling times to give a somewhat more readable measurement.
bugs: none that I know of?
todo: make fuzzy mode average the previous 10 times without resetting except on state change, fix "fuzzy mode" checkbox to only enable when udev is selected


SVN revision: 48973
2010-05-18 10:39:30 +00:00
Mike Blumenkrantz bafe1c825f more udev battery progress, seems like a good stopping point for tonight.
still no functionality changes.


SVN revision: 48943
2010-05-17 08:57:47 +00:00
Mike Blumenkrantz e65da68f57 split battery module device backend into separate files to make it more manageable. main.h now has more function protos. dummy conditional added to configure for later use with makefile source file selection.
still no functionality change


SVN revision: 48940
2010-05-17 07:17:59 +00:00
Mike Blumenkrantz e07ccccdab incremental commit towards udev. no functional changes made, udev support still not implemented
SVN revision: 48939
2010-05-17 05:14:50 +00:00
Carsten Haitzler 8692498308 hmm i wonder who broke batget - changed it from 5 to 4 params.
SVN revision: 48915
2010-05-16 15:00:35 +00:00
Sebastian Dransfeld 3b79d0352a battery: add const
SVN revision: 48823
2010-05-13 20:24:36 +00:00
Sebastian Dransfeld 3722782353 battery: stringshare string
SVN revision: 48814
2010-05-13 19:40:12 +00:00
Carsten Haitzler 818ce4694a patch from seb - fix leaked strings.
SVN revision: 48811
2010-05-13 15:28:34 +00:00
Sebastian Dransfeld 6c19119975 revert stringshare code for e_hal
SVN revision: 48673
2010-05-07 18:07:11 +00:00
Sebastian Dransfeld c5109d9b59 e: eina_stringshare_del to clean up
SVN revision: 48672
2010-05-07 18:07:00 +00:00
Mike Blumenkrantz b25f91128f add stringshares, fix dbus return handling to avoid ref loss
SVN revision: 48671
2010-05-07 16:49:46 +00:00