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
|
Tue Oct 09 18:22:34 2001 George Lebl <jirka@5z.com>
* libgnome.schema, Makefile.am: schemas for preferences, this
replaces gnome-preferences API which is supposed to be gone
(And will be soon)
* gnome-macros.h: also add prototypes for class_init and
instance_init to the macro, so that they can be just declared
sometime later without having to mess with forward declarations
2001-10-06 Malcolm Tredinnick <malcolm@commsecure.com.au>
* gnome-program.c, gnome-triggers.c, gnome-triggers.h:
* gnome-util.c, gnome-help.h, gnome-uri.h: Documentation updates
and fiddling.
2001-10-05 Malcolm Tredinnick <malcolm@commsecure.com.au>
* gnome-config.c, gnome-gconf.c, gnome-help.c, gnome-program.c:
* gnome-score.c, gnome-sound.c, gnome-url.c: Documentation
updates.
2001-10-04 Malcolm Tredinnick <malcolm@commsecure.com.au>
* gnome-program.c, gnome-exec.c, gnome-18n.c: Documentation
updates.
Sun Sep 30 14:41:52 2001 George Lebl <jirka@5z.com>
* gnome-program.c: free data on finalize, copy argv stuff, and a bit
of cleanup
2001-09-28 Mark McLoughlin <mark@skynet.ie>
* libgnome/gnome-program.h: add lame GNOME_PARAM_NONE
for clarity.
* libgnome/gnome-init.c
(gnome_bonobo_module_info_get): add missing initialiser.
2001-09-19 Frank Belew <frb@ximian.com>
* gnome-init.c (gnomelib_options): add space to implicitly concatenated string
2001-09-19 Frank Belew <frb@ximian.com>
* gnome-init.c (gnomelib_options): add quotation marks to continued
string in initializer
* gnome-program.h: define program_invocation_short_name and
program_invocation_name if not already defined in errno.h
2001-09-18 Havoc Pennington <hp@redhat.com>
* libgnome-2.0.pc.in (Requires): add gnome-vfs
2001-09-19 Ariel Rios <ariel@gnu.org>
* gnome-program.c (add_to_module_list): Cast the return
value of g_ptr_array_index since PPC was complaining about this.
Tue Sep 18 20:40:04 2001 George Lebl <jirka@5z.com>
* gnome-util.[ch], gnome-config.h, gnome-init.c:
deprecate g_concat_dir_and_file, and replace it with a macro
using g_build_filename, which essentially does the same thing.
Tue Sep 18 17:43:45 2001 George Lebl <jirka@5z.com>
* Makefile.am, gnome-config.[ch], gnome-gconfP.h, gnome-gconf.[ch],
gnome-exec.c, gnome-init.c, gnome-url.c: Do the private symbols
dance and make the gconf lazy init stuff private
Fri Sep 14 12:33:21 2001 George Lebl <jirka@5z.com>
* Makefile.am, gnome-macros.h, gnome-program.c, libgnome.h: Move the
gnome-macros foo to libgnome. Also change it a bit so that it can
actually deal with basic glib objects, and use it for GnomeProgram
2001-09-11 Anders Carlsson <andersca@gnu.org>
* gnome-program.c (gnome_module_info_get_type): Update to use
new api for g_boxed_type_register_static.
Fri Sep 07 14:38:07 2001 George Lebl <jirka@5z.com>
* gnome-help.h: include gnome-program.h
2001-09-06 Anders Carlsson <andersca@gnu.org>
* libgnome-2.0.pc.in (Cflags): Use gnome-2.0/
instead of gnome/2/
* Makefile.am: Install libgnome.h in libgnomeui/
and use gnome-2.0/ instead of gnome/2/
Tue Sep 04 19:12:15 2001 George Lebl <jirka@5z.com>
* gnome-config.h: include gnome-init.h
Tue Sep 04 18:05:12 2001 George Lebl <jirka@5z.com>
* gnome-config.h: use the getters for the user/private gnome_dir
2001-09-04 Martin Baulig <baulig@suse.de>
* gnome-i18n.c: #include <locale.h>.
2001-09-02 Anders Carlsson <andersca@gnu.org>
* gnome-program.h: Add G_END_DECLS.
Mon Sep 03 17:45:03 2001 George Lebl <jirka@5z.com>
* gnome-i18nP.h: remove the config.h include from here, that
shouldn't be in other header files
* gnome-marshal-main.c: include config.h
Mon Sep 03 03:33:20 2001 George Lebl <jirka@5z.com>
* gnome-init.[ch]: add a bonobo module here
* gnome-program.c: some doc fixes, a typo in a constant fixed, and
add simple init profiling info
Mon Sep 03 02:18:51 2001 George Lebl <jirka@5z.com>
* gnome-gconf.c, gnome-init.c: get versions right
* gnome-program.c: fixup gnome_program_get doc
Sun Sep 02 23:30:56 2001 George Lebl <jirka@5z.com>
* gnome-exec.c, gnome-url.c: clean up headers a bit, and do lazy gconf init
* gnome-gconf.[ch]: Don't do all the init on init, but only when
something calls gnome_gconf_lazy_init
* gnome-init.c: remove the bonobo stuff, init vfs after arguments are
parsed for bonobo-activation argument parsing to work right
* gnome-program.[ch], gnome-gconf.[ch], gnome-init.[ch],
test-libgnome.c: Make all the module info stuff into getters
rather then data pointers. This makes the lib have no exported
data symbols which is apparently more kosher and makes some
optimizations in loading possible.
* gnome-program.c: when comparing modules, just compare pointers. We
require pointers to stay the same anyway. So we save a whole bunch
of string compares this way. And we already did this somewhat
anyway
* gnome-sound.[ch]: Remove gnome_sound_connection and add
gnome_sound_connection_get (), which works a lot better for
on demand esound starting.
Sun Sep 02 14:15:46 2001 George Lebl <jirka@5z.com>
* gnome-help.[ch], gnome-url.[ch]: fix compilation with popt, remove
some of the duplicated errors and just pass the underlying errors
where appropriate. Use g_spawn instead of the gnome exec function.
also fix a memory leak.
2001-09-02 Anders Carlsson <andersca@gnu.org>
* Makefile.am: Remove compilation of Gnome.idl.
* gnome-exec.c: (gnome_prepend_terminal_to_vector):
Use gconf.
* gnome-help.c: (gnome_help_display_uri):
Use the old gnome_url_show API.
* gnome-init.c: (libbonobo_class_init):
Don't initialize the bonobo-config monikers.
* gnome-init.h:
Remove functions to get a ConfigDatabase from a GnomeProgram.
* gnome-preferences.c: (desktop_property_get_boolean),
(desktop_property_set_boolean):
Add a really bad hack (always return FALSE on get_boolean) until
we can put GnomePreferences out of its misery.
* gnome-url.c: (gnome_url_default_handler), (gnome_url_show):
* gnome-url.h:
Remove complex API and just export gnome_url_show.
* libgnome.h:
Don't include Gnome.h
* test-libgnome.c: (test_url), (main):
Remove moniker tests and use gnome_url_show for the url test.
Sun Sep 02 02:45:37 2001 George Lebl <jirka@5z.com>
* libgnome.h: add gnome-help.h and gnome-score.h
Sun Sep 02 01:38:05 2001 George Lebl <jirka@5z.com>
* gnome-help.c: make actually compile. DOH!
Sun Sep 02 00:49:05 2001 George Lebl <jirka@5z.com>
* gnome-program.[ch], gnome-init.c, gnome-gconf.c: Be consistent
with naming of attributes and getters. So
s/gnome_program_get_name/gnome_program_get_app_id/ and
s/gnome_program_get_version/gnome_program_get_app_version/
* gnome-program.c, gnome-help.[ch]: Implement the help stuff
according to jrb's RFP. Hopefully correctly :)
* gnome-exec.c, gnome-program.c, gnome-config.c: Be more consistent
with use of alloca and always call g_alloca
Sat Sep 01 23:01:30 2001 George Lebl <jirka@5z.com>
* Makefile.am, gnome-score.[ch]: bring back the non-gui portion of
gnome-scores.
* gnome-i18n.c: the push/pop numeric C locale was sort of stupid. It
was saving the C locale. So assume that if we're nested we're in the
C locale. This is just as safe netable wise and wastes less
resources
* gnome-config.c: alloca voodoo is now done in glib
Sat Sep 01 17:26:44 2001 George Lebl <jirka@5z.com>
* gnome-init.c: don't run the gnome_triggers_init, it's an empty
function
* gnome-sound.c: actually do on demand esd startup and not on init,
and fix the issue with possible sound sample conflicts if they were
loaded at the same second. Perhaps this code is weird, need more
investigation.
* gnome-triggers.[ch]: comment out the init function, and whack the
prototypes from the .h file that weren't implemented at all anyway
* gnome-util.[ch]: use G_DIR_SEPARATOR(_S), deprecate g_copy_vector,
and mark all the deprecation macros as deprecated. Add deprecated
macro for g_file_exists, g_unix_error_string and
gnome_util_user_home as well.
Sat Sep 01 15:24:54 2001 George Lebl <jirka@5z.com>
* gnome-program.c: in the _init function only reregister a module if
it hasn't been registered yet.
2001-09-01 Anders Carlsson <andersca@gnu.org>
* gnome-program.c (gnome_program_module_registered): the program_modules
array is NULL-terminated, so break if we get a NULL.
Sat Sep 01 06:49:49 2001 George Lebl <jirka@5z.com>
* gnome-program.c: Init modules passed to gnome_program_init on
the second (non-global) invocation as well. Found out bonobo is
calling this and that's very wrong BTW. gnome_program_init should
be only called by the program itself in it's main. Also don't
load shlib modules if we're setgid or setuid. Take the
"--load-modules modules" form of argument. Use the type in the
init to create the program.
Sat Sep 01 02:40:35 2001 George Lebl <jirka@5z.com>
* gnome-config.c: kill weird include for strndup, this is in glib
now
Thu Aug 30 19:04:25 2001 George Lebl <jirka@5z.com>
* gnome-util.c: if looking for a shell in the fallback code,
look for shells in /usr/bin as well as that's used on solaris
Thu Aug 30 14:15:44 2001 George Lebl <jirka@5z.com>
* gnome-gconf.h: Eeek, we were including gconf-client, we don't
want to do that.
Wed Aug 29 01:24:33 2001 George Lebl <jirka@5z.com>
* gnome-program.[ch]: ifdef out the help functions, that's a better
indication that these are here just for show for now. A proposal
of sorts.
Tue Aug 28 23:40:23 2001 George Lebl <jirka@5z.com>
* gnome-program.c: app prefix defaults to NULL, which will cause
a g_warning (maybe should be g_error) when locate_file is used
for an app relative domain. Also don't search the path for
app relative files.
* gnome-program.[ch]: Add a proposal of functions implementation
for displaying app and system help. This is not part of the
API people should use. It's just for people to leer at for
now.
Tue Aug 28 22:45:44 2001 George Lebl <jirka@5z.com>
* gnome-program.[ch]: To make help file (and other files) location
possible add distinction for app and gnome specific files. Also
add a macro that will set the standard directory properties more
simply.
* gnome-init.c: translate module names
Tue Aug 28 01:49:27 2001 George Lebl <jirka@5z.com>
* gnome-gconf.[ch]: For program relative path, take an optional
argument of GnomeProgram. Also add documentation for these
two.
Mon Aug 27 00:55:56 2001 George Lebl <jirka@5z.com>
* gnome-config.c, parse-path.cP: use an internal version of
cancat dir and file which always works with '/'
Mon Aug 27 00:32:57 2001 George Lebl <jirka@5z.com>
* gnome-gconf.c: include gnome-i18nP.h
* gnome-init.[ch], gnome-program.[ch]: Fix include stuff foo,
declare the externs in the header file, initialize triggers again,
and put back the sound stuff so that we're at 1.0 level on that.
Also added a few descriptions of GnomeProgram properties.
Sun Aug 26 22:54:57 2001 George Lebl <jirka@5z.com>
* libgnome.h, Makefile.am, gnome-gconf.c: Getting confused a bit,
fix things up, now it does compile
Sun Aug 26 22:48:54 2001 George Lebl <jirka@5z.com>
* gnome-init.c, gnome-gconf.[ch], Makefile.am: Add gconf support
here. This is the init stuff, none of the gui stuff.
Sun Aug 26 07:29:59 2001 George Lebl <jirka@5z.com>
* Makefile.am, gnome-config.[ch], parse-path.cP, gnome-sound.[ch],
gnome-triggersP.h, gnome-triggers.[ch], gnome-i18n.[ch],
gnome-i18nP.h, libgnome.h: Bring back sane versions of these files.
Will be marked as deprecated where appropriate later after some more
discussion. In gnome-i18n, don't bring back the broken and
unused crap (preffered language and get_language)
* gnome-i18nP.h, gnome-exec.c, gnome-init.c, gnome-program.c,
gnome-url.c, test-libgnome.c: Make translations works once more
* gnome-util.c: paranoia fix, setuid/setgid programs can't use
getenv ("SHELL") (for obvious reasons).
Thu Aug 23 23:23:42 2001 George Lebl <jirka@5z.com>
* gnome-exec.c: fix a 64bit issue with a format string (remember
that types that you don't know size (such as gsize) should be
casted when passed to printf since they can be either %d or %ld
or some such.
2001-08-10 Michael Meeks <michael@ximian.com>
* gnome-init.c (libgnome_requirements): remove redundant
duplicate libbonobo_module_info.
2001-08-13 Martin Baulig <baulig@suse.de>
* gnome-init.c (bonobo_activation_post_args_parse): Get the
Bonobo::ActivationContext here, this avoids some nasty
reentrancy problems.
* gnome-program.c (gnome_program_locate_file): Allow the `program'
argument to be NULL, in this case call gnome_program_get().
2001-08-09 Martin Baulig <baulig@suse.de>
* gnome-util.h (gnome_*_file, gnome_unconditional_*_file): Put
them back, but #define it as a gnome_program_locate_file() call.
2001-08-09 Martin Baulig <baulig@suse.de>
After a discussion with Michael and a release meeting, we
decided to remove the sound again. It was really a bad idea.
* gnome-sound.[ch]: Removed.
* gnome-sound-csl.c: Removed.
* gnome-sound-driver.[ch]: Removed.
* gnome-triggers.[ch]: Removed.
* test-sound.c: Removed.
2001-08-09 Martin Baulig <baulig@suse.de>
* gnome-sound-driver.[ch]: New files.
* gnome-sound.c, gnome-sound-csl.c: This is an API rewrite
which I did in my local tree, but it's not finished yet and
shouldn't be considered as a good API - just wanted to commit
this before ..... (see the next ChangeLog entry).
2001-08-04 Martin Baulig <baulig@suse.de>
* gnome-sound.h (gnome_sound_sample_new_from_file):
Added `const gchar *name' argument.
2001-08-04 Martin Baulig <baulig@suse.de>
* *.[ch]: Fixed #includes, only include necessary
header files, use <...> instead of "..." where
appropriate.
2001-08-04 Martin Baulig <baulig@suse.de>
* libgnome-init.[ch]: Renamed to gnome-init.[ch].
2001-08-04 Martin Baulig <baulig@suse.de>
* gnome-triggersP.h: Removed.
* libgnomeP.h: Removed.
2001-08-04 Martin Baulig <baulig@suse.de>
* gnome-moz-remote.c, gnome-moz-remote2.c: Removed.
* vroot.h: Removed.
* gnome-remote.[ch]: Removed.
2001-08-04 Martin Baulig <baulig@suse.de>
* gnome-program.[ch]: Updated copyright info and use
"This file is part of GNOME 2.0" to indicate that it's part
of the frozed API.
* libgnome-init.[ch]: Updated copyright info and use
"This file is part of GNOME 2.0" to indicate that it's part
of the frozed API.
2001-08-04 Martin Baulig <baulig@suse.de>
* gnome-sound.h (gnome_sound_sample_new_from_cache): New func.
(gnome_sound_cache_add_sample): New func.
(gnome_sound_cache_remove_sample): New func.
* gnome-triggers.c: Re-enable this file.
2001-08-03 Martin Baulig <baulig@suse.de>
* libgnome-init.c (libbonobo_post_args_parse): Initialize the
config databases in an idle handler as this will improve the
startup time of the application.
2001-08-03 Martin Baulig <baulig@suse.de>
* Makefile.am: Create gnomesoundplugin_csl.la and install it
in $(libdir)/gnome-2.0/sound-plugins/ if we have CSL.
* gnome-sound.[ch]: The new GNOME Sound API.
* gnome-sound-csl.c: This is the sound plugin module for CSL.
* test-sound.c: New file.
2001-08-01 Martin Baulig <baulig@suse.de>
* gnome-paper.[ch]: Removed.
2001-07-31 Martin Baulig <baulig@suse.de>
* gnome-marshal.list: Removed everything which is not currently used:
VOID:DOUBLE, VOID:UINT, VOID:STRING,INT, VOID:STRING,INT,BOXED,
VOID:STRING,INT,UINT, VOID:POINTER,INT,BOOLEAN, VOID:STRING,BOXED,
VOID:STRING,BOOLEAN,BOXED, ENUM:VOID, BOOLEAN:OBJECT, POINTER:INT,INT,
POINTER:BOOLEAN, POINTER:VOID, POINTER:POINTER, STRING:VOID.
2001-07-31 Martin Baulig <baulig@suse.de>
* gnome-ditem.[ch]: Removed. This will be moved to gnome-core when George is
back from his holidays.
2001-07-27 Martin Baulig <baulig@suse.de>
* libgnome-marshal.list: VOID:STRING,INT,UINT,BOXED -> VOID:STRING,INT,UINT.
VOID:POINTER,INT,BOOLEAN,BOXED -> VOID:POINTER,INT,BOOLEAN,BOXED.
2001-07-16 Martin Baulig <baulig@suse.de>
* libgnome-init.c (GNOME_PARAM_CONFIG_MONIKER): Default to "config:";
you don't need to set this property unless you have a reason to do so.
(GNOME_PARAM_DESKTOP_CONFIG_MONIKER): Default to "config:/gnome/desktop/".
No need to set this property.
2001-07-11 Martin Baulig <baulig@suse.de>
* libgnome-init.c (gnome_mime_type): Removed.
2001-07-09 Michael Meeks <michael@ximian.com>
* Makefile.am (libgnome_headers): remove gnome-regex.[ch]
2001-07-04 Michael Meeks <michael@ximian.com>
* Makefile.am: remove gnome-fileconvert.[ch]
* libgnome/gnome-fileconvert.[ch]: remove.
2001-07-02 Carlos Perelló MarÃn <carlos@gnome-db.org>
* gnome-ditem.c, libgnome-init.c: Now it compile with the
latest bonobo-conf
Sat Jun 30 15:54:25 2001 Jonathan Blandford <jrb@redhat.com>
* gnome-program.c (gnome_program_initv): Change to match new
function signature.
2001-06-14 Martin Baulig <baulig@suse.de>
* gnome-i18n.c, gnome-i18nP.h: Removed.
2001-06-13 Martin Baulig <baulig@suse.de>
* Makefile.am: Install libgnome.h in `$(includedir)/gnome/2' to make it
consistent with Bonobo.
* libgnome.h: You now use #include <libgnome.h> to get this.
2001-06-13 Martin Baulig <baulig@suse.de>
* gnome-selector.[ch]: Moved to libgnome-extra/libgnome/.
* gnome-selector-factory.[ch]: Likewise.
* gnome-async-context.[ch]: Likewise.
2001-06-12 Martin Baulig <baulig@suse.de>
* gnome-program.c (gnome_program_get_property): Implemented PROP_POPT_CONTEXT.
2001-06-10 Martin Baulig <baulig@suse.de>
* gnome-config.[ch]: Finally removed this. It's already in libcompat.
* gnome-paper.[ch]: Copied to libcompat and don't compile it anymore. This belongs into
libgnomeprint or some printing library / application.
* gnome-scores.[ch]: Moved to libcompat. This belongs into some games library, but not
into libgnome.
* gnome-remote.[ch]: Don't compile this for the moment.
(FIXME: What should we do with this code ? Since this was only a wrapper around
gnome_config calls we don't really need to have this in libgnome. However, IMO it'd be
nice to have this functionality in gnome-exec).
* gnome-i18n.c: #ifdef FIXME all gnome_config_calls. The big FIXME is to decide whether
we still want/need this at all.
* gnome-exec.c (gnome_prepend_terminal_to_vector): Use bonobo-config, not gnome-config.
2001-06-10 Cody Russell <bratsche@gnome.org>
* gnome-preferences: Change preprocessor pasting from ##t## to just ## t.
2001-06-10 Martin Baulig <baulig@suse.de>
* gnome-ditem.c (gnome_ditem_save): Implemented.
2001-06-10 Martin Baulig <baulig@suse.de>
* gnome-ditem.c: Rewrote this to use bonobo-config with the new ditem moniker.
(the old version of this file is at CVS revision 1.40).
* gnome-ditem.h (GnomeDesktopItemLoadFlags): Removed
GNOME_DESKTOP_ITEM_LOAD_NO_DROP and GNOME_DESKTOP_ITEM_LOAD_NO_OTHER_SECTIONS.
(gnome_desktop_item_get_type): Changed return value to GNOME_DesktopEntryType.
(gnome_desktop_item_get_command): Now returns a `gchar *' which you need to g_free.
(gnome_desktop_item_get_icon_path): Likewise.
(gnome_desktop_item_get_name): Likewise.
(gnome_desktop_item_get_comment): Likewise.
(gnome_desktop_item_get_local_name): Likewise.
(gnome_desktop_item_get_local_comment): Likewise.
(gnome_desktop_item_get_attribute): New returns a `BonoboArg *' (which you need
to bonobo_arg_release).
(gnome_desktop_item_set_attributes): Takes a `const BonoboArg *' as argument.
(gnome_desktop_item_get_local_attributes): Removed.
(gnome_desktop_order_get_order): Now returns a `GSList *', you need to g_free the
strings in that list.
(gnome_desktop_order_set_type): Takes a GNOME_DesktopEntryType.
2001-06-10 Martin Baulig <baulig@suse.de>
* gnome-desktop.xmldb: Moved to ../monikers.
2001-06-05 Martin Baulig <baulig@suse.de>
* gnome-desktop.xmldb: New file.
* gnome-url.c: Use bonobo-config instead of gnome-config.
* libgnome-init.h (gnome_get_config_database): New function.
* Makefile.am (libgnome_headers): Don't install gnome-config.h.
(libgnome_src): Removed gnome-triggers.c.
* libgnome.h: Don't #include <libgnome/gnome-config.h>.
2001-06-04 Martin Baulig <baulig@suse.de>
* gnome-selector.c (gnome_selector_add_event_supplier): New function.
2001-06-03 Martin Baulig <baulig@suse.de>
* gnome-selector.c (PROP_CONFIG_MONIKER, PROP_BROWSE_DIALOG_MONIKER): New properties.
(gnome_selector_ensure_properties): New function. Sets default values for all
properties from the property bag.
2001-06-03 Martin Baulig <baulig@suse.de>
* gnome-selector.c (PROP_IS_FILE_SELECTOR): New tristate property.
2001-06-02 Martin Baulig <baulig@suse.de>
* gnome-directory-filter.[ch]: Removed.
* gnome-selector.c: Removed the GnomeDirectoryFilter stuff.
2001-06-02 Martin Baulig <baulig@suse.de>
* gnome-selector.c: Started to implement a new directory filter based on the
"filter-patterns" property in the property bag.
* gnome-selector.c (PROP_PBAG_AUTO_ADD_TO_LIST, PROP_PBAG_ACTIVATE_ENTRY_ACTION,
PROP_PBAG_ADD_URI_MODE, PROP_PBAG_FILTER_PATTERNS): New properties.
(PROP_PBAG_AUTO_ADD_TO_LIST): Removed.
(impl_GNOME_Selector_getURIList): Implemented.
2001-06-02 Martin Baulig <baulig@suse.de>
* libgnome-init.c (gnome_mime_type): Add this here until bonobo-moniker-extender-file.c
is fixed. You will be killed if you use this function !
2001-06-01 Martin Baulig <baulig@suse.de>
* gnome-selector.c (PROP_PBAG_MAX_HISTORY_LINES): Implemented.
* gnome-selector.c (PROP_PBAG_PREVIEW_URI): New read-only property.
* gnome-selector.c (PROP_PBAG_HISTORY): Implemented this property.
(PROP_PBAG_AUTO_ACTIVATE_ENTRY): New property.
(get_uri_handler, set_uri_handler): The default implementation is to save/return the
URI, so make sure to call the parent handler in derived classes.
(set_entry_text_handler): Call gnome_selector_activate_entry if the
PROP_PBAG_AUTO_ACTIVATE_ENTRY property is set.
(activate_entry_handler): Add the entry text to the history.
* gnome-selector.h (gnome_selector_load_history, gnome_selector_save_history): Removed.
(gnome_selector_prepend_history, gnome_selector_append_history): Removed the
`gboolean save' argument.
2001-06-01 Martin Baulig <baulig@suse.de>
* gnome-selector.c
(PROP_PBAG_ENTRY_TEXT, PROP_PBAG_HISTORY, PROP_PBAG_MAX_HISTORY_LINES): New properties
in the PropertyBag.
2001-06-01 Martin Baulig <baulig@suse.de>
* gnome-selector.c
(gnome_selector_get_property_bag): Renamed to gnome_selector_get_ambient_properties().
(PROP_PROPERTY_BAG): Renamed to PROP_AMBIENT_PROPERTIES.
(gnome_selector_construct): bonobo_object_add_interface() our Bonobo::EventSource and
our GNOME::AsyncContext and create and bonobo_object_add_interface() a new
Bonobo::PropertyBag.
2001-06-01 Martin Baulig <baulig@suse.de>
* gnome-selector.c
(gnome_selector_set_vfs_filter): New function to set the GnomeVFSDirectoryFilter.
(check_uri_handler, scan_directory_handler): Do the GnomeVFS stuff here rather
than in gnome-file-selector.[ch].
* gnome-file-selector.[ch]: Removed.
2001-05-31 Martin Baulig <baulig@suse.de>
* gnome-selector.c: Implemented the new CORBA API.
* gnome-selector.h (GnomeSelectorClass): Renamed "clear" to "clear_uri_list",
added "scan_directory" and added `gboolean directory_ok' to "check_uri".
(gnome_selector_scan_uri, gnome_selector_set_directory_filter): New functions.
* gnome-async-context.c
(GnomeAsyncFunc): Added `gboolean completed' and `const BonoboArg *result'.
(gnome_async_context_get_handle_by_id): New function.
(gnome_async_handle_set_result): New function.
(gnome_async_handle_call_async_func): New function.
(gnome_async_handle_get_id): New function.
* gnome-file-selector.[ch]: Derive from GnomeDirectoryFilter.
* gnome-selector-dialog.[ch]: Removed.
2001-05-25 Martin Baulig <baulig@suse.de>
* gnome-selector.[ch]: Merged `check_filename' and `check_directory'
into `check_uri' and `add_file' and `add_directory' into `add_uri'.
2001-05-25 Martin Baulig <baulig@suse.de>
* gnome-async-context.h (GNOME_ASYNC_TYPE_*): Removed.
2001-05-25 Martin Baulig <baulig@suse.de>
* gnome-selector.h, gnome-selectorP.h: Moved the async stuff to
gnome-async-context.[ch].
* gnome-async-context.[ch]: New files.
* gnome-directory-filter.[ch]: New files.
2001-05-23 Martin Baulig <baulig@suse.de>
* gnome-selector-factory.c (create_selector_handler): Read values
from the PropertyBag and set the GObject properties.
Mon May 21 23:12:04 2001 George Lebl <jirka@5z.com>
* gnome-ditem.[ch]: wipe all the standard incomformat stuff, clean
up a little bit and start on supporting the standard. Currently
compiles but doesn't all work, that is launching doesn't work.
Also wipe all KDE vs. GNOME stuff, now the entry is converted to
standard upon load, making life easier on the rest of the functions
2001-05-21 Martin Baulig <baulig@suse.de>
* gnome-selector-factory.c: Create a BonoboItemHandler so that
you can create a new GnomeSelector entirely with monikers.
* gnome-selector-dialog.[ch]: New files.
2001-05-21 Martin Baulig <baulig@suse.de>
* gnome-selector.c (GNOME_TYPE_TRISTATE): New enum type.
(PROP_WANT_BROWSE_BUTTON): Use the new tristate enum.
(PROP_WANT_CLEAR_BUTTON, PROP_WANT_DEFAULT_BUTTON): Likewise.
(PROP_WANT_ENTRY_WIDGET): New tristate property.
(PROP_WANT_SELECTOR_WIDGET): New tristate property.
(PROP_WANT_BROWSE_DIALOG): New tristate property.
(PROP_WANT_DEFAULT_BEHAVIOUR): Removed.
(PROP_USE_DEFAULT_ENTRY_WIDGET): Removed.
(PROP_USE_DEFAULT_SELECTOR_WIDGET): Removed.
(PROP_USE_DEFAULT_BROWSE_DIALOG): Removed.
Mon May 21 00:43:48 2001 George Lebl <jirka@5z.com>
* gnome-ditem-entry.[ch]: to be consistent with everything else g*
return the item from the _ref function when we do that. Also
update the docs for this of course.
Sun May 20 22:46:20 2001 George Lebl <jirka@5z.com>
* gnome-config.c: fix get_translated_string wrt defaults, the old
implementation just didn't work AT ALL if you passed in a default,
this appends the languages to the keys rather then onto the end
of the entire path.
2001-05-20 Martin Baulig <baulig@suse.de>
* gnome-selector.h
(gnome_selector_construct): Added `Bonobo_PropertyBag pbag' argument.
(gnome_selector_get_property_bag): New function.
(gnome_selector_get_history_id): Removed.
(gnome_selector_set_history_id): Removed.
* gnome-selector.c (PROP_HISTORY_ID): Removed this property.
(PROP_PROPERTY_BAG): New property.
* gnome-selector-factory.[ch]: New files.
2001-05-16 Mark Murnane <Mark.Murnane@ireland.sun.com>
Changes to eliminate any potential problems on 64-bit platforms.
* gnome-config.c (gnome_config_assemble_vector): Modified type
of len to match return type of strlen().
* gnome-ditem.c (replace_percentsign): Modified type of start,
string_len and ps_len as they are used in strlen() operations.
(strip_the_amp): Ditto for exec_len.
(stripstreq): Ditto for len2.
* gnome-exec.c (gnome_execute_async_with_env_fds): Modiifed type
of res to gssize to match return type of read() and write() system
calls.
* gnome-moz-remote.c (mozilla_remote_test_window): Cast
hostname to const char* to match g_strcasecmp's signature.
* gnome-paper.c (paper_name_compare): Modified return type
from int to long to match return type of g_strcasecmp.
(unit_name_compare): Ditto
(unit_abbrev_compare): Ditto
* gnome-program.c (gnome_program_install_property): Cast
parameter #3 of both calls to g_param_spec_set_qdata.
* gnome-score.c (log_score): Modified type of counter i to
match return from strlen().
* gnome-selector.c (_gnome_selector_add_history): Cast
parameter #3 to GCompareFunc.
2001-05-15 Martin Baulig <baulig@suse.de>
* libgnome-init.c (gnome_vfs_pre_args_parse): Call gnome_vfs_init()
and use this as pre-args-parse function for the gnome-vfs module.
2001-05-15 Martin Baulig <baulig@suse.de>
* Makefile.am (ORBIT_IDL): Use @ORBIT_IDL@ rather than
hardcoding `orbit-idl'.
2001-04-30 Martin Baulig <baulig@suse.de>
* Makefile.am: Install gnome-selectorP.h.
* gnome-selector.h (gnome_selector_get_entry_text): Put this back.
(gnome_selector_set_entry_text): Likewise.
(gnome_selector_activate_entry): Likesise.
(gnome_selector_get_uri, gnome_selector_set_uri): Likewise.
2001-05-08 Martin Baulig <baulig@suse.de>
* gnome-selector.h (gnome_selector_get_uri): Removed.
(gnome_selector_set_uri): Removed.
* gnome-selector.c (impl_GNOME_Selector_getClientID): Implemented.
(impl_GNOME_Selector_getURI, impl_GNOME_Selector_setURI): Likewise.
2001-05-07 Martin Baulig <baulig@suse.de>
* gnome-selector.h (GnomeSelectorClass): Removed "do_construct".
(gnome_selector_do_construct): Removed.
(gnome_selector_construct): New function.
(gnome_selector_bind_to_control): Made 2nd argument a BonoboObject.
2001-05-06 Martin Baulig <baulig@suse.de>
* gnome-preferences.c: Use the new bonobo-property-bag-client API.
2001-05-03 Martin Baulig <baulig@suse.de>
* gnome-file-selector.[ch]: Moved here from libgnomeui.
(GnomeFileSelector): Derive this directly from GnomeSelector.
2001-05-02 Michael Meeks <michael@ximian.com>
* libgnome-init.c (libbonobo_class_init): kill BonoboObjectClietn.
(gnome_program_get_config_database): split out (get_db): into here
never cut and paste code.
(gnome_program_get_config_database),
(gnome_program_get_desktop_config_database): upd.
re-order to remove redundant prototypes.
2001-05-01 Michael Meeks <michael@ximian.com>
* Makefile.am: fixup corba dependencies more genericaly, add
cleanfiles.
2001-05-02 Martin Baulig <baulig@suse.de>
* Makefile.am: Added explicit dependency
`libgnometypebuiltins.h libgnometypebuiltins.c: $(CORBA_SOURCE)'.
2001-05-01 Martin Baulig <baulig@suse.de>
* gnome-preferences.h (GNOME_PAD, GNOME_PAD_SMALL, GNOME_PAD_BIG):
Moved these #defines here from gnome-uidefs.h.
2001-04-30 Martin Baulig <baulig@suse.de>
* gnome-selector.h (gnome_selector_get_entry_text): Removed.
(gnome_selector_set_entry_text): Removed.
(gnome_selector_activate_entry): Removed.
2001-04-30 Martin Baulig <baulig@suse.de>
* gnome-selector.h (gnome_selector_bind_to_control): New function.
2001-04-30 Martin Baulig <baulig@suse.de>
* gnome-selector.h (GnomeSelector): Made this a BonoboObject.
(GNOME_TYPE_SELECTOR_ASYNC_HANDLE): New #define.
(gnome_selector_async_handle_get_type): New function.
(GNOME_TYPE_SELECTION_MODE): New #define.
(gnome_selection_mode_get_type): New function.
* gnome-selector.c: Use GObject and removed all GTK+ stuff.
(PROP_ENTRY_WIDGET, PROP_SELECTOR_WIDGET, PROP_BROWSE_DIALOG):
Removed these properties.
* gnome-selector.[ch], gnome-selectorP.h: Moved here from libgnomeui.
* libgnome.h: #include <libgnome/gnome-selector.h>.
2001-04-30 Martin Baulig <baulig@suse.de>
* Makefile.am (libgnome_2_la_SOURCES): Added the CORBA sources.
(libgnome_headers): Install Gnome.h.
* libgnome.h: #include <libgnome/Gnome.h>.
2001-04-30 Martin Baulig <baulig@suse.de>
* gnome-marshal.list, gnome-marshal-main.c: Moved here
from libgnomeui.
* Makefile.am: Create gnome-marshal.[ch] from gnome-marshal.list.
* libgnome.h: #include <libgnome/gnome-marshal.h>.
2001-04-29 Martin Baulig <baulig@suse.de>
* Makefile.am: Use the new glib-mkenums instead of our own
gnome-makeenums.pl and gnome-maketypes.awk.
* libgnometypebuiltins.[ch]: New generated files; provide a
type installation routine for each enum and flags type.
* gnome-program.c, libgnomeP.h (libgnome_type_init): This
function no longer exists.
2001-04-29 Martin Baulig <baulig@suse.de>
* libgnome-init.[ch]
(GNOME_PARAM_DESKTOP_CONFIG_DATABASE): New property.
(GNOME_PARAM_DESKTOP_CONFIG_MONIKER): Likewise.
(gnome_program_get_desktop_config_database): New function.
* gnome-preferences.[ch]: New files; this has the same API than
libgnomeui/gnome-preferences.[ch], but it's using bonobo-conf
internally.
2001-04-24 Martin Baulig <baulig@suse.de>
* Makefile.am (libgnome_headers): Added gnome-i18n.h.
2001-04-23 Martin Baulig <baulig@suse.de>
* gnome-program.h (GnomeModuleConstructor): Removed typedef.
(GnomeModuleClassInitHook): New typedef.
(GnomeModuleInfo): Removed `constructor' and added `class_init'
and `instance_init' functions.
(gnome_program_module_load): Return a `const GnomeModuleInfo *'.
(gnome_program_init): Added `GnomeModuleInfo *' argument.
(gnome_program_initv): Added `GType' and `GnomeModuleInfo *'
arguments.
* gnome-program.c (gnome_program_constructor): Removed.
(gnome_program_initv): Load and initialize all modules based
on the `GnomeModuleInfo *' argument; for the moment, we don't
use the GNOME_PARAM_MODULE_INFO and GNOME_PARAM_MODULES
properties.
* libgnome-init.h (gnome_gconf_module_info): Removed.
(gnome_program_get_gconf_client, GNOME_PARAM_GCONF_CLIENT): Removed.
(gnome_program_get_config_database): New function.
(GNOME_PARAM_CONFIG_DATABASE, GNOME_PARAM_CONFIG_MONIKER):
New properties.
* libgnome-init.c: Don't initialize GConf.
2001-04-23 Dietmar Maurer <dietmar@ximian.com>
* test-libgnome.c: replace #include <bonobo/libbonobo.h> with
#include <libbonobo.h>
2001-04-22 Martin Baulig <baulig@suse.de>
* test-libgnome.c (test_bonobo): Added little bonobo-conf test.
2001-04-22 Martin Baulig <baulig@suse.de>
* libgnome-2.0.pc.in: We don't need libgnomebase anymore.
* libgnome-init.c (gnome_oaf_pre_args_parse): Call g_thread_init().
2001-04-22 Dietmar Maurer <dietmar@ximian.com>
* Makefile.am (INCLUDES): move LIBBONOBO_CFLAGS before
OAF_CFLAGS, because OAF_CFLAGS include /usr/local/include
2001-04-21 Martin Baulig <baulig@suse.de>
* Makefile.am (INCLUDES): Use `LIBGNOME_*DIR' instead of `GNOME*DIR'.
* gnome-program.[ch]: Put this back.
* gnome-i18n.h: Put this back.
* *.[ch]: Don't #include <libgnomebase/gnome-portability.h>.
2001-04-20 Martin Baulig <baulig@suse.de>
* libgnome-init.c (gnome_oaf_module_info): Put this back.
(libbonobo_module_info): Depend of gnome_oaf_module_info; moved
oaf_popt_options to gnome_oaf_module_info.
2001-04-18 Michael Meeks <michael@ximian.com>
* libgnome-init.c (gnome_oaf_module_info): kill,
(libbonobo_module_info): Update.
2001-04-18 Martin Baulig <baulig@suse.de>
* libgnome-init.c (gnome_oaf_module_info): Put this back.
(libbonobo_module_info): Put this here since Michael doesn't want to
have it in Bonobo.
2001-04-17 Martin Baulig <baulig@suse.de>
* libgnome-init.c (gnome_oaf_module_info): Removed; this is in libbonobo.
(libgnome_module_requires): Require libbonobo.
* libgnome-2.0.pc.in: Depend on libbonobo-2.
2001-04-17 Martin Baulig <baulig@suse.de>
* gnome-ditem.c (gnome_desktop_item_drop_uri_list): Don't call
gnome_uri_extract_filename(), just use the URI as-is.
2001-04-15 Martin Baulig <baulig@suse.de>
* libgnome-init.c (libgnome_loadinit): Don't initialize threads here;
this has already been done by libgnomebase.
2001-04-15 Martin Baulig <baulig@suse.de>
* libgnome-init.c (gnome_program_get_gconf_client): Moved this function
here; it was previously in gnome-program.c, but gnome-program.c is now
in libgnomebase and thus cannot use gconf anymore.
* libgnome-init.h: New public header file.
(GNOME_PARAM_GCONF_CLIENT): Moved this #define here.
(gnome_program_get_gconf_client): Provide external declaration.
(gnome_oaf_module_info, gnome_gconf_module_info, gnome_vfs_module_info,
libgnome_module_info): Moved external declarations here from libgnome.h.
* libgnome.h: #include <libgnome/libgnome-init.h>.
2001-04-15 Martin Baulig <baulig@suse.de>
* libgnome-2.0.pc.in: Depend on libgnomebase-2.
2001-04-15 Martin Baulig <baulig@suse.de>
* gnome-program.[ch]: Removed; this is now in libgnomebase/libgnomebase.
* gnome-defs.h, gnome-i18n.h: Removed; this is now in libgnomebase/libgnomebase.
* gnome-i18nP.h: Moved all the external declarations from gnome-i18n.h here.
* gnome-portability.h.in: Removed; this is now in libgnomebase/libgnomebase.
2001-04-14 Martin Baulig <baulig@suse.de>
* gnome-program.h (GNOME_PARAM_GCONF_CLIENT): New GnomeProgram property.
(gnome_program_get_gconf_client): New convenience function to return the
GnomeProgram's GNOME_PARAM_GCONF_CLIENT property.
* gnome-program.c (gnome_program_get_property): Fixed a typo to make this
actually work.
* libgnome-init.c (gnome_gconf_constructor): New constructor function to
install the GnomeProgram's GNOME_PARAM_GCONF_CLIENT property.
(gnome_gconf_get_property, gnome_gconf_post_args_parse): Implement that
property; when creating a new GnomeProgram instance we set its
GNOME_PARAM_GCONF_CLIENT property to gnome_conf_client_get_default().
2001-04-13 Martin Baulig <baulig@suse.de>
* libgnome-init.c (gnome_oaf_module_info, gnome_gconf_module_info):
Provide GnomeModuleInfo structs for OAF and GConf.
(libgnome_module_requirements): Depend on OAF and GConf.
2001-04-13 Martin Baulig <baulig@suse.de>
* libgnome-2.0.pc.in: Added @LIBGNOME_EXTRA_DEPS@ to the Requires:.
2001-04-12 Martin Baulig <baulig@suse.de>
* gnome-program.h (GnomeModuleHook): The `GnomeModuleInfo' argument
is deep-copied, so you can actually modify it.
2001-04-12 Martin Baulig <baulig@suse.de>
* libgnome.h (libgnome_module_info): Added external declaration.
* gnomelib-init.c: Renamed to libgnome-init.c.
* gnomelib-init.h: Removed.
2001-04-11 Martin Baulig <baulig@suse.de>
* gnome-util.h (gnome_libdir_file, gnome_datadir_file,
gnome_sound_file, gnome_pixmap_file, gnome_config_file,
gnome_help_file, gnome_app_help_file): Removed.
(gnome_unconditional_*_file): Removed.
2001-04-11 Martin Baulig <baulig@suse.de>
* gnome-config.c (access_config_extended): Use
gnome_program_locate_file() instead of gnome_config_file().
* gnome-fileconvert.c (gfc_read_FileConverters): Use
gnome_program_locate_file().
2001-04-11 Martin Baulig <baulig@suse.de>
* gnome-program.c (gnome_program_locate_file): Return NULL if
`ret_locations' is given.
* gnome-program.c (gnome_program_initv): Call libgnome_type_init ()
instead of g_type_init (), moved g_type_init () call into
libgnome_type_init ().
* libgnomeP.h (libgnome_type_init): Added function prototype.
* Makefile.am: Create libgnome.defs and the type stuff using
gnome-maketypes.awk and gnome-makeenums.pl.
* libgnome-boxed.defs: New file.
* libgnometypes.c: New file.
2001-04-11 Martin Baulig <baulig@suse.de>
* libgnome.h: Use #include <libgnome/*.h> instead of "libgnome/*.h"
and #include <libgnome/gnome-ditem.h>.
2001-04-11 Martin Baulig <baulig@suse.de>
* gnome-util.h (PATH_SEP, PATH_SEP_STR): Moved to libgnomeP.h.
(g_is_image_filename): Removed function prototype.
* gnome-util.h (g_file_exists): Removed; use g_file_test() instead.
2001-03-24 Martin Baulig <baulig@suse.de>
* libgnome-2.0.pc.in: Depend on gconf-2.0.
2001-02-26 jacob berkman <jacob@ximian.com>
* gnome-url.c: default to using nautilus for help browsing if it
is available
2000-07-26 John Sullivan <sullivan@eazel.com>
* gnome-sound.c (use_sound): Moved this function out of a
#ifndef HAVE_LIBAUDIOFILE and into #ifdef HAVE_ESD.
This fixes the build breakage caused earlier today by Miguel's change.
2000-07-11 Miguel de Icaza <miguel@gnu.org>
* gnome-sound.c (gnome_sound_init): Store the esound hostname
here.
(gnome_sound_play): Use the use_sound routine here.
(gnome_sound_sample_load): ditto.
(use_sound): Delayed initialization of sound.
2000-05-27 Miguel de Icaza <miguel@helixcode.com>
* gnome-exec.c (gnome_execute_async_with_env_fds): Invoke setsid()
before execing the child process, as some applications terminate
by doing kill (0, SIGTERM) (mgp), so when we launch them from the
file manager they get the SIGTERM Message as well
2000-04-03 Miguel de Icaza <miguel@gnu.org>
* gnome-fileconvert.c (gfc_read_FileConverters): Do not depend on
initialization sequence to run.
* parse-path.cP (parse_path): Do not depend on the initialization sequence
2001-03-21 Martin Baulig <baulig@suse.de>
* Makefile.am: We're now in the new libgnome-2 module.
(bin_PROGRAMS): Don't build gnome-moz-remote for the moment since
it depends on X.
2001-03-21 Martin Baulig <baulig@suse.de>
* gnome-program.h (GNOME_PARAM_POPT_FLAGS, GNOME_PARAM_POPT_CONTEXT):
New properties.
* gnome-program.[ch]
(gnome_program_module_register, gnome_program_module_registered,
gnome_program_module_load): Removed the `GnomeProgram *' argument.
(gnome_program_install_property): First argument is now
`GnomeProgramClass *'.
(GnomeModuleInfo): The `init_pass' function no longer has a
`GnomeProgram *' argument, added `constructor' function.
2001-03-20 Martin Baulig <baulig@suse.de>
* gnome-program.[ch] (gnome_program_install_property): New
function; allows you to add a property to the GnomeProgramClass.
* gnome-program.h (GnomeFileDomain): New enum.
(GNOME_PARAM_GNOME_PATH): New property.
(gnome_program_locate_file): New function; this is a slightly
modified version of gnome_file_locate().
2001-03-20 Martin Baulig <baulig@suse.de>
* gnome-util.h (gnome_*_file): Use gnome_program_locate_file().
(gnome_file_domain_*): Removed.
(g_file_exists): #define this to use g_file_test().
* gnome-util.c (gnome_file_locate): Removed.
(g_file_exists): Removed.
2001-03-20 Martin Baulig <baulig@suse.de>
* gnomelib-init.[ch] (gnome_program_get_human_readable_name):
Moved to gnome-program.[ch].
* gnomelib-init.h (LIBGNOME_PARAM_*, libgnome_param_*):
Removed #defines and external declarations. There are corresponding
`GNOME_PARAM_*' #defines in gnome-program.h which are the names
of GnomeProgram's properties.
* test-libgnome.c: Simple test program.
* gnomelib-init2.[ch]: Removed, this is now gnome-program.[ch].
* gnome-program.[ch]: New files. This implements a `GnomeProgram'
GObject; most of the code is copied from gnomelib-init2.c, but
removed all the GnomeAttribute stuff and use GParam's.
2001-02-28 Mikael Hallendal <micke@codefactory.se>
* libgnome/: Fixed includes (added glib.h and gnome-defs.h
to the files needing it. Those are: gnome-config.h, gnome-ditem.h,
gnome-exec.h, gnome-fileconvert.h, gnome-i18n.h, gnome-regex.h,
gnome-remote.h, gnome-score.h, gnome-sound.h, gnome-triggers.h,
gnome-url.h, gnome-util.h, gnome-init.h).
2001-02-23 Martin Baulig <baulig@suse.de>
* libgnome-2.0.pc.in: New file.
* Makefile.am: Install pkg-config file.
2001-02-15 Darin Adler <darin@eazel.com>
* gnomelib-init2.c: (gnome_program_preinita):
Mark "Help options" with a N_ so it can be translated.
2000-12-26 Miguel de Icaza <miguel@helixcode.com>
* gnome-moz-remote.c (main): Give preference to mozilla when
autodetecting.
2000-12-09 Martin Baulig <baulig@suse.de>
* gnome-dump.c, gnome-gen-mimedb.c, gnome-magic.c, gnome-magic.h,
gnome-metadata.c, gnome-metadata.h, gnome-mime-info.c,
gnome-mime-info.h, gnome-mime.c, gnome-mime.h: Removed.
2000-12-09 Martin Baulig <baulig@suse.de>
* gnomelibs-init.c (libgnome_loadinit): New static function; add
this as `loadinit' function to libgnome's GnomeModuleInfo and
call g_thread_init() here.
2000-12-09 Martin Baulig <baulig@suse.de>
* gnome-i18n.c: Comment out g_i18n_get_language_list() and
g_i18n_guess_category_value() until someone with a clue has
had a look at it.
2000-11-22 Martin Baulig <martin@home-of-linux.org>
* gnome-util.h (g_file_test): Removed.
* Makefile.am: Use $(GNOMESUPPORT_INCS) and $(GNOMESUPPORT_LIBS).
2000-09-28 Martin Baulig <baulig@suse.de>
* gnome-history.[ch]: Moved to libcompat.
Thu Sep 28 03:34:52 2000 George Lebl <jirka@5z.com>
* gnome-ditem.c, gnome-moz-remote2.c, gnome-util.c, gnomelib-init2.c:
use g_getenv instead of getenv
Sun Sep 24 15:32:20 2000 George Lebl <jirka@5z.com>
* gnome-exec.[ch]: Improve some docs, and add function to
deal with terminals according to user prefs. Also some stylistic
changes.
* gnome-ditem.c: Use the gnome-exec function for getting the
terminal command line
* gnome-portability.h.in: remove the alloca thing as g_alloca is
apparently now in glib. The file is now empty and perhaps
should be removed, unless there's further need for it.
Sat Sep 23 17:28:25 2000 George Lebl <jirka@5z.com>
* gnome-i18n.[ch]: Add gnome_i18n_push_c_numeric_locale and
gnome_i18n_pop_c_numeric_locale functions that do the job of
pushing and poping "C" locale to make float<->string conversions
work right in other locales.
* gnome-scores.c, gnome-config.c: use the above
* gnome-ditem.c: include gnome-url.h to avoid warning
Fri Sep 15 18:47:06 2000 George Lebl <jirka@5z.com>
* gnome-ditem.[ch]: Launch Type=URL entries, and slight
cosmetic updates
Thu Sep 14 18:45:00 2000 George Lebl <jirka@5z.com>
* gnome-ditem.c: use g_path_get_dirname instead of g_dirname
2000-09-09 Martin Baulig <baulig@suse.de>
* gnome-util.c (g_copy_vector): Allow the argument to be NULL.
Fri Sep 01 19:13:15 2000 George Lebl <jirka@5z.com>
* gnome-url.[ch]: Use GError instead of homebrewed error return
2000-08-31 Martin Baulig <baulig@suse.de>
* gnome-i18n.c (gnome_i18n_get_language_list): Mark this as
deprecated and call g_i18n_get_language_list(). Moved most
stuff from this file into glib; you need the glib-2.0.patch
in the patches/ directory in order to use it.
* gnomelib-init.c: Initialize the gnome-vfs module.
Wed Aug 30 22:22:47 2000 George Lebl <jirka@5z.com>
* Makefile.am: cosmetic cleanups done in search of errors
Thu Aug 24 03:11:54 2000 George Lebl <jirka@5z.com>
* gnome-ditem.c: use g_path_get_basename instead of g_basename
Thu Aug 24 02:17:20 2000 George Lebl <jirka@5z.com>
* gnome-ditem.c: remove g_hash_table_freeze calls as freeze/thaw
on hash tables is deprecated
Thu Aug 24 01:45:11 2000 George Lebl <jirka@5z.com>
* gnome-mime.c: remove include of gtk/gtk.h
* libgnome.h: remove gnome-dentry.h as it's in libcompat now
* gnome-init2.c, gnome-ditem.c: whoops, it's g_path_get_basename not
g_path_basename
2000-08-07 Martin Baulig <baulig@suse.de>
Moved all deprecated files (i.e the ones that were linked into
libgnome-1-compat and not into libgnome) into their own
subdirectory (../libcompat).
* gnome-dentry.c, gnome-dentry.h, gnome-help.c, gnome-help.h,
gnome-popt.c, gnome-popt.h, gnome10-compat.c, gnome10-compat.h,
libgnome-compat-1.0.h: Moved to ../libcompat/.
* gnome-ditem.c: #include <popt.h> directly and not the deprecated
"gnome-popt.h"
* gnome-url.c: Likewise.
2000-07-31 Karl Eichwalder <ke@suse.de>
* gnome-moz-remote2.c: Add missing dots.
2000-07-16 Jaka Mocnik <jaka@barbara>
* gnome-help.h (gnome_help_goto, gnome_help_pbox_goto): actually
add the const stuff.
Fri Jul 14 01:41:05 2000 George Lebl <jirka@5z.com>
* gnome-dentry.[ch]: s/int/gboolean/
* gnome-help.[ch]: add const stuff
* gnome-history.[ch]: add const stuff and GnomeHistoryEnt is a
typedef to the structure and NOT the pointer as this is
inconsistent with the rest of gnome and plain ugly
* gnome-mime-info.[ch]: const stuff
* gnome-regex.h: use a standard looking typedef for the structure
* gnome-score.[ch]: const stuff
* gnome-url.[ch]: GnomeURLDisplayContext again a typedef to
the structure NOT the pointer so that we are consistent again
* gnomelib-init.[ch], gnomelib-init2.[ch]: const stuff
Wed Jul 12 02:25:14 2000 George Lebl <jirka@5z.com>
* gnome-config.c, gnome-ditem.c, gnome-i18n.[ch], gnome-mime-info.c,
gnome-paper.[ch]: Where an internal string or list is returned,
make the return constant. gnome_i18n_get_preferred_language is
not constant, so remove the "const"
* gnome-mime-info.c: before reversing the language list, make a copy
* gnop-util.c: use g_strdup and not strdup
2000-06-15 Jody Goldberg <jgoldberg@home.com>
* gnome-score.c (print_ascore) : setlocale returns a static buffer.
Copy it to safety. Set the locale AFTER storing the current
setting.
(log_score) : Ditto.
(gnome_score_get_notable) : Ditto.
* gnome-config.c (_gnome_config_get_float_with_default): Ditto.
(_gnome_config_set_float) : Ditto.
Mon Jun 12 18:40:33 2000 George Lebl <jirka@5z.com>
* gnome-util.c: update the comments. Just to make gtk-doc work on
g_file_test, and take out the "will be removed thing on
g_file_exists as it won't
Fri May 26 12:24:02 2000 George Lebl <jirka@5z.com>
* gnome-score.c: Applied patch from Dennis Bjorklund
<dennisb@cs.chalmers.se> to fix another unprotected atof with
setting locale to "C" and then back.
2000-05-18 Miguel de Icaza <miguel@gnu.org>
* gnome-config.c (gnome_config_iterator_next): Implement as
documented.
Sat May 06 16:46:13 2000 George Lebl <jirka@5z.com>
* gnome-config.c (_gnome_config_get_float_with_default)
(_gnome_config_set_float): setlocae for LC_NUMERIC to "C" and
then back to original locale when reading and writing floats
so that we can read/write floats over different locales
* gnome-score.c (gnome_get_score_file_name) (log_score):
The same as above. Fixes bugs #10404, #10257
Fri May 05 20:53:11 2000 George Lebl <jirka@5z.com>
* gnome-url.c: gnome_url_show had it's return value inversed, duh!
Fri May 05 19:22:30 2000 George Lebl <jirka@5z.com>
* gnome-ditem.c: include gnome-i18nP.h rather then gnome-i18n.h
* gnome-url.[ch]: add an error argument to gnome_url_show_full
Fix one memory leak and one GList corruption bug. Made it use
gnome_exec_async rather then shell. It will now correctly handle
URIs with weird characters and no longer uses printf format strings
taken from files. When the handler is gnome-moz-remote, it
first checks if the program ('netscape' or whatever gnome-moz-remote
uses) actually exists.
* gnomelib-init2.c: fix a warning
Sun Mar 26 13:31:28 2000 George Lebl <jirka@5z.com>
* gnome-config.[ch],parse-path.cP: return TRUE/FALSE from the sync
functions indicating an error in writing to a file, and do
s/gint/gboolean/ a bit
* gnome-ditem.[ch]: return TRUE/FALSE from the _save function to
indicate an error in saving
Mon Mar 20 21:10:53 2000 George Lebl <jirka@5z.com>
* gnome-ditem.c: if no "C" locale setting found for name, set it
to the filename or "Unknown" when saving. This prevents problem
with created files. Also eliminate a possible buffer overrun.
Mon Mar 20 20:36:35 2000 George Lebl <jirka@5z.com>
* gnome-config.c: Apply patch from miguel made to gnome-libs-1-0,
fix segfault when loading illegal files by correctly setting state
after ignore. also correctly set state after premature end of line
* gnome-dentry.c: when saving names and comments, save them to the
default (no language) first just in case there was no setting,
fixes first part of #7300
2000-02-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-util.c (g_concat_dir_and_file): dir or file being NULL is
an error.
2000-02-18 Elliot Lee <sopwith@redhat.com>
* gnome-dentry.c: Try just looking for KDE icons in various common places instead of using
KDE_ICONDIR define.
Sun Jan 30 12:49:59 2000 George Lebl <jirka@5z.com>
* gnome-ditem.c: fix two double free errors by applying a patch from
Peter Wainwright <prw@wainpr.demon.co.uk> and fix a small leak
in _unref
Thu Jan 20 00:07:37 2000 George Lebl <jirka@5z.com>
* gnome-mime.[ch]: add a function gnome_uri_extract_filename,
which will take a single uri and return a newly allocated
string with a local filename or NULL if it's not file: and
local. Use this in extract_filenames so that we actually
get real files for things that specify hostname too
* gnome-ditem.c: use gnome_uri_extract_filename to test for
something being a local file and use it to extract the filename
itself. If we actually append ".directory" and read the file,
stat it again to get the correct mtime. Store full path in
location. Make sure the type is "Directory" if and only if
the loaded file is a ".directory". Recognize "<dir>/.directory"
as a directory file as well. Add _() around the g_warning
messages. Fix .order file reading by opening the right file.
Tue Jan 18 00:30:56 2000 George Lebl <jirka@5z.com>
* gnome-util.c: (g_file_test) make the tests work sanely again.
This had been changed to test an and of the conditions which
doesn't make sense as something can never be a dir, a regular
file and a link at the same time. So it now agains properly
tests an OR of the conditions, which also fixes
gnome-pixmap-entry and anything else that used the function.
Mon Jan 17 14:21:09 2000 George Lebl <jirka@5z.com>
* gnome-ditem.c: test for gnome-terminal's existence and fall back
to xterm otherwise
Sun Jan 16 02:43:14 2000 George Lebl <jirka@5z.com>
* gnome-ditem.[ch]: Add a basic "Type" attribute to the structure and
gnome_desktop_item_get_type/set_type accessors
Get and store other sections found in the file.
Fix recognition of files by looking at all lines for the initial
section header.
Add a GNOME_DESKTOP_ITEM_LOAD_NO_OTHER_SECTIONS flag that will
inhibit reading of other sections from files to speed up loading.
Use gnome_config_sync_file and not gnome_config_sync
Remove the tree reading/writing support, it's not justifiable
for this to be in ditem, we need a separate simpler loader for
trees.
Add get_order/set_order functions for getting and setting the
order of items for a directory ditem.
Still read and store keys that have an empty value.
Store the entire location in location, not just the basename.
The _get_languages function gets a union of all languages from
name and comment.
The _save function sets the location to the new location.
The _get_file_status no longer takes 'under' as we store the entire
Actually start a terminal if we need to.
Check the type (if set) before a launch (assume
"KonsoleApplication" for kde things is an application for the
terminal)
Make world peace possible.
Fix getting the terminal flag
Allow clearing of names, comments and attributes by passing
nulls as the new value.
Allow mass clearing of names and comments.
For _set_name and _set_comment default language to "C" if NULL.
Sat Jan 15 00:53:48 2000 George Lebl <jirka@5z.com>
* gnome-dentry.c, gnome-exec.c, gnome-moz-remote2.c, gnome-util.c:
fix minor compiler warnings and a sizeof doesn't necessairly
return int error.
Thu Jan 14 23:56:08 2000 George Lebl <jirka@5z.com>
* gnome-mime.c: make a local function static and fix a sizeof
is integer assumption when printing with g_message.
* gnome-url.c: fixed two sizeof(pointer) == sizeof(int) assumtions
2000-01-13 Havoc Pennington <hp@redhat.com>
* gnomelib-init2.c (gnome_program_module_register): Dump
bad-module-version message to stderr instead of stdout, and
then exit(1) (we can't really continue, it will segfault
most of the time no doubt)
(gnome_program_version_check): reverse the version args
to rpmvercmp
Thu Jan 13 14:49:03 2000 George Lebl <jirka@5z.com>
* gnome-i18n.c: fixup the inline doc to be more clear that the
list returned from gnome_i18n_get_language_list should not be
freed at all.
2000-01-11 Havoc Pennington <hp@pobox.com>
* gnomelib-init.c: move human readable name stuff into
libgnome init files.
2000-01-11 Havoc Pennington <hp@redhat.com>
* gnomelib-init2.c: Add GNOME_PARAM_HUMAN_READABLE_NAME
(gnome_program_get_human_readable_name): convenience function
to get it
Sat Jan 08 19:06:47 2000 George Lebl <jirka@5z.com>
* gnome-ditem.[ch]: Switch exec from a vector to a simple string.
change the _get_command and _set_command to return/take a simple
string. Also changed reading of .order file to not use a fixed
buffer for reading.
Sat Jan 01 18:45:26 2000 George Lebl <jirka@5z.com>
* gnome-config.c,gnome-help.c,gnome-mime-info.c: Use LC_MESSAGES
instead of LC_ALL to get the language to use for translating
messages. LC_ALL is used as well inside gnome-i18n anyway
and messages need to use LC_MESSAGES if it's set
* gnome-help.c: s/g_fee/g_free/ in the inline docs for two functions
1999-12-23 Havoc Pennington <hp@redhat.com>
* gnomelib-init.c (libgnome_userdir_setup): Clean up this
code. Include strerror() in error messages, don't dump core (just
fprintf() then exit(1)), indent reasonably, don't use -1 as a
truth value.
1999-12-21 Havoc Pennington <hp@redhat.com>
* gnome-ditem.c: new functions to get the best comment/name to
display to the current user (by locale list).
Wed Dec 15 14:15:37 1999 George Lebl <jirka@5z.com>
* gnome-i18n.c: make sure we don't get into an infinite loop by
descending only 30 levels before giving a warning. This would
only be the case for broken locale.alias, but we wanna handle it.
I could have sworn that I did this before, guess not.
Tue Dec 14 00:04:18 1999 George Lebl <jirka@5z.com>
* gnome-mime-info.c: current_lang is a list of languages. Also
we store the previous key and it's language level when reading.
(remove_this_key) removed this function as it is replaced by
using g_hash_table_lookup_extended where we don't need to
remove/readd, but just readd with the old key
(context_add_key) take an extra 'lang' argument which is the
language of the current key/value or NULL. If the current 'lang'
is higher then the previous key's lang level we replace the
previous key with this key, otherwise we just add the key/value
(load_mime_type_info_from) keep track of lang just like we do
of 'key'
(gnome_mime_flag) take the 'key' as an argument and do the right
thing
(gnome_mime_copiousoutput,gnome_mime_needsterminal) call the
gnome_mime_flag with the 'key'
* gnome-mime-info.h: gnome_mime_nametemplate removed from the
header as it was not actually implemented anywhere. Also this
file was slightly weirdly formatted and was not all that readable
at 80 cols, so I removed some spurious tabs to make it so
1999-12-13 Havoc Pennington <hp@redhat.com>
* gnome-ditem.h, gnome-ditem.c: Add copyright, add Emacs magic, re-indent.
1999-12-07 Martin Baulig <martin@home-of-linux.org>
* gnome-mime-info.c (gnome_mime_init): Use `gnome_util_home_file'
instead of `gnome_util_user_home'
Sun Dec 05 01:32:35 1999 George Lebl <jirka@5z.com>
* gnome-dentry.c: fix the quoting, now we don't quote the exec vector
from the dentry as this is the expected behaviour, but we do quote
the arguments passed to gnome_desktop_entry_launch_with_args so
that we work with filenames with spaces. This will completely
fix #4010.
Fri Dec 03 21:23:56 1999 George Lebl <jirka@5z.com>
* gnome-dentry.c: fix a segfault in join_with_quotes, fixes #4010
1999-11-24 James Henstridge <james@daa.com.au>
* gnome-paper.h: added prototypes for new functions.
* gnome-paper.c (gnome_unit_with_abbrev): new function to find a
GnomeUnit by its abbreviation.
(gnome_unit_convert): convert from one set of units to another.
(gnome_unit_name): accessor for the name of a GnomeUnit.
(gnome_unit_abbrev): accessor for abbreviation of GnomeUnit.
1999-11-17 Iain Holmes <ih@csd.abdn.ac.uk>
* gnomelib-init.h: Removed gnomelib_init.
* gnome10-compat.[ch]: Added gnomelib_init as a function to pass fake
arguments to gnome_program_init.
1999-11-16 Elliot Lee <sopwith@redhat.com>
* gnome-url.[ch]: Add a callback for history maintainance.
1999-11-15 Elliot Lee <sopwith@redhat.com>
* gnomelib-init2.[ch]: Add gnome_program_module_load() (Dynamic module loading from --load-modules, $GNOME_MODULES).
1999-11-11 Jacob Berkman <jberkman@andrew.cmu.edu>
* gnome-config.c (gnome_config_make_vector): correctly
handle the "a \b c" case (escaped character between 2
spaces)
(gnome_config_make_vector): george also suggested this
fix
Fixes bug #3475
1999-11-09 Elliot Lee <sopwith@redhat.com>
* Makefile.am: Link libgnome to $(LIBGNOME_LIBS), not $(GLIB_LIBS).
* gnome-i18n.c: Add a comment about implementation behaviour.
* gnome-moz-remote2.c: Finish implementation of new gnome-moz-remote
* gnome-url.[ch]: Support new API with GnomeURLDisplayContext's, change gnome_url_show to just use this.
* gnome-util.[ch]: Add a "help" file domain, for looking up help files.
* gnome10-compat.[ch]: No change, stupid CVS.
* libgnome{,10compat}.h: Move gnome-help into 1.0 compat library.
* gnomelib-init2.c: Don't free the popt context unless that is specifically requested - programs need a sane way
to get to the args.
1999-11-05 Havoc Pennington <hp@pobox.com>
* gnome-util.h: Include gnome-defs.h
1999-10-30 Dick Porter <dick@acm.org>
* Allow gnome-moz-remote to launch a netscape as a last resort, if
--remote cant find a running one.
1999-10-27 Elliot Lee <sopwith@redhat.com>
* gnomelib-init.h: Add attributes for application prefix/libdir/datadir/sysconfdir.
* gnome-util.c: Make use of these attributes in gnome_file_locate().
* gnome-ditem.[ch]: Add save routine, location accessors. Remove run-in-bg flag. Add check-for-changes routine.
1999-10-26 Elliot Lee <sopwith@redhat.com>
* gnome-ditem.[ch]: New files - replacement for gnome-dentry.[ch]
* gnome-util.[ch] (gnome_file_locate) Redo the file location stuff
(g_file_test): Use access() if only testing for existence. Also fix the other tests to
work slightly more sanely (check that all specified conditions are met,
rather than that all unspecified conditions are not met).
(gnome_user_shell): Use g_strdup instead of strdup
* gnomelib-init2.c (gnome_program_attribute_get): Fix inverted error condition.
* gnomelib-init.h: Add an attribute for an application-provided file locator function.
* gnome-config.c: Recognize [yYtT1-9].* as TRUE boolean values, all others as FALSE boolean values.
1999-10-21 Federico Mena Quintero <federico@redhat.com>
* gnome-mime.c (add_ext): New helper function to add an
extension->mime_type mapping. It checks for the presence of old
mappings of the same extension. This fixes a memory leak in
add_to_key() when there are multiple mappings of an extension to
mime types in the .mime files.
(add_to_key): Use add_ext().
1999-10-18 Jonathan Blandford <jrb@redhat.com>
* Makefile.am (libgnome10compat_a_SOURCES): new compatibility lib.
* gnomelib-init2.c (gnome_program_parse_args): fixed so it compiles
(gnome_program_get): fixed so it compiles
(gnome_program_module_register): fixed so it compiles.
1999-10-07 Elliot Lee <sopwith@redhat.com>
* gnomelib-init2.[ch]: New implementation.
* gnomelib-init.[ch]: Use new init system.
* Makefile.am: Add gnome-portability.h, gnomelib-init{,2}.h to headers, remove gnome-popt.h from headers.
Add gnomelib-init2.c to sources, remove gnome-popt.c from sources.
* gconfigger.c, gnome-gen-mimedb.c, gnome-moz-remote.c: Use new init setup.
* gnome-i18n.h, gnome-i18nP.h: Instead of duplicating everything in two header files, add hooks so we can
avoid doing that.
* gnome-mime-info.c, gnome-util.c, gnome-util.h: Avoid using deprecated functions.
* gnome-mime.c: Case-insensitive file extension hashing.
* gnome-portability.h.in: New file (gives us a working g_alloca on any system).
* libgnome.h: Add new header files
* libgnomeP.h: avoid duplication with libgnome.h
|