1 2008-07-06 Matthias Clasen <mclasen@redhat.com>
3 Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
5 * gtk/gtksettings.c: Improve the documentation of the
6 gtk-icon-sizes setting. Proposed by Tommi Komulainen.
8 2008-07-06 Matthias Clasen <mclasen@redhat.com>
10 Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
13 * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
14 Check that the cursor is over a valid date before retrieving
15 its details. Patch by Chris Wilson
17 2008-07-06 Matthias Clasen <mclasen@redhat.com>
19 Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
21 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
22 64-bit brokenness. Reported by Christian Hammond.
24 2008-07-06 Matthias Clasen <mclasen@redhat.com>
26 Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
29 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
30 Be more robust. Reported by Jelte van der Hoek
32 2008-07-06 Matthias Clasen <mclasen@redhat.com>
34 Bug 540917 – deprecate pack_start_defaults()
37 * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
38 Proposed by Owen Taylor
40 2008-07-05 Matthias Clasen <mclasen@redhat.com>
42 * configure.in: Bump version
44 2008-07-05 Matthias Clasen <mclasen@redhat.com>
46 * === Released 2.13.4 ===
48 2008-07-05 Michael Natterer <mitch@imendio.com>
50 * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
51 deprecated section because it isn't deprecated.
53 2008-07-05 Michael Natterer <mitch@imendio.com>
55 * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
56 other include weirdness in this file.
58 2008-07-05 Matthias Clasen <mclasen@redhat.com>
62 2008-07-04 Matthias Clasen <mclasen@redhat.com>
66 * gtk/gtkscalebutton.c: Small doc fixes.
68 2008-07-04 Matthias Clasen <mclasen@redhat.com>
71 * gdk/x11/gdktestutils-x11.c: Small doc fixes
73 2008-07-04 Matthias Clasen <mclasen@redhat.com>
75 * gtk/tests/defaultvalue.c: Omit some more untestable properties.
77 * gtk/gtkmenu.c: Fix the initial value of the monitor property.
79 * gtk/gtkentry.c: Fix the property getter for text-length property.
81 * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
83 2008-07-04 Matthias Clasen <mclasen@redhat.com>
85 * gtk/gtkmenu.c: Debork the attach-widget property.
87 2008-07-04 Michael Natterer <mitch@imendio.com>
91 * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
101 * gtk/gtkoldeditable.c
106 * gtk/gtktreeitem.c: don't #define it again before including
107 gtkalias.h after it has been #undef'ed before.
109 2008-07-04 Michael Natterer <mitch@imendio.com>
111 * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
112 to FALSE instead of 0.
114 2008-07-04 Michael Natterer <mitch@imendio.com>
116 Allocate with GSlice:
118 * gtk/gtkassistant.c: GtkAssistantPage
119 * gtk/gtkcellview.c: GtkCellViewCellInfo
120 * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
121 * gtk/gtkfilefilter.c: FilterRule
122 * gtk/gtknotebook.c: GtkNotebookPage
124 2008-07-04 Michael Natterer <mitch@imendio.com>
126 * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
128 2008-07-04 Michael Natterer <mitch@imendio.com>
130 * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
131 variable to GtkWidget fo fix two warnings.
133 2008-07-04 Michael Natterer <mitch@imendio.com>
135 Bug 539944 – Add GtkScaleButton API so struct fields can be marked
139 * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
140 and _get_minus_button(). Patch by Christian Dywan.
142 2008-07-04 Matthias Clasen <mclasen@redhat.com>
144 * gtk/gtkscalebutton.c:
146 * gdk/gdkwindowimpl.c: Fix make check.
148 2008-07-03 Matthias Clasen <mclasen@redhat.com>
150 Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
151 constructed using GtkUIManager
153 * gtk/gtkmenuitem.c: Fall back to the default positioning when
154 the menuitem is not realized. Patch by Björn Lindqvist.
156 2008-07-03 Matthias Clasen <mclasen@redhat.com>
158 Bug 540612 – mem leak in filechooser
160 * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
161 Patch by Christian Persch.
163 2008-07-04 Tor Lillqvist <tml@novell.com>
165 Bug 540861 - invalid UTF-8 in input device name
167 * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
168 Unicode, and convert to UTF-8 for the GdkDevice's name field.
170 2008-07-03 Matthias Clasen <mclasen@redhat.com>
172 Bug 538863 – Fixes assertion on entering empty folder
174 * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
175 select the first row if the folder is empty.
176 Patch by Olle Bergkvist.
178 2008-07-03 Matthias Clasen <mclasen@redhat.com>
180 Bug 540915 – GtkBuilder sets properties in reverse order
182 * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order
183 in which they are specified in the xml file.
185 2008-07-03 Matthias Clasen <mclasen@redhat.com>
187 Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
191 * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
192 accessor for the popup. Patch by Christian Dywan
194 2008-07-03 Matthias Clasen <mclasen@redhat.com>
196 Bug 535498 – Printing demo broken
198 * demos/gtk-demo/printing.c: Use monospace as font name,
199 not mono. Also use the right advance when moving from line to line.
200 Patch by Yevgen Muntyan.
202 2008-07-03 Matthias Clasen <mclasen@redhat.com>
204 Bug 538547 – Update doc-shooter in gtk documentation
206 * docs/tools/Makefile.am:
207 * docs/tools/folder.png:
208 * docs/tools/gnome.png: New images
210 * docs/tools/widgets.c: Use the new images.
211 Patch by Baptiste Mille-Mathias.
213 2008-07-03 Michael Natterer <mitch@imendio.com>
215 * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
216 names of binding signal implementations.
218 2008-07-03 Li Yuan <li.yuan@sun.com>
220 * gail-uninstalled.pc.in:
221 Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
223 2008-07-03 Cody Russell <bratsche@gnome.org>
225 Bug 540529 – Remove all GIMP references
229 * gtk+-unix-print-2.0.pc.in:
230 * gtk+-2.0-uninstalled.pc.in:
231 * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
232 GTK+ Graphical UI Library in the pkg-config files.
234 2008-07-02 Cody Russell <bratsche@gnome.org>
236 Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
238 * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
241 * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
242 * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
245 2008-07-02 Cody Russell <bratsche@gnome.org>
247 Bug 541249 – [Win32] Fix some internal static methods
249 * gdk/gdkwindow-win32.c: Make the interface implementation methods
252 2008-07-02 Michael Natterer <mitch@imendio.com>
254 Bug 537591 – Don't hardcode minimum width of menuitems
256 * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
257 introduces a "width-chars" style property which replaces the
258 hardcoded minimum width of menuitems with submenu. Patch
259 extracted from Maemo-GTK+.
261 2008-07-02 Michael Natterer <mitch@imendio.com>
263 * gtk/gtkfilechooserdefault.c: remove some of the million includes.
265 2008-07-02 Kristian Rietveld <kris@imendio.com>
267 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
268 Since s/2.16/2.14/ for the new gicon property.
270 2008-07-02 Kristian Rietveld <kris@imendio.com>
272 Bug 455268 - Add gtk-enable-tooltips GtkSetting
275 * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
277 * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
279 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
280 introduced XSetting into account.
282 * demos/gtk-demo/appwindow.c: don't use the now deprecated
283 gtk_toolbar_set_tooltips().
285 2008-07-02 Cody Russell <bratsche@gnome.org>
287 Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
289 * gdk/win32/gdkprivate-win32.h:
290 * gdk/win32/gdkgeometry-win32.c:
291 * gdk/win32/gdkevents-win32.c:
292 * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
293 the newly refactored GdkWindow code.
295 2008-07-01 Cody Russell <bratsche@gnome.org>
297 Bug 539164 – Windows' System Menu blocks main loop
299 * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
300 receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
301 GLib mainloop from there.
303 2008-07-01 Richard Hult <richard@imendio.com>
305 Some aftermath from the window impl cleanups:
307 * gdk/quartz/gdkwindow-quartz.c:
308 (gdk_window_merge_child_input_shapes): Rename and export again.
309 (gdk_window_quartz_get_offsets): Make static.
311 2008-07-01 Michael Natterer <mitch@imendio.com>
313 * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
315 2008-07-01 Matthias Clasen <mclasen@redhat.com>
317 539790 – [PATCH] Please add three new settings to GtkSettings
319 * gdk/x11/gdksettings.c:
320 * gtk/gtksettings.c: Add event sound settings.
321 Patch by Lennart Poettering.
323 2008-07-01 Matthias Clasen <mclasen@redhat.com>
325 Bug 434535 – printoperation's create_surface doesn't check temp file
328 Patch by Marek Kasik:
330 * gtk/gtkprintoperation-unix.c
331 (_gtk_print_operation_platform_backend_create_preview_surface):
332 Handle failure to create temp file by returning NULL.
334 * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
335 Return FALSE if surface creation fails.
337 (print_pages): If the preiew signal is not handled, show an
340 2008-07-01 Michael Natterer <mitch@imendio.com>
342 Bug 442042 – GtkScaleButton is too limited
344 * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
345 property that can be changed at any time after widget
346 creation. Add public API for it.
348 * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
350 2008-06-30 Michael Natterer <mitch@imendio.com>
352 Some unrelated cleanups found while reviewing
353 the offscreen window patch:
355 * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
356 functions, fix some function header indentation, update
357 documentation of redirect_to_drawable().
359 * gdk/x11/gdkwindow-x11.c
360 * gdk/x11/gdkpixmap-x11.c: fix function header
361 formatting/indentation.
363 * gtk/gtkwidget.c: use I_() on "damage_event".
365 2008-06-30 Michael Natterer <mitch@imendio.com>
367 * gdk/gdkinternals.h: remove duplicate declaration of
370 2008-06-30 Michael Natterer <mitch@imendio.com>
372 * gdk/Makefile.am: reorder source lists alphabetically.
374 2008-06-30 Matthias Clasen <mclasen@redhat.com>
376 Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
378 * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
381 2008-06-29 Behdad Esfahbod <behdad@gnome.org>
383 Bug 530255 – GtkAboutDialog cuts off comments label
384 Followup patch from Jan Arne Petersen
386 * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
388 2008-06-28 Michael Natterer <mitch@imendio.com>
390 * gtk/gtkselection.h: properly indent the newly added
391 GtkSelectionData accessors. Some newlines can't hurt either.
393 2008-06-27 Mikael Hallendal <micke@imendio.com>
395 * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
397 2008-06-27 Mikael Hallendal <micke@imendio.com>
399 * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
400 Factored out gtk_box_pack from gtk_box_pack_start and use it from both
401 pack_start and pack_end in order to reduce the code duplication.
403 2008-06-27 Michael Natterer <mitch@imendio.com>
405 Bug 442042 – GtkScaleButton is too limited
407 * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
408 "gtk-scalebutton-popup-window" on the popup window so it is
411 2008-06-27 Kristian Rietveld <kris@imendio.com>
413 * gdk/quartz/gdkgeometry-quartz.c:
414 * gdk/quartz/gdkwindow-quartz.c:
415 * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
418 2008-06-27 Carlos Garnacho <carlos@imendio.com>
420 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
421 critical warnings. Bug #539470.
423 2008-06-27 Emmanuele Bassi <ebassi@gnome.org>
425 Abstract some GdkWindow API into an interface that the backends
426 must implement. (based on a patch by Alex Larsson)
428 * gdk/Makefile.am: Add gdkwindowimpl.[ch]
430 * gdk/gdk.symbols: Move symbols around.
432 * gdk/gdkinternals.h:
433 * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
434 from the backends to a GInterface that the backends should implement
437 * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
438 wrapper call around the GdkWindowImpl interface vtable.
440 * gdk/x11/gdkevents-x11.c:
441 * gdk/x11/gdkgeometry-x11.c:
442 * gdk/x11/gdkprivate-x11.h:
443 * gdk/x11/gdkwindow-x11.c:
444 * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
445 the GdkWindowImpl interface.
447 2008-06-27 Martyn Russell <martyn@imendio.com>
449 Bug 540318 - Invalid URL
451 * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
452 in the warning produced here.
454 2008-06-27 Michael Natterer <mitch@imendio.com>
456 Bug 442042 – GtkScaleButton is too limited
458 * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
459 stuff that is part of the public API continues to be created in
460 init() to stay compatible. Move creating of the popup scale to
461 constructor(). Add an internal HScale class. Changed popup
462 positioning for horizontal scales accordingly.
464 2008-06-26 Michael Natterer <mitch@imendio.com>
466 * gtk/gtkscalebutton.c
467 * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
468 prototypes, remove redundant includes, remove a little trailing
471 2008-06-26 Richard Hult <richard@imendio.com>
473 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
475 (_gtk_quartz_get_selection_data_from_pasteboard),
476 (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
477 Christian Dywan to clean up selection data setting.
479 2008-06-26 Richard Hult <richard@imendio.com>
481 * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
482 deprecated function gtk_widget_ref, replace with g_object_ref.
484 2008-06-26 Michael Natterer <mitch@imendio.com>
486 * gtk/gtkfilesystem.c: #include "config.h"
488 2008-06-26 Carlos Garnacho <carlos@imendio.com>
490 * gtk/gtkfilechooserdefault.c
491 (gtk_file_chooser_default_get_current_folder): current_folder can be
492 NULL here, do not try to reference it (Bug #540235)
493 (gtk_file_chooser_default_get_files): Deal better with
494 gtk_file_chooser_default_get_current_folder() being able to return
497 2008-06-26 Michael Natterer <mitch@imendio.com>
499 * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
500 allocate the GtkTextUtilCallbackInfo structs with GSlice.
502 2008-06-25 Michael Natterer <mitch@imendio.com>
504 * gtk/gtktypeutils.h: there is no reason to include
505 <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
506 replacing the <glib-object.h> include. Also move the remaining few
507 non-deprecated things to the top and move some deprecated things
508 around to clean up the mess with too many deprecated sections even
511 2008-06-24 Michael Natterer <mitch@imendio.com>
513 * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
514 (also for GTK_COMPILATION). Move some deprecated typedefs around
515 to reduce the mess with zillions of deprecated sections.
517 * gtk/gtkmain.c (do_post_parse_initialization): replace the call
518 to gtk_type_init() by g_type_init() and gtk_object_get_type() even
519 though the latter is probably completely pointless.
521 2008-06-24 Michael Natterer <mitch@imendio.com>
523 * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
524 the dialog's vbox was added (bug #539732).
526 2008-06-24 Carlos Garnacho <carlos@imendio.com>
528 * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
529 thought for handling non-direct children. Fixes #539732.
530 (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
531 doesn't provide enough control to API users (removing, reordering...),
532 this is better handled through:
533 (gtk_dialog_get_content_area): New function which just returns
535 * gtk/gtk.symbols: Modify accordingly.
536 * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
537 using gtk_dialog_get_[action|content]_area() instead of accessing
538 dialog struct members directly.
540 2008-06-24 Michael Natterer <mitch@imendio.com>
543 * gtk/gtkcellrenderer.h
544 * gtk/gtkfilechooserentry.h
548 * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
549 if there is any other widget included, they all have to include
550 their respective parent classes (the is-a relation works for
553 2008-06-24 Michael Natterer <mitch@imendio.com>
555 * gtk/gtktextutil.h: remove includes from this internal header.
557 * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
559 2008-06-23 Michael Natterer <mitch@imendio.com>
561 * gtk/gtkinvisible.h: formatting.
563 2008-06-23 Michael Natterer <mitch@imendio.com>
567 * gtk/gtkbuilderprivate.h
568 * gtk/gtkcelllayout.h
569 * gtk/gtkentrycompletion.h
570 * gtk/gtkfilechoosersettings.h
571 * gtk/gtkfilesystem.h
572 * gtk/gtkfilesystemmodel.h
574 * gtk/gtklinkbutton.h
577 * gtk/gtkprintcontext.h
578 * gtk/gtkprintoperation.h
579 * gtk/gtkprintoperationpreview.h
580 * gtk/gtkprintsettings.h
581 * gtk/gtkrecentchooserprivate.h
582 * gtk/gtkrecentmanager.h
583 * gtk/gtksearchengine.h
585 * gtk/gtktreeselection.h
586 * gtk/gtktreeviewcolumn.h
587 * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
588 <glib-object.h>. There is no point in relying on them being pulled
589 in by other headers in some places and placing them explicitly in
590 other places, so choose the "as little includes as possible"
591 approach and get rid of them.
593 2008-06-23 Kristian Rietveld <kris@imendio.com>
595 * gdk/gdkenumtypes.h.template:
596 * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
597 * gtk/gtktypebuiltins.h.template:
598 * perf/typebuiltins.h.template: do not hard code the prefix of the
599 enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
601 2008-06-23 Michael Natterer <mitch@imendio.com>
603 * gtk/gtkmountoperation.h
605 * gtk/gtkshow.[ch]: remove as many includes as possible from these
606 new files. They can't be included individually, so nothing can break.
608 2008-06-22 Michael Natterer <mitch@imendio.com>
610 * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
611 registering the "modifier-mask" property.
613 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
615 * *.[ch]: Include "config.h" instead of <config.h>
617 find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
618 Rubberstamped by Mitch and Tim
620 2008-06-21 Carlos Garnacho <carlos@imendio.com>
622 Bug 539466 – GtkMenuShell API/ABI break in trunk.
624 * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
625 different name and packing width.
627 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
629 * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
632 2008-06-21 Michael Natterer <mitch@imendio.com>
634 * gdk/gdkapplaunchcontext.h: remove redundant include, fix
635 indentation, replace header by a GDK copyright header (don't say
636 "The Gnome Library"), remove trailing whitespace.
638 2008-06-21 Hans Breuer <hans@breuer.org>
640 * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible
641 types - from 'struct _cairo *' to 'struct _cairo_surface *' by
642 passing the surface to cairo_surface_show_page(), not the context
643 * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018:
644 '<' : signed/unsigned mismatch by using guint for the loop
646 * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is
647 an uint, gtk_menu_get_active() returns the widget pointer. Convert
648 the latter to the former by calculating the index in menu::children
649 Also fix some occurences of g_return_if_fail() where
650 g_return_val_if_fail() was meant
652 2008-06-21 Björn Lindqvist <bjourne@gmail.com>
654 Bug 539363 – Segfault when creating GtkPlugs
656 * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
657 property names. "socket window" => "socket-window"
659 2008-06-20 Jody Goldberg <jody@gnome.org>
661 * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) :
662 Fix life cycle to avoid crash. [#536966]
664 2008-06-20 Hans Breuer <hans@breuer.org>
666 * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
667 a value of the appropriate type with g_return_val_if_fail
669 * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
671 * gtk/gtkfilesystem.c : don't add the "File System" on win32
673 * tests/makefile.msc : remove broken autotestfile(system|chooser)
676 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
678 * gtk/gtkbutton.c: Document a style property
680 * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
685 * gtk/gtkitemfactory.c:
687 Fix up deprecated markup syntax. Add version numbers and
688 a message on the remaning ones.
690 2008-06-20 Mikael Hallendal <micke@imendio.com>
692 * tests/testthreads.c: Use g_signal_connect instead of
695 * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
696 While the code is not built, people may still look at it.
698 2008-06-20 Kjartan Maraas <kmaraas@gnome.org>
700 reviewed by: <Carlos Garnacho <garnacho@gnome.org>
703 * gtk/gtkliststore.h:
705 * gtk/gtktextchild.h:
706 * gtk/gtktreemodelfilter.h:
707 * gtk/gtktreemodelsort.h:
708 * gtk/gtktreestore.h:
709 #include <gdkconfig.h> not <gdk/gdkconfig.h>
711 2008-06-20 Martyn Russell <martyn@imendio.com>
713 * gtk/gtkaccelgroup.c: Fix warnings from calling
714 g_object_notify() on a GtkAccelGroup without casting to a
717 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
719 * gtk/gtkcolorsel.c: Modernize and order things as most
720 other objects. Defines at the top, class init before init
721 before gobject methods before object method before widget
722 methods. No changes to the logic done.
724 2008-06-20 Martyn Russell <martyn@imendio.com>
726 * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
727 properties that don't exist. Also, make sure we notify for
728 the "is-locked" property.
730 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
732 * gtk/gtklayout.c (enum): Remove left-over unused property enum.
734 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
736 * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
738 * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
740 * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
741 allocation to avoid compiler warnings
743 2008-06-20 Michael Natterer <mitch@imendio.com>
745 * gtk/gtkaccellabel.h
746 * gtk/gtkactiongroup.h
749 * gtk/gtkaspectframe.h
752 * gtk/gtkprogressbar.h
755 * gtk/gtkscalebutton.h
756 * gtk/gtkselection.h: fix some formatting and spacing uglyness
757 that got merged from the GSEAL branch.
759 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
762 * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
763 * gtk/gtkmessagedialog.h:
764 Add missing accessor for sealed field GtkMessageDialog->image.
766 2008-06-20 Michael Natterer <mitch@imendio.com>
768 * gtk/gtkprinter.h: the GSEAL branch added two includes for no
771 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
773 * gtk/gtkaccelgroup.c:
774 * gtk/gtkcolorseldialog.c:
775 * gtk/gtkcontainer.c:
777 * gtk/gtkentry.c (gtk_entry_class_init):
779 * gtk/gtkhandlebox.c:
781 * gtk/gtkmenu.c (gtk_menu_class_init):
782 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
783 * gtk/gtkplug.c (gtk_plug_class_init):
784 * gtk/gtkselection.c:
786 * gtk/gtktreeselection.c:
787 * gtk/gtkwidget.c (gtk_widget_class_init):
789 Add missing Since: gtk-doc markup for newly added GSEAL API.
790 Change all Since: GSEAL-branch to Since: 2.14.
792 2008-06-20 Michael Natterer <mitch@imendio.com>
794 * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
795 the code merged from the GSEAL branch.
797 2008-06-20 Michael Natterer <mitch@imendio.com>
799 * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
800 value from GtkHButtonBox to GtkWidget.
802 2008-06-20 Michael Natterer <mitch@imendio.com>
804 * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
807 2008-06-20 Michael Natterer <mitch@imendio.com>
810 * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
811 gtk_window_group_list_windows().
813 2008-06-20 12:35:20 +0200 Tim Janik
815 * Fixed wrongly resolved merge conflicts.
817 2008-06-19 19:01:41 +0200 Carlos Garnacho
819 Add gtk_window_group_get_windows().
822 * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
824 2008-06-19 18:39:47 +0200 Carlos Garnacho
826 Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
828 * gtk/gtkdialog.c: Add missing documentation for new fucntions.
830 2008-06-19 18:38:35 +0200 Carlos Garnacho
832 Document gtk_container_get_focus_child().
834 * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
836 2008-06-19 13:50:06 +0200 Christian Dywan
838 Add gtk_plug_get_socket_window
840 2008-06-19 13:11:52 +0200 Christian Dywan
842 Remove superflous gtkselection accessors and merge _get_data
844 2008-06-13 15:56:51 +0200 Christian Dywan
846 Implement gtk_selection_get_display, style fixes
848 2008-06-13 15:45:00 +0200 Christian Dywan
850 Fix indentation of a comment.
852 2008-06-13 15:10:08 +0200 Christian Dywan
854 Change docs and signature of gtk_widget_get_allocation
856 2008-06-13 14:22:17 +0200 Christian Dywan
858 Remove unneeded GtkColorSelectionDialog accessors
860 2008-06-13 12:57:54 +0200 Christian Dywan
862 Fix documentaion of gtk_menu_item_get_accel_path
864 2008-06-11 13:49:34 +0200 Christian Dywan
866 Fix gtk_widget_get_allocation
868 2008-06-07 15:37:18 +0200 Carlos Garnacho
870 Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
874 * gtk/gtkcellrenderer.h:
875 * gtk/gtkcellrenderertext.h:
876 * gtk/gtkcheckmenuitem.h:
877 * gtk/gtkcontainer.h:
879 * gtk/gtkhandlebox.h:
880 * gtk/gtkimcontextsimple.h:
882 * gtk/gtkliststore.h:
885 * gtk/gtkmenushell.h:
890 * gtk/gtkprogressbar.h:
893 * gtk/gtkscrolledwindow.h:
894 * gtk/gtksizegroup.h:
896 * gtk/gtkspinbutton.h:
897 * gtk/gtkstatusbar.h:
899 * gtk/gtktearoffmenuitem.h:
900 * gtk/gtktextbuffer.h:
902 * gtk/gtktogglebutton.h:
904 * gtk/gtktreestore.h:
905 * gtk/gtktreeviewcolumn.h:
906 * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
908 2008-06-06 19:02:17 +0200 Christian Dywan
912 2008-06-06 17:58:21 +0200 Christian Dywan
914 Seal GtkSelectionData
916 2008-06-06 17:57:23 +0200 Christian Dywan
918 Fix GtkDialog, don't add vbox via gtk_container_add.
920 2008-06-06 13:39:34 +0200 Kristian Rietveld
922 Make GtkCellRenderer::editing read-only. (Catched by Matthias)
924 2008-06-03 09:11:50 +0200 Kristian Rietveld
928 2008-05-30 16:48:12 +0100 Martyn Russell
930 Seal GtkFontSelection & GtkFontSelectionDialog
932 2008-05-29 10:35:29 +0200 Kristian Rietveld
934 Seal GtkTearoffMenuItem.
936 (the torn_off field is for internal state keeping, you can retrieve
937 the value from the parent menu's tearoff_state).
939 2008-05-27 18:34:12 +0200 Christian Dywan
943 2008-05-27 18:17:44 +0200 Christian Dywan
947 2008-05-27 15:10:02 +0200 Christian Dywan
951 2008-05-27 14:17:45 +0200 Christian Dywan
955 2008-05-27 14:04:31 +0200 Christian Dywan
959 2008-05-27 12:40:08 +0200 Christian Dywan
963 2008-05-27 12:39:49 +0200 Christian Dywan
965 Seal GtkIMMultiContext
967 2008-05-27 12:39:17 +0200 Christian Dywan
969 Seal GtkIMContextSimple
971 2008-05-27 12:14:53 +0200 Christian Dywan
975 2008-05-27 11:14:21 +0200 Christian Dywan
979 2008-05-27 10:54:20 +0200 Christian Dywan
981 Fix the build by including gdkconfig.h in gtkprinter.h.
983 2008-05-27 10:38:02 +0200 Christian Dywan
987 2008-05-27 10:20:56 +0200 Christian Dywan
991 2008-05-26 17:58:19 +0200 Kristian Rietveld
995 2008-05-26 17:54:56 +0200 Kristian Rietveld
999 2008-05-26 17:48:23 +0200 Kristian Rietveld
1003 2008-05-26 17:39:38 +0200 Kristian Rietveld
1007 2008-05-26 17:31:06 +0200 Kristian Rietveld
1011 2008-05-26 17:27:22 +0200 Kristian Rietveld
1015 2008-05-26 17:07:43 +0200 Kristian Rietveld
1019 2008-05-26 17:07:37 +0200 Kristian Rietveld
1023 2008-05-26 16:39:27 +0200 Kristian Rietveld
1025 Seal GtkTextTagTable.
1027 2008-05-26 16:34:13 +0200 Kristian Rietveld
1031 2008-05-26 17:08:19 +0200 Christian Dywan
1035 2008-05-26 16:40:05 +0200 Christian Dywan
1039 2008-05-26 16:37:54 +0200 Christian Dywan
1043 2008-05-26 14:09:32 +0200 Kristian Rietveld
1045 Seal priv pointer in GtkToggleToolButton.
1047 2008-05-26 14:04:51 +0200 Kristian Rietveld
1049 Seal priv pointer in GtkUIManager.
1051 2008-05-26 14:01:32 +0200 Kristian Rietveld
1053 Seal priv pointer in GtkToolItem.
1055 2008-05-26 14:01:12 +0200 Kristian Rietveld
1057 Seal priv pointer in GtkToolButton.
1059 2008-05-26 14:00:24 +0200 Kristian Rietveld
1061 Seal priv pointer in GtkToggleAction.
1063 2008-05-26 13:58:01 +0200 Kristian Rietveld
1065 Seal priv pointer in GtkStatusIcon.
1067 2008-05-26 13:57:33 +0200 Kristian Rietveld
1069 Seal priv pointer in GtkSeparatorToolItem.
1071 2008-05-26 13:56:33 +0200 Kristian Rietveld
1073 Seal priv pointer in GtkScaleButton.
1075 2008-05-26 13:55:57 +0200 Kristian Rietveld
1077 Seal priv pointer in GtkRecentManager.
1079 2008-05-26 13:55:25 +0200 Kristian Rietveld
1081 Seal priv pointer in GtkRecentChooserWidget.
1083 2008-05-26 13:54:39 +0200 Kristian Rietveld
1085 Seal priv pointer in GtkRecentChooserMenu.
1087 2008-05-26 13:54:15 +0200 Kristian Rietveld
1089 Seal priv pointer in GtkRecentChooserDialog.
1091 2008-05-26 13:52:40 +0200 Kristian Rietveld
1093 Seal priv pointer in GtkRecentAction.
1095 2008-05-26 13:51:47 +0200 Kristian Rietveld
1097 Seal priv pointer in GtkRadioAction.
1099 2008-05-26 13:50:49 +0200 Kristian Rietveld
1101 Seal priv pointer in GtkPrintUnixDialog.
1103 2008-05-26 13:50:08 +0200 Kristian Rietveld
1105 Seal priv pointer in GtkPrintOperation.
1107 2008-05-26 13:49:41 +0200 Kristian Rietveld
1109 Seal priv pointer in GtkPrinter.
1111 2008-05-26 13:48:49 +0200 Kristian Rietveld
1113 Seal priv pointer in GtkPageSetupUnixDialog.
1115 2008-05-26 13:47:39 +0200 Kristian Rietveld
1117 Seal priv pointer in GtkMenuToolButton.
1119 2008-05-26 13:47:29 +0200 Kristian Rietveld
1121 Add gdkconfig.h include to GtkBuilder for GSEAL macro.
1123 2008-05-26 13:23:45 +0200 Kristian Rietveld
1125 Seal priv pointer in GtkLinkButton.
1127 2008-05-26 13:22:25 +0200 Kristian Rietveld
1129 Seal priv pointer in GtkIconView.
1131 2008-05-26 13:22:04 +0200 Kristian Rietveld
1133 Seal priv pointer in GtkIconTheme.
1135 2008-05-26 13:13:49 +0200 Kristian Rietveld
1137 Seal child_allocation field in GtkFrame.
1139 2008-05-26 13:10:17 +0200 Kristian Rietveld
1141 Sealed priv pointer in GtkFontButton.
1143 2008-05-26 13:07:14 +0200 Kristian Rietveld
1145 Seal priv pointer in GtkFileChooserButton.
1147 2008-05-26 13:06:43 +0200 Kristian Rietveld
1149 Seal priv pointer in GtkExpander.
1151 2008-05-26 13:03:24 +0200 Kristian Rietveld
1153 Sealed remaining (private) fields in GtkContainer.
1155 2008-05-26 13:02:26 +0200 Kristian Rietveld
1157 Seal priv pointer in GtkComboBoxEntry.
1159 2008-05-26 13:01:40 +0200 Kristian Rietveld
1161 Seal priv pointer in GtkComboBox.
1163 2008-05-26 13:00:59 +0200 Kristian Rietveld
1165 Seal private_data pointer in GtkColorSel.
1167 2008-05-26 12:57:50 +0200 Kristian Rietveld
1169 Seal 3 remaining fields in GtkButton.
1171 2008-05-26 12:55:24 +0200 Kristian Rietveld
1173 Seal priv pointer in GtkBuilder.
1175 2008-05-26 12:52:44 +0200 Kristian Rietveld
1177 Seal center_allocation field in GtkAspectFrame.
1179 2008-05-26 12:48:18 +0200 Kristian Rietveld
1181 Seal priv pointer in GtkAction.
1183 2008-05-26 12:46:11 +0200 Kristian Rietveld
1185 Seal priv pointer in GtkAboutDialog.
1187 2008-05-26 12:41:46 +0200 Kristian Rietveld
1191 2008-05-26 12:39:54 +0200 Kristian Rietveld
1195 2008-05-26 11:59:35 +0200 Kristian Rietveld
1197 Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
1199 2008-05-26 11:52:20 +0200 Kristian Rietveld
1201 Add new GtkColorSelectionDialog accessors to gtk.symbols.
1203 2008-05-26 11:41:47 +0200 Kristian Rietveld
1205 gtklabel.h: include bit-size of fields inside GSEAL parens.
1207 2008-05-26 11:40:07 +0200 Kristian Rietveld
1209 gtktoolbar.h: include bit-size of fields inside GSEAL parens.
1211 2008-05-26 11:39:35 +0200 Kristian Rietveld
1213 gtkentry.h: include bit-size of fields inside GSEAL parens.
1215 2008-05-26 11:34:14 +0200 Kristian Rietveld
1217 Add new accessors for GtkEntry to gtk.symbols.
1219 2008-05-26 11:23:56 +0200 Kristian Rietveld
1221 Also seal GtkWindowGroup in gtkwindow.h
1223 2008-05-26 10:48:48 +0200 Kristian Rietveld
1225 Fix the build by including gdkconfig.h in gtktextchild.h.
1227 2008-05-23 18:48:56 +0200 Christian Dywan
1231 2008-05-23 18:28:39 +0200 Christian Dywan
1235 2008-05-23 18:28:07 +0200 Christian Dywan
1237 Seal GtkColorSelectionDialog
1239 2008-05-23 18:03:44 +0200 Carlos Garnacho
1241 Seal GtkTextChildAnchor.
1243 * gtk/gtktextchild.h: Sealed private member.
1245 2008-05-23 17:42:01 +0200 Carlos Garnacho
1249 * gtk/gtkwindow.h: Seal all fields.
1251 2008-05-23 17:40:09 +0200 Carlos Garnacho
1253 Add gtk_window_get_default()
1255 * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
1256 * gtk/gtk.symbols: same here.
1258 2008-05-09 15:41:57 +0100 Martyn Russell
1260 Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
1262 2008-05-02 16:31:40 +0200 Martyn Russell
1266 2008-05-02 16:30:09 +0200 Martyn Russell
1268 Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
1270 2008-04-27 18:49:50 +0200 Kristian Rietveld
1272 Seal GtkToggleButton.
1274 * gtk/gtktogglebutton.h: Seal all member fields.
1276 2008-04-27 18:41:46 +0200 Kristian Rietveld
1278 Seal GtkTreeViewColumn.
1280 * gtk/gtktreeviewcolumn.h: Seal all public member fields. The button field is
1281 still troublesome. We are probably going to need an accessor for this and
1282 deprecated it immediately in GTK+ 3.0. Accessors for requested_width and
1283 resized_width can be useful, but I really consider them to be private and
1284 of not much use to applications.
1286 2008-04-27 18:23:23 +0200 Kristian Rietveld
1288 Seal GtkRadioMenuItem.
1290 * gtk/gtkradiomenuitem.h: Seal member field.
1292 2008-04-27 18:21:29 +0200 Kristian Rietveld
1294 Seal GtkRadioButton.
1296 * gtk/gtkradiobutton.h: seal member field.
1298 2008-04-27 18:11:41 +0200 Kristian Rietveld
1300 Seal GtkTreeSelection.
1302 * gtk/gtktreeselection.h: Seal all member fields.
1304 2008-04-27 18:09:46 +0200 Kristian Rietveld
1306 Add gtk_tree_selection_get_select_function().
1308 * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
1310 * gtk/gtk.symbols: add new function.
1312 2008-04-27 16:05:02 +0200 Kristian Rietveld
1314 Seal GtkScrolledWindow.
1316 * gtk/gtkscrolledwindow.h: Seal all object member fields.
1318 2008-04-27 15:56:33 +0200 Kristian Rietveld
1320 Seal GtkCellRenderer.
1322 * gtk/gtkcellrenderer.h: seal all member fields. All member fields are
1323 already accessible via GObject properties.
1325 2008-04-27 15:56:01 +0200 Kristian Rietveld
1327 Add "editing" GObject property to GtkCellRenderer.
1329 * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
1330 (gtk_cell_renderer_get_property),
1331 (gtk_cell_renderer_set_property): add the property and hook
1334 2008-04-27 15:42:08 +0200 Kristian Rietveld
1336 Seal GtkCellRendererText.
1338 * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
1341 2008-04-27 15:40:47 +0200 Kristian Rietveld
1343 Seal GtkCellRendererCombo.
1345 * gtk/gtkcellrenderercombo.h: seal all member fields. The members fields
1346 that were not marked as private are already accessible via GObject properties.
1348 2008-04-27 15:39:41 +0200 Kristian Rietveld
1350 Seal GtkCellRendererAccel.
1352 * gtk/gtkcellrendereraccel.h: seal all member fields that were already
1355 2008-04-18 16:55:44 +0200 Kristian Rietveld
1359 * gtk/gtktreeview.h: seal private pointer.
1361 2008-04-18 16:52:54 +0200 Kristian Rietveld
1363 Seal GtkTreeModelFilter
1365 * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
1368 2008-04-18 16:50:55 +0200 Kristian Rietveld
1370 Seal GtkTreeModelSort
1372 * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
1373 all public member fields.
1375 2008-04-18 16:42:28 +0200 Kristian Rietveld
1379 * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
1380 public member fields.
1382 2008-04-18 16:37:43 +0200 Kristian Rietveld
1386 * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
1387 public member fields.
1389 2008-04-18 18:26:31 +0200 Carlos Garnacho
1391 * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
1393 2008-04-18 18:25:22 +0200 Carlos Garnacho
1395 * gtk/gtkcontainer.h: seal members.
1397 2008-04-11 17:28:54 +0200 Carlos Garnacho
1399 * gtk/gtkmisc.h: seal members.
1401 2008-04-11 17:28:05 +0200 Carlos Garnacho
1403 *gtk/gtkfixed.h: seal members.
1405 2008-04-11 16:04:23 +0200 Michael Natterer
1407 * gtk/gtkcellrendererpixbuf.h: seal all members.
1409 2008-04-11 16:01:19 +0200 Michael Natterer
1411 * gtk/gtkcellrendererprogress.h: seal private member.
1413 2008-04-11 15:43:22 +0200 Michael Natterer
1415 * gtk/gtkcellrenderertoggle.h: seal all members.
1417 2008-04-04 18:50:05 +0200 Carlos Garnacho
1419 * gtk/gtkfilechooserwidget.h: Seal the private member.
1421 2008-04-04 18:46:47 +0200 Carlos Garnacho
1423 gtk/gtkfilechooserdialog.h: seal the private member.
1425 2008-04-04 18:42:17 +0200 Carlos Garnacho
1427 * gtk/gtkentrycompletion.h: Seal private member.
1429 2008-04-04 18:36:35 +0200 Carlos Garnacho
1431 * gtk/gtkcellview.h: Seal the private member.
1433 2008-04-04 18:28:00 +0200 Carlos Garnacho
1435 * gtk/gtkcolorbutton.h: seal private member.
1437 2008-04-04 18:27:26 +0200 Carlos Garnacho
1439 * gtk/gtkcheckmenuitem.h: seal public struct members.
1441 2008-04-04 18:25:25 +0200 Carlos Garnacho
1443 * gtk/gtkcalendar.h: seal public struct members.
1445 2008-04-04 18:24:15 +0200 Carlos Garnacho
1447 * gtk/gtkdialog.h: Also seal variables marked as private.
1449 2008-04-04 17:35:48 +0200 Michael Natterer
1451 * gtk/gtkimagemenuitem.h: seal private member.
1453 2008-04-04 17:28:56 +0200 Michael Natterer
1455 * gtk/gtkiconfactory.h: seal private member.
1457 2008-03-28 16:56:53 +0000 Martyn Russell
1461 * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
1462 member and clean up .c file to reflect this.
1464 2008-03-28 15:00:09 +0100 Sven Herzberg
1468 gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
1470 2008-03-28 16:38:00 +0100 Michael Natterer
1472 * gtk/gtkdrawingarea.h: seal instance struct member.
1474 2008-03-28 16:23:32 +0100 Christian Dywan
1476 Seal GtkScaleButton public fields
1478 * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
1480 2008-03-28 16:07:50 +0100 Christian Dywan
1482 Seal GtkScale public fields
1484 * gtk/gtkscale.h: Deprecate direct access through GSEAL().
1486 2008-03-14 20:45:34 +0100 Christian Dywan
1488 Seal GtkProgressBar public fields
1491 2008-03-14 20:32:12 +0100 Christian Dywan
1493 Seal GtkFrame public vars
1495 2008-03-14 18:57:35 +0100 Carlos Garnacho
1497 Deprecate direct access to public variables in GtkButton.
1499 * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
1501 2008-03-14 18:56:23 +0100 Carlos Garnacho
1503 Deprecate direct access to public variables in GtkButtonBox.
1505 * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
1507 2008-03-14 18:54:35 +0100 Carlos Garnacho
1509 Deprecate direct access to public variables in GtkBox.
1511 * gtk/gtkbox.h: Deprecate direct access through GSEAL().
1513 2008-03-09 11:50:41 +0100 Carlos Garnacho
1515 Seal GtkMessageDialog public vars
1517 2008-03-09 11:38:00 +0100 Carlos Garnacho
1519 Seal GtkDialog public vars
1521 2008-03-09 11:32:05 +0100 Carlos Garnacho
1523 Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
1525 2008-03-09 11:31:46 +0100 Carlos Garnacho
1527 Seal GtkAssistant public fields
1529 2008-03-09 11:31:30 +0100 Carlos Garnacho
1531 Seal GtkNotebook public fields
1533 2008-03-07 20:29:47 +0100 Mikael Hallendal
1535 Deprecate direct access to child in GtkBin.
1537 * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
1539 2008-03-07 18:25:59 +0000 Martyn Russell
1541 Sealed GtkAccelGroup and added
1543 * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
1544 modifier_mask, acceleratables, n_accels and priv_accels. Added seal
1545 macro for public struct members which should be private.
1547 2008-03-07 18:54:22 +0100 Mikael Hallendal
1549 Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
1551 * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
1553 2008-03-07 18:48:29 +0100 Mikael Hallendal
1555 Deprecate arrow_type and shadow_type direct access in GtkArrow.
1557 * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
1559 2008-03-07 18:35:12 +0100 Mikael Hallendal
1561 Added GSEAL to GtkAlignment.
1563 * gtk/gtkalignment.h: Seal the object data with GSEAL.
1565 2008-03-07 15:24:27 +0100 Tim Janik
1567 Introduce GSEAL() macro.
1569 * configure.in: define GSEAL() when generating gdkconfig.h
1571 2008-06-20 Michael Natterer <mitch@imendio.com>
1573 Bug 538395 – gtk_combo_box_append_text() on non-compliant model
1576 * gtk/gtkcombobox.c (gtk_combo_box_append_text)
1577 (gtk_combo_box_insert_text)
1578 (gtk_combo_box_prepend_text)
1579 (gtk_combo_box_remove_text)
1580 (gtk_combo_box_real_get_active_text): apply patch from Christian
1581 Dywan which adds the needed g_return_if_fail() to prevent the
1584 2008-06-20 Cody Russell <cody@jhu.edu>
1586 * gdk/directfb/gdkwindow-directfb.c:
1588 Rename gdk_window_new -> _gdk_window_new and
1589 gdk_window_reparent -> _gdk_window_reparent to fix
1590 the build. (#539095, Sebastien Bacher)
1592 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
1594 * gtk/gtkmenuitem.c: remove an unused variable and cast
1595 accel_path to gchar, just like in gtkmenu.c
1597 2008-06-19 Matthias Clasen <mclasen@redhat.com>
1599 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
1602 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
1604 * gtk/gtkprintbackend.c: Fix a typo in a comment
1606 * gtk/gtkhsv.c (paint_ring, paint_triangle):
1607 Cast buf to unsigned char to avoid two compiler
1611 * gtk/gtkstyle.c (gtk_style_finalize):
1612 Do not ignore the return value of g_slist_remove.
1613 gtkstyle.c changes rubberstamped by Owen.
1615 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
1617 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
1618 (gtk_tree_view_set_enable_tree_lines):
1619 gdk_gc_set_dashes expects a list of gint8, not guint8.
1621 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
1623 * gtk/gtkmenu.c (gtk_menu_set_accel_path):
1624 Remove an unused variable and cast to gchar to avoid a compiler
1627 2008-06-19 Christian Persch <chpe@gnome.org>
1629 * docs/reference/gtk/gtk-sections.txt:
1631 * gtk/gtkclipboard.c:
1632 * gtk/gtkclipboard.h: Add clipboard convenience functions for URI
1633 targets. Bug #537639.
1635 2008-06-19 Christian Persch <chpe@gnome.org>
1637 * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
1638 hardcoded target tables. Bug #516092.
1640 2008-06-19 Christian Persch <chpe@gnome.org>
1642 * gdk-pixbuf/gdk-pixbuf-io.c:
1643 * gdk-pixbuf/gdk-pixdata.c:
1644 * gdk-pixbuf/io-ani.c:
1645 * gdk-pixbuf/io-bmp.c:
1646 * gdk-pixbuf/io-gdip-utils.c:
1647 * gdk-pixbuf/io-gif.c:
1648 * gdk-pixbuf/io-icns.c:
1649 * gdk-pixbuf/io-ico.c:
1650 * gdk-pixbuf/io-jasper.c:
1651 * gdk-pixbuf/io-jpeg.c:
1652 * gdk-pixbuf/io-pcx.c:
1653 * gdk-pixbuf/io-png.c:
1654 * gdk-pixbuf/io-pnm.c:
1655 * gdk-pixbuf/io-ras.c:
1656 * gdk-pixbuf/io-tga.c:
1657 * gdk-pixbuf/io-tiff.c:
1658 * gdk-pixbuf/io-wbmp.c:
1659 * gdk-pixbuf/io-xbm.c:
1660 * gdk-pixbuf/io-xpm.c:
1661 * gtk/gtkfilechooserdefault.c:
1662 * gtk/gtkfilesystemmodel.c:
1663 * gtk/gtkiconfactory.c:
1664 * gtk/gtkicontheme.c:
1666 * gtk/gtkpagesetup.c:
1667 * gtk/gtkpapersize.c:
1668 * gtk/gtkprintoperation-win32.c:
1669 * gtk/gtktextbufferserialize.c:
1670 * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
1672 * configure.in: Update glib requirement to 2.17.3.
1674 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
1676 * demos/testpixbuf.c (new_testrgb_window):
1677 * gtk/gtkctree.c (gtk_ctree_new_with_titles):
1678 * gtk/gtkitemfactory.c (gtk_item_factory_construct),
1679 (gtk_item_factory_create_item):
1680 * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
1681 * gtk/gtkprogressbar.c (gtk_progress_bar_new),
1682 (gtk_progress_bar_new_with_adjustment):
1683 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
1684 * gtk/gtktext.c (gtk_text_new):
1685 * gtk/gtkviewport.c (gtk_viewport_new):
1686 * tests/simple.c (main):
1687 * tests/testgtk.c (create_statusbar), (create_get_image),
1688 (create_saved_position), (create_tooltips), (create_cursors),
1689 (create_display_screen), (create_progress_bar), (create_idle_test):
1690 * tests/testmultidisplay.c (make_selection_dialog), (main):
1691 * tests/testmultiscreen.c (main):
1692 * tests/testrgb.c (new_testrgb_window):
1693 Use g_object_new instead of gtk_widget_new
1695 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
1697 * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
1699 * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
1702 * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
1703 to avoid a gcc warning.
1705 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
1707 http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
1708 the filename in the name entry in CREATE_FOLDER mode when changing
1709 folders, so that you can enter a new subfolder name, double-click on a
1710 folder to change to it, and close the dialog.
1712 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
1713 the filename in the entry in CREATE_FOLDER mode, either.
1715 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
1717 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
1718 chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
1721 * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
1722 clear the entry for CREATE_FOLDER either; this needs the same
1723 behavior as SAVE mode.
1724 (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
1727 2008-06-18 Matthias Clasen <mclasen@redhat.com>
1729 * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
1730 * gtk/gtkfilechooserbutton.c (change_icon_theme):
1731 (model_add_bookmarks):
1732 (model_update_current_folder):
1733 * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
1734 (shortcuts_reload_icons): Use standard icon names.
1736 2008-06-18 Matthias Clasen <mclasen@redhat.com>
1738 * gtk/Makefile.am: Add some more aliases for standard
1739 icon names to the builtin icon theme: drive-harddisk,
1740 folder, folder-remote, text-x-generic.
1742 2008-06-18 Michael Natterer <mitch@imendio.com>
1744 * gtk/gtkcalendar.c: set the maximum of the "year" property to
1745 G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
1746 calculations which in turn caused writing beyond the boundaries of
1747 the calendar->day_month[] and day[] arrays which in turn caused a
1748 SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
1750 2008-06-18 Michael Natterer <mitch@imendio.com>
1753 * tests/autotestfilechooser.c
1754 * tests/buildertest.c
1755 * tests/defaultvaluetest.c
1756 * tests/floatingtest.c
1757 * tests/objecttests.c
1758 * tests/pixbuf-init.c
1759 * tests/textbuffertest.c: remove unit tests here...
1761 * gtk/tests/Makefile.am
1762 * gtk/tests/builder.c
1763 * gtk/tests/defaultvalue.c
1764 * gtk/tests/filechooser.c
1765 * gtk/tests/floating.c
1766 * gtk/tests/object.c
1767 * gtk/tests/pixbuf-init.c
1768 * gtk/tests/textbuffer.c: ...and add them here.
1770 2008-06-18 Michael Natterer <mitch@imendio.com>
1772 * gdk/gdk.h: deprecate GdkDestroyNotify.
1776 * gdk/x11/gdkevents-x11.c
1777 * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
1779 2008-06-18 Michael Natterer <mitch@imendio.com>
1781 * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
1783 * gtk/gtkactiongroup.[ch]
1784 * gtk/gtkcombobox.[ch]
1785 * gtk/gtkcontainer.[ch]
1786 * gtk/gtkliststore.[ch]
1790 * gtk/gtktreedatalist.[ch]
1791 * gtk/gtktreemodelfilter.[ch]
1792 * gtk/gtktreemodelsort.[ch]
1793 * gtk/gtktreeprivate.h
1794 * gtk/gtktreeselection.[ch]
1795 * gtk/gtktreesortable.[ch]
1796 * gtk/gtktreestore.[ch]
1797 * gtk/gtktreeview.[ch]
1798 * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
1800 2008-06-18 Michael Natterer <mitch@imendio.com>
1802 * tests/testgtk.c: some more undeprecation.
1804 2008-06-18 Michael Natterer <mitch@imendio.com>
1806 * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
1809 (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
1811 2008-06-18 Michael Natterer <mitch@imendio.com>
1813 * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
1815 * gtk/gtk.symbols: changed accordingly.
1817 * gtk/gtksettings.c (gtk_settings_install_property)
1818 (gtk_settings_install_property_parser): get rid of using
1819 gtk_type_class() by keeping a static reference to GtkSettingsClass
1820 around in both functions and passing that pointer on to
1821 settings_install_property_parser().
1823 * tests/testgtk.c: use g_type_class_ref()/unref() instead of
1826 * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
1829 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
1831 * gtk/gtkstyle.c: Add deprecated version
1832 and change the deprecation markup used by ref/unref
1834 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
1837 Add deprecated versions and fixup markup.
1839 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
1841 * gtk/gtkaboutdialog.c:
1842 * gtk/gtkbutton.c (gtk_button_class_init):
1843 Don't markup deprecated in italics.
1845 2008-06-18 Carlos Garnacho <carlos@imendio.com>
1847 * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
1848 GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
1850 2008-06-17 Michael Natterer <mitch@imendio.com>
1852 * examples/gtkdial/gtkdial.[ch]: undeprecate.
1854 2008-06-17 Michael Natterer <mitch@imendio.com>
1856 * gtk/gtkobject.c: remove bogus extern declaration of non-existing
1857 function gtk_object_init_type().
1859 2008-06-17 Michael Natterer <mitch@imendio.com>
1861 * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
1862 * gtk/gtktoolbutton.c (gtk_tool_button_get_type):
1863 * examples/gtkdial/gtkdial.h (gtk_dial_get_type):
1866 2008-06-17 Tor Lillqvist <tml@novell.com>
1868 * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
1869 #undef/#define dance here, too, because
1870 gtk_notebook_set_group_id() is deprecated but used here before it
1871 is defined, and gcc complains about conflicting type from the
1872 implicit int declaration when it sees the actual void definition.
1874 * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
1877 2008-06-17 Michael Natterer <mitch@imendio.com>
1879 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
1886 * gtk/gtkoldeditable.c
1889 * gtk/gtktipsquery.c
1891 * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
1892 actually use deprecated symbols (not just types or macros),
1893 #define it again before #include "gtkalias.h" so the symbols match
1894 and the beast links.
1896 2008-06-17 Paolo Borelli <pborelli@katamail.com>
1898 * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
1900 2008-06-17 Michael Natterer <mitch@imendio.com>
1902 * modules/input/gtkimcontextmultipress.h
1903 * modules/input/gtkimcontextthai.h
1904 * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
1905 type checking macros.
1907 2008-06-17 Michael Natterer <mitch@imendio.com>
1909 * gtk/gtktypeutils.h: really move the GtkType typedef to an
1910 undeprecated section.
1912 2008-06-17 Michael Natterer <mitch@imendio.com>
1914 * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
1915 GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
1916 Move the GtkType typedef to an undeprecated section.
1918 2008-06-17 Michael Natterer <mitch@imendio.com>
1920 * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
1921 of GTK_CHECK ones because it's the parent class of an undeprecated
1922 class and the GTK_CHECK stuff will soon be deprecated.
1924 2008-06-17 Michael Natterer <mitch@imendio.com>
1927 * gtk/gtkinputdialog.c
1928 * gtk/gtkmenutoolbutton.c
1929 * gtk/gtkoptionmenu.c
1931 * gtk/gtktooltips.c: add or move around
1932 #undef GTK_DISABLE_DEPRECATED so it's possible to build without
1933 deprecated stuff again (with the minor glitch that it doesn't
1934 link ;) but at least it's a tool to keep the code clean).
1936 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
1938 * gtk/gtkrecentmanager.c:
1939 (gtk_recent_manager_remove_item): Fix dumb typo in the previous
1942 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
1944 * gtk/gtkrecentmanager.c:
1945 (gtk_recent_manager_remove_item),
1946 (gtk_recent_manager_move_item): Increase the consistency of the
1947 errors returned by GtkRecentManager. (Paolo Borelli)
1949 2008-06-17 Paolo Borelli <pborelli@katamail.com>
1951 * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
1953 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
1955 * gtk/gtkrecentmanager.c:
1956 (gtk_recent_manager_remove_item): Consistently use the same
1957 error when removing a URI from an empty GtkRecentManager.
1959 2008-06-17 Michael Natterer <mitch@imendio.com>
1961 * gtk/gtkfilechooserdefault.c: remove static integer variables
1962 which hold the number of members in GtkTargetEntry arrays and use
1963 G_N_ELEMENTS() directly instead.
1965 2008-06-17 Michael Natterer <mitch@imendio.com>
1967 * gtk/gtk.symbols: move some deprecated symbols into
1968 #ifndef GTK_DISABLE_DEPRECATED.
1970 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
1972 * gtk/gtkfilechooserdefault.c:
1973 (gtk_file_chooser_default_init),
1974 (gtk_file_chooser_default_constructor),
1975 (gtk_file_chooser_default_screen_changed),
1976 (recent_start_loading): Remove the GtkRecentManager screen
1977 dance, as it has been deprecated since 2.12. Now we get the
1978 GtkRecentManager singleton whewn we create the FileChooserDefault
1979 instance. (Michael Natterer)
1981 2008-06-17 Michael Natterer <mitch@imendio.com>
1983 * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
1984 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
1986 2008-06-17 Michael Natterer <mitch@imendio.com>
1988 * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
1991 * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
1992 in via deprecated headers.
1994 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1996 Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
1998 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
1999 against XKB being stupid. Reported by Pedro Villavicencio.
2001 2008-06-17 Michael Natterer <mitch@imendio.com>
2003 * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
2004 and unref() instead of the deprecated gtk_widget_ref() and unref().
2006 2008-06-16 Michael Natterer <mitch@imendio.com>
2008 * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
2009 svn since 2.8 but was never used.
2011 2008-06-16 Michael Natterer <mitch@imendio.com>
2013 * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
2014 gtk_binding_entry_clear() instead of gtk_binding_entry_add()
2015 (the former is deprecated and #defined to gtk_binding_entry_clear)
2017 2008-06-16 Michael Natterer <mitch@imendio.com>
2019 * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
2020 unused) "gtkmarshal.h".
2022 2008-06-16 Behdad Esfahbod <behdad@gnome.org>
2024 Bug 538182 – pango_cairo_context_update_layout is not noop after
2025 gtk_widget_create_pango_layout
2027 * gtk/gtksettings.c (settings_update_font_options): Make sure all
2028 font option fields are set to non-DEFAULT values.
2030 2008-06-16 Michael Natterer <mitch@imendio.com>
2035 * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
2036 gtk_rc_style_unref().
2038 2008-06-16 Michael Natterer <mitch@imendio.com>
2040 * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
2041 _gtk_marshal_BOOLEAN__VOID instead of the deprecated
2042 gtk_marshal_BOOLEAN__VOID.
2044 2008-06-16 Michael Natterer <mitch@imendio.com>
2046 * gtk/gtkcellrendereraccel.h
2048 * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
2049 macros for type checking.
2051 (gtk_object_get_type): change prototype to return GType instead of
2054 2008-06-16 Matthias Clasen <mclasen@redhat.com>
2056 * gtk/Makefile.am: Make folder, user-home and user-desktop links
2057 to gtk-directory in the builtin icon theme, so that we can
2058 use these icon names without risk of ending up without an icon.
2060 2008-06-16 Tor Lillqvist <tml@novell.com>
2062 Bug 538362 - Get Win32 icons back in the file chooser
2064 * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
2065 reference to an icon resource in a DLL or .EXE in the same format
2066 as the DefaultIcon strings in the Registry. In that case, extract
2067 the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
2068 code has to be in sync with the corresponding code in
2069 glib/gio/gcontenttype.c.
2071 2008-06-16 Matthias Clasen <mclasen@redhat.com>
2073 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
2074 to the builtin icon theme, to avoid showing broken images when
2075 there is no icon theme around. The new icons are thanks to
2078 2008-06-16 Michael Natterer <mitch@imendio.com>
2080 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
2081 GtkFileChooserDefault struct.
2083 * gtk/gtkfilechooserdefault.c: don't allocate and free the
2086 2008-06-16 Carlos Garnacho <carlos@imendio.com>
2088 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
2091 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
2092 Allow again setting any of the properties to render an image back to
2095 2008-06-15 Matthias Clasen <mclasen@redhat.com>
2097 * gtk/gtkimage.c: When pixel-size is specified, use
2098 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
2100 2008-06-15 Carlos Garnacho <carlos@imendio.com>
2102 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
2103 path here as expected, not just the basename.
2105 * gtk/gtkfilechooserdefault.c
2106 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
2107 a reference to file, since it can be destroyed when switching back to
2110 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
2111 and desktop directories are dealt by the filechooser as normal files,
2112 not volumes, so the icon for these is handled directly by GIO.
2113 (_gtk_file_system_volume_render_icon): Update caller.
2115 2008-06-15 Matthias Clasen <mclasen@redhat.com>
2117 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
2119 2008-06-14 Cody Russell <bratsche@gnome.org>
2121 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
2123 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
2124 according to MSDN docs, associates the open clipboard with the
2125 current task. (#378158, reported by Andreas Köhler)
2127 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2129 * configure.in: Bump version
2131 * === Released 2.13.3 ===
2133 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2135 * gtk/gtkaccelgroup.c: Add some docs
2137 * gdk/gdkwindow.c: Fix doc typos
2139 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2141 * gtk/gtkfilesystem.c: Avoid PLT entries by including
2144 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2146 * gtk/gtkfilechooserbutton.c:
2147 * gtk/gtkfilechooserdefault.c:
2148 * gtk/gtkfilechooserentry.c:
2149 * gtk/gtkfilesystem.c:
2150 * gtk/gtkfilesystem.h:
2151 * gtk/gtkfilesystemmodel.c:
2152 * gtk/gtkpathbar.c: Really make GtkFileSystem private
2153 by _-prefixing all functions.
2155 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2157 * docs/RELEASE-HOWTO: Updates
2158 * INSTALL.in: Bump version
2160 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2164 2008-06-13 Michael Natterer <mitch@imendio.com>
2166 * gtk/gtkcellrendereraccel.h
2167 * gtk/gtkfilechooser.h
2168 * gtk/gtkfilechooserdialog.h
2169 * gtk/gtkfilechooserwidget.h
2170 * gtk/gtkmenutoolbutton.h
2171 * gtk/gtkpagesetup.h
2172 * gtk/gtkpapersize.h
2173 * gtk/gtkprintcontext.h
2174 * gtk/gtkprintoperation.h
2175 * gtk/gtkprintoperationpreview.h
2176 * gtk/gtkprintsettings.h
2177 * gtk/gtkradiotoolbutton.h
2178 * gtk/gtkrecentchooser.h
2179 * gtk/gtkrecentchooserdialog.h
2180 * gtk/gtkrecentchoosermenu.h
2181 * gtk/gtkrecentchooserwidget.h
2182 * gtk/gtkseparatortoolitem.h
2184 * gtk/gtktoggletoolbutton.h
2186 * gtk/gtktoolbutton.h
2187 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
2188 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
2190 2008-06-13 Michael Natterer <mitch@imendio.com>
2192 * gtk/gtktexttagtable.h: remove double inclusion of
2195 2008-06-13 Michael Natterer <mitch@imendio.com>
2197 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
2198 local "image" variable from GtkImage to GtkWidget to fix warning.
2200 2008-06-13 Michael Natterer <mitch@imendio.com>
2202 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
2203 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
2205 2008-06-13 Michael Natterer <mitch@imendio.com>
2207 * gtk/gtkuimanager.c (start_element_handler): silently skip
2208 unknown attributes instead of bailing out with an error in order
2209 to be compatible with possible future attribute names.
2211 This is related to the discussion in bug #516425 but actually
2212 needed for any kind of XML format extension.
2214 2008-05-23 Hans Breuer <hans@breuer.org>
2216 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
2217 Avoids crashing when the target can not be written, bug #537685
2219 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
2221 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
2222 it was not needed here anyway.
2224 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2226 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
2227 Patch by Jan Arne Peterson
2229 2008-06-12 Matthias Clasen <mclasen@redhat.com>
2231 Bug 537985 – gtk_init_with_args() doesn't open a display after
2234 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
2235 even when gtk_parse_args() has already been called.
2236 Patch by Mathias Hasselmann
2238 2008-06-12 Matthias Clasen <mclasen@redhat.com>
2240 Bug 524222 – GtkToolbar with mix of buttons with and without
2243 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
2244 Improve appearance of "both vertical" mode toolbuttons.
2245 Patch by Peter Johanson
2247 2008-06-12 Matthias Clasen <mclasen@redhat.com>
2249 Bug 519092 – Add accessibility support to GtkVolumeButton
2251 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
2252 Patch by Jonh Wendell
2254 2008-06-12 Matthias Clasen <mclasen@redhat.com>
2256 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
2257 GtkAction has problems
2258 Patch by Peter Johanson
2260 * gtk/gtkaction.c (connect_proxy): Set the image of a button
2261 proxy to the "icon-name" property.
2263 (gtk_action_set_short_label): If the "image" property is set
2264 on the button proxy, also tries to set the "label" property on
2267 2008-06-12 Michael Natterer <mitch@imendio.com>
2270 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
2271 in via "gtkintl.h" from <glib/gi18n-lib.h>.
2273 2008-06-12 Matthias Clasen <mclasen@redhat.com>
2275 RH bug 248245 and 449379: cups client printing from gnome
2278 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
2279 printer URI construction. Patch by Marek Kasik
2281 2008-06-12 Michael Natterer <mitch@imendio.com>
2283 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
2284 limit the number of displayed items by the actual screen height
2285 instead of some arbitrary value (Bug #408154, Xan Lopez and
2288 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
2290 Bug 503071 – Application direction changes to right to left even if
2291 theres no translation
2293 * configure.in: Bump glib requirement.
2295 * gtk/gtkaccellabel.c
2296 (_gtk_accel_label_class_get_accelerator_label):
2297 * gtk/gtkactiongroup.c (dgettext_swapped):
2298 * gtk/gtkbuilder.c (gtk_builder_class_init):
2299 * gtk/gtkbuilderparser.c (_dpgettext),
2300 (_gtk_builder_parser_translate):
2301 * gtk/gtkfilechooserdefault.c (list_size_data_func):
2302 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
2304 * gtk/gtkmain.c (setlocale_initialization),
2305 (do_pre_parse_initialization), (gettext_initialization):
2306 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
2307 Use g_dgettext() and g_dngettext().
2309 2008-06-11 Matthias Clasen <mclasen@redhat.com>
2311 * docs/RELEASE-HOWTO: Updates
2313 2008-06-11 Tor Lillqvist <tml@novell.com>
2315 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
2316 support Win9x anyway, we can use ProcessIdToSessionId()
2319 2008-06-11 Michael Natterer <mitch@imendio.com>
2321 * gtk/gtkfilechooserbutton.c: fix local prototype of
2322 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
2324 2008-06-10 Matthias Clasen <mclasen@redhat.com>
2326 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
2328 * gtk/gtkoptionmenu.c:
2329 * gtk/gtkcombobox.c: Set the window type hint on popups.
2330 Patch by Danny Baumann
2332 2008-06-10 Matthias Clasen <mclasen@redhat.com>
2334 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
2335 (gtk_file_system_volume_render_icon): Add standard icon names,
2336 and also fall back to builtin gtk stock icons.
2338 2008-06-10 Christian Persch <chpe@gnome.org>
2340 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
2341 (gtk_tree_view_maybe_begin_dragging_row),
2342 (gtk_tree_view_set_reorderable),
2343 (gtk_tree_view_enable_model_drag_source),
2344 (gtk_tree_view_enable_model_drag_dest),
2345 (gtk_tree_view_unset_rows_drag_source),
2346 (gtk_tree_view_unset_rows_drag_dest): Make
2347 gtk_tree_view_enable_model_drag_[source|dest] compatible with
2348 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
2350 2008-06-10 Christian Persch <chpe@gnome.org>
2352 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
2353 (dest_row_free), (set_dest_row), (ensure_info),
2354 (gtk_tree_view_remove), (gtk_tree_view_put),
2355 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
2358 2008-06-10 Paolo Borelli <pborelli@katamail.com>
2360 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
2361 use g_file_new_for_uri.
2363 2008-06-10 Paolo Borelli <pborelli@katamail.com>
2365 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
2368 2008-06-10 Carlos Garnacho <carlos@imendio.com>
2372 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
2373 #520874, comment #8. It's no longer used directly by GTK+.
2375 2008-06-10 Carlos Garnacho <carlos@imendio.com>
2377 Bug 520874 - Should use gio directly.
2379 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
2380 provides helper functions for asynchronous calls, folder abstraction
2381 and uniform handling of volumes/drives/mounts.
2383 * gtk/gtkfilesystemwin32.[ch]:
2384 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
2386 * gtk/gtkfilechooser.c:
2387 * gtk/gtkfilechooserbutton.c:
2388 * gtk/gtkfilechooserdefault.c:
2389 * gtk/gtkfilechooserentry.[ch]:
2390 * gtk/gtkfilechooserprivate.h:
2391 * gtk/gtkfilechooserutils.c:
2392 * gtk/gtkfilesystemmodel.[ch]:
2393 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
2394 Do not load filesystem implementation modules.
2397 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
2398 anymore, nor the unix/win32 implementations.
2400 * README.in: Add blurb about these changes.
2402 2008-06-09 Kristian Rietveld <kris@gtk.org>
2404 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
2406 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
2407 (gtk_cell_renderer_combo_set_property),
2408 (gtk_cell_renderer_combo_editing_done),
2409 (gtk_cell_renderer_combo_start_editing): introduce private class
2410 struct, allow model to be set to NULL.
2412 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
2414 Bug 131920 – gtkNotebook sends incorrect switch_page value
2416 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
2417 signal send correct page index when page index 0 is active and
2418 removed. (#131920, Samuel Fogh)
2420 2008-06-08 Kristian Rietveld <kris@gtk.org>
2422 Bug 536730 - memory corruption in gtktreeview
2424 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
2425 remove the expand/collapse timeout and node, then free the rbtree.
2427 2008-06-08 Kristian Rietveld <kris@gtk.org>
2429 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
2431 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
2432 find path if we found valid nodes, return FALSE otherwise. (Patch
2433 from Matthias Clasen).
2435 2008-06-08 Matthias Clasen <mclasen@redhat.com>
2437 * gtk/gtkrecentmanager.c:
2438 * gtk/gtkrecentfilter.c:
2439 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
2442 2008-06-08 Christian Persch <chpe@gnome.org>
2444 Bug 535608 – do not string-copy accel paths in the menu code
2446 * gtk/gtkaccelgroup.c:
2447 * gtk/gtkaccelmap.c:
2450 * gtk/gtkmenuitem.c:
2451 * gtk/gtkwidget.c: Don't store the accel path as a string in
2452 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
2453 keeping a string copy around is just a waste of memory.
2454 Improve the documentation to mention this.
2456 2008-06-07 Tor Lillqvist <tml@novell.com>
2458 Bug 536990 - updateiconcache.c: 'close ()' is redundant
2460 * gtk/updateiconcache.c (build_cache): Drop redundant close()
2461 calls. fclose() on a fdopen()ed stream closes the underlying file
2464 2008-06-06 Matthias Clasen <mclasen@redhat.com>
2466 Bug 536757 – regression: openoffice.org menus are placed at wrong
2467 position since 2.12.10
2469 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
2470 Return the right coordinates.
2472 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
2474 Bug 536185 – monitor font configuration
2477 * gdk/x11/gdksettings.c:
2478 * gtk/gtksettings.c (gtk_settings_class_init),
2479 (gtk_settings_notify), (settings_update_fontconfig):
2480 Monitor xsettings key Fontconfig/Timestamp and upon change,
2481 reread fontconfig configuration, clear Pango's caches, and
2484 2008-06-06 Ross Burton <ross@burtonini.com>
2487 Fix trivial typo in documentation.
2489 2008-06-06 Tor Lillqvist <tml@novell.com>
2491 * config.h.win32.in: Slight update to match what configure
2494 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
2496 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
2497 constant to the end of the list, to avoid breaking the stable ABI
2499 2008-06-05 Michael Natterer <mitch@imendio.com>
2501 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
2503 2008-06-05 Li Yuan <li.yuan@sun.com>
2505 * gail-uninstalled.pc.in:
2506 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
2507 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
2509 2008-06-03 Matthias Clasen <mclasen@redhat.com>
2511 * docs/RELEASE-HOWTO: Update a bit
2513 2008-06-03 Matthias Clasen <mclasen@redhat.com>
2515 * configure.in: Bump version
2517 * === Released 2.13.2 ===
2519 2008-06-03 Federico Mena Quintero <federico@novell.com>
2521 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
2522 If the user presses Tab while the completion feedback window is
2523 active, then we'll assert. Remove the assertion and just re-set
2524 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
2526 2008-06-03 Colin Walters <walters@redhat.com>
2528 Bug 535303 – add _get_implementation to GtkStatusIcon
2530 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
2531 function to retrieve internal X11 window ID, useful for libnotify.
2532 * gtk/gtkstatusicon.h: Prototype it.
2533 * docs/reference/gtk/gtk-sections.txt: Add to docs.
2534 * gtk/gtk.symbols: Export it.
2536 2008-06-03 Tor Lillqvist <tml@novell.com>
2538 * gtk/updateiconcache.c (build_cache): Use g_open().
2540 2008-06-03 Michael Natterer <mitch@imendio.com>
2543 * gtk/gtkctree.h: revert includes to how they have been before the
2544 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
2545 that you can't include <gtk/gtk.h> from two headers where one is a
2546 parent class of the other and expect them both to be includable
2549 2008-06-03 Michael Natterer <mitch@imendio.com>
2551 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
2553 2008-06-02 Matthias Clasen <mclasen@redhat.com>
2555 Bug 536092 – GtkEntryCompletion's popup window should set type hint
2557 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
2558 a type hint on the popup window to help compiz.
2559 Patch by Vaclav Slavik.
2561 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
2563 Bug 535862 – gtk_action_create_icon can't create icons from the
2566 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
2567 the default factories as it's supposed.
2569 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
2571 Bug 535497 – Print preview doesn't work.
2573 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
2574 instead of launching Preview.app directly.
2576 2008-06-02 Michael Natterer <mitch@imendio.com>
2578 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
2579 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
2582 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
2584 Bug 535830 – wrong content type adding an item
2586 * gtk/gtkrecentmanager.c:
2587 (gtk_recent_manager_add_item_query_info): Use the correct API
2588 for retrieving the fast MIME type of a URI. (Carlos Garcia
2591 2008-05-31 Kristian Rietveld <kris@imendio.com>
2593 Bug 530146 - Setting non-string tooltip with
2594 gtk_tree_view_set_tooltip_column() segfaults
2596 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
2597 gtk_tree_model_get_value() and explicitly transform the value to a
2598 string before setting it as tooltip.
2600 2008-05-30 Tor Lillqvist <tml@novell.com>
2602 * modules/engines/ms-windows/msw_style.h
2603 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
2605 2008-05-30 Michael Natterer <mitch@imendio.com>
2607 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
2608 GDestroyNotify when using it in g_object_set_data_full().
2610 2008-05-30 Michael Natterer <mitch@imendio.com>
2612 * gdk/gdkapplaunchcontext.h
2613 * gdk/gdktestutils.h
2614 * gtk/gtkmountoperation.h
2616 * gtk/gtktestutils.h
2617 * gtk/gtktoolshell.h: no need to allow disabling single includes
2618 conditionally in these new files. Simply forbid including them
2619 individually from the beginning.
2621 2008-05-30 Tor Lillqvist <tml@novell.com>
2623 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
2625 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
2628 2008-05-29 Matthias Clasen <mclasen@redhat.com>
2630 * configure.in: Bump version
2632 * === Released 2.13.1 ===
2636 2008-05-29 Matthias Clasen <mclasen@redhat.com>
2638 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
2640 2008-05-29 Matthias Clasen <mclasen@redhat.com>
2642 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
2644 2008-05-29 Tor Lillqvist <tml@novell.com>
2646 Bug 535526 - updateiconcache.c: using open/close without prototype
2648 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
2649 g_utime() when available instead of utime() for UTF-8 pathname
2652 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
2654 Bug 56355 – GtkLabel - Not all changes propagate correctly
2656 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
2657 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
2658 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
2659 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
2660 notifications of mnemonic-keyval changes.
2662 2008-05-27 Matthias Clasen <mclasen@redhat.com>
2664 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
2666 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
2667 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
2668 * gtk/gtk.symbols: Additions
2669 * tests/testimage.c: Add a GIcon test
2671 2008-05-29 Michael Natterer <mitch@imendio.org>
2674 * gtk/gtkunixprint.h: add a single-include header for the unix
2677 * gtk/gtkpagesetupunixdialog.h
2680 * gtk/gtkprintunixdialog.h: add single-include guards that #error
2681 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
2682 files is included individually.
2684 * gtk/gtkprintbackend.h
2685 * gtk/gtkprinter-private.h
2686 * modules/printbackends/cups/gtkprintbackendcups.c
2687 * modules/printbackends/cups/gtkprintercups.h
2688 * modules/printbackends/lpr/gtkprintbackendlpr.c
2689 * tests/buildertest.c
2690 * tests/defaultvaluetest.c
2691 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
2694 2008-05-28 Michael Natterer <mitch@imendio.com>
2696 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
2697 excess newlines and sprinkled some newlines where needed. Zero
2698 code or formatting changes included.
2700 2008-05-28 Michael Natterer <mitch@imendio.com>
2702 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
2704 2008-05-28 Michael Natterer <mitch@imendio.com>
2706 * gtk/gtkcolorbutton.h: fix comment: the widget is called
2707 GtkColorButton, not GtkColorSelectButton. Remove trailing
2708 whitespace and excess newlines.
2710 2008-05-28 Michael Natterer <mitch@imendio.com>
2712 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
2713 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
2714 to CPPFLAGS so it's impossible to commit code that would break
2715 apps which use DISABLE_INCLUDE defines.
2717 2008-05-28 Michael Natterer <mitch@imendio.com>
2719 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
2722 * gtk/gtktypebuiltins.h.template
2723 * gtk/gtkversion.h.in
2724 * gtk/gtk*.h: add single-include guards that #error out if
2725 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
2726 included individually.
2728 * gtk/gtkprintbackend.h
2729 * gtk/gtkprinter-private.h
2730 * gtk/gtktextlayout.h
2731 * gtk/gtktexttagprivate.h
2732 * gtk/gtktexttypes.h
2733 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
2734 headers in these private or semi-private headers.
2736 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
2738 * gtk/gtkpagesetupunixdialog.h
2741 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
2747 * gtk/gtkitemfactory.h
2750 * gtk/gtkoldeditable.h
2751 * gtk/gtkoptionmenu.h
2755 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
2756 instead of individual headers in these deprecated headers. They
2757 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
2758 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
2759 and include them individually, which should continue to work.
2761 * gtk/gtkclist.c: include "gtkctree.h" because of the change
2764 2008-05-28 Kristian Rietveld <kris@imendio.com>
2766 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
2769 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
2770 cursor_offset *must* be larger than background height of the cursor
2771 node, not just equal otherwise there is no guarantee there is a next
2774 2008-05-28 Michael Natterer <mitch@imendio.com>
2776 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
2778 2008-05-28 Michael Natterer <mitch@imendio.com>
2780 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
2783 * gdk/gdkenumtypes.h.template
2784 * gdk/gdk*.h: add single-include guards that #error out if
2785 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
2786 included individually. Also removed some redundant includes and
2787 did some tiny trailing whitespace removal that's not worth to
2790 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
2793 * gdk/win32/gdkwin32.h
2794 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
2797 2008-05-28 Kristian Rietveld <kris@imendio.com>
2799 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
2800 current widget again.
2802 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
2803 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
2804 custom_was_reset field to check if the custom widget is set again in
2805 the query-tooltip callback; if not, we set it to NULL. Based on a
2806 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
2807 and Christian Persch.
2809 2008-05-28 Michael Natterer <mitch@imendio.com>
2811 * modules/printbackends/cups/gtkcupsutils.c
2812 * modules/printbackends/cups/gtkprintbackendcups.c
2813 * modules/printbackends/file/gtkprintbackendfile.c
2814 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
2815 <gtk/gtk.h> instead of individual files.
2817 2008-05-28 Michael Natterer <mitch@imendio.com>
2819 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
2822 2008-05-28 Kristian Rietveld <kris@imendio.com>
2824 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
2826 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
2827 ->priv->tree != NULL. Suggestion from Stefan Kost.
2829 2008-05-28 Kristian Rietveld <kris@imendio.com>
2831 Bug 324282 - add selected signal to cell renderer combo.
2833 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
2834 (gtk_cell_renderer_combo_changed),
2835 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
2836 that will be emitted as soon as the combo box emitted changed and has
2837 an active iterator. (Modified patch based on work by James
2840 * gtk/gtkmarshalers.list: add marshaler.
2842 2008-05-28 Kristian Rietveld <kris@imendio.com>
2844 Refactor expand/collapse timeout handling (amendment to bug 511217).
2846 * gtk/gtktreeview.c (add_expand_collapse_timeout),
2847 (remove_expand_collapse_timeout): new functions, the remove function
2848 also clears expanded_collapsed_node,
2849 (cancel_arrow_animation): moved to be next to the add/remove timeout
2851 (gtk_tree_view_unrealize),
2852 (gtk_tree_view_row_deleted),
2853 (gtk_tree_view_set_model),
2854 (cancel_arrow_animation),
2855 (gtk_tree_view_real_expand_row),
2856 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
2858 2008-05-28 Kristian Rietveld <kris@imendio.com>
2860 Amendment of bug 485218 - Strange warning encountered.
2862 * gtk/gtktreemodelsort.[ch]
2863 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
2864 indication whether or not the conversion had succeeded.
2866 2008-05-27 Matthias Clasen <mclasen@redhat.com>
2868 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
2870 * modules/printbackends/cups/gtkprintbackendcups.c
2871 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
2872 if the printer does not support level 3. Patch by Marek Kašík.
2874 2008-05-27 Matthias Clasen <mclasen@redhat.com>
2876 Bug 404571 - Scroll arrow backgrounds should be painted with different
2879 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
2880 as detail when drawing scroll arrow backgrounds. Proposed by
2883 2008-05-27 Matthias Clasen <mclasen@redhat.com>
2885 Bug 511217 - potential memory corruption after refreshing a tree_view
2887 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
2888 expanded_collapsed_node when canceling the animation.
2889 Patch by Nicholas Setton.
2891 2008-05-28 Michael Natterer <mitch@imendio.com>
2893 * modules/input/gtkimcontextime.h
2894 * modules/input/gtkimcontextmultipress.h
2895 * modules/input/gtkimcontextthai.h
2896 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
2899 * modules/input/gtkimcontextime.c
2900 * modules/input/gtkimcontextmultipress.c
2901 * modules/input/gtkimcontextxim.c
2902 * modules/input/imam-et.c
2903 * modules/input/imcedilla.c
2904 * modules/input/imcyrillic-translit.c
2905 * modules/input/iminuktitut.c
2906 * modules/input/imipa.c
2907 * modules/input/imti-er.c
2908 * modules/input/imti-et.c
2909 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
2910 "gtk/gtkintl.h" to the end of includes.
2912 2008-05-28 Michael Natterer <mitch@imendio.com>
2914 * modules/engines/pixbuf/pixbuf-style.h
2915 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
2916 instead of individual files.
2918 2008-05-27 Matthias Clasen <mclasen@redhat.com>
2920 Bug 485218 - Strange warning encountered
2922 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
2923 (gtk_tree_model_sort_convert_child_iter_to_iter):
2924 (gtk_tree_model_sort_build_level): Better warnings. Patch
2925 by Kristian Rietveld.
2927 2008-05-27 Matthias Clasen <mclasen@redhat.com>
2929 Bug 351910 - Search column setting lost
2931 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
2932 the docs. Patch by Matt Barnes.
2934 2008-05-27 Matthias Clasen <mclasen@redhat.com>
2936 Bug 477278 - avoid unnecessary pointer subtraction
2938 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
2939 subtraction that sparse complains about. Patch by Christian
2942 2008-05-27 Matthias Clasen <mclasen@redhat.com>
2944 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
2946 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
2947 Commit the entry text before doing an increment. Patch by
2950 2008-05-27 Federico Mena Quintero <federico@novell.com>
2952 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
2953 drag and drop from the file list into itself, as it doesn't make
2954 sense (it would just change the current folder).
2956 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
2957 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
2960 2008-05-27 Michael Natterer <mitch@imendio.com>
2962 * gtk/gtksignal.h: move deprecated guards around everything,
2963 including includes and include guards (just as in all other
2966 2008-05-27 Tor Lillqvist <tml@novell.com>
2968 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
2969 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
2970 <sys/stat.h> on Windows, and the mode used in open() doesn't
2971 matter much as there are no rwxrwxrwx bits on Windows anyway.)
2972 Open file in binary mode. Passing "b" to fdopen() later isn't
2975 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
2977 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
2978 invalid or invisible widgets.
2980 2008-05-27 Matthias Clasen <mclasen@redhat.com>
2982 Bug 531008 – Crash in gtkprintunixdialog.c
2984 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
2985 the dialog closes. Patch by Yevgen Muntyan.
2987 2008-05-27 Matthias Clasen <mclasen@redhat.com>
2989 RH bug 248245: cups client printing from gnome applications fail
2991 * modules/printbackends/cups/gtkprintbackendcups.c
2992 (gtk_print_backend_cups_print_stream): Specify the right server.
2994 2008-05-27 Carlos Garnacho <carlos@imendio.com>
2996 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
2997 rubberbanding when "select-multiple" is TRUE. Bug #446068.
2999 2008-05-27 Carlos Garnacho <carlos@imendio.com>
3001 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
3002 correctly dialog buttons sensitivity when the anonymous option is
3003 enabled by default. Bug #531865.
3005 2008-05-27 Carlos Garnacho <carlos@imendio.com>
3007 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
3008 password dialog modal and transient for the parent window also if it
3009 was specified in the constructor. Bug #531864.
3011 2008-05-26 Richard Hult <richard@imendio.com>
3013 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
3014 setting the default font, might need to tweak this.
3016 2008-05-26 Michael Natterer <mitch@imendio.com>
3018 * examples/gtkdial/gtkdial.h
3019 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
3021 2008-05-26 Michael Natterer <mitch@imendio.com>
3023 * gtk/gtkimmodule.h: fix indentation.
3025 2008-05-26 Michael Natterer <mitch@imendio.com>
3027 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
3029 * gtk/gtkshow.c: remove inclusion of single files from gdk/
3031 Removed trailing whitespace in both files.
3033 2008-05-26 Richard Hult <richard@imendio.com>
3035 Bug 530353 – Mac-like gtk_accelerator_get_label()
3037 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
3038 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
3039 On quartz, make gtk_accelerator_get_label() format a Mac-like
3040 string, using unicode characters for modifier keys, arrows, delete
3041 etc. Patch from Yevgen Muntyan.
3043 2008-05-26 Richard Hult <richard@imendio.com>
3045 Bug 534869 – Length miscalculation in
3046 _gtk_quartz_get_selection_data_from_pasteboard
3048 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
3049 Get the number of bytes, not the number of characters, patch from
3052 2008-05-26 Matthias Clasen <mclasen@redhat.com>
3054 * gtk/gtkwidget.c: Some doc formatting fixes.
3056 2008-05-26 Matthias Clasen <mclasen@redhat.com>
3058 Bug 511163 – Remove pango_extents_to_pixels() calls
3060 * gtk/gtkcellrenderertext.c (get_size): Use
3061 pango_layout_get_pixel_extents.
3063 * configure.in: Bump Pango requirement to 1.20
3065 * INSTALL.in: Update required versions
3067 2008-05-26 Matthias Clasen <mclasen@redhat.com>
3069 Bug 513811 – Use cairo_format_stride_for_width()
3071 * gtk/gtkhsv.c (paint_ring, paint_triangle):
3072 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
3073 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
3075 * configure.in: Bump cairo requirement to 1.6.0
3077 * INSTALL.in: Update required versions
3079 2008-05-26 Matthias Clasen <mclasen@redhat.com>
3081 * gtk/gtkshow.[hc]: Formatting fixes
3083 * gtk/gtkmountoperation.c: Add docs
3085 2008-05-25 Cody Russell <bratsche@gnome.org>
3087 Bug 507389 – use gslice for gtksettings
3089 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
3090 Report and patch by Christian Persch.
3092 2008-05-25 Cody Russell <bratsche@gnome.org>
3094 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
3095 when options are missing
3097 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
3098 that other processes that try to open it will fail gracefully. Also
3099 fix a crasher caused by lack of a NULL check. Report and patch
3102 2008-05-25 Cody Russell <bratsche@gnome.org>
3104 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
3106 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
3107 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
3108 so that we also take into account for foreign windows.
3109 Report and patch by Nathaniel Smith.
3111 2008-05-25 Cody Russell <bratsche@gnome.org>
3113 Bug 525461 - Don't invalidate under an input-only child
3115 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
3116 Check that the window is not input-only before invalidating.
3117 Report and patch by Owen Taylor.
3119 2008-05-25 Cody Russell <bratsche@gnome.org>
3121 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
3122 window frame extents
3124 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
3125 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
3127 2008-05-25 Cody Russell <bratsche@gnome.org>
3129 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
3130 caused by missing flag initialization
3132 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
3133 top-level private flags correctly. Patch by Danny Baumann.
3135 2008-05-25 Cody Russell <bratsche@gnome.org>
3137 Bug 534463 - non-editable GtkTextView should not call
3138 gtk_im_context_focus_in in focus event
3140 * gtk/gtktextview.c: Add checks to see if the textview is
3141 editable. Patch by Wang Diancheng.
3143 2008-05-25 Matthias Clasen <mclasen@redhat.com>
3145 Bug 501730 – use GSlice for small allocs
3147 * gtk/gtkmenuitem.c:
3148 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
3149 Patch by Christian Persch.
3151 2008-05-25 Matthias Clasen <mclasen@redhat.com>
3153 Bug 523930 – sort -> search in gtktreeview.c
3155 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
3156 glitch, pointed out by Björn Lindqvist.
3158 2008-05-25 Matthias Clasen <mclasen@redhat.com>
3160 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
3162 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
3163 doc glitch, pointed out by Christian Persch.
3165 2008-05-25 Matthias Clasen <mclasen@redhat.com>
3167 Bug 534694 – Col id in GtkListStore could be out of range
3169 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
3170 a bit. Pointed out by Jan Arne Petersen.
3172 2008-05-25 Matthias Clasen <mclasen@redhat.com>
3174 Bug 532497 – Configure problem when cross-compiling
3176 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
3177 pointed out by Marko Lindqvist.
3179 2008-05-25 Richard Hult <richard@imendio.com>
3181 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
3182 Slight coding style cleanup.
3184 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
3186 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
3187 Added support for parsing required toolkit versions (so that ui descriptions
3188 can target specific versions of the backend widget libraries) bug 527612.
3190 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
3191 for the added xml tags to the ui description.
3193 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
3194 for requires tag handling.
3196 2008-05-25 Richard Hult <richard@imendio.com>
3198 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
3199 gtk_drag_source_info_destroy in an idle, workaround for bug
3200 #501588, that makes any code that uses the context returned from
3201 gtk_drag_begin() crash, like treeview/iconview dnd.
3202 (GdkDragSourceOwner::provideDataForType): only use the data if we
3205 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
3207 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
3208 to the drag actions to allow trash (#137717).
3210 2008-05-25 Josselin Mouette <joss@malsain.org>
3212 reviewed by: Matthias Clasen
3214 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
3215 check that tracker is actually working before using it. Fixes
3218 2008-05-25 Sven Neumann <sven@gimp.org>
3220 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
3221 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
3222 and don't create an output window if it is set.
3224 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
3225 drawing areas. Fixes bug #519317.
3227 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
3229 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
3230 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
3232 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
3233 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
3234 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
3235 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
3236 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
3237 (start_spinning), (gtk_spin_button_button_release),
3238 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
3239 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
3240 (gtk_spin_button_update): Reorder strange window hierarchy of the
3241 GtkSpinButton (#466000).
3243 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
3245 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
3246 fix the wrong position for right and center justified labels with
3247 logical.x > 0 (#530255).
3249 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
3251 * gtk/gtkfilechooserdefault.c:
3252 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
3255 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
3257 * tests/pixbuf-lowmem.c
3258 * tests/pixbuf-random.c
3259 * tests/pixbuf-randomly-modified.c
3260 * tests/pixbuf-read.c
3261 * tests/pixbuf-threads.c
3263 * tests/testtreeview.c: Fix remaining compiler warnings in these
3266 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
3268 reviewed by: Matthias Clasen
3273 * gtk/gtkshow.c: (gtk_show_uri):
3275 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
3277 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
3279 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
3281 * tests/buildertest.c: (test_list_store): Add test.
3283 2008-05-24 Matthias Clasen <mclasen@redhat.com>
3285 Bug 520989 – icon factory buildable too strict
3287 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
3288 an optional attribute.
3290 2008-05-24 Matthias Clasen <mclasen@redhat.com>
3292 Bug 387972 – gtkassistant drawing problem
3294 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
3295 GtkAssistant work better in glade.
3297 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
3299 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
3300 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
3301 used in GtkToolItem) (#532787).
3303 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
3305 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
3306 try to toggle the visibility of the location entry field in search and
3307 recent mode (#526422).
3309 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
3311 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
3312 (shortcuts_list_create): Show parse name as tooltip for path
3313 shortcuts (#137503).
3315 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
3317 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
3318 pango_color_parse, do not reference XParseColor forms (#434991).
3320 2008-05-24 James Sharpe <jsharpe@gnome.org>
3322 * gdk/gdk.symbols: Remove duplicate
3323 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
3324 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
3326 2008-05-23 Hans Breuer <hans@breuer.org>
3328 * **/makefile.msc gtk/makefile.msc.in : updated
3329 * gtk/gtkwidget.c : fix c99ism (variable at start of block
3330 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
3332 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
3333 setlocale(LC_ALL, ...)
3335 2008-05-23 Tor Lillqvist <tml@novell.com>
3337 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
3338 gdk_window_remove_redirection.
3340 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
3341 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
3342 changes. Remove now unnecessary parameter checks as the caller
3345 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
3347 2008-05-23 Tor Lillqvist <tml@novell.com>
3349 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
3350 anything if style doesn't change. Improve debugging output.
3352 2008-05-23 Michael Natterer <mitch@gimp.org>
3355 * tests/print-editor.c
3356 * tests/prop-editor.h
3357 * tests/testmountoperation.c
3358 * tests/testmultidisplay.c
3359 * tests/testnouiprint.c
3361 * tests/testprintfileoperation.h
3362 * tests/testtreesort.c
3363 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
3364 files. Remove some redundant includes.
3366 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
3368 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
3369 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
3371 2008-05-21 Richard Hult <richard@imendio.com>
3373 * gdk/quartz/gdkwindow-quartz.c:
3374 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
3375 offscreen rendering changes, fixes build.
3377 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
3379 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
3381 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
3382 return snapshot pixmap coordinates widget relative in *clip_rect.
3384 * tests/testgtk.c: fixed bogus NULL pointer unref.
3386 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
3388 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
3389 widget's allocation to cover extra widget windows placed outside the
3390 widget allocation (spinbutton arrows are the prime example for this).
3392 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
3394 * Applied pixmap redirection patch by Alexander Larsson with
3395 various updates from:
3396 Bug 318807 – Offscreen windows and window redirection.
3401 * updated docs to mention "Since 2.16".
3403 * tests/testgtk.c: fixed snapshooting pixmap leak.
3404 convert pixmap to pixbuf after snapshooting, to compensate for different
3405 bit depths (occurs when snapshooting ARGB visuals and displaying the
3406 pixmap in an RGB visual).
3408 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
3410 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
3411 need for it. enqueue damage notification as GDK_DAMAGE events
3412 for each painting redirection at the start of the event queue.
3413 consider windows with a redirection fully visible when invalidating,
3414 and when updating from backing store. cleaned up stale variables.
3416 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
3418 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
3419 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
3420 tree, drawingarea, text, handlebox, etc.
3421 clip the redirected window hierarchy to window sizes, the visible
3422 rectangles don't need to be taken into account here.
3423 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
3424 in case pixmap visuals could mismatch.
3426 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
3431 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
3432 of possibly obscured widgets into an offscreen pixmap.
3434 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
3435 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
3437 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
3439 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
3440 implementations here, adapted them to propagate redirects to child windows.
3441 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
3442 clipped to visible region. queue GDK_DAMAGE event delivery.
3443 gdk_window_redirect_to_drawable(): install window painting redirection.
3444 gdk_window_remove_redirection(): remove previously installed redirection.
3446 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
3447 renamed _gdk_window_new() and _gdk_window_reparent().
3449 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
3450 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
3452 * gdk/gdkevents.h: added GDK_DAMAGE event type.
3454 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
3456 * gdk/gdkinternals.h: added internal prototypes.
3458 2008-05-21 Michael Natterer <mitch@imendio.com>
3460 * gtk/gtkalignment.c
3464 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
3466 2008-05-20 Matthias Clasen <mclasen@redhat.com>
3468 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
3471 Patch by Marek Kasik.
3474 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
3476 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
3478 * modules/printbackends/file/gtkprintbackendfile.c:
3479 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
3480 get_default_page_size.
3482 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
3483 select its default paper size.
3485 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
3486 use the printer default.
3488 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
3489 if we don't have a default page setup.
3491 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
3493 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
3494 can accept NULL for none. Fixes bug #533920.
3496 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
3498 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
3499 gtk_spin_button_update): Remove two chunks of duplicated
3502 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
3504 * reverted recent unapproved changes by Yair Hershkovitz,
3505 regarding: Bug 503071 – Application direction changes to right
3506 to left even if theres no translation.
3508 2008-05-19 Richard Hult <richard@imendio.com>
3510 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
3511 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
3512 SetSystemUIMode instead of hiding and showing the menubar.
3514 2008-05-19 Federico Mena Quintero <federico@novell.com>
3516 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
3517 can't be resized until you expand the "Browse for other folders"
3520 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
3521 Removed the "get_resizable" method.
3522 (_gtk_file_chooser_embed_get_resizable): Removed.
3524 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
3526 * gtk/gtkfilechooserdefault.c: Likewise.
3528 * gtk/gtkfilechooserdialog.c
3529 (file_chooser_widget_default_size_changed): Act as if the dialog
3530 were always resizable.
3532 2008-05-19 Michael Natterer <mitch@imendio.com>
3534 * gtk/gtkcellrenderer.c
3535 * gtk/gtkcellrendererpixbuf.c
3536 * gtk/gtkcellrenderertoggle.c
3537 * gtk/gtkimagemenuitem.c
3538 * gtk/gtkmenutoolbutton.c
3539 * gtk/gtkoptionmenu.c
3540 * gtk/gtkstatusbar.c
3541 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
3543 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
3545 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
3546 g_disable_setlocale().
3548 2008-05-17 Richard Hult <richard@imendio.com>
3550 * gdk/quartz/gdkwindow-quartz.c:
3551 (gdk_window_impl_quartz_invalidate_maybe_recurse):
3552 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
3553 of g_idle_add. Add a temporary check if the window is already in
3554 the updates list, since update_area currently doesn't always match
3555 the backend's state, see bug #530801.
3557 2008-05-13 Tor Lillqvist <tml@novell.com>
3559 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
3561 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
3562 the "packet rate" of devices to zero instead of 50. This is
3563 reported to help significantly with Wacom tablet behaviour in GIMP
3564 and Inkscape. Patch from Thomas Bleeker.
3566 2008-05-12 Richard Hult <richard@imendio.com>
3568 * gdk/quartz/gdkevents-quartz.c:
3569 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
3570 as it's no longer necessary; instead the added quartz API to get
3571 the nsevent from an event should be used. Also move the global
3572 filter up so it's done before the check for window-less events.
3574 2008-05-12 Tor Lillqvist <tml@novell.com>
3576 Bug 532558 - Cannot build dll when using separate builddir
3579 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
3582 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
3584 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
3586 2008-05-12 Tor Lillqvist <tml@novell.com>
3588 Bug 532059 - Leak in win32 clipboard manipulation
3590 * gdk/win32/gdkselection-win32.c
3591 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
3594 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
3596 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
3597 gettext_initialization only once.
3599 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
3600 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
3601 with the extended functionality that was in the removed dpgettext().
3603 * gtk/gtkaccellabelc:
3605 * gtk/gtkimmulticontext.c:
3606 * gtk/gtkactiongroup.c:
3607 * gtk/gtkintl.h: use glib i18n api.
3609 2008-05-08 Richard Hult <richard@imendio.com>
3611 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
3612 currently invalidated region. Fixes bug #532048, patch by Yevgen
3615 2008-05-08 Richard Hult <richard@imendio.com>
3617 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
3618 fd's revents, not the first one. Fixes bug #531056, spotted by
3621 2008-05-07 Tor Lillqvist <tml@novell.com>
3623 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
3626 2008-05-05 Matthias Clasen <mclasen@redhat.com>
3628 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
3629 more printer status information in the print dialog.
3631 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
3632 printer-state-reasons into suitable messages and icons.
3634 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
3635 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
3636 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
3638 * gtk/gtkiconfactory.c:
3639 * gtk/gtkstock.h: New stock icons to display printer state.
3641 2008-05-07 Michael Natterer <mitch@imendio.com>
3643 * gdk/gdkinternals.h
3645 * gdk/directfb/gdkevents-directfb.c
3646 * gdk/quartz/gdkevents-quartz.c
3647 * gdk/win32/gdkevents-win32.c
3648 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
3649 order parameters src,dest and make src const.
3651 2008-05-06 Richard Hult <richard@imendio.com>
3653 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
3654 * gdk/gdkinternals.h: Add private backend data to events, and
3655 handle it when copying/freeing events. Currently only needed in
3658 * gdk/directfb/gdkevents-directfb.c:
3659 * gdk/quartz/gdkevents-quartz.c:
3660 * gdk/win32/gdkevents-win32.c:
3661 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
3662 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
3663 directfb. Implement for quartz. Part of fixing bug #473822.
3665 2008-05-05 Richard Hult <richard@imendio.com>
3667 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
3668 framework if there is one.
3670 2008-05-05 Michael Natterer <mitch@imendio.com>
3672 * gtk/gtkcellrenderercombo.h
3673 * gtk/gtkcellrendererspin.h
3674 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
3677 * gtk/gtkfilechooserdialog.h
3678 * gtk/gtkfilechooserwidget.h
3679 * gtk/gtkscalebutton.h: reorder instance and class structs to be
3682 2008-05-04 Richard Hult <richard@imendio.com>
3684 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
3685 gdk_unicode_to_keyval() worked before using the result. Makes
3686 function keys work, bug #530156. Also add F16 to the function key
3689 2008-05-04 Richard Hult <richard@imendio.com>
3691 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
3692 semicolon after if statement. Fixes bug #530963, patch from Yevgen
3695 2008-05-02 Michael Natterer <mitch@imendio.com>
3697 * gtk/gtk.h: add 15 files that were missing (they all got included
3698 indirectly by including gtk.h, so should have been here in the
3701 2008-05-02 Michael Natterer <mitch@imendio.com>
3703 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
3705 2008-05-01 Richard Hult <richard@imendio.com>
3707 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
3708 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
3710 2008-05-01 Matthias Clasen <mclasen@redhat.com>
3712 * modules/imput/imthai.c: Register the right translation domain.
3714 2008-04-30 Matthias Clasen <mclasen@redhat.com>
3716 Bug 529386 – Printing options hidden by blacklisted option
3718 * modules/printbackend/cups/gtkprintbackendcups.c
3719 (cups_printer_get_options): Fix the blacklist handling.
3720 Patch by Marek Kašík.
3722 2008-04-30 Richard Hult <richard@imendio.com>
3724 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
3727 2008-04-30 Richard Hult <richard@imendio.com>
3729 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
3730 nsevents with the gdk lock held, fixes deadlock when doing manual
3731 window resizing with threading enabled.
3733 2008-04-30 Richard Hult <richard@imendio.com>
3735 * gdk/quartz/gdkevents-quartz.c:
3736 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
3737 Alt to Alt and Cmd to Meta. This is not only more logical but also
3738 makes it easier to have Mac-like behavior.
3740 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
3742 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
3743 painting the flat box instead of recalculating it. (#437493,
3746 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
3748 Bug 529841 – incorrect position in directfb
3750 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
3752 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
3754 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
3756 2008-04-25 Michael Natterer <mitch@imendio.com>
3758 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
3759 <pango/pango-layout.h>.
3761 * gtk/gtkiconfactory.c
3765 * gtk/queryimmodules.c: remove inclusion of single files from
3766 pango, none of them was actually needed.
3768 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
3769 <pango/pango-utils.h>.
3771 2008-04-25 Michael Natterer <mitch@imendio.com>
3773 * gdk/gdkfont.h: include <pango/pango.h> instead of
3774 <pango/pango-font.h>.
3776 2008-04-25 Michael Natterer <mitch@imendio.com>
3778 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
3781 2008-04-21 Michael Natterer <mitch@imendio.com>
3783 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
3784 crashing when NULL pointers get passed.
3786 2008-04-18 Michael Natterer <mitch@imendio.com>
3788 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
3789 here have the same style.
3791 2008-04-18 Michael Natterer <mitch@imendio.com>
3793 * gtk/gtkicontheme.h
3794 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
3797 * gtk/gtkbuilderparser.c
3798 * gtk/gtklinkbutton.c
3800 * gtk/gtkrecentchooserdefault.c
3801 * gtk/gtkrecentchoosermenu.c
3802 * modules/input/gtkimcontextthai.c: remove inclusion of single
3803 files from gdk, none of the includes was actually needed.
3805 2008-04-18 Michael Natterer <mitch@imendio.com>
3807 * gdk/gdk.h: reorder one include so they are all alphabetical.
3809 2008-04-18 Michael Natterer <mitch@imendio.com>
3811 * modules/printbackends/cups/gtkprintercups.[ch]
3812 (gtk_printer_cups_get_ppd_name): change return value and local
3813 variable to const gchar* to fix warning about discarding const
3816 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
3818 * gtk/gtkrecentmanager.c:
3819 (gtk_recent_manager_set_filename): Keep the default storage
3820 file in $HOME, as we don't have a migration code in place yet.
3822 2008-04-18 Michael Natterer <mitch@imendio.com>
3824 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
3825 g_strfreev() the uris returned by g_bookmark_file_get_uris().
3827 2008-04-17 Michael Natterer <mitch@imendio.com>
3829 * gtk/gtkiconfactory.c (get_default_icons): register the
3830 GTK_STOCK_PAGE_SETUP icon.
3832 2008-04-17 Michael Natterer <mitch@imendio.com>
3834 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
3835 g_return_if_fail(tooltips != NULL);
3837 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
3839 * gtk/gtkwindow.c: Chain up in buildable_finish()
3841 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
3842 cases where g_path_get_dirname() returns "."
3844 * docs/reference/gtk/tmpl/gtklabel.sgml,
3845 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
3846 for the <attributes> tags on GtkLabel
3848 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
3850 * gtk/gtkrecentmanager.c:
3851 (gtk_recent_manager_real_changed): Fix last commit, and
3852 complete the gtk-recent-files-max-age semantics: if the
3853 property is set to 0 then purge the list.
3855 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
3857 Bug 488507 – boundless growth of .recently-used.xbel file
3858 slows down applications
3860 * gtk/gtkrecentmanager.c:
3861 (gtk_recent_manager_init),
3862 (gtk_recent_manager_real_changed),
3863 (gtk_recent_manager_set_filename),
3864 (gtk_recent_manager_clamp_to_age): Clamp the recently
3865 used resources list by the age of its items, using
3866 the newly added GtkSettings property.
3868 * gtk/gtksettings.c (gtk_settings_class_init): Add the
3869 gtk-recent-files-max-age property, controlling the
3870 maximum age of the items in the recently used resources
3873 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
3875 * gtk/gtkrecentmanager.c:
3876 (gtk_recent_manager_add_item_query_info),
3877 (gtk_recent_manager_add_item): Emit the ::changed signal
3878 at the end of the asynchronous MIME type query.
3880 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
3882 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
3885 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
3886 changes in the recently used resources storage file, and
3887 drop the timeout-based poll.
3889 * ChangeLog: Fix attribution of the patch of the previous
3892 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
3894 Bug 506062 – gtk_recent_manager_add_item does not detect mime
3897 * configure.in: Depend on gio-2.0
3899 * gtk/gtkrecentmanager.c:
3900 (gtk_recent_manager_add_item_query_info_cb),
3901 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
3902 query the MIME type of the passed URI (based on a patch by
3905 2008-04-11 Carlos Garnacho <carlos@imendio.com>
3907 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
3908 page to visited page list instead of next current page. (#527466,
3909 patch by Marcus Brinkmann)
3911 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
3913 * gtk/gtklabel.c: Added <attributes> / <attribute>
3914 custom tags to parse pango attributes into labels (#527486).
3916 * tests/buildertest.c: Added tests for GtkLabel custom
3919 2008-04-10 Carlos Garnacho <carlos@imendio.com>
3921 * gtk/gtknotebook.c (hide_drag_window): Do not call
3922 gtk_widget_set_parent_window(), using widget->window instead of NULL
3923 to unset is the wrong thing, and gtk_widget_unparent() will already
3924 take care of this (#467698, patch by Sébastien Granjoux)
3926 2008-04-08 Tor Lillqvist <tml@novell.com>
3928 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
3929 these functions with G_MODULE_EXPORT.
3931 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
3933 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
3934 (gtk_file_system_volume_render_icon):
3935 Fix fallback icon rendering size
3937 2008-04-08 Michael Natterer <mitch@imendio.com>
3939 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
3940 touchscreen-mode keynav corner case: when navigating to the parent
3941 menu, make sure we don't close two menus at the same time in case
3942 the deepest open menu has no selectable items.
3944 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
3946 * gtk/gtkwidget.c: Clarified a g_warning message regarding
3947 parsing accelerators from builder files.
3949 2008-04-03 Cody Russell <bratsche@gnome.org>
3951 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
3952 of the block. (#526021, reported by Kazuki IWAMOTO)
3954 2008-04-03 Tor Lillqvist <tml@novell.com>
3956 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
3959 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
3960 workaround for a specific kind of screwed up locale setting.
3962 2008-04-02 Matthias Clasen <mclasen@redhat.com>
3964 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
3965 colormaps. Found by Daniel Berrange.
3967 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
3969 * tests/autotestfilechooser.c: Cover
3970 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
3971 name. (#346058, Joe Halliwell)
3973 2008-04-02 Federico Mena Quintero <federico@novell.com>
3975 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
3976 chooser incorrectly substitutes and expands a ~ when you type it
3977 in the filename entry.
3979 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
3980 basenames result in a slash-terminated pathname.
3981 gtk_file_system_unix_parse() is correct, but it was splitting
3982 "/home/username" into path="/home" and file_part="username", which
3983 is not what the caller wants when the entry has just "~" or
3986 2008-04-02 Tor Lillqvist <tml@novell.com>
3988 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
3989 and gtksearchenginetracker.c on Windows.
3991 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
3994 2008-04-01 Cody Russell <bratsche@gnome.org>
3996 * configure.in: Bump required Cairo to 1.5.2.
3998 * gtk/gtkprintoperation-win32.c: Add support for using the new
3999 cairo_win32_printing_surface for printing. Also fixed to use
4000 cairo_surface_show_page(). (#488833 and #521178)
4002 2008-03-31 Cody Russell <bratsche@gnome.org>
4004 * demos/gtk-demo/printing.c (draw_page): Move down each line in
4005 units of text_height rather than in units of data->font_size.
4006 (totally awesome catch by Dom Lachowicz)
4008 2008-03-28 Richard Hult <richard@imendio.com>
4010 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
4011 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
4012 event to the mainloop and don't generate one at all if the
4013 toplevel didn't change. Use the actual window and not the toplevel
4014 as event window. These changes make the generated crossing events
4015 match the X11 behavior and fixes issues with e.g. tooltips,
4016 comboboxes and menus.
4018 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
4019 the view has no window, it will be updated as soon as it's put
4022 * gdk/quartz/gdkwindow-quartz.c:
4023 (_gdk_quartz_window_debug_highlight): Make it possible to track
4024 multiple windows with debug highlighting.
4025 (show_window_internal): Remove workaround for tooltips and popups
4026 that is no longer needed with the above changes.
4028 2008-03-26 Federico Mena Quintero <federico@novell.com>
4030 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
4031 helper function; factored out from the functions that commit the
4032 current suggested autocompletion and that refresh the entry's paths.
4033 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
4034 (_gtk_file_chooser_entry_get_file_part): Likewise.
4035 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
4036 makes the entry have the correct paths when *not* using any form
4037 of completion (and makes the file chooser work when clicking the
4040 2008-03-25 Richard Hult <richard@imendio.com>
4042 * gdk/quartz/gdkevents-quartz.c:
4043 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
4044 can't find a matching window.
4046 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
4047 comment, and only trigger an event for non-temp windows, fixes
4048 problems for tooltips caused by the workarounds for the
4049 problematic tracking rect API.
4051 2008-03-25 Richard Hult <richard@imendio.com>
4053 * gdk/quartz/gdkwindow-quartz.c:
4054 (gdk_window_quartz_process_all_updates): Plug a leak and add a
4055 check that we have a toplevel before accessing it.
4057 2008-03-24 Tor Lillqvist <tml@novell.com>
4059 Bug 524151 - Dragging of 0-byte files results in an empty filename
4060 on Windows XP and above
4062 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
4063 being empty first. For some reason ISHellLink and IPersistFile
4064 succeeds in interpreting empty files as shortcuts, claiming the
4065 target of the shortcut is an empty path.
4067 Change the function to take the wide character file name that the
4068 caller already has anyway, to avoid a superfluous conversion from
4071 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
4073 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
4074 against NULL pointer. (#467051, Gian Mario Tagliaretti)
4076 2008-03-23 Cody Russell <bratsche@gnome.org>
4078 * gdk/win32/gdkevents-win32.c (show_window_recurse):
4079 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
4080 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
4081 menus from a maximized window would force the window to restore
4084 2008-03-23 Johan Dahlin <johan@gnome.org>
4086 * gtk/gtk-builder-convert:
4087 Properly convert GtkImageMenuItems which use stock labels but don't
4089 (#523932, Brian Pepple)
4091 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
4093 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
4094 New function implements GtkCellLayoutClass::get_cells. (#523787)
4096 2008-03-22 Tor Lillqvist <tml@novell.com>
4098 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
4100 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
4101 GDK_THREADS_LEAVE() call. Approved by mclasen.
4103 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
4105 * gtk/gtkexpander.c (gtk_expander_get_label):
4106 gtk_label_get_label() should be used instead of
4107 gtk_label_get_text(). (#353088, Xan Lopez)
4109 2008-03-21 Tor Lillqvist <tml@novell.com>
4111 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
4112 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
4113 gdip-pixbuf-loader module.
4115 * configure.in: Add switch --disable-gdiplus-loaders that disables
4116 building of the GDI+ loaders.
4118 When including loaders in the gdk-pixbuf library, and building
4119 GDI+ loaders, either build in all the GDI+ loaders or none of
4120 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
4121 signal building them in.
4123 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
4124 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
4125 indicate whether they should be built-in.
4127 For the rest of the changes, see gdk-pixbuf/ChangeLog.
4129 2008-03-20 Tor Lillqvist <tml@novell.com>
4131 * gtk/Makefile.am: Revert accidental change that went in as part
4132 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
4133 Darwin. On Windows one has to use a newer GNU grep that has -o,
4134 for instance the one from gnuwin32, instead of the oldish one in
4135 MSYS that doesn't have -o.
4137 2008-03-20 Tor Lillqvist <tml@novell.com>
4139 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
4140 pass NULL for %s to g_message().
4141 (main): Drop unnecessary call to gtk_widget_destroy().
4143 2008-03-20 Tor Lillqvist <tml@novell.com>
4145 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
4147 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
4148 in one dimension, or centered in case it doesn't fit.
4149 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
4152 2008-03-18 Tor Lillqvist <tml@novell.com>
4154 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
4156 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
4157 G_MODULE_ENTRY decoration can be put in a more correct place.
4159 2008-03-18 Sven Neumann <sven@gimp.org>
4161 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
4162 alternative button order on the password dialog.
4164 2008-03-18 Tor Lillqvist <tml@novell.com>
4166 Bug 99192 - Add --with-include-input-modules
4168 * configure.in: Add --with-included-immodules switch. Handled in a
4169 similar way as the --with-included-loaders switch. For each input
4170 method module foo: Collect the list of input modules to be built
4171 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
4172 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
4173 Define Automake conditionals INCLUDE_IM_FOO.
4175 * modules/input/Makefile.am: For modules to be included in libgtk,
4176 build a static library.
4178 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
4179 gdk-pixbuf to get unique names for the functions called by libgtk
4180 in the included case. Use G_MODULE_EXPORT in the non-included case
4181 so that we don't unnecessarily export unneeded random global
4184 * gtk/Makefile.am: Build the included modules and link them into libgtk.
4186 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
4187 copy/paste leftover mentions of "themes" in comments.
4189 2008-03-18 Tor Lillqvist <tml@novell.com>
4191 * tests/Makefile.am: Build testmountoperation only on Unix for now.
4193 2008-03-17 Christian Kellner <gicmo@gnome.org>
4195 Implement GtkMountOperation, a subclass of GMountOperation
4196 to be used with gio wherever there is the need to ask the
4197 user for credentials or questions while mounting a volume.
4200 * gtk/gtkmountoperation.c:
4201 * gtk/gtkmountoperation.h:
4202 Implement GtkMountOperation.
4204 * gtk/gtk.h: Add gtkmountoperation.h
4205 * gtk/Makefile.am: Add gtkmountoperation.[hc]
4206 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
4207 * tests/testmountoperation.c: Test program for it.
4208 * tests/Makefile.am: Add testmountoperation.
4210 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
4212 * gtk/gtkcontainer.c: Properly document
4213 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
4215 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
4217 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
4218 style names for the ComboBox thickness style
4220 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
4222 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
4223 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
4224 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
4225 intelligent separation for the xp theming engine and the classic
4226 theme while drawing the GtkComboBox button. combobox_draw_arrow
4227 is not used anymore, commented. The style has been updated to fix
4228 border/thickness glitches in the combobox according to the fixes
4229 commited regarding bug #521442. (bug #461805)
4231 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
4233 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
4234 now aware of both the combobox and frame (if has-frame is set)
4235 thickness and border. (bug #521442)
4237 2008-03-15 Andre Klapper <a9016009@gmx.de>
4239 * configure.in: Added "si" to ALL_LINGUAS.
4241 2008-03-15 Matthias Clasen <mclasen@redhat.com>
4243 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
4244 Set window type hint on the search popup. (#522279, Danny Baumann)
4246 2008-03-15 Matthias Clasen <mclasen@redhat.com>
4248 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
4249 appropriate. (#521934, Huang Peng)
4251 2008-03-14 Michael Natterer <mitch@imendio.com>
4254 * gtk/gtkbuilderprivate.h
4255 * gtk/gtkfilechoosersettings.c
4256 * gtk/gtksearchenginesimple.c
4257 * gtk/tests/liststore.c
4258 * gtk/tests/treestore.c: remove single-file includes of GLib
4259 headers or replace them by <glib.h> where needed.
4261 2008-03-14 Michael Natterer <mitch@imendio.com>
4263 * gtk/gtkadjustment.c: coding style cleanup.
4265 (gtk_adjustment_set_property): no need to call g_object_notify()
4266 on the set properties.
4268 Implement GObject::dispatch_properties_changed() and make sure we
4269 emit "changed" when anything but the "value" property changes.
4271 2008-03-14 Tor Lillqvist <tml@novell.com>
4273 * gdk/win32/gdkevents-win32.c: Drop the support for the
4274 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
4275 Win95. Thanks to mitch for noticing this obsolete code.
4277 2008-03-14 Cody Russell <bratsche@gnome.org>
4279 * examples/scribble-xinput/scribble-xinput.c: Changed
4280 'void int main()' to 'int main()'. (#522211, Liqing Huang)
4282 2008-03-14 Richard Hult <richard@imendio.com>
4284 * gdk/quartz/gdkwindow-quartz.c:
4285 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
4286 only flush the toplevel once per update.
4288 2008-03-13 Federico Mena Quintero <federico@novell.com>
4290 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
4291 Set the mouse cursor of the feedback window to invisible, so that
4292 we respect GtkEntry's invisible cursor while typing.
4294 2008-03-13 Federico Mena Quintero <federico@novell.com>
4296 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
4297 the feedback window at entry_height/2 pixels to the right of the
4298 cursor, for a cheap "M-width / 2" spacing.
4300 2008-03-13 Sven Neumann <sven@gimp.org>
4302 * gtk/gtkfilechooserdefault.c
4303 * gtk/gtkprintunixdialog.c: set alternative button order for
4304 overwrite confirmation dialogs (bug #522191).
4306 2008-03-13 Sven Neumann <sven@gimp.org>
4308 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
4309 (overwrite_confirmation_dialog): added some line-breaks for
4312 2008-03-12 Federico Mena Quintero <federico@novell.com>
4314 Rework the way completion works in GtkFileChooserEntry. Fixes
4315 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
4316 Tab completion should work even if the cursor is not at the end of
4319 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
4322 We distinguish between two cases:
4324 - autocompletion - happens only in the Open modes by
4325 inserting and selecting the common prefix as you type.
4327 - explicit completion - happens when you hit Tab.
4329 When some type of completion needs to happen, the entry first
4330 parses its input and sees if it needs to initiate a folder load.
4331 Completion will not happen until the folder finishes loading.
4333 If the folder is already completely loaded, then completion is
4334 performed immediately. Otherwise, the entry queues a pending
4335 completion and starts loading the new folder (or waits until the
4336 current folder is completely loaded).
4338 Tab completion is allowed to happen even if the cursor is not at
4339 the end of the entry.
4341 There is a new feedback mechanism for explicit completion, so that
4342 you will get an Emacs-like tip whenever there are ambiguities in
4343 completion, no matches, etc. (This needs to be polished so that
4344 we support RTL entries and all the fancy Pango layout in GtkEntry).
4346 The only remaining thing to fix is the popup suggestion window.
4347 Unfortunately, GtkEntryCompletion does not let us do what we want,
4348 and will need further changes.
4350 2008-03-12 Tor Lillqvist <tml@novell.com>
4352 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
4354 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
4355 for the TaskbarCreated message in the window procedure for the
4356 dummy "tray observer" window we create. When we get a
4357 TaskbarCreated message, iterate over the status icons and re-add
4358 them to the task bar, and update them by calling
4359 gtk_status_icon_update_image().
4361 Move some ifdefs around to avoid unused functions.
4363 2008-03-12 Tor Lillqvist <tml@novell.com>
4365 * config.h.win32.in: Update to match what configure produces.
4367 2008-03-12 Jens Granseuer <jensgr@gmx.net>
4369 * modules/printbackends/cups/gtkprintbackendcups.c:
4370 (cups_printer_prepare_for_print): Don't define variables in the
4371 middle of a block. (#522067)
4373 2008-03-12 Matthias Clasen <mclasen@redhat.com>
4375 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
4376 dialog for print-to-file. (#474302, Marek Kašík)
4378 2008-03-12 Matthias Clasen <mclasen@redhat.com>
4380 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
4381 (#469210, Wouter Bolsterlee)
4383 2008-03-12 Matthias Clasen <mclasen@redhat.com>
4385 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
4386 paper_size here. (#488820, Morten Welinder)
4388 2008-03-12 Michael Natterer <mitch@imendio.com>
4390 * acconfig.h: remove this deprecated file.
4392 * configure.in: added comments to all instances of AC_DEFINE() so
4393 config.h can be completely generated from configure.in.
4395 2008-03-12 Michael Natterer <mitch@imendio.com>
4397 * modules/printbackends/cups/gtkprintbackendcups.c: include
4398 <glib/gstdio.h> for g_fopen().
4400 2008-03-11 Matthias Clasen <mclasen@redhat.com>
4402 * modules/printbackends/cups/gtkprintbackendcups.c: Use
4403 g_ascii_formatd when formatting custom paper sizes, since
4404 cups doesn't handle , as decimal separator. (#521548)
4406 2008-03-11 Tor Lillqvist <tml@novell.com>
4408 Bug 469868 - Filenames with colon ":" are not saved correctly
4410 * gtk/gtkfilechooserentry.c (insert_text_callback)
4411 (delete_text_callback) [Win32]: New functions to make sure that
4412 colons used otherwise than as a separator after a drive letter, or
4413 characters that are always illegal in file names, are rejected on
4414 input. This means that the GTK+ file chooser can't be used to
4415 input full names of alternate data streams, but oh well. There are
4416 still more checks that could be done on the file names, see the
4417 bug report. But this will do for now.
4418 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
4420 2008-03-11 Jordi Mallach <jordi@sindominio.net>
4422 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
4424 2008-03-11 Michael Natterer <mitch@imendio.com>
4426 * gdk/linux-fb/*: removed linux-fb backend files.
4430 * docs/README.linux-fb
4431 * gtk/Makefile.am: remove remaining traces of linux-fb.
4433 * gtk/gtkwindow-decorate.c: same here. There is some code that
4434 calls into linux-fb to set window move/resize callbacks. I put it
4435 in #if 0 as a reminder because we did use decorated windows with
4436 the DirectFB backend and it did work, so I don't really know why
4437 this code is needed or how it could work with DirectFB back then.
4438 The file does actually compile now if DECORATE_WINDOWS is defined,
4439 but I didn't test with DirectFB to check if it does anything.
4441 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
4443 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
4444 Take thickness into account in the size allocation of the child widgets in
4448 2008-03-11 Richard Hult <richard@imendio.com>
4450 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
4452 2008-03-10 Tor Lillqvist <tml@novell.com>
4454 * tests/teststatusicon.c (do_exit, popup_menu): Add the
4455 possibility to test what happens if the process just calls exit()
4456 without any orderly cleanup of GTK+.
4458 2008-03-10 Tor Lillqvist <tml@novell.com>
4460 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
4462 2008-03-10 Tor Lillqvist <tml@novell.com>
4464 Bug 520286 - Non-deletable window has no minimize / maximize buttons
4466 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
4467 New debugging output function that decodes a set of WS_* bits.
4469 * gdk/win32/gdkprivate-win32.h: Declare it.
4471 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
4472 New function that enables or disables one menu entry in the system
4473 menu of a top-level window. (The corresponding decoration will
4474 then also be enabled or disabled (grayed).)
4476 (update_style_bits): Do as the comment says and don't try to
4477 update the window style based on the GdkWMFunctions set for the
4480 (update_system_menu): New function that enables or disables the
4481 system menu entries based on a window's stored set of
4484 (gdk_window_set_functions): Call update_system_menu() instead of
4485 update_style_bits().
4487 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
4489 * README.in: Reword the 2.14 release notes entry about the
4490 deprecation of the gtkitemfactory.h header, and fix typos
4493 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
4495 * modules/engines/ms-windows/msw_style.c (draw_shadow):
4496 Do not draw frame if parent if combobox.
4498 Uses scrollbar width system metrics for combobox button.
4499 Fixes #461805 for XP theme engine.
4501 2008-03-07 Johan Dahlin <johan@gnome.org>
4504 * gtk/gtkbuilderparser.c:
4505 * gtk/gtkbuilderprivate.h:
4506 * gtk/gtkiconfactory.c:
4507 * tests/buildertest.c:
4508 - Treat enums like enums and not values
4509 - Avoid invalid free, in case of more than two sources
4510 - Add better error messages
4511 - Add much improved tests
4512 (#520979, Christian Persch)
4514 2008-03-07 Carlos Garnacho <carlos@imendio.com>
4516 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
4519 2008-03-06 Federico Mena Quintero <federico@novell.com>
4521 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
4522 GtkFileChooserDialog should set a default response button if the
4523 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
4525 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
4526 function, refactor from where there was duplicated code.
4527 (gtk_file_chooser_dialog_map): Look at the buttons in our
4528 action_area. If the response ID for a button is one of the stock
4529 ones, make it the default response button.
4531 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
4533 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
4535 * gtk/gtkbuilderprivate.h:
4536 * gtk/gtkiconfactory.c:
4537 * tests/buildertest.c:
4538 Implement GtkBuildable on GtkIconFactory, to make
4539 it possible to register custom stock icons.
4542 2008-03-06 Johan Dahlin <johan@gnome.org>
4546 * gtk/gtkstyle.c: npoints->n_points.
4547 * gtk/gtktestutils.h: widget->spinner
4548 * gtk/gtktestutils.c: argc->argcp, argv->argvp
4550 2008-03-06 William Lachance <wrlach@gmail.com>
4552 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
4553 string localizable (as it should be).
4555 2008-03-06 William Lachance <wrlach@gmail.com>
4557 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
4558 the time for today's date. It's redudant. (see bug #410517).
4560 2008-03-06 Xan Lopez <xan@gnome.org>
4562 * gtk/gtkfixed.c: fix typo in documentation.
4564 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
4566 * gtk/gtkitemfactory.h:
4567 * gtk/gtktypeutils.h:
4568 Move GtkTranslateFunc to gtktypeutils.h so we can completely
4569 deprecate gtkitemfactory.h.
4571 * gtk/gtkactiongroup.h:
4573 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
4576 Add a note describing this slight incompatible change
4578 2008-03-06 Johan Dahlin <johan@gnome.org>
4580 * gtk/gtkpreview.h: Avoid double-deprecation.
4582 2008-03-06 Michael Natterer <mitch@imendio.com>
4585 * gtk/Makefile.am: move the remaining deprecated widgets to the
4586 separate sections and replaced spaces by tabs in Makefile.am
4588 2008-03-05 Johan Dahlin <johan@gnome.org>
4590 * configure.in: Add --disable-cups option.
4591 (#513826, Alberto Ruiz)
4595 Separate broken and deprecated sources and headers into different sections
4597 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
4599 2008-03-05 Kristian Rietveld <kris@imendio.com>
4601 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
4602 short-circuit in case an empty root level would be build (and thus
4603 directly destroyed) if no virtual root has been set.
4605 2008-03-04 Matthias Clasen <mclasen@redhat.com>
4607 * modules/printbackends/cups/gtkprintbackendcups.c:
4608 Honor cups user default options from ~/.cups/lpoptions
4609 (#469210, Stijn Hoop)
4611 2008-03-04 Michael Natterer <mitch@imendio.com>
4614 * gtk/gtkcolorbutton.c
4615 * gtk/gtkentrycompletion.c
4616 * gtk/gtkfontbutton.c
4620 * gtk/gtkpreview.c: don't include "gtksignal.h".
4622 * gtk/gtkfilefilter.c
4623 * gtk/gtkrecentchoosermenu.c
4624 * gtk/gtkrecentfilter.c
4625 * gtk/gtktext.c: don't include "gtkobject.h".
4627 2008-03-04 Simos Xenitellis <simos@gnome.org>
4629 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
4630 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
4632 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
4635 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
4636 file, contains compose sequences that used to exist in
4637 gtk/gtkimcontextsimple.c
4639 * gtk/compose-parse.py: Script to generate compose
4640 sequences from upstream (Xorg).
4642 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
4643 check_algorithmically): New functions. First two search in
4644 gtk_compose_seqs_compact[] for matching compose sequence, third
4645 tries NFC normalisation on incoming compose sequence.
4646 (gtk_im_context_simple_filter_keypress):
4647 Adds searching with check_compact_table(), check_algorithmically().
4649 2008-03-03 Carlos Garnacho <carlos@imendio.com>
4651 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
4652 scrollwheel work in GtkPathBar.
4654 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
4656 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
4657 an input-only window, event_window, which we'll use to capture
4659 (gtk_path_bar_map): Show the event_window under the rest of the
4660 windows, so it will be a catch-all for unhandled events.
4662 2008-03-03 Sven Neumann <sven@gimp.org>
4664 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
4665 typo in the documentation of the GtkFileChooserButtons::file-set
4666 signal (see bug #353196).
4668 2008-03-03 Tor Lillqvist <tml@novell.com>
4670 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
4673 2008-03-02 Johan Dahlin <johan@gnome.org>
4675 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
4676 Remove left-over focus_pad variable.
4677 (#490892, Claudio Saavedra)
4679 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
4680 (#518166, Matt Kraai)
4682 2008-03-02 Johan Dahlin <johan@gnome.org>
4684 * docs/tutorial/gtk-tut.sgml: Add a missing space
4685 (#517954, Matt Kraai)
4687 2008-03-03 Tor Lillqvist <tml@novell.com>
4689 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
4690 the widget is a GtkButton before casting.
4692 2008-03-02 Johan Dahlin <johan@gnome.org>
4694 * configure.in: Compare using = instead of ==, which is portable.
4695 (#490787, Thomas Klausner)
4697 2008-03-02 Johan Dahlin <johan@gnome.org>
4699 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
4700 fixes non-C++ build.
4701 (#496032, Nelson Benitez)
4703 2008-02-29 Johan Dahlin <johan@gnome.org>
4705 * demos/gtk-demo/demo.ui:
4706 * gtk/gtkbuilderparser.c:
4707 * gtk/gtkbuilderprivate.h:
4708 * gtk/gtkliststore.c:
4709 * tests/buildertest.c:
4710 Add translatable/context and comment attributes on
4711 <col> tags under a GtkListStore. Refactor parts of the
4712 translation api and make it available inside gtk+ itself.
4713 Update tests and example.
4714 Fixes a part of #518642
4716 2008-02-29 Johan Dahlin <johan@gnome.org>
4719 Add missing g_return_val_if_fail checks for public API.
4721 * gtk/gtkbuilderparser.c:
4722 * gtk/gtkbuilderprivate.h:
4723 Do not use g_error for a few more errors, instead set
4724 the GError sent in through add_from_file/add_from_string.
4725 * tests/buildertest.c:
4726 Add a couple of new parsing tests.
4727 (#519199, Pavel Syomin)
4729 2008-02-29 Federico Mena Quintero <federico@novell.com>
4731 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
4732 refreshing an existing folder (i.e. when we are about to reload
4733 its file list), turn off the folder's is_finished_loading flag.
4734 Otherwise callers which do ::is_finished_loading() followed by
4735 ::list_children() will get nothing.
4737 2008-02-29 Cody Russell <bratsche@gnome.org>
4739 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
4740 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
4742 2008-02-28 Matthias Clasen <mclasen@redhat.com>
4744 * gtk/gtkcalendar.h: Remove trailing comma from enum to
4745 make the compiler happy. (#517295, Sylvain Pasche)
4747 2008-02-27 Michael Natterer <mitch@imendio.com>
4749 * gtk/gtkmenushell.c
4752 * gtk/gtktipsquery.c
4757 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
4758 private functions and virtual function implementations.
4760 2008-02-27 Richard Hult <richard@imendio.com>
4762 * gdk/quartz/GdkQuartzView.c:
4763 * gdk/quartz/GdkQuartzView.h:
4764 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
4765 Fix performance regression for borderless transparent windows
4768 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
4770 * tests/testgtk.c: Revert back to r19454.
4772 2008-02-27 Sven Neumann <sven@gimp.org>
4774 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
4775 Quartz backend, use a native Mac OS X application for the print
4776 preview (bug #518624).
4778 2008-02-26 Michael Natterer <mitch@imendio.com>
4780 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
4781 the members of info->tag_stack since they are a) gobjects and b)
4782 not even owned by us, ugh... Fixes crash when deserializing fails.
4784 2008-02-26 Sven Neumann <sven@gimp.org>
4786 * docs/tools/shooter.c (find_toplevel_window)
4787 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
4788 argument passed to XQueryTree().
4790 2008-02-25 Matthias Clasen <mclasen@redhat.com>
4792 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
4793 don't use beagle_query_add_hit_type.
4795 2008-02-25 Richard Hult <richard@imendio.com>
4797 * gdk/quartz/gdkevents-quartz.c
4798 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
4800 2008-02-24 Richard Hult <richard@imendio.com>
4802 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
4803 shown without gdk's control when clicking the dock icon.
4805 2008-02-24 Richard Hult <richard@imendio.com>
4807 * gdk/quartz/gdkprivate-quartz.h:
4808 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
4809 Use the subtype field for the custom event that is used to wake up
4810 the mainloop so we can have other custom event types.
4812 * gdk/quartz/gdkevents-quartz.c:
4813 (_gdk_quartz_events_trigger_crossing_events):
4814 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
4815 crossing events after showing a window if necessary, to work
4816 around problems with the tracking rect API.
4818 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
4820 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
4821 wrong results on win32 because it doesn't set the printing units,
4822 which affect the transformation of the cairo context
4823 (#347125, Erik van Pienbroek)
4825 2008-02-22 Tor Lillqvist <tml@novell.com>
4827 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
4829 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
4831 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
4832 acceptable for a module to only support the save_to_callback()
4833 method if it marks itself as WRITABLE
4835 2008-02-16 Matthias Clasen <mclasen@redhat.com>
4837 * configure.in: Bump version
4839 2008-02-16 Matthias Clasen <mclasen@redhat.com>
4841 * === Released 2.13.0 ===
4843 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
4845 2008-02-21 Tor Lillqvist <tml@novell.com>
4847 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
4848 pass the format string to strftime in the C library's locale's
4849 charset, not the system's. Correspondingly, the return value from
4850 strftime() is in the C library's locale's charset. (#509885)
4852 2008-02-20 Richard Hult <richard@imendio.com>
4854 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
4855 the right window level and shadow after recreating the window.
4857 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
4858 necessary after drawing (bug #517338).
4860 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
4862 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
4863 call to g_type_class_unref in case of error. (#517563)
4865 2008-02-18 Sven Neumann <sven@gimp.org>
4867 * gtk/Makefile.am (STOCK_ICONS)
4868 * gtk/stock-icons/16/gtk-page-setup.png
4869 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
4870 taken from GNOME icon theme.
4872 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
4874 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
4876 * configure.in: Added Kannada (kn) to ALL_LINGUAS
4878 2008-02-17 Johan Dahlin <johan@gnome.org>
4880 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
4881 When converting a stock item based on the label, remove the label property.
4883 2008-02-17 Richard Hult <richard@imendio.com>
4885 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
4886 position after showing the window since the window manager might
4887 not place it where we requested in the first places.
4889 2008-02-17 Richard Hult <richard@imendio.com>
4891 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
4892 (_gdk_quartz_window_detach_from_parent),
4893 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
4894 the toplevel ordering list in all places where the order is
4895 potentially changed. Fixes mouse focus issues for windows with
4896 a transient parent set.
4898 2008-02-17 Richard Hult <richard@imendio.com>
4900 * gdk/quartz/gdkevents-quartz.c
4901 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
4902 window when event debugging is enabled.
4904 2008-02-16 Richard Hult <richard@imendio.com>
4906 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
4907 to the scroll event (bug #516757, Paul Davis).
4909 2008-02-16 Matthias Clasen <mclasen@redhat.com>
4913 2008-02-16 Matthias Clasen <mclasen@redhat.com>
4915 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
4918 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4920 * gdk/Makefile.am: Don't install private headers. (#463510)
4922 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
4923 the installed header gdkprivate.h.
4925 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4927 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
4928 a crash with hidden, reorderable tabs. (#513230,
4929 Mike Massonnet, patch by Carlos Garnacho)
4931 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4933 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
4934 Warn on duplicate action group names. (#501746, Christian
4937 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4940 * modules/other/gail/tests/Makefile.am:
4941 * modules/other/gail/libgail-util/Makefile.am:
4942 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
4943 builds. (#516254, Yevgen Muntyan)
4945 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4950 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
4951 instead of hardcoded target tables. (#516092, Christian Persch)
4953 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4955 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
4956 add the same target atom twice. (#516087, Christian Persch)
4958 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4960 * tests/testfilechooser.c: Add a --backend option.
4961 (#516073, Christian Persch)
4963 2008-02-16 Richard Hult <richard@imendio.com>
4965 * gdk/quartz/gdkprivate-quartz.h:
4966 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
4969 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4971 * configure.in: Go back to 2.13.0 as version for now,
4972 as there was no consensus to do the jump.
4974 * many other places: Update Since: tags.
4976 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4978 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
4980 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
4982 2008-02-15 Richard Hult <richard@imendio.com>
4984 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
4985 instead of bounds when resizing windows.
4987 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4989 * gdk/x11/gdkkeys-x11.c:
4990 * gdk/x11/gdkcolor-x11.c:
4991 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
4993 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4995 * gdk/x11/gdktestutils-x11.c:
4996 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
4998 2008-02-15 Tor Lillqvist <tml@novell.com>
5000 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
5001 leak Registry key handles. (#516578)
5003 2008-02-14 Richard Hult <richard@imendio.com>
5005 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
5006 makeKeyWindow unfortunately doesn't work in all cases, we must use
5007 makeKeyAndOrderFront.
5009 2008-02-14 Richard Hult <richard@imendio.com>
5011 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
5012 (gdk_window_hide), (gdk_window_fullscreen),
5013 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
5014 the window is hidden.
5016 2008-02-14 Richard Hult <richard@imendio.com>
5018 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
5019 resizing to be consistent and to avoid introducing an internal
5020 transform in the view.
5022 2008-02-14 Richard Hult <richard@imendio.com>
5024 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
5027 2008-02-14 Johan Dahlin <johan@gnome.org>
5029 * gdk/gdktestutils.h
5030 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
5032 2008-02-13 Richard Hult <richard@imendio.com>
5034 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
5035 Remove unused variables.
5036 (gtk_clipboard_set_contents),
5037 (gtk_clipboard_get_owner), (clipboard_unset),
5038 (gtk_clipboard_request_targets): Notify the previous clipboard
5039 owner when the owner changes. Fixes bug #493406.
5041 2008-02-13 Richard Hult <richard@imendio.com>
5043 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
5044 the return value (return number of colors that failed), and handle
5046 (gdk_colormap_free_colors): Fix typo in comment.
5048 2008-02-13 Kristian Rietveld <kris@imendio.com>
5050 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
5051 queue a redraw if the rubber banding has actually been active.
5053 2008-02-12 Matthias Clasen <mclasne@redhat.com>
5055 * gtk/gtkpapersize.c:
5056 * gtk/gtkprintoperation.c:
5057 * gtk/gtkvolumebutton.c:
5058 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
5059 out by Behdad Esfahbod.
5061 2008-02-12 Federico Mena Quintero <federico@novell.com>
5063 Merged from gtk-2-12:
5065 Don't focus the file list when shortcuts get activated. This
5066 removes a lot of ambiguity in when the file selection should
5067 change, and makes the overall code flow simpler.
5069 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
5070 file/save dialog clears the filename entry when changing
5073 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
5074 focus should not go to the file list when a shortcut is activated.
5076 * gtk/gtkfilechooserdefault.c
5077 (shortcuts_activate_volume_mount_cb): Don't focus the file list
5078 (shortcuts_activate_get_info_cb): Likewise.
5080 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
5081 the file list (this was the last place where we would focus the
5082 file list explicitly). If you are in the location entry, for
5083 example, you don't want Alt-Home to take you to the file list; you
5084 just want the current folder to change. Thanks to Olle Bergkvist
5085 <olle.bergkvist@yahoo.se> for pointing this out in
5086 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
5087 (focus_browse_tree_view_if_possible): Removed.
5089 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5091 Skip exensions when selecting filenames in the save-as dialog.
5092 (#362516, Carlos Garnacho)
5094 * gtk/gtkfilechooserentry.h:
5095 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
5096 New function to skip the extension part when selecting a filename.
5097 (_gtk_file_chooser_entry_set_base_folder): Use it here.
5099 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
5102 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5104 * gtk/gtkiconview.c: Fix state change reporting for
5105 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
5107 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
5109 * gtk/gtkrecentchooser.c:
5110 (gtk_recent_chooser_class_init): Set the default value of the
5111 :show-not-found property to TRUE, as every implementation sets
5114 * gtk/gtkrecentchooserdefault.c:
5115 (_gtk_recent_chooser_default_init): Sync show_tips to the
5116 default value of the :show-tips property.
5118 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5120 * gtk/gtkclipboard-quartz.c:
5122 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
5125 2008-02-12 Kristian Rietveld <kris@imendio.com>
5127 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
5128 (gtk_tree_view_real_toggle_cursor_row): guard against people
5129 deleting the row in question in the selection-changed callback.
5130 (#514621, Andreas Koehler).
5132 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5134 * gtk/*.c: Unify the handling of various "Enter" keysyms
5135 all over the place. (#515047, Christian Persch)
5137 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5139 * gtk/gtkfilesystemmodel.c:
5141 * gtk/gtkwidget.c: Use g_value_set_static_string() where
5142 appropriate. (#515042, Christian Persch)
5144 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5146 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
5148 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5150 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
5152 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5154 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
5155 (recent_model_sort_drag_data_get):
5156 (search_model_sort_drag_data_get):
5157 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
5158 * gtk/gtkpathbar.c (button_drag_data_get_cb):
5159 Use gtk_selection_data_set_uris() instead of doing it
5160 by hand. (#514890, Christian Persch)
5162 2008-02-12 Michael Natterer <mitch@imendio.com>
5164 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
5165 gtk_get_current_event_time().
5167 2008-02-12 Michael Natterer <mitch@imendio.com>
5169 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
5170 gtk_window_get_key_hash() to get the hash instead of manually
5171 fiddling with quarks and gtk_window_keys_changed(). Also add
5172 g_return_if_fail() to this public function.
5174 2008-02-11 Matthias Clasen <mclasen@redhat.com>
5176 Support keynav in status icons. (#473786, Li Yuan)
5178 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
5180 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
5182 2008-02-11 Kristian Rietveld <kris@imendio.com>
5184 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
5185 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
5186 wrt. link deletion from list; contination of fix for #503569.
5188 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
5190 * gtk/gtkrecentchoosermenu.c:
5191 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
5192 on the placeholder menu item.
5194 * tests/testrecentchoosermenu.c:
5195 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
5196 whether the placeholder menu item gets shown.
5198 2008-02-10 Cody Russell <bratsche@gnome.org>
5200 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
5201 Check the return value of _gtk_file_chooser_get_file_system () for
5202 NULL before passing it to gtk_file_system_path_to_uri ().
5203 (#515667, Francesco Montorsi)
5205 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
5207 * gtk/gtkbuilder.c: Improve the documentation for
5208 gtk_builder_connect_signals. (#514471)
5210 2008-02-10 Matthias Clasen <mclasen@redhat.com>
5212 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
5215 2008-02-08 Cody Russell <bratsche@gnome.org>
5217 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
5218 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
5220 2008-02-08 Richard Hult <richard@imendio.com>
5222 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
5223 delta from the NSEvent for now, generating multiple scroll events
5224 results in a lot of events getting queued up and things get really
5227 2008-02-08 Sven Herzberg <sven@imendio.com>
5229 Adjust the code to match the documentation, examples, "common sense"
5230 and existing applications.
5232 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
5233 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
5236 2008-02-07 Cody Russell <bratsche@gnome.org>
5238 * gdk/win32/gdkevents-win32.c
5239 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
5240 of a block that were causing compile problems on old
5241 compilers. (#515053, reported by Kazuki IWAMOTO)
5243 2008-02-07 Michael Natterer <mitch@imendio.com>
5250 * gtk/gtkmenushell.c
5252 * gtk/gtkoptionmenu.c
5256 * gtk/gtkradiomenuitem.c
5258 * gtk/gtkscrolledwindow.c
5259 * gtk/gtksocket.c: remove g_return_if_fail() from private
5260 functions and virtual function implementations.
5262 2008-02-07 Michael Natterer <mitch@imendio.com>
5265 * gtk/gtkassistant.c
5269 * gtk/gtkcellrenderercombo.c
5272 * gtk/gtkdrawingarea.c
5273 * gtk/gtkentrycompletion.c
5279 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
5280 functions and virtual function implementations.
5282 2008-02-07 Christian Persch <chpe@gnome.org>
5284 * gdk/gdkpixbuf-render.c:
5285 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
5286 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
5287 otherwise there will be random pixel values in the semi-transparent
5288 area of the pixbuf within the mask. Bug #487865.
5290 2008-02-06 Cody Russell <bratsche@gnome.org>
5292 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
5293 otherwise things get wonky when you click on a menu. This fixes
5294 a regression caused in #505928. Thanks to Tor for spotting this
5297 2008-02-06 Michael Natterer <mitch@imendio.com>
5299 * gtk/gtkcontainer.c
5306 * gtk/gtkmenushell.c
5308 * gtk/gtkseparatortoolitem.c
5310 * gtk/gtktextlayout.c
5311 * gtk/gtktoggletoolbutton.c
5312 * gtk/gtktoolbutton.c
5315 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
5318 2008-02-05 Matthias Clasen <mclasen@redhat.com>
5320 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
5321 Allow to store half-open ranges.
5323 2008-02-05 Cody Russell <bratsche@gnome.org>
5325 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
5326 down the stack until we get to a window that is mapped.
5327 Otherwise hiding a window will cause all windows in the app
5328 to be blocked. (#514643)
5330 2008-02-05 Matthias Clasen <mclasen@redhat.com>
5332 * gtk/updateiconcache.c: Ignore images in the toplevel theme
5333 directory, avoiding one source of invalid caches that has been
5334 spotted in the wild.
5336 2008-02-05 Matthias Clasen <mclasen@redhat.com>
5338 * gtk/updateiconcache.c: Fix the previous commit to compile.
5340 2008-02-05 Matthias Clasen <mclasen@redhat.com>
5342 * gtk/updateiconcache.c: Install a printerr handler that
5343 prepends the program name, since gtk-update-icon-cache output
5344 often appears in the middle of other output, e.g. rpm update logs.
5346 2008-02-05 Cody Russell <bratsche@gnome.org>
5348 * gdk/win32/gdkprivate-win32.h
5349 * gdk/win32/gdkevents-win32.c
5350 * gdk/win32/gdkwindow-win32.c
5351 * gdk/win32/gdkwindow-win32.h
5352 * gdk/win32/gdkwin32.h:
5353 Modal window rework. (#455627 and #511111)
5355 2008-02-04 Michael Natterer <mitch@imendio.com>
5357 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
5358 g_return_if_fail() if the cell is not part of the combo instead of
5359 crashing in the next line.
5361 2008-02-01 Cody Russell <cody@jhu.edu>
5363 * modules/engines/ms-windows/xp_theme.[ch]
5364 * modules/engines/ms-windows/xp_theme_defs.h
5365 * modules/engines/ms-windows/msw_rc_style.c
5366 * modules/engines/ms-windows/msw_theme_main.c
5367 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
5368 attempted to stylize more like the rest of the gtk+ stack's code.
5370 2008-02-01 Michael Natterer <mitch@imendio.com>
5372 * tests/testgtk.c: initialize GdkColor structs to fix warning
5373 about uninitialized "pixel" member.
5375 * tests/testactions.c: connect the toolbar_style() callback so it
5376 does something useful and doesn't warn about being defined but not
5379 2008-01-31 Cody Russell <bratsche@gnome.org>
5381 * gdk/win32/gdkevents-win32.c:
5382 Refactored some of the window hiding/showing code from
5383 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
5384 under WM_ACTIVATE was causing the application to go into
5385 a weird state when the user right-clicked on the taskbar
5386 entry of a window that was minimized. (#505928)
5388 2008-01-31 Cody Russell <bratsche@gnome.org>
5390 * gtk/gtkpaned.c (gtk_paned_set_position):
5391 Change queue_resize() to queue_draw(), and add a check for
5392 child2 != NULL in case someone calls this before there is
5393 a child packed in there. (#144269 again)
5395 2008-01-31 Sven Neumann <sven@gimp.org>
5397 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
5398 applied patch from Denis Oliver Kropp <dok@directfb.org>.
5400 2008-01-31 Sven Neumann <sven@gimp.org>
5402 * gdk/directfb/gdkdisplay-directfb.c
5403 * gdk/directfb/gdkdrawable-directfb.c
5404 * gdk/directfb/gdkprivate-directfb.h
5405 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
5406 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
5408 2008-01-31 Richard Hult <richard@imendio.com>
5410 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
5411 issues with undecorated windows. Revert the change done on
5412 2008-01-25 and fix it by using the view's bounds instead. The
5413 bounds will always be up to date when setting up the tracking
5414 rect, so this should be more robust.
5416 2008-01-30 Sven Neumann <sven@gimp.org>
5418 * gdk/directfb/gdkdrawable-directfb.c
5419 * gdk/directfb/gdkwindow-directfb.c
5420 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
5421 Oliver Kropp <dok@directfb.org>. Adds debug messages using
5422 DirectFB's debugging system
5424 2008-01-30 Sven Neumann <sven@gimp.org>
5426 * gdk/directfb/gdkdirectfb.h
5427 * gdk/directfb/gdkdisplay-directfb.c
5428 * gdk/directfb/gdkdrawable-directfb.c
5429 * gdk/directfb/gdkim-directfb.c
5430 * gdk/directfb/gdkimage-directfb.c
5431 * gdk/directfb/gdkinput-directfb.c
5432 * gdk/directfb/gdkmain-directfb.c
5433 * gdk/directfb/gdkpixmap-directfb.c
5434 * gdk/directfb/gdktestutils-directfb.c
5435 * gdk/directfb/gdkvisual-directfb.c
5436 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
5437 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
5438 errors and has some cleanups.
5440 2008-01-30 Michael Natterer <mitch@imendio.com>
5442 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
5443 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
5446 * gtk/updateiconcache.c (add_string): cast const gchar* to
5447 gpointer when inserting in a GHashTable.
5449 * tests/testcalendar.c (calendar_detail_cb): remove const from
5450 return value since it's a newly allocated string.
5452 (calendar_update_details): free the detail.
5454 2008-01-29 Johan Dahlin <johan@gnome.org>
5456 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
5458 * demos/gtk-demo/demo.ui:
5459 Move the about dialog to the glade file, add accessible tags
5460 examples to the markup file.
5462 2008-01-28 Paolo Borelli <pborelli@katamail.com>
5464 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
5465 layout, fixes #512375.
5467 2008-01-28 Michael Natterer <mitch@imendio.com>
5469 * gtk/gtktextchild.c
5470 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
5472 2008-01-28 Michael Natterer <mitch@imendio.com>
5474 * demos/gtk-demo/builder.c (about_activate): use
5475 gtk_about_dialog_set_program_name() instead of the deprecated
5478 2008-01-28 Michael Natterer <mitch@imendio.com>
5480 * gtk/gtktextchild.c
5481 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
5484 2008-01-26 Johan Dahlin <johan@gnome.org>
5486 * tests/Makefile.am:
5487 * tests/textbuffertest.c:
5488 Rename textbuffer test and port it to the new test framework
5490 2008-01-25 Johan Dahlin <johan@gnome.org>
5492 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
5493 unsetting of GTK_MODULES.
5495 * gtk/gtk-builder-convert
5496 (GtkBuilderConverter._convert_adjustment): Handle the case where
5497 there is no child text node.
5498 (GtkBuilderConverter): Allow xml comments in most places.
5500 2008-01-25 Johan Dahlin <johan@gnome.org>
5502 * gtk/gtk-builder-convert
5503 (GtkBuilderConverter._convert_combobox_items): Remove the items
5504 even if there are no items set.
5505 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
5506 signals and tooltips for all menu items subclasses and
5507 GtkImageMenuItem:label.
5508 Makes it possible to fully convert and run Jokosher.glade.
5510 2008-01-25 Johan Dahlin <johan@gnome.org>
5512 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
5513 (gtk_widget_buildable_get_internal_child), (free_action),
5514 (free_relation), (gtk_widget_buildable_parser_finished),
5515 (accessibility_start_element),
5516 (gtk_widget_buildable_custom_tag_start),
5517 (gtk_widget_buildable_custom_finished):
5518 Implement accessible support, fixes #454653.
5520 * gtk/gtk-builder-convert:
5521 Add support for migrating old glade files
5523 * tests/buildertest.c: (test_widget), (test_file):
5524 Add accessible tests and imprve the test_file function to display
5525 toplevels and run dialogs.
5527 2008-01-25 Richard Hult <richard@imendio.com>
5529 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
5530 didn't change, fixes focus event issues for undecorated windows.
5532 2008-01-25 Richard Hult <richard@imendio.com>
5534 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
5535 const and remove unused variables).
5537 2008-01-25 Michael Natterer <mitch@imendio.com>
5540 * gtk/gtkcellrenderer.h
5541 * gtk/gtkimcontext.h
5545 * gtk/gtktreeprivate.h
5546 * gtk/gtktreeviewcolumn.h
5547 * gtk/gtkwidget.h: add const to constant structs which are passed
5548 into GTK+. Also add some forgotten const for const strings.
5552 * gtk/gtkcellrenderer.c
5553 * gtk/gtkimcontext.c
5558 * gtk/gtktreeviewcolumn.c
5559 * gtk/gtkwidget.c: changed accordingly.
5561 2008-01-25 Sven Herzberg <sven@imendio.com>
5563 Reviewed by Johan Dahlin.
5565 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
5566 this is called with something that's not a GtkUIManager
5568 2008-01-24 Johan Dahlin <johan@gnome.org>
5570 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
5571 Chain up to parent, so widgets can have internal children.
5573 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
5575 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
5578 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
5580 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
5582 Use pango_layout_set_height() for calendar details (#506049).
5584 * configure.in: Require 1.19.3 for pango_layout_set_height().
5585 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
5587 2008-01-18 Johan Dahlin <johan@gnome.org>
5589 * gtk/gtk-builder-convert (get_property_node): New method
5590 (GtkBuilderConverter._create_object): Conditionally take a node as
5591 a property value, so don't lose translate/context attributes if they
5593 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
5594 property values instead of strings.
5595 (#509153, Erik van Pienbroek)
5597 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
5599 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
5601 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
5602 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
5603 * tests/testcalendar.c: Duplicate calendar details before returning.
5605 2008-01-16 Christian Persch <chpe@gnome.org>
5607 * gtk/gtkwidget.c: Store the event mask and extension event mode
5608 directly in the gobject data pointer, instead of in an allocated
5611 2008-01-16 Michael Natterer <mitch@imendio.com>
5613 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
5614 gdk-pixbuf now uses gio functions.
5616 2008-01-16 Matthias Clasen <mclasen@redhat.com>
5618 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
5619 the notify::model signal. (#509819, David Zeuthen)
5621 2008-01-15 Michael Natterer <mitch@imendio.com>
5629 * gdk/gdkwindow.h: made more struct pointer and array parameters
5630 const. GDK should now be constified as far as possible without
5631 breaking source compatibility. Includes some minor cleanup like
5632 indentation and s/nfoo/n_foo/ (bug #508544).
5638 * gdk/gdkregion-generic.c
5640 * gdk/directfb/gdkdisplay-directfb.c
5641 * gdk/directfb/gdkwindow-directfb.c
5642 * gdk/quartz/gdkdisplay-quartz.c
5643 * gdk/quartz/gdkwindow-quartz.c
5644 * gdk/win32/gdkdisplay-win32.c
5645 * gdk/win32/gdkwindow-win32.c
5646 * gdk/x11/gdkdisplay-x11.c
5647 * gdk/x11/gdkwindow-x11.c: changed accordingly.
5649 2008-01-14 Michael Natterer <mitch@imendio.com>
5651 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
5654 (gtk_rc_parse_any): change variables to const and introduce
5655 another local variable to fix const warnings.
5657 2008-01-14 Michael Natterer <mitch@imendio.com>
5659 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
5660 of gdk_screen_get_font_options() to gpointer to get rid of const
5663 2008-01-14 Michael Natterer <mitch@imendio.com>
5665 * tests/testdnd.c (source_drag_data_get): fix another call to
5666 gtk_selection_data_set().
5668 2008-01-14 Michael Natterer <mitch@imendio.com>
5670 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
5673 2008-01-14 Michael Natterer <mitch@imendio.com>
5675 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
5677 2008-01-14 Michael Natterer <mitch@imendio.com>
5679 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
5680 "uris" to guchar* when passing it to gtk_selection_data_set().
5682 2008-01-14 Michael Natterer <mitch@imendio.com>
5688 * gdk/gdkinternals.h
5690 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
5691 parameters const (bug #508544).
5696 * gdk/gdkrectangle.c
5697 * gdk/gdkpolyreg-generic.c
5698 * gdk/gdkregion-generic.c
5699 * gdk/directfb/gdkcolor-directfb.c
5700 * gdk/directfb/gdkgc-directfb.c
5701 * gdk/directfb/gdkgeometry-directfb.c
5702 * gdk/directfb/gdkwindow-directfb.c
5703 * gdk/quartz/gdkcolor-quartz.c
5704 * gdk/quartz/gdkgc-quartz.c
5705 * gdk/quartz/gdkgeometry-quartz.c
5706 * gdk/quartz/gdkwindow-quartz.c
5707 * gdk/win32/gdkcolor-win32.c
5708 * gdk/win32/gdkgc-win32.c
5709 * gdk/win32/gdkgeometry-win32.c
5710 * gdk/win32/gdkprivate-win32.h
5711 * gdk/win32/gdkwindow-win32.c
5712 * gdk/x11/gdkcolor-x11.c
5713 * gdk/x11/gdkgc-x11.c
5714 * gdk/x11/gdkgeometry-x11.c
5715 * gdk/x11/gdkmain-x11.c
5716 * gdk/x11/gdkprivate-x11.h
5717 * gdk/x11/gdkwindow-x11.c: changed accordingly.
5719 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
5722 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
5724 Explain name choice for gtk_tool_item_toolbar_reconfigured.
5726 * gtk/gtktoolitem.c: Add comment expaining name choice for
5727 gtk_tool_item_toolbar_reconfigured.
5729 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
5731 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
5732 implementations to notify its children, when some aspect of their
5733 configuration changed (#509042).
5735 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
5736 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
5737 Rename _gtk_tool_item_toolbar_reconfigured.
5739 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
5741 Include <gtk/gtktoolshell.h> from gtk.h.
5743 * gtk/gtk.h: Add gtktoolshell.h
5745 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
5747 Print angle brackets arround e-mail addresses in the about dialog
5748 (#409520, Mariano Suárez-Alvarez).
5750 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
5752 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
5754 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
5755 special casing so test widgets are always queues for destruction
5758 * gtk/tests/testing.c: removed bits left-over from testing without
5761 2008-01-10 Tor Lillqvist <tml@novell.com>
5763 * modules/other/gail/libgail-util/Makefile.am
5764 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
5767 2008-01-10 Tor Lillqvist <tml@novell.com>
5769 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
5770 uses gtkprintunixdialog API.
5772 2008-01-10 Tor Lillqvist <tml@novell.com>
5774 * gdk/win32/gdkdisplay-win32.c
5775 * gdk/win32/gdkglobals-win32.c
5776 * gdk/win32/gdkprivate-win32.h
5777 * gdk/win32/gdkscreen-win32.c
5778 * gdk/win32/gdkwindow-win32.c: Implement
5779 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
5780 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
5783 2008-01-10 Cody Russell <bratsche@gnome.org>
5785 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
5786 Properly ref/unref windows and parents. (#506769)
5788 2008-01-10 Richard Hult <richard@imendio.com>
5790 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
5791 (gdk_window_hide), (move_resize_window_internal): Move the
5792 tracking rect workaround from here...
5794 * gdk/quartz/GdkQuartzWindow.c:
5795 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
5796 movements during showing/hiding operations. Fixes bug #508516.
5798 2008-01-10 Michael Natterer <mitch@imendio.com>
5800 * gdk/directfb/gdkscreen-directfb.c
5801 (gdk_screen_get_monitor_width_mm)
5802 (gdk_screen_get_monitor_height_mm)
5803 (gdk_screen_get_monitor_plug_name): add these functions to make
5806 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
5808 * gtk/gtkrecentchoosermenu.c:
5809 (idle_populate_func), (idle_populate_clean_up): Fix possible
5810 recursion by resetting the idle source id. (#507605, William
5813 2008-01-10 Kristian Rietveld <kris@imendio.com>
5815 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
5816 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
5817 avoid valgrind warnings. (#507751, patch from Christian Persch).
5819 2008-01-10 Kristian Rietveld <kris@imendio.com>
5821 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
5822 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
5824 2008-01-10 Kristian Rietveld <kris@imendio.com>
5826 Fix #477175, reported by Juri Pakaste.
5828 * gtk/gtktreeprivate.h:
5829 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
5830 tree_view->priv->dy here directly, just calculate the new value
5831 and set it on the adjustment,
5832 (gtk_tree_view_adjustment_changed): add guards to not call
5833 gtk_tree_view_dy_to_top_row() if we are currently in
5834 gtk_tree_view_top_row_to_dy(),
5835 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
5836 coordinates, not tree coordinates,
5837 (gtk_tree_view_real_start_editing): add cast.
5839 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
5840 position of the editable in the "create new row and start editing"
5843 2008-01-09 Michael Natterer <mitch@imendio.com>
5845 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
5848 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
5849 * gtk/gtkicontheme.c (theme_list_contexts)
5850 (gtk_icon_theme_lookup_icon)
5851 * gtk/gtkimcontextsimple.c (beep_window)
5852 * gtk/gtklinkbutton.c (set_link_color)
5853 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
5856 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
5857 variable and add const to another to fix a warning.
5859 2008-01-07 Matthias Clasen <mclasen@redhat.com>
5861 * gtk/gtkassistant.c (remove_page): Be more robust when removing
5862 the current page. (#499951, Andreas Sandberg)
5864 2008-01-06 Johan Dahlin <johan@gnome.org>
5866 * gtk/gtkspinbutton.c: Declare value in the example code for
5867 GtkSpinButton::output, as pointed out by Anders Carlsson.
5869 2008-01-06 Christian Persch <chpe@gnome.org>
5871 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
5872 and remove an obsolete event box. Bug #506760.
5874 2008-01-06 Johan Dahlin <johan@gnome.org>
5876 * tests/buildertest.c (test_domain):
5877 Update, GtkBuilder::translation-domain is no longer set
5879 * gtk/gtkbuilderparser.c (parse_interface):
5880 Allow domains to be overridden in <interface>'s if a translation-domain
5881 is set in the builder.
5882 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
5883 of the builder, make the domain set in the <interface> apply only to strings
5885 (#496831, Ryan Lortie)
5887 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
5890 * gtk/gtktreestore.c (tree_model_end_element):
5891 Remove an unused variable
5893 2008-01-06 Matthias Clasen <mclasen@redhat.com>
5895 * gtk/gtkspinbutton.c: Document the ::output signal and
5896 add an example. (#507566, example by Owen Taylor)
5898 2008-01-06 Johan Dahlin <johan@gnome.org>
5900 * gtk/gtkcellrenderercombo.c:
5901 (gtk_cell_renderer_combo_get_property),
5902 (gtk_cell_renderer_combo_set_property):
5903 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
5904 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
5905 * gtk/gtknotebook.c: (gtk_notebook_set_property):
5906 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
5907 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
5908 (gtk_text_buffer_get_property):
5909 * gtk/gtktextview.c: (gtk_text_view_set_property):
5910 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
5911 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
5912 (gtk_tool_button_get_property):
5913 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
5914 (gtk_tool_item_get_property):
5915 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
5916 * gtk/gtkwidget.c: (gtk_widget_set_property):
5917 * gtk/gtkwindow.c: (gtk_window_set_property):
5918 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
5921 2008-01-06 Johan Dahlin <johan@gnome.org>
5923 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
5924 Make sure that --root works for toplevel widgets.
5925 (#491847, Phil Lello)
5927 2008-01-05 Johan Dahlin <johan@gnome.org>
5929 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
5930 to make sure that make test-report works properly
5932 2008-01-05 Christian Persch <chpe@gnome.org>
5934 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
5935 GType as integer through gpointer. Bug #507395.
5937 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
5939 Avoid some compiler warnings (#507000).
5941 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
5942 for value argument of _gtk_builder_flags_from_string.
5943 * gtk/gtkwidget.c: Don't alias the child pointer passed
5944 to gdk_window_get_user_data.
5946 2008-01-04 Michael Natterer <mitch@imendio.com>
5948 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
5949 to set the time in the returned GdkTimeCoords.
5951 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
5953 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
5954 correct comparison function (kudos to Christian Persch and
5955 Claudio Saavedra for spotting this)
5957 * gtk/gtkrecentchooserutils.c:
5958 (sort_recent_items_mru),
5959 (sort_recent_items_lru): Ditto as above.
5961 2008-01-03 Johan Dahlin <johan@gnome.org>
5963 * tests/defaultvaluetest.c: Make it pass again.
5965 2008-01-02 Johan Dahlin <johan@gnome.org>
5967 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
5968 make it pass on Ubuntu.
5969 (main): Use gtk_test_list_all_types () instead of providing our
5971 And it no longer passes.
5973 2007-12-30 Johannes Schmid <jhs@gnome.org>
5975 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
5976 Also reorder menu when reordering tabs by drag & drop
5979 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
5980 Add a menu to one of the notebooks to have a test-case for
5981 the change mentioned above.
5983 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
5985 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
5987 2007-12-31 Christian Persch <chpe@gnome.org>
5989 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
5990 Plug a mem leak. Bug #506107.
5992 2007-12-28 Matthias Clasen <mclasen@redhat.com>
5994 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
5995 icon cache api change. (#506135, Kazuki Iwamoto)
5997 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
5999 Consider "wide-separators" and "separator-height" style properties:
6000 The separator is drawn using gtk_paint_box instead of cairo, when
6001 "wide-separators" is set. Also do not highlight details for previous
6002 or next month, if their day matches the selected day. (#339540)
6004 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
6005 in gtk_calendar_size_request and calendar_paint_day
6006 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
6007 for selected detail separators in GtkCalendar.
6009 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6011 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
6013 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
6014 a local variable instead in gtk_calendar_size_request.
6016 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6018 * tests/defaultvaluetest.c: Add enough exclusions to make the
6021 2007-12-28 Christian Persch <chpe@gnome.org>
6023 * modules/other/gail/Makefile.am:
6024 * modules/other/gail/tests/*:
6025 * configure.in: Merge tests from standalone gail. Bug #504568.
6027 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6029 * gtk/gtkclipboard.c: Make the finalizer work when display is
6032 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6034 Draw bottom shadow of GtkCalender headings. (#506113)
6036 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
6038 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6040 * gtk/gtkcalendar.c: Document the initial values of year/month/day
6043 2007-12-28 Christian Persch <chpe@gnome.org>
6045 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
6046 a mem leak. Bug #506096.
6048 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6051 * gtk/gtktreeview.c:
6052 * gtk/gtkprintoperation.c:
6053 * gtk/gtkprogressbar.c:
6054 * gtk/gtkmessagedialog.c:
6055 * gtk/gtknotebook.c:
6059 * gtk/gtklinkbutton.c:
6060 * gtk/gtkmenu.c: More default property value corrections.
6062 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6064 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
6065 accel_group unless it is set.
6067 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6069 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
6071 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6073 * gtk/gtkhandlebox.c: Fix the default values of shadow and
6074 shadow-type properties.
6076 * gtk/gtkfontsel.c: Fix the default values of several properties.
6078 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
6081 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
6083 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
6086 2007-12-28 Johan Dahlin <johan@gnome.org>
6088 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
6089 (gtk_dialog_buildable_custom_tag_start): Chain up.
6090 This makes it possible to have accelerators tags on GtkDialog
6093 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6095 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
6096 are shown within the widget, or just as tooltip. (#339540)
6098 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
6099 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
6100 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
6103 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6105 Try more decent appearance of calendar details separator. (#339540)
6107 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
6108 and make it short by one pixel on each side.
6110 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6112 Apply trivial code-style changes from attachement 101101. (#339540)
6114 * tests/testcalendar.c: Some updates to current GTK+ code-style.
6116 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6118 Restructure testcalendar for testing calendar details. (#339540)
6120 * tests/testcalendar.c: Push code arround for testing calendar details.
6122 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6124 Implement GtkTooltip API for calendar details. (#339540)
6126 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
6127 Remember detail overflows in calendar_paint_day to show the tooltip
6128 only when neccessary.
6130 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6132 Without setting "detail-width-chars" and "detail-height-rows"
6133 properties not only the widget has to be redrawn on certain
6134 conditions, but also its size must be recalculated. (#339540)
6136 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
6137 that function instead of gtk_widget_queue_draw.
6139 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6141 Consider details for size-request and expose-event. (#339540)
6143 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
6144 is_color_attribute functions. Change gtk_calendar_size_request
6145 and calendar_paint_day to consider and show calender details.
6147 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6149 * gtk/gtkcombobox.c: Introduce local priv variables to
6152 2007-12-27 Matthias Clasen <mclasen@redhat.com>
6154 * gtk/gtkcombobox.c: Correct the default value for the
6155 tearoff-title property.
6157 * gtk/gtkcellrenderertext.c: Fix the default value for the
6158 wrap-mode and font-scale properties.
6160 * gtk/gtkaspectratio.c: Fix the default value for the ratio
6163 2007-12-27 Matthias Clasen <mclasen@redhat.com>
6165 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
6166 defines. (#505708, MINAMI Hirokazu)
6168 2007-12-27 Christian Persch <chpe@gnome.org>
6170 * Makefile.am: Install gail.pc. Bug #505859.
6172 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
6174 Add infrastructure for GtkCalendar details. (#339540)
6176 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
6177 Add "detail-width-chars" and "detail-height-rows" properties,
6178 and gtk_calendar_set_detail_func function.
6180 2007-12-27 Xan Lopez <xan@gnome.org>
6183 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
6185 Add gtk_border_new to avoid memory allocator confusions when using
6186 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
6188 2007-12-27 Christian Persch <chpe@gnome.org>
6190 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
6191 bug #504886 not to read unitialised memory.
6193 2007-12-26 Xan Lopez <xan@gnome.org>
6195 * gtk/gtkstatusbar.c (has_extra_children): take into account the
6196 modification of the internal frame contents to decide if we have
6197 extra children. (#415677)
6199 2007-12-22 Christian Persch <chpe@gnome.org>
6201 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
6203 2007-12-25 Christian Persch <chpe@gnome.org>
6205 * modules/other/gail/gailwindow.c: (gail_window_initialize):
6206 Initialise |widget|. Fixes a buglet introduced by the commit from bug
6209 2007-12-25 Christian Persch <chpe@gnome.org>
6211 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
6213 2007-12-25 Christian Persch <chpe@gnome.org>
6215 * modules/other/gail/*.[ch]: Remove relocations from the atk
6216 factories. Remove unused gail_foo_new() functions. Fix object
6217 instantiation to be derivation safe by moving initialisation code
6218 from the removed gail_foo_new() functions to the
6219 AtkObjectClass::initialize implementation. Bug #505226.
6221 2007-12-24 Matthias Clasen <mclasen@redhat.com>
6223 * modules/other/gail/gailentry.c:
6224 * modules/other/gail/gailimage.c:
6225 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
6226 uses of clipboards and settings. (#504722, Christian Persch)
6228 2007-12-24 Matthias Clasen <mclasen@redhat.com>
6230 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
6233 2007-12-24 Matthias Clasen <mclasen@redhat.com>
6235 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
6236 use the time and button information from the event. (#504901,
6239 2007-12-23 Cody Russell <bratsche@gnome.org>
6241 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
6242 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
6243 Fixes a regression caused by #164537 patch where transient
6244 windows that are hidden get shown (incorrectly) when their
6245 parents are minimized. (#504984)
6247 2007-12-22 Christian Persch <chpe@gnome.org>
6249 * modules/other/gail/gailcell.c:
6250 * modules/other/gail/gailcontainercell.c:
6251 * modules/other/gail/gailexpander.c:
6252 * modules/other/gail/gailtextcell.c:
6253 * modules/other/gail/gailtextview.c:
6254 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
6256 2007-12-22 Christian Persch <chpe@gnome.org>
6258 * modules/other/gail/*.c: Include config.h. Bug #504720.
6260 2007-12-22 Christian Persch <chpe@gnome.org>
6262 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
6263 handwritten get_type functions. Bug #504661.
6265 2007-12-23 Xan Lopez <xan@gnome.org>
6267 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
6268 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
6270 Patch by Sadrul Habib Chowdhury (#504804)
6272 2007-12-22 Christian Persch <chpe@gnome.org>
6274 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
6275 #504645, patch by Li Yuan.
6277 2007-12-22 Christian Persch <chpe@gnome.org>
6279 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
6281 2007-12-22 Christian Persch <chpe@gnome.org>
6283 * modules/other/gail/gail.c:
6284 * modules/other/gail/gailbutton.c:
6285 * modules/other/gail/gailcell.c:
6286 * modules/other/gail/gailcombo.c:
6287 * modules/other/gail/gailcombo.h:
6288 * modules/other/gail/gailcombobox.c:
6289 * modules/other/gail/gailentry.c:
6290 * modules/other/gail/gailexpander.c:
6291 * modules/other/gail/gailmenuitem.c:
6292 * modules/other/gail/gailnotebook.c:
6293 * modules/other/gail/gailnotebookpage.c:
6294 * modules/other/gail/gailnotebookpage.h:
6295 * modules/other/gail/gailoptionmenu.c:
6296 * modules/other/gail/gailrange.c:
6297 * modules/other/gail/gailtextview.c:
6298 * modules/other/gail/gailtreeview.c:
6299 * modules/other/gail/gailtreeview.h:
6300 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
6303 2007-12-22 Matthias Clasen <mclasen@redhat.com>
6305 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
6308 2007-12-21 Richard Hult <richard@imendio.com>
6310 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
6311 Plug leak of destroyed subviews, fixes bug #504753.
6313 2007-12-20 Johan Dahlin <johan@gnome.org>
6315 * tests/Makefile.am (TEST_PROGS):
6316 * tests/defaultvaluetest.c: Add a test for default values,
6317 based on program by Christan Perch
6319 2007-12-20 Johan Dahlin <johan@gnome.org>
6321 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
6322 Refactor to avoid some duplication.
6323 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
6324 Fixes #504749, Yuri Pimenov
6326 2007-12-20 Kristian Rietveld <kris@imendio.com>
6328 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
6329 the build work again on systems without xrandr 1.2.
6331 2007-12-20 Christian Persch <chpe@gnome.org>
6334 * modules/other/gail/libgail-util/Makefile.am:
6335 Keep the same libtool version as the standalone libgail-util had.
6338 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
6340 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
6342 2007-12-20 Alexander Larsson <alexl@redhat.com>
6344 * gdk/x11/gdkapplaunchcontext-x11.c:
6345 Update for gio API changes
6347 2007-12-20 Richard Hult <richard@imendio.com>
6349 * gdk/quartz/GdkQuartzWindow.c:
6350 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
6351 processing events after changing the size.
6353 2007-12-20 Richard Hult <richard@imendio.com>
6355 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
6356 Add stub for quartz to fix build.
6358 2007-12-20 Christian Persch <chpe@gnome.org>
6360 * modules/other/gail/Makefile.am:
6361 * modules/other/gail/gailimage.c: (gail_image_class_init),
6362 (gail_image_init), (elide_underscores), (gail_image_get_name),
6363 (atk_image_interface_init), (gail_image_finalize):
6364 * modules/other/gail/gailimage.h:
6365 R modules/other/gail/gailintl.h:
6366 * po/POTFILES.skip: Use the stock item's label as the name of the
6367 accessible in gailimage.c. Bug #504246.
6369 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
6371 Avoid some compiler warnings and remove obsolete code. (#339540)
6373 * gtk/gtkcalendar.c: Change week and year variable in
6374 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
6375 0" block from calendar_paint_day: The feature in question is handled
6376 few lines above. Cast data returned by gtk_selection_data_get_text()
6377 to (gchar*) in gtk_calendar_drag_data_received.
6379 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
6381 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
6383 2007-12-19 Johan Dahlin <johan@gnome.org>
6385 * tests/buildertest.c (test_object_properties):
6386 Add another call to gtk_builder_add_string after using
6387 delayed properties, as reported in #504393 but already
6390 2007-12-18 Christian Persch <chpe@gnome.org>
6393 * docs/reference/Makefile.am:
6394 * docs/reference/libgail-util/*:
6395 * gail-uninstalled.pc.in:
6397 * modules/Makefile.am:
6398 * modules/other/Makefile.am:
6399 * modules/other/gail/*:
6400 * modules/other/gail/libgail-util/*:
6401 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
6403 2007-12-17 Matthias Clasen <mclasen@redhat.com>
6405 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
6406 * gdk/win32/gdkproperty-win32.c:
6407 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
6409 * gtk/gtkimmodule.[hc]:
6410 * gtk/gtkimmulticontext.[hc]: When determining the default context,
6411 look at the gtk-im-module setting, and listen for changes to the
6412 setting. (#502446, Akira Tagoh)
6414 2007-12-17 Kristian Rietveld <kris@imendio.com>
6416 * gtk/gtktooltip.c (gtk_tooltip_finalize),
6417 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
6418 to NULL as soon as it's destroyed. (#496546, patch from
6421 2007-12-17 Kristian Rietveld <kris@imendio.com>
6423 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
6424 always determine what arrow to show if show_sort_indicator is true.
6425 (#352738, Chris Vine).
6427 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
6429 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
6432 * gtk/gtkpaned.c: Call gtk_container_forall instead of
6433 gtk_container_foreach in get_child_panes.
6435 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
6437 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
6439 Plug leak: When reordering the info in the list the old node is
6440 removed but not freed. (#503569)
6442 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
6444 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
6445 Use u32 instead of __u32 and u8 instead of __u8 as the other types
6446 are deprecated since DirectFB 1.0.0. If compiling with an older
6447 version define the new type name to the old types. Fixes bug #503190.
6449 2007-12-14 Ray Strode <rstrode@redhat.com>
6451 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
6452 instead of g_signal_connect_after (..., "realize", ...) as an
6453 alternative to gtk_widget_realize () (bug 503537).
6455 2007-12-14 Michael Natterer <mitch@imendio.com>
6457 * gdk/gdkinternals.h
6458 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
6461 * gdk/gdkapplaunchcontext.c
6462 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
6463 header already includes everything now.
6465 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
6467 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
6468 next stable release shall be 2.16, not 2.14 - even if disagree.
6470 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
6472 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
6474 Change GtkToolItem to retrieve its properties from GtkToolShell
6475 interface, instead of relying on being child of a GtkToolbar.
6478 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
6479 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
6480 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
6481 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
6482 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
6483 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
6484 Take section docs from template file and update them for GtkToolShell.
6485 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
6486 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
6488 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
6490 Extract loading of GtkPageSetup and GtkPrintSettings from their
6491 *_new_*() functions and move that code into separate
6492 *_load_*() functions (#475565).
6494 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
6495 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
6496 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
6497 Change the matching *_new_*() functions to use those functions.
6499 2007-12-14 Matthias Clasen <mclasen@redhat.com>
6502 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
6504 2007-12-14 Kristian Rietveld <kris@imendio.com>
6506 * gtk/tests/liststore.c:
6507 * gtk/tests/treestore.c: added tests for insertion functions.
6509 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
6511 * Add RandR 1.2 support
6513 - New monitors_changed signal - New API to get width/height of
6514 monitors, and the name of the plug
6516 2007-12-13 Kristian Rietveld <kris@imendio.com>
6518 * gtk/tests/liststore.c:
6519 * gtk/tests/treestore.c: test the move and swap functions on a
6520 store with only one node.
6522 2007-12-13 Kristian Rietveld <kris@imendio.com>
6524 * gtk/gtktestutils.c (gtk_test_init): add a call to
6527 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
6530 2007-12-13 Kristian Rietveld <kris@imendio.com>
6532 * gtk/tests/liststore.c:
6533 * gtk/tests/treestore.c: start composing tests for the list and tree
6536 * gtk/tests/treeview-scrolling.c: added automated tests for
6537 GtkTreeView's scrolling "subsystem".
6539 * gtk/tests/Makefile.am: updated; added new test programs.
6541 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
6543 Make the code compile again after the GdkAppLaunchContext changes.
6545 * configure.in: Add gio-2.0 to GDK_PACKAGES.
6546 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
6548 2007-12-12 Matthias Clasen <mclasen@redhat.com>
6550 * gdk/gdkapplaunchcontext.c: Add docs
6552 2007-12-12 Matthias Clasen <mclasen@redhat.com>
6554 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
6555 in gdk, providing startup notification. (#503203)
6557 * gdk/x11/gdkapplaunchcontext-x11.c:
6558 * gdk/win32/gdkapplaunchcontext-win32.c:
6559 * gdk/quartz/gdkapplaunchcontext-quartz.c:
6560 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
6561 parts. All but X11 are just empty stubs for now.
6564 * gdk/gdkinternals.h:
6566 * gdk/x11/Makefile.am:
6567 * gdk/win32/Makefile.am:
6568 * gdk/quartz/Makefile.am:
6569 * gdk/directfb/Makefile.am: Necessary glue.
6571 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
6573 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
6575 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
6577 * gdk/directfb/gdktestutils-directfb.c:
6578 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
6579 which adds testing functions to the DirectFB backend.
6581 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
6583 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
6584 Ciccani which fixes the mixing of gdk and cairo rendering.
6586 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
6588 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
6589 on "drag-motion" handlers. Clearify documentation for
6592 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
6594 * buildertest.c: made unnecessarily exported symbols static.
6595 switched g_return_if_fail() statements in tests to assertions.
6596 special cased currently failing Widget/accesibility test to
6597 run only for g_test_thorough(), so it doesn't break make check.
6598 some coding style fixes.
6600 * Makefile.am: added buildertest to TEST_PROGS.
6602 2007-12-11 Stefan Kost <ensonic@users.sf.net>
6604 * docs/tutorial/gtk-tut.sgml:
6605 Use gtk_widget_get_parent_window() instead of widget->parent->window.
6607 2007-12-10 Richard Hult <richard@imendio.com>
6609 * gdk/quartz/Makefile.am:
6610 * gdk/quartz/gdkquartz.h:
6611 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
6612 header (bug #405915). Also add a getter for the toplevel nswindow.
6614 2007-12-10 Richard Hult <richard@imendio.com>
6616 * gdk/quartz/gdkdrawable-quartz.c:
6617 (gdk_quartz_drawable_get_context),
6618 (gdk_quartz_drawable_release_context):
6619 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
6620 (gdk_event_check), (gdk_event_dispatch), (poll_func):
6621 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
6622 used for each drawing context and in prepare, dispatch and poll
6623 with one that exists across each main loop iteration. Fixes leaks
6624 on leopard and protects against future leaks introduce when the
6625 underlying system changes again (bug #492977).
6627 2007-12-10 Richard Hult <richard@imendio.com>
6629 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
6630 Fix the check for no changes to position and size.
6632 2007-12-10 Richard Hult <richard@imendio.com>
6634 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
6635 sized areas at (0, 0), patch from Paul Davis.
6637 2007-12-10 Richard Hult <richard@imendio.com>
6639 * gdk/quartz/gdkprivate-quartz.h:
6640 * gdk/quartz/gdkeventloop-quartz.c:
6641 (_gdk_quartz_event_loop_get_pending),
6642 (_gdk_quartz_event_loop_check_pending),
6643 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
6644 (gdk_event_check), (gdk_event_dispatch):
6645 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
6646 (_gdk_events_queue): Fix a bug where we could end up trying to
6647 handle the same event more than once. Based on patch from Paul
6650 2007-12-10 Tor Lillqvist <tml@novell.com>
6652 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
6655 2007-12-10 Matthias Clasen <mclasen@redhat.com>
6657 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
6658 to avoid further fallout from the fix for bug 388321.
6660 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
6662 * gdk/directfb/gdkgc-directfb.c:
6663 * gdk/directfb/gdkdrawable-directfb.c:
6664 * gdk/directfb/gdkdirectfb.h:
6665 * gdk/directfb/gdkwindow-directfb.c:
6666 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
6667 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
6668 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
6669 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
6670 which are expected to improve the performance of the DirectFB backend.
6671 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
6673 2007-12-07 Matthias Clasen <mclasen@redhat.com>
6675 * gtk/gtkcontainer.c: Correct the documentation of child
6676 property getter arguments. (#501992, David Brigada)
6678 2007-12-07 Matthias Clasen <mclasen@redhat.com>
6680 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
6681 leak pixbufs. (#502250, Yevgen Muntyan)
6683 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
6685 * gtk/gtkprintunixdialog.c:
6686 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
6687 Print and Page Setup dialogs (#502202).
6689 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
6691 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
6692 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
6693 of XVFB_START, since it's the GTESTER invokation that needs this.
6695 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
6697 * gdk-pixbuf/gdk-pixbuf.symbols:
6699 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
6700 positives in abicheck.sh
6702 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
6704 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
6705 GDK events generations in the DirectFB backend.
6707 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
6709 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
6710 set of likely unused display ids, because MacOS has no seq(1) command.
6712 2007-12-06 Richard Hult <richard@imendio.com>
6714 * gdk/quartz/gdkevents-quartz.c:
6715 (synthesize_crossing_events_for_ns_event): Fix warning when
6716 switching spaces in leopard.
6718 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
6720 * tests/floatingtest.c: ported to new testing framework.
6722 * tests/Makefile.am: run floatingtest as testing framework test.
6724 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
6726 * tests/autotestfilechooser.c: majorly speed up execution by reducing
6727 timeouts and converting main loop sleeps to pending/iterate loops with
6728 very low priority async handlers. eliminate output for non-verbose
6729 tests. assert successfull subtests in all test functions. use testing
6730 framework in main().
6732 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
6733 executed inside Xvfb upon make check.
6735 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
6737 * tests/objecttests.c: use string comparisons for string property
6738 values and get rid of referencing symbols in array initialization.
6740 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
6742 * gtk+/Makefile.decl: run tests in current dir after setting up the
6743 logging directory, so their results get properly merged into the
6746 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
6747 tests to loop over registered Gdk/Gtk+ types.
6749 * gtk+/tests/objecttests.c: new test program, implements automated
6750 property tests. several properties are blacklisted because they
6751 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
6752 can be used to test blacklisted properties and see which proprty failed.
6754 2007-12-04 Richard Hult <richard@imendio.com>
6756 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
6757 Fully initialize the root window, fixes bug #501583.
6759 2007-12-04 Matthias Clasen <mclasen@redhat.com>
6761 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
6764 2007-12-03 Richard Hult <richard@imendio.com>
6766 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
6767 Don't crash when dragging from a source that doesn't support uri
6768 lists (bug #499868, Paul Davis).
6770 2007-12-03 Richard Hult <richard@imendio.com>
6772 * gdk/quartz/gdkwindow-quartz.c:
6773 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
6774 parent relative bg pixmap is set, and no parent has a bg
6775 pixmap. Fixes bug #500804.
6777 2007-12-03 Matthias Clasen <mclasen@redhat.com>
6779 Two optimizations for icon cache lookups.
6781 * gtk/gtkiconcache.[hc]:
6782 * gtk/gtkicontheme.c: Remember the directory index for
6783 subdirectories, instead of running over the directory list
6786 * gtk/gtkiconcache.c (find_image_offset): Remember the last
6787 chain and try it first; this helps with the the usage patterns
6788 in gtkicontheme.c, where the same icon is queried for a lot
6791 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
6793 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
6794 functions from header files. this should be portable across linux and
6795 Mac OS, unlike the previpous sed expression.
6797 2007-12-1 Cody Russell <bratsche@gnome.org>
6799 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
6800 On Windows, queue a redraw of child2 whenever we set
6801 the pane handle position. This is unfortunately kind
6802 of hacky, but solves the visual artifacts that were
6803 occuring on at least certain types of child widgets
6804 (e.g., text views and tree views) that are inside
6805 horizontal or vertical panes. (#144269)
6807 2007-11-30 Matthias Clasen <mclasen@redhat.com>
6809 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
6811 2007-11-29 Matthias Clasen <mclasen@redhat.com>
6813 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
6816 2007-11-29 Matthias Clasen <mclasen@redhat.com>
6818 * gtk/Makefile.am: Fix ordering of subdirs.
6820 2007-11-28 Tor Lillqvist <tml@novell.com>
6822 A proper build of GNU libintl is supposed to export the variable
6823 _nl_msg_cat_cntr. configure looks for that variable in order to
6824 recognize GNU gettext. If it sees that it is indeed GNU gettext
6825 that is used, it decides to install message catalogs in
6826 share/locale, otherwise in lib/locale. Until now on Windows I have
6827 built GTK+ against a build of GNU gettext that did not export
6828 _nl_msg_cat_cntr. But this will change, so we can't assume message
6829 catalogs are always in lib/locale.
6831 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
6832 GTK_LOCALEDIR being either in "lib" or "share". Move the function
6833 before the inclusion of gtkprivate.h so that it sees the original
6836 * gtk-zip.sh.in: Check whether the message catalogs are in
6837 share/locale or lib/locale.
6839 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
6840 that the code in _gtk_get_localedir() will find the slashes.
6842 2007-11-28 Tor Lillqvist <tml@novell.com>
6844 * gtk/Makefile.am: Improve portability. The -o option is present
6845 only in newish GNU egreps. Use one more sed in the pipeline
6848 2007-11-28 Tor Lillqvist <tml@novell.com>
6850 Fix #375893, patch by Ben Hague:
6852 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
6853 around GetLogicalDrives() that takes also the viewable drive
6854 restrictions in the Registry (which are usually the result of an
6855 Active Directory Group Policy) into account.
6857 (check_volumes, gtk_file_system_win32_list_volumes) Call
6858 get_viewable_logical_drives() instead of GetLogicalDrives().
6860 2007-11-27 Matthias Clasen <mclasen@redhat.com>
6862 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
6863 variables to silence valgrind. (#495124, Morten Welinder)
6865 2006-11-26 Ryan Lortie <desrt@desrt.ca>
6867 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
6868 that the construct_child function is responsible for returning a
6870 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
6871 objects from constructors
6872 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
6873 g_object_ref() to this construction function (it's the only
6878 2006-11-26 Ryan Lortie <desrt@desrt.ca>
6880 * gtkbuilder.c: remove concept of root objects and just refcount
6881 all objects in the builder. Fixes #496651.
6883 2007-11-26 Ryan Lortie <desrt@desrt.ca>
6885 * tests/buildertest.c (test_window): fix invalid free
6887 2007-11-26 Josselin Mouette <joss@malsain.org>
6889 reviewed by: Federico Mena Quintero
6891 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
6892 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
6893 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
6894 Make the shortcuts activate with a single click. (#148828)
6895 Fix a few things affected by the change:
6896 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
6897 where no shortcut is selected.
6898 - Don't activate a shortcut in the response callback.
6899 - Filter out duplicate entries in volumes and bookmarks to
6900 avoid the selection to change when reordering them with DnD.
6902 2007-11-26 Matthias Clasen <mclasen@redhat.com>
6905 * gtk/gtknotebook.c:
6906 * gtk/gtkplugprivate.h:
6908 * gtk/gtksocketprivate.h:
6909 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
6911 2007-11-26 Matthias Clasen <mclasen@redhat.com>
6913 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
6914 (#495574, Richard Hult)
6916 2007-11-26 Matthias Clasen <mclasen@redhat.com>
6918 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
6919 String change ! (#376361, Sven Neumann)
6921 2007-11-26 Matthias Clasen <mclasen@redhat.com>
6923 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
6925 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
6928 2007-11-26 Matthias Clasen <mclasen@redhat.com>
6930 * gtk/gtkassistant.c: Improve alternative button
6931 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
6933 2007-11-26 Matthias Clasen <mclasen@redhat.com>
6935 * gtk/gtkcalendar.c: Fix a theming problem with colors
6936 in GtkCalendar. (#499703, Michael Hofmann)
6938 2007-11-26 Matthias Clasen <mclasen@redhat.com>
6940 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
6942 2007-11-26 Matthias Clasen <mclasen@redhat.com>
6944 Use templates for glib-mkenums calls instead of
6945 complicated commandlines in Makefiles. (#429910)
6947 * gdk-pixbuf/Makefile.am:
6950 * perf/Makefile.am: Use templates for glib-mkenums
6952 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
6953 * gdk/gdkenumtypes.[ch].template:
6954 * gtk/gtktypebuiltings.[ch].template:
6955 * perf/typebuiltins.[ch].template: The templates
6957 2007-11-26 Matthias Clasen <mclasen@redhat.com>
6959 * gtk/gtkfilechooserbutton.c:
6960 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
6961 some compilers choke on that. (#467722)
6963 2007-11-26 Matthias Clasen <mclasen@redhat.com>
6965 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
6966 about hook setup. (#425004, Emmanuele Bassi)
6968 2007-11-26 Tor Lillqvist <tml@novell.com>
6970 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
6971 monitor the window currently is on, not always the primary
6972 monitor. (#463865, Tim Evans)
6974 2007-11-26 Tor Lillqvist <tml@novell.com>
6976 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
6978 * gdk/win32/Makefile.am: Add it.
6980 2007-11-26 Tor Lillqvist <tml@novell.com>
6982 * configure.in: Don't add jasper to all_loaders if no libjasper.
6984 2007-11-25 Bastien Nocera <hadess@hadess.net>
6986 * configure.in: Add detection for libjasper, used by the
6987 gdk-pixbuf JPEG2000 loader
6989 2007-11-25 Matthias Clasen <mclasen@redhat.com>
6991 * configure.in: Require gtk-doc 1.8
6993 * */*.c: Use gtk-doc abbreviations for examples in docs.
6995 2007-11-25 Matthias Clasen <mclasen@redhat.com>
6997 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
7000 2007-11-25 Matthias Clasen <mclasen@redhat.com>
7002 * gtk/gtkdialog.c: Move signal and property documentation inline,
7003 fix a problem with the ::response signal docs. (#499133, Josselin
7006 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
7008 * Makefile.decl: initialize automake variables EXTRA_DIST and
7009 TEST_PROGS for unconditional appending via += in other makefiles.
7010 define recursive test targets: test, test-report, perf-report,
7011 full-report, as described here:
7012 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
7013 the test targets will execute Gtk+ test programs within an Xvfb session.
7015 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
7017 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
7018 g_test_run() to run the tests to integrate with the testing framework.
7020 * gtk/tests/Makefile.am: removed exemplary testing rules.
7022 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
7023 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
7024 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
7025 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
7026 * docs/reference/Makefile.am, docs/tools/Makefile.am:
7027 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
7028 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
7029 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
7030 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
7031 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
7032 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
7033 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
7034 * modules/engines/ms-windows/Theme/Makefile.am:
7035 * modules/engines/ms-windows/Makefile.am:
7036 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
7037 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
7038 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
7039 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
7040 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
7041 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
7042 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
7044 2007-11-22 Matthias Clasen <mclasen@redhat.com>
7046 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
7047 (#485662, patch by Herbert Valerio Riedel)
7049 2007-11-22 Matthias Clasen <mclasen@redhat.com>
7051 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
7053 2007-11-21 Richard Hult <richard@imendio.com>
7055 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
7056 stubs for the testing functions to fix the build.
7058 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
7060 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
7061 (#467711, The Written Word)
7063 2007-11-21 Ross Burton <ross@openedhand.com>
7065 * gdk/x11/gdksettings.c:
7066 Add xsetting for gtk-scrolled-window-placement (#458103).
7068 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
7070 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
7071 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
7072 (#469239, Michael Natterer)
7074 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
7076 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
7077 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
7078 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
7079 (#436536, Tommi Komulainen)
7081 2007-11-21 Matthias Clasen <mclasen@redhat.com>
7083 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
7084 property. (#489782, Jan Janech)
7086 2007-11-20 Matthias Clasen <mclasen@redhat.com>
7088 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
7089 frames. (#107398, Owen Taylor, Miguel Gomez)
7091 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
7093 Moved Gdk test functions from Gtk+ to Gdk test utils.
7095 * gdk/Makefile.am: added gdktestutils.h to public includes.
7097 * gdk/gdk.h: added gdktestutils.h to public includes.
7099 * gdk/gdk.symbols: added gdk_test_simulate_button,
7100 gdk_test_simulate_key, gdk_test_render_sync.
7102 * gdk/gdktestutils.h: new file, added prototypes for
7103 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
7105 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
7107 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
7108 gdk_test_simulate_key, gdk_test_render_sync.
7110 * gtk/gtktestutils.c:
7111 * gtk/gtktestutils.h:
7112 * gtk/gtk.symbols: removed gtk_test_simulate_button
7113 gtk_test_simulate_key, gtk_test_xserver_render_sync.
7115 * gtk/tests/testing.c: call gdk_test_render_sync.
7117 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
7119 Added unit tests for Gtk+ testing utilities.
7121 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
7122 utility functions. some g_test_* related portions are disabled and need
7123 to be enabled once Gtk+ depends on a new glib with the GLib testing
7124 framework integrated.
7126 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
7127 tests. added exemplary test rules to run tests inside Xvfb. this
7128 needs to depend on gtester for full fledged testing.
7130 * gtk/Makefile.am: build gtk+/gtk/tests, define
7131 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
7132 e.g. gtk_text_get_type().
7134 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
7136 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
7138 Added Gtk+ testing utilities.
7140 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
7141 functions. for the most part, the functions herein involve
7142 navigating and interacting with dialog elements programatically,
7143 to automate user interaction tests of dialogs and widgets.
7145 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
7147 * gtk/gtk.symbols: added gtk_test_* symbols.
7149 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
7150 the build. generate gtktypefuncs.c which contains a list of all
7151 _get_type functions in Gtk+ and Gdk.
7153 2007-11-20 Bastien Nocera <hadess@hadess.net>
7155 * configure.in: add support for conditional icns gdk-pixbuf loader
7158 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
7160 * configure.in: updated version number to 2.15.0 for development.
7162 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
7164 === Branch for 2.12 ===