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
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
|
Thu Aug 08 09:36:11 2002 George Lebl <jirka@5z.com>
* Release 2.4.0.7
Thu Aug 08 09:33:50 2002 George Lebl <jirka@5z.com>
* config/gettextfoo.h, config/XKeepsCrashing: Fix the message bits.
Wed Aug 07 21:01:41 2002 George Lebl <jirka@5z.com>
* daemon/gdm.h, config/gdm.conf.in, gui/gdmlogin.c: Add a new key
RunBackgroundProgramAlways. It is now normally false, and if
it is false, background program is run ONLY if the BackgroundType
is set to 0 (None), setting it to true will revert to previous
behaviour. This is to work around the crackladden xsri hack that
redhat does and still have nice gui way to config backgrounds.
Wed Aug 07 20:23:28 2002 George Lebl <jirka@5z.com>
* gui/greeter/themes/circles/circles.xml.in,
gui/greeter/themes/happygnome/happygnome.xml.in:
Use _Language instead of Option for the language_button
Wed Aug 07 20:20:17 2002 George Lebl <jirka@5z.com>
* gui/greeter/*.c: include file fixups
* gui/greeter/greeter_events.[ch], gui/greeter/greeter.[ch],
gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_item.c:
Add an incredible hack for doing mnemonics on the graphical
greeter with offscreen buttons and such stuff.
* gui/greeter/greeter_system.c: fix window close should do cancel
not ok.
* gui/gdmlogin.c, gui/greeter/greeter_item_pam.c: ignore also
left_tab (shift+tab), and the KP versions of up/down/tab,
so that we don't lose focus
* gui/greeter/themes/circles/circles.xml.in,
gui/greeter/themes/happygnome/happygnome.xml.in: use the
mnemonic versions of the button labels so that we get some
keynav.
* gui/greeter/greeter_parser.c: when we can't get any translations,
try our own gettext database to find the text.
Wed Aug 07 18:38:11 2002 George Lebl <jirka@5z.com>
* config/gdm.conf.in, daemon/gdm.h: some fixups to the default
values, chooser should no longer get arguments,
s/gdmconfig/gdmsetup/
* daemon/gdm.h, daemon/slave.c: run the failsafe xterm thing on the
lower right hand corner as that's much nicer.
2002-08-07 Havoc Pennington <hp@redhat.com>
* config/XKeepsCrashing (XCONFIGURATOR): add redhat-config-xfree86
to list of config tools to look for
Wed Aug 07 16:23:13 2002 George Lebl <jirka@5z.com>
* Release 2.4.0.6
Wed Aug 07 16:19:13 2002 George Lebl <jirka@5z.com>
* gui/greeter/greeter_pam_item.c: ignore up/down/tab just like
in the standard greeter
Wed Aug 07 15:50:24 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.c: fix crasher bug on closing of the window (redhat
bug 70861) and related bugs. This also fixes making changes
persistent even if the window was closed very quickly after the
changes were made (within the change timeout)
Wed Aug 07 14:10:57 2002 George Lebl <jirka@5z.com>
* config/Makefile.am: overwrite gnomerc and create .orig as with the
other scripts
* daemon/slave.c: don't set GDM_LANG unless the user actually
selected something. This should make things nicer on system
langauge sensing things.
* config/Gnome.in, config/Xsession.in: normalize langauge stuff in
case the user selected a language. whack LC_ALL, LANGUAGE and
LINGUAS if they differ from GDM_LANG if this was set (if not
using 'System default' language setting). Should fix #89970
Wed Aug 07 12:01:06 2002 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.c: add a SOFT_RESTART_SERVERS
fifo command to force a restart of X servers that no one is logged
in on right away, unlike the DIRTY_SERVERS which just marks servers
as dirty and to be restarted
Wed Aug 07 11:22:16 2002 George Lebl <jirka@5z.com>
* daemon/gdm.h, daemon/gdm.c, daemon/slave.c: Add a DIRTY_SERVERS
command and related slave notification to have the slave remanage
instead of regenerating the X server. This is good for upgrading
X configuration and all that. This can be done by a simple:
(echo;echo DIRTY_SERVERS) > /var/gdm/.gdmfifo
This is a possible soultion for issues as described in redhat
bug 70072
* daemon/verify-(pam|crypt|shadow).c, gui/gdmlogin.c,
gui/greeter/greeter_item_pam.c: Clear the initial notice
from the daemon rather then on the greeter with the ugly
first_return hack. Should fix redhat bug 70991
* daemon/server.c, gui/gdmXnestchooser.c: redo the font path stuff.
Now we just get the current font path from the parent and pass -fp
argument to Xnest with that path. This should work more generally
and besides the last night fix was not 100% correct anyway. Also
make this work for gdmXnestchooser.
Wed Aug 07 01:23:55 2002 George Lebl <jirka@5z.com>
* daemon/server.c: when starting up a server as a different uid, add
the font paths that the gnome-settings-daemon sets for that user.
This fixes #89308.
Tue Aug 06 13:35:15 2002 George Lebl <jirka@5z.com>
* configure.in: prepare for 2.4.0.6
* gui/gdmlanguages.[ch], gui/gdmlogin.c,
gui/greeter/greeter_action_language.c: fix some RTL issues with
the language list
* gui/greeter/greeter.c: read and honour the gtkrc setting, fixes
#90003
* gui/Makefile.am: make the gdmXnest link relative and not absolute
Mon Aug 05 11:17:20 2002 George Lebl <jirka@5z.com>
* daemon/slave.c: don't use stdout/stdin for communication with the
greeter. This is first a cleanup and second it may just actually
fix the freebsd issue. I know I've been promising that in every
release, but without a freebsd box I can't actually test this :)
Mon Aug 05 10:12:57 2002 George Lebl <jirka@5z.com>
* config/Gnome.in, config/Xsession.in: whack xdm resource reading,
that's only for xdm, doh! Hmm ... where did I copy this from?
Tue Jul 30 16:58:50 2002 George Lebl <jirka@5z.com>
* Release 2.4.0.5
Tue Jul 30 16:56:51 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.c: fix setting the welcome string properly
* gui/gdmlogin.c: fix resizing of window. Resize when the content
doesn't fit. Update logo and background on the fly, this reduces
the wierdness when trying to change this stuff from the setup
proggie and the wm keeps disappearing since we're restarting the
greeter. Need to solve the restart thing nicer. Also when
we can't load the background image, set the color at least.
Tue Jul 30 14:36:28 2002 George Lebl <jirka@5z.com>
* gui/gdmlanguages.c: added a few more untranslated strings
Tue Jul 30 14:13:53 2002 George Lebl <jirka@5z.com>
* gui/gdmlanguages.c: add a failsafe en_US language in case there is
no en_* language in the locale alias file. This replaces adding
failsafe 'C' locale, fixes #89452
Tue Jul 30 13:25:42 2002 George Lebl <jirka@5z.com>
* daemon/slave.c, gui/gdmlogin.c, gui/gdmphotosetup.c,
gui/greeter/greeter_session.c: s/.gnome/.gnome2/, Applied patch
from #89454. But still also read .gnome/photo if we can't find
.gnome2/photo
Tue Jul 30 12:00:28 2002 George Lebl <jirka@5z.com>
* daemon/gdm.c: fix the linux-only proccess detection thing to work
on non-linux systems correctly (logic was reversed). Properly cast
when printing to the pid file (being anal). Close the pid file
before failing. Don't print out the SYSLOG 'handling message'
debug thing as it just clutters debug info.
Mon Jul 29 17:45:59 2002 George Lebl <jirka@5z.com>
* daemon/gdm.[ch]: use the ve_signal routines, remove gdm_signal
routines
* gui/gdmlogin.c, gui/greeter/greeter.c,
gui/greeter/greeter_item_clock.[ch]: use the ve_signal routines
for the HUP signal to avoid possible crashes/races/hangs if the
signal handler comes in a bad time. Also don't reset the graphical
on every damn change, just the ones we care about, and update clock
on the fly instead of restarting.
* gui/gdmchooser.c: make glade_helper not use the gnome_program
thingie, since we never init it here.
* gui/Makefile.am, gui/gdmlogin.c, gui/gdmchooser.c,
gui/gdmflexiserver.c, gui/gdmXnestchooser.c, gui/gdmcomm.c
gui/greeter/Makefile.am, gui/greeter/greeter.c,
gui/greeter/greeter_item_pam.c, gui/greeter/greeter_item_clock.c,
gui/greeter/greeter_item_capslock.c, gui/greeter/greeter_item.c,
gui/greeter/greeter_canvas_item.c:
Compile without deprecated stuff. fix minor bugs found during
the process. Also compile everything with warnings and fix those.
* gui/gdmlogin.c, gui/gdmcomm.c, gui/gdmsetup.c,
gui/greeter/greeter.c: Use the new ve-config routines rather then
gnome_config. Fixed config bugs found in the process. This
also makes gdmsetup not delete comments and empty lines from the
config which makes debugging and hand editting SO MUCH SIMPLER!
* gui/gdmsetup.c: recheck for gdm running before every update
* gui/gdmlogin.c, gui/greeter/greeter.c: remove the g_io_channel_init
call which was reseting the whole setup. So our channels were
still buffered and encoded, which manifested itself when the
read calls were replaced the read_chars. This could actually solve
the FreeBSD issues too.
2002-07-27 Yanko Kaneti <yaneti@declera.com>
* gui/gdmlanguages.c: Added the untranslated Bulgarian string.
Wed Jul 24 12:53:40 2002 George Lebl <jirka@5z.com>
* Release 2.4.0.4
2002-07-24 jacob berkman <jacob@ximian.com>
* config/gnomerc.in: make this valid shell
Tue Jul 23 15:15:16 2002 George Lebl <jirka@5z.com>
* daemon/slave.c: change dir to /root or / when starting the
setup proggie. Also set the busy cursor in the main process
rather then risk weird things happening from two processes
trying to do it at the same time.
* gui/gdmsetup.c: support .bz2 archives for theme installing
Tue Jul 23 12:20:26 2002 George Lebl <jirka@5z.com>
* Release 2.4.0.3
Tue Jul 23 11:20:56 2002 George Lebl <jirka@5z.com>
* config/gnomerc.in, config/Makefile.am, config/Xsesssion.in,
config/Gnome.in: prefer the gnome-session in PATH, fix some
startup stuff add gnome-volume-control init to gnomerc,
whack the redhat specific setup, and copy parts of the redhat's
Xsession file to our own and if switchdesk is installed make
Xsession the default, so now all the good stuff happens on
redhat even if you leave the default session. And this Xsession
file should work on other systems just as well.
* config/gdm.conf.in, config/PreSession, daemon/gdm.h: My gf doesn't
like those ugly green backgrounds so change the color to what
ximian uses as I kind of like that, (and did I mention that
this way it's not green?). Also set the background in PreSession
so that you get it for all sessions as default.
* daemon/gdm.c: fix error handling of bad reboot/suspend/halt,
add chdir ("/") from the hpux ximain patches, in the signal_notify
add a main loop wakeup function which may fix some issues possibly
the freebsd issues and should make this work on hpux just like the
complicated and mostly weird ximian patch.
Tue Jul 23 07:47:11 2002 George Lebl <jirka@5z.com>
* config/Gnome.in, config/Xsession: read the xdm Xresources file as
well since that's where it is in rh nowdays as it seems.
Mon Jul 22 16:45:43 2002 George Lebl <jirka@5z.com>
* daemon/slave.c: add a hack to fix #64662. When
the shell is something that we don't really know (we know
a few shells) just start the session with bash or sh (whichever
we find).
* daemon/slave.c, daemon/server.c, daemon/gdm.[ch],
config/PreSession, config/PostSession: Write out an fake Xservers
file each time before the PreSession script so that we may use the
sessreg command nicely. Also look for sessreg in the path and
a few extra dirs. And use the utmp file as well.
* config/Default: setup the system Xmodmap here, copied from kdm
a bit. This should fix #86098, at least it does for me.
* config/PreSession, daemon/slave.c: Run the PreSession script from
the session pid and in the PreSession script exec sessreg. This
fixes the utmp bugs as sessreg will now register the correct pid
in utmp. Also move the .xsession-errors before the PreSession
script and let through the stdout/stderr descriptors so that
we can get errors such as sessreg failing. Also don't error out
when PreSession fails if this is a failsafe session.
* daemon/slave.c: the pid of the session is not cleared until the
session is over. It's not a race as I previously thought and in
fact it could leave processes behind maybe.
* daemon/errorgui.c: make the errors display wider, recenter the
window and do a bit of cleanup
2002-07-22 jacob berkman <jacob@ximian.com>
* gui/Makefile.am (install-data-local): make the link to /foo not
$DESTDIR/foo
Sun Jul 21 13:04:08 2002 George Lebl <jirka@5z.com>
* gui/Makefile.am: add -f to the LN_S line
Sun Jul 21 12:57:57 2002 George Lebl <jirka@5z.com>
* daemon/xdmcp.c, daemon/server.c, daemon/auth.c, daemon/misc.c,
gui/gdmXnestchooser.c, gui/gdmchooser.c, gui/gdmlogin.c,
gui/greeter/greeter_item.c: note that gethostname doesn't
neccessairly nul terminate string
* gui/Makefile.am, gui/gdmXnestchooser.c: fix background xnest mode,
add plain X nest mode by just running gdmXnest. Use gtk dialogs
instead of gnomes. Setup a cookie in plain x nest mode.
* daemon/slave.c, daemon/server.c, daemon/display.c, gui/gdmlogin.c:
use the waitpid version from ve that doesn't break on signals
this could fix some possible session being killed bugs
unintentionally
Sat Jul 20 10:19:25 2002 George Lebl <jirka@5z.com>
* daemon/slave.c, gui/gdmsetup.c: setup busy cursor when starting
config
* daemon/gdm.h, daemon/slave.c, gui/gdmlogin.c,
gui/greeter/greeter.c: add GDM_SAVEDIE request so that restarts
of the greeter from the daemon also work and use this for the
restart from the slave on greeter change. #88533
* gui/gdmwm.c: do process_events before a restore_wm_order
so that we restore wm order after all our things have been
finished so that the wm order is really restored especially on
the graphical greeter
2002-07-18 Frederic Crozat <fcrozat@mandrakesoft.com>
* gui/greeter/themes/happygnome/Makefile.am:
add disconnect.png to Makefile.am. Fix happygnome theme when
using tarball
Wed Jul 17 11:17:10 2002 George Lebl <jirka@5z.com>
* config/locale.alias, gui/gdmlanguages.c: add Swedish (Finland)
to the language list, fixes #88423
Tue Jul 16 15:38:46 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.(c|glade): move the 24 hour clock to the first page
since it affects both greeters now. Also play around with
the themebrowser. GtkLabel refuses to wrap text for some reason
so for now put in GtkTextView's. This makes it look somewhat
more ugly (or pretty depending on your taste), but it actually
wraps the description as it needs to.
Tue Jul 16 11:37:22 2002 George Lebl <jirka@5z.com>
* config/locale.alias, gui/gdmlanguages.c: Added a few more languages
And fixed the naming for english and brazilian portuguese which
fixes #88273
Tue Jul 16 10:49:44 2002 George Lebl <jirka@5z.com>
* Release 2.4.0.2
Tue Jul 16 10:14:08 2002 George Lebl <jirka@5z.com>
* daemon/misc.[ch], daemon/display.c, daemon/errorgui.c, daemon/gdm.c
daemon/server.c, daemon/slave.c: Make process invocation about
600us faster by making a helper function for closing all
descriptors that is somewhat smarter then the inline code was,
and on this occasion alsofix the failsafe question dialog to
actually work.
* daemon/server.c: fix debug output on stopping server
Mon Jul 15 16:44:24 2002 George Lebl <jirka@5z.com>
* config/locale.alias: remove the "English" entry, the other two
english ones will suffice. Also do a bit of renameing, although
this does not break any user visible strings. We really need some
nice way of getting currently installed locales instead of this
file. And we need to have the locale translation table understand
many many more locales. Oh well.
Mon Jul 15 15:47:11 2002 George Lebl <jirka@5z.com>
* daemon/errorgui.c, daemon/misc.[ch], daemon/server.c,
daemon/slave.c: Clean up the comm stuff to only use unbuffered
libc functions. This might fix the freebsd issues perhaps,
maybe. Also fix some almost impossible to happen races.
Mon Jul 15 14:55:27 2002 George Lebl <jirka@5z.com>
* NEWS, configure.in: prepare for 2.4.0.2
Sat Jul 13 17:03:15 2002 George Lebl <jirka@5z.com>
* daemon/gdm.in: use "." instead of "source" as I didn't realize
that "source" is not on the freebsd /bin/sh
Fri Jul 12 14:17:54 2002 George Lebl <jirka@5z.com>
* daemon/gdm.in: source in /etc/profile if it exists. This way we
really do get system wide environment for gdm.
Fri Jul 12 10:06:23 2002 George Lebl <jirka@5z.com>
* **/*.desktop.in: Add "Encoding=UTF-8"
Fri Jul 12 09:38:24 2002 George Lebl <jirka@5z.com>
* daemon/gdm.c: ensure descriptors 0,1 and 2 exist. This may fix
an issue running gdm out of /etc/ttys on freebsd.
Thu Jul 11 17:50:15 2002 George Lebl <jirka@5z.com>
* gui/gdmwm.c: unfortunately when we do a reparent on an already
mapped window we will get an unmap and a map, so we ignore the
next unmap/map. Also fix a crash in moving override redirect
windows (windows gdmwm doesn't know)
* gui/gdmlogin.c: move the g_atexit to the place where we run the
background prog
Thu Jul 11 15:15:42 2002 George Lebl <jirka@5z.com>
* gui/gdmflexiserver.c: corrected yodaspeak and thus #83077
Thu Jul 11 13:33:41 2002 George Lebl <jirka@5z.com>
* gui/gdmlanguages.c, config/locale.alias: Added Macedonian
fixes #84290, added Malay to the language alias list,
added some more untranslated names, added Vietnamese
Thu Jul 11 13:31:01 2002 George Lebl <jirka@5z.com>
* gui/greeter/greeter_action_language.c: Fix saving of languages,
Add Last and System default language choices. When setting system
default just return "" as that's what the daemon expects
* gui/gdmlogin.c: add the System default language choice, and
for system default just return "" as above
* gui/gdmlogin.c, gui/greeter/greeter_action_language.c: Ask before
saving a new language if nothing was saved before and we were
using the system default
* daemon/slave.c: when we get the system default language wipe the
user lang setting
Thu Jul 11 10:54:28 2002 George Lebl <jirka@5z.com>
* gui/greeter/greeter.c, gui/greeter/greeter_configuration.h,
gui/greeter/greeter_item.c: Apply a patch from
Terje Rosten <terjeros@phys.ntnu.no> to also obey the 24 hour
clock setting in the graphical greeter. This makes the setup
proggie a little inconsistent as the setting is in the standard
greeter tab, so we'll have to figure that one out as well.
Thu Jul 11 10:39:18 2002 George Lebl <jirka@5z.com>
* daemon/gdm-net.c, daemon/xdmcp.c: some indenting foo
* gui/gdmlogin.c, gui/gdmchooser.c, gui/greeter/greeter.c: Set
the IO channels to be unbuffered just like in the daemon and
set their encoding to NULL. We want to be as raw as possible
* gui/gdmlogin.c, gui/greeter/greeter_item_pam.c: initially leave
the prompt entry insensitive. Also initially set the entry to
"..." in the greeter since otherwise it will be a little
unresponsive to the first keystroke. Fixes #83187
Thu Jul 11 09:41:55 2002 George Lebl <jirka@5z.com>
* daemon/gdm-net.c, daemon/xdmcp.c: Apply patch from
Kesor <kesor@mail.ru> to set the io channel encoding to NULL
before trying to make it unbuffered to get rid of warning
2002-07-11 Hasbullah Bin Pit <sebol@ikhlas.com>
* gui/gdmlanguages.c : Added Malay / B.Melayu as language options.
Thu Jul 11 2002 Steve Fox <drfickle@uberh4x0r.org>
* gui/greeter/themes/happygnome/*: Update Happy GNOME theme
with new logo, new Disconnect/Quit icon
Wed Jul 10 13:36:03 2002 George Lebl <jirka@5z.com>
* daemon/slave.c, gui/gdmlogin.c, gui/greeter/greeter.c,
gui/gdmchooser.c: When we first open the X connection, set
the cursor to a busy cursor (watch) and also don't set the
pointer cursor in the greeters until we are actually ready.
Also do cursor voodoo in the chooser.
Tue Jul 09 15:29:00 2002 George Lebl <jirka@5z.com>
* daemon/slave.c: some more sanity from Oswald, but this doesn't
fix a real bug, just a theoretical one.
Tue Jul 09 15:26:43 2002 George Lebl <jirka@5z.com>
* Release 2.4.0.1
Tue Jul 09 11:09:53 2002 George Lebl <jirka@5z.com>
* configure.in, daemon/Makefile.am: Fix #85785 by adding all the
extra libs (which includes -lcrypt) to the LDFLAGS of the
gdm_binary. This also as a side effect doesn't link all those
libs to things that don't need them.
Tue Jul 09 10:47:31 2002 George Lebl <jirka@5z.com>
* daemon/gdm.c: before running gdm_fail in the config parsing
set pid file to NULL so that we don't wipe it. Also
implement a linux specific hack to check for stale pids,
this is largely due to (Jim Bray <jb@cs.wcu.edu>). It should
just work as before on non-Linux systems.
Tue Jul 09 10:27:51 2002 George Lebl <jirka@5z.com>
* config/gdm.conf.in, daemon/gdm.[ch], daemon/server.c,
daemon/slave.c, daemon/xdmcp.c: Fix some errors with server
starting, fix alarm/sleep collisions, add a handled flag to
servers so that we can setup unhandled X servers (such as
for X terminals)
Tue Jul 09 09:14:55 2002 George Lebl <jirka@5z.com>
* daemon/slave.c: do the display init before the user setup for
automatic logins
Tue Jul 09 09:08:25 2002 George Lebl <jirka@5z.com>
* daemon/auth.c: handle fails on user auth writing by going to the
fallback file to handle things in a saner way. Fixed
locking/unlocking to be done properly and fixed leaks in the purge
function.
Tue Jul 09 08:44:04 2002 George Lebl <jirka@5z.com>
* daemon/slave.c: Fix a bug with finding the parent process
(Oswald Buddenhagen <ossi@kde.org>)
* daemon/verify-pam.c: the autologin should do setcred/open_session
just like normal login
Mon Jul 08 20:42:27 2002 George Lebl <jirka@5z.com>
* configure.in, NEWS: raise version add some news
Mon Jul 08 20:01:23 2002 George Lebl <jirka@5z.com>
* configure.in, acconfig.h, daemon/misc.c, gui/gdmchooser.c:
if available include <sys/sockio.h>. Should fix first
part of #86679
* gui/Makefile.am: link gdmsetup and gdmflexiserver with -lXau,
should fix second part of #86679
* gui/gdmwm.c: Fix #86620, don't set up the wm stuff if the
substructureredirect selection fails on the root window.
* daemon/slave.c: don't clear the env for chooser, greeter and
config. I suppose it was fairly foolish to do so anyway.
Should fix #87387 partly
* configure.in, daemon/gdm.in, daemon/Makefile.am: rename
gdm to gdm-binary and install a new script called gdm
which calls gdm-binary. This way the standard env is
read in and other good stuff can happen. Should fix #87387
completely
* gui/gdmchooser.c, gui/gdmlogin.c: properly center windows
* gui/gdmchooser.c: don't die on every minor problem, and
fix querying the interfaces
* gui/gdmchooser.c, gui/gdmsetup.c: fix crashes and the event
fixup function
* gui/gdmchooser.glade: fix signal connections so that we can
actually select some host
2002-07-08 Frederic Crozat <fcrozat@mandrakesoft.com>
* gui/greeter/themes/happygnome/Makefile.am:
add missing files (fixes #86264)
Sun Jul 07 06:26:51 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.c: some sanity checking before doing a kill
Sat Jul 06 19:28:09 2002 George Lebl <jirka@5z.com>
* daemon/gdm.c: Don't send greeter pids that are 0, fixes #84717 and
some others. Whoops!
* daemon/xdmcp.c: Fix #85681 by putting the gdm_xdmcpfd outside of
the #ifdef so non-xdmcp compiles should work again
* configure.in: Hopefully fix #85785 by adding -lcrypt before other
libs. Also apply patch from dalgoda@ix.netcom.com (Mike Castle)
to fix #86607 by adding proper includes for X before testing
for xdmcp libs
2002-06-24 Yanko Kaneti <yaneti@declera.com>
* configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
Fri Jun 07 21:21:33 2002 George Lebl <jirka@5z.com>
* Release 2.4.0.0
2002-06-07 jacob berkman <jacob@ximian.com>
* gui/greeter/themes/happygnome/Makefile.am (EXTRA_DIST):
s/circles/happygnome/
Thu Jun 06 15:32:01 2002 George Lebl <jirka@5z.com>
* NEWS, configure.in: preparation for 2.4.0.0
Thu Jun 06 11:47:26 2002 George Lebl <jirka@5z.com>
* configure.in, po/POTFILES.in, gui/greeter/themes/Makefile.am,
gui/greeter/themes/happygnome/*: Add the happygnome theme,
so finally the theme browser makes sense since you can now
switch between two themes :) If we're in freeze we can at least
add themes ...
Tue Jun 04 21:45:19 2002 George Lebl <jirka@5z.com>
* Release 2.3.90.6
* configure.in: raise version
* daemon/gdm.c: properly update the first login bool so
that not all logins after a slave dies are first logins.
* daemon/slave.c: SECURITY FIX! after the automatic login,
return from the gdm_slave_run so that the display can be
reinitted. Else clients may be left around. Fixes #84055
Mon Jun 03 11:43:25 2002 George Lebl <jirka@5z.com>
* Release 2.3.90.5
Sun Jun 02 12:51:20 2002 George Lebl <jirka@5z.com>
* config/locale.alias: rewrite. Use the languages that we know for
starters, don't put any duplicates. Don't put any encodings.
put a note on the top of file about how broken this is. However
this should be less broken then it was so far.
* gui/gdmlanguages.c: fix collating languages, when the current
locale is not among the languages, add it (it will be put into
others section as just the language code). This way users can
always select the current system locale.
2002-06-02 Kjartan Maraas <kmaraas@gnome.org>
* config/locale.alias: Make Norwegian use ISO-8859-15.
Sat Jun 01 20:43:33 2002 George Lebl <jirka@5z.com>
* gui/gdmlanguages.c: We had hebrew in reverse order, so when pango
reversed it again, it came out reversed
Sat Jun 01 20:31:54 2002 George Lebl <jirka@5z.com>
* gui/gdmlanguages.[ch], gui/gdmlogin.c,
gui/greeter/greeter_action_language.c: surround each langauge
with <span lang="??_??">foo</span> markup so that display is done
hopefully correctly.
Sat Jun 01 17:21:38 2002 George Lebl <jirka@5z.com>
* gui/greeter/greeter_capslock_item.c: include config.h
* gui/greeter/greeter_timed_item.[ch], gui/greeter/greeter_item.c,
gui/greeter/greeter_configuration.h, gui/greeter/greeter.c:
Implement timed logins so that we're on par with the standard
login on this. Implement the timed show type stuff and add
%s and %d (named such so that we don't have to add strings)
and change the original %d to %o for domain.
* gui/greeter/greeter.c: implement disable/enable stuff
* gui/greeter/greeter_item.h, gui/greeter/greeter_canvas_item.h:
cleanup
* gui/greeter/themes/circles/circles.xml.in: some geometry fixes,
add a timed item.
* gui/greeter/greeter.c, gui/greeter/greeter_item_pam.[ch]:
add the support for leftover messages on QUIT.
* gui/greeter/greeter_item_timed.c, gui/gdmlogin.c: up the timer
on both keypress and button press events on ALL widgets.
* daemon/misc.h: fix gdm_test_opt prototype
Sun Jun 02 01:35:00 2002 Carlos Perelló Marín <carlos@gnome-db.org>
* config/locale.alias: The es_ES locale is now ISO-8859-15 to add euro
support.
Sat Jun 01 14:42:29 2002 George Lebl <jirka@5z.com>
* gui/Makefile.am: build the gdmlanguages.c as a library
* gui/gdmlanguages.[ch], gui/gdmlogin.c: Add untranslated names
so that we can do what we do in the graphical greeter, and
we have only one place where languages are handeled.
* gui/greeter/greeter_action_language.c,
gui/greeter/greeter_configuration.h, gui/greeter/Makefile.am:
use the libgdmlang.a lib and scrap the custom language list.
now languages are the same as they are in the standard greeter.
Unfortunately there were yet still some strings that weren't
marked for translation.
Sat Jun 01 09:12:59 2002 George Lebl <jirka@5z.com>
* config/gdm.conf.in, daemon/gdm.h: Default the -kb argument to Xnest
This is because Xnest doesn't seem to want to read the x config
file and so you'd have to manually set xkb kind of stuff and this
way you'll sort of inherit the layout from the toplevel X server,
except you won't have access to xkb, and hopefully that's not a
problem. Fixes #66610
Fri May 31 15:55:25 2002 George Lebl <jirka@5z.com>
* daemon/misc.[ch]: a new function (yet unused) to find out valid
arguments of a command
* gui/gdmXnestchooser.c: properly get the command, fixes things
so that it now really does launch the command from the
config file or the one from command line.
Fri May 31 10:12:04 2002 George Lebl <jirka@5z.com>
* gui/greeter/greeter_lang_list.c: add more untranslated language
names. Hmmm. The whole language list setup in the greeter is
b0rk, this should be merged with the way languages are done in
gdmlogin
2002-05-31 Changwoo Ryu <cwryu@debian.org>
* gui/greeter/greeter_lang_list.c: Added Korean
untranslated_name to the languages list.
Thu May 30 13:30:01 2002 George Lebl <jirka@5z.com>
* gui/greeter/greeter.c, gui/greeter/greeter_item.c,
gui/greeter/greeter_lang_list.c, greeter/greeter_action_language.c,
greeter/greeter_item_pam.c, gui/gdmlogin.c: Use the new conversion
routines from ve, use the new strftime from ve. Also add the
correct includes so that the graphical greeter is now actually
translated. This among other things fixes #82548
* gui/greeter/greeter_parser.c: correctly get the language, fixes
#82549
* gui/gdmchooser.glade: remove unused dialog
* daemon/slave.c, daemon/gdm.c, daemon/errorgui.c, gui/gdmlogin.c,
gui/gdmchooser.c, gui/greeter/greeter.c,
gui/greeter/greeter_item_pam.c, gui/greeter/greeter_system.c:
We can no longer use g_print as we did before as it now does
charset conversions and that can screw us up in a major way.
so replace most uses with printf/fflush
Wed May 29 14:13:45 2002 George Lebl <jirka@5z.com>
* Release 2.3.90.4
Mon May 27 13:39:52 2002 George Lebl <jirka@5z.com>
* daemon/auth.c, daemon/slave.c: remove some dead code, minor fixes
* gui/gdmchooser.c: remove gnome init, remove dead code
* gui/gdmlogin.c: remove hang on browser image getting
* gui/gdmphotosetup.c: remove the trusted dir crap. Now we always
copy to ~/.gnome/photo. this removes the need for needing to
know gnome's pixmap path, and gets rid of some uglieness. We
still support a bit of the trusted dir stuff in the daemon for
compatibility.
* gui/gdmsetup.c: don't create dirs only when running under gdm
2002-05-27 Kjartan Maraas <kmaraas@gnome.org>
* daemon/verify-pam.c: Fix typo.
Fri May 24 13:48:45 2002 George Lebl <jirka@5z.com>
* gui/greeter/greeter_parser.c: use the "xml:lang" attribute not
"lang"
Fri May 24 13:40:35 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.c, gui/greeter/greeter.c,
gui/greeter/themes/circles/Makefile.am,
gui/greeter/themes/circles/circles.xml.in,
gui/greeter/themes/circles/GdmGreeterTheme.desktop.in,
po/POTFILES.in: Start using intltool for the theme stuff. And
while doing this rename the GdmGreeterTheme.info to
GdmGreeterTheme.desktop since that's more convenient for intltool.
But still accept themes with GdmGreeterTheme.info for laughs.
This should make the greeter at least translatable
* gui/greeter/greeter_system.c, gui/greeter/greeter.c,
gui/greeter/greeter_configuration.h: Add configuration option
to the system dialog thingie (it's ugly!) and don't add items which
we know won't work (such as suspend if GdmSuspend isn't there)
* gui/greeter/Makefile.am: link with libvicious at least
Tue May 21 19:13:49 2002 George Lebl <jirka@5z.com>
* daemon/slave.c, gui/gdmlogin.c: Remove the bad hack with sending
the temporary files. Just read the file and and send it over via a
pipe.
Tue May 21 16:47:53 2002 George Lebl <jirka@5z.com>
* configure.in: raise version to .4
* configure.in, gui/Makefile.am, gui/greeter/Makefile.am: hopefully
fix #79374 by add -lX11 to the link lines
* gui/greeter/greeter_action_language.c: fix OK/CANCEL order, #80038
* daemon/gdm.[ch], gui/gdmflexiserver.c: change the format of the
FLEXI_XNEST request. Now we require version 2.3.90.4 and
there is also a uid parameter. We then seteuid to this uid
before checking authenticity, this makes things work when the
home dir is on nfs. Fixes #82122
Tue May 21 15:44:00 2002 George Lebl <jirka@5z.com>
* daemon/misc.c: make the interface querying work again
* daemon/server.c, daemon/xdmcp.c, daemon/misc.c: don't completely
fail when gethostname fails, just assume "localhost.localdomain"
in that case. Should fix some of the hostname bugs and make
things work on more broken setups.
Tue May 22 23:55:00 2002 Carlos Perello Marin <carlos@gnome-db.org>
* configure.in: Added AC_PREREQ(2.52) to force the 2.52 use if you
have autoconf 2.13 && 2.52.
Tue May 21 15:12:51 2002 George Lebl <jirka@5z.com>
* configure.in, accconfig.h: check for setresuid
* daemon/errorgui.c, daemon/misc.[ch]: use setresuid to really
get rid of setuidiness
* gui/gdmlogin.c: fix accelerators. Since now we have nice
visible accelerators (mnemonics) we no longer need the Esc one
which wasn't working anyway
* daemon/gdm.c, daemon/slave.c, gui/gdmphotosetup.c: Don't init
gnome. This only breaks the getting of the gnome pixmap dir, so
whack the places where this is done. It's not a big deal really.
And not initting things really helps a lot in both init speed,
random crashes, hangs, and security.
* daemon/slave.c, daemon/errorgui.[ch], config/Xsession: Now
we open the .xsession-errors file early on, in fact for all
non-failsafe sessions. If the session is less then 10 seconds
long warn the user of possible errors and let him view the
.xsession-errors file.
* daemon/slave.c, daemon/auth.c: give error output when we can't
setup the authentication file.
* daemon/slave.c, daemon/errorgui.c: fix focus issues, fix crash
for the error gui boxes
* daemon/verify-pam.c: fix typo
Mon May 20 17:55:57 2002 George Lebl <jirka@5z.com>
* daemon/slave.c: don't allow autologin on anything but
local servers since it doesn't make sense anywhere else.
(timed login yes, just not the autologin). Should fix #68160
Fri May 17 17:05:44 2002 George Lebl <jirka@5z.com>
* daemon/gdm.c, gui/gdchooser.glade: update some strings to be
more consistent
Fri May 17 16:10:15 2002 George Lebl <jirka@5z.com>
* daemon/misc.c, daemon/slave.c, configure.in, acconfig.h: Use BSD's
setusercontext if found. If language is unset and there is no
saved preference then if we're using setusercontext don't reset
LANG so that the users login.conf preference takes over
* daemon/gdm.h, gui/gdmlogin.c, gui/gdmsetup.c: Add a new key
greeter/MinimalUID which sets the minimal uid which is needed
to show up in the browser or the dropdown list in gdmsetup
* daemon/gdmlogin.c: whack the "*" checking in the password field,
since we may get it normally
Wed May 15 22:55:58 2002 Christophe Merlet <christophe@merlet.net>
* Makefile.am, config/Makefile.am: Added $DESTDIR variable.
Tue May 14 17:13:33 2002 George Lebl <jirka@5z.com>
* gui/gdmphotosetup.c: fixed crash, damnit I'm such an idiot, oh well
fortunately the crash would happen only after things finished so
most users would only notice a new corefile being created on exit :)
Tue May 14 15:40:34 2002 George Lebl <jirka@5z.com>
* gui/Makefile.am: remove all the gdmconfig stuff and add
gdmchooser.gladep and gdmsetup.gladep
Tue May 14 14:54:20 2002 George Lebl <jirka@5z.com>
* Release 2.3.90.3
Tue May 14 14:53:51 2002 George Lebl <jirka@5z.com>
* NEWS, configure.in: increment version, prepare for release
* gui/gdmsetup.c: fix initial selection of the current greeter
* daemon/display.c, daemon/errorgui.c, daemon/gdm.[ch],
daemon/misc.c, daemon/server.c, daemon/slave.c: Fix deadlocks
when using the syslog inside a signal handler by sending the
message to the main daemon which then syslogs it.
Tue May 14 12:08:25 2002 George Lebl <jirka@5z.com>
* gui/gdmphotosetup.c, daemon/auth.c: Apply some leak fixes from
ali.akcaagac@stud.fh-wilhelmshaven.de (Ali Akcaagac) #80888. That
is only those that really made sense
* gui/gdmphotosetup.c: Port to GtkDialog, should fix #80835
* config/gdm.conf.in, daemon/gdm.c, daemon/slave.c: fix #80829
and add a whole bunch of checks for server paths so that we
find servers other then /usr/bin/X11/X, also look for proggies
in /opt/X11R6/bin
* configure.in: check for socklen_t and define it to be size_t
if not found, fixes #79373
* daemon/gdm.[ch], daemon/slave.c, daemon/display.c, daemon/xdmcp.c,
daemon/misc.[ch], daemon/server.c: Fix slave notifications. We
can't use a mainloop here since slaves are all synchroneous. So
we use a variety of signals and hacks to get this to work.
Tue May 14 02:26:01 2002 George Lebl <jirka@5z.com>
* daemon/slave.c, daemon/gdm.c: a bit of debug info for the slave
notifications which are utterly broken damnit. Will need
a signal or some such.
* gui/greeter/greeter.c, gui/greeter/greeter_item_pam.c: do all
the right utf8/locale conversions just like gdmlogin
Tue May 14 01:25:03 2002 George Lebl <jirka@5z.com>
* daemon/display.c, daemon/errorgui.c, daemon/misc.[ch],
daemon/gdm.c, daemon/server.c, daemon/slave.c, daemon/verify-pam.c,
gui/gdmlogin.c: Switch to using the locale specific codeset on
the daemon to simplify things. Do all utf8 stuff/translations on
the greeter since else the glib gconv cache will get screwed up
and we'll have a mess on our hands. This finally makes
translations other then ascii using locales work.
* daemon/slave.c: fix restarting when waiting on the greeter
Mon May 13 22:29:47 2002 George Lebl <jirka@5z.com>
* daemon/slave.c: fix focus on failsafe xterm session
Mon May 13 18:09:30 2002 George Lebl <jirka@5z.com>
* daemon/gdm.h, daemon/slave.c, gui/gdmlogin.c,
gui/greeter/greeter.c, gui/gdmwm.[ch]: Add focus/no focus on the
login window when running config, as well as restoring the disabled
state after a restart. Fix restarting of greeter. Fix a hang
after login. Fix killing of server on all REMANAGE exits. Also
create a saving of the window stacking order so that when we
restart with a setup window active the stacking order doesn't
get screwed up.
* daemon/misc.c, daemon/verify-pam.c: convert to correct codeset.
This is still not all working and it's quite shite. Must fix
this. Maybe run the daemon under normal locale codeset. That
will simplify things.
* daemon/server.c: doing a syslog in alarm signal handler was hanging
* gui/gdmlogin.c: remove some cruft
* gui/gdmsetup.c, gui/gdmwm.[ch]: remove the CONFIG_WINDOW crap
2002-05-13 Rosanna Yuen <zana@webwynk.net>
* gui/greeter/greeter.c: include libintl.h and locale.h
Sat May 11 23:38:02 2002 George Lebl <jirka@5z.com>
* daemon/gdm.h, daemon/slave.[ch],
daemon/verify-(pam|crypt|shadow).c, gui/gdmlogin.c,
gui/greeter/greeter.c: Change the interruption stuff, to remove
some races and the restart of greeters is done by return code
* gui/gdmsetup.c, gui/gdmwm.[ch], gui/gdmlogin.c,
gui/greeter/greeter.c: Add a property on the setup windows so
that we can raise the setup windows after a restart of the greeter,
this doesn't really work yet well.
* gui/gdmsetup.c: add some more error checking and change the
owenership/permissions correctly on installed themes
Fri May 10 15:52:07 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.glade: a bit of work on the accessibility stuff
(labefor/labelledby, not really all done yet). Add some mnemonics,
etc...
Fri May 10 15:21:40 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.c: Finish connecting everything to the config file.
Don't do updates when nothing has changed. Add a simple temporary
help dialog. Warn (and ask what to do) if a theme you are trying
to install already exists in the theme dir. Remove the fake
testing theme entries.
* config/gdm.conf.in: Add a comment to the top of the file
Tue May 07 23:01:10 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.c: enable the setup of the pixmap entries. Note that
this requires a fix to libgnomeui which I just committed. If you
get a segv on startup update libgnomeui
Wed May 8 01:20:57 2002 Jonathan Blandford <jrb@gnome.org>
* gui/gdmsetup.c (setup_xdmcp_support): clean up the UI a tad.
Tue May 07 17:22:37 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.c: display an error if install of theme failed
Tue May 07 17:16:31 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.(c|glade): work on install new theme functionality
* gui/greeter/theme/circles/GdmGreeterTheme.info: update
Tue May 07 14:39:18 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.(c|glade): more theme browser work, selection now
works. Though it's not yet propagated to the config.
Mon May 06 23:34:54 2002 George Lebl <jirka@5z.com>
* config/gdm.conf.in: a note to distributors about the welcome
string, and add new greeter config thingies
* gui/greeter/greeter-configuration.h, gui/greeter/greeter.c,
gui/greeter/greeter-canvas-item.c, daemon/gdm.h: use the global
gdm header file for defining config keys
* gui/greeter/greeter.c: start using the GdmGreeterTheme.info file
for figuring out the theme and the GraphicalTheme key now just
specifies the subdir in which to find under the GraphicalThemeDir
directory. Also fix the gettext stuff a bit.
* gui/greeter/themes/cirlces/screenshot.png,
gui/greeter/themes/cirlces/GdmGreeterTheme.info:
gui/greeter/themes/cirlces/Makefile.am: add circles screenshot
* gui/gdmlogin.c: use the circles in entry config key. Also reado
how translation is done for the welcome string
* gui/gdmsetup.(c|glade): start implementing a cool theme browser and
start connecting more widgets. Make the welcome string editting
work by just whacking ALL translations and using the current string
when it is editted.
Mon May 06 10:40:47 2002 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Also make this init only gtk since initting gnome
came up with weird errors and was a security risk anyway.
Mon May 06 10:39:41 2002 George Lebl <jirka@5z.com>
* gui/gdmlogin.c, daemon/verify-pam.c, po/cs.po, config/gdm.conf.in,
daemon/gdm.c: Try to solve some of the pending translation issues
mainly with utf8 kinds of weirdness. Not yet completely solved
though.
Fri May 03 16:42:42 2002 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.c: add notifies for sysmenu and
config available
* gui/gdmsetup.glade, gui/gdmsetup.c: glade design pages for both
greeters and connect a few of the items to actual config. Also
add security sysmenu and config_available items
2002-05-03 jacob berkman <jacob@ximian.com>
* Makefile.am (SUBDIRS):
* configure.in (AC_OUTPUT): turn off help for now, until it's
ported to xml etc.
2002-05-01 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Added Vietnamese (vi) to ALL_LINGUAS
2002-04-29 jacob berkman <jacob@ximian.com>
* Makefile.am (EXTRA_DIST): add gdmconfig - mailed _v_ asking to
fix this completely
2002-04-28 Abel Cheung <maddog@linux.org.hk>
* gui/gdmchooser-strings.c: Typo.
* gui/gdmconfig.c: Rephrased description of Basic setting to
reduce ambiguity.
* gui/gdmconfig-strings.c, gui/gdmconfig.glade(|2): Added
Chinese locales.
2002-04-29 Seth Nickell <snickell@stanford.edu>
* gui/Makefile.am:
* gui/gdmphotosetup.desktop.in:
* gui/login-photo.png:
Add a rudimentary icon for the photo chooser "capplet"
so it doesn't look weird as the only item without
an icon ;-)
Fri Apr 26 14:29:07 2002 George Lebl <jirka@5z.com>
* daemon/gdm.h, daemon/slave.c: a bit of a hack, but create an
interruption type for greeter restart. It's easier to do this
way then with just an exit since we avoid reentrancy issues and
all kinds of other fun stuff. That is we trap the interruption
at defined points
* gui/gdmlogin.c: minor fixes, and recheck config and if some stuff
changed (not the full set we care about, maybe we should do that)
just restart.
* gui/greeter/greeter.c, gui/greeter/greeter_configuration.h,
gui/greeter/greeter_item.[ch], gui/greeter/greeter_parser.c,
gui/greeter/greeter_system.c: Implement a config button handeling.
the timed, system and config showing is handled by show
types/subtypes so this is handled cleanly. Request restart on HUP.
To allow a name change
* gui/greeter/themes/circles/GdmGreeterTheme.info: An idea (not used
currently) for the greeter theme information. This is so that we
can do a theme browser and also handle theme installation and all
that fun sort of stuff.
* gui/greeter/themes/circles/circles.xml: add a system show type
to the system button
Fri Apr 26 10:18:07 2002 George Lebl <jirka@5z.com>
* gui/gdmsetup.(c|glade): implement the greeter selection option menu
* gui/greeter/greeter.c, gui/greeter/greeter_item.c: don't show
the system buttons if GdmSystemMenu is FALSE. We really need
to extend the show modes for this.
Thu Apr 25 22:56:30 2002 George Lebl <jirka@5z.com>
* gui/greeter/greeter.c: connect the disconnect/quit button
Thu Apr 25 17:20:52 2002 George Lebl <jirka@5z.com>
* Makefile.am, configure.in, gdm.spec.in, gdmsetup-security.in:
Whack the gdmconfig again, gdmconfig is now really dead
* configure.in, docs/Makefile.am: don't build gdmconfig docs
* gui/greeter/greeter.c, gui/greeter/greeter_canvas_item.c,
gui/greeter/greeter_events.c, gui/greeter/greeter_geometry.c,
gui/greeter/greeter_item.c, gui/greeter/greeter_item.h,
gui/greeter/greeter_item_capslock.c, gui/greeter/greeter_parser.c,
gui/greeter/greeter_parser.h: Handle multi-item buttons so that
we can catch clicks on the labels next to the buttons in the
circles theme. Add 'show modes' since some items may not be shown
depending on what the daemon tells us. Reformat some code to be in
the same style. Fix a bunch of leaks and some other minor fixes.
Also the text is now not taken from a "val" property but from the
content since text in a property is just on crack.
* gui/greeter/greeter.dtd: update a tad but it's still out of date
* gui/greeter/themes/circles/circles.xml: update for the above
changes
2002-04-25 Jacob Berkman <jacob@ximian.com>
* configure.in (AC_OUTPUT): add gdmsetup-security
2002-04-24 jacob berkman <jacob@ximian.com>
* Makefile.am (EXTRA_DIST): add gdmconfig-security.in
* Makefile.am (EXTRA_DIST): add gdmconfig
Tue Apr 23 15:25:33 2002 George Lebl <jirka@5z.com>
* gui/gdmphotosetup.c: destroy dialogs after run which is the gtk+2
semantics
Tue Apr 23 15:07:17 2002 George Lebl <jirka@5z.com>
* Makefile.am, gdmconfig, gdmsetup-serurity.in, gdmsetup-pam,
daemon/gdm.h, config/gdm.conf.in, gui/Makefile.am,
gui/gdmsetup.desktop.in: Make the gdmsetup proggie the default
configurator and stop building/installing gdmconfig which wasn't
working to begin with.
* gui/gdmchooser.(c|glade): redo the glade file for gdmchooser to be
a dialog and also start using glade-helper
* gui/gdmlogin.c: some gdmwm related fixes
* gui/greeter/greeter.c, gui/greeter/greeter_action_language.c,
gui/greeter/greeter_session.c, gui/greeter/greeter_system.c:
Add Xinerama support, init the gdmwm so that we actually do
have focus management, do all the cool gdmwm type stuff with
all the dialogs/windows. Add all the warnings that gdmlogin
can give. Damn this still needs a LOT of love before it's
a viable replacement of gdmlogin.
Mon Apr 22 19:00:14 2002 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.c: support updating the timed login
stuff
* gui/gdmsetup.(c|glade): implement updating of most things (at
least theoretically) except the greeter choosing.
* gui/greeter/greeter.c, gui/greeter/greeter_item_pam.c,
gui/greeter/greeter_session.c: fix warnings
Mon Apr 22 10:27:43 2002 George Lebl <jirka@5z.com>
* gui/gdmcomm.[ch], gui/gdmflexiserver.c, gui/gdmsetup.c,
gui/Makefile.am: split off the comm routines to a separate file,
so that we may use this from the setup proggie
* gui/greeter/greeter_system.c: include unistd.h
Sun Apr 21 23:37:06 2002 George Lebl <jirka@5z.com>
* Release 2.3.90.2
* configure.in: raise version
* gui/Makefile.am: distcheck fixes
Sun Apr 21 22:50:49 2002 George Lebl <jirka@5z.com>
* daemon/gdm-net.[ch]: add a printf style function
* daemon/gdm.[ch], daemon/xdmcp.c: add functionality for 1) getting
a list of greeter pids for use with the setup proggie 2) implement
auto updating of most of the xdmcp stuff
* gui/gdmchooser.(c|glade), gui/Makefile.am: minor fixes, use a glade2
instead of converting.
* gui/gdmlogin.c: doh kind of warning fixes
* gui/gdmsetup.c, gui/Makefile.am: add a beginning of a setup
proggie, doesn't yet doo much, but it's a start
2002-04-21 Benedikt Roth <Benedikt.Roth@gmx.net>
* gui/gdmphotosetup.c: (main):
Changed button ordering to [Cancel] [ok] (#77151).
* gui/greeter/greeter_item_pam.c: (greeter_item_pam_prompt):
Applied patch from Gaute Lindkvist <lindkvis@stud.ntnu.no> to give
focus to the password-field automatically (#73817).
Fri Apr 12 16:00:00 2002 George Lebl <jirka@5z.com>
* daemon/gdm.c, daemon/slave.c, daemon/server.c: screw the sysmask,
just unblock all signals when running a child. This is what
xdm does. Should fix #77880
Fri Apr 12 15:34:00 2002 George Lebl <jirka@5z.com>
* gui/gdmlogin.c, gui/greeter/greeter.c: make sure dialogs
are destroyed after being run
Fri Apr 12 09:20:34 2002 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.c: AllowRemoteAutoLogin and
RetryDelay notification support.
Fri Apr 12 06:41:36 2002 George Lebl <jirka@5z.com>
* gui/greeter/greeter.c: properly set up the TERM/INT handlers
and when DOING_GDM_DEVELOPMENT try the theme in the local dir first
Thu Apr 11 21:02:38 2002 George Lebl <jirka@5z.com>
* gui/gdmlogin.c, gui/greeter/greeter.c: add a function stub for
handeling configuration changes
* gui/gdmsetup.glade: an unfinished new gui configurator to replace
gdmconfig. No it will not have all the options as gdmconfig did
since if you want crack you can just use a text editor.
* daemon/gdm.[ch], daemon/slave.c: handle greeter changes. and
implement local vs. remote greeter distinction. Remove unneeded
arguyments.
* config/gdm.conf.in: remote the extra unnecessary args to the
greeters
2002-04-10 Seth Nickell <snickell@stanford.edu>
* gui/Makefile.am:
* gui/gdmconfig.desktop.in:
* gui/gdmflexiserver-xnest.desktop.in:
* gui/gdmflexiserver.desktop.in:
* gui/gdmphotosetup.desktop.in:
Install .desktop files in the appropriate GNOME2 location(s),
adding Category keywords as necessary. Change the description
of gdmphotosetup to fit better with the other items in the
"control center".
Tue Apr 09 14:27:59 2002 George Lebl <jirka@5z.com>
* daemon/misc.[ch]: implement an fdprintf function
* daemon/gdm-net.[ch]: implement an fd only connection type
* daemon/gdm.[ch], daemon/slave.[ch], daemon/display.c: implement
a notification scheme for slaves so that we can handle changes
of some config values on the fly to implement a saner configurator
for now implement two values as a sort of testing.
Mon Mar 25 19:05:14 2002 George Lebl <jirka@5z.com>
* gui/gdmconfig.glade2: the info label is wrapped so that it doesn't
look like so much crap. Still is all kind of nasty
2002-03-25 Tőivo Leedjärv <toivo@linux.ee>
* config/locale.alias, gui/gdmconfig-strings.c, gui/gdmconfig.glade:
Added Estonian entries.
2002-03-21 jacob berkman <jacob@ximian.com>
* gui/greeter/greeter.c: include signal.h. i can't find what
changed, and can't reproduce it on my 7.2 box, but we do use stuff
from that here and tinderbox is failing
Fri Mar 15 17:15:25 2002 George Lebl <jirka@5z.com>
* gui/gdmconfig.(c|h|glade2): A first try at making this actually
work. Edit the generated file in glade-2 and while it is ugly
it now actually gets done loading the whole thing.
Tue Mar 12 16:10:22 2002 George Lebl <jirka@5z.com>
* Merge in some changes from 2.2 branch
Tue Feb 19 17:28:11 2002 George Lebl <jirka@5z.com>
* gui/gdmconfig.glade: fix typo
* gui/gdmlogin.c: increase welcome string limit to 2048
* daemon/verify-pam.c: treat USER_UNKNOWN just like AUTH_ERR
2002-02-04 Karsten Weiss <knweiss@gmx.de>
* gui/gdmconfig-strings.c: Fixed a typo.
* gui/gdmlanguages.c: s/Azerbaidjani/Azerbaijani/
* config/gettextfoo.h: Fixed a typo.
* daemon/verify-pam.c: Ditto.
* daemon/gdm.c: Ditto.
* gui/gdmconfig-strings.c: Ditto.
2002-02-01 Pablo Saratxaga <pablo@mandrakesoft.com>
* gui/gdmlanguages.c: added some more languages for the menu
and corrected the Hebrew locale name ('iw' lang code has been
superseeded with 'he')
2002-02-01 Kjartan Maraas <kmaraas@gnome.org>
* daemon/gdm.c: Fix a typo.
* daemon/verify-pam.c: Same.
2002-03-05 jacob berkman <jacob@ximian.com>
* gui/Makefile.am (gdmchooser_LDADD):
(gdmlogin_LDADD):
* gui/greeter/Makefile.am (gdmgreeter_LDADD): add $(X_LIBS) and
$(X_EXTRA_LIBS)
* configure.in: fix some quoting, and add $(X_LIBS) and
$(X_EXTRA_LIBS) to the Xinerama and Xdmcp checks, since GTK
doesn't export them any more
* daemon/Makefile.am (gdm_LDADD): add $(X_LIBS) and -lXext since
GTK doesn't export them any more
2002-03-01 Havoc Pennington <hp@redhat.com>
* config/locale.alias: remove broken generic "english" entry
(created invalid LANG). Only have en_US and en_GB.
2002-02-18 Gediminas Paulauskas <menesis@delfi.lt>
* configure.in: remove non-existing GNOME_PLATFORM_GNOME_2
fix GNOME_COMPILE_WARNINGS for latest gnome-common.
2002-02-10 Abel Cheung <maddog@linux.org.hk>
* daemon/verify-shadow.c (gdm_verify_user): Synced string
with that of verify-pam.c, to avoid translating virtually
equivalent strings.
Fri Feb 8 19:40:07 2002 Jonathan Blandford <jrb@redhat.com>
* gui/greeter/greeter_action_language.c
(greeter_langauge_initialize_model): use the right column.
Fri Feb 8 17:33:20 2002 Jonathan Blandford <jrb@redhat.com>
* gui/greeter/greeter_action_language.c (greeter_action_language):
first cut at language selection.
2002-02-07 Alex Larsson <alexl@redhat.com>
* gui/greeter/Makefile.am (INCLUDES):
Fix for building with srcdir != builddir.
2002-02-07 Alex Larsson <alexl@redhat.com>
* gui/gdmlogin.c:
Set the cursor on the root window.
2002-02-07 Alex Larsson <alexl@redhat.com>
* configure.in:
Remove libgnomeui from greeter libs.
* gui/gdmwm.c:
Comment out unused bonobo_dock_item_grab_pointer()
that forces greeter to pull in libgnomeui.
* gui/gdmwm.h:
Don't include libgnomeui.h
* gui/greeter/greeter.c:
Include unistd.h
2002-02-06 Alex Larsson <alexl@redhat.com>
* gui/greeter/Makefile.am:
Add greeter_session.[ch].
* gui/greeter/greeter.[ch]:
* gui/greeter/greeter_configuration.h:
Hook up session code.
Read more config settings.
Export greeter_message(), greeter_query()
and greeter_abort()
* gui/greeter/greeter_item_pam.[ch]:
New function greeter_item_pam_set_user().
Export greeter_current_user.
add is_login argument to greeter_item_pam_prompt().
* gui/greeter/greeter_system.c:
Move greeter_query to greeter.c
* gui/greeter/themes/circles/circles.xml:
Test the session code.
2002-02-06 jacob berkman <jacob@ximian.com>
* gui/greeter/Makefile.am (gdmgreeter_SOURCES): add greeter.h
* gui/greeter/themes/circles/Makefile.am (EXTRA_DIST): add
$(circles_DATA)
2002-02-05 Alex Larsson <alexl@redhat.com>
* gui/greeter/greeter.c:
* gui/greeter/greeter_configuration.h:
Add use_circles_in_entry option.
* gui/greeter/greeter_canvas_item.c:
Call gtk_entry_set_invisible_char() if
greeter_use_circles_in_entry is set.
* gui/greeter/greeter_item_pam.c:
More pam conversation work.
* gui/greeter/themes/circles/circles.xml:
Change Help to System, because Help didn't
do anything, and we want to be able to test
system stuff.
Move the pam conversation items around to
a nicer positioning.
2002-02-05 Karsten Weiss <knweiss@gmx.de>
* daemon/gdm.c, daemon/slave.c, gui/gdmconfig.c:
Uppercase spelling for "XDMCP" in user-visible strings.
2002-02-05 Abel Cheung <maddog@linux.org.hk>
* configure.in (ALL_LINGUAS): zh_CN.GB2312 -> zh_CN
2002-02-04 Alex Larsson <alexl@redhat.com>
* gui/greeter/greeter.c:
* gui/greeter/greeter_item_pam.[ch]:
Implement the messages better.
* gui/greeter/themes/circles/circles.xml:
Try out the new messages
2002-02-04 Alex Larsson <alexl@redhat.com>
* gui/greeter/greeter_system.c:
Add system_button which is a dialog with all
shutdown options in it.
2002-02-04 Alex Larsson <alexl@redhat.com>
* gui/greeter/Makefile.am:
Add greeter_system.[ch].
* gui/greeter/greeter.c (greeter_setup_items):
Call greeter_item_system_setup().
* gui/greeter/greeter_system.[ch]:
Add some system-menu item handling.
* gui/greeter/themes/circles/circles.xml:
Pack the bottom buttons in a box.
2002-02-04 Alex Larsson <alexl@redhat.com>
* gui/greeter/greeter.c:
Set the locale.
* gui/greeter/greeter_parser.c:
Fix translation of strings.
* gui/greeter/themes/circles/circles.xml:
Fix test translation.
2002-02-04 Karsten Weiss <knweiss@gmx.de>
* gui/gdmconfig-strings.c: Fixed a typo.
* config/gettextfoo.h: Fixed a typo.
* daemon/verify-pam.c: Ditto.
* gui/gdmconfig-strings.c: Ditto.
2002-01-30 Alex Larsson <alexl@redhat.com>
* configure.in:
Add new makefiles to output.
* gui/greeter/Makefile.am:
Add themes subdir.
Add config file and theme dir defines.
Add greeter_configuration.h
* gui/greeter/greeter.c:
Parse config options.
Handle theme data search path.
* gui/greeter/greeter_parser.[ch]:
Handle theme data search path.
* gui/themes/*:
* gui/themes/circles/*:
Checking in theme data.
2002-01-29 Alex Larsson <alexl@redhat.com>
* gui/greeter/greeter_canvas_item.c:
Remove old anchor leftovers.
Set font_desc instead of font for text items.
* gui/greeter/greeter_geometry.c:
Set font_desc instead of font for text items.
2002-01-29 Alex Larsson <alexl@redhat.com>
* gui/greeter/Makefile.am:
Add WARN_CFLAGS to INCLUDES.
mumble mumble...
* gui/greeter/greeter.c:
Call greeter_layout() from main().
* gui/greeter/greeter_canvas_item.c:
Change anchor handling. Now it's done manually by
greeter_geometry.c for everything but labels.
* gui/greeter/greeter_geometry.[ch]:
Boxes now work.
* gui/greeter/greeter_parser.c:
* gui/greeter/greeter_item.h:
Add expand property to items
Build root item.
2002-01-29 Alexander Larsson <alla@lysator.liu.se>
* gui/greeter/Makefile.am:
Added new files.
* gui/greeter/greeter.c:
Update to get the root GreeterItemInfo.
* gui/greeter/greeter_item.[ch]:
Make items keep track of their parent.
Add orig_pixbufs[].
Add box_min_widht/height and size allocation stuff
* gui/greeter/greeter_parser.[ch]:
Rename homogenous to homogeneous.
Parse box min-width/height
Load pixmaps to orig_pixbufs[]
Keep track of items parents
Create root item info
* gui/greeter/greeter_canvas_item.[ch]:
* gui/greeter/greeter_geometry.[ch]:
New files. Not used yet.
Mon Jan 21 19:14:28 2002 George Lebl <jirka@5z.com>
* acconfig.h, configure.in: use GETTEXT_PACKAGE
* daemon/gdm.c, daemon/misc.[ch], daemon/verify-pam.c,
daemon/server.c, daemon/slave.c, daemon/display.c:
When displaying something on a console display it only
when the console is UTF-8, which is only true if
"gdmopen vt-is-UTF8 -q" returns 0 status. Else don't
actually translate anything and just print out the english/ASCII
version.
* daemon/verify-pam.c: Better check for existance of the pam
gdm configuration
* daemon/gdm.c, gui/gdmXnestchooser.c, gui/gdmchooser.c,
gui/gdmconfig.c, gui/gdmflexiserver.c, gui/gdmlogin.c,
gui/gdmphotosetup.c: property bind gettext stuff and make
sure we correctly set it up for UTF-8
2002-01-20 Alexander Larsson <alla@lysator.liu.se>
* gui/greeter/greeter_item.[ch]:
Add all fields from the XML file to the GreeterItemInfo structure.
* gui/greeter/greeter_parser.[ch]:
Huge reorganization. Now builds up the tree of GreeterItemInfos.
* gui/greeter/greeter.c:
Use new greeter_parse() API.
2002-01-18 Alex Larsson <alexl@redhat.com>
* configure.in:
Greeter needs libgnomeui, due to gdmwm!?
* gui/Makefile.am:
Build gdmwm as a helper library.
* gui/greeter/Makefile.am:
Link to xinerama and libgdmwm.
* gui/greeter/greeter.c:
Initial greeter communication.
* gui/greeter/greeter_item_pam.c:
Just print out anything gotten from the entry.
2002-01-16 Alex Larsson <alexl@redhat.com>
* gui/gdmlogin.c (gdm_event):
Correctly read the event, instead of segfaulting.
2002-01-15 Alex Larsson <alexl@redhat.com>
* configure.in:
* gui/Makefile.am:
* gui/greeter/*:
Import greeter into gdm2.
2002-01-15 Alex Larsson <alexl@redhat.com>
* Makefile.am (SUBDIRS):
Remove intl from SUBDIRS
* configure.in:
Remove intl/Makefile from AC_OUTPUT.
Sun Jan 13 21:58:36 2002 George Lebl <jirka@5z.com>
* Release 2.3.90.1
* daemon/md5.c: a bit of cleanup
2002-01-12 Kjartan Maraas <kmaraas@gnome.org>
* daemon/gdm.c: Fix a typo in a user visible string.
Fri Jan 11 15:03:25 2002 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: make welcome string 3 times bigger. Also fix
browser to actually work, and when moving make sure never to
go into negative, it's bad form.
* gui/Makefile.am, gui/gdmchooser.c, gui/gdmconfig.c: use the
libglade-convert thingie to make things somewhat work. Also
export symbols to make this somewhat work. the config still
doesn't work, but the chooser mostly should.
Fri Jan 11 12:44:27 2002 George Lebl <jirka@5z.com>
* configure.in: raise version
* Merge from 2.2 up to MERGE_3
2002-01-04 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure,in (ALL_LINGUAS): Added "eu".
Mon Dec 31 18:54:25 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: set egid to the correct value before we do setuid
to avoid running the session with gdm group privilages. (Note
that all session files run bash and thus drop those, but this
is a problem for the failsafes)
* gui/gdmlogin.c: Make PositionX and PositionY follow the standard
X geometry behaviour where negative values mean position from
lower/right edge
Thu Dec 27 16:45:04 2001 George Lebl <jirka@5z.com>
* Release 2.3.90.0
Thu Dec 27 16:43:21 2001 George Lebl <jirka@5z.com>
* configure.in: don't link libgnomeui and libglade to the
daemon any more
* daemon/errorgui.[ch], daemon/gdm.c, daemon/slave.c,
daemon/verify-*.c: Whack the exec hack for failsafe dialogs,
we now yet again do this all just by fork and gtk_init. This
seems to work and is truly failsafe
* daemon/gdm-net.c: fix hanging caused by some new crack in
giochannel, we just do a libc 'read' and that works
* daemon/server.c, daemon/gdm.[ch]: again some new crack in glib's
mainloop was causing g_main_loop_quit to not work right if called
from a signal handler (sometimes). So I just switched to using
a simple select call and a dummy pipe.
* daemon/Makefile.am, daemon/auth.c, daemon/errorgui.c,
daemon/gdm-net.c, daemon/gdm.c, daemon/server.c, daemon/slave.c,
daemon/verify-crypt.c, daemon/verify-pam.c, daemon/verify-shadow.c,
daemon/xdmcp.c: Compile without any deprecated stuff from glib up
Thu Dec 27 14:04:27 2001 George Lebl <jirka@5z.com>
* gui/Makefile.am: remove gdmchooser.h
* Merge from stable up to 2.2.5.3 release tag
Wed Dec 26 17:20:28 2001 George Lebl <jirka@5z.com>
* daemon/veriyfy-crypt.c, daemon/verify-shadow.c: include
errorgui.h
Fri Dec 21 18:09:03 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c, gui/gdmconfig.c, gui/gdmphotosetup.c,
gui/gdmchooser.c, gui/gdmwm.c: Remove more deprecated things
and minor fixes that were related. Doesn't actually compile
without deprecated things yet, but it's closer now.
Thu Dec 20 19:51:02 2001 George Lebl <jirka@5z.com>
* daemon/errorgui.c, daeomon/gdm.c: some s/ve_setenv/gnome_setenv/
* daemon/gdm.c, daemon/misc.[ch], daemon/slave.c: optionally preserve
LD_ variables. This is mostly for testing and normally isn't
done. Also add the nodaemon option as a popt option so that it
actually works, and some cleanup in the main function.
* daemon/server.c: some debug output
* gui/gdmlogin.c: fix keyboard input bug, fix compile with new
libgnomeui, actually use the scrollbar
Thu Dec 20 16:49:52 2001 George Lebl <jirka@5z.com>
* Merge from stable from 2.2.5.2 release tag up
Thu Dec 20 16:27:40 2001 George Lebl <jirka@5z.com>
* daemon/verify-pam.c: apparently the actually correct
order (Which actually makes sense) is setcred/open_session.
This is apparently the 'offical' word from the linux-pam
people. Though not everybody agrees. Well screw this,
this makes sense, so this is the way it will be damnit :)
* gui/gdmconfig.c: fix saving of server definitions
* gui/gdmlogin.c: add ability to have newlines in the
welcome string by just adding \n into the strings
Thu Dec 06 22:09:11 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: Fix TimedLogin I broke on last commit
* daemon/verify-pam.c: For autologin, still call authenticate,
but use the service gdm-autologin. Also a bit of cleanup.
* config/gdm-autologin, config/Makefile.am: A promiscuous
service. This will let anyone in, gdm uses this for autologin
or timed login when we want to let a user in without a password,
this way we can follow all the proper pam doodaah with
pam_authenticate and all that so we can safely call setcred
Tue Dec 04 20:46:57 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c, daemon/misc.[ch], daemon/display.c: On events where
we fail due to bad configuration, run the text message dialog.
Also if we hit the loop of death outside of XFAILED on a local
display, run a text message telling the user so instead of just
putting this into the syslog. We need more interaction here I
think. But this is better then nothing.
Tue Dec 04 18:44:10 2001 George Lebl <jirka@5z.com>
* daemon/Makefile.am, daemon/verify-pam.c, daemon/verify-crypt.c,
daemon/verify-shadow.c, daemon/verify.h, daemon/misc.[ch],
daemon/slave.c: revamp the PAM support based on a patch
from Karsten Petersen <karsten.petersen@informatik.tu-chemnitz.de>.
Move the open session and setcred back to verify, implement
account checking more properly, especially for auto logins. We
assume the pamh existing when needed. And don't do the weird
ensure hack. Also setgid and initgroups in the verify/setup
function. rename the open_session function to setup_env, since
that's what it does. Also implement more checking of errors
during login process.
* daemon/gdm.c, daemon/errorgui.c: make sure that we're not 'setuid'
looking in the failsafes. Also correctly setup "PATH" from stored
path.
* daemon/slave.c: fix race where USR2 was expected from a
non-existant parent. This can happen when you do 'killall gdm'
Mon Dec 10 08:23:00 2001 Trevor Curtis <tcurtis@somaradio.ca>
* docs/C/gdm.xml: updated the doc to use the FDL, and cleaned up a
few things
Fri Dec 7 23:02:12 2001 Trevor Curtis <tcurtis@somaradio.ca>
* doc/C/gdmconfig/C/gdm.xml: removed Tim Jansen from documentation
at his request
Fri Dec 7 06:33:13 2001 Trevor Curtis <tcurtis@soamradio.ca>
* docs/C/gdmconfig/C/gdm.xml: created xml version of gdmconfig
documentation
Fri Dec 7 05:05:26 2001 Trevor Curtis <tcurtis@somaradio.ca>
* docs/C/gdm.xml: created xml version of gdm documentation
Fri Nov 30 17:38:47 2001 George Lebl <jirka@5z.com>
* configure.in, gui/Makefile.am, daemon/Makefile.am: fix xinerama
compilation
* gui/gdmconfig.c: define GTK_ENABLE_BROKEN to be able to use GtkText
for now
* gui/gdmlogin.c: fix some s/int/gsize/, accelerators bind to
"activate" signal, and use GNOME_PARAM_ENABLE_SOUND instead
of the argv hack
Thu Nov 22 00:47:23 2001 George Lebl <jirka@5z.com>
* Merge from stable up to 2.2.5.2 release tag
Wed Nov 21 21:12:58 2001 George Lebl <jirka@5z.com>
* daemon/slave.c, daemon/xdmcp.c: Fix minor leaks
Wed Nov 21 20:58:24 2001 George Lebl <jirka@5z.com>
* gui/gdmwm.c: Support the InputHint to support No Input windows,
so that we can support things like xscribble and keyboards and
other accessibility and such doodaahs. Based on a patch from
Crossfire <xfire@xware.cx>
Wed Nov 21 19:46:50 2001 George Lebl <jirka@5z.com>
* daemon/server.c: keep 4 old x server logs in a logrotate like
manner to make debugging X server problems easier
2001-11-17 Carlos Perelló Marín <carlos@gnome-db.org>
* configure.in (ALL_LINGUAS): Added pt.
Fri Nov 16 12:38:30 2001 George Lebl <jirka@5z.com>
Yay! it like all builds and stuff
* gui/gdmlogin.c: fix crash for timed logins
* config/gdm.conf.in, daemon/gdm.h, gui/gdmlogin.c,
gui/gdmconfig.(c|h|glade): Remove the font option, it can now be
done by using the pango markup in the welcome message
* gui/gdmchooser.h gui/gdmlogin.h, gui/Makefile.am: remove useless
header files.
* gui/gdmchooser.c: reorganize the code a bit to remove useless
forward declarations
* gui/gdmchooser.c, gui/gdmlogin.c, gui/gdmconfig.[ch],
gui/gdmflexiserver.c, gui/gdmwm.[ch], gui/misc.h: Port to
pixbuf and gnome2.
* utils/Makefile.am: remove (includedir) to make it not pickup gnome1
headers
Fri Nov 16 02:15:06 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.c: include unistd.h
* Makefile.am, gui/Makefile.am: update for intltool
* configure.in: vicious-extensions doesn't define the envvar
functions
* daemon/auth.c, daemon/gdm.c, daemon/misc.c, daemon/server.c,
daemon/slave.c, gui/gdmXnestchooser.c, gui/gdmconfig.c,
gui/gdmlogin.c: Use change to use the glib functions where
old ve_* or gnome_* functions were used and also change to
use the gnome_(setenv|unsetenv|clearenv) functions.
* gui/gdmwm.c: port to gnome2
* gui/gdmchooser.[ch]: port to gnome2 a bit, remove imlib dep, sanitize
the interface broadcast stuff
* daemon/gdm.c: clean up the signal stuff source thing
Thu Nov 15 23:25:41 2001 George Lebl <jirka@5z.com>
* configure.in: some build fixes
* **/*.c: remove RCSid's as they are un-fun for merging
* Merge from gdm-2-2:
Thu Nov 15 21:18:48 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.[ch], daemon/server.c, gui/gdmlogin.c:
clean up a bit of the constants mess (though it's still an utter
mess). Implement a new SUP opcode so that the daemon knows
when the server was started so that it can start local servers
in order, so that things like complete machine lockups don't occur
(I got one just testing this). Also add a 3 second 'padding'
between server starts to really be sure.
* config/gdm.conf.in: add some comments, mostly for distributions
2001-11-06 Gregory Leblanc <gleblanc@linuxweasel.com>
* gdm.spec.in: more minor updates, just to piss George off. :-)
There's a ChangeLog in the file, if you care that much.
Mon Nov 05 21:28:43 2001 George Lebl <jirka@5z.com>
* configure.in, **/Makefile.am, daemon/*.[ch], utils/*.[ch],
gui/*.[ch]: Begin GNOME 2.0 porting. Not complete yet,
daemon may 'compile', gui doesn't compile yet
Thu Nov 01 01:06:21 2001 George Lebl <jirka@5z.com>
* Release 2.2.5.1
Sun Oct 28 12:15:50 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: when the server refuses to be started, some error
in the start code. Tell the user that we have no clue what's
happening and give up.
Sun Oct 28 11:56:33 2001 George Lebl <jirka@5z.com>
* daemon/auth.c, daemon/misc.[ch], daemon/xdmcp.[ch]: be more
thorough in setting up address/cookie pairs for local servers,
and make sure to always setup localhost.localdomain and
loopback. Don't use hostname based lookup on local servers,
but use the same code we use for xdmcp peeking local addresses.
This will make it possible to start an X server and login
even if the hostname is out of whack.
Sun Oct 28 10:46:21 2001 Christophe Merlet <christophe@merlet.net>
* gui/gdmXnestchooser.c: corrected just a little typo.
Sat Oct 27 21:44:20 2001 George Lebl <jirka@5z.com>
* daemon/slave.c, daemon/verify-*.c: put the sleep day in the verify
code, and in pam verification use the pam sleep to do the same
if available. This means that the error will come after the sleep
but that the sleep will be 1) random 2) not doubled with both the
gdm and the pam sleep. Second always print the "Please enter your
username" message on the verify not just the first time.
Sat Oct 27 14:56:47 2001 George Lebl <jirka@5z.com>
* configure.in: raise version to 2.2.5.1
* daemon/errorgui.[ch], daemon/gdm.c: add yesno error dialog
* daemon/auth.[ch], daemon/slave.c: allow logins without a home
dir (it will be set to '/') but only after properly warning the
user about it, and asking him if he wants to continue.
Sat Oct 27 13:22:48 2001 George Lebl <jirka@5z.com>
* daemon/verify-*.c, daemon/slave.c, daemon/gdm.h, gui/gdmlogin.c:
Make pam errors and such pop up in a dialog box to make sure
the user notices them. If the login gets a QUIT and it had some
informative messages to tell the user but there was no prompt
in between (that is, the user hasn't read them), display it in
a dialog.
* daemon/gdmlogin.c: fix focus after uniconify
Fri Oct 26 01:01:53 2001 George Lebl <jirka@5z.com>
* config/Gnome.in: run ssh-agent if available, also remove some
bashisms, patch taken and modified from Ximian SRPM
Fri Oct 26 00:30:45 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: try also appending .png to the face file to support
KDE like faces (fixed version of Mandrake SRPM patch)
* gui/gdmlogin.c: Accept KP_Enter as return as well (from Mandrake)
* daemon/server.c: change perms on open to 0644, those were the perms
actually used anyway because of umask, but this makes the code
easier to read.
* config/XKeepsCrashing: fix some logic, fix for filenames with
spaces, test for XFdrake so that this works seemlessy on Mandrake,
also add xf86cfg to the list of configurators, also kill some
bashism. If we can't find a configurator still offer to display
the server output and then disable the server.
* gdmconfig-security.in: make FALLBACK false, as it doesn't make
sense to have fallback, also make SESSION true as per redhat
patches
* gdmconfig-pam: apply the redhat patch. It seems to me that is
the more correct way to handle it in general. Scream at me if
it is wrong.
* configure.in: make console helper automatically detected and
used if present.
Thu Oct 25 20:28:03 2001 George Lebl <jirka@5z.com>
* daemon/misc.[ch], daemon/display.c, daemon/errorgui.c,
daemon/gdm.c, daemon/server.c, daemon/slave.c: Super fork race
killing patch, suspend both SIGCHLD and TERM/INT/HUP over
forks, suspend CHLD over short waitpids. Fix races where
the switch logic after forks may have gotten confused. A tiny bit
of unrelated cleanup as well.
Thu Oct 25 01:49:57 2001 George Lebl <jirka@5z.com>
* config/XKeepsCrashing: fix minor issues
* daemon/gdm.c: set TEXTDOMAIN and TEXTDOMAINDIR for XKeepsCrashing
* utils/gdmopen.c: echo \033(K onto the console to make sure
that non lat1 fonts get set up
* daemon/gdm.h, daemon/server.c, daemon/slave.c: When starting
a server consider loss of connection within 5 seconds a crash
no matter what. It seems that for example not being able
to open a mouse manifests self AFTER server tells us
it's ready and we XOpenDisplay. Actually it's 5 seconds from
the USR1, which means 5 seconds after it's ready to accept
connections.
Wed Oct 24 17:57:03 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], gui/gdmconfig.(c|glade), config/gdm.conf.in:
Don't pass extra arguments to XKeepsCrashing, and whack the X
configurators option since that is now changed by editting the
XKeepsCrashing script directly.
* config/XKeepsCrashing, config/Makefile.am, config/gettextfoo.h,
po/POTFILES.in, config/extract-shell.sh: Rework the XKeepsCrashing
script, configurator is found from a list in the script. If the
error is a mouse error try the mouseconfig configurator first.
Messages are now gotten by gettext -s directly and extracted
by a simple stupid script, that needs a tad of work still I think.
* docs/C/gdm.sgml: Remove the XKeepsCrashingConfigurators option
Wed Oct 24 11:39:54 2001 George Lebl <jirka@5z.com>
* utils/gdmmktemp.c, utils/Makefile.am: rename to gdmmktemp,
make it build, and install in /bin
Wed Oct 24 11:02:55 2001 George Lebl <jirka@5z.com>
* utils/gdmkstemp.c, utils/Makefile.am: add a small utility
for safely making temp files
Wed Oct 24 01:22:41 2001 George Lebl <jirka@5z.com>
* docs/C/gdm.sgml: remove documentation of the VerboseAuth option
Wed Oct 24 01:26:47 2001 George Lebl <jirka@5z.com>
* bin/gdm.[ch], bin/verify-*.c, config/gdm.conf.in,
gui/gdmconfig.(c|glade): Remove the VerboseAuth conf variable,
it provided absolutely zero extra security (since it didn't divulge
any info the user cannot get by other means, and making it
false just made the whole thing less usable and more confusing)
* bin/gdm.c: include locale.h
Tue Oct 23 15:17:23 2001 George Lebl <jirka@5z.com>
* gui/gdmXnestchooser.c: add --broadcast, --direct and
--no-gdm-check, rename --no-chooser to --no-query, fix
backgrounding vs. gtk and don't do checks when we don't need
to (on no-query, broadcast or no-gdm-check)
Tue Oct 23 02:32:05 2001 George Lebl <jirka@5z.com>
* gui/gdmXnestchooser.c: make this more useful, make it possible
to specify a custom Xnest/options to run and default to running
the one from the config. Also add option to background the
process, and an option to run no chooser, just Xnest, and have it
print out the DISPLAY setting to use for the display.
Sat Oct 20 16:26:34 2001 George Lebl <jirka@5z.com>
* configure.in, gui/Makefile.am: a bit of makefile cleanup and
make sure we REQUIRE libglade in the configure.in
Sat Oct 20 14:11:02 2001 George Lebl <jirka@5z.com>
* daemon/errorgui.c, daemon/server.c: a bit of debug output.
* daemon/slave.c: check the home dir, if it doesn't exist (or is not
a directory, then tell the user and try again. Maybe we should
continue and let the session fail, should we? I don't see any
merit in trying to log in with no home dir. Also, clean up verify
on auth problems, in term handler don't reset the signal mask,
and fix some possible races and whack the chooser, same in
xioerror handler. In slave_exit, mask the CHLD signal to avoid
races, and other race fixes
Sat Oct 20 13:31:07 2001 George Lebl <jirka@5z.com>
* utils/gdmopen.c: set VT_NUMBER env var
* gui/gdmwm.c: Fix a race for MapNotify so that newly created windows
are always focused
Sat Oct 20 12:03:14 2001 George Lebl <jirka@5z.com>
* docs/C/Makefile.am: DESTDIR added patch by: frodol@dds.nl (Frodo
Looijaard)
Sat Oct 20 11:57:50 2001 George Lebl <jirka@5z.com>
Patches from: Heath Nielson <heath@cs.byu.edu>
* daemon/slave.c: Fix from the FreeBSD bugtracker to fix a crash
related to setenv (foo, NULL, 1).
* daemon/gdm-net.c: Fix from the FreeBSD bugtracker to fix creation
of the local socket
Mon Oct 15 23:32:22 2001 George Lebl <jirka@5z.com>
* Release 2.2.4.3
Mon Oct 15 23:28:45 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in: the xdmcp indirect and manage waits were
too long, changed to 15 seconds. If you can't finish the
xdmcp conversation in 15 seconds, you don't really have a
connection you want to use X on.
Fri Oct 12 12:52:08 2001 George Lebl <jirka@5z.com>
* configure.in, daemon/Makefile.am, gui/Makefile.am,
utils/Makefile.am: Apply patch from Ali Akcaagac
<ali.akcaagac@stud.fh-wilhelmshaven.de> for compatibility
with automake 1.5 and autoconf 2.50
* config/locale.alias, gui/languages.c: Make russian use KOI8-R and
add ukrainian
Mon Oct 08 20:54:33 2001 George Lebl <jirka@5z.com>
* daemon/auth.c: Fix small leak
* daemon/server.[ch], daemon/slave.c: wipe cookies better and safer
* daemon/server.c: server killing right after launch race fixed,
probably was harmless though, also reset the vt number on linux
before starting a new server.
* daemon/slave.c: increase the loop of death time for logouts, and
always redo parsed automatic/timed login vars after each display
start as the display number / hostname might have changed. When
we can't open a display, it's XFAILED rather then REMANAGE so
that we go into the "your X sucks" dialog. We need better
error reporting though.
Sun Oct 07 16:55:24 2001 Fatih Demir <kabalak@gtranslator.org>
* configure.in: Added "ta" to the languages list.
Fri Oct 05 13:58:41 2001 George Lebl <jirka@5z.com>
* daemon/verify-pam.c: user PAM_ESTABLISH_CRED for pam_setcred
Thu Oct 04 13:19:50 2001 George Lebl <jirka@5z.com>
* Release 2.2.4.2
Thu Oct 04 13:18:30 2001 George Lebl <jirka@5z.com>
* daemon/misc.c: the mode for sticky 01777 not 02777. Whoops.
Thu Oct 04 00:12:05 2001 George Lebl <jirka@5z.com>
* daemon/misc.c, gui/gdmXnestserver.c: also check stale lock files
when looking for empty display names
Wed Oct 03 23:54:49 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.c: fix segfault on send_got_manged_forward
Wed Oct 03 20:26:27 2001 George Lebl <jirka@5z.com>
* daemon/misc.[ch], daemon/slave.[ch]: ensure the /tmp/.ICE-unix
directory. Hopefully we're correct.
* daemon/server.c: when running server as root, unset suplementary
groups and set group to 0. So that the files X creates it creates
with gid 0 as well rather then with the 'gdm' group name.
Wed Sep 26 23:54:11 2001 George Lebl <jirka@5z.com>
* daemon/gdm-net.c, gui/gdmflexiserver.c: deal with the case where
MSG_NOSIGNAL is not defined by temporairly ignoring the SIGPIPE
signal. Fixes #60586
Wed Sep 26 21:01:38 2001 George Lebl <jirka@5z.com>
* daemon/verify.h, daemon/verify-*.c, daemon/slave.c,
daemon/errorgui.[ch], daemon/gdm.c: Add a failsafe question
dialog similar in operation to the failsafe error box, and use
it in the standalone pam conv function. Kill all instances of
PAM_SILENT since we can now always converse with the user.
* daemon/verify-pam.c: use a global pamh again but this time a bit
smarter. Make sure if we use a global one that it has all the
right things set. Also set PAM_RHOST to "localhost" or the remote
host if not a "console" login. Set PAM_RUSER to "gdm" (or whatever
the gdm user is). I'm sure I'm fucking something up again but
I can't find enough docs to verify that what I'm doing is 100%
correct. Not to mention that there seem to be some braindead
modules out there to begin with.
Mon Sep 17 07:17:32 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: fix crash when quiver would happen while
iconized
* daemon/misc.c: include signal.h
* gui/gdmlogin.c: don't go nuts on just minor version change, only
tell the user to piss of when the greeter protocol version changed.
Thu Sep 13 00:20:46 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Apply patch from Ali Akcaagac
<ali.akcaagac@stud.fh-wilhelmshaven.de> to fix up the 24hr time
display to not show the %p
Tue Sep 11 02:34:47 2001 George Lebl <jirka@5z.com>
* daemon/gdm.h, config/gdm.conf.in, gui/gdmconfig.(c|glade),
gui/gdmlogin.c, docs/C/gdm.sgml: Apply and finish a patch from
Terje Rosten <terjeros@phys.ntnu.no> to add an option to force
24 hour clock on the greeter
Tue Sep 11 01:37:42 2001 George Lebl <jirka@5z.com>
* daemon/errorgui.c: use the safe fork function
* daemon/gdm.c: a doh kind of error, waitpid returns 0 to mean
'no child', not -1 as I assumed.
* gui/gdmflexiserver.c: another doh!, actually whack the screen
portion of the display number
Mon Sep 10 20:20:59 2001 George Lebl <jirka@5z.com>
* configure.in: raise version
* daemon/gdm.[ch], daemon/auth.c, daemon/misc.[ch], daemon/display.c,
daemon/server.c, daemon/slave.c, gui/gdmflexiserver.c: Implement
a new scheme for the FLEXI_XNEST command. Old implementations
will get ERROR 100 (I doubt there are any). This solves some
security issues with the Xnest stuff. The Xnest server is now
run as the user who owns the .Xauthority file, but only if that
file is readable ONLY by the user and only if the user can
access keys inside it. An MIT-MAGIC-COOKIE-1 must exist for
the current display on which Xnest will run. This is of course
true for gdm created sessions.
* daemon/misc.[ch], daemon/gdm.c, daemon/server.c, daemon/slave.c,
daemon/display.c: Implement a race safe fork, and improve the
signal handlers to handle some more corner cases and avoid some
races. Also remove the old last_killed_pid hack since it's now
handled nicer.
* daemon/gdm.[ch]: add a protocol
Sat Sep 08 02:35:51 2001 George Lebl <jirka@5z.com>
* daemon/verify-pam.c: OK, PAM documentation is officially on crack.
Some places (the kernel.org web manual) say order should be
set_cred -> open_session, but it seems that the order is
open_session -> set_cred. Should fix #59977
Sat Sep 08 02:06:44 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.c: use pclose on popen'ed FILE *
Thu Sep 06 20:17:31 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c: handle error from fork when daemonizing well
Thu Sep 06 15:55:20 2001 George Lebl <jirka@5z.com>
* gui/gdmwm.c: "fix" for the toolbar deadlock problem. apparently
gnome-dock code is pretty braindead and uses the bulldog technique
for grabbing the pointer, grab in a tight loop until we succeed.
But the it will fail until the main loop is hit so a deadlock
results. Fix this by defining that function again in gdmwm with
a more "maybe" correct semantics.
Tue Sep 4 18:52:10 2001 Trevor Curtis <tcurtis@somaradio.ca>
* docs/gdmconfig/C/figures/GDM_xserv_setup.png,GDM_xdmcp.png:
Updated the above screenshots to reflect recent changes.
Wed Sep 5 03:18:43 2001 Abel Cheung <maddog@linux.org.hk>
* config/locale.alias: Rename zh_TW.Big5 to zh_TW .
Mon Sep 03 00:38:23 2001 George Lebl <jirka@5z.com>
* gui/gdmflexiserver.c: When we run a new flexi server lock the
current screen with xscreensaver. We need a nicer locker though
and one that can also run gdmflexiserver. And this even for normal
gnome locking. It would be nice if xscreensaver allowed a custom
locker dialog.
Mon Sep 3 01:34:17 EDT 2001 Trevor Curtis <tcurtis@somaradio.ca>
* gdmconfig.sgml: updated the gdmconfig document to reflect
the changes in the gui, gdmconfig.
Sun Sep 02 16:44:28 2001 George Lebl <jirka@5z.com>
* daemon/gdm.h, daemon/xdmcp.c: Implement a GOT_MANAGED_FORWARD
opcode. Also send MANAGED_FORWARD 3 times (1.5 sec spaced apart)
or until we get a GOT_MANAGED_FORWARD. This is a compatible
change to the gdm xdmcp protocol so version wasn't raised.
Sat Sep 01 14:53:22 2001 George Lebl <jirka@5z.com>
* AUTHORS, docs/gdmconfig/C/gdmconfig.sgml: Updated trevors email
Sat Sep 01 07:00:52 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.c: the decline messages were switched still. I've
been up too late
Sat Sep 01 05:31:07 2001 George Lebl <jirka@5z.com>
* Release 2.2.4.1
Sat Sep 01 05:29:31 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.[ch], daemon/choose.c: Fix decline strings, and
make the MANAGED_FORWARD work if the origin address is local.
Sat Sep 01 04:15:38 2001 George Lebl <jirka@5z.com>
* daemon/gdm.h, daemon/xdmcp.c, daemon/choose.[ch]: Change the gdm
extension protocol, the MANAGED_FORWARD passes address of origin
rather then hostname of self. And we now handle the message
correctly. Also on DECLINE, send a descriptive english string
to aid in debugging XDMCP setup.
* configure.in: raise version
* config/gdm.conf.in: add the DisplaysPerHost default
Sat Sep 01 00:47:36 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.c, daemon/gdm.[ch], daemon/server.c: Implement
DisplaysPerHost which was documented so it should have worked
in the first place
* daemon/xdmcp.c, daemon/server.c, daemon/auth.c, daemon/gdm.c,
daemon/choose.c, daemon/cookie.c, daemon/display.c, daemon/slave.c,
gui/gdmlogin.c: fix some memleaks, none really dangerous
* daemon/xdmcp.c: messages such as status information shouldn't be
translated. Because they go over a wire with no specification of
charset or language.
* gui/gdmlogin.c: Fix broken "session don't exist wanna save new one"
message
* daemon/gdm.c: Make sure static display numbers are unique.
and fix a possible crash in flexible server code
* docs/C/gdm.sgml: a small update
* gui/gdmflexiserver.c: Add -a (--authenticate) command so that
when using the --command option we can auth first, useful for
testing.
Fri Aug 31 20:22:33 2001 George Lebl <jirka@5z.com>
* docs/C/gdm.sgml: Update for all the server def stuff.
Fri Aug 31 18:21:46 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.c: run the Willing script at most once every 3
seconds. That way we can prevent some DOS attacks.
* docs/C/gdm.sgml: update
Fri Aug 31 18:12:05 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in, daemon/gdm.[ch], daemon/xdmcp.c: Add an
xdmcp/Willing script configuration option. To run a script
when the system gets the QUERY command. Original patch
by Matt Forrest <mforrest@scs.ryerson.ca>, but heavily modified.
* daemon/gdm.c: Fix checks for the chooser and greeter binaries
* gui/gdmconfig.{glade,c}: Add configuration for the Willing
thing
* docs/C/gdm.sgml: Document some of the new configuration keys.
Not everything is documented yet.
Fri Aug 31 17:04:02 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.c: Fix reading and changing servers with respect
to server numbers. All server numbers are now normalized and
they equal the actual row (such assumptions were made before,
but were not enforced). Also fix some memory leaks.
Fri Aug 31 16:34:58 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.c: fix writing of servers to config file
2001-08-31 Abel Cheung <maddog@linux.org.hk>
* configure.in (ALL_LINGUAS): zh_TW.Big5 -> zh_TW
Tue Aug 28 23:17:41 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: s/login/username/ one more time, and in XDMCP
mode call it "Disconnect" not "Quit", but in flexi mode, it should
still be "Quit".
Tue Aug 28 19:23:34 2001 George Lebl <jirka@5z.com>
* gdm.spec.in: redo restart logic to be a lot smarter and not hang
on leftover fifo's
Tue Aug 28 17:37:12 2001 George Lebl <jirka@5z.com>
* Release 2.2.4.0
2001-08-27 Abel Cheung <maddog@linux.org.hk>
* daemon/filecheck.c (gdm_file_check): make the meaning of a syslog
string a bit clearer. (hope not in string freeze now)
Sun Aug 26 01:45:33 2001 George Lebl <jirka@5z.com>
* daemon/auth.c, daemon/cookie.c: Minor cleanup and paranoia
* daemon/gdm-net.[ch], daemon/gdm.[ch], daemon/server.c,
daemon/slave.[ch]: The daemon now keeps track of the cookies in
text form at least so that it can do authentication of it's own.
FLEXI_XSERVER now requires an "authenticated" socket connection
using AUTH_LOCAL (a new opcode). This way only those users that
are logged in from gdm on a console can start new
console/fullscreen flexi servers. I mean for remote people it
wouldn't work anyway.
* gui/gdmflexiserver.c: implement AUTH_LOCAL authentication scheme
by reading from the .Xauthority file and looking for FamilyLocal
entries from gdm. (or those looking like it). Tests all candidates
and find the one that works for gdm. This could cause some
gdm_info messages in the log, but I suppose that's ok, vast
majority of the time there will only be one that is even tried.
Also added a debug flag and get xauth filename from XauFileName
rather then my own hand created method.
Sat Aug 25 21:35:29 2001 George Lebl <jirka@5z.com>
* daemon/display.c, daemon/gdm.c: don't use an extra printf, if
this was user supplied it could have been a security hole, like
this it was just one extra allocation.
* gui/gdmXnestchooser.c, gui/gdmchooser.c: cast address argument
to connect to avoid a warning.
Sat Aug 25 10:06:39 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c, daemon/misc.c: Fix wiping of pid file on
"gdm already exists" message
* daemon/gdm.c, daemon/gdm-net.c: Don't unlink files on close.
Instead only unlink things on final_cleanup. This fixes the
disappearing socket trick.
* gui/gdmflexiserver.c: When not local refuse to run. This is still
not perfect. But I don't suppose we'll get much better.
Unfortunately a new string. The translators will beat me up.
Fri Aug 24 19:32:42 2001 George Lebl <jirka@5z.com>
* docs/sgmldocs.make: update to newest from gnome-core
Thu Aug 23 12:03:41 2001 George Lebl <jirka@5z.com>
* configure.in: add gdmopen and gdkaskpass to the summary
Thu Aug 23 10:10:33 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in: Update for the server stuff
* daemon/display.c, daemon/errorgui.c, daemon/misc.c, daemon/slave.c:
close fds no longer needed. Close all needed things after
forking, Some other related cleanup as well.
* gui/gdmlogin.c: A minor UI cleanup, make the entry at least
250 pixels wide, in an attempt t make the window not change size
all the time
* gui/gdmphotosetup.c: Don't require the browser to be on. Just
warn the user that the browser is off, but still let him pick
the face.
Wed Aug 22 23:23:21 2001 George Lebl <jirka@5z.com>
* config/XKeepsCrashing, daemon/misc.c: Also test for whiptail if
we can't find dialog nor gdialog
* daemon/misc.[ch], daemon/gdm.c: Make sure things that run dialog
(and could thus run gdialog) don't have DISPLAY set
Wed Aug 22 23:01:59 2001 George Lebl <jirka@5z.com>
* configure.in, Makefile.am, utils/gdmopen.c, utils/gdmaskpass.c:
Add two new small sbin utils. gdmopen is like open (based on it)
but better suited for gdm. Exitcode is returned so no temp files
are needed. Process is cleaned up on a signal, the new vt is
deallocated after use. And unlike openvt this thing actually waits
for the child. Gdmaskpass just asks for the root password, for
use in the XKeepsCrashing script. Both of these things will only
run as root as I'm too paranoid and it doesn't make sense for
them to run otherwise for gdm anyway.
* configure.in: Fix sbin expansion.
* daemon/gdm.c, daemon/misc.[ch], daemon/slave.c, daemon/server.c:
Use gdmopen to run dialog and add helper functions for doing this.
* daemon/gdm.h, daemon/slave.c, daemon/server.[ch]: When a server is
busy, ask the user if we want to run it on a new display number
or retry.
* daemon/gdm.c, daemon/misc.c, daemon/slave.c: Make sure to whack
any extra helper processes we launch when we are killed so that
we don't leave things like 'dialog' processes around
* daemon/gdm.c, config/XKeepsCrashing: Use gdmaskpass, ask if
the user wants to view X logs if X is crashing. And use gdmopen
in the script and correctly abort with exit 32. Also make it
not use the ugly tempfile stuff (Though a tempfile is still given
to the script for now)
* gdm.spec.in: raise epoch to 1, people abuse this field, and if they
do abuse it again and raise it beyond 1, I'll just max it out since
it makes package upgrading not work.
* daemon/slave.c, daemon/verify-(pam|crypt|shadow).c: add
/sbin/nologin as a thing to test for for disabled logins in
addition to /bin/false and /bin/true (it worked, but this adds a
nicer message)
* daemon/xdmcp.c: fix a warning.
* gui/gdmflexiserver.desktop.in: kill TryExec here
Tue Aug 21 04:42:05 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.[ch]: Finish the editting of the server definitions.
BTW, this is incredibly evil and ugly code and should be cleaned
up one of these days. I feel sort of dirty for doing it :)
Tue Aug 21 03:03:49 2001 George Lebl <jirka@5z.com>
* configure.in: raise version number
* daemon/display.c, daemon/gdm.[ch], daemon/server.[ch],
daemon/slave.c, daemon/xdmcp.c: Send back info about current
user and get the VT number on linux. Implement a command in
the control protocol for getting a list of console logins
* gui/gdmflexiserver.c: add an option for sending arbitrary commands
to gdm for testing, and remove debugging output
Mon Aug 20 01:10:24 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.c: finish editting of static servers and a bit
of work on server definitions editting.
Sun Aug 19 14:47:09 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.(c|glade): work more on server editting, now fills
out the static server edit dialog correctly
2001-08-19 Jesus Bravo Alvarez <jba@pobox.com>
* config/locale.alias, gui/gdmlanguages.c, gui/gdmconfig.glade,
gui/gdmconfig-strings.c: Added Galician (gl_ES) and Brazilian
Portuguese (pt_BR) entries.
Sat Aug 18 18:17:44 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch]: add some code for choosable servers (not
implemented yet
* daemon/misc.c: search our own displays for used numbers first
* daemon/gdm.c, daemon/server.c, daemon/slave.c: Finish implementing
choosing of flexi servers
* daemon/slave.c, daemon/verify{,-pam,-crypt,-shadow}.[ch]:
Correctly implement credential setting and some pam related
fixes
* gui/gdmconfig.(c|h|glade): Start on making configuration for
all the new stuff including the server definitions, not finished
yet.
* gui/gdmflexiserver.c: if there are multiple flexible servers,
give the user a choice
* gui/gdmflexiserver-xnest.desktop.in: only show if Xnest exists
Fri Aug 17 23:56:14 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in: Add a standard server definition and the Xnest
key
* daemon/gdm.[ch], daemon/server.c: Add server definition reading
and using
Fri Aug 17 14:47:08 2001 George Lebl <jirka@5z.com>
* docs/C/Makefile.am: fix rules since the .sgml file changed
Fri Aug 17 04:42:34 2001 George Lebl <jirka@5z.com>
* daemon/auth.c, daemon/display.c, daemon/gdm-net.[ch],
daemon/gdm.[ch], daemon/server.[ch], daemon/slave.[ch]:
Finish implementation of flexible servers and lots of related
cleanup and restructuring that was related.
* daemon/server.c: close all fd's when running the X server.
* gui/gdmflexiserver.c: implement the updated protocol and implement
all the error codes
* gui/Makefile.am, gui/gdmflexiserver(|-xnest).desktop.in,
po/POTFILEs.in: Add launchers for new flexi server and new
xnest flexiserver
* gui/gdmlogin.c, daemon/slave.c: On flexi servers add the "Quit"
menu thingie, since it's just as useful as in xdmcp case here.
It should probably be a close button, not a Quit button. I dunno.
Thu Aug 16 01:29:05 2001 George Lebl <jirka@5z.com>
* configure.in, gui/gdmXnestchooser.c, gui/Makefile.am: Add a proggie
for starting an Xnest chooser session.
* daemon/gdm-net.c, daemon/gdm.[ch], gui/Makefile.am,
gui/gdmflexiserver.c: Make the protocol actually work right and
add a small proggie for starting new flexi X servers.
Wed Aug 15 13:14:11 2001 George Lebl <jirka@5z.com>
* gui/gdmphotosetup.c: When writing to .gnome/photo, first unlink the
file
Wed Aug 15 01:54:02 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in: Added StandardXServer and FlexibleXServers
and font includes a ,*. Also Xservers use the "Standard"
definition, which all probably doesn't work
* daemon/Makefile.am, daemon/gdm-net.[ch]: Move the fifo stuff here
and generalize it and add an interface for unix sockets
* daemon/gdm.[ch]: Add support for the user protocol using unix
domain sockets
* daemon/gdm.[ch], daemon/auth.c, daemon/display.c, daemon/server.c,
daemon/slave.c: Do some Standard and Flexible/Xnest servers dance.
Mostly doesn't work now still.
* daaemon/misc.c: implement an incredibly evil function to figure out
a free X display number
2001-08-14 Kjartan Maraas <kmaraas@gnome.org>
* docs/C/gdm.sgml: Fix sgml up a bit.
* docs/gdmconfig/C/gdmconfig.sgml: Fix up here too.
Mon Aug 13 13:13:25 2001 George Lebl <jirka@5z.com>
* Release 2.2.3.2
Sun Aug 12 11:44:02 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: use ve_gnome_dialog_grab_focus
Fri Aug 10 22:56:21 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: use selected state for titlebar when window
focused, normal when otherwise, get rid of handle crap and the
frame to make titlebar slimer.
Fri Aug 10 11:51:20 2001 George Lebl <jirka@5z.com>
* Apply the following patch and massage it a bit to be more sane
Mon Jul 30 14:29:00 2001 Heeten Choxi <azari.geo@yahoo.com>
* daemon/gdm.h, gui/gdmlogin.c: created new Opcode for communication
between daemon and greeter called GDM_ERRBOX.
* daemon/verify-pam.c, daemon/verify-crypt.c, daemon/verify-shadow.c:
Use GDM_ERRBOX to send error feedback to greeter when logins fail.
(As suggested in GNOME Usability Study Report :: Logging In)
* gui/gdmlogin.c: Added an "Ok" button that can be pushed to continue
with login. (As suggested in GNOME Usability Report)
Sat Aug 04 19:47:31 2001 George Lebl <jirka@5z.com>
* daemon/slave.c, gui/gdmchooser.c, gui/gdmlogin.c: In the rest of
syslog usage use the "%s" format string to print a string
Sat Aug 04 19:36:42 2001 George Lebl <jirka@5z.com>
* config/Gnome.in: run the scripts from /etc/X11/xinit/xinitrc.d
which makes some more things work right
Fri Aug 3 12:51:58 2001 Owen Taylor <otaylor@redhat.com>
* daemon/slave.c (gdm_slave_exec_script): Set
RUNNING_UNDER_GDM - we might want to know this
when we, for instance, running the display init
script.
2001-08-03 Kjartan Maraas <kmaraas@gnome.org>
* config/gdm.conf.in: Added Norwegian translations.
2001-08-02 Havoc Pennington <hp@redhat.com>
* gui/gdmlogin.c (gdm_login_session_init): add config option to
not show the Last session item, because it's confusing to have in
addition to Default, and interacts badly with switchdesk and
kdm/xdm. Need a better solution, such as a unified session system
across kdm/gdm. Lang-setting is screwed up too (e.g.
/etc/sysconfig/i18n overrides it, and does not work for non-GNOME
sessions).
2001-08-02 Havoc Pennington <hp@redhat.com>
* daemon/gdm.c (gdm_config_parse): fix format
* daemon/server.c (display_busy): fix format
* daemon/verify-crypt.c (gdm_verify_user): don't put login
in syslog, because people accidentally type their password
in this field.
* daemon/verify-shadow.c (gdm_verify_user): same
* daemon/verify-pam.c (gdm_verify_user): same
* daemon/misc.c: syslog takes a format string, don't pass it data
we got from the user. Reported by Cyril Diakhate
<diakhate@easynet.fr>
Thu Aug 2 03:10:23 2001 Abel Cheung <maddog@linux.org.hk>
* daemon/display.c: GdmDisplay->name should be a %s, not %d (I think)
Tue Jul 24 20:25:00 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.c, daemon/gdm.h: embrace and extend xdmcp. Add
an opcode for a sucessful forwarded session so that the original
manager can discard the indirect easily and fix some relevant bugs.
Still not sure about the design, will make it more robust later.
Tue Jul 24 05:21:34 2001 George Lebl <jirka@5z.com>
* gdm.spec.in: Don't link Give/TakeConsole as those are stupid.
fixes bad ownership of /dev/console (which is handled by pam
anyway!) and fixes sessreg related bugs as well.
Mon Jul 23 12:42:29 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: s/Halt/Shut down/ and don't ask for saving
failsafe sessions.
Wed Jul 11 12:55:36 2001 George Lebl <jirka@5z.com>
* daemon/verify-pam.c, daemon/verify-crypt.c: when user doesn't exist
ask for a password anyway. Also some sanity fixing all around.
Mon Jul 9 09:20:49 2001 Owen Taylor <otaylor@redhat.com>
* config/locale.alias: Fix typo - traditional, not traditonal.
Mon Jul 09 00:14:02 2001 George Lebl <jirka@5z.com>
* Makefile.am, autogen.sh, configure.in, daemon/Makefile.am,
daemon/auth.c, daemon/gdm.c, daemon/gdm.h, daemon/misc.c,
daemon/server.c, daemon/slave.c, daemon/verify-crypt.c,
daemon/verify-pam.c, daemon/verify-shadow.c, daemon/xdmcp.c,
gui/Makefile.am, gui/gdmchooser.c, gui/gdmconfig.c, gui/gdmlogin.c,
gui/gdmphotosetup.c, gui/misc.[ch], po/POTFILES.in: Use
vicious-extensions module rather then local routines
* gui/icon-entry-hack.[ch]: remove, in vicious-extensions now
Sun Jul 08 16:38:02 2001 George Lebl <jirka@5z.com>
* Release 2.2.3.1
* config/locale.alias, gui/gdmlanguages.c: added simplified and
traditional chinese
Fri Jul 06 04:25:39 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: Fix fd leak after dup2
Fri Jul 06 01:55:27 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c: Correct checks for chooser greeter binaries, and
fix Suspend feature
* daemon/gdm.[ch], daemon/misc.[ch], gui/misc.[ch], daemon/server.c,
daemon/slave.c, gui/gdmconfig.c, gui/gdmlogin.c: Use popt for
splitting argv's, this makes things understand quotes which are
apparently already used in places (eek). This underlines the need
for the vicious-extentions-module, I just cut and paste too much
code. Watch for this new cvs module soon.
* daemon/slave.c: fix code for sessions with spaces in them
Thu Jul 05 23:45:45 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c: open 0,1,2 with correct rw flag
* daemon/slave.c: Ryan Murray pointed me to some of my braindamage
which was causing gdm to fail in horrible ways on debian. Get rid
of the greeter FILE * which caused us to close fd 0 at one point
which then caused us to prematurely close our X connection. We
just use stdin now, which makes more sense.
Thu Jul 05 18:50:23 2001 George Lebl <jirka@5z.com>
* gdm.spec.in: remove the connection to RedHat's default init as that
just does some background setting but we already set background
ourselves in a nicer way and this just resulted in a slowdown and
a flash
* daemon/server.c, daemon/slave.c: be more thorough in closing
displays, never include an empty xioerror handler, and normally
xio errors do a DISPLAY_REMANAGE and only on server startup do they
do XFAILED. Also before and after whacking clients grab/ungrab the
server as xdm does.
* daemon/xdmcp.c: fix warnings
Thu Jul 05 13:17:53 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: add kill_thingies to atexit to make sure that the
background thing gets killed on X errors
Thu Jul 05 03:29:01 2001 George Lebl <jirka@5z.com>
* configure.in: raise version to 2.2.3.1
* gdm.spec.in: do a "soft restart" in %post
* gui/gdmchooser.c, gui/gdmlogin.c: warning fixes
* daemon/misc.h, daemon/slave.c, daemon/xdmcp.c, daemon/choose.c,
daemon/display.c, daemon/gdm.c,saemon/server.c: fix printf style
warnings
* daemon/choose.[ch], display/gdm.[ch], daemon/slave.c: change the
fifo protocol to be text based so that we can also control from
scripts like the .spec file. Also store all the different pids
in the daemon so that we can whack all the different processes
the slave starts if it crashes. Also add a soft restart opcode.
Wed Jul 04 20:58:31 2001 George Lebl <jirka@5z.com>
* gdm-safe-restart.in, Makefile.am, configure.in, daemon/choose.[ch],
daemon/gdm.[ch], daemon/slave.c, daemon/xdmcp.c, gui/gdmconfig.c:
The fifo is not only for chooser now, it is a general protocol to
control some gdm things, more to come. It's writing direct binary
structs, but then again this is only a fifo and you should only be
able to write to it from gdm and root account on the same machine.
The daemon now knows when a user is logged in on a display and
there is a safe restart option with SIGUSR1 to the daemon. Also
the daemon knows the x pids now and can whack the X server when
the slave crashes, so that we don't get busy hanging server.
* daemon/misc.c: fails are LOG_CRIT not LOG_ERR (I hope this is
correct)
Tue Jul 03 13:18:18 2001 George Lebl <jirka@5z.com>
* Makefile.am, config/Makefile.am: prepend $DESTDIR to $PAM_PREFIX
Tue Jul 03 03:33:13 2001 George Lebl <jirka@5z.com>
* daemon/gdm.h, config/gdm.conf.in: Made HonorIndirect default
to true now
Tue Jul 03 02:18:08 2001 George Lebl <jirka@5z.com>
* Release 2.2.3
Tue Jul 03 02:14:41 2001 George Lebl <jirka@5z.com>
* daemon/gdm.h: Hosts,Broadcast were in the wrong section
* daemon/xdmcp.c: check for current displays BEFORE we check the
number of pending and allocate a new display, this way we'll remove
it if it itself has been pending, also don't just dispose, the
display may be already managed, in which case we want to unmanage
it to avoid a process leak.
* gdm.spec.in: fix pam prefix stuff and file listing
* config/Makefile.am: fix pam installation stuff
Mon Jul 02 14:36:57 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: In remote (xdmcp) mode, allow killing of the
login window by a "Quit" on the menubar. I will make this
string better when I'm not in string freeze mode again. It needs
to be made better on the chooser as well.
Mon Jul 02 14:11:38 2001 George Lebl <jirka@5z.com>
* daemon/choose.c, daemon/gdm.c: do not count chooser as pending
indirect displays, they are not. Only count them when the host has
been chosen, so this allows as many choosers as login screens.
When a new host is chosen and the limit has been reached, whack the
oldest pending indirect display. Makes choosers much easier to
manage and use, and makes more sense.
* gui/gdmchooser.c: set the background color if any background is set
Mon Jul 02 12:42:58 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.c: remove sources for the watches during xdmcp close
* configure.in: raise version to 2.2.3
Sun Jul 01 21:48:30 2001 George Lebl <jirka@5z.com>
* configure.in: add ja.po and zh_TW.Big5 as those work again
apparently
Sun Jul 01 15:08:51 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.c, daemon/choose.[ch]: use correct prototypes and stop
casting watch functions
Sun Jul 01 05:25:34 2001 George Lebl <jirka@5z.com>
* gui/gdmchooser.c: Another example of why we want compile time
typesafety. The GIOFunc was casted in the watch adding since
it had a different prototype, and I was getting somewhat random
return values. Which meant that the chooser would stop working
at points completely. Eeeek! So change to correct prototype
to make the chooser happy.
Sun Jul 01 04:50:39 2001 George Lebl <jirka@5z.com>
* gui/gdmchooser.c: scan the hosts 3 times in 2 second intervals
like xdm chooser (and don't scan already found hosts) also
when we get explicit localhost reply get the local hostname
so that we get only entry for the local host.
Sun Jul 01 03:53:08 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: actually get the configurator key, allows
configuration yet again from the greeter.
Fri Jun 29 19:10:48 2001 George Lebl <jirka@5z.com>
* daemon/verify-pam.c: Apply patch from Nalin Dahyabhai
<nalin@redhat.com> to first zero out the reply array
Fri Jun 29 02:32:01 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c: fixes and cleanups to the error display code.
* daemon/server.c: remove O_APPEND from log file openning since it
was being overriden by O_TRUNC anyway. On crash see if the logfile
looks like display being busy. If it does, tell the user so. This
prevents this case from looking like crashes, and is more
informative. Perhaps we should try starting on the first free
display. That would be good to investigate in the future.
Fri Jun 29 01:22:20 2001 George Lebl <jirka@5z.com>
* gdm.spec.in: Apply cleanup patch from drscott12@hotmail.com
(Dean Scott)
Thu Jun 28 18:48:56 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in, gui/gdmconfig.(c|glade), gui/gdmchooser.c:
Add two keys Broadcast and Hosts to the chooser configuration
to allow more fine grained control as to what appears in the
chooser. And to allow listing of hosts not reachable by
broadcast.
* doc/C/gdm.sgml: add docs for the above two keys
* daemon/choose.c, daemon/gdm.[ch], daemon/slave.c, daemon/xdmcp.c:
Fix a race with the daemon not getting the chooesr response in
time. Also move the chooser page from system setup to expert
* daemon/xdmcp.c: get all local interface addresses and use those
for forward query in case we see only loopback as our address.
This is useful if you do an indirect query to the local host
and choose a remote server. xdm screws this case up, so we have
one up on xdm here.
* daemon/gdmlogin.c, daemon/gdmchooser.c, daemon/gdmwm.c: Fix some
gdmwm issues. In the browser window allow Ctrl-F after selecting
a face to finger that user and display the result, useful to check
if you have new mail or whatnot. Also strip excluded users before
checking to allow spaces in the Exclude list.
2001-06-28 Kjartan Maraas <kmaraas@gnome.org>
* gui/gdmconfig.glade: Added nn_NO.
Thu Jun 28 13:44:40 2001 George Lebl <jirka@5z.com>
* config/Gnome.in, config/Xsession.in: use /bin/sh and not /bin/bash
* gui/gdmconfig.c: fix crash when reading long session files
* daemon/slave.c: s/editting/editing/
Tue Jun 26 23:00:04 2001 Trevor Curtis <trevor.curtis@home.com>
* docs/gdmconfig/C: added sections for Miscellaneous, and Login
Sessions. Updated XServer-Setup section.
* docs/gdmconfig/C/figures/*: updated GDM_xserv_setup.png, and
GDM_login_sessions.png. Added GDM_expert_misc.png
Mon Jun 25 02:43:19 2001 George Lebl <jirka@5z.com>
* configure.in: remove the POTFILES sed rule as that makes autogen.sh
whack out
Mon Jun 25 01:10:04 2001 George Lebl <jirka@5z.com>
* gui/gdmphotosetup.c, daemon/slave.c: Get a picture from the config
file. when the picture is in a known pixmap directory, don't
check it since it's a system file. Makes it possible to select
larger system files which will be then scaled down, but the user
can't point it to a malicious picture.
Sun Jun 24 23:53:34 EDT 2001 Trevor Curtis <trevor.curtis@home.com>
* edited gdmconfig.sgml to make editing it a little easier.
Sun Jun 24 14:55:29 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in, daemon/gdm.[ch], daemon/slave.c,
gui/gdmconfig.(c|glade): Add daemon/AlwaysRestartServer option
so that the slave can just kill and restart the server instead
of reinitting it.
* docs/C/gdm.sgml: update for all the new options
Sun Jun 24 14:07:47 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: when ping times out, do proper session stoping
first rather then just a straight kill
Sun Jun 24 13:45:59 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in, daemon/gdm.[ch], daemon/slave.c,
gui/gdmconfig.(c|glade), gui/gdmlogin.c: Add suspend command
support although it is off by default (empty command) Also do
checks for commands and don't show their respective menu items
if the commands are not present or empty
* config/gdm.conf.in, daemon/gdm.[ch], daemon/slave.c,
daemon/verify-pam.c, daemon/xdmcp.c, gui/gdmconfig.(c|glade),
gui/gdmlogin.c: Apply and massage a patch from Michel Dagenais
<michel.dagenais@polymtl.ca> to add optional support
for remote auto (timed) login, and also to use enriched strings
for the timed and automatic login names. This is to make the
life of sysadmins easier if they're managing a large set of
x terminals.
Sat Jun 23 03:17:03 2001 George Lebl <jirka@5z.com>
* gdm.spec.in, Makefile.am: some pam related fixage
Fri Jun 22 21:02:21 2001 George Lebl <jirka@5z.com>
* gui/gdmchooser.c: actually implement ScanTime
Fri Jun 22 19:13:05 2001 George Lebl <jirka@5z.com>
* docs/C/gdm.sgml: fix indirect wait entry, add entries for the
showing of different built in sessions (failsafes, chooser)
* gui/gdmconfig.(c|glade): add toggeling of builtin sessions
(failsafes, chooser)
Fri Jun 22 18:53:14 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.c: fix up the forward query sending/handeling, fix
some wrong freeing too, and fix the hosts_ctl warning by including
a prototype. We finally have chooser stuff all working! Yay!
* daemon/xdmcp.c, gui/gdmchooser.c: we want to be very careful in
what types we pass xdmcp functions, the header does not include
areguments in the prototypes, so usage is snarfed from xdm
Fri Jun 22 15:50:00 2001 George Lebl <jirka@5z.com>
* gui/gdmchooser.c, gui/gdmwm.[ch], gui/gdmlogin.c: unify the
xinerama stuff in gdmwm
* daemon/xdmcp.c: fix warning
Fri Jun 22 15:26:01 2001 George Lebl <jirka@5z.com>
* daemon/Makefile.am, daemon/choose.[ch], daemon/xdmcp.c,
daemon/gdm.h, daemon/display.c: Rework of how choosing works,
should theoretically all work and be complete, but it doesn't work
currently
2001-06-20 Kjartan Maraas <kmaraas@gnome.org>
* gui/gdmlanguages.c: Added here too.
* config/locale.alias: Added entry for nynorsk.
Sat Jun 16 05:24:39 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: fix warning
Sat Jun 16 04:43:33 2001 George Lebl <jirka@5z.com>
* daemon/choose.c, daemon/slave.c, daemon/xdmcp.c, daemon/gdm.h:
Make choosing somewhat work. Now always works if local host is
chosen, but otherwise seems to have issues.
* gui/gdmchooser.c: do version checking when under gdm, and display a
dialog after max indirect wait time
Fri Jun 15 17:27:38 2001 George Lebl <jirka@5z.com>
* gui/gdmchooser.c: minor cleanups and i18n fixes
* daemon/slave.c, daemon/gdm.h, daemon/xdmcp.c, daemon/choose.c: a
bunch of xdmcp related fixes, and actually run the greeter on
indirect queries, though it still doesn't actually choose the host,
but oh well.
* daemon/slave.c: fix GETFD argument when doing SETFD on the pipe
Wed Jun 13 22:22:55 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: on xterm failsafe session, instead of doing
XSetInputFocus, just warp the pointer to the first window's
center. That works just as well and allows pointer root focus
to still work
Tue Jun 12 19:26:19 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: when running scripts always set the right
USER/LOGNAME etc... Thanks to Fernando Pablo Lopez-Lezcano
<nando@ccrma.stanford.edu> for pointing this out.
Tue Jun 12 18:14:32 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.c, gui/gdmlogin.c: do version checking
and allow restarting gdm if possible, or at least rebooting and
telling the user what is happening
Sun Jun 10 17:13:47 2001 George Lebl <jirka@5z.com>
* configure.in: fix CONSOLE_HELPER test
* gui/gdmwm.c: follow the motif deco hint a bit, and do better job of
placement, and also do a hack to correctly place gkrellm.
Wed Jun 06 16:51:34 2001 George Lebl <jirka@5z.com>
* config/XKeepsCrashing, daemon/gdm.c: try gdialog if we can't find
standard dialog, that might work as well.
Wed Jun 06 06:03:41 2001 George Lebl <jirka@5z.com>
* Makefile.am: add -f to mv
Wed Jun 06 00:59:33 2001 George Lebl <jirka@5z.com>
* configure.in, gui/Makefile.am: do the conditional chooser build
in a kosher way that actually works
Wed Jun 06 00:41:23 2001 George Lebl <jirka@5z.com>
* configure.in, gui/Makefile.am: when compiling without xdmcp
don't compile the chooser
* gui/Makefile.am, gui/gdmchooser.c: Use gdmwm for window management
and query xinerama as well. Also do manage on doubleclick
* daemon/choose.c, daemon/xdmcp.c: Some obvious fixes, note that
indirect lookup will NOT return an expired Indirect thingie.
Still need to figure out where does the chooser plug in.
* gui/gdmlogin.c, gui/gdmchooser.c: run gdmwm only when not debugging
* daemon/slave.c, daemon/gdm.c, daemon/errorgui.[ch],
daemon/Makefile.am: Deal with the hanging bugs by doing an exec
before running the gtk gui. Also make the gui use GNOME to be
prettier. I'm less and less sure I like this hack and it might
move into a separate binary, though this way it is faster as
gdm is already paged in. This also fixes some i18n problems
with the error dialog.
Tue Jun 05 21:27:52 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: fix hanging related to centering of dialogs.
Mon Jun 04 20:45:54 2001 George Lebl <jirka@5z.com>
* Makefile.am, configure.in, gdmconfig-security(.in), gdm.spec.in:
cleaned up the pam stuff ala gnome-utils
* configure.in, accconfig.h, daemon/xdmcp.[ch], daemon/gdm.c,
gui/gdmconfig.(c|glade): Detect the xdmcp libs and compile
without xdmcp support if not found and allow selecting this
option ala the xinerama one. The configurator will disable
the xdmcp options if they aren't compiled in
* daemon/gdm.c, gui/gdmlogin.c, gui/gdmconfig.(c|glade): Apparently
5 seconds is useful for timed login so lower the minimum from 10
to 5
Sun Jun 03 04:55:49 2001 George Lebl <jirka@5z.com>
* daemon/gdm.h: remove unused opcode (GDM_STOP)
* daemon/slave.c, gui/gdmlogin.c: On GDM_QUIT the login will make
sure to quickly quit and in the slave we no longer kill it to
avoid a possible race, also try to avoid other races todo with
killing things. Also fclose the greeter channel to avoid a leak.
* daemon/gdm.h, daemon/slave.c: get the size of the screen from
xinerama and center error dialog stuff.
Sat Jun 02 03:41:06 2001 George Lebl <jirka@5z.com>
* Release 2.2.2.1
Sat Jun 02 02:14:37 2001 George Lebl <jirka@5z.com>
* daemon/gdm.h: use 64 for the code for X failing and not 1
Sat Jun 02 01:58:15 2001 George Lebl <jirka@5z.com>
* configure.in: bump version
* auth.c, xdmcp.c, cookie.c: fix clobering of cookies with zeros, only
reget hostname on local displays, correctly setup authentication for
local xdmcp case. reset umask to sane gdm value after setting the
use auth
* gdm.c: cleanup, possible fd leak if there was a stale pid file
* server.c: handle memory errors in cookie setup
* slave.c: from xdm stole the idea of a bogus first client which
apparently fixes some things. Also actually close initial display
on xdmcp session end. Also make sure language is at least "C" if
we can't find any other language
* slave.c: SECURITY! when reinitializing the display for another go,
first bake new cookies
Fri Jun 01 17:51:52 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: when sending GDM_QUIT to the greeter, first make
sure greet is FALSE to avoid a race, this fixes the bugs where
people couldn't log in. Also added a bit of debugging. Also fixed
a problem where on a failed execution of a script one would get two
slaves.
2001-05-30 Havoc Pennington <hp@redhat.com>
* daemon/gdm.h: add config keys for show/disable the sessions that
are added in addition to those in /etc/X11/gdm/Sessions, so that
admins can fully control the session list
* config/gdm.conf.in: add abovementioned config keys
* gui/gdmlogin.c (gdm_login_parse_config): honor these settings
Thu May 31 03:17:32 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c: set euid/egid to 0 before verify check
* daemon/slave.c: set euid/egid to 0 at a bunch of places just to
make sure that's how they're set. When children want to exit they
shouldn't use the slave_exit function as that's dangerous to the
slave's health. Instead use a new function for this which
doesn't do slave specific cleanup. Also fix segfaults on startup.
* daemon/verify-pam.c: the credential setting is supposed to be done
after openning a session. Closing of a session is done silently as
well, jsut for good meassure as wel don't have anything to talk to
anymore anyway
* daemon/slave.c, daemon/server.c: when reinitting ignore X errors
and do not reopen the display. When openning the display the first
time, don't try so hard for a local display and instead wipe slave
and try again.
Wed May 30 21:43:21 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: make iconify button nicer by making it smaller and
adding more border around it
Wed May 30 19:17:46 2001 George Lebl <jirka@5z.com>
* gui/gdmphotosetup.c: fix permission setting, and open the source
before dest. Though a bit pointless since jrb is apprently
rewriting the whole bit :)
Wed May 30 16:19:39 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.c, gui/gdmconfig.(c|glade):
Add a PingInterval xdmcp thingie which is a combination of
the xdm PingInterval and PingTimeout.
2001-05-30 Havoc Pennington <hp@redhat.com>
* configure.in (ALL_LINGUAS): remove ja.po and zh_TW.Big5.po.
ja.po contains invalid euc-jp. zh_TW.Big5.po causes gettext
to get upset but iconv likes it OK, so I don't know.
Wed May 30 04:00:33 2001 George Lebl <jirka@5z.com>
* daemon/gdm.h, daemon/slave.c, gui/gdmlogin.c: Save session in
the gdm options file if requested from the chooser. This is done
since it's no longer saved in gsm which is the sane behaviour
actually.
Wed May 30 02:13:53 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: run gnome-session with --failsafe in failsafe
gnome mode
Tue May 29 15:47:16 2001 George Lebl <jirka@5z.com>
* config/locale.alias: Add british/american english language choices
* gui/gdmlanguages.c: Add the POSIX/C locale if it doesn't exist
* gui/gdmlogin.c: Make the minimize button like an actual minimize
button instead of an arrow. It's a black line in the bottom of the
button. Also turned on the relief again as it looks better like
that now I think.
Tue May 29 00:38:18 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.c, gui/gdmlogin.c: ignore .rpmorig files as well,
and some cosmetic code changes
Mon May 28 02:24:43 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c: Fixed a stupid mistake cased by a missed warning,
not really that crucial since the default config has no failsafe
X servers, because AFAIK, no such beast exists yet
* daemon/gdm.c, daemon/misc.[ch], daemon/slave.c: In case the
language doesn't have '_' as the third character it's a communist
and must be executed. Or perhaps we should just read the alias
file and translate it. This should really only happen if sysadmin
and screwed up or the user has a very old setting from pre 2.2 days
Sun May 27 23:39:19 2001 George Lebl <jirka@5z.com>
* config/PostSession, config/PreSession: Don't change utmp since
there is no "terminal", debian bug #90981
Thu May 24 16:05:32 2001 George Lebl <jirka@5z.com>
* Release 2.2.2
Thu May 24 15:32:54 2001 George Lebl <jirka@5z.com>
* configure.in, gdm-restart.in, Makefile.am: a script to restart
the gdm daemon, in sbin for root pleasure only
* gdm.spec.in: redo the file list to be hopefully sane
* daemon/gdm.c: actually read in GdmConfigurator
* gui/gdmconfig.c: show help fromt he help button
* gui/gdmlogin.c, gui/gdmwm.[ch]: add some short-circuit functions
for window moving, bypassing the window management foo. This makes
quiver nice again.
Thu May 24 13:22:49 2001 George Lebl <jirka@5z.com>
* configure.in: add ms (Bahasa Melayu), the official Microsoft
locale, for translations by Khairulanuar Abd Majid <khai@jaring.my>
Thu May 24 12:55:05 2001 George Lebl <jirka@5z.com>
* configure.in, docs/Makefile.am, omf-install/Makefile.am,
docs/sgmldocs.make, docs/gdmconfig/C/Makefile.am, Makefile.am:
Set up the documentation/omf build stuff.
* docs/gdmconfig/C/gdmconfig.sgml: fix version to say 2.2.2 and this
is part of the GDM package not the Gnome-Core package :)
Wed May 23 23:31:00 2001 Trevor Curtis <trevor.curtis@home.com>
* docs/gdmconfig/C/gdmconfig.sgml: Added the expert and system
descriptions.
* docs/gdmconfig/C/figures: Was created to put the screenshots
in for the gdmconfig doc.
* docs/gdmconfig/C/figures/*: added the following png's;
GDM_auto_login.png, GDM_background.png, GDM_chooser.png,
GDM_enviro.png, GDM_face_brow.png, GDM_full.png,
GDM_login_appear.png, GDM_login_behav.png, GDM_login_sessions.png,
GDM_menubar.png, GDM_misc.png, GDM_paths.png, GDM_security.png,
GDM_xdmcp.png, GDM_xserv_setup.png
Mon May 21 11:31:35 2001 George Lebl <jirka@5z.com>
* gui/gdmchooser.c, gui/gdmconfig.c, gui/Makefile.am: Eeek, we were
using the gnome_datadir_file function so when gdm was installed in
a different prefix we didn't do too well. Make a define for our
own installation and first look there.
Sun May 20 19:32:52 2001 George Lebl <jirka@5z.com>
* daemon/slave.c, daemon/gdm.c, gui/gdmphotosetup.c: Fix some
spelling errors and gramatical weirdness as pointed out by
Christian Rose <menthos@menthos.com>
Fri May 18 04:17:00 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.c, docs/C/gdm.sgml,
config/gdm.conf.in, gui/gdmconfig.(c|glade): Add a config
option for a failsafe X server which is emtpy by default
Fri May 18 00:16:58 2001 George Lebl <jirka@5z.com>
* config/Makefile.am: don't overwrite gnomerc on install, that's bad
juju
* docs/C/gdm.sgml: update for the XKeepsCrashing stuff
Thu May 17 15:44:08 2001 George Lebl <jirka@5z.com>
* config/Makefile.am: install factory settings, and for most settings
files, overwrite the current and save the current in .orig files.
this way changes will propagate. Don't do this for gdm.conf
however, this is the most likely to be modified by the user.
* gui/Makefile.am, gui/gdmphotosetip.desktop.in, gui/gdmphotosetup.c:
a small proggie to setup the face for a user. Should at some point
become a crapplet and include all the gdm user settings
* gui/gdmconfig.(c|h|glade): fix some segfaults, include a factory
settings reverting, and move the exclude users to the face
browser as that's where it belongs
Thu May 17 03:38:17 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: fix segfault in the login entry checking code
Thu May 17 02:52:38 2001 George Lebl <jirka@5z.com>
* Makefile.am, confgiure.in, debian/Default.debian,
config/Makefile.am: Don't put the debian stuff into the tarball,
and remove it from the config, this is here for people wanting to
live off the bleeding edge of 2.0-beta4 and run a stable gdm.
Hopefully the gdm 2.2.x packages will show up in mainstream debian
soon (they don't seem to be there now). Plus some make distcheck
fixes
Thu May 17 01:27:15 2001 George Lebl <jirka@5z.com>
* config/XKeepsCrashing, config/gdm.conf.in, daemon/gdm.[ch],
daemon/server.c, config/Makefile.am, daemon/slave.c: Added a script
to run when X keeps crashing, this will run an X configuration
tool (after asking for root password of course), only works
on systems with /usr/bin/open (linux only I suppose) and XFree86
for now.
* gui/Makefile,am: fix make dist issues
* gui/gdmconfig.(c|glade): fix some issues, move debugging into it's
own page and add the keeps crashing options from above
Wed May 16 15:10:07 2001 Jonathan Blandford <jrb@redhat.com>
* gui/gdmlogin.c (update_clock): Have clock update only once a
minute.
* gui/gdmlogin.c (gdm_screen_init): add missing declaration to
make it compile.
Tue May 15 17:36:49 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Apply patch from Remi@Cohen-Scali.com (Rémi
Cohen-Scali) to fix #54723. The sessions were not strduped when
put into the global list. Bad bad gdm :)
* daemon/gdm.c, daemon/slave.c: when xdmcp is disabled and no
servers exist and we can find /usr/bin/X11/X, this would mean that
the user is an idiot and deleted all servers. So add one for him
and give him a warning before letting him log in and fix things.
also graphically complaina bout not being able to start the
greeter.
* daemon/gdm.c, gui/gdmlogin.c: Don't abort on recoverable errors
that wouldn't be security problems. Also allow things to be run
without a config file, using the defaults
* daemon/gdm.h, gui/gdmlogin.c: fix the default for the welcome
string, overcoming gnome-config idiocy
* gui/gdmconfig.c: Warn user if he removed all servers.
Tue May 15 15:28:57 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c, daemon/slave.c: Don't abort when a binary isn't
found, instead try running the default binary and always give
graphical errors. Since we allow graphical hosification, we need
to allow graphical unhosification as well, and thus gdm must be
able to run in some default mode under adverse conditions. It is
still possible to utterly hose the system, but less so now.
* gui/gdmconfig.c: Interactively check commands, directories and
files for existance and display them in red if they don't. This
way the user has immediate feedback that he is going to hose stuff
without having to actually try the hosing.
* configure.in: Fix the standard path defines
Tue May 15 02:39:23 2001 George Lebl <jirka@5z.com>
* gui/gdmwm.c: fix focusing windows on enter notify
Tue May 15 02:14:23 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.c, gui/gdmlogin.c: gdmlogin cannot
fetch user pictures. SO there is now an interface so that the
slave can check/fetch the pictures for gdmlogin. Unfortunately
imlib is braindead so the way we pass the pictures is to write them
to a temp file. So this is even less friendly on large systems.
Paranoia is high however so there should not be a way to exploit
it. Unless you find a pic that kills imlib in which case you can
run a dos, so this isn't an option for all systems anyway.
Mon May 14 23:54:18 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Browser fixes. Do smarter sizing of the browser
window, align logo to the right to make it look nicer, fix warning
when logo image missing, exclude root from browser if he wouldn't
be allowed in anyway, fix reading of users, rewind the pw entry
* config/gdm.conf.in: change default locale from english to en_US,
since not everything can properly dealias these things
unfortunately
Mon May 14 22:42:51 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: setup the environment better for the greeter
and setup the actual HOME if it exists etc... This makes it nicer
for BackgroundProgram's. so if say the user wants to run a
gnome program (which require a writable home dir) he can just
create /home/gdm (or whatever it's in /etc/passwd)
Mon May 14 22:20:09 2001 George Lebl <jirka@5z.com>
* docs/C/Makefile.am: install the index.html file correctly on make
install. For those weirdos like me that run out of CVS
Mon May 14 21:52:53 2001 George Lebl <jirka@5z.com>
* docs/C/gdm.sgml: Add proper copyrights/authors for me and Tim Jensen
and update the configuration section with all the new keys.
* config/gdm.conf.in: Run configurator with --disable-sound and
--disable-crash-dialog
Mon May 14 20:53:16 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], gui/gdmconfig.(c|h|glade), gui/gdmlogin.c: Add a
boolean flag for both timed and automatic login. This makes
configuring it nicer and easier to understand
* gui/gdmlogin.c: Add a clock, perhaps there should be a config
option about this
* gui/gdmlogin.c, gui/gdmlanguages.[ch], gui/Makefile.am: Add a
somewhat primitive (unfinished) framework for translating language
names. Unfortunately names are hardcoded, though available
languages are still read from locale.alias.
Mon May 14 03:16:50 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: in the error dialog thing do the button click
mapping as well
Mon May 14 02:15:06 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: define RUNNING_UNDER_GDM for gdmlogin and gdmconfig
* gui/gdmlogin.c, gui/gdmconfig.c: When RUNNING_UNDER_GDM is defined
we treat button click 3 like 1 since the user could be left
handed but has not yet logged in.
Mon May 14 00:55:17 2001 George Lebl <jirka@5z.com>
* gui/Makefile.am, gui/gdmwm.[ch], gui/gdmlogin.c: Clean up stuff,
move the WM stuff into a separate file, make it run on a separate
X connection, add a cool shadow to windows, do more correct window
management, and all windows are managed now.
Sun May 13 13:09:50 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Simplify filters and only use the Substructure
mask thing. Handle border correctly (to make xclock look cool)
* daemon/server.c: Eeek, HUP and TERM should have been DFL and not
IGN though the X server didn't seem to mind. Also set TTIN and
TTOU to IGN since that's what happens when I startx apparently,
I think this may be responsible for the X server dieing on me
on unsuspend
Sun May 13 04:40:10 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Add a tooltip to the iconify arrow
Sun May 13 04:36:14 2001 George Lebl <jirka@5z.com>
* daemon/gdmlogin.c: recenter windows when they resize, add a single
black line decoration to make it easy to distinguish windows
layered on top of each other (such as in the configurator)
Sun May 13 00:59:48 2001 George Lebl <jirka@5z.com>
* AUTHORS, NEWS, README: updated
* Makefile.am, RELEASENOTES: removed, no longer needed and horribly
useless and confusing to users
Sat May 12 23:44:38 2001 George Lebl <jirka@5z.com>
* configure.in: add configuration summary, fix libwrap detection
and add configuration options to enable/disable xinerama
tcpwrappers and choose the authentication scheme
* daemon/verify-crypt.c, daemon/verify-shadow.c: don't ask for
passwords on passwordless logins, fix a leak, and make crypt
support actually compile. Also check password before testing if
the account is disabled.
* daemon/slave.c: Focus first X window with res_name "xterm" when
running the failsafe xterm session
Sat May 12 19:32:31 2001 George Lebl <jirka@5z.com>
* configure.in: when we don't find the wrappers library don't add
it to LIBS
Sat May 12 19:28:30 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c, gui/gdmconfig.c: Add .dpkg-old to the list of
extentions to ignore
Sat May 12 16:47:18 2001 George Lebl <jirka@5z.com>
* config/Xsession: check for freetemp existing
Sat May 12 15:23:50 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: properly check for NULLs on cursess and curlang.
Never, NEVER make the default session the last session, shit, the
entire point of that would not work, there is no Last session when
you use the default (that's the whole idea:). Be more anal on the
language stuff as well, avoiding possible cases of crashing and
warnings.
Thu May 10 00:29:06 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c, daemon/gdm.h, gui/gdmconfig.(c|glade): Add setting
(which is default) to only set background color on remote logins.
* gdm/gdmlogin.c: Icon has a tooltip now, and a bunch of the menu
items as well
* config/gdm.conf.in, config/gdm.h, gui/gdmconfig.(c|glade),
gui/gdmlogin.c: Allow color to "seep through" transparent images
and thus the color selector is on even for images. Add a setting
for only allowing color on remote logins. This is useful to avoid
net traffic.
Wed May 09 18:19:22 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Center all mapped windows, also disallow
negative positions in centered windows. Also clip size of
windows to the screen size.
* daemon/gdm.h, acconfig.h, configure.in: Make sure proper defaults
are read in. That is, if gdm.conf is missing the result should be
same as the supplied gdm.conf. Also make ConfigAvailable=true the
default. It will always query for root password so it's safe.
* gui/gdmlogin.c, daemon/gdm.h, daemon/slave.c: When resetting after
config don't quiver.
* gui/gdmlogin.c: properly translate failsafes
* daemon/slave.c: properly test for existance/executability of
just the path not arguments, and don't test for read on session
executions.
* daemon/server.c: Properly XSync before popping error handler
* daemon/slave.c, daemon/gdm.[ch], daemon/server.c: Check for
xinerama and start error dialogs and xterm failsafe at the
correct offset.
* daemon/slave.c: Properly handle focus on the error dialog
Tue May 08 16:38:02 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Actually make the xinerama scaling thing work.
Also limit the dragging to within xinerama screens and avoid
dead space. Allow jumping in between xinerama screens when
dragging as well.
Mon May 07 17:12:29 2001 George Lebl <jirka@5z.com>
* gui/icon-entry-hack.c: update from gnome-core to fix selection
dialog issues
Sun May 06 22:27:31 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: support xinerama in background scaling and scale
image onto each screen rather then onto the entire screen
Sun May 06 16:31:07 2001 George Lebl <jirka@5z.com>
* config/Failsafe*, config/Makefile.am, configure.in, gui/gdmlogin.c,
daemon/gdm.h: Use our built in Failsafe thingies since they're more
safe from hosage. Also be nicer in translating them and add some
tooltippage.
* config/Xsession, config/Gnome.in: Load in the xresources and
modmap and such magic. Make it work on both rh6 and rh7 and
hopefully others.
* daemon/slave.c: Add more errors and pass some nice parameters
to the failsafe thingies.
Sun May 06 05:36:08 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: use the "Default" script if found as default
* config/Gnome.in: Read in ~/.Xresources, we need more magic
in this script however.
Fri May 04 18:10:08 2001 George Lebl <jirka@5z.com>
* Release 2.2.1
Thu May 03 18:28:04 2001 George Lebl <jirka@5z.com>
* gui/Makefile.am, gui/gdmchooser.c, gui/gdmlogin.c, gui/gdmconfig.c,
gui/misc.[ch]: Add a misc functions file and add
strcasecmp_no_locale and use it. Without this we fail in all kinds
of wird locale (like iso -9)
Thu May 03 17:13:23 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.c, gui/gdmchooser.c: Use DOING_GDM_DEVELOPMENT env
var (scrap the old GDMCONFIG one for gdmconfig) and add actual
useful messages when glade stuff fails (as it does in ximian
packages now, but that makes a nice core file in those which sucks)
Thu May 03 13:22:52 2001 George Lebl <jirka@5z.com>
* gui/Makefile.am, gui/gdmconfig.desktop(.in), po/POTFILES.in,
po/*.po, configure.in, Makefile.am: Add the usage of
xml-i18n-tools for the desktop file
Wed May 02 18:08:17 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.glade: fix limits on the spinbuttons
* gui/gdmconfig.c: Fix default linking, provide uniqueness checking
fix naming races, and generally make the whole session editor
actually work right.
Wed May 02 03:15:15 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: fix running of gdmconfig by setuid/gid to 0
and give an error dialog box if the configurator is not found
Wed May 02 01:44:36 2001 George Lebl <jirka@5z.com>
* config/Gnome.in, config/Xsession: don't use bash -login, because we
have already ran a login shell which was the users login shell
* config/gnomerc.in, daemon/slave.c: use exec to avoid running 2
unneeded shells. Now if you log in there is no extra shell process
running. This saves quite a bit of ram in fact since things like
bash eat up quite a bit of ram, and if the user doesn't use any
shells, none of it is shared.
* daemon/slave.c: Fix a doh! error in the last commit where I got
confused about which sessions I was talking about (gsm vs. gdm),
also a little bit of cleanup
Tue May 01 16:28:17 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c, daemon/gdm.h, daemon/slave.c, gui/gdmconfig.c,
gui/gdmlogin.c: Make it possible to log in even if the sessions
directory is missing or empty. Of course if that happens the
user gets a "you're an idiot and your setup's b0rk" warning dialog
(well not in those exact words)
Tue May 01 14:41:03 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.c: instead of a define, read a
DOING_GDMCONFIG_DEVELOPMENT env var.
* gui/gdmconfig.c, gui/gdmlogin.c: ignore sessions ending in .deleted
and .desc
* gui/gdmconfig.c, gui/gdmlogin.c: Session names ARE case sensitive
so remove all this case insensitivity crap that could seriously mess
things up. The only case insensitive thing is that the default
link can be case insensitive, the actual files are sensitive.
* gui/gdmconfig.(c|h|glade): fix an assload of stuff with respect to
the Session directory editting. Not all tested though, so still
use at your own risk. Though it theoretically has less problems
now. Also cleaned up stuff a tiny bit. This file could use a run
trhough indent.
Mon Apr 30 17:27:11 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: fix a couple of possible crashes with invalid images
being set. Limit the logo size by just cropping the widget, that
way user will still be able to log in if he screws up the config
* configure.in, config/gdm.conf.in: Use the sbin path if using
console helper for the Configurator setting, else it won't work
right
Mon Apr 30 16:48:42 2001 George Lebl <jirka@5z.com>
* gdm/gdm.[ch], gdm/verify-(pam|crypt|shadow).c,
gui/gdmconfig.(c|glade): Add an option to toggle logging in
of root remotely. So one can allow local root login but disallow
remote root logins.
* daemon/slave.c: add nicer error messages to all the exec failiures
Mon Apr 30 02:34:37 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in, deamon/gdm.[ch], daemon/slave.c,
gui/gdmconfig.(c|glade): Split up the max sizes into normal
and another one for session files for which the limit is much
higher. This is because session files are never read into memory,
but rather just scanned.
* daemon/gdm.c, daemon/slave.c: When no session is set browse
through a list of possibles in order to find a good session.
* daemon/slave.c, daemon/Makefile.am: Link the slave to gtk libs,
and in case the session script doesn't exist isn't executable
or isn't readable, display an error instead of the session.
Sun Apr 29 23:54:34 2001 George Lebl <jirka@5z.com>
* config/Gnome.in, config/gnomerc, config/Makefile.am: Revert stupid
changes, now we rely on a new enough gnome-core where gsm
understands GDM_GNOME_SESSION (in a similar way to GDM_LANG)
* daemon/verify-*.c: Eeeek Forgot to use the GDM_LOGIN prompter
opcode and that made the greeter very unhappy
* gui/gdmconfig.c, gui/gdmlogin.c: Ignore .orig files as well when
looking at the Sessions dir
Sun Apr 29 22:46:12 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.c, gui/gdmlogin.c: Add running of
the configurator from the slave rather then the login which
doesn't work. There is a special session setup for this so that
the user gets prompted for the root password first.
* daemon/gdm.c, daemon/slave.c, gui/gdmlogin.c, daemon/server.c:
Only do the timed logins on the first local display just like
autologin. We don't want to do simultaneous logins of the same
user on different screens really, that's usually bad.
* daemon/gdm.c: Increase general paranoia and don't trust the greeter
and only allow reboots/config/halts when they are actually allowed
in the config file and only for local.
* gui/gdmconfig.glade, gui/gdmconfig.c: Add a bunch of tooltips,
and add the configuration stuff for the timed logins
Sun Apr 29 18:06:25 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c, daemon/gdm.[ch], daemon/slave.[ch],
daemon/verify.h, daemon/verify-(pam|crypt|shadow).c,
config/gdm.conf.in: Create the concept of interruptions where the
greeter can interrupt a query to have the daemon do something.
and use it to do timeout logins, such as would be useful for
say a kiosk operation. Only on local displays of course.
Originally based on the patch from Jim Bray.
* gui/gdmconfig.glade: Raise the maximum allowable max user file
size to 2^18 from 2^16
Sun Apr 29 21:40:00 2001 Lee Mallabone <lee0@callnetuk.com>
* gui/gdmconfig.c, gui/gdmconfig.glade: Add the "run configurator"
options and gdmconfig path to gdmconfig itself. (hmmm).
* gui/gdmconfig.c, gui/gdmconfig.glade: Add a new notebook tab to
the expert panel that allows configuration of the 'Sessions'
directory; adding, editing, deleting & setting a new default are
currently supported.
Sun Apr 29 02:00:29 2001 George Lebl <jirka@5z.com>
* config/Gnome.in, config/Makefile.am: Always install gnomerc
and Gnome even if they already exist, this is because we may
want to change these and want these changes to propagate. Not
a perfect solution since it's not clear which config files are
editable without the install mucking them up, but oh well.
* gui/gdmlogin.c, daemon/gdm.[ch], daemon/slave.c,
gui/gdmconfig.(glade|c): Parse the session and session options
file and pass the sessions to the greeter if Gnome Chooser session
is selected. The chooser then allows the picking of one specific
gsm session or the creation of a new one. We set an env var
GDM_GNOME_SESSION with the session name in it.
* daemon/gdm.c: doh! on automatic login actually use the saved
language and session
* gui/gdmlogin.c: the execution of background prog and config now
closes all descriptors and opens /dev/null for stdin/out/err. Also
the config program is killed on exit just like the background prog
and we don't allow starting multiple config programs.
Sat Apr 28 16:01:48 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Remove the overlay window crap and write a simple
windowmanager. Yeah I feared this would happen one day. Focus
now works properly finally, focus shows and GTK+ seems happy.
This also makes it possible to have the background clients have
sane focus management (with sloppy focus). Though no frames,
window movement, nor icons. (the login window still manages
it's frame, movement and icon itself)
* config/gdm.conf.in, daemon/gdm.h, gui/gdmlogin.c, gui/gdmconfig.c,
gui/gdmconfig.glade: Add a setting for disabeling the titlebar,
apaprently some people hate it and I'd rather this be done by
configuration then patches. Then the user can easily reenable it.
* gui/gdmlogin.c: a little bit of work on the session chooser dialog
still doesn't actually do anything
Sat Apr 28 17:50:00 2001 Lee Mallabone <lee0@callnetuk.com>
* gui/gdmlogin.c, daemon/gdm.h, config/gdm.conf.in: Add the option
(and relevant paths in the config) to run gdmconfig from the system
menu in gdmlogin. Disabled by default for obvious reasons. This
closes bug #53783.
Fri Apr 27 16:41:11 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c, daemon/gdm.h, daemon/slave.c, config/Gnome.in:
Start on gsm session support. Still doesn't work. Also make gdm
session strings translatable. At least some of the standard ones,
not perfect but oh well, who cares.
Tue Apr 24 18:45:55 2001 George Lebl <jirka@5z.com>
* config/PostSession, config/PreSession, gui/gdmlogin.c: Apply
small bits of the ximian patches. Pre/PostSession scripts only
run sessreg if it exists. and gdmlogin selects the Gnome session
if no "default" exists.
Tue Apr 24 15:04:56 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: set the menu separators to insensitive to make
keyboard navigation nicer
Mon Apr 23 22:34:24 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: always draw the focus correctly and hardset the
gtk focus flag. Hmm, I'm beginning not to like all this focus
voodoo that gdmlogin does.
Mon Apr 23 22:04:24 2001 George Lebl <jirka@5z.com>
* configure.in, acconfig.h, daemon/auth.c, daemon/misc.[ch],
daemon/slave.c, daemon/verify.h,
daemon/verify-(pam|crypt|shadow).h: Fixup enviroment issues.
Clear the environment before running a session and before launching
the greeter (taking care to save the localisation vars). Also
don't set user env on the slave and leave it, if we set it it's
only temporary. Also fix one possible crash by strduping the
pam env since that will go away and putenv doesn't strdup.
Mon Apr 23 20:16:07 2001 George Lebl <jirka@5z.com>
* configure.in: when we find libwrap.a instead of specifying that
filename, use -lwrap which may be better on some systems
Mon Apr 23 20:08:19 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: if no LANG/LC_ALL is set, use the GdmDefaultLocale
setting as our locale.
Mon Apr 23 18:49:55 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: fix buffer overrun in making the enriched string
Sat Apr 21 11:46:02 2001 George Lebl <jirka@5z.com>
* gui/icon-entry-hack.[ch]: update hack from panel
Thu Apr 19 17:32:36 2001 George Lebl <jirka@5z.com>
* docs/C/gdm.sgml: Update the VerboseAuth and AllowRoot sections
to reflect what actually happens nowdays.
Thu Apr 19 13:18:59 2001 George Lebl <jirka@5z.com>
* daemon/verify-crypt.c, daemon/verify-shadow.c,
daemon/verify-pam.c: Fix GdmAllowRoot (it only worked in verbose
mode), made the verbose mode selection useful without being
insecure, and in nonverbose mode you still get "Login incorrect"
message as those are safe. In pam mode we now check for
root as well. We also now check for shell to be /bin/false as
a sign the user was disallowed from logging in.
Thu Apr 19 03:48:11 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: don't search for shells, that's wrong, if the
user doesn't have a shell set, we are supposed to use straight
/bin/sh. On linux this makes no difference anyway since that was
bash. Also detect /bin/false shells and have a better error
message in that case in the log file. We should detect those
earlier I suppose.
Thu Apr 19 02:11:22 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c: Return to gid 0 after verify check, patch from
rmurray+gnome@cyberhqz.com (Ryan Murray)
* daemon/auth.c: refetch the hostname each time the cookie is
generated to deal with changing hostnames again from Ryan
* gui/gdmlogin.c: remove the display mutilating code for enriched
string, again from Ryan
* daemon/server.c: Move logfile open after fork as it's only
really used by the X server process (And that's the purpose of it)
Again, from, you guessed it, Ryan
* daemon/slave.c: set gid after uid to 0 so that it doesn't fail
(from Ryan again)
* gui/gdmlogin.c: do a gtk_main_quit in the QUIT handler, hopefuly
won't cause races, and this is actually by me
* gui/gdmlogin.c: another one from ryan, set the password max entry
length to 128 to allow for MD5 password things
* gui/gdmlogin.c: another one, this one to allow keyboard navigation
of the menus
* daemon/slave.c: call initgroups to set up the groups correctly,
from ryan
* daemon/slave.c: fixed problem of NULL lang/session returns, pointed
out by ryan
Wed Apr 18 22:32:53 2001 George Lebl <jirka@5z.com>
* Makefile.am, configure.in, debian/Makefile.am: fix make distcheck
wrt libintl and make sure we get the debian directory into the
tarball
Tue Apr 17 17:01:59 2001 George Lebl <jirka@5z.com>
* daemon/gdm.h, gui/gdmconfig-strings.c, gui/gdmconfig.c,
gui/gdmconfig.glade, gui/gdmlogin.c: Add option for not
scaling the background to fit, and tiling instead. I think
I might just implement more like the original background
selection thingie for the desktop.
* gui/gdmlogin.c: Apply a patch (and massage it a bit) from
rmurray+gnome@cyberhqz.com (Ryan Murray) to make the locale
menu just not display if the locale file is missing.
2001-04-17 Ian McKellar <ian@eazel.com>
* acinclude.m4:
Removed this - it contained out of date gettext stuff that was
screwing up my build.
* config/Default.debian:
* config/Makefile.am:
* configure.in:
* debian/.cvsignore:
* debian/README.Debian:
* debian/changelog.in:
* debian/changelog.old:
* debian/control:
* debian/copyright:
* debian/dirs:
* debian/docs:
* debian/ex.doc-base.package:
* debian/gdm.pod:
* debian/gdmchooser.pod:
* debian/gdmlogin.pod:
* debian/init:
* debian/postinst:
* debian/postrm:
* debian/rules:
Added Debian build stuff and default config. It shouldn't break
builds on other platforms, but it might.
Sun Apr 15 12:58:02 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: fix mispelling thanks to jrb
Fri Mar 30 18:17:00 2001 George Lebl <jirka@5z.com>
* configure.in: up version to 2.2.1, and check for GdkPixbuf
* config/Default, config/gdm.conf.in, daemon/gdm.h, gui/Makefile.am,
gui/gdmconfig-strings.c, gui/gdmconfig.c, gui/gdmconfig.glade,
gui/gdmconfig.h, gui/gdmlogin.c: Add background image/color
setting and remove that setup from the Default init.
* gui/Makefile.am, gui/gdmconfig.c, gui/icon-entry-hack.[ch]:
Put in the icon entry hack fromt he panel to make the icon
entry behave properly
* gui/gdmlogin.c: Make overlay window override redirect, don't
proxy keyboard events to entry when window is iconified, raise
window when moving, raise window on uniconify, set initial manual
position after realize to avoid manual position being an offscreen
one properly, only allow one query dialog to be up
Mon Mar 12 16:21:47 2001 George Lebl <jirka@5z.com>
* Release 2.2.0
Mon Mar 12 16:08:34 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.c, gui/gdmconfig.glade: Remove the scrolled window
and make the window initially not shown so that the size doesn't
flicker. Also nuke the hardcoded width and height. Still has
some issues with really large fonts, but works good enough for a
release now. Also set the side help string again, and comment out
the DOING_DEVELOPMENT define :)
Mon Mar 12 23:20:15 2001 Lee Mallabone <lee0@callnetuk.com>
* gui/gdmconfig.c: Use a notebook instead of doing the container
voodoo. This should sort out the widget packing.
Fri Mar 09 21:00:03 2001 Lee Mallabone <lee0@callnetuk.com>
* gui/gdmconfig.glade: Be slightly nicer to people with fonts
that aren't pretty small.
2001-03-12 Christian Rose <menthos@menthos.com>
* gui/gdmconfig.desktop: Added Swedish strings.
Sun Mar 11 20:23:55 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: follow the xinerama screen size/position for
the icon as well.
Sat Mar 10 19:36:18 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: remove the clear message before first prompt hack,
and make it, clear after first return hack. Also add a hack to
accumulate pam messages rather then replacing them in between
queries. This fixes the weird clearing bugs with respect to
say expiring passwords. Also clear message on GDM_RESET
Thu Mar 08 21:00:03 2001 Lee Mallabone <lee0@callnetuk.com>
* gui/gdmconfig.c: Change (lack of) help message.
* gui/gdmconfig.glade: Set the initial height to be more
representative of what it's like when the containers have been
packed. Also do a little bit of container voodoo so the main panels
are in a viewport, (makes gdmconfig more usable on small screens).
Thu Mar 08 00:37:12 2001 George Lebl <jirka@5z.com>
* gdm.spec.in: Fixups, move the security dir as well and
hardwire the sysconfdir to /etc as that seems broke on my 6.2 box
otherwise
* configure.in: raise version to 2.2.0, no there isn't a release yet,
this is just to start rumors of an upcoming one. (Plus I wanted
to build myself an rpm for my own use, cuz I'm not 'l33t 'nuff
to build on my system from cvs directly)
Wed Mar 07 22:50:06 2001 George Lebl <jirka@5z.com>
* gdm.spec.in: minor fixups from the merge
2001-03-07 Gregory Leblanc <gleblanc@cu-portland.edu>
* gdm.spec.in: much better macros, and better portability. Please
read the %ChangeLog section in the spec file for details.
Mon Mar 05 18:17:42 2001 George Lebl <jirka@5z.com>
* AUTHORS, README, README.install: Do a quick update as it's all
horribly out of date.
Mon Mar 05 23:41:40 2001 Lee Mallabone <lee0@callnetuk.com>
* gui/gdmconfig.[ch]: Fix bug that caused only values of 0 and 1 for
RelaxPerms to be used/written.
* gui/gdmconfig.glade: Change RelaxPerms toggle to 3 radio buttons,
and remove some old cruft.
Mon Mar 05 22:42:54 2001 Lee Mallabone <lee0@callnetuk.com>
* gui/Makefile.am: Change shared directory for glade files
to allow centralised storage of all gdm .glade files.
Link gdmchooser against libglade.
* gui/gdmconfig.c: Use new location for glade files.
* gui/gdmchooser.c: Gladeify gdmchooser and give it a slightly
less sucky GUI.
* gui/gdmchooser.glade, gui/gdmchooser-strings.c: Added GUI and
translatable strings for updated gdmchooser.
* gui/*.glade: Ensure WM_Class is set to be 'gdm' everywhere.
* gdm.spec.in: Adjust paths for new glade file and location.
Sun Mar 04 16:28:52 2001 George Lebl <jirka@5z.com>
* daemon/filecheck.[ch]: fix an error message and make const correct
* gui/gdmlogin.c: make the photo checking code saner, this assumes
we're root and can read anyone's files, really and this is bad,
oh well, it is sort of weird. Also a bunch of cleanup and
constization.
* gui/Makefile.am: don't link to filecheck anymore
* daemon/slave.c, gui/gdmlogin.c: cleanup some code, make GDM_QUIT
work for doing cleanup. Make it not actually quit but just
cleanup to prepare to be killed.
Sun Mar 04 12:27:50 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in: Added a note to the config file about running
X on a specific console. Mostly for packagers, apparently the
debian packages were broken in this respect.
Sun Mar 4 16:13:55 2001 Lee Mallabone <lee0@callnetuk.com>
* docs/gdmconfig/*: Added initial directory structure/files for
the gdmconfig user guide. Not installed yet.
* docs/gdmconfig/C/gdmconfig.sgml: Initial gdmconfig user guide
content from Trevor Curtis <trevor.curtis@home.com>.
Wed Feb 28 19:23:42 2001 George Lebl <jirka@5z.com>
* gui/gdmchooser.c: Apply patch from "Matthias Clasen"
<Matthias.Clasen@poet.de>, to fix issues with xdm.
Web Feb 28 18:47:14 2001 Lee Mallabone <lee0@callnetuk.com>
* gdmconfig-pam, gdmconfig-security: New files to support
priviledged non-root users running gdmconfig.
* Makefile.am, configure.in, gdm.spec.in: Add option to configure
to --enable-console-helper for gdmconfig.
Tue Feb 27 16:44:34 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in: apply patch from Vlad Harchev <hvv@hippo.ru>
to not force the adobe helvetica font and to exclude postgres and
pvm users by default
Tue Feb 27 13:27:00 2001 Lee Mallabone <lee0@callnetuk.com>
* gui/gdmconfig.c, gui/gdmconfig-strings.c, gui/gdmconfig.glade:
Fix version number and add bugzilla URL to about box.
2001-02-27 Gediminas Paulauskas <menesis@delfi.lt>
* gdmconfig/Makefile.am: removed DLOCALEDIR.
* gdmconfig/gdmconfig.c/h: include config.h in c file, not h.
i18n fixes, gui now translated.
Tue Feb 27 00:25:10 2001 George Lebl <jirka@5z.com>
* Release 2.0.99
Tue Feb 27 00:25:09 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c, daemon/xdmcp.c: Fixed xdmcp closing routine, and
close the xdmcp fd before restarting after a HUP so that xdmcp
doesn't fail. If we fail when initting xdmcp don't die, but just
disable xdmcp and continue after screaming stuff into syslog.
Wed Feb 21 01:46:34 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c, config/Default: Setup cursor in gdmlogin
Tue Feb 20 13:57:18 2001 George Lebl <jirka@5z.com>
* config/Default: Idea from peter winnberg <peter@rsub.com>, to set
the cursor to left_ptr to be nicer
Mon Feb 19 09:01:56 2001 Yukihiro Nakai <nakai@gnome.gr.jp>
* gui/gdmconfig.desktop: Add Japanese translation.
Mon Feb 19 21:37:07 2001 George Lebl <jirka@5z.com>
Patch from Tim Jansen <tim@tjansen.de>
* docs/C/gdm.sgml: fixed docs in terms of true/false vs. 1/0 and
add new values
* gui/gdmlogin.c, gui/gdmchooser.c: change GdmDebug to gboolean
and add some checks for config values
2001-02-19 Christophe Merlet <christophe@merlet.net>
* gui/gdmconfig.desktop: Added French strings.
Mon Feb 19 03:42:01 2001 Jonathan Blandford <jrb@redhat.com>
* gui/gdmlogin.c (create_handle): Minor UI cleanup to gdmlogin.
Sun Feb 18 15:05:00 2001 Lee Mallabone <lee0@callnetuk.com>
* gui/gdmconfig.glade: Improve clarity, and make 'automatic login'
more noticeable.
Sun Feb 18 11:32:00 2001 Lee Mallabone <lee0@callnetuk.com>
* gui/gdmconfig.(c|glade): GUI fixes for Xserver clist.
Sat Feb 17 19:08:00 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.(c|glade): Patch from Lee to fix xdmcp options
sensitivity, plus make the clist title passive and set it to
browse selection mode.
Thu Feb 15 03:18:15 2001 George Lebl <jirka@5z.com>
* Release 2.0.98.1
Thu Feb 15 03:18:12 2001 George Lebl <jirka@5z.com>
* configure.in, config/Gnome.in, config/Failsafe.in,
config/gdm.conf.in, config/gnomerc.in: Fix the autogeneration,
by including all the prefixes and by expanding the variables.
Idea stolen from GConf configure.in
Wed Feb 14 18:53:57 2001 George Lebl <jirka@5z.com>
* configure.in, config/Makefile.am: Apply patch from peter@ximian.com
(Peter Teichman), to generate config files from .in files during
configure time, rather then install time
* gdm.spec.in: update for the above
Tue Feb 13 18:27:03 2001 George Lebl <jirka@5z.com>
* daemon/display.c: Apply fix from "Matthias Clasen"
<Matthias.Clasen@poet.de> to make xmdcp work for him. Also
massaged that function a bit further. But it doesn't solve
my problems.
Mon Feb 12 02:18:39 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: remove a duplicate bindtextdomain foo, and remove
the default dialog pos is center thing since we explicitly set
this anyway.
Sun Feb 11 16:23:01 2001 George Lebl <jirka@5z.com>
* Release 2.0.98
Sat Feb 10 18:05:39 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.(c|h|glade): new update version of the configurator
from Lee Mallabone <lee@fonicmonkey.net> which makes it simpler to
do stuff.
Tue Feb 06 21:33:10 2001 George Lebl <jirka@5z.com>
* daemon/slave.c, daemon/verify-pam.c: pam cleanup done when slave
exitting.
Sun Feb 04 16:23:30 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.*: Apply patch from Lee Mallabone <lee@fonicmonkey.net>
To add a development define for debugging, and change a bit of
the layout to be more consistent.
Sat Feb 03 19:42:01 2001 George Lebl <jirka@5z.com>
* daemon/display.c, daemon/gdm.c: Fix corruption of GSLists on exit
Sat Feb 03 18:24:10 2001 George Lebl <jirka@5z.com>
* daemon/xmdcp.c: apply some changes found in the gdm debian
paches, but they don't make any difference
Sat Feb 03 17:58:51 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Patch from Tim Jansen <tim@tjansen.de> to fix
a buffer overflow with xinerama support
Sat Feb 03 15:39:29 2001 George Lebl <jirka@5z.com>
* gdm.spec.in: patch from Lee Mallabone <lee@fonicmonkey.net>, to
make gdmconfig actually work. (install the glade and desktop file)
Fri Feb 02 23:32:56 2001 George Lebl <jirka@5z.com>
* Release 2.0.97.1
Fri Feb 02 20:03:49 2001 George Lebl <jirka@5z.com>
* configure.in, config/Default.redhat, config/Failsafe.redhat,
config/Failsafe.in, config/Makefile.am, gdm.spec.in: First
attempt at making an rpm. Doesn't break the build, but I doubt
it works as I haven't tried it. Will test on my laptop later.
Fri Feb 02 18:29:40 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: the xinerama support might badmach if run under
a non xinerama supporting xserver, so trap errors and just assume
one screen if we get errors.
Thu Feb 01 18:28:33 2001 George Lebl <jirka@5z.com>
* Release 2.0.97
Thu Feb 01 18:26:17 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Add a hack so that if the Welcome string is
set to a default, use the gettext translation for added hack
value and more translations.
Thu Feb 01 17:58:30 2001 George Lebl <jirka@5z.com>
* gui/gdmconfig.(c|glade): some glade fixes, and add a reset option
when applying
* daemon/gdm.h: use true/false for booleans in defaults
Thu Feb 01 17:05:54 2001 George Lebl <jirka@5z.com>
* Apply an port a patch from <tim.jansen@systembureau.com>,
furhter modified default config (config/gdm.conf.in) and the
configuratior (gui/gdmconfig.c) to include the screen option
* gui/gdmlogin.c, configure.in: added support for Xinerama,
the new key greeter/XineramaScreen selects on which screen the
greeter will be centered
Thu Feb 01 04:49:11 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in: Add gdm to the list of default excludes
* daemon/gdm.c: take HUP signal, which will unmanage all displays and
then re-exec itself. This is a poor-mans reset, not integrated
with the configurator yet.
* daemon/display.c, daemon/gdm.[ch], daemon/server.c, daemon/slave.c,
daemon/xdmcp.c: Remove all loop of death catches except for the
slave restart one. Move the server loop of death to display.c
as it must run in the master process, and it can now catch all
the error conditions without races. Move sleeping to slave.
Kill many race conditions, some of them quite evil. Kill the
greeter segfault detection, loop of death in display.c is enough
here.
* gui/gdmlogin.c: If LANG is set, use that for a default language,
preferring the DefaultLocale setting and use that only as fallback.
Instead of setting LANG to the name of the language, set it to
the proper unaliased string since our alias file may be different
from the system one. And add a way to sort of get from codes to
langauge names. Remove tolower ugly hack.
2001-01-31 Gediminas Paulasukas <menesis@delfi.lt>
* gui/gdmconfig-strings.c, gui/gdmconfig.glade: fix some mistakes in
strings.
* config/locale.alias: added lithuanian.
Tue Jan 30 20:19:46 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Make quiver more visible and cooler looking (/me
thinks)
* config/gdm.conf.in: Verbose Auth is on by default, since now it
doesn't reveal information, Not sure if this option is useful
for anything really. We want "Login Incorrect" messages all the
time. May need some thought
* daemon/verify-(crypt|shadow).c: Don't reveal what went wrong on
login, just say "Login incorrect"
Tue Jan 30 16:52:39 2001 George Lebl <jirka@5z.com>
* Pfffffffffffffft! Really apply the patch from ChiDeok Hwang
<hwang@mizi.co.kr>
* daemon/slave.c, gui/gdm.c: Some locale stuff fixes. This still
feels really wrong as it mostly ignores the systemwide setting and
uses it's own default most of the time. And that's bad. Needs
some work.
Tue Jan 30 19:08:46 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c, gui/gdmconfig.c, gui/gdmconfig.glade: configuration
key fixes
* gui/Makefile.am: add desktop and glade to extradist
* gui/gdmconfig.desktop: start gdmconfig not gdmlogin (doh!)
Tue Jan 30 15:16:40 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c, daemon/server.c, daemon/xdmcp.c, daemon/slave.c,
gui/gdmconfig.c, gui/gdmconfig-strings.c, gui/gdmconfig.glade,
po/POTFILES.in: x18n fixes, add missing configuration options,
add warning dialog about when configuration will be applied,
fix up gboolean vs. int mess and it's related gnome_config stuff
Tue Jan 30 14:25:20 2001 George Lebl <jirka@5z.com>
Patch from ChiDeok Hwang <hwang@mizi.co.kr>:
* config/locale.alias: remove one of the entries for french as
that turns out to be blank on non -1 locales
* daemon/gdm.c, daemon/verify-pam.c, daemon/verify-crypt.c,
daemon/verify-shadow.c: i18n fixes
* daemon/slave.c: made user to see last message when gdm sleeps.
* gui/gdmlogin.c: empty other menu is ugly. So remove it when it is
empty. gdm_slave_greeter_ctl(GDM_MSGERR, ...) was stalled waiting
output from gui.
Patch from Lee Mallabone <lee@fonicmonkey.net>:
* configure.in, gui/Makefile.am: make gdmconfig buile and depend on
libglade
* gui/gdmconfig.(c|h|desktop|glade): A working implementation of
the configuration. Doesn't yet restart gdm and only works for root
(has no pam stuff), but much better then nothing. Still missing
the new options for 2.1
2001-01-30 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Added "nn" to ALL_LINGUAS.
Thu Jan 25 23:49:44 2001 George Lebl <jirka@5z.com>
* Release 2.0.96
Thu Jan 25 23:04:01 2001 George Lebl <jirka@5z.com>
* daemon/slave.[ch]: cleanup
* daemon/gdm.h, gui/gdmlogin.c, config/gdm.conf.in: Add options
for setting the initial position to allow xinerama wankers to
make their login not suck too much. Also added an option to
lock the window position and fixed some braindamages. Fixed the
label style setting as well to work with non default themes.
Thu Jan 25 06:34:13 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: workaround non-working grabs, add a window title,
implement window moving (poor mans support of xinerama) and other
cleanup and fixes
Tue Jan 23 18:09:01 2001 George Lebl <jirka@5z.com>
* daemon/slave.c: minor cleanups
Tue Jan 23 03:34:29 2001 George Lebl <jirka@5z.com>
* daemon/xdmcp.c: some cleanup in hunt for a fix of xdmcp
Mon Jan 22 21:02:19 2001 George Lebl <jirka@5z.com>
* daemon/gdm.c, daemon/slave.c, daemon/display.c, daemon/xdmcp.c: fix
some xdmcp bugs, crashes, etc... random cleanup, autologin on the
first display started only, when killing things make sure kill
succeeded before waitpid, otherwise probably the process was
already dead and we'd just wait forever. But don't expect XDMCP
to actually work now, it doesn't.
Mon Jan 22 02:59:22 2001 George Lebl <jirka@5z.com>
* daemon/misc.c, daemon/server.[ch], daemon/slave.c,
daemon/display.c: Race fixes, remove old code, cleanups,
leak fixes, use the same X server process and use HUP to
reset it
Wed Jan 10 19:25:54 2001 George Lebl <jirka@5z.com>
* configure.in, *: raise version and put in some notes in relevant
files
Wed Jan 10 13:57:56 2001 George Lebl <jirka@5z.com>
* daemon/display.c, daemon/gdm.[ch], daemon/server.c,
daemon/slave.c: A little bit of cleanup, if the greeter
segs 5 times during 40 seconds, unmanage the display
so that we don't hog the console.
Wed Jan 10 07:22:29 2001 George Lebl <jirka@5z.com>
* daemon/server.[ch], daemon/slave.c: When slave is exitting
we should kill the old X server really. It should be possible to
reuse, but currently this was leading to hangs. Also only
wait for the server if the kill worked to avoid hanging in
waitpid.
Wed Jan 10 03:20:48 2001 George Lebl <jirka@5z.com>
* config/gdm.conf.in: add empty line for automatic login (disabled)
* daemon/server.c: If the server aborts during startup try restarting
it about 5 times
Wed Jan 10 02:32:52 2001 George Lebl <jirka@5z.com>
* daemon/verify.h, daemon/verify-*.[ch], daemon/slave.c: For
autologin we have to do the pam dance to setup stuff nicely.
Wed Jan 10 01:13:54 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.c, gui/gdmlogin.c,
config/gdm.conf.in: Move the background stuff to greeter as that
makes more sense
* daemon/gdm.[ch], daemon/slave.c: Add automatic logging in on the
first login (so most likely right after boot). This is off by
default of course and will not autologin root.
Tue Jan 09 21:55:26 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], daemon/slave.c, config/gdm.conf.in: Add support
for running a background process and have it have the same lifetime
as the greeter. This makes it easy to add things like screensavers
on the root and make them stop when you actually log in.
Tue Jan 09 18:50:51 2001 George Lebl <jirka@5z.com>
* Many changes, too many to write a changelog for. Applied most of
the redhat and helix patches. On the login screen make a window
over the entire window and proxy key events back to the entry to
get xdm like keyboard grab behaviour without a grab. When starting
local displays call gdm_display_manage to actually fork the slave.
Try cleaning up after self when messing with signal handlers.
When killing clients, ignore x errors. Kill clients on the same
display connection since opening a new one won't work. Kill the
alarm on the ping since it made no sense, and didn't work in the
first place.
2000-12-17 Marius Andreiana <mandreiana@yahoo.com>
* configure.in: Added ro (Romanian) to ALL_LINGUAS
2000-12-12 Mathieu Lacage <mathieu@eazel.com>
Make it: 1) compile 2) pass make distcheck.
* configure.in: one BAD BAD typo: s/aC/AC/
* daemon/Makefile.am: add server.h
* docs/C/Makefile.am: remove images.
* docs/C/gdm.sgml: fix sgml.
* po/Makefile.in.in: I dunno.
2000-11-28 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* configure.in (ALL_LINGUAS): Added Slovak translation
2000-10-19 Yukihiro Nakai <nakai@gnome.gr.jp>
* configure.in: Add Chinese(GB2312, Big5) to ALL_LINGUAS
2000-08-29 Carlos Perelló Marín <carlos@hispalinux.es>
* config/gdm.conf.in: Added the Spanish welcome message
2000-08-24 Alastair McKinstry <mckinstry@computer.org>
* configure.in (ALL_LINGUAS): Added Irish translation
2000-07-30 Christopher R. Gabriel <cgabriel@softwarelibero.org>
* configure.in (ALL_LINGUAS): added Italian translation
2000-06-18 Stanislav Brabec <utx@penguin.cz>
* daemon/misc.c,
daemon/misc.h,
daemon/slave.c,
configure.in: Thread-safe wrapper for gdm_setenv, new function
gdm_unsetenv. Change required for gdm basic funftionallity on some
systems. On systems without setenv/unsetenv functions, gdm_(un)setenv
still remains thread unsafe & POSIX safe!
2000-06-05 Stanislav Brabec <utx@penguin.cz>
* daemon/gdm.c: Typo fix.
2000-05-11 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in (ALL_LINGUAS): added Catalan file
2000-04-20 Ruben Lopez <ryu@mundivia.es>
* configure.in (ALL_LINGUAS): added Galician (gl) translation
2000-04-20 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in (ALL_LINGUAS): added Lithuanian file
2000-02-29 Stanislav Brabec <utx@penguin.cz>
* daemon/verify-shadow.c: Typo bug fixed.
* config/Makefile.am: Allow make install from separate dir.
1999-12-31 <mkp@mkp.net>
* daemon/gdm.c (gdm_child_handler): Major overhaul.
* daemon/display.c (gdm_display_lookup): New function.
* daemon/server.c: Fixes.
1999-12-29 <mkp@mkp.net>
* Checkin of my devel tree. Some of the new stuff is in. Mostly
infrastructure changes, though. Oh, and it doesn't actually work
yet. But it will eventually. Promise!
1999-12-26 <mkp@mkp.net>
* daemon/verify-*.c: Move each authentication scheme to a separate
file (Sucks to be a translator :).
1999-12-21 <mkp@mkp.net>
* daemon/verify.c (gdm_verify_user): Added fix for expired
passwords when using PAM (Philip Spencer
<pspencer@fields.utoronto.ca>).
1999-11-11 <mkp@mkp.net>
* daemon/misc.c (gdm_setenv): New function to work around POSIX
brain damage.
1999-11-10 Yuri Syrota <rasta@renome.rovno.ua>
* configure.in (ALL_LINGUAS): Added uk.
1999-11-01 <mkp@mkp.net>
* daemon/verify.c (gdm_verify_user): Error in error message.
* daemon/slave.c (gdm_slave_greeter_ctl): Nuke random junk that
might have accumulated in the ipc pipe.
* gui/gdmlogin.c (gdm_login_ctrl_handler): Same as above.
* configure.in: Fixed -lnsl (again)
1999-10-21 Sergey Panov <sipan@mit.edu>
* configure.in (ALL_LINGUAS): Added ru.
1999-10-03 <mkp@mkp.net>
* daemon/slave.c: Misc. hacks to solve #2487. PAM messes with
pwent.
* daemon/gdm.c (gdm_config_parse): Check that gdmlogin and
gdmchooser can be executed by gdm before starting up.
1999-10-02 <mkp@mkp.net>
* daemon/slave.c (gdm_slave_greeter_ctl): Fix NULL string passing
bug.
1999-09-30 <mkp@mkp.net>
* config/PreSession, config/PostSession: Example sessreg scripts.
* daemon/slave.c (gdm_slave_session_cleanup): Run PostSession
script even when display is dead.
* daemon/xdmcp.c (gdm_xdmcp_handle_query): Get XDMCP running again.
1999-09-29 <mkp@mkp.net>
* gui/gdmlogin.c, gui/gdmchooser.c: bindtextdomain() + other
fixes.
* daemon/slave.c (gdm_slave_session_start): Pipe fix from Elliot.
1999-09-28 Rodrigo Stulzer Lopes <rodrigo@conectiva.com.br>
* configure.in (ALL_LINGUAS): Added pt_BR.
1999-09-27 <mkp@mkp.net>
* docs/C/gdm.sgml: Lots of updates.
* daemon/slave.c (gdm_slave_session_start): Let the daemon handle
session/language lookups.
1999-09-26 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
* configure.in (ALL_LINGUAS): Added Korean.
* config/locale.alias: Likewise.
1999-09-23 <mkp@mkp.net>
* gui/gdmlogin.c (gdm_login_gui_init): Avoid dumping core when
specified font can't be loaded (#2315).
* Ripped out some work-in-progress code that didn't make it in
time for beta3. Postponed for beta4.
* Loads of fixes. Thanks to Elliot.
* daemon/filecheck.c (gdm_file_check): Log warning if critical
files are missing.
1999-09-21 <mkp@mkp.net>
* daemon/verify.c (gdm_verify_user): Avoid exposing usernames on
getpwent() failure. GdmAllowRoot is now used for non-PAM
configurations only.
1999-09-13 <mkp@mkp.net>
* daemon/verify.c (gdm_verify_user): Fix root logins.
1999-09-07 <mkp@mkp.net>
* gui/gdmlogin.c (gdm_login_browser_select): Fixed the obscure
curuser==NULL on doubleclick bug reported by Nils/Elliot.
1999-09-03 Zbigniew Chyla <chyla@alice.ci.pwr.wroc.pl>
* configure.in (ALL_LINGUAS): Added pl.
1999-09-01 <mkp@mkp.net>
* gui/gdmlogin.c (gdm_login_gui_init): Only add column for logo if
it is readable.
* daemon/verify.c (gdm_verify_check): Check that PAM configuration
file exists before starting up.
1999-08-31 <mkp@mkp.net>
* daemon/slave.c (gdm_slave_session_start): unset MAIL in the
user's environment. I have to POSIXify my environment handling at
some point.
* gui/gdmlogin.c (gdm_parse_enriched_string): %n is
uname.nodename. "Welcome to %n" is new default greeting.
(gdm_login_users_init): Ignore duplicate usernames on broken NIS
systems (Nils Philippsen <nils@wombat.dialup.fht-esslingen.de>).
1999-08-31 Kjartan Maraas <kmaraas@online.no>
* configure.in: Added "da" to ALL_LINGUAS.
1999-08-18 <mkp@mkp.net>
* docs/C/gdm.sgml: More documentation work.
1999-08-16 <mkp@mkp.net>
* docs/C/gdm.sgml: SGML-ified manual. Only bare bones so far.
* configure.in: Check whether crypt.h exists. Gnome bug #1925.
1999-08-15 <mkp@mkp.net>
* docs/gdm-manual.txt: Updated for v2 config file syntax.
* daemon/choose.c: New file. Doing INDIRECT choosing the right
way.
* daemon/auth.c: Purge all instances of current display in user
cookie file.
(gdm_auth_user_remove): Fix stupid segfault.
* daemon/slave.c (gdm_slave_session_start): Avoid saving language
and session if ~user/.gnome/gdm isn't kosher instead of bailing
out.
* daemon/auth.c: Fixed cookie problems for local displays.
* daemon/gdm.c (gdm_display_dispose): Free Xauth.
1999-08-14 <mkp@mkp.net>
* gui/gdmlogin.c: Fixed a few gtk_widget_set_sensitive(NULL)
occurrences.
1999-08-11 <mkp@mkp.net>
* daemon/auth.c: Nailed down the bug that has been haunting me the
past couple of days. gdm no longer corrupts ~user/.Xauthority if
it contains ``foreign'' cookies.
1999-08-08 <mkp@mkp.net>
Finally merged the Ottawa megapatch:
* daemon/auth.c: Real XAuth implementation. Doesn't rely on
/usr/bin/X11/xauth anymore.
* gui/gdmlogin.c: Implemented browser functionality.
* gui/gdmconfig.c: First shot at a graphical configuration tool.
* gui/gdmface.c: Face selector capplet.
1999-08-07 <mkp@mkp.net>
* Replaced gdm_putenv() with calls to setenv() as putenv() is
broken by specification.
1999-08-07 Anders Carlsson <anders.carlsson@tordata.se>
* configure.in (ALL_LINGUAS): Added sv to ALL_LINGUAS.
1999-08-02 <mkp@mkp.net>
* md5.c, md5.h, cookie.c: Fixed MD5 endianness problem (Reported
by <gewrgiou@imbc.gr>, bugzilla 3898).
1999-07-24 Tristan Tarrant <ttarrant@etnoteam.it>
* gui/gdmchooser.c (main): centre all dialogs
* gui/gdmlogin.c (main): the same
1999-07-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gui/gdmchooser.c (gdm_chooser_gui_init): Set the scrollbar
adjustment properly.
1999-06-30 <mkp@mkp.net>
* daemon/xdmcp.c (gdm_xdmcp_handle_forward_query): First shot at
implementing FORWARD_QUERY. gdm supports being chosen from remote
hosts now, but still doesn't provide chooser functionality itself.
1999-06-29 <mkp@mkp.net>
* daemon/verify.c (gdm_verify_user): Transfer PAM environment to
user session (Suggested by nalin@thermo.stat.ncsu.edu)
1999-05-14 Jacob Berkman <jberk+@cmu.edu>
* gui/gdmlogin.c (gdm_parse_enriched_string): added support
for processor type for Welcome text
* docs/gdm-manual.txt: added entry for %m
1999-05-09 <mkp@mkp.net>
* daemon/server.c (gdm_server_restart): Workaround for the
annoying gnome-name-server bug.
* Misc. fixes.
1999-04-19 Martin Kasper Petersen <mkp@mkp.net>
* Created gdm2 branch. Most of the daemon code has been revamped,
gdmgreeter development suspended and gdmlogin written from
scratch. Face browser functionality will return eventually.
* gui/gdmlogin.c (gdm_parse_enriched_string): Applied patch from
Jacob Berkman to support sysname and release variable expansion.
1999-03-28 Martin Kasper Petersen <mkp@mkp.net>
* gui/gdmgreeter.c (gdm_greeter_user_alloc): Icon size bug
reported by Clifford Wright.
1999-03-07 Martin Kasper Petersen <mkp@mkp.net>
* configure.in, src/Makefile.am: Pass -DGDM_CONFIG_PATH to
compiler to avoid ${prefix}/blah bug in Owen's patch.
1999-03-06 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_user_alloc): Fixed a memory
corruption bug (Reported by Gregory McLean <gregm@comstar.net>).
1999-03-05 Martin Kasper Petersen <mkp@mkp.net>
* gdm.spec: Fix spec file.
* Misc fixes.
1999-03-03 Martin Kasper Petersen <mkp@mkp.net>
* config/Makefile.am, configure.in: Patch from Owen.
* po/de.po: Added (Patch from Karsten Weiss
<karsten@addx.au.s.shuttle.de>).
1999-02-26 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (main): Force completion mode on for the time
being. I'll implement a real PAM conversation function within the
next couple of days to take care of the exposed usernames issue.
1999-02-25 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmchooser.c: Done!
* src/gdmchooser.c: First shot at reimplementing the code I
lost. Doesn't actually work yet.
1999-02-24 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmxdmcp.c: Fix gethostbyaddr() lookups.
* src/gdmslave.c: Various fixes.
* src/gdm.c (gdm_display_dispose): Call XCloseDisplay to close
remote connections.
(gdm_child_handler): Fix wrong debug output.
* config/Makefile.am: Create Default display init file.
1999-02-23 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c (gdm_verify_user): Added shadow support (Patch
from Timo Sirainen).
* src/gdmgreeter.c (main): Added GtkRC support
(Patch from Daniel_Burrows@brown.edu).
1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmgreeter.c (main): Call gnome sound shutdown here.
* src/gdm.c (main): Show a descriptive message to let the user
locate the stale pid file.
* configure.in (LIBWRAP_PATH): Use the same configuration
mechanism for detecting a working libwrap library on the system
(fixes crash).
* src/gdmslave.c (gdm_slave_greeter): Do not use sscanf to get the
password, as it might contain spaces, just copy the string.
(gdm_slave_get_opts): Use fgets directly on the target buffer.
(gdm_slave_get_opts): Make the strings empty at startup.
* src/gdmgreeter.c (gdm_greeter_logo_init): Use gnome-pixmap
widget instead of gtk-pixmap. Gnome-pixmap correctly uses the
right visual and is simpler to use (and does not crash on
multidepth visuals).
(gdm_greeter_iconify_handler): Use gnome-pixmao here too.
1999-02-16 Martin Kasper Petersen <mkp@mkp.net>
* src/gdm.c: Ignore invalid lines in [servers] section.
1999-02-14 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmserver.c: Changed SA_ONESHOT to SA_RESETHAND.
1999-02-08 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_parse_config): Disable shutdown
menu on non-local displays.
* src/gdm.c (gdm_config_parse): Default path belongs in
[system] (msw).
* src/gdmxdmcp.c (gdm_xdmcp_init): Use GIOChannel to monitor fds.
* src/gdmmisc.c (gdm_parse_enriched_string): Support %d expansion
for display name.
1999-02-06 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmxdmcp.c (gdm_xdmcp_send_accept): MIT cookies work for
remote displays now.
* src/gdmslave.c: Lots of fixes. Should be stable again.
1999-02-04 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_child_handler): Only xping remote
displays to avoid DISPLAY_ABORT for murdered greeters/Xservers.
* src/gdmmisc.c (gdm_exec_script): Set default path before
executing.
1999-02-03 Martin Kasper Petersen <mkp@mkp.net>
* Makefile.am: Stuff the docs dir back in and add the appropriate
Makefile.am.
1999-02-02 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c: Fixes for XDMCP vs. local display handling.
* src/gdmxdmcp.c: Numerous fixes.
1999-01-31 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmxdmcp.c: First shot at XDMCP implentation.
1999-01-28 Martin Kasper Petersen <mkp@mkp.net>
* configure.in/Makefile.am: Generate Makefile in docs. Added
README.install to EXTRA_DIST.
1999-01-27 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_info): Fixed the annoying hanging
Gtk bug caused by my inability to program user interfaces. Ahem.
* configure.in: Stuff GNOME_GETTEXT back in.
1999-01-25 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_session_start): Moved english->C
locale here. Ugly, but it became a mess in greeter too.
* src/gdmverify.c (gdm_verify_user): Repetetetive pam_setcred
spotted by gb. Fixed.
1999-01-22 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c (gdm_verify_user): syslog ident workaround.
* src/gdmgreeter.c (gdm_greeter_session_init): Used widget pointer
as session name if no default was found. Fixed.
* src/gdm.c (gdm_display_unmanage): Avoid killing master daemon
when unmanaging displays.
* src/gdmslave.c (gdm_slave_session_start): Added call to
initgroups() to set up additional group memberships.
* src/gdmverify.c (gdm_verify_user): Fix non-PAM password
checking.
1999-01-20 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c (gdm_verify_user): Updated PAM stuff.
1999-01-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmslave.c (gdm_slave_session_start): Set the umask.
1999-01-19 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c (gdm_verify_pam_conv): Quick workaround for PAM
stuff. Real solution due tomorrow.
* src/gdmgreeter.c: Lots of new stuff. Non completion mode
deprecated. On demand NFS lookups. Language selection.
* src/gdmslave.c (gdm_slave_greeter): New session/language
selection support.
1999-01-18 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_session_start): Fixed memleak.
1999-01-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmslave.c (gdm_slave_greeter): Check return values from
sscanf. Because "\n" scanned with %s returns -1 and the target
buffer has an undefined value.
* src/gdm.c (main): Set the umask to 066 to make any
default file created indirectly by gnome-config be of mode 066.
1999-01-13 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_sessions_init): Check that Session
scripts are executable before adding them to the list.
* src/gdmmisc.c (gdm_file_check): Added an option making the
function return TRUE if it is ok that a file is absent. I.e. the
user has no existing .Xauthority, .gnome/gdm or whatever.
* src/gdmslave.c (gdm_slave_session_start): Added default
path. Create ~user/.gnome if it doesn't exist.
* src/gdmslave.c (gdm_slave_session_stop): More setegid().
* src/gdmslave.c (gdm_slave_session_start): Added setgid().
(gdm_slave_greeter): Fixed sigmask.
* src/gdmauth.c (gdm_auth_user_{add|remove}): Added -i to xauth to
ignore hanging locks.
* src/gdmgreeter.c (main): Resize only when browser is enabled.
* src/gdmgreeter.c (gdm_greeter_message_init): Removed debug msg.
* src/gdm.c (gdm_config_parse): Bail out if gdm user/group doesn't
exist. Root failover made people lazy.
* src/gdm.c (gdm_child_handler): Minor fix to make gdm work with
more than one local Xserver.
1999-01-12 Martin Kasper Petersen <mkp@mkp.net>
* config/gdm.conf.in ([system]): Added UserIconMax{Width,Height}.
* src/gdmgreeter.c (gdm_greeter_user_alloc): Scales user icons to
sysadmin specified max size.
* src/gdmgreeter.c (gdm_greeter_iconify_handler): Fixed
iconification bug.
(gdm_greeter_login_key_handler): Cursor/Tab key restriction.
* src/gdmslave.c (gdm_slave_greeter): Forgot to setgid()
(gdm_slave_greeter): Workaround for getenv("HOME") until miguel
fixes gnome_init().
* src/gdmmisc.c (gdm_parse_enriched_string): Fallback if
getenv("HOSTNAME")==NULL.
1999-01-11 Martin Kasper Petersen <mkp@mkp.net>
* src/<younameit>.[ch] Done rewriting the daemon code to avoid the
race condition caused by simultaneous greeter/session and Xserver
death.
1998-12-30 Jeff Garzik <jgarzik@pobox.com>
* src/gdmauth.c, src/gdmgreeter.c, src/gdmmisc.c,
src/gdmslave.c, src/gdmxdmcp.c:
s/g_copy_strings/g_strconcat/
1998-12-28 Martin Kasper Petersen <mkp@mkp.net>
* src/*.c: Loads of fixes over the past couple of days.
* src/gdmgreeter.c (gdm_greeter_parse_config): gdmUserMaxFile
tunable.
* src/gdmmisc.c (gdm_file_check): Moved gdm_greeter_file_check
here. Now a generic function.
* src/gdmslave.c (gdm_slave_windows_kill_error_handler): Ok,
nailed down the bug which caused gdmslave to exit(1)
mysteriously. A race in the windows_recursive_kill function caused
the X default error handler to kick in. Blam. You're dead.
(gdm_slave_session_init): Run sanity check on ~user/.Xauthority
and ~user/.gnome/gdm.
(gdm_slave_exec_command): Use the passed pointer instead of
gdmSuspend.
(gdm_slave_session_init): Added SHELL environment variable so the
user's shell is executed. Not just root's..
1998-12-25 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_user_alloc): Rewritten to use
sanity check.
(gdm_greeter_file_check): New function. Checks file size,
ownership etc. to avoid DoS attacks on greeter.
1998-12-23 Martin Kasper Petersen <mkp@mkp.net>
* src/gdm.c (gdm_abort): New function for error logging and
aborting.
(gdm_config_parse): luser proof permissions checking on authdir.
* src/gdmgreeter.c: Several oddities fixed.
* src/gdmgreeter.c (gdm_greeter_buttons_init): Mark login button
as default.
* src/gdmgreeter.c (gdm_greeter_login_entry_handler): Fixed event
handlers to avoid the obscure emit_stop bug. Turns out my ancient
event handlers were doing the right thing all along. Only the
recent ones were br0ked. *sigh*. Thanks Owen!
1998-12-22 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_greet_init): Removed debug logging of
username and password. Ahem. Thanks Sopwith!
* src/gdmgreeter.c (gdm_greeter_login_entry_handler):
Fixes. gtk_signal_emit_stop_by_name workaround.
1998-12-20 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_invalid_passwd_req): Minor hack to
avoid greeter to be reactivated during dialog.
* src/(gdm_greeter_entry_init): Limit input length in login and
password entry fields.
* src/gdmslave.c (gdm_slave_greet_init): Avoid potential buffer
overflow, in case something/someone breaks greeter.
1998-12-15 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c (gdm_verify_user): Two buglets reported by
<kvajk@ricochet.net>.
1998-12-14 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_browser_unselect): Catch
BUTTON_RELEASE.
1998-12-13 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_{reboot,halt}_handler): Use
gnome_question_dialog instead of message_box.
1998-12-03 Martin Kasper Petersen <mkp@mkp.net>
* config/Makefile.am: Fixed gnomerc. Both path and INSTALL_SCRIPT
were wrong -- No wonder people have been complaining. *sigh*
* src/gdm.c (main): Abort with (xdm compliant :) error message if
gdm isn't started by root.
1998-12-01 Martin Kasper Petersen <mkp@mkp.net>
* docs/gdm-manual.txt: Crude manual draft.
* src/gdm.c, config/gdm.conf.in: The PreRoot and PostRoot
directories have been renamed PreSession and PostSession to avoid
confusion.
1998-11-30 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_message_init): Calls the enriched
string function on the message string to support ``Welcome to
<hostname>''. Need to supply both server and client macros.
* src/gdmmisc.c (gdm_parse_enriched_string): New function for %h
expansion in strings.
* src/gdmgreeter.c: Removed legacy labels and such. gettext takes
it from here.
* src/gdm.c (gdm_config_parse): Check for correct permissions on
vardir.
1998-11-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmgreeter.c (gdm_greeter_browser_init): IconList now starts
life in thawed mode.
1998-11-22 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_browser_select): Reverted to the
old event types (GDK_BUTTON_PRESS) for gnome-icon-list.
* src/gdmslave.c, src/gdmgreeter.c, src/gdm.c: Added support for
suspending APM-aware machines from greeter.
1998-11-20 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c: Fixed X server restart stuff. gdmslave rewrite
done.
* src/gdmslave.c, src/gdm.c, config/gdm.conf.in: Implemented
KillInitClients option (Requested by sct).
1998-11-18 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_display_init): Finally nailed down the
bug that has been haunting me for the past week causing
gdm_slave_windows_kill to hang on second login. The X server takes
a while to recover consciousness after a reset. I take this into
account by sleeping for a while if XOpenDisplay fails.
Unfortunately, dsp was already initialized in second run
(but invalid after the X server reset) causing my retry condition
to be ignored. Always check your pointers! *sigh*
So, the new gdm should be as fast as xdm (i.e. fewer resets
causing garbled displays and momentary flicker. Visual annoyances
beyond this point - Go bug the X server people).
SANE tutorial coming up in 6 hours. *Thud*
1998-11-09 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c More or less a rewrite.
1998-11-08 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_init): Add d->name when starting X
server.
* src/gdm.c (gdm_config_parse): Added intelligent AuthDir
searching and gdmLogDir. gdmLogFile deprecated.
* src/gdmslave.c (gdm_slave_init): Moved stdout, stderr logging
here. Logs are now per-display.
1998-11-08 Martin Kasper Petersen <mkp@mkp.net>
* #include<errno.h> in *.c.
1998-11-02 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_session_init): Reset display instead
of restarting the X server every time.
1998-11-01 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_session_init): If PreRoot script
returns > 0 abort session.
1998-10-31 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmauth.c (gdm_auth_user_add): New function.
(gdm_auth_user_remove): New function. ~/.Xauthority management.
1998-10-30 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmmisc.c (gdm_arg_munch): Zero out the remaining
argv-entries. We use the static array several times.
* src/gdmslave.c (gdm_slave_session_init): Removed malloc(pwent) -
Duh!.
* src/gdm.c (gdm_config_parse): Added group lookup. Removed
malloc(pwent).
1998-10-26 Martin Kasper Petersen <mkp@mkp.net>
* config/gdm.conf.in: New User and Group keys override NobodyUser
1998-10-21 Martin Kasper Petersen <mkp@mkp.net>
* src/gdm.c (gdm_restart_slave): Implemented reboot and halt.
* src/gdmverify.c: #ifdefs to make it compile on non PAM systems.
* src/Makefile.am (gdm_SOURCES): Added gdmmisc.c
* src/gdmmisc.c: Moved arg_much to a seperate file. It is now used
by both gdm.c and gdmslave.c.
1998-10-20 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c: Send STX through pipeline before sending a
command.
* src/gdmslave.c (gdm_slave_display_init): Added STX for greeter
communications to avoid problems with Gtk debug errors to stdout.
1998-10-19 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_browser_init): Added background
color in browser.
* src/gdmgreeter.c (gdm_greeter_browser_select): Change
GDK_BUTTON_PRESS to ditto RELEASE due to gil.
* src/gdmgreeter.c (main): Removed buggy icon list workaround.
(main): Center window before realizing it.
(gdm_greeter_browser_init): Added 3D frame to new icon list.
1998-10-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmgreeter.c (gdm_greeter_browser_init): Icon List is born
in frozen state, calling freeze and thaw leaves it still in frozen
state (as we have a frozen counter instead of a flag these days.).
1998-10-16 Christopher Blizzard <blizzard@appliedtheory.com>
* config/Makefile.am (install-data-hook): Make sure that
install-data-hook depends on targets gdm.conf gnomerc and Gnome.
Otherwise they are never built. Also, if the directories that
these files are supposed to go in don't exist, create them with
the proper mode.
1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmgreeter.c (gdm_greeter_login_entry_handler): Fix use of
the gnome_icon_list_moveto routine
(gdm_greeter_browser_update): ditto.
(gdm_greeter_browser_init): Adapt to the new gnome-icon-list api.
(gdm_greeter_login_entry_handler): Thaw before attempting to use moveto
Martin, is there any reason why you clear() the icon lists
contents and then reload them when the user changes from the login
field to the password one?
1998-10-13 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_exec_script): New function.
(gdm_slave_display_init): Add support for display init script.
(gdm_slave_session_init): Add support for root pre-login script.
(gdm_slave_session_init): Add support for root post-login script.
* src/gdm.c (gdm_config_parse): Added new config options for
scripts.
* config/gdm.conf.in ([daemon]): Default config options for
scripts.
1998-10-11 Martin Kasper Petersen <mkp@mkp.net>
* src/gdm.c (main): Redirect all output to a logfile.
* src/gdm.c (main): Moved the pid checking code to main to avoid
/sbin/init respawns. Checks whether gdm is started by init and
stops forking if this is the case (actually works this time).
* config/gdm.conf.in (PidFile): I've been ignoring all bug reports
caused by this one. Turns out I made a typo in the config template
file. *sigh*
1998-10-11 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
* src/Makefile.am (gdm_LDADD): Added '$(INTLLIBS).
(gdmgreeter_LDADD): Likewise.
1998-10-10 Martin Kasper Petersen <mkp@mkp.net>
* config/gdm.conf.in ([servers]): Modified to default X server
entry to exclude display depth option.
* config/Makefile.am (install-data-hook): Avoid overwriting
existing config files.
* acconfig.h: Added HAVE_PAM
* src/gdmverify.c (gdm_verify_user): Change USE_PAM to HAVE_PAM to
follow conventions.
* configure.in (have_pam): PAM autodetection.
1998-10-08 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_invalid_passwd_req): Set focus to
passwd field when auth fails.
* src/gdmslave.c: Finished the rewrite. Should be almost usable
again.
* config/Makefile.am: TODO: Need to find a way to prevent
overwriting gdm.conf when doing a make install.
1998-10-07 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_login): Completely new
communication scheme. Easier to parse in gdmslave.c.
1998-10-06 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c: New file. TODO: PAM detection in autoconf.
* src/gdmslave.c: Gave up on merging CVS and my .ch-work. Started
major rewrite instead.
* src/gdmgreeter.c: Removed `:' in pipe communication
protocol. Waste.
1998-10-05 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c: Fixed the race reported on gnome-list the right
way. The posted fix broke X USR1 signalling.
* src/gdmgreeter.c (gdm_greeter_about): Bumped version
number. Whee.
(gdm_greeter_done): New function. Partly replaces parse_results().
(gdm_greeter_login): Former login_button_handler. Now passes
password through pipe. Disables input while gdmslave is thinking.
(gdm_greeter_passwd_entry_handler): Replaced parse_results with
gdm_greeter_login to reflect the auth redesign.
(gdm_greeter_invalid_passwd_req): Re-enable input and reset cursor
after requester has been acked.
(main): Added signal handling for gdmslave communication.
1998-10-04 Martin Kasper Petersen <mkp@mkp.net>
* src/gdm.c: signal->sigaction stuff.
(gdm_daemonify): Moved openlog to main.
(main): Stop forking when ppid is init.
1998-10-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmslave.c (gdm_slave_init): Setup the signal before
forking. FIXME: We need to use sigaction all over the place
instead of signal.
Thu Sep 24 22:09:39 CEST 1998 Jochen Friedrich <jochen@scram.de>
* src/gdmgreeter.c: Fixed a memory corruption.
1998-09-15 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_usr1_handler): Added support for
setting last session in ~/.gnome/gdm/session/last. I had forgotten
all about it after I removed it from greeter.
* src/gdm.c Gazillions of fixes
* src/gdmslave.c Gazillions of fixes
1998-09-14 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_verify_user): Replaced annoying
LOG_AUTH with LOG_ERR.
* config/Makefile.am: Changed _DATA to _SCRIPTS for gnomerc et al.
1998-09-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdm.c (gdm_config_parse): Simplify as well.
* src/gdmgreeter.c (gdm_greeter_user_alloc): Fix my oversimplication
from last night.
* src/gdmgreeter.c (gdm_greeter_user_alloc): More simplification
of the use of gnome-config. I think I really should document it.
* src/gdm.h (gdm_slave_init): Add prototype. Remove include to
gnome.h.
* src/gdmslave.c (gdm_slave_usr1_handler): Log errors when the
session can not be launched.
Simplify the includes.
* src/gdmgreeter.c (gdm_greeter_parse_config): Simplify the code
by using gnome_config_push_prefix
(gdm_greeter_parse_config): Do not strdup the resulting strings,
they are already dupped
(gdm_greeter_sessions_init): Removed dependency on static buffer
for s. Find correcly the default session.
Tue Sep 8 16:11:49 EDT 1998 Gregory McLean
* acconfig.h : added this file so one can cvs -z3 co gdm, cd gdm
./autogen.sh; make and have an executable be spit out.
|