1 2008-05-26 Michael Natterer <mitch@imendio.com>
3 * examples/gtkdial/gtkdial.h
4 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
6 2008-05-26 Michael Natterer <mitch@imendio.com>
8 * gtk/gtkimmodule.h: fix indentation.
10 2008-05-26 Michael Natterer <mitch@imendio.com>
12 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
14 * gtk/gtkshow.c: remove inclusion of single files from gdk/
16 Removed trailing whitespace in both files.
18 2008-05-26 Richard Hult <richard@imendio.com>
20 Bug 530353 – Mac-like gtk_accelerator_get_label()
22 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
23 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
24 On quartz, make gtk_accelerator_get_label() format a Mac-like
25 string, using unicode characters for modifier keys, arrows, delete
26 etc. Patch from Yevgen Muntyan.
28 2008-05-26 Richard Hult <richard@imendio.com>
30 Bug 534869 – Length miscalculation in
31 _gtk_quartz_get_selection_data_from_pasteboard
33 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
34 Get the number of bytes, not the number of characters, patch from
37 2008-05-26 Matthias Clasen <mclasen@redhat.com>
39 * gtk/gtkwidget.c: Some doc formatting fixes.
41 2008-05-26 Matthias Clasen <mclasen@redhat.com>
43 Bug 511163 – Remove pango_extents_to_pixels() calls
45 * gtk/gtkcellrenderertext.c (get_size): Use
46 pango_layout_get_pixel_extents.
48 * configure.in: Bump Pango requirement to 1.20
50 * INSTALL.in: Update required versions
52 2008-05-26 Matthias Clasen <mclasen@redhat.com>
54 Bug 513811 – Use cairo_format_stride_for_width()
56 * gtk/gtkhsv.c (paint_ring, paint_triangle):
57 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
58 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
60 * configure.in: Bump cairo requirement to 1.6.0
62 * INSTALL.in: Update required versions
64 2008-05-26 Matthias Clasen <mclasen@redhat.com>
66 * gtk/gtkshow.[hc]: Formatting fixes
68 * gtk/gtkmountoperation.c: Add docs
70 2008-05-25 Cody Russell <bratsche@gnome.org>
72 Bug 507389 – use gslice for gtksettings
74 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
75 Report and patch by Christian Persch.
77 2008-05-25 Cody Russell <bratsche@gnome.org>
79 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
80 when options are missing
82 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
83 that other processes that try to open it will fail gracefully. Also
84 fix a crasher caused by lack of a NULL check. Report and patch
87 2008-05-25 Cody Russell <bratsche@gnome.org>
89 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
91 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
92 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
93 so that we also take into account for foreign windows.
94 Report and patch by Nathaniel Smith.
96 2008-05-25 Cody Russell <bratsche@gnome.org>
98 Bug 525461 - Don't invalidate under an input-only child
100 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
101 Check that the window is not input-only before invalidating.
102 Report and patch by Owen Taylor.
104 2008-05-25 Cody Russell <bratsche@gnome.org>
106 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
109 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
110 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
112 2008-05-25 Cody Russell <bratsche@gnome.org>
114 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
115 caused by missing flag initialization
117 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
118 top-level private flags correctly. Patch by Danny Baumann.
120 2008-05-25 Cody Russell <bratsche@gnome.org>
122 Bug 534463 - non-editable GtkTextView should not call
123 gtk_im_context_focus_in in focus event
125 * gtk/gtktextview.c: Add checks to see if the textview is
126 editable. Patch by Wang Diancheng.
128 2008-05-25 Matthias Clasen <mclasen@redhat.com>
130 Bug 501730 – use GSlice for small allocs
133 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
134 Patch by Christian Persch.
136 2008-05-25 Matthias Clasen <mclasen@redhat.com>
138 Bug 523930 – sort -> search in gtktreeview.c
140 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
141 glitch, pointed out by Björn Lindqvist.
143 2008-05-25 Matthias Clasen <mclasen@redhat.com>
145 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
147 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
148 doc glitch, pointed out by Christian Persch.
150 2008-05-25 Matthias Clasen <mclasen@redhat.com>
152 Bug 534694 – Col id in GtkListStore could be out of range
154 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
155 a bit. Pointed out by Jan Arne Petersen.
157 2008-05-25 Matthias Clasen <mclasen@redhat.com>
159 Bug 532497 – Configure problem when cross-compiling
161 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
162 pointed out by Marko Lindqvist.
164 2008-05-25 Richard Hult <richard@imendio.com>
166 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
167 Slight coding style cleanup.
169 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
171 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
172 Added support for parsing required toolkit versions (so that ui descriptions
173 can target specific versions of the backend widget libraries) bug 527612.
175 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
176 for the added xml tags to the ui description.
178 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
179 for requires tag handling.
181 2008-05-25 Richard Hult <richard@imendio.com>
183 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
184 gtk_drag_source_info_destroy in an idle, workaround for bug
185 #501588, that makes any code that uses the context returned from
186 gtk_drag_begin() crash, like treeview/iconview dnd.
187 (GdkDragSourceOwner::provideDataForType): only use the data if we
190 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
192 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
193 to the drag actions to allow trash (#137717).
195 2008-05-25 Josselin Mouette <joss@malsain.org>
197 reviewed by: Matthias Clasen
199 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
200 check that tracker is actually working before using it. Fixes
203 2008-05-25 Sven Neumann <sven@gimp.org>
205 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
206 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
207 and don't create an output window if it is set.
209 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
210 drawing areas. Fixes bug #519317.
212 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
214 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
215 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
217 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
218 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
219 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
220 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
221 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
222 (start_spinning), (gtk_spin_button_button_release),
223 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
224 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
225 (gtk_spin_button_update): Reorder strange window hierarchy of the
226 GtkSpinButton (#466000).
228 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
230 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
231 fix the wrong position for right and center justified labels with
232 logical.x > 0 (#530255).
234 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
236 * gtk/gtkfilechooserdefault.c:
237 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
240 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
242 * tests/pixbuf-lowmem.c
243 * tests/pixbuf-random.c
244 * tests/pixbuf-randomly-modified.c
245 * tests/pixbuf-read.c
246 * tests/pixbuf-threads.c
248 * tests/testtreeview.c: Fix remaining compiler warnings in these
251 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
253 reviewed by: Matthias Clasen
258 * gtk/gtkshow.c: (gtk_show_uri):
260 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
262 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
264 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
266 * tests/buildertest.c: (test_list_store): Add test.
268 2008-05-24 Matthias Clasen <mclasen@redhat.com>
270 Bug 520989 – icon factory buildable too strict
272 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
273 an optional attribute.
275 2008-05-24 Matthias Clasen <mclasen@redhat.com>
277 Bug 387972 – gtkassistant drawing problem
279 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
280 GtkAssistant work better in glade.
282 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
284 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
285 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
286 used in GtkToolItem) (#532787).
288 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
290 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
291 try to toggle the visibility of the location entry field in search and
292 recent mode (#526422).
294 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
296 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
297 (shortcuts_list_create): Show parse name as tooltip for path
300 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
302 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
303 pango_color_parse, do not reference XParseColor forms (#434991).
305 2008-05-24 James Sharpe <jsharpe@gnome.org>
307 * gdk/gdk.symbols: Remove duplicate
308 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
309 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
311 2008-05-23 Hans Breuer <hans@breuer.org>
313 * **/makefile.msc gtk/makefile.msc.in : updated
314 * gtk/gtkwidget.c : fix c99ism (variable at start of block
315 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
317 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
318 setlocale(LC_ALL, ...)
320 2008-05-23 Tor Lillqvist <tml@novell.com>
322 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
323 gdk_window_remove_redirection.
325 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
326 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
327 changes. Remove now unnecessary parameter checks as the caller
330 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
332 2008-05-23 Tor Lillqvist <tml@novell.com>
334 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
335 anything if style doesn't change. Improve debugging output.
337 2008-05-23 Michael Natterer <mitch@gimp.org>
340 * tests/print-editor.c
341 * tests/prop-editor.h
342 * tests/testmountoperation.c
343 * tests/testmultidisplay.c
344 * tests/testnouiprint.c
346 * tests/testprintfileoperation.h
347 * tests/testtreesort.c
348 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
349 files. Remove some redundant includes.
351 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
353 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
354 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
356 2008-05-21 Richard Hult <richard@imendio.com>
358 * gdk/quartz/gdkwindow-quartz.c:
359 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
360 offscreen rendering changes, fixes build.
362 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
364 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
366 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
367 return snapshot pixmap coordinates widget relative in *clip_rect.
369 * tests/testgtk.c: fixed bogus NULL pointer unref.
371 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
373 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
374 widget's allocation to cover extra widget windows placed outside the
375 widget allocation (spinbutton arrows are the prime example for this).
377 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
379 * Applied pixmap redirection patch by Alexander Larsson with
380 various updates from:
381 Bug 318807 – Offscreen windows and window redirection.
386 * updated docs to mention "Since 2.16".
388 * tests/testgtk.c: fixed snapshooting pixmap leak.
389 convert pixmap to pixbuf after snapshooting, to compensate for different
390 bit depths (occurs when snapshooting ARGB visuals and displaying the
391 pixmap in an RGB visual).
393 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
395 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
396 need for it. enqueue damage notification as GDK_DAMAGE events
397 for each painting redirection at the start of the event queue.
398 consider windows with a redirection fully visible when invalidating,
399 and when updating from backing store. cleaned up stale variables.
401 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
403 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
404 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
405 tree, drawingarea, text, handlebox, etc.
406 clip the redirected window hierarchy to window sizes, the visible
407 rectangles don't need to be taken into account here.
408 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
409 in case pixmap visuals could mismatch.
411 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
416 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
417 of possibly obscured widgets into an offscreen pixmap.
419 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
420 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
422 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
424 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
425 implementations here, adapted them to propagate redirects to child windows.
426 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
427 clipped to visible region. queue GDK_DAMAGE event delivery.
428 gdk_window_redirect_to_drawable(): install window painting redirection.
429 gdk_window_remove_redirection(): remove previously installed redirection.
431 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
432 renamed _gdk_window_new() and _gdk_window_reparent().
434 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
435 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
437 * gdk/gdkevents.h: added GDK_DAMAGE event type.
439 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
441 * gdk/gdkinternals.h: added internal prototypes.
443 2008-05-21 Michael Natterer <mitch@imendio.com>
449 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
451 2008-05-20 Matthias Clasen <mclasen@redhat.com>
453 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
456 Patch by Marek Kasik.
459 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
461 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
463 * modules/printbackends/file/gtkprintbackendfile.c:
464 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
465 get_default_page_size.
467 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
468 select its default paper size.
470 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
471 use the printer default.
473 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
474 if we don't have a default page setup.
476 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
478 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
479 can accept NULL for none. Fixes bug #533920.
481 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
483 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
484 gtk_spin_button_update): Remove two chunks of duplicated
487 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
489 * reverted recent unapproved changes by Yair Hershkovitz,
490 regarding: Bug 503071 – Application direction changes to right
491 to left even if theres no translation.
493 2008-05-19 Richard Hult <richard@imendio.com>
495 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
496 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
497 SetSystemUIMode instead of hiding and showing the menubar.
499 2008-05-19 Federico Mena Quintero <federico@novell.com>
501 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
502 can't be resized until you expand the "Browse for other folders"
505 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
506 Removed the "get_resizable" method.
507 (_gtk_file_chooser_embed_get_resizable): Removed.
509 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
511 * gtk/gtkfilechooserdefault.c: Likewise.
513 * gtk/gtkfilechooserdialog.c
514 (file_chooser_widget_default_size_changed): Act as if the dialog
515 were always resizable.
517 2008-05-19 Michael Natterer <mitch@imendio.com>
519 * gtk/gtkcellrenderer.c
520 * gtk/gtkcellrendererpixbuf.c
521 * gtk/gtkcellrenderertoggle.c
522 * gtk/gtkimagemenuitem.c
523 * gtk/gtkmenutoolbutton.c
524 * gtk/gtkoptionmenu.c
526 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
528 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
530 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
531 g_disable_setlocale().
533 2008-05-17 Richard Hult <richard@imendio.com>
535 * gdk/quartz/gdkwindow-quartz.c:
536 (gdk_window_impl_quartz_invalidate_maybe_recurse):
537 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
538 of g_idle_add. Add a temporary check if the window is already in
539 the updates list, since update_area currently doesn't always match
540 the backend's state, see bug #530801.
542 2008-05-13 Tor Lillqvist <tml@novell.com>
544 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
546 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
547 the "packet rate" of devices to zero instead of 50. This is
548 reported to help significantly with Wacom tablet behaviour in GIMP
549 and Inkscape. Patch from Thomas Bleeker.
551 2008-05-12 Richard Hult <richard@imendio.com>
553 * gdk/quartz/gdkevents-quartz.c:
554 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
555 as it's no longer necessary; instead the added quartz API to get
556 the nsevent from an event should be used. Also move the global
557 filter up so it's done before the check for window-less events.
559 2008-05-12 Tor Lillqvist <tml@novell.com>
561 Bug 532558 - Cannot build dll when using separate builddir
564 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
567 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
569 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
571 2008-05-12 Tor Lillqvist <tml@novell.com>
573 Bug 532059 - Leak in win32 clipboard manipulation
575 * gdk/win32/gdkselection-win32.c
576 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
579 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
581 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
582 gettext_initialization only once.
584 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
585 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
586 with the extended functionality that was in the removed dpgettext().
588 * gtk/gtkaccellabelc:
590 * gtk/gtkimmulticontext.c:
591 * gtk/gtkactiongroup.c:
592 * gtk/gtkintl.h: use glib i18n api.
594 2008-05-08 Richard Hult <richard@imendio.com>
596 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
597 currently invalidated region. Fixes bug #532048, patch by Yevgen
600 2008-05-08 Richard Hult <richard@imendio.com>
602 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
603 fd's revents, not the first one. Fixes bug #531056, spotted by
606 2008-05-07 Tor Lillqvist <tml@novell.com>
608 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
611 2008-05-05 Matthias Clasen <mclasen@redhat.com>
613 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
614 more printer status information in the print dialog.
616 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
617 printer-state-reasons into suitable messages and icons.
619 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
620 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
621 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
623 * gtk/gtkiconfactory.c:
624 * gtk/gtkstock.h: New stock icons to display printer state.
626 2008-05-07 Michael Natterer <mitch@imendio.com>
630 * gdk/directfb/gdkevents-directfb.c
631 * gdk/quartz/gdkevents-quartz.c
632 * gdk/win32/gdkevents-win32.c
633 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
634 order parameters src,dest and make src const.
636 2008-05-06 Richard Hult <richard@imendio.com>
638 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
639 * gdk/gdkinternals.h: Add private backend data to events, and
640 handle it when copying/freeing events. Currently only needed in
643 * gdk/directfb/gdkevents-directfb.c:
644 * gdk/quartz/gdkevents-quartz.c:
645 * gdk/win32/gdkevents-win32.c:
646 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
647 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
648 directfb. Implement for quartz. Part of fixing bug #473822.
650 2008-05-05 Richard Hult <richard@imendio.com>
652 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
653 framework if there is one.
655 2008-05-05 Michael Natterer <mitch@imendio.com>
657 * gtk/gtkcellrenderercombo.h
658 * gtk/gtkcellrendererspin.h
659 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
662 * gtk/gtkfilechooserdialog.h
663 * gtk/gtkfilechooserwidget.h
664 * gtk/gtkscalebutton.h: reorder instance and class structs to be
667 2008-05-04 Richard Hult <richard@imendio.com>
669 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
670 gdk_unicode_to_keyval() worked before using the result. Makes
671 function keys work, bug #530156. Also add F16 to the function key
674 2008-05-04 Richard Hult <richard@imendio.com>
676 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
677 semicolon after if statement. Fixes bug #530963, patch from Yevgen
680 2008-05-02 Michael Natterer <mitch@imendio.com>
682 * gtk/gtk.h: add 15 files that were missing (they all got included
683 indirectly by including gtk.h, so should have been here in the
686 2008-05-02 Michael Natterer <mitch@imendio.com>
688 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
690 2008-05-01 Richard Hult <richard@imendio.com>
692 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
693 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
695 2008-05-01 Matthias Clasen <mclasen@redhat.com>
697 * modules/imput/imthai.c: Register the right translation domain.
699 2008-04-30 Matthias Clasen <mclasen@redhat.com>
701 Bug 529386 – Printing options hidden by blacklisted option
703 * modules/printbackend/cups/gtkprintbackendcups.c
704 (cups_printer_get_options): Fix the blacklist handling.
705 Patch by Marek Kašík.
707 2008-04-30 Richard Hult <richard@imendio.com>
709 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
712 2008-04-30 Richard Hult <richard@imendio.com>
714 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
715 nsevents with the gdk lock held, fixes deadlock when doing manual
716 window resizing with threading enabled.
718 2008-04-30 Richard Hult <richard@imendio.com>
720 * gdk/quartz/gdkevents-quartz.c:
721 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
722 Alt to Alt and Cmd to Meta. This is not only more logical but also
723 makes it easier to have Mac-like behavior.
725 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
727 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
728 painting the flat box instead of recalculating it. (#437493,
731 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
733 Bug 529841 – incorrect position in directfb
735 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
737 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
739 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
741 2008-04-25 Michael Natterer <mitch@imendio.com>
743 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
744 <pango/pango-layout.h>.
746 * gtk/gtkiconfactory.c
750 * gtk/queryimmodules.c: remove inclusion of single files from
751 pango, none of them was actually needed.
753 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
754 <pango/pango-utils.h>.
756 2008-04-25 Michael Natterer <mitch@imendio.com>
758 * gdk/gdkfont.h: include <pango/pango.h> instead of
759 <pango/pango-font.h>.
761 2008-04-25 Michael Natterer <mitch@imendio.com>
763 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
766 2008-04-21 Michael Natterer <mitch@imendio.com>
768 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
769 crashing when NULL pointers get passed.
771 2008-04-18 Michael Natterer <mitch@imendio.com>
773 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
774 here have the same style.
776 2008-04-18 Michael Natterer <mitch@imendio.com>
779 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
782 * gtk/gtkbuilderparser.c
783 * gtk/gtklinkbutton.c
785 * gtk/gtkrecentchooserdefault.c
786 * gtk/gtkrecentchoosermenu.c
787 * modules/input/gtkimcontextthai.c: remove inclusion of single
788 files from gdk, none of the includes was actually needed.
790 2008-04-18 Michael Natterer <mitch@imendio.com>
792 * gdk/gdk.h: reorder one include so they are all alphabetical.
794 2008-04-18 Michael Natterer <mitch@imendio.com>
796 * modules/printbackends/cups/gtkprintercups.[ch]
797 (gtk_printer_cups_get_ppd_name): change return value and local
798 variable to const gchar* to fix warning about discarding const
801 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
803 * gtk/gtkrecentmanager.c:
804 (gtk_recent_manager_set_filename): Keep the default storage
805 file in $HOME, as we don't have a migration code in place yet.
807 2008-04-18 Michael Natterer <mitch@imendio.com>
809 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
810 g_strfreev() the uris returned by g_bookmark_file_get_uris().
812 2008-04-17 Michael Natterer <mitch@imendio.com>
814 * gtk/gtkiconfactory.c (get_default_icons): register the
815 GTK_STOCK_PAGE_SETUP icon.
817 2008-04-17 Michael Natterer <mitch@imendio.com>
819 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
820 g_return_if_fail(tooltips != NULL);
822 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
824 * gtk/gtkwindow.c: Chain up in buildable_finish()
826 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
827 cases where g_path_get_dirname() returns "."
829 * docs/reference/gtk/tmpl/gtklabel.sgml,
830 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
831 for the <attributes> tags on GtkLabel
833 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
835 * gtk/gtkrecentmanager.c:
836 (gtk_recent_manager_real_changed): Fix last commit, and
837 complete the gtk-recent-files-max-age semantics: if the
838 property is set to 0 then purge the list.
840 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
842 Bug 488507 – boundless growth of .recently-used.xbel file
843 slows down applications
845 * gtk/gtkrecentmanager.c:
846 (gtk_recent_manager_init),
847 (gtk_recent_manager_real_changed),
848 (gtk_recent_manager_set_filename),
849 (gtk_recent_manager_clamp_to_age): Clamp the recently
850 used resources list by the age of its items, using
851 the newly added GtkSettings property.
853 * gtk/gtksettings.c (gtk_settings_class_init): Add the
854 gtk-recent-files-max-age property, controlling the
855 maximum age of the items in the recently used resources
858 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
860 * gtk/gtkrecentmanager.c:
861 (gtk_recent_manager_add_item_query_info),
862 (gtk_recent_manager_add_item): Emit the ::changed signal
863 at the end of the asynchronous MIME type query.
865 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
867 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
870 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
871 changes in the recently used resources storage file, and
872 drop the timeout-based poll.
874 * ChangeLog: Fix attribution of the patch of the previous
877 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
879 Bug 506062 – gtk_recent_manager_add_item does not detect mime
882 * configure.in: Depend on gio-2.0
884 * gtk/gtkrecentmanager.c:
885 (gtk_recent_manager_add_item_query_info_cb),
886 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
887 query the MIME type of the passed URI (based on a patch by
890 2008-04-11 Carlos Garnacho <carlos@imendio.com>
892 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
893 page to visited page list instead of next current page. (#527466,
894 patch by Marcus Brinkmann)
896 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
898 * gtk/gtklabel.c: Added <attributes> / <attribute>
899 custom tags to parse pango attributes into labels.
901 * tests/buildertest.c: Added tests for GtkLabel custom
904 2008-04-10 Carlos Garnacho <carlos@imendio.com>
906 * gtk/gtknotebook.c (hide_drag_window): Do not call
907 gtk_widget_set_parent_window(), using widget->window instead of NULL
908 to unset is the wrong thing, and gtk_widget_unparent() will already
909 take care of this (#467698, patch by Sébastien Granjoux)
911 2008-04-08 Tor Lillqvist <tml@novell.com>
913 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
914 these functions with G_MODULE_EXPORT.
916 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
918 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
919 (gtk_file_system_volume_render_icon):
920 Fix fallback icon rendering size
922 2008-04-08 Michael Natterer <mitch@imendio.com>
924 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
925 touchscreen-mode keynav corner case: when navigating to the parent
926 menu, make sure we don't close two menus at the same time in case
927 the deepest open menu has no selectable items.
929 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
931 * gtk/gtkwidget.c: Clarified a g_warning message regarding
932 parsing accelerators from builder files.
934 2008-04-03 Cody Russell <bratsche@gnome.org>
936 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
937 of the block. (#526021, reported by Kazuki IWAMOTO)
939 2008-04-03 Tor Lillqvist <tml@novell.com>
941 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
944 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
945 workaround for a specific kind of screwed up locale setting.
947 2008-04-02 Matthias Clasen <mclasen@redhat.com>
949 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
950 colormaps. Found by Daniel Berrange.
952 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
954 * tests/autotestfilechooser.c: Cover
955 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
956 name. (#346058, Joe Halliwell)
958 2008-04-02 Federico Mena Quintero <federico@novell.com>
960 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
961 chooser incorrectly substitutes and expands a ~ when you type it
962 in the filename entry.
964 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
965 basenames result in a slash-terminated pathname.
966 gtk_file_system_unix_parse() is correct, but it was splitting
967 "/home/username" into path="/home" and file_part="username", which
968 is not what the caller wants when the entry has just "~" or
971 2008-04-02 Tor Lillqvist <tml@novell.com>
973 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
974 and gtksearchenginetracker.c on Windows.
976 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
979 2008-04-01 Cody Russell <bratsche@gnome.org>
981 * configure.in: Bump required Cairo to 1.5.2.
983 * gtk/gtkprintoperation-win32.c: Add support for using the new
984 cairo_win32_printing_surface for printing. Also fixed to use
985 cairo_surface_show_page(). (#488833 and #521178)
987 2008-03-31 Cody Russell <bratsche@gnome.org>
989 * demos/gtk-demo/printing.c (draw_page): Move down each line in
990 units of text_height rather than in units of data->font_size.
991 (totally awesome catch by Dom Lachowicz)
993 2008-03-28 Richard Hult <richard@imendio.com>
995 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
996 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
997 event to the mainloop and don't generate one at all if the
998 toplevel didn't change. Use the actual window and not the toplevel
999 as event window. These changes make the generated crossing events
1000 match the X11 behavior and fixes issues with e.g. tooltips,
1001 comboboxes and menus.
1003 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
1004 the view has no window, it will be updated as soon as it's put
1007 * gdk/quartz/gdkwindow-quartz.c:
1008 (_gdk_quartz_window_debug_highlight): Make it possible to track
1009 multiple windows with debug highlighting.
1010 (show_window_internal): Remove workaround for tooltips and popups
1011 that is no longer needed with the above changes.
1013 2008-03-26 Federico Mena Quintero <federico@novell.com>
1015 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
1016 helper function; factored out from the functions that commit the
1017 current suggested autocompletion and that refresh the entry's paths.
1018 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
1019 (_gtk_file_chooser_entry_get_file_part): Likewise.
1020 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
1021 makes the entry have the correct paths when *not* using any form
1022 of completion (and makes the file chooser work when clicking the
1025 2008-03-25 Richard Hult <richard@imendio.com>
1027 * gdk/quartz/gdkevents-quartz.c:
1028 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
1029 can't find a matching window.
1031 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
1032 comment, and only trigger an event for non-temp windows, fixes
1033 problems for tooltips caused by the workarounds for the
1034 problematic tracking rect API.
1036 2008-03-25 Richard Hult <richard@imendio.com>
1038 * gdk/quartz/gdkwindow-quartz.c:
1039 (gdk_window_quartz_process_all_updates): Plug a leak and add a
1040 check that we have a toplevel before accessing it.
1042 2008-03-24 Tor Lillqvist <tml@novell.com>
1044 Bug 524151 - Dragging of 0-byte files results in an empty filename
1045 on Windows XP and above
1047 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
1048 being empty first. For some reason ISHellLink and IPersistFile
1049 succeeds in interpreting empty files as shortcuts, claiming the
1050 target of the shortcut is an empty path.
1052 Change the function to take the wide character file name that the
1053 caller already has anyway, to avoid a superfluous conversion from
1056 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
1058 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
1059 against NULL pointer. (#467051, Gian Mario Tagliaretti)
1061 2008-03-23 Cody Russell <bratsche@gnome.org>
1063 * gdk/win32/gdkevents-win32.c (show_window_recurse):
1064 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
1065 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
1066 menus from a maximized window would force the window to restore
1069 2008-03-23 Johan Dahlin <johan@gnome.org>
1071 * gtk/gtk-builder-convert:
1072 Properly convert GtkImageMenuItems which use stock labels but don't
1074 (#523932, Brian Pepple)
1076 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
1078 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
1079 New function implements GtkCellLayoutClass::get_cells. (#523787)
1081 2008-03-22 Tor Lillqvist <tml@novell.com>
1083 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
1085 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
1086 GDK_THREADS_LEAVE() call. Approved by mclasen.
1088 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
1090 * gtk/gtkexpander.c (gtk_expander_get_label):
1091 gtk_label_get_label() should be used instead of
1092 gtk_label_get_text(). (#353088, Xan Lopez)
1094 2008-03-21 Tor Lillqvist <tml@novell.com>
1096 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
1097 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
1098 gdip-pixbuf-loader module.
1100 * configure.in: Add switch --disable-gdiplus-loaders that disables
1101 building of the GDI+ loaders.
1103 When including loaders in the gdk-pixbuf library, and building
1104 GDI+ loaders, either build in all the GDI+ loaders or none of
1105 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
1106 signal building them in.
1108 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
1109 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
1110 indicate whether they should be built-in.
1112 For the rest of the changes, see gdk-pixbuf/ChangeLog.
1114 2008-03-20 Tor Lillqvist <tml@novell.com>
1116 * gtk/Makefile.am: Revert accidental change that went in as part
1117 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
1118 Darwin. On Windows one has to use a newer GNU grep that has -o,
1119 for instance the one from gnuwin32, instead of the oldish one in
1120 MSYS that doesn't have -o.
1122 2008-03-20 Tor Lillqvist <tml@novell.com>
1124 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
1125 pass NULL for %s to g_message().
1126 (main): Drop unnecessary call to gtk_widget_destroy().
1128 2008-03-20 Tor Lillqvist <tml@novell.com>
1130 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
1132 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
1133 in one dimension, or centered in case it doesn't fit.
1134 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
1137 2008-03-18 Tor Lillqvist <tml@novell.com>
1139 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
1141 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
1142 G_MODULE_ENTRY decoration can be put in a more correct place.
1144 2008-03-18 Sven Neumann <sven@gimp.org>
1146 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
1147 alternative button order on the password dialog.
1149 2008-03-18 Tor Lillqvist <tml@novell.com>
1151 Bug 99192 - Add --with-include-input-modules
1153 * configure.in: Add --with-included-immodules switch. Handled in a
1154 similar way as the --with-included-loaders switch. For each input
1155 method module foo: Collect the list of input modules to be built
1156 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
1157 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
1158 Define Automake conditionals INCLUDE_IM_FOO.
1160 * modules/input/Makefile.am: For modules to be included in libgtk,
1161 build a static library.
1163 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
1164 gdk-pixbuf to get unique names for the functions called by libgtk
1165 in the included case. Use G_MODULE_EXPORT in the non-included case
1166 so that we don't unnecessarily export unneeded random global
1169 * gtk/Makefile.am: Build the included modules and link them into libgtk.
1171 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
1172 copy/paste leftover mentions of "themes" in comments.
1174 2008-03-18 Tor Lillqvist <tml@novell.com>
1176 * tests/Makefile.am: Build testmountoperation only on Unix for now.
1178 2008-03-17 Christian Kellner <gicmo@gnome.org>
1180 Implement GtkMountOperation, a subclass of GMountOperation
1181 to be used with gio wherever there is the need to ask the
1182 user for credentials or questions while mounting a volume.
1185 * gtk/gtkmountoperation.c:
1186 * gtk/gtkmountoperation.h:
1187 Implement GtkMountOperation.
1189 * gtk/gtk.h: Add gtkmountoperation.h
1190 * gtk/Makefile.am: Add gtkmountoperation.[hc]
1191 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
1192 * tests/testmountoperation.c: Test program for it.
1193 * tests/Makefile.am: Add testmountoperation.
1195 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
1197 * gtk/gtkcontainer.c: Properly document
1198 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
1200 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1202 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
1203 style names for the ComboBox thickness style
1205 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1207 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
1208 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
1209 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
1210 intelligent separation for the xp theming engine and the classic
1211 theme while drawing the GtkComboBox button. combobox_draw_arrow
1212 is not used anymore, commented. The style has been updated to fix
1213 border/thickness glitches in the combobox according to the fixes
1214 commited regarding bug #521442. (bug #461805)
1216 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1218 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
1219 now aware of both the combobox and frame (if has-frame is set)
1220 thickness and border. (bug #521442)
1222 2008-03-15 Andre Klapper <a9016009@gmx.de>
1224 * configure.in: Added "si" to ALL_LINGUAS.
1226 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1228 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
1229 Set window type hint on the search popup. (#522279, Danny Baumann)
1231 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1233 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
1234 appropriate. (#521934, Huang Peng)
1236 2008-03-14 Michael Natterer <mitch@imendio.com>
1239 * gtk/gtkbuilderprivate.h
1240 * gtk/gtkfilechoosersettings.c
1241 * gtk/gtksearchenginesimple.c
1242 * gtk/tests/liststore.c
1243 * gtk/tests/treestore.c: remove single-file includes of GLib
1244 headers or replace them by <glib.h> where needed.
1246 2008-03-14 Michael Natterer <mitch@imendio.com>
1248 * gtk/gtkadjustment.c: coding style cleanup.
1250 (gtk_adjustment_set_property): no need to call g_object_notify()
1251 on the set properties.
1253 Implement GObject::dispatch_properties_changed() and make sure we
1254 emit "changed" when anything but the "value" property changes.
1256 2008-03-14 Tor Lillqvist <tml@novell.com>
1258 * gdk/win32/gdkevents-win32.c: Drop the support for the
1259 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
1260 Win95. Thanks to mitch for noticing this obsolete code.
1262 2008-03-14 Cody Russell <bratsche@gnome.org>
1264 * examples/scribble-xinput/scribble-xinput.c: Changed
1265 'void int main()' to 'int main()'. (#522211, Liqing Huang)
1267 2008-03-14 Richard Hult <richard@imendio.com>
1269 * gdk/quartz/gdkwindow-quartz.c:
1270 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
1271 only flush the toplevel once per update.
1273 2008-03-13 Federico Mena Quintero <federico@novell.com>
1275 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
1276 Set the mouse cursor of the feedback window to invisible, so that
1277 we respect GtkEntry's invisible cursor while typing.
1279 2008-03-13 Federico Mena Quintero <federico@novell.com>
1281 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
1282 the feedback window at entry_height/2 pixels to the right of the
1283 cursor, for a cheap "M-width / 2" spacing.
1285 2008-03-13 Sven Neumann <sven@gimp.org>
1287 * gtk/gtkfilechooserdefault.c
1288 * gtk/gtkprintunixdialog.c: set alternative button order for
1289 overwrite confirmation dialogs (bug #522191).
1291 2008-03-13 Sven Neumann <sven@gimp.org>
1293 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
1294 (overwrite_confirmation_dialog): added some line-breaks for
1297 2008-03-12 Federico Mena Quintero <federico@novell.com>
1299 Rework the way completion works in GtkFileChooserEntry. Fixes
1300 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
1301 Tab completion should work even if the cursor is not at the end of
1304 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
1307 We distinguish between two cases:
1309 - autocompletion - happens only in the Open modes by
1310 inserting and selecting the common prefix as you type.
1312 - explicit completion - happens when you hit Tab.
1314 When some type of completion needs to happen, the entry first
1315 parses its input and sees if it needs to initiate a folder load.
1316 Completion will not happen until the folder finishes loading.
1318 If the folder is already completely loaded, then completion is
1319 performed immediately. Otherwise, the entry queues a pending
1320 completion and starts loading the new folder (or waits until the
1321 current folder is completely loaded).
1323 Tab completion is allowed to happen even if the cursor is not at
1324 the end of the entry.
1326 There is a new feedback mechanism for explicit completion, so that
1327 you will get an Emacs-like tip whenever there are ambiguities in
1328 completion, no matches, etc. (This needs to be polished so that
1329 we support RTL entries and all the fancy Pango layout in GtkEntry).
1331 The only remaining thing to fix is the popup suggestion window.
1332 Unfortunately, GtkEntryCompletion does not let us do what we want,
1333 and will need further changes.
1335 2008-03-12 Tor Lillqvist <tml@novell.com>
1337 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
1339 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
1340 for the TaskbarCreated message in the window procedure for the
1341 dummy "tray observer" window we create. When we get a
1342 TaskbarCreated message, iterate over the status icons and re-add
1343 them to the task bar, and update them by calling
1344 gtk_status_icon_update_image().
1346 Move some ifdefs around to avoid unused functions.
1348 2008-03-12 Tor Lillqvist <tml@novell.com>
1350 * config.h.win32.in: Update to match what configure produces.
1352 2008-03-12 Jens Granseuer <jensgr@gmx.net>
1354 * modules/printbackends/cups/gtkprintbackendcups.c:
1355 (cups_printer_prepare_for_print): Don't define variables in the
1356 middle of a block. (#522067)
1358 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1360 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
1361 dialog for print-to-file. (#474302, Marek Kašík)
1363 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1365 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
1366 (#469210, Wouter Bolsterlee)
1368 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1370 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
1371 paper_size here. (#488820, Morten Welinder)
1373 2008-03-12 Michael Natterer <mitch@imendio.com>
1375 * acconfig.h: remove this deprecated file.
1377 * configure.in: added comments to all instances of AC_DEFINE() so
1378 config.h can be completely generated from configure.in.
1380 2008-03-12 Michael Natterer <mitch@imendio.com>
1382 * modules/printbackends/cups/gtkprintbackendcups.c: include
1383 <glib/gstdio.h> for g_fopen().
1385 2008-03-11 Matthias Clasen <mclasen@redhat.com>
1387 * modules/printbackends/cups/gtkprintbackendcups.c: Use
1388 g_ascii_formatd when formatting custom paper sizes, since
1389 cups doesn't handle , as decimal separator. (#521548)
1391 2008-03-11 Tor Lillqvist <tml@novell.com>
1393 Bug 469868 - Filenames with colon ":" are not saved correctly
1395 * gtk/gtkfilechooserentry.c (insert_text_callback)
1396 (delete_text_callback) [Win32]: New functions to make sure that
1397 colons used otherwise than as a separator after a drive letter, or
1398 characters that are always illegal in file names, are rejected on
1399 input. This means that the GTK+ file chooser can't be used to
1400 input full names of alternate data streams, but oh well. There are
1401 still more checks that could be done on the file names, see the
1402 bug report. But this will do for now.
1403 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
1405 2008-03-11 Jordi Mallach <jordi@sindominio.net>
1407 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
1409 2008-03-11 Michael Natterer <mitch@imendio.com>
1411 * gdk/linux-fb/*: removed linux-fb backend files.
1415 * docs/README.linux-fb
1416 * gtk/Makefile.am: remove remaining traces of linux-fb.
1418 * gtk/gtkwindow-decorate.c: same here. There is some code that
1419 calls into linux-fb to set window move/resize callbacks. I put it
1420 in #if 0 as a reminder because we did use decorated windows with
1421 the DirectFB backend and it did work, so I don't really know why
1422 this code is needed or how it could work with DirectFB back then.
1423 The file does actually compile now if DECORATE_WINDOWS is defined,
1424 but I didn't test with DirectFB to check if it does anything.
1426 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
1428 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
1429 Take thickness into account in the size allocation of the child widgets in
1433 2008-03-11 Richard Hult <richard@imendio.com>
1435 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
1437 2008-03-10 Tor Lillqvist <tml@novell.com>
1439 * tests/teststatusicon.c (do_exit, popup_menu): Add the
1440 possibility to test what happens if the process just calls exit()
1441 without any orderly cleanup of GTK+.
1443 2008-03-10 Tor Lillqvist <tml@novell.com>
1445 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
1447 2008-03-10 Tor Lillqvist <tml@novell.com>
1449 Bug 520286 - Non-deletable window has no minimize / maximize buttons
1451 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
1452 New debugging output function that decodes a set of WS_* bits.
1454 * gdk/win32/gdkprivate-win32.h: Declare it.
1456 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
1457 New function that enables or disables one menu entry in the system
1458 menu of a top-level window. (The corresponding decoration will
1459 then also be enabled or disabled (grayed).)
1461 (update_style_bits): Do as the comment says and don't try to
1462 update the window style based on the GdkWMFunctions set for the
1465 (update_system_menu): New function that enables or disables the
1466 system menu entries based on a window's stored set of
1469 (gdk_window_set_functions): Call update_system_menu() instead of
1470 update_style_bits().
1472 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
1474 * README.in: Reword the 2.14 release notes entry about the
1475 deprecation of the gtkitemfactory.h header, and fix typos
1478 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
1480 * modules/engines/ms-windows/msw_style.c (draw_shadow):
1481 Do not draw frame if parent if combobox.
1483 Uses scrollbar width system metrics for combobox button.
1484 Fixes #461805 for XP theme engine.
1486 2008-03-07 Johan Dahlin <johan@gnome.org>
1489 * gtk/gtkbuilderparser.c:
1490 * gtk/gtkbuilderprivate.h:
1491 * gtk/gtkiconfactory.c:
1492 * tests/buildertest.c:
1493 - Treat enums like enums and not values
1494 - Avoid invalid free, in case of more than two sources
1495 - Add better error messages
1496 - Add much improved tests
1497 (#520979, Christian Persch)
1499 2008-03-07 Carlos Garnacho <carlos@imendio.com>
1501 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
1504 2008-03-06 Federico Mena Quintero <federico@novell.com>
1506 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
1507 GtkFileChooserDialog should set a default response button if the
1508 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
1510 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
1511 function, refactor from where there was duplicated code.
1512 (gtk_file_chooser_dialog_map): Look at the buttons in our
1513 action_area. If the response ID for a button is one of the stock
1514 ones, make it the default response button.
1516 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
1518 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
1520 * gtk/gtkbuilderprivate.h:
1521 * gtk/gtkiconfactory.c:
1522 * tests/buildertest.c:
1523 Implement GtkBuildable on GtkIconFactory, to make
1524 it possible to register custom stock icons.
1527 2008-03-06 Johan Dahlin <johan@gnome.org>
1531 * gtk/gtkstyle.c: npoints->n_points.
1532 * gtk/gtktestutils.h: widget->spinner
1533 * gtk/gtktestutils.c: argc->argcp, argv->argvp
1535 2008-03-06 William Lachance <wrlach@gmail.com>
1537 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
1538 string localizable (as it should be).
1540 2008-03-06 William Lachance <wrlach@gmail.com>
1542 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
1543 the time for today's date. It's redudant. (see bug #410517).
1545 2008-03-06 Xan Lopez <xan@gnome.org>
1547 * gtk/gtkfixed.c: fix typo in documentation.
1549 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
1551 * gtk/gtkitemfactory.h:
1552 * gtk/gtktypeutils.h:
1553 Move GtkTranslateFunc to gtktypeutils.h so we can completely
1554 deprecate gtkitemfactory.h.
1556 * gtk/gtkactiongroup.h:
1558 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
1561 Add a note describing this slight incompatible change
1563 2008-03-06 Johan Dahlin <johan@gnome.org>
1565 * gtk/gtkpreview.h: Avoid double-deprecation.
1567 2008-03-06 Michael Natterer <mitch@imendio.com>
1570 * gtk/Makefile.am: move the remaining deprecated widgets to the
1571 separate sections and replaced spaces by tabs in Makefile.am
1573 2008-03-05 Johan Dahlin <johan@gnome.org>
1575 * configure.in: Add --disable-cups option.
1576 (#513826, Alberto Ruiz)
1580 Separate broken and deprecated sources and headers into different sections
1582 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
1584 2008-03-05 Kristian Rietveld <kris@imendio.com>
1586 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
1587 short-circuit in case an empty root level would be build (and thus
1588 directly destroyed) if no virtual root has been set.
1590 2008-03-04 Matthias Clasen <mclasen@redhat.com>
1592 * modules/printbackends/cups/gtkprintbackendcups.c:
1593 Honor cups user default options from ~/.cups/lpoptions
1594 (#469210, Stijn Hoop)
1596 2008-03-04 Michael Natterer <mitch@imendio.com>
1599 * gtk/gtkcolorbutton.c
1600 * gtk/gtkentrycompletion.c
1601 * gtk/gtkfontbutton.c
1605 * gtk/gtkpreview.c: don't include "gtksignal.h".
1607 * gtk/gtkfilefilter.c
1608 * gtk/gtkrecentchoosermenu.c
1609 * gtk/gtkrecentfilter.c
1610 * gtk/gtktext.c: don't include "gtkobject.h".
1612 2008-03-04 Simos Xenitellis <simos@gnome.org>
1614 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
1615 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
1617 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
1620 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
1621 file, contains compose sequences that used to exist in
1622 gtk/gtkimcontextsimple.c
1624 * gtk/compose-parse.py: Script to generate compose
1625 sequences from upstream (Xorg).
1627 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
1628 check_algorithmically): New functions. First two search in
1629 gtk_compose_seqs_compact[] for matching compose sequence, third
1630 tries NFC normalisation on incoming compose sequence.
1631 (gtk_im_context_simple_filter_keypress):
1632 Adds searching with check_compact_table(), check_algorithmically().
1634 2008-03-03 Carlos Garnacho <carlos@imendio.com>
1636 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
1637 scrollwheel work in GtkPathBar.
1639 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
1641 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
1642 an input-only window, event_window, which we'll use to capture
1644 (gtk_path_bar_map): Show the event_window under the rest of the
1645 windows, so it will be a catch-all for unhandled events.
1647 2008-03-03 Sven Neumann <sven@gimp.org>
1649 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
1650 typo in the documentation of the GtkFileChooserButtons::file-set
1651 signal (see bug #353196).
1653 2008-03-03 Tor Lillqvist <tml@novell.com>
1655 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
1658 2008-03-02 Johan Dahlin <johan@gnome.org>
1660 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
1661 Remove left-over focus_pad variable.
1662 (#490892, Claudio Saavedra)
1664 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
1665 (#518166, Matt Kraai)
1667 2008-03-02 Johan Dahlin <johan@gnome.org>
1669 * docs/tutorial/gtk-tut.sgml: Add a missing space
1670 (#517954, Matt Kraai)
1672 2008-03-03 Tor Lillqvist <tml@novell.com>
1674 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
1675 the widget is a GtkButton before casting.
1677 2008-03-02 Johan Dahlin <johan@gnome.org>
1679 * configure.in: Compare using = instead of ==, which is portable.
1680 (#490787, Thomas Klausner)
1682 2008-03-02 Johan Dahlin <johan@gnome.org>
1684 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
1685 fixes non-C++ build.
1686 (#496032, Nelson Benitez)
1688 2008-02-29 Johan Dahlin <johan@gnome.org>
1690 * demos/gtk-demo/demo.ui:
1691 * gtk/gtkbuilderparser.c:
1692 * gtk/gtkbuilderprivate.h:
1693 * gtk/gtkliststore.c:
1694 * tests/buildertest.c:
1695 Add translatable/context and comment attributes on
1696 <col> tags under a GtkListStore. Refactor parts of the
1697 translation api and make it available inside gtk+ itself.
1698 Update tests and example.
1699 Fixes a part of #518642
1701 2008-02-29 Johan Dahlin <johan@gnome.org>
1704 Add missing g_return_val_if_fail checks for public API.
1706 * gtk/gtkbuilderparser.c:
1707 * gtk/gtkbuilderprivate.h:
1708 Do not use g_error for a few more errors, instead set
1709 the GError sent in through add_from_file/add_from_string.
1710 * tests/buildertest.c:
1711 Add a couple of new parsing tests.
1712 (#519199, Pavel Syomin)
1714 2008-02-29 Federico Mena Quintero <federico@novell.com>
1716 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
1717 refreshing an existing folder (i.e. when we are about to reload
1718 its file list), turn off the folder's is_finished_loading flag.
1719 Otherwise callers which do ::is_finished_loading() followed by
1720 ::list_children() will get nothing.
1722 2008-02-29 Cody Russell <bratsche@gnome.org>
1724 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
1725 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
1727 2008-02-28 Matthias Clasen <mclasen@redhat.com>
1729 * gtk/gtkcalendar.h: Remove trailing comma from enum to
1730 make the compiler happy. (#517295, Sylvain Pasche)
1732 2008-02-27 Michael Natterer <mitch@imendio.com>
1734 * gtk/gtkmenushell.c
1737 * gtk/gtktipsquery.c
1742 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
1743 private functions and virtual function implementations.
1745 2008-02-27 Richard Hult <richard@imendio.com>
1747 * gdk/quartz/GdkQuartzView.c:
1748 * gdk/quartz/GdkQuartzView.h:
1749 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
1750 Fix performance regression for borderless transparent windows
1753 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
1755 * tests/testgtk.c: Revert back to r19454.
1757 2008-02-27 Sven Neumann <sven@gimp.org>
1759 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
1760 Quartz backend, use a native Mac OS X application for the print
1761 preview (bug #518624).
1763 2008-02-26 Michael Natterer <mitch@imendio.com>
1765 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
1766 the members of info->tag_stack since they are a) gobjects and b)
1767 not even owned by us, ugh... Fixes crash when deserializing fails.
1769 2008-02-26 Sven Neumann <sven@gimp.org>
1771 * docs/tools/shooter.c (find_toplevel_window)
1772 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
1773 argument passed to XQueryTree().
1775 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1777 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
1778 don't use beagle_query_add_hit_type.
1780 2008-02-25 Richard Hult <richard@imendio.com>
1782 * gdk/quartz/gdkevents-quartz.c
1783 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
1785 2008-02-24 Richard Hult <richard@imendio.com>
1787 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
1788 shown without gdk's control when clicking the dock icon.
1790 2008-02-24 Richard Hult <richard@imendio.com>
1792 * gdk/quartz/gdkprivate-quartz.h:
1793 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
1794 Use the subtype field for the custom event that is used to wake up
1795 the mainloop so we can have other custom event types.
1797 * gdk/quartz/gdkevents-quartz.c:
1798 (_gdk_quartz_events_trigger_crossing_events):
1799 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
1800 crossing events after showing a window if necessary, to work
1801 around problems with the tracking rect API.
1803 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1805 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
1806 wrong results on win32 because it doesn't set the printing units,
1807 which affect the transformation of the cairo context
1808 (#347125, Erik van Pienbroek)
1810 2008-02-22 Tor Lillqvist <tml@novell.com>
1812 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
1814 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1816 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
1817 acceptable for a module to only support the save_to_callback()
1818 method if it marks itself as WRITABLE
1820 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1822 * configure.in: Bump version
1824 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1826 * === Released 2.13.0 ===
1828 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
1830 2008-02-21 Tor Lillqvist <tml@novell.com>
1832 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
1833 pass the format string to strftime in the C library's locale's
1834 charset, not the system's. Correspondingly, the return value from
1835 strftime() is in the C library's locale's charset. (#509885)
1837 2008-02-20 Richard Hult <richard@imendio.com>
1839 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
1840 the right window level and shadow after recreating the window.
1842 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
1843 necessary after drawing (bug #517338).
1845 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
1847 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
1848 call to g_type_class_unref in case of error. (#517563)
1850 2008-02-18 Sven Neumann <sven@gimp.org>
1852 * gtk/Makefile.am (STOCK_ICONS)
1853 * gtk/stock-icons/16/gtk-page-setup.png
1854 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
1855 taken from GNOME icon theme.
1857 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
1859 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
1861 * configure.in: Added Kannada (kn) to ALL_LINGUAS
1863 2008-02-17 Johan Dahlin <johan@gnome.org>
1865 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
1866 When converting a stock item based on the label, remove the label property.
1868 2008-02-17 Richard Hult <richard@imendio.com>
1870 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
1871 position after showing the window since the window manager might
1872 not place it where we requested in the first places.
1874 2008-02-17 Richard Hult <richard@imendio.com>
1876 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1877 (_gdk_quartz_window_detach_from_parent),
1878 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
1879 the toplevel ordering list in all places where the order is
1880 potentially changed. Fixes mouse focus issues for windows with
1881 a transient parent set.
1883 2008-02-17 Richard Hult <richard@imendio.com>
1885 * gdk/quartz/gdkevents-quartz.c
1886 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
1887 window when event debugging is enabled.
1889 2008-02-16 Richard Hult <richard@imendio.com>
1891 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
1892 to the scroll event (bug #516757, Paul Davis).
1894 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1898 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1900 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
1903 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1905 * gdk/Makefile.am: Don't install private headers. (#463510)
1907 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
1908 the installed header gdkprivate.h.
1910 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1912 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
1913 a crash with hidden, reorderable tabs. (#513230,
1914 Mike Massonnet, patch by Carlos Garnacho)
1916 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1918 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
1919 Warn on duplicate action group names. (#501746, Christian
1922 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1925 * modules/other/gail/tests/Makefile.am:
1926 * modules/other/gail/libgail-util/Makefile.am:
1927 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
1928 builds. (#516254, Yevgen Muntyan)
1930 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1935 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
1936 instead of hardcoded target tables. (#516092, Christian Persch)
1938 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1940 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
1941 add the same target atom twice. (#516087, Christian Persch)
1943 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1945 * tests/testfilechooser.c: Add a --backend option.
1946 (#516073, Christian Persch)
1948 2008-02-16 Richard Hult <richard@imendio.com>
1950 * gdk/quartz/gdkprivate-quartz.h:
1951 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
1954 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1956 * configure.in: Go back to 2.13.0 as version for now,
1957 as there was no consensus to do the jump.
1959 * many other places: Update Since: tags.
1961 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1963 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
1965 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
1967 2008-02-15 Richard Hult <richard@imendio.com>
1969 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
1970 instead of bounds when resizing windows.
1972 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1974 * gdk/x11/gdkkeys-x11.c:
1975 * gdk/x11/gdkcolor-x11.c:
1976 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
1978 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1980 * gdk/x11/gdktestutils-x11.c:
1981 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
1983 2008-02-15 Tor Lillqvist <tml@novell.com>
1985 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
1986 leak Registry key handles. (#516578)
1988 2008-02-14 Richard Hult <richard@imendio.com>
1990 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
1991 makeKeyWindow unfortunately doesn't work in all cases, we must use
1992 makeKeyAndOrderFront.
1994 2008-02-14 Richard Hult <richard@imendio.com>
1996 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
1997 (gdk_window_hide), (gdk_window_fullscreen),
1998 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
1999 the window is hidden.
2001 2008-02-14 Richard Hult <richard@imendio.com>
2003 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
2004 resizing to be consistent and to avoid introducing an internal
2005 transform in the view.
2007 2008-02-14 Richard Hult <richard@imendio.com>
2009 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
2012 2008-02-14 Johan Dahlin <johan@gnome.org>
2014 * gdk/gdktestutils.h
2015 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
2017 2008-02-13 Richard Hult <richard@imendio.com>
2019 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2020 Remove unused variables.
2021 (gtk_clipboard_set_contents),
2022 (gtk_clipboard_get_owner), (clipboard_unset),
2023 (gtk_clipboard_request_targets): Notify the previous clipboard
2024 owner when the owner changes. Fixes bug #493406.
2026 2008-02-13 Richard Hult <richard@imendio.com>
2028 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
2029 the return value (return number of colors that failed), and handle
2031 (gdk_colormap_free_colors): Fix typo in comment.
2033 2008-02-13 Kristian Rietveld <kris@imendio.com>
2035 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
2036 queue a redraw if the rubber banding has actually been active.
2038 2008-02-12 Matthias Clasen <mclasne@redhat.com>
2040 * gtk/gtkpapersize.c:
2041 * gtk/gtkprintoperation.c:
2042 * gtk/gtkvolumebutton.c:
2043 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
2044 out by Behdad Esfahbod.
2046 2008-02-12 Federico Mena Quintero <federico@novell.com>
2048 Merged from gtk-2-12:
2050 Don't focus the file list when shortcuts get activated. This
2051 removes a lot of ambiguity in when the file selection should
2052 change, and makes the overall code flow simpler.
2054 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
2055 file/save dialog clears the filename entry when changing
2058 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
2059 focus should not go to the file list when a shortcut is activated.
2061 * gtk/gtkfilechooserdefault.c
2062 (shortcuts_activate_volume_mount_cb): Don't focus the file list
2063 (shortcuts_activate_get_info_cb): Likewise.
2065 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
2066 the file list (this was the last place where we would focus the
2067 file list explicitly). If you are in the location entry, for
2068 example, you don't want Alt-Home to take you to the file list; you
2069 just want the current folder to change. Thanks to Olle Bergkvist
2070 <olle.bergkvist@yahoo.se> for pointing this out in
2071 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
2072 (focus_browse_tree_view_if_possible): Removed.
2074 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2076 Skip exensions when selecting filenames in the save-as dialog.
2077 (#362516, Carlos Garnacho)
2079 * gtk/gtkfilechooserentry.h:
2080 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
2081 New function to skip the extension part when selecting a filename.
2082 (_gtk_file_chooser_entry_set_base_folder): Use it here.
2084 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
2087 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2089 * gtk/gtkiconview.c: Fix state change reporting for
2090 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
2092 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
2094 * gtk/gtkrecentchooser.c:
2095 (gtk_recent_chooser_class_init): Set the default value of the
2096 :show-not-found property to TRUE, as every implementation sets
2099 * gtk/gtkrecentchooserdefault.c:
2100 (_gtk_recent_chooser_default_init): Sync show_tips to the
2101 default value of the :show-tips property.
2103 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2105 * gtk/gtkclipboard-quartz.c:
2107 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
2110 2008-02-12 Kristian Rietveld <kris@imendio.com>
2112 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
2113 (gtk_tree_view_real_toggle_cursor_row): guard against people
2114 deleting the row in question in the selection-changed callback.
2115 (#514621, Andreas Koehler).
2117 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2119 * gtk/*.c: Unify the handling of various "Enter" keysyms
2120 all over the place. (#515047, Christian Persch)
2122 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2124 * gtk/gtkfilesystemmodel.c:
2126 * gtk/gtkwidget.c: Use g_value_set_static_string() where
2127 appropriate. (#515042, Christian Persch)
2129 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2131 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
2133 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2135 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
2137 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2139 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
2140 (recent_model_sort_drag_data_get):
2141 (search_model_sort_drag_data_get):
2142 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
2143 * gtk/gtkpathbar.c (button_drag_data_get_cb):
2144 Use gtk_selection_data_set_uris() instead of doing it
2145 by hand. (#514890, Christian Persch)
2147 2008-02-12 Michael Natterer <mitch@imendio.com>
2149 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
2150 gtk_get_current_event_time().
2152 2008-02-12 Michael Natterer <mitch@imendio.com>
2154 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
2155 gtk_window_get_key_hash() to get the hash instead of manually
2156 fiddling with quarks and gtk_window_keys_changed(). Also add
2157 g_return_if_fail() to this public function.
2159 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2161 Support keynav in status icons. (#473786, Li Yuan)
2163 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
2165 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
2167 2008-02-11 Kristian Rietveld <kris@imendio.com>
2169 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
2170 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
2171 wrt. link deletion from list; contination of fix for #503569.
2173 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
2175 * gtk/gtkrecentchoosermenu.c:
2176 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
2177 on the placeholder menu item.
2179 * tests/testrecentchoosermenu.c:
2180 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
2181 whether the placeholder menu item gets shown.
2183 2008-02-10 Cody Russell <bratsche@gnome.org>
2185 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
2186 Check the return value of _gtk_file_chooser_get_file_system () for
2187 NULL before passing it to gtk_file_system_path_to_uri ().
2188 (#515667, Francesco Montorsi)
2190 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
2192 * gtk/gtkbuilder.c: Improve the documentation for
2193 gtk_builder_connect_signals. (#514471)
2195 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2197 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
2200 2008-02-08 Cody Russell <bratsche@gnome.org>
2202 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
2203 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
2205 2008-02-08 Richard Hult <richard@imendio.com>
2207 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
2208 delta from the NSEvent for now, generating multiple scroll events
2209 results in a lot of events getting queued up and things get really
2212 2008-02-08 Sven Herzberg <sven@imendio.com>
2214 Adjust the code to match the documentation, examples, "common sense"
2215 and existing applications.
2217 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
2218 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
2221 2008-02-07 Cody Russell <bratsche@gnome.org>
2223 * gdk/win32/gdkevents-win32.c
2224 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
2225 of a block that were causing compile problems on old
2226 compilers. (#515053, reported by Kazuki IWAMOTO)
2228 2008-02-07 Michael Natterer <mitch@imendio.com>
2235 * gtk/gtkmenushell.c
2237 * gtk/gtkoptionmenu.c
2241 * gtk/gtkradiomenuitem.c
2243 * gtk/gtkscrolledwindow.c
2244 * gtk/gtksocket.c: remove g_return_if_fail() from private
2245 functions and virtual function implementations.
2247 2008-02-07 Michael Natterer <mitch@imendio.com>
2250 * gtk/gtkassistant.c
2254 * gtk/gtkcellrenderercombo.c
2257 * gtk/gtkdrawingarea.c
2258 * gtk/gtkentrycompletion.c
2264 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
2265 functions and virtual function implementations.
2267 2008-02-07 Christian Persch <chpe@gnome.org>
2269 * gdk/gdkpixbuf-render.c:
2270 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
2271 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
2272 otherwise there will be random pixel values in the semi-transparent
2273 area of the pixbuf within the mask. Bug #487865.
2275 2008-02-06 Cody Russell <bratsche@gnome.org>
2277 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
2278 otherwise things get wonky when you click on a menu. This fixes
2279 a regression caused in #505928. Thanks to Tor for spotting this
2282 2008-02-06 Michael Natterer <mitch@imendio.com>
2284 * gtk/gtkcontainer.c
2291 * gtk/gtkmenushell.c
2293 * gtk/gtkseparatortoolitem.c
2295 * gtk/gtktextlayout.c
2296 * gtk/gtktoggletoolbutton.c
2297 * gtk/gtktoolbutton.c
2300 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
2303 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2305 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
2306 Allow to store half-open ranges.
2308 2008-02-05 Cody Russell <bratsche@gnome.org>
2310 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
2311 down the stack until we get to a window that is mapped.
2312 Otherwise hiding a window will cause all windows in the app
2313 to be blocked. (#514643)
2315 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2317 * gtk/updateiconcache.c: Ignore images in the toplevel theme
2318 directory, avoiding one source of invalid caches that has been
2319 spotted in the wild.
2321 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2323 * gtk/updateiconcache.c: Fix the previous commit to compile.
2325 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2327 * gtk/updateiconcache.c: Install a printerr handler that
2328 prepends the program name, since gtk-update-icon-cache output
2329 often appears in the middle of other output, e.g. rpm update logs.
2331 2008-02-05 Cody Russell <bratsche@gnome.org>
2333 * gdk/win32/gdkprivate-win32.h
2334 * gdk/win32/gdkevents-win32.c
2335 * gdk/win32/gdkwindow-win32.c
2336 * gdk/win32/gdkwindow-win32.h
2337 * gdk/win32/gdkwin32.h:
2338 Modal window rework. (#455627 and #511111)
2340 2008-02-04 Michael Natterer <mitch@imendio.com>
2342 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
2343 g_return_if_fail() if the cell is not part of the combo instead of
2344 crashing in the next line.
2346 2008-02-01 Cody Russell <cody@jhu.edu>
2348 * modules/engines/ms-windows/xp_theme.[ch]
2349 * modules/engines/ms-windows/xp_theme_defs.h
2350 * modules/engines/ms-windows/msw_rc_style.c
2351 * modules/engines/ms-windows/msw_theme_main.c
2352 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
2353 attempted to stylize more like the rest of the gtk+ stack's code.
2355 2008-02-01 Michael Natterer <mitch@imendio.com>
2357 * tests/testgtk.c: initialize GdkColor structs to fix warning
2358 about uninitialized "pixel" member.
2360 * tests/testactions.c: connect the toolbar_style() callback so it
2361 does something useful and doesn't warn about being defined but not
2364 2008-01-31 Cody Russell <bratsche@gnome.org>
2366 * gdk/win32/gdkevents-win32.c:
2367 Refactored some of the window hiding/showing code from
2368 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
2369 under WM_ACTIVATE was causing the application to go into
2370 a weird state when the user right-clicked on the taskbar
2371 entry of a window that was minimized. (#505928)
2373 2008-01-31 Cody Russell <bratsche@gnome.org>
2375 * gtk/gtkpaned.c (gtk_paned_set_position):
2376 Change queue_resize() to queue_draw(), and add a check for
2377 child2 != NULL in case someone calls this before there is
2378 a child packed in there. (#144269 again)
2380 2008-01-31 Sven Neumann <sven@gimp.org>
2382 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
2383 applied patch from Denis Oliver Kropp <dok@directfb.org>.
2385 2008-01-31 Sven Neumann <sven@gimp.org>
2387 * gdk/directfb/gdkdisplay-directfb.c
2388 * gdk/directfb/gdkdrawable-directfb.c
2389 * gdk/directfb/gdkprivate-directfb.h
2390 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
2391 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
2393 2008-01-31 Richard Hult <richard@imendio.com>
2395 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
2396 issues with undecorated windows. Revert the change done on
2397 2008-01-25 and fix it by using the view's bounds instead. The
2398 bounds will always be up to date when setting up the tracking
2399 rect, so this should be more robust.
2401 2008-01-30 Sven Neumann <sven@gimp.org>
2403 * gdk/directfb/gdkdrawable-directfb.c
2404 * gdk/directfb/gdkwindow-directfb.c
2405 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
2406 Oliver Kropp <dok@directfb.org>. Adds debug messages using
2407 DirectFB's debugging system
2409 2008-01-30 Sven Neumann <sven@gimp.org>
2411 * gdk/directfb/gdkdirectfb.h
2412 * gdk/directfb/gdkdisplay-directfb.c
2413 * gdk/directfb/gdkdrawable-directfb.c
2414 * gdk/directfb/gdkim-directfb.c
2415 * gdk/directfb/gdkimage-directfb.c
2416 * gdk/directfb/gdkinput-directfb.c
2417 * gdk/directfb/gdkmain-directfb.c
2418 * gdk/directfb/gdkpixmap-directfb.c
2419 * gdk/directfb/gdktestutils-directfb.c
2420 * gdk/directfb/gdkvisual-directfb.c
2421 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
2422 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
2423 errors and has some cleanups.
2425 2008-01-30 Michael Natterer <mitch@imendio.com>
2427 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
2428 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
2431 * gtk/updateiconcache.c (add_string): cast const gchar* to
2432 gpointer when inserting in a GHashTable.
2434 * tests/testcalendar.c (calendar_detail_cb): remove const from
2435 return value since it's a newly allocated string.
2437 (calendar_update_details): free the detail.
2439 2008-01-29 Johan Dahlin <johan@gnome.org>
2441 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
2443 * demos/gtk-demo/demo.ui:
2444 Move the about dialog to the glade file, add accessible tags
2445 examples to the markup file.
2447 2008-01-28 Paolo Borelli <pborelli@katamail.com>
2449 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
2450 layout, fixes #512375.
2452 2008-01-28 Michael Natterer <mitch@imendio.com>
2454 * gtk/gtktextchild.c
2455 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
2457 2008-01-28 Michael Natterer <mitch@imendio.com>
2459 * demos/gtk-demo/builder.c (about_activate): use
2460 gtk_about_dialog_set_program_name() instead of the deprecated
2463 2008-01-28 Michael Natterer <mitch@imendio.com>
2465 * gtk/gtktextchild.c
2466 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
2469 2008-01-26 Johan Dahlin <johan@gnome.org>
2471 * tests/Makefile.am:
2472 * tests/textbuffertest.c:
2473 Rename textbuffer test and port it to the new test framework
2475 2008-01-25 Johan Dahlin <johan@gnome.org>
2477 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
2478 unsetting of GTK_MODULES.
2480 * gtk/gtk-builder-convert
2481 (GtkBuilderConverter._convert_adjustment): Handle the case where
2482 there is no child text node.
2483 (GtkBuilderConverter): Allow xml comments in most places.
2485 2008-01-25 Johan Dahlin <johan@gnome.org>
2487 * gtk/gtk-builder-convert
2488 (GtkBuilderConverter._convert_combobox_items): Remove the items
2489 even if there are no items set.
2490 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
2491 signals and tooltips for all menu items subclasses and
2492 GtkImageMenuItem:label.
2493 Makes it possible to fully convert and run Jokosher.glade.
2495 2008-01-25 Johan Dahlin <johan@gnome.org>
2497 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
2498 (gtk_widget_buildable_get_internal_child), (free_action),
2499 (free_relation), (gtk_widget_buildable_parser_finished),
2500 (accessibility_start_element),
2501 (gtk_widget_buildable_custom_tag_start),
2502 (gtk_widget_buildable_custom_finished):
2503 Implement accessible support, fixes #454653.
2505 * gtk/gtk-builder-convert:
2506 Add support for migrating old glade files
2508 * tests/buildertest.c: (test_widget), (test_file):
2509 Add accessible tests and imprve the test_file function to display
2510 toplevels and run dialogs.
2512 2008-01-25 Richard Hult <richard@imendio.com>
2514 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
2515 didn't change, fixes focus event issues for undecorated windows.
2517 2008-01-25 Richard Hult <richard@imendio.com>
2519 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
2520 const and remove unused variables).
2522 2008-01-25 Michael Natterer <mitch@imendio.com>
2525 * gtk/gtkcellrenderer.h
2526 * gtk/gtkimcontext.h
2530 * gtk/gtktreeprivate.h
2531 * gtk/gtktreeviewcolumn.h
2532 * gtk/gtkwidget.h: add const to constant structs which are passed
2533 into GTK+. Also add some forgotten const for const strings.
2537 * gtk/gtkcellrenderer.c
2538 * gtk/gtkimcontext.c
2543 * gtk/gtktreeviewcolumn.c
2544 * gtk/gtkwidget.c: changed accordingly.
2546 2008-01-25 Sven Herzberg <sven@imendio.com>
2548 Reviewed by Johan Dahlin.
2550 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
2551 this is called with something that's not a GtkUIManager
2553 2008-01-24 Johan Dahlin <johan@gnome.org>
2555 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
2556 Chain up to parent, so widgets can have internal children.
2558 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
2560 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
2563 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
2565 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
2567 Use pango_layout_set_height() for calendar details (#506049).
2569 * configure.in: Require 1.19.3 for pango_layout_set_height().
2570 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
2572 2008-01-18 Johan Dahlin <johan@gnome.org>
2574 * gtk/gtk-builder-convert (get_property_node): New method
2575 (GtkBuilderConverter._create_object): Conditionally take a node as
2576 a property value, so don't lose translate/context attributes if they
2578 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
2579 property values instead of strings.
2580 (#509153, Erik van Pienbroek)
2582 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
2584 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
2586 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
2587 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
2588 * tests/testcalendar.c: Duplicate calendar details before returning.
2590 2008-01-16 Christian Persch <chpe@gnome.org>
2592 * gtk/gtkwidget.c: Store the event mask and extension event mode
2593 directly in the gobject data pointer, instead of in an allocated
2596 2008-01-16 Michael Natterer <mitch@imendio.com>
2598 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
2599 gdk-pixbuf now uses gio functions.
2601 2008-01-16 Matthias Clasen <mclasen@redhat.com>
2603 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
2604 the notify::model signal. (#509819, David Zeuthen)
2606 2008-01-15 Michael Natterer <mitch@imendio.com>
2614 * gdk/gdkwindow.h: made more struct pointer and array parameters
2615 const. GDK should now be constified as far as possible without
2616 breaking source compatibility. Includes some minor cleanup like
2617 indentation and s/nfoo/n_foo/ (bug #508544).
2623 * gdk/gdkregion-generic.c
2625 * gdk/directfb/gdkdisplay-directfb.c
2626 * gdk/directfb/gdkwindow-directfb.c
2627 * gdk/quartz/gdkdisplay-quartz.c
2628 * gdk/quartz/gdkwindow-quartz.c
2629 * gdk/win32/gdkdisplay-win32.c
2630 * gdk/win32/gdkwindow-win32.c
2631 * gdk/x11/gdkdisplay-x11.c
2632 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2634 2008-01-14 Michael Natterer <mitch@imendio.com>
2636 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
2639 (gtk_rc_parse_any): change variables to const and introduce
2640 another local variable to fix const warnings.
2642 2008-01-14 Michael Natterer <mitch@imendio.com>
2644 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
2645 of gdk_screen_get_font_options() to gpointer to get rid of const
2648 2008-01-14 Michael Natterer <mitch@imendio.com>
2650 * tests/testdnd.c (source_drag_data_get): fix another call to
2651 gtk_selection_data_set().
2653 2008-01-14 Michael Natterer <mitch@imendio.com>
2655 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
2658 2008-01-14 Michael Natterer <mitch@imendio.com>
2660 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
2662 2008-01-14 Michael Natterer <mitch@imendio.com>
2664 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
2665 "uris" to guchar* when passing it to gtk_selection_data_set().
2667 2008-01-14 Michael Natterer <mitch@imendio.com>
2673 * gdk/gdkinternals.h
2675 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
2676 parameters const (bug #508544).
2681 * gdk/gdkrectangle.c
2682 * gdk/gdkpolyreg-generic.c
2683 * gdk/gdkregion-generic.c
2684 * gdk/directfb/gdkcolor-directfb.c
2685 * gdk/directfb/gdkgc-directfb.c
2686 * gdk/directfb/gdkgeometry-directfb.c
2687 * gdk/directfb/gdkwindow-directfb.c
2688 * gdk/quartz/gdkcolor-quartz.c
2689 * gdk/quartz/gdkgc-quartz.c
2690 * gdk/quartz/gdkgeometry-quartz.c
2691 * gdk/quartz/gdkwindow-quartz.c
2692 * gdk/win32/gdkcolor-win32.c
2693 * gdk/win32/gdkgc-win32.c
2694 * gdk/win32/gdkgeometry-win32.c
2695 * gdk/win32/gdkprivate-win32.h
2696 * gdk/win32/gdkwindow-win32.c
2697 * gdk/x11/gdkcolor-x11.c
2698 * gdk/x11/gdkgc-x11.c
2699 * gdk/x11/gdkgeometry-x11.c
2700 * gdk/x11/gdkmain-x11.c
2701 * gdk/x11/gdkprivate-x11.h
2702 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2704 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
2707 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2709 Explain name choice for gtk_tool_item_toolbar_reconfigured.
2711 * gtk/gtktoolitem.c: Add comment expaining name choice for
2712 gtk_tool_item_toolbar_reconfigured.
2714 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2716 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
2717 implementations to notify its children, when some aspect of their
2718 configuration changed (#509042).
2720 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
2721 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
2722 Rename _gtk_tool_item_toolbar_reconfigured.
2724 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2726 Include <gtk/gtktoolshell.h> from gtk.h.
2728 * gtk/gtk.h: Add gtktoolshell.h
2730 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2732 Print angle brackets arround e-mail addresses in the about dialog
2733 (#409520, Mariano Suárez-Alvarez).
2735 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
2737 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
2739 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
2740 special casing so test widgets are always queues for destruction
2743 * gtk/tests/testing.c: removed bits left-over from testing without
2746 2008-01-10 Tor Lillqvist <tml@novell.com>
2748 * modules/other/gail/libgail-util/Makefile.am
2749 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
2752 2008-01-10 Tor Lillqvist <tml@novell.com>
2754 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
2755 uses gtkprintunixdialog API.
2757 2008-01-10 Tor Lillqvist <tml@novell.com>
2759 * gdk/win32/gdkdisplay-win32.c
2760 * gdk/win32/gdkglobals-win32.c
2761 * gdk/win32/gdkprivate-win32.h
2762 * gdk/win32/gdkscreen-win32.c
2763 * gdk/win32/gdkwindow-win32.c: Implement
2764 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
2765 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
2768 2008-01-10 Cody Russell <bratsche@gnome.org>
2770 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
2771 Properly ref/unref windows and parents. (#506769)
2773 2008-01-10 Richard Hult <richard@imendio.com>
2775 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2776 (gdk_window_hide), (move_resize_window_internal): Move the
2777 tracking rect workaround from here...
2779 * gdk/quartz/GdkQuartzWindow.c:
2780 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
2781 movements during showing/hiding operations. Fixes bug #508516.
2783 2008-01-10 Michael Natterer <mitch@imendio.com>
2785 * gdk/directfb/gdkscreen-directfb.c
2786 (gdk_screen_get_monitor_width_mm)
2787 (gdk_screen_get_monitor_height_mm)
2788 (gdk_screen_get_monitor_plug_name): add these functions to make
2791 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
2793 * gtk/gtkrecentchoosermenu.c:
2794 (idle_populate_func), (idle_populate_clean_up): Fix possible
2795 recursion by resetting the idle source id. (#507605, William
2798 2008-01-10 Kristian Rietveld <kris@imendio.com>
2800 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
2801 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
2802 avoid valgrind warnings. (#507751, patch from Christian Persch).
2804 2008-01-10 Kristian Rietveld <kris@imendio.com>
2806 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
2807 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
2809 2008-01-10 Kristian Rietveld <kris@imendio.com>
2811 Fix #477175, reported by Juri Pakaste.
2813 * gtk/gtktreeprivate.h:
2814 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
2815 tree_view->priv->dy here directly, just calculate the new value
2816 and set it on the adjustment,
2817 (gtk_tree_view_adjustment_changed): add guards to not call
2818 gtk_tree_view_dy_to_top_row() if we are currently in
2819 gtk_tree_view_top_row_to_dy(),
2820 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
2821 coordinates, not tree coordinates,
2822 (gtk_tree_view_real_start_editing): add cast.
2824 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
2825 position of the editable in the "create new row and start editing"
2828 2008-01-09 Michael Natterer <mitch@imendio.com>
2830 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
2833 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
2834 * gtk/gtkicontheme.c (theme_list_contexts)
2835 (gtk_icon_theme_lookup_icon)
2836 * gtk/gtkimcontextsimple.c (beep_window)
2837 * gtk/gtklinkbutton.c (set_link_color)
2838 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
2841 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
2842 variable and add const to another to fix a warning.
2844 2008-01-07 Matthias Clasen <mclasen@redhat.com>
2846 * gtk/gtkassistant.c (remove_page): Be more robust when removing
2847 the current page. (#499951, Andreas Sandberg)
2849 2008-01-06 Johan Dahlin <johan@gnome.org>
2851 * gtk/gtkspinbutton.c: Declare value in the example code for
2852 GtkSpinButton::output, as pointed out by Anders Carlsson.
2854 2008-01-06 Christian Persch <chpe@gnome.org>
2856 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
2857 and remove an obsolete event box. Bug #506760.
2859 2008-01-06 Johan Dahlin <johan@gnome.org>
2861 * tests/buildertest.c (test_domain):
2862 Update, GtkBuilder::translation-domain is no longer set
2864 * gtk/gtkbuilderparser.c (parse_interface):
2865 Allow domains to be overridden in <interface>'s if a translation-domain
2866 is set in the builder.
2867 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
2868 of the builder, make the domain set in the <interface> apply only to strings
2870 (#496831, Ryan Lortie)
2872 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
2875 * gtk/gtktreestore.c (tree_model_end_element):
2876 Remove an unused variable
2878 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2880 * gtk/gtkspinbutton.c: Document the ::output signal and
2881 add an example. (#507566, example by Owen Taylor)
2883 2008-01-06 Johan Dahlin <johan@gnome.org>
2885 * gtk/gtkcellrenderercombo.c:
2886 (gtk_cell_renderer_combo_get_property),
2887 (gtk_cell_renderer_combo_set_property):
2888 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
2889 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
2890 * gtk/gtknotebook.c: (gtk_notebook_set_property):
2891 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
2892 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
2893 (gtk_text_buffer_get_property):
2894 * gtk/gtktextview.c: (gtk_text_view_set_property):
2895 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
2896 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
2897 (gtk_tool_button_get_property):
2898 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
2899 (gtk_tool_item_get_property):
2900 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
2901 * gtk/gtkwidget.c: (gtk_widget_set_property):
2902 * gtk/gtkwindow.c: (gtk_window_set_property):
2903 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
2906 2008-01-06 Johan Dahlin <johan@gnome.org>
2908 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
2909 Make sure that --root works for toplevel widgets.
2910 (#491847, Phil Lello)
2912 2008-01-05 Johan Dahlin <johan@gnome.org>
2914 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
2915 to make sure that make test-report works properly
2917 2008-01-05 Christian Persch <chpe@gnome.org>
2919 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
2920 GType as integer through gpointer. Bug #507395.
2922 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
2924 Avoid some compiler warnings (#507000).
2926 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
2927 for value argument of _gtk_builder_flags_from_string.
2928 * gtk/gtkwidget.c: Don't alias the child pointer passed
2929 to gdk_window_get_user_data.
2931 2008-01-04 Michael Natterer <mitch@imendio.com>
2933 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
2934 to set the time in the returned GdkTimeCoords.
2936 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
2938 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
2939 correct comparison function (kudos to Christian Persch and
2940 Claudio Saavedra for spotting this)
2942 * gtk/gtkrecentchooserutils.c:
2943 (sort_recent_items_mru),
2944 (sort_recent_items_lru): Ditto as above.
2946 2008-01-03 Johan Dahlin <johan@gnome.org>
2948 * tests/defaultvaluetest.c: Make it pass again.
2950 2008-01-02 Johan Dahlin <johan@gnome.org>
2952 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
2953 make it pass on Ubuntu.
2954 (main): Use gtk_test_list_all_types () instead of providing our
2956 And it no longer passes.
2958 2007-12-30 Johannes Schmid <jhs@gnome.org>
2960 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
2961 Also reorder menu when reordering tabs by drag & drop
2964 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
2965 Add a menu to one of the notebooks to have a test-case for
2966 the change mentioned above.
2968 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
2970 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
2972 2007-12-31 Christian Persch <chpe@gnome.org>
2974 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
2975 Plug a mem leak. Bug #506107.
2977 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2979 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
2980 icon cache api change. (#506135, Kazuki Iwamoto)
2982 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2984 Consider "wide-separators" and "separator-height" style properties:
2985 The separator is drawn using gtk_paint_box instead of cairo, when
2986 "wide-separators" is set. Also do not highlight details for previous
2987 or next month, if their day matches the selected day. (#339540)
2989 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
2990 in gtk_calendar_size_request and calendar_paint_day
2991 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
2992 for selected detail separators in GtkCalendar.
2994 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2996 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
2998 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
2999 a local variable instead in gtk_calendar_size_request.
3001 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3003 * tests/defaultvaluetest.c: Add enough exclusions to make the
3006 2007-12-28 Christian Persch <chpe@gnome.org>
3008 * modules/other/gail/Makefile.am:
3009 * modules/other/gail/tests/*:
3010 * configure.in: Merge tests from standalone gail. Bug #504568.
3012 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3014 * gtk/gtkclipboard.c: Make the finalizer work when display is
3017 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3019 Draw bottom shadow of GtkCalender headings. (#506113)
3021 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
3023 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3025 * gtk/gtkcalendar.c: Document the initial values of year/month/day
3028 2007-12-28 Christian Persch <chpe@gnome.org>
3030 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
3031 a mem leak. Bug #506096.
3033 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3036 * gtk/gtktreeview.c:
3037 * gtk/gtkprintoperation.c:
3038 * gtk/gtkprogressbar.c:
3039 * gtk/gtkmessagedialog.c:
3040 * gtk/gtknotebook.c:
3044 * gtk/gtklinkbutton.c:
3045 * gtk/gtkmenu.c: More default property value corrections.
3047 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3049 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
3050 accel_group unless it is set.
3052 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3054 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
3056 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3058 * gtk/gtkhandlebox.c: Fix the default values of shadow and
3059 shadow-type properties.
3061 * gtk/gtkfontsel.c: Fix the default values of several properties.
3063 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
3066 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
3068 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
3071 2007-12-28 Johan Dahlin <johan@gnome.org>
3073 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
3074 (gtk_dialog_buildable_custom_tag_start): Chain up.
3075 This makes it possible to have accelerators tags on GtkDialog
3078 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3080 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
3081 are shown within the widget, or just as tooltip. (#339540)
3083 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
3084 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
3085 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
3088 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3090 Try more decent appearance of calendar details separator. (#339540)
3092 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
3093 and make it short by one pixel on each side.
3095 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3097 Apply trivial code-style changes from attachement 101101. (#339540)
3099 * tests/testcalendar.c: Some updates to current GTK+ code-style.
3101 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3103 Restructure testcalendar for testing calendar details. (#339540)
3105 * tests/testcalendar.c: Push code arround for testing calendar details.
3107 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3109 Implement GtkTooltip API for calendar details. (#339540)
3111 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
3112 Remember detail overflows in calendar_paint_day to show the tooltip
3113 only when neccessary.
3115 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3117 Without setting "detail-width-chars" and "detail-height-rows"
3118 properties not only the widget has to be redrawn on certain
3119 conditions, but also its size must be recalculated. (#339540)
3121 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
3122 that function instead of gtk_widget_queue_draw.
3124 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3126 Consider details for size-request and expose-event. (#339540)
3128 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
3129 is_color_attribute functions. Change gtk_calendar_size_request
3130 and calendar_paint_day to consider and show calender details.
3132 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3134 * gtk/gtkcombobox.c: Introduce local priv variables to
3137 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3139 * gtk/gtkcombobox.c: Correct the default value for the
3140 tearoff-title property.
3142 * gtk/gtkcellrenderertext.c: Fix the default value for the
3143 wrap-mode and font-scale properties.
3145 * gtk/gtkaspectratio.c: Fix the default value for the ratio
3148 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3150 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
3151 defines. (#505708, MINAMI Hirokazu)
3153 2007-12-27 Christian Persch <chpe@gnome.org>
3155 * Makefile.am: Install gail.pc. Bug #505859.
3157 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
3159 Add infrastructure for GtkCalendar details. (#339540)
3161 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
3162 Add "detail-width-chars" and "detail-height-rows" properties,
3163 and gtk_calendar_set_detail_func function.
3165 2007-12-27 Xan Lopez <xan@gnome.org>
3168 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
3170 Add gtk_border_new to avoid memory allocator confusions when using
3171 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
3173 2007-12-27 Christian Persch <chpe@gnome.org>
3175 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
3176 bug #504886 not to read unitialised memory.
3178 2007-12-26 Xan Lopez <xan@gnome.org>
3180 * gtk/gtkstatusbar.c (has_extra_children): take into account the
3181 modification of the internal frame contents to decide if we have
3182 extra children. (#415677)
3184 2007-12-22 Christian Persch <chpe@gnome.org>
3186 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
3188 2007-12-25 Christian Persch <chpe@gnome.org>
3190 * modules/other/gail/gailwindow.c: (gail_window_initialize):
3191 Initialise |widget|. Fixes a buglet introduced by the commit from bug
3194 2007-12-25 Christian Persch <chpe@gnome.org>
3196 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
3198 2007-12-25 Christian Persch <chpe@gnome.org>
3200 * modules/other/gail/*.[ch]: Remove relocations from the atk
3201 factories. Remove unused gail_foo_new() functions. Fix object
3202 instantiation to be derivation safe by moving initialisation code
3203 from the removed gail_foo_new() functions to the
3204 AtkObjectClass::initialize implementation. Bug #505226.
3206 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3208 * modules/other/gail/gailentry.c:
3209 * modules/other/gail/gailimage.c:
3210 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
3211 uses of clipboards and settings. (#504722, Christian Persch)
3213 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3215 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
3218 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3220 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
3221 use the time and button information from the event. (#504901,
3224 2007-12-23 Cody Russell <bratsche@gnome.org>
3226 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
3227 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
3228 Fixes a regression caused by #164537 patch where transient
3229 windows that are hidden get shown (incorrectly) when their
3230 parents are minimized. (#504984)
3232 2007-12-22 Christian Persch <chpe@gnome.org>
3234 * modules/other/gail/gailcell.c:
3235 * modules/other/gail/gailcontainercell.c:
3236 * modules/other/gail/gailexpander.c:
3237 * modules/other/gail/gailtextcell.c:
3238 * modules/other/gail/gailtextview.c:
3239 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
3241 2007-12-22 Christian Persch <chpe@gnome.org>
3243 * modules/other/gail/*.c: Include config.h. Bug #504720.
3245 2007-12-22 Christian Persch <chpe@gnome.org>
3247 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
3248 handwritten get_type functions. Bug #504661.
3250 2007-12-23 Xan Lopez <xan@gnome.org>
3252 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
3253 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
3255 Patch by Sadrul Habib Chowdhury (#504804)
3257 2007-12-22 Christian Persch <chpe@gnome.org>
3259 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
3260 #504645, patch by Li Yuan.
3262 2007-12-22 Christian Persch <chpe@gnome.org>
3264 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
3266 2007-12-22 Christian Persch <chpe@gnome.org>
3268 * modules/other/gail/gail.c:
3269 * modules/other/gail/gailbutton.c:
3270 * modules/other/gail/gailcell.c:
3271 * modules/other/gail/gailcombo.c:
3272 * modules/other/gail/gailcombo.h:
3273 * modules/other/gail/gailcombobox.c:
3274 * modules/other/gail/gailentry.c:
3275 * modules/other/gail/gailexpander.c:
3276 * modules/other/gail/gailmenuitem.c:
3277 * modules/other/gail/gailnotebook.c:
3278 * modules/other/gail/gailnotebookpage.c:
3279 * modules/other/gail/gailnotebookpage.h:
3280 * modules/other/gail/gailoptionmenu.c:
3281 * modules/other/gail/gailrange.c:
3282 * modules/other/gail/gailtextview.c:
3283 * modules/other/gail/gailtreeview.c:
3284 * modules/other/gail/gailtreeview.h:
3285 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
3288 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3290 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
3293 2007-12-21 Richard Hult <richard@imendio.com>
3295 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
3296 Plug leak of destroyed subviews, fixes bug #504753.
3298 2007-12-20 Johan Dahlin <johan@gnome.org>
3300 * tests/Makefile.am (TEST_PROGS):
3301 * tests/defaultvaluetest.c: Add a test for default values,
3302 based on program by Christan Perch
3304 2007-12-20 Johan Dahlin <johan@gnome.org>
3306 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
3307 Refactor to avoid some duplication.
3308 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
3309 Fixes #504749, Yuri Pimenov
3311 2007-12-20 Kristian Rietveld <kris@imendio.com>
3313 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
3314 the build work again on systems without xrandr 1.2.
3316 2007-12-20 Christian Persch <chpe@gnome.org>
3319 * modules/other/gail/libgail-util/Makefile.am:
3320 Keep the same libtool version as the standalone libgail-util had.
3323 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
3325 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
3327 2007-12-20 Alexander Larsson <alexl@redhat.com>
3329 * gdk/x11/gdkapplaunchcontext-x11.c:
3330 Update for gio API changes
3332 2007-12-20 Richard Hult <richard@imendio.com>
3334 * gdk/quartz/GdkQuartzWindow.c:
3335 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
3336 processing events after changing the size.
3338 2007-12-20 Richard Hult <richard@imendio.com>
3340 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
3341 Add stub for quartz to fix build.
3343 2007-12-20 Christian Persch <chpe@gnome.org>
3345 * modules/other/gail/Makefile.am:
3346 * modules/other/gail/gailimage.c: (gail_image_class_init),
3347 (gail_image_init), (elide_underscores), (gail_image_get_name),
3348 (atk_image_interface_init), (gail_image_finalize):
3349 * modules/other/gail/gailimage.h:
3350 R modules/other/gail/gailintl.h:
3351 * po/POTFILES.skip: Use the stock item's label as the name of the
3352 accessible in gailimage.c. Bug #504246.
3354 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
3356 Avoid some compiler warnings and remove obsolete code. (#339540)
3358 * gtk/gtkcalendar.c: Change week and year variable in
3359 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
3360 0" block from calendar_paint_day: The feature in question is handled
3361 few lines above. Cast data returned by gtk_selection_data_get_text()
3362 to (gchar*) in gtk_calendar_drag_data_received.
3364 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
3366 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
3368 2007-12-19 Johan Dahlin <johan@gnome.org>
3370 * tests/buildertest.c (test_object_properties):
3371 Add another call to gtk_builder_add_string after using
3372 delayed properties, as reported in #504393 but already
3375 2007-12-18 Christian Persch <chpe@gnome.org>
3378 * docs/reference/Makefile.am:
3379 * docs/reference/libgail-util/*:
3380 * gail-uninstalled.pc.in:
3382 * modules/Makefile.am:
3383 * modules/other/Makefile.am:
3384 * modules/other/gail/*:
3385 * modules/other/gail/libgail-util/*:
3386 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
3388 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3390 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
3391 * gdk/win32/gdkproperty-win32.c:
3392 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
3394 * gtk/gtkimmodule.[hc]:
3395 * gtk/gtkimmulticontext.[hc]: When determining the default context,
3396 look at the gtk-im-module setting, and listen for changes to the
3397 setting. (#502446, Akira Tagoh)
3399 2007-12-17 Kristian Rietveld <kris@imendio.com>
3401 * gtk/gtktooltip.c (gtk_tooltip_finalize),
3402 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
3403 to NULL as soon as it's destroyed. (#496546, patch from
3406 2007-12-17 Kristian Rietveld <kris@imendio.com>
3408 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
3409 always determine what arrow to show if show_sort_indicator is true.
3410 (#352738, Chris Vine).
3412 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
3414 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
3417 * gtk/gtkpaned.c: Call gtk_container_forall instead of
3418 gtk_container_foreach in get_child_panes.
3420 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
3422 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
3424 Plug leak: When reordering the info in the list the old node is
3425 removed but not freed. (#503569)
3427 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
3429 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
3430 Use u32 instead of __u32 and u8 instead of __u8 as the other types
3431 are deprecated since DirectFB 1.0.0. If compiling with an older
3432 version define the new type name to the old types. Fixes bug #503190.
3434 2007-12-14 Ray Strode <rstrode@redhat.com>
3436 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
3437 instead of g_signal_connect_after (..., "realize", ...) as an
3438 alternative to gtk_widget_realize () (bug 503537).
3440 2007-12-14 Michael Natterer <mitch@imendio.com>
3442 * gdk/gdkinternals.h
3443 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
3446 * gdk/gdkapplaunchcontext.c
3447 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
3448 header already includes everything now.
3450 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3452 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
3453 next stable release shall be 2.16, not 2.14 - even if disagree.
3455 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
3457 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3459 Change GtkToolItem to retrieve its properties from GtkToolShell
3460 interface, instead of relying on being child of a GtkToolbar.
3463 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
3464 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
3465 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
3466 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
3467 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
3468 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
3469 Take section docs from template file and update them for GtkToolShell.
3470 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
3471 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
3473 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3475 Extract loading of GtkPageSetup and GtkPrintSettings from their
3476 *_new_*() functions and move that code into separate
3477 *_load_*() functions (#475565).
3479 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
3480 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
3481 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
3482 Change the matching *_new_*() functions to use those functions.
3484 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3487 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
3489 2007-12-14 Kristian Rietveld <kris@imendio.com>
3491 * gtk/tests/liststore.c:
3492 * gtk/tests/treestore.c: added tests for insertion functions.
3494 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
3496 * Add RandR 1.2 support
3498 - New monitors_changed signal - New API to get width/height of
3499 monitors, and the name of the plug
3501 2007-12-13 Kristian Rietveld <kris@imendio.com>
3503 * gtk/tests/liststore.c:
3504 * gtk/tests/treestore.c: test the move and swap functions on a
3505 store with only one node.
3507 2007-12-13 Kristian Rietveld <kris@imendio.com>
3509 * gtk/gtktestutils.c (gtk_test_init): add a call to
3512 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
3515 2007-12-13 Kristian Rietveld <kris@imendio.com>
3517 * gtk/tests/liststore.c:
3518 * gtk/tests/treestore.c: start composing tests for the list and tree
3521 * gtk/tests/treeview-scrolling.c: added automated tests for
3522 GtkTreeView's scrolling "subsystem".
3524 * gtk/tests/Makefile.am: updated; added new test programs.
3526 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
3528 Make the code compile again after the GdkAppLaunchContext changes.
3530 * configure.in: Add gio-2.0 to GDK_PACKAGES.
3531 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
3533 2007-12-12 Matthias Clasen <mclasen@redhat.com>
3535 * gdk/gdkapplaunchcontext.c: Add docs
3537 2007-12-12 Matthias Clasen <mclasen@redhat.com>
3539 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
3540 in gdk, providing startup notification. (#503203)
3542 * gdk/x11/gdkapplaunchcontext-x11.c:
3543 * gdk/win32/gdkapplaunchcontext-win32.c:
3544 * gdk/quartz/gdkapplaunchcontext-quartz.c:
3545 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
3546 parts. All but X11 are just empty stubs for now.
3549 * gdk/gdkinternals.h:
3551 * gdk/x11/Makefile.am:
3552 * gdk/win32/Makefile.am:
3553 * gdk/quartz/Makefile.am:
3554 * gdk/directfb/Makefile.am: Necessary glue.
3556 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
3558 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
3560 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3562 * gdk/directfb/gdktestutils-directfb.c:
3563 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
3564 which adds testing functions to the DirectFB backend.
3566 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3568 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
3569 Ciccani which fixes the mixing of gdk and cairo rendering.
3571 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
3573 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
3574 on "drag-motion" handlers. Clearify documentation for
3577 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
3579 * buildertest.c: made unnecessarily exported symbols static.
3580 switched g_return_if_fail() statements in tests to assertions.
3581 special cased currently failing Widget/accesibility test to
3582 run only for g_test_thorough(), so it doesn't break make check.
3583 some coding style fixes.
3585 * Makefile.am: added buildertest to TEST_PROGS.
3587 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3589 * docs/tutorial/gtk-tut.sgml:
3590 Use gtk_widget_get_parent_window() instead of widget->parent->window.
3592 2007-12-10 Richard Hult <richard@imendio.com>
3594 * gdk/quartz/Makefile.am:
3595 * gdk/quartz/gdkquartz.h:
3596 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
3597 header (bug #405915). Also add a getter for the toplevel nswindow.
3599 2007-12-10 Richard Hult <richard@imendio.com>
3601 * gdk/quartz/gdkdrawable-quartz.c:
3602 (gdk_quartz_drawable_get_context),
3603 (gdk_quartz_drawable_release_context):
3604 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
3605 (gdk_event_check), (gdk_event_dispatch), (poll_func):
3606 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
3607 used for each drawing context and in prepare, dispatch and poll
3608 with one that exists across each main loop iteration. Fixes leaks
3609 on leopard and protects against future leaks introduce when the
3610 underlying system changes again (bug #492977).
3612 2007-12-10 Richard Hult <richard@imendio.com>
3614 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
3615 Fix the check for no changes to position and size.
3617 2007-12-10 Richard Hult <richard@imendio.com>
3619 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
3620 sized areas at (0, 0), patch from Paul Davis.
3622 2007-12-10 Richard Hult <richard@imendio.com>
3624 * gdk/quartz/gdkprivate-quartz.h:
3625 * gdk/quartz/gdkeventloop-quartz.c:
3626 (_gdk_quartz_event_loop_get_pending),
3627 (_gdk_quartz_event_loop_check_pending),
3628 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
3629 (gdk_event_check), (gdk_event_dispatch):
3630 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
3631 (_gdk_events_queue): Fix a bug where we could end up trying to
3632 handle the same event more than once. Based on patch from Paul
3635 2007-12-10 Tor Lillqvist <tml@novell.com>
3637 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
3640 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3642 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
3643 to avoid further fallout from the fix for bug 388321.
3645 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3647 * gdk/directfb/gdkgc-directfb.c:
3648 * gdk/directfb/gdkdrawable-directfb.c:
3649 * gdk/directfb/gdkdirectfb.h:
3650 * gdk/directfb/gdkwindow-directfb.c:
3651 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
3652 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
3653 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
3654 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
3655 which are expected to improve the performance of the DirectFB backend.
3656 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
3658 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3660 * gtk/gtkcontainer.c: Correct the documentation of child
3661 property getter arguments. (#501992, David Brigada)
3663 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3665 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
3666 leak pixbufs. (#502250, Yevgen Muntyan)
3668 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
3670 * gtk/gtkprintunixdialog.c:
3671 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
3672 Print and Page Setup dialogs (#502202).
3674 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
3676 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
3677 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
3678 of XVFB_START, since it's the GTESTER invokation that needs this.
3680 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
3682 * gdk-pixbuf/gdk-pixbuf.symbols:
3684 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
3685 positives in abicheck.sh
3687 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3689 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
3690 GDK events generations in the DirectFB backend.
3692 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
3694 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
3695 set of likely unused display ids, because MacOS has no seq(1) command.
3697 2007-12-06 Richard Hult <richard@imendio.com>
3699 * gdk/quartz/gdkevents-quartz.c:
3700 (synthesize_crossing_events_for_ns_event): Fix warning when
3701 switching spaces in leopard.
3703 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
3705 * tests/floatingtest.c: ported to new testing framework.
3707 * tests/Makefile.am: run floatingtest as testing framework test.
3709 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
3711 * tests/autotestfilechooser.c: majorly speed up execution by reducing
3712 timeouts and converting main loop sleeps to pending/iterate loops with
3713 very low priority async handlers. eliminate output for non-verbose
3714 tests. assert successfull subtests in all test functions. use testing
3715 framework in main().
3717 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
3718 executed inside Xvfb upon make check.
3720 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
3722 * tests/objecttests.c: use string comparisons for string property
3723 values and get rid of referencing symbols in array initialization.
3725 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
3727 * gtk+/Makefile.decl: run tests in current dir after setting up the
3728 logging directory, so their results get properly merged into the
3731 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
3732 tests to loop over registered Gdk/Gtk+ types.
3734 * gtk+/tests/objecttests.c: new test program, implements automated
3735 property tests. several properties are blacklisted because they
3736 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
3737 can be used to test blacklisted properties and see which proprty failed.
3739 2007-12-04 Richard Hult <richard@imendio.com>
3741 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
3742 Fully initialize the root window, fixes bug #501583.
3744 2007-12-04 Matthias Clasen <mclasen@redhat.com>
3746 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
3749 2007-12-03 Richard Hult <richard@imendio.com>
3751 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
3752 Don't crash when dragging from a source that doesn't support uri
3753 lists (bug #499868, Paul Davis).
3755 2007-12-03 Richard Hult <richard@imendio.com>
3757 * gdk/quartz/gdkwindow-quartz.c:
3758 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
3759 parent relative bg pixmap is set, and no parent has a bg
3760 pixmap. Fixes bug #500804.
3762 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3764 Two optimizations for icon cache lookups.
3766 * gtk/gtkiconcache.[hc]:
3767 * gtk/gtkicontheme.c: Remember the directory index for
3768 subdirectories, instead of running over the directory list
3771 * gtk/gtkiconcache.c (find_image_offset): Remember the last
3772 chain and try it first; this helps with the the usage patterns
3773 in gtkicontheme.c, where the same icon is queried for a lot
3776 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
3778 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
3779 functions from header files. this should be portable across linux and
3780 Mac OS, unlike the previpous sed expression.
3782 2007-12-1 Cody Russell <bratsche@gnome.org>
3784 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
3785 On Windows, queue a redraw of child2 whenever we set
3786 the pane handle position. This is unfortunately kind
3787 of hacky, but solves the visual artifacts that were
3788 occuring on at least certain types of child widgets
3789 (e.g., text views and tree views) that are inside
3790 horizontal or vertical panes. (#144269)
3792 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3794 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
3796 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3798 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
3801 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3803 * gtk/Makefile.am: Fix ordering of subdirs.
3805 2007-11-28 Tor Lillqvist <tml@novell.com>
3807 A proper build of GNU libintl is supposed to export the variable
3808 _nl_msg_cat_cntr. configure looks for that variable in order to
3809 recognize GNU gettext. If it sees that it is indeed GNU gettext
3810 that is used, it decides to install message catalogs in
3811 share/locale, otherwise in lib/locale. Until now on Windows I have
3812 built GTK+ against a build of GNU gettext that did not export
3813 _nl_msg_cat_cntr. But this will change, so we can't assume message
3814 catalogs are always in lib/locale.
3816 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
3817 GTK_LOCALEDIR being either in "lib" or "share". Move the function
3818 before the inclusion of gtkprivate.h so that it sees the original
3821 * gtk-zip.sh.in: Check whether the message catalogs are in
3822 share/locale or lib/locale.
3824 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
3825 that the code in _gtk_get_localedir() will find the slashes.
3827 2007-11-28 Tor Lillqvist <tml@novell.com>
3829 * gtk/Makefile.am: Improve portability. The -o option is present
3830 only in newish GNU egreps. Use one more sed in the pipeline
3833 2007-11-28 Tor Lillqvist <tml@novell.com>
3835 Fix #375893, patch by Ben Hague:
3837 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
3838 around GetLogicalDrives() that takes also the viewable drive
3839 restrictions in the Registry (which are usually the result of an
3840 Active Directory Group Policy) into account.
3842 (check_volumes, gtk_file_system_win32_list_volumes) Call
3843 get_viewable_logical_drives() instead of GetLogicalDrives().
3845 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3847 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
3848 variables to silence valgrind. (#495124, Morten Welinder)
3850 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3852 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
3853 that the construct_child function is responsible for returning a
3855 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
3856 objects from constructors
3857 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
3858 g_object_ref() to this construction function (it's the only
3863 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3865 * gtkbuilder.c: remove concept of root objects and just refcount
3866 all objects in the builder. Fixes #496651.
3868 2007-11-26 Ryan Lortie <desrt@desrt.ca>
3870 * tests/buildertest.c (test_window): fix invalid free
3872 2007-11-26 Josselin Mouette <joss@malsain.org>
3874 reviewed by: Federico Mena Quintero
3876 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
3877 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
3878 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
3879 Make the shortcuts activate with a single click. (#148828)
3880 Fix a few things affected by the change:
3881 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
3882 where no shortcut is selected.
3883 - Don't activate a shortcut in the response callback.
3884 - Filter out duplicate entries in volumes and bookmarks to
3885 avoid the selection to change when reordering them with DnD.
3887 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3890 * gtk/gtknotebook.c:
3891 * gtk/gtkplugprivate.h:
3893 * gtk/gtksocketprivate.h:
3894 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
3896 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3898 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
3899 (#495574, Richard Hult)
3901 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3903 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
3904 String change ! (#376361, Sven Neumann)
3906 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3908 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
3910 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
3913 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3915 * gtk/gtkassistant.c: Improve alternative button
3916 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
3918 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3920 * gtk/gtkcalendar.c: Fix a theming problem with colors
3921 in GtkCalendar. (#499703, Michael Hofmann)
3923 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3925 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
3927 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3929 Use templates for glib-mkenums calls instead of
3930 complicated commandlines in Makefiles. (#429910)
3932 * gdk-pixbuf/Makefile.am:
3935 * perf/Makefile.am: Use templates for glib-mkenums
3937 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
3938 * gdk/gdkenumtypes.[ch].template:
3939 * gtk/gtktypebuiltings.[ch].template:
3940 * perf/typebuiltins.[ch].template: The templates
3942 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3944 * gtk/gtkfilechooserbutton.c:
3945 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
3946 some compilers choke on that. (#467722)
3948 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3950 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
3951 about hook setup. (#425004, Emmanuele Bassi)
3953 2007-11-26 Tor Lillqvist <tml@novell.com>
3955 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
3956 monitor the window currently is on, not always the primary
3957 monitor. (#463865, Tim Evans)
3959 2007-11-26 Tor Lillqvist <tml@novell.com>
3961 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
3963 * gdk/win32/Makefile.am: Add it.
3965 2007-11-26 Tor Lillqvist <tml@novell.com>
3967 * configure.in: Don't add jasper to all_loaders if no libjasper.
3969 2007-11-25 Bastien Nocera <hadess@hadess.net>
3971 * configure.in: Add detection for libjasper, used by the
3972 gdk-pixbuf JPEG2000 loader
3974 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3976 * configure.in: Require gtk-doc 1.8
3978 * */*.c: Use gtk-doc abbreviations for examples in docs.
3980 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3982 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
3985 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3987 * gtk/gtkdialog.c: Move signal and property documentation inline,
3988 fix a problem with the ::response signal docs. (#499133, Josselin
3991 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
3993 * Makefile.decl: initialize automake variables EXTRA_DIST and
3994 TEST_PROGS for unconditional appending via += in other makefiles.
3995 define recursive test targets: test, test-report, perf-report,
3996 full-report, as described here:
3997 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
3998 the test targets will execute Gtk+ test programs within an Xvfb session.
4000 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
4002 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
4003 g_test_run() to run the tests to integrate with the testing framework.
4005 * gtk/tests/Makefile.am: removed exemplary testing rules.
4007 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
4008 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
4009 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
4010 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
4011 * docs/reference/Makefile.am, docs/tools/Makefile.am:
4012 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
4013 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
4014 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
4015 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
4016 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
4017 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
4018 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
4019 * modules/engines/ms-windows/Theme/Makefile.am:
4020 * modules/engines/ms-windows/Makefile.am:
4021 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
4022 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
4023 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
4024 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
4025 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
4026 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
4027 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
4029 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4031 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
4032 (#485662, patch by Herbert Valerio Riedel)
4034 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4036 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
4038 2007-11-21 Richard Hult <richard@imendio.com>
4040 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
4041 stubs for the testing functions to fix the build.
4043 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4045 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
4046 (#467711, The Written Word)
4048 2007-11-21 Ross Burton <ross@openedhand.com>
4050 * gdk/x11/gdksettings.c:
4051 Add xsetting for gtk-scrolled-window-placement (#458103).
4053 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4055 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
4056 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
4057 (#469239, Michael Natterer)
4059 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4061 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
4062 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
4063 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
4064 (#436536, Tommi Komulainen)
4066 2007-11-21 Matthias Clasen <mclasen@redhat.com>
4068 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
4069 property. (#489782, Jan Janech)
4071 2007-11-20 Matthias Clasen <mclasen@redhat.com>
4073 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
4074 frames. (#107398, Owen Taylor, Miguel Gomez)
4076 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
4078 Moved Gdk test functions from Gtk+ to Gdk test utils.
4080 * gdk/Makefile.am: added gdktestutils.h to public includes.
4082 * gdk/gdk.h: added gdktestutils.h to public includes.
4084 * gdk/gdk.symbols: added gdk_test_simulate_button,
4085 gdk_test_simulate_key, gdk_test_render_sync.
4087 * gdk/gdktestutils.h: new file, added prototypes for
4088 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
4090 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
4092 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
4093 gdk_test_simulate_key, gdk_test_render_sync.
4095 * gtk/gtktestutils.c:
4096 * gtk/gtktestutils.h:
4097 * gtk/gtk.symbols: removed gtk_test_simulate_button
4098 gtk_test_simulate_key, gtk_test_xserver_render_sync.
4100 * gtk/tests/testing.c: call gdk_test_render_sync.
4102 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
4104 Added unit tests for Gtk+ testing utilities.
4106 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
4107 utility functions. some g_test_* related portions are disabled and need
4108 to be enabled once Gtk+ depends on a new glib with the GLib testing
4109 framework integrated.
4111 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
4112 tests. added exemplary test rules to run tests inside Xvfb. this
4113 needs to depend on gtester for full fledged testing.
4115 * gtk/Makefile.am: build gtk+/gtk/tests, define
4116 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
4117 e.g. gtk_text_get_type().
4119 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
4121 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
4123 Added Gtk+ testing utilities.
4125 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
4126 functions. for the most part, the functions herein involve
4127 navigating and interacting with dialog elements programatically,
4128 to automate user interaction tests of dialogs and widgets.
4130 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
4132 * gtk/gtk.symbols: added gtk_test_* symbols.
4134 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
4135 the build. generate gtktypefuncs.c which contains a list of all
4136 _get_type functions in Gtk+ and Gdk.
4138 2007-11-20 Bastien Nocera <hadess@hadess.net>
4140 * configure.in: add support for conditional icns gdk-pixbuf loader
4143 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
4145 * configure.in: updated version number to 2.15.0 for development.
4147 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
4149 === Branch for 2.12 ===