Bug 553857 – gbacktrace.h requires signal.h
[platform/upstream/glib.git] / ChangeLog
1 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
2
3         Bug 553857 – gbacktrace.h requires signal.h
4
5         * glib/gbacktrace.h: Include signal.h for raise(). 
6         Pointed out by Sebastien Bacher
7
8 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
9
10         Bug 553724 – python interpretter path not patched in correctly
11
12         * glib/Makefile.am: Fix the sed magic to replace python.
13
14 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
15
16         * glib/gmain.c: Add some more docs.
17
18         * glib/giochannel.c: Move more docs inline, and improve them
19         on the way.
20
21 2008-09-25  Tor Lillqvist  <tml@novell.com>
22
23         Bug 553820 - gpoll.c: undeclared identifier
24
25         * glib/gmain.c
26         * glib/gpoll.c: Make the g_poll() function non-static also on
27         Windows. Prefix an underscore to the g_main_poll_debug variable
28         and make it non-static in gmain.c so that it can be used in
29         gpoll.c. Add back missing variable declaration.
30
31 2008-09-25  Tor Lillqvist  <tml@novell.com>
32
33         * glib/gspawn-win32.c (do_spawn_with_pipes) (do_spawn_directly):
34         Just ignore the child_setup function, never call it. The is no
35         situation in which it could be useful on Windows. Do print a
36         warning, like before.
37
38         * glib/gspawn.c (g_spawn_async_with_pipes): Corresponding change
39         in documentation.
40
41 2008-09-24  Sven Herzberg  <sven@imendio.com>
42
43         Be a little more explcit in the docs. Includes Owen's requested
44         changes.
45
46         * glib/gmain.c: improved documentation for g_source_attach() and
47         g_source_destroy()
48
49 2008-09-23  Michael Natterer  <mitch@imendio.com>
50
51         * glib/glib.h: #include <glib/gpoll.h>
52
53         * glib/gpoll.h: #error out if gpoll.h is included directly.
54
55         * glib/gpoll.c: remove trailing whitespace.
56
57 2008-09-23  Dan Winship  <danw@gnome.org>
58
59         * glib/gpoll.[ch] (g_poll): Move this out of gmain.c and make it part
60         of the public API. (Part of Bug 505361 - gunixinputstream.c assumes
61         poll() available.)
62
63 2008-09-23  Tor Lillqvist  <tml@novell.com>
64
65         * glib/gmain.c (poll_rest) [Win32]: Fix embarrassing bug: I was
66         passing an incorrect third parameter to memmove(), had forgotten
67         to multiply by the size of the table entry. Just use a for loop
68         instead, clearer. Odd I didn't notice when testing this code.
69
70 2008-09-19  Hans Petter Jansson  <hpj@novell.com>
71
72         Rewrite most of GHashTable to use open addressing with quadratic
73         probing instead of chaining. This has the potential to reduce memory
74         fragmentation significantly, while being slightly faster due to
75         better locality and no need to call alloc/free functions for nodes.
76         Benchmarks suggest it also uses less memory overall.
77
78         * glib/ghash.c (prime_mod): Table of suitable primes for
79         initial-probe distribution.
80         (g_hash_table_set_shift): New function.
81         (g_hash_table_find_closest_shift): New function.
82         (g_hash_table_set_shift_from_size): New function.
83         (g_hash_table_lookup_node_for_insertion): New function.
84         (g_hash_table_lookup_node): Rewritten to return node index instead of
85         pointer, use quadratic probe on flat table, and not return insertion
86         data. The latter saves some computation for read-only lookups.
87         (g_hash_table_remove_node): Rewrite to take a pointer directly to the
88         node structure to remove, and clear that. Remove unlinking code.
89         (g_hash_table_remove_all_nodes): Rewrite to not clear nodes
90         individually, but en masse using memset () after potentially calling
91         notify functions.
92         (iter_remove_or_steal): Use new data structure and algorithm. Vastly
93         simplified - now just a call to g_hash_table_remove_node ().
94         (g_hash_table_resize): New resize code, re-indexing with new prime
95         and cleaning up tombstones.
96         (g_hash_table_maybe_resize): Table may hold 8 buckets minimum, no less
97         than 1/4 load excluding tombstones, and no more than 15/16 load
98         including tombstones. These numbers are the results of a lot of
99         benchmarking with multiple complex applications, and should not be
100         changed lightly.
101         (g_hash_table_iter_next)
102         (g_hash_table_lookup)
103         (g_hash_table_lookup_extended)
104         (g_hash_table_insert_internal)
105         (g_hash_table_remove_internal)
106         (g_hash_table_foreach_remove_or_steal)
107         (g_hash_table_foreach)
108         (g_hash_table_find)
109         (g_hash_table_get_keys)
110         (g_hash_table_get_values): Use new data structure and algorithm,
111         fairly trivial changes.
112
113 2008-09-19  Tor Lillqvist  <tml@novell.com>
114
115         * glib-zip.in: Look for man pages in share/man.
116
117         * glib/gutils.c (_glib_get_dll_directory)
118         * glib/gspawn-win32.c (do_spawn_with_pipes): Be a bit less
119         restrictive, look for the helper programs in the same folder where
120         the GLib DLL is, not necessarily in a "bin" subfolder of the top
121         GLib installation folder.
122
123 2008-09-18  Matthias Clasen <mclasen@redhat.com>
124
125         * configure.in: Bump version to 2.19.0
126
127         * ChangeLog.pre-2-18: rotate ChangeLog
128         
129         * === branch for 2.18 ===