Updated kn.po
[platform/upstream/glib.git] / ChangeLog
1 2009-03-13  Matthias Clasen  <mclasen@redhat.com>
2
3         * configure.in: Bump version
4
5 2009-03-13  Matthias Clasen  <mclasen@redhat.com>
6
7         * === Released 2.20.0 ===
8
9         * configure.in: Bump version to 2.20.0
10
11 2009-03-13  Matthias Clasen  <mclasen@redhat.com>
12
13         * NEWS: Updates
14
15 2009-03-12  Matthias Clasen  <mclasen@redhat.com>
16
17         * glib/gbase64.c: Avoid integer overflows in the base64
18         functions. Fixes CVE-2008-4316
19
20 2009-03-11  Stef Walter  <stef@memberwebs.com>
21
22         * glib/gchecksum.c: Document and guarantee hex digests will
23         be returned in lower case. Fixes bug #574019
24
25 2009-03-02  Matthias Clasen <mclasen@redhat.com>
26
27         * configure.in: Bump version
28
29 2009-03-02  Matthias Clasen <mclasen@redhat.com>
30
31         * === Released 2.19.10 ===
32
33 2009-03-02  Matthias Clasen <mclasen@redhat.com>
34
35         * configure.in: Bump version
36
37 2009-03-02  Matthias Clasen <mclasen@redhat.com>
38
39         * === Released 2.19.9 ===
40
41 2009-03-02  Matthias Clasen <mclasen@redhat.com>
42
43         * NEWS: Updates
44
45 2009-03-01  Matthias Clasen <mclasen@redhat.com>
46
47         Bug 572508 – gmarkup speedup ...
48
49         * glib/gmarkup.c: Various optimizations: do less allocations by
50         keeping a pool of GStrings, do in-place unescaping, avoid redundant
51         utf-8 validation. Patch by Michael Meeks
52
53         * tests/markups/fail-36.gmarkup: Adapt
54
55 2009-03-01  Matthias Clasen <mclasen@redhat.com>
56
57         * glib/gthread.c: Fix docs.
58
59 2009-03-01  Matthias Clasen <mclasen@redhat.com>
60
61         * tests/slice-threadinit.c: Change one magazine size from 77 to 81
62         to make distcheck work on x86-64.
63
64 2009-02-27  Tor Lillqvist  <tml@novell.com>
65
66         Bug 167569 - g_string_append_printf crashes on win32 when used
67         with a NULL argument
68
69         * glib/gnulib/vasnprintf.c (vasnprintf): Add workaround for buggy
70         programs. Patch by Owen.
71
72 2009-02-23  Paolo Borelli  <pborelli@katamail.com>
73
74         * glib/gutf8.c (_g_utf8_make_valid):
75         sanity check the input paramter. 
76
77 2009-02-23  Tor Lillqvist  <tml@novell.com>
78
79         Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion
80         of function pointer to object pointer
81
82         * glib/gutils.c (g_win32_get_system_data_dirs_for_module): Change
83         the type of the function's parameter to be explicitly a function
84         pointer.
85
86         * glib/gutils.h (_g_win32_get_system_data_dirs): Modify
87         declaration and the only caller, the inline
88         _g_win32_get_system_data_dirs(), accordingly. Add comments
89         pointing out these are internal GLib functions.
90
91 2009-02-22  Matthias Clasen  <mclasen@redhat.com>
92
93         Bug 572151 – “it's” and “its” confused in docs and comments
94
95         * Fix "it's" vs "its" confusion throughout the source. Patch
96         by Will Thompson.
97
98 2009-02-22  Matthias Clasen  <mclasen@redhat.com>
99
100         Bug 572464 – Doc for g_file_get_contents
101
102         * glib/gfileutils.c (g_file_get_contents): Improve docs. Pointed
103         out by Øystein Johansen.
104
105 2009-02-22  Matthias Clasen  <mclasen@redhat.com>
106
107         Bug 572672 – glib/gthread.c: argument is different type
108
109         * glib/gthread.c (g_once_init_leave): Add a necessary cast back.
110         Pointed out by Kazuki Iwamoto.
111
112 2009-02-17  Matthias Clasen  <mclasen@redhat.com>
113
114         * configure.in: Bump version
115
116 2009-02-17  Matthias Clasen  <mclasen@redhat.com>
117
118         * === Released 2.19.8 ===
119
120 2009-02-17  Matthias Clasen  <mclasen@redhat.com>
121
122         Fix strict aliasing warnings and viiolations to make GLib and
123         GLib users buildable with gcc 4.4. Patch by Jakub Jelinek.
124
125         * glib/gatomic.[hc]: Add G_GNUC_MAY_ALIAS to pointer arguments,
126         fix macro versions to only operate on objects of the same size.
127
128         * glib/gdataset.c:
129         * glib/gthread.[hc]:
130         * glib/gdatasetprivate.h: Remove unnecessary casts in 
131         g_atomic_pointer_get calls.
132         
133 2009-02-16  Matthias Clasen  <mclasen@redhat.com>
134
135         * configure.in: Bump version
136
137 2009-02-16  Matthias Clasen  <mclasen@redhat.com>
138
139         * === Released 2.19.7 ===
140
141 2009-02-16  Matthias Clasen  <mclasen@redhat.com>
142
143         * NEWS: Updates
144
145 2009-02-13  Mathias Hasselmann  <hasselmm@gnome.org>
146
147         Add note about g_utf8_offset_to_pointer() not checking string
148         boundaries.
149
150         * glib/gutf8.c (g_utf8_offset_to_pointer()): See summary.
151
152 2999-02-11  Matthias Clasen  <mclasen@redhat.com>
153
154         Bug 523742 – Use noinst for non-installable libraries
155
156         * tests/Makefile.am: use noninst_LTLIBRARIES for noninstalled 
157         libraries.Patch by Björn Lindqvist
158
159 2009-02-06  Murray Cumming  <murrayc@murrayc.com>
160
161         * gio/gfilterinputstream.c:
162         * gio/gfilteroutputstream.c: Correct the grammar in some property 
163         documentation.
164         * gio/gdatainputstream.c:
165         * glib/gregex.c: Correct the spelling of 
166         occurrence in documentation.
167
168 2009-02-02  Matthias Clasen  <mclasen@redhat.com>
169
170         * configure.in: Bump version
171
172 2009-02-02  Matthias Clasen  <mclasen@redhat.com>
173
174         * === Released 2.19.6 ===
175
176 2009-02-02  Matthias Clasen  <mclasen@redhat.com>
177
178         * configure.in: Bump version
179
180 2009-01-31  Matthias Clasen  <mclasen@redhat.com>
181
182         * NEWS: Updates
183
184 2009-01-31  Matthias Clasen  <mclasen@redhat.com>
185
186         Bug 569105 – g_time_val_to_iso8601() assumes time_t==long
187
188         * glib/gtimer.c (g_time_val_to_iso8601): Pass a time_t* to gmtime().
189         Pointed out by Matthias Drochner.
190
191 2009-01-27  Christian Persch  <chpe@gnome.org>
192
193         * configure.in:
194         * docs/reference/glib/glib-sections.txt:
195         * docs/reference/macros_misc.sgml:
196         * docs/reference/glib/tmpl/types.sgml: Add
197         G_GOFFSET_FORMAT and friends. Bug #563141.
198
199 2009-01-23  Stefan Kost  <ensonic@users.sf.net>
200
201         * docs/reference/glib/Makefile.am:
202           Add SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to Makefile.am to fix
203           on problem with the doc build.
204
205 2009-01-21  Tor Lillqvist  <tml@novell.com>
206
207         * glib/gwin32.c (g_win32_locale_filename_from_utf8): Drop the code
208         in the else branch of #if GLIB_CHECK_VERSION (2, 19, 0). Drop
209         unused variables.
210
211 2009-01-20  Matthias Clasen  <mclasen@redhat.com>
212
213         Bug 568294 – A wrong reference in the description of 
214         g_bookmark_file_add_application()
215
216         * glib/gbookmarkfile.c (g_bookmark_file_add_application):
217         Fix a typo in the docs. Pointed out by Takeshi Aihana
218
219 2009-01-19  Matthias Clasen  <mclasen@redhat.com>
220
221         * === Released 2.19.5 ===
222
223 2009-01-18  Matthias Clasen  <mclasen@redhat.com>
224
225         * glib/gstrfuncs.c (g_strdup_printf): Fix a doc typo.
226
227 2009-01-18  Matthias Clasen  <mclasen@redhat.com>
228
229         * NEWS: Updates
230
231 2009-01-18  Matthias Clasen  <mclasen@redhat.com>
232
233         Bug 512779 – --disable-regex breaks compilation
234         
235         * configure.in: Define an ENABLE_REGEX macro
236
237         * gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX
238         is not defined.
239
240 2009-01-18  Matthias Clasen  <mclasen@redhat.com>
241
242         * glib/gbsearcharray.h: Quell some compiler warnings.
243
244 2009-01-18  Matthias Clasen  <mclasen@redhat.com>
245
246         * glib/pcre: Update to PCRE 7.8
247
248 2009-01-17  Matthias Clasen  <mclasen@redhat.com>
249
250         Bug 567977 – textdomain() macro should not return NULL when 
251         ENABLE_NLS is not set
252
253         * glib/glibintl.h: If !ENABLE_NLS, make textomain() macro 
254         return "messages" in case of a NULL argument. Patch by
255         Peter Kjellerstedt.
256
257 2009-01-17  Matthias Clasen  <mclasen@redhat.com>
258
259         Bug 567838 – G_STRUCT_OFFSETOF fails to compile under icc 9.1
260
261         * glib/gmacros.h (G_STRUCT_OFFSETOF): Use offsetof instead of 
262         __builtin_offsetof, for icc's sake. Proposed by Hrvoje Niksic.
263
264 2009-01-13  Matthias Clasen  <mclasen@redhat.com>
265
266         Bug 564728 Add function to decode base64 encoded data in place
267
268         * glib/glib.symbols:
269         * glib/gbase64.[hc] (g_base64_decode_inplace): New convenience
270         API to decode in place, overwriting the input string. Patch by
271         Sebastian Dröge.
272
273 2009-01-12  Matthias Clasen  <mclasen@redhat.com>
274         
275         * glib/gtestutils.c (g_strcmp0): Be more explicit about the NULL
276         handling in the docs.
277
278 2009-01-12  Tor Lillqvist  <tml@novell.com>
279
280         * glib/goption.c (parse_arg): Guard against a mis-written
281         GOptionArgFunc that has returned FALSE but not set the GError.
282
283 2009-01-10  Matthias Clasen  <mclasen@redhat.com>
284
285         Bug 566573 – g_match_info_fetch_pos docs
286
287         * glib/gregex.c: Mention that positions are in bytes. 
288         Proposed by Christian Persch.
289
290 2009-01-10  Matthias Clasen  <mclasen@redhat.com>
291
292         Bug 566569 – gregex docs clarification
293
294         * glib/gregex.c: Copy the warning about @string to all
295         relevant docs. Proposed by Christian Persch
296
297 2009-01-09  Tor Lillqvist  <tml@iki.fi>
298
299         Bug 567138 - get_package_directory_from_module() does not free its
300         lock when failing
301
302         * glib/gwin32.c (get_package_directory_from_module): Obvious fix.
303
304 2009-01-05  Matthias Clasen  <mclasen@redhat.com>
305
306         * configure.in: Bump version
307
308 2009-01-05  Matthias Clasen  <mclasen@redhat.com>
309
310         * === Released 2.19.4 ===
311
312         * NEWS: Updates
313
314 2009-01-05  Dan Winship  <danw@gnome.org>
315
316         * glib/tests/.gitignore: update
317
318         * tests/.gitignore: update, sort
319
320         * tests/gobject/.gitignore: add
321
322 2009-01-05  Tor Lillqvist  <tml@iki.fi>
323
324         Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32
325
326         * glib/gfileutils.c: Move the binary compatibility versions of
327         g_file_test(), g_file_get_contents(), g_mkstemp() and
328         g_file_open_tmp() last in the file. Remove the restriction that
329         the XXXXXX is last in the template in the binary compatibility
330         version of g_mkstemp(). Thanks to Morten Welinder and Jody
331         Goldberg.
332
333 2009-01-03  Matthias Clasen  <mclasen@redhat.com>
334
335         * NEWS: Updates
336
337 2009-01-02  Matthias Clasen  <mclasen@redhat.com>
338
339         * glib/gregex.c: Add an example to the g_regex_replace_eval() docs.
340
341 2009-01-02  Matthias Clasen  <mclasen@redhat.com>
342
343         * glib/gstrfuncs.c: Move docs inline, adding references to g_free()
344         where appropriate.
345
346 2009-01-02  Matthias Clasen  <mclasen@redhat.com>
347
348         Bug 564210 – SUN Studio 12 has supported visibility attribute
349
350         * configure.in: Use visibility attribute for new enough sun cc.
351         Patch by Chris Wang
352
353 2008-12-30  Matthias Clasen  <mclasen@redhat.com>
354
355         Bug 565905 – There is no named g_context_group_set_translation_domain()
356         in GOption command line parser
357
358         * glib/goption.c: Fix a wrong reference in the docs, reported by
359         Takeshi Aihana.
360
361 2008-12-30  Matthias Clasen  <mclasen@redhat.com>
362
363         * glib/gspawn.c:
364         * glib/gthread.c:
365         * glib/goption.c:
366         * glib/gmain.c:
367         * glib/gkeyfile.c:
368         * glib/gfileutils.c:
369         * glib/gdate.c:
370         * glib/garray.c:
371         * glib/gbookmarkfile.c:
372         * glib/gbacktrace.c: Fix some compiler warnings.
373
374 2008-12-19  Tor Lillqvist  <tml@novell.com>
375
376         * glib/glib.symbols: Add g_thread_get_initialized here,
377         too. Surround g_test_config_vars with ifdef INCLUDE_VARIABLES.
378
379 2008-12-18  Mike Kestner <mkestner@novell.com>
380
381         Bug 560676 - function access for g_threads_supported
382
383         * glib/gthreads.c (g_thread_get_initialized): new accessor for
384         g_threads_supported macro.
385         * glib/gthreads.h: add g_thread_get_initialized
386
387 2008-12-15  Matthias Clasen <mclasen@redhat.com>
388
389         * configure.in: Bump version
390
391         * === Released 2.19.3 ===
392
393 2008-12-13  Matthias Clasen <mclasen@redhat.com>
394
395         * NEWS: Updates
396
397 2008-12-12  Dan Winship  <danw@gnome.org>
398
399         * glib/pltcheck.sh: make this work on x86_64
400
401 2008-12-12  Behdad Esfahbod  <behdad@gnome.org>
402
403         * glib/guniprop.c: Improve g_unichar_iswide_cjk() docs.
404
405 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
406
407         Bug 508021 – Add support for the CRIS and CRISv32 architectures
408
409         * configure.in: 
410         * glib/gatomic.c: Add an implementation for the CRIS and CRISv32 
411         architectures, by Peter Kjellerstedt
412
413 2008-12-02  Matthias Clasen  <mclasen@redhat.com>
414
415         * glib/gkeyfile.c: Some more documentation additions.
416
417 2008-12-01  Matthias Clasen  <mclasen@redhat.com>
418
419         * configure.in: Bump version
420
421 2008-12-01  Matthias Clasen  <mclasen@redhat.com>
422
423         * === Released 2.19.2 ===
424
425 2008-12-01  Matthias Clasen  <mclasen@redhat.com>
426
427         * configure.in: Bump version
428
429 2008-12-01  Matthias Clasen  <mclasen@redhat.com>
430
431         * === Released 2.19.1 ===
432
433         * NEWS: Updates
434
435 2008-11-28  Behdad Esfahbod  <behdad@gnome.org>
436
437         Bug 562639 – g_parse_debug_flags() parsing "help"
438
439         * glib/gutils.c (g_parse_debug_string): Print available keys if
440         string is "help".
441
442 2008-11-28  Behdad Esfahbod  <behdad@gnome.org>
443
444         Bug 562638 – GDebugKey key member should be const
445
446         * glib/gutils.h: Change GDebugKey key member from gchar * to
447         const gchar *.
448
449 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
450
451         Bug 547264 – Missing "no flags" flag
452
453         * glib/gregex.c: Mention 0 as value for 'no flags' in some places..
454         Pointed out by Bastien Nocera
455
456 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
457
458         Bug 562544 – g_key_file_get_string and g_key_file_get_value
459         documentation does not explain the difference
460
461         * glib/gkeyfile.c (g_key_file_get_string): Explain the difference
462         to g_key_file_get_value(). Pointed out by Mart Raudsepp.
463
464 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
465
466         * glib/gkeyfile.c: Refer to @locale parameters as locale identifier
467         in docs.
468
469 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
470
471         Bug 557603 – carbon check output misplaced
472
473         * configure.in: Call AC_PROG_CPP early to avoid it messing up
474         carbon check output. Fix proposed by Christian Persch
475
476 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
477
478         Bug 559110 – Do not include libintl.h after glibintl.h
479
480         * glib/glibintl.h: Define bind_textdomain_codeset in the DISABLE_NLS
481         branch. Patch by Peter Kjellerstedt.
482
483         * glib/gutil.c: Don't include libintl.h directly.
484
485 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
486
487         Bug 562378 – callback return value not respected for callback option
488         with no arg
489
490         * glib/goption.c (parse_long_option): Return the parse_arg return
491         value even for no-arg callbacks. Patch by Christian Persch
492
493         * glib/tests/option-context.c: Add a test for a callback which
494         returns FALSE.
495
496 2008-11-23  Christian Persch  <chpe@gnome.org>
497
498         Bug 559413 – g_option_group_set_error_hook docs buglet
499
500         * glib/goption.c: Doc fix.
501
502 2008-11-23  Christian Persch  <chpe@gnome.org>
503
504         Bug 560568 – gkeyfile docs buglet
505
506         * glib/gkeyfile.c: Clarify the docs.
507
508 2008-11-23  Christian Persch  <chpe@gnome.org>
509
510         Bug 560569 – gkeyfile doesn't use the set list_separator in some cases
511
512         * glib/gkeyfile.c: (g_key_file_get_locale_string_list),
513         (g_key_file_set_locale_string_list), (g_key_file_set_integer_list),
514         (g_key_file_set_double_list): Use the key file's list separator character,
515         not the default one.
516
517         * glib/tests/keyfile.c: (test_lists), (test_reload_idempotency): Test
518         this.
519
520 2008-11-21  Christophe Fergeau <teuf@gnome.org>
521
522         Bug 561212 – GFileReadMoreCallback API doc refers to non-existant function
523
524         * gio/giotypes.h: fix name of function referred to in
525         GFileReadMoreCallback API documentation
526
527 2008-11-21  Matthias Clasen <mclasen@redhat.com>
528
529         * configure.in: Bump gtk-doc dependency to 1.11 for
530         nicer index-generation.
531
532 2008-11-14  Matthias Clasen <mclasen@redhat.com>
533
534         * NEWS: Updates
535
536 2008-11-04  Christian Dywan  <christian@imendio.com>
537
538         Bug 558672 – NULL key lookup using g_hash_table_lookup_extended()
539
540         * glib/ghash.c:
541         Clarify g_hash_table_lookup_extended
542
543 2008-11-02  Tor Lillqvist  <tml@novell.com>
544
545         * configure.in: Expand also build/win32/vs9/Makefile.
546
547 2008-10-31  Christian Dywan  <christian@imendio.com>
548
549         Bug 558513 – g_warn_if_fail FIXME in gtestutils
550
551         * glib/gtestutils.c (g_test_log_send):
552         Turn g_assert into g_warn_if_fail as advised
553
554 2008-10-31  Grahame Bowland  <grahame@angrygoats.net>
555
556         Bug 558185 – 'parent' variable in g_local_file_get_child_for_display_name() 
557         hits g_object_unref(NULL) assertion
558
559         * gio/glocalfile.c: 
560         - remove unused variable. Patch by Matt Johnston <matt@ucc.asn.au>
561
562 2008-10-29 16:11:14  Tim Janik  <timj@gtk.org>
563
564         * glib/gmacros.h: added G_PASTE() and G_STATIC_ASSERT(), based on
565         patches by Christian Persch and Christian Dywan. Fixes:
566         Bug 558381 - Add support for compile time assertions
567
568 2008-10-27  Joseph Pingenot  <gnomesvn@digitasaru.net>
569
570         * glib/ghash.c: changed "#GHashTableIterator" to "#GHashTableIter"
571         in the documentation-comments above g_hash_table_foreach_remove()
572         and g_hash_table_foreach_steal() to correctly name and link to
573         GHashTableIter.  This affects the GNOME documentation website
574         as well, so further steps are likely necessary beyond this subproject..
575
576 2008-10-23 Matthias Clasen <mclasen@redhat.com>
577
578         Bug 557210 – g_compute_checksum_for_* asserts with less than 2 bytes
579
580         * glib/gchecksum.c (g_compute_checksum_for_data): Accept 
581         lengths < 2. Patch by Tommi Komulainen
582
583         * tests/checksum-test.c: Add a test for this
584
585 2008-10-23 Matthias Clasen <mclasen@redhat.com>
586
587         Bug 556921 – gpoll.h breaks hal compilation
588
589         * glib/gpoll.h: Include gtypes.h. Pointed out by Anis Elleuch
590
591 2008-10-20 Christian Persch <chpe@gnome.org>
592
593         Bug 557087 – mem leak in g_content_types_get_registered
594                 
595         * gio/gcontenttype.c: Plug a mem leak.
596
597 2008-10-19  Michael Natterer  <mitch@imendio.com>
598
599         Bug 556186 – gpoll.h breaks gmain.h inclusion
600
601         * glib/gpoll.h: different fix: disallow direct inclusion
602         unconditionally again but make an exception if included from
603         gmain.h to maintain compatibility.
604
605 2008-10-16  Matthias Clasen <mclasen@redhat.com>
606
607         * configure.in: Bump version to 2.19.1
608
609         * === Released 2.19.0 ===
610
611         * NEWS: Updates
612
613 2008-10-14  Christian Persch <chpe@gnome.org>
614
615         Bug 556186 – gpoll.h breaks gmain.h inclusion
616
617         * glib/gpoll.h: Only disallow direct inclusion when
618         G_DISABLE_SINGLE_INCLUDES is defined.
619
620 2008-10-13  Sven Herzberg  <sven@imendio.com>
621
622         Bug 556101 – static mutex yields warnings with g++
623         Reviewed by Tim Janik
624
625         * configure.in: added an intermediate cast to gpointer
626
627 2008-10-13  Christian Persch <chpe@gnome.org>
628
629         Bug 555311 – format not a string literal and no format arguments
630
631         * glib/gmarkup.c:
632         * glib/gshell.c: Use literal errors where appropriate.
633
634 2008-10-10  Behdad Esfahbod  <behdad@gnome.org>
635
636         Bug 551355 – [PATCH] Make glib build with libtool 2.2
637
638         * autogen.sh: Accept libtool 2.2.   We are moving towards having
639         it working.
640
641 2008-10-10  Behdad Esfahbod  <behdad@gnome.org>
642
643         * configure.in: With libtool 2.x, regenerate libtool early.
644         Based on bug 552107, patch by Patryk Zawadzki
645
646 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
647
648         Bug 554557 – Patch to fix gcc warnings about missing format 
649         specifiers
650
651         * glib/gmarkup.c:
652         * glib/gshell.c:
653         * glib/grel.c: Fix gcc warnings. Patch by Kjartan Maraas
654
655 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
656
657         Bug 552861 – glib-2.0.m4 calls system(3) without storing its result
658
659         * m4macros/glib-2.0.m4: Cosmetic change to make -Werror happy.
660         Patch by Andreas Köhler
661
662 2008-10-08  Christian Persch  <chpe@gnome.org>
663
664         Bug 555313 – GFileAttribute boxed type get_type function should
665         use usual get_type pattern
666
667         * gio/gfileattribute.c (g_file_attribute_info_list_get_type): Use
668         g_once_init_enter/leave.
669
670 2008-10-08  Christian Persch  <chpe@gnome.org>
671
672         Bug 555314 – mem leak in gmarkup
673
674         * glib/gmarkup.c: (g_markup_parse_context_parse): Plug a mem leak.
675
676 2008-10-08  Tor Lillqvist  <tml@novell.com>
677
678         Bug 554790 - g_convert() misbehaves with winiconv versions
679
680         * glib/win_iconv.c (kernel_mbtowc): If converting from ASCII,
681         explicitly check for and reject 8bit chars. MultiByteToWideChar()
682         doesn't, at least not on XP.
683
684 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
685
686         * glib/gtypes.h: Properly include gmacros.h
687
688 2008-10-06  Behdad Esfahbod  <behdad@gnome.org>
689
690         Bug 555309 – giochannel breaks on error
691         Patch from Christian Persch
692
693         * glib/giounix.c (g_io_unix_read), (g_io_unix_write),
694         (g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags):
695         Don't shadow err.  Oops!
696
697 2008-10-06  Christophe Fergeau  <teuf@gnome.org>
698
699         Bug 555224 – Improve g_format_size_for_display doc
700         
701         * glib/gfileutils.c: change g_format_size_for_display API doc to
702         explicitly say that the returned string has to be freed. Change
703         spelling of "newly allocated" to "newly-allocated" in g_file_read_link
704         API doc to be more consistent with what is done in that file.
705
706 2008-10-01  David Zeuthen  <davidz@redhat.com>
707
708         * README.in: Add "Notes about glib 2.20" section detailing the
709         ramifications of the patch from bug #528670.
710
711 2008-09-30  Behdad Esfahbod  <behdad@gnome.org>
712
713         Bug 554092 – glib doesn't return G_FILE_ERROR_NOENT et al on OS X
714
715         * glib/giounix.c (g_io_unix_read), (g_io_unix_write),
716         (g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags),
717         (g_io_unix_get_flags), (g_io_channel_new_file):
718         Like mclasen says: "well, thats the way errno works...,
719         save it or loose it".  Save errno.
720
721 2008-09-30  Tor Lillqvist  <tml@novell.com>
722
723         * Makefile.decl
724         * glib/tests/Makefile.am: Bypass gtester related stuff on Windows.
725
726 2008-09-30  Tor Lillqvist  <tml@novell.com>
727
728         * glib/gprintf.c
729         * glib/gnulib/vasnprintf.c: Don't define _GNU_SOURCE on Windows,
730         as _GNU_SOURCE has unintended side effects when compiling against
731         newest mingw headers.
732
733 2008-09-26  Dan Winship  <danw@gnome.org>
734
735         Bug 553447 – g_assert_no_error()
736
737         * glib/gtestutils.h (g_assert_no_error, g_assert_error): Macros to
738         assert that a GError is not set, or else is set to a particular
739         error.
740
741         * glib/gtestutils.c (g_assertion_message_error): utility for
742         those macros
743
744         * glib/tests/keyfile.c:
745         * tests/asyncqueue-test.c:
746         * tests/bookmarkfile-test.c:
747         * tests/convert-test.c:
748         * tests/file-test.c: Use g_assert_error/g_assert_no_error
749
750 2008-09-26  Dan Winship  <danw@gnome.org>
751
752         * glib/gthreadpool.c (wakeup_thread_marker): make this a "const
753         gpointer" rather than a gconstpointer to avoid warnings later
754
755         * glib/pcre/pcre_ucp_searchfuncs.c:
756         * glib/pcre/pcre_valid_utf8.c: #include "config.h"
757
758         * glib/tests/printf.c (test_d): fool gcc into not warning about
759         some printf format strings that we know are dubious
760
761 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
762
763         Bug 553857 – gbacktrace.h requires signal.h
764
765         * glib/gbacktrace.h: Include signal.h for raise(). 
766         Pointed out by Sebastien Bacher
767
768 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
769
770         Bug 553724 – python interpretter path not patched in correctly
771
772         * glib/Makefile.am: Fix the sed magic to replace python.
773
774 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
775
776         * glib/gmain.c: Add some more docs.
777
778         * glib/giochannel.c: Move more docs inline, and improve them
779         on the way.
780
781 2008-09-25  Tor Lillqvist  <tml@novell.com>
782
783         Bug 553820 - gpoll.c: undeclared identifier
784
785         * glib/gmain.c
786         * glib/gpoll.c: Make the g_poll() function non-static also on
787         Windows. Prefix an underscore to the g_main_poll_debug variable
788         and make it non-static in gmain.c so that it can be used in
789         gpoll.c. Add back missing variable declaration.
790
791 2008-09-25  Tor Lillqvist  <tml@novell.com>
792
793         * glib/gspawn-win32.c (do_spawn_with_pipes) (do_spawn_directly):
794         Just ignore the child_setup function, never call it. The is no
795         situation in which it could be useful on Windows. Do print a
796         warning, like before.
797
798         * glib/gspawn.c (g_spawn_async_with_pipes): Corresponding change
799         in documentation.
800
801 2008-09-24  Sven Herzberg  <sven@imendio.com>
802
803         Be a little more explcit in the docs. Includes Owen's requested
804         changes.
805
806         * glib/gmain.c: improved documentation for g_source_attach() and
807         g_source_destroy()
808
809 2008-09-23  Michael Natterer  <mitch@imendio.com>
810
811         * glib/glib.h: #include <glib/gpoll.h>
812
813         * glib/gpoll.h: #error out if gpoll.h is included directly.
814
815         * glib/gpoll.c: remove trailing whitespace.
816
817 2008-09-23  Dan Winship  <danw@gnome.org>
818
819         * glib/gpoll.[ch] (g_poll): Move this out of gmain.c and make it part
820         of the public API. (Part of Bug 505361 - gunixinputstream.c assumes
821         poll() available.)
822
823 2008-09-23  Tor Lillqvist  <tml@novell.com>
824
825         * glib/gmain.c (poll_rest) [Win32]: Fix embarrassing bug: I was
826         passing an incorrect third parameter to memmove(), had forgotten
827         to multiply by the size of the table entry. Just use a for loop
828         instead, clearer. Odd I didn't notice when testing this code.
829
830 2008-09-19  Hans Petter Jansson  <hpj@novell.com>
831
832         Rewrite most of GHashTable to use open addressing with quadratic
833         probing instead of chaining. This has the potential to reduce memory
834         fragmentation significantly, while being slightly faster due to
835         better locality and no need to call alloc/free functions for nodes.
836         Benchmarks suggest it also uses less memory overall.
837
838         * glib/ghash.c (prime_mod): Table of suitable primes for
839         initial-probe distribution.
840         (g_hash_table_set_shift): New function.
841         (g_hash_table_find_closest_shift): New function.
842         (g_hash_table_set_shift_from_size): New function.
843         (g_hash_table_lookup_node_for_insertion): New function.
844         (g_hash_table_lookup_node): Rewritten to return node index instead of
845         pointer, use quadratic probe on flat table, and not return insertion
846         data. The latter saves some computation for read-only lookups.
847         (g_hash_table_remove_node): Rewrite to take a pointer directly to the
848         node structure to remove, and clear that. Remove unlinking code.
849         (g_hash_table_remove_all_nodes): Rewrite to not clear nodes
850         individually, but en masse using memset () after potentially calling
851         notify functions.
852         (iter_remove_or_steal): Use new data structure and algorithm. Vastly
853         simplified - now just a call to g_hash_table_remove_node ().
854         (g_hash_table_resize): New resize code, re-indexing with new prime
855         and cleaning up tombstones.
856         (g_hash_table_maybe_resize): Table may hold 8 buckets minimum, no less
857         than 1/4 load excluding tombstones, and no more than 15/16 load
858         including tombstones. These numbers are the results of a lot of
859         benchmarking with multiple complex applications, and should not be
860         changed lightly.
861         (g_hash_table_iter_next)
862         (g_hash_table_lookup)
863         (g_hash_table_lookup_extended)
864         (g_hash_table_insert_internal)
865         (g_hash_table_remove_internal)
866         (g_hash_table_foreach_remove_or_steal)
867         (g_hash_table_foreach)
868         (g_hash_table_find)
869         (g_hash_table_get_keys)
870         (g_hash_table_get_values): Use new data structure and algorithm,
871         fairly trivial changes.
872
873 2008-09-19  Tor Lillqvist  <tml@novell.com>
874
875         * glib-zip.in: Look for man pages in share/man.
876
877         * glib/gutils.c (_glib_get_dll_directory)
878         * glib/gspawn-win32.c (do_spawn_with_pipes): Be a bit less
879         restrictive, look for the helper programs in the same folder where
880         the GLib DLL is, not necessarily in a "bin" subfolder of the top
881         GLib installation folder.
882
883 2008-09-18  Matthias Clasen <mclasen@redhat.com>
884
885         * configure.in: Bump version to 2.19.0
886
887         * ChangeLog.pre-2-18: rotate ChangeLog
888         
889         * === branch for 2.18 ===