]> Pileus Git - ~andy/gtk/blob - ChangeLog
A proper build of GNU libintl is supposed to export the variable
[~andy/gtk] / ChangeLog
1 2007-11-28  Tor Lillqvist  <tml@novell.com>
2
3         A proper build of GNU libintl is supposed to export the variable
4         _nl_msg_cat_cntr. configure looks for that variable in order to
5         recognize GNU gettext. If it sees that it is indeed GNU gettext
6         that is used, it decides to install message catalogs in
7         share/locale, otherwise in lib/locale. Until now on Windows I have
8         built GTK+ against a build of GNU gettext that did not export
9         _nl_msg_cat_cntr. But this will change, so we can't assume message
10         catalogs are always in lib/locale.
11
12         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
13         GTK_LOCALEDIR being either in "lib" or "share". Move the function
14         before the inclusion of gtkprivate.h so that it sees the original
15         GTK_LOCALEDIR.
16
17         * gtk-zip.sh.in: Check whether the message catalogs are in
18         share/locale or lib/locale.
19
20 2007-11-28  Tor Lillqvist  <tml@novell.com>
21
22         * gtk/Makefile.am: Improve portability. The -o option is present
23         only in newish GNU egreps. Use one more sed in the pipeline
24         instead.
25
26 2007-11-28  Tor Lillqvist  <tml@novell.com>
27
28         Fix #375893, patch by Ben Hague:
29
30         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
31         around GetLogicalDrives() that takes also the viewable drive
32         restrictions in the Registry (which are usually the result of an
33         Active Directory Group Policy) into account.
34
35         (check_volumes, gtk_file_system_win32_list_volumes) Call
36         get_viewable_logical_drives() instead of GetLogicalDrives().
37
38 2007-11-27  Matthias Clasen <mclasen@redhat.com>
39
40         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
41         variables to silence valgrind.  (#495124, Morten Welinder)
42
43 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
44
45         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
46         that the construct_child function is responsible for returning a
47         reference.
48         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
49         objects from constructors
50         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
51         g_object_ref() to this construction function (it's the only
52         implementer in GTK)
53
54         Fixes #496645.
55
56 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
57
58         * gtkbuilder.c: remove concept of root objects and just refcount
59         all objects in the builder.  Fixes #496651.
60
61 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
62
63         * tests/buildertest.c (test_window): fix invalid free
64
65 2007-11-26  Josselin Mouette <joss@malsain.org>
66
67         reviewed by: Federico Mena Quintero
68
69         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
70         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
71         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
72         Make the shortcuts activate with a single click. (#148828)
73         Fix a few things affected by the change:
74           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
75             where no shortcut is selected.
76           - Don't activate a shortcut in the response callback.
77           - Filter out duplicate entries in volumes and bookmarks to 
78             avoid the selection to change when reordering them with DnD.
79
80 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
81
82         * gtk/gtkmain.c:
83         * gtk/gtknotebook.c:
84         * gtk/gtkplugprivate.h:
85         * gtk/gtksocket.c:
86         * gtk/gtksocketprivate.h:
87         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
88
89 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
90
91         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
92         (#495574, Richard Hult)
93
94 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
95
96         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
97         String change !   (#376361, Sven Neumann)
98
99 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
100
101         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
102         destroy.
103         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
104         Welinder)
105
106 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
107
108         * gtk/gtkassistant.c: Improve alternative button
109         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
110
111 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
112
113         * gtk/gtkcalendar.c: Fix a theming problem with colors
114         in GtkCalendar.  (#499703, Michael Hofmann)
115
116 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
117
118         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
119
120 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
121
122         Use templates for glib-mkenums calls instead of 
123         complicated commandlines in Makefiles.  (#429910)
124
125         * gdk-pixbuf/Makefile.am:
126         * gdk/Makefile.am: 
127         * gtk/Makefile.am: 
128         * perf/Makefile.am: Use templates for glib-mkenums
129
130         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
131         * gdk/gdkenumtypes.[ch].template: 
132         * gtk/gtktypebuiltings.[ch].template: 
133         * perf/typebuiltins.[ch].template: The templates
134
135 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
136
137         * gtk/gtkfilechooserbutton.c:
138         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
139         some compilers choke on that.  (#467722)
140
141 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
142
143         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
144         about hook setup.  (#425004, Emmanuele Bassi)
145
146 2007-11-26  Tor Lillqvist  <tml@novell.com>
147
148         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
149         monitor the window currently is on, not always the primary
150         monitor. (#463865, Tim Evans)
151
152 2007-11-26  Tor Lillqvist  <tml@novell.com>
153
154         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
155
156         * gdk/win32/Makefile.am: Add it.
157
158 2007-11-26  Tor Lillqvist  <tml@novell.com>
159
160         * configure.in: Don't add jasper to all_loaders if no libjasper.
161
162 2007-11-25  Bastien Nocera  <hadess@hadess.net>
163
164         * configure.in: Add detection for libjasper, used by the
165         gdk-pixbuf JPEG2000 loader
166
167 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
168
169         * configure.in: Require gtk-doc 1.8
170
171         * */*.c: Use gtk-doc abbreviations for examples in docs.
172
173 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
174
175         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
176         typo.  (#498922)
177
178 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
179
180         * gtk/gtkdialog.c: Move signal and property documentation inline,
181         fix a problem with the ::response signal docs.  (#499133, Josselin
182         Mouette)
183
184 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
185
186         * Makefile.decl: initialize automake variables EXTRA_DIST and
187         TEST_PROGS for unconditional appending via += in other makefiles.
188         define recursive test targets: test, test-report, perf-report,
189         full-report, as described here:
190       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
191         the test targets will execute Gtk+ test programs within an Xvfb session.
192
193         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
194
195         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
196         g_test_run() to run the tests to integrate with the testing framework.
197
198         * gtk/tests/Makefile.am: removed exemplary testing rules.
199
200         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
201         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
202         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
203         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
204         * docs/reference/Makefile.am, docs/tools/Makefile.am:
205         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
206         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
207         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
208         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
209         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
210         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
211         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
212         * modules/engines/ms-windows/Theme/Makefile.am:
213         * modules/engines/ms-windows/Makefile.am:
214         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
215         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
216         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
217         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
218         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
219         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
220         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
221
222 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
223
224         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
225         (#485662, patch by Herbert Valerio Riedel)
226
227 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
228
229         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
230
231 2007-11-21  Richard Hult  <richard@imendio.com>
232
233         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
234         stubs for the testing functions to fix the build.
235
236 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
237
238         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
239         (#467711, The Written Word)
240
241 2007-11-21  Ross Burton  <ross@openedhand.com>
242
243         * gdk/x11/gdksettings.c:
244         Add xsetting for gtk-scrolled-window-placement (#458103).
245
246 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
247
248         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
249         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
250         (#469239, Michael Natterer)
251
252 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
253
254         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
255         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
256         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
257         (#436536, Tommi Komulainen)
258
259 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
260
261         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
262         property.  (#489782, Jan Janech)
263
264 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
265
266         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
267         frames.  (#107398, Owen Taylor, Miguel Gomez)
268
269 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
270
271         Moved Gdk test functions from Gtk+ to Gdk test utils.
272
273         * gdk/Makefile.am: added gdktestutils.h to public includes.
274
275         * gdk/gdk.h: added gdktestutils.h to public includes.
276
277         * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
278         gdk_test_render_sync.
279
280         * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
281         gdk_test_simulate_key, gdk_test_render_sync.
282
283         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
284
285         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
286         gdk_test_simulate_key, gdk_test_render_sync.
287
288         * gtk/gtktestutils.c:
289         * gtk/gtktestutils.h:
290         * gtk/gtk.symbols: removed gtk_test_simulate_button
291         gtk_test_simulate_key, gtk_test_xserver_render_sync.
292
293         * gtk/tests/testing.c: call gdk_test_render_sync.
294
295 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
296
297         Added unit tests for Gtk+ testing utilities.
298
299         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
300         utility functions. some g_test_* related portions are disabled and need
301         to be enabled once Gtk+ depends on a new glib with the GLib testing
302         framework integrated.
303
304         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
305         added exemplary test rules to run tests inside Xvfb. this needs to depend
306         on gtester for full fledged testing.
307
308         * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
309         collecting _get_type functions to catch e.g. gtk_text_get_type().
310
311         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
312
313 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
314
315         Added Gtk+ testing utilities.
316
317         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
318         for the most part, the functions herein involve navigating and interacting
319         with dialog elements programatically, to automate user interaction tests of
320         dialogs and widgets.
321
322         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
323
324         * gtk/gtk.symbols: added gtk_test_* symbols.
325
326         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
327         generate gtktypefuncs.c which contains a list of all _get_type functions in
328         Gtk+ and Gdk.
329 2007-11-20  Bastien Nocera  <hadess@hadess.net>
330
331         * configure.in: add support for conditional icns gdk-pixbuf loader
332         (Closes: #395738)
333
334 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
335
336         * configure.in: updated version number to 2.15.0 for development.
337
338 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
339
340         === Branch for 2.12 ===
341