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