tdepowersave
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127
  1. 2007-09-17 Danny Kukawka <danny.kukawka@web.de>
  2. Tagged new release v0.7.3
  3. 2007-09-17 Danny Kukawka <danny.kukawka@web.de>
  4. * ChangeLog.package: updated for 0.7.3
  5. 2007-09-17 Danny Kukawka <danny.kukawka@web.de>
  6. * packaging/openSUSE10.3.kpowersave.spec: added new SPEC
  7. file for openSUSE 10.3
  8. 2007-09-17 Danny Kukawka <danny.kukawka@web.de>
  9. * po/de.po: Added missing space between text and ellipsis
  10. (...) (see b.n.c #293707)
  11. * NEWS: Updated news file.
  12. 2007-09-17 Danny Kukawka <danny.kukawka@web.de>
  13. Updated language files with min 75% from
  14. forgesvn1.novell.com/svn/suse-i18n/trunk/lcn :
  15. * po/fi.po:
  16. * po/pt.po:
  17. 2007-09-17 Danny Kukawka <danny.kukawka@web.de>
  18. * po/sl_SI.po: added now complete Slovenian po-file from
  19. Jure Repinc <jlp@holodeck1.com>.
  20. 2007-09-17 Danny Kukawka <danny.kukawka@web.de>
  21. Prepared v0.7.3 release:
  22. * ChangeLog.package: Updated package changelog with the
  23. Changelog from the SUSE package
  24. * NEWS: Added news for 0.7.3 release
  25. * README: updated recommended dependencies, updated bugzilla
  26. links.
  27. 2007-09-17 Danny Kukawka <danny.kukawka@web.de>
  28. * po/sl_SI.po: added new (not complete) Slovenian po-file
  29. from Jure Repinc <jlp@holodeck1.com>.
  30. 2007-09-12 Danny Kukawka <danny.kukawka@web.de>
  31. When use DBUS_TYPE_BOOLEAN use as variable type dbus_bool_t
  32. to avoid possible trouble on big endian machines:
  33. * src/dbusHAL.cpp: Replaced int variables with dbus_bool_t.
  34. * src/dbusHAL.h: included dbus/dbus.h
  35. * src/hardware.cpp: Replaced int variables with dbus_bool_t.
  36. 2007-09-11 Danny Kukawka <danny.kukawka@web.de>
  37. * src/screen.cpp: Fixed b.n.c #309491. Fixed code to free
  38. TDEProcess object if gnome-screensaver is running (which
  39. mean unfortunately GNOME is running).
  40. 2007-09-11 Danny Kukawka <danny.kukawka@web.de>
  41. * src/tdepowersave.cpp: Fixed handleACStatusChange(), notify
  42. only if notifyEvent == true. Print notifyEvent on debug.
  43. 2007-09-05 Danny Kukawka <danny.kukawka@web.de>
  44. * src/kpowersave.[cpp,h]: Fixed b.n.c #307431: prevent
  45. send events about AC status change on changes of the
  46. session state.
  47. 2007-09-05 Danny Kukawka <danny.kukawka@web.de>
  48. Prepared KPowersave to work with HAL >= 0.5.10 and the
  49. changed policy/privileges names which KPowersave use to
  50. lookup what is allowed for a user:
  51. * configure.in.in: Added detection of HAL >= 0.5.10
  52. * src/Makefile.am: added privileges.h
  53. * src/hardware.cpp: use now privileges.h defines
  54. * src/privileges.h: New file with defines for the policy
  55. names depending on the HAL version.
  56. 2007-09-03 Danny Kukawka <danny.kukawka@web.de>
  57. Updated language files with min 75% from
  58. forgesvn1.novell.com/svn/suse-i18n/trunk/lcn :
  59. * po/cs.po:
  60. * po/zh_CN.po:
  61. 2007-09-03 Danny Kukawka <danny.kukawka@web.de>
  62. * src/tdepowersave.cpp: Changed function to set the
  63. brightness up/down on vertical wheel events over the applet
  64. icon to use also do_brightnessUp/Down with 5-percentage
  65. steps to avoid problems with machines with a high number
  66. of brightness levels.
  67. 2007-09-03 Danny Kukawka <danny.kukawka@web.de>
  68. Changed return value types due to changes in HAL
  69. (s/DBUS_TYPE_UINT32/DBUS_TYPE_INT32):
  70. * src/dbusHAL.cpp: Changed for suspend calls.
  71. * src/hardware.cpp: Changed for GetBrightness and for
  72. SetPowerSave() calls.
  73. 2007-08-30 Danny Kukawka <danny.kukawka@web.de>
  74. * src/hardware.cpp: Fix an other case of use bool to get
  75. DBUS_TYPE_BOOLEAN variables in currently unused code.
  76. * src/tdepowersave.cpp: Don't use kdFatal() before exit
  77. in kpowersave::kpowersave() otherwise DrKonqi get called.
  78. 2007-08-27 Danny Kukawka <danny.kukawka@web.de>
  79. * src/detaileddialog.cpp: Call setInfos() on AC events
  80. to force update of e.g. scheme and CPU Freq information.
  81. 2007-08-27 Danny Kukawka <danny.kukawka@web.de>
  82. * src/hardware.cpp: Fixed checkConsoleKitSession() again.
  83. Don't use boolean to get DBUS_TYPE_BOOLEAN variables from
  84. D-Bus. This lead to strange results on ix86 (the stange
  85. is: it fails only on free local variables if leave the
  86. function, but only on ix86 and not on x96_64).
  87. 2007-08-26 Danny Kukawka <danny.kukawka@web.de>
  88. * configure.in.in: Cleaned up configure to undefine
  89. ENABLE_YAST_ENTRY if the Yast entry in the applet should
  90. not added as e.g. at openSUSE >= v10.3.
  91. 2007-08-25 Danny Kukawka <danny.kukawka@web.de>
  92. * src/hardware.cpp: Fixed b.n.c #301692 again, but with an
  93. other source of the problem: fixed parameter for D-Bus
  94. call to ConsoleKit to get info if the session is active.
  95. 2007-08-25 Danny Kukawka <danny.kukawka@web.de>
  96. Merged unmerged files with kpowersave.pot:
  97. * po/[ar,bgi,el,es,fr,ja,pt_BR,tr].po:
  98. Removed largely untranslated files from SVN:
  99. * po/[sk,sl_SI].po:
  100. 2007-08-25 Danny Kukawka <danny.kukawka@web.de>
  101. Updated language files with min 80% from
  102. forgesvn1.novell.com/svn/suse-i18n/trunk/lcn :
  103. * po/[cs,nl,pa].po:
  104. New translations from the same repo:
  105. * po/hi.po: Hindi (220/69/27)
  106. * po/lt.po: Lithuanian (243/23/50)
  107. 2007-08-24 Danny Kukawka <danny.kukawka@web.de>
  108. * configure.in.in: Don't check any longer for PolicyKit
  109. >= v0.4, simply check if libhal provide the following
  110. function: libhal_device_is_caller_privileged() to check
  111. if KPowersave should use libhal or the old PolicyKit
  112. D-Bus interface.
  113. 2007-08-23 Danny Kukawka <danny.kukawka@web.de>
  114. * src/hardware.cpp: Fixed possible segfault if the
  115. XDG_SESSION_COOKIE isn't set. Set sessionIsActive to true
  116. in this case and skip the rest of the checks.
  117. 2007-08-20 Danny Kukawka <danny.kukawka@web.de>
  118. Updated language files from
  119. forgesvn1.novell.com/svn/suse-i18n/trunk/lcn :
  120. * po/[da,el,fi,hu,it,km,nb,pa,pl,pt,ru,sv,uk].po:
  121. 2007-08-20 Danny Kukawka <danny.kukawka@web.de>
  122. * src/dbusHAL.[cpp,h]: Added function to check if the
  123. org.freedesktop.Policy.Power has an owner (new function
  124. is isPolicyPowerIfaceOwned()).
  125. * src/hardware.[cpp,h]: Added helper to call
  126. dbusHAL::isPolicyPowerIfaceOwned().
  127. * src/kpowersave.[cpp,h]: Added active session handling
  128. for schemes (don't react on AC state changes if the
  129. session get inactive and apply default schemes based on
  130. AC state if the session get active again).
  131. Changed handleActionCall() to check if the current session
  132. is active and deny request if not. If there is no owner of
  133. org.freedesktop.Policy.Power allow shutdown on battery
  134. critical events.
  135. TODO: Think about the situation if the session get inactive
  136. and there is no owner of org.freedesktop.Policy.Power
  137. 2007-08-20 Danny Kukawka <danny.kukawka@web.de>
  138. * src/hardware.cpp: If the desktop session (if detected
  139. via ConsoleKit) get inactive call releasePolicyPowerIface()
  140. and if the session is active again try to acquire the
  141. org.freedesktop.Policy.Power interface again.
  142. This should happen:
  143. - the session get inactive:
  144. - release org.freedesktop.Policy.Power:
  145. powersaved or if there is an other desktop session
  146. an other KPowersave instance can acquire the name and
  147. handle powermanagement.
  148. - the session get active again:
  149. - the current active KPowersave instance acquire the
  150. interface/name from powersaved (if there is an other
  151. KPowersave instance holding the name it should release
  152. the name ...) and handle powermanagement again.
  153. 2007-08-20 Danny Kukawka <danny.kukawka@web.de>
  154. Added code to detect if we get a NameOwnerChanged signal
  155. from DBus for org.freedesktop.Policy.Power and check if
  156. this KPowersave instance caused the signal.
  157. * src/dbusHAL.[cpp,h]:
  158. * src/hardware.cpp:
  159. 2007-08-20 Danny Kukawka <danny.kukawka@web.de>
  160. * src/dbusHAL.[cpp,h]: Split up the code to acquire the
  161. org.freedesktop.Policy.Power name service to a new own
  162. function. Added new function to release the service
  163. name again. Call now dbus_bus_release_name() if close()
  164. get called.
  165. 2007-08-19 Danny Kukawka <danny.kukawka@web.de>
  166. Updated svn:ignore for src/ to ignore new files.
  167. 2007-08-19 Danny Kukawka <danny.kukawka@web.de>
  168. * src/tdepowersave.cpp: Fix b.n.c #301692, switch schemes
  169. correctly on AC plug in/out events.
  170. 2007-08-17 Danny Kukawka <danny.kukawka@web.de>
  171. Update TODOs (about tasks for new ConsoleKit session
  172. management)
  173. * TODO:
  174. * src/tdepowersave.cpp:
  175. 2007-08-17 Danny Kukawka <danny.kukawka@web.de>
  176. * src/hardware.cpp: Don't emit events for: power, sleep
  177. and s2disk button if the session is inactive.
  178. 2007-08-17 Danny Kukawka <danny.kukawka@web.de>
  179. * src/hardware.cpp: Fixed commit r3046: really ignore
  180. the brightness up/down key event if session inactive.
  181. 2007-08-17 Danny Kukawka <danny.kukawka@web.de>
  182. * src/kpowersave.[cpp,h]: Handle desktopSessionIsActive()
  183. signal from class HardwareInfo:
  184. - stop/start autosuspend and autodimm depending on the
  185. session state
  186. - don't call may configured actions for the lidclose event
  187. if the session is inactive.
  188. 2007-08-17 Danny Kukawka <danny.kukawka@web.de>
  189. * src/hardware.[cpp,h]: Added new function to get the
  190. private sessionIsActive.
  191. Ignore brightness up/down key events from HAL if the
  192. session is marked as inactive.
  193. 2007-08-17 Danny Kukawka <danny.kukawka@web.de>
  194. Implemented code to check on ConsoleKit vi D-Bus if the
  195. current desktop session is active and monitor if the
  196. state change.
  197. * src/dbusHAL.[cpp,h]: Listen to D-Bus if the state of the
  198. session change and inform class HardwareInfo about the
  199. change.
  200. * src/hardware.[cpp,h]: Added new function to get the name
  201. and the state of the current Session from ConsoleKit.
  202. Added code into the DBus event filter function to detect
  203. if the state change and send a new signal if this happen.
  204. TODO: Integrate this into class kpowersave to stop e.g.
  205. autosuspend and autodimm if the session get
  206. inactive.
  207. 2007-08-17 Danny Kukawka <danny.kukawka@web.de>
  208. Comment out variable names of unused function parameters
  209. and remove no longer needed checks to prevent compiler
  210. warnings:
  211. * src/dbusHAL.cpp:
  212. * src/inactivity.cpp:
  213. * src/tdepowersave.cpp:
  214. 2007-08-17 Danny Kukawka <danny.kukawka@web.de>
  215. * po/de.po: Updated german language file.
  216. 2007-08-17 Danny Kukawka <danny.kukawka@web.de>
  217. * src/countdown_Dialog.ui: removed include hints
  218. 2007-08-16 Danny Kukawka <danny.kukawka@web.de>
  219. * src/hardware.cpp: Fix parameter types for call
  220. SetPowerSave() on HAL.
  221. 2007-08-16 Danny Kukawka <danny.kukawka@web.de>
  222. * src/hardware.cpp: Comment out calls of
  223. getSchedPowerSavings(), the needed HAL interface didn't
  224. make it into HAL yet.
  225. 2007-08-16 Danny Kukawka <danny.kukawka@web.de>
  226. * src/dbusHAL.cpp: Show some debug messages only if
  227. kpowersave started with --dbg-trace.
  228. 2007-08-16 Danny Kukawka <danny.kukawka@web.de>
  229. Finished work on new Autosuspend warn/countdown dialog
  230. to fix bug/feature request from b.n.c #182609:
  231. * src/config/kpowersaverc_default: Added new config
  232. variables to enable/disable the dialog and to set the
  233. time how long the countdown should be.
  234. * src/settings.[cpp,h]: integrate them into general
  235. settings.
  236. * src/countdown_Dialog.ui: Fixed dialog to resize
  237. correctly.
  238. * src/countdowndialog.cpp: Init Progressbar before show
  239. up the dialog, set dialog caption, adjust the size and
  240. call show().
  241. * src/dummy.cpp: removed no longer in this file needed
  242. strings.
  243. * src/kpowersave.[cpp,h]: Integrate the dialog in the
  244. logic for start/setup and handle autosuspend.
  245. 2007-08-15 Danny Kukawka <danny.kukawka@web.de>
  246. * src/hardware.cpp: Fix code to set brightness up/down
  247. and add some debug code. This should fix b.n.c #282640.
  248. 2007-08-14 Danny Kukawka <danny.kukawka@web.de>
  249. * src/configuredialog.cpp: Fix pB_resetBrightness_clicked()
  250. to use hwinfo->setBrightness() correctly (set level and
  251. not percentage with level).
  252. 2007-08-14 Danny Kukawka <danny.kukawka@web.de>
  253. * src/hardware.cpp: Change type of parameter of
  254. SetPowerSave() on HAL to from DBUS_TYPE_BOOLEAN to
  255. DBUS_TYPE_INT32.
  256. 2007-08-14 Danny Kukawka <danny.kukawka@web.de>
  257. Extended and added new debug message for CPU code in the
  258. detailed dialog to trace problems within Virtualbox.
  259. * src/detaileddialog.cpp:
  260. * src/hardware_cpu.cpp:
  261. 2007-08-13 Danny Kukawka <danny.kukawka@web.de>
  262. * src/hardware.[cpp,h]: Maked isCpuFreqAllowed() not
  263. const to be able to check the Policy on each call directly
  264. from libhal.
  265. * src/tdepowersave.cpp: Don't enable 'CPU Freq Policy' entry
  266. in the applet menu if we know KPowersave isn't allowed to
  267. call the interface on HAL.
  268. 2007-08-13 Danny Kukawka <danny.kukawka@web.de>
  269. * src/dbusHAL.[cpp,h]: Extended isUserPrivileged()
  270. depending on USE_LIBHAL_POLICYCHECK to ask HAL if the
  271. user is privileged to call a interface.
  272. * src/hardware.[cpp,h]: Ported existing calls of
  273. dbusHAL::isUserPrivileged() to changed function param.
  274. Added new checks for Brightness/SetPowersave HAL calls
  275. if USE_LIBHAL_POLICYCHECK is defined (because they didn't
  276. exist in the old HAL < 0.5.10)
  277. 2007-08-13 Danny Kukawka <danny.kukawka@web.de>
  278. * configure.in.in: Changed detection if we need to call
  279. new PolicyKit/HAL instead of PolicyKit D-Bus daemon to
  280. check for libhal_device_is_caller_privileged() in libhal.
  281. 2007-08-13 Danny Kukawka <danny.kukawka@web.de>
  282. * configure.in.in: Added checks for HAL >= 0.5.10 and
  283. PolicyKit >= 0.4 to check if we have to ask HAL if the
  284. user is privileged instead of the no longer existing
  285. PolicyKit D-Bus daemon.
  286. 2007-08-13 Danny Kukawka <danny.kukawka@web.de>
  287. Moved code to set brightness a step up/down from class
  288. kpowersave to HardwareInfo.
  289. * src/hardware.[cpp,h]: Use new function to set brightness
  290. up/down on keyevents.
  291. * src/tdepowersave.cpp: Forward on dcop call to new
  292. functions in class HardwareInfo.
  293. 2007-08-12 Danny Kukawka <danny.kukawka@web.de>
  294. * configure.in.in: Fix detection of the SUSE distributions
  295. to fix value of ENABLE_YAST_ENTRY. Since openSUSE 10.3 there
  296. is no longer a powermanagement module in Yast.
  297. This should fix b.n.c #299577.
  298. 2007-08-12 Danny Kukawka <danny.kukawka@web.de>
  299. * src/Makefile.am: Added countdown dialog related files.
  300. * src/countdown_Dialog.ui: Added Pixmap object and changed
  301. Progressbar from QProgressBar to KProgress.
  302. * src/countdowndialog.[cpp,h]: Finished code for the
  303. countdown dialog.
  304. 2007-08-10 Danny Kukawka <danny.kukawka@web.de>
  305. * src/eventsrc: Added new events (autodimm down/up, brigtness
  306. key up/down) for translation we may use in the future.
  307. 2007-08-10 Danny Kukawka <danny.kukawka@web.de>
  308. * po/kpowersave.pot: Updated pot file from current code.
  309. 2007-08-10 Danny Kukawka <danny.kukawka@web.de>
  310. * src/dummy.cpp: SUSE 'string freeze' for 10.3 is comming.
  311. Added some new strings we may need later for some planed
  312. features.
  313. 2007-08-09 Danny Kukawka <danny.kukawka@web.de>
  314. * src/tdepowersave.cpp: Added missing '<< endl' to a kdDebug()
  315. call to prevent crash of KPowersave directly before exit(-1).
  316. This fix b.n.c #298332
  317. 2007-08-09 Danny Kukawka <danny.kukawka@web.de>
  318. Added initial files for new dialog shown (30 sec) before the
  319. machine go into autosuspend. The code is not running atm.:
  320. * src/countdown_Dialog.ui:
  321. * src/countdowndialog.[cpp,h]:
  322. * src/tdepowersave.cpp: added missing debug call.
  323. 2007-07-30 Danny Kukawka <danny.kukawka@web.de>
  324. * src/tdepowersave.cpp: Fixed show suspend log for SLED/SLES,
  325. show the powersave related logs. This go not into the CODE10
  326. branch for now.
  327. 2007-07-29 Danny Kukawka <danny.kukawka@web.de>
  328. * src/tdepowersave.cpp: Fixed typo which prevented show up
  329. the logviewer dialog if suspend fail and pm-utils return
  330. a value != (0|INT_MAX).
  331. 2007-07-29 Danny Kukawka <danny.kukawka@web.de>
  332. * src/hardware.cpp: Fixed typo to use correct variable.
  333. * src/kpowersave.[cpp,h]: Added three new dcop functions to
  334. get the current brightness (in percentage) and to set the
  335. brightness up and down. For the new brightness up/down
  336. functions the default step is +/- 10%, but you can change
  337. this via the function parameter. If the step not change the
  338. brightness level the default is +/- one level to have a
  339. change.
  340. 2007-07-26 Danny Kukawka <danny.kukawka@web.de>
  341. * src/tdepowersave.cpp: Speed-up dimm brightness up if the user
  342. get active again. Try to dimm up within 750 ms instead of
  343. 1500.
  344. 2007-07-26 Danny Kukawka <danny.kukawka@web.de>
  345. * src/dbusHAL.h: Code docu update.
  346. 2007-07-25 Danny Kukawka <danny.kukawka@web.de>
  347. * doc/pt/*: removed Portuguese version of the doc to reduce
  348. package size since the doc only contain one translated
  349. paragraph.
  350. 2007-07-25 Danny Kukawka <danny.kukawka@web.de>
  351. Replaced s/char */const char */ of function parameter types to
  352. prevent compiler warnings:
  353. warning: deprecated conversion from string constant to 'char*'
  354. * src/dbusHAL.[cpp,h]: in dbusMethodCallSuspend()
  355. * src/hardware.[cpp,h]: in setCPUFreqGovernor()
  356. 2007-07-25 Danny Kukawka <danny.kukawka@web.de>
  357. Removed <includehints/> tags from UI files (caused warnings).
  358. * src/detailed_Dialog.ui:
  359. * src/log_viewer.ui:
  360. * src/hardware.h: Fixed typo in code docu.
  361. 2007-07-24 Danny Kukawka <danny.kukawka@web.de>
  362. * src/hardware.h: Make checkBrightness() to a private SLOT.
  363. 2007-07-24 Danny Kukawka <danny.kukawka@web.de>
  364. * src/hardware.cpp: Reduce calls of checkBrightness() in the
  365. setBrightness() function. Only call the check if brightness
  366. is currently not supported (as fallback check).
  367. Added code to monitor if a laptop_panel* property get changed,
  368. e.g. if key get removed. Call checkBrightness() in this case
  369. to prevent problems with state of brightness support.
  370. 2007-07-24 Danny Kukawka <danny.kukawka@web.de>
  371. * src/hardware.cpp: Cleanup setBrightness() to check always
  372. the current brightness before return.
  373. 2007-07-24 Danny Kukawka <danny.kukawka@web.de>
  374. Fixed brightness handling. HardwareInfo::brightness is now
  375. only true if laptop_panel.num_levels >= 2. This should fix
  376. some reported problems with DELL machines which have only one
  377. brightness level available.
  378. * src/configuredialog.cpp:
  379. * src/configuredialog.h:
  380. * src/detaileddialog.cpp:
  381. * src/hardware.cpp:
  382. 2007-07-24 Danny Kukawka <danny.kukawka@web.de>
  383. * src/config/kpowersaverc_default: set autoDimmTo=50 as
  384. default value for: default-scheme, Performance and Acoustic
  385. scheme
  386. * src/hardware_battery.cpp: Cast to float for internal
  387. calculation to avoid false values.
  388. 2007-07-24 Danny Kukawka <danny.kukawka@web.de>
  389. * src/autodimm.cpp: Added missing code documentation.
  390. 2007-07-24 Danny Kukawka <danny.kukawka@web.de>
  391. * src/autodimm.cpp: Fixed QTimer start parameter and moved
  392. some code around.
  393. * src/autodimm.h: make startCheckForActivity() public to
  394. handle this from outside the class.
  395. * src/configuredialog.cpp: Activate autodimm feature in the
  396. configure dialog.
  397. * src/tdepowersave.cpp: Fixed dimm level handling (use float for
  398. calculation to avoid invalid values). Reset autodimm if the
  399. user is active again.
  400. 2007-07-23 Danny Kukawka <danny.kukawka@web.de>
  401. * src/kpowersave.[cpp,h]: added new function setAutoDimm() and
  402. integrated autoDimm feature into the workflow.
  403. NOTE: This feature is complete untested at the moment.
  404. 2007-07-23 Danny Kukawka <danny.kukawka@web.de>
  405. Make stop autosuspend before suspend/after resume more robust:
  406. * src/inactivity.cpp: Be sure that timeToInactivity has a
  407. usefull value (> 0) before check for inactivity. This should
  408. force to stop every running check if stop() was called, where
  409. timeToInactivity was set to 0 after stop the running QTimer.
  410. * src/tdepowersave.cpp: Added additional call of stop() if
  411. resumed.
  412. 2007-07-23 Danny Kukawka <danny.kukawka@web.de>
  413. * src/tdepowersave.cpp: Fixed autodimm related signacl connect
  414. and added new connect for the case if the user get active
  415. again.
  416. * src/kpowersave.h: Added code documentation.
  417. 2007-07-23 Danny Kukawka <danny.kukawka@web.de>
  418. * src/kpowersave.[cpp,h]: Added new functions do dimm up
  419. and down the brightness, needed for autodimm.
  420. 2007-07-03 Danny Kukawka <danny.kukawka@web.de>
  421. Added autodimm settings to the configure dialog and the
  422. settings class.
  423. * src/config/kpowersaverc_default: added default settings
  424. * src/configure_Dialog.ui:
  425. * src/configuredialog.[cpp,h]:
  426. * src/settings.[cpp,h]:
  427. * src/pics/cr22-action-autodimm.png: added new icon.
  428. NOTE: This is currently disabled in the configure dialog
  429. until the real autodimm functions are integrated.
  430. TODO: Add functions to autodimm the display brightness down.
  431. 2007-07-02 Danny Kukawka <danny.kukawka@web.de>
  432. * kpowersave.tdevelop: Changed settings to abort on errors.
  433. * src/Makefile.am: Fixed typo to compile autodimm class.
  434. * src/autodimm.[cpp,h]: Added new code to autodimm to check
  435. if the user is active again. Currently the code poll each
  436. second the XScreenSaverInfo extension to detect if the user
  437. start again to use the mouse/keyboard.
  438. TODO: Check if 1 second is the correct/useful intervall.
  439. 2007-07-02 Danny Kukawka <danny.kukawka@web.de>
  440. * src/inactivity.cpp: SILENT: moved code within the file.
  441. 2007-07-01 Danny Kukawka <danny.kukawka@web.de>
  442. * src/hardware.cpp:Changed get-/setSchedPowerSavings() to use
  443. bool instead of int for parameter and return values.
  444. 2007-07-01 Danny Kukawka <danny.kukawka@web.de>
  445. * src/Makefile.am: Added new files to make.
  446. * src/autodimm.[cpp,h]: Added new empty files for new planed
  447. autodimm feature.
  448. 2007-07-01 Danny Kukawka <danny.kukawka@web.de>
  449. * src/hardware.cpp: removed TODOs and replaces with info about
  450. possible values for the new get-/setSchedPowerSavings()
  451. functions. The kernel only allow 0/1 as parameter.
  452. TODO: Discuss with <caglar@pardus.org.tr> about change the
  453. type of param/retval of the HAL methodes to boolean
  454. 2007-06-30 Danny Kukawka <danny.kukawka@web.de>
  455. * src/hardware.[cpp,h]: Added basic functions to support
  456. 'mc/smt power savings sched policy' via hopefully upcomming new
  457. HAL functions GetSchedPowerSavings()/SetSchedPowerSavings()
  458. TODO: check the allowed parameter and return values of the
  459. kernel (in sysfs) and may change the existing HAL patch to
  460. work with boolean instead of integer
  461. 2007-06-26 Danny Kukawka <danny.kukawka@web.de>
  462. * src/tdepowersave.cpp: comment out some code
  463. 2007-06-18 Danny Kukawka <danny.kukawka@web.de>
  464. * src/config/kpowersaverc_default: Added callSetPowerSaveOnAC
  465. with default value true.
  466. * src/tdepowersave.cpp: Call setPowerSave() in setSchemeSettings()
  467. to be sure it get set on startup correctly.
  468. * src/settings.[cpp,h]: Added new config variable to enable/
  469. disable call SetPowerSave() on HAL depending on the AC state
  470. (callSetPowerSaveOnAC for [General] section)
  471. 2007-06-18 Danny Kukawka <danny.kukawka@web.de>
  472. Fixed debug messages:
  473. * src/dbusHAL.cpp:
  474. * src/hardware.cpp:
  475. 2007-06-17 Danny Kukawka <danny.kukawka@web.de>
  476. * src/inactivity.cpp: Fix Segmentation Fault from b.n.c bug
  477. #284622.
  478. 2007-06-13 Danny Kukawka <danny.kukawka@web.de>
  479. * src/tdepowersave.cpp: removed one more useless *.latin() from
  480. debug messages.
  481. 2007-06-13 Danny Kukawka <danny.kukawka@web.de>
  482. * po/ar.po: Added new Arabic language file from Youssef Chahibi
  483. <chahibi@gmail.com>
  484. 2007-06-13 Danny Kukawka <danny.kukawka@web.de>
  485. * src/hardware.cpp: Remove laptop_panel entry from the
  486. QDict<QString> udis if no device with laptop_panel found. This
  487. should prevent problems if the laptop panel device get removed
  488. from HAL.
  489. 2007-06-13 Danny Kukawka <danny.kukawka@web.de>
  490. * src/hardware.cpp: Added code to react if a latop panel device
  491. get added/remove. Added also all device_type values to the
  492. switch of the HAL_DEVICE case.
  493. Removed several *.latin1() calls due to new usage of kdDebug().
  494. * src/hardware.h: Added new value to enum device_type for laptop
  495. panels (for brightness).
  496. 2007-06-13 Danny Kukawka <danny.kukawka@web.de>
  497. * src/dbusHAL.cpp: Make the code easier by group initial checks
  498. for HAL/D-Bus connection and parameter checks, add goto's to
  499. reduce kdDebugFuncOut() codelines before each return.
  500. This include also some whitespace/tab replacements.
  501. 2007-06-12 Danny Kukawka <danny.kukawka@web.de>
  502. * kpowersave.tdevelop: Magic change with new version ...
  503. Moved kpowersave to use functions from kdebug.h instead of own
  504. myDebug() macro. Added some smaller marcos to: trace function
  505. entry and leave points and to add time infos to output of
  506. e.g. kdDebug() (funcinfo). Via kpowersave option --dbg-trace
  507. the user can enable (additional ) function tracing. This should
  508. fix sf.net feature request #1721072.
  509. * src/autosuspend.cpp:
  510. * src/configuredialog.cpp:
  511. * src/dbusHAL.cpp:
  512. * src/detaileddialog.cpp:
  513. * src/hardware.cpp:
  514. * src/hardware_battery.cpp:
  515. * src/hardware_batteryCollection.cpp:
  516. * src/hardware_cpu.cpp:
  517. * src/inactivity.cpp:
  518. * src/kpowersave.[cpp,h]:
  519. * src/tdepowersave_debug.h:
  520. * src/main.cpp:
  521. * src/screen.cpp:
  522. 2007-05-10 Danny Kukawka <danny.kukawka@web.de>
  523. * src/hardware.[cpp,h]: Added code to stop the elapsed time
  524. between suspend call and the resume event. Emit in this case
  525. resumed(INT_MAX) from HardwareInfo::handleResumeSignal() to
  526. allow us to guess better if this was really the much-loved
  527. 6 hour D-Bus timeout.
  528. * src/tdepowersave.cpp: Changed debug message from myDebug()
  529. to qdebug() and extended the message text if we assume the
  530. resume error is a D-Bus timeout.
  531. 2007-05-10 Danny Kukawka <danny.kukawka@web.de>
  532. * src/dbusHAL.cpp: Added code to check if the returned
  533. message is really DBUS_MESSAGE_TYPE_METHOD_RETURN as
  534. expected.
  535. * src/hardware.cpp: Changed debug message due to a bug in
  536. HAL or the spec: SetPowerSave() doesn't return a INT32 but
  537. BOOLEAN.
  538. 2007-05-10 Danny Kukawka <danny.kukawka@web.de>
  539. * src/dbusHAL.cpp: added TODO
  540. * src/hardware.[cpp,h]: Fixed call for SetPowerSave to get
  541. also the returnvalue from the HAL method.
  542. 2007-05-10 Danny Kukawka <danny.kukawka@web.de>
  543. * src/hardware.[cpp,h]: Make also AC Adapter events
  544. intependent from QT3/DBus event loop.
  545. 2007-05-09 Danny Kukawka <danny.kukawka@web.de>
  546. * TODO: updated/cleaned up TODOs
  547. 2007-05-09 Danny Kukawka <danny.kukawka@web.de>
  548. * src/hardware.[cpp,h]: Added support to handle brightness
  549. key events if the machine not already handle this in the
  550. hardware directly (as e.g. IBM/Lenovo Thinkpads).
  551. There is no configuration for this feature. The events get
  552. directly translated to change the level +-1 level per
  553. key event.
  554. 2007-05-03 Danny Kukawka <danny.kukawka@web.de>
  555. * src/screen.cpp: Add debug message and code comment.
  556. 2007-05-02 Danny Kukawka <danny.kukawka@web.de>
  557. * src/config/kpowersaverc_default: Change default timeout
  558. to fake keyevent for locked screen to 2.5 seconds
  559. * src/tdepowersave.cpp: Changed behavior and timeouts to
  560. fake keyevents if screen is locked and if resume/open Lid
  561. to use activateLoginScreen() function and to check first
  562. if timeToFakeKeyAfterLock >= 0. This allow the user to
  563. deactivate the faked key events by set value for configkey
  564. timeToFakeKeyAfterLock to -1 in the [General] section.
  565. 2007-05-02 Danny Kukawka <danny.kukawka@web.de>
  566. * src/hardware.h: set checkLidcloseState() as private slot.
  567. 2007-05-02 Danny Kukawka <danny.kukawka@web.de>
  568. * src/configuredialog.cpp: Fix detection if brightness
  569. changes are really supported. If max. level of brightness
  570. -1 is <= 0 brightness changes are now unsupported. If the
  571. result is > 0 it is supported. Thanks to Dawid Wróbel
  572. <cromo@klej.net> for report and help to find the problem.
  573. 2007-05-02 Danny Kukawka <danny.kukawka@web.de>
  574. * src/configuredialog.cpp: Add debug messages to trace the
  575. function calls.
  576. 2007-04-24 Danny Kukawka <danny.kukawka@web.de>
  577. * src/hardware.cpp: Fixed b.n.c bug #266243. Check if
  578. info.capability contains laptop_panel instead of check for
  579. info.category=laptop_panel because not all machines which
  580. provide capability to change brightness have info.category
  581. correct set in HAL atm.
  582. 2007-04-22 Danny Kukawka <danny.kukawka@web.de>
  583. * src/hardware.[cpp,h]: Added new function to set a CPUFreq
  584. governor via DBus call to avoid code duplication. Added
  585. new QStringList for dynamic CPUFreq and iter about the
  586. list to set a governor.
  587. Ported patch from Andreas Schwab <schwab@suse.de> for
  588. b.n.c #229234, get return value from call for set CPUFreq
  589. governor (Could not reproduce the problem!).
  590. 2007-04-16 Danny Kukawka <danny.kukawka@web.de>
  591. * src/inactivity.[cpp,h]: Added new function and moved code
  592. from checkXInactivity() to getXInactivity() to be able to
  593. reuse the code in derived classes.
  594. 2007-04-13 Danny Kukawka <danny.kukawka@web.de>
  595. * src/tdepowersave.cpp: Only go to suspend on a button event
  596. if we already resumed successful. This should solve problems
  597. if we get may e.g. a event for the powerbutton if there
  598. machine was waked up via power button which could lead to
  599. a second suspend.
  600. 2007-04-12 Danny Kukawka <danny.kukawka@web.de>
  601. * src/tdepowersave.cpp: Fixed resume behavior. If KPowersave
  602. assume that a timeout for the suspend call happend do the
  603. same as on succesful resume including remount, but print a
  604. debug message.
  605. 2007-04-12 Danny Kukawka <danny.kukawka@web.de>
  606. * src/hardware.[cpp,h]: Fixed usage of enum cpufreq_type.
  607. Pointed out by Doug Goldstein <cardoe@gentoo.org>. Enum isn't
  608. int - it's (8bit) char, enum = int would lead to a segmentation
  609. fault. It's not allowed/possible in C++. Added new
  610. 'UNKNOWN_CPUFREQ = -1' to the enum and use this instead of -1.
  611. Changed also the type of currentCPUFreqPolicy and the
  612. return type of checkCurrentCPUFreqPolicy() to cpufreq_type.
  613. This should fix problems where we can't access the CPUFreq
  614. interface on HAL e.g. because of the new ConsoleKit.
  615. 2007-04-11 Danny Kukawka <danny.kukawka@web.de>
  616. * src/kpowersave.h: update Copyright header to the same as
  617. the cpp file. Removed not needed include.
  618. 2007-04-11 Danny Kukawka <danny.kukawka@web.de>
  619. * src/kpowersave.[cpp,h]: Removed no longer used code for the
  620. suspend dialog we used to show the progress while suspend with
  621. powersaved.
  622. 2007-04-11 Danny Kukawka <danny.kukawka@web.de>
  623. * src/tdepowersave.cpp: cleanup doubled code, use existing
  624. function showDetailedDialog() to show detailed dialog on
  625. mousePressEvent()
  626. 2007-04-10 Danny Kukawka <danny.kukawka@web.de>
  627. Cleanup class kpowersave - moved code to reset XScreensaver
  628. to class screen where already also all the screensaver stuff
  629. is located:
  630. * src/kpowersave.[cpp,h]:
  631. * src/screen.[cpp,h]:
  632. 2007-04-10 Danny Kukawka <danny.kukawka@web.de>
  633. * src/tdepowersave.cpp: Removed notifyAutosuspend() and moved
  634. code to do_autosuspend() this should prevent two connects to
  635. the same event - can do this all better in one function.
  636. Call delete() also for autosuspend on destructor.
  637. 2007-04-10 Danny Kukawka <danny.kukawka@web.de>
  638. * src/logviewer.cpp: Include moc file. Fixed possible file
  639. descriptor leak.
  640. 2007-04-10 Laurent Montel <lmontel@mandriva.com>
  641. Fixed several memory leaks and removed checks for pointer which
  642. are NULL before call delete(), because this is waht delete()
  643. also do internly:
  644. * src/inactivity.cpp:
  645. * src/tdepowersave.cpp:
  646. * src/screen.cpp:
  647. * src/screen.h:
  648. * src/settings.cpp:
  649. 2007-04-10 Danny Kukawka <danny.kukawka@web.de>
  650. * src/configuredialog.cpp: Applied slightly adopted patch from
  651. Laurent Montel <lmontel@mandriva.com> to avoid problems with
  652. html tags in KMessageBox dialog text.
  653. 2007-04-10 Danny Kukawka <danny.kukawka@web.de>
  654. Moved all moc includes to end of cpp-files, added some code
  655. comments and smaller code formatting changes:
  656. * src/autosuspend.[cpp,h]:
  657. * src/blacklisteditdialog.cpp:
  658. * src/configuredialog.cpp:
  659. * src/dbusHAL.cpp:
  660. * src/hardware.cpp:
  661. * src/hardware_battery.cpp:
  662. * src/hardware_batteryCollection.cpp:
  663. * src/inactivity.cpp:
  664. * src/infodialog.cpp:
  665. * src/screen.cpp:
  666. 2007-04-10 Laurent Montel <lmontel@mandriva.com>
  667. Make moc files being included to speed up build and to fix some
  668. parallel build issues:
  669. * src/autosuspend.cpp:
  670. * src/dbusHAL.cpp:
  671. * src/hardware.cpp:
  672. * src/hardware_battery.cpp:
  673. * src/hardware_batteryCollection.cpp:
  674. * src/hardware_cpu.cpp:
  675. * src/inactivity.cpp:
  676. * src/screen.cpp:
  677. 2007-04-10 Danny Kukawka <danny.kukawka@web.de>
  678. Moved unused string to dummy class for later reuse.
  679. * src/configuredialog.cpp:
  680. * src/dummy.cpp:
  681. 2007-04-10 Danny Kukawka <danny.kukawka@web.de>
  682. Updated file templates:
  683. * templates/cpp:
  684. * templates/h:
  685. 2007-04-09 Danny Kukawka <danny.kukawka@web.de>
  686. * src/hardware.cpp: Slightly changed checkCurrentCPUFreqPolicy()
  687. to avoid problems if the DBus call return something wrong or
  688. nothing (as e.g. NULL).
  689. 2007-04-09 Danny Kukawka <danny.kukawka@web.de>
  690. * src/dbusHAL.cpp: make isUserPrivileged() more robust to
  691. avoid possible segmentation faults.
  692. 2007-04-03 Danny Kukawka <danny.kukawka@web.de>
  693. Fixed problems with current battery warning level if the
  694. values for the level get changed via the config dialog:
  695. * src/hardware.cpp: Call refreshInfo() for the primary
  696. battery collection if the warning levels get set/changed and
  697. force the recheck of the current level.
  698. * src/hardware_batteryCollection.[cpp,h]: Added new parameter
  699. to refreshInfo to force recheck the battery warning levels also
  700. if the percentage of the battery not changed. This would help
  701. to get the actual warning level due to changes in the settings
  702. for the level immediately after the change.
  703. 2007-04-03 Danny Kukawka <danny.kukawka@web.de>
  704. * src/hardware.[cpp,h]: Add new helper functions/SLOTS to
  705. forward the events for Power, Suspend and s2disk buttons and the
  706. lidclose event. Changed current code to emit the Q_SIGNALS not
  707. directly but to call a QTimer:singleShot() with the new SLOTS
  708. instead. This should make the eventhandling from QT3 D-Bus
  709. bindings independent from the event loop (including may
  710. blocking dialogs in KPowersave).
  711. This fix hopefully fix b.n.c #256372.
  712. 2007-03-26 Danny Kukawka <danny.kukawka@web.de>
  713. * src/tdepowersave.cpp: Applied patch from Laurent Montel
  714. <lmontel@mandriva.com> to avoid double translation.
  715. 2007-03-26 Danny Kukawka <danny.kukawka@web.de>
  716. * src/tdepowersave.cpp: Applied patch from Laurent Montel
  717. <lmontel@mandriva.com> to fix problems with error messages
  718. from the KDE Media Manager, which can be formated with html-
  719. tags.
  720. Added comment to code about the change.
  721. 2007-03-26 Danny Kukawka <danny.kukawka@web.de>
  722. * src/tdepowersave.cpp: Fixed b.n.c bug #257326. Ignore battery
  723. warnings if the machine is on AC. This case can happen if e.g
  724. the battery charging state is not up-to-date if we get the low
  725. level warnings.
  726. 2007-03-22 Danny Kukawka <danny.kukawka@web.de>
  727. * src/tdepowersave.cpp: Applied slightly adopted patch from
  728. caglar@pardus.org.tr to show log of pm-utils on Pardus.
  729. 2007-03-22 Danny Kukawka <danny.kukawka@web.de>
  730. * src/config/kpowersaverc_default: Added wodim to autosuspend
  731. blacklist.
  732. 2007-03-22 Danny Kukawka <danny.kukawka@web.de>
  733. * src/tdepowersave.cpp: Stop autosuspend before call suspend and
  734. also if autosuspend get disabled (this worked also before and
  735. produced no unintentional suspend because this was checked before
  736. the suspend get called). I could not reproduce this bug reported
  737. for (K)Ubuntu: https://launchpad.net/bugs/94396, but it maybe help.
  738. 2007-03-16 Danny Kukawka <danny.kukawka@web.de>
  739. Fixed Debian bug #413811 and display message to the user if the
  740. suspend/resume fail:
  741. * src/kpowersave.[cpp,h]: Added new function forwardResumeSignal()
  742. to independent handleResumeSignal() from the event loop to avoid
  743. problems with QT3 D-Bus bindings. Emit KNotify before handle the
  744. error codes. If a error occurs display a KMessageBox::error() to
  745. the user. If the system is a SUSE product offer the user to show
  746. the /var/log/pm-suspend.log file and save the file.
  747. NOTE: - if other distributions want to show the log to the user
  748. they have to provide code.
  749. - pm-utils currently always return 0, also on failure,
  750. need a fixe in pm-utils to get a error code
  751. 2007-03-16 Danny Kukawka <danny.kukawka@web.de>
  752. * src/logviewer.cpp: fixed check if we can use the filename
  753. given by to user to save the logfile. Continue if the filname is
  754. available.
  755. 2007-03-16 Danny Kukawka <danny.kukawka@web.de>
  756. * src/tdepowersave.cpp: ident changes
  757. 2007-03-16 Danny Kukawka <danny.kukawka@web.de>
  758. * src/kpowersave.[cpp,h]: s/KPOWERSAVE_CONFIGURE_/CONFIGURE_/
  759. 2007-03-16 Danny Kukawka <danny.kukawka@web.de>
  760. Added new dialog to show log files:
  761. * src/Makefile.am: added new files
  762. * src/kpowersave.[cpp,h]: small cleanups and added pointer to new
  763. class.
  764. * src/log_viewer.ui: UI file of the new dialog
  765. * src/logviewer.[cpp,h]: Implementation of new logviewer dialog
  766. with option to save the logfile to a user-selectable file.
  767. 2007-03-15 Danny Kukawka <danny.kukawka@web.de>
  768. * kpowersave.tdevelop: again a minor tdevelop change
  769. * src/tdepowersave.cpp: Fixed Debian bug #413638: if config dialog
  770. is minimized and the user try to start config dialog via applet
  771. reactivate the dialog.
  772. 2007-03-12 Danny Kukawka <danny.kukawka@web.de>
  773. * src/kpowersave.[cpp,h]: Added helper funtion to translate the
  774. type of a suspend to a usefull i18n()-string. Replace existing
  775. code. Added a debug msg if suspend/resume fail.
  776. 2007-03-12 Danny Kukawka <danny.kukawka@web.de>
  777. * src/tdepowersave.cpp: Applied patch from Andreas Schwab
  778. <schwab@suse.de> to avoid possible segmentation fault.
  779. 2007-03-09 Danny Kukawka <danny.kukawka@web.de>
  780. Fixed event message for scheme switching.
  781. * src/eventsrc: Removed 'Powersave' from generic and german
  782. message (need new translations for the rest). Removed complete
  783. message event handling for no longer existing "Advanced Powersave"
  784. scheme.
  785. * src/tdepowersave.cpp: removed 'Powersave' from message
  786. 2007-03-09 Danny Kukawka <danny.kukawka@web.de>
  787. Updated dates in copyright headers:
  788. * src/dbusHAL.[cpp,h]:
  789. * src/detaileddialog.cpp:
  790. * src/hardware*.[cpp,h]:
  791. * src/inactivity.cpp:
  792. * src/tdepowersave.cpp:
  793. * src/main.cpp:
  794. * src/screen.[cpp,h]:
  795. 2007-03-09 Danny Kukawka <danny.kukawka@web.de>
  796. * src/dbusHAL.cpp: emit signal about resume first if the
  797. pending call and the messages get unrefed.
  798. 2007-02-28 Danny Kukawka <danny.kukawka@web.de>
  799. * src/detaileddialog.cpp: Fixed by Jozef Sakáloš
  800. <jsakalos@aariadne.com> reported bug about wrong unit for
  801. power consumption. Since HAL not provide info about the unit
  802. of battery.*.rate keys, I removed simply the 'h' from the
  803. unit string reported by HAL for the battery level keys.
  804. 2007-02-22 Danny Kukawka <danny.kukawka@web.de>
  805. * packaging/mandriva.2007.1.kpowersave.spec: Due to f***ing
  806. package name conventions for 64bit on Mandriva added more
  807. %ifarch calls for required packages to spec file.
  808. 2007-02-22 Danny Kukawka <danny.kukawka@web.de>
  809. Renamed mdk.cooker.*.spec to mandriva.2006.1.*.spec and added
  810. new spec file for Mandriva Cooker 2007.1
  811. * packaging/mandriva.2006.1.kpowersave.spec:
  812. * packaging/mandriva.2007.1.kpowersave.spec:
  813. * packaging/mdk.cooker.kpowersave.spec:
  814. 2007-02-22 Danny Kukawka <danny.kukawka@web.de>
  815. * packaging/FC6.kpowersave.spec: Added new spec file for Fedora
  816. Core 6.
  817. 2007-02-14 Danny Kukawka <danny.kukawka@web.de>
  818. Tagged new release version 0.7.2
  819. 2007-02-14 Danny Kukawka <danny.kukawka@web.de>
  820. Updated Changelogs for the release v0.7.2:
  821. * ChangeLog.package:
  822. * doc/doxy/changelog.dox:
  823. 2007-02-14 Danny Kukawka <danny.kukawka@web.de>
  824. * NEWS: added news for v0.7.2 release
  825. * src/hardware_battery.cpp: fixed code docu
  826. 2007-02-14 Danny Kukawka <danny.kukawka@web.de>
  827. * doc/doxy/fixed_bugs.dox: Updated list of fixed bugs for docu.
  828. 2007-02-14 Danny Kukawka <danny.kukawka@web.de>
  829. * src/hardware.[cpp,h]: Added new private member to hold the
  830. current governor from checkCurrentCPUFreqPolicy() call. Added a
  831. check for the DYNAMIC CPU Freq policy case if the current
  832. governor is ondemand or not. If not, try to set always ondemand.
  833. This should fix b.n.c bug #245081 (Kpowersave does not set
  834. ondemand governor on startup if e.g. current is userspace).
  835. 2007-02-13 Danny Kukawka <danny.kukawka@web.de>
  836. * README: Applied patch from S.Çağlar Onur to fix typo
  837. s/Padrus/Pardus/
  838. * doc/doxy/main.dox: Fixed the same typo
  839. 2007-02-13 Danny Kukawka <danny.kukawka@web.de>
  840. * doc/doxy/README: fixed typo
  841. * doc/doxy/fixed_bugs.dox: Removed no longer available reference.
  842. * doc/doxy/main.dox: Updated with actual data and added contact
  843. section.
  844. 2007-02-13 Danny Kukawka <danny.kukawka@web.de>
  845. * doc/doxy/enhance.dox: Removed already implemented and outdated
  846. enhancements.
  847. 2007-02-13 Danny Kukawka <danny.kukawka@web.de>
  848. * doc/doxy/process.dox: Update/cleanup
  849. 2007-02-13 Danny Kukawka <danny.kukawka@web.de>
  850. Removed no longer needed doxygen site about implemented features.
  851. This file is useless and cost to much time to be always
  852. up-to-date, all the info can also be found in the Changelogs and
  853. the SVN:
  854. * doc/doxy/README:
  855. * doc/doxy/implemented.dox:
  856. 2007-02-13 Danny Kukawka <danny.kukawka@web.de>
  857. * README: updated websites and help information, added Link to
  858. Pardus Bugzilla to the list.
  859. 2007-02-12 Danny Kukawka <danny.kukawka@web.de>
  860. * TODO: Cleanup
  861. 2007-02-12 Danny Kukawka <danny.kukawka@web.de>
  862. * src/tdepowersave.cpp: Changed KMessageBox notify option for
  863. handleMount() error dialog to get a notify sound (especially if
  864. the lid get closed).
  865. 2007-02-12 Danny Kukawka <danny.kukawka@web.de>
  866. * src/tdepowersave.cpp: Fixed b.n.c #244052. On button events which
  867. call suspend2* and the system get problems with umount partitions
  868. which at least cause open a blocking KMessageBox result in 100%
  869. CPU usage. This happen because the QT D-Bus bindings wait for a
  870. result from the related KPowersave filter function (return a
  871. DBUS_HANDLER_RESULT_* to the bus). This happen also because the
  872. Q_SIGNALS in QT are only function calls which not are really emitted
  873. to the QT event loop as assumed (the KMessageBox block the filter-
  874. function).
  875. Fixed this by use QTimer::SingleShot() to call the suspend, in the
  876. handleActionCall() function, because QTimer shots uncouple the
  877. suspend call from the filter function workflow.
  878. 2007-02-12 Danny Kukawka <danny.kukawka@web.de>
  879. * src/tdepowersave.cpp: Only lock the screen and force DPMS if there
  880. is no action for lidclose event/button defined. Otherwise the
  881. related action as e.g. suspend2disk (should) handle the lock and
  882. in this case there is no need to force DPMS off.
  883. 2007-02-12 Danny Kukawka <danny.kukawka@web.de>
  884. Added new translation files send by Zhengpeng Hou
  885. <zhengpeng-hou@ubuntu.com>:
  886. * po/zh_CN.po: (295/0/1)
  887. * po/zh_TW.po: (296/0/0)
  888. 2007-02-12 Danny Kukawka <danny.kukawka@web.de>
  889. Don't allow action LOGOUT_DIALOG for lidclose button. It make
  890. absolute no sense to show the logout dialog with closed lid ;-) :
  891. * src/configuredialog.cpp:
  892. * src/settings.cpp:
  893. 2007-02-09 Danny Kukawka <danny.kukawka@web.de>
  894. * src/tdepowersave.cpp: Applied patch from S.Çağlar Onur
  895. <caglar@pardus.org.tr> to fix typo in a hwinfo->setCPUFreq() call.
  896. 2007-02-07 Danny Kukawka <danny.kukawka@web.de>
  897. Move CPU information related functions from HardwareInfo class to
  898. a new class CPUInfo since they are only used by the detailed
  899. dialog and don't depend on the other code of HardwareInfo:
  900. * kpowersave.tdevelop: call external tqtdesigner from now
  901. * src/Makefile.am: Added new files.
  902. * src/detaileddialog.[cpp,h]: adopted changes
  903. * src/hardware.[cpp,h]: Removed cpu information related code.
  904. * src/hardware_cpu.[cpp,h]: Added new files/class to handle all
  905. CPU information related functionality which was former in the
  906. HardwareInfo class/file.
  907. 2007-02-05 Danny Kukawka <danny.kukawka@web.de>
  908. * po/da.po: Added new (296/0/0) danish translation from Stefan
  909. Skotte <sfs@enhance-it.dk>
  910. 2007-02-05 Danny Kukawka <danny.kukawka@web.de>
  911. Fixed b.n.c #229960 and added support for SetCPUFreqPerformance
  912. to the HAL CPU freq interface to set the limit for the dynamic CPU
  913. freq policy:
  914. * src/config/kpowersaverc_default: Added new config value for the
  915. to set the performance limit on dynamic CPU freq policy for each
  916. scheme and added useful default values.
  917. * src/hardware.[cpp]: Added code to call SetCPUFreqPerformance on
  918. dynamic CPU freq. Removed no longer needed enum and case for
  919. DYNAMIC_SET.
  920. * src/tdepowersave.cpp: Changed function calls to give the needed
  921. config value to hwinfo->setCPUFreq() as param.
  922. * src/settings.[cpp,h]: Added code to read the new config key and
  923. value for the schemes from the config file.
  924. 2007-02-02 Danny Kukawka <danny.kukawka@web.de>
  925. * po/tr.po: Applied new updated turkish translation file (296/0/0)
  926. from S.Çağlar Onur <caglar@pardus.org.tr>
  927. 2007-02-01 Danny Kukawka <danny.kukawka@web.de>
  928. Fixed b.n.c #239771: added support for SetPowerSave HAL method.
  929. * src/hardware.[cpp,h]: Added new function to call the related
  930. D-Bus call for HAL.
  931. * src/tdepowersave.cpp: Call HardwareInfo::setPowerSave() with true
  932. if on battery and with false otherwise.
  933. 2007-02-01 Danny Kukawka <danny.kukawka@web.de>
  934. * po/da.po: Merged and slightly updated translation from
  935. Stefan Skotte <sfs@enhance-it.dk> (stat: 254/41/1)
  936. 2007-02-01 Danny Kukawka <danny.kukawka@web.de>
  937. * po/de.po: completed translation due to last change.
  938. 2007-02-01 Danny Kukawka <danny.kukawka@web.de>
  939. Updated translation strings and merged back to po files.
  940. * po/*.po:
  941. * po/kpowersave.pot:
  942. 2007-02-01 Danny Kukawka <danny.kukawka@web.de>
  943. Added new typ of action to call the KDE logout dialog on events:
  944. * src/config/kpowersaverc_default: Added LOGOUT_DIALOG to allowed
  945. button events. This action make no sence on battery events.
  946. * src/configuredialog.cpp: Updated mapping and translate string.
  947. * src/tdepowersave.cpp: Added code to call the KDE lougout dialog.
  948. * src/settings.[cpp,h]: Added code to read the setting and map
  949. the config value to the actions.
  950. 2007-02-01 Danny Kukawka <danny.kukawka@web.de>
  951. Removed '&' from translation due to last changes. German and
  952. Turkisch translation are now complete again.
  953. * po/de.po:
  954. * po/tr.po:
  955. 2007-02-01 Danny Kukawka <danny.kukawka@web.de>
  956. * po/*.po: Merged with actual pot file.
  957. 2007-02-01 Danny Kukawka <danny.kukawka@web.de>
  958. * po/kpowersave.pot: Updated pot file due to last changes.
  959. 2007-02-01 Danny Kukawka <danny.kukawka@web.de>
  960. Removed Accelerator tag ('&') from text of several widgets.
  961. This should fix problems with change translations if a GUI get
  962. changed. Actual KDE versions should handle this automatically.
  963. * src/blacklistedit_Dialog.ui:
  964. * src/configure_Dialog.ui:
  965. * src/configuredialog.cpp: Need to call
  966. TDEAcceleratorManager::manage() manually because it did not work.
  967. * src/detailed_Dialog.ui:
  968. * src/info_Dialog.ui:
  969. 2007-01-31 Danny Kukawka <danny.kukawka@web.de>
  970. * src/configure_Dialog.ui: Fixed tab order for all widgets.
  971. 2007-01-31 Danny Kukawka <danny.kukawka@web.de>
  972. * kpowersave.tdevelop: updated to new KDevelop 3.4.0/KDE 3.5.6
  973. 2007-01-31 Danny Kukawka <danny.kukawka@web.de>
  974. * src/configure_Dialog.ui: set buddy to QLabel widgets for
  975. easier access to e.g. QSpinBox or QComboBox widgets.
  976. 2007-01-30 Danny Kukawka <danny.kukawka@web.de>
  977. Applied new updated turkish translation file and two small
  978. fixes from S.Çağlar Onur <caglar@pardus.org.tr> :
  979. * po/sl_SI.po: removed left over line from cleanup
  980. * po/tr.po: full translated
  981. * po/zh_TW.po: removed left over line from cleanup
  982. 2007-01-26 Danny Kukawka <danny.kukawka@web.de>
  983. * po/*.po: cleanup translation, removed no longer needed and
  984. already unused strings/translations and removed wrong/
  985. useless header comments
  986. 2007-01-26 Danny Kukawka <danny.kukawka@web.de>
  987. * po/de.po: updated/completed german translation
  988. 2007-01-26 Danny Kukawka <danny.kukawka@web.de>
  989. * po/*.po: Merged new pot file with existing po files.
  990. 2007-01-26 Danny Kukawka <danny.kukawka@web.de>
  991. * po/kpowersave.pot: updated pot file due to last changes
  992. 2007-01-26 Danny Kukawka <danny.kukawka@web.de>
  993. Fixed usage of D-Bus in strings and code comments
  994. (s/DBUS/D-Bus/ and s/D-BUS/D-Bus/).
  995. * src/dbusHAL.[cpp,h]:
  996. * src/dummy.cpp:
  997. * src/hardware.[cpp,h]:
  998. * src/tdepowersave.cpp:
  999. * src/main.cpp:
  1000. 2007-01-26 Danny Kukawka <danny.kukawka@web.de>
  1001. * src/main.cpp: Fixed description of KPowersave.
  1002. 2007-01-26 Danny Kukawka <danny.kukawka@web.de>
  1003. * src/configure_Dialog.ui: Fixed widgets to avoid resize the
  1004. config dialog in some tabs of the scheme settings.
  1005. 2007-01-26 Danny Kukawka <danny.kukawka@web.de>
  1006. * po/de.po: update german translation file, now complete.
  1007. 2007-01-26 Danny Kukawka <danny.kukawka@web.de>
  1008. * src/tdepowersave.cpp: Fixed b.n.c #230686. Load the settings
  1009. for the current scheme if the config GUI get closed to force
  1010. changes on a scheme to the system. Also set the battery
  1011. warning levels to the primary battery object to get the
  1012. correct warnings if they maybe changed.
  1013. 2007-01-25 Danny Kukawka <danny.kukawka@web.de>
  1014. * po/de.po: removed no longer needed strings from file
  1015. 2007-01-25 Danny Kukawka <danny.kukawka@web.de>
  1016. * po/*.po: Merged new pot file with existing po files.
  1017. 2007-01-25 Danny Kukawka <danny.kukawka@web.de>
  1018. * po/kpowersave.pot: updated pot file for new translation
  1019. round, removed useless strings from 'make messages'
  1020. 2007-01-25 Danny Kukawka <danny.kukawka@web.de>
  1021. * src/configure_Dialog.ui: fixed string to match existing
  1022. translation strings
  1023. * src/settings.cpp: removed empty lines
  1024. 2007-01-25 Danny Kukawka <danny.kukawka@web.de>
  1025. Added feature: show power consumtion of battery in the
  1026. detailed information dialog:
  1027. * src/detailed_Dialog.ui: Added new widgets to show the new
  1028. information about power consumtion as QLabels, added spacer
  1029. to the AC related info in the battery area for a better look.
  1030. * src/detaileddialog.[cpp,h]: Added code to fill and update
  1031. the new widgets related on battery state and events. This
  1032. mean: the current rate/power consumtion get only updated if
  1033. we get the info from HAL - KPowersave do not poll for this
  1034. info. The widget get hide if there is no info.
  1035. * src/hardware_battery.cpp: Emit signal to monitor current
  1036. rate of battery.
  1037. * src/hardware_batteryCollection.[cpp,h]: Added some code to
  1038. hold the current rate and the rate unit. Emit Q_SIGNALS if the
  1039. current rate change (don't emit general change signal, since
  1040. this maybe produce useless calls in other parts of KPowersave
  1041. than only in the detailed dialog).
  1042. Added some function to get the new private class members.
  1043. 2007-01-24 Danny Kukawka <danny.kukawka@web.de>
  1044. * src/detaileddialog.cpp: Fixed b.n.c #230965. Always reset
  1045. the QProgressBar before update the infos in the bar, otherwise
  1046. the first bar get randomly updated!
  1047. 2007-01-24 Danny Kukawka <danny.kukawka@web.de>
  1048. * src/configure_Dialog.ui: Changed some descriptive strings.
  1049. 2007-01-24 Danny Kukawka <danny.kukawka@web.de>
  1050. * src/configuredialog.cpp: Changed icon name because char.png
  1051. is not defaultly in the system.
  1052. * src/pics/cr22-action-button.png: added new icon for the
  1053. buttons tab in the 'General Settings' part of the config dialog.
  1054. 2007-01-23 Danny Kukawka <danny.kukawka@web.de>
  1055. * src/configure_Dialog.ui: Added new Q_SLOTS to catch changes.
  1056. * src/configuredialog.[cpp,h]: Implemented new Q_SLOTS to
  1057. hide/show the QSpinboxes for the brightness settings in the
  1058. battery tab of the general settings, depending of the selected
  1059. action.
  1060. 2007-01-23 Danny Kukawka <danny.kukawka@web.de>
  1061. * src/configure_Dialog.ui: fixed one more string to match
  1062. existing translations.
  1063. 2007-01-23 Danny Kukawka <danny.kukawka@web.de>
  1064. Added code to support also switch to CPU Freq policy
  1065. performance via actions on events:
  1066. * src/config/kpowersaverc_default:
  1067. * src/configuredialog.cpp:
  1068. * src/tdepowersave.cpp:
  1069. * src/settings.[cpp,h]:
  1070. 2007-01-23 Danny Kukawka <danny.kukawka@web.de>
  1071. * po/cs.po: fixed spelling bug from b.n.c #232058
  1072. 2007-01-23 Danny Kukawka <danny.kukawka@web.de>
  1073. * src/tdepowersave.cpp: removed unused variable
  1074. 2007-01-23 Danny Kukawka <danny.kukawka@web.de>
  1075. * src/configure_Dialog.ui: removed not needed sizePolicy
  1076. 2007-01-23 Danny Kukawka <danny.kukawka@web.de>
  1077. * src/configure_Dialog.ui: Fixed strings to fit to already
  1078. existing translations. Fixed some spacer to avoid resize.
  1079. 2007-01-23 Danny Kukawka <danny.kukawka@web.de>
  1080. Changed Licence text in source files to only accept GPLv2
  1081. from now on:
  1082. * src/*.[cpp,h]:
  1083. * templates/[cpp,h]:
  1084. 2007-01-23 Danny Kukawka <danny.kukawka@web.de>
  1085. * src/configure_Dialog.ui: fixed slot name for edit general
  1086. autosuspend blacklist.
  1087. * src/configuredialog.cpp: fixed call to open the edit
  1088. autosuspend blacklists to get displayed over the config
  1089. dialog.
  1090. 2007-01-23 Danny Kukawka <danny.kukawka@web.de>
  1091. * src/configuredialog.cpp: Added code to store the values
  1092. from the new 'General Settings' widgets to the config file.
  1093. 2007-01-23 Danny Kukawka <danny.kukawka@web.de>
  1094. * src/configure_Dialog.ui: changed param of battery level
  1095. QSpinBox Q_SLOTS (no param instead of int)
  1096. * src/configuredialog.[cpp,h]: Added Q_SLOTS to set the battery
  1097. level QSpinBoxes to correct values: warning > low > critical.
  1098. 2007-01-22 Danny Kukawka <danny.kukawka@web.de>
  1099. * src/configure_Dialog.ui: fixed tab label
  1100. * src/configuredialog.cpp: Fill QComboBoxes for ac/battery
  1101. default schemes now within setSchemeList(). Changed position
  1102. of call setGeneralSettings() on init the dialog and added
  1103. code to fill the 'Default Schemes' tab of the general
  1104. settings. Set now a icon for this tab.
  1105. 2007-01-22 Danny Kukawka <danny.kukawka@web.de>
  1106. * src/config/kpowersaverc_default: added new config key
  1107. for allowed actions on button events and change the name of
  1108. the key for allowed battery actions.
  1109. * src/configuredialog.cpp: related changes to above and added
  1110. code to fill the buttons tab with related values.
  1111. 2007-01-22 Danny Kukawka <danny.kukawka@web.de>
  1112. * src/configuredialog.cpp: Added code to fill the battery
  1113. tab of the general settings with the values from the config
  1114. file.
  1115. 2007-01-22 Danny Kukawka <danny.kukawka@web.de>
  1116. * src/configuredialog.[cpp,h]: Changed strings for 'set
  1117. brightness' action and added a new helper function to fill
  1118. a QComboBox with a list of actions (mapped to descriptive
  1119. and translated strings) and select a given action.
  1120. 2007-01-22 Danny Kukawka <danny.kukawka@web.de>
  1121. * src/configure_Dialog.ui: removed some spacer and changed
  1122. some widget names.
  1123. 2007-01-22 Danny Kukawka <danny.kukawka@web.de>
  1124. * src/configuredialog.cpp: Added checks if CPUFreq,
  1125. suspend and brightness is really supported by the machine
  1126. to the map action helper functions. Otherwise return a
  1127. empty QString.
  1128. 2007-01-22 Danny Kukawka <danny.kukawka@web.de>
  1129. * src/configure_Dialog.ui: added suffixes to QSpinBox
  1130. widgets.
  1131. 2007-01-22 Danny Kukawka <danny.kukawka@web.de>
  1132. * src/configure_Dialog.ui: added widgets for set value of
  1133. brightness on battery warning levels. Fixed max level for
  1134. several QSpinbox widgets.
  1135. 2007-01-22 Danny Kukawka <danny.kukawka@web.de>
  1136. * src/configuredialog.[cpp,h]: Added two helper functions
  1137. to map the keys for actions in the config to a usefull
  1138. string for the GUI and back.
  1139. 2007-01-22 Danny Kukawka <danny.kukawka@web.de>
  1140. Move some more dummy strings:
  1141. * src/detaileddialog.cpp:
  1142. * src/dummy.cpp:
  1143. 2007-01-21 Danny Kukawka <danny.kukawka@web.de>
  1144. * src/configuredialog.cpp: set icons for general settings
  1145. Toolbox tabs.
  1146. 2007-01-21 Danny Kukawka <danny.kukawka@web.de>
  1147. * src/configure_Dialog.ui: Fixed layout and (re)added
  1148. Q_SLOTS for Q_SIGNALS and actions.
  1149. 2007-01-21 Danny Kukawka <danny.kukawka@web.de>
  1150. Added new class/file to collect translation dummy strings
  1151. from other classes. This cleanupt the code of the files
  1152. and make it easier to maintain translation strings:
  1153. * src/dummy.cpp: new file
  1154. * src/Makefile.am:
  1155. Removed dummy strings from:
  1156. * src/configuredialog.cpp:
  1157. * src/tdepowersave.cpp:
  1158. * src/screen.cpp:
  1159. * src/settings.cpp:
  1160. 2007-01-19 Danny Kukawka <danny.kukawka@web.de>
  1161. * src/configure_Dialog.ui: Added first new version of the
  1162. configure dialog to be able to set the new non-scheme
  1163. specific settings.
  1164. NOTE: It build currently, but the new widget have no
  1165. functions.
  1166. 2007-01-16 Danny Kukawka <danny.kukawka@web.de>
  1167. * src/settings.cpp: Applied patch from Olivier Blin
  1168. <blino@mandriva.com> to fix handling of sleep and s2disk
  1169. button actions.
  1170. 2007-01-15 Danny Kukawka <danny.kukawka@web.de>
  1171. * src/configuredialog.cpp: Change the brightness in the
  1172. config dialog only if really activated.
  1173. 2007-01-15 Danny Kukawka <danny.kukawka@web.de>
  1174. * src/configuredialog.cpp: Added support to delete a user
  1175. specific scheme. The user can't delete on of the currently
  1176. 4 default schemes or if the selected scheme is the AC or
  1177. battery default scheme.
  1178. 2007-01-08 Danny Kukawka <danny.kukawka@web.de>
  1179. Added support for sleep/suspend and s2disk/hibernate buttons
  1180. and related action calls:
  1181. * src/config/kpowersaverc_default: added new config keys to
  1182. define the default action for the two keys
  1183. * src/hardware.[cpp,h]: Added new signal and filter all the
  1184. related keys from HAL interface.
  1185. * src/kpowersave.[cpp,h]: Addes functions to catch the events
  1186. of the button get pressed and call the allowed actions (for
  1187. the moment only s2ram and s2disk is allowed to these events)
  1188. * src/settings.[cpp,h]: Added support to read the new config
  1189. keys and to store them in member variables. For now added a
  1190. check to be sure that only s2ram and s2disk are allowed actions
  1191. for these key events.
  1192. 2007-01-08 Danny Kukawka <danny.kukawka@web.de>
  1193. Commited unsaved change, updated Changelog:
  1194. * src/tdepowersave.cpp: Changed lockScreen() DCOP function to
  1195. lock simply the screen unrelated to the setting for suspend
  1196. on suspend.
  1197. 2007-01-08 Danny Kukawka <danny.kukawka@web.de>
  1198. * src/kpowersave.[cpp,h]: Fixed lock screen on suspend and
  1199. removed no longer needed code/functions. Thanks to Andrey
  1200. Borzenkov <arvidjaar@mail.ru> for the report.
  1201. * src/settings.cpp: Changed fallback values for lock on
  1202. suspend and lidclose from false to true due to security
  1203. and privacy reasons.
  1204. 2007-01-04 Danny Kukawka <danny.kukawka@web.de>
  1205. * src/tdepowersave.cpp: fixed b.n.c #231709 by fixing minor
  1206. compiler warning about "comparison with string literal"
  1207. by using strcmp().
  1208. 2006-12-27 Danny Kukawka <danny.kukawka@web.de>
  1209. * src/configuredialog.cpp: Removed done TODO's and debug code.
  1210. 2006-12-27 Danny Kukawka <danny.kukawka@web.de>
  1211. * src/configuredialog.[cpp,h]: Seperated code to set the
  1212. current scheme (based on the scheme name) to a own function.
  1213. Added code to add a new scheme. For now the new scheme get
  1214. initialized with the values from the default-scheme.
  1215. 2006-12-26 Danny Kukawka <danny.kukawka@web.de>
  1216. Extendended configure GUI to config the CPU Freqency policy
  1217. for each scheme. The related page in the dialog is deactivated
  1218. if the machine doesn't support CPU Freq.
  1219. Added buttons to add new and delete existing schemes (TODO:
  1220. add related code).
  1221. Renamed some widgets.
  1222. * src/configure_Dialog.ui:
  1223. * src/configuredialog.cpp:
  1224. 2006-12-25 Danny Kukawka <danny.kukawka@web.de>
  1225. * src/hardware.cpp: Added support for conservative governor
  1226. as a DYNAMIC CPU frequency policy fallback and some debug
  1227. messages.
  1228. 2006-12-17 Danny Kukawka <danny.kukawka@web.de>
  1229. Fixed b.n.c bug #229234:
  1230. * src/hardware.[cpp,h]: Changed checkCurrentCPUFreqPolicy()
  1231. from void to int to return the current CPU Freq policy to
  1232. the caller.
  1233. Added check to setCPUFreq() for the DYNAMIC case to check
  1234. if the 'ondemand' governor was really set and try then
  1235. the 'userspace' governor.
  1236. 2006-12-15 Danny Kukawka <danny.kukawka@web.de>
  1237. s/kde_settings/kde/
  1238. * src/tdepowersave.cpp:
  1239. * src/settings.[cpp,h]:
  1240. 2006-12-15 Danny Kukawka <danny.kukawka@web.de>
  1241. * src/tdepowersave.cpp: Little fix for disable s2ram and
  1242. standby menu entry if not allowed while call action.
  1243. 2006-12-08 Danny Kukawka <danny.kukawka@web.de>
  1244. * src/dbusHAL.cpp: fixed compiler warning from b.n.c bug
  1245. #226875 with proposed change from David Binderman
  1246. <dcb314@hotmail.com>
  1247. 2006-12-04 Danny Kukawka <danny.kukawka@web.de>
  1248. * src/kpowersave.[cpp,h]: Added code to handle the power
  1249. button event and to call the related action.
  1250. 2006-12-01 Danny Kukawka <danny.kukawka@web.de>
  1251. Added new config key to be able to config actions if the
  1252. power button get pressed.
  1253. * src/config/kpowersaverc_default:
  1254. * src/settings.[cpp,h]:
  1255. 2006-12-01 Danny Kukawka <danny.kukawka@web.de>
  1256. * src/hardware.cpp: removed no longer needed init for some
  1257. class memebers.
  1258. 2006-11-27 Danny Kukawka <danny.kukawka@web.de>
  1259. * src/tdepowersave.cpp: Fix to set the type of suspend before
  1260. call handleMounts() and reset in the error case to show the
  1261. correct caption for the error dialog if the umount fail.
  1262. Added i18n() call to translate the caption correct.
  1263. 2006-11-27 Danny Kukawka <danny.kukawka@web.de>
  1264. * src/tdepowersave.cpp: Added "Don't ask again" checkbox to
  1265. error message box if KPowersave get a error from kded for
  1266. umount partitions before suspend.
  1267. Fixed dialog caption to display the correct type of suspend.
  1268. 2006-11-27 Danny Kukawka <danny.kukawka@web.de>
  1269. * src/kpowersave.[cpp,h]: Fixed battery critical action if
  1270. the actiontype is SHUTDOWN. We can't call a slot from a QT
  1271. single shot with parameter as it looks.
  1272. 2006-11-27 Danny Kukawka <danny.kukawka@web.de>
  1273. * src/hardware.cpp: Added code to call SetCPUFreqConsiderNice
  1274. depending on DYNAMIC CPU Freq Policy and the state of the
  1275. AC adapter. The code should set ConsiderNice with true
  1276. if the AC adapter is online and false if the machine is on
  1277. battery.
  1278. 2006-11-27 Danny Kukawka <danny.kukawka@web.de>
  1279. Make KPowersave more stable (hopefully), added some checks
  1280. and (re)set some variables in error cases.
  1281. * src/dbusHAL.cpp:
  1282. * src/hardware.cpp:
  1283. 2006-11-22 Danny Kukawka <danny.kukawka@web.de>
  1284. * src/hardware.cpp: typo and whitespace fix
  1285. * src/tdepowersave.cpp: reset the cPU Freq Policy after resume,
  1286. after resume (IMO to workaround a bug in the kernel, because
  1287. the kernel should resume with the same CPU Freq settings as
  1288. on suspend)
  1289. 2006-11-22 Danny Kukawka <danny.kukawka@web.de>
  1290. * src/tdepowersave.cpp: Added some code to display error msg
  1291. to the user on suspend and display a dialog to choose between
  1292. stop and continue the suspend. Default should be stop suspend
  1293. as also ESC is.
  1294. 2006-11-22 Danny Kukawka <danny.kukawka@web.de>
  1295. * src/tdepowersave.cpp: Added code to remount the before
  1296. suspend/standby unmounted external storage volumes.
  1297. Show the user a passive popup if there is a error while try
  1298. to remount.
  1299. 2006-11-22 Danny Kukawka <danny.kukawka@web.de>
  1300. * src/tdepowersave.cpp: Added initial code to umount before
  1301. suspend.
  1302. TODO: add code to inform the user about the error and offer
  1303. a way to suspend also if KPowersave can't umount.
  1304. 2006-11-22 Danny Kukawka <danny.kukawka@web.de>
  1305. * src/kpowersave.[cpp,h]: Added function to handle umounts/
  1306. remounts on suspend/resume via kded mediamanager DCOP calls.
  1307. 2006-11-22 Danny Kukawka <danny.kukawka@web.de>
  1308. * src/config/kpowersaverc_default: added new config variable
  1309. for umount/remount on suspend
  1310. * src/settings.[cpp,h]: added code to read the new variable
  1311. from the config file and store the value to a class member.
  1312. 2006-11-21 Danny Kukawka <danny.kukawka@web.de>
  1313. * admin: removed property svn:mime-type from files
  1314. 2006-11-21 Danny Kukawka <danny.kukawka@web.de>
  1315. * src/tdepowersave.cpp: Fixed applet tooltip to show correct
  1316. information if the battery is in state CHARGING.
  1317. 2006-11-21 Danny Kukawka <danny.kukawka@web.de>
  1318. * src/tdepowersave.cpp: Fix battery warning level handling and
  1319. show warning messages to the user only if battery state is
  1320. not CHARGING.
  1321. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1322. * admin/cvs.sh: added support for automake 1.10
  1323. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1324. Tagged new offical release 0.7.1
  1325. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1326. * TODO: updated
  1327. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1328. * NEWS: added new for new release 0.7.1
  1329. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1330. Updated required D-Bus version numnber:
  1331. * README:
  1332. * doc/doxy/main.dox:
  1333. Fixed code comments, added missing function parameter docu,
  1334. removed file-version tags, update date of some files:
  1335. * src/dbusHAL.[cpp,h]:
  1336. * src/hardware.[cpp,h]:
  1337. * src/hardware_battery.[cpp,h]:
  1338. * src/hardware_batteryCollection.[cpp,h]:
  1339. * src/screen.[cpp,h]:
  1340. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1341. * doc/doxy/implemented.dox: removed not existing reference
  1342. Fixed code comments and documentation (e.g. undocumented
  1343. function parameter):
  1344. * src/dbusHAL.cpp:
  1345. * src/hardware.cpp:
  1346. * src/hardware.h:
  1347. * src/tdepowersave.cpp:
  1348. * src/settings.h:
  1349. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1350. * doc/doxy/powersave_msgs.dox: removed no longer needed
  1351. code documentation file
  1352. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1353. * doc/doxy/main.dox: update to current KPowersave version
  1354. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1355. * TODO: removed done tasks
  1356. * src/kpowersave.[cpp,h]: fixed code comments and removed
  1357. references to the powersave daemon
  1358. * src/main.cpp: changed version string
  1359. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1360. * NEWS: added news from already released stable versions
  1361. 0.6.1 and 0.6.2
  1362. * TODO: removed done tasks and updated status of some
  1363. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1364. * packaging/openSUSE10.2.kpowersave.spec: added specfile
  1365. for openSUSE 10.2
  1366. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1367. * src/tdepowersave.cpp: Adapted new function to reset the
  1368. KDE screensaver (and DPMS) settings.
  1369. * src/screen.[cpp,h]: Added new function to call the
  1370. configure() at the KScreensaverIface to reset the current
  1371. settings to the correct KDE settings from the config files.
  1372. This happen currently only if the screensaver is not
  1373. active (but enabled).
  1374. * src/settings.cpp: Fixed code.
  1375. 2006-11-20 Danny Kukawka <danny.kukawka@web.de>
  1376. * src/settings.[cpp,h]: Added code to check if KDE use
  1377. currently the blank screensaver.
  1378. 2006-11-19 Danny Kukawka <danny.kukawka@web.de>
  1379. * TODO: removed done issues
  1380. * src/dbusHAL.[cpp,h]: Added code to claim/acquire the
  1381. org.freedesktop.Policy.Power interface from D-Bus to stop
  1382. the powersave daemon/client and to be allowed to handle
  1383. the powermanagement policy.
  1384. 2006-11-19 Danny Kukawka <danny.kukawka@web.de>
  1385. * README: Update dependencies/requirements.
  1386. 2006-11-19 Danny Kukawka <danny.kukawka@web.de>
  1387. * src/tdepowersave.cpp: Added some linebreaks to warning
  1388. messages for battery states.
  1389. 2006-11-19 Danny Kukawka <danny.kukawka@web.de>
  1390. * src/hardware_batteryCollection.cpp: fixed handling
  1391. for battery collections if there are no batteries present.
  1392. This should abvoid false alarm for battery warning levels.
  1393. 2006-11-18 Danny Kukawka <danny.kukawka@web.de>
  1394. * src/hardware_battery.cpp: fixed handling if battery
  1395. get removed from the system. Don't forget to check the
  1396. battery type if reset the battery.
  1397. Also fixed emit Q_SIGNALS. Emit them first if have read
  1398. the values from Hardware and filled the related variables.
  1399. 2006-11-18 Danny Kukawka <danny.kukawka@web.de>
  1400. * src/settings.cpp: Added some usefull default values
  1401. for the KDE settings if we can't read the related values.
  1402. 2006-11-17 Danny Kukawka <danny.kukawka@web.de>
  1403. * src/kpowersave.[cpp,h]: applied slightly adopted patch
  1404. from Dirk Mueller <dmueller@suse.de> to add a DCOP
  1405. function to check if KPowersave already handle DPMS
  1406. settings in KDE. This should, togehter with a patch for
  1407. KDE, avoid interfere between KDE and KPowersave.
  1408. 2006-11-17 Danny Kukawka <danny.kukawka@web.de>
  1409. Added new turkish translations from S.Çağlar Onur
  1410. <caglar@pardus.org.tr>:
  1411. * po/tr.po:
  1412. * src/kpowersave-autostart.desktop:
  1413. * src/kpowersave.desktop:
  1414. 2006-11-17 Danny Kukawka <danny.kukawka@web.de>
  1415. Added patch from S.Çağlar Onur <caglar@pardus.org.tr>
  1416. to add support for Pardus Linux.
  1417. * configure.in.in: added detect Pardus Linux
  1418. * src/tdepowersave.cpp: added bugreport address
  1419. 2006-11-17 Danny Kukawka <danny.kukawka@web.de>
  1420. * src/tdepowersave.cpp: fixed bugreport address for
  1421. openSUSE
  1422. 2006-11-17 Danny Kukawka <danny.kukawka@web.de>
  1423. * src/tdepowersave.cpp: Reduced function calls to
  1424. dbusHAL with updateTooltip().
  1425. 2006-11-16 Danny Kukawka <danny.kukawka@web.de>
  1426. * src/tdepowersave.cpp: fixed set CPUFreq via the applet
  1427. menu and reduced calls if a scheme switched.
  1428. 2006-11-16 Danny Kukawka <danny.kukawka@web.de>
  1429. * src/dbusHAL.cpp: Fixed free() error, if D-Bus is not
  1430. running on startup.
  1431. 2006-11-16 Danny Kukawka <danny.kukawka@web.de>
  1432. * src/kpowersave.[cpp,h]: s/new_screen/display/
  1433. 2006-11-16 Danny Kukawka <danny.kukawka@web.de>
  1434. * ChangeLog.package: updated with info about already
  1435. released version 0.7.0
  1436. 2006-11-16 Danny Kukawka <danny.kukawka@web.de>
  1437. * src/kpowersave.[cpp,h]: fixed notifySuspend() and
  1438. call the function before call suspend/standby via HAL.
  1439. 2006-11-16 Danny Kukawka <danny.kukawka@web.de>
  1440. * src/kpowersave.[cpp,h]: fixed handling of AC plug
  1441. in/out event. Now switch, based on the state of the
  1442. AC plug, the AC/Battery scheme.
  1443. Also merged other AC state releaded functions to the
  1444. new and renamed handleACStatusChange() for a better
  1445. control of the workflow.
  1446. 2006-11-16 Danny Kukawka <danny.kukawka@web.de>
  1447. * src/tdepowersave.cpp: changed position of call
  1448. setPrimaryBatteriesWarningLevel() to do this first
  1449. if the scheme was set.
  1450. 2006-11-16 Danny Kukawka <danny.kukawka@web.de>
  1451. * src/hardware.[cpp,h]: Added support to check for
  1452. PMU support and renamed checkACPI_APM() to more
  1453. general name checkPowermanagement()
  1454. * src/tdepowersave.cpp: extended startup check to
  1455. exit only if not ACPI/APM/PMU/CPUFreq/s2disk/2sram.
  1456. 2006-11-16 Danny Kukawka <danny.kukawka@web.de>
  1457. * TODO: updated TODO to current state of development
  1458. 2006-11-14 Danny Kukawka <danny.kukawka@web.de>
  1459. * src/kpowersave.[cpp,h]: added code to fetch and
  1460. handle the resume signal. Trigger fake key event after
  1461. resume if the scree was locked and emit the correct
  1462. KNotify signal.
  1463. 2006-11-14 Danny Kukawka <danny.kukawka@web.de>
  1464. * src/screen.cpp: changed left send() for lock the
  1465. screen for KScreenSaver with usage of call().
  1466. 2006-11-14 Danny Kukawka <danny.kukawka@web.de>
  1467. * src/hardware.[cpp,h]: Adopted suspend function to
  1468. use the new pending calls instead of the old, normal
  1469. methodCalls.
  1470. Added code to fetch, forward and handle the resume
  1471. signal from the dbusHAL class.
  1472. 2006-11-14 Danny Kukawka <danny.kukawka@web.de>
  1473. * src/dbusHAL.[cpp,h]: added new functions to be able
  1474. to handle suspend as pending D-Bus calls. This should
  1475. allow us to get a resume signal etc.
  1476. Added a new signal to be emitted if we resumed and
  1477. to return the result of the resume as a integer value.
  1478. 2006-11-13 Danny Kukawka <danny.kukawka@web.de>
  1479. * src/screen.cpp: Changed DCOP screen lock call from
  1480. send() to call() and try now, if the lock fail, to
  1481. use XScreensaver for lock instead.
  1482. 2006-11-13 Danny Kukawka <danny.kukawka@web.de>
  1483. * src/kpowersave.[cpp,h]: handle lid close/open events
  1484. now in one function. If the screen was locked on the
  1485. lidclose signal, fake keyevent on open lid.
  1486. 2006-11-13 Danny Kukawka <danny.kukawka@web.de>
  1487. * src/tdepowersave.cpp: display error message on scheme
  1488. switch only if the scheme is not known and not if the
  1489. current scheme get selected.
  1490. 2006-11-13 Danny Kukawka <danny.kukawka@web.de>
  1491. * TODO: updated/remove done issues
  1492. * src/config/kpowersaverc_default: Added new variables
  1493. to call a action of the lid was closed.
  1494. * src/kpowersave.[cpp,h]: handle now actions on lidclose
  1495. and renamed function to reuse code from battery actions.
  1496. s/lockscreenOnLidcloseEvent/handleLidcloseEvent
  1497. * src/settings.[cpp,h]: Read new config values to member
  1498. variables for general settings. Renamed some members
  1499. and definitions to reuse the action stuff.
  1500. Sorted code in settings.h to differ between general and
  1501. scheme setttings.
  1502. 2006-11-13 Danny Kukawka <danny.kukawka@web.de>
  1503. * src/tdepowersave.cpp: Added fix from Michael Biebl
  1504. <biebl@teco.edu> for debian bug #398201 to avoid crash
  1505. of KPowersave if showDetailedDialog() called via DCOP.
  1506. 2006-11-13 Danny Kukawka <danny.kukawka@web.de>
  1507. * src/kpowersave.[cpp,h]: s/current_settings/settings/
  1508. 2006-11-13 Danny Kukawka <danny.kukawka@web.de>
  1509. * src/tdepowersave.cpp: fixed event handling for battery
  1510. warning states to call related actions also if notify
  1511. is disabled.
  1512. 2006-11-12 Danny Kukawka <danny.kukawka@web.de>
  1513. * src/kpowersave.[cpp,h]: Added some code to call a
  1514. defined battery action if a battery warning state
  1515. reached. Added special handling for BAT_CRITICAL and
  1516. shutdown.
  1517. * src/settings.[cpp,h]: changed some types and return
  1518. types: s/int/battery_action/
  1519. TODO: test and handle brightess/cpufreq changes if
  1520. the warning state get reduced to set back to
  1521. normal values. Maybe simply switch back to the
  1522. current scheme settings.
  1523. 2006-11-12 Danny Kukawka <danny.kukawka@web.de>
  1524. * src/Makefile.am: removed schemes.* from make
  1525. * src/schemes.[cpp,h]: removed no longer needed class
  1526. and related files
  1527. 2006-11-12 Danny Kukawka <danny.kukawka@web.de>
  1528. * src/tdepowersave.cpp: Added some code comments and
  1529. code to set the CPU Freq Policy for each scheme.
  1530. * src/settings.[cpp,h]: changed type of CPU Freq
  1531. Policy from int to cpufreq_type.
  1532. 2006-11-12 Danny Kukawka <danny.kukawka@web.de>
  1533. * src/config/kpowersaverc_default: added new entries
  1534. to store the CPU Freq Policy for a scheme. Use as
  1535. default for all schemes DYNAMIC for now.
  1536. * src/settings.[cpp,h]: added code to read the new
  1537. entries for the CPU Freqency policy.
  1538. 2006-11-11 Danny Kukawka <danny.kukawka@web.de>
  1539. * kpowersave.tdevelop: some changes from KDevelop
  1540. * src/config/kpowersaverc_default: added some new
  1541. configure variables to allow to set a action if a
  1542. battery warning level reached.
  1543. * src/settings.[cpp,h]: added code to read the values
  1544. of the new config values and set them to new member
  1545. variables.
  1546. 2006-11-10 Danny Kukawka <danny.kukawka@web.de>
  1547. * src/hardware.cpp: fixed lock screen if lid closed
  1548. (s/button.typ/button.type/)
  1549. 2006-11-10 Danny Kukawka <danny.kukawka@web.de>
  1550. * src/detaileddialog.cpp: added connect to new signal
  1551. for CPUFreq Policy changes to show allways correct
  1552. information in the dialog.
  1553. * src/hardware.[cpp,h]: added signal emitted if the
  1554. CPU Frequency policy was successful (or from other
  1555. side) changed/switched.
  1556. Reduced code in setCPUFreq() and added a check if the
  1557. Policy was really check and emit new signal.
  1558. * src/kpowersave.[cpp,h]: added connect for new signal
  1559. to set the CPUFreq menu correct if something changed
  1560. 2006-11-09 Danny Kukawka <danny.kukawka@web.de>
  1561. * src/hardware.[cpp,h]: Added new function to reinit
  1562. all hardware information after a HAL or D-Bus restart.
  1563. This should reduce the code and ensure that we do
  1564. always the same.
  1565. Fixed handling of Q_SIGNALS if D-Bus restart related to
  1566. HAL and D-Bus itself status.
  1567. * src/tdepowersave.cpp: added a comment
  1568. 2006-11-08 Danny Kukawka <danny.kukawka@web.de>
  1569. * src/tdepowersave.cpp: fixed slot do_setActiveScheme()
  1570. to check if the requested scheme is available, load
  1571. the scheme settings, call setSchemeSettings() to
  1572. set the related changes and inform KNotify.
  1573. TODO next: (1) add support to read the missing config
  1574. keys and (2) fix setSchemeSettings() to
  1575. set the changes to the kpowersave class
  1576. 2006-11-08 Danny Kukawka <danny.kukawka@web.de>
  1577. * src/kpowersave.[cpp,h]: renamed some functions
  1578. 2006-11-08 Danny Kukawka <danny.kukawka@web.de>
  1579. * src/tdepowersave.cpp: fixed connect to not existing
  1580. slot/function to show error message from autosuspend
  1581. 2006-11-08 Danny Kukawka <danny.kukawka@web.de>
  1582. * src/hardware.cpp: Fixed detection of suspend/standy
  1583. support. HAL also provide the related methodes if
  1584. there is no support in the kernel.
  1585. TODO: take a look at this in HAL and if we can fix
  1586. 2006-11-07 Danny Kukawka <danny.kukawka@web.de>
  1587. * TODO: added some information and currently TODOs
  1588. 2006-11-07 Danny Kukawka <danny.kukawka@web.de>
  1589. Fixed battery warning state handling and events for
  1590. the primary batteries:
  1591. * src/hardware.[cpp,h]: added some private variables
  1592. to store the current warning state level which are set
  1593. with new function setPrimaryBatteriesWarningLevel().
  1594. We use this function also to reset the warning level
  1595. to the current one directly her e.g. after D-Bus or
  1596. HAL restart.
  1597. Changed signal for reached warning state to emit also
  1598. the type and the state of the battery. This should
  1599. be more generic and can be reused later for other
  1600. battery types.
  1601. * src/hardware_batteryCollection.[cpp,h]: changed
  1602. Q_SIGNALS to emit also battery type.
  1603. * src/tdepowersave.cpp: changed debug msg and set the
  1604. battery warning level temporary in the constructor
  1605. to HardwareInfo object.
  1606. 2006-11-07 Danny Kukawka <danny.kukawka@web.de>
  1607. * src/configuredialog.cpp: fixed brightness related
  1608. code to handle new HAL level mapping to percent.
  1609. * src/hardware.[cpp,h]: changed setBrightness() to
  1610. work with level and percent (added mapping from
  1611. percentage to level) and fixed min and max values.
  1612. * src/tdepowersave.cpp: related changes.
  1613. 2006-11-06 Danny Kukawka <danny.kukawka@web.de>
  1614. * src/hardware.cpp: Fixed setBrightness (fixed wrong
  1615. usage of dbusSystemMethodCall and int as param)
  1616. 2006-11-06 Danny Kukawka <danny.kukawka@web.de>
  1617. * src/dbusHAL.cpp: Fixed dbusHAL::isUserPrivileged()
  1618. to use 'const char *' instead of QString.
  1619. 2006-11-06 Danny Kukawka <danny.kukawka@web.de>
  1620. * src/hardware.cpp: Fixed case if HAL wasn't present
  1621. at startup. Now if hal reconnect recheck all hardware
  1622. information.
  1623. * src/tdepowersave.cpp: Fixed creation of the applet
  1624. menu if HAL or D-Bus disappear or/and reconnect.
  1625. Fixed applet Icon if HAL/D-Bus is not available.
  1626. 2006-11-06 Danny Kukawka <danny.kukawka@web.de>
  1627. * src/kpowersave.[cpp,h]: Added new function to show
  1628. messages from other classes as e.g. autosuspend to the
  1629. user.
  1630. Moved some functions within the code.
  1631. 2006-11-06 Danny Kukawka <danny.kukawka@web.de>
  1632. * src/dbusHAL.cpp: set dbus_is_connected to false if
  1633. D-Bus is gone
  1634. * src/tdepowersave.cpp: fixed display D-Bus error message
  1635. and avoid display HAL related error msg if D-Bus is
  1636. terminated.
  1637. 2006-11-06 Danny Kukawka <danny.kukawka@web.de>
  1638. * src/hardware.cpp: fixed detection of terminated D-Bus
  1639. and reconnect to the service and HAL
  1640. 2006-11-06 Danny Kukawka <danny.kukawka@web.de>
  1641. * src/kpowersave.[cpp,h]: fixed display message if HAL
  1642. is gone.
  1643. 2006-11-06 Danny Kukawka <danny.kukawka@web.de>
  1644. * src/kpowersave.[cpp,h]: removed no longer needed code
  1645. 2006-11-06 Danny Kukawka <danny.kukawka@web.de>
  1646. * src/hardware.cpp: Fixed init the class (set a default
  1647. value for currentCPUFreqPolicy otherwise we can't detect
  1648. the initial changes).
  1649. Fixed setCPUFreq(), use char* instead instead of direct
  1650. usage of e.g. "performance".
  1651. * src/hardware.h: make checkCurrentCPUFreqPolicy() public
  1652. * src/tdepowersave.cpp: force a check of current CPUFreq
  1653. policy after set the policy to be sure the CPUFreq
  1654. Policy is correct displayed in the applet.
  1655. 2006-11-06 Danny Kukawka <danny.kukawka@web.de>
  1656. * src/hardware.cpp: fixed detection of the current CPU
  1657. Freq policy. Use char* instead of QString for return
  1658. values.
  1659. 2006-11-06 Danny Kukawka <danny.kukawka@web.de>
  1660. * src/hardware.cpp: fixed detection of changes in current
  1661. CPU Freq Policy (_use_ temp variable correct )
  1662. * src/tdepowersave.cpp: removed debug
  1663. 2006-11-05 Danny Kukawka <danny.kukawka@web.de>
  1664. * src/hardware.cpp: fixed connect to Q_SIGNALS from the
  1665. primary battery collection. This should fix the applet
  1666. icon to show the correct battery fill level.
  1667. 2006-11-05 Danny Kukawka <danny.kukawka@web.de>
  1668. * src/hardware.[cpp,h]: added and emit new signal if the
  1669. primary battery collection changed a value
  1670. * src/tdepowersave.cpp: Fixed change applet icon if the AC
  1671. plug added/removed
  1672. 2006-11-05 Danny Kukawka <danny.kukawka@web.de>
  1673. * src/detailed_Dialog.ui: removed <includehint>
  1674. * src/detaileddialog.cpp: connect to signal for changes
  1675. of the primary batteries.
  1676. * src/hardware.cpp: fixed connect to changes of batteries
  1677. 2006-11-05 Danny Kukawka <danny.kukawka@web.de>
  1678. * src/detaileddialog.cpp: fixed typo in function call and
  1679. removed already comment out include of kpowersave.h
  1680. 2006-11-05 Danny Kukawka <danny.kukawka@web.de>
  1681. Removed no longer needed sourcecode files from repository:
  1682. * src/dbusPowersave.cpp:
  1683. * src/dbusPowersave.h:
  1684. * src/pdaemon.cpp:
  1685. * src/pdaemon.h:
  1686. 2006-11-05 Danny Kukawka <danny.kukawka@web.de>
  1687. Replaced complete (active) pdaemon and powersave related
  1688. code from KPowersave class:
  1689. * src/Makefile.am: removed pdaemon.* and dbusPowersave.* ,
  1690. reformated the list of source files
  1691. * src/kpowersave.[cpp,h]:
  1692. TODO: test and remove/fix open TODO's
  1693. 2006-11-05 Danny Kukawka <danny.kukawka@web.de>
  1694. * src/hardware.[cpp,h]: Added code to handle reconnect to
  1695. the D-Bus daemon. Added some variables to show if something
  1696. in class HardwareInfo changed. This new variables should
  1697. allow finder grained and easier refresh/handle of battery
  1698. information.
  1699. Fixed code to update battery information and connect to
  1700. related Q_SIGNALS.
  1701. 2006-11-05 Danny Kukawka <danny.kukawka@web.de>
  1702. * src/hardware_battery.[cpp,h]: added also a signal to
  1703. the battery object, wich we emit if a value of the
  1704. battery changed.
  1705. 2006-11-05 Danny Kukawka <danny.kukawka@web.de>
  1706. * src/hardware_batteryCollection.[cpp,h]: added new signal
  1707. if _something_ changed in the collection.
  1708. 2006-11-05 Danny Kukawka <danny.kukawka@web.de>
  1709. * src/dbusHAL.cpp: Removed include of powersave_dbus.h.
  1710. Replaced usage of dbusGetMessageString() from old powersave
  1711. library with dbus_message_get_args() and fixed code to
  1712. fetch event if HAL go down.
  1713. 2006-11-03 Danny Kukawka <danny.kukawka@web.de>
  1714. Replaced complete pdaemon and powersave related code from
  1715. the configuration dialog.
  1716. * src/configuredialog.[cpp,h]:
  1717. * src/tdepowersave.cpp: related changes to open/create the
  1718. configdialog.
  1719. 2006-11-03 Danny Kukawka <danny.kukawka@web.de>
  1720. Renamed class s/settings/Settings and related changes
  1721. * src/detaileddialog.h:
  1722. * src/kpowersave.[cpp,h]:
  1723. * src/settings.[cpp,h]:
  1724. 2006-11-02 Danny Kukawka <danny.kukawka@web.de>
  1725. * src/hardware_battery.cpp: read battery serial only if the
  1726. battery is present.
  1727. 2006-11-02 Danny Kukawka <danny.kukawka@web.de>
  1728. * src/pdaemon.[cpp,h]: Removed no longer needed code to get
  1729. CPU information directly from sysfs
  1730. 2006-11-02 Danny Kukawka <danny.kukawka@web.de>
  1731. Replaced usage of pdaemon class in the detailed dialog with
  1732. class HardwareInfo:
  1733. * src/dbusHAL.cpp: fixed debug message
  1734. * src/dbusPowersave.cpp: comment out some code to get the
  1735. applet run temporary, before remove the class complete.
  1736. * src/detaileddialog.[cpp,h]: replaced complete pdaemon code
  1737. * src/tdepowersave.cpp: related changes to call the constructor
  1738. of class detaileddialog.
  1739. 2006-11-02 Danny Kukawka <danny.kukawka@web.de>
  1740. * src/hardware.[cpp,h]: fixed CPU Freq stuff, added new member
  1741. to check if the hardware/kernel support cpufreq in general,
  1742. also without HAL. We need this to show CPU information in
  1743. the detailed dialog also if there is no support vi HAL.
  1744. Added fix to get the battery information. Need to update the
  1745. primary battery collection on init.
  1746. 2006-11-02 Danny Kukawka <danny.kukawka@web.de>
  1747. * src/hardware_battery.cpp: fixed detection of battery type,
  1748. don't check if the battery present for the battery type. The
  1749. information about the type is always present, also for empty
  1750. battery bay.
  1751. 2006-11-02 Danny Kukawka <danny.kukawka@web.de>
  1752. * src/hardware.[cpp,h]: Added some new functions to get access
  1753. to battery list and the primary battery collection.
  1754. Fixed bug in checkBrightness(), check always if the list of
  1755. devices is not empty before use them.
  1756. Fixed some minor bugs in debug messages
  1757. 2006-11-02 Danny Kukawka <danny.kukawka@web.de>
  1758. * src/config/kpowersaverc_default: added new config entries to
  1759. save the default ac and battery scheme
  1760. * src/dbusPowersave.[cpp,h]: renamed some enums to avoid
  1761. conflicts while remove this class.
  1762. * src/detaileddialog.[cpp,h]: replaced scheme information from
  1763. powersave with new from class settings. Added pointer to current
  1764. settings to constructor.
  1765. * src/hardware_battery.[cpp,h]: renamed some enum to avoid
  1766. conflicts
  1767. * src/tdepowersave.cpp: replaced scheme handling parts where we
  1768. tried to get scheme information from the pdaemon class. commented
  1769. out some code which we should replace later.
  1770. * src/kpowersave.h: added new member to hold HardwareInfo class
  1771. * src/pdaemon.[cpp,h]: renamed enum, removed scheme handling
  1772. from code of the class. We use now the new structure. Use some
  1773. enums from hardware_battery.h temporary.
  1774. * src/settings.[cpp,h]: added new members to handle the default
  1775. ac and battery scheme
  1776. 2006-10-30 Danny Kukawka <danny.kukawka@web.de>
  1777. * configure.in.in: removed no longer needed dependencies and
  1778. updated HAL and D-Bus version dependencies.
  1779. 2006-10-29 Danny Kukawka <danny.kukawka@web.de>
  1780. Added some new configure variables to the default settings.
  1781. * src/config/kpowersaverc_default: added new battery state level
  1782. related variables and a new variable for the available schemes.
  1783. Removed no longer needed sound related variables.
  1784. * src/settings.[cpp,h]: Added new enum level_action to define
  1785. actions if a battery level state reached. Added code to read the
  1786. available schemes and the battery warning states from the config
  1787. file.
  1788. 2006-10-28 Danny Kukawka <danny.kukawka@web.de>
  1789. Fixed creation of D-Bus connection. Don't use private connection
  1790. anymore. Simply call dbus_bus_get() instead. This should fix
  1791. b.n.c #214881.
  1792. * src/dbusHAL.cpp:
  1793. * src/dbusPowersave.cpp:
  1794. 2006-10-25 Danny Kukawka <danny.kukawka@web.de>
  1795. * src/hardware.cpp: Fixed updateBatteryValues() to call the new
  1796. member function of the battery to update the values.
  1797. * src/hardware_battery.cpp: Fixed checkBatteryPresent() to call
  1798. depending on the new state of the battery all depending updates.
  1799. 2006-10-25 Danny Kukawka <danny.kukawka@web.de>
  1800. * src/hardware.cpp: Fixed function to trigger a update of the
  1801. primary battery collection and added some intial code to handle
  1802. DeviceAdded/DeviceRemoved events from HAL.
  1803. * src/hardware.hi: added battery collection for primary
  1804. batteries and renamed related update function.
  1805. * src/hardware_batteryCollection.[cpp,h]: added new function
  1806. isBatteryHandled() to check if this Collection already handle
  1807. this udi/battery
  1808. 2006-10-25 Danny Kukawka <danny.kukawka@web.de>
  1809. * src/hardware.[cpp,h]: Added new function to check if we should
  1810. handle a special device (e.g. on a HAL_DEVICE::DeviceAdded
  1811. event) and to get the type of the device (added a new enum
  1812. device_type).
  1813. Added some new Q_SIGNALS for: HAL error handling, data changes and
  1814. if the sleep button was pressed.
  1815. 2006-10-24 Danny Kukawka <danny.kukawka@web.de>
  1816. Cleanup: removed not handled msg_type NAME_AQUIRED.
  1817. * src/dbusHAL.[cpp,h]:
  1818. * src/hardware.cpp:
  1819. 2006-10-24 Danny Kukawka <danny.kukawka@web.de>
  1820. * src/hardware.[cpp,h]: Added check for privileges for CPUFreq
  1821. interface via PolicyKit and check before try to use the
  1822. interface. Added function to get this info from outside.
  1823. 2006-10-24 Danny Kukawka <danny.kukawka@web.de>
  1824. * src/hardware.[cpp,h]: Added PolicyKit check for suspend/
  1825. standby interface.
  1826. 2006-10-24 Danny Kukawka <danny.kukawka@web.de>
  1827. * src/dbusHAL.[cpp,h]: changed return type of new function
  1828. isUserPrivileged() from bool to int to get a info if we can't
  1829. connect to the PolicyKit interface on DBUS.
  1830. 2006-10-24 Danny Kukawka <danny.kukawka@web.de>
  1831. * src/dbusHAL.[cpp,h]: Added function to check PolicyKit
  1832. for a privilege for a given user.
  1833. 2006-10-23 Danny Kukawka <danny.kukawka@web.de>
  1834. * src/hardware_battery.[cpp,h]: make get* functions const
  1835. 2006-10-23 Danny Kukawka <danny.kukawka@web.de>
  1836. * src/hardware_battery.cpp: added some code to check if the
  1837. battery is really present. If not, we don't need to run all
  1838. updates or the calls to HAL.
  1839. 2006-10-23 Danny Kukawka <danny.kukawka@web.de>
  1840. * src/hardware_battery.cpp: removed calls of minRecheck() in
  1841. the get* methodes. The data should always be up to date because
  1842. of the HAL events. If not, we have a problem and should fix
  1843. this instead of call minRecheck() on each get methodes. If
  1844. this is really needed, we can call this function also from
  1845. outside (isn't a private function).
  1846. 2006-10-23 Danny Kukawka <danny.kukawka@web.de>
  1847. * src/hardware.cpp: removed todo, code comment update
  1848. * src/hardware_battery.[cpp,h]: Added variable to check if the
  1849. battery is inialised and added event handling including emit
  1850. related Q_SIGNALS if something changed.
  1851. Set crit_level as default to 2 as in old powersave config.
  1852. * src/hardware_batteryCollection.cpp: set crit_level as default
  1853. to 2 as in old powersave config
  1854. 2006-10-23 Danny Kukawka <danny.kukawka@web.de>
  1855. * src/hardware_battery.cpp: if battery was removed, set the
  1856. battery members back to default.
  1857. 2006-10-23 Danny Kukawka <danny.kukawka@web.de>
  1858. * src/hardware_battery.cpp: fixed typo for a HAL property
  1859. 2006-10-23 Danny Kukawka <danny.kukawka@web.de>
  1860. * src/hardware_battery.cpp: added code to filter events and
  1861. call the related function to update the key.
  1862. TODO: add code to check if really something was changed and
  1863. emit some Q_SIGNALS.
  1864. 2006-10-23 Danny Kukawka <danny.kukawka@web.de>
  1865. * src/hardware_battery.[cpp,h]: separated code from recheck()
  1866. and minRecheck() to query information from HAL to new small
  1867. functions for each property.
  1868. 2006-10-23 Danny Kukawka <danny.kukawka@web.de>
  1869. * src/hardware_battery.[cpp,h]: Small update in code docu and
  1870. added inital code for a new function to update a battery
  1871. property on a HAL event.
  1872. TODO: fill with code to filter the events and seperate current
  1873. code to get a value from HAL into smaller functions to
  1874. reuse them.
  1875. 2006-10-22 Danny Kukawka <danny.kukawka@web.de>
  1876. * src/hardware_battery.[cpp,h]: first remove of no longer
  1877. needed code for some kind of battery collection in this class.
  1878. This is now done by class BatteryCollection.
  1879. TODO: check left code and get methodes. Seperate and split of
  1880. the code to get info from HAL.
  1881. 2006-10-22 Danny Kukawka <danny.kukawka@web.de>
  1882. * src/hardware_batteryCollection.cpp: clean up list of udis
  1883. before start the update process.
  1884. 2006-10-22 Danny Kukawka <danny.kukawka@web.de>
  1885. * src/hardware_batteryCollection.[cpp,h]: emit now also all
  1886. the other Q_SIGNALS for percentage, minutes, present batteries
  1887. and the charging state.
  1888. 2006-10-22 Danny Kukawka <danny.kukawka@web.de>
  1889. * src/hardware_batteryCollection.[cpp,h]: emit Q_SIGNALS for
  1890. reached battery warning states.
  1891. 2006-10-22 Danny Kukawka <danny.kukawka@web.de>
  1892. * src/hardware_batteryCollection.[cpp,h]: return a bool for
  1893. the set functions to detect incorrect values.
  1894. 2006-10-22 Danny Kukawka <danny.kukawka@web.de>
  1895. * src/hardware_batteryCollection.[cpp,h]: Completed code to
  1896. collect the values from the batteries.
  1897. Added new members to get the number of present batteries and
  1898. to get the battery state.
  1899. TODO: add Q_SIGNALS and emit them.
  1900. 2006-10-20 Danny Kukawka <danny.kukawka@web.de>
  1901. * src/hardware_batteryCollection.[cpp,h]: added needed
  1902. functions to set/get access to privat members.
  1903. TODO: add code to read the batteries into the class.
  1904. 2006-10-20 Danny Kukawka <danny.kukawka@web.de>
  1905. * src/Makefile.am: added new files to Makefile
  1906. * src/hardware_battery.h: minor changes
  1907. * src/hardware_batteryCollection.[cpp,h]: added new class to
  1908. handle battery collections. This class should allow us to get
  1909. e.g. only the needed information from all primary batteries.
  1910. 2006-10-20 Danny Kukawka <danny.kukawka@web.de>
  1911. * src/hardware.[cpp.h]: Added new initial function to collect
  1912. battery information from all primary batteries.
  1913. 2006-10-20 Danny Kukawka <danny.kukawka@web.de>
  1914. * src/hardware.[cpp,h]: replaced QValueList as datatype for
  1915. BatteryList with QPtrList. QValueList can't contain objects
  1916. which are derived from QObject.
  1917. NOTE: For QPtrList as for QDict we need always deep copies
  1918. 2006-10-19 Danny Kukawka <danny.kukawka@web.de>
  1919. * src/hardware.[cpp,h]: Added initial code to filter battery
  1920. events from HAL and update the battery objects.
  1921. TODO: check if the construct with the QValueList for batteries
  1922. is correct and add code to update the objects.
  1923. 2006-10-19 Danny Kukawka <danny.kukawka@web.de>
  1924. * src/hardware.[cpp,h]: Filter powerbutton event and emit a
  1925. signal.
  1926. 2006-10-19 Danny Kukawka <danny.kukawka@web.de>
  1927. * src/hardware.[cpp,h]: Filter lidclose event and emit a signal.
  1928. Fixed emit signal: first set new value to variable and emit then
  1929. the signal.
  1930. 2006-10-19 Danny Kukawka <danny.kukawka@web.de>
  1931. * src/hardware.[cpp,h]: filter ac adapter in/out event and emit
  1932. a signal.
  1933. 2006-10-19 Danny Kukawka <danny.kukawka@web.de>
  1934. * src/dbusHAL.h: removed unused event type HAL_EVENT
  1935. * src/hardware.cpp: Added initial code to filter the DBUS and
  1936. HAL events we need in KPowersave.
  1937. TODO: add code to do what we need if a event happen and
  1938. evaluate if we need all the events.
  1939. 2006-10-19 Danny Kukawka <danny.kukawka@web.de>
  1940. * src/hardware.cpp: check if the new udi is already in the
  1941. list of all udis. QStringList add strings without check if
  1942. they are already in.
  1943. 2006-10-19 Danny Kukawka <danny.kukawka@web.de>
  1944. * src/hardware.[cpp,h]: fixed intialiseHWInfo() to use only
  1945. one QStringList for the devices. Added new code to the func
  1946. to collect the battery UDIs.
  1947. Added code to store the UDIs of all devices we handle and
  1948. want to monitor. This should allow us a finer grained filter
  1949. functions for HAL events.
  1950. * src/hardware_battery.[cpp,h]: Changed one constructor to
  1951. give always as first the reference to dbus_HAL.
  1952. 2006-10-19 Danny Kukawka <danny.kukawka@web.de>
  1953. * src/hardware_battery.h: removed no longer needed define
  1954. _BATTPRESETS
  1955. 2006-10-19 Danny Kukawka <danny.kukawka@web.de>
  1956. * kpowersave.tdevelop: updated some KDevelop project settings
  1957. * src/settings.h: removed unneeded empty class
  1958. 2006-10-16 Danny Kukawka <danny.kukawka@web.de>
  1959. * src/hardware_battery.[cpp,h]: More cleanups, changes in code
  1960. style and code documentation. Removed not needed hasHalError().
  1961. 2006-10-16 Danny Kukawka <danny.kukawka@web.de>
  1962. * src/hardware_battery.[cpp,h]: Sorted private members of the
  1963. class by type and added function to init private members with
  1964. default values instead to use a define. This should avoid
  1965. compiler warnings.
  1966. Added some code comments for doxygen.
  1967. 2006-10-15 Danny Kukawka <danny.kukawka@web.de>
  1968. * src/hardware.[cpp,h]: Added function to get the current
  1969. CPU Frequency policy from HAL and a function to get this
  1970. value from the privat class member.
  1971. TODO: check if we also can get info for DYNAMIC_SET.
  1972. 2006-10-15 Danny Kukawka <danny.kukawka@web.de>
  1973. * src/hardware.[cpp,h]: added function to get the current
  1974. brightness level from HAL. This should allow get current
  1975. brightness without recheck the interface.
  1976. 2006-10-15 Danny Kukawka <danny.kukawka@web.de>
  1977. * src/hardware.[cpp,h]: s/PMStates/SuspendStates/ and
  1978. s/pm_states/suspend_states/ to be more clear
  1979. 2006-10-15 Danny Kukawka <danny.kukawka@web.de>
  1980. * src/hardware.[cpp,h]: replaced QDict for powermanagement states
  1981. with a struct which should be easier to handle. Added new members
  1982. to the struct to represent information if call the related
  1983. interface is allowed
  1984. 2006-10-11 Danny Kukawka <danny.kukawka@web.de>
  1985. * src/hardware.[cpp,h]: Added function to set CPU frequency
  1986. policy via the HAL interface (support the currently) available
  1987. tree policies.
  1988. 2006-10-10 Danny Kukawka <danny.kukawka@web.de>
  1989. * src/hardware.[cpp,h]: added function to check if the machine
  1990. support change the CPU frequency via HAL.
  1991. TODO: add check for PolicyKit policy
  1992. 2006-10-10 Danny Kukawka <danny.kukawka@web.de>
  1993. * src/hardware.cpp: cleanup QDict<bool> pm in checkSuspend() if
  1994. not empty before reuse.
  1995. 2006-10-10 Danny Kukawka <danny.kukawka@web.de>
  1996. * src/hardware.[cpp,h]: added get functions for suspend/standby
  1997. support info and if DBUS/HAL are running.
  1998. 2006-10-10 Danny Kukawka <danny.kukawka@web.de>
  1999. * src/hardware.[cpp,h]: Added some functions to read private
  2000. class members from outside. Changed existing get functions to
  2001. const.
  2002. * src/hardware_battery.cpp: code style changes
  2003. 2006-10-10 Danny Kukawka <danny.kukawka@web.de>
  2004. * src/hardware.h: Changed function params to show also the
  2005. variable names in code completion of KDevelop.
  2006. 2006-10-10 Danny Kukawka <danny.kukawka@web.de>
  2007. * src/hardware.[cpp,h]: Added function to change the brightness
  2008. of the laptop display (if supported by the hardware).
  2009. Added code comments and fixed some debug messages.
  2010. 2006-10-10 Danny Kukawka <danny.kukawka@web.de>
  2011. * src/hardware.cpp: added missing debug messages
  2012. 2006-10-09 Danny Kukawka <danny.kukawka@web.de>
  2013. * src/dbusHAL.[cpp,h]: changed DBus method call functions for
  2014. easier usage than the old one and removed one no longer needed
  2015. function.
  2016. * src/dbusHAL.h: Changed function params to show also the
  2017. variable names in code completion of KDevelop.
  2018. * src/hardware.cpp: Adapted exsting code the new functions.
  2019. 2006-10-06 Danny Kukawka <danny.kukawka@web.de>
  2020. * src/dbusHAL.h: s/HAL_DEVICE_UDI/HAL_COMPUTER_UDI/
  2021. * src/hardware.[cpp,h]: Replaced strings with defines
  2022. HAL_COMPUTER_UDI and HAL_PM_IFACE.
  2023. Added new initial function to trigger a suspend and added new
  2024. enum (suspend_type) to select the suspend/standby method for
  2025. the call.
  2026. TODO: add check for PolicyKit policy for the suspend and
  2027. rework the dbus method call functions. We can maybe
  2028. merge some functions.
  2029. 2006-10-05 Danny Kukawka <danny.kukawka@web.de>
  2030. * src/hardware.[cpp,h]: added new boolean member to hold info
  2031. if the machine is a laptop. Changed existing function to check
  2032. the formfactor and set laptop value, added new function to get
  2033. laptop value.
  2034. Added some code do constructor to init members and to get some
  2035. initial hardware information.
  2036. 2006-10-05 Danny Kukawka <danny.kukawka@web.de>
  2037. Fixed some code comments (line breaks etc.).
  2038. * src/hardware.cpp:
  2039. * src/hardware_battery.h:
  2040. 2006-10-03 Danny Kukawka <danny.kukawka@web.de>
  2041. * src/dbusHAL.[cpp,h]: removed HAL specific function to call
  2042. a powermanagement related function and added three generic
  2043. functions to call a method on a DBUS interface (taked and
  2044. adapted code from current powersave code base).
  2045. * src/hardware.[cpp,h]: added a new function to get init
  2046. brightness information as e.g. if change brightness is
  2047. supported, how many brightness level are available and the
  2048. current level.
  2049. 2006-10-01 Danny Kukawka <danny.kukawka@web.de>
  2050. * src/dbusHAL.[cpp,h]: added function to check the supported
  2051. powermanagement/suspend functions and store the information
  2052. if e.g. suspend2disk is available as HAL interface and if not
  2053. if the machine support this via the kernel in general.
  2054. * src/hardware.[cpp,h]: added function to get a stringlist
  2055. property from HAL for a given device.
  2056. 2006-09-29 Frank Seidel <frank.seidel@web.de>
  2057. * src/hardware_battery.[cpp,h]: Very very first implementation
  2058. of class Battery. Probably full of many ugly bugs, but its
  2059. a start.
  2060. 2006-09-28 Frank Seidel <frank.seidel@web.de>
  2061. * src/dbusHAL.cpp: Fixed typo in halQueryCapability (libhal
  2062. function call).
  2063. 2006-09-28 Danny Kukawka <danny.kukawka@web.de>
  2064. * src/hardware.[cpp,h]: Added some more code comments and new
  2065. functions to init hardware information about AC adapter and the
  2066. lidclose button.
  2067. 2006-09-26 Danny Kukawka <danny.kukawka@web.de>
  2068. * src/dbusHAL.[cpp,h]: code comments
  2069. * src/hardware.[cpp,h]: addes some empty functions and a QDicr
  2070. for udis of devices except batteries (e.g. AC, Lid, buttons ...)
  2071. * src/pdaemon.cpp: added comments about the state of port code
  2072. and functions to class dbusHAL
  2073. 2006-09-25 Danny Kukawka <danny.kukawka@web.de>
  2074. * src/hardware.cpp: Fixed typo in debug msg. Filled destructor.
  2075. 2006-09-25 Danny Kukawka <danny.kukawka@web.de>
  2076. * src/hardware.[cpp,h]: added functions to check if the machine
  2077. is a laptop and if the machine support ACPI/APM.
  2078. TODO: add some line of code to check for ACPI/APM if HAL is not
  2079. present.
  2080. 2006-09-25 Danny Kukawka <danny.kukawka@web.de>
  2081. * src/hardware.[cpp,h]: Added more to constructor and init. Copied
  2082. code to get CPU Freq information for the detailed dialog from
  2083. pdaemon.[*] to this file. Updated some code docu.
  2084. 2006-09-25 Danny Kukawka <danny.kukawka@web.de>
  2085. * src/dbusHAL.cpp: init HAL context in constructor
  2086. * src/hardware.[cpp/h]: conntect to DBUS/HAL in constructor and
  2087. added initial function to filter and handle events from DBUS/HAL
  2088. via signal from dbusHAL class.
  2089. 2006-09-23 Danny Kukawka <danny.kukawka@web.de>
  2090. Added new basic classes to handle hardware information, as e.g.
  2091. battery, lid state or AC adapter state, and the powermanagement
  2092. related functions as e.g. suspend2*/standby or CPU freq.
  2093. NOTE: this are only initial files and classes, we maybe replace or
  2094. rename them while development.
  2095. * src/Makefile.am:
  2096. * src/hardware.cpp:
  2097. * src/hardware.h:
  2098. * src/hardware_battery.cpp:
  2099. * src/hardware_battery.h:
  2100. 2006-09-23 Danny Kukawka <danny.kukawka@web.de>
  2101. * Doxyfile: changed version string
  2102. * src/Makefile.am: added dbusHAL class to make
  2103. * src/dbusHAL.[cpp,h]: Changed name of the class to dbusHAL and
  2104. added connection to HAL and code to hold LibHalContext. The class
  2105. contains now mew functions to search for devices and to get device
  2106. information from HAL. Also added: new function to call
  2107. org.freedesktop.Hal.Device.SystemPowerManagement methodes on HAL
  2108. via DBUS.
  2109. 2006-09-04 Danny Kukawka <danny.kukawka@web.de>
  2110. Added new class to monitor HAL Q_SIGNALS (DeviceAdded, DeviceRemoved,
  2111. PropertyModified, Condition) and Connect/Disconnect events via DBUS.
  2112. This class is not used atm in the code, but should replace the class
  2113. dbusPowersave in the future.
  2114. TODO: add code to init and hold hal_context for libhal.
  2115. * src/dbusHAL.cpp:
  2116. * src/dbusHAL.h:
  2117. 2006-09-04 Danny Kukawka <danny.kukawka@web.de>
  2118. * kpowersave.tdevelop: fixed tdevelop file to get code completion
  2119. running.
  2120. 2006-08-15 Frank Seidel <frank.seidel@web.de>
  2121. Trivial fix for SUSE bug #198237 (when powersaved wasn't
  2122. running and kpowersave starts, a wrong error about dbus
  2123. was shown).
  2124. * src/pdaemon.cpp:
  2125. 2006-08-11 Danny Kukawka <danny.kukawka@web.de>
  2126. updated files to current admin dir from KDE 3.5.4 and added
  2127. two missing files from the KDE SVN directory.
  2128. * admin/*:
  2129. 2006-08-11 Danny Kukawka <danny.kukawka@web.de>
  2130. * doc/doxy/fixed_bugs.dox: updated list
  2131. * src/infodialog.cpp: added string "KPowersave" to window
  2132. caption (SUSE bug #198237) of warning messages via infodialog
  2133. 2006-08-11 Danny Kukawka <danny.kukawka@web.de>
  2134. * src/pdaemon.cpp: cleanup: removed unused code and replaced
  2135. code comment with debug message.
  2136. 2006-08-11 Danny Kukawka <danny.kukawka@web.de>
  2137. Prepared for QT4 where FALSE is depricated. Replaced with false.
  2138. * src/blacklisteditdialog.cpp:
  2139. * src/detaileddialog.cpp:
  2140. * src/tdepowersave.cpp:
  2141. * src/pdaemon.cpp:
  2142. * src/pdaemon.h:
  2143. 2006-08-11 Danny Kukawka <danny.kukawka@web.de>
  2144. Changed returnvalue of checkDaemon() and type of daemon_running
  2145. (in class pDaemon) from int to bool:
  2146. * src/detaileddialog.cpp:
  2147. * src/tdepowersave.cpp:
  2148. * src/pdaemon.cpp:
  2149. * src/pdaemon.h:
  2150. 2006-07-17 Danny Kukawka <danny.kukawka@web.de>
  2151. * src/detaileddialog.cpp: undo kpowersave part of commit r2374
  2152. which not solve SUSE bug #186197
  2153. 2006-06-12 Danny Kukawka <danny.kukawka@web.de>
  2154. again (re)tagged and released official update release v0.6.2
  2155. 2006-06-12 Danny Kukawka <danny.kukawka@web.de>
  2156. Fixed SUSE bug #184076:
  2157. * ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
  2158. * doc/doxy/fixed_bugs.dox: added fixed bug to list
  2159. * po/*.po, po/kpowersave.pot: removed "(messagebus)" and
  2160. s/messagebus/dbus/ in all translations
  2161. * src/infodialog.cpp: added command to adjust the size of the
  2162. dialog before open.
  2163. * src/tdepowersave.cpp: fixed message if dbus daemon is not
  2164. running. Use correct script name and not the name from Fedora.
  2165. 2006-06-12 Danny Kukawka <danny.kukawka@web.de>
  2166. (re)tagged and released official update release, version 0.6.2
  2167. 2006-06-12 Danny Kukawka <danny.kukawka@web.de>
  2168. Fixed SLED bug ##183745:
  2169. * configure.in.in: added configure check to differ between
  2170. SUSE Linux and SLES/SLED as enterprise products
  2171. * README: changed link to bugzilla for SUSE Linux and SLED/SLES
  2172. * doc/doxy/fixed_bugs.dox: added fixed bug to list
  2173. * src/tdepowersave.cpp: added new link for SLES/SLED bugzilla
  2174. * ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
  2175. * packaging/*.spec: updated specs to current version
  2176. * packaging/FC5.kpowersave.spec: added new Fedora Core 5 spec
  2177. 2006-06-11 Danny Kukawka <danny.kukawka@web.de>
  2178. tagged and released official update release, version 0.6.2
  2179. 2006-06-11 Danny Kukawka <danny.kukawka@web.de>
  2180. * ChangeLog.package, doc/doxy/changelog.dox: updated
  2181. changelogs from stable tree
  2182. 2006-06-11 Danny Kukawka <danny.kukawka@web.de>
  2183. * configure.in.in: added configure check to detect K/Ubuntu
  2184. * README: changed link to Ubuntu bugzilla to launchpad.net
  2185. * src/tdepowersave.cpp: added address for ALT Linux and Ubuntu
  2186. bugzilla for "Report a bug ..."
  2187. 2006-06-11 Danny Kukawka <danny.kukawka@web.de>
  2188. * kpowersave.tdevelop: added KDE and QT3 libs to code completion
  2189. * src/inactivity.cpp: fixed compiler warning
  2190. * src/kpowersave.[cpp/h]: added DCOP function to open/close
  2191. the detailed information dialog
  2192. 2006-06-07 Danny Kukawka <danny.kukawka@web.de>
  2193. Updated translations back from SUSE/Novell translation team,
  2194. reworked and merged the files with existing translations:
  2195. * po/es.po:
  2196. * po/fr.po:
  2197. * po/it.po:
  2198. * po/pt_BR.po:
  2199. * po/zh_CN.po:
  2200. * po/zh_TW.po:
  2201. 2006-06-07 Danny Kukawka <danny.kukawka@web.de>
  2202. * doc/doxy/fixed_bugs.dox: updated list of fixed bugs in doc.
  2203. 2006-06-07 Danny Kukawka <danny.kukawka@web.de>
  2204. * src/kpowersave.[cpp/h]: Added slightly adopted patch from
  2205. Timo Hönig <thoenig@suse.de> to fix SUSE bug #176782 and
  2206. enable change display brightness (if supported and enabled in
  2207. the current scheme) via the mousewheel over the applet icon.
  2208. 2006-06-07 Danny Kukawka <danny.kukawka@web.de>
  2209. Updated dependencies to powersave version 0.12.18 in docs:
  2210. * README:
  2211. * doc/doxy/main.dox:
  2212. 2006-06-07 Danny Kukawka <danny.kukawka@web.de>
  2213. Fixed SUSE bug #182515: Changed configure dialog to respect the
  2214. rules for DPMS timouts from www.xfree86.org/current/DPMSLib.pdf.
  2215. * src/configure_Dialog.ui: Added new signal handlers to QSpinBoxes
  2216. for the DPMS timeouts
  2217. * src/configuredialog.[cpp/h]: added code to correct values for
  2218. the timouts to guaranty correct DPMS settings
  2219. 2006-06-05 Danny Kukawka <danny.kukawka@web.de>
  2220. * po/de.po: updated translation, added missing string
  2221. 2006-06-05 Danny Kukawka <danny.kukawka@web.de>
  2222. Fixed errorhandling for DBUS,HAL and powersave connections (this
  2223. fix partly SUSE bug #168619) to display correct state:
  2224. * src/dbusPowersave.[cpp/h]: added new checks to detect: if HAL
  2225. detached from the system message bus and if the user has the rights
  2226. to connect to powersaved dbus interface. Added function to access
  2227. information if user has the needed rights (check with a "Ping").
  2228. Also fixed some typos, removed withespaces, and replaced printf()
  2229. with myDebug().
  2230. * src/kpowersave.[cpp/h]: Added new function to show errormessages
  2231. related to problems with dbus (showDBusErrorMsg()), extended/
  2232. reorganised showHalErrorMsg(). Removed no longer needed code
  2233. since we now are directly informed if HAL gone. Changed
  2234. updateTooltip() to get correct tooltip if HAL not running.
  2235. * src/pdaemon.[cpp/h]: reworked handling regarding to the changes
  2236. above and to handle new information about the tree central services
  2237. for KPOwersave (DBUS,powersave,HAL). Updated code doc.
  2238. * configure.in.in: changed dependencies to powersave 0.12.18
  2239. because of needed changes related to REPLY_NO_RIGHTS.
  2240. 2006-06-05 Danny Kukawka <danny.kukawka@web.de>
  2241. * src/inactivity.cpp: added a check to catch the case, where (unknow
  2242. if this ever the case) the idletime is correct get from the X-Server.
  2243. 2006-06-02 Danny Kukawka <danny.kukawka@web.de>
  2244. * po/fi.po: updated translations back from SUSE/Novell translation
  2245. team
  2246. 2006-06-02 Danny Kukawka <danny.kukawka@web.de>
  2247. * src/config/kpowersaverc_default: added more programs to the
  2248. autosuspend default blacklist: gmplayer,kaffeine,xine,mencoder
  2249. 2006-06-02 Danny Kukawka <danny.kukawka@web.de>
  2250. * src/tdepowersave.cpp: added check before autosuspend, if autosuspend
  2251. was disabled via the applet menu
  2252. 2006-06-02 Danny Kukawka <danny.kukawka@web.de>
  2253. Code documentation fixes and updates to current code:
  2254. * doc/doxy/fixed_bugs.dox: Added fixed bug to list, back from
  2255. kpowersave-CODE10 branch.
  2256. * doc/doxy/implemented.dox:
  2257. * doc/doxy/process.dox:
  2258. * src/inactivity.cpp:
  2259. * src/infodialog.cpp:
  2260. * src/tdepowersave.cpp:
  2261. * src/kpowersave.h:
  2262. * src/screen.cpp:
  2263. 2006-06-02 Danny Kukawka <danny.kukawka@web.de>
  2264. * doc/doxy/fixed_bugs.dox: added fixed buginfo
  2265. * src/inactivity.[cpp,h]: Added new function to workaround XServer bug
  2266. regarding to idleTime (dpms timeouts are abstracted, but should not)
  2267. and DPMS timeouts (are currently additive - bug #180000). New function
  2268. correct the idleTime if needed (related SUSE bug: #177788 / sf.net
  2269. #1483392). For more info see comment in fixed_bugs.dox
  2270. Todo: evaluate if there is a way to identify the versions of X where
  2271. this was changed or get fixed.
  2272. 2006-06-01 Danny Kukawka <danny.kukawka@web.de>
  2273. * po/de.po: fixed german translation
  2274. 2006-05-29 Danny Kukawka <danny.kukawka@web.de>
  2275. * po/hu.po: updated translations back from SUSE/Novell translation
  2276. team
  2277. 2006-05-27 Danny Kukawka <danny.kukawka@web.de>
  2278. * po/{bg,da,el,es,fi,fr,it,ja,km,nb,nl,pa,pl,pt,pt_BR,ru,sk,sl_SI,sv,
  2279. tr,uk,zh_CN,zh_TW.}.po: merged two new dummy strings from pot file
  2280. 2006-05-27 Danny Kukawka <danny.kukawka@web.de>
  2281. * po/de.po: updated german translation
  2282. 2006-05-27 Danny Kukawka <danny.kukawka@web.de>
  2283. * po/{cs,hu}.po: updated translations back from SUSE/Novell
  2284. translation team
  2285. 2006-05-27 Danny Kukawka <danny.kukawka@web.de>
  2286. * po/{fi,km,pl}.po: fixed strings (from last typo fixes)
  2287. * po/kpowersave.pot: added dummy strings for better error messages if
  2288. powersaved or the DBUS daemon is not running or accessable.
  2289. 2006-05-22 Danny Kukawka <danny.kukawka@web.de>
  2290. * src/tdepowersave.cpp/h: (list_CPUFreqPolicys): Added dcop function to
  2291. list the supported CPU Frequency policies.
  2292. (do_setCPUFreqPolicy): Added dcop function to set the current CPUFreq
  2293. policy.
  2294. 2006-05-22 Danny Kukawka <danny.kukawka@web.de>
  2295. * src/tdepowersave.cpp/h: (do_setScheme): added new dcop function to
  2296. allow set the current scheme via kpowersave (see sf.net bug #1483392)
  2297. (disableAutosuspend): litte change, set first applet item to avoid
  2298. possible double action
  2299. 2006-05-22 Danny Kukawka <danny.kukawka@web.de>
  2300. * src/eventsrc: updated missing translations back from SUSE/Novell
  2301. translation team.
  2302. 2006-05-22 Danny Kukawka <danny.kukawka@web.de>
  2303. * po/de.po: fixed typo in german translation
  2304. 2006-05-22 Danny Kukawka <danny.kukawka@web.de>
  2305. * src/tdepowersave.cpp: (disableAutosuspend): fixed sf.net bug #1483392
  2306. and set changes on autosuspend state via dcop interface back to the
  2307. applet.
  2308. 2006-04-25 Danny Kukawka <danny.kukawka@web.de>
  2309. * src/eventsrc: added czech translations from SUSE/Novell translation
  2310. team, removed wrong translations of resume_from_suspend2ram_event
  2311. (ja,zh_CN,zh_TW)
  2312. 2006-04-24 Danny Kukawka <danny.kukawka@web.de>
  2313. Added russian translations from Anton Farygin <rider@altlinux.com>
  2314. * src/eventsrc:
  2315. * src/kpowersave.desktop:
  2316. * src/kpowersave-autostart.desktop:
  2317. 2006-04-24 Danny Kukawka <danny.kukawka@web.de>
  2318. * README: updated translation with file from Anton Farygin
  2319. <rider@altlinux.com>
  2320. * po/ru.po: Changed link to ALT Linux bugzilla
  2321. 2006-04-24 Danny Kukawka <danny.kukawka@web.de>
  2322. * src/eventsrc: fixed a description and translation in eventsrc
  2323. 2006-04-18 Danny Kukawka <danny.kukawka@web.de>
  2324. * kpowersave.tdevelop: updated version string for project to
  2325. "0.7.x - TRUNK"
  2326. 2006-04-18 Danny Kukawka <danny.kukawka@web.de>
  2327. updated svn:ignore properties
  2328. 2006-04-18 Danny Kukawka <danny.kukawka@web.de>
  2329. * src/*.cpp, src/*.h: removed doxygen \version tag from source files
  2330. to avoid annoying change of version with each new release.
  2331. 2006-04-18 Danny Kukawka <danny.kukawka@web.de>
  2332. * doc/doxy/fixed_bugs.dox: added fixed bug to list.
  2333. 2006-04-18 Danny Kukawka <danny.kukawka@web.de>
  2334. * configure.in.in: added check for headers from dbus-qt3-devel
  2335. package (copied from KNetworkMananger source).
  2336. 2006-04-18 Danny Kukawka <danny.kukawka@web.de>
  2337. * src/detaileddialog.cpp: fixed processorbar for multiprocessor/
  2338. -core machines without CPUFreq or Throttling support, if a CPU/
  2339. Core was deactivated (thanks to Daniel fot the hint).
  2340. 2006-04-18 Danny Kukawka <danny.kukawka@web.de>
  2341. * src/pdaemon.cpp: fixed problems with remaining time until full
  2342. charged with APM. Also cleaned up the code and removed no longer
  2343. needed/useless checks. (see SUSE bug #167296)
  2344. 2006-04-13 Danny Kukawka <danny.kukawka@web.de>
  2345. Updated translations, back from SUSE/Novell translation team:
  2346. * po/fi.po:
  2347. * po/km.po:
  2348. * po/pl.po:
  2349. 2006-04-12 Danny Kukawka <danny.kukawka@web.de>
  2350. * doc/doxy/fixed_bugs.dox: added fixed bug to doc
  2351. * src/eventsrc: removed bad formated UTF8
  2352. 2006-04-09 Danny Kukawka <danny.kukawka@web.de>
  2353. Retagged v0.6.0 and released new version.
  2354. 2006-04-09 Danny Kukawka <danny.kukawka@web.de>
  2355. * ChangeLog.package, doc/doxy/changelog.dox: updated Changelogs
  2356. * NEWS: updated release news for v0.6.0
  2357. 2006-04-09 Danny Kukawka <danny.kukawka@web.de>
  2358. * doc/doxy/fixed_bugs.dox: added SUSE/Novell bug #164683
  2359. * src/detaileddialog.cpp: Added call setProcessorThrottling()
  2360. every 2 secs if throttling is supported or if there is more than
  2361. one CPU/core in the system. Added call checkCPUSpeedThrottling()
  2362. in setProcessorThrottling() to get always actual data. Fixed
  2363. connects to use local pointer to pdaemon object.
  2364. This all (including changes since 2006-04-07) should fix
  2365. SUSE/Novell bug #164683
  2366. * src/inactivity.cpp: fixed compiler warning
  2367. 2006-04-09 Danny Kukawka <danny.kukawka@web.de>
  2368. Added slightly adopted patch from Daniel Gollub to fake the CPU
  2369. system information in proc and sys for development and tests:
  2370. * configure.in.in: added configure option --enable-fake-cpu
  2371. * src/pdaemon.cpp: added ifdef and related changes to fake
  2372. the path to the CPU informations under /tmp/foo
  2373. * src/pdaemon.cpp: fixed warning for compare unsigned and signed
  2374. 2006-04-09 Danny Kukawka <danny.kukawka@web.de>
  2375. * src/detaileddialog.cpp: set processorbar to deactivated if the
  2376. cpuspeed < 0 (cpu is offline) and the machine only support
  2377. throttling
  2378. * src/pdaemon.cpp: fixed throttling-case if cpu is offline
  2379. 2006-04-08 Danny Kukawka <danny.kukawka@web.de>
  2380. * src/detaileddialog.cpp: reduced usage of getCPUNum(), fixed
  2381. display processor freq, if the cPU is back from offline. Added
  2382. check to reduce unneded changes in processorbars if nothing changed.
  2383. * src/detaileddialog.h: added private variable to store the numbers
  2384. in the system
  2385. * src/pdaemon.cpp: reduced usage of getCPUNum() by replace with
  2386. a variable (numOfCPUs)
  2387. * src/pdaemon.h: added private variable to store the numbers in
  2388. the system
  2389. 2006-04-07 Danny Kukawka <danny.kukawka@web.de>
  2390. Tagged release v0.6.0
  2391. 2006-04-07 Danny Kukawka <danny.kukawka@web.de>
  2392. Released new version v0.6.0
  2393. 2006-04-07 Danny Kukawka <danny.kukawka@web.de>
  2394. * ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
  2395. for release 0.6.0
  2396. * NEWS: updated release news for release 0.6.0
  2397. 2006-04-07 Danny Kukawka <danny.kukawka@web.de>
  2398. * src/pdaemon.cpp: changed waiting intervall for powersave on
  2399. startup from 10 sec to 20 to avoid problems on slow machines and
  2400. with autologin (again).
  2401. 2006-04-05 Danny Kukawka <danny.kukawka@web.de>
  2402. fixed date strings to last changes and reemoved the date from
  2403. the future:
  2404. * doc/cs/index.docbook:
  2405. * doc/de/index.docbook:
  2406. * doc/en/index.docbook:
  2407. * doc/fi/index.docbook:
  2408. * doc/hu/index.docbook:
  2409. * doc/nb/index.docbook:
  2410. * doc/pt/index.docbook:
  2411. 2006-04-05 Danny Kukawka <danny.kukawka@web.de>
  2412. Branch official stable release 0.6.0. Add two new Branches:
  2413. - kpowersave-CODE10 (for SUSE 10.1, SLES 10 and SLED 10)
  2414. - kpowersave-0.6 (general stable branch)
  2415. 2006-04-05 Danny Kukawka <danny.kukawka@web.de>
  2416. * po/de.po, src/eventsrc: fixed typos in german translations
  2417. * src/kpowersave-autostart.desktop, src/kpowersave.desktop:
  2418. copied missing translations from SUSE desktop files and
  2419. removed not translated strings
  2420. 2006-04-04 Danny Kukawka <danny.kukawka@web.de>
  2421. * src/tdepowersave.cpp: changed address for bug reports if this
  2422. is a SUSE package to opensuse wiki page for bug reports
  2423. * src/main.cpp: fixed address for bugreports in the about
  2424. dialog. This should be a mail adress, use now powersave-users ML.
  2425. * ChangeLog.package, doc/doxy/changelog.dox: updated Changelogs
  2426. * NEWS: updated release news.
  2427. 2006-04-04 Danny Kukawka <danny.kukawka@web.de>
  2428. Prepared offical stable release v0.6.0:
  2429. * ChangeLog.package, doc/doxy/changelog.dox: updated Changelogs
  2430. * NEWS: update release news
  2431. 2006-04-04 Danny Kukawka <danny.kukawka@web.de>
  2432. Prepare offical stable release 0.6 and remove kpowersave-CODE10
  2433. and kpowersave-0.6 branches to add new offical release 0.6.
  2434. Reason: kpowersave is now featurecomplete for CODE10 and STABLE
  2435. and 0.6 was not released outside SUSE.
  2436. * ChangeLog.package, doc/doxy/changelog.dox: backported Changes
  2437. from deleted branches
  2438. 2006-04-04 Danny Kukawka <danny.kukawka@web.de>
  2439. * doc/de/Makefile.am, doc/de/index.docbook, doc/de/*.png: Added new
  2440. german version of the handbook
  2441. 2006-04-03 Danny Kukawka <danny.kukawka@web.de>
  2442. * doc/doxy/enhance.dox, doc/doxy/process.dox: Updated gnome-screensaver
  2443. related enhancement request.
  2444. 2006-04-03 Danny Kukawka <danny.kukawka@web.de>
  2445. * src/screen.cpp: fixed fake shift keyevent, use correct keycode
  2446. and set delay to 0
  2447. 2006-04-03 Danny Kukawka <danny.kukawka@web.de>
  2448. Added support for GNOME Screensaver for lock in a GNOME desktop
  2449. session:
  2450. * po/de.po, po/kpowersave.pot: added string for GNOME screensaver
  2451. * src/configuredialog.cpp, src/configuredialog.h: added GNOME
  2452. screensaver to configure dialog (only if a GNOME session is running)
  2453. * src/tdepowersave.cpp: Fixed detection of GNOME session
  2454. * src/screen.cpp, src/screen.h: Added support for detection of and
  2455. lock with GNOME screensaver
  2456. 2006-04-02 Danny Kukawka <danny.kukawka@web.de>
  2457. * src/config/kpowersaverc_default: added new configure variable
  2458. for emit faked keyevent after resume from suspend
  2459. * src/tdepowersave.cpp, src/kpowersave.h: added function to call
  2460. screen:fakeShiftKeyEvent() after resume
  2461. * src/screen.h: changed fakeShiftKeyEvent to public SLOT
  2462. * src/settings.cpp, src/settings.h: added read new variable
  2463. timeToFakeKeyAfterLock from config file
  2464. 2006-04-01 Danny Kukawka <danny.kukawka@web.de>
  2465. * src/Makefile.am: added -lXtst
  2466. * src/screen.cpp, src/screen.h: added new function so fake press
  2467. shift key to show the login screen on resume if the machine was
  2468. locked on supend.
  2469. 2006-03-29 Danny Kukawka <danny.kukawka@web.de>
  2470. * src/tdepowersave.cpp: fixed errorhandling for YaST power-management
  2471. module. Added returncode 16 (user clicked on Cancel) as successful
  2472. case to avoid error message.
  2473. 2006-03-28 Danny Kukawka <danny.kukawka@web.de>
  2474. Fixed UTF-8 in desktop files:
  2475. * src/kpowersave-autostart.desktop:
  2476. * src/kpowersave.desktop:
  2477. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2478. Branch stable release 0.6.0 for SUSE.
  2479. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2480. * ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
  2481. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2482. * NEWS: added last changes
  2483. * doc/doxy/enhance.dox: added gnome-screen-saver related
  2484. feature request for 0.6.x code tree (at least for SLES/SLED).
  2485. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2486. Added older spec files for SUSE 9.3 and 9.2:
  2487. * packaging/SUSE9.2.kpowersave.spec:
  2488. * packaging/SUSE9.3.kpowersave.spec:
  2489. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2490. Updated spec files for upcomming stable version:
  2491. * packaging/FC4.kpowersave.spec:
  2492. * packaging/SUSE10.0.kpowersave.spec:
  2493. * packaging/SUSE10.1.kpowersave.spec:
  2494. * packaging/mdk.cooker.kpowersave.spec:
  2495. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2496. * NEWS: added release news
  2497. * README: Updated install section and added section with
  2498. dependency information and help/bugreport info
  2499. * configure.in.in: updated powersave dependency to current
  2500. stable version 0.12.7
  2501. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2502. * doc/doxy/enhance.dox, doc/doxy/process.dox: Added new planed
  2503. features/enhancements for 0.7.x (devel)/0.8.x (stable) to the
  2504. documentation.
  2505. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2506. Prepare new release (v0.6.0-stable):
  2507. * Doxyfile: updated version string for code doc
  2508. * src/*.{cpp,h}: updated version strings
  2509. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2510. * src/tdepowersave.cpp: fixed tooltip to avoid adding string for
  2511. charging battery (" -- battery is charging") if the battery is
  2512. full (100%) and the machine is on AC, but the battery is reporting
  2513. charging (broken ACPI case).
  2514. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2515. * po/*.po, po/kpowersave.pot: merged changes to po and pot file(s)
  2516. * src/configuredialog.cpp: fixed strings as proposed by Stefan
  2517. Seyfried
  2518. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2519. * po/bg.poi, po/da.po, po/el.po, po/km.po, po/nl.po, po/pa.po,
  2520. po/ru.po, po/sk.po, po/sl_SI.po, po/sv.po, po/tr.po, po/uk.po:
  2521. Added merged versions of translation files
  2522. 2006-03-27 Danny Kukawka <danny.kukawka@web.de>
  2523. Added patch from Michael Biebl:
  2524. * configure.in.in: removed no longer needed check
  2525. * src/tdepowersave.cpp: fixed connect for autosusend notify on resume
  2526. 2006-03-25 Danny Kukawka <danny.kukawka@web.de>
  2527. * doc/fi/index.docbook: merged changes/fixes from the SUSE/Novell
  2528. translation team to the handbook
  2529. 2006-03-25 Danny Kukawka <danny.kukawka@web.de>
  2530. * po/es.po, po/fi.po, po/fr.po, po/it.po, po/ja.po, po/pl.po,
  2531. po/pt.po, po/pt_BR.po, po/zh_CN.po, po/zh_TW.po: Updated language
  2532. files with new translations from the SUSE/Novell translation team
  2533. 2006-03-24 Danny Kukawka <danny.kukawka@web.de>
  2534. Updated and merged translations of comment and GenericName strings
  2535. from the SUSE/Novell translation team:
  2536. * src/eventsrc:
  2537. * src/kpowersave-autostart.desktop:
  2538. * src/kpowersave.desktop:
  2539. 2006-03-24 Danny Kukawka <danny.kukawka@web.de>
  2540. * po/cs.po, po/de.po, po/hu.po, po/nb.po, po/pt.po: Updated
  2541. translations, back from SUSE/Novell translation team
  2542. * po/kpowersave.pot: added current pot file
  2543. 2006-03-19 Danny Kukawka <danny.kukawka@web.de>
  2544. * NEWS: added some infos for the next release
  2545. 2006-03-19 Danny Kukawka <danny.kukawka@web.de>
  2546. * src/*.png, src/pics/*.png: optimized the size of the applet icons
  2547. also with optipng and advdef
  2548. 2006-03-19 Danny Kukawka <danny.kukawka@web.de>
  2549. * doc/$LANG/*.png: optimized the size of the png files
  2550. additional with advdef -z -4. This reduce the file minus
  2551. ~ 3%
  2552. 2006-03-19 Danny Kukawka <danny.kukawka@web.de>
  2553. * doc/$LANG/*.png: optimized the size of the png files with
  2554. optipng -i0 -o5. This reduced the size of the files between
  2555. minus ~18% and ~28%
  2556. 2006-03-19 Danny Kukawka <danny.kukawka@web.de>
  2557. * src/pics/cr22-action-laptoppower.png: fixed some pixel
  2558. 2006-03-19 Danny Kukawka <danny.kukawka@web.de>
  2559. * kpowersave.tdevelop: some automatic changes from tdevelop
  2560. * src/Makefile.am: Added new files (inactivity.*)
  2561. * src/autosuspend.cpp, src/autosuspend.h: moved basic code to
  2562. a new class inactivity for reuse on dimm brightness on incativity
  2563. * src/inactivity.cpp, src/inactivity.h: new files/class with
  2564. basic functions to detect inactivity and check blacklist
  2565. * src/tdepowersave.cpp: changed name of signal for autosuspend
  2566. 2006-03-19 Danny Kukawka <danny.kukawka@web.de>
  2567. * src/pdaemon.cpp: changed adding scheme to schemelist. First add
  2568. the scheme to list and then set specific schemes.
  2569. * src/schemes.cpp: Removed some todos and added checks to the
  2570. adding of specific schemes as e.g. ac_scheme. Set the specific
  2571. scheme only if the scheme is in the scheme list. Added check to
  2572. append() to avoid add scheme multiple times.
  2573. 2006-03-19 Danny Kukawka <danny.kukawka@web.de>
  2574. * src/detaileddialog.cpp: fixed set processor bar for the first
  2575. open of the dialog.
  2576. 2006-03-16 Danny Kukawka <danny.kukawka@web.de>
  2577. * src/pdaemon.h: changed possition of include for Slackware to
  2578. be sure that config.h is loaded befor the check.
  2579. 2006-03-13 Danny Kukawka <danny.kukawka@web.de>
  2580. * src/configuredialog.cpp: added string dummys for scheme specfic
  2581. CPU hotplugging support in the next development tree and planed
  2582. feature for CODE 10 SP1.
  2583. Added some additional strings for 'Dimm dispaly on inactivity'.
  2584. All this strings added for new translation round.
  2585. * src/tdepowersave.cpp: Added some string dummys for translate
  2586. s2ram message
  2587. 2006-03-13 Danny Kukawka <danny.kukawka@web.de>
  2588. * src/main.cpp: updated code documentation and copyright header
  2589. 2006-03-13 Danny Kukawka <danny.kukawka@web.de>
  2590. tagged release v0.5.11 (rc5)
  2591. 2006-03-13 Danny Kukawka <danny.kukawka@web.de>
  2592. Prepared new release 0.5.11 (rc5):
  2593. * ChangeLog.package, doc/doxy/changelog.dox: udapted changelogs
  2594. * NEWS: added release news for 0.5.11
  2595. * src/*.cpp, src/*.h: updated version in code doc
  2596. 2006-03-13 Danny Kukawka <danny.kukawka@web.de>
  2597. * src/detaileddialog.cpp: added slightly adopted patch from Timo
  2598. Hoenig <thoenig@suse.de> to replace 'Mhz' with correct 'MHz'
  2599. * po/*.po, po/kpowersave.pot: updated translation files for this
  2600. changes.
  2601. 2006-03-13 Danny Kukawka <danny.kukawka@web.de>
  2602. * doc/fi/index.docbook: fixed names of screenshots
  2603. * po/fi.po: updated from SUSE/Novell translation team
  2604. * po/pt.po: updated version from Hugo Costelha
  2605. <hugo.costelha@gmail.com>
  2606. * src/eventsrc: added translation for Portuguese from Hugo Costelha
  2607. 2006-03-12 Danny Kukawka <danny.kukawka@web.de>
  2608. * src/configuredialog.cpp: hide 'lock in lidclose' checkbox if the
  2609. machine is not a laptop
  2610. 2006-03-12 Danny Kukawka <danny.kukawka@web.de>
  2611. * src/pdaemon.cpp, src/pdaemon.h: fixed double include and moved
  2612. one include to cpp-file instead of header to avoid unneeded includes
  2613. 2006-03-12 Danny Kukawka <danny.kukawka@web.de>
  2614. * src/pdaemon.cpp, src/pdaemon.h: added function to check if the
  2615. machine is a Lpatop or not.
  2616. 2006-03-12 Danny Kukawka <danny.kukawka@web.de>
  2617. Prepared for QT4 where TRUE is depricated. Replaced with true.
  2618. * src/blacklisteditdialog.cpp:
  2619. * src/detaileddialog.cpp:
  2620. * src/tdepowersave.cpp:
  2621. * src/pdaemon.cpp:
  2622. * src/pdaemon.h:
  2623. * src/settings.cpp:
  2624. 2006-03-11 Danny Kukawka <danny.kukawka@web.de>
  2625. Code documentation related cleanups, added new todo
  2626. * src/configuredialog.cpp:
  2627. * src/dbusPowersave.h:
  2628. * src/detaileddialog.cpp:
  2629. 2006-03-11 Danny Kukawka <danny.kukawka@web.de>
  2630. * src/pdaemon.cpp: added a check to setBrightness() which should
  2631. prevent set the lowest brightness level if this is not the same as
  2632. level from BrightnessMin. This should avoid set off the display
  2633. via scheme specific brightness settings (e.g. on ppc/pmu where
  2634. lowest level 0 mean display off). (I don't like this fuzzy work-
  2635. around, but the powersave brightness interface does not work as
  2636. I would prefer ... atm)
  2637. * src/pdaemon.h: added new private variable for the number of
  2638. available brightness level to avoid unneeded dbus calls, extended
  2639. setBrightness() with a force_min option to force the given value.
  2640. 2006-03-11 Danny Kukawka <danny.kukawka@web.de>
  2641. * src/configuredialog.cpp, src/configuredialog.h,
  2642. src/detaileddialog.cpp, src/detaileddialog.cpp:
  2643. renamed: s/maxBrightnessLevels/brightnessLevels/
  2644. * src/pdaemon.cpp, src/pdaemon.h: renamed variable and function
  2645. related to get the number of availabale brightness level, added new
  2646. helper function to simply get a integer value from powersave via DBUS
  2647. - this should reduce the code in this class, replaced code with call
  2648. the new helper function simpleGetIntegerValue(...)
  2649. 2006-03-10 Danny Kukawka <danny.kukawka@web.de>
  2650. * removed SVN property executable from several files
  2651. 2006-03-09 Danny Kukawka <danny.kukawka@web.de>
  2652. * src/detaileddialog.cpp: applied patch from Daniel Gollub to set the
  2653. processor icon correct if no battery is available and the battery
  2654. groupbox is hide.
  2655. 2006-03-09 Danny Kukawka <danny.kukawka@web.de>
  2656. * src/schemes.cpp, src/schemes.h: added missing code documentation
  2657. 2006-03-09 Danny Kukawka <danny.kukawka@web.de>
  2658. * src/kpowersave.h: whitespace fix
  2659. * src/tdepowersave_debug.h: added copyright header and a doxygen comment
  2660. 2006-03-09 Danny Kukawka <danny.kukawka@web.de>
  2661. * Doxyfile: updated EXCLUDE filelist related to the last name changes
  2662. of sourcefiles
  2663. 2006-03-08 Danny Kukawka <danny.kukawka@web.de>
  2664. Added patch from Holger Macht <hmacht@suse.de> to allow root always
  2665. to suspend/standby machine.
  2666. * src/tdepowersave.cpp: Added check if current user is root and use
  2667. ADMIN_MESSAGE instead of ACTION_MESSAGE if uid==0
  2668. * src/pdaemon.cpp: If user is root set suspend/standby always to
  2669. allowed
  2670. 2006-03-08 Danny Kukawka <danny.kukawka@web.de>
  2671. * Doxyfile: Changed version from CVS-HEAD to SVN-trunk
  2672. * doc/doxy/enhance.dox: reorganized items and added new enhancement
  2673. for dimm display on inactivity
  2674. * doc/doxy/main.dox: updated infos and dependencies, added list
  2675. of distributions for which KPowersave is available and the related
  2676. links
  2677. * kpowersave.tdevelop: automatical changes from tdevelop
  2678. 2006-03-07 Danny Kukawka <danny.kukawka@web.de>
  2679. tagged release v0.5.10 (rc4)
  2680. 2006-03-07 Danny Kukawka <danny.kukawka@web.de>
  2681. * po/pl.po, src/eventsrc: added pl translations from Dawid Wróbel
  2682. <cromo@klej.net>
  2683. * src/kpowersave-autostart.desktop, src/kpowersave.desktop: added
  2684. pl translations from Dawid Wróbel <cromo@klej.net> and cs translation
  2685. from the SUSE/Novell translation team
  2686. 2006-03-06 Danny Kukawka <danny.kukawka@web.de>
  2687. * ChangeLog.package, doc/doxy/changelog.dox: added last change to
  2688. the changelogs for the release
  2689. * NEWS: added info for new dependeny
  2690. * configure.in.in: added check for powersave >= 0.12.2
  2691. 2006-03-06 Danny Kukawka <danny.kukawka@web.de>
  2692. Prepared new release 0.5.10 (rc4):
  2693. * ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
  2694. * NEWS: added release news
  2695. * src/*.cpp, src/*.h: updated release version strings
  2696. 2006-03-06 Danny Kukawka <danny.kukawka@web.de>
  2697. * src/config/kpowersaverc_default: added new config key to disable
  2698. force dpms of on lidclose
  2699. * src/tdepowersave.cpp, src/kpowersave.h: Added new function to handle
  2700. lidopen event (now reset screen settings to avoid problems after call
  2701. xset on lidclose). Added call screen::forceDPMSOff() on lidclose to set
  2702. light on LCD off. Removed notification functions for lidclose and
  2703. lidopen Q_SIGNALS and merged them to existing functions/Q_SLOTS.
  2704. * src/screen.cpp, src/screen.h: added new function forceDPMSOff() to
  2705. shutdown the display via DPMS (call xset dpms force off).
  2706. * src/settings.cpp, src/settings.h: adde new variable and related
  2707. read from config file to enable/disable force dpms off on lidclose.
  2708. 2006-03-06 Danny Kukawka <danny.kukawka@web.de>
  2709. updated svn:ignore properties
  2710. 2006-03-06 Danny Kukawka <danny.kukawka@web.de>
  2711. * po/pl.po: added updated translation by Dawid Wróbel <cromo@klej.net>
  2712. 2006-03-06 Danny Kukawka <danny.kukawka@web.de>
  2713. * doc/*/*.png: added and updated icons for the handbook in the
  2714. available language versions
  2715. * doc/cs/index.docbook, doc/en/index.docbook, doc/nb/index.docbook,
  2716. doc/pt/index.docbook: Updated handbook (icon names and updated
  2717. renamed and removed icons)
  2718. 2006-03-06 Danny Kukawka <danny.kukawka@web.de>
  2719. * src/pics/cr16-action-display.png, src/pics/cr22-action-display.png:
  2720. Added new icon generated from hicolor scalable svg icons to avoid
  2721. empty icon on distributions wich not ship this iconset.
  2722. 2006-03-06 Danny Kukawka <danny.kukawka@web.de>
  2723. * doc/en/*.png: updated handbook-screenshots
  2724. 2006-03-06 Danny Kukawka <danny.kukawka@web.de>
  2725. Updated language files, back from the SUSE/Novell translation team:
  2726. * po/es.po, po/fr.po, po/it.po, po/ja.po, po/km.po, po/pt_BR.po,
  2727. po/zh_CN.po, po/zh_TW.po:
  2728. 2006-03-04 Danny Kukawka <danny.kukawka@web.de>
  2729. Added slightly adopted patch from Daniel Gollub <dgollub@suse.de>
  2730. to check throttling state for each CPU. This should maybe effect
  2731. multiprocessor machines with throttling (but no CPUfreq) support
  2732. * src/detaileddialog.cpp: Changed to read correct throttling state
  2733. for each CPU
  2734. * src/pdaemon.cpp, src/pdaemon.h: extended getCPUThrottlingState()
  2735. to check each CPU and add the values to a QValueList
  2736. 2006-03-04 Danny Kukawka <danny.kukawka@web.de>
  2737. * packaging/mdk.cooker.kpowersave.spec: added specfile for Mandriva
  2738. cooker
  2739. 2006-03-04 Danny Kukawka <danny.kukawka@web.de>
  2740. * configure.in.in: added pkgconfig check for powersave libs (from
  2741. Michael Biebl), added check to get the path to the dbus-socket.
  2742. This should fix build on Mandriva, which use a different socket
  2743. name/location.
  2744. * src/Makefile.am: fixed linking libs to use pkgconfig (from Michael
  2745. Biebl)
  2746. * src/dbusPowersave.cpp: replaced path to dbus socket with define
  2747. from configure
  2748. 2006-03-01 Danny Kukawka <danny.kukawka@web.de>
  2749. * configure.in.in: fixed detection of distribution. Changed position
  2750. of Mandrake/Mandriva because they also ship redhat-release. Added
  2751. two more releasefile checks for Mandriva
  2752. 2006-03-01 Danny Kukawka <danny.kukawka@web.de>
  2753. * src/detaileddialog.cpp: Changed constructor to only display
  2754. batterygroupbox only if the machine has min. one batterybay. This
  2755. should hide the groupbox on workstations.
  2756. Fixed processor progressbars for multiprocessor/-core machines
  2757. without CPUfreq. Now display all progressbars with values, not only
  2758. the first. TODO: read throttling states for all CPUs/cores.
  2759. On machines without CPUfreq or throttling support changed text in
  2760. processor progressbars to only display the frequency and not also
  2761. percentages.
  2762. 2006-02-27 Danny Kukawka <danny.kukawka@web.de>
  2763. tagged release v0.5.9 (rc3)
  2764. 2006-02-27 Danny Kukawka <danny.kukawka@web.de>
  2765. * doc/fi/index.docbook: added updated Finish handbook version from
  2766. the SUSE/Novell translation team
  2767. * po/cs.po, po/fi.po: added updated and complete translated po files
  2768. from the SUSE/Novell translation team
  2769. 2006-02-27 Danny Kukawka <danny.kukawka@web.de>
  2770. Prepared new release 0.5.9 (rc3):
  2771. * ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
  2772. * NEWS: added release news
  2773. * src/*.cpp, src/*.h: updated release version strings
  2774. 2006-02-27 Danny Kukawka <danny.kukawka@web.de>
  2775. * src/detaileddialog.cpp: Added battery support for APM.
  2776. NOTE: Currently HAL poll AC and battery every 2 sec. This produce
  2777. many events. This maybe result in more CPU usage and many rechecks
  2778. in KPowersave. --> fix HAL only to poll AC every 2 seconds and
  2779. battery maybe every 60 or 30 secs.
  2780. * src/tdepowersave.cpp: added APM case to updateTooltip():
  2781. if charging and APM: only display percentage because we currently
  2782. get no remaining time values from HAL
  2783. 2006-02-27 Danny Kukawka <danny.kukawka@web.de>
  2784. * src/detaileddialog.cpp: changed default if machine doesn't
  2785. support throttling and cpufreq. In this case display only
  2786. CPU freq from /proc/cpuinfo
  2787. * src/pdaemon.cpp, src/pdaemon.h: Added check if throttling is not
  2788. supported by machine, changed returnvalue for this from void to
  2789. boolean. This should fix e.g. machines with APM
  2790. * src/tdepowersave_debug.h: fixed myDebug to make function usable
  2791. within on-line if-else commands
  2792. 2006-02-23 Danny Kukawka <danny.kukawka@web.de>
  2793. * src/detaileddialog.cpp: fixed display battery state in the
  2794. misc group, now remove the line if no battery present.
  2795. TODO: fix powersave to not answer for powersave -s NORMAL if no
  2796. battery is present in the machine, better print unknown
  2797. 2006-02-21 Danny Kukawka <danny.kukawka@web.de>
  2798. * po/de.po: replaced "Stromstecker" with "Stromversorgung"
  2799. 2006-02-21 Danny Kukawka <danny.kukawka@web.de>
  2800. * po/de.po: fixed translation for "unplugged"
  2801. 2006-02-21 Danny Kukawka <danny.kukawka@web.de>
  2802. * po/hu.po: added updated and complete translated po file from
  2803. the SUSE/Novell translation team
  2804. 2006-02-21 Danny Kukawka <danny.kukawka@web.de>
  2805. tagged release v0.5.8 (rc2)
  2806. 2006-02-20 Danny Kukawka <danny.kukawka@web.de>
  2807. * src/autosuspend.cpp: removed the path to pidof. On Fedora
  2808. Core 4 is no link from /sbin/pidof to /bin/pidof. Remove the
  2809. absolute path because pidof should be in the PATH of user env.
  2810. * ChangeLog.package, doc/doxy/changelog.dox, NEWS: updated for
  2811. this fix
  2812. * po/kpowersave.pot, po/*.po: fixed translation
  2813. 2006-02-20 Danny Kukawka <danny.kukawka@web.de>
  2814. Prepared new release 0.5.8 (rc2):
  2815. * ChangeLog.package, doc/doxy/changelog.dox: Updated changelogs
  2816. * NEWS: added releasenotes
  2817. * src/*.h, src/*.cpp: updated version strings
  2818. 2006-02-20 Danny Kukawka <danny.kukawka@web.de>
  2819. * po/*.po: merged new string
  2820. 2006-02-20 Danny Kukawka <danny.kukawka@web.de>
  2821. * po/kpowersave.pot: added string for charging battery
  2822. * src/detaileddialog.cpp: remove whitespaces in code doc
  2823. * src/tdepowersave.cpp: added extra string if machine is charging
  2824. 2006-02-19 Danny Kukawka <danny.kukawka@web.de>
  2825. * po/*.po: updated/merged translation files
  2826. 2006-02-19 Danny Kukawka <danny.kukawka@web.de>
  2827. * po/Makefile.am: added some help make commands for translations
  2828. * po/kpowersave.pot: updated
  2829. * src/configuredialog.cpp: removed outcommented tooltip string
  2830. 2006-02-19 Danny Kukawka <danny.kukawka@web.de>
  2831. * po/kpowersave.pot: update pot file for the translation round
  2832. * src/detaileddialog.cpp: removed blank the string for AC state
  2833. because we get a translation round.
  2834. 2006-02-19 Danny Kukawka <danny.kukawka@web.de>
  2835. * src/detaileddialog.cpp, src/detaileddialog.h: replaced layout for
  2836. battery and processor bars with QGridLayout to be sure all widgets
  2837. have the same size. Replaced picture for total battery fuel state
  2838. with a string. Cleaned up the code.
  2839. * src/pics/cr22-action-summary.png: Removed no longer needed pic.
  2840. 2006-02-19 Danny Kukawka <danny.kukawka@web.de>
  2841. * src/configuredialog.cpp: added icon to the 'Configure Notifications'
  2842. button
  2843. 2006-02-18 Danny Kukawka <danny.kukawka@web.de>
  2844. Renamed the *.ui files to the same name syntax/style:
  2845. * src/Makefile.am: related fixed
  2846. * src/blacklist_edit.ui: renamed to blacklistedit_Dialog.ui
  2847. * src/blacklisteditdialog.cpp/h: related code changes
  2848. * src/kpowersave_configure.ui: renamed to configure_Dialog.ui
  2849. * src/configureDialog.cpp/h: renamed to configuredialog.cpp/h and
  2850. related code changes
  2851. * src/detailed_dialog.ui:renamed to detailed_Dialog.ui
  2852. * src/detaileddialog.cpp/h: related code changes
  2853. * src/info_dialog.ui: renamed to info_Dialog.ui
  2854. * src/infodialog.cpp/h: related code changes
  2855. * src/kpowersave.h: related code changes
  2856. 2006-02-17 Danny Kukawka <danny.kukawka@web.de>
  2857. * src/configureDialog.cpp: fixed string
  2858. * src/eventsrc: Added new events and default settings. including the
  2859. german translation of the comments.
  2860. * src/tdepowersave.cppn src/kpowersave.h: Added new KNotify events for:
  2861. suspend (3), resume (3), scheme switched (5), lidclosed, lidopened.
  2862. Fixed code comments and cleanups.
  2863. * src/pdaemon.cpp, src/pdaemon.h: Added new Q_SIGNALS for: lidopened,
  2864. each resume type ( resumedFrom(QString) )
  2865. 2006-02-17 Danny Kukawka <danny.kukawka@web.de>
  2866. Removed no longer needed parts (sound notify) from handbook.
  2867. Also removed 2 screenshots from the effected dirs.
  2868. TODO: need to make new screenshots and add missing pics.
  2869. * doc/cs/index.docbook:
  2870. * doc/en/index.docbook:
  2871. * doc/fi/index.docbook:
  2872. * doc/hu/index.docbook:
  2873. * doc/nb/index.docbook:
  2874. * doc/pt/index.docbook:
  2875. 2006-02-17 Danny Kukawka <danny.kukawka@web.de>
  2876. * po/Makefile.am: added messages_merge and messages_stat
  2877. * po/*.po, po/kpowersave.pot: updated to current code. We need new
  2878. review for the translations. Cleaned up no longer needed strings
  2879. and useless default strings.
  2880. Fixed i18n strings:
  2881. * src/autosuspend.cpp:
  2882. * src/detaileddialog.cpp:
  2883. * src/tdepowersave.cpp:
  2884. * src/kpowersave_configure.ui:
  2885. 2006-02-17 Danny Kukawka <danny.kukawka@web.de>
  2886. Added slightly adopted and extended patch from Michael Biebl
  2887. <biebl@teco.edu> to replace sound event settings with KNotify:
  2888. * src/Makefile.am: Added new eventsrc for KNotify to make
  2889. * src/configureDialog.cpp, src/configureDialog.h,
  2890. src/kpowersave_configure.ui: Removed sound settings from scheme
  2891. section and the general sound settings. Added a checkbox to disable
  2892. notifications per scheme in the scheme section->misc.
  2893. Changed: Added a new button to general settings to start the KNotify
  2894. config dialog also from the configure dialog, fixed ui files for KDE
  2895. user interface style guide, cleanups
  2896. * src/eventsrc: Added define and defaults for events.
  2897. Changed: Added events for different battery states and added german
  2898. translation for the comments. NOTE: need to be translated!
  2899. * src/tdepowersave.cpp, src/kpowersave.h: Added menu entry to start
  2900. the KNotify config dialog to configure the notifications. Changed
  2901. handling for events, removed not needed sound events and replaced
  2902. with KNotify events (AC adapter, Battery states, Autosuspend started)
  2903. Changed: Fixed messagetexts, fixed menu entry icon, KDE style guide
  2904. changes, i18n fixes, cleanups
  2905. * src/settings.cpp, src/settings.h: Removed no longer needed code
  2906. regarding to settings for sound events
  2907. 2006-02-16 Danny Kukawka <danny.kukawka@web.de>
  2908. * src/Makefile.am: comment out rule for kpowersaveui.rc
  2909. * src/kpowersaveui.rc: removed not needed file from SVN tree
  2910. 2006-02-16 Danny Kukawka <danny.kukawka@web.de>
  2911. * src/tdepowersave.cpp, src/kpowersave.h: Added dcop function to
  2912. open configure dialog.
  2913. 2006-02-16 Danny Kukawka <danny.kukawka@web.de>
  2914. * src/COPYING, src/NEWS: cleanup: removed doubled files which
  2915. are also available in topdir
  2916. 2006-02-16 Danny Kukawka <danny.kukawka@web.de>
  2917. * Makefile.am: added new Makefile.am from KDevelop
  2918. * Makefile.am.in: removed/replaced with Makefile.am
  2919. 2006-02-16 Danny Kukawka <danny.kukawka@web.de>
  2920. * kpowersave.tdevelop: updated KDevelop project file, removed
  2921. svn as source verserion system because of crashes of KDevelop.
  2922. 2006-02-14 Danny Kukawka <danny.kukawka@web.de>
  2923. * po/pa.po: fixed path to powersaved with patch from Michael Biebl
  2924. 2006-02-13 Danny Kukawka <danny.kukawka@web.de>
  2925. Added slightly adopted patch from Daniel Gollub <dgollub@suse.de>
  2926. to display cpu bar if machine only support throttling:
  2927. * src/detaileddialog.cpp, src/detaileddialog.h: Added throttling
  2928. switch if machine not support cpufreq.
  2929. Changes: Removed usage of pdaemon pointer and replaced with pd.
  2930. Moved setTextEnabled() to constructor to reduce unneeded calls.
  2931. * src/pdaemon.cpp, src/pdaemon.h: Added new functions to read
  2932. throttling information and cpu freq from proc.
  2933. Changes: Closed filepointer in new functions and added check if
  2934. stream reaches the end of file. Added some checks and set default
  2935. value for cpu_throttling.
  2936. 2006-02-13 Danny Kukawka <danny.kukawka@web.de>
  2937. * src/pdaemon.cpp, src/pdaemon.h: added new signal for throttling
  2938. events
  2939. 2006-02-13 Danny Kukawka <danny.kukawka@web.de>
  2940. * po/bg.po, po/fr.po, po/pa.po: Fixed path to powersaved in
  2941. translation files (I hate this!)
  2942. 2006-02-13 Danny Kukawka <danny.kukawka@web.de>
  2943. Prepared new release 0.5.7 (rc1):
  2944. * ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
  2945. * NEWS: added release news
  2946. * src/*.cpp src/*.h: updated version string
  2947. 2006-02-13 Danny Kukawka <danny.kukawka@web.de>
  2948. * packaging/FC4.kpowersave.spec: updates spec files
  2949. * packaging/SUSE10.0.kpowersave.spec,
  2950. packaging/SUSE10.1.kpowersave.spec: added spec files for SUSE 10.0
  2951. and SUSE 10.1 build system
  2952. 2006-02-13 Danny Kukawka <danny.kukawka@web.de>
  2953. * src/detaileddialog.cpp: Added brightness support and
  2954. battery state infos to detailed dialog
  2955. 2006-02-13 Danny Kukawka <danny.kukawka@web.de>
  2956. * po/es.po, po/fr.po, po/it.po, po/ja.po, po/pt_BR.po
  2957. po/zh_CN.po po/zh_TW.po: added updated and remerged
  2958. translation files from the SUSE/Novell translation team
  2959. 2006-02-13 Danny Kukawka <danny.kukawka@web.de>
  2960. Removed not translated Polish help/handbook from SVN:
  2961. * doc/pl/Makefile.am:
  2962. * doc/pl/index.docbook:
  2963. 2006-02-13 Danny Kukawka <danny.kukawka@web.de>
  2964. Added new Finnish and Polish help/handbook from SUSE/Novell
  2965. translation team:
  2966. * doc/fi/Makefile.am, doc/fi/index.docbook:
  2967. * doc/pl/Makefile.am, doc/pl/index.docbook:
  2968. 2006-02-13 Danny Kukawka <danny.kukawka@web.de>
  2969. * po/bg.po, po/fi.po, po/km.po (new): added updated and
  2970. remerged translation files from the SUSE/Novell translation team
  2971. 2006-02-13 Danny Kukawka <danny.kukawka@web.de>
  2972. * po/pt.po: added updated and remerged translation files from
  2973. the SUSE/Novell translation team
  2974. 2006-02-10 Danny Kukawka <danny.kukawka@web.de>
  2975. * po/hu.po, po/nl.po: added updated and remerged translation
  2976. files from the SUSE/Novell translation team
  2977. 2006-02-08 Danny Kukawka <danny.kukawka@web.de>
  2978. * po/cs.po, po/nb.po: added updated and remerged translations
  2979. from the SUSE/Novell translation team
  2980. * po/zh_CN.po: merged strings from Dawei Pang with new
  2981. language file from SUSE/Novell translation team
  2982. 2006-02-07 Danny Kukawka <danny.kukawka@web.de>
  2983. * po/pt.po: added updated language file from
  2984. Flávio Moringa <flavio.moringa@caixamagica.pt>
  2985. * src/*.desktop: updated pt comment from Flávio Moringa
  2986. * po/es.po, po/fr.po, po/it.po, po/ja.po, po/pt_BR.po,
  2987. po/zh_TW.po: added updated and remerged translation files
  2988. from the SUSE/Novell translation team
  2989. 2006-02-07 Danny Kukawka <danny.kukawka@web.de>
  2990. Applyed patch from Michael Biebl <biebl@teco.edu>:
  2991. * configure.in.in: removed unneeded checks for pkgconfig this
  2992. should be done automatically m4-macros
  2993. * po/*.po, po/kpowersave.pot, src/tdepowersave.cpp: replaced
  2994. path to start powersave with /etc/init.d/powersaved
  2995. 2006-02-07 Danny Kukawka <danny.kukawka@web.de>
  2996. * po/zh_CN.po: updated from Dawei Pang <pangdae@gmail.com>
  2997. 2006-02-06 Danny Kukawka <danny.kukawka@web.de>
  2998. * src/kpowersave-autostart.desktop, src/kpowersave.desktop:
  2999. updated translations in file and remove wrong, old
  3000. translations
  3001. 2006-02-06 Danny Kukawka <danny.kukawka@web.de>
  3002. * src/detaileddialog.cpp: fixed display CPU Freq Policy on
  3003. machines without cpufreq support. Should be carefull with
  3004. usage of enums and checks like 'enum<=0'.
  3005. 2006-02-06 Danny Kukawka <danny.kukawka@web.de>
  3006. Prepared new release 0.5.6:
  3007. * NEWS: added release news
  3008. 2006-02-06 Danny Kukawka <danny.kukawka@web.de>
  3009. Prepared new release 0.5.6:
  3010. * configure.in.in: removed not working header checks,
  3011. changed package version to SVN_TRUNK to replace with
  3012. mk_powersave_package
  3013. * ChangeLog.package, doc/doxy/changelog.dox:
  3014. update Changelog and NEWS
  3015. * src/main.cpp: changed package version to SVN_TRUNK to
  3016. replace with mk_powersave_package
  3017. * po/de.po: fixed strings
  3018. 2006-02-06 Danny Kukawka <danny.kukawka@web.de>
  3019. Added patch from Daniel Gollub <dgollub@suse,de>:
  3020. * configure.in.in: added check for powerlib.h and dbus
  3021. header to configure and stop if missing
  3022. * src/Makefile.am: changed position and variable for
  3023. xgettext to enable make messages.
  3024. 2006-02-06 Danny Kukawka <danny.kukawka@web.de>
  3025. * doc/pt/Makefile.am, doc/pt/index.docbook: added new
  3026. Portuguese handbook from SUSE/Novell translation team
  3027. * po/pt.po: added updated and remerged translation file
  3028. from the SUSE/Novell translation team
  3029. * po/zh_CN.po: added updated language file from
  3030. Dawei Pang <pangdae@gmail.com>
  3031. 2006-02-06 Danny Kukawka <danny.kukawka@web.de>
  3032. * src/detaileddialog.cpp: fixed by Daniel Gollub catched
  3033. bug in detailed dialog which increase the nubmers of
  3034. function calls of setProcessor() with each new event from
  3035. powersave. Removed connect setProcessor to signal
  3036. generalDataChanged() from pdaemon.
  3037. 2006-02-06 Danny Kukawka <danny.kukawka@web.de>
  3038. * po/nb.po: added updated and remerged translation file
  3039. from the SUSE/Novell translation team, fixed one string
  3040. 2006-02-05 Danny Kukawka <danny.kukawka@web.de>
  3041. * doc/hu/index.docbook, doc/hu/*.png: removed and
  3042. changed some pics to reduce package size
  3043. * doc/nb/index.docbook, doc/nb/*.png: removed and
  3044. changed some pics to reduce package size
  3045. * po/*.po, po/kpowersave.pot: fixed pot files (removed
  3046. translated strings) and related fixes in the po files
  3047. 2006-02-05 Danny Kukawka <danny.kukawka@web.de>
  3048. * doc/en/index.docbook: removed and replaced some
  3049. of the pics in the docu
  3050. * doc/en/en_configdialog_general_autosuspend.png,
  3051. doc/en/en_configdialog_schemes_dpms.png,
  3052. doc/en/en_configdialog_yast.png,
  3053. doc/en/en_configdialog_general_lock.png: removed
  3054. this pictures to reduce the size of the package
  3055. * doc/en/en_configdialog_schemes_screen.png,
  3056. doc/en/en_configdialog_schemes.png: changed this
  3057. pictures to reuse them in different places in the
  3058. handbook to reduce the size of the package
  3059. 2006-02-05 Danny Kukawka <danny.kukawka@web.de>
  3060. * src/detaileddialog.cpp: added new summary battery
  3061. progress bar if there are more than one battery bays.
  3062. * src/pics/cr22-action-summary.png: new icon for
  3063. the detailed dialog
  3064. 2006-02-05 Danny Kukawka <danny.kukawka@web.de>
  3065. * doc/cs/Makefile.am: added Makefile.am for cs help
  3066. * src/pdaemon.h: added header for Slackware 10.2 within
  3067. a ifdef, because this is not needed on other distros
  3068. 2006-02-03 Danny Kukawka <danny.kukawka@web.de>
  3069. * src/autosuspend.cpp: changed /sbin/pidof to /bin/pidof
  3070. (thanks to Michael Biebl for the bug tracking). Emit
  3071. a errormessage if the call of pidof fails and added
  3072. debug informations to the class
  3073. * src/autosuspend.h: added new signal to forward
  3074. error messages to class kpowersave
  3075. * src/tdepowersave.cpp: Connect new autosuspend signal
  3076. to display the error msg.
  3077. 2006-02-03 Danny Kukawka <danny.kukawka@web.de>
  3078. * po/pl.po: added new version from Dawid Wróbel
  3079. <cromo@klej.net>
  3080. 2006-02-03 Danny Kukawka <danny.kukawka@web.de>
  3081. * doc/cs/index.docbook: fixed language mark to Czech
  3082. 2006-02-03 Danny Kukawka <danny.kukawka@web.de>
  3083. * doc/cs/index.docbook: added Czech version of the
  3084. handbook (from SUSE/Novell translation team)
  3085. 2006-02-03 Danny Kukawka <danny.kukawka@web.de>
  3086. * po/bg.po: added updated and remerged translation file
  3087. from the SUSE/Novell translation team, removed some
  3088. fuzzy marks
  3089. 2006-02-02 Danny Kukawka <danny.kukawka@web.de>
  3090. * po/fi.po: added updated and remerged translation file
  3091. from the SUSE/Novell translation team
  3092. 2006-02-02 Danny Kukawka <danny.kukawka@web.de>
  3093. * po/pl.po: added slightly fixed new polish language file
  3094. from Dawid Wróbel <cromo@klej.net>
  3095. 2006-02-01 Danny Kukawka <danny.kukawka@web.de>
  3096. * src/tdepowersave.cpp, src/pdaemon.cpp, src/pdaemon.h:
  3097. removed enum BAT_CHARG and replaced with define from
  3098. libpower
  3099. 2006-02-01 Danny Kukawka <danny.kukawka@web.de>
  3100. * src/detaileddialog.cpp: fixed problem with display current
  3101. CPU freq if the machine doesn't support CPU Freq Policy
  3102. 2006-01-30 Danny <danny.kukawka@web.de>
  3103. * po/nl.po: updated nl language file
  3104. 2006-01-30 Danny Kukawka <danny.kukawka@web.de>
  3105. * src/detaileddialog.cpp: disable battery progress bar
  3106. if the batterybay is empty (bettery is not present) and
  3107. reset to enabled if battery is added
  3108. 2006-01-30 Danny Kukawka <danny.kukawka@web.de>
  3109. Prepared new release 0.5.5:
  3110. * ChangeLog.package, NEWS, doc/doxy/changelog.dox: Updated
  3111. Changelogs and NEWS for the release
  3112. * configure.in.in, src/*.cpp, src/*.h: updated version
  3113. strings in the source
  3114. 2006-01-30 Danny Kukawka <danny.kukawka@web.de>
  3115. * po/de.po: fixed/formated string
  3116. * src/configureDialog.cpp: changed translation string
  3117. * src/kpowersave_configure.ui: moved 'Edit Blacklist ...'
  3118. button for schemes to avoid resize dialog while switch
  3119. pages.
  3120. 2006-01-30 Danny Kukawka <danny.kukawka@web.de>
  3121. * src/detailed_dialog.ui: reworked detailed dialog after
  3122. discussion and welcome criticism from Timo Hönig based on a
  3123. mocup from Timo. Thanks!
  3124. * src/detaileddialog.cpp, src/detaileddialog.h: added patch
  3125. from Daniel Gollub <dgollub@suse.de> to fix problems if a
  3126. CPU is set offline.
  3127. Added changes related to the new designed dialog. Added
  3128. icons to show the current battery state as in the applet
  3129. and added icon for the current scheme. Fixed some strings
  3130. from the patch above to get translation in this translation
  3131. round (need to fix them for the next round)
  3132. * src/tdepowersave.cpp, src/kpowersave.h: Added new pixmap
  3133. with the current applet icon and give a reference to the
  3134. detailed dialog to have there a actuall icon.
  3135. * src/pdaemon.cpp, src/pdaemon.h: added patch from Daniel
  3136. Gollub <dgollub@suse.de> to fix problems with offline
  3137. CPUs on multiprocessor machines.
  3138. * src/pics/cr22-action-processor.png: added new icon for
  3139. the processor group in detailed dialog
  3140. * src/pics/README: cleaned up and added comment about the
  3141. new icon (came from kids-icon-package).
  3142. 2006-01-27 Danny Kukawka <danny.kukawka@web.de>
  3143. * src/tdepowersave.cpp: use now invokeBrowser() for
  3144. open bugreport website and cleaned up includes.
  3145. 2006-01-27 Danny Kukawka <danny.kukawka@web.de>
  3146. * po/de.po: removed translator string --> if not
  3147. translated the page about translator is not shown in
  3148. the 'About KPowersave' dialog.
  3149. * po/kpowersave.pot: removed translator string
  3150. 2006-01-27 Danny Kukawka <danny.kukawka@web.de>
  3151. * src/pics/cr16-action-scheme_advanced_powersave.png,
  3152. src/pics/cr22-action-scheme_advanced_powersave.png:
  3153. Added icons for the new 'Advanced Powersave' scheme
  3154. * src/configureDialog.cpp, src/tdepowersave.cpp: integrated
  3155. the new icon.
  3156. * src/pics/cr32-action-laptoppower.png: removed old, not
  3157. needed really ugly icon
  3158. 2006-01-27 Danny Kukawka <danny.kukawka@web.de>
  3159. * src/detailed_dialog.ui: changed default size to 400x120
  3160. * src/detaileddialog.cpp: changed handling if remaining
  3161. minutes return -1 (set only percentage)
  3162. 2006-01-27 Danny Kukawka <danny.kukawka@web.de>
  3163. * src/detaileddialog.cpp: fixed problem with update
  3164. battery progress bar if battery is removed from slot.
  3165. Changed interval for check processor from 500 to 333 ms
  3166. to use the same default value as powersave.
  3167. 2006-01-27 Danny Kukawka <danny.kukawka@web.de>
  3168. * src/detaileddialog.cpp, src/detaileddialog.h:
  3169. connect to new signal from pdaemon batteryInfoEvent() and
  3170. refresh battery infos. Added refresh processor info every
  3171. 500 ms, cleanded up included headers.
  3172. * src/pdaemon.cpp, src/pdaemon.h: Added new signal
  3173. batteryInfoEvent() to refresh detailed dialog and prevent
  3174. oversee remove battery.
  3175. 2006-01-26 Danny Kukawka <danny.kukawka@web.de>
  3176. * po/de.po: added translator
  3177. * po/kpowersave.pot: added translator strings
  3178. * src/main.cpp: Added new strings for translator name and
  3179. email adress. This should prevent display KDE defaults.
  3180. 2006-01-26 Danny Kukawka <danny.kukawka@web.de>
  3181. * po/*.po: merged po files with updated pot file
  3182. 2006-01-26 Danny Kukawka <danny.kukawka@web.de>
  3183. * po/de.po: Fixed string
  3184. * po/kpowersave.pot: fixed 'Dimm' with 'Dim'
  3185. * src/tdepowersave.cpp: fixed 'Dimm' with 'Dim'
  3186. 2006-01-26 Danny Kukawka <danny.kukawka@web.de>
  3187. * po/de.po: Added new strings and translated them.
  3188. * po/kpowersave.pot: added new strings from I18N_NOOP and
  3189. from the help menu
  3190. * src/Makefile.am: Added new tag I18N_NOOP to make messages
  3191. 2006-01-26 Danny Kukawka <danny.kukawka@web.de>
  3192. * NEWS: fixed version string
  3193. * src/configureDialog.cpp: fixed spell from 'dimm' to 'dim'
  3194. * po/*.po, po/kpowersave.pot: fixed spell from 'dimm' to 'dim'
  3195. * po/de.po: updated and translated german language file
  3196. 2006-01-25 Danny Kukawka <danny.kukawka@web.de>
  3197. * src/tdepowersave.cpp, src/kpowersave.h: Added new help menu
  3198. to the applet. This menu provide: open KPowersave handbook,
  3199. show About dialog (About, Authors, Thanks To, Licence
  3200. Agreement) and a 'Report a bug' entry which open a browser
  3201. window and open sf.net bug section.
  3202. * src/main.cpp: reformated the code and added new infos
  3203. for the About dialog.
  3204. 2006-01-24 Danny Kukawka <danny.kukawka@web.de>
  3205. * po/kpowersave.pot: removed double definitions
  3206. * po/*.po: merged with new pot file
  3207. 2006-01-24 Danny Kukawka <danny.kukawka@web.de>
  3208. * po/kpowersave.pot: updated to current source
  3209. 2006-01-24 Danny Kukawka <danny.kukawka@web.de>
  3210. Added dummy strings for the next translation round:
  3211. * src/configureDialog.cpp: for dimm brightness on inactivity
  3212. and runtime powermanagement
  3213. * src/detaileddialog.cpp: for additional information
  3214. * src/tdepowersave.cpp: for runtime powermanagement and
  3215. dimm brightness
  3216. 2006-01-24 Danny Kukawka <danny.kukawka@web.de>
  3217. * packaging/FC4.kpowersave.spec: Added new dir for build files
  3218. and the current spec for Fedora Core 4
  3219. 2006-01-23 Danny Kukawka <danny.kukawka@web.de>
  3220. Prepared new release 0.5.4:
  3221. * ChangeLog.package, doc/doxy/changelog.dox, NEWS: updated
  3222. Changelogs and news
  3223. * doc/doxy/enhance.dox, doc/doxy/implemented.dox: updated
  3224. current status of feature implemenation/process
  3225. * src/detaileddialog.cpp/h: update copyright header
  3226. * src/*.cpp, src/*.h: updated version string to 0.5.4
  3227. 2006-01-23 Danny Kukawka <danny.kukawka@web.de>
  3228. * doc/doxy/powersave_msgs.dox: updated processor related events
  3229. in the code dokumentation
  3230. * src/detaileddialog.cpp: added additional check for current
  3231. cpu frequency to get current data
  3232. * src/pdaemon.cpp: added new processor related events (.busy and
  3233. .idle) and changed sysfs path for max. cpu freqency to prevent
  3234. problems with machines as e.g. DELL D600
  3235. 2006-01-23 Danny Kukawka <danny.kukawka@web.de>
  3236. * src/detailed_dialog.ui: added new QLabel to display the
  3237. information values with right aligned text and bold. Added
  3238. new line to separate for better view.
  3239. * src/detaileddialog.cpp, src/detaileddialog.h: added current
  3240. scheme, current cpufreq policy and if powersave daemon is running
  3241. to the dialog.
  3242. 2006-01-23 Danny Kukawka <danny.kukawka@web.de>
  3243. * src/detailed_dialog.ui: fixed ui-file with fixuifiles
  3244. * src/detaileddialog.cpp: Changed CHARG_STATE_CHARG_DISCHARG case
  3245. and display only the current percentage. Added i18n() for some
  3246. strings, set caption correct for dialog.
  3247. 2006-01-23 Danny Kukawka <danny.kukawka@web.de>
  3248. * src/detaileddialog.cpp: added code comments, (re)moved some
  3249. variables.
  3250. * src/detaileddialog.h: added code comments, added copyright
  3251. header. changed SLOTs, pdaemon pointer and QValueLists from
  3252. public to private.
  3253. 2006-01-23 Danny Kukawka <danny.kukawka@web.de>
  3254. * src/tdepowersave.cpp, src/kpowersave.h: Added code comments,
  3255. fixed code format.
  3256. 2006-01-23 Danny Kukawka <danny.kukawka@web.de>
  3257. Added slightly adopted patch from Daniel Gollub <dgollub@suse.de>
  3258. for a new dialog with information about current battery, cpu and
  3259. AC states. This dialog is currently connected to left mouse button
  3260. on the applet icon.
  3261. * src/Makefile.am: added new files to make
  3262. * src/detailed_dialog.ui, src/detaileddialog.cpp,
  3263. src/detaileddialog.h: new file for the dialog
  3264. * src/tdepowersave.cpp, src/kpowersave.h: added new functions to
  3265. prevent open the detailed dialog twice. Added dialog to left
  3266. mouse button and comment out cpuspeed from the tooltip (TODO:
  3267. search for a good solution to readd this info).
  3268. * src/pdaemon.cpp, src/pdaemon.h: Added new functions to read
  3269. current and maximum speed of all CPUs in the system. Changed
  3270. variables for CPUSpeed to QValueList.
  3271. 2006-01-17 Danny <danny.kukawka@web.de>
  3272. * ChangeLog.package, NEWS, doc/doxy/changelog.dox: updated
  3273. * src/config/kpowersaverc_default: added default settings for
  3274. 'Advanced Powersave' scheme
  3275. * src/tdepowersave.cpp: changed 'Aggressive' to 'Advanced' Powersave
  3276. scheme as in actual powersaved defined.
  3277. 2006-01-17 Danny Kukawka <danny.kukawka@web.de>
  3278. * ChangeLog.package, doc/doxy/changelog.dox: updated Changelogs
  3279. * doc/doxy/process.dox: updated process (capability brightness)
  3280. * NEWS: updated release notes
  3281. * src/dbusPowersave.cpp: added patch from Holger Macht
  3282. <hmacht@suse.de> to add capability brightness for connect to powersave
  3283. to tell daemon to stop set brightness
  3284. 2006-01-17 Danny Kukawka <danny.kukawka@web.de>
  3285. Prepared new release 0.5.3:
  3286. * ChangeLog.package, doc/doxy/changelog.dox: update changelogs
  3287. * doc/doxy/process.dox: update current state of brightness feature
  3288. * other src/*: updated version strings
  3289. * src/tdepowersave.cpp: Added warning dialog if 'Aggressive Powersave'
  3290. scheme is selected.
  3291. * NEWS: added releaseinfo and changes
  3292. 2006-01-17 Danny Kukawka <danny.kukawka@web.de>
  3293. * src/config/kpowersaverc_default: added new default keys
  3294. for brightness settings
  3295. * src/configureDialog.cpp, src/configureDialog.h: implemented
  3296. set/read brithness related settings for chemes
  3297. * src/tdepowersave.cpp, src/kpowersave.h: implemented set
  3298. brightness if scheme switched and brightness is supported by machine
  3299. * src/kpowersave_configure.ui: Added new page in scheme settings to
  3300. set and test scheme specific brightness settings.
  3301. * src/settings.cpp, src/settings.h: added brigthness settings
  3302. 2006-01-16 Danny Kukawka <danny.kukawka@web.de>
  3303. * src/screen.cpp: added gcc patch from Daniel Gollub <dgollub@suse.de>
  3304. 2006-01-15 Danny Kukawka <danny.kukawka@web.de>
  3305. * doc/doxy/enhance.dox, doc/doxy/implemented.dox,
  3306. doc/doxy/process.dox: updated enhancements and current process
  3307. * src/infodialog.h: fixed doxygen problem
  3308. 2006-01-14 Danny Kukawka <danny.kukawka@web.de>
  3309. * src/configureDialog.cpp, src/configureDialog.h, src/tdepowersave.cpp:
  3310. Added pointer to pDaemon object from class kpowersave to be able
  3311. to read and set Brightness related values via dbus.
  3312. * src/pdaemon.cpp, src/pdaemon.h: Added new functions: getBrightness(),
  3313. getMaxBrightnessLevels() and setBrightness() to control brightness
  3314. settings of the display.
  3315. 2006-01-13 Danny Kukawka <danny.kukawka@web.de>
  3316. * po/nl.po: forgot to merge with current pot file
  3317. 2006-01-13 Danny Kukawka <danny.kukawka@web.de>
  3318. * po/nl.po: updated translation file
  3319. 2006-01-11 Danny Kukawka <danny.kukawka@web.de>
  3320. * src/configureDialog.cpp, src/configureDialog.h: replaced
  3321. QString::null with QString() (prepare for QT4)
  3322. 2006-01-10 Danny Kukawka <danny.kukawka@web.de>
  3323. Prepared new release 0.5.2:
  3324. * ChangeLog.package, doc/doxy/changelog.dox: updated to current
  3325. release changelog
  3326. 2006-01-10 Danny Kukawka <danny.kukawka@web.de>
  3327. * src/infodialog.cpp, src/infodialog.h: added new bool and related
  3328. get function to prevent popup dialog if disabled
  3329. * src/tdepowersave.cpp: depending changes: added check if dialog
  3330. disabled by user.
  3331. 2006-01-10 Danny Kukawka <danny.kukawka@web.de>
  3332. * src/info_dialog.ui: grouped widgets to resize the dialog
  3333. 2006-01-10 Danny Kukawka <danny.kukawka@web.de>
  3334. Prepared new release 0.5.2:
  3335. * doc/doxy/fixed_bugs.dox: updated fixed bugs
  3336. * configure.in.in, src/autosuspend.cpp, src/autosuspend.h,
  3337. src/blacklisteditdialog.cpp, src/blacklisteditdialog.h,
  3338. src/configureDialog.cpp, src/configureDialog.h,
  3339. src/dbusPowersave.cpp, src/dbusPowersave.h, src/infodialog.cpp,
  3340. src/infodialog.h, src/kpowersave.h, src/main.cpp, src/pdaemon.h,
  3341. src/schemes.h, src/screen.cpp, src/screen.h, src/settings.cpp,
  3342. src/settings.h, src/suspenddialog.cpp, src/suspenddialog.hi:
  3343. updated version string to current release version
  3344. * NEWS: added releaseinfo and changes
  3345. 2006-01-10 Danny Kukawka <danny.kukawka@web.de>
  3346. * po/*.po, po/kpowersave.pot: removed path from 'powersave is not
  3347. running' error message and fixed some wrong translations (powersavedd).
  3348. 2006-01-10 Danny Kukawka <danny.kukawka@web.de>
  3349. * src/Makefile.am: added new files for make
  3350. * src/info_dialog.ui, src/infodialog.cpp, src/infodialog.h:
  3351. Added new class for a non-blocking dialog with only one button and
  3352. a optional "Don't display again." checkbox
  3353. * src/tdepowersave.cpp, src/kpowersave.h: Added new function to display
  3354. the 'powersave is not running' error message. Removed path from
  3355. errormessage.
  3356. Added some comment to signal connects and grouped them.
  3357. * src/pdaemon.cppi, src/pdaemon.h: added new signal to display the
  3358. 'powersave is not running' dialog.
  3359. 2005-12-22 Danny Kukawka <danny.kukawka@web.de>
  3360. * src/tdepowersave.cpp, src/kpowersave.h: Added new function to diplay
  3361. the HAL warning passive popup and delay the message 15 sec to
  3362. prevent message on HAL or powersave restart. Changed handling of
  3363. display the errormessage.
  3364. * src/pdaemon.cpp: Fixed some problems with HAL_ERROR handling. Fixed
  3365. problem with set update_info_ac_changed _before_ emit related Q_SIGNALS.
  3366. 2005-12-21 Danny Kukawka <danny.kukawka@web.de>
  3367. * src/pdaemon.cpp: cleaned up and make code shorter
  3368. 2005-12-21 Danny Kukawka <danny.kukawka@web.de>
  3369. * src/pdaemon.cpp: removed no longer needed dbus_message_unref().
  3370. 2005-12-21 Danny Kukawka <danny.kukawka@web.de>
  3371. * src/pdaemon.cpp: implemented new function fot errorhandling.
  3372. Added errorhandling to readDaemonData() and replaced code in
  3373. checkBatteryProcInfo with call new errorhandling function.
  3374. * src/pdaemon.h: added seperate private function to handle errors
  3375. from getBatteriesInfo().
  3376. 2005-12-21 Holger Macht <hmacht@suse.de>
  3377. * src/pdaemon.cpp: fixed from powersave removed DBUS methodes for
  3378. battery infos.
  3379. 2005-12-21 Danny Kukawka <danny.kukawka@web.de>
  3380. * src/tdepowersave.cpp: fixed icon handling on (HAL) error. If there
  3381. is no information about battery and AC state we 'disable' the icon
  3382. (not the icon menu)
  3383. 2005-12-19 Danny Kukawka <danny.kukawka@web.de>
  3384. * src/pdaemon.cpp, src/pdaemon.h: added check for new errorcode
  3385. from powerlib if connection to HAL fails (HAL_ERROR). Added new
  3386. battery state to check this in class kpowersave (BAT_HAL_ERROR).
  3387. Removed todo-lines.
  3388. * src/tdepowersave.cpp, src/kpowersave.h: Added better errorhandling
  3389. if the connection to HAL fails if powersave is not running. Fixed
  3390. in this case the tooltip and added a KPassivePopup to inform the
  3391. user about this error.
  3392. Changed pixmap size for the applet icon to 22 instead of 20.
  3393. 2005-12-19 Danny Kukawka <danny.kukawka@web.de>
  3394. * Makefile.am.in: removed install rule for default configfile
  3395. * src/Makefile.am: added fixed rule for defaulte configfile
  3396. to this Makefile
  3397. 2005-12-13 Danny Kukawka <danny.kukawka@web.de>
  3398. * kpowersave.tdevelop: updated to use svn instead of cvs
  3399. * src/pdaemon.cpp: removed unused/ifdef'd code
  3400. 2005-12-12 Holger Macht <hmacht@suse.de>
  3401. * src/pdaemon.cpp: adjust to new powerlib
  3402. 2005-12-10 Danny Kukawka <danny.kukawka@web.de>
  3403. * .cvsignore, doc/.cvsignore, doc/en/.cvsignore,
  3404. doc/hu/.cvsignore, doc/nb/.cvsignore, po/.cvsignore,
  3405. src/.cvsignore, src/pics/.cvsignore: removed no CVS related
  3406. files from the SVN repository.
  3407. * src/tdepowersave.cpp: corrected check AC status by check for
  3408. correct enum AC_ONLINE.
  3409. * src/pdaemon.cpp: Added correct defines/enums for the AC status.
  3410. Also added part for better errorhandling if powersaved and HAL are
  3411. not running --> TODO.
  3412. Added activation of system timer in non daemon mode. This should
  3413. prevent problems if powersaved stopped and restarted more than
  3414. one time.
  3415. 2005-12-07 Danny Kukawka <danny.kukawka@web.de>
  3416. * src/pdaemon.cpp: fixed set applet icon for AC status if no
  3417. powersave daemon is running, emit now needed Q_SIGNALS. Also
  3418. fixed signal for AC sound.
  3419. 2005-12-03 Danny Kukawka <danny.kukawka@web.de>
  3420. * po/de.po: fixed typo
  3421. 2005-12-02 Danny Kukawka <danny.kukawka@web.de>
  3422. * Makefile.am.in: fixed build path with patch from
  3423. Michael Biebl <biebl@teco.edu>
  3424. 2005-12-02 Danny Kukawka <danny.kukawka@web.de>
  3425. * src/Makefile.am: added PACKAGE_KDE_SOUND_DIR to get path
  3426. to the KDE sound dir (usual: $prefix/share/sounds)
  3427. * src/configureDialog.cpp, src/configureDialog.h: Added check
  3428. for KDE sound dir. If exist, use to fill the file dialog for
  3429. the sound files. If not exist, use the home dir of the user.
  3430. If the user select a file via the dialog, we set the dir for
  3431. the next file dialog to this path. If the current filepath
  3432. in the editbox not exist we use KDE sound dir/user home.
  3433. 2005-12-02 Danny Kukawka <danny.kukawka@web.de>
  3434. * doc/nb/nb_*.png: replaced english dummy screenshots with
  3435. norsk version.
  3436. 2005-11-30 Danny Kukawka <danny.kukawka@web.de>
  3437. * doc/hu/hu_*.png: replaced english dummy screenshots with
  3438. hungarian version.
  3439. 2005-11-15 Danny Kukawka <danny.kukawka@web.de>
  3440. * doc/hu/.cvsignore: added .cvsignore
  3441. 2005-11-15 Danny Kukawka <danny.kukawka@web.de>
  3442. * doc/hu/index.docbook, doc/nb/index.docbook: fixed language
  3443. settings to have correct named and localized files. All
  3444. should now work.
  3445. 2005-11-15 Danny Kukawka <danny.kukawka@web.de>
  3446. * doc/nb/index.docbook: replaced XML character entities with
  3447. UTF-8 characters. Thanks Karl Eichwalder <ke@suse.de> for the
  3448. help to fix the file.
  3449. 2005-11-15 Danny Kukawka <danny.kukawka@web.de>
  3450. * doc/nb/index.docbook: reformated and replaced wrong file
  3451. content. Note: this file is maybe any longer broken.
  3452. 2005-11-15 Danny Kukawka <danny.kukawka@web.de>
  3453. * src/screen.h: removed not needed include of qvector.h.
  3454. 2005-11-14 Danny Kukawka <danny.kukawka@web.de>
  3455. * doc/hu/*: added Hungarian version of the online help.
  3456. NOTE: screenshots are currently only dummy files from the
  3457. english version. Need to update them later.
  3458. 2005-11-07 Danny Kukawka <danny.kukawka@web.de>
  3459. * doc/doxy/enhance.dox: added new enhancement to discuss
  3460. 2005-11-07 Danny Kukawka <danny.kukawka@web.de>
  3461. * INSTALL: updated to current KDE file
  3462. * configure.in.in: readded file to solve problems with KDE
  3463. autotools/update_admin. --> undo last changes. Also changed the
  3464. logic between check distro and check configure option to be
  3465. sure that configure otions overwrite automatically detection.
  3466. Added some messages displayed while run configure.
  3467. * doc/Makefile.am: updated to KDE package style.
  3468. 2005-11-07 Danny Kukawka <danny.kukawka@web.de>
  3469. * configure.in.in: replaced with configure.in to get summary
  3470. on the right place while execute ./configure
  3471. * configure.in: added summary at the end of oputput from
  3472. configure
  3473. 2005-11-01 Danny Kukawka <danny.kukawka@web.de>
  3474. * src/pdaemon.cpp: Removed errormessage from constructor of
  3475. pdaemon if connect to powersave failed. Increased timeout for
  3476. recheck to 10 seconds to prevent races from parallel booting
  3477. and autologin to KDE.
  3478. 2005-10-19 Danny Kukawka <danny.kukawka@web.de>
  3479. * doc/nb/*: initial import of Norsk help file
  3480. 2005-10-12 Danny Kukawka <danny.kukawka@web.de>
  3481. * doc/en/index.docbook: added updated help file (updated from
  3482. <ke@suse.de>: removed DOS line endings)
  3483. 2005-10-12 Danny Kukawka <danny.kukawka@web.de>
  3484. * po/bg.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po,
  3485. po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po,
  3486. po/kpowersave.pot, po/nb.po, po/nl.po, po/pa.po, po/pl.po,
  3487. po/pt.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sl_SI.po,
  3488. po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po:
  3489. merged changes related to last patches (from Stephan Binner)
  3490. to translation files and updated german po file.
  3491. * src/blacklisteditdialog.cpp: Changed the caption of the
  3492. groupbox if the dialog is for a scheme specific blacklist to
  3493. "'Scheme: ' + schemename".
  3494. * src/configureDialog.cpp, src/kpowersave_configure.ui: changed
  3495. some strings related to the last fixes for KDE user interface
  3496. style guide
  3497. 2005-10-12 Danny Kukawka <danny.kukawka@web.de>
  3498. Patch from Stephan Binner <stbinner@suse.de>:
  3499. * src/configureDialog.cpp:
  3500. - fix to respect KDE user interface style guide
  3501. - changed Yes/No buttons to "Import"/"Do Not Import"
  3502. * src/tdepowersave.cpp, src/kpowersave_configure.ui,
  3503. src/suspenddialog.cpp:
  3504. - fixes to respect KDE user interface style guide
  3505. - replaced usage of SmallIcon with SmallIconSet
  3506. * src/kpowersave.desktop: Added GenericName and fixed
  3507. Comment entry
  3508. 2005-10-12 Danny Kukawka <danny.kukawka@web.de>
  3509. * src/blacklist_edit.ui, src/kpowersave_configure.ui,
  3510. src/suspend_Dialog.ui: fixes from fixuifiles script and
  3511. fix for 'OK' string in the ui-files. (Patch from Stefan
  3512. Binner <stbinner@suse.de> )
  3513. 2005-10-12 Danny Kukawka <danny.kukawka@web.de>
  3514. * src/AUTHORS, src/ChangeLog, src/INSTALL, src/README:
  3515. removed duplicated files from src dir, same files could
  3516. be found in the base dir
  3517. 2005-10-12 Danny Kukawka <danny.kukawka@web.de>
  3518. * po/fi.po: added Finnish translation from Ilkka Pirskanen
  3519. <ilkka.pirskanen@kolumbus.fi>
  3520. 2005-10-10 Danny Kukawka <danny.kukawka@web.de>
  3521. * kpowersave.tdevelop: changed version string
  3522. * src/tdepowersave.cpp, src/kpowersave.h:
  3523. - removed variables with icon names which used one time only
  3524. and replaced directly where needed with name of the icons
  3525. to reduce global variables
  3526. - fixed typo in code documentation and removed some
  3527. whitespaces/empty lines
  3528. 2005-09-27 Danny Kukawka <danny.kukawka@web.de>
  3529. * po/de.po: fixed typo, see bugreport:
  3530. http://bugs.kde.org/show_bug.cgi?id=112882
  3531. 2005-09-20 Danny Kukawka <danny.kukawka@web.de>
  3532. * po/ru.po: updated file from Anton Farygin <rider@altlinux.ru>
  3533. 2005-09-19 Danny Kukawka <danny.kukawka@web.de>
  3534. * ChangeLog.package: moved Changelog of the package to new
  3535. file. This file now contains the CVS changelog
  3536. * README: Updated compile instruction for non-SUSE
  3537. distributions. Now the package contains a admin dir.
  3538. *******************************************************************
  3539. * NOTE: This Changelog contains starting from version 0.5.0 the *
  3540. * CVS Changelog. The package changelog could be found in *
  3541. * Changelog.package *
  3542. *******************************************************************