]> Pileus Git - ~andy/gtk/blob - ChangeLog
Two optimizations for icon cache lookups.
[~andy/gtk] / ChangeLog
1 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
2
3         Two optimizations for icon cache lookups.
4
5         * gtk/gtkiconcache.[hc]:
6         * gtk/gtkicontheme.c: Remember the directory index for
7         subdirectories, instead of running over the directory list
8         again and again.
9
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
13         of subdirectories.
14
15 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
16
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.
20
21 2007-12-1  Cody Russell  <bratsche@gnome.org>
22
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)
30
31 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
32
33         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
34
35 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
36
37         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
38         debug spew.
39
40 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
41
42         * gtk/Makefile.am: Fix ordering of subdirs.
43
44 2007-11-28  Tor Lillqvist  <tml@novell.com>
45
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.
54
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
58         GTK_LOCALEDIR.
59
60         * gtk-zip.sh.in: Check whether the message catalogs are in
61         share/locale or lib/locale.
62
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.
65
66 2007-11-28  Tor Lillqvist  <tml@novell.com>
67
68         * gtk/Makefile.am: Improve portability. The -o option is present
69         only in newish GNU egreps. Use one more sed in the pipeline
70         instead.
71
72 2007-11-28  Tor Lillqvist  <tml@novell.com>
73
74         Fix #375893, patch by Ben Hague:
75
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.
80
81         (check_volumes, gtk_file_system_win32_list_volumes) Call
82         get_viewable_logical_drives() instead of GetLogicalDrives().
83
84 2007-11-27  Matthias Clasen <mclasen@redhat.com>
85
86         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
87         variables to silence valgrind.  (#495124, Morten Welinder)
88
89 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
90
91         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
92         that the construct_child function is responsible for returning a
93         reference.
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
98         implementer in GTK)
99
100         Fixes #496645.
101
102 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
103
104         * gtkbuilder.c: remove concept of root objects and just refcount
105         all objects in the builder.  Fixes #496651.
106
107 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
108
109         * tests/buildertest.c (test_window): fix invalid free
110
111 2007-11-26  Josselin Mouette <joss@malsain.org>
112
113         reviewed by: Federico Mena Quintero
114
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.
125
126 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
127
128         * gtk/gtkmain.c:
129         * gtk/gtknotebook.c:
130         * gtk/gtkplugprivate.h:
131         * gtk/gtksocket.c:
132         * gtk/gtksocketprivate.h:
133         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
134
135 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
136
137         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
138         (#495574, Richard Hult)
139
140 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
141
142         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
143         String change !   (#376361, Sven Neumann)
144
145 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
146
147         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
148         destroy.
149         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
150         Welinder)
151
152 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
153
154         * gtk/gtkassistant.c: Improve alternative button
155         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
156
157 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
158
159         * gtk/gtkcalendar.c: Fix a theming problem with colors
160         in GtkCalendar.  (#499703, Michael Hofmann)
161
162 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
163
164         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
165
166 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
167
168         Use templates for glib-mkenums calls instead of 
169         complicated commandlines in Makefiles.  (#429910)
170
171         * gdk-pixbuf/Makefile.am:
172         * gdk/Makefile.am: 
173         * gtk/Makefile.am: 
174         * perf/Makefile.am: Use templates for glib-mkenums
175
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
180
181 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
182
183         * gtk/gtkfilechooserbutton.c:
184         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
185         some compilers choke on that.  (#467722)
186
187 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
188
189         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
190         about hook setup.  (#425004, Emmanuele Bassi)
191
192 2007-11-26  Tor Lillqvist  <tml@novell.com>
193
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)
197
198 2007-11-26  Tor Lillqvist  <tml@novell.com>
199
200         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
201
202         * gdk/win32/Makefile.am: Add it.
203
204 2007-11-26  Tor Lillqvist  <tml@novell.com>
205
206         * configure.in: Don't add jasper to all_loaders if no libjasper.
207
208 2007-11-25  Bastien Nocera  <hadess@hadess.net>
209
210         * configure.in: Add detection for libjasper, used by the
211         gdk-pixbuf JPEG2000 loader
212
213 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
214
215         * configure.in: Require gtk-doc 1.8
216
217         * */*.c: Use gtk-doc abbreviations for examples in docs.
218
219 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
220
221         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
222         typo.  (#498922)
223
224 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
225
226         * gtk/gtkdialog.c: Move signal and property documentation inline,
227         fix a problem with the ::response signal docs.  (#499133, Josselin
228         Mouette)
229
230 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
231
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.
238
239         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
240
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.
243
244         * gtk/tests/Makefile.am: removed exemplary testing rules.
245
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.
267
268 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
269
270         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
271         (#485662, patch by Herbert Valerio Riedel)
272
273 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
274
275         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
276
277 2007-11-21  Richard Hult  <richard@imendio.com>
278
279         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
280         stubs for the testing functions to fix the build.
281
282 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
283
284         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
285         (#467711, The Written Word)
286
287 2007-11-21  Ross Burton  <ross@openedhand.com>
288
289         * gdk/x11/gdksettings.c:
290         Add xsetting for gtk-scrolled-window-placement (#458103).
291
292 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
293
294         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
295         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
296         (#469239, Michael Natterer)
297
298 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
299
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)
304
305 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
306
307         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
308         property.  (#489782, Jan Janech)
309
310 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
311
312         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
313         frames.  (#107398, Owen Taylor, Miguel Gomez)
314
315 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
316
317         Moved Gdk test functions from Gtk+ to Gdk test utils.
318
319         * gdk/Makefile.am: added gdktestutils.h to public includes.
320
321         * gdk/gdk.h: added gdktestutils.h to public includes.
322
323         * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
324         gdk_test_render_sync.
325
326         * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
327         gdk_test_simulate_key, gdk_test_render_sync.
328
329         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
330
331         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
332         gdk_test_simulate_key, gdk_test_render_sync.
333
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.
338
339         * gtk/tests/testing.c: call gdk_test_render_sync.
340
341 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
342
343         Added unit tests for Gtk+ testing utilities.
344
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.
349
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.
353
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().
356
357         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
358
359 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
360
361         Added Gtk+ testing utilities.
362
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
366         dialogs and widgets.
367
368         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
369
370         * gtk/gtk.symbols: added gtk_test_* symbols.
371
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
374         Gtk+ and Gdk.
375 2007-11-20  Bastien Nocera  <hadess@hadess.net>
376
377         * configure.in: add support for conditional icns gdk-pixbuf loader
378         (Closes: #395738)
379
380 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
381
382         * configure.in: updated version number to 2.15.0 for development.
383
384 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
385
386         === Branch for 2.12 ===
387