1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
|
2007-09-17 Danny Kukawka <danny.kukawka@web.de>
Tagged new release v0.7.3
2007-09-17 Danny Kukawka <danny.kukawka@web.de>
* ChangeLog.package: updated for 0.7.3
2007-09-17 Danny Kukawka <danny.kukawka@web.de>
* packaging/openSUSE10.3.kpowersave.spec: added new SPEC
file for openSUSE 10.3
2007-09-17 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: Added missing space between text and ellipsis
(...) (see b.n.c #293707)
* NEWS: Updated news file.
2007-09-17 Danny Kukawka <danny.kukawka@web.de>
Updated language files with min 75% from
forgesvn1.novell.com/svn/suse-i18n/trunk/lcn :
* po/fi.po:
* po/pt.po:
2007-09-17 Danny Kukawka <danny.kukawka@web.de>
* po/sl_SI.po: added now complete Slovenian po-file from
Jure Repinc <jlp@holodeck1.com>.
2007-09-17 Danny Kukawka <danny.kukawka@web.de>
Prepared v0.7.3 release:
* ChangeLog.package: Updated package changelog with the
Changelog from the SUSE package
* NEWS: Added news for 0.7.3 release
* README: updated recommended dependencies, updated bugzilla
links.
2007-09-17 Danny Kukawka <danny.kukawka@web.de>
* po/sl_SI.po: added new (not complete) Slovenian po-file
from Jure Repinc <jlp@holodeck1.com>.
2007-09-12 Danny Kukawka <danny.kukawka@web.de>
When use DBUS_TYPE_BOOLEAN use as variable type dbus_bool_t
to avoid possible trouble on big endian machines:
* src/dbusHAL.cpp: Replaced int variables with dbus_bool_t.
* src/dbusHAL.h: included dbus/dbus.h
* src/hardware.cpp: Replaced int variables with dbus_bool_t.
2007-09-11 Danny Kukawka <danny.kukawka@web.de>
* src/screen.cpp: Fixed b.n.c #309491. Fixed code to free
TDEProcess object if gnome-screensaver is running (which
mean unfortunately GNOME is running).
2007-09-11 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fixed handleACStatusChange(), notify
only if notifyEvent == true. Print notifyEvent on debug.
2007-09-05 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: Fixed b.n.c #307431: prevent
send events about AC status change on changes of the
session state.
2007-09-05 Danny Kukawka <danny.kukawka@web.de>
Prepared KPowersave to work with HAL >= 0.5.10 and the
changed policy/privileges names which KPowersave use to
lookup what is allowed for a user:
* configure.in.in: Added detection of HAL >= 0.5.10
* src/Makefile.am: added privileges.h
* src/hardware.cpp: use now privileges.h defines
* src/privileges.h: New file with defines for the policy
names depending on the HAL version.
2007-09-03 Danny Kukawka <danny.kukawka@web.de>
Updated language files with min 75% from
forgesvn1.novell.com/svn/suse-i18n/trunk/lcn :
* po/cs.po:
* po/zh_CN.po:
2007-09-03 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Changed function to set the
brightness up/down on vertical wheel events over the applet
icon to use also do_brightnessUp/Down with 5-percentage
steps to avoid problems with machines with a high number
of brightness levels.
2007-09-03 Danny Kukawka <danny.kukawka@web.de>
Changed return value types due to changes in HAL
(s/DBUS_TYPE_UINT32/DBUS_TYPE_INT32):
* src/dbusHAL.cpp: Changed for suspend calls.
* src/hardware.cpp: Changed for GetBrightness and for
SetPowerSave() calls.
2007-08-30 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fix an other case of use bool to get
DBUS_TYPE_BOOLEAN variables in currently unused code.
* src/tdepowersave.cpp: Don't use kdFatal() before exit
in kpowersave::kpowersave() otherwise DrKonqi get called.
2007-08-27 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: Call setInfos() on AC events
to force update of e.g. scheme and CPU Freq information.
2007-08-27 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed checkConsoleKitSession() again.
Don't use boolean to get DBUS_TYPE_BOOLEAN variables from
D-Bus. This lead to strange results on ix86 (the stange
is: it fails only on free local variables if leave the
function, but only on ix86 and not on x96_64).
2007-08-26 Danny Kukawka <danny.kukawka@web.de>
* configure.in.in: Cleaned up configure to undefine
ENABLE_YAST_ENTRY if the Yast entry in the applet should
not added as e.g. at openSUSE >= v10.3.
2007-08-25 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed b.n.c #301692 again, but with an
other source of the problem: fixed parameter for D-Bus
call to ConsoleKit to get info if the session is active.
2007-08-25 Danny Kukawka <danny.kukawka@web.de>
Merged unmerged files with kpowersave.pot:
* po/[ar,bgi,el,es,fr,ja,pt_BR,tr].po:
Removed largely untranslated files from SVN:
* po/[sk,sl_SI].po:
2007-08-25 Danny Kukawka <danny.kukawka@web.de>
Updated language files with min 80% from
forgesvn1.novell.com/svn/suse-i18n/trunk/lcn :
* po/[cs,nl,pa].po:
New translations from the same repo:
* po/hi.po: Hindi (220/69/27)
* po/lt.po: Lithuanian (243/23/50)
2007-08-24 Danny Kukawka <danny.kukawka@web.de>
* configure.in.in: Don't check any longer for PolicyKit
>= v0.4, simply check if libhal provide the following
function: libhal_device_is_caller_privileged() to check
if KPowersave should use libhal or the old PolicyKit
D-Bus interface.
2007-08-23 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed possible segfault if the
XDG_SESSION_COOKIE isn't set. Set sessionIsActive to true
in this case and skip the rest of the checks.
2007-08-20 Danny Kukawka <danny.kukawka@web.de>
Updated language files from
forgesvn1.novell.com/svn/suse-i18n/trunk/lcn :
* po/[da,el,fi,hu,it,km,nb,pa,pl,pt,ru,sv,uk].po:
2007-08-20 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.[cpp,h]: Added function to check if the
org.freedesktop.Policy.Power has an owner (new function
is isPolicyPowerIfaceOwned()).
* src/hardware.[cpp,h]: Added helper to call
dbusHAL::isPolicyPowerIfaceOwned().
* src/kpowersave.[cpp,h]: Added active session handling
for schemes (don't react on AC state changes if the
session get inactive and apply default schemes based on
AC state if the session get active again).
Changed handleActionCall() to check if the current session
is active and deny request if not. If there is no owner of
org.freedesktop.Policy.Power allow shutdown on battery
critical events.
TODO: Think about the situation if the session get inactive
and there is no owner of org.freedesktop.Policy.Power
2007-08-20 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: If the desktop session (if detected
via ConsoleKit) get inactive call releasePolicyPowerIface()
and if the session is active again try to acquire the
org.freedesktop.Policy.Power interface again.
This should happen:
- the session get inactive:
- release org.freedesktop.Policy.Power:
powersaved or if there is an other desktop session
an other KPowersave instance can acquire the name and
handle powermanagement.
- the session get active again:
- the current active KPowersave instance acquire the
interface/name from powersaved (if there is an other
KPowersave instance holding the name it should release
the name ...) and handle powermanagement again.
2007-08-20 Danny Kukawka <danny.kukawka@web.de>
Added code to detect if we get a NameOwnerChanged signal
from DBus for org.freedesktop.Policy.Power and check if
this KPowersave instance caused the signal.
* src/dbusHAL.[cpp,h]:
* src/hardware.cpp:
2007-08-20 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.[cpp,h]: Split up the code to acquire the
org.freedesktop.Policy.Power name service to a new own
function. Added new function to release the service
name again. Call now dbus_bus_release_name() if close()
get called.
2007-08-19 Danny Kukawka <danny.kukawka@web.de>
Updated svn:ignore for src/ to ignore new files.
2007-08-19 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fix b.n.c #301692, switch schemes
correctly on AC plug in/out events.
2007-08-17 Danny Kukawka <danny.kukawka@web.de>
Update TODOs (about tasks for new ConsoleKit session
management)
* TODO:
* src/tdepowersave.cpp:
2007-08-17 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Don't emit events for: power, sleep
and s2disk button if the session is inactive.
2007-08-17 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed commit r3046: really ignore
the brightness up/down key event if session inactive.
2007-08-17 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: Handle desktopSessionIsActive()
signal from class HardwareInfo:
- stop/start autosuspend and autodimm depending on the
session state
- don't call may configured actions for the lidclose event
if the session is inactive.
2007-08-17 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added new function to get the
private sessionIsActive.
Ignore brightness up/down key events from HAL if the
session is marked as inactive.
2007-08-17 Danny Kukawka <danny.kukawka@web.de>
Implemented code to check on ConsoleKit vi D-Bus if the
current desktop session is active and monitor if the
state change.
* src/dbusHAL.[cpp,h]: Listen to D-Bus if the state of the
session change and inform class HardwareInfo about the
change.
* src/hardware.[cpp,h]: Added new function to get the name
and the state of the current Session from ConsoleKit.
Added code into the DBus event filter function to detect
if the state change and send a new signal if this happen.
TODO: Integrate this into class kpowersave to stop e.g.
autosuspend and autodimm if the session get
inactive.
2007-08-17 Danny Kukawka <danny.kukawka@web.de>
Comment out variable names of unused function parameters
and remove no longer needed checks to prevent compiler
warnings:
* src/dbusHAL.cpp:
* src/inactivity.cpp:
* src/tdepowersave.cpp:
2007-08-17 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: Updated german language file.
2007-08-17 Danny Kukawka <danny.kukawka@web.de>
* src/countdown_Dialog.ui: removed include hints
2007-08-16 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fix parameter types for call
SetPowerSave() on HAL.
2007-08-16 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Comment out calls of
getSchedPowerSavings(), the needed HAL interface didn't
make it into HAL yet.
2007-08-16 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: Show some debug messages only if
kpowersave started with --dbg-trace.
2007-08-16 Danny Kukawka <danny.kukawka@web.de>
Finished work on new Autosuspend warn/countdown dialog
to fix bug/feature request from b.n.c #182609:
* src/config/kpowersaverc_default: Added new config
variables to enable/disable the dialog and to set the
time how long the countdown should be.
* src/settings.[cpp,h]: integrate them into general
settings.
* src/countdown_Dialog.ui: Fixed dialog to resize
correctly.
* src/countdowndialog.cpp: Init Progressbar before show
up the dialog, set dialog caption, adjust the size and
call show().
* src/dummy.cpp: removed no longer in this file needed
strings.
* src/kpowersave.[cpp,h]: Integrate the dialog in the
logic for start/setup and handle autosuspend.
2007-08-15 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fix code to set brightness up/down
and add some debug code. This should fix b.n.c #282640.
2007-08-14 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: Fix pB_resetBrightness_clicked()
to use hwinfo->setBrightness() correctly (set level and
not percentage with level).
2007-08-14 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Change type of parameter of
SetPowerSave() on HAL to from DBUS_TYPE_BOOLEAN to
DBUS_TYPE_INT32.
2007-08-14 Danny Kukawka <danny.kukawka@web.de>
Extended and added new debug message for CPU code in the
detailed dialog to trace problems within Virtualbox.
* src/detaileddialog.cpp:
* src/hardware_cpu.cpp:
2007-08-13 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Maked isCpuFreqAllowed() not
const to be able to check the Policy on each call directly
from libhal.
* src/tdepowersave.cpp: Don't enable 'CPU Freq Policy' entry
in the applet menu if we know KPowersave isn't allowed to
call the interface on HAL.
2007-08-13 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.[cpp,h]: Extended isUserPrivileged()
depending on USE_LIBHAL_POLICYCHECK to ask HAL if the
user is privileged to call a interface.
* src/hardware.[cpp,h]: Ported existing calls of
dbusHAL::isUserPrivileged() to changed function param.
Added new checks for Brightness/SetPowersave HAL calls
if USE_LIBHAL_POLICYCHECK is defined (because they didn't
exist in the old HAL < 0.5.10)
2007-08-13 Danny Kukawka <danny.kukawka@web.de>
* configure.in.in: Changed detection if we need to call
new PolicyKit/HAL instead of PolicyKit D-Bus daemon to
check for libhal_device_is_caller_privileged() in libhal.
2007-08-13 Danny Kukawka <danny.kukawka@web.de>
* configure.in.in: Added checks for HAL >= 0.5.10 and
PolicyKit >= 0.4 to check if we have to ask HAL if the
user is privileged instead of the no longer existing
PolicyKit D-Bus daemon.
2007-08-13 Danny Kukawka <danny.kukawka@web.de>
Moved code to set brightness a step up/down from class
kpowersave to HardwareInfo.
* src/hardware.[cpp,h]: Use new function to set brightness
up/down on keyevents.
* src/tdepowersave.cpp: Forward on dcop call to new
functions in class HardwareInfo.
2007-08-12 Danny Kukawka <danny.kukawka@web.de>
* configure.in.in: Fix detection of the SUSE distributions
to fix value of ENABLE_YAST_ENTRY. Since openSUSE 10.3 there
is no longer a powermanagement module in Yast.
This should fix b.n.c #299577.
2007-08-12 Danny Kukawka <danny.kukawka@web.de>
* src/Makefile.am: Added countdown dialog related files.
* src/countdown_Dialog.ui: Added Pixmap object and changed
Progressbar from QProgressBar to KProgress.
* src/countdowndialog.[cpp,h]: Finished code for the
countdown dialog.
2007-08-10 Danny Kukawka <danny.kukawka@web.de>
* src/eventsrc: Added new events (autodimm down/up, brigtness
key up/down) for translation we may use in the future.
2007-08-10 Danny Kukawka <danny.kukawka@web.de>
* po/kpowersave.pot: Updated pot file from current code.
2007-08-10 Danny Kukawka <danny.kukawka@web.de>
* src/dummy.cpp: SUSE 'string freeze' for 10.3 is comming.
Added some new strings we may need later for some planed
features.
2007-08-09 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Added missing '<< endl' to a kdDebug()
call to prevent crash of KPowersave directly before exit(-1).
This fix b.n.c #298332
2007-08-09 Danny Kukawka <danny.kukawka@web.de>
Added initial files for new dialog shown (30 sec) before the
machine go into autosuspend. The code is not running atm.:
* src/countdown_Dialog.ui:
* src/countdowndialog.[cpp,h]:
* src/tdepowersave.cpp: added missing debug call.
2007-07-30 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fixed show suspend log for SLED/SLES,
show the powersave related logs. This go not into the CODE10
branch for now.
2007-07-29 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fixed typo which prevented show up
the logviewer dialog if suspend fail and pm-utils return
a value != (0|INT_MAX).
2007-07-29 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed typo to use correct variable.
* src/kpowersave.[cpp,h]: Added three new dcop functions to
get the current brightness (in percentage) and to set the
brightness up and down. For the new brightness up/down
functions the default step is +/- 10%, but you can change
this via the function parameter. If the step not change the
brightness level the default is +/- one level to have a
change.
2007-07-26 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Speed-up dimm brightness up if the user
get active again. Try to dimm up within 750 ms instead of
1500.
2007-07-26 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.h: Code docu update.
2007-07-25 Danny Kukawka <danny.kukawka@web.de>
* doc/pt/*: removed Portuguese version of the doc to reduce
package size since the doc only contain one translated
paragraph.
2007-07-25 Danny Kukawka <danny.kukawka@web.de>
Replaced s/char */const char */ of function parameter types to
prevent compiler warnings:
warning: deprecated conversion from string constant to 'char*'
* src/dbusHAL.[cpp,h]: in dbusMethodCallSuspend()
* src/hardware.[cpp,h]: in setCPUFreqGovernor()
2007-07-25 Danny Kukawka <danny.kukawka@web.de>
Removed <includehints/> tags from UI files (caused warnings).
* src/detailed_Dialog.ui:
* src/log_viewer.ui:
* src/hardware.h: Fixed typo in code docu.
2007-07-24 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.h: Make checkBrightness() to a private SLOT.
2007-07-24 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Reduce calls of checkBrightness() in the
setBrightness() function. Only call the check if brightness
is currently not supported (as fallback check).
Added code to monitor if a laptop_panel* property get changed,
e.g. if key get removed. Call checkBrightness() in this case
to prevent problems with state of brightness support.
2007-07-24 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Cleanup setBrightness() to check always
the current brightness before return.
2007-07-24 Danny Kukawka <danny.kukawka@web.de>
Fixed brightness handling. HardwareInfo::brightness is now
only true if laptop_panel.num_levels >= 2. This should fix
some reported problems with DELL machines which have only one
brightness level available.
* src/configuredialog.cpp:
* src/configuredialog.h:
* src/detaileddialog.cpp:
* src/hardware.cpp:
2007-07-24 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: set autoDimmTo=50 as
default value for: default-scheme, Performance and Acoustic
scheme
* src/hardware_battery.cpp: Cast to float for internal
calculation to avoid false values.
2007-07-24 Danny Kukawka <danny.kukawka@web.de>
* src/autodimm.cpp: Added missing code documentation.
2007-07-24 Danny Kukawka <danny.kukawka@web.de>
* src/autodimm.cpp: Fixed QTimer start parameter and moved
some code around.
* src/autodimm.h: make startCheckForActivity() public to
handle this from outside the class.
* src/configuredialog.cpp: Activate autodimm feature in the
configure dialog.
* src/tdepowersave.cpp: Fixed dimm level handling (use float for
calculation to avoid invalid values). Reset autodimm if the
user is active again.
2007-07-23 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: added new function setAutoDimm() and
integrated autoDimm feature into the workflow.
NOTE: This feature is complete untested at the moment.
2007-07-23 Danny Kukawka <danny.kukawka@web.de>
Make stop autosuspend before suspend/after resume more robust:
* src/inactivity.cpp: Be sure that timeToInactivity has a
usefull value (> 0) before check for inactivity. This should
force to stop every running check if stop() was called, where
timeToInactivity was set to 0 after stop the running QTimer.
* src/tdepowersave.cpp: Added additional call of stop() if
resumed.
2007-07-23 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fixed autodimm related signacl connect
and added new connect for the case if the user get active
again.
* src/kpowersave.h: Added code documentation.
2007-07-23 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: Added new functions do dimm up
and down the brightness, needed for autodimm.
2007-07-03 Danny Kukawka <danny.kukawka@web.de>
Added autodimm settings to the configure dialog and the
settings class.
* src/config/kpowersaverc_default: added default settings
* src/configure_Dialog.ui:
* src/configuredialog.[cpp,h]:
* src/settings.[cpp,h]:
* src/pics/cr22-action-autodimm.png: added new icon.
NOTE: This is currently disabled in the configure dialog
until the real autodimm functions are integrated.
TODO: Add functions to autodimm the display brightness down.
2007-07-02 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: Changed settings to abort on errors.
* src/Makefile.am: Fixed typo to compile autodimm class.
* src/autodimm.[cpp,h]: Added new code to autodimm to check
if the user is active again. Currently the code poll each
second the XScreenSaverInfo extension to detect if the user
start again to use the mouse/keyboard.
TODO: Check if 1 second is the correct/useful intervall.
2007-07-02 Danny Kukawka <danny.kukawka@web.de>
* src/inactivity.cpp: SILENT: moved code within the file.
2007-07-01 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp:Changed get-/setSchedPowerSavings() to use
bool instead of int for parameter and return values.
2007-07-01 Danny Kukawka <danny.kukawka@web.de>
* src/Makefile.am: Added new files to make.
* src/autodimm.[cpp,h]: Added new empty files for new planed
autodimm feature.
2007-07-01 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: removed TODOs and replaces with info about
possible values for the new get-/setSchedPowerSavings()
functions. The kernel only allow 0/1 as parameter.
TODO: Discuss with <caglar@pardus.org.tr> about change the
type of param/retval of the HAL methodes to boolean
2007-06-30 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added basic functions to support
'mc/smt power savings sched policy' via hopefully upcomming new
HAL functions GetSchedPowerSavings()/SetSchedPowerSavings()
TODO: check the allowed parameter and return values of the
kernel (in sysfs) and may change the existing HAL patch to
work with boolean instead of integer
2007-06-26 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: comment out some code
2007-06-18 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: Added callSetPowerSaveOnAC
with default value true.
* src/tdepowersave.cpp: Call setPowerSave() in setSchemeSettings()
to be sure it get set on startup correctly.
* src/settings.[cpp,h]: Added new config variable to enable/
disable call SetPowerSave() on HAL depending on the AC state
(callSetPowerSaveOnAC for [General] section)
2007-06-18 Danny Kukawka <danny.kukawka@web.de>
Fixed debug messages:
* src/dbusHAL.cpp:
* src/hardware.cpp:
2007-06-17 Danny Kukawka <danny.kukawka@web.de>
* src/inactivity.cpp: Fix Segmentation Fault from b.n.c bug
#284622.
2007-06-13 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: removed one more useless *.latin() from
debug messages.
2007-06-13 Danny Kukawka <danny.kukawka@web.de>
* po/ar.po: Added new Arabic language file from Youssef Chahibi
<chahibi@gmail.com>
2007-06-13 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Remove laptop_panel entry from the
QDict<QString> udis if no device with laptop_panel found. This
should prevent problems if the laptop panel device get removed
from HAL.
2007-06-13 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Added code to react if a latop panel device
get added/remove. Added also all device_type values to the
switch of the HAL_DEVICE case.
Removed several *.latin1() calls due to new usage of kdDebug().
* src/hardware.h: Added new value to enum device_type for laptop
panels (for brightness).
2007-06-13 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: Make the code easier by group initial checks
for HAL/D-Bus connection and parameter checks, add goto's to
reduce kdDebugFuncOut() codelines before each return.
This include also some whitespace/tab replacements.
2007-06-12 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: Magic change with new version ...
Moved kpowersave to use functions from kdebug.h instead of own
myDebug() macro. Added some smaller marcos to: trace function
entry and leave points and to add time infos to output of
e.g. kdDebug() (funcinfo). Via kpowersave option --dbg-trace
the user can enable (additional ) function tracing. This should
fix sf.net feature request #1721072.
* src/autosuspend.cpp:
* src/configuredialog.cpp:
* src/dbusHAL.cpp:
* src/detaileddialog.cpp:
* src/hardware.cpp:
* src/hardware_battery.cpp:
* src/hardware_batteryCollection.cpp:
* src/hardware_cpu.cpp:
* src/inactivity.cpp:
* src/kpowersave.[cpp,h]:
* src/tdepowersave_debug.h:
* src/main.cpp:
* src/screen.cpp:
2007-05-10 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added code to stop the elapsed time
between suspend call and the resume event. Emit in this case
resumed(INT_MAX) from HardwareInfo::handleResumeSignal() to
allow us to guess better if this was really the much-loved
6 hour D-Bus timeout.
* src/tdepowersave.cpp: Changed debug message from myDebug()
to qdebug() and extended the message text if we assume the
resume error is a D-Bus timeout.
2007-05-10 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: Added code to check if the returned
message is really DBUS_MESSAGE_TYPE_METHOD_RETURN as
expected.
* src/hardware.cpp: Changed debug message due to a bug in
HAL or the spec: SetPowerSave() doesn't return a INT32 but
BOOLEAN.
2007-05-10 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: added TODO
* src/hardware.[cpp,h]: Fixed call for SetPowerSave to get
also the returnvalue from the HAL method.
2007-05-10 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Make also AC Adapter events
intependent from QT3/DBus event loop.
2007-05-09 Danny Kukawka <danny.kukawka@web.de>
* TODO: updated/cleaned up TODOs
2007-05-09 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added support to handle brightness
key events if the machine not already handle this in the
hardware directly (as e.g. IBM/Lenovo Thinkpads).
There is no configuration for this feature. The events get
directly translated to change the level +-1 level per
key event.
2007-05-03 Danny Kukawka <danny.kukawka@web.de>
* src/screen.cpp: Add debug message and code comment.
2007-05-02 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: Change default timeout
to fake keyevent for locked screen to 2.5 seconds
* src/tdepowersave.cpp: Changed behavior and timeouts to
fake keyevents if screen is locked and if resume/open Lid
to use activateLoginScreen() function and to check first
if timeToFakeKeyAfterLock >= 0. This allow the user to
deactivate the faked key events by set value for configkey
timeToFakeKeyAfterLock to -1 in the [General] section.
2007-05-02 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.h: set checkLidcloseState() as private slot.
2007-05-02 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: Fix detection if brightness
changes are really supported. If max. level of brightness
-1 is <= 0 brightness changes are now unsupported. If the
result is > 0 it is supported. Thanks to Dawid Wróbel
<cromo@klej.net> for report and help to find the problem.
2007-05-02 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: Add debug messages to trace the
function calls.
2007-04-24 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed b.n.c bug #266243. Check if
info.capability contains laptop_panel instead of check for
info.category=laptop_panel because not all machines which
provide capability to change brightness have info.category
correct set in HAL atm.
2007-04-22 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added new function to set a CPUFreq
governor via DBus call to avoid code duplication. Added
new QStringList for dynamic CPUFreq and iter about the
list to set a governor.
Ported patch from Andreas Schwab <schwab@suse.de> for
b.n.c #229234, get return value from call for set CPUFreq
governor (Could not reproduce the problem!).
2007-04-16 Danny Kukawka <danny.kukawka@web.de>
* src/inactivity.[cpp,h]: Added new function and moved code
from checkXInactivity() to getXInactivity() to be able to
reuse the code in derived classes.
2007-04-13 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Only go to suspend on a button event
if we already resumed successful. This should solve problems
if we get may e.g. a event for the powerbutton if there
machine was waked up via power button which could lead to
a second suspend.
2007-04-12 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fixed resume behavior. If KPowersave
assume that a timeout for the suspend call happend do the
same as on succesful resume including remount, but print a
debug message.
2007-04-12 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Fixed usage of enum cpufreq_type.
Pointed out by Doug Goldstein <cardoe@gentoo.org>. Enum isn't
int - it's (8bit) char, enum = int would lead to a segmentation
fault. It's not allowed/possible in C++. Added new
'UNKNOWN_CPUFREQ = -1' to the enum and use this instead of -1.
Changed also the type of currentCPUFreqPolicy and the
return type of checkCurrentCPUFreqPolicy() to cpufreq_type.
This should fix problems where we can't access the CPUFreq
interface on HAL e.g. because of the new ConsoleKit.
2007-04-11 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.h: update Copyright header to the same as
the cpp file. Removed not needed include.
2007-04-11 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: Removed no longer used code for the
suspend dialog we used to show the progress while suspend with
powersaved.
2007-04-11 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: cleanup doubled code, use existing
function showDetailedDialog() to show detailed dialog on
mousePressEvent()
2007-04-10 Danny Kukawka <danny.kukawka@web.de>
Cleanup class kpowersave - moved code to reset XScreensaver
to class screen where already also all the screensaver stuff
is located:
* src/kpowersave.[cpp,h]:
* src/screen.[cpp,h]:
2007-04-10 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Removed notifyAutosuspend() and moved
code to do_autosuspend() this should prevent two connects to
the same event - can do this all better in one function.
Call delete() also for autosuspend on destructor.
2007-04-10 Danny Kukawka <danny.kukawka@web.de>
* src/logviewer.cpp: Include moc file. Fixed possible file
descriptor leak.
2007-04-10 Laurent Montel <lmontel@mandriva.com>
Fixed several memory leaks and removed checks for pointer which
are NULL before call delete(), because this is waht delete()
also do internly:
* src/inactivity.cpp:
* src/tdepowersave.cpp:
* src/screen.cpp:
* src/screen.h:
* src/settings.cpp:
2007-04-10 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: Applied slightly adopted patch from
Laurent Montel <lmontel@mandriva.com> to avoid problems with
html tags in KMessageBox dialog text.
2007-04-10 Danny Kukawka <danny.kukawka@web.de>
Moved all moc includes to end of cpp-files, added some code
comments and smaller code formatting changes:
* src/autosuspend.[cpp,h]:
* src/blacklisteditdialog.cpp:
* src/configuredialog.cpp:
* src/dbusHAL.cpp:
* src/hardware.cpp:
* src/hardware_battery.cpp:
* src/hardware_batteryCollection.cpp:
* src/inactivity.cpp:
* src/infodialog.cpp:
* src/screen.cpp:
2007-04-10 Laurent Montel <lmontel@mandriva.com>
Make moc files being included to speed up build and to fix some
parallel build issues:
* src/autosuspend.cpp:
* src/dbusHAL.cpp:
* src/hardware.cpp:
* src/hardware_battery.cpp:
* src/hardware_batteryCollection.cpp:
* src/hardware_cpu.cpp:
* src/inactivity.cpp:
* src/screen.cpp:
2007-04-10 Danny Kukawka <danny.kukawka@web.de>
Moved unused string to dummy class for later reuse.
* src/configuredialog.cpp:
* src/dummy.cpp:
2007-04-10 Danny Kukawka <danny.kukawka@web.de>
Updated file templates:
* templates/cpp:
* templates/h:
2007-04-09 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Slightly changed checkCurrentCPUFreqPolicy()
to avoid problems if the DBus call return something wrong or
nothing (as e.g. NULL).
2007-04-09 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: make isUserPrivileged() more robust to
avoid possible segmentation faults.
2007-04-03 Danny Kukawka <danny.kukawka@web.de>
Fixed problems with current battery warning level if the
values for the level get changed via the config dialog:
* src/hardware.cpp: Call refreshInfo() for the primary
battery collection if the warning levels get set/changed and
force the recheck of the current level.
* src/hardware_batteryCollection.[cpp,h]: Added new parameter
to refreshInfo to force recheck the battery warning levels also
if the percentage of the battery not changed. This would help
to get the actual warning level due to changes in the settings
for the level immediately after the change.
2007-04-03 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Add new helper functions/SLOTS to
forward the events for Power, Sleep and s2disk buttons and the
lidclose event. Changed current code to emit the Q_SIGNALS not
directly but to call a QTimer:singleShot() with the new SLOTS
instead. This should make the eventhandling from QT3 D-Bus
bindings independent from the event loop (including may
blocking dialogs in KPowersave).
This fix hopefully fix b.n.c #256372.
2007-03-26 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Applied patch from Laurent Montel
<lmontel@mandriva.com> to avoid double translation.
2007-03-26 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Applied patch from Laurent Montel
<lmontel@mandriva.com> to fix problems with error messages
from the KDE Media Manager, which can be formated with html-
tags.
Added comment to code about the change.
2007-03-26 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fixed b.n.c bug #257326. Ignore battery
warnings if the machine is on AC. This case can happen if e.g
the battery charging state is not up-to-date if we get the low
level warnings.
2007-03-22 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Applied slightly adopted patch from
caglar@pardus.org.tr to show log of pm-utils on Pardus.
2007-03-22 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: Added wodim to autosuspend
blacklist.
2007-03-22 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Stop autosuspend before call suspend and
also if autosuspend get disabled (this worked also before and
produced no unintentional suspend because this was checked before
the suspend get called). I could not reproduce this bug reported
for (K)Ubuntu: https://launchpad.net/bugs/94396, but it maybe help.
2007-03-16 Danny Kukawka <danny.kukawka@web.de>
Fixed Debian bug #413811 and display message to the user if the
suspend/resume fail:
* src/kpowersave.[cpp,h]: Added new function forwardResumeSignal()
to independent handleResumeSignal() from the event loop to avoid
problems with QT3 D-Bus bindings. Emit KNotify before handle the
error codes. If a error occurs display a KMessageBox::error() to
the user. If the system is a SUSE product offer the user to show
the /var/log/pm-suspend.log file and save the file.
NOTE: - if other distributions want to show the log to the user
they have to provide code.
- pm-utils currently always return 0, also on failure,
need a fixe in pm-utils to get a error code
2007-03-16 Danny Kukawka <danny.kukawka@web.de>
* src/logviewer.cpp: fixed check if we can use the filename
given by to user to save the logfile. Continue if the filname is
available.
2007-03-16 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: ident changes
2007-03-16 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: s/KPOWERSAVE_CONFIGURE_/CONFIGURE_/
2007-03-16 Danny Kukawka <danny.kukawka@web.de>
Added new dialog to show log files:
* src/Makefile.am: added new files
* src/kpowersave.[cpp,h]: small cleanups and added pointer to new
class.
* src/log_viewer.ui: UI file of the new dialog
* src/logviewer.[cpp,h]: Implementation of new logviewer dialog
with option to save the logfile to a user-selectable file.
2007-03-15 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: again a minor tdevelop change
* src/tdepowersave.cpp: Fixed Debian bug #413638: if config dialog
is minimized and the user try to start config dialog via applet
reactivate the dialog.
2007-03-12 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: Added helper funtion to translate the
type of a suspend to a usefull i18n()-string. Replace existing
code. Added a debug msg if suspend/resume fail.
2007-03-12 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Applied patch from Andreas Schwab
<schwab@suse.de> to avoid possible segmentation fault.
2007-03-09 Danny Kukawka <danny.kukawka@web.de>
Fixed event message for scheme switching.
* src/eventsrc: Removed 'Powersave' from generic and german
message (need new translations for the rest). Removed complete
message event handling for no longer existing "Advanced Powersave"
scheme.
* src/tdepowersave.cpp: removed 'Powersave' from message
2007-03-09 Danny Kukawka <danny.kukawka@web.de>
Updated dates in copyright headers:
* src/dbusHAL.[cpp,h]:
* src/detaileddialog.cpp:
* src/hardware*.[cpp,h]:
* src/inactivity.cpp:
* src/tdepowersave.cpp:
* src/main.cpp:
* src/screen.[cpp,h]:
2007-03-09 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: emit signal about resume first if the
pending call and the messages get unrefed.
2007-02-28 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: Fixed by Jozef Sakáloš
<jsakalos@aariadne.com> reported bug about wrong unit for
power consumption. Since HAL not provide info about the unit
of battery.*.rate keys, I removed simply the 'h' from the
unit string reported by HAL for the battery level keys.
2007-02-22 Danny Kukawka <danny.kukawka@web.de>
* packaging/mandriva.2007.1.kpowersave.spec: Due to f***ing
package name conventions for 64bit on Mandriva added more
%ifarch calls for required packages to spec file.
2007-02-22 Danny Kukawka <danny.kukawka@web.de>
Renamed mdk.cooker.*.spec to mandriva.2006.1.*.spec and added
new spec file for Mandriva Cooker 2007.1
* packaging/mandriva.2006.1.kpowersave.spec:
* packaging/mandriva.2007.1.kpowersave.spec:
* packaging/mdk.cooker.kpowersave.spec:
2007-02-22 Danny Kukawka <danny.kukawka@web.de>
* packaging/FC6.kpowersave.spec: Added new spec file for Fedora
Core 6.
2007-02-14 Danny Kukawka <danny.kukawka@web.de>
Tagged new release version 0.7.2
2007-02-14 Danny Kukawka <danny.kukawka@web.de>
Updated Changelogs for the release v0.7.2:
* ChangeLog.package:
* doc/doxy/changelog.dox:
2007-02-14 Danny Kukawka <danny.kukawka@web.de>
* NEWS: added news for v0.7.2 release
* src/hardware_battery.cpp: fixed code docu
2007-02-14 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/fixed_bugs.dox: Updated list of fixed bugs for docu.
2007-02-14 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added new private member to hold the
current governor from checkCurrentCPUFreqPolicy() call. Added a
check for the DYNAMIC CPU Freq policy case if the current
governor is ondemand or not. If not, try to set always ondemand.
This should fix b.n.c bug #245081 (Kpowersave does not set
ondemand governor on startup if e.g. current is userspace).
2007-02-13 Danny Kukawka <danny.kukawka@web.de>
* README: Applied patch from S.Çağlar Onur to fix typo
s/Padrus/Pardus/
* doc/doxy/main.dox: Fixed the same typo
2007-02-13 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/README: fixed typo
* doc/doxy/fixed_bugs.dox: Removed no longer available reference.
* doc/doxy/main.dox: Updated with actual data and added contact
section.
2007-02-13 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/enhance.dox: Removed already implemented and outdated
enhancements.
2007-02-13 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/process.dox: Update/cleanup
2007-02-13 Danny Kukawka <danny.kukawka@web.de>
Removed no longer needed doxygen site about implemented features.
This file is useless and cost to much time to be always
up-to-date, all the info can also be found in the Changelogs and
the SVN:
* doc/doxy/README:
* doc/doxy/implemented.dox:
2007-02-13 Danny Kukawka <danny.kukawka@web.de>
* README: updated websites and help information, added Link to
Pardus Bugzilla to the list.
2007-02-12 Danny Kukawka <danny.kukawka@web.de>
* TODO: Cleanup
2007-02-12 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Changed KMessageBox notify option for
handleMount() error dialog to get a notify sound (especially if
the lid get closed).
2007-02-12 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fixed b.n.c #244052. On button events which
call suspend2* and the system get problems with umount partitions
which at least cause open a blocking KMessageBox result in 100%
CPU usage. This happen because the QT D-Bus bindings wait for a
result from the related KPowersave filter function (return a
DBUS_HANDLER_RESULT_* to the bus). This happen also because the
Q_SIGNALS in QT are only function calls which not are really emitted
to the QT event loop as assumed (the KMessageBox block the filter-
function).
Fixed this by use QTimer::SingleShot() to call the suspend, in the
handleActionCall() function, because QTimer shots uncouple the
suspend call from the filter function workflow.
2007-02-12 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Only lock the screen and force DPMS if there
is no action for lidclose event/button defined. Otherwise the
related action as e.g. suspend2disk (should) handle the lock and
in this case there is no need to force DPMS off.
2007-02-12 Danny Kukawka <danny.kukawka@web.de>
Added new translation files send by Zhengpeng Hou
<zhengpeng-hou@ubuntu.com>:
* po/zh_CN.po: (295/0/1)
* po/zh_TW.po: (296/0/0)
2007-02-12 Danny Kukawka <danny.kukawka@web.de>
Don't allow action LOGOUT_DIALOG for lidclose button. It make
absolute no sense to show the logout dialog with closed lid ;-) :
* src/configuredialog.cpp:
* src/settings.cpp:
2007-02-09 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Applied patch from S.Çağlar Onur
<caglar@pardus.org.tr> to fix typo in a hwinfo->setCPUFreq() call.
2007-02-07 Danny Kukawka <danny.kukawka@web.de>
Move CPU information related functions from HardwareInfo class to
a new class CPUInfo since they are only used by the detailed
dialog and don't depend on the other code of HardwareInfo:
* kpowersave.tdevelop: call external tqtdesigner from now
* src/Makefile.am: Added new files.
* src/detaileddialog.[cpp,h]: adopted changes
* src/hardware.[cpp,h]: Removed cpu information related code.
* src/hardware_cpu.[cpp,h]: Added new files/class to handle all
CPU information related functionality which was former in the
HardwareInfo class/file.
2007-02-05 Danny Kukawka <danny.kukawka@web.de>
* po/da.po: Added new (296/0/0) danish translation from Stefan
Skotte <sfs@enhance-it.dk>
2007-02-05 Danny Kukawka <danny.kukawka@web.de>
Fixed b.n.c #229960 and added support for SetCPUFreqPerformance
to the HAL CPU freq interface to set the limit for the dynamic CPU
freq policy:
* src/config/kpowersaverc_default: Added new config value for the
to set the performance limit on dynamic CPU freq policy for each
scheme and added useful default values.
* src/hardware.[cpp]: Added code to call SetCPUFreqPerformance on
dynamic CPU freq. Removed no longer needed enum and case for
DYNAMIC_SET.
* src/tdepowersave.cpp: Changed function calls to give the needed
config value to hwinfo->setCPUFreq() as param.
* src/settings.[cpp,h]: Added code to read the new config key and
value for the schemes from the config file.
2007-02-02 Danny Kukawka <danny.kukawka@web.de>
* po/tr.po: Applied new updated turkish translation file (296/0/0)
from S.Çağlar Onur <caglar@pardus.org.tr>
2007-02-01 Danny Kukawka <danny.kukawka@web.de>
Fixed b.n.c #239771: added support for SetPowerSave HAL method.
* src/hardware.[cpp,h]: Added new function to call the related
D-Bus call for HAL.
* src/tdepowersave.cpp: Call HardwareInfo::setPowerSave() with true
if on battery and with false otherwise.
2007-02-01 Danny Kukawka <danny.kukawka@web.de>
* po/da.po: Merged and slightly updated translation from
Stefan Skotte <sfs@enhance-it.dk> (stat: 254/41/1)
2007-02-01 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: completed translation due to last change.
2007-02-01 Danny Kukawka <danny.kukawka@web.de>
Updated translation strings and merged back to po files.
* po/*.po:
* po/kpowersave.pot:
2007-02-01 Danny Kukawka <danny.kukawka@web.de>
Added new typ of action to call the KDE logout dialog on events:
* src/config/kpowersaverc_default: Added LOGOUT_DIALOG to allowed
button events. This action make no sence on battery events.
* src/configuredialog.cpp: Updated mapping and translate string.
* src/tdepowersave.cpp: Added code to call the KDE lougout dialog.
* src/settings.[cpp,h]: Added code to read the setting and map
the config value to the actions.
2007-02-01 Danny Kukawka <danny.kukawka@web.de>
Removed '&' from translation due to last changes. German and
Turkisch translation are now complete again.
* po/de.po:
* po/tr.po:
2007-02-01 Danny Kukawka <danny.kukawka@web.de>
* po/*.po: Merged with actual pot file.
2007-02-01 Danny Kukawka <danny.kukawka@web.de>
* po/kpowersave.pot: Updated pot file due to last changes.
2007-02-01 Danny Kukawka <danny.kukawka@web.de>
Removed Accelerator tag ('&') from text of several widgets.
This should fix problems with change translations if a GUI get
changed. Actual KDE versions should handle this automatically.
* src/blacklistedit_Dialog.ui:
* src/configure_Dialog.ui:
* src/configuredialog.cpp: Need to call
TDEAcceleratorManager::manage() manually because it did not work.
* src/detailed_Dialog.ui:
* src/info_Dialog.ui:
2007-01-31 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: Fixed tab order for all widgets.
2007-01-31 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: updated to new KDevelop 3.4.0/KDE 3.5.6
2007-01-31 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: set buddy to QLabel widgets for
easier access to e.g. QSpinBox or QComboBox widgets.
2007-01-30 Danny Kukawka <danny.kukawka@web.de>
Applied new updated turkish translation file and two small
fixes from S.Çağlar Onur <caglar@pardus.org.tr> :
* po/sl_SI.po: removed left over line from cleanup
* po/tr.po: full translated
* po/zh_TW.po: removed left over line from cleanup
2007-01-26 Danny Kukawka <danny.kukawka@web.de>
* po/*.po: cleanup translation, removed no longer needed and
already unused strings/translations and removed wrong/
useless header comments
2007-01-26 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: updated/completed german translation
2007-01-26 Danny Kukawka <danny.kukawka@web.de>
* po/*.po: Merged new pot file with existing po files.
2007-01-26 Danny Kukawka <danny.kukawka@web.de>
* po/kpowersave.pot: updated pot file due to last changes
2007-01-26 Danny Kukawka <danny.kukawka@web.de>
Fixed usage of D-Bus in strings and code comments
(s/DBUS/D-Bus/ and s/D-BUS/D-Bus/).
* src/dbusHAL.[cpp,h]:
* src/dummy.cpp:
* src/hardware.[cpp,h]:
* src/tdepowersave.cpp:
* src/main.cpp:
2007-01-26 Danny Kukawka <danny.kukawka@web.de>
* src/main.cpp: Fixed description of KPowersave.
2007-01-26 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: Fixed widgets to avoid resize the
config dialog in some tabs of the scheme settings.
2007-01-26 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: update german translation file, now complete.
2007-01-26 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fixed b.n.c #230686. Load the settings
for the current scheme if the config GUI get closed to force
changes on a scheme to the system. Also set the battery
warning levels to the primary battery object to get the
correct warnings if they maybe changed.
2007-01-25 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: removed no longer needed strings from file
2007-01-25 Danny Kukawka <danny.kukawka@web.de>
* po/*.po: Merged new pot file with existing po files.
2007-01-25 Danny Kukawka <danny.kukawka@web.de>
* po/kpowersave.pot: updated pot file for new translation
round, removed useless strings from 'make messages'
2007-01-25 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: fixed string to match existing
translation strings
* src/settings.cpp: removed empty lines
2007-01-25 Danny Kukawka <danny.kukawka@web.de>
Added feature: show power consumtion of battery in the
detailed information dialog:
* src/detailed_Dialog.ui: Added new widgets to show the new
information about power consumtion as QLabels, added spacer
to the AC related info in the battery area for a better look.
* src/detaileddialog.[cpp,h]: Added code to fill and update
the new widgets related on battery state and events. This
mean: the current rate/power consumtion get only updated if
we get the info from HAL - KPowersave do not poll for this
info. The widget get hide if there is no info.
* src/hardware_battery.cpp: Emit signal to monitor current
rate of battery.
* src/hardware_batteryCollection.[cpp,h]: Added some code to
hold the current rate and the rate unit. Emit Q_SIGNALS if the
current rate change (don't emit general change signal, since
this maybe produce useless calls in other parts of KPowersave
than only in the detailed dialog).
Added some function to get the new private class members.
2007-01-24 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: Fixed b.n.c #230965. Always reset
the QProgressBar before update the infos in the bar, otherwise
the first bar get randomly updated!
2007-01-24 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: Changed some descriptive strings.
2007-01-24 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: Changed icon name because char.png
is not defaultly in the system.
* src/pics/cr22-action-button.png: added new icon for the
buttons tab in the 'General Settings' part of the config dialog.
2007-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: Added new Q_SLOTS to catch changes.
* src/configuredialog.[cpp,h]: Implemented new Q_SLOTS to
hide/show the QSpinboxes for the brightness settings in the
battery tab of the general settings, depending of the selected
action.
2007-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: fixed one more string to match
existing translations.
2007-01-23 Danny Kukawka <danny.kukawka@web.de>
Added code to support also switch to CPU Freq policy
performance via actions on events:
* src/config/kpowersaverc_default:
* src/configuredialog.cpp:
* src/tdepowersave.cpp:
* src/settings.[cpp,h]:
2007-01-23 Danny Kukawka <danny.kukawka@web.de>
* po/cs.po: fixed spelling bug from b.n.c #232058
2007-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: removed unused variable
2007-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: removed not needed sizePolicy
2007-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: Fixed strings to fit to already
existing translations. Fixed some spacer to avoid resize.
2007-01-23 Danny Kukawka <danny.kukawka@web.de>
Changed Licence text in source files to only accept GPLv2
from now on:
* src/*.[cpp,h]:
* templates/[cpp,h]:
2007-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: fixed slot name for edit general
autosuspend blacklist.
* src/configuredialog.cpp: fixed call to open the edit
autosuspend blacklists to get displayed over the config
dialog.
2007-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: Added code to store the values
from the new 'General Settings' widgets to the config file.
2007-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: changed param of battery level
QSpinBox Q_SLOTS (no param instead of int)
* src/configuredialog.[cpp,h]: Added Q_SLOTS to set the battery
level QSpinBoxes to correct values: warning > low > critical.
2007-01-22 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: fixed tab label
* src/configuredialog.cpp: Fill QComboBoxes for ac/battery
default schemes now within setSchemeList(). Changed position
of call setGeneralSettings() on init the dialog and added
code to fill the 'Default Schemes' tab of the general
settings. Set now a icon for this tab.
2007-01-22 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: added new config key
for allowed actions on button events and change the name of
the key for allowed battery actions.
* src/configuredialog.cpp: related changes to above and added
code to fill the buttons tab with related values.
2007-01-22 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: Added code to fill the battery
tab of the general settings with the values from the config
file.
2007-01-22 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.[cpp,h]: Changed strings for 'set
brightness' action and added a new helper function to fill
a QComboBox with a list of actions (mapped to descriptive
and translated strings) and select a given action.
2007-01-22 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: removed some spacer and changed
some widget names.
2007-01-22 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: Added checks if CPUFreq,
suspend and brightness is really supported by the machine
to the map action helper functions. Otherwise return a
empty QString.
2007-01-22 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: added suffixes to QSpinBox
widgets.
2007-01-22 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: added widgets for set value of
brightness on battery warning levels. Fixed max level for
several QSpinbox widgets.
2007-01-22 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.[cpp,h]: Added two helper functions
to map the keys for actions in the config to a usefull
string for the GUI and back.
2007-01-22 Danny Kukawka <danny.kukawka@web.de>
Move some more dummy strings:
* src/detaileddialog.cpp:
* src/dummy.cpp:
2007-01-21 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: set icons for general settings
Toolbox tabs.
2007-01-21 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: Fixed layout and (re)added
Q_SLOTS for Q_SIGNALS and actions.
2007-01-21 Danny Kukawka <danny.kukawka@web.de>
Added new class/file to collect translation dummy strings
from other classes. This cleanupt the code of the files
and make it easier to maintain translation strings:
* src/dummy.cpp: new file
* src/Makefile.am:
Removed dummy strings from:
* src/configuredialog.cpp:
* src/tdepowersave.cpp:
* src/screen.cpp:
* src/settings.cpp:
2007-01-19 Danny Kukawka <danny.kukawka@web.de>
* src/configure_Dialog.ui: Added first new version of the
configure dialog to be able to set the new non-scheme
specific settings.
NOTE: It build currently, but the new widget have no
functions.
2007-01-16 Danny Kukawka <danny.kukawka@web.de>
* src/settings.cpp: Applied patch from Olivier Blin
<blino@mandriva.com> to fix handling of sleep and s2disk
button actions.
2007-01-15 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: Change the brightness in the
config dialog only if really activated.
2007-01-15 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: Added support to delete a user
specific scheme. The user can't delete on of the currently
4 default schemes or if the selected scheme is the AC or
battery default scheme.
2007-01-08 Danny Kukawka <danny.kukawka@web.de>
Added support for sleep/suspend and s2disk/hibernate buttons
and related action calls:
* src/config/kpowersaverc_default: added new config keys to
define the default action for the two keys
* src/hardware.[cpp,h]: Added new signal and filter all the
related keys from HAL interface.
* src/kpowersave.[cpp,h]: Addes functions to catch the events
of the button get pressed and call the allowed actions (for
the moment only s2ram and s2disk is allowed to these events)
* src/settings.[cpp,h]: Added support to read the new config
keys and to store them in member variables. For now added a
check to be sure that only s2ram and s2disk are allowed actions
for these key events.
2007-01-08 Danny Kukawka <danny.kukawka@web.de>
Commited unsaved change, updated Changelog:
* src/tdepowersave.cpp: Changed lockScreen() DCOP function to
lock simply the screen unrelated to the setting for suspend
on suspend.
2007-01-08 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: Fixed lock screen on suspend and
removed no longer needed code/functions. Thanks to Andrey
Borzenkov <arvidjaar@mail.ru> for the report.
* src/settings.cpp: Changed fallback values for lock on
suspend and lidclose from false to true due to security
and privacy reasons.
2007-01-04 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: fixed b.n.c #231709 by fixing minor
compiler warning about "comparison with string literal"
by using strcmp().
2006-12-27 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: Removed done TODO's and debug code.
2006-12-27 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.[cpp,h]: Seperated code to set the
current scheme (based on the scheme name) to a own function.
Added code to add a new scheme. For now the new scheme get
initialized with the values from the default-scheme.
2006-12-26 Danny Kukawka <danny.kukawka@web.de>
Extendended configure GUI to config the CPU Freqency policy
for each scheme. The related page in the dialog is deactivated
if the machine doesn't support CPU Freq.
Added buttons to add new and delete existing schemes (TODO:
add related code).
Renamed some widgets.
* src/configure_Dialog.ui:
* src/configuredialog.cpp:
2006-12-25 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Added support for conservative governor
as a DYNAMIC CPU frequency policy fallback and some debug
messages.
2006-12-17 Danny Kukawka <danny.kukawka@web.de>
Fixed b.n.c bug #229234:
* src/hardware.[cpp,h]: Changed checkCurrentCPUFreqPolicy()
from void to int to return the current CPU Freq policy to
the caller.
Added check to setCPUFreq() for the DYNAMIC case to check
if the 'ondemand' governor was really set and try then
the 'userspace' governor.
2006-12-15 Danny Kukawka <danny.kukawka@web.de>
s/kde_settings/kde/
* src/tdepowersave.cpp:
* src/settings.[cpp,h]:
2006-12-15 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Little fix for disable s2ram and
standby menu entry if not allowed while call action.
2006-12-08 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: fixed compiler warning from b.n.c bug
#226875 with proposed change from David Binderman
<dcb314@hotmail.com>
2006-12-04 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: Added code to handle the power
button event and to call the related action.
2006-12-01 Danny Kukawka <danny.kukawka@web.de>
Added new config key to be able to config actions if the
power button get pressed.
* src/config/kpowersaverc_default:
* src/settings.[cpp,h]:
2006-12-01 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: removed no longer needed init for some
class memebers.
2006-11-27 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fix to set the type of suspend before
call handleMounts() and reset in the error case to show the
correct caption for the error dialog if the umount fail.
Added i18n() call to translate the caption correct.
2006-11-27 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Added "Don't ask again" checkbox to
error message box if KPowersave get a error from kded for
umount partitions before suspend.
Fixed dialog caption to display the correct type of suspend.
2006-11-27 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: Fixed battery critical action if
the actiontype is SHUTDOWN. We can't call a slot from a QT
single shot with parameter as it looks.
2006-11-27 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Added code to call SetCPUFreqConsiderNice
depending on DYNAMIC CPU Freq Policy and the state of the
AC adapter. The code should set ConsiderNice with true
if the AC adapter is online and false if the machine is on
battery.
2006-11-27 Danny Kukawka <danny.kukawka@web.de>
Make KPowersave more stable (hopefully), added some checks
and (re)set some variables in error cases.
* src/dbusHAL.cpp:
* src/hardware.cpp:
2006-11-22 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: typo and whitespace fix
* src/tdepowersave.cpp: reset the cPU Freq Policy after resume,
after resume (IMO to workaround a bug in the kernel, because
the kernel should resume with the same CPU Freq settings as
on suspend)
2006-11-22 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Added some code to display error msg
to the user on suspend and display a dialog to choose between
stop and continue the suspend. Default should be stop suspend
as also ESC is.
2006-11-22 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Added code to remount the before
suspend/standby unmounted external storage volumes.
Show the user a passive popup if there is a error while try
to remount.
2006-11-22 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Added initial code to umount before
suspend.
TODO: add code to inform the user about the error and offer
a way to suspend also if KPowersave can't umount.
2006-11-22 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: Added function to handle umounts/
remounts on suspend/resume via kded mediamanager DCOP calls.
2006-11-22 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: added new config variable
for umount/remount on suspend
* src/settings.[cpp,h]: added code to read the new variable
from the config file and store the value to a class member.
2006-11-21 Danny Kukawka <danny.kukawka@web.de>
* admin: removed property svn:mime-type from files
2006-11-21 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fixed applet tooltip to show correct
information if the battery is in state CHARGING.
2006-11-21 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Fix battery warning level handling and
show warning messages to the user only if battery state is
not CHARGING.
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
* admin/cvs.sh: added support for automake 1.10
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
Tagged new offical release 0.7.1
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
* TODO: updated
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
* NEWS: added new for new release 0.7.1
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
Updated required D-Bus version numnber:
* README:
* doc/doxy/main.dox:
Fixed code comments, added missing function parameter docu,
removed file-version tags, update date of some files:
* src/dbusHAL.[cpp,h]:
* src/hardware.[cpp,h]:
* src/hardware_battery.[cpp,h]:
* src/hardware_batteryCollection.[cpp,h]:
* src/screen.[cpp,h]:
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/implemented.dox: removed not existing reference
Fixed code comments and documentation (e.g. undocumented
function parameter):
* src/dbusHAL.cpp:
* src/hardware.cpp:
* src/hardware.h:
* src/tdepowersave.cpp:
* src/settings.h:
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/powersave_msgs.dox: removed no longer needed
code documentation file
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/main.dox: update to current KPowersave version
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
* TODO: removed done tasks
* src/kpowersave.[cpp,h]: fixed code comments and removed
references to the powersave daemon
* src/main.cpp: changed version string
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
* NEWS: added news from already released stable versions
0.6.1 and 0.6.2
* TODO: removed done tasks and updated status of some
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
* packaging/openSUSE10.2.kpowersave.spec: added specfile
for openSUSE 10.2
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Adapted new function to reset the
KDE screensaver (and DPMS) settings.
* src/screen.[cpp,h]: Added new function to call the
configure() at the KScreensaverIface to reset the current
settings to the correct KDE settings from the config files.
This happen currently only if the screensaver is not
active (but enabled).
* src/settings.cpp: Fixed code.
2006-11-20 Danny Kukawka <danny.kukawka@web.de>
* src/settings.[cpp,h]: Added code to check if KDE use
currently the blank screensaver.
2006-11-19 Danny Kukawka <danny.kukawka@web.de>
* TODO: removed done issues
* src/dbusHAL.[cpp,h]: Added code to claim/acquire the
org.freedesktop.Policy.Power interface from D-Bus to stop
the powersave daemon/client and to be allowed to handle
the powermanagement policy.
2006-11-19 Danny Kukawka <danny.kukawka@web.de>
* README: Update dependencies/requirements.
2006-11-19 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Added some linebreaks to warning
messages for battery states.
2006-11-19 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_batteryCollection.cpp: fixed handling
for battery collections if there are no batteries present.
This should abvoid false alarm for battery warning levels.
2006-11-18 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.cpp: fixed handling if battery
get removed from the system. Don't forget to check the
battery type if reset the battery.
Also fixed emit Q_SIGNALS. Emit them first if have read
the values from Hardware and filled the related variables.
2006-11-18 Danny Kukawka <danny.kukawka@web.de>
* src/settings.cpp: Added some usefull default values
for the KDE settings if we can't read the related values.
2006-11-17 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: applied slightly adopted patch
from Dirk Mueller <dmueller@suse.de> to add a DCOP
function to check if KPowersave already handle DPMS
settings in KDE. This should, togehter with a patch for
KDE, avoid interfere between KDE and KPowersave.
2006-11-17 Danny Kukawka <danny.kukawka@web.de>
Added new turkish translations from S.Çağlar Onur
<caglar@pardus.org.tr>:
* po/tr.po:
* src/kpowersave-autostart.desktop:
* src/kpowersave.desktop:
2006-11-17 Danny Kukawka <danny.kukawka@web.de>
Added patch from S.Çağlar Onur <caglar@pardus.org.tr>
to add support for Pardus Linux.
* configure.in.in: added detect Pardus Linux
* src/tdepowersave.cpp: added bugreport address
2006-11-17 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: fixed bugreport address for
openSUSE
2006-11-17 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Reduced function calls to
dbusHAL with updateTooltip().
2006-11-16 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: fixed set CPUFreq via the applet
menu and reduced calls if a scheme switched.
2006-11-16 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: Fixed free() error, if D-Bus is not
running on startup.
2006-11-16 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: s/new_screen/display/
2006-11-16 Danny Kukawka <danny.kukawka@web.de>
* ChangeLog.package: updated with info about already
released version 0.7.0
2006-11-16 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: fixed notifySuspend() and
call the function before call suspend/standby via HAL.
2006-11-16 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: fixed handling of AC plug
in/out event. Now switch, based on the state of the
AC plug, the AC/Battery scheme.
Also merged other AC state releaded functions to the
new and renamed handleACStatusChange() for a better
control of the workflow.
2006-11-16 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: changed position of call
setPrimaryBatteriesWarningLevel() to do this first
if the scheme was set.
2006-11-16 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added support to check for
PMU support and renamed checkACPI_APM() to more
general name checkPowermanagement()
* src/tdepowersave.cpp: extended startup check to
exit only if not ACPI/APM/PMU/CPUFreq/s2disk/2sram.
2006-11-16 Danny Kukawka <danny.kukawka@web.de>
* TODO: updated TODO to current state of development
2006-11-14 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: added code to fetch and
handle the resume signal. Trigger fake key event after
resume if the scree was locked and emit the correct
KNotify signal.
2006-11-14 Danny Kukawka <danny.kukawka@web.de>
* src/screen.cpp: changed left send() for lock the
screen for KScreenSaver with usage of call().
2006-11-14 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Adopted suspend function to
use the new pending calls instead of the old, normal
methodCalls.
Added code to fetch, forward and handle the resume
signal from the dbusHAL class.
2006-11-14 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.[cpp,h]: added new functions to be able
to handle suspend as pending D-Bus calls. This should
allow us to get a resume signal etc.
Added a new signal to be emitted if we resumed and
to return the result of the resume as a integer value.
2006-11-13 Danny Kukawka <danny.kukawka@web.de>
* src/screen.cpp: Changed DCOP screen lock call from
send() to call() and try now, if the lock fail, to
use XScreensaver for lock instead.
2006-11-13 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: handle lid close/open events
now in one function. If the screen was locked on the
lidclose signal, fake keyevent on open lid.
2006-11-13 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: display error message on scheme
switch only if the scheme is not known and not if the
current scheme get selected.
2006-11-13 Danny Kukawka <danny.kukawka@web.de>
* TODO: updated/remove done issues
* src/config/kpowersaverc_default: Added new variables
to call a action of the lid was closed.
* src/kpowersave.[cpp,h]: handle now actions on lidclose
and renamed function to reuse code from battery actions.
s/lockscreenOnLidcloseEvent/handleLidcloseEvent
* src/settings.[cpp,h]: Read new config values to member
variables for general settings. Renamed some members
and definitions to reuse the action stuff.
Sorted code in settings.h to differ between general and
scheme setttings.
2006-11-13 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Added fix from Michael Biebl
<biebl@teco.edu> for debian bug #398201 to avoid crash
of KPowersave if showDetailedDialog() called via DCOP.
2006-11-13 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: s/current_settings/settings/
2006-11-13 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: fixed event handling for battery
warning states to call related actions also if notify
is disabled.
2006-11-12 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: Added some code to call a
defined battery action if a battery warning state
reached. Added special handling for BAT_CRITICAL and
shutdown.
* src/settings.[cpp,h]: changed some types and return
types: s/int/battery_action/
TODO: test and handle brightess/cpufreq changes if
the warning state get reduced to set back to
normal values. Maybe simply switch back to the
current scheme settings.
2006-11-12 Danny Kukawka <danny.kukawka@web.de>
* src/Makefile.am: removed schemes.* from make
* src/schemes.[cpp,h]: removed no longer needed class
and related files
2006-11-12 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: Added some code comments and
code to set the CPU Freq Policy for each scheme.
* src/settings.[cpp,h]: changed type of CPU Freq
Policy from int to cpufreq_type.
2006-11-12 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: added new entries
to store the CPU Freq Policy for a scheme. Use as
default for all schemes DYNAMIC for now.
* src/settings.[cpp,h]: added code to read the new
entries for the CPU Freqency policy.
2006-11-11 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: some changes from KDevelop
* src/config/kpowersaverc_default: added some new
configure variables to allow to set a action if a
battery warning level reached.
* src/settings.[cpp,h]: added code to read the values
of the new config values and set them to new member
variables.
2006-11-10 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: fixed lock screen if lid closed
(s/button.typ/button.type/)
2006-11-10 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: added connect to new signal
for CPUFreq Policy changes to show allways correct
information in the dialog.
* src/hardware.[cpp,h]: added signal emitted if the
CPU Frequency policy was successful (or from other
side) changed/switched.
Reduced code in setCPUFreq() and added a check if the
Policy was really check and emit new signal.
* src/kpowersave.[cpp,h]: added connect for new signal
to set the CPUFreq menu correct if something changed
2006-11-09 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added new function to reinit
all hardware information after a HAL or D-Bus restart.
This should reduce the code and ensure that we do
always the same.
Fixed handling of Q_SIGNALS if D-Bus restart related to
HAL and D-Bus itself status.
* src/tdepowersave.cpp: added a comment
2006-11-08 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: fixed slot do_setActiveScheme()
to check if the requested scheme is available, load
the scheme settings, call setSchemeSettings() to
set the related changes and inform KNotify.
TODO next: (1) add support to read the missing config
keys and (2) fix setSchemeSettings() to
set the changes to the kpowersave class
2006-11-08 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: renamed some functions
2006-11-08 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: fixed connect to not existing
slot/function to show error message from autosuspend
2006-11-08 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed detection of suspend/standy
support. HAL also provide the related methodes if
there is no support in the kernel.
TODO: take a look at this in HAL and if we can fix
2006-11-07 Danny Kukawka <danny.kukawka@web.de>
* TODO: added some information and currently TODOs
2006-11-07 Danny Kukawka <danny.kukawka@web.de>
Fixed battery warning state handling and events for
the primary batteries:
* src/hardware.[cpp,h]: added some private variables
to store the current warning state level which are set
with new function setPrimaryBatteriesWarningLevel().
We use this function also to reset the warning level
to the current one directly her e.g. after D-Bus or
HAL restart.
Changed signal for reached warning state to emit also
the type and the state of the battery. This should
be more generic and can be reused later for other
battery types.
* src/hardware_batteryCollection.[cpp,h]: changed
Q_SIGNALS to emit also battery type.
* src/tdepowersave.cpp: changed debug msg and set the
battery warning level temporary in the constructor
to HardwareInfo object.
2006-11-07 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: fixed brightness related
code to handle new HAL level mapping to percent.
* src/hardware.[cpp,h]: changed setBrightness() to
work with level and percent (added mapping from
percentage to level) and fixed min and max values.
* src/tdepowersave.cpp: related changes.
2006-11-06 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed setBrightness (fixed wrong
usage of dbusSystemMethodCall and int as param)
2006-11-06 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: Fixed dbusHAL::isUserPrivileged()
to use 'const char *' instead of QString.
2006-11-06 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed case if HAL wasn't present
at startup. Now if hal reconnect recheck all hardware
information.
* src/tdepowersave.cpp: Fixed creation of the applet
menu if HAL or D-Bus disappear or/and reconnect.
Fixed applet Icon if HAL/D-Bus is not available.
2006-11-06 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: Added new function to show
messages from other classes as e.g. autosuspend to the
user.
Moved some functions within the code.
2006-11-06 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: set dbus_is_connected to false if
D-Bus is gone
* src/tdepowersave.cpp: fixed display D-Bus error message
and avoid display HAL related error msg if D-Bus is
terminated.
2006-11-06 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: fixed detection of terminated D-Bus
and reconnect to the service and HAL
2006-11-06 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: fixed display message if HAL
is gone.
2006-11-06 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp,h]: removed no longer needed code
2006-11-06 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed init the class (set a default
value for currentCPUFreqPolicy otherwise we can't detect
the initial changes).
Fixed setCPUFreq(), use char* instead instead of direct
usage of e.g. "performance".
* src/hardware.h: make checkCurrentCPUFreqPolicy() public
* src/tdepowersave.cpp: force a check of current CPUFreq
policy after set the policy to be sure the CPUFreq
Policy is correct displayed in the applet.
2006-11-06 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: fixed detection of the current CPU
Freq policy. Use char* instead of QString for return
values.
2006-11-06 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: fixed detection of changes in current
CPU Freq Policy (_use_ temp variable correct )
* src/tdepowersave.cpp: removed debug
2006-11-05 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: fixed connect to Q_SIGNALS from the
primary battery collection. This should fix the applet
icon to show the correct battery fill level.
2006-11-05 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: added and emit new signal if the
primary battery collection changed a value
* src/tdepowersave.cpp: Fixed change applet icon if the AC
plug added/removed
2006-11-05 Danny Kukawka <danny.kukawka@web.de>
* src/detailed_Dialog.ui: removed <includehint>
* src/detaileddialog.cpp: connect to signal for changes
of the primary batteries.
* src/hardware.cpp: fixed connect to changes of batteries
2006-11-05 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: fixed typo in function call and
removed already comment out include of kpowersave.h
2006-11-05 Danny Kukawka <danny.kukawka@web.de>
Removed no longer needed sourcecode files from repository:
* src/dbusPowersave.cpp:
* src/dbusPowersave.h:
* src/pdaemon.cpp:
* src/pdaemon.h:
2006-11-05 Danny Kukawka <danny.kukawka@web.de>
Replaced complete (active) pdaemon and powersave related
code from KPowersave class:
* src/Makefile.am: removed pdaemon.* and dbusPowersave.* ,
reformated the list of source files
* src/kpowersave.[cpp,h]:
TODO: test and remove/fix open TODO's
2006-11-05 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added code to handle reconnect to
the D-Bus daemon. Added some variables to show if something
in class HardwareInfo changed. This new variables should
allow finder grained and easier refresh/handle of battery
information.
Fixed code to update battery information and connect to
related Q_SIGNALS.
2006-11-05 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.[cpp,h]: added also a signal to
the battery object, wich we emit if a value of the
battery changed.
2006-11-05 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_batteryCollection.[cpp,h]: added new signal
if _something_ changed in the collection.
2006-11-05 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: Removed include of powersave_dbus.h.
Replaced usage of dbusGetMessageString() from old powersave
library with dbus_message_get_args() and fixed code to
fetch event if HAL go down.
2006-11-03 Danny Kukawka <danny.kukawka@web.de>
Replaced complete pdaemon and powersave related code from
the configuration dialog.
* src/configuredialog.[cpp,h]:
* src/tdepowersave.cpp: related changes to open/create the
configdialog.
2006-11-03 Danny Kukawka <danny.kukawka@web.de>
Renamed class s/settings/Settings and related changes
* src/detaileddialog.h:
* src/kpowersave.[cpp,h]:
* src/settings.[cpp,h]:
2006-11-02 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.cpp: read battery serial only if the
battery is present.
2006-11-02 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.[cpp,h]: Removed no longer needed code to get
CPU information directly from sysfs
2006-11-02 Danny Kukawka <danny.kukawka@web.de>
Replaced usage of pdaemon class in the detailed dialog with
class HardwareInfo:
* src/dbusHAL.cpp: fixed debug message
* src/dbusPowersave.cpp: comment out some code to get the
applet run temporary, before remove the class complete.
* src/detaileddialog.[cpp,h]: replaced complete pdaemon code
* src/tdepowersave.cpp: related changes to call the constructor
of class detaileddialog.
2006-11-02 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: fixed CPU Freq stuff, added new member
to check if the hardware/kernel support cpufreq in general,
also without HAL. We need this to show CPU information in
the detailed dialog also if there is no support vi HAL.
Added fix to get the battery information. Need to update the
primary battery collection on init.
2006-11-02 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.cpp: fixed detection of battery type,
don't check if the battery present for the battery type. The
information about the type is always present, also for empty
battery bay.
2006-11-02 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added some new functions to get access
to battery list and the primary battery collection.
Fixed bug in checkBrightness(), check always if the list of
devices is not empty before use them.
Fixed some minor bugs in debug messages
2006-11-02 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: added new config entries to
save the default ac and battery scheme
* src/dbusPowersave.[cpp,h]: renamed some enums to avoid
conflicts while remove this class.
* src/detaileddialog.[cpp,h]: replaced scheme information from
powersave with new from class settings. Added pointer to current
settings to constructor.
* src/hardware_battery.[cpp,h]: renamed some enum to avoid
conflicts
* src/tdepowersave.cpp: replaced scheme handling parts where we
tried to get scheme information from the pdaemon class. commented
out some code which we should replace later.
* src/kpowersave.h: added new member to hold HardwareInfo class
* src/pdaemon.[cpp,h]: renamed enum, removed scheme handling
from code of the class. We use now the new structure. Use some
enums from hardware_battery.h temporary.
* src/settings.[cpp,h]: added new members to handle the default
ac and battery scheme
2006-10-30 Danny Kukawka <danny.kukawka@web.de>
* configure.in.in: removed no longer needed dependencies and
updated HAL and D-Bus version dependencies.
2006-10-29 Danny Kukawka <danny.kukawka@web.de>
Added some new configure variables to the default settings.
* src/config/kpowersaverc_default: added new battery state level
related variables and a new variable for the available schemes.
Removed no longer needed sound related variables.
* src/settings.[cpp,h]: Added new enum level_action to define
actions if a battery level state reached. Added code to read the
available schemes and the battery warning states from the config
file.
2006-10-28 Danny Kukawka <danny.kukawka@web.de>
Fixed creation of D-Bus connection. Don't use private connection
anymore. Simply call dbus_bus_get() instead. This should fix
b.n.c #214881.
* src/dbusHAL.cpp:
* src/dbusPowersave.cpp:
2006-10-25 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed updateBatteryValues() to call the new
member function of the battery to update the values.
* src/hardware_battery.cpp: Fixed checkBatteryPresent() to call
depending on the new state of the battery all depending updates.
2006-10-25 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed function to trigger a update of the
primary battery collection and added some intial code to handle
DeviceAdded/DeviceRemoved events from HAL.
* src/hardware.hi: added battery collection for primary
batteries and renamed related update function.
* src/hardware_batteryCollection.[cpp,h]: added new function
isBatteryHandled() to check if this Collection already handle
this udi/battery
2006-10-25 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added new function to check if we should
handle a special device (e.g. on a HAL_DEVICE::DeviceAdded
event) and to get the type of the device (added a new enum
device_type).
Added some new Q_SIGNALS for: HAL error handling, data changes and
if the sleep button was pressed.
2006-10-24 Danny Kukawka <danny.kukawka@web.de>
Cleanup: removed not handled msg_type NAME_AQUIRED.
* src/dbusHAL.[cpp,h]:
* src/hardware.cpp:
2006-10-24 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added check for privileges for CPUFreq
interface via PolicyKit and check before try to use the
interface. Added function to get this info from outside.
2006-10-24 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added PolicyKit check for suspend/
standby interface.
2006-10-24 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.[cpp,h]: changed return type of new function
isUserPrivileged() from bool to int to get a info if we can't
connect to the PolicyKit interface on DBUS.
2006-10-24 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.[cpp,h]: Added function to check PolicyKit
for a privilege for a given user.
2006-10-23 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.[cpp,h]: make get* functions const
2006-10-23 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.cpp: added some code to check if the
battery is really present. If not, we don't need to run all
updates or the calls to HAL.
2006-10-23 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.cpp: removed calls of minRecheck() in
the get* methodes. The data should always be up to date because
of the HAL events. If not, we have a problem and should fix
this instead of call minRecheck() on each get methodes. If
this is really needed, we can call this function also from
outside (isn't a private function).
2006-10-23 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: removed todo, code comment update
* src/hardware_battery.[cpp,h]: Added variable to check if the
battery is inialised and added event handling including emit
related Q_SIGNALS if something changed.
Set crit_level as default to 2 as in old powersave config.
* src/hardware_batteryCollection.cpp: set crit_level as default
to 2 as in old powersave config
2006-10-23 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.cpp: if battery was removed, set the
battery members back to default.
2006-10-23 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.cpp: fixed typo for a HAL property
2006-10-23 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.cpp: added code to filter events and
call the related function to update the key.
TODO: add code to check if really something was changed and
emit some Q_SIGNALS.
2006-10-23 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.[cpp,h]: separated code from recheck()
and minRecheck() to query information from HAL to new small
functions for each property.
2006-10-23 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.[cpp,h]: Small update in code docu and
added inital code for a new function to update a battery
property on a HAL event.
TODO: fill with code to filter the events and seperate current
code to get a value from HAL into smaller functions to
reuse them.
2006-10-22 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.[cpp,h]: first remove of no longer
needed code for some kind of battery collection in this class.
This is now done by class BatteryCollection.
TODO: check left code and get methodes. Seperate and split of
the code to get info from HAL.
2006-10-22 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_batteryCollection.cpp: clean up list of udis
before start the update process.
2006-10-22 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_batteryCollection.[cpp,h]: emit now also all
the other Q_SIGNALS for percentage, minutes, present batteries
and the charging state.
2006-10-22 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_batteryCollection.[cpp,h]: emit Q_SIGNALS for
reached battery warning states.
2006-10-22 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_batteryCollection.[cpp,h]: return a bool for
the set functions to detect incorrect values.
2006-10-22 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_batteryCollection.[cpp,h]: Completed code to
collect the values from the batteries.
Added new members to get the number of present batteries and
to get the battery state.
TODO: add Q_SIGNALS and emit them.
2006-10-20 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_batteryCollection.[cpp,h]: added needed
functions to set/get access to privat members.
TODO: add code to read the batteries into the class.
2006-10-20 Danny Kukawka <danny.kukawka@web.de>
* src/Makefile.am: added new files to Makefile
* src/hardware_battery.h: minor changes
* src/hardware_batteryCollection.[cpp,h]: added new class to
handle battery collections. This class should allow us to get
e.g. only the needed information from all primary batteries.
2006-10-20 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp.h]: Added new initial function to collect
battery information from all primary batteries.
2006-10-20 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: replaced QValueList as datatype for
BatteryList with QPtrList. QValueList can't contain objects
which are derived from QObject.
NOTE: For QPtrList as for QDict we need always deep copies
2006-10-19 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added initial code to filter battery
events from HAL and update the battery objects.
TODO: check if the construct with the QValueList for batteries
is correct and add code to update the objects.
2006-10-19 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Filter powerbutton event and emit a
signal.
2006-10-19 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Filter lidclose event and emit a signal.
Fixed emit signal: first set new value to variable and emit then
the signal.
2006-10-19 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: filter ac adapter in/out event and emit
a signal.
2006-10-19 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.h: removed unused event type HAL_EVENT
* src/hardware.cpp: Added initial code to filter the DBUS and
HAL events we need in KPowersave.
TODO: add code to do what we need if a event happen and
evaluate if we need all the events.
2006-10-19 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: check if the new udi is already in the
list of all udis. QStringList add strings without check if
they are already in.
2006-10-19 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: fixed intialiseHWInfo() to use only
one QStringList for the devices. Added new code to the func
to collect the battery UDIs.
Added code to store the UDIs of all devices we handle and
want to monitor. This should allow us a finer grained filter
functions for HAL events.
* src/hardware_battery.[cpp,h]: Changed one constructor to
give always as first the reference to dbus_HAL.
2006-10-19 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.h: removed no longer needed define
_BATTPRESETS
2006-10-19 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: updated some KDevelop project settings
* src/settings.h: removed unneeded empty class
2006-10-16 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.[cpp,h]: More cleanups, changes in code
style and code documentation. Removed not needed hasHalError().
2006-10-16 Danny Kukawka <danny.kukawka@web.de>
* src/hardware_battery.[cpp,h]: Sorted private members of the
class by type and added function to init private members with
default values instead to use a define. This should avoid
compiler warnings.
Added some code comments for doxygen.
2006-10-15 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added function to get the current
CPU Frequency policy from HAL and a function to get this
value from the privat class member.
TODO: check if we also can get info for DYNAMIC_SET.
2006-10-15 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: added function to get the current
brightness level from HAL. This should allow get current
brightness without recheck the interface.
2006-10-15 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: s/PMStates/SuspendStates/ and
s/pm_states/suspend_states/ to be more clear
2006-10-15 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: replaced QDict for powermanagement states
with a struct which should be easier to handle. Added new members
to the struct to represent information if call the related
interface is allowed
2006-10-11 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added function to set CPU frequency
policy via the HAL interface (support the currently) available
tree policies.
2006-10-10 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: added function to check if the machine
support change the CPU frequency via HAL.
TODO: add check for PolicyKit policy
2006-10-10 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: cleanup QDict<bool> pm in checkSuspend() if
not empty before reuse.
2006-10-10 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: added get functions for suspend/standby
support info and if DBUS/HAL are running.
2006-10-10 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added some functions to read private
class members from outside. Changed existing get functions to
const.
* src/hardware_battery.cpp: code style changes
2006-10-10 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.h: Changed function params to show also the
variable names in code completion of KDevelop.
2006-10-10 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added function to change the brightness
of the laptop display (if supported by the hardware).
Added code comments and fixed some debug messages.
2006-10-10 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: added missing debug messages
2006-10-09 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.[cpp,h]: changed DBus method call functions for
easier usage than the old one and removed one no longer needed
function.
* src/dbusHAL.h: Changed function params to show also the
variable names in code completion of KDevelop.
* src/hardware.cpp: Adapted exsting code the new functions.
2006-10-06 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.h: s/HAL_DEVICE_UDI/HAL_COMPUTER_UDI/
* src/hardware.[cpp,h]: Replaced strings with defines
HAL_COMPUTER_UDI and HAL_PM_IFACE.
Added new initial function to trigger a suspend and added new
enum (suspend_type) to select the suspend/standby method for
the call.
TODO: add check for PolicyKit policy for the suspend and
rework the dbus method call functions. We can maybe
merge some functions.
2006-10-05 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: added new boolean member to hold info
if the machine is a laptop. Changed existing function to check
the formfactor and set laptop value, added new function to get
laptop value.
Added some code do constructor to init members and to get some
initial hardware information.
2006-10-05 Danny Kukawka <danny.kukawka@web.de>
Fixed some code comments (line breaks etc.).
* src/hardware.cpp:
* src/hardware_battery.h:
2006-10-03 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.[cpp,h]: removed HAL specific function to call
a powermanagement related function and added three generic
functions to call a method on a DBUS interface (taked and
adapted code from current powersave code base).
* src/hardware.[cpp,h]: added a new function to get init
brightness information as e.g. if change brightness is
supported, how many brightness level are available and the
current level.
2006-10-01 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.[cpp,h]: added function to check the supported
powermanagement/suspend functions and store the information
if e.g. suspend2disk is available as HAL interface and if not
if the machine support this via the kernel in general.
* src/hardware.[cpp,h]: added function to get a stringlist
property from HAL for a given device.
2006-09-29 Frank Seidel <frank.seidel@web.de>
* src/hardware_battery.[cpp,h]: Very very first implementation
of class Battery. Probably full of many ugly bugs, but its
a start.
2006-09-28 Frank Seidel <frank.seidel@web.de>
* src/dbusHAL.cpp: Fixed typo in halQueryCapability (libhal
function call).
2006-09-28 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added some more code comments and new
functions to init hardware information about AC adapter and the
lidclose button.
2006-09-26 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.[cpp,h]: code comments
* src/hardware.[cpp,h]: addes some empty functions and a QDicr
for udis of devices except batteries (e.g. AC, Lid, buttons ...)
* src/pdaemon.cpp: added comments about the state of port code
and functions to class dbusHAL
2006-09-25 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.cpp: Fixed typo in debug msg. Filled destructor.
2006-09-25 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: added functions to check if the machine
is a laptop and if the machine support ACPI/APM.
TODO: add some line of code to check for ACPI/APM if HAL is not
present.
2006-09-25 Danny Kukawka <danny.kukawka@web.de>
* src/hardware.[cpp,h]: Added more to constructor and init. Copied
code to get CPU Freq information for the detailed dialog from
pdaemon.[*] to this file. Updated some code docu.
2006-09-25 Danny Kukawka <danny.kukawka@web.de>
* src/dbusHAL.cpp: init HAL context in constructor
* src/hardware.[cpp/h]: conntect to DBUS/HAL in constructor and
added initial function to filter and handle events from DBUS/HAL
via signal from dbusHAL class.
2006-09-23 Danny Kukawka <danny.kukawka@web.de>
Added new basic classes to handle hardware information, as e.g.
battery, lid state or AC adapter state, and the powermanagement
related functions as e.g. suspend2*/standby or CPU freq.
NOTE: this are only initial files and classes, we maybe replace or
rename them while development.
* src/Makefile.am:
* src/hardware.cpp:
* src/hardware.h:
* src/hardware_battery.cpp:
* src/hardware_battery.h:
2006-09-23 Danny Kukawka <danny.kukawka@web.de>
* Doxyfile: changed version string
* src/Makefile.am: added dbusHAL class to make
* src/dbusHAL.[cpp,h]: Changed name of the class to dbusHAL and
added connection to HAL and code to hold LibHalContext. The class
contains now mew functions to search for devices and to get device
information from HAL. Also added: new function to call
org.freedesktop.Hal.Device.SystemPowerManagement methodes on HAL
via DBUS.
2006-09-04 Danny Kukawka <danny.kukawka@web.de>
Added new class to monitor HAL Q_SIGNALS (DeviceAdded, DeviceRemoved,
PropertyModified, Condition) and Connect/Disconnect events via DBUS.
This class is not used atm in the code, but should replace the class
dbusPowersave in the future.
TODO: add code to init and hold hal_context for libhal.
* src/dbusHAL.cpp:
* src/dbusHAL.h:
2006-09-04 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: fixed tdevelop file to get code completion
running.
2006-08-15 Frank Seidel <frank.seidel@web.de>
Trivial fix for SUSE bug #198237 (when powersaved wasn't
running and kpowersave starts, a wrong error about dbus
was shown).
* src/pdaemon.cpp:
2006-08-11 Danny Kukawka <danny.kukawka@web.de>
updated files to current admin dir from KDE 3.5.4 and added
two missing files from the KDE SVN directory.
* admin/*:
2006-08-11 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/fixed_bugs.dox: updated list
* src/infodialog.cpp: added string "KPowersave" to window
caption (SUSE bug #198237) of warning messages via infodialog
2006-08-11 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp: cleanup: removed unused code and replaced
code comment with debug message.
2006-08-11 Danny Kukawka <danny.kukawka@web.de>
Prepared for QT4 where FALSE is depricated. Replaced with false.
* src/blacklisteditdialog.cpp:
* src/detaileddialog.cpp:
* src/tdepowersave.cpp:
* src/pdaemon.cpp:
* src/pdaemon.h:
2006-08-11 Danny Kukawka <danny.kukawka@web.de>
Changed returnvalue of checkDaemon() and type of daemon_running
(in class pDaemon) from int to bool:
* src/detaileddialog.cpp:
* src/tdepowersave.cpp:
* src/pdaemon.cpp:
* src/pdaemon.h:
2006-07-17 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: undo kpowersave part of commit r2374
which not solve SUSE bug #186197
2006-06-12 Danny Kukawka <danny.kukawka@web.de>
again (re)tagged and released official update release v0.6.2
2006-06-12 Danny Kukawka <danny.kukawka@web.de>
Fixed SUSE bug #184076:
* ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
* doc/doxy/fixed_bugs.dox: added fixed bug to list
* po/*.po, po/kpowersave.pot: removed "(messagebus)" and
s/messagebus/dbus/ in all translations
* src/infodialog.cpp: added command to adjust the size of the
dialog before open.
* src/tdepowersave.cpp: fixed message if dbus daemon is not
running. Use correct script name and not the name from Fedora.
2006-06-12 Danny Kukawka <danny.kukawka@web.de>
(re)tagged and released official update release, version 0.6.2
2006-06-12 Danny Kukawka <danny.kukawka@web.de>
Fixed SLED bug ##183745:
* configure.in.in: added configure check to differ between
SUSE Linux and SLES/SLED as enterprise products
* README: changed link to bugzilla for SUSE Linux and SLED/SLES
* doc/doxy/fixed_bugs.dox: added fixed bug to list
* src/tdepowersave.cpp: added new link for SLES/SLED bugzilla
* ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
* packaging/*.spec: updated specs to current version
* packaging/FC5.kpowersave.spec: added new Fedora Core 5 spec
2006-06-11 Danny Kukawka <danny.kukawka@web.de>
tagged and released official update release, version 0.6.2
2006-06-11 Danny Kukawka <danny.kukawka@web.de>
* ChangeLog.package, doc/doxy/changelog.dox: updated
changelogs from stable tree
2006-06-11 Danny Kukawka <danny.kukawka@web.de>
* configure.in.in: added configure check to detect K/Ubuntu
* README: changed link to Ubuntu bugzilla to launchpad.net
* src/tdepowersave.cpp: added address for ALT Linux and Ubuntu
bugzilla for "Report a bug ..."
2006-06-11 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: added KDE and QT3 libs to code completion
* src/inactivity.cpp: fixed compiler warning
* src/kpowersave.[cpp/h]: added DCOP function to open/close
the detailed information dialog
2006-06-07 Danny Kukawka <danny.kukawka@web.de>
Updated translations back from SUSE/Novell translation team,
reworked and merged the files with existing translations:
* po/es.po:
* po/fr.po:
* po/it.po:
* po/pt_BR.po:
* po/zh_CN.po:
* po/zh_TW.po:
2006-06-07 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/fixed_bugs.dox: updated list of fixed bugs in doc.
2006-06-07 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.[cpp/h]: Added slightly adopted patch from
Timo Hönig <thoenig@suse.de> to fix SUSE bug #176782 and
enable change display brightness (if supported and enabled in
the current scheme) via the mousewheel over the applet icon.
2006-06-07 Danny Kukawka <danny.kukawka@web.de>
Updated dependencies to powersave version 0.12.18 in docs:
* README:
* doc/doxy/main.dox:
2006-06-07 Danny Kukawka <danny.kukawka@web.de>
Fixed SUSE bug #182515: Changed configure dialog to respect the
rules for DPMS timouts from www.xfree86.org/current/DPMSLib.pdf.
* src/configure_Dialog.ui: Added new signal handlers to QSpinBoxes
for the DPMS timeouts
* src/configuredialog.[cpp/h]: added code to correct values for
the timouts to guaranty correct DPMS settings
2006-06-05 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: updated translation, added missing string
2006-06-05 Danny Kukawka <danny.kukawka@web.de>
Fixed errorhandling for DBUS,HAL and powersave connections (this
fix partly SUSE bug #168619) to display correct state:
* src/dbusPowersave.[cpp/h]: added new checks to detect: if HAL
detached from the system message bus and if the user has the rights
to connect to powersaved dbus interface. Added function to access
information if user has the needed rights (check with a "Ping").
Also fixed some typos, removed withespaces, and replaced printf()
with myDebug().
* src/kpowersave.[cpp/h]: Added new function to show errormessages
related to problems with dbus (showDBusErrorMsg()), extended/
reorganised showHalErrorMsg(). Removed no longer needed code
since we now are directly informed if HAL gone. Changed
updateTooltip() to get correct tooltip if HAL not running.
* src/pdaemon.[cpp/h]: reworked handling regarding to the changes
above and to handle new information about the tree central services
for KPOwersave (DBUS,powersave,HAL). Updated code doc.
* configure.in.in: changed dependencies to powersave 0.12.18
because of needed changes related to REPLY_NO_RIGHTS.
2006-06-05 Danny Kukawka <danny.kukawka@web.de>
* src/inactivity.cpp: added a check to catch the case, where (unknow
if this ever the case) the idletime is correct get from the X-Server.
2006-06-02 Danny Kukawka <danny.kukawka@web.de>
* po/fi.po: updated translations back from SUSE/Novell translation
team
2006-06-02 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: added more programs to the
autosuspend default blacklist: gmplayer,kaffeine,xine,mencoder
2006-06-02 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: added check before autosuspend, if autosuspend
was disabled via the applet menu
2006-06-02 Danny Kukawka <danny.kukawka@web.de>
Code documentation fixes and updates to current code:
* doc/doxy/fixed_bugs.dox: Added fixed bug to list, back from
kpowersave-CODE10 branch.
* doc/doxy/implemented.dox:
* doc/doxy/process.dox:
* src/inactivity.cpp:
* src/infodialog.cpp:
* src/tdepowersave.cpp:
* src/kpowersave.h:
* src/screen.cpp:
2006-06-02 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/fixed_bugs.dox: added fixed buginfo
* src/inactivity.[cpp,h]: Added new function to workaround XServer bug
regarding to idleTime (dpms timeouts are abstracted, but should not)
and DPMS timeouts (are currently additive - bug #180000). New function
correct the idleTime if needed (related SUSE bug: #177788 / sf.net
#1483392). For more info see comment in fixed_bugs.dox
Todo: evaluate if there is a way to identify the versions of X where
this was changed or get fixed.
2006-06-01 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: fixed german translation
2006-05-29 Danny Kukawka <danny.kukawka@web.de>
* po/hu.po: updated translations back from SUSE/Novell translation
team
2006-05-27 Danny Kukawka <danny.kukawka@web.de>
* po/{bg,da,el,es,fi,fr,it,ja,km,nb,nl,pa,pl,pt,pt_BR,ru,sk,sl_SI,sv,
tr,uk,zh_CN,zh_TW.}.po: merged two new dummy strings from pot file
2006-05-27 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: updated german translation
2006-05-27 Danny Kukawka <danny.kukawka@web.de>
* po/{cs,hu}.po: updated translations back from SUSE/Novell
translation team
2006-05-27 Danny Kukawka <danny.kukawka@web.de>
* po/{fi,km,pl}.po: fixed strings (from last typo fixes)
* po/kpowersave.pot: added dummy strings for better error messages if
powersaved or the DBUS daemon is not running or accessable.
2006-05-22 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp/h: (list_CPUFreqPolicys): Added dcop function to
list the supported CPU Frequency policies.
(do_setCPUFreqPolicy): Added dcop function to set the current CPUFreq
policy.
2006-05-22 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp/h: (do_setScheme): added new dcop function to
allow set the current scheme via kpowersave (see sf.net bug #1483392)
(disableAutosuspend): litte change, set first applet item to avoid
possible double action
2006-05-22 Danny Kukawka <danny.kukawka@web.de>
* src/eventsrc: updated missing translations back from SUSE/Novell
translation team.
2006-05-22 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: fixed typo in german translation
2006-05-22 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: (disableAutosuspend): fixed sf.net bug #1483392
and set changes on autosuspend state via dcop interface back to the
applet.
2006-04-25 Danny Kukawka <danny.kukawka@web.de>
* src/eventsrc: added czech translations from SUSE/Novell translation
team, removed wrong translations of resume_from_suspend2ram_event
(ja,zh_CN,zh_TW)
2006-04-24 Danny Kukawka <danny.kukawka@web.de>
Added russian translations from Anton Farygin <rider@altlinux.com>
* src/eventsrc:
* src/kpowersave.desktop:
* src/kpowersave-autostart.desktop:
2006-04-24 Danny Kukawka <danny.kukawka@web.de>
* README: updated translation with file from Anton Farygin
<rider@altlinux.com>
* po/ru.po: Changed link to ALT Linux bugzilla
2006-04-24 Danny Kukawka <danny.kukawka@web.de>
* src/eventsrc: fixed a description and translation in eventsrc
2006-04-18 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: updated version string for project to
"0.7.x - TRUNK"
2006-04-18 Danny Kukawka <danny.kukawka@web.de>
updated svn:ignore properties
2006-04-18 Danny Kukawka <danny.kukawka@web.de>
* src/*.cpp, src/*.h: removed doxygen \version tag from source files
to avoid annoying change of version with each new release.
2006-04-18 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/fixed_bugs.dox: added fixed bug to list.
2006-04-18 Danny Kukawka <danny.kukawka@web.de>
* configure.in.in: added check for headers from dbus-qt3-devel
package (copied from KNetworkMananger source).
2006-04-18 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: fixed processorbar for multiprocessor/
-core machines without CPUFreq or Throttling support, if a CPU/
Core was deactivated (thanks to Daniel fot the hint).
2006-04-18 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp: fixed problems with remaining time until full
charged with APM. Also cleaned up the code and removed no longer
needed/useless checks. (see SUSE bug #167296)
2006-04-13 Danny Kukawka <danny.kukawka@web.de>
Updated translations, back from SUSE/Novell translation team:
* po/fi.po:
* po/km.po:
* po/pl.po:
2006-04-12 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/fixed_bugs.dox: added fixed bug to doc
* src/eventsrc: removed bad formated UTF8
2006-04-09 Danny Kukawka <danny.kukawka@web.de>
Retagged v0.6.0 and released new version.
2006-04-09 Danny Kukawka <danny.kukawka@web.de>
* ChangeLog.package, doc/doxy/changelog.dox: updated Changelogs
* NEWS: updated release news for v0.6.0
2006-04-09 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/fixed_bugs.dox: added SUSE/Novell bug #164683
* src/detaileddialog.cpp: Added call setProcessorThrottling()
every 2 secs if throttling is supported or if there is more than
one CPU/core in the system. Added call checkCPUSpeedThrottling()
in setProcessorThrottling() to get always actual data. Fixed
connects to use local pointer to pdaemon object.
This all (including changes since 2006-04-07) should fix
SUSE/Novell bug #164683
* src/inactivity.cpp: fixed compiler warning
2006-04-09 Danny Kukawka <danny.kukawka@web.de>
Added slightly adopted patch from Daniel Gollub to fake the CPU
system information in proc and sys for development and tests:
* configure.in.in: added configure option --enable-fake-cpu
* src/pdaemon.cpp: added ifdef and related changes to fake
the path to the CPU informations under /tmp/foo
* src/pdaemon.cpp: fixed warning for compare unsigned and signed
2006-04-09 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: set processorbar to deactivated if the
cpuspeed < 0 (cpu is offline) and the machine only support
throttling
* src/pdaemon.cpp: fixed throttling-case if cpu is offline
2006-04-08 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: reduced usage of getCPUNum(), fixed
display processor freq, if the cPU is back from offline. Added
check to reduce unneded changes in processorbars if nothing changed.
* src/detaileddialog.h: added private variable to store the numbers
in the system
* src/pdaemon.cpp: reduced usage of getCPUNum() by replace with
a variable (numOfCPUs)
* src/pdaemon.h: added private variable to store the numbers in
the system
2006-04-07 Danny Kukawka <danny.kukawka@web.de>
Tagged release v0.6.0
2006-04-07 Danny Kukawka <danny.kukawka@web.de>
Released new version v0.6.0
2006-04-07 Danny Kukawka <danny.kukawka@web.de>
* ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
for release 0.6.0
* NEWS: updated release news for release 0.6.0
2006-04-07 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp: changed waiting intervall for powersave on
startup from 10 sec to 20 to avoid problems on slow machines and
with autologin (again).
2006-04-05 Danny Kukawka <danny.kukawka@web.de>
fixed date strings to last changes and reemoved the date from
the future:
* doc/cs/index.docbook:
* doc/de/index.docbook:
* doc/en/index.docbook:
* doc/fi/index.docbook:
* doc/hu/index.docbook:
* doc/nb/index.docbook:
* doc/pt/index.docbook:
2006-04-05 Danny Kukawka <danny.kukawka@web.de>
Branch official stable release 0.6.0. Add two new Branches:
- kpowersave-CODE10 (for SUSE 10.1, SLES 10 and SLED 10)
- kpowersave-0.6 (general stable branch)
2006-04-05 Danny Kukawka <danny.kukawka@web.de>
* po/de.po, src/eventsrc: fixed typos in german translations
* src/kpowersave-autostart.desktop, src/kpowersave.desktop:
copied missing translations from SUSE desktop files and
removed not translated strings
2006-04-04 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: changed address for bug reports if this
is a SUSE package to opensuse wiki page for bug reports
* src/main.cpp: fixed address for bugreports in the about
dialog. This should be a mail adress, use now powersave-users ML.
* ChangeLog.package, doc/doxy/changelog.dox: updated Changelogs
* NEWS: updated release news.
2006-04-04 Danny Kukawka <danny.kukawka@web.de>
Prepared offical stable release v0.6.0:
* ChangeLog.package, doc/doxy/changelog.dox: updated Changelogs
* NEWS: update release news
2006-04-04 Danny Kukawka <danny.kukawka@web.de>
Prepare offical stable release 0.6 and remove kpowersave-CODE10
and kpowersave-0.6 branches to add new offical release 0.6.
Reason: kpowersave is now featurecomplete for CODE10 and STABLE
and 0.6 was not released outside SUSE.
* ChangeLog.package, doc/doxy/changelog.dox: backported Changes
from deleted branches
2006-04-04 Danny Kukawka <danny.kukawka@web.de>
* doc/de/Makefile.am, doc/de/index.docbook, doc/de/*.png: Added new
german version of the handbook
2006-04-03 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/enhance.dox, doc/doxy/process.dox: Updated gnome-screensaver
related enhancement request.
2006-04-03 Danny Kukawka <danny.kukawka@web.de>
* src/screen.cpp: fixed fake shift keyevent, use correct keycode
and set delay to 0
2006-04-03 Danny Kukawka <danny.kukawka@web.de>
Added support for GNOME Screensaver for lock in a GNOME desktop
session:
* po/de.po, po/kpowersave.pot: added string for GNOME screensaver
* src/configuredialog.cpp, src/configuredialog.h: added GNOME
screensaver to configure dialog (only if a GNOME session is running)
* src/tdepowersave.cpp: Fixed detection of GNOME session
* src/screen.cpp, src/screen.h: Added support for detection of and
lock with GNOME screensaver
2006-04-02 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: added new configure variable
for emit faked keyevent after resume from suspend
* src/tdepowersave.cpp, src/kpowersave.h: added function to call
screen:fakeShiftKeyEvent() after resume
* src/screen.h: changed fakeShiftKeyEvent to public SLOT
* src/settings.cpp, src/settings.h: added read new variable
timeToFakeKeyAfterLock from config file
2006-04-01 Danny Kukawka <danny.kukawka@web.de>
* src/Makefile.am: added -lXtst
* src/screen.cpp, src/screen.h: added new function so fake press
shift key to show the login screen on resume if the machine was
locked on supend.
2006-03-29 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: fixed errorhandling for YaST power-management
module. Added returncode 16 (user clicked on Cancel) as successful
case to avoid error message.
2006-03-28 Danny Kukawka <danny.kukawka@web.de>
Fixed UTF-8 in desktop files:
* src/kpowersave-autostart.desktop:
* src/kpowersave.desktop:
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
Branch stable release 0.6.0 for SUSE.
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
* ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
* NEWS: added last changes
* doc/doxy/enhance.dox: added gnome-screen-saver related
feature request for 0.6.x code tree (at least for SLES/SLED).
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
Added older spec files for SUSE 9.3 and 9.2:
* packaging/SUSE9.2.kpowersave.spec:
* packaging/SUSE9.3.kpowersave.spec:
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
Updated spec files for upcomming stable version:
* packaging/FC4.kpowersave.spec:
* packaging/SUSE10.0.kpowersave.spec:
* packaging/SUSE10.1.kpowersave.spec:
* packaging/mdk.cooker.kpowersave.spec:
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
* NEWS: added release news
* README: Updated install section and added section with
dependency information and help/bugreport info
* configure.in.in: updated powersave dependency to current
stable version 0.12.7
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/enhance.dox, doc/doxy/process.dox: Added new planed
features/enhancements for 0.7.x (devel)/0.8.x (stable) to the
documentation.
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
Prepare new release (v0.6.0-stable):
* Doxyfile: updated version string for code doc
* src/*.{cpp,h}: updated version strings
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: fixed tooltip to avoid adding string for
charging battery (" -- battery is charging") if the battery is
full (100%) and the machine is on AC, but the battery is reporting
charging (broken ACPI case).
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
* po/*.po, po/kpowersave.pot: merged changes to po and pot file(s)
* src/configuredialog.cpp: fixed strings as proposed by Stefan
Seyfried
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
* po/bg.poi, po/da.po, po/el.po, po/km.po, po/nl.po, po/pa.po,
po/ru.po, po/sk.po, po/sl_SI.po, po/sv.po, po/tr.po, po/uk.po:
Added merged versions of translation files
2006-03-27 Danny Kukawka <danny.kukawka@web.de>
Added patch from Michael Biebl:
* configure.in.in: removed no longer needed check
* src/tdepowersave.cpp: fixed connect for autosusend notify on resume
2006-03-25 Danny Kukawka <danny.kukawka@web.de>
* doc/fi/index.docbook: merged changes/fixes from the SUSE/Novell
translation team to the handbook
2006-03-25 Danny Kukawka <danny.kukawka@web.de>
* po/es.po, po/fi.po, po/fr.po, po/it.po, po/ja.po, po/pl.po,
po/pt.po, po/pt_BR.po, po/zh_CN.po, po/zh_TW.po: Updated language
files with new translations from the SUSE/Novell translation team
2006-03-24 Danny Kukawka <danny.kukawka@web.de>
Updated and merged translations of comment and GenericName strings
from the SUSE/Novell translation team:
* src/eventsrc:
* src/kpowersave-autostart.desktop:
* src/kpowersave.desktop:
2006-03-24 Danny Kukawka <danny.kukawka@web.de>
* po/cs.po, po/de.po, po/hu.po, po/nb.po, po/pt.po: Updated
translations, back from SUSE/Novell translation team
* po/kpowersave.pot: added current pot file
2006-03-19 Danny Kukawka <danny.kukawka@web.de>
* NEWS: added some infos for the next release
2006-03-19 Danny Kukawka <danny.kukawka@web.de>
* src/*.png, src/pics/*.png: optimized the size of the applet icons
also with optipng and advdef
2006-03-19 Danny Kukawka <danny.kukawka@web.de>
* doc/$LANG/*.png: optimized the size of the png files
additional with advdef -z -4. This reduce the file minus
~ 3%
2006-03-19 Danny Kukawka <danny.kukawka@web.de>
* doc/$LANG/*.png: optimized the size of the png files with
optipng -i0 -o5. This reduced the size of the files between
minus ~18% and ~28%
2006-03-19 Danny Kukawka <danny.kukawka@web.de>
* src/pics/cr22-action-laptoppower.png: fixed some pixel
2006-03-19 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: some automatic changes from tdevelop
* src/Makefile.am: Added new files (inactivity.*)
* src/autosuspend.cpp, src/autosuspend.h: moved basic code to
a new class inactivity for reuse on dimm brightness on incativity
* src/inactivity.cpp, src/inactivity.h: new files/class with
basic functions to detect inactivity and check blacklist
* src/tdepowersave.cpp: changed name of signal for autosuspend
2006-03-19 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp: changed adding scheme to schemelist. First add
the scheme to list and then set specific schemes.
* src/schemes.cpp: Removed some todos and added checks to the
adding of specific schemes as e.g. ac_scheme. Set the specific
scheme only if the scheme is in the scheme list. Added check to
append() to avoid add scheme multiple times.
2006-03-19 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: fixed set processor bar for the first
open of the dialog.
2006-03-16 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.h: changed possition of include for Slackware to
be sure that config.h is loaded befor the check.
2006-03-13 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: added string dummys for scheme specfic
CPU hotplugging support in the next development tree and planed
feature for CODE 10 SP1.
Added some additional strings for 'Dimm dispaly on inactivity'.
All this strings added for new translation round.
* src/tdepowersave.cpp: Added some string dummys for translate
s2ram message
2006-03-13 Danny Kukawka <danny.kukawka@web.de>
* src/main.cpp: updated code documentation and copyright header
2006-03-13 Danny Kukawka <danny.kukawka@web.de>
tagged release v0.5.11 (rc5)
2006-03-13 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.11 (rc5):
* ChangeLog.package, doc/doxy/changelog.dox: udapted changelogs
* NEWS: added release news for 0.5.11
* src/*.cpp, src/*.h: updated version in code doc
2006-03-13 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: added slightly adopted patch from Timo
Hoenig <thoenig@suse.de> to replace 'Mhz' with correct 'MHz'
* po/*.po, po/kpowersave.pot: updated translation files for this
changes.
2006-03-13 Danny Kukawka <danny.kukawka@web.de>
* doc/fi/index.docbook: fixed names of screenshots
* po/fi.po: updated from SUSE/Novell translation team
* po/pt.po: updated version from Hugo Costelha
<hugo.costelha@gmail.com>
* src/eventsrc: added translation for Portuguese from Hugo Costelha
2006-03-12 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: hide 'lock in lidclose' checkbox if the
machine is not a laptop
2006-03-12 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp, src/pdaemon.h: fixed double include and moved
one include to cpp-file instead of header to avoid unneeded includes
2006-03-12 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp, src/pdaemon.h: added function to check if the
machine is a Lpatop or not.
2006-03-12 Danny Kukawka <danny.kukawka@web.de>
Prepared for QT4 where TRUE is depricated. Replaced with true.
* src/blacklisteditdialog.cpp:
* src/detaileddialog.cpp:
* src/tdepowersave.cpp:
* src/pdaemon.cpp:
* src/pdaemon.h:
* src/settings.cpp:
2006-03-11 Danny Kukawka <danny.kukawka@web.de>
Code documentation related cleanups, added new todo
* src/configuredialog.cpp:
* src/dbusPowersave.h:
* src/detaileddialog.cpp:
2006-03-11 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp: added a check to setBrightness() which should
prevent set the lowest brightness level if this is not the same as
level from BrightnessMin. This should avoid set off the display
via scheme specific brightness settings (e.g. on ppc/pmu where
lowest level 0 mean display off). (I don't like this fuzzy work-
around, but the powersave brightness interface does not work as
I would prefer ... atm)
* src/pdaemon.h: added new private variable for the number of
available brightness level to avoid unneeded dbus calls, extended
setBrightness() with a force_min option to force the given value.
2006-03-11 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp, src/configuredialog.h,
src/detaileddialog.cpp, src/detaileddialog.cpp:
renamed: s/maxBrightnessLevels/brightnessLevels/
* src/pdaemon.cpp, src/pdaemon.h: renamed variable and function
related to get the number of availabale brightness level, added new
helper function to simply get a integer value from powersave via DBUS
- this should reduce the code in this class, replaced code with call
the new helper function simpleGetIntegerValue(...)
2006-03-10 Danny Kukawka <danny.kukawka@web.de>
* removed SVN property executable from several files
2006-03-09 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: applied patch from Daniel Gollub to set the
processor icon correct if no battery is available and the battery
groupbox is hide.
2006-03-09 Danny Kukawka <danny.kukawka@web.de>
* src/schemes.cpp, src/schemes.h: added missing code documentation
2006-03-09 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave.h: whitespace fix
* src/tdepowersave_debug.h: added copyright header and a doxygen comment
2006-03-09 Danny Kukawka <danny.kukawka@web.de>
* Doxyfile: updated EXCLUDE filelist related to the last name changes
of sourcefiles
2006-03-08 Danny Kukawka <danny.kukawka@web.de>
Added patch from Holger Macht <hmacht@suse.de> to allow root always
to suspend/standby machine.
* src/tdepowersave.cpp: Added check if current user is root and use
ADMIN_MESSAGE instead of ACTION_MESSAGE if uid==0
* src/pdaemon.cpp: If user is root set suspend/standby always to
allowed
2006-03-08 Danny Kukawka <danny.kukawka@web.de>
* Doxyfile: Changed version from CVS-HEAD to SVN-trunk
* doc/doxy/enhance.dox: reorganized items and added new enhancement
for dimm display on inactivity
* doc/doxy/main.dox: updated infos and dependencies, added list
of distributions for which KPowersave is available and the related
links
* kpowersave.tdevelop: automatical changes from tdevelop
2006-03-07 Danny Kukawka <danny.kukawka@web.de>
tagged release v0.5.10 (rc4)
2006-03-07 Danny Kukawka <danny.kukawka@web.de>
* po/pl.po, src/eventsrc: added pl translations from Dawid Wróbel
<cromo@klej.net>
* src/kpowersave-autostart.desktop, src/kpowersave.desktop: added
pl translations from Dawid Wróbel <cromo@klej.net> and cs translation
from the SUSE/Novell translation team
2006-03-06 Danny Kukawka <danny.kukawka@web.de>
* ChangeLog.package, doc/doxy/changelog.dox: added last change to
the changelogs for the release
* NEWS: added info for new dependeny
* configure.in.in: added check for powersave >= 0.12.2
2006-03-06 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.10 (rc4):
* ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
* NEWS: added release news
* src/*.cpp, src/*.h: updated release version strings
2006-03-06 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: added new config key to disable
force dpms of on lidclose
* src/tdepowersave.cpp, src/kpowersave.h: Added new function to handle
lidopen event (now reset screen settings to avoid problems after call
xset on lidclose). Added call screen::forceDPMSOff() on lidclose to set
light on LCD off. Removed notification functions for lidclose and
lidopen Q_SIGNALS and merged them to existing functions/Q_SLOTS.
* src/screen.cpp, src/screen.h: added new function forceDPMSOff() to
shutdown the display via DPMS (call xset dpms force off).
* src/settings.cpp, src/settings.h: adde new variable and related
read from config file to enable/disable force dpms off on lidclose.
2006-03-06 Danny Kukawka <danny.kukawka@web.de>
updated svn:ignore properties
2006-03-06 Danny Kukawka <danny.kukawka@web.de>
* po/pl.po: added updated translation by Dawid Wróbel <cromo@klej.net>
2006-03-06 Danny Kukawka <danny.kukawka@web.de>
* doc/*/*.png: added and updated icons for the handbook in the
available language versions
* doc/cs/index.docbook, doc/en/index.docbook, doc/nb/index.docbook,
doc/pt/index.docbook: Updated handbook (icon names and updated
renamed and removed icons)
2006-03-06 Danny Kukawka <danny.kukawka@web.de>
* src/pics/cr16-action-display.png, src/pics/cr22-action-display.png:
Added new icon generated from hicolor scalable svg icons to avoid
empty icon on distributions wich not ship this iconset.
2006-03-06 Danny Kukawka <danny.kukawka@web.de>
* doc/en/*.png: updated handbook-screenshots
2006-03-06 Danny Kukawka <danny.kukawka@web.de>
Updated language files, back from the SUSE/Novell translation team:
* po/es.po, po/fr.po, po/it.po, po/ja.po, po/km.po, po/pt_BR.po,
po/zh_CN.po, po/zh_TW.po:
2006-03-04 Danny Kukawka <danny.kukawka@web.de>
Added slightly adopted patch from Daniel Gollub <dgollub@suse.de>
to check throttling state for each CPU. This should maybe effect
multiprocessor machines with throttling (but no CPUfreq) support
* src/detaileddialog.cpp: Changed to read correct throttling state
for each CPU
* src/pdaemon.cpp, src/pdaemon.h: extended getCPUThrottlingState()
to check each CPU and add the values to a QValueList
2006-03-04 Danny Kukawka <danny.kukawka@web.de>
* packaging/mdk.cooker.kpowersave.spec: added specfile for Mandriva
cooker
2006-03-04 Danny Kukawka <danny.kukawka@web.de>
* configure.in.in: added pkgconfig check for powersave libs (from
Michael Biebl), added check to get the path to the dbus-socket.
This should fix build on Mandriva, which use a different socket
name/location.
* src/Makefile.am: fixed linking libs to use pkgconfig (from Michael
Biebl)
* src/dbusPowersave.cpp: replaced path to dbus socket with define
from configure
2006-03-01 Danny Kukawka <danny.kukawka@web.de>
* configure.in.in: fixed detection of distribution. Changed position
of Mandrake/Mandriva because they also ship redhat-release. Added
two more releasefile checks for Mandriva
2006-03-01 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: Changed constructor to only display
batterygroupbox only if the machine has min. one batterybay. This
should hide the groupbox on workstations.
Fixed processor progressbars for multiprocessor/-core machines
without CPUfreq. Now display all progressbars with values, not only
the first. TODO: read throttling states for all CPUs/cores.
On machines without CPUfreq or throttling support changed text in
processor progressbars to only display the frequency and not also
percentages.
2006-02-27 Danny Kukawka <danny.kukawka@web.de>
tagged release v0.5.9 (rc3)
2006-02-27 Danny Kukawka <danny.kukawka@web.de>
* doc/fi/index.docbook: added updated Finish handbook version from
the SUSE/Novell translation team
* po/cs.po, po/fi.po: added updated and complete translated po files
from the SUSE/Novell translation team
2006-02-27 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.9 (rc3):
* ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
* NEWS: added release news
* src/*.cpp, src/*.h: updated release version strings
2006-02-27 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: Added battery support for APM.
NOTE: Currently HAL poll AC and battery every 2 sec. This produce
many events. This maybe result in more CPU usage and many rechecks
in KPowersave. --> fix HAL only to poll AC every 2 seconds and
battery maybe every 60 or 30 secs.
* src/tdepowersave.cpp: added APM case to updateTooltip():
if charging and APM: only display percentage because we currently
get no remaining time values from HAL
2006-02-27 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: changed default if machine doesn't
support throttling and cpufreq. In this case display only
CPU freq from /proc/cpuinfo
* src/pdaemon.cpp, src/pdaemon.h: Added check if throttling is not
supported by machine, changed returnvalue for this from void to
boolean. This should fix e.g. machines with APM
* src/tdepowersave_debug.h: fixed myDebug to make function usable
within on-line if-else commands
2006-02-23 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: fixed display battery state in the
misc group, now remove the line if no battery present.
TODO: fix powersave to not answer for powersave -s NORMAL if no
battery is present in the machine, better print unknown
2006-02-21 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: replaced "Stromstecker" with "Stromversorgung"
2006-02-21 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: fixed translation for "unplugged"
2006-02-21 Danny Kukawka <danny.kukawka@web.de>
* po/hu.po: added updated and complete translated po file from
the SUSE/Novell translation team
2006-02-21 Danny Kukawka <danny.kukawka@web.de>
tagged release v0.5.8 (rc2)
2006-02-20 Danny Kukawka <danny.kukawka@web.de>
* src/autosuspend.cpp: removed the path to pidof. On Fedora
Core 4 is no link from /sbin/pidof to /bin/pidof. Remove the
absolute path because pidof should be in the PATH of user env.
* ChangeLog.package, doc/doxy/changelog.dox, NEWS: updated for
this fix
* po/kpowersave.pot, po/*.po: fixed translation
2006-02-20 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.8 (rc2):
* ChangeLog.package, doc/doxy/changelog.dox: Updated changelogs
* NEWS: added releasenotes
* src/*.h, src/*.cpp: updated version strings
2006-02-20 Danny Kukawka <danny.kukawka@web.de>
* po/*.po: merged new string
2006-02-20 Danny Kukawka <danny.kukawka@web.de>
* po/kpowersave.pot: added string for charging battery
* src/detaileddialog.cpp: remove whitespaces in code doc
* src/tdepowersave.cpp: added extra string if machine is charging
2006-02-19 Danny Kukawka <danny.kukawka@web.de>
* po/*.po: updated/merged translation files
2006-02-19 Danny Kukawka <danny.kukawka@web.de>
* po/Makefile.am: added some help make commands for translations
* po/kpowersave.pot: updated
* src/configuredialog.cpp: removed outcommented tooltip string
2006-02-19 Danny Kukawka <danny.kukawka@web.de>
* po/kpowersave.pot: update pot file for the translation round
* src/detaileddialog.cpp: removed blank the string for AC state
because we get a translation round.
2006-02-19 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp, src/detaileddialog.h: replaced layout for
battery and processor bars with QGridLayout to be sure all widgets
have the same size. Replaced picture for total battery fuel state
with a string. Cleaned up the code.
* src/pics/cr22-action-summary.png: Removed no longer needed pic.
2006-02-19 Danny Kukawka <danny.kukawka@web.de>
* src/configuredialog.cpp: added icon to the 'Configure Notifications'
button
2006-02-18 Danny Kukawka <danny.kukawka@web.de>
Renamed the *.ui files to the same name syntax/style:
* src/Makefile.am: related fixed
* src/blacklist_edit.ui: renamed to blacklistedit_Dialog.ui
* src/blacklisteditdialog.cpp/h: related code changes
* src/kpowersave_configure.ui: renamed to configure_Dialog.ui
* src/configureDialog.cpp/h: renamed to configuredialog.cpp/h and
related code changes
* src/detailed_dialog.ui:renamed to detailed_Dialog.ui
* src/detaileddialog.cpp/h: related code changes
* src/info_dialog.ui: renamed to info_Dialog.ui
* src/infodialog.cpp/h: related code changes
* src/kpowersave.h: related code changes
2006-02-17 Danny Kukawka <danny.kukawka@web.de>
* src/configureDialog.cpp: fixed string
* src/eventsrc: Added new events and default settings. including the
german translation of the comments.
* src/tdepowersave.cppn src/kpowersave.h: Added new KNotify events for:
suspend (3), resume (3), scheme switched (5), lidclosed, lidopened.
Fixed code comments and cleanups.
* src/pdaemon.cpp, src/pdaemon.h: Added new Q_SIGNALS for: lidopened,
each resume type ( resumedFrom(QString) )
2006-02-17 Danny Kukawka <danny.kukawka@web.de>
Removed no longer needed parts (sound notify) from handbook.
Also removed 2 screenshots from the effected dirs.
TODO: need to make new screenshots and add missing pics.
* doc/cs/index.docbook:
* doc/en/index.docbook:
* doc/fi/index.docbook:
* doc/hu/index.docbook:
* doc/nb/index.docbook:
* doc/pt/index.docbook:
2006-02-17 Danny Kukawka <danny.kukawka@web.de>
* po/Makefile.am: added messages_merge and messages_stat
* po/*.po, po/kpowersave.pot: updated to current code. We need new
review for the translations. Cleaned up no longer needed strings
and useless default strings.
Fixed i18n strings:
* src/autosuspend.cpp:
* src/detaileddialog.cpp:
* src/tdepowersave.cpp:
* src/kpowersave_configure.ui:
2006-02-17 Danny Kukawka <danny.kukawka@web.de>
Added slightly adopted and extended patch from Michael Biebl
<biebl@teco.edu> to replace sound event settings with KNotify:
* src/Makefile.am: Added new eventsrc for KNotify to make
* src/configureDialog.cpp, src/configureDialog.h,
src/kpowersave_configure.ui: Removed sound settings from scheme
section and the general sound settings. Added a checkbox to disable
notifications per scheme in the scheme section->misc.
Changed: Added a new button to general settings to start the KNotify
config dialog also from the configure dialog, fixed ui files for KDE
user interface style guide, cleanups
* src/eventsrc: Added define and defaults for events.
Changed: Added events for different battery states and added german
translation for the comments. NOTE: need to be translated!
* src/tdepowersave.cpp, src/kpowersave.h: Added menu entry to start
the KNotify config dialog to configure the notifications. Changed
handling for events, removed not needed sound events and replaced
with KNotify events (AC adapter, Battery states, Autosuspend started)
Changed: Fixed messagetexts, fixed menu entry icon, KDE style guide
changes, i18n fixes, cleanups
* src/settings.cpp, src/settings.h: Removed no longer needed code
regarding to settings for sound events
2006-02-16 Danny Kukawka <danny.kukawka@web.de>
* src/Makefile.am: comment out rule for kpowersaveui.rc
* src/kpowersaveui.rc: removed not needed file from SVN tree
2006-02-16 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp, src/kpowersave.h: Added dcop function to
open configure dialog.
2006-02-16 Danny Kukawka <danny.kukawka@web.de>
* src/COPYING, src/NEWS: cleanup: removed doubled files which
are also available in topdir
2006-02-16 Danny Kukawka <danny.kukawka@web.de>
* Makefile.am: added new Makefile.am from KDevelop
* Makefile.am.in: removed/replaced with Makefile.am
2006-02-16 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: updated KDevelop project file, removed
svn as source verserion system because of crashes of KDevelop.
2006-02-14 Danny Kukawka <danny.kukawka@web.de>
* po/pa.po: fixed path to powersaved with patch from Michael Biebl
2006-02-13 Danny Kukawka <danny.kukawka@web.de>
Added slightly adopted patch from Daniel Gollub <dgollub@suse.de>
to display cpu bar if machine only support throttling:
* src/detaileddialog.cpp, src/detaileddialog.h: Added throttling
switch if machine not support cpufreq.
Changes: Removed usage of pdaemon pointer and replaced with pd.
Moved setTextEnabled() to constructor to reduce unneeded calls.
* src/pdaemon.cpp, src/pdaemon.h: Added new functions to read
throttling information and cpu freq from proc.
Changes: Closed filepointer in new functions and added check if
stream reaches the end of file. Added some checks and set default
value for cpu_throttling.
2006-02-13 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp, src/pdaemon.h: added new signal for throttling
events
2006-02-13 Danny Kukawka <danny.kukawka@web.de>
* po/bg.po, po/fr.po, po/pa.po: Fixed path to powersaved in
translation files (I hate this!)
2006-02-13 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.7 (rc1):
* ChangeLog.package, doc/doxy/changelog.dox: updated changelogs
* NEWS: added release news
* src/*.cpp src/*.h: updated version string
2006-02-13 Danny Kukawka <danny.kukawka@web.de>
* packaging/FC4.kpowersave.spec: updates spec files
* packaging/SUSE10.0.kpowersave.spec,
packaging/SUSE10.1.kpowersave.spec: added spec files for SUSE 10.0
and SUSE 10.1 build system
2006-02-13 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: Added brightness support and
battery state infos to detailed dialog
2006-02-13 Danny Kukawka <danny.kukawka@web.de>
* po/es.po, po/fr.po, po/it.po, po/ja.po, po/pt_BR.po
po/zh_CN.po po/zh_TW.po: added updated and remerged
translation files from the SUSE/Novell translation team
2006-02-13 Danny Kukawka <danny.kukawka@web.de>
Removed not translated Polish help/handbook from SVN:
* doc/pl/Makefile.am:
* doc/pl/index.docbook:
2006-02-13 Danny Kukawka <danny.kukawka@web.de>
Added new Finnish and Polish help/handbook from SUSE/Novell
translation team:
* doc/fi/Makefile.am, doc/fi/index.docbook:
* doc/pl/Makefile.am, doc/pl/index.docbook:
2006-02-13 Danny Kukawka <danny.kukawka@web.de>
* po/bg.po, po/fi.po, po/km.po (new): added updated and
remerged translation files from the SUSE/Novell translation team
2006-02-13 Danny Kukawka <danny.kukawka@web.de>
* po/pt.po: added updated and remerged translation files from
the SUSE/Novell translation team
2006-02-10 Danny Kukawka <danny.kukawka@web.de>
* po/hu.po, po/nl.po: added updated and remerged translation
files from the SUSE/Novell translation team
2006-02-08 Danny Kukawka <danny.kukawka@web.de>
* po/cs.po, po/nb.po: added updated and remerged translations
from the SUSE/Novell translation team
* po/zh_CN.po: merged strings from Dawei Pang with new
language file from SUSE/Novell translation team
2006-02-07 Danny Kukawka <danny.kukawka@web.de>
* po/pt.po: added updated language file from
Flávio Moringa <flavio.moringa@caixamagica.pt>
* src/*.desktop: updated pt comment from Flávio Moringa
* po/es.po, po/fr.po, po/it.po, po/ja.po, po/pt_BR.po,
po/zh_TW.po: added updated and remerged translation files
from the SUSE/Novell translation team
2006-02-07 Danny Kukawka <danny.kukawka@web.de>
Applyed patch from Michael Biebl <biebl@teco.edu>:
* configure.in.in: removed unneeded checks for pkgconfig this
should be done automatically m4-macros
* po/*.po, po/kpowersave.pot, src/tdepowersave.cpp: replaced
path to start powersave with /etc/init.d/powersaved
2006-02-07 Danny Kukawka <danny.kukawka@web.de>
* po/zh_CN.po: updated from Dawei Pang <pangdae@gmail.com>
2006-02-06 Danny Kukawka <danny.kukawka@web.de>
* src/kpowersave-autostart.desktop, src/kpowersave.desktop:
updated translations in file and remove wrong, old
translations
2006-02-06 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: fixed display CPU Freq Policy on
machines without cpufreq support. Should be carefull with
usage of enums and checks like 'enum<=0'.
2006-02-06 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.6:
* NEWS: added release news
2006-02-06 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.6:
* configure.in.in: removed not working header checks,
changed package version to SVN_TRUNK to replace with
mk_powersave_package
* ChangeLog.package, doc/doxy/changelog.dox:
update Changelog and NEWS
* src/main.cpp: changed package version to SVN_TRUNK to
replace with mk_powersave_package
* po/de.po: fixed strings
2006-02-06 Danny Kukawka <danny.kukawka@web.de>
Added patch from Daniel Gollub <dgollub@suse,de>:
* configure.in.in: added check for powerlib.h and dbus
header to configure and stop if missing
* src/Makefile.am: changed position and variable for
xgettext to enable make messages.
2006-02-06 Danny Kukawka <danny.kukawka@web.de>
* doc/pt/Makefile.am, doc/pt/index.docbook: added new
Portuguese handbook from SUSE/Novell translation team
* po/pt.po: added updated and remerged translation file
from the SUSE/Novell translation team
* po/zh_CN.po: added updated language file from
Dawei Pang <pangdae@gmail.com>
2006-02-06 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: fixed by Daniel Gollub catched
bug in detailed dialog which increase the nubmers of
function calls of setProcessor() with each new event from
powersave. Removed connect setProcessor to signal
generalDataChanged() from pdaemon.
2006-02-06 Danny Kukawka <danny.kukawka@web.de>
* po/nb.po: added updated and remerged translation file
from the SUSE/Novell translation team, fixed one string
2006-02-05 Danny Kukawka <danny.kukawka@web.de>
* doc/hu/index.docbook, doc/hu/*.png: removed and
changed some pics to reduce package size
* doc/nb/index.docbook, doc/nb/*.png: removed and
changed some pics to reduce package size
* po/*.po, po/kpowersave.pot: fixed pot files (removed
translated strings) and related fixes in the po files
2006-02-05 Danny Kukawka <danny.kukawka@web.de>
* doc/en/index.docbook: removed and replaced some
of the pics in the docu
* doc/en/en_configdialog_general_autosuspend.png,
doc/en/en_configdialog_schemes_dpms.png,
doc/en/en_configdialog_yast.png,
doc/en/en_configdialog_general_lock.png: removed
this pictures to reduce the size of the package
* doc/en/en_configdialog_schemes_screen.png,
doc/en/en_configdialog_schemes.png: changed this
pictures to reuse them in different places in the
handbook to reduce the size of the package
2006-02-05 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: added new summary battery
progress bar if there are more than one battery bays.
* src/pics/cr22-action-summary.png: new icon for
the detailed dialog
2006-02-05 Danny Kukawka <danny.kukawka@web.de>
* doc/cs/Makefile.am: added Makefile.am for cs help
* src/pdaemon.h: added header for Slackware 10.2 within
a ifdef, because this is not needed on other distros
2006-02-03 Danny Kukawka <danny.kukawka@web.de>
* src/autosuspend.cpp: changed /sbin/pidof to /bin/pidof
(thanks to Michael Biebl for the bug tracking). Emit
a errormessage if the call of pidof fails and added
debug informations to the class
* src/autosuspend.h: added new signal to forward
error messages to class kpowersave
* src/tdepowersave.cpp: Connect new autosuspend signal
to display the error msg.
2006-02-03 Danny Kukawka <danny.kukawka@web.de>
* po/pl.po: added new version from Dawid Wróbel
<cromo@klej.net>
2006-02-03 Danny Kukawka <danny.kukawka@web.de>
* doc/cs/index.docbook: fixed language mark to Czech
2006-02-03 Danny Kukawka <danny.kukawka@web.de>
* doc/cs/index.docbook: added Czech version of the
handbook (from SUSE/Novell translation team)
2006-02-03 Danny Kukawka <danny.kukawka@web.de>
* po/bg.po: added updated and remerged translation file
from the SUSE/Novell translation team, removed some
fuzzy marks
2006-02-02 Danny Kukawka <danny.kukawka@web.de>
* po/fi.po: added updated and remerged translation file
from the SUSE/Novell translation team
2006-02-02 Danny Kukawka <danny.kukawka@web.de>
* po/pl.po: added slightly fixed new polish language file
from Dawid Wróbel <cromo@klej.net>
2006-02-01 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp, src/pdaemon.cpp, src/pdaemon.h:
removed enum BAT_CHARG and replaced with define from
libpower
2006-02-01 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: fixed problem with display current
CPU freq if the machine doesn't support CPU Freq Policy
2006-01-30 Danny <danny.kukawka@web.de>
* po/nl.po: updated nl language file
2006-01-30 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: disable battery progress bar
if the batterybay is empty (bettery is not present) and
reset to enabled if battery is added
2006-01-30 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.5:
* ChangeLog.package, NEWS, doc/doxy/changelog.dox: Updated
Changelogs and NEWS for the release
* configure.in.in, src/*.cpp, src/*.h: updated version
strings in the source
2006-01-30 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: fixed/formated string
* src/configureDialog.cpp: changed translation string
* src/kpowersave_configure.ui: moved 'Edit Blacklist ...'
button for schemes to avoid resize dialog while switch
pages.
2006-01-30 Danny Kukawka <danny.kukawka@web.de>
* src/detailed_dialog.ui: reworked detailed dialog after
discussion and welcome criticism from Timo Hönig based on a
mocup from Timo. Thanks!
* src/detaileddialog.cpp, src/detaileddialog.h: added patch
from Daniel Gollub <dgollub@suse.de> to fix problems if a
CPU is set offline.
Added changes related to the new designed dialog. Added
icons to show the current battery state as in the applet
and added icon for the current scheme. Fixed some strings
from the patch above to get translation in this translation
round (need to fix them for the next round)
* src/tdepowersave.cpp, src/kpowersave.h: Added new pixmap
with the current applet icon and give a reference to the
detailed dialog to have there a actuall icon.
* src/pdaemon.cpp, src/pdaemon.h: added patch from Daniel
Gollub <dgollub@suse.de> to fix problems with offline
CPUs on multiprocessor machines.
* src/pics/cr22-action-processor.png: added new icon for
the processor group in detailed dialog
* src/pics/README: cleaned up and added comment about the
new icon (came from kids-icon-package).
2006-01-27 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: use now invokeBrowser() for
open bugreport website and cleaned up includes.
2006-01-27 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: removed translator string --> if not
translated the page about translator is not shown in
the 'About KPowersave' dialog.
* po/kpowersave.pot: removed translator string
2006-01-27 Danny Kukawka <danny.kukawka@web.de>
* src/pics/cr16-action-scheme_advanced_powersave.png,
src/pics/cr22-action-scheme_advanced_powersave.png:
Added icons for the new 'Advanced Powersave' scheme
* src/configureDialog.cpp, src/tdepowersave.cpp: integrated
the new icon.
* src/pics/cr32-action-laptoppower.png: removed old, not
needed really ugly icon
2006-01-27 Danny Kukawka <danny.kukawka@web.de>
* src/detailed_dialog.ui: changed default size to 400x120
* src/detaileddialog.cpp: changed handling if remaining
minutes return -1 (set only percentage)
2006-01-27 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: fixed problem with update
battery progress bar if battery is removed from slot.
Changed interval for check processor from 500 to 333 ms
to use the same default value as powersave.
2006-01-27 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp, src/detaileddialog.h:
connect to new signal from pdaemon batteryInfoEvent() and
refresh battery infos. Added refresh processor info every
500 ms, cleanded up included headers.
* src/pdaemon.cpp, src/pdaemon.h: Added new signal
batteryInfoEvent() to refresh detailed dialog and prevent
oversee remove battery.
2006-01-26 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: added translator
* po/kpowersave.pot: added translator strings
* src/main.cpp: Added new strings for translator name and
email adress. This should prevent display KDE defaults.
2006-01-26 Danny Kukawka <danny.kukawka@web.de>
* po/*.po: merged po files with updated pot file
2006-01-26 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: Fixed string
* po/kpowersave.pot: fixed 'Dimm' with 'Dim'
* src/tdepowersave.cpp: fixed 'Dimm' with 'Dim'
2006-01-26 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: Added new strings and translated them.
* po/kpowersave.pot: added new strings from I18N_NOOP and
from the help menu
* src/Makefile.am: Added new tag I18N_NOOP to make messages
2006-01-26 Danny Kukawka <danny.kukawka@web.de>
* NEWS: fixed version string
* src/configureDialog.cpp: fixed spell from 'dimm' to 'dim'
* po/*.po, po/kpowersave.pot: fixed spell from 'dimm' to 'dim'
* po/de.po: updated and translated german language file
2006-01-25 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp, src/kpowersave.h: Added new help menu
to the applet. This menu provide: open KPowersave handbook,
show About dialog (About, Authors, Thanks To, Licence
Agreement) and a 'Report a bug' entry which open a browser
window and open sf.net bug section.
* src/main.cpp: reformated the code and added new infos
for the About dialog.
2006-01-24 Danny Kukawka <danny.kukawka@web.de>
* po/kpowersave.pot: removed double definitions
* po/*.po: merged with new pot file
2006-01-24 Danny Kukawka <danny.kukawka@web.de>
* po/kpowersave.pot: updated to current source
2006-01-24 Danny Kukawka <danny.kukawka@web.de>
Added dummy strings for the next translation round:
* src/configureDialog.cpp: for dimm brightness on inactivity
and runtime powermanagement
* src/detaileddialog.cpp: for additional information
* src/tdepowersave.cpp: for runtime powermanagement and
dimm brightness
2006-01-24 Danny Kukawka <danny.kukawka@web.de>
* packaging/FC4.kpowersave.spec: Added new dir for build files
and the current spec for Fedora Core 4
2006-01-23 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.4:
* ChangeLog.package, doc/doxy/changelog.dox, NEWS: updated
Changelogs and news
* doc/doxy/enhance.dox, doc/doxy/implemented.dox: updated
current status of feature implemenation/process
* src/detaileddialog.cpp/h: update copyright header
* src/*.cpp, src/*.h: updated version string to 0.5.4
2006-01-23 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/powersave_msgs.dox: updated processor related events
in the code dokumentation
* src/detaileddialog.cpp: added additional check for current
cpu frequency to get current data
* src/pdaemon.cpp: added new processor related events (.busy and
.idle) and changed sysfs path for max. cpu freqency to prevent
problems with machines as e.g. DELL D600
2006-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/detailed_dialog.ui: added new QLabel to display the
information values with right aligned text and bold. Added
new line to separate for better view.
* src/detaileddialog.cpp, src/detaileddialog.h: added current
scheme, current cpufreq policy and if powersave daemon is running
to the dialog.
2006-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/detailed_dialog.ui: fixed ui-file with fixuifiles
* src/detaileddialog.cpp: Changed CHARG_STATE_CHARG_DISCHARG case
and display only the current percentage. Added i18n() for some
strings, set caption correct for dialog.
2006-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/detaileddialog.cpp: added code comments, (re)moved some
variables.
* src/detaileddialog.h: added code comments, added copyright
header. changed SLOTs, pdaemon pointer and QValueLists from
public to private.
2006-01-23 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp, src/kpowersave.h: Added code comments,
fixed code format.
2006-01-23 Danny Kukawka <danny.kukawka@web.de>
Added slightly adopted patch from Daniel Gollub <dgollub@suse.de>
for a new dialog with information about current battery, cpu and
AC states. This dialog is currently connected to left mouse button
on the applet icon.
* src/Makefile.am: added new files to make
* src/detailed_dialog.ui, src/detaileddialog.cpp,
src/detaileddialog.h: new file for the dialog
* src/tdepowersave.cpp, src/kpowersave.h: added new functions to
prevent open the detailed dialog twice. Added dialog to left
mouse button and comment out cpuspeed from the tooltip (TODO:
search for a good solution to readd this info).
* src/pdaemon.cpp, src/pdaemon.h: Added new functions to read
current and maximum speed of all CPUs in the system. Changed
variables for CPUSpeed to QValueList.
2006-01-17 Danny <danny.kukawka@web.de>
* ChangeLog.package, NEWS, doc/doxy/changelog.dox: updated
* src/config/kpowersaverc_default: added default settings for
'Advanced Powersave' scheme
* src/tdepowersave.cpp: changed 'Aggressive' to 'Advanced' Powersave
scheme as in actual powersaved defined.
2006-01-17 Danny Kukawka <danny.kukawka@web.de>
* ChangeLog.package, doc/doxy/changelog.dox: updated Changelogs
* doc/doxy/process.dox: updated process (capability brightness)
* NEWS: updated release notes
* src/dbusPowersave.cpp: added patch from Holger Macht
<hmacht@suse.de> to add capability brightness for connect to powersave
to tell daemon to stop set brightness
2006-01-17 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.3:
* ChangeLog.package, doc/doxy/changelog.dox: update changelogs
* doc/doxy/process.dox: update current state of brightness feature
* other src/*: updated version strings
* src/tdepowersave.cpp: Added warning dialog if 'Aggressive Powersave'
scheme is selected.
* NEWS: added releaseinfo and changes
2006-01-17 Danny Kukawka <danny.kukawka@web.de>
* src/config/kpowersaverc_default: added new default keys
for brightness settings
* src/configureDialog.cpp, src/configureDialog.h: implemented
set/read brithness related settings for chemes
* src/tdepowersave.cpp, src/kpowersave.h: implemented set
brightness if scheme switched and brightness is supported by machine
* src/kpowersave_configure.ui: Added new page in scheme settings to
set and test scheme specific brightness settings.
* src/settings.cpp, src/settings.h: added brigthness settings
2006-01-16 Danny Kukawka <danny.kukawka@web.de>
* src/screen.cpp: added gcc patch from Daniel Gollub <dgollub@suse.de>
2006-01-15 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/enhance.dox, doc/doxy/implemented.dox,
doc/doxy/process.dox: updated enhancements and current process
* src/infodialog.h: fixed doxygen problem
2006-01-14 Danny Kukawka <danny.kukawka@web.de>
* src/configureDialog.cpp, src/configureDialog.h, src/tdepowersave.cpp:
Added pointer to pDaemon object from class kpowersave to be able
to read and set Brightness related values via dbus.
* src/pdaemon.cpp, src/pdaemon.h: Added new functions: getBrightness(),
getMaxBrightnessLevels() and setBrightness() to control brightness
settings of the display.
2006-01-13 Danny Kukawka <danny.kukawka@web.de>
* po/nl.po: forgot to merge with current pot file
2006-01-13 Danny Kukawka <danny.kukawka@web.de>
* po/nl.po: updated translation file
2006-01-11 Danny Kukawka <danny.kukawka@web.de>
* src/configureDialog.cpp, src/configureDialog.h: replaced
QString::null with QString() (prepare for QT4)
2006-01-10 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.2:
* ChangeLog.package, doc/doxy/changelog.dox: updated to current
release changelog
2006-01-10 Danny Kukawka <danny.kukawka@web.de>
* src/infodialog.cpp, src/infodialog.h: added new bool and related
get function to prevent popup dialog if disabled
* src/tdepowersave.cpp: depending changes: added check if dialog
disabled by user.
2006-01-10 Danny Kukawka <danny.kukawka@web.de>
* src/info_dialog.ui: grouped widgets to resize the dialog
2006-01-10 Danny Kukawka <danny.kukawka@web.de>
Prepared new release 0.5.2:
* doc/doxy/fixed_bugs.dox: updated fixed bugs
* configure.in.in, src/autosuspend.cpp, src/autosuspend.h,
src/blacklisteditdialog.cpp, src/blacklisteditdialog.h,
src/configureDialog.cpp, src/configureDialog.h,
src/dbusPowersave.cpp, src/dbusPowersave.h, src/infodialog.cpp,
src/infodialog.h, src/kpowersave.h, src/main.cpp, src/pdaemon.h,
src/schemes.h, src/screen.cpp, src/screen.h, src/settings.cpp,
src/settings.h, src/suspenddialog.cpp, src/suspenddialog.hi:
updated version string to current release version
* NEWS: added releaseinfo and changes
2006-01-10 Danny Kukawka <danny.kukawka@web.de>
* po/*.po, po/kpowersave.pot: removed path from 'powersave is not
running' error message and fixed some wrong translations (powersavedd).
2006-01-10 Danny Kukawka <danny.kukawka@web.de>
* src/Makefile.am: added new files for make
* src/info_dialog.ui, src/infodialog.cpp, src/infodialog.h:
Added new class for a non-blocking dialog with only one button and
a optional "Don't display again." checkbox
* src/tdepowersave.cpp, src/kpowersave.h: Added new function to display
the 'powersave is not running' error message. Removed path from
errormessage.
Added some comment to signal connects and grouped them.
* src/pdaemon.cppi, src/pdaemon.h: added new signal to display the
'powersave is not running' dialog.
2005-12-22 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp, src/kpowersave.h: Added new function to diplay
the HAL warning passive popup and delay the message 15 sec to
prevent message on HAL or powersave restart. Changed handling of
display the errormessage.
* src/pdaemon.cpp: Fixed some problems with HAL_ERROR handling. Fixed
problem with set update_info_ac_changed _before_ emit related Q_SIGNALS.
2005-12-21 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp: cleaned up and make code shorter
2005-12-21 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp: removed no longer needed dbus_message_unref().
2005-12-21 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp: implemented new function fot errorhandling.
Added errorhandling to readDaemonData() and replaced code in
checkBatteryProcInfo with call new errorhandling function.
* src/pdaemon.h: added seperate private function to handle errors
from getBatteriesInfo().
2005-12-21 Holger Macht <hmacht@suse.de>
* src/pdaemon.cpp: fixed from powersave removed DBUS methodes for
battery infos.
2005-12-21 Danny Kukawka <danny.kukawka@web.de>
* src/tdepowersave.cpp: fixed icon handling on (HAL) error. If there
is no information about battery and AC state we 'disable' the icon
(not the icon menu)
2005-12-19 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp, src/pdaemon.h: added check for new errorcode
from powerlib if connection to HAL fails (HAL_ERROR). Added new
battery state to check this in class kpowersave (BAT_HAL_ERROR).
Removed todo-lines.
* src/tdepowersave.cpp, src/kpowersave.h: Added better errorhandling
if the connection to HAL fails if powersave is not running. Fixed
in this case the tooltip and added a KPassivePopup to inform the
user about this error.
Changed pixmap size for the applet icon to 22 instead of 20.
2005-12-19 Danny Kukawka <danny.kukawka@web.de>
* Makefile.am.in: removed install rule for default configfile
* src/Makefile.am: added fixed rule for defaulte configfile
to this Makefile
2005-12-13 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: updated to use svn instead of cvs
* src/pdaemon.cpp: removed unused/ifdef'd code
2005-12-12 Holger Macht <hmacht@suse.de>
* src/pdaemon.cpp: adjust to new powerlib
2005-12-10 Danny Kukawka <danny.kukawka@web.de>
* .cvsignore, doc/.cvsignore, doc/en/.cvsignore,
doc/hu/.cvsignore, doc/nb/.cvsignore, po/.cvsignore,
src/.cvsignore, src/pics/.cvsignore: removed no CVS related
files from the SVN repository.
* src/tdepowersave.cpp: corrected check AC status by check for
correct enum AC_ONLINE.
* src/pdaemon.cpp: Added correct defines/enums for the AC status.
Also added part for better errorhandling if powersaved and HAL are
not running --> TODO.
Added activation of system timer in non daemon mode. This should
prevent problems if powersaved stopped and restarted more than
one time.
2005-12-07 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp: fixed set applet icon for AC status if no
powersave daemon is running, emit now needed Q_SIGNALS. Also
fixed signal for AC sound.
2005-12-03 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: fixed typo
2005-12-02 Danny Kukawka <danny.kukawka@web.de>
* Makefile.am.in: fixed build path with patch from
Michael Biebl <biebl@teco.edu>
2005-12-02 Danny Kukawka <danny.kukawka@web.de>
* src/Makefile.am: added PACKAGE_KDE_SOUND_DIR to get path
to the KDE sound dir (usual: $prefix/share/sounds)
* src/configureDialog.cpp, src/configureDialog.h: Added check
for KDE sound dir. If exist, use to fill the file dialog for
the sound files. If not exist, use the home dir of the user.
If the user select a file via the dialog, we set the dir for
the next file dialog to this path. If the current filepath
in the editbox not exist we use KDE sound dir/user home.
2005-12-02 Danny Kukawka <danny.kukawka@web.de>
* doc/nb/nb_*.png: replaced english dummy screenshots with
norsk version.
2005-11-30 Danny Kukawka <danny.kukawka@web.de>
* doc/hu/hu_*.png: replaced english dummy screenshots with
hungarian version.
2005-11-15 Danny Kukawka <danny.kukawka@web.de>
* doc/hu/.cvsignore: added .cvsignore
2005-11-15 Danny Kukawka <danny.kukawka@web.de>
* doc/hu/index.docbook, doc/nb/index.docbook: fixed language
settings to have correct named and localized files. All
should now work.
2005-11-15 Danny Kukawka <danny.kukawka@web.de>
* doc/nb/index.docbook: replaced XML character entities with
UTF-8 characters. Thanks Karl Eichwalder <ke@suse.de> for the
help to fix the file.
2005-11-15 Danny Kukawka <danny.kukawka@web.de>
* doc/nb/index.docbook: reformated and replaced wrong file
content. Note: this file is maybe any longer broken.
2005-11-15 Danny Kukawka <danny.kukawka@web.de>
* src/screen.h: removed not needed include of qvector.h.
2005-11-14 Danny Kukawka <danny.kukawka@web.de>
* doc/hu/*: added Hungarian version of the online help.
NOTE: screenshots are currently only dummy files from the
english version. Need to update them later.
2005-11-07 Danny Kukawka <danny.kukawka@web.de>
* doc/doxy/enhance.dox: added new enhancement to discuss
2005-11-07 Danny Kukawka <danny.kukawka@web.de>
* INSTALL: updated to current KDE file
* configure.in.in: readded file to solve problems with KDE
autotools/update_admin. --> undo last changes. Also changed the
logic between check distro and check configure option to be
sure that configure otions overwrite automatically detection.
Added some messages displayed while run configure.
* doc/Makefile.am: updated to KDE package style.
2005-11-07 Danny Kukawka <danny.kukawka@web.de>
* configure.in.in: replaced with configure.in to get summary
on the right place while execute ./configure
* configure.in: added summary at the end of oputput from
configure
2005-11-01 Danny Kukawka <danny.kukawka@web.de>
* src/pdaemon.cpp: Removed errormessage from constructor of
pdaemon if connect to powersave failed. Increased timeout for
recheck to 10 seconds to prevent races from parallel booting
and autologin to KDE.
2005-10-19 Danny Kukawka <danny.kukawka@web.de>
* doc/nb/*: initial import of Norsk help file
2005-10-12 Danny Kukawka <danny.kukawka@web.de>
* doc/en/index.docbook: added updated help file (updated from
<ke@suse.de>: removed DOS line endings)
2005-10-12 Danny Kukawka <danny.kukawka@web.de>
* po/bg.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po,
po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po,
po/kpowersave.pot, po/nb.po, po/nl.po, po/pa.po, po/pl.po,
po/pt.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sl_SI.po,
po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po:
merged changes related to last patches (from Stephan Binner)
to translation files and updated german po file.
* src/blacklisteditdialog.cpp: Changed the caption of the
groupbox if the dialog is for a scheme specific blacklist to
"'Scheme: ' + schemename".
* src/configureDialog.cpp, src/kpowersave_configure.ui: changed
some strings related to the last fixes for KDE user interface
style guide
2005-10-12 Danny Kukawka <danny.kukawka@web.de>
Patch from Stephan Binner <stbinner@suse.de>:
* src/configureDialog.cpp:
- fix to respect KDE user interface style guide
- changed Yes/No buttons to "Import"/"Do Not Import"
* src/tdepowersave.cpp, src/kpowersave_configure.ui,
src/suspenddialog.cpp:
- fixes to respect KDE user interface style guide
- replaced usage of SmallIcon with SmallIconSet
* src/kpowersave.desktop: Added GenericName and fixed
Comment entry
2005-10-12 Danny Kukawka <danny.kukawka@web.de>
* src/blacklist_edit.ui, src/kpowersave_configure.ui,
src/suspend_Dialog.ui: fixes from fixuifiles script and
fix for 'OK' string in the ui-files. (Patch from Stefan
Binner <stbinner@suse.de> )
2005-10-12 Danny Kukawka <danny.kukawka@web.de>
* src/AUTHORS, src/ChangeLog, src/INSTALL, src/README:
removed duplicated files from src dir, same files could
be found in the base dir
2005-10-12 Danny Kukawka <danny.kukawka@web.de>
* po/fi.po: added Finnish translation from Ilkka Pirskanen
<ilkka.pirskanen@kolumbus.fi>
2005-10-10 Danny Kukawka <danny.kukawka@web.de>
* kpowersave.tdevelop: changed version string
* src/tdepowersave.cpp, src/kpowersave.h:
- removed variables with icon names which used one time only
and replaced directly where needed with name of the icons
to reduce global variables
- fixed typo in code documentation and removed some
whitespaces/empty lines
2005-09-27 Danny Kukawka <danny.kukawka@web.de>
* po/de.po: fixed typo, see bugreport:
http://bugs.kde.org/show_bug.cgi?id=112882
2005-09-20 Danny Kukawka <danny.kukawka@web.de>
* po/ru.po: updated file from Anton Farygin <rider@altlinux.ru>
2005-09-19 Danny Kukawka <danny.kukawka@web.de>
* ChangeLog.package: moved Changelog of the package to new
file. This file now contains the CVS changelog
* README: Updated compile instruction for non-SUSE
distributions. Now the package contains a admin dir.
*******************************************************************
* NOTE: This Changelog contains starting from version 0.5.0 the *
* CVS Changelog. The package changelog could be found in *
* Changelog.package *
*******************************************************************
|