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