1 2008-05-26 Michael Natterer <mitch@imendio.com>
3 * gtk/gtkimmodule.h: fix indentation.
5 2008-05-26 Michael Natterer <mitch@imendio.com>
7 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
9 * gtk/gtkshow.c: remove inclusion of single files from gdk/
11 Removed trailing whitespace in both files.
13 2008-05-26 Richard Hult <richard@imendio.com>
15 Bug 530353 – Mac-like gtk_accelerator_get_label()
17 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
18 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
19 On quartz, make gtk_accelerator_get_label() format a Mac-like
20 string, using unicode characters for modifier keys, arrows, delete
21 etc. Patch from Yevgen Muntyan.
23 2008-05-26 Richard Hult <richard@imendio.com>
25 Bug 534869 – Length miscalculation in
26 _gtk_quartz_get_selection_data_from_pasteboard
28 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
29 Get the number of bytes, not the number of characters, patch from
32 2008-05-26 Matthias Clasen <mclasen@redhat.com>
34 * gtk/gtkwidget.c: Some doc formatting fixes.
36 2008-05-26 Matthias Clasen <mclasen@redhat.com>
38 Bug 511163 – Remove pango_extents_to_pixels() calls
40 * gtk/gtkcellrenderertext.c (get_size): Use
41 pango_layout_get_pixel_extents.
43 * configure.in: Bump Pango requirement to 1.20
45 * INSTALL.in: Update required versions
47 2008-05-26 Matthias Clasen <mclasen@redhat.com>
49 Bug 513811 – Use cairo_format_stride_for_width()
51 * gtk/gtkhsv.c (paint_ring, paint_triangle):
52 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
53 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
55 * configure.in: Bump cairo requirement to 1.6.0
57 * INSTALL.in: Update required versions
59 2008-05-26 Matthias Clasen <mclasen@redhat.com>
61 * gtk/gtkshow.[hc]: Formatting fixes
63 * gtk/gtkmountoperation.c: Add docs
65 2008-05-25 Cody Russell <bratsche@gnome.org>
67 Bug 507389 – use gslice for gtksettings
69 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
70 Report and patch by Christian Persch.
72 2008-05-25 Cody Russell <bratsche@gnome.org>
74 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
75 when options are missing
77 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
78 that other processes that try to open it will fail gracefully. Also
79 fix a crasher caused by lack of a NULL check. Report and patch
82 2008-05-25 Cody Russell <bratsche@gnome.org>
84 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
86 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
87 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
88 so that we also take into account for foreign windows.
89 Report and patch by Nathaniel Smith.
91 2008-05-25 Cody Russell <bratsche@gnome.org>
93 Bug 525461 - Don't invalidate under an input-only child
95 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
96 Check that the window is not input-only before invalidating.
97 Report and patch by Owen Taylor.
99 2008-05-25 Cody Russell <bratsche@gnome.org>
101 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
104 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
105 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
107 2008-05-25 Cody Russell <bratsche@gnome.org>
109 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
110 caused by missing flag initialization
112 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
113 top-level private flags correctly. Patch by Danny Baumann.
115 2008-05-25 Cody Russell <bratsche@gnome.org>
117 Bug 534463 - non-editable GtkTextView should not call
118 gtk_im_context_focus_in in focus event
120 * gtk/gtktextview.c: Add checks to see if the textview is
121 editable. Patch by Wang Diancheng.
123 2008-05-25 Matthias Clasen <mclasen@redhat.com>
125 Bug 501730 – use GSlice for small allocs
128 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
129 Patch by Christian Persch.
131 2008-05-25 Matthias Clasen <mclasen@redhat.com>
133 Bug 523930 – sort -> search in gtktreeview.c
135 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
136 glitch, pointed out by Björn Lindqvist.
138 2008-05-25 Matthias Clasen <mclasen@redhat.com>
140 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
142 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
143 doc glitch, pointed out by Christian Persch.
145 2008-05-25 Matthias Clasen <mclasen@redhat.com>
147 Bug 534694 – Col id in GtkListStore could be out of range
149 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
150 a bit. Pointed out by Jan Arne Petersen.
152 2008-05-25 Matthias Clasen <mclasen@redhat.com>
154 Bug 532497 – Configure problem when cross-compiling
156 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
157 pointed out by Marko Lindqvist.
159 2008-05-25 Richard Hult <richard@imendio.com>
161 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
162 Slight coding style cleanup.
164 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
166 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
167 Added support for parsing required toolkit versions (so that ui descriptions
168 can target specific versions of the backend widget libraries) bug 527612.
170 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
171 for the added xml tags to the ui description.
173 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
174 for requires tag handling.
176 2008-05-25 Richard Hult <richard@imendio.com>
178 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
179 gtk_drag_source_info_destroy in an idle, workaround for bug
180 #501588, that makes any code that uses the context returned from
181 gtk_drag_begin() crash, like treeview/iconview dnd.
182 (GdkDragSourceOwner::provideDataForType): only use the data if we
185 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
187 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
188 to the drag actions to allow trash (#137717).
190 2008-05-25 Josselin Mouette <joss@malsain.org>
192 reviewed by: Matthias Clasen
194 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
195 check that tracker is actually working before using it. Fixes
198 2008-05-25 Sven Neumann <sven@gimp.org>
200 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
201 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
202 and don't create an output window if it is set.
204 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
205 drawing areas. Fixes bug #519317.
207 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
209 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
210 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
212 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
213 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
214 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
215 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
216 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
217 (start_spinning), (gtk_spin_button_button_release),
218 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
219 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
220 (gtk_spin_button_update): Reorder strange window hierarchy of the
221 GtkSpinButton (#466000).
223 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
225 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
226 fix the wrong position for right and center justified labels with
227 logical.x > 0 (#530255).
229 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
231 * gtk/gtkfilechooserdefault.c:
232 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
235 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
237 * tests/pixbuf-lowmem.c
238 * tests/pixbuf-random.c
239 * tests/pixbuf-randomly-modified.c
240 * tests/pixbuf-read.c
241 * tests/pixbuf-threads.c
243 * tests/testtreeview.c: Fix remaining compiler warnings in these
246 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
248 reviewed by: Matthias Clasen
253 * gtk/gtkshow.c: (gtk_show_uri):
255 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
257 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
259 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
261 * tests/buildertest.c: (test_list_store): Add test.
263 2008-05-24 Matthias Clasen <mclasen@redhat.com>
265 Bug 520989 – icon factory buildable too strict
267 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
268 an optional attribute.
270 2008-05-24 Matthias Clasen <mclasen@redhat.com>
272 Bug 387972 – gtkassistant drawing problem
274 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
275 GtkAssistant work better in glade.
277 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
279 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
280 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
281 used in GtkToolItem) (#532787).
283 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
285 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
286 try to toggle the visibility of the location entry field in search and
287 recent mode (#526422).
289 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
291 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
292 (shortcuts_list_create): Show parse name as tooltip for path
295 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
297 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
298 pango_color_parse, do not reference XParseColor forms (#434991).
300 2008-05-24 James Sharpe <jsharpe@gnome.org>
302 * gdk/gdk.symbols: Remove duplicate
303 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
304 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
306 2008-05-23 Hans Breuer <hans@breuer.org>
308 * **/makefile.msc gtk/makefile.msc.in : updated
309 * gtk/gtkwidget.c : fix c99ism (variable at start of block
310 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
312 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
313 setlocale(LC_ALL, ...)
315 2008-05-23 Tor Lillqvist <tml@novell.com>
317 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
318 gdk_window_remove_redirection.
320 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
321 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
322 changes. Remove now unnecessary parameter checks as the caller
325 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
327 2008-05-23 Tor Lillqvist <tml@novell.com>
329 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
330 anything if style doesn't change. Improve debugging output.
332 2008-05-23 Michael Natterer <mitch@gimp.org>
335 * tests/print-editor.c
336 * tests/prop-editor.h
337 * tests/testmountoperation.c
338 * tests/testmultidisplay.c
339 * tests/testnouiprint.c
341 * tests/testprintfileoperation.h
342 * tests/testtreesort.c
343 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
344 files. Remove some redundant includes.
346 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
348 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
349 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
351 2008-05-21 Richard Hult <richard@imendio.com>
353 * gdk/quartz/gdkwindow-quartz.c:
354 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
355 offscreen rendering changes, fixes build.
357 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
359 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
361 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
362 return snapshot pixmap coordinates widget relative in *clip_rect.
364 * tests/testgtk.c: fixed bogus NULL pointer unref.
366 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
368 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
369 widget's allocation to cover extra widget windows placed outside the
370 widget allocation (spinbutton arrows are the prime example for this).
372 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
374 * Applied pixmap redirection patch by Alexander Larsson with
375 various updates from:
376 Bug 318807 – Offscreen windows and window redirection.
381 * updated docs to mention "Since 2.16".
383 * tests/testgtk.c: fixed snapshooting pixmap leak.
384 convert pixmap to pixbuf after snapshooting, to compensate for different
385 bit depths (occurs when snapshooting ARGB visuals and displaying the
386 pixmap in an RGB visual).
388 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
390 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
391 need for it. enqueue damage notification as GDK_DAMAGE events
392 for each painting redirection at the start of the event queue.
393 consider windows with a redirection fully visible when invalidating,
394 and when updating from backing store. cleaned up stale variables.
396 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
398 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
399 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
400 tree, drawingarea, text, handlebox, etc.
401 clip the redirected window hierarchy to window sizes, the visible
402 rectangles don't need to be taken into account here.
403 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
404 in case pixmap visuals could mismatch.
406 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
411 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
412 of possibly obscured widgets into an offscreen pixmap.
414 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
415 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
417 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
419 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
420 implementations here, adapted them to propagate redirects to child windows.
421 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
422 clipped to visible region. queue GDK_DAMAGE event delivery.
423 gdk_window_redirect_to_drawable(): install window painting redirection.
424 gdk_window_remove_redirection(): remove previously installed redirection.
426 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
427 renamed _gdk_window_new() and _gdk_window_reparent().
429 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
430 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
432 * gdk/gdkevents.h: added GDK_DAMAGE event type.
434 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
436 * gdk/gdkinternals.h: added internal prototypes.
438 2008-05-21 Michael Natterer <mitch@imendio.com>
444 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
446 2008-05-20 Matthias Clasen <mclasen@redhat.com>
448 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
451 Patch by Marek Kasik.
454 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
456 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
458 * modules/printbackends/file/gtkprintbackendfile.c:
459 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
460 get_default_page_size.
462 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
463 select its default paper size.
465 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
466 use the printer default.
468 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
469 if we don't have a default page setup.
471 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
473 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
474 can accept NULL for none. Fixes bug #533920.
476 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
478 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
479 gtk_spin_button_update): Remove two chunks of duplicated
482 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
484 * reverted recent unapproved changes by Yair Hershkovitz,
485 regarding: Bug 503071 – Application direction changes to right
486 to left even if theres no translation.
488 2008-05-19 Richard Hult <richard@imendio.com>
490 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
491 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
492 SetSystemUIMode instead of hiding and showing the menubar.
494 2008-05-19 Federico Mena Quintero <federico@novell.com>
496 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
497 can't be resized until you expand the "Browse for other folders"
500 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
501 Removed the "get_resizable" method.
502 (_gtk_file_chooser_embed_get_resizable): Removed.
504 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
506 * gtk/gtkfilechooserdefault.c: Likewise.
508 * gtk/gtkfilechooserdialog.c
509 (file_chooser_widget_default_size_changed): Act as if the dialog
510 were always resizable.
512 2008-05-19 Michael Natterer <mitch@imendio.com>
514 * gtk/gtkcellrenderer.c
515 * gtk/gtkcellrendererpixbuf.c
516 * gtk/gtkcellrenderertoggle.c
517 * gtk/gtkimagemenuitem.c
518 * gtk/gtkmenutoolbutton.c
519 * gtk/gtkoptionmenu.c
521 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
523 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
525 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
526 g_disable_setlocale().
528 2008-05-17 Richard Hult <richard@imendio.com>
530 * gdk/quartz/gdkwindow-quartz.c:
531 (gdk_window_impl_quartz_invalidate_maybe_recurse):
532 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
533 of g_idle_add. Add a temporary check if the window is already in
534 the updates list, since update_area currently doesn't always match
535 the backend's state, see bug #530801.
537 2008-05-13 Tor Lillqvist <tml@novell.com>
539 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
541 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
542 the "packet rate" of devices to zero instead of 50. This is
543 reported to help significantly with Wacom tablet behaviour in GIMP
544 and Inkscape. Patch from Thomas Bleeker.
546 2008-05-12 Richard Hult <richard@imendio.com>
548 * gdk/quartz/gdkevents-quartz.c:
549 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
550 as it's no longer necessary; instead the added quartz API to get
551 the nsevent from an event should be used. Also move the global
552 filter up so it's done before the check for window-less events.
554 2008-05-12 Tor Lillqvist <tml@novell.com>
556 Bug 532558 - Cannot build dll when using separate builddir
559 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
562 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
564 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
566 2008-05-12 Tor Lillqvist <tml@novell.com>
568 Bug 532059 - Leak in win32 clipboard manipulation
570 * gdk/win32/gdkselection-win32.c
571 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
574 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
576 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
577 gettext_initialization only once.
579 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
580 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
581 with the extended functionality that was in the removed dpgettext().
583 * gtk/gtkaccellabelc:
585 * gtk/gtkimmulticontext.c:
586 * gtk/gtkactiongroup.c:
587 * gtk/gtkintl.h: use glib i18n api.
589 2008-05-08 Richard Hult <richard@imendio.com>
591 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
592 currently invalidated region. Fixes bug #532048, patch by Yevgen
595 2008-05-08 Richard Hult <richard@imendio.com>
597 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
598 fd's revents, not the first one. Fixes bug #531056, spotted by
601 2008-05-07 Tor Lillqvist <tml@novell.com>
603 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
606 2008-05-05 Matthias Clasen <mclasen@redhat.com>
608 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
609 more printer status information in the print dialog.
611 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
612 printer-state-reasons into suitable messages and icons.
614 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
615 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
616 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
618 * gtk/gtkiconfactory.c:
619 * gtk/gtkstock.h: New stock icons to display printer state.
621 2008-05-07 Michael Natterer <mitch@imendio.com>
625 * gdk/directfb/gdkevents-directfb.c
626 * gdk/quartz/gdkevents-quartz.c
627 * gdk/win32/gdkevents-win32.c
628 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
629 order parameters src,dest and make src const.
631 2008-05-06 Richard Hult <richard@imendio.com>
633 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
634 * gdk/gdkinternals.h: Add private backend data to events, and
635 handle it when copying/freeing events. Currently only needed in
638 * gdk/directfb/gdkevents-directfb.c:
639 * gdk/quartz/gdkevents-quartz.c:
640 * gdk/win32/gdkevents-win32.c:
641 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
642 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
643 directfb. Implement for quartz. Part of fixing bug #473822.
645 2008-05-05 Richard Hult <richard@imendio.com>
647 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
648 framework if there is one.
650 2008-05-05 Michael Natterer <mitch@imendio.com>
652 * gtk/gtkcellrenderercombo.h
653 * gtk/gtkcellrendererspin.h
654 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
657 * gtk/gtkfilechooserdialog.h
658 * gtk/gtkfilechooserwidget.h
659 * gtk/gtkscalebutton.h: reorder instance and class structs to be
662 2008-05-04 Richard Hult <richard@imendio.com>
664 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
665 gdk_unicode_to_keyval() worked before using the result. Makes
666 function keys work, bug #530156. Also add F16 to the function key
669 2008-05-04 Richard Hult <richard@imendio.com>
671 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
672 semicolon after if statement. Fixes bug #530963, patch from Yevgen
675 2008-05-02 Michael Natterer <mitch@imendio.com>
677 * gtk/gtk.h: add 15 files that were missing (they all got included
678 indirectly by including gtk.h, so should have been here in the
681 2008-05-02 Michael Natterer <mitch@imendio.com>
683 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
685 2008-05-01 Richard Hult <richard@imendio.com>
687 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
688 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
690 2008-05-01 Matthias Clasen <mclasen@redhat.com>
692 * modules/imput/imthai.c: Register the right translation domain.
694 2008-04-30 Matthias Clasen <mclasen@redhat.com>
696 Bug 529386 – Printing options hidden by blacklisted option
698 * modules/printbackend/cups/gtkprintbackendcups.c
699 (cups_printer_get_options): Fix the blacklist handling.
700 Patch by Marek Kašík.
702 2008-04-30 Richard Hult <richard@imendio.com>
704 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
707 2008-04-30 Richard Hult <richard@imendio.com>
709 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
710 nsevents with the gdk lock held, fixes deadlock when doing manual
711 window resizing with threading enabled.
713 2008-04-30 Richard Hult <richard@imendio.com>
715 * gdk/quartz/gdkevents-quartz.c:
716 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
717 Alt to Alt and Cmd to Meta. This is not only more logical but also
718 makes it easier to have Mac-like behavior.
720 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
722 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
723 painting the flat box instead of recalculating it. (#437493,
726 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
728 Bug 529841 – incorrect position in directfb
730 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
732 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
734 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
736 2008-04-25 Michael Natterer <mitch@imendio.com>
738 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
739 <pango/pango-layout.h>.
741 * gtk/gtkiconfactory.c
745 * gtk/queryimmodules.c: remove inclusion of single files from
746 pango, none of them was actually needed.
748 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
749 <pango/pango-utils.h>.
751 2008-04-25 Michael Natterer <mitch@imendio.com>
753 * gdk/gdkfont.h: include <pango/pango.h> instead of
754 <pango/pango-font.h>.
756 2008-04-25 Michael Natterer <mitch@imendio.com>
758 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
761 2008-04-21 Michael Natterer <mitch@imendio.com>
763 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
764 crashing when NULL pointers get passed.
766 2008-04-18 Michael Natterer <mitch@imendio.com>
768 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
769 here have the same style.
771 2008-04-18 Michael Natterer <mitch@imendio.com>
774 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
777 * gtk/gtkbuilderparser.c
778 * gtk/gtklinkbutton.c
780 * gtk/gtkrecentchooserdefault.c
781 * gtk/gtkrecentchoosermenu.c
782 * modules/input/gtkimcontextthai.c: remove inclusion of single
783 files from gdk, none of the includes was actually needed.
785 2008-04-18 Michael Natterer <mitch@imendio.com>
787 * gdk/gdk.h: reorder one include so they are all alphabetical.
789 2008-04-18 Michael Natterer <mitch@imendio.com>
791 * modules/printbackends/cups/gtkprintercups.[ch]
792 (gtk_printer_cups_get_ppd_name): change return value and local
793 variable to const gchar* to fix warning about discarding const
796 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
798 * gtk/gtkrecentmanager.c:
799 (gtk_recent_manager_set_filename): Keep the default storage
800 file in $HOME, as we don't have a migration code in place yet.
802 2008-04-18 Michael Natterer <mitch@imendio.com>
804 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
805 g_strfreev() the uris returned by g_bookmark_file_get_uris().
807 2008-04-17 Michael Natterer <mitch@imendio.com>
809 * gtk/gtkiconfactory.c (get_default_icons): register the
810 GTK_STOCK_PAGE_SETUP icon.
812 2008-04-17 Michael Natterer <mitch@imendio.com>
814 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
815 g_return_if_fail(tooltips != NULL);
817 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
819 * gtk/gtkwindow.c: Chain up in buildable_finish()
821 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
822 cases where g_path_get_dirname() returns "."
824 * docs/reference/gtk/tmpl/gtklabel.sgml,
825 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
826 for the <attributes> tags on GtkLabel
828 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
830 * gtk/gtkrecentmanager.c:
831 (gtk_recent_manager_real_changed): Fix last commit, and
832 complete the gtk-recent-files-max-age semantics: if the
833 property is set to 0 then purge the list.
835 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
837 Bug 488507 – boundless growth of .recently-used.xbel file
838 slows down applications
840 * gtk/gtkrecentmanager.c:
841 (gtk_recent_manager_init),
842 (gtk_recent_manager_real_changed),
843 (gtk_recent_manager_set_filename),
844 (gtk_recent_manager_clamp_to_age): Clamp the recently
845 used resources list by the age of its items, using
846 the newly added GtkSettings property.
848 * gtk/gtksettings.c (gtk_settings_class_init): Add the
849 gtk-recent-files-max-age property, controlling the
850 maximum age of the items in the recently used resources
853 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
855 * gtk/gtkrecentmanager.c:
856 (gtk_recent_manager_add_item_query_info),
857 (gtk_recent_manager_add_item): Emit the ::changed signal
858 at the end of the asynchronous MIME type query.
860 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
862 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
865 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
866 changes in the recently used resources storage file, and
867 drop the timeout-based poll.
869 * ChangeLog: Fix attribution of the patch of the previous
872 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
874 Bug 506062 – gtk_recent_manager_add_item does not detect mime
877 * configure.in: Depend on gio-2.0
879 * gtk/gtkrecentmanager.c:
880 (gtk_recent_manager_add_item_query_info_cb),
881 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
882 query the MIME type of the passed URI (based on a patch by
885 2008-04-11 Carlos Garnacho <carlos@imendio.com>
887 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
888 page to visited page list instead of next current page. (#527466,
889 patch by Marcus Brinkmann)
891 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
893 * gtk/gtklabel.c: Added <attributes> / <attribute>
894 custom tags to parse pango attributes into labels.
896 * tests/buildertest.c: Added tests for GtkLabel custom
899 2008-04-10 Carlos Garnacho <carlos@imendio.com>
901 * gtk/gtknotebook.c (hide_drag_window): Do not call
902 gtk_widget_set_parent_window(), using widget->window instead of NULL
903 to unset is the wrong thing, and gtk_widget_unparent() will already
904 take care of this (#467698, patch by Sébastien Granjoux)
906 2008-04-08 Tor Lillqvist <tml@novell.com>
908 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
909 these functions with G_MODULE_EXPORT.
911 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
913 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
914 (gtk_file_system_volume_render_icon):
915 Fix fallback icon rendering size
917 2008-04-08 Michael Natterer <mitch@imendio.com>
919 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
920 touchscreen-mode keynav corner case: when navigating to the parent
921 menu, make sure we don't close two menus at the same time in case
922 the deepest open menu has no selectable items.
924 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
926 * gtk/gtkwidget.c: Clarified a g_warning message regarding
927 parsing accelerators from builder files.
929 2008-04-03 Cody Russell <bratsche@gnome.org>
931 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
932 of the block. (#526021, reported by Kazuki IWAMOTO)
934 2008-04-03 Tor Lillqvist <tml@novell.com>
936 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
939 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
940 workaround for a specific kind of screwed up locale setting.
942 2008-04-02 Matthias Clasen <mclasen@redhat.com>
944 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
945 colormaps. Found by Daniel Berrange.
947 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
949 * tests/autotestfilechooser.c: Cover
950 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
951 name. (#346058, Joe Halliwell)
953 2008-04-02 Federico Mena Quintero <federico@novell.com>
955 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
956 chooser incorrectly substitutes and expands a ~ when you type it
957 in the filename entry.
959 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
960 basenames result in a slash-terminated pathname.
961 gtk_file_system_unix_parse() is correct, but it was splitting
962 "/home/username" into path="/home" and file_part="username", which
963 is not what the caller wants when the entry has just "~" or
966 2008-04-02 Tor Lillqvist <tml@novell.com>
968 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
969 and gtksearchenginetracker.c on Windows.
971 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
974 2008-04-01 Cody Russell <bratsche@gnome.org>
976 * configure.in: Bump required Cairo to 1.5.2.
978 * gtk/gtkprintoperation-win32.c: Add support for using the new
979 cairo_win32_printing_surface for printing. Also fixed to use
980 cairo_surface_show_page(). (#488833 and #521178)
982 2008-03-31 Cody Russell <bratsche@gnome.org>
984 * demos/gtk-demo/printing.c (draw_page): Move down each line in
985 units of text_height rather than in units of data->font_size.
986 (totally awesome catch by Dom Lachowicz)
988 2008-03-28 Richard Hult <richard@imendio.com>
990 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
991 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
992 event to the mainloop and don't generate one at all if the
993 toplevel didn't change. Use the actual window and not the toplevel
994 as event window. These changes make the generated crossing events
995 match the X11 behavior and fixes issues with e.g. tooltips,
996 comboboxes and menus.
998 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
999 the view has no window, it will be updated as soon as it's put
1002 * gdk/quartz/gdkwindow-quartz.c:
1003 (_gdk_quartz_window_debug_highlight): Make it possible to track
1004 multiple windows with debug highlighting.
1005 (show_window_internal): Remove workaround for tooltips and popups
1006 that is no longer needed with the above changes.
1008 2008-03-26 Federico Mena Quintero <federico@novell.com>
1010 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
1011 helper function; factored out from the functions that commit the
1012 current suggested autocompletion and that refresh the entry's paths.
1013 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
1014 (_gtk_file_chooser_entry_get_file_part): Likewise.
1015 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
1016 makes the entry have the correct paths when *not* using any form
1017 of completion (and makes the file chooser work when clicking the
1020 2008-03-25 Richard Hult <richard@imendio.com>
1022 * gdk/quartz/gdkevents-quartz.c:
1023 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
1024 can't find a matching window.
1026 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
1027 comment, and only trigger an event for non-temp windows, fixes
1028 problems for tooltips caused by the workarounds for the
1029 problematic tracking rect API.
1031 2008-03-25 Richard Hult <richard@imendio.com>
1033 * gdk/quartz/gdkwindow-quartz.c:
1034 (gdk_window_quartz_process_all_updates): Plug a leak and add a
1035 check that we have a toplevel before accessing it.
1037 2008-03-24 Tor Lillqvist <tml@novell.com>
1039 Bug 524151 - Dragging of 0-byte files results in an empty filename
1040 on Windows XP and above
1042 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
1043 being empty first. For some reason ISHellLink and IPersistFile
1044 succeeds in interpreting empty files as shortcuts, claiming the
1045 target of the shortcut is an empty path.
1047 Change the function to take the wide character file name that the
1048 caller already has anyway, to avoid a superfluous conversion from
1051 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
1053 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
1054 against NULL pointer. (#467051, Gian Mario Tagliaretti)
1056 2008-03-23 Cody Russell <bratsche@gnome.org>
1058 * gdk/win32/gdkevents-win32.c (show_window_recurse):
1059 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
1060 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
1061 menus from a maximized window would force the window to restore
1064 2008-03-23 Johan Dahlin <johan@gnome.org>
1066 * gtk/gtk-builder-convert:
1067 Properly convert GtkImageMenuItems which use stock labels but don't
1069 (#523932, Brian Pepple)
1071 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
1073 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
1074 New function implements GtkCellLayoutClass::get_cells. (#523787)
1076 2008-03-22 Tor Lillqvist <tml@novell.com>
1078 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
1080 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
1081 GDK_THREADS_LEAVE() call. Approved by mclasen.
1083 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
1085 * gtk/gtkexpander.c (gtk_expander_get_label):
1086 gtk_label_get_label() should be used instead of
1087 gtk_label_get_text(). (#353088, Xan Lopez)
1089 2008-03-21 Tor Lillqvist <tml@novell.com>
1091 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
1092 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
1093 gdip-pixbuf-loader module.
1095 * configure.in: Add switch --disable-gdiplus-loaders that disables
1096 building of the GDI+ loaders.
1098 When including loaders in the gdk-pixbuf library, and building
1099 GDI+ loaders, either build in all the GDI+ loaders or none of
1100 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
1101 signal building them in.
1103 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
1104 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
1105 indicate whether they should be built-in.
1107 For the rest of the changes, see gdk-pixbuf/ChangeLog.
1109 2008-03-20 Tor Lillqvist <tml@novell.com>
1111 * gtk/Makefile.am: Revert accidental change that went in as part
1112 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
1113 Darwin. On Windows one has to use a newer GNU grep that has -o,
1114 for instance the one from gnuwin32, instead of the oldish one in
1115 MSYS that doesn't have -o.
1117 2008-03-20 Tor Lillqvist <tml@novell.com>
1119 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
1120 pass NULL for %s to g_message().
1121 (main): Drop unnecessary call to gtk_widget_destroy().
1123 2008-03-20 Tor Lillqvist <tml@novell.com>
1125 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
1127 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
1128 in one dimension, or centered in case it doesn't fit.
1129 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
1132 2008-03-18 Tor Lillqvist <tml@novell.com>
1134 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
1136 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
1137 G_MODULE_ENTRY decoration can be put in a more correct place.
1139 2008-03-18 Sven Neumann <sven@gimp.org>
1141 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
1142 alternative button order on the password dialog.
1144 2008-03-18 Tor Lillqvist <tml@novell.com>
1146 Bug 99192 - Add --with-include-input-modules
1148 * configure.in: Add --with-included-immodules switch. Handled in a
1149 similar way as the --with-included-loaders switch. For each input
1150 method module foo: Collect the list of input modules to be built
1151 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
1152 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
1153 Define Automake conditionals INCLUDE_IM_FOO.
1155 * modules/input/Makefile.am: For modules to be included in libgtk,
1156 build a static library.
1158 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
1159 gdk-pixbuf to get unique names for the functions called by libgtk
1160 in the included case. Use G_MODULE_EXPORT in the non-included case
1161 so that we don't unnecessarily export unneeded random global
1164 * gtk/Makefile.am: Build the included modules and link them into libgtk.
1166 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
1167 copy/paste leftover mentions of "themes" in comments.
1169 2008-03-18 Tor Lillqvist <tml@novell.com>
1171 * tests/Makefile.am: Build testmountoperation only on Unix for now.
1173 2008-03-17 Christian Kellner <gicmo@gnome.org>
1175 Implement GtkMountOperation, a subclass of GMountOperation
1176 to be used with gio wherever there is the need to ask the
1177 user for credentials or questions while mounting a volume.
1180 * gtk/gtkmountoperation.c:
1181 * gtk/gtkmountoperation.h:
1182 Implement GtkMountOperation.
1184 * gtk/gtk.h: Add gtkmountoperation.h
1185 * gtk/Makefile.am: Add gtkmountoperation.[hc]
1186 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
1187 * tests/testmountoperation.c: Test program for it.
1188 * tests/Makefile.am: Add testmountoperation.
1190 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
1192 * gtk/gtkcontainer.c: Properly document
1193 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
1195 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1197 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
1198 style names for the ComboBox thickness style
1200 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1202 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
1203 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
1204 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
1205 intelligent separation for the xp theming engine and the classic
1206 theme while drawing the GtkComboBox button. combobox_draw_arrow
1207 is not used anymore, commented. The style has been updated to fix
1208 border/thickness glitches in the combobox according to the fixes
1209 commited regarding bug #521442. (bug #461805)
1211 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1213 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
1214 now aware of both the combobox and frame (if has-frame is set)
1215 thickness and border. (bug #521442)
1217 2008-03-15 Andre Klapper <a9016009@gmx.de>
1219 * configure.in: Added "si" to ALL_LINGUAS.
1221 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1223 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
1224 Set window type hint on the search popup. (#522279, Danny Baumann)
1226 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1228 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
1229 appropriate. (#521934, Huang Peng)
1231 2008-03-14 Michael Natterer <mitch@imendio.com>
1234 * gtk/gtkbuilderprivate.h
1235 * gtk/gtkfilechoosersettings.c
1236 * gtk/gtksearchenginesimple.c
1237 * gtk/tests/liststore.c
1238 * gtk/tests/treestore.c: remove single-file includes of GLib
1239 headers or replace them by <glib.h> where needed.
1241 2008-03-14 Michael Natterer <mitch@imendio.com>
1243 * gtk/gtkadjustment.c: coding style cleanup.
1245 (gtk_adjustment_set_property): no need to call g_object_notify()
1246 on the set properties.
1248 Implement GObject::dispatch_properties_changed() and make sure we
1249 emit "changed" when anything but the "value" property changes.
1251 2008-03-14 Tor Lillqvist <tml@novell.com>
1253 * gdk/win32/gdkevents-win32.c: Drop the support for the
1254 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
1255 Win95. Thanks to mitch for noticing this obsolete code.
1257 2008-03-14 Cody Russell <bratsche@gnome.org>
1259 * examples/scribble-xinput/scribble-xinput.c: Changed
1260 'void int main()' to 'int main()'. (#522211, Liqing Huang)
1262 2008-03-14 Richard Hult <richard@imendio.com>
1264 * gdk/quartz/gdkwindow-quartz.c:
1265 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
1266 only flush the toplevel once per update.
1268 2008-03-13 Federico Mena Quintero <federico@novell.com>
1270 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
1271 Set the mouse cursor of the feedback window to invisible, so that
1272 we respect GtkEntry's invisible cursor while typing.
1274 2008-03-13 Federico Mena Quintero <federico@novell.com>
1276 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
1277 the feedback window at entry_height/2 pixels to the right of the
1278 cursor, for a cheap "M-width / 2" spacing.
1280 2008-03-13 Sven Neumann <sven@gimp.org>
1282 * gtk/gtkfilechooserdefault.c
1283 * gtk/gtkprintunixdialog.c: set alternative button order for
1284 overwrite confirmation dialogs (bug #522191).
1286 2008-03-13 Sven Neumann <sven@gimp.org>
1288 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
1289 (overwrite_confirmation_dialog): added some line-breaks for
1292 2008-03-12 Federico Mena Quintero <federico@novell.com>
1294 Rework the way completion works in GtkFileChooserEntry. Fixes
1295 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
1296 Tab completion should work even if the cursor is not at the end of
1299 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
1302 We distinguish between two cases:
1304 - autocompletion - happens only in the Open modes by
1305 inserting and selecting the common prefix as you type.
1307 - explicit completion - happens when you hit Tab.
1309 When some type of completion needs to happen, the entry first
1310 parses its input and sees if it needs to initiate a folder load.
1311 Completion will not happen until the folder finishes loading.
1313 If the folder is already completely loaded, then completion is
1314 performed immediately. Otherwise, the entry queues a pending
1315 completion and starts loading the new folder (or waits until the
1316 current folder is completely loaded).
1318 Tab completion is allowed to happen even if the cursor is not at
1319 the end of the entry.
1321 There is a new feedback mechanism for explicit completion, so that
1322 you will get an Emacs-like tip whenever there are ambiguities in
1323 completion, no matches, etc. (This needs to be polished so that
1324 we support RTL entries and all the fancy Pango layout in GtkEntry).
1326 The only remaining thing to fix is the popup suggestion window.
1327 Unfortunately, GtkEntryCompletion does not let us do what we want,
1328 and will need further changes.
1330 2008-03-12 Tor Lillqvist <tml@novell.com>
1332 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
1334 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
1335 for the TaskbarCreated message in the window procedure for the
1336 dummy "tray observer" window we create. When we get a
1337 TaskbarCreated message, iterate over the status icons and re-add
1338 them to the task bar, and update them by calling
1339 gtk_status_icon_update_image().
1341 Move some ifdefs around to avoid unused functions.
1343 2008-03-12 Tor Lillqvist <tml@novell.com>
1345 * config.h.win32.in: Update to match what configure produces.
1347 2008-03-12 Jens Granseuer <jensgr@gmx.net>
1349 * modules/printbackends/cups/gtkprintbackendcups.c:
1350 (cups_printer_prepare_for_print): Don't define variables in the
1351 middle of a block. (#522067)
1353 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1355 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
1356 dialog for print-to-file. (#474302, Marek Kašík)
1358 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1360 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
1361 (#469210, Wouter Bolsterlee)
1363 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1365 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
1366 paper_size here. (#488820, Morten Welinder)
1368 2008-03-12 Michael Natterer <mitch@imendio.com>
1370 * acconfig.h: remove this deprecated file.
1372 * configure.in: added comments to all instances of AC_DEFINE() so
1373 config.h can be completely generated from configure.in.
1375 2008-03-12 Michael Natterer <mitch@imendio.com>
1377 * modules/printbackends/cups/gtkprintbackendcups.c: include
1378 <glib/gstdio.h> for g_fopen().
1380 2008-03-11 Matthias Clasen <mclasen@redhat.com>
1382 * modules/printbackends/cups/gtkprintbackendcups.c: Use
1383 g_ascii_formatd when formatting custom paper sizes, since
1384 cups doesn't handle , as decimal separator. (#521548)
1386 2008-03-11 Tor Lillqvist <tml@novell.com>
1388 Bug 469868 - Filenames with colon ":" are not saved correctly
1390 * gtk/gtkfilechooserentry.c (insert_text_callback)
1391 (delete_text_callback) [Win32]: New functions to make sure that
1392 colons used otherwise than as a separator after a drive letter, or
1393 characters that are always illegal in file names, are rejected on
1394 input. This means that the GTK+ file chooser can't be used to
1395 input full names of alternate data streams, but oh well. There are
1396 still more checks that could be done on the file names, see the
1397 bug report. But this will do for now.
1398 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
1400 2008-03-11 Jordi Mallach <jordi@sindominio.net>
1402 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
1404 2008-03-11 Michael Natterer <mitch@imendio.com>
1406 * gdk/linux-fb/*: removed linux-fb backend files.
1410 * docs/README.linux-fb
1411 * gtk/Makefile.am: remove remaining traces of linux-fb.
1413 * gtk/gtkwindow-decorate.c: same here. There is some code that
1414 calls into linux-fb to set window move/resize callbacks. I put it
1415 in #if 0 as a reminder because we did use decorated windows with
1416 the DirectFB backend and it did work, so I don't really know why
1417 this code is needed or how it could work with DirectFB back then.
1418 The file does actually compile now if DECORATE_WINDOWS is defined,
1419 but I didn't test with DirectFB to check if it does anything.
1421 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
1423 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
1424 Take thickness into account in the size allocation of the child widgets in
1428 2008-03-11 Richard Hult <richard@imendio.com>
1430 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
1432 2008-03-10 Tor Lillqvist <tml@novell.com>
1434 * tests/teststatusicon.c (do_exit, popup_menu): Add the
1435 possibility to test what happens if the process just calls exit()
1436 without any orderly cleanup of GTK+.
1438 2008-03-10 Tor Lillqvist <tml@novell.com>
1440 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
1442 2008-03-10 Tor Lillqvist <tml@novell.com>
1444 Bug 520286 - Non-deletable window has no minimize / maximize buttons
1446 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
1447 New debugging output function that decodes a set of WS_* bits.
1449 * gdk/win32/gdkprivate-win32.h: Declare it.
1451 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
1452 New function that enables or disables one menu entry in the system
1453 menu of a top-level window. (The corresponding decoration will
1454 then also be enabled or disabled (grayed).)
1456 (update_style_bits): Do as the comment says and don't try to
1457 update the window style based on the GdkWMFunctions set for the
1460 (update_system_menu): New function that enables or disables the
1461 system menu entries based on a window's stored set of
1464 (gdk_window_set_functions): Call update_system_menu() instead of
1465 update_style_bits().
1467 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
1469 * README.in: Reword the 2.14 release notes entry about the
1470 deprecation of the gtkitemfactory.h header, and fix typos
1473 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
1475 * modules/engines/ms-windows/msw_style.c (draw_shadow):
1476 Do not draw frame if parent if combobox.
1478 Uses scrollbar width system metrics for combobox button.
1479 Fixes #461805 for XP theme engine.
1481 2008-03-07 Johan Dahlin <johan@gnome.org>
1484 * gtk/gtkbuilderparser.c:
1485 * gtk/gtkbuilderprivate.h:
1486 * gtk/gtkiconfactory.c:
1487 * tests/buildertest.c:
1488 - Treat enums like enums and not values
1489 - Avoid invalid free, in case of more than two sources
1490 - Add better error messages
1491 - Add much improved tests
1492 (#520979, Christian Persch)
1494 2008-03-07 Carlos Garnacho <carlos@imendio.com>
1496 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
1499 2008-03-06 Federico Mena Quintero <federico@novell.com>
1501 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
1502 GtkFileChooserDialog should set a default response button if the
1503 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
1505 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
1506 function, refactor from where there was duplicated code.
1507 (gtk_file_chooser_dialog_map): Look at the buttons in our
1508 action_area. If the response ID for a button is one of the stock
1509 ones, make it the default response button.
1511 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
1513 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
1515 * gtk/gtkbuilderprivate.h:
1516 * gtk/gtkiconfactory.c:
1517 * tests/buildertest.c:
1518 Implement GtkBuildable on GtkIconFactory, to make
1519 it possible to register custom stock icons.
1522 2008-03-06 Johan Dahlin <johan@gnome.org>
1526 * gtk/gtkstyle.c: npoints->n_points.
1527 * gtk/gtktestutils.h: widget->spinner
1528 * gtk/gtktestutils.c: argc->argcp, argv->argvp
1530 2008-03-06 William Lachance <wrlach@gmail.com>
1532 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
1533 string localizable (as it should be).
1535 2008-03-06 William Lachance <wrlach@gmail.com>
1537 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
1538 the time for today's date. It's redudant. (see bug #410517).
1540 2008-03-06 Xan Lopez <xan@gnome.org>
1542 * gtk/gtkfixed.c: fix typo in documentation.
1544 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
1546 * gtk/gtkitemfactory.h:
1547 * gtk/gtktypeutils.h:
1548 Move GtkTranslateFunc to gtktypeutils.h so we can completely
1549 deprecate gtkitemfactory.h.
1551 * gtk/gtkactiongroup.h:
1553 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
1556 Add a note describing this slight incompatible change
1558 2008-03-06 Johan Dahlin <johan@gnome.org>
1560 * gtk/gtkpreview.h: Avoid double-deprecation.
1562 2008-03-06 Michael Natterer <mitch@imendio.com>
1565 * gtk/Makefile.am: move the remaining deprecated widgets to the
1566 separate sections and replaced spaces by tabs in Makefile.am
1568 2008-03-05 Johan Dahlin <johan@gnome.org>
1570 * configure.in: Add --disable-cups option.
1571 (#513826, Alberto Ruiz)
1575 Separate broken and deprecated sources and headers into different sections
1577 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
1579 2008-03-05 Kristian Rietveld <kris@imendio.com>
1581 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
1582 short-circuit in case an empty root level would be build (and thus
1583 directly destroyed) if no virtual root has been set.
1585 2008-03-04 Matthias Clasen <mclasen@redhat.com>
1587 * modules/printbackends/cups/gtkprintbackendcups.c:
1588 Honor cups user default options from ~/.cups/lpoptions
1589 (#469210, Stijn Hoop)
1591 2008-03-04 Michael Natterer <mitch@imendio.com>
1594 * gtk/gtkcolorbutton.c
1595 * gtk/gtkentrycompletion.c
1596 * gtk/gtkfontbutton.c
1600 * gtk/gtkpreview.c: don't include "gtksignal.h".
1602 * gtk/gtkfilefilter.c
1603 * gtk/gtkrecentchoosermenu.c
1604 * gtk/gtkrecentfilter.c
1605 * gtk/gtktext.c: don't include "gtkobject.h".
1607 2008-03-04 Simos Xenitellis <simos@gnome.org>
1609 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
1610 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
1612 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
1615 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
1616 file, contains compose sequences that used to exist in
1617 gtk/gtkimcontextsimple.c
1619 * gtk/compose-parse.py: Script to generate compose
1620 sequences from upstream (Xorg).
1622 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
1623 check_algorithmically): New functions. First two search in
1624 gtk_compose_seqs_compact[] for matching compose sequence, third
1625 tries NFC normalisation on incoming compose sequence.
1626 (gtk_im_context_simple_filter_keypress):
1627 Adds searching with check_compact_table(), check_algorithmically().
1629 2008-03-03 Carlos Garnacho <carlos@imendio.com>
1631 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
1632 scrollwheel work in GtkPathBar.
1634 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
1636 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
1637 an input-only window, event_window, which we'll use to capture
1639 (gtk_path_bar_map): Show the event_window under the rest of the
1640 windows, so it will be a catch-all for unhandled events.
1642 2008-03-03 Sven Neumann <sven@gimp.org>
1644 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
1645 typo in the documentation of the GtkFileChooserButtons::file-set
1646 signal (see bug #353196).
1648 2008-03-03 Tor Lillqvist <tml@novell.com>
1650 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
1653 2008-03-02 Johan Dahlin <johan@gnome.org>
1655 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
1656 Remove left-over focus_pad variable.
1657 (#490892, Claudio Saavedra)
1659 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
1660 (#518166, Matt Kraai)
1662 2008-03-02 Johan Dahlin <johan@gnome.org>
1664 * docs/tutorial/gtk-tut.sgml: Add a missing space
1665 (#517954, Matt Kraai)
1667 2008-03-03 Tor Lillqvist <tml@novell.com>
1669 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
1670 the widget is a GtkButton before casting.
1672 2008-03-02 Johan Dahlin <johan@gnome.org>
1674 * configure.in: Compare using = instead of ==, which is portable.
1675 (#490787, Thomas Klausner)
1677 2008-03-02 Johan Dahlin <johan@gnome.org>
1679 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
1680 fixes non-C++ build.
1681 (#496032, Nelson Benitez)
1683 2008-02-29 Johan Dahlin <johan@gnome.org>
1685 * demos/gtk-demo/demo.ui:
1686 * gtk/gtkbuilderparser.c:
1687 * gtk/gtkbuilderprivate.h:
1688 * gtk/gtkliststore.c:
1689 * tests/buildertest.c:
1690 Add translatable/context and comment attributes on
1691 <col> tags under a GtkListStore. Refactor parts of the
1692 translation api and make it available inside gtk+ itself.
1693 Update tests and example.
1694 Fixes a part of #518642
1696 2008-02-29 Johan Dahlin <johan@gnome.org>
1699 Add missing g_return_val_if_fail checks for public API.
1701 * gtk/gtkbuilderparser.c:
1702 * gtk/gtkbuilderprivate.h:
1703 Do not use g_error for a few more errors, instead set
1704 the GError sent in through add_from_file/add_from_string.
1705 * tests/buildertest.c:
1706 Add a couple of new parsing tests.
1707 (#519199, Pavel Syomin)
1709 2008-02-29 Federico Mena Quintero <federico@novell.com>
1711 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
1712 refreshing an existing folder (i.e. when we are about to reload
1713 its file list), turn off the folder's is_finished_loading flag.
1714 Otherwise callers which do ::is_finished_loading() followed by
1715 ::list_children() will get nothing.
1717 2008-02-29 Cody Russell <bratsche@gnome.org>
1719 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
1720 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
1722 2008-02-28 Matthias Clasen <mclasen@redhat.com>
1724 * gtk/gtkcalendar.h: Remove trailing comma from enum to
1725 make the compiler happy. (#517295, Sylvain Pasche)
1727 2008-02-27 Michael Natterer <mitch@imendio.com>
1729 * gtk/gtkmenushell.c
1732 * gtk/gtktipsquery.c
1737 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
1738 private functions and virtual function implementations.
1740 2008-02-27 Richard Hult <richard@imendio.com>
1742 * gdk/quartz/GdkQuartzView.c:
1743 * gdk/quartz/GdkQuartzView.h:
1744 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
1745 Fix performance regression for borderless transparent windows
1748 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
1750 * tests/testgtk.c: Revert back to r19454.
1752 2008-02-27 Sven Neumann <sven@gimp.org>
1754 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
1755 Quartz backend, use a native Mac OS X application for the print
1756 preview (bug #518624).
1758 2008-02-26 Michael Natterer <mitch@imendio.com>
1760 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
1761 the members of info->tag_stack since they are a) gobjects and b)
1762 not even owned by us, ugh... Fixes crash when deserializing fails.
1764 2008-02-26 Sven Neumann <sven@gimp.org>
1766 * docs/tools/shooter.c (find_toplevel_window)
1767 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
1768 argument passed to XQueryTree().
1770 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1772 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
1773 don't use beagle_query_add_hit_type.
1775 2008-02-25 Richard Hult <richard@imendio.com>
1777 * gdk/quartz/gdkevents-quartz.c
1778 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
1780 2008-02-24 Richard Hult <richard@imendio.com>
1782 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
1783 shown without gdk's control when clicking the dock icon.
1785 2008-02-24 Richard Hult <richard@imendio.com>
1787 * gdk/quartz/gdkprivate-quartz.h:
1788 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
1789 Use the subtype field for the custom event that is used to wake up
1790 the mainloop so we can have other custom event types.
1792 * gdk/quartz/gdkevents-quartz.c:
1793 (_gdk_quartz_events_trigger_crossing_events):
1794 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
1795 crossing events after showing a window if necessary, to work
1796 around problems with the tracking rect API.
1798 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1800 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
1801 wrong results on win32 because it doesn't set the printing units,
1802 which affect the transformation of the cairo context
1803 (#347125, Erik van Pienbroek)
1805 2008-02-22 Tor Lillqvist <tml@novell.com>
1807 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
1809 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1811 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
1812 acceptable for a module to only support the save_to_callback()
1813 method if it marks itself as WRITABLE
1815 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1817 * configure.in: Bump version
1819 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1821 * === Released 2.13.0 ===
1823 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
1825 2008-02-21 Tor Lillqvist <tml@novell.com>
1827 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
1828 pass the format string to strftime in the C library's locale's
1829 charset, not the system's. Correspondingly, the return value from
1830 strftime() is in the C library's locale's charset. (#509885)
1832 2008-02-20 Richard Hult <richard@imendio.com>
1834 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
1835 the right window level and shadow after recreating the window.
1837 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
1838 necessary after drawing (bug #517338).
1840 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
1842 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
1843 call to g_type_class_unref in case of error. (#517563)
1845 2008-02-18 Sven Neumann <sven@gimp.org>
1847 * gtk/Makefile.am (STOCK_ICONS)
1848 * gtk/stock-icons/16/gtk-page-setup.png
1849 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
1850 taken from GNOME icon theme.
1852 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
1854 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
1856 * configure.in: Added Kannada (kn) to ALL_LINGUAS
1858 2008-02-17 Johan Dahlin <johan@gnome.org>
1860 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
1861 When converting a stock item based on the label, remove the label property.
1863 2008-02-17 Richard Hult <richard@imendio.com>
1865 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
1866 position after showing the window since the window manager might
1867 not place it where we requested in the first places.
1869 2008-02-17 Richard Hult <richard@imendio.com>
1871 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1872 (_gdk_quartz_window_detach_from_parent),
1873 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
1874 the toplevel ordering list in all places where the order is
1875 potentially changed. Fixes mouse focus issues for windows with
1876 a transient parent set.
1878 2008-02-17 Richard Hult <richard@imendio.com>
1880 * gdk/quartz/gdkevents-quartz.c
1881 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
1882 window when event debugging is enabled.
1884 2008-02-16 Richard Hult <richard@imendio.com>
1886 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
1887 to the scroll event (bug #516757, Paul Davis).
1889 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1893 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1895 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
1898 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1900 * gdk/Makefile.am: Don't install private headers. (#463510)
1902 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
1903 the installed header gdkprivate.h.
1905 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1907 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
1908 a crash with hidden, reorderable tabs. (#513230,
1909 Mike Massonnet, patch by Carlos Garnacho)
1911 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1913 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
1914 Warn on duplicate action group names. (#501746, Christian
1917 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1920 * modules/other/gail/tests/Makefile.am:
1921 * modules/other/gail/libgail-util/Makefile.am:
1922 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
1923 builds. (#516254, Yevgen Muntyan)
1925 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1930 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
1931 instead of hardcoded target tables. (#516092, Christian Persch)
1933 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1935 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
1936 add the same target atom twice. (#516087, Christian Persch)
1938 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1940 * tests/testfilechooser.c: Add a --backend option.
1941 (#516073, Christian Persch)
1943 2008-02-16 Richard Hult <richard@imendio.com>
1945 * gdk/quartz/gdkprivate-quartz.h:
1946 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
1949 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1951 * configure.in: Go back to 2.13.0 as version for now,
1952 as there was no consensus to do the jump.
1954 * many other places: Update Since: tags.
1956 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1958 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
1960 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
1962 2008-02-15 Richard Hult <richard@imendio.com>
1964 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
1965 instead of bounds when resizing windows.
1967 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1969 * gdk/x11/gdkkeys-x11.c:
1970 * gdk/x11/gdkcolor-x11.c:
1971 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
1973 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1975 * gdk/x11/gdktestutils-x11.c:
1976 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
1978 2008-02-15 Tor Lillqvist <tml@novell.com>
1980 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
1981 leak Registry key handles. (#516578)
1983 2008-02-14 Richard Hult <richard@imendio.com>
1985 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
1986 makeKeyWindow unfortunately doesn't work in all cases, we must use
1987 makeKeyAndOrderFront.
1989 2008-02-14 Richard Hult <richard@imendio.com>
1991 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
1992 (gdk_window_hide), (gdk_window_fullscreen),
1993 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
1994 the window is hidden.
1996 2008-02-14 Richard Hult <richard@imendio.com>
1998 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
1999 resizing to be consistent and to avoid introducing an internal
2000 transform in the view.
2002 2008-02-14 Richard Hult <richard@imendio.com>
2004 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
2007 2008-02-14 Johan Dahlin <johan@gnome.org>
2009 * gdk/gdktestutils.h
2010 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
2012 2008-02-13 Richard Hult <richard@imendio.com>
2014 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2015 Remove unused variables.
2016 (gtk_clipboard_set_contents),
2017 (gtk_clipboard_get_owner), (clipboard_unset),
2018 (gtk_clipboard_request_targets): Notify the previous clipboard
2019 owner when the owner changes. Fixes bug #493406.
2021 2008-02-13 Richard Hult <richard@imendio.com>
2023 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
2024 the return value (return number of colors that failed), and handle
2026 (gdk_colormap_free_colors): Fix typo in comment.
2028 2008-02-13 Kristian Rietveld <kris@imendio.com>
2030 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
2031 queue a redraw if the rubber banding has actually been active.
2033 2008-02-12 Matthias Clasen <mclasne@redhat.com>
2035 * gtk/gtkpapersize.c:
2036 * gtk/gtkprintoperation.c:
2037 * gtk/gtkvolumebutton.c:
2038 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
2039 out by Behdad Esfahbod.
2041 2008-02-12 Federico Mena Quintero <federico@novell.com>
2043 Merged from gtk-2-12:
2045 Don't focus the file list when shortcuts get activated. This
2046 removes a lot of ambiguity in when the file selection should
2047 change, and makes the overall code flow simpler.
2049 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
2050 file/save dialog clears the filename entry when changing
2053 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
2054 focus should not go to the file list when a shortcut is activated.
2056 * gtk/gtkfilechooserdefault.c
2057 (shortcuts_activate_volume_mount_cb): Don't focus the file list
2058 (shortcuts_activate_get_info_cb): Likewise.
2060 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
2061 the file list (this was the last place where we would focus the
2062 file list explicitly). If you are in the location entry, for
2063 example, you don't want Alt-Home to take you to the file list; you
2064 just want the current folder to change. Thanks to Olle Bergkvist
2065 <olle.bergkvist@yahoo.se> for pointing this out in
2066 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
2067 (focus_browse_tree_view_if_possible): Removed.
2069 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2071 Skip exensions when selecting filenames in the save-as dialog.
2072 (#362516, Carlos Garnacho)
2074 * gtk/gtkfilechooserentry.h:
2075 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
2076 New function to skip the extension part when selecting a filename.
2077 (_gtk_file_chooser_entry_set_base_folder): Use it here.
2079 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
2082 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2084 * gtk/gtkiconview.c: Fix state change reporting for
2085 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
2087 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
2089 * gtk/gtkrecentchooser.c:
2090 (gtk_recent_chooser_class_init): Set the default value of the
2091 :show-not-found property to TRUE, as every implementation sets
2094 * gtk/gtkrecentchooserdefault.c:
2095 (_gtk_recent_chooser_default_init): Sync show_tips to the
2096 default value of the :show-tips property.
2098 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2100 * gtk/gtkclipboard-quartz.c:
2102 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
2105 2008-02-12 Kristian Rietveld <kris@imendio.com>
2107 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
2108 (gtk_tree_view_real_toggle_cursor_row): guard against people
2109 deleting the row in question in the selection-changed callback.
2110 (#514621, Andreas Koehler).
2112 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2114 * gtk/*.c: Unify the handling of various "Enter" keysyms
2115 all over the place. (#515047, Christian Persch)
2117 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2119 * gtk/gtkfilesystemmodel.c:
2121 * gtk/gtkwidget.c: Use g_value_set_static_string() where
2122 appropriate. (#515042, Christian Persch)
2124 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2126 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
2128 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2130 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
2132 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2134 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
2135 (recent_model_sort_drag_data_get):
2136 (search_model_sort_drag_data_get):
2137 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
2138 * gtk/gtkpathbar.c (button_drag_data_get_cb):
2139 Use gtk_selection_data_set_uris() instead of doing it
2140 by hand. (#514890, Christian Persch)
2142 2008-02-12 Michael Natterer <mitch@imendio.com>
2144 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
2145 gtk_get_current_event_time().
2147 2008-02-12 Michael Natterer <mitch@imendio.com>
2149 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
2150 gtk_window_get_key_hash() to get the hash instead of manually
2151 fiddling with quarks and gtk_window_keys_changed(). Also add
2152 g_return_if_fail() to this public function.
2154 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2156 Support keynav in status icons. (#473786, Li Yuan)
2158 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
2160 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
2162 2008-02-11 Kristian Rietveld <kris@imendio.com>
2164 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
2165 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
2166 wrt. link deletion from list; contination of fix for #503569.
2168 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
2170 * gtk/gtkrecentchoosermenu.c:
2171 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
2172 on the placeholder menu item.
2174 * tests/testrecentchoosermenu.c:
2175 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
2176 whether the placeholder menu item gets shown.
2178 2008-02-10 Cody Russell <bratsche@gnome.org>
2180 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
2181 Check the return value of _gtk_file_chooser_get_file_system () for
2182 NULL before passing it to gtk_file_system_path_to_uri ().
2183 (#515667, Francesco Montorsi)
2185 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
2187 * gtk/gtkbuilder.c: Improve the documentation for
2188 gtk_builder_connect_signals. (#514471)
2190 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2192 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
2195 2008-02-08 Cody Russell <bratsche@gnome.org>
2197 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
2198 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
2200 2008-02-08 Richard Hult <richard@imendio.com>
2202 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
2203 delta from the NSEvent for now, generating multiple scroll events
2204 results in a lot of events getting queued up and things get really
2207 2008-02-08 Sven Herzberg <sven@imendio.com>
2209 Adjust the code to match the documentation, examples, "common sense"
2210 and existing applications.
2212 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
2213 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
2216 2008-02-07 Cody Russell <bratsche@gnome.org>
2218 * gdk/win32/gdkevents-win32.c
2219 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
2220 of a block that were causing compile problems on old
2221 compilers. (#515053, reported by Kazuki IWAMOTO)
2223 2008-02-07 Michael Natterer <mitch@imendio.com>
2230 * gtk/gtkmenushell.c
2232 * gtk/gtkoptionmenu.c
2236 * gtk/gtkradiomenuitem.c
2238 * gtk/gtkscrolledwindow.c
2239 * gtk/gtksocket.c: remove g_return_if_fail() from private
2240 functions and virtual function implementations.
2242 2008-02-07 Michael Natterer <mitch@imendio.com>
2245 * gtk/gtkassistant.c
2249 * gtk/gtkcellrenderercombo.c
2252 * gtk/gtkdrawingarea.c
2253 * gtk/gtkentrycompletion.c
2259 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
2260 functions and virtual function implementations.
2262 2008-02-07 Christian Persch <chpe@gnome.org>
2264 * gdk/gdkpixbuf-render.c:
2265 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
2266 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
2267 otherwise there will be random pixel values in the semi-transparent
2268 area of the pixbuf within the mask. Bug #487865.
2270 2008-02-06 Cody Russell <bratsche@gnome.org>
2272 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
2273 otherwise things get wonky when you click on a menu. This fixes
2274 a regression caused in #505928. Thanks to Tor for spotting this
2277 2008-02-06 Michael Natterer <mitch@imendio.com>
2279 * gtk/gtkcontainer.c
2286 * gtk/gtkmenushell.c
2288 * gtk/gtkseparatortoolitem.c
2290 * gtk/gtktextlayout.c
2291 * gtk/gtktoggletoolbutton.c
2292 * gtk/gtktoolbutton.c
2295 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
2298 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2300 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
2301 Allow to store half-open ranges.
2303 2008-02-05 Cody Russell <bratsche@gnome.org>
2305 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
2306 down the stack until we get to a window that is mapped.
2307 Otherwise hiding a window will cause all windows in the app
2308 to be blocked. (#514643)
2310 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2312 * gtk/updateiconcache.c: Ignore images in the toplevel theme
2313 directory, avoiding one source of invalid caches that has been
2314 spotted in the wild.
2316 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2318 * gtk/updateiconcache.c: Fix the previous commit to compile.
2320 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2322 * gtk/updateiconcache.c: Install a printerr handler that
2323 prepends the program name, since gtk-update-icon-cache output
2324 often appears in the middle of other output, e.g. rpm update logs.
2326 2008-02-05 Cody Russell <bratsche@gnome.org>
2328 * gdk/win32/gdkprivate-win32.h
2329 * gdk/win32/gdkevents-win32.c
2330 * gdk/win32/gdkwindow-win32.c
2331 * gdk/win32/gdkwindow-win32.h
2332 * gdk/win32/gdkwin32.h:
2333 Modal window rework. (#455627 and #511111)
2335 2008-02-04 Michael Natterer <mitch@imendio.com>
2337 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
2338 g_return_if_fail() if the cell is not part of the combo instead of
2339 crashing in the next line.
2341 2008-02-01 Cody Russell <cody@jhu.edu>
2343 * modules/engines/ms-windows/xp_theme.[ch]
2344 * modules/engines/ms-windows/xp_theme_defs.h
2345 * modules/engines/ms-windows/msw_rc_style.c
2346 * modules/engines/ms-windows/msw_theme_main.c
2347 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
2348 attempted to stylize more like the rest of the gtk+ stack's code.
2350 2008-02-01 Michael Natterer <mitch@imendio.com>
2352 * tests/testgtk.c: initialize GdkColor structs to fix warning
2353 about uninitialized "pixel" member.
2355 * tests/testactions.c: connect the toolbar_style() callback so it
2356 does something useful and doesn't warn about being defined but not
2359 2008-01-31 Cody Russell <bratsche@gnome.org>
2361 * gdk/win32/gdkevents-win32.c:
2362 Refactored some of the window hiding/showing code from
2363 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
2364 under WM_ACTIVATE was causing the application to go into
2365 a weird state when the user right-clicked on the taskbar
2366 entry of a window that was minimized. (#505928)
2368 2008-01-31 Cody Russell <bratsche@gnome.org>
2370 * gtk/gtkpaned.c (gtk_paned_set_position):
2371 Change queue_resize() to queue_draw(), and add a check for
2372 child2 != NULL in case someone calls this before there is
2373 a child packed in there. (#144269 again)
2375 2008-01-31 Sven Neumann <sven@gimp.org>
2377 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
2378 applied patch from Denis Oliver Kropp <dok@directfb.org>.
2380 2008-01-31 Sven Neumann <sven@gimp.org>
2382 * gdk/directfb/gdkdisplay-directfb.c
2383 * gdk/directfb/gdkdrawable-directfb.c
2384 * gdk/directfb/gdkprivate-directfb.h
2385 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
2386 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
2388 2008-01-31 Richard Hult <richard@imendio.com>
2390 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
2391 issues with undecorated windows. Revert the change done on
2392 2008-01-25 and fix it by using the view's bounds instead. The
2393 bounds will always be up to date when setting up the tracking
2394 rect, so this should be more robust.
2396 2008-01-30 Sven Neumann <sven@gimp.org>
2398 * gdk/directfb/gdkdrawable-directfb.c
2399 * gdk/directfb/gdkwindow-directfb.c
2400 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
2401 Oliver Kropp <dok@directfb.org>. Adds debug messages using
2402 DirectFB's debugging system
2404 2008-01-30 Sven Neumann <sven@gimp.org>
2406 * gdk/directfb/gdkdirectfb.h
2407 * gdk/directfb/gdkdisplay-directfb.c
2408 * gdk/directfb/gdkdrawable-directfb.c
2409 * gdk/directfb/gdkim-directfb.c
2410 * gdk/directfb/gdkimage-directfb.c
2411 * gdk/directfb/gdkinput-directfb.c
2412 * gdk/directfb/gdkmain-directfb.c
2413 * gdk/directfb/gdkpixmap-directfb.c
2414 * gdk/directfb/gdktestutils-directfb.c
2415 * gdk/directfb/gdkvisual-directfb.c
2416 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
2417 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
2418 errors and has some cleanups.
2420 2008-01-30 Michael Natterer <mitch@imendio.com>
2422 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
2423 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
2426 * gtk/updateiconcache.c (add_string): cast const gchar* to
2427 gpointer when inserting in a GHashTable.
2429 * tests/testcalendar.c (calendar_detail_cb): remove const from
2430 return value since it's a newly allocated string.
2432 (calendar_update_details): free the detail.
2434 2008-01-29 Johan Dahlin <johan@gnome.org>
2436 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
2438 * demos/gtk-demo/demo.ui:
2439 Move the about dialog to the glade file, add accessible tags
2440 examples to the markup file.
2442 2008-01-28 Paolo Borelli <pborelli@katamail.com>
2444 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
2445 layout, fixes #512375.
2447 2008-01-28 Michael Natterer <mitch@imendio.com>
2449 * gtk/gtktextchild.c
2450 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
2452 2008-01-28 Michael Natterer <mitch@imendio.com>
2454 * demos/gtk-demo/builder.c (about_activate): use
2455 gtk_about_dialog_set_program_name() instead of the deprecated
2458 2008-01-28 Michael Natterer <mitch@imendio.com>
2460 * gtk/gtktextchild.c
2461 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
2464 2008-01-26 Johan Dahlin <johan@gnome.org>
2466 * tests/Makefile.am:
2467 * tests/textbuffertest.c:
2468 Rename textbuffer test and port it to the new test framework
2470 2008-01-25 Johan Dahlin <johan@gnome.org>
2472 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
2473 unsetting of GTK_MODULES.
2475 * gtk/gtk-builder-convert
2476 (GtkBuilderConverter._convert_adjustment): Handle the case where
2477 there is no child text node.
2478 (GtkBuilderConverter): Allow xml comments in most places.
2480 2008-01-25 Johan Dahlin <johan@gnome.org>
2482 * gtk/gtk-builder-convert
2483 (GtkBuilderConverter._convert_combobox_items): Remove the items
2484 even if there are no items set.
2485 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
2486 signals and tooltips for all menu items subclasses and
2487 GtkImageMenuItem:label.
2488 Makes it possible to fully convert and run Jokosher.glade.
2490 2008-01-25 Johan Dahlin <johan@gnome.org>
2492 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
2493 (gtk_widget_buildable_get_internal_child), (free_action),
2494 (free_relation), (gtk_widget_buildable_parser_finished),
2495 (accessibility_start_element),
2496 (gtk_widget_buildable_custom_tag_start),
2497 (gtk_widget_buildable_custom_finished):
2498 Implement accessible support, fixes #454653.
2500 * gtk/gtk-builder-convert:
2501 Add support for migrating old glade files
2503 * tests/buildertest.c: (test_widget), (test_file):
2504 Add accessible tests and imprve the test_file function to display
2505 toplevels and run dialogs.
2507 2008-01-25 Richard Hult <richard@imendio.com>
2509 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
2510 didn't change, fixes focus event issues for undecorated windows.
2512 2008-01-25 Richard Hult <richard@imendio.com>
2514 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
2515 const and remove unused variables).
2517 2008-01-25 Michael Natterer <mitch@imendio.com>
2520 * gtk/gtkcellrenderer.h
2521 * gtk/gtkimcontext.h
2525 * gtk/gtktreeprivate.h
2526 * gtk/gtktreeviewcolumn.h
2527 * gtk/gtkwidget.h: add const to constant structs which are passed
2528 into GTK+. Also add some forgotten const for const strings.
2532 * gtk/gtkcellrenderer.c
2533 * gtk/gtkimcontext.c
2538 * gtk/gtktreeviewcolumn.c
2539 * gtk/gtkwidget.c: changed accordingly.
2541 2008-01-25 Sven Herzberg <sven@imendio.com>
2543 Reviewed by Johan Dahlin.
2545 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
2546 this is called with something that's not a GtkUIManager
2548 2008-01-24 Johan Dahlin <johan@gnome.org>
2550 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
2551 Chain up to parent, so widgets can have internal children.
2553 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
2555 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
2558 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
2560 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
2562 Use pango_layout_set_height() for calendar details (#506049).
2564 * configure.in: Require 1.19.3 for pango_layout_set_height().
2565 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
2567 2008-01-18 Johan Dahlin <johan@gnome.org>
2569 * gtk/gtk-builder-convert (get_property_node): New method
2570 (GtkBuilderConverter._create_object): Conditionally take a node as
2571 a property value, so don't lose translate/context attributes if they
2573 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
2574 property values instead of strings.
2575 (#509153, Erik van Pienbroek)
2577 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
2579 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
2581 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
2582 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
2583 * tests/testcalendar.c: Duplicate calendar details before returning.
2585 2008-01-16 Christian Persch <chpe@gnome.org>
2587 * gtk/gtkwidget.c: Store the event mask and extension event mode
2588 directly in the gobject data pointer, instead of in an allocated
2591 2008-01-16 Michael Natterer <mitch@imendio.com>
2593 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
2594 gdk-pixbuf now uses gio functions.
2596 2008-01-16 Matthias Clasen <mclasen@redhat.com>
2598 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
2599 the notify::model signal. (#509819, David Zeuthen)
2601 2008-01-15 Michael Natterer <mitch@imendio.com>
2609 * gdk/gdkwindow.h: made more struct pointer and array parameters
2610 const. GDK should now be constified as far as possible without
2611 breaking source compatibility. Includes some minor cleanup like
2612 indentation and s/nfoo/n_foo/ (bug #508544).
2618 * gdk/gdkregion-generic.c
2620 * gdk/directfb/gdkdisplay-directfb.c
2621 * gdk/directfb/gdkwindow-directfb.c
2622 * gdk/quartz/gdkdisplay-quartz.c
2623 * gdk/quartz/gdkwindow-quartz.c
2624 * gdk/win32/gdkdisplay-win32.c
2625 * gdk/win32/gdkwindow-win32.c
2626 * gdk/x11/gdkdisplay-x11.c
2627 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2629 2008-01-14 Michael Natterer <mitch@imendio.com>
2631 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
2634 (gtk_rc_parse_any): change variables to const and introduce
2635 another local variable to fix const warnings.
2637 2008-01-14 Michael Natterer <mitch@imendio.com>
2639 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
2640 of gdk_screen_get_font_options() to gpointer to get rid of const
2643 2008-01-14 Michael Natterer <mitch@imendio.com>
2645 * tests/testdnd.c (source_drag_data_get): fix another call to
2646 gtk_selection_data_set().
2648 2008-01-14 Michael Natterer <mitch@imendio.com>
2650 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
2653 2008-01-14 Michael Natterer <mitch@imendio.com>
2655 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
2657 2008-01-14 Michael Natterer <mitch@imendio.com>
2659 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
2660 "uris" to guchar* when passing it to gtk_selection_data_set().
2662 2008-01-14 Michael Natterer <mitch@imendio.com>
2668 * gdk/gdkinternals.h
2670 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
2671 parameters const (bug #508544).
2676 * gdk/gdkrectangle.c
2677 * gdk/gdkpolyreg-generic.c
2678 * gdk/gdkregion-generic.c
2679 * gdk/directfb/gdkcolor-directfb.c
2680 * gdk/directfb/gdkgc-directfb.c
2681 * gdk/directfb/gdkgeometry-directfb.c
2682 * gdk/directfb/gdkwindow-directfb.c
2683 * gdk/quartz/gdkcolor-quartz.c
2684 * gdk/quartz/gdkgc-quartz.c
2685 * gdk/quartz/gdkgeometry-quartz.c
2686 * gdk/quartz/gdkwindow-quartz.c
2687 * gdk/win32/gdkcolor-win32.c
2688 * gdk/win32/gdkgc-win32.c
2689 * gdk/win32/gdkgeometry-win32.c
2690 * gdk/win32/gdkprivate-win32.h
2691 * gdk/win32/gdkwindow-win32.c
2692 * gdk/x11/gdkcolor-x11.c
2693 * gdk/x11/gdkgc-x11.c
2694 * gdk/x11/gdkgeometry-x11.c
2695 * gdk/x11/gdkmain-x11.c
2696 * gdk/x11/gdkprivate-x11.h
2697 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2699 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
2702 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2704 Explain name choice for gtk_tool_item_toolbar_reconfigured.
2706 * gtk/gtktoolitem.c: Add comment expaining name choice for
2707 gtk_tool_item_toolbar_reconfigured.
2709 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2711 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
2712 implementations to notify its children, when some aspect of their
2713 configuration changed (#509042).
2715 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
2716 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
2717 Rename _gtk_tool_item_toolbar_reconfigured.
2719 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2721 Include <gtk/gtktoolshell.h> from gtk.h.
2723 * gtk/gtk.h: Add gtktoolshell.h
2725 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2727 Print angle brackets arround e-mail addresses in the about dialog
2728 (#409520, Mariano Suárez-Alvarez).
2730 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
2732 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
2734 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
2735 special casing so test widgets are always queues for destruction
2738 * gtk/tests/testing.c: removed bits left-over from testing without
2741 2008-01-10 Tor Lillqvist <tml@novell.com>
2743 * modules/other/gail/libgail-util/Makefile.am
2744 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
2747 2008-01-10 Tor Lillqvist <tml@novell.com>
2749 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
2750 uses gtkprintunixdialog API.
2752 2008-01-10 Tor Lillqvist <tml@novell.com>
2754 * gdk/win32/gdkdisplay-win32.c
2755 * gdk/win32/gdkglobals-win32.c
2756 * gdk/win32/gdkprivate-win32.h
2757 * gdk/win32/gdkscreen-win32.c
2758 * gdk/win32/gdkwindow-win32.c: Implement
2759 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
2760 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
2763 2008-01-10 Cody Russell <bratsche@gnome.org>
2765 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
2766 Properly ref/unref windows and parents. (#506769)
2768 2008-01-10 Richard Hult <richard@imendio.com>
2770 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2771 (gdk_window_hide), (move_resize_window_internal): Move the
2772 tracking rect workaround from here...
2774 * gdk/quartz/GdkQuartzWindow.c:
2775 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
2776 movements during showing/hiding operations. Fixes bug #508516.
2778 2008-01-10 Michael Natterer <mitch@imendio.com>
2780 * gdk/directfb/gdkscreen-directfb.c
2781 (gdk_screen_get_monitor_width_mm)
2782 (gdk_screen_get_monitor_height_mm)
2783 (gdk_screen_get_monitor_plug_name): add these functions to make
2786 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
2788 * gtk/gtkrecentchoosermenu.c:
2789 (idle_populate_func), (idle_populate_clean_up): Fix possible
2790 recursion by resetting the idle source id. (#507605, William
2793 2008-01-10 Kristian Rietveld <kris@imendio.com>
2795 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
2796 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
2797 avoid valgrind warnings. (#507751, patch from Christian Persch).
2799 2008-01-10 Kristian Rietveld <kris@imendio.com>
2801 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
2802 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
2804 2008-01-10 Kristian Rietveld <kris@imendio.com>
2806 Fix #477175, reported by Juri Pakaste.
2808 * gtk/gtktreeprivate.h:
2809 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
2810 tree_view->priv->dy here directly, just calculate the new value
2811 and set it on the adjustment,
2812 (gtk_tree_view_adjustment_changed): add guards to not call
2813 gtk_tree_view_dy_to_top_row() if we are currently in
2814 gtk_tree_view_top_row_to_dy(),
2815 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
2816 coordinates, not tree coordinates,
2817 (gtk_tree_view_real_start_editing): add cast.
2819 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
2820 position of the editable in the "create new row and start editing"
2823 2008-01-09 Michael Natterer <mitch@imendio.com>
2825 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
2828 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
2829 * gtk/gtkicontheme.c (theme_list_contexts)
2830 (gtk_icon_theme_lookup_icon)
2831 * gtk/gtkimcontextsimple.c (beep_window)
2832 * gtk/gtklinkbutton.c (set_link_color)
2833 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
2836 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
2837 variable and add const to another to fix a warning.
2839 2008-01-07 Matthias Clasen <mclasen@redhat.com>
2841 * gtk/gtkassistant.c (remove_page): Be more robust when removing
2842 the current page. (#499951, Andreas Sandberg)
2844 2008-01-06 Johan Dahlin <johan@gnome.org>
2846 * gtk/gtkspinbutton.c: Declare value in the example code for
2847 GtkSpinButton::output, as pointed out by Anders Carlsson.
2849 2008-01-06 Christian Persch <chpe@gnome.org>
2851 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
2852 and remove an obsolete event box. Bug #506760.
2854 2008-01-06 Johan Dahlin <johan@gnome.org>
2856 * tests/buildertest.c (test_domain):
2857 Update, GtkBuilder::translation-domain is no longer set
2859 * gtk/gtkbuilderparser.c (parse_interface):
2860 Allow domains to be overridden in <interface>'s if a translation-domain
2861 is set in the builder.
2862 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
2863 of the builder, make the domain set in the <interface> apply only to strings
2865 (#496831, Ryan Lortie)
2867 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
2870 * gtk/gtktreestore.c (tree_model_end_element):
2871 Remove an unused variable
2873 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2875 * gtk/gtkspinbutton.c: Document the ::output signal and
2876 add an example. (#507566, example by Owen Taylor)
2878 2008-01-06 Johan Dahlin <johan@gnome.org>
2880 * gtk/gtkcellrenderercombo.c:
2881 (gtk_cell_renderer_combo_get_property),
2882 (gtk_cell_renderer_combo_set_property):
2883 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
2884 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
2885 * gtk/gtknotebook.c: (gtk_notebook_set_property):
2886 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
2887 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
2888 (gtk_text_buffer_get_property):
2889 * gtk/gtktextview.c: (gtk_text_view_set_property):
2890 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
2891 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
2892 (gtk_tool_button_get_property):
2893 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
2894 (gtk_tool_item_get_property):
2895 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
2896 * gtk/gtkwidget.c: (gtk_widget_set_property):
2897 * gtk/gtkwindow.c: (gtk_window_set_property):
2898 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
2901 2008-01-06 Johan Dahlin <johan@gnome.org>
2903 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
2904 Make sure that --root works for toplevel widgets.
2905 (#491847, Phil Lello)
2907 2008-01-05 Johan Dahlin <johan@gnome.org>
2909 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
2910 to make sure that make test-report works properly
2912 2008-01-05 Christian Persch <chpe@gnome.org>
2914 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
2915 GType as integer through gpointer. Bug #507395.
2917 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
2919 Avoid some compiler warnings (#507000).
2921 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
2922 for value argument of _gtk_builder_flags_from_string.
2923 * gtk/gtkwidget.c: Don't alias the child pointer passed
2924 to gdk_window_get_user_data.
2926 2008-01-04 Michael Natterer <mitch@imendio.com>
2928 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
2929 to set the time in the returned GdkTimeCoords.
2931 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
2933 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
2934 correct comparison function (kudos to Christian Persch and
2935 Claudio Saavedra for spotting this)
2937 * gtk/gtkrecentchooserutils.c:
2938 (sort_recent_items_mru),
2939 (sort_recent_items_lru): Ditto as above.
2941 2008-01-03 Johan Dahlin <johan@gnome.org>
2943 * tests/defaultvaluetest.c: Make it pass again.
2945 2008-01-02 Johan Dahlin <johan@gnome.org>
2947 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
2948 make it pass on Ubuntu.
2949 (main): Use gtk_test_list_all_types () instead of providing our
2951 And it no longer passes.
2953 2007-12-30 Johannes Schmid <jhs@gnome.org>
2955 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
2956 Also reorder menu when reordering tabs by drag & drop
2959 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
2960 Add a menu to one of the notebooks to have a test-case for
2961 the change mentioned above.
2963 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
2965 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
2967 2007-12-31 Christian Persch <chpe@gnome.org>
2969 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
2970 Plug a mem leak. Bug #506107.
2972 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2974 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
2975 icon cache api change. (#506135, Kazuki Iwamoto)
2977 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2979 Consider "wide-separators" and "separator-height" style properties:
2980 The separator is drawn using gtk_paint_box instead of cairo, when
2981 "wide-separators" is set. Also do not highlight details for previous
2982 or next month, if their day matches the selected day. (#339540)
2984 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
2985 in gtk_calendar_size_request and calendar_paint_day
2986 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
2987 for selected detail separators in GtkCalendar.
2989 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2991 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
2993 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
2994 a local variable instead in gtk_calendar_size_request.
2996 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2998 * tests/defaultvaluetest.c: Add enough exclusions to make the
3001 2007-12-28 Christian Persch <chpe@gnome.org>
3003 * modules/other/gail/Makefile.am:
3004 * modules/other/gail/tests/*:
3005 * configure.in: Merge tests from standalone gail. Bug #504568.
3007 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3009 * gtk/gtkclipboard.c: Make the finalizer work when display is
3012 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3014 Draw bottom shadow of GtkCalender headings. (#506113)
3016 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
3018 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3020 * gtk/gtkcalendar.c: Document the initial values of year/month/day
3023 2007-12-28 Christian Persch <chpe@gnome.org>
3025 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
3026 a mem leak. Bug #506096.
3028 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3031 * gtk/gtktreeview.c:
3032 * gtk/gtkprintoperation.c:
3033 * gtk/gtkprogressbar.c:
3034 * gtk/gtkmessagedialog.c:
3035 * gtk/gtknotebook.c:
3039 * gtk/gtklinkbutton.c:
3040 * gtk/gtkmenu.c: More default property value corrections.
3042 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3044 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
3045 accel_group unless it is set.
3047 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3049 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
3051 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3053 * gtk/gtkhandlebox.c: Fix the default values of shadow and
3054 shadow-type properties.
3056 * gtk/gtkfontsel.c: Fix the default values of several properties.
3058 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
3061 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
3063 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
3066 2007-12-28 Johan Dahlin <johan@gnome.org>
3068 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
3069 (gtk_dialog_buildable_custom_tag_start): Chain up.
3070 This makes it possible to have accelerators tags on GtkDialog
3073 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3075 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
3076 are shown within the widget, or just as tooltip. (#339540)
3078 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
3079 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
3080 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
3083 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3085 Try more decent appearance of calendar details separator. (#339540)
3087 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
3088 and make it short by one pixel on each side.
3090 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3092 Apply trivial code-style changes from attachement 101101. (#339540)
3094 * tests/testcalendar.c: Some updates to current GTK+ code-style.
3096 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3098 Restructure testcalendar for testing calendar details. (#339540)
3100 * tests/testcalendar.c: Push code arround for testing calendar details.
3102 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3104 Implement GtkTooltip API for calendar details. (#339540)
3106 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
3107 Remember detail overflows in calendar_paint_day to show the tooltip
3108 only when neccessary.
3110 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3112 Without setting "detail-width-chars" and "detail-height-rows"
3113 properties not only the widget has to be redrawn on certain
3114 conditions, but also its size must be recalculated. (#339540)
3116 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
3117 that function instead of gtk_widget_queue_draw.
3119 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3121 Consider details for size-request and expose-event. (#339540)
3123 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
3124 is_color_attribute functions. Change gtk_calendar_size_request
3125 and calendar_paint_day to consider and show calender details.
3127 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3129 * gtk/gtkcombobox.c: Introduce local priv variables to
3132 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3134 * gtk/gtkcombobox.c: Correct the default value for the
3135 tearoff-title property.
3137 * gtk/gtkcellrenderertext.c: Fix the default value for the
3138 wrap-mode and font-scale properties.
3140 * gtk/gtkaspectratio.c: Fix the default value for the ratio
3143 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3145 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
3146 defines. (#505708, MINAMI Hirokazu)
3148 2007-12-27 Christian Persch <chpe@gnome.org>
3150 * Makefile.am: Install gail.pc. Bug #505859.
3152 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
3154 Add infrastructure for GtkCalendar details. (#339540)
3156 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
3157 Add "detail-width-chars" and "detail-height-rows" properties,
3158 and gtk_calendar_set_detail_func function.
3160 2007-12-27 Xan Lopez <xan@gnome.org>
3163 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
3165 Add gtk_border_new to avoid memory allocator confusions when using
3166 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
3168 2007-12-27 Christian Persch <chpe@gnome.org>
3170 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
3171 bug #504886 not to read unitialised memory.
3173 2007-12-26 Xan Lopez <xan@gnome.org>
3175 * gtk/gtkstatusbar.c (has_extra_children): take into account the
3176 modification of the internal frame contents to decide if we have
3177 extra children. (#415677)
3179 2007-12-22 Christian Persch <chpe@gnome.org>
3181 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
3183 2007-12-25 Christian Persch <chpe@gnome.org>
3185 * modules/other/gail/gailwindow.c: (gail_window_initialize):
3186 Initialise |widget|. Fixes a buglet introduced by the commit from bug
3189 2007-12-25 Christian Persch <chpe@gnome.org>
3191 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
3193 2007-12-25 Christian Persch <chpe@gnome.org>
3195 * modules/other/gail/*.[ch]: Remove relocations from the atk
3196 factories. Remove unused gail_foo_new() functions. Fix object
3197 instantiation to be derivation safe by moving initialisation code
3198 from the removed gail_foo_new() functions to the
3199 AtkObjectClass::initialize implementation. Bug #505226.
3201 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3203 * modules/other/gail/gailentry.c:
3204 * modules/other/gail/gailimage.c:
3205 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
3206 uses of clipboards and settings. (#504722, Christian Persch)
3208 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3210 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
3213 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3215 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
3216 use the time and button information from the event. (#504901,
3219 2007-12-23 Cody Russell <bratsche@gnome.org>
3221 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
3222 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
3223 Fixes a regression caused by #164537 patch where transient
3224 windows that are hidden get shown (incorrectly) when their
3225 parents are minimized. (#504984)
3227 2007-12-22 Christian Persch <chpe@gnome.org>
3229 * modules/other/gail/gailcell.c:
3230 * modules/other/gail/gailcontainercell.c:
3231 * modules/other/gail/gailexpander.c:
3232 * modules/other/gail/gailtextcell.c:
3233 * modules/other/gail/gailtextview.c:
3234 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
3236 2007-12-22 Christian Persch <chpe@gnome.org>
3238 * modules/other/gail/*.c: Include config.h. Bug #504720.
3240 2007-12-22 Christian Persch <chpe@gnome.org>
3242 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
3243 handwritten get_type functions. Bug #504661.
3245 2007-12-23 Xan Lopez <xan@gnome.org>
3247 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
3248 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
3250 Patch by Sadrul Habib Chowdhury (#504804)
3252 2007-12-22 Christian Persch <chpe@gnome.org>
3254 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
3255 #504645, patch by Li Yuan.
3257 2007-12-22 Christian Persch <chpe@gnome.org>
3259 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
3261 2007-12-22 Christian Persch <chpe@gnome.org>
3263 * modules/other/gail/gail.c:
3264 * modules/other/gail/gailbutton.c:
3265 * modules/other/gail/gailcell.c:
3266 * modules/other/gail/gailcombo.c:
3267 * modules/other/gail/gailcombo.h:
3268 * modules/other/gail/gailcombobox.c:
3269 * modules/other/gail/gailentry.c:
3270 * modules/other/gail/gailexpander.c:
3271 * modules/other/gail/gailmenuitem.c:
3272 * modules/other/gail/gailnotebook.c:
3273 * modules/other/gail/gailnotebookpage.c:
3274 * modules/other/gail/gailnotebookpage.h:
3275 * modules/other/gail/gailoptionmenu.c:
3276 * modules/other/gail/gailrange.c:
3277 * modules/other/gail/gailtextview.c:
3278 * modules/other/gail/gailtreeview.c:
3279 * modules/other/gail/gailtreeview.h:
3280 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
3283 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3285 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
3288 2007-12-21 Richard Hult <richard@imendio.com>
3290 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
3291 Plug leak of destroyed subviews, fixes bug #504753.
3293 2007-12-20 Johan Dahlin <johan@gnome.org>
3295 * tests/Makefile.am (TEST_PROGS):
3296 * tests/defaultvaluetest.c: Add a test for default values,
3297 based on program by Christan Perch
3299 2007-12-20 Johan Dahlin <johan@gnome.org>
3301 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
3302 Refactor to avoid some duplication.
3303 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
3304 Fixes #504749, Yuri Pimenov
3306 2007-12-20 Kristian Rietveld <kris@imendio.com>
3308 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
3309 the build work again on systems without xrandr 1.2.
3311 2007-12-20 Christian Persch <chpe@gnome.org>
3314 * modules/other/gail/libgail-util/Makefile.am:
3315 Keep the same libtool version as the standalone libgail-util had.
3318 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
3320 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
3322 2007-12-20 Alexander Larsson <alexl@redhat.com>
3324 * gdk/x11/gdkapplaunchcontext-x11.c:
3325 Update for gio API changes
3327 2007-12-20 Richard Hult <richard@imendio.com>
3329 * gdk/quartz/GdkQuartzWindow.c:
3330 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
3331 processing events after changing the size.
3333 2007-12-20 Richard Hult <richard@imendio.com>
3335 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
3336 Add stub for quartz to fix build.
3338 2007-12-20 Christian Persch <chpe@gnome.org>
3340 * modules/other/gail/Makefile.am:
3341 * modules/other/gail/gailimage.c: (gail_image_class_init),
3342 (gail_image_init), (elide_underscores), (gail_image_get_name),
3343 (atk_image_interface_init), (gail_image_finalize):
3344 * modules/other/gail/gailimage.h:
3345 R modules/other/gail/gailintl.h:
3346 * po/POTFILES.skip: Use the stock item's label as the name of the
3347 accessible in gailimage.c. Bug #504246.
3349 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
3351 Avoid some compiler warnings and remove obsolete code. (#339540)
3353 * gtk/gtkcalendar.c: Change week and year variable in
3354 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
3355 0" block from calendar_paint_day: The feature in question is handled
3356 few lines above. Cast data returned by gtk_selection_data_get_text()
3357 to (gchar*) in gtk_calendar_drag_data_received.
3359 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
3361 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
3363 2007-12-19 Johan Dahlin <johan@gnome.org>
3365 * tests/buildertest.c (test_object_properties):
3366 Add another call to gtk_builder_add_string after using
3367 delayed properties, as reported in #504393 but already
3370 2007-12-18 Christian Persch <chpe@gnome.org>
3373 * docs/reference/Makefile.am:
3374 * docs/reference/libgail-util/*:
3375 * gail-uninstalled.pc.in:
3377 * modules/Makefile.am:
3378 * modules/other/Makefile.am:
3379 * modules/other/gail/*:
3380 * modules/other/gail/libgail-util/*:
3381 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
3383 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3385 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
3386 * gdk/win32/gdkproperty-win32.c:
3387 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
3389 * gtk/gtkimmodule.[hc]:
3390 * gtk/gtkimmulticontext.[hc]: When determining the default context,
3391 look at the gtk-im-module setting, and listen for changes to the
3392 setting. (#502446, Akira Tagoh)
3394 2007-12-17 Kristian Rietveld <kris@imendio.com>
3396 * gtk/gtktooltip.c (gtk_tooltip_finalize),
3397 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
3398 to NULL as soon as it's destroyed. (#496546, patch from
3401 2007-12-17 Kristian Rietveld <kris@imendio.com>
3403 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
3404 always determine what arrow to show if show_sort_indicator is true.
3405 (#352738, Chris Vine).
3407 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
3409 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
3412 * gtk/gtkpaned.c: Call gtk_container_forall instead of
3413 gtk_container_foreach in get_child_panes.
3415 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
3417 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
3419 Plug leak: When reordering the info in the list the old node is
3420 removed but not freed. (#503569)
3422 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
3424 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
3425 Use u32 instead of __u32 and u8 instead of __u8 as the other types
3426 are deprecated since DirectFB 1.0.0. If compiling with an older
3427 version define the new type name to the old types. Fixes bug #503190.
3429 2007-12-14 Ray Strode <rstrode@redhat.com>
3431 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
3432 instead of g_signal_connect_after (..., "realize", ...) as an
3433 alternative to gtk_widget_realize () (bug 503537).
3435 2007-12-14 Michael Natterer <mitch@imendio.com>
3437 * gdk/gdkinternals.h
3438 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
3441 * gdk/gdkapplaunchcontext.c
3442 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
3443 header already includes everything now.
3445 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3447 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
3448 next stable release shall be 2.16, not 2.14 - even if disagree.
3450 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
3452 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3454 Change GtkToolItem to retrieve its properties from GtkToolShell
3455 interface, instead of relying on being child of a GtkToolbar.
3458 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
3459 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
3460 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
3461 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
3462 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
3463 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
3464 Take section docs from template file and update them for GtkToolShell.
3465 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
3466 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
3468 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3470 Extract loading of GtkPageSetup and GtkPrintSettings from their
3471 *_new_*() functions and move that code into separate
3472 *_load_*() functions (#475565).
3474 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
3475 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
3476 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
3477 Change the matching *_new_*() functions to use those functions.
3479 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3482 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
3484 2007-12-14 Kristian Rietveld <kris@imendio.com>
3486 * gtk/tests/liststore.c:
3487 * gtk/tests/treestore.c: added tests for insertion functions.
3489 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
3491 * Add RandR 1.2 support
3493 - New monitors_changed signal - New API to get width/height of
3494 monitors, and the name of the plug
3496 2007-12-13 Kristian Rietveld <kris@imendio.com>
3498 * gtk/tests/liststore.c:
3499 * gtk/tests/treestore.c: test the move and swap functions on a
3500 store with only one node.
3502 2007-12-13 Kristian Rietveld <kris@imendio.com>
3504 * gtk/gtktestutils.c (gtk_test_init): add a call to
3507 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
3510 2007-12-13 Kristian Rietveld <kris@imendio.com>
3512 * gtk/tests/liststore.c:
3513 * gtk/tests/treestore.c: start composing tests for the list and tree
3516 * gtk/tests/treeview-scrolling.c: added automated tests for
3517 GtkTreeView's scrolling "subsystem".
3519 * gtk/tests/Makefile.am: updated; added new test programs.
3521 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
3523 Make the code compile again after the GdkAppLaunchContext changes.
3525 * configure.in: Add gio-2.0 to GDK_PACKAGES.
3526 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
3528 2007-12-12 Matthias Clasen <mclasen@redhat.com>
3530 * gdk/gdkapplaunchcontext.c: Add docs
3532 2007-12-12 Matthias Clasen <mclasen@redhat.com>
3534 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
3535 in gdk, providing startup notification. (#503203)
3537 * gdk/x11/gdkapplaunchcontext-x11.c:
3538 * gdk/win32/gdkapplaunchcontext-win32.c:
3539 * gdk/quartz/gdkapplaunchcontext-quartz.c:
3540 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
3541 parts. All but X11 are just empty stubs for now.
3544 * gdk/gdkinternals.h:
3546 * gdk/x11/Makefile.am:
3547 * gdk/win32/Makefile.am:
3548 * gdk/quartz/Makefile.am:
3549 * gdk/directfb/Makefile.am: Necessary glue.
3551 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
3553 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
3555 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3557 * gdk/directfb/gdktestutils-directfb.c:
3558 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
3559 which adds testing functions to the DirectFB backend.
3561 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3563 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
3564 Ciccani which fixes the mixing of gdk and cairo rendering.
3566 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
3568 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
3569 on "drag-motion" handlers. Clearify documentation for
3572 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
3574 * buildertest.c: made unnecessarily exported symbols static.
3575 switched g_return_if_fail() statements in tests to assertions.
3576 special cased currently failing Widget/accesibility test to
3577 run only for g_test_thorough(), so it doesn't break make check.
3578 some coding style fixes.
3580 * Makefile.am: added buildertest to TEST_PROGS.
3582 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3584 * docs/tutorial/gtk-tut.sgml:
3585 Use gtk_widget_get_parent_window() instead of widget->parent->window.
3587 2007-12-10 Richard Hult <richard@imendio.com>
3589 * gdk/quartz/Makefile.am:
3590 * gdk/quartz/gdkquartz.h:
3591 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
3592 header (bug #405915). Also add a getter for the toplevel nswindow.
3594 2007-12-10 Richard Hult <richard@imendio.com>
3596 * gdk/quartz/gdkdrawable-quartz.c:
3597 (gdk_quartz_drawable_get_context),
3598 (gdk_quartz_drawable_release_context):
3599 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
3600 (gdk_event_check), (gdk_event_dispatch), (poll_func):
3601 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
3602 used for each drawing context and in prepare, dispatch and poll
3603 with one that exists across each main loop iteration. Fixes leaks
3604 on leopard and protects against future leaks introduce when the
3605 underlying system changes again (bug #492977).
3607 2007-12-10 Richard Hult <richard@imendio.com>
3609 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
3610 Fix the check for no changes to position and size.
3612 2007-12-10 Richard Hult <richard@imendio.com>
3614 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
3615 sized areas at (0, 0), patch from Paul Davis.
3617 2007-12-10 Richard Hult <richard@imendio.com>
3619 * gdk/quartz/gdkprivate-quartz.h:
3620 * gdk/quartz/gdkeventloop-quartz.c:
3621 (_gdk_quartz_event_loop_get_pending),
3622 (_gdk_quartz_event_loop_check_pending),
3623 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
3624 (gdk_event_check), (gdk_event_dispatch):
3625 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
3626 (_gdk_events_queue): Fix a bug where we could end up trying to
3627 handle the same event more than once. Based on patch from Paul
3630 2007-12-10 Tor Lillqvist <tml@novell.com>
3632 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
3635 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3637 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
3638 to avoid further fallout from the fix for bug 388321.
3640 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3642 * gdk/directfb/gdkgc-directfb.c:
3643 * gdk/directfb/gdkdrawable-directfb.c:
3644 * gdk/directfb/gdkdirectfb.h:
3645 * gdk/directfb/gdkwindow-directfb.c:
3646 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
3647 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
3648 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
3649 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
3650 which are expected to improve the performance of the DirectFB backend.
3651 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
3653 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3655 * gtk/gtkcontainer.c: Correct the documentation of child
3656 property getter arguments. (#501992, David Brigada)
3658 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3660 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
3661 leak pixbufs. (#502250, Yevgen Muntyan)
3663 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
3665 * gtk/gtkprintunixdialog.c:
3666 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
3667 Print and Page Setup dialogs (#502202).
3669 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
3671 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
3672 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
3673 of XVFB_START, since it's the GTESTER invokation that needs this.
3675 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
3677 * gdk-pixbuf/gdk-pixbuf.symbols:
3679 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
3680 positives in abicheck.sh
3682 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3684 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
3685 GDK events generations in the DirectFB backend.
3687 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
3689 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
3690 set of likely unused display ids, because MacOS has no seq(1) command.
3692 2007-12-06 Richard Hult <richard@imendio.com>
3694 * gdk/quartz/gdkevents-quartz.c:
3695 (synthesize_crossing_events_for_ns_event): Fix warning when
3696 switching spaces in leopard.
3698 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
3700 * tests/floatingtest.c: ported to new testing framework.
3702 * tests/Makefile.am: run floatingtest as testing framework test.
3704 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
3706 * tests/autotestfilechooser.c: majorly speed up execution by reducing
3707 timeouts and converting main loop sleeps to pending/iterate loops with
3708 very low priority async handlers. eliminate output for non-verbose
3709 tests. assert successfull subtests in all test functions. use testing
3710 framework in main().
3712 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
3713 executed inside Xvfb upon make check.
3715 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
3717 * tests/objecttests.c: use string comparisons for string property
3718 values and get rid of referencing symbols in array initialization.
3720 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
3722 * gtk+/Makefile.decl: run tests in current dir after setting up the
3723 logging directory, so their results get properly merged into the
3726 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
3727 tests to loop over registered Gdk/Gtk+ types.
3729 * gtk+/tests/objecttests.c: new test program, implements automated
3730 property tests. several properties are blacklisted because they
3731 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
3732 can be used to test blacklisted properties and see which proprty failed.
3734 2007-12-04 Richard Hult <richard@imendio.com>
3736 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
3737 Fully initialize the root window, fixes bug #501583.
3739 2007-12-04 Matthias Clasen <mclasen@redhat.com>
3741 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
3744 2007-12-03 Richard Hult <richard@imendio.com>
3746 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
3747 Don't crash when dragging from a source that doesn't support uri
3748 lists (bug #499868, Paul Davis).
3750 2007-12-03 Richard Hult <richard@imendio.com>
3752 * gdk/quartz/gdkwindow-quartz.c:
3753 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
3754 parent relative bg pixmap is set, and no parent has a bg
3755 pixmap. Fixes bug #500804.
3757 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3759 Two optimizations for icon cache lookups.
3761 * gtk/gtkiconcache.[hc]:
3762 * gtk/gtkicontheme.c: Remember the directory index for
3763 subdirectories, instead of running over the directory list
3766 * gtk/gtkiconcache.c (find_image_offset): Remember the last
3767 chain and try it first; this helps with the the usage patterns
3768 in gtkicontheme.c, where the same icon is queried for a lot
3771 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
3773 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
3774 functions from header files. this should be portable across linux and
3775 Mac OS, unlike the previpous sed expression.
3777 2007-12-1 Cody Russell <bratsche@gnome.org>
3779 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
3780 On Windows, queue a redraw of child2 whenever we set
3781 the pane handle position. This is unfortunately kind
3782 of hacky, but solves the visual artifacts that were
3783 occuring on at least certain types of child widgets
3784 (e.g., text views and tree views) that are inside
3785 horizontal or vertical panes. (#144269)
3787 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3789 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
3791 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3793 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
3796 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3798 * gtk/Makefile.am: Fix ordering of subdirs.
3800 2007-11-28 Tor Lillqvist <tml@novell.com>
3802 A proper build of GNU libintl is supposed to export the variable
3803 _nl_msg_cat_cntr. configure looks for that variable in order to
3804 recognize GNU gettext. If it sees that it is indeed GNU gettext
3805 that is used, it decides to install message catalogs in
3806 share/locale, otherwise in lib/locale. Until now on Windows I have
3807 built GTK+ against a build of GNU gettext that did not export
3808 _nl_msg_cat_cntr. But this will change, so we can't assume message
3809 catalogs are always in lib/locale.
3811 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
3812 GTK_LOCALEDIR being either in "lib" or "share". Move the function
3813 before the inclusion of gtkprivate.h so that it sees the original
3816 * gtk-zip.sh.in: Check whether the message catalogs are in
3817 share/locale or lib/locale.
3819 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
3820 that the code in _gtk_get_localedir() will find the slashes.
3822 2007-11-28 Tor Lillqvist <tml@novell.com>
3824 * gtk/Makefile.am: Improve portability. The -o option is present
3825 only in newish GNU egreps. Use one more sed in the pipeline
3828 2007-11-28 Tor Lillqvist <tml@novell.com>
3830 Fix #375893, patch by Ben Hague:
3832 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
3833 around GetLogicalDrives() that takes also the viewable drive
3834 restrictions in the Registry (which are usually the result of an
3835 Active Directory Group Policy) into account.
3837 (check_volumes, gtk_file_system_win32_list_volumes) Call
3838 get_viewable_logical_drives() instead of GetLogicalDrives().
3840 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3842 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
3843 variables to silence valgrind. (#495124, Morten Welinder)
3845 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3847 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
3848 that the construct_child function is responsible for returning a
3850 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
3851 objects from constructors
3852 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
3853 g_object_ref() to this construction function (it's the only
3858 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3860 * gtkbuilder.c: remove concept of root objects and just refcount
3861 all objects in the builder. Fixes #496651.
3863 2007-11-26 Ryan Lortie <desrt@desrt.ca>
3865 * tests/buildertest.c (test_window): fix invalid free
3867 2007-11-26 Josselin Mouette <joss@malsain.org>
3869 reviewed by: Federico Mena Quintero
3871 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
3872 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
3873 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
3874 Make the shortcuts activate with a single click. (#148828)
3875 Fix a few things affected by the change:
3876 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
3877 where no shortcut is selected.
3878 - Don't activate a shortcut in the response callback.
3879 - Filter out duplicate entries in volumes and bookmarks to
3880 avoid the selection to change when reordering them with DnD.
3882 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3885 * gtk/gtknotebook.c:
3886 * gtk/gtkplugprivate.h:
3888 * gtk/gtksocketprivate.h:
3889 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
3891 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3893 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
3894 (#495574, Richard Hult)
3896 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3898 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
3899 String change ! (#376361, Sven Neumann)
3901 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3903 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
3905 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
3908 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3910 * gtk/gtkassistant.c: Improve alternative button
3911 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
3913 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3915 * gtk/gtkcalendar.c: Fix a theming problem with colors
3916 in GtkCalendar. (#499703, Michael Hofmann)
3918 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3920 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
3922 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3924 Use templates for glib-mkenums calls instead of
3925 complicated commandlines in Makefiles. (#429910)
3927 * gdk-pixbuf/Makefile.am:
3930 * perf/Makefile.am: Use templates for glib-mkenums
3932 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
3933 * gdk/gdkenumtypes.[ch].template:
3934 * gtk/gtktypebuiltings.[ch].template:
3935 * perf/typebuiltins.[ch].template: The templates
3937 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3939 * gtk/gtkfilechooserbutton.c:
3940 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
3941 some compilers choke on that. (#467722)
3943 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3945 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
3946 about hook setup. (#425004, Emmanuele Bassi)
3948 2007-11-26 Tor Lillqvist <tml@novell.com>
3950 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
3951 monitor the window currently is on, not always the primary
3952 monitor. (#463865, Tim Evans)
3954 2007-11-26 Tor Lillqvist <tml@novell.com>
3956 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
3958 * gdk/win32/Makefile.am: Add it.
3960 2007-11-26 Tor Lillqvist <tml@novell.com>
3962 * configure.in: Don't add jasper to all_loaders if no libjasper.
3964 2007-11-25 Bastien Nocera <hadess@hadess.net>
3966 * configure.in: Add detection for libjasper, used by the
3967 gdk-pixbuf JPEG2000 loader
3969 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3971 * configure.in: Require gtk-doc 1.8
3973 * */*.c: Use gtk-doc abbreviations for examples in docs.
3975 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3977 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
3980 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3982 * gtk/gtkdialog.c: Move signal and property documentation inline,
3983 fix a problem with the ::response signal docs. (#499133, Josselin
3986 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
3988 * Makefile.decl: initialize automake variables EXTRA_DIST and
3989 TEST_PROGS for unconditional appending via += in other makefiles.
3990 define recursive test targets: test, test-report, perf-report,
3991 full-report, as described here:
3992 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
3993 the test targets will execute Gtk+ test programs within an Xvfb session.
3995 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
3997 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
3998 g_test_run() to run the tests to integrate with the testing framework.
4000 * gtk/tests/Makefile.am: removed exemplary testing rules.
4002 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
4003 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
4004 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
4005 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
4006 * docs/reference/Makefile.am, docs/tools/Makefile.am:
4007 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
4008 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
4009 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
4010 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
4011 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
4012 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
4013 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
4014 * modules/engines/ms-windows/Theme/Makefile.am:
4015 * modules/engines/ms-windows/Makefile.am:
4016 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
4017 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
4018 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
4019 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
4020 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
4021 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
4022 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
4024 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4026 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
4027 (#485662, patch by Herbert Valerio Riedel)
4029 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4031 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
4033 2007-11-21 Richard Hult <richard@imendio.com>
4035 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
4036 stubs for the testing functions to fix the build.
4038 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4040 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
4041 (#467711, The Written Word)
4043 2007-11-21 Ross Burton <ross@openedhand.com>
4045 * gdk/x11/gdksettings.c:
4046 Add xsetting for gtk-scrolled-window-placement (#458103).
4048 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4050 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
4051 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
4052 (#469239, Michael Natterer)
4054 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4056 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
4057 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
4058 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
4059 (#436536, Tommi Komulainen)
4061 2007-11-21 Matthias Clasen <mclasen@redhat.com>
4063 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
4064 property. (#489782, Jan Janech)
4066 2007-11-20 Matthias Clasen <mclasen@redhat.com>
4068 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
4069 frames. (#107398, Owen Taylor, Miguel Gomez)
4071 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
4073 Moved Gdk test functions from Gtk+ to Gdk test utils.
4075 * gdk/Makefile.am: added gdktestutils.h to public includes.
4077 * gdk/gdk.h: added gdktestutils.h to public includes.
4079 * gdk/gdk.symbols: added gdk_test_simulate_button,
4080 gdk_test_simulate_key, gdk_test_render_sync.
4082 * gdk/gdktestutils.h: new file, added prototypes for
4083 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
4085 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
4087 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
4088 gdk_test_simulate_key, gdk_test_render_sync.
4090 * gtk/gtktestutils.c:
4091 * gtk/gtktestutils.h:
4092 * gtk/gtk.symbols: removed gtk_test_simulate_button
4093 gtk_test_simulate_key, gtk_test_xserver_render_sync.
4095 * gtk/tests/testing.c: call gdk_test_render_sync.
4097 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
4099 Added unit tests for Gtk+ testing utilities.
4101 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
4102 utility functions. some g_test_* related portions are disabled and need
4103 to be enabled once Gtk+ depends on a new glib with the GLib testing
4104 framework integrated.
4106 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
4107 tests. added exemplary test rules to run tests inside Xvfb. this
4108 needs to depend on gtester for full fledged testing.
4110 * gtk/Makefile.am: build gtk+/gtk/tests, define
4111 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
4112 e.g. gtk_text_get_type().
4114 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
4116 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
4118 Added Gtk+ testing utilities.
4120 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
4121 functions. for the most part, the functions herein involve
4122 navigating and interacting with dialog elements programatically,
4123 to automate user interaction tests of dialogs and widgets.
4125 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
4127 * gtk/gtk.symbols: added gtk_test_* symbols.
4129 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
4130 the build. generate gtktypefuncs.c which contains a list of all
4131 _get_type functions in Gtk+ and Gdk.
4133 2007-11-20 Bastien Nocera <hadess@hadess.net>
4135 * configure.in: add support for conditional icns gdk-pixbuf loader
4138 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
4140 * configure.in: updated version number to 2.15.0 for development.
4142 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
4144 === Branch for 2.12 ===