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