]> Pileus Git - ~andy/gtk/blob - ChangeLog
8ee0c5c110835d8366ee8e6ab8f908dcee311bfb
[~andy/gtk] / ChangeLog
1 2008-03-20  Tor Lillqvist  <tml@novell.com>
2
3         Bug 314084 - GTK+ dialogs should not be placed partially offscreen
4
5         * gtk/gtkwindow.c (clamp): New function. Clamps a window position
6         in one dimension, or centered in case it doesn't fit.
7         (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
8         dimensions.
9
10 2008-03-18  Tor Lillqvist  <tml@novell.com>
11
12         Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
13         
14         * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
15         G_MODULE_ENTRY decoration can be put in a more correct place.
16
17 2008-03-18  Sven Neumann  <sven@gimp.org>
18
19         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
20         alternative button order on the password dialog.
21
22 2008-03-18  Tor Lillqvist  <tml@novell.com>
23
24         Bug 99192 - Add --with-include-input-modules
25
26         * configure.in: Add --with-included-immodules switch. Handled in a
27         similar way as the --with-included-loaders switch. For each input
28         method module foo: Collect the list of input modules to be built
29         into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
30         -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
31         Define Automake conditionals INCLUDE_IM_FOO.
32
33         * modules/input/Makefile.am: For modules to be included in libgtk,
34         build a static library.
35         
36         * modules/input/im*.c: Use MODULE_ENTRY macros much like in
37         gdk-pixbuf to get unique names for the functions called by libgtk
38         in the included case. Use G_MODULE_EXPORT in the non-included case
39         so that we don't unnecessarily export unneeded random global
40         symbols on Windows.
41
42         * gtk/Makefile.am: Build the included modules and link them into libgtk.
43
44         * gtk/gtkimmodule.c: Handle the built-in modules. Remove
45         copy/paste leftover mentions of "themes" in comments.
46
47 2008-03-18  Tor Lillqvist  <tml@novell.com>
48
49         * tests/Makefile.am: Build testmountoperation only on Unix for now.
50
51 2008-03-17  Christian Kellner  <gicmo@gnome.org>
52
53         Implement GtkMountOperation, a subclass of GMountOperation
54         to be used with gio wherever there is the need to ask the
55         user for credentials or questions while mounting a volume.
56         This is bug #522245
57
58         * gtk/gtkmountoperation.c:
59         * gtk/gtkmountoperation.h:
60         Implement GtkMountOperation.
61         
62         * gtk/gtk.h: Add gtkmountoperation.h
63         * gtk/Makefile.am: Add gtkmountoperation.[hc]
64         * gtk/gtk.symbols: Add symbols of GtkMountOperation.
65         * tests/testmountoperation.c: Test program for it.
66         * tests/Makefile.am: Add testmountoperation.
67
68 2008-03-17  Emmanuele Bassi  <ebassi@gnome.org>
69
70         * gtk/gtkcontainer.c: Properly document
71         gtk_container_set_focus_child(). (#521739, Andrew Cowie)
72
73 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
74
75         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
76         style names for the ComboBox thickness style
77
78 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
79
80         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
81         * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
82         (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
83         intelligent separation for the xp theming engine and the classic
84         theme while drawing the GtkComboBox button.  combobox_draw_arrow
85         is not used anymore, commented.  The style has been updated to fix
86         border/thickness glitches in the combobox according to the fixes
87         commited regarding bug #521442. (bug #461805)
88
89 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
90
91         * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
92         now aware of both the combobox and frame (if has-frame is set)
93         thickness and border. (bug #521442)
94
95 2008-03-15  Andre Klapper  <a9016009@gmx.de>
96
97         * configure.in: Added "si" to ALL_LINGUAS.
98
99 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
100
101         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
102         Set window type hint on the search popup.  (#522279, Danny Baumann)
103
104 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
105
106         * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
107         appropriate.  (#521934, Huang Peng)
108
109 2008-03-14  Michael Natterer  <mitch@imendio.com>
110
111         * gdk/gdkspawn.h
112         * gtk/gtkbuilderprivate.h
113         * gtk/gtkfilechoosersettings.c
114         * gtk/gtksearchenginesimple.c
115         * gtk/tests/liststore.c
116         * gtk/tests/treestore.c: remove single-file includes of GLib
117         headers or replace them by <glib.h> where needed.
118
119 2008-03-14  Michael Natterer  <mitch@imendio.com>
120
121         * gtk/gtkadjustment.c: coding style cleanup.
122
123         (gtk_adjustment_set_property): no need to call g_object_notify()
124         on the set properties.
125
126         Implement GObject::dispatch_properties_changed() and make sure we
127         emit "changed" when anything but the "value" property changes.
128
129 2008-03-14  Tor Lillqvist  <tml@novell.com>
130
131         * gdk/win32/gdkevents-win32.c: Drop the support for the
132         MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
133         Win95. Thanks to mitch for noticing this obsolete code.
134
135 2008-03-14  Cody Russell  <bratsche@gnome.org>
136
137         * examples/scribble-xinput/scribble-xinput.c: Changed
138         'void int main()' to 'int main()'. (#522211, Liqing Huang)
139         
140 2008-03-14  Richard Hult  <richard@imendio.com>
141
142         * gdk/quartz/gdkwindow-quartz.c:
143         (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
144         only flush the toplevel once per update.
145
146 2008-03-13  Federico Mena Quintero  <federico@novell.com>
147
148         * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
149         Set the mouse cursor of the feedback window to invisible, so that
150         we respect GtkEntry's invisible cursor while typing.
151
152 2008-03-13  Federico Mena Quintero  <federico@novell.com>
153
154         * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
155         the feedback window at entry_height/2 pixels to the right of the
156         cursor, for a cheap "M-width / 2" spacing.
157
158 2008-03-13  Sven Neumann  <sven@gimp.org>
159
160         * gtk/gtkfilechooserdefault.c
161         * gtk/gtkprintunixdialog.c: set alternative button order for
162         overwrite confirmation dialogs (bug #522191).
163
164 2008-03-13  Sven Neumann  <sven@gimp.org>
165
166         * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
167         (overwrite_confirmation_dialog): added some line-breaks for
168         readability.
169
170 2008-03-12  Federico Mena Quintero  <federico@novell.com>
171
172         Rework the way completion works in GtkFileChooserEntry.  Fixes
173         http://bugzilla.gnome.org/attachment.cgi?bugid=314873 - 
174         Tab completion should work even if the cursor is not at the end of
175         the entry.
176
177         * gtk/gtkfilechooserentry.c: Change the strategy by which we do
178         completion.
179
180         We distinguish between two cases:
181
182                 - autocompletion - happens only in the Open modes by
183                   inserting and selecting the common prefix as you type.
184
185                 - explicit completion - happens when you hit Tab.
186
187         When some type of completion needs to happen, the entry first
188         parses its input and sees if it needs to initiate a folder load.
189         Completion will not happen until the folder finishes loading.
190
191         If the folder is already completely loaded, then completion is
192         performed immediately.  Otherwise, the entry queues a pending
193         completion and starts loading the new folder (or waits until the
194         current folder is completely loaded).
195
196         Tab completion is allowed to happen even if the cursor is not at
197         the end of the entry.
198
199         There is a new feedback mechanism for explicit completion, so that
200         you will get an Emacs-like tip whenever there are ambiguities in
201         completion, no matches, etc.  (This needs to be polished so that
202         we support RTL entries and all the fancy Pango layout in GtkEntry).
203
204         The only remaining thing to fix is the popup suggestion window.
205         Unfortunately, GtkEntryCompletion does not let us do what we want,
206         and will need further changes.
207
208 2008-03-12  Tor Lillqvist  <tml@novell.com>
209
210         Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
211
212         * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
213         for the TaskbarCreated message in the window procedure for the
214         dummy "tray observer" window we create. When we get a
215         TaskbarCreated message, iterate over the status icons and re-add
216         them to the task bar, and update them by calling
217         gtk_status_icon_update_image().
218
219         Move some ifdefs around to avoid unused functions.
220
221 2008-03-12  Tor Lillqvist  <tml@novell.com>
222
223         * config.h.win32.in: Update to match what configure produces.
224
225 2008-03-12  Jens Granseuer  <jensgr@gmx.net>
226
227         * modules/printbackends/cups/gtkprintbackendcups.c:
228         (cups_printer_prepare_for_print): Don't define variables in the
229         middle of a block. (#522067)
230
231 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
232
233         * gtk/gtkprintunixdialog.c: Add an overwrite confirmation 
234         dialog for print-to-file.  (#474302, Marek Kašík)
235
236 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
237
238         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
239         (#469210, Wouter Bolsterlee)
240
241 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
242
243         * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak 
244         paper_size here.  (#488820, Morten Welinder)
245
246 2008-03-12  Michael Natterer  <mitch@imendio.com>
247
248         * acconfig.h: remove this deprecated file.
249
250         * configure.in: added comments to all instances of AC_DEFINE() so
251         config.h can be completely generated from configure.in.
252
253 2008-03-12  Michael Natterer  <mitch@imendio.com>
254
255         * modules/printbackends/cups/gtkprintbackendcups.c: include
256         <glib/gstdio.h> for g_fopen().
257
258 2008-03-11  Matthias Clasen  <mclasen@redhat.com>
259
260         * modules/printbackends/cups/gtkprintbackendcups.c: Use
261         g_ascii_formatd when formatting custom paper sizes, since
262         cups doesn't handle , as decimal separator.  (#521548)
263
264 2008-03-11  Tor Lillqvist  <tml@novell.com>
265
266         Bug 469868 - Filenames with colon ":" are not saved correctly
267
268         * gtk/gtkfilechooserentry.c (insert_text_callback)
269         (delete_text_callback) [Win32]: New functions to make sure that
270         colons used otherwise than as a separator after a drive letter, or
271         characters that are always illegal in file names, are rejected on
272         input. This means that the GTK+ file chooser can't be used to
273         input full names of alternate data streams, but oh well. There are
274         still more checks that could be done on the file names, see the
275         bug report. But this will do for now.
276         (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
277
278 2008-03-11  Jordi Mallach  <jordi@sindominio.net>
279
280         * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
281
282 2008-03-11  Michael Natterer  <mitch@imendio.com>
283
284         * gdk/linux-fb/*: removed linux-fb backend files.
285
286         * acconfig.h
287         * config.h.win32.in
288         * docs/README.linux-fb
289         * gtk/Makefile.am: remove remaining traces of linux-fb.
290
291         * gtk/gtkwindow-decorate.c: same here. There is some code that
292         calls into linux-fb to set window move/resize callbacks. I put it
293         in #if 0 as a reminder because we did use decorated windows with
294         the DirectFB backend and it did work, so I don't really know why
295         this code is needed or how it could work with DirectFB back then.
296         The file does actually compile now if DECORATE_WINDOWS is defined,
297         but I didn't test with DirectFB to check if it does anything.
298
299 2008-03-11  Alberto Ruiz  <aruiz@gnome.org>
300
301         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
302         Take thickness into account in the size allocation of the child widgets in
303         list mode.
304         Fixes #521442
305
306 2008-03-11  Richard Hult  <richard@imendio.com>
307
308         * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
309
310 2008-03-10  Tor Lillqvist  <tml@novell.com>
311
312         * tests/teststatusicon.c (do_exit, popup_menu): Add the
313         possibility to test what happens if the process just calls exit()
314         without any orderly cleanup of GTK+.
315
316 2008-03-10  Tor Lillqvist  <tml@novell.com>
317
318         * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
319
320 2008-03-10  Tor Lillqvist  <tml@novell.com>
321
322         Bug 520286 - Non-deletable window has no minimize / maximize buttons
323
324         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
325         New debugging output function that decodes a set of WS_* bits.
326
327         * gdk/win32/gdkprivate-win32.h: Declare it.
328
329         * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
330         New function that enables or disables one menu entry in the system
331         menu of a top-level window. (The corresponding decoration will
332         then also be enabled or disabled (grayed).)
333
334         (update_style_bits): Do as the comment says and don't try to
335         update the window style based on the GdkWMFunctions set for the
336         window.
337                    
338         (update_system_menu): New function that enables or disables the
339         system menu entries based on a window's stored set of
340         GdkWMFunctions.
341
342         (gdk_window_set_functions): Call update_system_menu() instead of
343         update_style_bits().
344
345 2008-03-10  Emmanuele Bassi  <ebassi@gnome.org>
346
347         * README.in: Reword the 2.14 release notes entry about the
348         deprecation of the gtkitemfactory.h header, and fix typos
349         and grammar.
350
351 2008-03-08  Alberto Ruiz  <aruiz@gnome.org>
352
353         * modules/engines/ms-windows/msw_style.c (draw_shadow):
354         Do not draw frame if parent if combobox.
355         (draw_box):
356         Uses scrollbar width system metrics for combobox button.
357         Fixes #461805 for XP theme engine.
358
359 2008-03-07  Johan Dahlin  <johan@gnome.org>
360
361         * gtk/gtkbuilder.c:
362         * gtk/gtkbuilderparser.c:
363         * gtk/gtkbuilderprivate.h:
364         * gtk/gtkiconfactory.c:
365         * tests/buildertest.c:
366         - Treat enums like enums and not values
367         - Avoid invalid free, in case of more than two sources
368         - Add better error messages
369         - Add much improved tests
370         (#520979, Christian Persch)
371
372 2008-03-07  Carlos Garnacho  <carlos@imendio.com>
373
374         * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
375         Fix build.
376
377 2008-03-06  Federico Mena Quintero  <federico@novell.com>
378
379         Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
380         GtkFileChooserDialog should set a default response button if the
381         app doesn't set it.  Based on a patch by Chris Wang <chris.wang@sun.com>.
382
383         * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
384         function, refactor from where there was duplicated code.
385         (gtk_file_chooser_dialog_map): Look at the buttons in our
386         action_area.  If the response ID for a button is one of the stock
387         ones, make it the default response button.
388
389 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
390
391         * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
392         * gtk/gtkbuilder.c:
393         * gtk/gtkbuilderprivate.h:
394         * gtk/gtkiconfactory.c:
395         * tests/buildertest.c:
396         Implement GtkBuildable on GtkIconFactory, to make
397         it possible to register custom stock icons.
398         Fixes #517066
399
400 2008-03-06  Johan Dahlin  <johan@gnome.org>
401
402         Make gtk-doc happy:
403         
404         * gtk/gtkstyle.c: npoints->n_points.
405         * gtk/gtktestutils.h: widget->spinner
406         * gtk/gtktestutils.c: argc->argcp, argv->argvp
407
408 2008-03-06  William Lachance <wrlach@gmail.com>
409
410         * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M" 
411         string localizable (as it should be). 
412
413 2008-03-06  William Lachance <wrlach@gmail.com>
414
415         * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
416         the time for today's date. It's redudant. (see bug #410517).
417
418 2008-03-06  Xan Lopez  <xan@gnome.org>
419
420         * gtk/gtkfixed.c: fix typo in documentation.
421
422 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
423
424         * gtk/gtkitemfactory.h:
425         * gtk/gtktypeutils.h:
426         Move GtkTranslateFunc to gtktypeutils.h so we can completely
427         deprecate gtkitemfactory.h. 
428
429         * gtk/gtkactiongroup.h:
430         * gtk/gtkstock.h:
431         Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
432
433         * README.in: 
434         Add a note describing this slight incompatible change
435         
436 2008-03-06  Johan Dahlin  <johan@gnome.org>
437
438         * gtk/gtkpreview.h: Avoid double-deprecation.
439
440 2008-03-06  Michael Natterer  <mitch@imendio.com>
441
442         * gtk/gtk.h
443         * gtk/Makefile.am: move the remaining deprecated widgets to the
444         separate sections and replaced spaces by tabs in Makefile.am
445
446 2008-03-05  Johan Dahlin  <johan@gnome.org>
447
448         * configure.in: Add --disable-cups option.
449         (#513826, Alberto Ruiz)
450
451         * gtk/gtk.h: 
452         * gtk/Makefile.am:
453         Separate broken and deprecated sources and headers into different sections
454
455         * tests/buildertest.c (test_list_store): Restore accidentally broken test.
456
457 2008-03-05  Kristian Rietveld  <kris@imendio.com>
458
459         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
460         short-circuit in case an empty root level would be build (and thus
461         directly destroyed) if no virtual root has been set.
462
463 2008-03-04  Matthias Clasen  <mclasen@redhat.com>
464
465         * modules/printbackends/cups/gtkprintbackendcups.c: 
466         Honor cups user default options from ~/.cups/lpoptions
467         (#469210, Stijn Hoop)
468
469 2008-03-04  Michael Natterer  <mitch@imendio.com>
470
471         * gtk/gtkcellview.c
472         * gtk/gtkcolorbutton.c
473         * gtk/gtkentrycompletion.c
474         * gtk/gtkfontbutton.c
475         * gtk/gtkiconview.c
476         * gtk/gtkobject.c
477         * gtk/gtkpaned.c
478         * gtk/gtkpreview.c: don't include "gtksignal.h".
479
480         * gtk/gtkfilefilter.c
481         * gtk/gtkrecentchoosermenu.c
482         * gtk/gtkrecentfilter.c
483         * gtk/gtktext.c: don't include "gtkobject.h".
484
485 2008-03-04  Simos Xenitellis  <simos@gnome.org>
486
487         Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
488         - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
489         
490         * gdk/gdkkeysyms.h: Updated file from upstream (using script from 
491         same directory).
492         
493         * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New 
494         file, contains compose sequences that used to exist in 
495         gtk/gtkimcontextsimple.c
496
497         * gtk/compose-parse.py: Script to generate compose 
498         sequences from upstream (Xorg).
499
500         * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table, 
501         check_algorithmically): New functions. First two search in
502         gtk_compose_seqs_compact[] for matching compose sequence, third
503         tries NFC normalisation on incoming compose sequence.
504         (gtk_im_context_simple_filter_keypress): 
505         Adds searching with check_compact_table(), check_algorithmically().
506
507 2008-03-03  Carlos Garnacho  <carlos@imendio.com>
508
509         Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
510         scrollwheel work in GtkPathBar.
511
512         * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
513
514         * gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
515         an input-only window, event_window, which we'll use to capture
516         scroll events.
517         (gtk_path_bar_map): Show the event_window under the rest of the
518         windows, so it will be a catch-all for unhandled events.
519
520 2008-03-03  Sven Neumann  <sven@gimp.org>
521
522         * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
523         typo in the documentation of the GtkFileChooserButtons::file-set
524         signal (see bug #353196).
525
526 2008-03-03  Tor Lillqvist  <tml@novell.com>
527
528         * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
529         location.
530
531 2008-03-02  Johan Dahlin  <johan@gnome.org>
532
533         * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
534         Remove left-over focus_pad variable.
535         (#490892, Claudio Saavedra)
536
537         * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
538         (#518166, Matt Kraai)
539
540 2008-03-02  Johan Dahlin  <johan@gnome.org>
541
542         * docs/tutorial/gtk-tut.sgml: Add a missing space
543         (#517954, Matt Kraai)
544
545 2008-03-03  Tor Lillqvist  <tml@novell.com>
546
547         * modules/engines/ms-windows/msw_style.c (draw_box): Check that
548         the widget is a GtkButton before casting.
549
550 2008-03-02  Johan Dahlin  <johan@gnome.org>
551
552         * configure.in: Compare using = instead of ==, which is portable.
553         (#490787, Thomas Klausner)
554
555 2008-03-02  Johan Dahlin  <johan@gnome.org>
556
557         * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
558         fixes non-C++ build.
559         (#496032, Nelson Benitez)
560
561 2008-02-29  Johan Dahlin  <johan@gnome.org>
562
563         * demos/gtk-demo/demo.ui:
564         * gtk/gtkbuilderparser.c:
565         * gtk/gtkbuilderprivate.h:
566         * gtk/gtkliststore.c:
567         * tests/buildertest.c:
568         Add translatable/context and comment attributes on
569         <col> tags under a GtkListStore. Refactor parts of the
570         translation api and make it available inside gtk+ itself.
571         Update tests and example.
572         Fixes a part of #518642
573
574 2008-02-29  Johan Dahlin  <johan@gnome.org>
575
576         * gtk/gtkbuilder.c:
577         Add missing g_return_val_if_fail checks for public API.
578
579         * gtk/gtkbuilderparser.c:
580         * gtk/gtkbuilderprivate.h:
581         Do not use g_error for a few more errors, instead set
582         the GError sent in through add_from_file/add_from_string.
583         * tests/buildertest.c:
584         Add a couple of new parsing tests.
585         (#519199, Pavel Syomin)
586
587 2008-02-29  Federico Mena Quintero  <federico@novell.com>
588
589         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
590         refreshing an existing folder (i.e. when we are about to reload
591         its file list), turn off the folder's is_finished_loading flag.
592         Otherwise callers which do ::is_finished_loading() followed by
593         ::list_children() will get nothing.
594
595 2008-02-29  Cody Russell  <bratsche@gnome.org>
596
597         * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
598         say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
599
600 2008-02-28  Matthias Clasen  <mclasen@redhat.com>
601
602         * gtk/gtkcalendar.h: Remove trailing comma from enum to
603         make the compiler happy.  (#517295, Sylvain Pasche)
604
605 2008-02-27  Michael Natterer  <mitch@imendio.com>
606
607         * gtk/gtkmenushell.c
608         * gtk/gtktable.c
609         * gtk/gtktext.c
610         * gtk/gtktipsquery.c
611         * gtk/gtktoolbar.c
612         * gtk/gtktreeitem.c
613         * gtk/gtktreeview.c
614         * gtk/gtkviewport.c
615         * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
616         private functions and virtual function implementations.
617
618 2008-02-27  Richard Hult  <richard@imendio.com>
619
620         * gdk/quartz/GdkQuartzView.c:
621         * gdk/quartz/GdkQuartzView.h:
622         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
623         Fix performance regression for borderless transparent windows
624         with shadow.
625
626 2008-02-27  Emmanuele Bassi  <ebassi@gnome.org>
627
628         * tests/testgtk.c: Revert back to r19454.
629
630 2008-02-27  Sven Neumann  <sven@gimp.org>
631
632         * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
633         Quartz backend, use a native Mac OS X application for the print
634         preview (bug #518624).
635
636 2008-02-26  Michael Natterer  <mitch@imendio.com>
637
638         * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
639         the members of info->tag_stack since they are a) gobjects and b)
640         not even owned by us, ugh... Fixes crash when deserializing fails.
641
642 2008-02-26  Sven Neumann  <sven@gimp.org>
643
644         * docs/tools/shooter.c (find_toplevel_window)
645         * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
646         argument passed to XQueryTree().
647
648 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
649
650         * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
651         don't use beagle_query_add_hit_type.
652
653 2008-02-25  Richard Hult  <richard@imendio.com>
654
655         * gdk/quartz/gdkevents-quartz.c
656         (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
657
658 2008-02-24  Richard Hult  <richard@imendio.com>
659
660         * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
661         shown without gdk's control when clicking the dock icon.
662
663 2008-02-24  Richard Hult  <richard@imendio.com>
664
665         * gdk/quartz/gdkprivate-quartz.h:
666         * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
667         Use the subtype field for the custom event that is used to wake up
668         the mainloop so we can have other custom event types.
669
670         * gdk/quartz/gdkevents-quartz.c:
671         (_gdk_quartz_events_trigger_crossing_events):
672         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
673         crossing events after showing a window if necessary, to work
674         around problems with the tracking rect API.
675
676 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
677
678         * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives 
679         wrong results on win32 because it doesn't set the printing units, 
680         which affect the transformation of the cairo context 
681         (#347125, Erik van Pienbroek)
682
683 2008-02-22  Tor Lillqvist  <tml@novell.com>
684
685         * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
686
687 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
688
689         * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
690         acceptable for a module to only support the save_to_callback()
691         method if it marks itself as WRITABLE
692
693 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
694         
695         * configure.in: Bump version
696
697 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
698
699         * === Released 2.13.0 ===
700
701         * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
702
703 2008-02-21  Tor Lillqvist  <tml@novell.com>
704
705         * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
706         pass the format string to strftime in the C library's locale's
707         charset, not the system's. Correspondingly, the return value from
708         strftime() is in the C library's locale's charset. (#509885)
709
710 2008-02-20  Richard Hult  <richard@imendio.com>
711
712         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
713         the right window level and shadow after recreating the window.
714
715         * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
716         necessary after drawing (bug #517338).
717
718 2008-02-20  Marc-Andre Lureau  <marcandre.lureau@gmail.com>
719
720         * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
721         call to g_type_class_unref in case of error. (#517563)
722
723 2008-02-18  Sven Neumann  <sven@gimp.org>
724
725         * gtk/Makefile.am (STOCK_ICONS)
726         * gtk/stock-icons/16/gtk-page-setup.png
727         * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
728         taken from GNOME icon theme.
729
730         * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
731
732 2008-02-18  Runa Bhattacharjee <runabh@gmail.com>
733
734         * configure.in: Added Kannada (kn) to ALL_LINGUAS
735
736 2008-02-17  Johan Dahlin  <johan@gnome.org>
737
738         * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem): 
739         When converting a stock item based on the label, remove the label property.
740
741 2008-02-17  Richard Hult  <richard@imendio.com>
742
743         * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
744         position after showing the window since the window manager might
745         not place it where we requested in the first places.
746
747 2008-02-17  Richard Hult  <richard@imendio.com>
748
749         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
750         (_gdk_quartz_window_detach_from_parent),
751         (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
752         the toplevel ordering list in all places where the order is
753         potentially changed. Fixes mouse focus issues for windows with
754         a transient parent set.
755
756 2008-02-17  Richard Hult  <richard@imendio.com>
757
758         * gdk/quartz/gdkevents-quartz.c
759         (_gdk_quartz_events_update_mouse_window): Highlight the mouse
760         window when event debugging is enabled.
761
762 2008-02-16  Richard Hult  <richard@imendio.com>
763
764         * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
765         to the scroll event (bug #516757, Paul Davis).
766
767 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
768
769         * NEWS: Updates
770
771 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
772
773         * gtk/gtklinkbutton.c: Show the URI in a tooltip.  (#505480,
774         Teppo Turtiainen)
775
776 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
777
778         * gdk/Makefile.am: Don't install private headers. (#463510)
779
780         * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
781         the installed header gdkprivate.h.
782
783 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
784
785         * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
786         a crash with hidden, reorderable tabs.  (#513230, 
787         Mike Massonnet, patch by Carlos Garnacho)
788
789 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
790
791         * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
792         Warn on duplicate action group names.  (#501746, Christian
793         Persch)
794
795 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
796
797         * gtk/Makefile.am:
798         * modules/other/gail/tests/Makefile.am:
799         * modules/other/gail/libgail-util/Makefile.am:
800         * modules/other/gail/Makefile.am: Fix builddir!=srcdir
801         builds.  (#516254,  Yevgen Muntyan)
802
803 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
804
805         * gtk/gtkentry.c:
806         * gtk/gtkfilesel.c:
807         * gtk/gtklabel.c:
808         * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets 
809         instead of hardcoded target tables.  (#516092, Christian Persch)
810
811 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
812
813         * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
814         add the same target atom twice.  (#516087, Christian Persch)
815
816 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
817
818         * tests/testfilechooser.c: Add a --backend option.
819         (#516073, Christian Persch)
820
821 2008-02-16  Richard Hult  <richard@imendio.com>
822
823         * gdk/quartz/gdkprivate-quartz.h:
824         * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
825         gdkwindow.
826
827 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
828
829         * configure.in: Go back to 2.13.0 as version for now,
830         as there was no consensus to do the jump.
831
832         * many other places: Update Since: tags.
833
834 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
835
836         * gtk/gtk.symbols: Add gtk_tool_shell_get_type
837
838         * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
839
840 2008-02-15  Richard Hult  <richard@imendio.com>
841
842         * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
843         instead of bounds when resizing windows.
844
845 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
846
847         * gdk/x11/gdkkeys-x11.c:
848         * gdk/x11/gdkcolor-x11.c:
849         * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
850
851 2008-02-15  Matthias Clasen <mclasen@redhat.com>
852
853         * gdk/x11/gdktestutils-x11.c:
854         * gdk/x11/gdkscreen-x11.c: Documentation fixes.
855
856 2008-02-15  Tor Lillqvist  <tml@novell.com>
857
858         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
859         leak Registry key handles. (#516578)
860
861 2008-02-14  Richard Hult  <richard@imendio.com>
862
863         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
864         makeKeyWindow unfortunately doesn't work in all cases, we must use
865         makeKeyAndOrderFront.
866
867 2008-02-14  Richard Hult  <richard@imendio.com>
868
869         * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
870         (gdk_window_hide), (gdk_window_fullscreen),
871         (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
872         the window is hidden.
873
874 2008-02-14  Richard Hult  <richard@imendio.com>
875
876         * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
877         resizing to be consistent and to avoid introducing an internal
878         transform in the view.
879
880 2008-02-14  Richard Hult  <richard@imendio.com>
881
882         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
883         fix.
884
885 2008-02-14  Johan Dahlin  <johan@gnome.org>
886
887         * gdk/gdktestutils.h
888         * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
889
890 2008-02-13  Richard Hult  <richard@imendio.com>
891
892         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
893         Remove unused variables.
894         (gtk_clipboard_set_contents),
895         (gtk_clipboard_get_owner), (clipboard_unset),
896         (gtk_clipboard_request_targets): Notify the previous clipboard
897         owner when the owner changes. Fixes bug #493406.
898         
899 2008-02-13  Richard Hult  <richard@imendio.com>
900
901         * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
902         the return value (return number of colors that failed), and handle
903         RGBA colormap.
904         (gdk_colormap_free_colors): Fix typo in comment.
905
906 2008-02-13  Kristian Rietveld  <kris@imendio.com>
907
908         * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
909         queue a redraw if the rubber banding has actually been active.
910
911 2008-02-12  Matthias Clasen  <mclasne@redhat.com>
912
913         * gtk/gtkpapersize.c:
914         * gtk/gtkprintoperation.c:
915         * gtk/gtkvolumebutton.c:
916         * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
917         out by Behdad Esfahbod.
918
919 2008-02-12  Federico Mena Quintero  <federico@novell.com>
920
921         Merged from gtk-2-12:
922
923         Don't focus the file list when shortcuts get activated.  This
924         removes a lot of ambiguity in when the file selection should
925         change, and makes the overall code flow simpler.
926
927         This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
928         file/save dialog clears the filename entry when changing
929         directories.
930
931         Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
932         focus should not go to the file list when a shortcut is activated.
933
934         * gtk/gtkfilechooserdefault.c
935         (shortcuts_activate_volume_mount_cb): Don't focus the file list
936         (shortcuts_activate_get_info_cb): Likewise.
937
938         * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
939         the file list (this was the last place where we would focus the
940         file list explicitly).  If you are in the location entry, for
941         example, you don't want Alt-Home to take you to the file list; you
942         just want the current folder to change.  Thanks to Olle Bergkvist
943         <olle.bergkvist@yahoo.se> for pointing this out in
944         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
945         (focus_browse_tree_view_if_possible): Removed.
946
947 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
948
949         Skip exensions when selecting filenames in the save-as dialog.
950         (#362516, Carlos Garnacho)
951
952         * gtk/gtkfilechooserentry.h:
953         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
954         New function to skip the extension part when selecting a filename.
955         (_gtk_file_chooser_entry_set_base_folder): Use it here.
956
957         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
958         ...and here.
959
960 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
961
962         * gtk/gtkiconview.c: Fix state change reporting for 
963         accessibility.  (#499835, Rich Burridge, patch by LiYan Zhang)
964
965 2008-02-12  Emmanuele Bassi  <ebassi@gnome.org>
966
967         * gtk/gtkrecentchooser.c:
968         (gtk_recent_chooser_class_init): Set the default value of the
969         :show-not-found property to TRUE, as every implementation sets
970         it to TRUE already.
971
972         * gtk/gtkrecentchooserdefault.c:
973         (_gtk_recent_chooser_default_init): Sync show_tips to the
974         default value of the :show-tips property.
975
976 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
977
978         * gtk/gtkclipboard-quartz.c:
979         * gtkquartz.c:
980         * gtkselection.c: Use GSlice for GtkSelectionData.  (#515060,
981         Christian Persch)
982
983 2008-02-12  Kristian Rietveld  <kris@imendio.com>
984
985         * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
986         (gtk_tree_view_real_toggle_cursor_row): guard against people
987         deleting the row in question in the selection-changed callback.
988         (#514621, Andreas Koehler).
989
990 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
991
992         * gtk/*.c: Unify the handling of various "Enter" keysyms
993         all over the place.  (#515047, Christian Persch)
994
995 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
996
997         * gtk/gtkfilesystemmodel.c:
998         * gtk/gtkprinter.c:
999         * gtk/gtkwidget.c: Use g_value_set_static_string() where 
1000         appropriate.  (#515042, Christian Persch)
1001
1002 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
1003
1004         * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
1005         
1006 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
1007
1008         * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
1009
1010 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
1011
1012         * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
1013         (recent_model_sort_drag_data_get):
1014         (search_model_sort_drag_data_get):
1015         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
1016         * gtk/gtkpathbar.c (button_drag_data_get_cb):
1017         Use gtk_selection_data_set_uris() instead of doing it
1018         by hand.  (#514890, Christian Persch)
1019
1020 2008-02-12  Michael Natterer  <mitch@imendio.com>
1021
1022         * gtk/gtkstatusicon.c: #include "gtkmain.h" for
1023         gtk_get_current_event_time().
1024
1025 2008-02-12  Michael Natterer  <mitch@imendio.com>
1026
1027         * gtk/gtkwindow.c (gtk_window_activate_key): simply use
1028         gtk_window_get_key_hash() to get the hash instead of manually
1029         fiddling with quarks and gtk_window_keys_changed(). Also add
1030         g_return_if_fail() to this public function.
1031
1032 2008-02-11  Matthias Clasen  <mclasen@redhat.com>
1033
1034         Support keynav in status icons.  (#473786, Li Yuan)
1035
1036         * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
1037
1038         * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
1039
1040 2008-02-11  Kristian Rietveld  <kris@imendio.com>
1041
1042         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
1043         * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
1044         wrt. link deletion from list; contination of fix for #503569.
1045
1046 2008-02-11  Emmanuele Bassi  <ebassi@gnome.org>
1047
1048         * gtk/gtkrecentchoosermenu.c:
1049         (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1050         on the placeholder menu item.
1051
1052         * tests/testrecentchoosermenu.c:
1053         (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1054         whether the placeholder menu item gets shown.
1055
1056 2008-02-10  Cody Russell  <bratsche@gnome.org>
1057
1058         * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1059         Check the return value of _gtk_file_chooser_get_file_system () for
1060         NULL before passing it to gtk_file_system_path_to_uri ().
1061         (#515667, Francesco Montorsi)
1062
1063 2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>
1064
1065         * gtk/gtkbuilder.c: Improve the documentation for
1066         gtk_builder_connect_signals. (#514471)
1067
1068 2008-02-10  Matthias Clasen  <mclasen@redhat.com>
1069
1070         * gtk/gtkrecentaction.c: Propagate local-only.  (#511987, 
1071         Jonh Wendell)
1072
1073 2008-02-08  Cody Russell  <bratsche@gnome.org>
1074
1075         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1076         Removed an extra semicolon.  (#515219, reported by Kazuki IWAMOTO)
1077
1078 2008-02-08  Richard Hult  <richard@imendio.com>
1079
1080         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1081         delta from the NSEvent for now, generating multiple scroll events
1082         results in a lot of events getting queued up and things get really
1083         slow.
1084
1085 2008-02-08  Sven Herzberg  <sven@imendio.com>
1086
1087         Adjust the code to match the documentation, examples, "common sense"
1088         and existing applications.
1089
1090         * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1091         that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1092         assigned
1093
1094 2008-02-07  Cody Russell  <bratsche@gnome.org>
1095
1096         * gdk/win32/gdkevents-win32.c
1097         * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1098         of a block that were causing compile problems on old
1099         compilers. (#515053, reported by Kazuki IWAMOTO)
1100         
1101 2008-02-07  Michael Natterer  <mitch@imendio.com>
1102
1103         * gtk/gtkcellview.c
1104         * gtk/gtklabel.c
1105         * gtk/gtklayout.c
1106         * gtk/gtklist.c
1107         * gtk/gtkmenu.c
1108         * gtk/gtkmenushell.c
1109         * gtk/gtkmisc.c
1110         * gtk/gtkoptionmenu.c
1111         * gtk/gtkplug.c
1112         * gtk/gtkpreview.c
1113         * gtk/gtkprogress.c
1114         * gtk/gtkradiomenuitem.c
1115         * gtk/gtkscale.c
1116         * gtk/gtkscrolledwindow.c
1117         * gtk/gtksocket.c: remove g_return_if_fail() from private
1118         functions and virtual function implementations.
1119
1120 2008-02-07  Michael Natterer  <mitch@imendio.com>
1121
1122         * gtk/gtkaction.c
1123         * gtk/gtkassistant.c
1124         * gtk/gtkbin.c
1125         * gtk/gtkbox.c
1126         * gtk/gtkcalendar.c
1127         * gtk/gtkcellrenderercombo.c
1128         * gtk/gtkcombobox.c
1129         * gtk/gtkcombo.c
1130         * gtk/gtkdrawingarea.c
1131         * gtk/gtkentrycompletion.c
1132         * gtk/gtkfixed.h
1133         * gtk/gtkgamma.c
1134         * gtk/gtkhpaned.c
1135         * gtk/gtkiconview.c
1136         * gtk/gtkitem.c
1137         * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1138         functions and virtual function implementations.
1139
1140 2008-02-07  Christian Persch  <chpe@gnome.org>
1141
1142         * gdk/gdkpixbuf-render.c:
1143         (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1144         alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1145         otherwise there will be random pixel values in the semi-transparent
1146         area of the pixbuf within the mask. Bug #487865.
1147
1148 2008-02-06  Cody Russell  <bratsche@gnome.org>
1149
1150         * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1151         otherwise things get wonky when you click on a menu.  This fixes
1152         a regression caused in #505928.  Thanks to Tor for spotting this
1153         one!  (#514789)
1154
1155 2008-02-06  Michael Natterer  <mitch@imendio.com>
1156
1157         * gtk/gtkcontainer.c
1158         * gtk/gtkexpander.c
1159         * gtk/gtkframe.c
1160         * gtk/gtklabel.c
1161         * gtk/gtkmain.c
1162         * gtk/gtkmenu.c
1163         * gtk/gtkmenuitem.c
1164         * gtk/gtkmenushell.c
1165         * gtk/gtknotebook.c
1166         * gtk/gtkseparatortoolitem.c
1167         * gtk/gtksocket.c
1168         * gtk/gtktextlayout.c
1169         * gtk/gtktoggletoolbutton.c
1170         * gtk/gtktoolbutton.c
1171         * gtk/gtktoolitem.c
1172         * gtk/gtktree.c
1173         * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1174         "GTK_IS_FOO (foo)".
1175
1176 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1177
1178         * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1179         Allow to store half-open ranges.
1180
1181 2008-02-05  Cody Russell  <bratsche@gnome.org>
1182
1183         * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1184         down the stack until we get to a window that is mapped.
1185         Otherwise hiding a window will cause all windows in the app
1186         to be blocked. (#514643)
1187
1188 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1189
1190         * gtk/updateiconcache.c: Ignore images in the toplevel theme
1191         directory, avoiding one source of invalid caches that has been
1192         spotted in the wild.
1193
1194 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1195
1196         * gtk/updateiconcache.c: Fix the previous commit to compile.
1197
1198 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1199
1200         * gtk/updateiconcache.c: Install a printerr handler that
1201         prepends the program name, since gtk-update-icon-cache output
1202         often appears in the middle of other output, e.g. rpm update logs.
1203
1204 2008-02-05  Cody Russell  <bratsche@gnome.org>
1205
1206         * gdk/win32/gdkprivate-win32.h
1207         * gdk/win32/gdkevents-win32.c
1208         * gdk/win32/gdkwindow-win32.c
1209         * gdk/win32/gdkwindow-win32.h
1210         * gdk/win32/gdkwin32.h:
1211         Modal window rework.  (#455627 and #511111)
1212
1213 2008-02-04  Michael Natterer  <mitch@imendio.com>
1214
1215         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1216         g_return_if_fail() if the cell is not part of the combo instead of
1217         crashing in the next line.
1218
1219 2008-02-01  Cody Russell  <cody@jhu.edu>
1220
1221         * modules/engines/ms-windows/xp_theme.[ch]
1222         * modules/engines/ms-windows/xp_theme_defs.h
1223         * modules/engines/ms-windows/msw_rc_style.c
1224         * modules/engines/ms-windows/msw_theme_main.c
1225         * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1226         attempted to stylize more like the rest of the gtk+ stack's code.
1227
1228 2008-02-01  Michael Natterer  <mitch@imendio.com>
1229
1230         * tests/testgtk.c: initialize GdkColor structs to fix warning
1231         about uninitialized "pixel" member.
1232
1233         * tests/testactions.c: connect the toolbar_style() callback so it
1234         does something useful and doesn't warn about being defined but not
1235         used.
1236
1237 2008-01-31  Cody Russell  <bratsche@gnome.org>
1238
1239         * gdk/win32/gdkevents-win32.c:
1240         Refactored some of the window hiding/showing code from
1241         WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
1242         under WM_ACTIVATE was causing the application to go into
1243         a weird state when the user right-clicked on the taskbar
1244         entry of a window that was minimized.  (#505928)
1245         
1246 2008-01-31  Cody Russell  <bratsche@gnome.org>
1247
1248         * gtk/gtkpaned.c (gtk_paned_set_position):
1249         Change queue_resize() to queue_draw(), and add a check for
1250         child2 != NULL in case someone calls this before there is
1251         a child packed in there.  (#144269 again)
1252
1253 2008-01-31  Sven Neumann  <sven@gimp.org>
1254
1255         * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1256         applied patch from Denis Oliver Kropp <dok@directfb.org>.
1257
1258 2008-01-31  Sven Neumann  <sven@gimp.org>
1259
1260         * gdk/directfb/gdkdisplay-directfb.c
1261         * gdk/directfb/gdkdrawable-directfb.c
1262         * gdk/directfb/gdkprivate-directfb.h
1263         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1264         Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1265
1266 2008-01-31  Richard Hult  <richard@imendio.com>
1267
1268         * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1269         issues with undecorated windows. Revert the change done on
1270         2008-01-25 and fix it by using the view's bounds instead. The
1271         bounds will always be up to date when setting up the tracking
1272         rect, so this should be more robust.
1273
1274 2008-01-30  Sven Neumann  <sven@gimp.org>
1275
1276         * gdk/directfb/gdkdrawable-directfb.c
1277         * gdk/directfb/gdkwindow-directfb.c
1278         * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1279         Oliver Kropp <dok@directfb.org>. Adds debug messages using
1280         DirectFB's debugging system
1281
1282 2008-01-30  Sven Neumann  <sven@gimp.org>
1283
1284         * gdk/directfb/gdkdirectfb.h
1285         * gdk/directfb/gdkdisplay-directfb.c
1286         * gdk/directfb/gdkdrawable-directfb.c
1287         * gdk/directfb/gdkim-directfb.c
1288         * gdk/directfb/gdkimage-directfb.c
1289         * gdk/directfb/gdkinput-directfb.c
1290         * gdk/directfb/gdkmain-directfb.c
1291         * gdk/directfb/gdkpixmap-directfb.c
1292         * gdk/directfb/gdktestutils-directfb.c
1293         * gdk/directfb/gdkvisual-directfb.c
1294         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1295         Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1296         errors and has some cleanups.
1297
1298 2008-01-30  Michael Natterer  <mitch@imendio.com>
1299
1300         * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1301         "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1302         aliasing warning.
1303
1304         * gtk/updateiconcache.c (add_string): cast const gchar* to
1305         gpointer when inserting in a GHashTable.
1306
1307         * tests/testcalendar.c (calendar_detail_cb): remove const from
1308         return value since it's a newly allocated string.
1309
1310         (calendar_update_details): free the detail.
1311
1312 2008-01-29  Johan Dahlin  <johan@gnome.org>
1313
1314         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1315         (do_builder):
1316         * demos/gtk-demo/demo.ui:
1317         Move the about dialog to the glade file, add accessible tags
1318         examples to the markup file.
1319
1320 2008-01-28  Paolo Borelli  <pborelli@katamail.com>
1321
1322         * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1323         layout, fixes #512375.
1324
1325 2008-01-28  Michael Natterer  <mitch@imendio.com>
1326
1327         * gtk/gtktextchild.c
1328         * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1329
1330 2008-01-28  Michael Natterer  <mitch@imendio.com>
1331
1332         * demos/gtk-demo/builder.c (about_activate): use
1333         gtk_about_dialog_set_program_name() instead of the deprecated
1334         set_name().
1335
1336 2008-01-28  Michael Natterer  <mitch@imendio.com>
1337
1338         * gtk/gtktextchild.c
1339         * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1340         is deprecated now).
1341
1342 2008-01-26  Johan Dahlin  <johan@gnome.org>
1343
1344         * tests/Makefile.am:
1345         * tests/textbuffertest.c:
1346         Rename textbuffer test and port it to the new test framework
1347         
1348 2008-01-25  Johan Dahlin  <johan@gnome.org>
1349
1350         * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1351         unsetting of GTK_MODULES.
1352
1353         * gtk/gtk-builder-convert
1354         (GtkBuilderConverter._convert_adjustment): Handle the case where
1355         there is no child text node.
1356         (GtkBuilderConverter): Allow xml comments in most places.
1357
1358 2008-01-25  Johan Dahlin  <johan@gnome.org>
1359
1360         * gtk/gtk-builder-convert
1361         (GtkBuilderConverter._convert_combobox_items): Remove the items
1362         even if there are no items set.
1363         (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1364         signals and tooltips for all menu items subclasses and 
1365         GtkImageMenuItem:label. 
1366         Makes it possible to fully convert and run Jokosher.glade.
1367
1368 2008-01-25  Johan Dahlin  <johan@gnome.org>
1369
1370         * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1371         (gtk_widget_buildable_get_internal_child), (free_action),
1372         (free_relation), (gtk_widget_buildable_parser_finished),
1373         (accessibility_start_element),
1374         (gtk_widget_buildable_custom_tag_start),
1375         (gtk_widget_buildable_custom_finished):
1376         Implement accessible support, fixes #454653.
1377
1378         * gtk/gtk-builder-convert:
1379         Add support for migrating old glade files
1380         
1381         * tests/buildertest.c: (test_widget), (test_file):
1382         Add accessible tests and imprve the test_file function to display
1383         toplevels and run dialogs.
1384
1385 2008-01-25  Richard Hult  <richard@imendio.com>
1386
1387         * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1388         didn't change, fixes focus event issues for undecorated windows.
1389
1390 2008-01-25  Richard Hult  <richard@imendio.com>
1391
1392         * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1393         const and remove unused variables).
1394
1395 2008-01-25  Michael Natterer  <mitch@imendio.com>
1396
1397         * gtk/gtkbutton.h
1398         * gtk/gtkcellrenderer.h
1399         * gtk/gtkimcontext.h
1400         * gtk/gtkstyle.h
1401         * gtk/gtktoolbar.h
1402         * gtk/gtktooltip.h
1403         * gtk/gtktreeprivate.h
1404         * gtk/gtktreeviewcolumn.h
1405         * gtk/gtkwidget.h: add const to constant structs which are passed
1406         into GTK+. Also add some forgotten const for const strings.
1407         Fixes bug #511554.
1408
1409         * gtk/gtkbutton.c
1410         * gtk/gtkcellrenderer.c
1411         * gtk/gtkimcontext.c
1412         * gtk/gtkstyle.c
1413         * gtk/gtktoolbar.c
1414         * gtk/gtktooltip.c
1415         * gtk/gtktreeview.c
1416         * gtk/gtktreeviewcolumn.c
1417         * gtk/gtkwidget.c: changed accordingly.
1418
1419 2008-01-25  Sven Herzberg  <sven@imendio.com>
1420
1421         Reviewed by Johan Dahlin.
1422
1423         * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1424         this is called with something that's not a GtkUIManager
1425
1426 2008-01-24  Johan Dahlin  <johan@gnome.org>
1427
1428         * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
1429         Chain up to parent, so widgets can have internal children.
1430
1431 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
1432
1433         Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1434         IWAMOTO).
1435
1436         * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1437
1438 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
1439
1440         Use pango_layout_set_height() for calendar details (#506049).
1441
1442         * configure.in: Require 1.19.3 for pango_layout_set_height().
1443         * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1444
1445 2008-01-18  Johan Dahlin  <johan@gnome.org>
1446
1447         * gtk/gtk-builder-convert (get_property_node): New method
1448         (GtkBuilderConverter._create_object): Conditionally take a node as
1449         a property value, so don't lose translate/context attributes if they
1450         are set. 
1451         (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1452         property values instead of strings.
1453         (#509153, Erik van Pienbroek)
1454
1455 2008-01-16  Mathias Hasselmann  <mathias@openismus.com>
1456
1457         Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1458
1459         * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1460         * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1461         * tests/testcalendar.c: Duplicate calendar details before returning.
1462
1463 2008-01-16  Christian Persch  <chpe@gnome.org>
1464
1465         * gtk/gtkwidget.c: Store the event mask and extension event mode
1466         directly in the gobject data pointer, instead of in an allocated
1467         gint. Bug #506604.
1468
1469 2008-01-16  Michael Natterer  <mitch@imendio.com>
1470
1471         * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1472         gdk-pixbuf now uses gio functions.
1473
1474 2008-01-16  Matthias Clasen  <mclasen@redhat.com>
1475
1476         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1477         the notify::model signal.  (#509819, David Zeuthen)
1478
1479 2008-01-15  Michael Natterer  <mitch@imendio.com>
1480
1481         * gdk/gdkdisplay.h
1482         * gdk/gdkdrawable.h
1483         * gdk/gdkevents.h
1484         * gdk/gdkpango.h
1485         * gdk/gdkregion.h
1486         * gdk/gdkrgb.h
1487         * gdk/gdkwindow.h: made more struct pointer and array parameters
1488         const. GDK should now be constified as far as possible without
1489         breaking source compatibility. Includes some minor cleanup like
1490         indentation and s/nfoo/n_foo/ (bug #508544).
1491
1492         * gdk/gdkdisplay.c
1493         * gdk/gdkdraw.c
1494         * gdk/gdkevents.c
1495         * gdk/gdkpango.c
1496         * gdk/gdkregion-generic.c
1497         * gdk/gdkrgb.c
1498         * gdk/directfb/gdkdisplay-directfb.c
1499         * gdk/directfb/gdkwindow-directfb.c
1500         * gdk/quartz/gdkdisplay-quartz.c
1501         * gdk/quartz/gdkwindow-quartz.c
1502         * gdk/win32/gdkdisplay-win32.c
1503         * gdk/win32/gdkwindow-win32.c
1504         * gdk/x11/gdkdisplay-x11.c
1505         * gdk/x11/gdkwindow-x11.c: changed accordingly.
1506
1507 2008-01-14  Michael Natterer  <mitch@imendio.com>
1508
1509         * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1510         const warning.
1511
1512         (gtk_rc_parse_any): change variables to const and introduce
1513         another local variable to fix const warnings.
1514
1515 2008-01-14  Michael Natterer  <mitch@imendio.com>
1516
1517         * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1518         of gdk_screen_get_font_options() to gpointer to get rid of const
1519         warning.
1520
1521 2008-01-14  Michael Natterer  <mitch@imendio.com>
1522
1523         * tests/testdnd.c (source_drag_data_get): fix another call to
1524         gtk_selection_data_set().
1525
1526 2008-01-14  Michael Natterer  <mitch@imendio.com>
1527
1528         * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1529         signedness warning.
1530
1531 2008-01-14  Michael Natterer  <mitch@imendio.com>
1532
1533         * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1534
1535 2008-01-14  Michael Natterer  <mitch@imendio.com>
1536
1537         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1538         "uris" to guchar* when passing it to gtk_selection_data_set().
1539
1540 2008-01-14  Michael Natterer  <mitch@imendio.com>
1541
1542         * gdk/gdk.h
1543         * gdk/gdkcairo.h
1544         * gdk/gdkcolor.h
1545         * gdk/gdkgc.h
1546         * gdk/gdkinternals.h
1547         * gdk/gdkregion.h
1548         * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1549         parameters const (bug #508544).
1550
1551         * gdk/gdkcairo.c
1552         * gdk/gdkgc.c
1553         * gdk/gdkwindow.c
1554         * gdk/gdkrectangle.c
1555         * gdk/gdkpolyreg-generic.c
1556         * gdk/gdkregion-generic.c
1557         * gdk/directfb/gdkcolor-directfb.c
1558         * gdk/directfb/gdkgc-directfb.c
1559         * gdk/directfb/gdkgeometry-directfb.c
1560         * gdk/directfb/gdkwindow-directfb.c
1561         * gdk/quartz/gdkcolor-quartz.c
1562         * gdk/quartz/gdkgc-quartz.c
1563         * gdk/quartz/gdkgeometry-quartz.c
1564         * gdk/quartz/gdkwindow-quartz.c
1565         * gdk/win32/gdkcolor-win32.c
1566         * gdk/win32/gdkgc-win32.c
1567         * gdk/win32/gdkgeometry-win32.c
1568         * gdk/win32/gdkprivate-win32.h
1569         * gdk/win32/gdkwindow-win32.c
1570         * gdk/x11/gdkcolor-x11.c
1571         * gdk/x11/gdkgc-x11.c
1572         * gdk/x11/gdkgeometry-x11.c
1573         * gdk/x11/gdkmain-x11.c
1574         * gdk/x11/gdkprivate-x11.h
1575         * gdk/x11/gdkwindow-x11.c: changed accordingly.
1576
1577         * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1578         headers.
1579
1580 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
1581
1582         Explain name choice for gtk_tool_item_toolbar_reconfigured.
1583
1584         * gtk/gtktoolitem.c: Add comment expaining name choice for
1585         gtk_tool_item_toolbar_reconfigured.
1586
1587 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
1588
1589         Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1590         implementations to notify its children, when some aspect of their
1591         configuration changed (#509042).
1592
1593         * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1594         * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1595         Rename _gtk_tool_item_toolbar_reconfigured.
1596
1597 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
1598
1599         Include <gtk/gtktoolshell.h> from gtk.h.
1600
1601         * gtk/gtk.h: Add gtktoolshell.h
1602
1603 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
1604
1605         Print angle brackets arround e-mail addresses in the about dialog
1606         (#409520, Mariano Suárez-Alvarez).
1607
1608         * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1609
1610 2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>
1611
1612         * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1613         special casing so test widgets are always queues for destruction
1614         during teardown.
1615
1616         * gtk/tests/testing.c: removed bits left-over from testing without
1617         gtestutils.h.
1618
1619 2008-01-10  Tor Lillqvist  <tml@novell.com>
1620
1621         * modules/other/gail/libgail-util/Makefile.am
1622         * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1623         gdktargetlib.
1624         
1625 2008-01-10  Tor Lillqvist  <tml@novell.com>
1626
1627         * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1628         uses gtkprintunixdialog API.
1629
1630 2008-01-10  Tor Lillqvist  <tml@novell.com>
1631
1632         * gdk/win32/gdkdisplay-win32.c
1633         * gdk/win32/gdkglobals-win32.c
1634         * gdk/win32/gdkprivate-win32.h
1635         * gdk/win32/gdkscreen-win32.c
1636         * gdk/win32/gdkwindow-win32.c: Implement
1637         gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1638         and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1639         Iwamoto. (#505753)
1640
1641 2008-01-10  Cody Russell  <bratsche@gnome.org>
1642
1643         * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1644         Properly ref/unref windows and parents.  (#506769)
1645
1646 2008-01-10  Richard Hult  <richard@imendio.com>
1647
1648         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1649         (gdk_window_hide), (move_resize_window_internal): Move the
1650         tracking rect workaround from here...
1651
1652         * gdk/quartz/GdkQuartzWindow.c:
1653         * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1654         movements during showing/hiding operations. Fixes bug #508516.
1655
1656 2008-01-10  Michael Natterer  <mitch@imendio.com>
1657
1658         * gdk/directfb/gdkscreen-directfb.c
1659         (gdk_screen_get_monitor_width_mm)
1660         (gdk_screen_get_monitor_height_mm)
1661         (gdk_screen_get_monitor_plug_name): add these functions to make
1662         it build again.
1663
1664 2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
1665
1666         * gtk/gtkrecentchoosermenu.c:
1667         (idle_populate_func), (idle_populate_clean_up): Fix possible
1668         recursion by resetting the idle source id. (#507605, William
1669         Pitcock)
1670
1671 2008-01-10  Kristian Rietveld  <kris@imendio.com>
1672
1673         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1674         (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1675         avoid valgrind warnings.  (#507751, patch from Christian Persch).
1676
1677 2008-01-10  Kristian Rietveld  <kris@imendio.com>
1678
1679         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1680         a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1681
1682 2008-01-10  Kristian Rietveld  <kris@imendio.com>
1683
1684         Fix #477175, reported by Juri Pakaste.
1685
1686         * gtk/gtktreeprivate.h:
1687         * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1688         tree_view->priv->dy here directly, just calculate the new value
1689         and set it on the adjustment,
1690         (gtk_tree_view_adjustment_changed): add guards to not call
1691         gtk_tree_view_dy_to_top_row() if we are currently in
1692         gtk_tree_view_top_row_to_dy(),
1693         (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1694         coordinates, not tree coordinates,
1695         (gtk_tree_view_real_start_editing): add cast.
1696
1697         * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1698         position of the editable in the "create new row and start editing"
1699         tests.
1700
1701 2008-01-09  Michael Natterer  <mitch@imendio.com>
1702
1703         * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1704         variable.
1705
1706         * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1707         * gtk/gtkicontheme.c (theme_list_contexts)
1708         (gtk_icon_theme_lookup_icon)
1709         * gtk/gtkimcontextsimple.c (beep_window)
1710         * gtk/gtklinkbutton.c (set_link_color)
1711         * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1712         fix warnings.
1713
1714         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1715         variable and add const to another to fix a warning.
1716
1717 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
1718
1719         * gtk/gtkassistant.c (remove_page): Be more robust when removing 
1720         the current page.  (#499951, Andreas Sandberg)
1721
1722 2008-01-06  Johan Dahlin  <johan@gnome.org>
1723
1724         * gtk/gtkspinbutton.c: Declare value in the example code for
1725         GtkSpinButton::output, as pointed out by Anders Carlsson.
1726
1727 2008-01-06  Christian Persch  <chpe@gnome.org>
1728
1729         * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1730         and remove an obsolete event box. Bug #506760.
1731
1732 2008-01-06  Johan Dahlin  <johan@gnome.org>
1733
1734         * tests/buildertest.c (test_domain): 
1735         Update, GtkBuilder::translation-domain is no longer set
1736         
1737         * gtk/gtkbuilderparser.c (parse_interface): 
1738         Allow domains to be overridden in <interface>'s if a translation-domain
1739         is set in the builder.
1740         (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1741         of the builder, make the domain set in the <interface> apply only to strings
1742         in that interface.
1743         (#496831, Ryan Lortie)
1744
1745         * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
1746         to g_warning calls.
1747
1748         * gtk/gtktreestore.c (tree_model_end_element): 
1749         Remove an unused variable
1750
1751 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1752
1753         * gtk/gtkspinbutton.c: Document the ::output signal and
1754         add an example.  (#507566, example by Owen Taylor)
1755
1756 2008-01-06  Johan Dahlin  <johan@gnome.org>
1757
1758         * gtk/gtkcellrenderercombo.c:
1759         (gtk_cell_renderer_combo_get_property),
1760         (gtk_cell_renderer_combo_set_property):
1761         * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1762         * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1763         * gtk/gtknotebook.c: (gtk_notebook_set_property):
1764         * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1765         * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1766         (gtk_text_buffer_get_property):
1767         * gtk/gtktextview.c: (gtk_text_view_set_property):
1768         * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1769         * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1770         (gtk_tool_button_get_property):
1771         * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1772         (gtk_tool_item_get_property):
1773         * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1774         * gtk/gtkwidget.c: (gtk_widget_set_property):
1775         * gtk/gtkwindow.c: (gtk_window_set_property):
1776         Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1777         Fixes #507585
1778
1779 2008-01-06  Johan Dahlin  <johan@gnome.org>
1780
1781         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
1782         Make sure that --root works for toplevel widgets.
1783         (#491847, Phil Lello)
1784
1785 2008-01-05  Johan Dahlin  <johan@gnome.org>
1786
1787         * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1788         to make sure that make test-report works properly
1789
1790 2008-01-05  Christian Persch  <chpe@gnome.org>
1791
1792         * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1793         GType as integer through gpointer. Bug #507395.
1794
1795 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
1796
1797         Avoid some compiler warnings (#507000).
1798
1799         * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1800         for value argument of _gtk_builder_flags_from_string.
1801         * gtk/gtkwidget.c: Don't alias the child pointer passed
1802         to gdk_window_get_user_data.
1803
1804 2008-01-04  Michael Natterer  <mitch@imendio.com>
1805
1806         * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1807         to set the time in the returned GdkTimeCoords.
1808
1809 2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>
1810
1811         * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1812         correct comparison function (kudos to Christian Persch and
1813         Claudio Saavedra for spotting this)
1814
1815         * gtk/gtkrecentchooserutils.c:
1816         (sort_recent_items_mru),
1817         (sort_recent_items_lru): Ditto as above.
1818
1819 2008-01-03  Johan Dahlin  <johan@gnome.org>
1820
1821         * tests/defaultvaluetest.c: Make it pass again.
1822
1823 2008-01-02  Johan Dahlin  <johan@gnome.org>
1824
1825         * tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
1826         make it pass on Ubuntu.
1827         (main): Use gtk_test_list_all_types () instead of providing our
1828         own list.
1829         And it no longer passes.
1830
1831 2007-12-30  Johannes Schmid <jhs@gnome.org>
1832
1833         * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1834         Also reorder menu when reordering tabs by drag & drop
1835         (Bug #506474)
1836         
1837         * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1838         Add a menu to one of the notebooks to have a test-case for
1839         the change mentioned above.
1840
1841 2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>
1842
1843         * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1844
1845 2007-12-31  Christian Persch  <chpe@gnome.org>
1846
1847         * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1848         Plug a mem leak. Bug #506107.
1849
1850 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1851
1852         * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1853         icon cache api change.  (#506135, Kazuki Iwamoto)
1854
1855 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1856
1857         Consider "wide-separators" and "separator-height" style properties:
1858         The separator is drawn using gtk_paint_box instead of cairo, when
1859         "wide-separators" is set. Also do not highlight details for previous
1860         or next month, if their day matches the selected day. (#339540)
1861
1862         * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1863         in gtk_calendar_size_request and calendar_paint_day
1864         * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1865         for selected detail separators in GtkCalendar.
1866
1867 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1868
1869         Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1870
1871         * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1872         a local variable instead in gtk_calendar_size_request.
1873
1874 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1875
1876         * tests/defaultvaluetest.c: Add enough exclusions to make the
1877         test succeed.
1878
1879 2007-12-28  Christian Persch  <chpe@gnome.org>
1880
1881         * modules/other/gail/Makefile.am:
1882         * modules/other/gail/tests/*:
1883         * configure.in: Merge tests from standalone gail. Bug #504568.
1884
1885 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1886
1887         * gtk/gtkclipboard.c: Make the finalizer work when display is
1888         not set.
1889
1890 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1891
1892         Draw bottom shadow of GtkCalender headings. (#506113)
1893
1894         * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1895
1896 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1897
1898         * gtk/gtkcalendar.c: Document the initial values of year/month/day
1899         properties.
1900
1901 2007-12-28  Christian Persch  <chpe@gnome.org>
1902
1903         * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1904         a mem leak. Bug #506096.
1905
1906 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1907
1908         * gtk/gtktable.c:
1909         * gtk/gtktreeview.c:
1910         * gtk/gtkprintoperation.c:
1911         * gtk/gtkprogressbar.c:
1912         * gtk/gtkmessagedialog.c:
1913         * gtk/gtknotebook.c:
1914         * gtk/gtkprinter.c:
1915         * gtk/gtkfilesel.c:
1916         * gtk/gtklabel.c:
1917         * gtk/gtklinkbutton.c:
1918         * gtk/gtkmenu.c: More default property value corrections.
1919
1920 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1921
1922         * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1923         accel_group unless it is set.
1924
1925 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1926
1927         * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1928
1929 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1930
1931         * gtk/gtkhandlebox.c: Fix the default values of shadow and 
1932         shadow-type properties.
1933
1934         * gtk/gtkfontsel.c: Fix the default values of several properties.
1935
1936         * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1937         property.
1938
1939         * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1940
1941         * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1942         property.
1943
1944 2007-12-28  Johan Dahlin  <johan@gnome.org>
1945
1946         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1947         (gtk_dialog_buildable_custom_tag_start): Chain up. 
1948         This makes it possible to have accelerators tags on GtkDialog 
1949         subclasses.
1950
1951 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1952
1953         Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1954         are shown within the widget, or just as tooltip. (#339540)
1955
1956         * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1957         aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1958         * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1959         in flags vbox.
1960
1961 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1962
1963         Try more decent appearance of calendar details separator. (#339540)
1964
1965         * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1966         and make it short by one pixel on each side.
1967
1968 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1969
1970         Apply trivial code-style changes from attachement 101101. (#339540)
1971
1972         * tests/testcalendar.c: Some updates to current GTK+ code-style.
1973
1974 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1975
1976         Restructure testcalendar for testing calendar details. (#339540)
1977
1978         * tests/testcalendar.c: Push code arround for testing calendar details.
1979
1980 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1981
1982         Implement GtkTooltip API for calendar details. (#339540)
1983
1984         * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1985         Remember detail overflows in calendar_paint_day to show the tooltip
1986         only when neccessary.
1987
1988 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1989
1990         Without setting "detail-width-chars" and "detail-height-rows"
1991         properties not only the widget has to be redrawn on certain
1992         conditions, but also its size must be recalculated. (#339540)
1993
1994         * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1995         that function instead of gtk_widget_queue_draw.
1996
1997 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1998
1999         Consider details for size-request and expose-event. (#339540)
2000
2001         * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
2002         is_color_attribute functions. Change gtk_calendar_size_request
2003         and calendar_paint_day to consider and show calender details.
2004
2005 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
2006
2007         * gtk/gtkcombobox.c: Introduce local priv variables to 
2008         reduce ->->
2009
2010 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
2011
2012         * gtk/gtkcombobox.c: Correct the default value for the 
2013         tearoff-title property.
2014
2015         * gtk/gtkcellrenderertext.c: Fix the default value for the
2016         wrap-mode and font-scale properties.
2017
2018         * gtk/gtkaspectratio.c: Fix the default value for the ratio
2019         property.
2020
2021 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
2022
2023         * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
2024         defines.  (#505708,  MINAMI Hirokazu)
2025
2026 2007-12-27  Christian Persch  <chpe@gnome.org>
2027         
2028         * Makefile.am: Install gail.pc. Bug #505859.
2029
2030 2007-12-27  Mathias Hasselmann  <mathias@openismus.com>
2031
2032         Add infrastructure for GtkCalendar details. (#339540)
2033
2034         * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
2035         Add "detail-width-chars" and "detail-height-rows" properties,
2036         and gtk_calendar_set_detail_func function.
2037
2038 2007-12-27  Xan Lopez  <xan@gnome.org>
2039
2040         * gtk/gtk.symbols: 
2041         * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 
2042
2043         Add gtk_border_new to avoid memory allocator confusions when using
2044         GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
2045
2046 2007-12-27  Christian Persch  <chpe@gnome.org>
2047
2048         * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
2049         bug #504886 not to read unitialised memory.
2050
2051 2007-12-26  Xan Lopez  <xan@gnome.org>
2052
2053         * gtk/gtkstatusbar.c (has_extra_children): take into account the
2054         modification of the internal frame contents to decide if we have
2055         extra children. (#415677)
2056
2057 2007-12-22  Christian Persch  <chpe@gnome.org>
2058
2059         * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2060
2061 2007-12-25  Christian Persch  <chpe@gnome.org>
2062
2063         * modules/other/gail/gailwindow.c: (gail_window_initialize):
2064         Initialise |widget|. Fixes a buglet introduced by the commit from bug
2065         #505226.
2066
2067 2007-12-25  Christian Persch  <chpe@gnome.org>
2068
2069         * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2070         
2071 2007-12-25  Christian Persch  <chpe@gnome.org>
2072
2073         * modules/other/gail/*.[ch]: Remove relocations from the atk
2074         factories. Remove unused gail_foo_new() functions. Fix object
2075         instantiation to be derivation safe by moving initialisation code
2076         from the removed gail_foo_new() functions to the
2077         AtkObjectClass::initialize implementation. Bug #505226.
2078
2079 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2080
2081         * modules/other/gail/gailentry.c:
2082         * modules/other/gail/gailimage.c:
2083         * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2084         uses of clipboards and settings.  (#504722, Christian Persch)
2085
2086 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2087
2088         * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2089          Kazuki IWAMOTO)
2090
2091 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2092
2093         * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2094         use the time and button information from the event.  (#504901,
2095         Peter Bloomfield)
2096
2097 2007-12-23  Cody Russell  <bratsche@gnome.org>
2098
2099         * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2100         the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2101         Fixes a regression caused by #164537 patch where transient
2102         windows that are hidden get shown (incorrectly) when their
2103         parents are minimized. (#504984)
2104         
2105 2007-12-22  Christian Persch  <chpe@gnome.org>
2106
2107         * modules/other/gail/gailcell.c:
2108         * modules/other/gail/gailcontainercell.c:
2109         * modules/other/gail/gailexpander.c:
2110         * modules/other/gail/gailtextcell.c:
2111         * modules/other/gail/gailtextview.c:
2112         * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2113
2114 2007-12-22  Christian Persch  <chpe@gnome.org>
2115
2116         * modules/other/gail/*.c: Include config.h. Bug #504720.
2117
2118 2007-12-22  Christian Persch  <chpe@gnome.org>
2119
2120         * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2121         handwritten get_type functions. Bug #504661.
2122
2123 2007-12-23  Xan Lopez  <xan@gnome.org>
2124
2125         * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2126         to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2127
2128         Patch by Sadrul Habib Chowdhury (#504804)
2129
2130 2007-12-22  Christian Persch  <chpe@gnome.org>
2131
2132         * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2133         #504645, patch by Li Yuan.
2134
2135 2007-12-22  Christian Persch  <chpe@gnome.org>
2136
2137         * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2138
2139 2007-12-22  Christian Persch  <chpe@gnome.org>
2140         
2141         * modules/other/gail/gail.c:
2142         * modules/other/gail/gailbutton.c:
2143         * modules/other/gail/gailcell.c:
2144         * modules/other/gail/gailcombo.c:
2145         * modules/other/gail/gailcombo.h:
2146         * modules/other/gail/gailcombobox.c:
2147         * modules/other/gail/gailentry.c:
2148         * modules/other/gail/gailexpander.c:
2149         * modules/other/gail/gailmenuitem.c:
2150         * modules/other/gail/gailnotebook.c:
2151         * modules/other/gail/gailnotebookpage.c:
2152         * modules/other/gail/gailnotebookpage.h:
2153         * modules/other/gail/gailoptionmenu.c:
2154         * modules/other/gail/gailrange.c:
2155         * modules/other/gail/gailtextview.c:
2156         * modules/other/gail/gailtreeview.c:
2157         * modules/other/gail/gailtreeview.h:
2158         * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2159         Bug #504571.
2160
2161 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
2162
2163         * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2164         Christian Persch)
2165
2166 2007-12-21  Richard Hult  <richard@imendio.com>
2167
2168         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2169         Plug leak of destroyed subviews, fixes bug #504753.
2170
2171 2007-12-20  Johan Dahlin  <johan@gnome.org>
2172
2173         * tests/Makefile.am (TEST_PROGS): 
2174         * tests/defaultvaluetest.c: Add a test for default values,
2175         based on program by Christan Perch
2176
2177 2007-12-20  Johan Dahlin  <johan@gnome.org>
2178
2179         * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
2180         Refactor to avoid some duplication.
2181         Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2182         Fixes #504749, Yuri Pimenov
2183
2184 2007-12-20  Kristian Rietveld  <kris@imendio.com>
2185
2186         * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
2187         the build work again on systems without xrandr 1.2.
2188
2189 2007-12-20  Christian Persch  <chpe@gnome.org>
2190
2191         * configure.in:
2192         * modules/other/gail/libgail-util/Makefile.am:
2193         Keep the same libtool version as the standalone libgail-util had.
2194         Bug #504643.
2195
2196 2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
2197
2198         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2199
2200 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2201         
2202         * gdk/x11/gdkapplaunchcontext-x11.c:
2203         Update for gio API changes
2204
2205 2007-12-20  Richard Hult  <richard@imendio.com>
2206
2207         * gdk/quartz/GdkQuartzWindow.c:
2208         * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2209         processing events after changing the size.
2210
2211 2007-12-20  Richard Hult  <richard@imendio.com>
2212
2213         * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2214         Add stub for quartz to fix build.
2215
2216 2007-12-20  Christian Persch  <chpe@gnome.org>
2217
2218         * modules/other/gail/Makefile.am:
2219         * modules/other/gail/gailimage.c: (gail_image_class_init),
2220         (gail_image_init), (elide_underscores), (gail_image_get_name),
2221         (atk_image_interface_init), (gail_image_finalize):
2222         * modules/other/gail/gailimage.h:
2223         R modules/other/gail/gailintl.h:
2224         * po/POTFILES.skip: Use the stock item's label as the name of the
2225         accessible in gailimage.c. Bug #504246.
2226
2227 2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
2228
2229         Avoid some compiler warnings and remove obsolete code. (#339540)
2230
2231         * gtk/gtkcalendar.c: Change week and year variable in
2232         calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2233         0" block from calendar_paint_day: The feature in question is handled
2234         few lines above. Cast data returned by gtk_selection_data_get_text()
2235         to (gchar*) in gtk_calendar_drag_data_received.
2236
2237 2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
2238
2239         * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2240
2241 2007-12-19  Johan Dahlin  <johan@gnome.org>
2242
2243         * tests/buildertest.c (test_object_properties): 
2244         Add another call to gtk_builder_add_string after using
2245         delayed properties, as reported in #504393 but already
2246         fixed in #495769.
2247
2248 2007-12-18  Christian Persch  <chpe@gnome.org>
2249
2250         * configure.in:
2251         * docs/reference/Makefile.am:
2252         * docs/reference/libgail-util/*:
2253         * gail-uninstalled.pc.in:
2254         * gail.pc.in:
2255         * modules/Makefile.am:
2256         * modules/other/Makefile.am:
2257         * modules/other/gail/*:
2258         * modules/other/gail/libgail-util/*:
2259         * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2260
2261 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2262
2263         * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2264         * gdk/win32/gdkproperty-win32.c: 
2265         * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2266
2267         * gtk/gtkimmodule.[hc]: 
2268         * gtk/gtkimmulticontext.[hc]: When determining the default context,
2269         look at the gtk-im-module setting, and listen for changes to the
2270         setting.  (#502446, Akira Tagoh)
2271
2272 2007-12-17  Kristian Rietveld  <kris@imendio.com>
2273
2274         * gtk/gtktooltip.c (gtk_tooltip_finalize),
2275         (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2276         to NULL as soon as it's destroyed.  (#496546, patch from
2277         Benjamin Berg).
2278
2279 2007-12-17  Kristian Rietveld  <kris@imendio.com>
2280
2281         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2282         always determine what arrow to show if show_sort_indicator is true.
2283         (#352738, Chris Vine).
2284
2285 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
2286
2287         Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2288         Sébastien Granjoux)
2289
2290         * gtk/gtkpaned.c: Call gtk_container_forall instead of
2291         gtk_container_foreach in get_child_panes.
2292
2293 2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
2294
2295         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2296
2297         Plug leak: When reordering the info in the list the old node is
2298         removed but not freed. (#503569)
2299
2300 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
2301
2302         * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2303         Use u32 instead of __u32 and u8 instead of __u8 as the other types
2304         are deprecated since DirectFB 1.0.0. If compiling with an older
2305         version define the new type name to the old types. Fixes bug #503190.
2306
2307 2007-12-14  Ray Strode  <rstrode@redhat.com>
2308
2309         * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2310         instead of g_signal_connect_after (..., "realize", ...) as an
2311         alternative to gtk_widget_realize () (bug 503537).
2312
2313 2007-12-14  Michael Natterer  <mitch@imendio.com>
2314
2315         * gdk/gdkinternals.h
2316         * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2317         individual files.
2318
2319         * gdk/gdkapplaunchcontext.c
2320         * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2321         header already includes everything now.
2322
2323 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
2324
2325         Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2326         next stable release shall be 2.16, not 2.14 - even if disagree.
2327
2328         * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2329
2330 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
2331
2332         Change GtkToolItem to retrieve its properties from GtkToolShell
2333         interface, instead of relying on being child of a GtkToolbar.
2334         (#5034079)
2335
2336         * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2337         docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2338         * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2339         * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2340         * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2341         * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2342         Take section docs from template file and update them for GtkToolShell.
2343         * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2344         * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2345
2346 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
2347
2348         Extract loading of GtkPageSetup and GtkPrintSettings from their
2349         *_new_*() functions and move that code into separate
2350         *_load_*() functions (#475565).
2351
2352         * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2353         Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2354         gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2355         Change the matching *_new_*() functions to use those functions.
2356
2357 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2358
2359         * gtk/gtk.symbols:
2360         * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2361
2362 2007-12-14  Kristian Rietveld  <kris@imendio.com>
2363
2364         * gtk/tests/liststore.c:
2365         * gtk/tests/treestore.c: added tests for insertion functions.
2366
2367 Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
2368
2369         * Add RandR 1.2 support
2370
2371         - New monitors_changed signal - New API to get width/height of
2372           monitors, and the name of the plug
2373
2374 2007-12-13  Kristian Rietveld  <kris@imendio.com>
2375
2376         * gtk/tests/liststore.c:
2377         * gtk/tests/treestore.c: test the move and swap functions on a
2378         store with only one node.
2379
2380 2007-12-13  Kristian Rietveld  <kris@imendio.com>
2381
2382         * gtk/gtktestutils.c (gtk_test_init): add a call to
2383         g_test_bug_base().
2384
2385         * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2386         appriopriate tests.
2387
2388 2007-12-13  Kristian Rietveld  <kris@imendio.com>
2389
2390         * gtk/tests/liststore.c:
2391         * gtk/tests/treestore.c: start composing tests for the list and tree
2392         store.
2393
2394         * gtk/tests/treeview-scrolling.c: added automated tests for
2395         GtkTreeView's scrolling "subsystem".
2396
2397         * gtk/tests/Makefile.am: updated; added new test programs.
2398
2399 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
2400
2401         Make the code compile again after the GdkAppLaunchContext changes.
2402
2403         * configure.in: Add gio-2.0 to GDK_PACKAGES.
2404         * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2405
2406 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
2407
2408         * gdk/gdkapplaunchcontext.c: Add docs
2409
2410 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
2411
2412         * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
2413         in gdk, providing startup notification.  (#503203)
2414
2415         * gdk/x11/gdkapplaunchcontext-x11.c: 
2416         * gdk/win32/gdkapplaunchcontext-win32.c:
2417         * gdk/quartz/gdkapplaunchcontext-quartz.c: 
2418         * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2419         parts. All but X11 are just empty stubs for now.
2420
2421         * gdk/gdk.symbols:
2422         * gdk/gdkinternals.h:
2423         * gdk/Makefile.am:
2424         * gdk/x11/Makefile.am: 
2425         * gdk/win32/Makefile.am: 
2426         * gdk/quartz/Makefile.am: 
2427         * gdk/directfb/Makefile.am: Necessary glue.
2428
2429 2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
2430
2431         * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2432
2433 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2434
2435         * gdk/directfb/gdktestutils-directfb.c:
2436         * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2437         which adds testing functions to the DirectFB backend.
2438
2439 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2440
2441         * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2442         Ciccani which fixes the mixing of gdk and cairo rendering.
2443
2444 2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
2445
2446         * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2447         on "drag-motion" handlers. Clearify documentation for
2448         gtk_drag_dest_set.
2449
2450 2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
2451
2452         * buildertest.c: made unnecessarily exported symbols static.
2453         switched g_return_if_fail() statements in tests to assertions.
2454         special cased currently failing Widget/accesibility test to
2455         run only for g_test_thorough(), so it doesn't break make check.
2456         some coding style fixes.
2457
2458         * Makefile.am: added buildertest to TEST_PROGS.
2459
2460 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2461
2462         * docs/tutorial/gtk-tut.sgml:
2463           Use gtk_widget_get_parent_window() instead of widget->parent->window.
2464
2465 2007-12-10  Richard Hult  <richard@imendio.com>
2466
2467         * gdk/quartz/Makefile.am:
2468         * gdk/quartz/gdkquartz.h:
2469         * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2470         header (bug #405915). Also add a getter for the toplevel nswindow.
2471
2472 2007-12-10  Richard Hult  <richard@imendio.com>
2473
2474         * gdk/quartz/gdkdrawable-quartz.c:
2475         (gdk_quartz_drawable_get_context),
2476         (gdk_quartz_drawable_release_context):
2477         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2478         (gdk_event_check), (gdk_event_dispatch), (poll_func):
2479         * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2480         used for each drawing context and in prepare, dispatch and poll
2481         with one that exists across each main loop iteration. Fixes leaks
2482         on leopard and protects against future leaks introduce when the
2483         underlying system changes again (bug #492977).
2484
2485 2007-12-10  Richard Hult  <richard@imendio.com>
2486
2487         * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2488         Fix the check for no changes to position and size.
2489
2490 2007-12-10  Richard Hult  <richard@imendio.com>
2491
2492         * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2493         sized areas at (0, 0), patch from Paul Davis.
2494
2495 2007-12-10  Richard Hult  <richard@imendio.com>
2496
2497         * gdk/quartz/gdkprivate-quartz.h: 
2498         * gdk/quartz/gdkeventloop-quartz.c:
2499         (_gdk_quartz_event_loop_get_pending),
2500         (_gdk_quartz_event_loop_check_pending),
2501         (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2502         (gdk_event_check), (gdk_event_dispatch):
2503         * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2504         (_gdk_events_queue): Fix a bug where we could end up trying to
2505         handle the same event more than once. Based on patch from Paul
2506         Davis.
2507
2508 2007-12-10  Tor Lillqvist  <tml@novell.com>
2509
2510         * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2511         package. (#502850)
2512
2513 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2514
2515         * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2516         to avoid further fallout from the fix for bug 388321.
2517
2518 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2519
2520         * gdk/directfb/gdkgc-directfb.c:
2521         * gdk/directfb/gdkdrawable-directfb.c:
2522         * gdk/directfb/gdkdirectfb.h:
2523         * gdk/directfb/gdkwindow-directfb.c:
2524         * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2525         (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2526         blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2527         opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2528         which are expected to improve the performance of the DirectFB backend.
2529         Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2530
2531 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
2532
2533         * gtk/gtkcontainer.c: Correct the documentation of child
2534         property getter arguments.  (#501992, David Brigada)
2535
2536 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
2537
2538         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2539         leak pixbufs.  (#502250, Yevgen Muntyan)
2540
2541 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
2542
2543         * gtk/gtkprintunixdialog.c:
2544         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2545         Print and Page Setup dialogs (#502202).
2546
2547 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
2548
2549         * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2550         Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2551         of XVFB_START, since it's the GTESTER invokation that needs this.
2552
2553 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
2554
2555         * gdk-pixbuf/gdk-pixbuf.symbols:
2556         * gdk/gdk.symbols:
2557         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2558         positives in abicheck.sh
2559
2560 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2561
2562         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2563         GDK events generations in the DirectFB backend.
2564
2565 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
2566
2567         * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2568         set of likely unused display ids, because MacOS has no seq(1) command.
2569
2570 2007-12-06  Richard Hult  <richard@imendio.com>
2571
2572         * gdk/quartz/gdkevents-quartz.c:
2573         (synthesize_crossing_events_for_ns_event): Fix warning when
2574         switching spaces in leopard.
2575
2576 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
2577
2578         * tests/floatingtest.c: ported to new testing framework.
2579
2580         * tests/Makefile.am: run floatingtest as testing framework test.
2581
2582 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
2583
2584         * tests/autotestfilechooser.c: majorly speed up execution by reducing
2585         timeouts and converting main loop sleeps to pending/iterate loops with
2586         very low priority async handlers. eliminate output for non-verbose
2587         tests. assert successfull subtests in all test functions. use testing
2588         framework in main().
2589
2590         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2591         executed inside Xvfb upon make check.
2592
2593 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
2594
2595         * tests/objecttests.c: use string comparisons for string property
2596         values and get rid of referencing symbols in array initialization.
2597
2598 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
2599
2600         * gtk+/Makefile.decl: run tests in current dir after setting up the
2601         logging directory, so their results get properly merged into the
2602         resulting test log.
2603
2604         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2605         tests to loop over registered Gdk/Gtk+ types.
2606
2607         * gtk+/tests/objecttests.c: new test program, implements automated
2608         property tests. several properties are blacklisted because they
2609         seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2610         can be used to test blacklisted properties and see which proprty failed.
2611
2612 2007-12-04  Richard Hult  <richard@imendio.com>
2613
2614         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2615         Fully initialize the root window, fixes bug #501583.
2616
2617 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
2618
2619         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2620         crash epiphany.
2621
2622 2007-12-03  Richard Hult  <richard@imendio.com>
2623
2624         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2625         Don't crash when dragging from a source that doesn't support uri
2626         lists (bug #499868, Paul Davis).
2627
2628 2007-12-03  Richard Hult  <richard@imendio.com>
2629
2630         * gdk/quartz/gdkwindow-quartz.c:
2631         (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2632         parent relative bg pixmap is set, and no parent has a bg
2633         pixmap. Fixes bug #500804.
2634
2635 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
2636
2637         Two optimizations for icon cache lookups.
2638
2639         * gtk/gtkiconcache.[hc]:
2640         * gtk/gtkicontheme.c: Remember the directory index for
2641         subdirectories, instead of running over the directory list
2642         again and again.
2643
2644         * gtk/gtkiconcache.c (find_image_offset): Remember the last 
2645         chain and try it first; this helps with the the usage patterns
2646         in gtkicontheme.c, where the same icon is queried for a lot
2647         of subdirectories.
2648
2649 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
2650
2651         * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2652         functions from header files. this should be portable across linux and
2653         Mac OS, unlike the previpous sed expression.
2654
2655 2007-12-1  Cody Russell  <bratsche@gnome.org>
2656
2657         * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2658         On Windows, queue a redraw of child2 whenever we set
2659         the pane handle position.  This is unfortunately kind
2660         of hacky, but solves the visual artifacts that were
2661         occuring on at least certain types of child widgets
2662         (e.g., text views and tree views) that are inside
2663         horizontal or vertical panes. (#144269)
2664
2665 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
2666
2667         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
2668
2669 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
2670
2671         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2672         debug spew.
2673
2674 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
2675
2676         * gtk/Makefile.am: Fix ordering of subdirs.
2677
2678 2007-11-28  Tor Lillqvist  <tml@novell.com>
2679
2680         A proper build of GNU libintl is supposed to export the variable
2681         _nl_msg_cat_cntr. configure looks for that variable in order to
2682         recognize GNU gettext. If it sees that it is indeed GNU gettext
2683         that is used, it decides to install message catalogs in
2684         share/locale, otherwise in lib/locale. Until now on Windows I have
2685         built GTK+ against a build of GNU gettext that did not export
2686         _nl_msg_cat_cntr. But this will change, so we can't assume message
2687         catalogs are always in lib/locale.
2688
2689         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2690         GTK_LOCALEDIR being either in "lib" or "share". Move the function
2691         before the inclusion of gtkprivate.h so that it sees the original
2692         GTK_LOCALEDIR.
2693
2694         * gtk-zip.sh.in: Check whether the message catalogs are in
2695         share/locale or lib/locale.
2696
2697         * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2698         that the code in _gtk_get_localedir() will find the slashes.
2699
2700 2007-11-28  Tor Lillqvist  <tml@novell.com>
2701
2702         * gtk/Makefile.am: Improve portability. The -o option is present
2703         only in newish GNU egreps. Use one more sed in the pipeline
2704         instead.
2705
2706 2007-11-28  Tor Lillqvist  <tml@novell.com>
2707
2708         Fix #375893, patch by Ben Hague:
2709
2710         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2711         around GetLogicalDrives() that takes also the viewable drive
2712         restrictions in the Registry (which are usually the result of an
2713         Active Directory Group Policy) into account.
2714
2715         (check_volumes, gtk_file_system_win32_list_volumes) Call
2716         get_viewable_logical_drives() instead of GetLogicalDrives().
2717
2718 2007-11-27  Matthias Clasen <mclasen@redhat.com>
2719
2720         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2721         variables to silence valgrind.  (#495124, Morten Welinder)
2722
2723 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
2724
2725         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2726         that the construct_child function is responsible for returning a
2727         reference.
2728         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2729         objects from constructors
2730         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2731         g_object_ref() to this construction function (it's the only
2732         implementer in GTK)
2733
2734         Fixes #496645.
2735
2736 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
2737
2738         * gtkbuilder.c: remove concept of root objects and just refcount
2739         all objects in the builder.  Fixes #496651.
2740
2741 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
2742
2743         * tests/buildertest.c (test_window): fix invalid free
2744
2745 2007-11-26  Josselin Mouette <joss@malsain.org>
2746
2747         reviewed by: Federico Mena Quintero
2748
2749         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2750         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2751         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2752         Make the shortcuts activate with a single click. (#148828)
2753         Fix a few things affected by the change:
2754           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
2755             where no shortcut is selected.
2756           - Don't activate a shortcut in the response callback.
2757           - Filter out duplicate entries in volumes and bookmarks to 
2758             avoid the selection to change when reordering them with DnD.
2759
2760 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2761
2762         * gtk/gtkmain.c:
2763         * gtk/gtknotebook.c:
2764         * gtk/gtkplugprivate.h:
2765         * gtk/gtksocket.c:
2766         * gtk/gtksocketprivate.h:
2767         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2768
2769 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2770
2771         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2772         (#495574, Richard Hult)
2773
2774 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2775
2776         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2777         String change !   (#376361, Sven Neumann)
2778
2779 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2780
2781         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2782         destroy.
2783         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2784         Welinder)
2785
2786 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2787
2788         * gtk/gtkassistant.c: Improve alternative button
2789         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2790
2791 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2792
2793         * gtk/gtkcalendar.c: Fix a theming problem with colors
2794         in GtkCalendar.  (#499703, Michael Hofmann)
2795
2796 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2797
2798         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2799
2800 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2801
2802         Use templates for glib-mkenums calls instead of 
2803         complicated commandlines in Makefiles.  (#429910)
2804
2805         * gdk-pixbuf/Makefile.am:
2806         * gdk/Makefile.am: 
2807         * gtk/Makefile.am: 
2808         * perf/Makefile.am: Use templates for glib-mkenums
2809
2810         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2811         * gdk/gdkenumtypes.[ch].template: 
2812         * gtk/gtktypebuiltings.[ch].template: 
2813         * perf/typebuiltins.[ch].template: The templates
2814
2815 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2816
2817         * gtk/gtkfilechooserbutton.c:
2818         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2819         some compilers choke on that.  (#467722)
2820
2821 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2822
2823         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2824         about hook setup.  (#425004, Emmanuele Bassi)
2825
2826 2007-11-26  Tor Lillqvist  <tml@novell.com>
2827
2828         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2829         monitor the window currently is on, not always the primary
2830         monitor. (#463865, Tim Evans)
2831
2832 2007-11-26  Tor Lillqvist  <tml@novell.com>
2833
2834         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2835
2836         * gdk/win32/Makefile.am: Add it.
2837
2838 2007-11-26  Tor Lillqvist  <tml@novell.com>
2839
2840         * configure.in: Don't add jasper to all_loaders if no libjasper.
2841
2842 2007-11-25  Bastien Nocera  <hadess@hadess.net>
2843
2844         * configure.in: Add detection for libjasper, used by the
2845         gdk-pixbuf JPEG2000 loader
2846
2847 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
2848
2849         * configure.in: Require gtk-doc 1.8
2850
2851         * */*.c: Use gtk-doc abbreviations for examples in docs.
2852
2853 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
2854
2855         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2856         typo.  (#498922)
2857
2858 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
2859
2860         * gtk/gtkdialog.c: Move signal and property documentation inline,
2861         fix a problem with the ::response signal docs.  (#499133, Josselin
2862         Mouette)
2863
2864 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
2865
2866         * Makefile.decl: initialize automake variables EXTRA_DIST and
2867         TEST_PROGS for unconditional appending via += in other makefiles.
2868         define recursive test targets: test, test-report, perf-report,
2869         full-report, as described here:
2870       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2871         the test targets will execute Gtk+ test programs within an Xvfb session.
2872
2873         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2874
2875         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2876         g_test_run() to run the tests to integrate with the testing framework.
2877
2878         * gtk/tests/Makefile.am: removed exemplary testing rules.
2879
2880         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2881         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2882         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2883         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2884         * docs/reference/Makefile.am, docs/tools/Makefile.am:
2885         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2886         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2887         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2888         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2889         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2890         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2891         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2892         * modules/engines/ms-windows/Theme/Makefile.am:
2893         * modules/engines/ms-windows/Makefile.am:
2894         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
2895         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2896         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2897         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2898         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2899         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2900         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2901
2902 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
2903
2904         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2905         (#485662, patch by Herbert Valerio Riedel)
2906
2907 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
2908
2909         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
2910
2911 2007-11-21  Richard Hult  <richard@imendio.com>
2912
2913         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2914         stubs for the testing functions to fix the build.
2915
2916 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2917
2918         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2919         (#467711, The Written Word)
2920
2921 2007-11-21  Ross Burton  <ross@openedhand.com>
2922
2923         * gdk/x11/gdksettings.c:
2924         Add xsetting for gtk-scrolled-window-placement (#458103).
2925
2926 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2927
2928         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2929         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2930         (#469239, Michael Natterer)
2931
2932 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2933
2934         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2935         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2936         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2937         (#436536, Tommi Komulainen)
2938
2939 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
2940
2941         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2942         property.  (#489782, Jan Janech)
2943
2944 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
2945
2946         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2947         frames.  (#107398, Owen Taylor, Miguel Gomez)
2948
2949 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2950
2951         Moved Gdk test functions from Gtk+ to Gdk test utils.
2952
2953         * gdk/Makefile.am: added gdktestutils.h to public includes.
2954
2955         * gdk/gdk.h: added gdktestutils.h to public includes.
2956
2957         * gdk/gdk.symbols: added gdk_test_simulate_button,
2958         gdk_test_simulate_key, gdk_test_render_sync.
2959
2960         * gdk/gdktestutils.h: new file, added prototypes for
2961         gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
2962
2963         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2964
2965         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2966         gdk_test_simulate_key, gdk_test_render_sync.
2967
2968         * gtk/gtktestutils.c:
2969         * gtk/gtktestutils.h:
2970         * gtk/gtk.symbols: removed gtk_test_simulate_button
2971         gtk_test_simulate_key, gtk_test_xserver_render_sync.
2972
2973         * gtk/tests/testing.c: call gdk_test_render_sync.
2974
2975 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2976
2977         Added unit tests for Gtk+ testing utilities.
2978
2979         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2980         utility functions. some g_test_* related portions are disabled and need
2981         to be enabled once Gtk+ depends on a new glib with the GLib testing
2982         framework integrated.
2983
2984         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
2985         tests.  added exemplary test rules to run tests inside Xvfb. this
2986         needs to depend on gtester for full fledged testing.
2987
2988         * gtk/Makefile.am: build gtk+/gtk/tests, define
2989         -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
2990         e.g. gtk_text_get_type().
2991
2992         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2993
2994 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2995
2996         Added Gtk+ testing utilities.
2997
2998         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
2999         functions.  for the most part, the functions herein involve
3000         navigating and interacting with dialog elements programatically,
3001         to automate user interaction tests of dialogs and widgets.
3002
3003         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
3004
3005         * gtk/gtk.symbols: added gtk_test_* symbols.
3006
3007         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
3008         the build.  generate gtktypefuncs.c which contains a list of all
3009         _get_type functions in Gtk+ and Gdk.
3010
3011 2007-11-20  Bastien Nocera  <hadess@hadess.net>
3012
3013         * configure.in: add support for conditional icns gdk-pixbuf loader
3014         (Closes: #395738)
3015
3016 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
3017
3018         * configure.in: updated version number to 2.15.0 for development.
3019
3020 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
3021
3022         === Branch for 2.12 ===
3023