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