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