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