1 2008-05-26 Richard Hult <richard@imendio.com>
3 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
4 setting the default font, might need to tweak this.
6 2008-05-26 Michael Natterer <mitch@imendio.com>
8 * examples/gtkdial/gtkdial.h
9 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
11 2008-05-26 Michael Natterer <mitch@imendio.com>
13 * gtk/gtkimmodule.h: fix indentation.
15 2008-05-26 Michael Natterer <mitch@imendio.com>
17 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
19 * gtk/gtkshow.c: remove inclusion of single files from gdk/
21 Removed trailing whitespace in both files.
23 2008-05-26 Richard Hult <richard@imendio.com>
25 Bug 530353 – Mac-like gtk_accelerator_get_label()
27 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
28 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
29 On quartz, make gtk_accelerator_get_label() format a Mac-like
30 string, using unicode characters for modifier keys, arrows, delete
31 etc. Patch from Yevgen Muntyan.
33 2008-05-26 Richard Hult <richard@imendio.com>
35 Bug 534869 – Length miscalculation in
36 _gtk_quartz_get_selection_data_from_pasteboard
38 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
39 Get the number of bytes, not the number of characters, patch from
42 2008-05-26 Matthias Clasen <mclasen@redhat.com>
44 * gtk/gtkwidget.c: Some doc formatting fixes.
46 2008-05-26 Matthias Clasen <mclasen@redhat.com>
48 Bug 511163 – Remove pango_extents_to_pixels() calls
50 * gtk/gtkcellrenderertext.c (get_size): Use
51 pango_layout_get_pixel_extents.
53 * configure.in: Bump Pango requirement to 1.20
55 * INSTALL.in: Update required versions
57 2008-05-26 Matthias Clasen <mclasen@redhat.com>
59 Bug 513811 – Use cairo_format_stride_for_width()
61 * gtk/gtkhsv.c (paint_ring, paint_triangle):
62 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
63 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
65 * configure.in: Bump cairo requirement to 1.6.0
67 * INSTALL.in: Update required versions
69 2008-05-26 Matthias Clasen <mclasen@redhat.com>
71 * gtk/gtkshow.[hc]: Formatting fixes
73 * gtk/gtkmountoperation.c: Add docs
75 2008-05-25 Cody Russell <bratsche@gnome.org>
77 Bug 507389 – use gslice for gtksettings
79 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
80 Report and patch by Christian Persch.
82 2008-05-25 Cody Russell <bratsche@gnome.org>
84 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
85 when options are missing
87 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
88 that other processes that try to open it will fail gracefully. Also
89 fix a crasher caused by lack of a NULL check. Report and patch
92 2008-05-25 Cody Russell <bratsche@gnome.org>
94 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
96 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
97 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
98 so that we also take into account for foreign windows.
99 Report and patch by Nathaniel Smith.
101 2008-05-25 Cody Russell <bratsche@gnome.org>
103 Bug 525461 - Don't invalidate under an input-only child
105 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
106 Check that the window is not input-only before invalidating.
107 Report and patch by Owen Taylor.
109 2008-05-25 Cody Russell <bratsche@gnome.org>
111 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
114 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
115 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
117 2008-05-25 Cody Russell <bratsche@gnome.org>
119 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
120 caused by missing flag initialization
122 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
123 top-level private flags correctly. Patch by Danny Baumann.
125 2008-05-25 Cody Russell <bratsche@gnome.org>
127 Bug 534463 - non-editable GtkTextView should not call
128 gtk_im_context_focus_in in focus event
130 * gtk/gtktextview.c: Add checks to see if the textview is
131 editable. Patch by Wang Diancheng.
133 2008-05-25 Matthias Clasen <mclasen@redhat.com>
135 Bug 501730 – use GSlice for small allocs
138 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
139 Patch by Christian Persch.
141 2008-05-25 Matthias Clasen <mclasen@redhat.com>
143 Bug 523930 – sort -> search in gtktreeview.c
145 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
146 glitch, pointed out by Björn Lindqvist.
148 2008-05-25 Matthias Clasen <mclasen@redhat.com>
150 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
152 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
153 doc glitch, pointed out by Christian Persch.
155 2008-05-25 Matthias Clasen <mclasen@redhat.com>
157 Bug 534694 – Col id in GtkListStore could be out of range
159 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
160 a bit. Pointed out by Jan Arne Petersen.
162 2008-05-25 Matthias Clasen <mclasen@redhat.com>
164 Bug 532497 – Configure problem when cross-compiling
166 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
167 pointed out by Marko Lindqvist.
169 2008-05-25 Richard Hult <richard@imendio.com>
171 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
172 Slight coding style cleanup.
174 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
176 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
177 Added support for parsing required toolkit versions (so that ui descriptions
178 can target specific versions of the backend widget libraries) bug 527612.
180 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
181 for the added xml tags to the ui description.
183 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
184 for requires tag handling.
186 2008-05-25 Richard Hult <richard@imendio.com>
188 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
189 gtk_drag_source_info_destroy in an idle, workaround for bug
190 #501588, that makes any code that uses the context returned from
191 gtk_drag_begin() crash, like treeview/iconview dnd.
192 (GdkDragSourceOwner::provideDataForType): only use the data if we
195 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
197 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
198 to the drag actions to allow trash (#137717).
200 2008-05-25 Josselin Mouette <joss@malsain.org>
202 reviewed by: Matthias Clasen
204 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
205 check that tracker is actually working before using it. Fixes
208 2008-05-25 Sven Neumann <sven@gimp.org>
210 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
211 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
212 and don't create an output window if it is set.
214 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
215 drawing areas. Fixes bug #519317.
217 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
219 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
220 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
222 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
223 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
224 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
225 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
226 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
227 (start_spinning), (gtk_spin_button_button_release),
228 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
229 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
230 (gtk_spin_button_update): Reorder strange window hierarchy of the
231 GtkSpinButton (#466000).
233 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
235 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
236 fix the wrong position for right and center justified labels with
237 logical.x > 0 (#530255).
239 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
241 * gtk/gtkfilechooserdefault.c:
242 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
245 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
247 * tests/pixbuf-lowmem.c
248 * tests/pixbuf-random.c
249 * tests/pixbuf-randomly-modified.c
250 * tests/pixbuf-read.c
251 * tests/pixbuf-threads.c
253 * tests/testtreeview.c: Fix remaining compiler warnings in these
256 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
258 reviewed by: Matthias Clasen
263 * gtk/gtkshow.c: (gtk_show_uri):
265 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
267 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
269 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
271 * tests/buildertest.c: (test_list_store): Add test.
273 2008-05-24 Matthias Clasen <mclasen@redhat.com>
275 Bug 520989 – icon factory buildable too strict
277 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
278 an optional attribute.
280 2008-05-24 Matthias Clasen <mclasen@redhat.com>
282 Bug 387972 – gtkassistant drawing problem
284 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
285 GtkAssistant work better in glade.
287 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
289 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
290 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
291 used in GtkToolItem) (#532787).
293 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
295 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
296 try to toggle the visibility of the location entry field in search and
297 recent mode (#526422).
299 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
301 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
302 (shortcuts_list_create): Show parse name as tooltip for path
305 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
307 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
308 pango_color_parse, do not reference XParseColor forms (#434991).
310 2008-05-24 James Sharpe <jsharpe@gnome.org>
312 * gdk/gdk.symbols: Remove duplicate
313 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
314 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
316 2008-05-23 Hans Breuer <hans@breuer.org>
318 * **/makefile.msc gtk/makefile.msc.in : updated
319 * gtk/gtkwidget.c : fix c99ism (variable at start of block
320 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
322 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
323 setlocale(LC_ALL, ...)
325 2008-05-23 Tor Lillqvist <tml@novell.com>
327 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
328 gdk_window_remove_redirection.
330 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
331 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
332 changes. Remove now unnecessary parameter checks as the caller
335 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
337 2008-05-23 Tor Lillqvist <tml@novell.com>
339 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
340 anything if style doesn't change. Improve debugging output.
342 2008-05-23 Michael Natterer <mitch@gimp.org>
345 * tests/print-editor.c
346 * tests/prop-editor.h
347 * tests/testmountoperation.c
348 * tests/testmultidisplay.c
349 * tests/testnouiprint.c
351 * tests/testprintfileoperation.h
352 * tests/testtreesort.c
353 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
354 files. Remove some redundant includes.
356 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
358 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
359 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
361 2008-05-21 Richard Hult <richard@imendio.com>
363 * gdk/quartz/gdkwindow-quartz.c:
364 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
365 offscreen rendering changes, fixes build.
367 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
369 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
371 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
372 return snapshot pixmap coordinates widget relative in *clip_rect.
374 * tests/testgtk.c: fixed bogus NULL pointer unref.
376 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
378 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
379 widget's allocation to cover extra widget windows placed outside the
380 widget allocation (spinbutton arrows are the prime example for this).
382 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
384 * Applied pixmap redirection patch by Alexander Larsson with
385 various updates from:
386 Bug 318807 – Offscreen windows and window redirection.
391 * updated docs to mention "Since 2.16".
393 * tests/testgtk.c: fixed snapshooting pixmap leak.
394 convert pixmap to pixbuf after snapshooting, to compensate for different
395 bit depths (occurs when snapshooting ARGB visuals and displaying the
396 pixmap in an RGB visual).
398 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
400 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
401 need for it. enqueue damage notification as GDK_DAMAGE events
402 for each painting redirection at the start of the event queue.
403 consider windows with a redirection fully visible when invalidating,
404 and when updating from backing store. cleaned up stale variables.
406 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
408 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
409 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
410 tree, drawingarea, text, handlebox, etc.
411 clip the redirected window hierarchy to window sizes, the visible
412 rectangles don't need to be taken into account here.
413 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
414 in case pixmap visuals could mismatch.
416 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
421 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
422 of possibly obscured widgets into an offscreen pixmap.
424 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
425 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
427 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
429 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
430 implementations here, adapted them to propagate redirects to child windows.
431 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
432 clipped to visible region. queue GDK_DAMAGE event delivery.
433 gdk_window_redirect_to_drawable(): install window painting redirection.
434 gdk_window_remove_redirection(): remove previously installed redirection.
436 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
437 renamed _gdk_window_new() and _gdk_window_reparent().
439 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
440 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
442 * gdk/gdkevents.h: added GDK_DAMAGE event type.
444 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
446 * gdk/gdkinternals.h: added internal prototypes.
448 2008-05-21 Michael Natterer <mitch@imendio.com>
454 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
456 2008-05-20 Matthias Clasen <mclasen@redhat.com>
458 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
461 Patch by Marek Kasik.
464 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
466 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
468 * modules/printbackends/file/gtkprintbackendfile.c:
469 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
470 get_default_page_size.
472 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
473 select its default paper size.
475 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
476 use the printer default.
478 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
479 if we don't have a default page setup.
481 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
483 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
484 can accept NULL for none. Fixes bug #533920.
486 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
488 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
489 gtk_spin_button_update): Remove two chunks of duplicated
492 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
494 * reverted recent unapproved changes by Yair Hershkovitz,
495 regarding: Bug 503071 – Application direction changes to right
496 to left even if theres no translation.
498 2008-05-19 Richard Hult <richard@imendio.com>
500 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
501 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
502 SetSystemUIMode instead of hiding and showing the menubar.
504 2008-05-19 Federico Mena Quintero <federico@novell.com>
506 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
507 can't be resized until you expand the "Browse for other folders"
510 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
511 Removed the "get_resizable" method.
512 (_gtk_file_chooser_embed_get_resizable): Removed.
514 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
516 * gtk/gtkfilechooserdefault.c: Likewise.
518 * gtk/gtkfilechooserdialog.c
519 (file_chooser_widget_default_size_changed): Act as if the dialog
520 were always resizable.
522 2008-05-19 Michael Natterer <mitch@imendio.com>
524 * gtk/gtkcellrenderer.c
525 * gtk/gtkcellrendererpixbuf.c
526 * gtk/gtkcellrenderertoggle.c
527 * gtk/gtkimagemenuitem.c
528 * gtk/gtkmenutoolbutton.c
529 * gtk/gtkoptionmenu.c
531 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
533 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
535 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
536 g_disable_setlocale().
538 2008-05-17 Richard Hult <richard@imendio.com>
540 * gdk/quartz/gdkwindow-quartz.c:
541 (gdk_window_impl_quartz_invalidate_maybe_recurse):
542 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
543 of g_idle_add. Add a temporary check if the window is already in
544 the updates list, since update_area currently doesn't always match
545 the backend's state, see bug #530801.
547 2008-05-13 Tor Lillqvist <tml@novell.com>
549 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
551 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
552 the "packet rate" of devices to zero instead of 50. This is
553 reported to help significantly with Wacom tablet behaviour in GIMP
554 and Inkscape. Patch from Thomas Bleeker.
556 2008-05-12 Richard Hult <richard@imendio.com>
558 * gdk/quartz/gdkevents-quartz.c:
559 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
560 as it's no longer necessary; instead the added quartz API to get
561 the nsevent from an event should be used. Also move the global
562 filter up so it's done before the check for window-less events.
564 2008-05-12 Tor Lillqvist <tml@novell.com>
566 Bug 532558 - Cannot build dll when using separate builddir
569 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
572 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
574 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
576 2008-05-12 Tor Lillqvist <tml@novell.com>
578 Bug 532059 - Leak in win32 clipboard manipulation
580 * gdk/win32/gdkselection-win32.c
581 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
584 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
586 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
587 gettext_initialization only once.
589 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
590 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
591 with the extended functionality that was in the removed dpgettext().
593 * gtk/gtkaccellabelc:
595 * gtk/gtkimmulticontext.c:
596 * gtk/gtkactiongroup.c:
597 * gtk/gtkintl.h: use glib i18n api.
599 2008-05-08 Richard Hult <richard@imendio.com>
601 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
602 currently invalidated region. Fixes bug #532048, patch by Yevgen
605 2008-05-08 Richard Hult <richard@imendio.com>
607 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
608 fd's revents, not the first one. Fixes bug #531056, spotted by
611 2008-05-07 Tor Lillqvist <tml@novell.com>
613 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
616 2008-05-05 Matthias Clasen <mclasen@redhat.com>
618 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
619 more printer status information in the print dialog.
621 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
622 printer-state-reasons into suitable messages and icons.
624 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
625 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
626 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
628 * gtk/gtkiconfactory.c:
629 * gtk/gtkstock.h: New stock icons to display printer state.
631 2008-05-07 Michael Natterer <mitch@imendio.com>
635 * gdk/directfb/gdkevents-directfb.c
636 * gdk/quartz/gdkevents-quartz.c
637 * gdk/win32/gdkevents-win32.c
638 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
639 order parameters src,dest and make src const.
641 2008-05-06 Richard Hult <richard@imendio.com>
643 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
644 * gdk/gdkinternals.h: Add private backend data to events, and
645 handle it when copying/freeing events. Currently only needed in
648 * gdk/directfb/gdkevents-directfb.c:
649 * gdk/quartz/gdkevents-quartz.c:
650 * gdk/win32/gdkevents-win32.c:
651 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
652 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
653 directfb. Implement for quartz. Part of fixing bug #473822.
655 2008-05-05 Richard Hult <richard@imendio.com>
657 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
658 framework if there is one.
660 2008-05-05 Michael Natterer <mitch@imendio.com>
662 * gtk/gtkcellrenderercombo.h
663 * gtk/gtkcellrendererspin.h
664 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
667 * gtk/gtkfilechooserdialog.h
668 * gtk/gtkfilechooserwidget.h
669 * gtk/gtkscalebutton.h: reorder instance and class structs to be
672 2008-05-04 Richard Hult <richard@imendio.com>
674 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
675 gdk_unicode_to_keyval() worked before using the result. Makes
676 function keys work, bug #530156. Also add F16 to the function key
679 2008-05-04 Richard Hult <richard@imendio.com>
681 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
682 semicolon after if statement. Fixes bug #530963, patch from Yevgen
685 2008-05-02 Michael Natterer <mitch@imendio.com>
687 * gtk/gtk.h: add 15 files that were missing (they all got included
688 indirectly by including gtk.h, so should have been here in the
691 2008-05-02 Michael Natterer <mitch@imendio.com>
693 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
695 2008-05-01 Richard Hult <richard@imendio.com>
697 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
698 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
700 2008-05-01 Matthias Clasen <mclasen@redhat.com>
702 * modules/imput/imthai.c: Register the right translation domain.
704 2008-04-30 Matthias Clasen <mclasen@redhat.com>
706 Bug 529386 – Printing options hidden by blacklisted option
708 * modules/printbackend/cups/gtkprintbackendcups.c
709 (cups_printer_get_options): Fix the blacklist handling.
710 Patch by Marek Kašík.
712 2008-04-30 Richard Hult <richard@imendio.com>
714 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
717 2008-04-30 Richard Hult <richard@imendio.com>
719 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
720 nsevents with the gdk lock held, fixes deadlock when doing manual
721 window resizing with threading enabled.
723 2008-04-30 Richard Hult <richard@imendio.com>
725 * gdk/quartz/gdkevents-quartz.c:
726 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
727 Alt to Alt and Cmd to Meta. This is not only more logical but also
728 makes it easier to have Mac-like behavior.
730 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
732 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
733 painting the flat box instead of recalculating it. (#437493,
736 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
738 Bug 529841 – incorrect position in directfb
740 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
742 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
744 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
746 2008-04-25 Michael Natterer <mitch@imendio.com>
748 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
749 <pango/pango-layout.h>.
751 * gtk/gtkiconfactory.c
755 * gtk/queryimmodules.c: remove inclusion of single files from
756 pango, none of them was actually needed.
758 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
759 <pango/pango-utils.h>.
761 2008-04-25 Michael Natterer <mitch@imendio.com>
763 * gdk/gdkfont.h: include <pango/pango.h> instead of
764 <pango/pango-font.h>.
766 2008-04-25 Michael Natterer <mitch@imendio.com>
768 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
771 2008-04-21 Michael Natterer <mitch@imendio.com>
773 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
774 crashing when NULL pointers get passed.
776 2008-04-18 Michael Natterer <mitch@imendio.com>
778 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
779 here have the same style.
781 2008-04-18 Michael Natterer <mitch@imendio.com>
784 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
787 * gtk/gtkbuilderparser.c
788 * gtk/gtklinkbutton.c
790 * gtk/gtkrecentchooserdefault.c
791 * gtk/gtkrecentchoosermenu.c
792 * modules/input/gtkimcontextthai.c: remove inclusion of single
793 files from gdk, none of the includes was actually needed.
795 2008-04-18 Michael Natterer <mitch@imendio.com>
797 * gdk/gdk.h: reorder one include so they are all alphabetical.
799 2008-04-18 Michael Natterer <mitch@imendio.com>
801 * modules/printbackends/cups/gtkprintercups.[ch]
802 (gtk_printer_cups_get_ppd_name): change return value and local
803 variable to const gchar* to fix warning about discarding const
806 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
808 * gtk/gtkrecentmanager.c:
809 (gtk_recent_manager_set_filename): Keep the default storage
810 file in $HOME, as we don't have a migration code in place yet.
812 2008-04-18 Michael Natterer <mitch@imendio.com>
814 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
815 g_strfreev() the uris returned by g_bookmark_file_get_uris().
817 2008-04-17 Michael Natterer <mitch@imendio.com>
819 * gtk/gtkiconfactory.c (get_default_icons): register the
820 GTK_STOCK_PAGE_SETUP icon.
822 2008-04-17 Michael Natterer <mitch@imendio.com>
824 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
825 g_return_if_fail(tooltips != NULL);
827 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
829 * gtk/gtkwindow.c: Chain up in buildable_finish()
831 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
832 cases where g_path_get_dirname() returns "."
834 * docs/reference/gtk/tmpl/gtklabel.sgml,
835 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
836 for the <attributes> tags on GtkLabel
838 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
840 * gtk/gtkrecentmanager.c:
841 (gtk_recent_manager_real_changed): Fix last commit, and
842 complete the gtk-recent-files-max-age semantics: if the
843 property is set to 0 then purge the list.
845 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
847 Bug 488507 – boundless growth of .recently-used.xbel file
848 slows down applications
850 * gtk/gtkrecentmanager.c:
851 (gtk_recent_manager_init),
852 (gtk_recent_manager_real_changed),
853 (gtk_recent_manager_set_filename),
854 (gtk_recent_manager_clamp_to_age): Clamp the recently
855 used resources list by the age of its items, using
856 the newly added GtkSettings property.
858 * gtk/gtksettings.c (gtk_settings_class_init): Add the
859 gtk-recent-files-max-age property, controlling the
860 maximum age of the items in the recently used resources
863 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
865 * gtk/gtkrecentmanager.c:
866 (gtk_recent_manager_add_item_query_info),
867 (gtk_recent_manager_add_item): Emit the ::changed signal
868 at the end of the asynchronous MIME type query.
870 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
872 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
875 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
876 changes in the recently used resources storage file, and
877 drop the timeout-based poll.
879 * ChangeLog: Fix attribution of the patch of the previous
882 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
884 Bug 506062 – gtk_recent_manager_add_item does not detect mime
887 * configure.in: Depend on gio-2.0
889 * gtk/gtkrecentmanager.c:
890 (gtk_recent_manager_add_item_query_info_cb),
891 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
892 query the MIME type of the passed URI (based on a patch by
895 2008-04-11 Carlos Garnacho <carlos@imendio.com>
897 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
898 page to visited page list instead of next current page. (#527466,
899 patch by Marcus Brinkmann)
901 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
903 * gtk/gtklabel.c: Added <attributes> / <attribute>
904 custom tags to parse pango attributes into labels.
906 * tests/buildertest.c: Added tests for GtkLabel custom
909 2008-04-10 Carlos Garnacho <carlos@imendio.com>
911 * gtk/gtknotebook.c (hide_drag_window): Do not call
912 gtk_widget_set_parent_window(), using widget->window instead of NULL
913 to unset is the wrong thing, and gtk_widget_unparent() will already
914 take care of this (#467698, patch by Sébastien Granjoux)
916 2008-04-08 Tor Lillqvist <tml@novell.com>
918 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
919 these functions with G_MODULE_EXPORT.
921 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
923 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
924 (gtk_file_system_volume_render_icon):
925 Fix fallback icon rendering size
927 2008-04-08 Michael Natterer <mitch@imendio.com>
929 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
930 touchscreen-mode keynav corner case: when navigating to the parent
931 menu, make sure we don't close two menus at the same time in case
932 the deepest open menu has no selectable items.
934 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
936 * gtk/gtkwidget.c: Clarified a g_warning message regarding
937 parsing accelerators from builder files.
939 2008-04-03 Cody Russell <bratsche@gnome.org>
941 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
942 of the block. (#526021, reported by Kazuki IWAMOTO)
944 2008-04-03 Tor Lillqvist <tml@novell.com>
946 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
949 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
950 workaround for a specific kind of screwed up locale setting.
952 2008-04-02 Matthias Clasen <mclasen@redhat.com>
954 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
955 colormaps. Found by Daniel Berrange.
957 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
959 * tests/autotestfilechooser.c: Cover
960 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
961 name. (#346058, Joe Halliwell)
963 2008-04-02 Federico Mena Quintero <federico@novell.com>
965 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
966 chooser incorrectly substitutes and expands a ~ when you type it
967 in the filename entry.
969 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
970 basenames result in a slash-terminated pathname.
971 gtk_file_system_unix_parse() is correct, but it was splitting
972 "/home/username" into path="/home" and file_part="username", which
973 is not what the caller wants when the entry has just "~" or
976 2008-04-02 Tor Lillqvist <tml@novell.com>
978 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
979 and gtksearchenginetracker.c on Windows.
981 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
984 2008-04-01 Cody Russell <bratsche@gnome.org>
986 * configure.in: Bump required Cairo to 1.5.2.
988 * gtk/gtkprintoperation-win32.c: Add support for using the new
989 cairo_win32_printing_surface for printing. Also fixed to use
990 cairo_surface_show_page(). (#488833 and #521178)
992 2008-03-31 Cody Russell <bratsche@gnome.org>
994 * demos/gtk-demo/printing.c (draw_page): Move down each line in
995 units of text_height rather than in units of data->font_size.
996 (totally awesome catch by Dom Lachowicz)
998 2008-03-28 Richard Hult <richard@imendio.com>
1000 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
1001 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
1002 event to the mainloop and don't generate one at all if the
1003 toplevel didn't change. Use the actual window and not the toplevel
1004 as event window. These changes make the generated crossing events
1005 match the X11 behavior and fixes issues with e.g. tooltips,
1006 comboboxes and menus.
1008 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
1009 the view has no window, it will be updated as soon as it's put
1012 * gdk/quartz/gdkwindow-quartz.c:
1013 (_gdk_quartz_window_debug_highlight): Make it possible to track
1014 multiple windows with debug highlighting.
1015 (show_window_internal): Remove workaround for tooltips and popups
1016 that is no longer needed with the above changes.
1018 2008-03-26 Federico Mena Quintero <federico@novell.com>
1020 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
1021 helper function; factored out from the functions that commit the
1022 current suggested autocompletion and that refresh the entry's paths.
1023 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
1024 (_gtk_file_chooser_entry_get_file_part): Likewise.
1025 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
1026 makes the entry have the correct paths when *not* using any form
1027 of completion (and makes the file chooser work when clicking the
1030 2008-03-25 Richard Hult <richard@imendio.com>
1032 * gdk/quartz/gdkevents-quartz.c:
1033 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
1034 can't find a matching window.
1036 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
1037 comment, and only trigger an event for non-temp windows, fixes
1038 problems for tooltips caused by the workarounds for the
1039 problematic tracking rect API.
1041 2008-03-25 Richard Hult <richard@imendio.com>
1043 * gdk/quartz/gdkwindow-quartz.c:
1044 (gdk_window_quartz_process_all_updates): Plug a leak and add a
1045 check that we have a toplevel before accessing it.
1047 2008-03-24 Tor Lillqvist <tml@novell.com>
1049 Bug 524151 - Dragging of 0-byte files results in an empty filename
1050 on Windows XP and above
1052 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
1053 being empty first. For some reason ISHellLink and IPersistFile
1054 succeeds in interpreting empty files as shortcuts, claiming the
1055 target of the shortcut is an empty path.
1057 Change the function to take the wide character file name that the
1058 caller already has anyway, to avoid a superfluous conversion from
1061 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
1063 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
1064 against NULL pointer. (#467051, Gian Mario Tagliaretti)
1066 2008-03-23 Cody Russell <bratsche@gnome.org>
1068 * gdk/win32/gdkevents-win32.c (show_window_recurse):
1069 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
1070 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
1071 menus from a maximized window would force the window to restore
1074 2008-03-23 Johan Dahlin <johan@gnome.org>
1076 * gtk/gtk-builder-convert:
1077 Properly convert GtkImageMenuItems which use stock labels but don't
1079 (#523932, Brian Pepple)
1081 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
1083 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
1084 New function implements GtkCellLayoutClass::get_cells. (#523787)
1086 2008-03-22 Tor Lillqvist <tml@novell.com>
1088 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
1090 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
1091 GDK_THREADS_LEAVE() call. Approved by mclasen.
1093 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
1095 * gtk/gtkexpander.c (gtk_expander_get_label):
1096 gtk_label_get_label() should be used instead of
1097 gtk_label_get_text(). (#353088, Xan Lopez)
1099 2008-03-21 Tor Lillqvist <tml@novell.com>
1101 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
1102 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
1103 gdip-pixbuf-loader module.
1105 * configure.in: Add switch --disable-gdiplus-loaders that disables
1106 building of the GDI+ loaders.
1108 When including loaders in the gdk-pixbuf library, and building
1109 GDI+ loaders, either build in all the GDI+ loaders or none of
1110 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
1111 signal building them in.
1113 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
1114 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
1115 indicate whether they should be built-in.
1117 For the rest of the changes, see gdk-pixbuf/ChangeLog.
1119 2008-03-20 Tor Lillqvist <tml@novell.com>
1121 * gtk/Makefile.am: Revert accidental change that went in as part
1122 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
1123 Darwin. On Windows one has to use a newer GNU grep that has -o,
1124 for instance the one from gnuwin32, instead of the oldish one in
1125 MSYS that doesn't have -o.
1127 2008-03-20 Tor Lillqvist <tml@novell.com>
1129 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
1130 pass NULL for %s to g_message().
1131 (main): Drop unnecessary call to gtk_widget_destroy().
1133 2008-03-20 Tor Lillqvist <tml@novell.com>
1135 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
1137 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
1138 in one dimension, or centered in case it doesn't fit.
1139 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
1142 2008-03-18 Tor Lillqvist <tml@novell.com>
1144 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
1146 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
1147 G_MODULE_ENTRY decoration can be put in a more correct place.
1149 2008-03-18 Sven Neumann <sven@gimp.org>
1151 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
1152 alternative button order on the password dialog.
1154 2008-03-18 Tor Lillqvist <tml@novell.com>
1156 Bug 99192 - Add --with-include-input-modules
1158 * configure.in: Add --with-included-immodules switch. Handled in a
1159 similar way as the --with-included-loaders switch. For each input
1160 method module foo: Collect the list of input modules to be built
1161 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
1162 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
1163 Define Automake conditionals INCLUDE_IM_FOO.
1165 * modules/input/Makefile.am: For modules to be included in libgtk,
1166 build a static library.
1168 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
1169 gdk-pixbuf to get unique names for the functions called by libgtk
1170 in the included case. Use G_MODULE_EXPORT in the non-included case
1171 so that we don't unnecessarily export unneeded random global
1174 * gtk/Makefile.am: Build the included modules and link them into libgtk.
1176 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
1177 copy/paste leftover mentions of "themes" in comments.
1179 2008-03-18 Tor Lillqvist <tml@novell.com>
1181 * tests/Makefile.am: Build testmountoperation only on Unix for now.
1183 2008-03-17 Christian Kellner <gicmo@gnome.org>
1185 Implement GtkMountOperation, a subclass of GMountOperation
1186 to be used with gio wherever there is the need to ask the
1187 user for credentials or questions while mounting a volume.
1190 * gtk/gtkmountoperation.c:
1191 * gtk/gtkmountoperation.h:
1192 Implement GtkMountOperation.
1194 * gtk/gtk.h: Add gtkmountoperation.h
1195 * gtk/Makefile.am: Add gtkmountoperation.[hc]
1196 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
1197 * tests/testmountoperation.c: Test program for it.
1198 * tests/Makefile.am: Add testmountoperation.
1200 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
1202 * gtk/gtkcontainer.c: Properly document
1203 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
1205 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1207 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
1208 style names for the ComboBox thickness style
1210 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1212 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
1213 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
1214 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
1215 intelligent separation for the xp theming engine and the classic
1216 theme while drawing the GtkComboBox button. combobox_draw_arrow
1217 is not used anymore, commented. The style has been updated to fix
1218 border/thickness glitches in the combobox according to the fixes
1219 commited regarding bug #521442. (bug #461805)
1221 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1223 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
1224 now aware of both the combobox and frame (if has-frame is set)
1225 thickness and border. (bug #521442)
1227 2008-03-15 Andre Klapper <a9016009@gmx.de>
1229 * configure.in: Added "si" to ALL_LINGUAS.
1231 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1233 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
1234 Set window type hint on the search popup. (#522279, Danny Baumann)
1236 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1238 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
1239 appropriate. (#521934, Huang Peng)
1241 2008-03-14 Michael Natterer <mitch@imendio.com>
1244 * gtk/gtkbuilderprivate.h
1245 * gtk/gtkfilechoosersettings.c
1246 * gtk/gtksearchenginesimple.c
1247 * gtk/tests/liststore.c
1248 * gtk/tests/treestore.c: remove single-file includes of GLib
1249 headers or replace them by <glib.h> where needed.
1251 2008-03-14 Michael Natterer <mitch@imendio.com>
1253 * gtk/gtkadjustment.c: coding style cleanup.
1255 (gtk_adjustment_set_property): no need to call g_object_notify()
1256 on the set properties.
1258 Implement GObject::dispatch_properties_changed() and make sure we
1259 emit "changed" when anything but the "value" property changes.
1261 2008-03-14 Tor Lillqvist <tml@novell.com>
1263 * gdk/win32/gdkevents-win32.c: Drop the support for the
1264 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
1265 Win95. Thanks to mitch for noticing this obsolete code.
1267 2008-03-14 Cody Russell <bratsche@gnome.org>
1269 * examples/scribble-xinput/scribble-xinput.c: Changed
1270 'void int main()' to 'int main()'. (#522211, Liqing Huang)
1272 2008-03-14 Richard Hult <richard@imendio.com>
1274 * gdk/quartz/gdkwindow-quartz.c:
1275 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
1276 only flush the toplevel once per update.
1278 2008-03-13 Federico Mena Quintero <federico@novell.com>
1280 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
1281 Set the mouse cursor of the feedback window to invisible, so that
1282 we respect GtkEntry's invisible cursor while typing.
1284 2008-03-13 Federico Mena Quintero <federico@novell.com>
1286 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
1287 the feedback window at entry_height/2 pixels to the right of the
1288 cursor, for a cheap "M-width / 2" spacing.
1290 2008-03-13 Sven Neumann <sven@gimp.org>
1292 * gtk/gtkfilechooserdefault.c
1293 * gtk/gtkprintunixdialog.c: set alternative button order for
1294 overwrite confirmation dialogs (bug #522191).
1296 2008-03-13 Sven Neumann <sven@gimp.org>
1298 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
1299 (overwrite_confirmation_dialog): added some line-breaks for
1302 2008-03-12 Federico Mena Quintero <federico@novell.com>
1304 Rework the way completion works in GtkFileChooserEntry. Fixes
1305 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
1306 Tab completion should work even if the cursor is not at the end of
1309 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
1312 We distinguish between two cases:
1314 - autocompletion - happens only in the Open modes by
1315 inserting and selecting the common prefix as you type.
1317 - explicit completion - happens when you hit Tab.
1319 When some type of completion needs to happen, the entry first
1320 parses its input and sees if it needs to initiate a folder load.
1321 Completion will not happen until the folder finishes loading.
1323 If the folder is already completely loaded, then completion is
1324 performed immediately. Otherwise, the entry queues a pending
1325 completion and starts loading the new folder (or waits until the
1326 current folder is completely loaded).
1328 Tab completion is allowed to happen even if the cursor is not at
1329 the end of the entry.
1331 There is a new feedback mechanism for explicit completion, so that
1332 you will get an Emacs-like tip whenever there are ambiguities in
1333 completion, no matches, etc. (This needs to be polished so that
1334 we support RTL entries and all the fancy Pango layout in GtkEntry).
1336 The only remaining thing to fix is the popup suggestion window.
1337 Unfortunately, GtkEntryCompletion does not let us do what we want,
1338 and will need further changes.
1340 2008-03-12 Tor Lillqvist <tml@novell.com>
1342 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
1344 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
1345 for the TaskbarCreated message in the window procedure for the
1346 dummy "tray observer" window we create. When we get a
1347 TaskbarCreated message, iterate over the status icons and re-add
1348 them to the task bar, and update them by calling
1349 gtk_status_icon_update_image().
1351 Move some ifdefs around to avoid unused functions.
1353 2008-03-12 Tor Lillqvist <tml@novell.com>
1355 * config.h.win32.in: Update to match what configure produces.
1357 2008-03-12 Jens Granseuer <jensgr@gmx.net>
1359 * modules/printbackends/cups/gtkprintbackendcups.c:
1360 (cups_printer_prepare_for_print): Don't define variables in the
1361 middle of a block. (#522067)
1363 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1365 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
1366 dialog for print-to-file. (#474302, Marek Kašík)
1368 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1370 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
1371 (#469210, Wouter Bolsterlee)
1373 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1375 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
1376 paper_size here. (#488820, Morten Welinder)
1378 2008-03-12 Michael Natterer <mitch@imendio.com>
1380 * acconfig.h: remove this deprecated file.
1382 * configure.in: added comments to all instances of AC_DEFINE() so
1383 config.h can be completely generated from configure.in.
1385 2008-03-12 Michael Natterer <mitch@imendio.com>
1387 * modules/printbackends/cups/gtkprintbackendcups.c: include
1388 <glib/gstdio.h> for g_fopen().
1390 2008-03-11 Matthias Clasen <mclasen@redhat.com>
1392 * modules/printbackends/cups/gtkprintbackendcups.c: Use
1393 g_ascii_formatd when formatting custom paper sizes, since
1394 cups doesn't handle , as decimal separator. (#521548)
1396 2008-03-11 Tor Lillqvist <tml@novell.com>
1398 Bug 469868 - Filenames with colon ":" are not saved correctly
1400 * gtk/gtkfilechooserentry.c (insert_text_callback)
1401 (delete_text_callback) [Win32]: New functions to make sure that
1402 colons used otherwise than as a separator after a drive letter, or
1403 characters that are always illegal in file names, are rejected on
1404 input. This means that the GTK+ file chooser can't be used to
1405 input full names of alternate data streams, but oh well. There are
1406 still more checks that could be done on the file names, see the
1407 bug report. But this will do for now.
1408 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
1410 2008-03-11 Jordi Mallach <jordi@sindominio.net>
1412 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
1414 2008-03-11 Michael Natterer <mitch@imendio.com>
1416 * gdk/linux-fb/*: removed linux-fb backend files.
1420 * docs/README.linux-fb
1421 * gtk/Makefile.am: remove remaining traces of linux-fb.
1423 * gtk/gtkwindow-decorate.c: same here. There is some code that
1424 calls into linux-fb to set window move/resize callbacks. I put it
1425 in #if 0 as a reminder because we did use decorated windows with
1426 the DirectFB backend and it did work, so I don't really know why
1427 this code is needed or how it could work with DirectFB back then.
1428 The file does actually compile now if DECORATE_WINDOWS is defined,
1429 but I didn't test with DirectFB to check if it does anything.
1431 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
1433 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
1434 Take thickness into account in the size allocation of the child widgets in
1438 2008-03-11 Richard Hult <richard@imendio.com>
1440 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
1442 2008-03-10 Tor Lillqvist <tml@novell.com>
1444 * tests/teststatusicon.c (do_exit, popup_menu): Add the
1445 possibility to test what happens if the process just calls exit()
1446 without any orderly cleanup of GTK+.
1448 2008-03-10 Tor Lillqvist <tml@novell.com>
1450 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
1452 2008-03-10 Tor Lillqvist <tml@novell.com>
1454 Bug 520286 - Non-deletable window has no minimize / maximize buttons
1456 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
1457 New debugging output function that decodes a set of WS_* bits.
1459 * gdk/win32/gdkprivate-win32.h: Declare it.
1461 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
1462 New function that enables or disables one menu entry in the system
1463 menu of a top-level window. (The corresponding decoration will
1464 then also be enabled or disabled (grayed).)
1466 (update_style_bits): Do as the comment says and don't try to
1467 update the window style based on the GdkWMFunctions set for the
1470 (update_system_menu): New function that enables or disables the
1471 system menu entries based on a window's stored set of
1474 (gdk_window_set_functions): Call update_system_menu() instead of
1475 update_style_bits().
1477 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
1479 * README.in: Reword the 2.14 release notes entry about the
1480 deprecation of the gtkitemfactory.h header, and fix typos
1483 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
1485 * modules/engines/ms-windows/msw_style.c (draw_shadow):
1486 Do not draw frame if parent if combobox.
1488 Uses scrollbar width system metrics for combobox button.
1489 Fixes #461805 for XP theme engine.
1491 2008-03-07 Johan Dahlin <johan@gnome.org>
1494 * gtk/gtkbuilderparser.c:
1495 * gtk/gtkbuilderprivate.h:
1496 * gtk/gtkiconfactory.c:
1497 * tests/buildertest.c:
1498 - Treat enums like enums and not values
1499 - Avoid invalid free, in case of more than two sources
1500 - Add better error messages
1501 - Add much improved tests
1502 (#520979, Christian Persch)
1504 2008-03-07 Carlos Garnacho <carlos@imendio.com>
1506 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
1509 2008-03-06 Federico Mena Quintero <federico@novell.com>
1511 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
1512 GtkFileChooserDialog should set a default response button if the
1513 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
1515 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
1516 function, refactor from where there was duplicated code.
1517 (gtk_file_chooser_dialog_map): Look at the buttons in our
1518 action_area. If the response ID for a button is one of the stock
1519 ones, make it the default response button.
1521 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
1523 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
1525 * gtk/gtkbuilderprivate.h:
1526 * gtk/gtkiconfactory.c:
1527 * tests/buildertest.c:
1528 Implement GtkBuildable on GtkIconFactory, to make
1529 it possible to register custom stock icons.
1532 2008-03-06 Johan Dahlin <johan@gnome.org>
1536 * gtk/gtkstyle.c: npoints->n_points.
1537 * gtk/gtktestutils.h: widget->spinner
1538 * gtk/gtktestutils.c: argc->argcp, argv->argvp
1540 2008-03-06 William Lachance <wrlach@gmail.com>
1542 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
1543 string localizable (as it should be).
1545 2008-03-06 William Lachance <wrlach@gmail.com>
1547 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
1548 the time for today's date. It's redudant. (see bug #410517).
1550 2008-03-06 Xan Lopez <xan@gnome.org>
1552 * gtk/gtkfixed.c: fix typo in documentation.
1554 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
1556 * gtk/gtkitemfactory.h:
1557 * gtk/gtktypeutils.h:
1558 Move GtkTranslateFunc to gtktypeutils.h so we can completely
1559 deprecate gtkitemfactory.h.
1561 * gtk/gtkactiongroup.h:
1563 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
1566 Add a note describing this slight incompatible change
1568 2008-03-06 Johan Dahlin <johan@gnome.org>
1570 * gtk/gtkpreview.h: Avoid double-deprecation.
1572 2008-03-06 Michael Natterer <mitch@imendio.com>
1575 * gtk/Makefile.am: move the remaining deprecated widgets to the
1576 separate sections and replaced spaces by tabs in Makefile.am
1578 2008-03-05 Johan Dahlin <johan@gnome.org>
1580 * configure.in: Add --disable-cups option.
1581 (#513826, Alberto Ruiz)
1585 Separate broken and deprecated sources and headers into different sections
1587 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
1589 2008-03-05 Kristian Rietveld <kris@imendio.com>
1591 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
1592 short-circuit in case an empty root level would be build (and thus
1593 directly destroyed) if no virtual root has been set.
1595 2008-03-04 Matthias Clasen <mclasen@redhat.com>
1597 * modules/printbackends/cups/gtkprintbackendcups.c:
1598 Honor cups user default options from ~/.cups/lpoptions
1599 (#469210, Stijn Hoop)
1601 2008-03-04 Michael Natterer <mitch@imendio.com>
1604 * gtk/gtkcolorbutton.c
1605 * gtk/gtkentrycompletion.c
1606 * gtk/gtkfontbutton.c
1610 * gtk/gtkpreview.c: don't include "gtksignal.h".
1612 * gtk/gtkfilefilter.c
1613 * gtk/gtkrecentchoosermenu.c
1614 * gtk/gtkrecentfilter.c
1615 * gtk/gtktext.c: don't include "gtkobject.h".
1617 2008-03-04 Simos Xenitellis <simos@gnome.org>
1619 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
1620 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
1622 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
1625 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
1626 file, contains compose sequences that used to exist in
1627 gtk/gtkimcontextsimple.c
1629 * gtk/compose-parse.py: Script to generate compose
1630 sequences from upstream (Xorg).
1632 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
1633 check_algorithmically): New functions. First two search in
1634 gtk_compose_seqs_compact[] for matching compose sequence, third
1635 tries NFC normalisation on incoming compose sequence.
1636 (gtk_im_context_simple_filter_keypress):
1637 Adds searching with check_compact_table(), check_algorithmically().
1639 2008-03-03 Carlos Garnacho <carlos@imendio.com>
1641 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
1642 scrollwheel work in GtkPathBar.
1644 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
1646 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
1647 an input-only window, event_window, which we'll use to capture
1649 (gtk_path_bar_map): Show the event_window under the rest of the
1650 windows, so it will be a catch-all for unhandled events.
1652 2008-03-03 Sven Neumann <sven@gimp.org>
1654 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
1655 typo in the documentation of the GtkFileChooserButtons::file-set
1656 signal (see bug #353196).
1658 2008-03-03 Tor Lillqvist <tml@novell.com>
1660 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
1663 2008-03-02 Johan Dahlin <johan@gnome.org>
1665 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
1666 Remove left-over focus_pad variable.
1667 (#490892, Claudio Saavedra)
1669 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
1670 (#518166, Matt Kraai)
1672 2008-03-02 Johan Dahlin <johan@gnome.org>
1674 * docs/tutorial/gtk-tut.sgml: Add a missing space
1675 (#517954, Matt Kraai)
1677 2008-03-03 Tor Lillqvist <tml@novell.com>
1679 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
1680 the widget is a GtkButton before casting.
1682 2008-03-02 Johan Dahlin <johan@gnome.org>
1684 * configure.in: Compare using = instead of ==, which is portable.
1685 (#490787, Thomas Klausner)
1687 2008-03-02 Johan Dahlin <johan@gnome.org>
1689 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
1690 fixes non-C++ build.
1691 (#496032, Nelson Benitez)
1693 2008-02-29 Johan Dahlin <johan@gnome.org>
1695 * demos/gtk-demo/demo.ui:
1696 * gtk/gtkbuilderparser.c:
1697 * gtk/gtkbuilderprivate.h:
1698 * gtk/gtkliststore.c:
1699 * tests/buildertest.c:
1700 Add translatable/context and comment attributes on
1701 <col> tags under a GtkListStore. Refactor parts of the
1702 translation api and make it available inside gtk+ itself.
1703 Update tests and example.
1704 Fixes a part of #518642
1706 2008-02-29 Johan Dahlin <johan@gnome.org>
1709 Add missing g_return_val_if_fail checks for public API.
1711 * gtk/gtkbuilderparser.c:
1712 * gtk/gtkbuilderprivate.h:
1713 Do not use g_error for a few more errors, instead set
1714 the GError sent in through add_from_file/add_from_string.
1715 * tests/buildertest.c:
1716 Add a couple of new parsing tests.
1717 (#519199, Pavel Syomin)
1719 2008-02-29 Federico Mena Quintero <federico@novell.com>
1721 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
1722 refreshing an existing folder (i.e. when we are about to reload
1723 its file list), turn off the folder's is_finished_loading flag.
1724 Otherwise callers which do ::is_finished_loading() followed by
1725 ::list_children() will get nothing.
1727 2008-02-29 Cody Russell <bratsche@gnome.org>
1729 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
1730 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
1732 2008-02-28 Matthias Clasen <mclasen@redhat.com>
1734 * gtk/gtkcalendar.h: Remove trailing comma from enum to
1735 make the compiler happy. (#517295, Sylvain Pasche)
1737 2008-02-27 Michael Natterer <mitch@imendio.com>
1739 * gtk/gtkmenushell.c
1742 * gtk/gtktipsquery.c
1747 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
1748 private functions and virtual function implementations.
1750 2008-02-27 Richard Hult <richard@imendio.com>
1752 * gdk/quartz/GdkQuartzView.c:
1753 * gdk/quartz/GdkQuartzView.h:
1754 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
1755 Fix performance regression for borderless transparent windows
1758 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
1760 * tests/testgtk.c: Revert back to r19454.
1762 2008-02-27 Sven Neumann <sven@gimp.org>
1764 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
1765 Quartz backend, use a native Mac OS X application for the print
1766 preview (bug #518624).
1768 2008-02-26 Michael Natterer <mitch@imendio.com>
1770 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
1771 the members of info->tag_stack since they are a) gobjects and b)
1772 not even owned by us, ugh... Fixes crash when deserializing fails.
1774 2008-02-26 Sven Neumann <sven@gimp.org>
1776 * docs/tools/shooter.c (find_toplevel_window)
1777 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
1778 argument passed to XQueryTree().
1780 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1782 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
1783 don't use beagle_query_add_hit_type.
1785 2008-02-25 Richard Hult <richard@imendio.com>
1787 * gdk/quartz/gdkevents-quartz.c
1788 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
1790 2008-02-24 Richard Hult <richard@imendio.com>
1792 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
1793 shown without gdk's control when clicking the dock icon.
1795 2008-02-24 Richard Hult <richard@imendio.com>
1797 * gdk/quartz/gdkprivate-quartz.h:
1798 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
1799 Use the subtype field for the custom event that is used to wake up
1800 the mainloop so we can have other custom event types.
1802 * gdk/quartz/gdkevents-quartz.c:
1803 (_gdk_quartz_events_trigger_crossing_events):
1804 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
1805 crossing events after showing a window if necessary, to work
1806 around problems with the tracking rect API.
1808 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1810 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
1811 wrong results on win32 because it doesn't set the printing units,
1812 which affect the transformation of the cairo context
1813 (#347125, Erik van Pienbroek)
1815 2008-02-22 Tor Lillqvist <tml@novell.com>
1817 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
1819 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1821 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
1822 acceptable for a module to only support the save_to_callback()
1823 method if it marks itself as WRITABLE
1825 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1827 * configure.in: Bump version
1829 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1831 * === Released 2.13.0 ===
1833 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
1835 2008-02-21 Tor Lillqvist <tml@novell.com>
1837 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
1838 pass the format string to strftime in the C library's locale's
1839 charset, not the system's. Correspondingly, the return value from
1840 strftime() is in the C library's locale's charset. (#509885)
1842 2008-02-20 Richard Hult <richard@imendio.com>
1844 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
1845 the right window level and shadow after recreating the window.
1847 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
1848 necessary after drawing (bug #517338).
1850 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
1852 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
1853 call to g_type_class_unref in case of error. (#517563)
1855 2008-02-18 Sven Neumann <sven@gimp.org>
1857 * gtk/Makefile.am (STOCK_ICONS)
1858 * gtk/stock-icons/16/gtk-page-setup.png
1859 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
1860 taken from GNOME icon theme.
1862 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
1864 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
1866 * configure.in: Added Kannada (kn) to ALL_LINGUAS
1868 2008-02-17 Johan Dahlin <johan@gnome.org>
1870 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
1871 When converting a stock item based on the label, remove the label property.
1873 2008-02-17 Richard Hult <richard@imendio.com>
1875 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
1876 position after showing the window since the window manager might
1877 not place it where we requested in the first places.
1879 2008-02-17 Richard Hult <richard@imendio.com>
1881 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1882 (_gdk_quartz_window_detach_from_parent),
1883 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
1884 the toplevel ordering list in all places where the order is
1885 potentially changed. Fixes mouse focus issues for windows with
1886 a transient parent set.
1888 2008-02-17 Richard Hult <richard@imendio.com>
1890 * gdk/quartz/gdkevents-quartz.c
1891 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
1892 window when event debugging is enabled.
1894 2008-02-16 Richard Hult <richard@imendio.com>
1896 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
1897 to the scroll event (bug #516757, Paul Davis).
1899 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1903 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1905 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
1908 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1910 * gdk/Makefile.am: Don't install private headers. (#463510)
1912 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
1913 the installed header gdkprivate.h.
1915 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1917 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
1918 a crash with hidden, reorderable tabs. (#513230,
1919 Mike Massonnet, patch by Carlos Garnacho)
1921 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1923 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
1924 Warn on duplicate action group names. (#501746, Christian
1927 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1930 * modules/other/gail/tests/Makefile.am:
1931 * modules/other/gail/libgail-util/Makefile.am:
1932 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
1933 builds. (#516254, Yevgen Muntyan)
1935 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1940 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
1941 instead of hardcoded target tables. (#516092, Christian Persch)
1943 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1945 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
1946 add the same target atom twice. (#516087, Christian Persch)
1948 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1950 * tests/testfilechooser.c: Add a --backend option.
1951 (#516073, Christian Persch)
1953 2008-02-16 Richard Hult <richard@imendio.com>
1955 * gdk/quartz/gdkprivate-quartz.h:
1956 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
1959 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1961 * configure.in: Go back to 2.13.0 as version for now,
1962 as there was no consensus to do the jump.
1964 * many other places: Update Since: tags.
1966 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1968 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
1970 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
1972 2008-02-15 Richard Hult <richard@imendio.com>
1974 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
1975 instead of bounds when resizing windows.
1977 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1979 * gdk/x11/gdkkeys-x11.c:
1980 * gdk/x11/gdkcolor-x11.c:
1981 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
1983 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1985 * gdk/x11/gdktestutils-x11.c:
1986 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
1988 2008-02-15 Tor Lillqvist <tml@novell.com>
1990 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
1991 leak Registry key handles. (#516578)
1993 2008-02-14 Richard Hult <richard@imendio.com>
1995 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
1996 makeKeyWindow unfortunately doesn't work in all cases, we must use
1997 makeKeyAndOrderFront.
1999 2008-02-14 Richard Hult <richard@imendio.com>
2001 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
2002 (gdk_window_hide), (gdk_window_fullscreen),
2003 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
2004 the window is hidden.
2006 2008-02-14 Richard Hult <richard@imendio.com>
2008 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
2009 resizing to be consistent and to avoid introducing an internal
2010 transform in the view.
2012 2008-02-14 Richard Hult <richard@imendio.com>
2014 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
2017 2008-02-14 Johan Dahlin <johan@gnome.org>
2019 * gdk/gdktestutils.h
2020 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
2022 2008-02-13 Richard Hult <richard@imendio.com>
2024 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2025 Remove unused variables.
2026 (gtk_clipboard_set_contents),
2027 (gtk_clipboard_get_owner), (clipboard_unset),
2028 (gtk_clipboard_request_targets): Notify the previous clipboard
2029 owner when the owner changes. Fixes bug #493406.
2031 2008-02-13 Richard Hult <richard@imendio.com>
2033 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
2034 the return value (return number of colors that failed), and handle
2036 (gdk_colormap_free_colors): Fix typo in comment.
2038 2008-02-13 Kristian Rietveld <kris@imendio.com>
2040 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
2041 queue a redraw if the rubber banding has actually been active.
2043 2008-02-12 Matthias Clasen <mclasne@redhat.com>
2045 * gtk/gtkpapersize.c:
2046 * gtk/gtkprintoperation.c:
2047 * gtk/gtkvolumebutton.c:
2048 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
2049 out by Behdad Esfahbod.
2051 2008-02-12 Federico Mena Quintero <federico@novell.com>
2053 Merged from gtk-2-12:
2055 Don't focus the file list when shortcuts get activated. This
2056 removes a lot of ambiguity in when the file selection should
2057 change, and makes the overall code flow simpler.
2059 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
2060 file/save dialog clears the filename entry when changing
2063 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
2064 focus should not go to the file list when a shortcut is activated.
2066 * gtk/gtkfilechooserdefault.c
2067 (shortcuts_activate_volume_mount_cb): Don't focus the file list
2068 (shortcuts_activate_get_info_cb): Likewise.
2070 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
2071 the file list (this was the last place where we would focus the
2072 file list explicitly). If you are in the location entry, for
2073 example, you don't want Alt-Home to take you to the file list; you
2074 just want the current folder to change. Thanks to Olle Bergkvist
2075 <olle.bergkvist@yahoo.se> for pointing this out in
2076 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
2077 (focus_browse_tree_view_if_possible): Removed.
2079 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2081 Skip exensions when selecting filenames in the save-as dialog.
2082 (#362516, Carlos Garnacho)
2084 * gtk/gtkfilechooserentry.h:
2085 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
2086 New function to skip the extension part when selecting a filename.
2087 (_gtk_file_chooser_entry_set_base_folder): Use it here.
2089 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
2092 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2094 * gtk/gtkiconview.c: Fix state change reporting for
2095 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
2097 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
2099 * gtk/gtkrecentchooser.c:
2100 (gtk_recent_chooser_class_init): Set the default value of the
2101 :show-not-found property to TRUE, as every implementation sets
2104 * gtk/gtkrecentchooserdefault.c:
2105 (_gtk_recent_chooser_default_init): Sync show_tips to the
2106 default value of the :show-tips property.
2108 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2110 * gtk/gtkclipboard-quartz.c:
2112 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
2115 2008-02-12 Kristian Rietveld <kris@imendio.com>
2117 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
2118 (gtk_tree_view_real_toggle_cursor_row): guard against people
2119 deleting the row in question in the selection-changed callback.
2120 (#514621, Andreas Koehler).
2122 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2124 * gtk/*.c: Unify the handling of various "Enter" keysyms
2125 all over the place. (#515047, Christian Persch)
2127 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2129 * gtk/gtkfilesystemmodel.c:
2131 * gtk/gtkwidget.c: Use g_value_set_static_string() where
2132 appropriate. (#515042, Christian Persch)
2134 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2136 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
2138 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2140 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
2142 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2144 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
2145 (recent_model_sort_drag_data_get):
2146 (search_model_sort_drag_data_get):
2147 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
2148 * gtk/gtkpathbar.c (button_drag_data_get_cb):
2149 Use gtk_selection_data_set_uris() instead of doing it
2150 by hand. (#514890, Christian Persch)
2152 2008-02-12 Michael Natterer <mitch@imendio.com>
2154 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
2155 gtk_get_current_event_time().
2157 2008-02-12 Michael Natterer <mitch@imendio.com>
2159 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
2160 gtk_window_get_key_hash() to get the hash instead of manually
2161 fiddling with quarks and gtk_window_keys_changed(). Also add
2162 g_return_if_fail() to this public function.
2164 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2166 Support keynav in status icons. (#473786, Li Yuan)
2168 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
2170 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
2172 2008-02-11 Kristian Rietveld <kris@imendio.com>
2174 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
2175 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
2176 wrt. link deletion from list; contination of fix for #503569.
2178 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
2180 * gtk/gtkrecentchoosermenu.c:
2181 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
2182 on the placeholder menu item.
2184 * tests/testrecentchoosermenu.c:
2185 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
2186 whether the placeholder menu item gets shown.
2188 2008-02-10 Cody Russell <bratsche@gnome.org>
2190 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
2191 Check the return value of _gtk_file_chooser_get_file_system () for
2192 NULL before passing it to gtk_file_system_path_to_uri ().
2193 (#515667, Francesco Montorsi)
2195 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
2197 * gtk/gtkbuilder.c: Improve the documentation for
2198 gtk_builder_connect_signals. (#514471)
2200 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2202 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
2205 2008-02-08 Cody Russell <bratsche@gnome.org>
2207 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
2208 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
2210 2008-02-08 Richard Hult <richard@imendio.com>
2212 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
2213 delta from the NSEvent for now, generating multiple scroll events
2214 results in a lot of events getting queued up and things get really
2217 2008-02-08 Sven Herzberg <sven@imendio.com>
2219 Adjust the code to match the documentation, examples, "common sense"
2220 and existing applications.
2222 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
2223 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
2226 2008-02-07 Cody Russell <bratsche@gnome.org>
2228 * gdk/win32/gdkevents-win32.c
2229 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
2230 of a block that were causing compile problems on old
2231 compilers. (#515053, reported by Kazuki IWAMOTO)
2233 2008-02-07 Michael Natterer <mitch@imendio.com>
2240 * gtk/gtkmenushell.c
2242 * gtk/gtkoptionmenu.c
2246 * gtk/gtkradiomenuitem.c
2248 * gtk/gtkscrolledwindow.c
2249 * gtk/gtksocket.c: remove g_return_if_fail() from private
2250 functions and virtual function implementations.
2252 2008-02-07 Michael Natterer <mitch@imendio.com>
2255 * gtk/gtkassistant.c
2259 * gtk/gtkcellrenderercombo.c
2262 * gtk/gtkdrawingarea.c
2263 * gtk/gtkentrycompletion.c
2269 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
2270 functions and virtual function implementations.
2272 2008-02-07 Christian Persch <chpe@gnome.org>
2274 * gdk/gdkpixbuf-render.c:
2275 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
2276 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
2277 otherwise there will be random pixel values in the semi-transparent
2278 area of the pixbuf within the mask. Bug #487865.
2280 2008-02-06 Cody Russell <bratsche@gnome.org>
2282 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
2283 otherwise things get wonky when you click on a menu. This fixes
2284 a regression caused in #505928. Thanks to Tor for spotting this
2287 2008-02-06 Michael Natterer <mitch@imendio.com>
2289 * gtk/gtkcontainer.c
2296 * gtk/gtkmenushell.c
2298 * gtk/gtkseparatortoolitem.c
2300 * gtk/gtktextlayout.c
2301 * gtk/gtktoggletoolbutton.c
2302 * gtk/gtktoolbutton.c
2305 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
2308 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2310 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
2311 Allow to store half-open ranges.
2313 2008-02-05 Cody Russell <bratsche@gnome.org>
2315 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
2316 down the stack until we get to a window that is mapped.
2317 Otherwise hiding a window will cause all windows in the app
2318 to be blocked. (#514643)
2320 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2322 * gtk/updateiconcache.c: Ignore images in the toplevel theme
2323 directory, avoiding one source of invalid caches that has been
2324 spotted in the wild.
2326 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2328 * gtk/updateiconcache.c: Fix the previous commit to compile.
2330 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2332 * gtk/updateiconcache.c: Install a printerr handler that
2333 prepends the program name, since gtk-update-icon-cache output
2334 often appears in the middle of other output, e.g. rpm update logs.
2336 2008-02-05 Cody Russell <bratsche@gnome.org>
2338 * gdk/win32/gdkprivate-win32.h
2339 * gdk/win32/gdkevents-win32.c
2340 * gdk/win32/gdkwindow-win32.c
2341 * gdk/win32/gdkwindow-win32.h
2342 * gdk/win32/gdkwin32.h:
2343 Modal window rework. (#455627 and #511111)
2345 2008-02-04 Michael Natterer <mitch@imendio.com>
2347 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
2348 g_return_if_fail() if the cell is not part of the combo instead of
2349 crashing in the next line.
2351 2008-02-01 Cody Russell <cody@jhu.edu>
2353 * modules/engines/ms-windows/xp_theme.[ch]
2354 * modules/engines/ms-windows/xp_theme_defs.h
2355 * modules/engines/ms-windows/msw_rc_style.c
2356 * modules/engines/ms-windows/msw_theme_main.c
2357 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
2358 attempted to stylize more like the rest of the gtk+ stack's code.
2360 2008-02-01 Michael Natterer <mitch@imendio.com>
2362 * tests/testgtk.c: initialize GdkColor structs to fix warning
2363 about uninitialized "pixel" member.
2365 * tests/testactions.c: connect the toolbar_style() callback so it
2366 does something useful and doesn't warn about being defined but not
2369 2008-01-31 Cody Russell <bratsche@gnome.org>
2371 * gdk/win32/gdkevents-win32.c:
2372 Refactored some of the window hiding/showing code from
2373 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
2374 under WM_ACTIVATE was causing the application to go into
2375 a weird state when the user right-clicked on the taskbar
2376 entry of a window that was minimized. (#505928)
2378 2008-01-31 Cody Russell <bratsche@gnome.org>
2380 * gtk/gtkpaned.c (gtk_paned_set_position):
2381 Change queue_resize() to queue_draw(), and add a check for
2382 child2 != NULL in case someone calls this before there is
2383 a child packed in there. (#144269 again)
2385 2008-01-31 Sven Neumann <sven@gimp.org>
2387 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
2388 applied patch from Denis Oliver Kropp <dok@directfb.org>.
2390 2008-01-31 Sven Neumann <sven@gimp.org>
2392 * gdk/directfb/gdkdisplay-directfb.c
2393 * gdk/directfb/gdkdrawable-directfb.c
2394 * gdk/directfb/gdkprivate-directfb.h
2395 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
2396 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
2398 2008-01-31 Richard Hult <richard@imendio.com>
2400 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
2401 issues with undecorated windows. Revert the change done on
2402 2008-01-25 and fix it by using the view's bounds instead. The
2403 bounds will always be up to date when setting up the tracking
2404 rect, so this should be more robust.
2406 2008-01-30 Sven Neumann <sven@gimp.org>
2408 * gdk/directfb/gdkdrawable-directfb.c
2409 * gdk/directfb/gdkwindow-directfb.c
2410 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
2411 Oliver Kropp <dok@directfb.org>. Adds debug messages using
2412 DirectFB's debugging system
2414 2008-01-30 Sven Neumann <sven@gimp.org>
2416 * gdk/directfb/gdkdirectfb.h
2417 * gdk/directfb/gdkdisplay-directfb.c
2418 * gdk/directfb/gdkdrawable-directfb.c
2419 * gdk/directfb/gdkim-directfb.c
2420 * gdk/directfb/gdkimage-directfb.c
2421 * gdk/directfb/gdkinput-directfb.c
2422 * gdk/directfb/gdkmain-directfb.c
2423 * gdk/directfb/gdkpixmap-directfb.c
2424 * gdk/directfb/gdktestutils-directfb.c
2425 * gdk/directfb/gdkvisual-directfb.c
2426 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
2427 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
2428 errors and has some cleanups.
2430 2008-01-30 Michael Natterer <mitch@imendio.com>
2432 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
2433 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
2436 * gtk/updateiconcache.c (add_string): cast const gchar* to
2437 gpointer when inserting in a GHashTable.
2439 * tests/testcalendar.c (calendar_detail_cb): remove const from
2440 return value since it's a newly allocated string.
2442 (calendar_update_details): free the detail.
2444 2008-01-29 Johan Dahlin <johan@gnome.org>
2446 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
2448 * demos/gtk-demo/demo.ui:
2449 Move the about dialog to the glade file, add accessible tags
2450 examples to the markup file.
2452 2008-01-28 Paolo Borelli <pborelli@katamail.com>
2454 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
2455 layout, fixes #512375.
2457 2008-01-28 Michael Natterer <mitch@imendio.com>
2459 * gtk/gtktextchild.c
2460 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
2462 2008-01-28 Michael Natterer <mitch@imendio.com>
2464 * demos/gtk-demo/builder.c (about_activate): use
2465 gtk_about_dialog_set_program_name() instead of the deprecated
2468 2008-01-28 Michael Natterer <mitch@imendio.com>
2470 * gtk/gtktextchild.c
2471 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
2474 2008-01-26 Johan Dahlin <johan@gnome.org>
2476 * tests/Makefile.am:
2477 * tests/textbuffertest.c:
2478 Rename textbuffer test and port it to the new test framework
2480 2008-01-25 Johan Dahlin <johan@gnome.org>
2482 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
2483 unsetting of GTK_MODULES.
2485 * gtk/gtk-builder-convert
2486 (GtkBuilderConverter._convert_adjustment): Handle the case where
2487 there is no child text node.
2488 (GtkBuilderConverter): Allow xml comments in most places.
2490 2008-01-25 Johan Dahlin <johan@gnome.org>
2492 * gtk/gtk-builder-convert
2493 (GtkBuilderConverter._convert_combobox_items): Remove the items
2494 even if there are no items set.
2495 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
2496 signals and tooltips for all menu items subclasses and
2497 GtkImageMenuItem:label.
2498 Makes it possible to fully convert and run Jokosher.glade.
2500 2008-01-25 Johan Dahlin <johan@gnome.org>
2502 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
2503 (gtk_widget_buildable_get_internal_child), (free_action),
2504 (free_relation), (gtk_widget_buildable_parser_finished),
2505 (accessibility_start_element),
2506 (gtk_widget_buildable_custom_tag_start),
2507 (gtk_widget_buildable_custom_finished):
2508 Implement accessible support, fixes #454653.
2510 * gtk/gtk-builder-convert:
2511 Add support for migrating old glade files
2513 * tests/buildertest.c: (test_widget), (test_file):
2514 Add accessible tests and imprve the test_file function to display
2515 toplevels and run dialogs.
2517 2008-01-25 Richard Hult <richard@imendio.com>
2519 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
2520 didn't change, fixes focus event issues for undecorated windows.
2522 2008-01-25 Richard Hult <richard@imendio.com>
2524 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
2525 const and remove unused variables).
2527 2008-01-25 Michael Natterer <mitch@imendio.com>
2530 * gtk/gtkcellrenderer.h
2531 * gtk/gtkimcontext.h
2535 * gtk/gtktreeprivate.h
2536 * gtk/gtktreeviewcolumn.h
2537 * gtk/gtkwidget.h: add const to constant structs which are passed
2538 into GTK+. Also add some forgotten const for const strings.
2542 * gtk/gtkcellrenderer.c
2543 * gtk/gtkimcontext.c
2548 * gtk/gtktreeviewcolumn.c
2549 * gtk/gtkwidget.c: changed accordingly.
2551 2008-01-25 Sven Herzberg <sven@imendio.com>
2553 Reviewed by Johan Dahlin.
2555 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
2556 this is called with something that's not a GtkUIManager
2558 2008-01-24 Johan Dahlin <johan@gnome.org>
2560 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
2561 Chain up to parent, so widgets can have internal children.
2563 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
2565 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
2568 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
2570 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
2572 Use pango_layout_set_height() for calendar details (#506049).
2574 * configure.in: Require 1.19.3 for pango_layout_set_height().
2575 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
2577 2008-01-18 Johan Dahlin <johan@gnome.org>
2579 * gtk/gtk-builder-convert (get_property_node): New method
2580 (GtkBuilderConverter._create_object): Conditionally take a node as
2581 a property value, so don't lose translate/context attributes if they
2583 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
2584 property values instead of strings.
2585 (#509153, Erik van Pienbroek)
2587 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
2589 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
2591 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
2592 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
2593 * tests/testcalendar.c: Duplicate calendar details before returning.
2595 2008-01-16 Christian Persch <chpe@gnome.org>
2597 * gtk/gtkwidget.c: Store the event mask and extension event mode
2598 directly in the gobject data pointer, instead of in an allocated
2601 2008-01-16 Michael Natterer <mitch@imendio.com>
2603 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
2604 gdk-pixbuf now uses gio functions.
2606 2008-01-16 Matthias Clasen <mclasen@redhat.com>
2608 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
2609 the notify::model signal. (#509819, David Zeuthen)
2611 2008-01-15 Michael Natterer <mitch@imendio.com>
2619 * gdk/gdkwindow.h: made more struct pointer and array parameters
2620 const. GDK should now be constified as far as possible without
2621 breaking source compatibility. Includes some minor cleanup like
2622 indentation and s/nfoo/n_foo/ (bug #508544).
2628 * gdk/gdkregion-generic.c
2630 * gdk/directfb/gdkdisplay-directfb.c
2631 * gdk/directfb/gdkwindow-directfb.c
2632 * gdk/quartz/gdkdisplay-quartz.c
2633 * gdk/quartz/gdkwindow-quartz.c
2634 * gdk/win32/gdkdisplay-win32.c
2635 * gdk/win32/gdkwindow-win32.c
2636 * gdk/x11/gdkdisplay-x11.c
2637 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2639 2008-01-14 Michael Natterer <mitch@imendio.com>
2641 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
2644 (gtk_rc_parse_any): change variables to const and introduce
2645 another local variable to fix const warnings.
2647 2008-01-14 Michael Natterer <mitch@imendio.com>
2649 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
2650 of gdk_screen_get_font_options() to gpointer to get rid of const
2653 2008-01-14 Michael Natterer <mitch@imendio.com>
2655 * tests/testdnd.c (source_drag_data_get): fix another call to
2656 gtk_selection_data_set().
2658 2008-01-14 Michael Natterer <mitch@imendio.com>
2660 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
2663 2008-01-14 Michael Natterer <mitch@imendio.com>
2665 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
2667 2008-01-14 Michael Natterer <mitch@imendio.com>
2669 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
2670 "uris" to guchar* when passing it to gtk_selection_data_set().
2672 2008-01-14 Michael Natterer <mitch@imendio.com>
2678 * gdk/gdkinternals.h
2680 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
2681 parameters const (bug #508544).
2686 * gdk/gdkrectangle.c
2687 * gdk/gdkpolyreg-generic.c
2688 * gdk/gdkregion-generic.c
2689 * gdk/directfb/gdkcolor-directfb.c
2690 * gdk/directfb/gdkgc-directfb.c
2691 * gdk/directfb/gdkgeometry-directfb.c
2692 * gdk/directfb/gdkwindow-directfb.c
2693 * gdk/quartz/gdkcolor-quartz.c
2694 * gdk/quartz/gdkgc-quartz.c
2695 * gdk/quartz/gdkgeometry-quartz.c
2696 * gdk/quartz/gdkwindow-quartz.c
2697 * gdk/win32/gdkcolor-win32.c
2698 * gdk/win32/gdkgc-win32.c
2699 * gdk/win32/gdkgeometry-win32.c
2700 * gdk/win32/gdkprivate-win32.h
2701 * gdk/win32/gdkwindow-win32.c
2702 * gdk/x11/gdkcolor-x11.c
2703 * gdk/x11/gdkgc-x11.c
2704 * gdk/x11/gdkgeometry-x11.c
2705 * gdk/x11/gdkmain-x11.c
2706 * gdk/x11/gdkprivate-x11.h
2707 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2709 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
2712 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2714 Explain name choice for gtk_tool_item_toolbar_reconfigured.
2716 * gtk/gtktoolitem.c: Add comment expaining name choice for
2717 gtk_tool_item_toolbar_reconfigured.
2719 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2721 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
2722 implementations to notify its children, when some aspect of their
2723 configuration changed (#509042).
2725 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
2726 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
2727 Rename _gtk_tool_item_toolbar_reconfigured.
2729 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2731 Include <gtk/gtktoolshell.h> from gtk.h.
2733 * gtk/gtk.h: Add gtktoolshell.h
2735 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2737 Print angle brackets arround e-mail addresses in the about dialog
2738 (#409520, Mariano Suárez-Alvarez).
2740 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
2742 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
2744 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
2745 special casing so test widgets are always queues for destruction
2748 * gtk/tests/testing.c: removed bits left-over from testing without
2751 2008-01-10 Tor Lillqvist <tml@novell.com>
2753 * modules/other/gail/libgail-util/Makefile.am
2754 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
2757 2008-01-10 Tor Lillqvist <tml@novell.com>
2759 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
2760 uses gtkprintunixdialog API.
2762 2008-01-10 Tor Lillqvist <tml@novell.com>
2764 * gdk/win32/gdkdisplay-win32.c
2765 * gdk/win32/gdkglobals-win32.c
2766 * gdk/win32/gdkprivate-win32.h
2767 * gdk/win32/gdkscreen-win32.c
2768 * gdk/win32/gdkwindow-win32.c: Implement
2769 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
2770 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
2773 2008-01-10 Cody Russell <bratsche@gnome.org>
2775 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
2776 Properly ref/unref windows and parents. (#506769)
2778 2008-01-10 Richard Hult <richard@imendio.com>
2780 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2781 (gdk_window_hide), (move_resize_window_internal): Move the
2782 tracking rect workaround from here...
2784 * gdk/quartz/GdkQuartzWindow.c:
2785 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
2786 movements during showing/hiding operations. Fixes bug #508516.
2788 2008-01-10 Michael Natterer <mitch@imendio.com>
2790 * gdk/directfb/gdkscreen-directfb.c
2791 (gdk_screen_get_monitor_width_mm)
2792 (gdk_screen_get_monitor_height_mm)
2793 (gdk_screen_get_monitor_plug_name): add these functions to make
2796 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
2798 * gtk/gtkrecentchoosermenu.c:
2799 (idle_populate_func), (idle_populate_clean_up): Fix possible
2800 recursion by resetting the idle source id. (#507605, William
2803 2008-01-10 Kristian Rietveld <kris@imendio.com>
2805 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
2806 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
2807 avoid valgrind warnings. (#507751, patch from Christian Persch).
2809 2008-01-10 Kristian Rietveld <kris@imendio.com>
2811 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
2812 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
2814 2008-01-10 Kristian Rietveld <kris@imendio.com>
2816 Fix #477175, reported by Juri Pakaste.
2818 * gtk/gtktreeprivate.h:
2819 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
2820 tree_view->priv->dy here directly, just calculate the new value
2821 and set it on the adjustment,
2822 (gtk_tree_view_adjustment_changed): add guards to not call
2823 gtk_tree_view_dy_to_top_row() if we are currently in
2824 gtk_tree_view_top_row_to_dy(),
2825 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
2826 coordinates, not tree coordinates,
2827 (gtk_tree_view_real_start_editing): add cast.
2829 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
2830 position of the editable in the "create new row and start editing"
2833 2008-01-09 Michael Natterer <mitch@imendio.com>
2835 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
2838 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
2839 * gtk/gtkicontheme.c (theme_list_contexts)
2840 (gtk_icon_theme_lookup_icon)
2841 * gtk/gtkimcontextsimple.c (beep_window)
2842 * gtk/gtklinkbutton.c (set_link_color)
2843 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
2846 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
2847 variable and add const to another to fix a warning.
2849 2008-01-07 Matthias Clasen <mclasen@redhat.com>
2851 * gtk/gtkassistant.c (remove_page): Be more robust when removing
2852 the current page. (#499951, Andreas Sandberg)
2854 2008-01-06 Johan Dahlin <johan@gnome.org>
2856 * gtk/gtkspinbutton.c: Declare value in the example code for
2857 GtkSpinButton::output, as pointed out by Anders Carlsson.
2859 2008-01-06 Christian Persch <chpe@gnome.org>
2861 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
2862 and remove an obsolete event box. Bug #506760.
2864 2008-01-06 Johan Dahlin <johan@gnome.org>
2866 * tests/buildertest.c (test_domain):
2867 Update, GtkBuilder::translation-domain is no longer set
2869 * gtk/gtkbuilderparser.c (parse_interface):
2870 Allow domains to be overridden in <interface>'s if a translation-domain
2871 is set in the builder.
2872 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
2873 of the builder, make the domain set in the <interface> apply only to strings
2875 (#496831, Ryan Lortie)
2877 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
2880 * gtk/gtktreestore.c (tree_model_end_element):
2881 Remove an unused variable
2883 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2885 * gtk/gtkspinbutton.c: Document the ::output signal and
2886 add an example. (#507566, example by Owen Taylor)
2888 2008-01-06 Johan Dahlin <johan@gnome.org>
2890 * gtk/gtkcellrenderercombo.c:
2891 (gtk_cell_renderer_combo_get_property),
2892 (gtk_cell_renderer_combo_set_property):
2893 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
2894 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
2895 * gtk/gtknotebook.c: (gtk_notebook_set_property):
2896 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
2897 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
2898 (gtk_text_buffer_get_property):
2899 * gtk/gtktextview.c: (gtk_text_view_set_property):
2900 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
2901 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
2902 (gtk_tool_button_get_property):
2903 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
2904 (gtk_tool_item_get_property):
2905 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
2906 * gtk/gtkwidget.c: (gtk_widget_set_property):
2907 * gtk/gtkwindow.c: (gtk_window_set_property):
2908 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
2911 2008-01-06 Johan Dahlin <johan@gnome.org>
2913 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
2914 Make sure that --root works for toplevel widgets.
2915 (#491847, Phil Lello)
2917 2008-01-05 Johan Dahlin <johan@gnome.org>
2919 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
2920 to make sure that make test-report works properly
2922 2008-01-05 Christian Persch <chpe@gnome.org>
2924 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
2925 GType as integer through gpointer. Bug #507395.
2927 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
2929 Avoid some compiler warnings (#507000).
2931 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
2932 for value argument of _gtk_builder_flags_from_string.
2933 * gtk/gtkwidget.c: Don't alias the child pointer passed
2934 to gdk_window_get_user_data.
2936 2008-01-04 Michael Natterer <mitch@imendio.com>
2938 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
2939 to set the time in the returned GdkTimeCoords.
2941 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
2943 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
2944 correct comparison function (kudos to Christian Persch and
2945 Claudio Saavedra for spotting this)
2947 * gtk/gtkrecentchooserutils.c:
2948 (sort_recent_items_mru),
2949 (sort_recent_items_lru): Ditto as above.
2951 2008-01-03 Johan Dahlin <johan@gnome.org>
2953 * tests/defaultvaluetest.c: Make it pass again.
2955 2008-01-02 Johan Dahlin <johan@gnome.org>
2957 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
2958 make it pass on Ubuntu.
2959 (main): Use gtk_test_list_all_types () instead of providing our
2961 And it no longer passes.
2963 2007-12-30 Johannes Schmid <jhs@gnome.org>
2965 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
2966 Also reorder menu when reordering tabs by drag & drop
2969 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
2970 Add a menu to one of the notebooks to have a test-case for
2971 the change mentioned above.
2973 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
2975 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
2977 2007-12-31 Christian Persch <chpe@gnome.org>
2979 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
2980 Plug a mem leak. Bug #506107.
2982 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2984 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
2985 icon cache api change. (#506135, Kazuki Iwamoto)
2987 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2989 Consider "wide-separators" and "separator-height" style properties:
2990 The separator is drawn using gtk_paint_box instead of cairo, when
2991 "wide-separators" is set. Also do not highlight details for previous
2992 or next month, if their day matches the selected day. (#339540)
2994 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
2995 in gtk_calendar_size_request and calendar_paint_day
2996 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
2997 for selected detail separators in GtkCalendar.
2999 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3001 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
3003 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
3004 a local variable instead in gtk_calendar_size_request.
3006 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3008 * tests/defaultvaluetest.c: Add enough exclusions to make the
3011 2007-12-28 Christian Persch <chpe@gnome.org>
3013 * modules/other/gail/Makefile.am:
3014 * modules/other/gail/tests/*:
3015 * configure.in: Merge tests from standalone gail. Bug #504568.
3017 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3019 * gtk/gtkclipboard.c: Make the finalizer work when display is
3022 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3024 Draw bottom shadow of GtkCalender headings. (#506113)
3026 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
3028 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3030 * gtk/gtkcalendar.c: Document the initial values of year/month/day
3033 2007-12-28 Christian Persch <chpe@gnome.org>
3035 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
3036 a mem leak. Bug #506096.
3038 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3041 * gtk/gtktreeview.c:
3042 * gtk/gtkprintoperation.c:
3043 * gtk/gtkprogressbar.c:
3044 * gtk/gtkmessagedialog.c:
3045 * gtk/gtknotebook.c:
3049 * gtk/gtklinkbutton.c:
3050 * gtk/gtkmenu.c: More default property value corrections.
3052 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3054 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
3055 accel_group unless it is set.
3057 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3059 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
3061 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3063 * gtk/gtkhandlebox.c: Fix the default values of shadow and
3064 shadow-type properties.
3066 * gtk/gtkfontsel.c: Fix the default values of several properties.
3068 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
3071 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
3073 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
3076 2007-12-28 Johan Dahlin <johan@gnome.org>
3078 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
3079 (gtk_dialog_buildable_custom_tag_start): Chain up.
3080 This makes it possible to have accelerators tags on GtkDialog
3083 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3085 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
3086 are shown within the widget, or just as tooltip. (#339540)
3088 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
3089 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
3090 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
3093 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3095 Try more decent appearance of calendar details separator. (#339540)
3097 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
3098 and make it short by one pixel on each side.
3100 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3102 Apply trivial code-style changes from attachement 101101. (#339540)
3104 * tests/testcalendar.c: Some updates to current GTK+ code-style.
3106 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3108 Restructure testcalendar for testing calendar details. (#339540)
3110 * tests/testcalendar.c: Push code arround for testing calendar details.
3112 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3114 Implement GtkTooltip API for calendar details. (#339540)
3116 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
3117 Remember detail overflows in calendar_paint_day to show the tooltip
3118 only when neccessary.
3120 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3122 Without setting "detail-width-chars" and "detail-height-rows"
3123 properties not only the widget has to be redrawn on certain
3124 conditions, but also its size must be recalculated. (#339540)
3126 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
3127 that function instead of gtk_widget_queue_draw.
3129 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3131 Consider details for size-request and expose-event. (#339540)
3133 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
3134 is_color_attribute functions. Change gtk_calendar_size_request
3135 and calendar_paint_day to consider and show calender details.
3137 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3139 * gtk/gtkcombobox.c: Introduce local priv variables to
3142 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3144 * gtk/gtkcombobox.c: Correct the default value for the
3145 tearoff-title property.
3147 * gtk/gtkcellrenderertext.c: Fix the default value for the
3148 wrap-mode and font-scale properties.
3150 * gtk/gtkaspectratio.c: Fix the default value for the ratio
3153 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3155 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
3156 defines. (#505708, MINAMI Hirokazu)
3158 2007-12-27 Christian Persch <chpe@gnome.org>
3160 * Makefile.am: Install gail.pc. Bug #505859.
3162 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
3164 Add infrastructure for GtkCalendar details. (#339540)
3166 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
3167 Add "detail-width-chars" and "detail-height-rows" properties,
3168 and gtk_calendar_set_detail_func function.
3170 2007-12-27 Xan Lopez <xan@gnome.org>
3173 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
3175 Add gtk_border_new to avoid memory allocator confusions when using
3176 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
3178 2007-12-27 Christian Persch <chpe@gnome.org>
3180 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
3181 bug #504886 not to read unitialised memory.
3183 2007-12-26 Xan Lopez <xan@gnome.org>
3185 * gtk/gtkstatusbar.c (has_extra_children): take into account the
3186 modification of the internal frame contents to decide if we have
3187 extra children. (#415677)
3189 2007-12-22 Christian Persch <chpe@gnome.org>
3191 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
3193 2007-12-25 Christian Persch <chpe@gnome.org>
3195 * modules/other/gail/gailwindow.c: (gail_window_initialize):
3196 Initialise |widget|. Fixes a buglet introduced by the commit from bug
3199 2007-12-25 Christian Persch <chpe@gnome.org>
3201 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
3203 2007-12-25 Christian Persch <chpe@gnome.org>
3205 * modules/other/gail/*.[ch]: Remove relocations from the atk
3206 factories. Remove unused gail_foo_new() functions. Fix object
3207 instantiation to be derivation safe by moving initialisation code
3208 from the removed gail_foo_new() functions to the
3209 AtkObjectClass::initialize implementation. Bug #505226.
3211 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3213 * modules/other/gail/gailentry.c:
3214 * modules/other/gail/gailimage.c:
3215 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
3216 uses of clipboards and settings. (#504722, Christian Persch)
3218 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3220 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
3223 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3225 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
3226 use the time and button information from the event. (#504901,
3229 2007-12-23 Cody Russell <bratsche@gnome.org>
3231 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
3232 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
3233 Fixes a regression caused by #164537 patch where transient
3234 windows that are hidden get shown (incorrectly) when their
3235 parents are minimized. (#504984)
3237 2007-12-22 Christian Persch <chpe@gnome.org>
3239 * modules/other/gail/gailcell.c:
3240 * modules/other/gail/gailcontainercell.c:
3241 * modules/other/gail/gailexpander.c:
3242 * modules/other/gail/gailtextcell.c:
3243 * modules/other/gail/gailtextview.c:
3244 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
3246 2007-12-22 Christian Persch <chpe@gnome.org>
3248 * modules/other/gail/*.c: Include config.h. Bug #504720.
3250 2007-12-22 Christian Persch <chpe@gnome.org>
3252 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
3253 handwritten get_type functions. Bug #504661.
3255 2007-12-23 Xan Lopez <xan@gnome.org>
3257 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
3258 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
3260 Patch by Sadrul Habib Chowdhury (#504804)
3262 2007-12-22 Christian Persch <chpe@gnome.org>
3264 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
3265 #504645, patch by Li Yuan.
3267 2007-12-22 Christian Persch <chpe@gnome.org>
3269 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
3271 2007-12-22 Christian Persch <chpe@gnome.org>
3273 * modules/other/gail/gail.c:
3274 * modules/other/gail/gailbutton.c:
3275 * modules/other/gail/gailcell.c:
3276 * modules/other/gail/gailcombo.c:
3277 * modules/other/gail/gailcombo.h:
3278 * modules/other/gail/gailcombobox.c:
3279 * modules/other/gail/gailentry.c:
3280 * modules/other/gail/gailexpander.c:
3281 * modules/other/gail/gailmenuitem.c:
3282 * modules/other/gail/gailnotebook.c:
3283 * modules/other/gail/gailnotebookpage.c:
3284 * modules/other/gail/gailnotebookpage.h:
3285 * modules/other/gail/gailoptionmenu.c:
3286 * modules/other/gail/gailrange.c:
3287 * modules/other/gail/gailtextview.c:
3288 * modules/other/gail/gailtreeview.c:
3289 * modules/other/gail/gailtreeview.h:
3290 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
3293 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3295 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
3298 2007-12-21 Richard Hult <richard@imendio.com>
3300 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
3301 Plug leak of destroyed subviews, fixes bug #504753.
3303 2007-12-20 Johan Dahlin <johan@gnome.org>
3305 * tests/Makefile.am (TEST_PROGS):
3306 * tests/defaultvaluetest.c: Add a test for default values,
3307 based on program by Christan Perch
3309 2007-12-20 Johan Dahlin <johan@gnome.org>
3311 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
3312 Refactor to avoid some duplication.
3313 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
3314 Fixes #504749, Yuri Pimenov
3316 2007-12-20 Kristian Rietveld <kris@imendio.com>
3318 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
3319 the build work again on systems without xrandr 1.2.
3321 2007-12-20 Christian Persch <chpe@gnome.org>
3324 * modules/other/gail/libgail-util/Makefile.am:
3325 Keep the same libtool version as the standalone libgail-util had.
3328 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
3330 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
3332 2007-12-20 Alexander Larsson <alexl@redhat.com>
3334 * gdk/x11/gdkapplaunchcontext-x11.c:
3335 Update for gio API changes
3337 2007-12-20 Richard Hult <richard@imendio.com>
3339 * gdk/quartz/GdkQuartzWindow.c:
3340 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
3341 processing events after changing the size.
3343 2007-12-20 Richard Hult <richard@imendio.com>
3345 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
3346 Add stub for quartz to fix build.
3348 2007-12-20 Christian Persch <chpe@gnome.org>
3350 * modules/other/gail/Makefile.am:
3351 * modules/other/gail/gailimage.c: (gail_image_class_init),
3352 (gail_image_init), (elide_underscores), (gail_image_get_name),
3353 (atk_image_interface_init), (gail_image_finalize):
3354 * modules/other/gail/gailimage.h:
3355 R modules/other/gail/gailintl.h:
3356 * po/POTFILES.skip: Use the stock item's label as the name of the
3357 accessible in gailimage.c. Bug #504246.
3359 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
3361 Avoid some compiler warnings and remove obsolete code. (#339540)
3363 * gtk/gtkcalendar.c: Change week and year variable in
3364 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
3365 0" block from calendar_paint_day: The feature in question is handled
3366 few lines above. Cast data returned by gtk_selection_data_get_text()
3367 to (gchar*) in gtk_calendar_drag_data_received.
3369 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
3371 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
3373 2007-12-19 Johan Dahlin <johan@gnome.org>
3375 * tests/buildertest.c (test_object_properties):
3376 Add another call to gtk_builder_add_string after using
3377 delayed properties, as reported in #504393 but already
3380 2007-12-18 Christian Persch <chpe@gnome.org>
3383 * docs/reference/Makefile.am:
3384 * docs/reference/libgail-util/*:
3385 * gail-uninstalled.pc.in:
3387 * modules/Makefile.am:
3388 * modules/other/Makefile.am:
3389 * modules/other/gail/*:
3390 * modules/other/gail/libgail-util/*:
3391 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
3393 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3395 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
3396 * gdk/win32/gdkproperty-win32.c:
3397 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
3399 * gtk/gtkimmodule.[hc]:
3400 * gtk/gtkimmulticontext.[hc]: When determining the default context,
3401 look at the gtk-im-module setting, and listen for changes to the
3402 setting. (#502446, Akira Tagoh)
3404 2007-12-17 Kristian Rietveld <kris@imendio.com>
3406 * gtk/gtktooltip.c (gtk_tooltip_finalize),
3407 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
3408 to NULL as soon as it's destroyed. (#496546, patch from
3411 2007-12-17 Kristian Rietveld <kris@imendio.com>
3413 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
3414 always determine what arrow to show if show_sort_indicator is true.
3415 (#352738, Chris Vine).
3417 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
3419 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
3422 * gtk/gtkpaned.c: Call gtk_container_forall instead of
3423 gtk_container_foreach in get_child_panes.
3425 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
3427 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
3429 Plug leak: When reordering the info in the list the old node is
3430 removed but not freed. (#503569)
3432 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
3434 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
3435 Use u32 instead of __u32 and u8 instead of __u8 as the other types
3436 are deprecated since DirectFB 1.0.0. If compiling with an older
3437 version define the new type name to the old types. Fixes bug #503190.
3439 2007-12-14 Ray Strode <rstrode@redhat.com>
3441 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
3442 instead of g_signal_connect_after (..., "realize", ...) as an
3443 alternative to gtk_widget_realize () (bug 503537).
3445 2007-12-14 Michael Natterer <mitch@imendio.com>
3447 * gdk/gdkinternals.h
3448 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
3451 * gdk/gdkapplaunchcontext.c
3452 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
3453 header already includes everything now.
3455 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3457 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
3458 next stable release shall be 2.16, not 2.14 - even if disagree.
3460 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
3462 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3464 Change GtkToolItem to retrieve its properties from GtkToolShell
3465 interface, instead of relying on being child of a GtkToolbar.
3468 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
3469 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
3470 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
3471 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
3472 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
3473 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
3474 Take section docs from template file and update them for GtkToolShell.
3475 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
3476 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
3478 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3480 Extract loading of GtkPageSetup and GtkPrintSettings from their
3481 *_new_*() functions and move that code into separate
3482 *_load_*() functions (#475565).
3484 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
3485 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
3486 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
3487 Change the matching *_new_*() functions to use those functions.
3489 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3492 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
3494 2007-12-14 Kristian Rietveld <kris@imendio.com>
3496 * gtk/tests/liststore.c:
3497 * gtk/tests/treestore.c: added tests for insertion functions.
3499 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
3501 * Add RandR 1.2 support
3503 - New monitors_changed signal - New API to get width/height of
3504 monitors, and the name of the plug
3506 2007-12-13 Kristian Rietveld <kris@imendio.com>
3508 * gtk/tests/liststore.c:
3509 * gtk/tests/treestore.c: test the move and swap functions on a
3510 store with only one node.
3512 2007-12-13 Kristian Rietveld <kris@imendio.com>
3514 * gtk/gtktestutils.c (gtk_test_init): add a call to
3517 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
3520 2007-12-13 Kristian Rietveld <kris@imendio.com>
3522 * gtk/tests/liststore.c:
3523 * gtk/tests/treestore.c: start composing tests for the list and tree
3526 * gtk/tests/treeview-scrolling.c: added automated tests for
3527 GtkTreeView's scrolling "subsystem".
3529 * gtk/tests/Makefile.am: updated; added new test programs.
3531 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
3533 Make the code compile again after the GdkAppLaunchContext changes.
3535 * configure.in: Add gio-2.0 to GDK_PACKAGES.
3536 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
3538 2007-12-12 Matthias Clasen <mclasen@redhat.com>
3540 * gdk/gdkapplaunchcontext.c: Add docs
3542 2007-12-12 Matthias Clasen <mclasen@redhat.com>
3544 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
3545 in gdk, providing startup notification. (#503203)
3547 * gdk/x11/gdkapplaunchcontext-x11.c:
3548 * gdk/win32/gdkapplaunchcontext-win32.c:
3549 * gdk/quartz/gdkapplaunchcontext-quartz.c:
3550 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
3551 parts. All but X11 are just empty stubs for now.
3554 * gdk/gdkinternals.h:
3556 * gdk/x11/Makefile.am:
3557 * gdk/win32/Makefile.am:
3558 * gdk/quartz/Makefile.am:
3559 * gdk/directfb/Makefile.am: Necessary glue.
3561 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
3563 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
3565 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3567 * gdk/directfb/gdktestutils-directfb.c:
3568 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
3569 which adds testing functions to the DirectFB backend.
3571 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3573 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
3574 Ciccani which fixes the mixing of gdk and cairo rendering.
3576 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
3578 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
3579 on "drag-motion" handlers. Clearify documentation for
3582 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
3584 * buildertest.c: made unnecessarily exported symbols static.
3585 switched g_return_if_fail() statements in tests to assertions.
3586 special cased currently failing Widget/accesibility test to
3587 run only for g_test_thorough(), so it doesn't break make check.
3588 some coding style fixes.
3590 * Makefile.am: added buildertest to TEST_PROGS.
3592 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3594 * docs/tutorial/gtk-tut.sgml:
3595 Use gtk_widget_get_parent_window() instead of widget->parent->window.
3597 2007-12-10 Richard Hult <richard@imendio.com>
3599 * gdk/quartz/Makefile.am:
3600 * gdk/quartz/gdkquartz.h:
3601 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
3602 header (bug #405915). Also add a getter for the toplevel nswindow.
3604 2007-12-10 Richard Hult <richard@imendio.com>
3606 * gdk/quartz/gdkdrawable-quartz.c:
3607 (gdk_quartz_drawable_get_context),
3608 (gdk_quartz_drawable_release_context):
3609 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
3610 (gdk_event_check), (gdk_event_dispatch), (poll_func):
3611 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
3612 used for each drawing context and in prepare, dispatch and poll
3613 with one that exists across each main loop iteration. Fixes leaks
3614 on leopard and protects against future leaks introduce when the
3615 underlying system changes again (bug #492977).
3617 2007-12-10 Richard Hult <richard@imendio.com>
3619 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
3620 Fix the check for no changes to position and size.
3622 2007-12-10 Richard Hult <richard@imendio.com>
3624 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
3625 sized areas at (0, 0), patch from Paul Davis.
3627 2007-12-10 Richard Hult <richard@imendio.com>
3629 * gdk/quartz/gdkprivate-quartz.h:
3630 * gdk/quartz/gdkeventloop-quartz.c:
3631 (_gdk_quartz_event_loop_get_pending),
3632 (_gdk_quartz_event_loop_check_pending),
3633 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
3634 (gdk_event_check), (gdk_event_dispatch):
3635 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
3636 (_gdk_events_queue): Fix a bug where we could end up trying to
3637 handle the same event more than once. Based on patch from Paul
3640 2007-12-10 Tor Lillqvist <tml@novell.com>
3642 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
3645 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3647 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
3648 to avoid further fallout from the fix for bug 388321.
3650 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3652 * gdk/directfb/gdkgc-directfb.c:
3653 * gdk/directfb/gdkdrawable-directfb.c:
3654 * gdk/directfb/gdkdirectfb.h:
3655 * gdk/directfb/gdkwindow-directfb.c:
3656 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
3657 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
3658 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
3659 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
3660 which are expected to improve the performance of the DirectFB backend.
3661 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
3663 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3665 * gtk/gtkcontainer.c: Correct the documentation of child
3666 property getter arguments. (#501992, David Brigada)
3668 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3670 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
3671 leak pixbufs. (#502250, Yevgen Muntyan)
3673 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
3675 * gtk/gtkprintunixdialog.c:
3676 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
3677 Print and Page Setup dialogs (#502202).
3679 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
3681 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
3682 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
3683 of XVFB_START, since it's the GTESTER invokation that needs this.
3685 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
3687 * gdk-pixbuf/gdk-pixbuf.symbols:
3689 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
3690 positives in abicheck.sh
3692 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3694 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
3695 GDK events generations in the DirectFB backend.
3697 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
3699 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
3700 set of likely unused display ids, because MacOS has no seq(1) command.
3702 2007-12-06 Richard Hult <richard@imendio.com>
3704 * gdk/quartz/gdkevents-quartz.c:
3705 (synthesize_crossing_events_for_ns_event): Fix warning when
3706 switching spaces in leopard.
3708 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
3710 * tests/floatingtest.c: ported to new testing framework.
3712 * tests/Makefile.am: run floatingtest as testing framework test.
3714 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
3716 * tests/autotestfilechooser.c: majorly speed up execution by reducing
3717 timeouts and converting main loop sleeps to pending/iterate loops with
3718 very low priority async handlers. eliminate output for non-verbose
3719 tests. assert successfull subtests in all test functions. use testing
3720 framework in main().
3722 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
3723 executed inside Xvfb upon make check.
3725 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
3727 * tests/objecttests.c: use string comparisons for string property
3728 values and get rid of referencing symbols in array initialization.
3730 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
3732 * gtk+/Makefile.decl: run tests in current dir after setting up the
3733 logging directory, so their results get properly merged into the
3736 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
3737 tests to loop over registered Gdk/Gtk+ types.
3739 * gtk+/tests/objecttests.c: new test program, implements automated
3740 property tests. several properties are blacklisted because they
3741 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
3742 can be used to test blacklisted properties and see which proprty failed.
3744 2007-12-04 Richard Hult <richard@imendio.com>
3746 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
3747 Fully initialize the root window, fixes bug #501583.
3749 2007-12-04 Matthias Clasen <mclasen@redhat.com>
3751 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
3754 2007-12-03 Richard Hult <richard@imendio.com>
3756 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
3757 Don't crash when dragging from a source that doesn't support uri
3758 lists (bug #499868, Paul Davis).
3760 2007-12-03 Richard Hult <richard@imendio.com>
3762 * gdk/quartz/gdkwindow-quartz.c:
3763 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
3764 parent relative bg pixmap is set, and no parent has a bg
3765 pixmap. Fixes bug #500804.
3767 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3769 Two optimizations for icon cache lookups.
3771 * gtk/gtkiconcache.[hc]:
3772 * gtk/gtkicontheme.c: Remember the directory index for
3773 subdirectories, instead of running over the directory list
3776 * gtk/gtkiconcache.c (find_image_offset): Remember the last
3777 chain and try it first; this helps with the the usage patterns
3778 in gtkicontheme.c, where the same icon is queried for a lot
3781 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
3783 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
3784 functions from header files. this should be portable across linux and
3785 Mac OS, unlike the previpous sed expression.
3787 2007-12-1 Cody Russell <bratsche@gnome.org>
3789 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
3790 On Windows, queue a redraw of child2 whenever we set
3791 the pane handle position. This is unfortunately kind
3792 of hacky, but solves the visual artifacts that were
3793 occuring on at least certain types of child widgets
3794 (e.g., text views and tree views) that are inside
3795 horizontal or vertical panes. (#144269)
3797 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3799 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
3801 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3803 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
3806 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3808 * gtk/Makefile.am: Fix ordering of subdirs.
3810 2007-11-28 Tor Lillqvist <tml@novell.com>
3812 A proper build of GNU libintl is supposed to export the variable
3813 _nl_msg_cat_cntr. configure looks for that variable in order to
3814 recognize GNU gettext. If it sees that it is indeed GNU gettext
3815 that is used, it decides to install message catalogs in
3816 share/locale, otherwise in lib/locale. Until now on Windows I have
3817 built GTK+ against a build of GNU gettext that did not export
3818 _nl_msg_cat_cntr. But this will change, so we can't assume message
3819 catalogs are always in lib/locale.
3821 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
3822 GTK_LOCALEDIR being either in "lib" or "share". Move the function
3823 before the inclusion of gtkprivate.h so that it sees the original
3826 * gtk-zip.sh.in: Check whether the message catalogs are in
3827 share/locale or lib/locale.
3829 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
3830 that the code in _gtk_get_localedir() will find the slashes.
3832 2007-11-28 Tor Lillqvist <tml@novell.com>
3834 * gtk/Makefile.am: Improve portability. The -o option is present
3835 only in newish GNU egreps. Use one more sed in the pipeline
3838 2007-11-28 Tor Lillqvist <tml@novell.com>
3840 Fix #375893, patch by Ben Hague:
3842 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
3843 around GetLogicalDrives() that takes also the viewable drive
3844 restrictions in the Registry (which are usually the result of an
3845 Active Directory Group Policy) into account.
3847 (check_volumes, gtk_file_system_win32_list_volumes) Call
3848 get_viewable_logical_drives() instead of GetLogicalDrives().
3850 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3852 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
3853 variables to silence valgrind. (#495124, Morten Welinder)
3855 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3857 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
3858 that the construct_child function is responsible for returning a
3860 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
3861 objects from constructors
3862 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
3863 g_object_ref() to this construction function (it's the only
3868 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3870 * gtkbuilder.c: remove concept of root objects and just refcount
3871 all objects in the builder. Fixes #496651.
3873 2007-11-26 Ryan Lortie <desrt@desrt.ca>
3875 * tests/buildertest.c (test_window): fix invalid free
3877 2007-11-26 Josselin Mouette <joss@malsain.org>
3879 reviewed by: Federico Mena Quintero
3881 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
3882 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
3883 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
3884 Make the shortcuts activate with a single click. (#148828)
3885 Fix a few things affected by the change:
3886 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
3887 where no shortcut is selected.
3888 - Don't activate a shortcut in the response callback.
3889 - Filter out duplicate entries in volumes and bookmarks to
3890 avoid the selection to change when reordering them with DnD.
3892 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3895 * gtk/gtknotebook.c:
3896 * gtk/gtkplugprivate.h:
3898 * gtk/gtksocketprivate.h:
3899 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
3901 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3903 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
3904 (#495574, Richard Hult)
3906 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3908 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
3909 String change ! (#376361, Sven Neumann)
3911 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3913 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
3915 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
3918 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3920 * gtk/gtkassistant.c: Improve alternative button
3921 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
3923 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3925 * gtk/gtkcalendar.c: Fix a theming problem with colors
3926 in GtkCalendar. (#499703, Michael Hofmann)
3928 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3930 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
3932 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3934 Use templates for glib-mkenums calls instead of
3935 complicated commandlines in Makefiles. (#429910)
3937 * gdk-pixbuf/Makefile.am:
3940 * perf/Makefile.am: Use templates for glib-mkenums
3942 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
3943 * gdk/gdkenumtypes.[ch].template:
3944 * gtk/gtktypebuiltings.[ch].template:
3945 * perf/typebuiltins.[ch].template: The templates
3947 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3949 * gtk/gtkfilechooserbutton.c:
3950 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
3951 some compilers choke on that. (#467722)
3953 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3955 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
3956 about hook setup. (#425004, Emmanuele Bassi)
3958 2007-11-26 Tor Lillqvist <tml@novell.com>
3960 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
3961 monitor the window currently is on, not always the primary
3962 monitor. (#463865, Tim Evans)
3964 2007-11-26 Tor Lillqvist <tml@novell.com>
3966 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
3968 * gdk/win32/Makefile.am: Add it.
3970 2007-11-26 Tor Lillqvist <tml@novell.com>
3972 * configure.in: Don't add jasper to all_loaders if no libjasper.
3974 2007-11-25 Bastien Nocera <hadess@hadess.net>
3976 * configure.in: Add detection for libjasper, used by the
3977 gdk-pixbuf JPEG2000 loader
3979 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3981 * configure.in: Require gtk-doc 1.8
3983 * */*.c: Use gtk-doc abbreviations for examples in docs.
3985 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3987 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
3990 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3992 * gtk/gtkdialog.c: Move signal and property documentation inline,
3993 fix a problem with the ::response signal docs. (#499133, Josselin
3996 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
3998 * Makefile.decl: initialize automake variables EXTRA_DIST and
3999 TEST_PROGS for unconditional appending via += in other makefiles.
4000 define recursive test targets: test, test-report, perf-report,
4001 full-report, as described here:
4002 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
4003 the test targets will execute Gtk+ test programs within an Xvfb session.
4005 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
4007 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
4008 g_test_run() to run the tests to integrate with the testing framework.
4010 * gtk/tests/Makefile.am: removed exemplary testing rules.
4012 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
4013 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
4014 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
4015 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
4016 * docs/reference/Makefile.am, docs/tools/Makefile.am:
4017 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
4018 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
4019 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
4020 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
4021 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
4022 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
4023 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
4024 * modules/engines/ms-windows/Theme/Makefile.am:
4025 * modules/engines/ms-windows/Makefile.am:
4026 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
4027 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
4028 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
4029 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
4030 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
4031 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
4032 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
4034 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4036 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
4037 (#485662, patch by Herbert Valerio Riedel)
4039 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4041 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
4043 2007-11-21 Richard Hult <richard@imendio.com>
4045 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
4046 stubs for the testing functions to fix the build.
4048 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4050 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
4051 (#467711, The Written Word)
4053 2007-11-21 Ross Burton <ross@openedhand.com>
4055 * gdk/x11/gdksettings.c:
4056 Add xsetting for gtk-scrolled-window-placement (#458103).
4058 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4060 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
4061 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
4062 (#469239, Michael Natterer)
4064 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4066 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
4067 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
4068 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
4069 (#436536, Tommi Komulainen)
4071 2007-11-21 Matthias Clasen <mclasen@redhat.com>
4073 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
4074 property. (#489782, Jan Janech)
4076 2007-11-20 Matthias Clasen <mclasen@redhat.com>
4078 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
4079 frames. (#107398, Owen Taylor, Miguel Gomez)
4081 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
4083 Moved Gdk test functions from Gtk+ to Gdk test utils.
4085 * gdk/Makefile.am: added gdktestutils.h to public includes.
4087 * gdk/gdk.h: added gdktestutils.h to public includes.
4089 * gdk/gdk.symbols: added gdk_test_simulate_button,
4090 gdk_test_simulate_key, gdk_test_render_sync.
4092 * gdk/gdktestutils.h: new file, added prototypes for
4093 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
4095 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
4097 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
4098 gdk_test_simulate_key, gdk_test_render_sync.
4100 * gtk/gtktestutils.c:
4101 * gtk/gtktestutils.h:
4102 * gtk/gtk.symbols: removed gtk_test_simulate_button
4103 gtk_test_simulate_key, gtk_test_xserver_render_sync.
4105 * gtk/tests/testing.c: call gdk_test_render_sync.
4107 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
4109 Added unit tests for Gtk+ testing utilities.
4111 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
4112 utility functions. some g_test_* related portions are disabled and need
4113 to be enabled once Gtk+ depends on a new glib with the GLib testing
4114 framework integrated.
4116 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
4117 tests. added exemplary test rules to run tests inside Xvfb. this
4118 needs to depend on gtester for full fledged testing.
4120 * gtk/Makefile.am: build gtk+/gtk/tests, define
4121 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
4122 e.g. gtk_text_get_type().
4124 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
4126 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
4128 Added Gtk+ testing utilities.
4130 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
4131 functions. for the most part, the functions herein involve
4132 navigating and interacting with dialog elements programatically,
4133 to automate user interaction tests of dialogs and widgets.
4135 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
4137 * gtk/gtk.symbols: added gtk_test_* symbols.
4139 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
4140 the build. generate gtktypefuncs.c which contains a list of all
4141 _get_type functions in Gtk+ and Gdk.
4143 2007-11-20 Bastien Nocera <hadess@hadess.net>
4145 * configure.in: add support for conditional icns gdk-pixbuf loader
4148 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
4150 * configure.in: updated version number to 2.15.0 for development.
4152 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
4154 === Branch for 2.12 ===