Add Unicode script support
[platform/upstream/glib.git] / ChangeLog
1 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
2
3         Add a way to obtain Unicode script information.  (#348348,
4         Marco Barisione)
5
6         * glib/glib.symbols:
7         * glib/gunicode.h: Add GUnicodeScript enumeration and
8         g_unichar_get_script. 
9         
10         * glib/guniprop.c: Implement g_unichar_get_script.
11
12         * glib/gscripttable.h: Generated private header containing
13         script tables.
14
15         * glib/gen-script-table.pl: Script to generate gscripttable.h.
16
17         * glib/Makefile.am: Update
18
19 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
20
21         * tests/run-markup-tests.sh: Small portability fix.  (#347944,
22         Dan McMahill)
23
24 2006-10-07  Tor Lillqvist  <tml@novell.com>
25
26         * glib/gwin32.c (get_package_directory_from_module)
27         (g_win32_get_package_installation_directory): g_strdup the keys
28         that we are passed before adding them to the hash tables, to guard
29         against the caller freeing them. (#355955, Andreas Köhler)
30
31 2006-10-06  Matthias Clasen  <mclasen@redhat.com> 
32
33         * glib/gtimer.c: Fix a typo.  (#359190)
34
35 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
36
37         * glib/Makefile.am:
38         * gobject/Makefile.am:
39         Include pltcheck.sh in EXTRA_DIST, and remove redefinition of TESTS.
40         (#358966)
41
42 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
43
44         * glib/gtimer.c (g_usleep): Use nsleep to implement
45         g_usleep on AIX.  (#321974, Andrew Paprocki)
46
47         * configure.in: Check for nsleep
48
49         * glib/gmain.c: Fix typos in doc comments.  
50         (#358421, Tom Tromey)
51
52 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
53
54         * glib/pltcheck.sh: A script to check PLT entries.
55         * glib/Makefile.am (TESTS): Run pltcheck.sh
56
57         * glib/*: Fix includes to correct some issues with
58         PLT entries.  (#354522, Behdad Esfahbod)
59
60 2006-09-17  Hans Breuer  <hans@breuer.org>
61
62         * glib/makefile.msc.in gobject/makefile.msc.in : better filtering
63         of G_GNUC_* stuff when generating .def files. Now also works with
64         newer (less tolerant) linkers, e.g. from vc2500e
65
66 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
67
68         * glib/gbacktrace.c: Assume string.h is available. 
69         (#354523, Behdad Esfahbod)
70
71         * configure.in: Bump version to 2.13.0
72
73         * glib/glib.symbols:
74         * glib/gmain.[hc]: Add functions to create approximate
75         timeouts.  (#353942, Arjan van de Ven)
76
77         * glib/gstdio.c (g_rename): Initialize save_errno.
78         (#355206, Mike Edenfield)
79
80 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
81
82         * glib/gerror.c: Allocate GErrors using the slice allocator.
83         (#354054, Matt Barnes)
84
85 2006-09-02  Matthias Clasen  <mclasen@redhat.com>
86
87         * glib/gtimer.c: Forgotten HAVE_CLOCK_GETTIME.
88
89 2006-09-02  Tor Lillqvist  <tml@novell.com>
90
91         * glib/gutils.c (g_get_any_init_do): Correct C99ism (mixed
92         declarations and code) in Win32 ifdef branch. (#353903, Mike
93         Edenfield)
94
95 2006-09-01  Abel Cheung  <abel@oaka.org>
96
97         * configure.in: Added 'dz' 'hy' to ALL_LINGUAS.
98
99 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
100
101         * configure.in: Check for CLOCK_MONOTONIC.
102
103         * glib/gtimer.c: Only use clock_gettime if we
104         have a monotonic clock.
105
106 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
107
108         * configure.in: Add missing includes to a few test
109         programs.  (#353580, Chris Wilson)
110
111 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
112
113         * glib/gmarkup.c (g_markup_vprintf_escaped): Don't call
114         va_end on caller-provided va_args.  (#353584, Chris Wilson)
115
116 2006-08-29  Tor Lillqvist  <tml@novell.com>
117
118         Remove support for Windows 9x/ME, as will be done also in Pango
119         and GTK+. GTK+ hasn't worked on Win9x since 2.6 or 2.8 anyway, so
120         it's pretty pointless to keep the Win9x code in here either. If
121         somebody is interested, the code can always be found in older GLib
122         versions, and in CVS.
123
124         * glib/gdir.c
125         * glib/gfileutils.c
126         * glib/gspawn-win32-helper.c
127         * glib/gspawn-win32.c
128         * glib/gstdio.c
129         * glib/gutils.c
130         * glib/gwin32.c
131         * glib/gwin32.h: Remove the G_WIN32_IS_NT_BASED() and
132         G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
133         branches, and any variables or static functions used only by the
134         Win9x branches.
135
136         * glib/gwin32.c (g_win32_windows_version_init): Call g_error() if
137         run on Win9x.
138
139 2006-08-27  Matthias Clasen  <mclasen@redhat.com>
140
141         * configure.in: Fix pthread compiler flag detection.
142
143         * glib/gtimer.c: Use Posix monotonic clocks instead of 
144         gettimeofday when available.  (#336114, William Jon McCann)
145
146 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
147
148         * glib/gutils.h: 
149         * glib/gscanner.c: Fix some typos.  (#351741, Kjartan Maraas)
150
151 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
152
153         * configure.in: Fix the pthread compiler flag detection.
154
155         * glib/gunicode.h: 
156         * glib/gutf8.c (_g_utf8_make_valid): Rename make_valid_utf8
157         from gconvert.c, move it to gutf8.c, and export it privately.
158
159         * glib/gconvert.c (g_filename_display_name): Adjust callers.
160
161         * glib/gkeyfile.c: Use _g_utf8_make_valid() in a number of
162         places to ensure error messages are valid UTF-8.  (#351853,
163         Simon Budig)
164
165 2006-08-22  Matthias Clasen <mclasen@redhat.com>
166
167         * Branch for 2.12
168