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