forked from GNOME/glib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.pre-2-0
7225 lines (4789 loc) · 232 KB
/
ChangeLog.pre-2-0
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
Fri Mar 8 10:58:28 2002 Owen Taylor <otaylor@redhat.com>
* ======== Released 2.0.0 ========
Fri Mar 8 10:20:46 2002 Owen Taylor <otaylor@redhat.com>
* NEWS: Final updates for 2.0.0
* glib/gstrfuncs.c: Convert the results of strerror()
and strsignal() to UTF-8.
* glib/gconvert.c glib/gdir.c glib/giochannel.c glib/giounix.c
glib/giowin32.c: Use g_strerror(), not strerror().
Fri Mar 8 00:15:29 2002 Owen Taylor <otaylor@redhat.com>
* README.in: Updates.
* README.in: Add warnings about current encoding problems with .po
files and error logging functions.
* configure.in: Check for bind_textdomain_codeset().
* glib/gutils.c (_glib_gettext): Call
bind_textdomain_codeset, if present.
* INSTALL.in: Some updates.
* AUTHORS: Updates.
* Makefile.am (EXTRA_DIST): Remove TODO.xml from EXTRA_DIST.
* docs/Makefile.am (EXTRA_DIST): Remove Changes-2.0.txt
from EXTRA_DIST.
2002-03-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Fixed recognition of dce. Do not use -lc_r on
OpenBSD and FreeBSD. Instead use -pthread. Move scheduling
parameter check to after the case..esac block for finding the
right thread libs. (#73686)
Tue Mar 5 19:41:02 2002 Owen Taylor <otaylor@redhat.com>
* GTK+-2.0.0 rc1
2002-03-05 Matthias Clasen <maclas@gmx.de>
* glib/gmain.c (g_source_set_priority): Finish docs.
(#67064)
Tue Mar 5 00:38:54 2002 Owen Taylor <otaylor@redhat.com>
* glib/gutils.c (g_get_any_init): Where we have
getpwuid[_r], use that in preference to $HOME, and
only check $HOME as a fallback if getpwuid fails.
(#2311)
Sun Mar 3 21:09:24 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Default to --disable-gtk-doc, to avoid
Jade setup hassles.
* autogen.sh: Add --enable-gtk-doc.
* configure.in: Default to --disable-static to go
along with Pango, GTK+ where we need to do that for
bin-compat reasons.
* Makefile.am: Add a slightly modified distcheck rule
that passes --enable-gtk-doc to the configure inside.
(So that 'make dist' succeeds inside.)
* configure.in *.pc.in **/Makefile.am m4macros/glib-2.0.m4
tests/makefile.mingw.in: Switch everything over to
glib-2.0.
Sun Mar 3 02:30:05 2002 Tim Janik <timj@gtk.org>
* glib/gscanner.h (_GScannerConfig): added padding.
* glib/ghook.h (struct _GHook): add two padding pointers.
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
* glib/gshell.c (g_shell_unquote): Fix memory leak.
(#72990, Paolo Maggi)
2002-02-28 Sven Neumann <sven@gimp.org>
* m4macros/glib-2.0.m4: nicer output of configure --help.
2002-02-27 Daniel Elstner <daniel.elstner@gmx.net>
* glib/gdate.c (g_date_strftime): Remove the shortcut
for UTF-8 locales to ensure consistent behaviour. Fix
handling of the strftime return value, and avoid looping
if strftime is buggy and constantly returns 0. Always
return 0 if the output buffer was to small. (#72544)
Tue Feb 26 21:44:01 2002 Owen Taylor <otaylor@redhat.com>
* config.status config.guess: Remove these files
from CVS so we more-or-less current versions from
automake --add-missing. (Reported by Finlay Dobbie,
#60342)
2002-02-26 Matthias Clasen <maclas@gmx.de>
* docs/debugging.txt, gobject/glib-genmarshal.c,
gobject/glib-genmarshal.1, gobject/Makefile.am, gobject/gtype.c:
Remove references to gruntime. This includes renaming the test
program testgruntime to testgobject and the debug envvar
GRUNTIME_DEBUG to GOBJECT_DEBUG. (#50877)
Tue Feb 26 14:56:31 2002 Owen Taylor <otaylor@redhat.com>
* glib-2.0.pc.in: Reorder @INTL_LIBS@ and @ICONV_LIBS@ in case
-lintl depends on -licon. (Miroslaw Dobrzanski-Neumann #72708)
Mon Feb 25 23:01:53 2002 Owen Taylor <otaylor@redhat.com>
* configure.in acconfig.h config.h.win32.in
glib/gconvert.c: Check for iconv_* in -liconv
as well as libiconv_* in -liconv since AIX ships
the system iconv in a separate library.
Patch from Miroslaw Dobrzanski-Neumann (#72569)
Mon Feb 25 22:46:29 2002 Owen Taylor <otaylor@redhat.com>
* glib/gdebug.h: Fix trailing , in enumeration
Miroslaw Dobrzanski-Neumann (#72574)
Mon Feb 25 21:58:01 2002 Owen Taylor <otaylor@redhat.com>
* glib/guniprop.c (g_unichar_toupper/lower): Account
for some characters having now uppercase/lowercase
equivalents in code, docs. (#65416)
Mon Feb 25 16:31:09 2002 Owen Taylor <otaylor@redhat.com>
* glib/gshell.c (tokenize_command_line): Fix quoting
of \' sequence (#72548, Christian Rose)
2002-02-24 Tor Lillqvist <tml@iki.fi>
* README.win32: Edits.
* config.h.win32.in: Add (as undefined) HAVE_UNSETENV,
_FILE_OFFSET_BITS and _LARGE_FILES, just for completeness.
* glibconfig.h.win32.in: Add the gcc-2.95.x undef of
G_HAVE_ISO_VARARGS.
Sat Feb 23 21:36:51 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: 1.3.15, binary, interface age 0.
* NEWS: Updated.
Sat Feb 23 14:54:13 2002 Owen Taylor <otaylor@redhat.com>
* glib/giochannel.h (struct _GIOChannel): Add a little bit
of padding.
* glib/gmain.h (struct _GSource): Add a little bit of padding.
2002-02-21 Matthias Clasen <maclas@gmx.de>
* glib/gdebug.h: New header containing GTK_DEBUG-style debugging
support for GLib. Currently only the fatal_warnings debug option exists.
* glib/gmessages.c (g_log_msg_prefix_init): New one-shot function
for parsing G_MESSAGES_PREFIXED.
(_g_debug_init): New one-shot function for parsing G_DEBUG.
(g_log_write_prefix): Use g_log_msg_prefix_init().
(g_messages_init): Use g_log_msg_prefix_init() and _g_debug_init().
* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gdebug.h.
Wed Feb 20 22:35:42 2002 Owen Taylor <otaylor@redhat.com>
Fixes from Miroslaw Dobrzanski-Neumann (#71963)
* glib/giounix.c (g_io_channel_new_file): Fix trailing comma
in enum.
* configure.in: Check for unsetenv.
* test/uri-test.c: Fall back to trying putenv(VARNAME) if
unsetenv isn't present.
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
gsize as type of the pos and len arguments. (#71964)
2002-02-20 Simos Xenitellis <simos@hellug.gr>
* configure.in: Added el to ALL_LINGUAS (Greek language).
2002-02-19 Tor Lillqvist <tml@iki.fi>
* glib/gspawn-win32.c: Include <config.h> first here, too. Use
g_io_channel_read_chars() instead of (deprecated)
g_io_channel_read(). Set encoding to NULL for the channels used
for the pipes from the child.
* glib/giowin32.c (buffer_read): Do return G_IO_STATUS_EOF when
EOF has been reached. Otherwise, with the above change to
gspawn-win32.c, spawn-test hangs.
Mon Feb 18 20:18:23 2002 Owen Taylor <otaylor@redhat.com>
* glib/libcharset/Makefile.am (EXTRA_DIST): Remove
charset.alias from EXTRA_DIST; we don't want the
charset.alias from the make distcheck machine
on the target system!. (#70974, reported by
Ryan Lovett)
Mon Feb 18 12:40:36 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Turn off ISO varargs support for gcc-2.95
since it causes problems with ANSI and we we have GNUC
varargs. (#70024, reported by Morten Welinder, fix from
James Henstridge)
Sun Feb 17 11:37:06 2002 Owen Taylor <otaylor@redhat.com>
* 1.3.14
* glib/glibintl.h: Error out of config.h wasn't included
rather than including it, since config.h must be the
first thing included.
* glib/gconvert.c glib/gmarkup.c glib/gshell.c glib/gspawn.c
glib/gunibreak.c glib/gunidecomp.c glib/guniprop.c:
Include config.h as the first thing. (#71704, Morten
Welinder)
Fri Feb 15 11:41:42 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: 1.3.14, binary age 0, interface age 0.
Fri Feb 15 10:41:51 2002 Owen Taylor <otaylor@redhat.com>
* NEWS: Updated.
* configure.in: Require autoconf-2.52, run AC_SYS_LARGEFILE.
(#71410, Sven Neumann)
* glib/giounix.c glib/giowin32.c glib/giochannel.[ch]:
Change offset type for g_io_channel_seek[_position] to
gint64.
2002-02-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/thread-test.c: Do not assume, that after
g_usleep(G_USEC_PER_SEC) the newly started thread began
running. Spotted by Miroslaw Dobrzanski-Neumann
<mne@mosaic-ag.com>. Make the test_g_static_rw_lock_thread threads
wait a random time. Make the test_g_static_rw_lock test run 5
seconds, not 1.
2002-02-14 Tor Lillqvist <tml@iki.fi>
* glib/gmessages.c (g_logv): Use the #if branch with
G_BREAKPOINT() also on Win32. Remove the separate __asm int 3 for
MSVC, G_BREAKPOINT() does exactly that.
2002-02-14 James Henstridge <james@daa.com.au>
* m4macros/glib-gettext.m4: add third argument to the AC_DEFINE
calls, so users of the macro don't need to add entries to
acconfig.h in their package.
2002-02-13 Havoc Pennington <hp@redhat.com>
* glib/gmain.c (g_main_context_check): never dispatch sources of
mixed priority, because while iterating over the dispatch array a
new source with more priority may be added, while a source with
less priority remains in the dispatch array
2002-02-11 Darin Adler <darin@bentspoon.com>
* glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
first place. The other form can trigger warnings in some compilers
that suspect a ";" after "if (expr)" is an error.
2002-02-11 Manish Singh <yosh@gimp.org>
* glib/gmessages.h: need statement terminators for the if clauses for
the preceding change.
2002-02-11 Darin Adler <darin@bentspoon.com>
* glib/gmessages.h: Use "if (expr) else" rather than
"if (!(expr))" so the parentheses don't disable the gcc
warnings about = vs. ==.
2002-02-11 jacob berkman <jacob@ximian.com>
* glib/gmarkup.h (g_markup_error_quark): match the signature in
the implementation
2002-02-10 Hans Breuer <hans@breuer.org>
* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt
* tests/makefile.msc.in : added uri-test
2002-02-09 Darin Adler <darin@bentspoon.com>
* glib/gmarkup.c: (xml_isspace): New.
(skip_spaces): g_unichar_isspace -> xml_isspace
* glib/gstrfuncs.c: (g_ascii_strtod): isspace -> g_ascii_isspace
isxdigit -> g_ascii_isxdigit, isdigit -> g_ascii_isdigit
2002-02-09 Matthias Clasen <matthias@local>
* tests/markups/valid-4.gmarkup: Test attribute value delimiters.
* glib/gmarkup.c (g_markup_parse_context_parse): Support
' and " as attribute value delimiters. (#70677)
2002-02-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make --disable-threads work again. (#71034)
Fri Feb 8 23:52:27 2002 Owen Taylor <otaylor@redhat.com>
* gobject/gvaluetransform.c: Register transformations for
gint64, guint64. (#70780, patch from Andy Wingo)
* configure.in: Handle missing G_GINT64_FORMAT,
G_GUINT64_FORMAT ... harder to require GNU libc than GCC.
* NEWS: Some cleanups that I had setting around.
2002-02-08 Darin Adler <darin@bentspoon.com>
* glib/gconvert.h: Make hostname parameter const char *.
* glib/gconvert.c: (g_unescape_uri_string): Added a new
"ASCII must not be escaped" feature, and some missing error
checking.
(is_escalphanum): New.
(is_escalpha): New.
(hostname_validate): New.
(g_filename_from_uri): Don't allow hostnames to include
escaped ASCII, validate hostnames with the new
hostname_validate.
(g_filename_to_uri): Validate hostnames with the new
hostname_validate.
* tests/uri-test.c: Updated tests to reflect the hostname
validation changes above.
* glib/gdate.c: (g_date_fill_parse_tokens): Remove the
<ctype.h> include and do isdigit -> g_ascii_isdigit.
Fri Feb 8 12:32:14 2002 Owen Taylor <otaylor@redhat.com>
* tests/hash-test.c (second_hash_test): Fix access to
freed memory in test case (Miroslaw Dobrzanski-Neumann).
Re-enable and debug some commented out code.
2002-02-08 Michael Natterer <mitch@gimp.org>
* glib/gdir.c: g_dir_open: added g_return_val_if_fail() to prevent
us from calling opendir(NULL) (which simply crashes).
2002-02-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gfileutils.c (g_file_test): Extended documentation.
2002-02-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gfileutils.c (g_file_test): Do not follow symbolic links
for G_FILE_TEST_SYMLINK. Also fixed the correct "OR"-behaviour for
G_FILE_TEST_IS_EXECUTABLE and G_FILE_TEST_EXISTS. (#60048)
2002-02-07 Changwoo Ryu <cwryu@debian.org>
* configure.in (ALL_LINGUAS): Added "ko".
Wed Feb 6 14:44:18 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c (g_main_context_prepare): Handle
NULL entries (already dispatched) in pending_dispatches array
(pointed out by Manish Singh)
Tue Feb 5 17:13:02 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c (g_main_context_prepare): Unref pending
dispatches when discarding them.
2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c (g_thread_create_full): Delay allocation until
after all g_return_val_if_fail ().
* glib/gthread.h: Make depth member guint for cosmetic reasons.
* glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
be unsigned. All that spotted by Jörgen Viksell
<jorgen.viksell@telia.com>
2002-02-02 Manish Singh <yosh@gimp.org>
* glib/gmain.c
* glib/gtree.c: remove references to deprecated functions in docs
and warning message.
2002-01-31 jacob berkman <jacob@ximian.com>
* glib-gettextize.in:
* m4macros/glib-gettext.m4 (AM_GLIB_GNU_GETTEXT): remove
references to po2tbl
2002-01-29 Matthias Clasen <matthiasc@poet.de>
* glib/gmarkup.c (g_markup_parse_context_parse): Change the
order in which some error conditions are checked to improve
error messages. (#69646)
Tue Jan 29 15:04:31 2002 Owen Taylor <otaylor@redhat.com>
* 1.3.13
* tests/shell-test.c: Workaround for MSVC bugs. (#61064)
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
* NEWS: Update to include last change.
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
* glib/gconvert.c (open_converter): Rewritten to cache iconv
conversion descriptors. On at least some Unix systems like
Solaris, iconv_open() must dlopen the necessary charset modules in
order to setup the descriptor. This can take a major toll on
performace if you are constantly opening and closing conversion
descriptors for the same charset conversions over and over.
(g_convert_with_fallback): Use close_converter() rather than
g_iconv_close() since open_converter() now caches iconv
descriptors.
Tue Jan 29 11:18:44 2002 Owen Taylor <otaylor@redhat.com>
* NEWS: Updated.
* configure.in: Micro == 13, binary age, interface age 0.
[ binary breakage was return type of g_signal_connect_object(),
probably could have used binary age == 0, but a little safer not to.]
* configure.in: Remove configure warning.
2002-01-28 Havoc Pennington <hp@pobox.com>
* glib/gmarkup.c (add_attribute): NULL-terminate
context->attr_values so g_strfreev() is safe.
Would previously crash if parsing was ended prior
to ending the start tag.
(g_markup_parse_context_parse): add a couple assertions
2002-01-28 Havoc Pennington <hp@redhat.com>
* glib/gmacros.h: get rid of warning here
Mon Jan 28 17:56:10 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmacros.h: Only use __FUNCTION__, __PRETTY_FUNCTION__ for
G_GNUC_FUNCTION, G_GNUC_PRETTY_FUNCTION, G_STRLOC when __GNUC__ <
3, since in 3.0.3 the semantics of these functions were changed in
an incompatible way. (#69097)
2002-01-28 Ron Steinke <rsteinke@w-link.net>
* glib/giochannel.c: Some documentation fixes/elaborations
I really should have gotten in a long time ago
2002-01-24 Sven Neumann <sven@gimp.org>
* glib/gutf8.c (g_utf8_to_utf16): removed an empty line in the
inline documentation that confused gtk-doc.
2002-01-23 Laszlo Peter <laca@ireland.sun.com>
* glib/gmessages.c (g_printf_string_upper_bound): return 1 more
for the trailing '\0' when using vsnprintf. (#69474)
2002-01-23 Tor Lillqvist <tml@iki.fi>
* glib/gconvert.c: (strdup_len): Not used on Windows, don't even
compile it then.
(acceptable): Improve comments for the _acceptable_ table: put
each ASCII char above the hex number for it.
(g_escape_file_uri): On Windows, turn backslashes in the file name
into plain ("forward") slashes.
(g_filename_from_uri): On Windows, don't return the hostname
"localhost", because we can not be 100% sure it will be recognized
in all cases anyway, so simpler to turn it into a null
hostname.
Change slashes in the filename into backslashes, as that is the
more canonical separator.
Recognize drive letters (either followed by a colon or a vertical
bar, as used by some browsers), and if the filename part starts
with a such, don't include any (back)slash.
Don't drop any extra leading slash in the filename on Unix.
(g_filename_to_uri): On Windows, if the hostname is "localhost",
don't use it, for consistency with g_filename_from_uri().
* tests/uri-test.c: Change accordingly, so that all tests pass on
Windows. Unix, too, I hope, though I couldn't check that now.
(main): Unset the G_BROKEN_FILENAMES environment variable on Unix,
as some tests require that filenames are in UTF-8. Is unsetenv()
portable?
These changes should fix bugs #59387, #59652, #59657 and #59658.
2002-01-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Get the right multithread option for GCC 3.0 and
later on AIX. (#67583)
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
set bytes_written to 0 and close the iconv descriptor that was
opened a few lines above. On a successful return, calculate
bytes_written to be outp - dest instead of outp - str.
2002-01-16 Sven Neumann <sven@gimp.org>
* acinclude.m4
* m4macros/glib-gettext.m4: removed the --disable-nls option. You
can't disable Native Language Support since we rely on it.
* configure.in: nicer --help output.
Tue Jan 8 11:33:28 2002 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am (EXTRA_DIST): Add text files to EXTRA_DIST.
(#68239, Matthias Clasen)
2002-01-07 Zbigniew Chyla <cyba@gnome.pl>
* configure.in (ALL_LINGUAS): Added pl.
2002-01-05 Hans Breuer <hans@breuer.org>
* glibconfig.h.win32.in
msvc_recommended_pragmas.h (new file) : moved warning to
error pragmas to their own file to not force 'good practice'
programming in downstream libs and apps. Instead the new header
will be used by -FImsvc_recommended_pragmas.h in gnome/cvs
makefile.msc
* */makefile.msc.in : use -FImsvc_recommended_pragmas.h
* makefile.am : add msvc_recommended_pragmas.h to EXTRA_DIST
2001-12-31 Tor Lillqvist <tml@iki.fi>
* glib/gutils.c (g_get_any_init): (Win32) Use longer buffer for
user name.
Sat Dec 29 15:07:21 2001 Owen Taylor <otaylor@redhat.com>
* glib/gspawn.c (script_execute): Copy trailing NULL
into new ARGV array. (#67673)
2001-12-28 Sven Neumann <sven@gimp.org>
* glib/gmessages.c: only include printf_string_upper_bound() if
HAVE_C99_VSNPRINTF is not defined.
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
* configure.in: Added portuguese to ALL_LINGUAS
Sat Dec 22 12:08:56 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: 1.3.12, binary, interface age 0.
* NEWS: Updated.
2001-12-21 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Add (undefined) HAVE_C99_VSNPRINTF.
* glibconfig.h.win32.in: Add definition of G_HAVE_GROWING_STACK.
* tests/Makefile.am: Rename the progs_LDADD, thread_LDADD and
module_LDADD Make macros to progs_ldadd, thread_ldadd and
module_ldadd. Newer automakes reserve macros named *_LDADD for
the use as LDADDs for targets it knows.
* glib/giowin32.c: (struct _GIOWin32Watch): 'callback' wasn't used
here, either.
2001-12-21 Matthias Clasen <matthiasc@poet.de>
* glib/gfileutils.c (g_file_get_contents): Remove FIXME. (#67063)
2001-12-19 Mark McLoughlin <mark@skynet.ie>
* glib/gscanner.c: (g_scanner_unexp_token): fix segfaults.
2001-12-20 Michael Meeks <michael@ximian.com>
* glib/giounix.c (struct _GIOUnixWatch): kill 'callback'
Wed Dec 19 23:09:07 2001 Owen Taylor <otaylor@redhat.com>
* glib/gconvert.c (g_iconv_open): SGML doc fix.
Tue Dec 18 21:11:10 2001 Tim Janik <timj@gtk.org>
* configure.in: add configure check to determine G_HAVE_GROWING_STACK.
2001-12-16 Havoc Pennington <hp@pobox.com>
* glib/gfileutils.c (get_contents_regfile): use g_try_malloc and
return error on not-enough-memory
(get_contents_stdio): ditto
2001-12-17 Matthias Clasen <matthiasc@poet.de>
* glib/gspawn.c, glib/gspawn-win32.c: Use <envar>, not <envvar>.
2001-12-15 Matthias Clasen <matthiasc@poet.de>
* glib/gshell.c, glib/gspawn.c, glib/gspawn-win32.c, glib/gerror.c,
glib/gfileutils.c, glib/ghash.c, glib/gmain.c, glib/gasyncqueue.c,
glib/gtree.c: Minor markup fixes.
2001-12-14 Havoc Pennington <hp@pobox.com>
* glib/gshell.c (g_shell_parse_argv): note on how to free returned
vector
2001-12-08 Havoc Pennington <hp@pobox.com>
* glib/gspawn.c (fork_exec_with_pipes): include argv[0] in error
message about failure to exec
2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
glib/gwin32.c: Revert mistaken change: it is UNIX, not Unix.
Thu Dec 13 05:37:51 2001 Tim Janik <timj@gtk.org>
* glib/gbsearcharray.[hc]: API revamp to shorten GValueArray
structure.
2001-12-12 Matthias Clasen <matthiasc@poet.de>
This fixes #60543:
* glib/gutils.c (g_snprintf, g_vsnprintf): Switch to C99-[v]snprintf().
* tests/strfunc-test.c: Add some tests for g_snprintf().
2001-12-12 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/grand.c, glib/ghash.c,
glib/gthreadpool.c, glib/gtree.c: Documentation fixes.
Mon Dec 10 14:08:39 2001 HideToshi Tajima <hidetoshi.tajima@sun.com>
* glib/libcharset/config.charset (os):
add ISO8859-3 for Solaris. (#66174)
2001-12-10 Sven Neumann <sven@gimp.org>
* gobject/gvalue.c (g_value_register_transform_func): perform an exact
match on the two types instead of using transform_func_lookup().
2001-12-09 Christopher Blizzard <blizzard@redhat.com>
* glib/gmessages.h: Add pragma that will prevent warnings when you
are not using -std=99 and newer gcc compilers. Patch from Red
Hat's gtk+ 1.2 rpm.
2001-12-06 Darin Adler <darin@bentspoon.com>
* glib/gmacros.h: Do the same for "pure".
2001-12-06 Matthias Clasen <matthiasc@poet.de>
The following patch corrects some function attributes. (#61780)
* glib/ghash.h (g_int_equal, g_int_hash): These are not const.
* glib/glibintl.h (_glib_gettext): Add G_GNUC_FORMAT(1).
* glib/gmacros.h: Use reserved symbols in function attribute macros.
2001-12-06 Matthias Clasen <matthiasc@poet.de>
The following patch avoids manual printf()-format parsing
if a C99-conforming vsnprintf() is available. (#55106)
* acinclude.m4 (AC_FUNC_VSNPRINTF_C99): New macro to test for a
C99 conforming vsnprintf.
* configure.in: Use AC_FUNC_VSNPRINTF_C99.
* glib/gmessages.c (g_printf_string_upper_bound): Use C99 vsnprintf().
2001-12-05 Sven Neumann <sven@gimp.org>
* glib/gtree.c (g_tree_foreach): mention the fact that the tree is
traversed in sorted order.
2001-12-03 Manish Singh <yosh@gimp.org>
* tests/module-test.c: g_module_symbol takes a gpointer *, not just
a gpointer
* tests/libmoduletestplugin_a.c: here too
2001-11-29 Havoc Pennington <hp@redhat.com>
* glib/gtree.c (g_tree_foreach):
* glib/ghash.c (g_hash_table_foreach):
Add notes about how you shouldn't modify these data structures as
you iterate over them.
Thu Nov 29 11:16:03 2001 Owen Taylor <otaylor@redhat.com>
* HACKING: Update (#65721, Dave Neary)
2001-11-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gdate.c: Fixed wrong order in conversion.
Wed Nov 28 18:34:22 2001 Owen Taylor <otaylor@redhat.com>
* glib/gmain.[ch]: Rename (private) GSource.id and
id parameter to g_main_context_find_source_by_id()
to avoid problems with Objective C where 'id' is
a keyword. (#65616)
2001-11-28 Daniel Elstner <daniel.elstner@gmx.net>
* glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops
on invalid UTF-8 strings, change the skip count for 0xfe and 0xff
from 0 to 1.
2001-11-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
#65624.
2001-11-28 Tor Lillqvist <tml@iki.fi>
* glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.
2001-11-27 Dan Winship <danw@ximian.com>
* configure.in (G_MODULE_LDFLAGS): Set this from libtool rather
than hardcoding values for certain platforms.
* glib/libcharset/config.charset: Add a rule for NetBSD.
* glib/libcharset/localcharset.c (_g_locale_get_charset_aliases):
If LIBCHARSET_ALIAS_DIR is set, look for charset.aliases there.
* tests/Makefile.am (TESTS_ENVIRONMENT): set LIBCHARSET_ALIAS_DIR
so we don't depend on charset.aliases having been installed
2001-11-26 Matthias Clasen <matthiasc@poet.de>
* glib/gnode.c (g_node_traverse): Implement G_LEVEL_ORDER correctly.
* tests/node-test.c: Add a testcase for G_LEVEL_ORDER implementation.
* glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343)
* glib/gtree.c (g_tree_traverse): Explain the deprecation in
some detail.
Mon Nov 26 09:42:24 2001 Tim Janik <timj@gtk.org>
* configure.in: provide GLIB_SIZEOF_SIZE_T.
2001-11-26 Jesus Bravo Alvarez <jba@pobox.com>
* configure.in: Added gl (Galician) to ALL_LINGUAS
2001-11-23 Hans Breuer <hans@breuer.org>
* glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
gunidecomp.h(5846) : fatal error C1076: compiler limit :
internal heap limit reached; use /Zm to specify a higher limit
* glibconfig.h.win32.in : added recommended pragma list for
msvc again. They are an invaluable help of letting the
compiler catch bugs.
Thu Nov 22 13:56:55 2001 Owen Taylor <otaylor@redhat.com>
* Version 1.3.11
Thu Nov 22 13:14:18 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (GLIB_MICRO_VERSION): Version 11,
interface, binary age 0.
* NEWS: Updated.
* tests/Makefile.am (libmoduletestplugin_[ab]_la_LDFLAGS):
Add dummy -rpath argument. On some (but not all) platforms,
libtool will only build a convenience library without this.
(#63486, Dan Winship)
* Makefile.am (EXTRA_DIST): Add README.in, INSTALL.in -
autoconf-2.5x checks for 'make dist' in the tarball
when you make distcheck.
* glib/Makefile.am (EXTRA_DIST): Distribute
makefile.msc/mingw.in, glib.rc.in.
* tests/patterntest.c: Include string.h.
* glib/gpattern.c (g_utf8_reverse): doc parsing fix.
Thu Nov 22 02:50:18 2001 Tim Janik <timj@gtk.org>
* NEWS: merged with gobject/NEWS.
2001-11-21 Tor Lillqvist <tml@iki.fi>
* glib/makefile.mingw.in (DEFINES): Set G_LOG_DOMAIN as in
Makefile.am.
Tue Nov 20 20:54:25 2001 Owen Taylor <otaylor@redhat.com>
* glib/gunidecomp.[ch] glib/gen-unicode-tables.pl: Patch
from Andrew Taylor to optimize the decomposition table
to eliminate relocations and save space. (#64982)
2001-11-18 Hans Breuer <hans@breuer.org>
* glib/glib.def :
* glib/makefile.msc.in : remove g_log_domain_glib usage/export
* tests/makefile.msc.in : add iochannel-test
Sat Nov 17 17:21:57 2001 Owen Taylor <otaylor@redhat.com>
* glib/Makefile.am glib/*.c glib/gmessages.h: Get
rid of g_log_domain_glib variable in favor of just
using a string constant.
Sat Nov 17 14:10:35 2001 Owen Taylor <otaylor@redhat.com>
* glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h
* glib/glib-object.h gobject/*.h: Prevent headers from
being included directly except when compiling GObject.
* gobject/gvaluecollector.h: Include glib-object.h so that
this file can be included directly, since we don't
include it _from_ glib-object.h.
* gobject/gtype.c: Remove struct _GValue hack since we
now include glib/gvaluecollector.h which simply pulls in
glib-object.h.
2001-11-15 Matthias Clasen <matthiasc@poet.de>
* glib/giochannel.c: Documentation fixes.
2001-11-15 Takayuki KUSANO <AE5T-KSN@asahi-net.or.jp>
* configure.in: Added "ja" to ALL_LINGUAS.
2001-11-15 Michael Meeks <michael@ximian.com>
* glib/giounix.c (g_io_channel_unix_new): set the fd
before using it.
2001-11-15 Tor Lillqvist <tml@iki.fi>
* tests/makefile.{mingw,msc}.in (TESTS): Add back mainloop-test
here, too.
* tests/Makefile.am: Remove leftover comment that claimed
mainloop-test is removed.
2001-11-14 Matthias Clasen <matthiasc@poet.de>
* glib/gpattern.c: add UTF-8 support.
* tests/patterntest.c: add UTF-8 and equality tests.
Wed Nov 14 07:34:24 2001 Tim Janik <timj@gtk.org>
* glib/galloca.h (g_newa): provide g_newa(ctype, count) on top of
g_alloca() like we provide g_new() on top of g_malloc().
Tue Nov 13 21:25:35 2001 Owen Taylor <otaylor@redhat.com>
* glib/{gen-unicode-tables.pl,gunibreak.c,gunibreak.h,
gunichartables.h, gunicomp.h, gunidecomp.[ch],
guniprop.c}: Patch from Andrew Taylor to improve
tables and reduce relocations by using indices
rather than pointers. (#64433)
* tests/unicode-normalize.c (main): Fix for changes
to g_strsplit().
2001-11-12 Darin Adler <darin@bentspoon.com>
* glib/gstrfuncs.c: (g_strsplit): Fix max_tokens == 1 case to
match documentation.
* tests/strfunc-test.c: (main): Add tests.
* tests/.cvsignore: Recently-added test.
Mon Nov 12 03:01:28 2001 Tim Janik <timj@gtk.org>
* glib/gscanner.c (g_scanner_eof): G_TOKEN_ERROR is also an end
of stream condition.
2001-11-10 Tor Lillqvist <tml@iki.fi>
* glib-zip.in (DEVZIP): Also share/glib-2.0.
2001-11-09 Tor Lillqvist <tml@iki.fi>
* glib/gwin32.c (g_win32_getlocale): Add a couple of languages
that have LANG_* codes in newest headers, just for completeness.
2001-11-08 Wang Jian <lark@linux.net.cn>
* configure.in(ALL_LINGUAS): Added zh_CN for Simplified Chinese.
2001-11-08 Tor Lillqvist <tml@iki.fi>
* glib/gwin32.c: Don't define LANG_AZERI etc in case those aren't
defined in the headers (MSVC 5.0).
(g_win32_getlocale): Instead, surround uses of those with
#ifdef. Those MSVC 5.0 users that want to build a GLib that
recognizes those languages should download the Platform SDK and
use the headers from it.
2001-11-07 Peter Williams <peterw@ximian.com>
* glib/gdir.c (g_dir_read_name): Return NULL when done reading.
2001-11-06 Tor Lillqvist <tml@iki.fi>
* glib/Makefile.am (gspawn_win32_helper_LDFLAGS): Use -mwindows.
2001-11-05 Tor Lillqvist <tml@iki.fi>
* README.win32: Minor edits.
* glib-zip.in: Build separate runtime and developer packages.
* glib/libcharset/config.charset (os): Don't need to match mingw
after all, the charset.alias file isn't even used on Win32... (see
localcharset.c).
* glib/makefile.mingw.in: Add gdir.
* glib/glib.def: Add g_dir_* entry points.
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (CFLAGS): Add check for dirent.h
* glib/glib.h glib/Makefile.am: Add gdir.
* glib/gdir.c (g_dir_close): Couple of small tweaks
now that it is actually compiling...
Sun Nov 4 20:29:31 2001 Owen Taylor <otaylor@redhat.com>
* glib/gdir.[ch]: Indentation fixes, some rewriting of docs to
conform to gtk-doc standard.
* glib/gdir.[ch] (g_dir_close): Remove the boolean
return value. What would you do if closing failed?
What would the user do if you printed a warning
message "closing directory %s failed"?