forked from mono-soc-2012/mono
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
1564 lines (1007 loc) · 46.3 KB
/
ChangeLog
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
2010-07-25 Zoltan Varga <[email protected]>
* configure.ac src/eglib-config.h.in src/eglib-config.hw: Define G_GINT64_FORMAT.
2010-07-20 Zoltan Varga <[email protected]>
* src/glib.h (G_LIKELY): Implement these for gcc properly.
2010-07-19 Miguel de Icaza <[email protected]>
* src/gmisc-win32.c (g_getenv): Distinguish between variable not
found and an empty variable.
This should fix 566152
2010-07-19 Zoltan Varga <[email protected]>
* src/glib.h (G_MAXUINT64): Define this. Fixes #623293.
* src/eglib-config.hw: Define UINT64_MAX.
2010-07-16 Gonzalo Paniagua Javier <[email protected]>
* src/gmisc-unix.c: include config.h. Fixes bug #609632.
Use getpwuid_r instead of getpwent_r.
2010-07-02 Zoltan Varga <[email protected]>
* src/glib.h: Define gboolean as int32_t to match mono_bool.
2010-06-22 Rodrigo Kumpera <[email protected]>
* src/ghashtable.c: Add code to sanity check the
hashtable contents. This is invaluable, for example,
to catch bugs where a key hashcode changes after
insertion.
2010-06-18 Chris Toshok <[email protected]>
patch from Jacob Berkman:
* src/glib.h (g_mkdir): #define to mkdir
(g_ascii_strtoull): #define to strtoull
* src/gmodule.h: add G_BEGIN/END_DECLS
* src/gstr.c (g_strdupv): new function.
2010-06-18 Rolf Bjarne Kvinge <[email protected]>
* src/eglib-remap.h: Remap g_ptr_array_remove_fast too.
2010-06-15 Zoltan Varga <[email protected]>
* src/gunicode.c: Applied patch from Hib Eris <[email protected]>. use "windows.h"
instead of "Windows.h".
2010-05-25 Zoltan Varga <[email protected]>
* Applied patch from Burkhard Linke ([email protected]). Fix
building on solaris.
2010-05-21 Zoltan Varga <[email protected]>
* src/gmisc-win32.c (g_setenv): Use the
GetEnvironmentVariableW/SetEnvironmentVariableW variants.
2010-05-15 Zoltan Varga <[email protected]>
* src/glib.h (g_error): Add a for (;;) after the call to tell GCC this doesn't
return, fixing some warnings.
2010-05-13 Alan McGovern <[email protected]>
* src/gstring.c: Put in some null guards for the ctors
2010-05-11 Miguel de Icaza <[email protected]>
* src/gunicode.c: Pull the Windows.h header when G_OS_WIN32 is
defined.
2010-05-11 Atsushi Enomoto <[email protected]>
* Makefile.am : do not try to build test on windows (fails).
* src/glib.h : fix cygwin build, do not include unistd.h.
2010-05-10 Miguel de Icaza <[email protected]>
* gfile-win32.c: Port this to use the Win32 APIs to get this
building with Cygwin.
2010-05-07 Andrew Jorgensen <[email protected]>
* test/test.h: Fix some compiler warning that SUSE takes seriously.
2010-05-06 Alan McGovern <[email protected]>
* src/gmarkup.c: Fix a parser issue when skipping the xml declaration.
2010-05-06 Jonathan Chambers <[email protected]>
* gfile-win32.c: Use __stat64 instead of _stat64.
2010-05-04 Jonathan Chambers <[email protected]>
* gspawn.c: Remove extern define for MSVC.
2010-05-03 Zoltan Varga <[email protected]>
* src/glib.h: Include unistd.h on !windows for pid_t.
* gspawn.c: Add an extern define for environ on !apple platforms.
2010-05-02 Zoltan Varga <[email protected]>
* src/glib.h: Include sys/types.h for pid_t.
2010-05-01 Zoltan Varga <[email protected]>
* src/goutput.c (g_logv): Append a '\n' to the end of the string as glib does.
2010-04-28 Zoltan Varga <[email protected]>
* configure.ac src/gspawn.c: Applied openbsd changes from Robert Nagy
2010-04-16 Miguel de Icaza <[email protected]>
* src/gshell.c (g_shell_unquote): Implement this.
2010-04-25 Andreas Faerber <[email protected]>
* configure.ac: The iconv function may be libiconv_open.
Fixes linking with GNU libiconv.
Contributed under MIT/X11 license.
2010-04-23 Geoff Norton <[email protected]>
* configure.ac: The iconv function is iconv_open.
2010-04-19 Jonathan Pryor <[email protected]>
* src/glib.h: Rebase g_return_if_fail(), g_return_val_if_fail() in
terms of g_critical() instead of printf, and turn g_printerr() into
an actual function instead of a macro.
* src/goutput.c: Add Android support, sending g_print(), g_printerr(),
and g_log() messages to the Android system log.
2010-04-16 Gonzalo Paniagua Javier <[email protected]>
* test/ptrarray.c: new tests
* src/gptrarray.c: implemented g_ptr_array_remove_fast().
2010-04-10 Andreas Faerber <[email protected]>
* configure.ac: Add checks for libm and libdl.
* {src,test}/Makefile.am: Remove hardcoded library dependencies.
Fixes compilation on Haiku.
Contributed under MIT/X11 license.
2010-03-05 Zoltan Varga <[email protected]>
* test/test.c (_GNU_SOURCE): Fix compilation if _GNU_SOURCE is already defined.
Thu Mar 4 16:34:37 CET 2010 Paolo Molaro <[email protected]>
* src/unicode-data.h: save 70 KB.
Thu Mar 4 16:18:34 CET 2010 Paolo Molaro <[email protected]>
* src/eglib-remap.h, src/glib.h: header file to remap the symbols
so there is no clash with system glib.
* src/Makefile.am: build static lib as well.
2010-03-04 Zoltan Varga <[email protected]>
* configure.ac: Add a check for ISO varargs.
* test/test.c: Fix the build.
* src/glib.h src/goutput.c: Emit asserts through a g_assertion_message ()
function which is decorated with G_GNUC_NORETURN, to fix many warnings when using
the eglib build.
Mon Mar 1 17:12:24 CET 2010 Paolo Molaro <[email protected]>
* src/unicode-data.h, src/gutf8.c: don't export private symbols.
2009-12-03 Zoltan Varga <[email protected]>
* src/gmisc-unix.c (g_get_user_name): Avoid returning NULL if the env
var is not set.
2009-10-15 Andreia Gaita <[email protected]>
* src/gptrarray.c: implement g_ptr_array_remove_index_fast
* src/glib.h: fix g_ptr_array_remove_index_fast declaration
* test/ptrarray.c: new tests
2009-10-15 Andreia Gaita <[email protected]>
* src/garray.c: (g_array_remove_index_fast) only move 1 element
and not the whole shebang
2009-09-26 Gonzalo Paniagua Javier <[email protected]>
* test/queue.c: new tests.
* src/gqueue.c: fixed pop_head.
2009-09-26 Gonzalo Paniagua Javier <[email protected]>
* src/gqueue.c: add g_queue_push_tail.
2009-06-20 Zoltan Varga <[email protected]>
* src/glib.h: Add GUINT32_FROM/TO_BE macros.
2009-06-09 Jonathan Chambers <[email protected]>
* CMakeLists.txt: Add start of CMake build.
* src/CMakeLists.txt: Add start of CMake build.
Contribution is licensed as MIT/X11.
2009-06-02 Bill Holmes <[email protected]>
* src/gpath.c (g_find_program_in_path): While searching on Windows
also try additional suffixes .exe, .cmd, .bat, and.com.
Contributed under MIT/X11 license.
2009-05-27 Geoff Norton <[email protected]>
* src/gfile-posix.c: Fix g_get_current_dir on amd64
2009-04-22 Jeffrey Stedfast <[email protected]>
* src/gtimer-win32.c (g_timer_elapsed): Avoid re-querying freq by
just saving it in a static variable. Also modified microseconds
calculation to avoid overflow.
2009-04-05 Miguel de Icaza <[email protected]>
* src/gpath.c: Avoid situations where we add the separator if one
of the elements is the separator.
2009-04-02 Miguel de Icaza <[email protected]>
* src/gpath.c: If the first element is NULL, return an empty
string.
2009-02-19 Gonzalo Paniagua Javier <[email protected]>
* src/gstr.c: use memset in g_strnfill.
2009-01-19 Bill Holmes <[email protected]>
* src/gstr.c (g_strnfill): Fixing a warning for MSVC.
Contributed under MIT/X11 license.
2009-02-05 Miguel de Icaza <[email protected]>
* src/gstr.c: Add g_strnfill
* src/glib.h: Add g_list_previous
2009-01-19 Bill Holmes <[email protected]>
* gmisc-win32.c (g_path_is_absolute): Adding support for UNC
paths on Windows.
Contributed under MIT/X11 license.
2009-01-08 Bill Holmes <[email protected]>
* winconfig.h, src/gfile-posix.c :
Fixing the MSVC builds.
Contributed under MIT/X11 license.
2009-01-07 Miguel de Icaza <[email protected]>
* src/gfile-posix.c: Move g_get_current_dir, as it is a
POSIX-esque feature, and some other systems do not have current
directories.
* src/glib.h (G_LOCK_DEFINE, G_LOCK_DEFINE_STATIC):
Embedded support from Paolo's work on quack.
* configure.ac: check for strtok_r, langinfo.h and iconv.h
* src/gpath.c (strtok_r): Add a strtok_r implementation if it is
not available on the target system.
2008-11-05 Bill Holmes <[email protected]>
* src/gutf8.c, src/unicode-data.h, src/gunicode.c :
Fixing the MSVC builds.
Contributed under MIT/X11 license.
2008-11-04 Atsushi Enomoto <[email protected]>
* src/gutf8.c, src/gunicode.c, src/glib.h:
implemented g_unichar_type(), g_unichar_toupper(),
g_unichar_tolower(), g_unichar_totitle(), g_utf8_strup()
and g_utf8_strdown(). Fixed some surrogate pair bugs.
* TODO : removed implemented things.
* test/unicode.c, test/tests.h, test/utf8.c, test/Makefile.am:
added new tests.
2008-11-04 Atsushi Enomoto <[email protected]>
* src/unicode-data.h : new header for some new unicode manipulation
functions.
2008-10-17 Miguel de Icaza <[email protected]>
* Allow types to be defined on the eglib-config.h file, that could
be a platform specific generated type file.
* gtimer.c: split functionality in platforms.
2008-10-13 Bill Holmes <[email protected]>
* src/gdate-win32.c : Fix compiler errors for MSVC.
* src/gpath.c : Fix compiler errors for MSVC.
* src/gfile-posix.c : Adding declaration for mkstemp for the win 32
implementation in gfile-win32.c.
Contributed under MIT/X11 license.
2008-10-11 Miguel de Icaza <[email protected]>
* gtimer.c: Same process.
* src/glib.h: Move g_strdup here, to consolidate all allocations
in this header, will help for merging the allocation work later.
* src/gpattern.c (compile_pattern): From Unity, use -1 in the enum
for MatchType.
* src/gpath.c: Split this one as well.
* src/gmodule-win32.c, src/gmisc-unix.c, src/gmisc-win32.c,
src/gmodule-unix.c: split functionality in platforms.
* src/goutput.c (g_logv): On some platforms, before we abort we
want to flush the stdout/stderr.
2008-10-10 Miguel de Icaza <[email protected]>
* Split functionality that is operating system specific into
-win32.c, -unix.c and -posix.c
* Use g_malloc everywhere, and g_free, so that these can be easily
overwritten consistently.
2008-09-16 Bill Holmes <[email protected]>
* src/gunicode.c : Fix a warning.
Contributed under MIT/X11 license.
2008-08-28 Bill Holmes <[email protected]>
* src/glib.h : Adding a c++ definition for G_BEGIN_DECLS.
Contributed under MIT/X11 license.
2008-08-27 Bill Holmes <[email protected]>
* glib.h, gunicode.c : Fixing some compiler errors.
Contributed under MIT/X11 license.
2008-08-20 Mike Voorhees <[email protected]>
* Patch from Mike Voorhees to fix various problems with
g_utf8_validate compared to the glib implementation and unit tests
to ensure that there are no regressions.
From a mailing list post to mono-devel-list on August 19th, 2008
[Mono-dev] utf8 related patches. Please review.
2008-08-20 Mike Voorhees <[email protected]>
* src/glib.h : Adding declarations for g_utf8_strlen, g_utf8_get_char,
and g_utf8_next_char.
* src/gunicode.c : Adding implementation for g_utf8_strlen, g_utf8_get_char,
and g_utf8_next_char.
* src/gunicode.c : Rewrote g_utf8_validate.
* test/utf8.c Adding tests for g_utf8_strlen, g_utf8_get_char,
g_utf8_next_char, and g_utf8_validate.
Contributed under MIT/X11 license.
2008-08-05 Andreas Faerber <[email protected]>
* autogen.sh: Suppress arguments warning for NOCONFIGURE.
Contributed under MIT/X11 license.
2008-08-04 Bill Holmes <[email protected]>
* test/tests.h, test/Makefile.am, test/memory.c : Adding memory tests to test
allocation routines return NULL when 0 size is passed in.
Contributed under MIT/X11 license.
2008-08-04 Bill Holmes <[email protected]>
* src/glib.h : Changing the allocation routines to return null if 0 size is
passed in.
Contributed under MIT/X11 license.
2008-06-16 Zoltan Varga <[email protected]>
* src/vasprintf.c (vasprintf): Applied patch from Michail Ushakov
<[email protected]>. Workaround broken vsnprintf on windows. Fixes
#400445.
2008-06-11 Zoltan Varga <[email protected]>
* src/goutput.c (g_log): Remove unnecessary and incorrect call to
g_strdup_printf (). Fixes #398918.
2008-05-01 Bill Holmes <[email protected]>
* src/glib.h : Adding declarations for g_ucs4_to_utf16 and g_utf16_to_ucs4.
* src/gutf8.c : Adding implementation for g_ucs4_to_utf16 and g_utf16_to_ucs4.
* test/utf8.c Adding tests for g_ucs4_to_utf16 and g_utf16_to_ucs4.
Contributed under MIT/X11 license.
2008-04-20 Geoff Norton <[email protected]>
* src/gspan.c: Fix the _NSGetEnviron define to prevent an impropoer
pointer dereference.
2008-03-19 Bill Holmes <[email protected]>
* src/gpath.c (g_path_is_absolute) : Adding a case for '/'
on Windows.
* src/gpath.c (g_get_user_name) : On Windows add a check for %USERNAME%
when %USER% fails.
* src/gstr.c (g_strsplit, g_strsplit_set): Change to remove truncation
errors with MSVC build.
* src/gstr.c (g_filename_to_uri, g_filename_from_uri): Fixes to handle
Windows paths.
* src/gstr.c (g_ascii_strncasecmp): Convert each character to lower case
before comparing.
* src/gunicode.c (g_get_charset): Implement for Windows.
Contributed under MIT/X11 license.
2008-03-12 Geoff Norton <[email protected]>
* src/gutf8.c: Implement g_ucs4_to_utf16 and g_utf16_to_ucs4 as
asserts. They're needed to build mono with eglib.
* src/gutil.h: Add a few missing function declarations to the header.
* src/gspawn.c: Some darwin implementations don't have crt_externs.h
So we'll just define _NSGetEnviron() ourselves.
* Makefile.am: Dont build test when cross compiling.
* configure.ac: Define CROSS_COMPILING when cross compiling.
Undefine _FORTIFY_SOURCE on arm-apple-darwin as the headers it
requires are not available.
2008-01-15 Andreas Faerber <[email protected]>
* configure.ac: Add default G_BREAKPOINT implementation.
Fix typo in breakpoint CPU output.
2007-12-23 Zoltan Varga <[email protected]>
* src/glib.h: Include <limits.h>. Fixes #350482.
2007-11-21 Dick Porter <[email protected]>
* src/gslist.c (g_slist_find_custom): Implement
* src/glist.c (g_list_find_custom): Implement
* test/list.c: Test g_list_find_custom()
* test/slist.c: Test g_slist_find_custom()
2007-11-20 Dick Porter <[email protected]>
* src/gstr.c: Implement g_strsplit_set() and re-implement
g_strsplit() so it passes the additional tests. (g_strsplit()
should treat multi-char delimiters as just a single token, rather
than a set of delimiters.)
* src/gslist.c: Implement g_slist_index(), g_slist_nth() and
g_slist_nth_data().
* test/string-util.c: Test g_strsplit_set() and more tests for
g_strsplit().
* test/slist.c: Test g_slist_nth() and
g_slist_index().
2007-11-06 Geoff Norton <[email protected]>
* configure.ac: Check for libiconv_open as the previous check was failing against
some versions of libiconv.
2007-11-06 Andreas Faerber <[email protected]>
* test/Makefile.am: Fix noinst_PROGRAMS for automake 1.6.3
Add support for VPATH
2007-11-06 Geoff Norton <[email protected]>
* configure.ac: Determing if glib-2.0 is installed and set HAVE_GLIB appropriately
* test/Makefile.am: Only build test-glib if glib-2.0 is available
2007-11-05 Geoff Norton <[email protected]>
* configure.ac: Check for getpwent_r and wether libiconv is needed to be linked.
Also look to see if we can use export-dynamic in the test suite.
* test/Makefile.am: Get LDFLAGS from configure instead of setting them.
* src/gerror.c: Implement g_clear_error.
* src/glib.h: Only use the format, ... convention is HAVE_C99_SUPPORT is available.
* src/gpath.c: Only use the getpwent_r codepath if getpwent_r is available.
* src/gspawn.c: Define environ to call _NSGetEnviron() on Apple.
* src/Makefile.am: Remove -Werror so we dont fail on different function declarations.
Portions of all of the above are from Andreas Faerber & Jonathan Chambers
2007-10-31 Jonathan Chambers <[email protected]>
* src/ghashtable.c: Add g_hash_table_foreach_steal.
* src/garray.c: Add g_array_remove_index_fast.
* src/gpath.c (g_path_is_absolute): Handle windows paths.
* src/glib.h: Add g_hash_table_foreach_steal and g_array_remove_index_fast
Contribution is licensed as MIT/X11.
2007-06-13 Jonathan Chambers <[email protected]>
* src/gunicode.c: Add g_unichar_isxdigit and g_unichar_xdigit_value.
* src/gmisc.c: Add g_win32_getlocale stub.
* src/glib.h: Add declarations of above functions,
GFreeFunc typedef, and CLAMP, GUINT_TO_LE, and threading
macros.
* test/string-util.c: Fix warning.
* test/utf8.c: Add test for g_unichar_xdigit_value.
Contribution is licensed as MIT/X11.
2007-05-05 Aaron Bockover <[email protected]>
* src/gstr.c:
* src/glib.h: Added g_ascii_tolower implementation; make g_ascii_strdown
use it to do the transformation
* test/string-util.c: Added a test for g_ascii_strdown
2007-04-27 Jonathan Chambers <[email protected]>
* src/gstr.c: Fix off by one error in g_strdup allocation.
2007-04-27 Jonathan Chambers <[email protected]>
* src/eglib-config.hw: Forgot to add for msvc build.
* src/vasprintf: Forgot to add for msvc build.
2007-04-27 Jonathan Chambers <[email protected]>
* src/gstr.c: Fix off by one error for NULL terminator.
2007-04-27 Jonathan Chambers <[email protected]>
Combined patch from Michael Jerris <[email protected]> and me.
* winconfig.h: Config file for msvc builds.
* configure.ac: Add AC_CHECK_HEADERS for getopt.h, sys/time.h,
sys/wait.h, and pwd.h.
* src/gspawn.c: Include config.h and use HAVE_* macros.
* src/eglib-config.h.in: Add inclusion guards.
* src/ghashtable.c: Fix warnings.
* src/gmisc.c: Windows implementation of g_getenv, g_setenv,
and g_unsetenv.
* src/gpath.c: Include config.h and use HAVE_* macros.
* src/gmarkup.c: Fix warnings.
* src/gptrarray.c: Fix warnings.
* src/gstr.c: Fix warnings and use HAVE_* macros.
* src/glib.h: Move macros to eglib-config.h and include it.
* src/gdate.c: Implement g_get_current_time on windows.
* src/gpattern.c: Fix warnings.
* src/gdir.c: Implement g_dir on windows.
* src/gfile.c: Implement mkstemp and g_file_test on windows.
* src/gtimer.c: Implement g_timer on windows.
* src/gmodule.c: Fix warnings.
* src/gunicode.c: Fix warnings.
* src/gutf8.c: Fix warnings.
* test/ptrarray.c: Fix warnings.
* test/string.c: Fix warnings.
* test/list.c: Fix warnings.
* test/pattern.c: Use HAVE_* macros.
* test/dir.c: Use HAVE_* macros.
* test/file.c: Use HAVE_* macros and use system specific files for tests.
* test/test.c: Fix warnings and use HAVE_* macros.
* test/timer.c: Use HAVE_* macros.
* test/string-util.c: Fix warnings.
* test/test.h: Supress warnings on msvc.
* test/module.c: Use HAVE_* macros.
* test/utf8.c: Fix warnings.
* test/spawn.c: Use HAVE_* macros.
* test/driver.c: Fix warnings and use HAVE_* macros.
* test/path.c: Use HAVE_* macros and use system specific files for tests.
* test/sizes.c: Fix warnings.
2007-04-24 Jonathan Chambers <[email protected]>
Patch from Michael Jerris <[email protected]>
* src/gspawn.c: Start msvc build.
* src/gpath.c: Start msvc build.
* src/gmarkup.c: Start msvc build.
* src/gshell.c: Start msvc build.
* src/gstr.c: Start msvc build.
* src/glist.c: Start msvc build.
* src/glib.h: Start msvc build.
* src/gdate.c: Start msvc build.
* src/gpattern.c: Start msvc build.
* src/gdir.c: Start msvc build.
* src/gfile.c: Start msvc build.
* src/gtimer.c: Start msvc build.
* src/gmodule.c: Start msvc build.
* src/gunicode.c: Start msvc build.
2007-01-27 Robert Jordan <[email protected]>
* test/Makefile.am: Add linker option to be able to
load symbols from the main program.
* test/module.c: Clean-ups.
2007-01-26 Robert Jordan <[email protected]>
* configure.ac: Add PLATFORM_WIN32 conditional.
* src/Makefile.ac: Use PLATFORM_WIN32 conditional for psapi, iconv
* test/module.c, test/tests.h, test/Makefile.am: New test for gmodule.
* src/gmodule.h: Add G_MODULE_{IMPORT|EXPORT} defines.
* src/gmodule.c (g_module_symbol): Implement in-proc symbol lookup
for Win32.
* src/gmodule.c: Add GModule.main_module, consider it in
g_module_close ().
* src/gpath.c (g_get_home_dir): Add dummy Win32 implementation to
fix the build.
2006-11-03 Miguel de Icaza <[email protected]>
* src/gpath.c (g_path_get_dirname): If the pathname starts with a
"/", return the "/".
* test/string-util.c (test_strlcpy): Add new test.
* src/gunicode.c (g_filename_from_utf8): g_strlcpy needs the full
size, with the extra zero at the end; Fixes the stack trace
issue.
2006-10-30 Miguel de Icaza <[email protected]>
* test/utf8.c (test_utf8_seq): Add new failing test.
2006-10-30 Atsushi Enomoto <[email protected]>
* src/gutf8.c : several fixes:
- fixed incorrect mb_size clear and mb_remain computation.
- initialize items_written to 0 for error case.
- in utf8_to_utf16_len differentiate error messages completely.
- in g_utf8_to_utf16 use guchar instead of gchar.
* test/utf8.c : added test case string in test_utf8_seq() to
both test_utf8_to_utf16() and test_utf16_to_utf8().
2006-10-21 Miguel de Icaza <[email protected]>
* src/gunicode.c (g_filename_from_utf8): Use g_strlcpy here.
* src/gmarkup.c (g_markup_parse_context_parse): Do not dereference
null values here. This gets things a little bit further in
corlib, but not too far.
* src/gdir.c (g_dir_read_name): Do not return . or ..
* src/gstr.c (g_ascii_xdigit_value): Make this into a function,
thanks to Paolo for pointing the problem with the double macro
expansion.
* src/gmodule.c (g_module_open): Actually return NULL if we fail
to load the module (was hiding the real bug in the pinvoke tests).
(g_module_build_path): Do not prepend "lib" if the "lib" is part
of the call.
* src/gstr.c (g_strsplit): this routine has some non-expected
behavior, if the string begins with the delimiter, it will return
an empty first string, unlike strtok
* src/gpath.c (g_path_get_dirname): Return "." as a dirname for
paths that do not contain a directory.
2006-10-18 Gonzalo Paniagua Javier <[email protected]>
* test/array.c: new test for insertion in the middle of other values.
* src/garray.c: fixed destination index.
2006-10-18 Miguel de Icaza <[email protected]>
* src/gpath.c (g_build_path): Do not append terminator if the next
string is empty.
* src/gutf8.c (g_utf8_to_utf16): Include trailing zero as
documented.
(g_utf16_to_utf8): Include trailing zero as documented.
2006-10-17 Miguel de Icaza <[email protected]>
* src/gstr.c (g_strdown): Actually move.
* src/gmarkup.c (g_markup_parse_context_parse): Accept dots in the
sequence, reset the state after a closing element.
* src/garray.c (g_array_insert_vals): Shift the elements the
correct amount.
(g_array_insert_vals): Should actually use the
number of elements to insert.
* test/array.c: Add new test case, this was happening in the JIT.
* Add _GNU_SOURCE at configure time, remove from sources.
* src/gstr.c (g_strsplit): Empty strings return a 0 value vector.
* src/glib.h (G_MAXINT64, G_MININT64): Add another set of macros
for the support stuff.
Move private prototypes elsewhere
* src/glib.h (g_thread_init): Adding missing brace
(g_list_next): remove ; from the macro definition.
2006-10-17 Miguel de Icaza <[email protected]>
* src/gutf8.c: internal methods
* src/ghashtable.c: internal methods.
2006-10-16 Miguel de Icaza <[email protected]>
* src/gerror.c (g_propagate_error): Implement.
* src/gstr.c (g_strjoinv, g_ascii_strncasecmp): implement.
* test/string-util.c (test_ascii_strncasecmp): test
2006-10-15 Miguel de Icaza <[email protected]>
* configure.in: Fix detection of platforms the [3456] stuff does
not work inside autoconf.
* src/eglib-config.h.in: Make G_BREAKPOINT into a function-macro
* src/glib.h (offsetof): Mono sources depend on this, bring this
from the standard definition. Redefine G_STRUCT_OFFSET in terms
of this.
* src/glib.h (G_STRUCT_OFFSET): fix macro definition.
fix typo.
* src/sizes.c: Add test.
* src/gshell.c: Make it build
2006-10-14 Miguel de Icaza <[email protected]>
* src/glib.h: add various _TO_LE and _FROM_LE macros.
* test/endian.c: tests for endian conversion macros.
2006-10-09 Miguel de Icaza <[email protected]>
* src/gmodule.h: Move definitions of gmodule to gmodule.h because
Mono expects it there.
Mon Oct 9 12:59:16 CEST 2006 Paolo Molaro <[email protected]>
* src/ghashtable.c: s/to_prime/g_spaced_primes_closest/g
and put the array in readonly memory.
* src/gstr.c: fixed the build and made array const.
* src/gmodule.c: fixed thinko.
2006-10-08 Miguel de Icaza <[email protected]>
* src/gstr.c (g_strdup): should allow NULL as an argument.
2006-10-08 Gonzalo Paniagua Javier <[email protected]>
* test/string-util.c:
* TODO:
* src/gstr.c:
* src/glib.h: implemented g_strescape.
2006-10-08 Gonzalo Paniagua Javier <[email protected]>
* test/string-util.c:
* configure.ac:
* TODO:
* src/gstr.c:
* src/glib.h: implemented g_strlcpy.
2006-10-08 Gonzalo Paniagua Javier <[email protected]>
* test/string-util.c:
* TODO:
* src/gstr.c:
* src/glib.h: implemented g_strdelimit.
2006-10-07 Gonzalo Paniagua Javier <[email protected]>
* test/spawn.c: add search path flag when running ls.
* src/gspawn.c: g_spawn_command_line_sync searches the program in the
PATH if it's not an absolute path.
2006-10-07 Gonzalo Paniagua Javier <[email protected]>
* test/string-util.c:
* src/glib.h: implement g_ascii_xdigit_value and tests.
2006-10-06 Miguel de Icaza <[email protected]>
* src/gstr.c (g_ascii_strdown): Implement.
* str/glib.c (g_log_set_handler): empty.
(g_printerr): empty.
(GMemVTable): define, empty, ignored.
(G_USEC_PER_SEC) :-)
* src/gunicode.c (g_convert): Add bytes_read, bytes_written
support; Small fixes to avoid valgrind errors.
(g_utf8_validate): Add, based on the libxml code.
gstr.c: implement g_strdown.
2006-10-05 Miguel de Icaza <[email protected]>
* src/gunicode.c: Some work in progress to implement g_convert
(which is needed by g_locale_to_utf8).
2006-09-18 Miguel de Icaza <[email protected]>
* test/string-util.c (test_filename_from_uri): tests for new
methods.
* src/gstr.c (g_filename_to_uri, g_filename_from_uri): implement.
2006-09-14 Atsushi Enomoto <[email protected]>
* src/gutf8.c, test/utf8.c : EOL fix.
2006-09-04 Miguel de Icaza <[email protected]>
* src/gmarkup.c: The leak fixing commit.
* src/gmarkup.c (g_markup_parse_context_end_parse): Add missing
method.
(g_markup_parse_context_free): Implement.
(parse_attributes): Store the value, not the attribute name
twice.
Properly check the /> section.
(g_markup_parse_context_parse): When checking for error, use the
"error!=NULL && *error != NULL" upon return from callbacks,
it is only then that its valid to check for *error for error
conditions.
(g_markup_parse_context_parse): Add comment processing.
Only release one element of the list.
* test/markup.c: Incorporate the kind of code that is used in Mono
for domain loading; Will test the rest later.
2006-09-01 Miguel de Icaza <[email protected]>
* src/gmarkup.c (g_markup_parse_context_parse): Add text parsing
support, and end-element support; not tested yet.
2006-09-01 Atsushi Enomoto <[email protected]>
* gutf8.c : bad allocation size. multiply sizeof gchar/gunichar2.
2006-09-01 Atsushi Enomoto <[email protected]>
* gutf8.c : when error is null, utf8_to_utf16_len() and
utf16_to_utf8_len() could return -1, so return NULL for those
cases in g_utf8_to_utf16() and g_utf16_to_utf8().
2006-09-01 Miguel de Icaza <[email protected]>
* src/gmarkup.c: Builds and does minimal parsing.
* test/markup.c: Sample test cases I have been using
2006-08-31 Atsushi Enomoto <[email protected]>
* src/gerror.h,
src/gerror.c : added g_set_error().
* src/gutf8.c :
g_utf8_to_utf16() and g_utf16_to_utf8() implementation.
* src/glib.h : added all above, and some dependent bits.
* src/Makefile.am : added gutf8.c.
* TODO: removed above.
* test/Makefile.am,
test/tests.h : added utf8 tests.
* test/utf8.c : test for g_utf8_to_utf16 and g_utf16_to_utf8.
It still needs more tests e.g. for multibytes.
2006-08-31 Gonzalo Paniagua Javier <[email protected]>
* src/gspawn.c: small touch-ups and make read/write EINTR-proof.
2006-08-31 Gonzalo Paniagua Javier <[email protected]>
* test/file.c: remove useless test.
* test/spawn.c: new g_spawn_async_with_pipes test.
* src/glib.h: Modified file.
* src/gspawn.c: implemented g_spawn_async_with_pipes. Needs fine tuning.
2006-08-28 Gonzalo Paniagua Javier <[email protected]>
* TODO: Modified file.
* test/tests.h:
* test/pattern.c:
* test/dir.c:
* test/Makefile.am:
* src/Makefile.am:
* src/glib.h:
* src/gdir.c:
* src/gfile.c: implemented g_dir_*, unix version.
2006-08-27 Gonzalo Paniagua Javier <[email protected]>
* src/glib.h:
* test/Makefile.am: Modified file.
* test/tests.h:
* src/Makefile.am: Modified file.
* test/pattern.c:
* src/gpattern.c: implemented the 3 pattern matching functions used.
* test/ptrarray.c: fix the compare function to work with qsort.
* test/file.c:
* test/path.c:
* src/gspawn.c:
* src/gpath.c: made valgrind happy.
2006-08-26 Gonzalo Paniagua Javier <[email protected]>
* test/file.c:
* src/glib.h:
* src/gfile.c: implemented g_file_test. Changed the default mask to
.XXXXXX. Add tests.
2006-08-26 Raja R Harinath <[email protected]>
* src/sort.frag.h (digit): Declare here based on externally
provided typedef 'list_node'.
(MAX_DIGITS): Use 'sizeof (list_node)'.
* src/gslist.c (list_node): Declare instead of 'digit'.
* src/glist.c: Likewise.
* test/slist.c (verify_sort): Verify the length of the list too.
(test_slist_sort): Free the correct list.
* test/list.c: Likewise.
* src/sort.frag.h (MAX_DIGITS): Rename from N_DIGITS.
(combine_sort): Change 'max_pos' argument to more natural