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