1 2008-08-07 Matthias Clasen <mclasen@redhat.com>
3 * configure.in: Its g_content_type_from_mime_type, not
4 g_content_type_for_mime_type. Noticed by Roger Brown
6 2008-08-07 16:19:16 Tim Janik <timj@imendio.com>
8 * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
9 combination of g_warning+exit to avoid misleading the user.
11 2008-08-07 Michael Natterer <mitch@imendio.com>
13 * gtk/gtkactiongroup.c
14 * gtk/gtkcellrendererspin.c
15 * gtk/gtkfilechooserbutton.c
16 * gtk/gtktoolitem.c: chain up unconditionally in finalize().
18 2008-08-07 Michael Natterer <mitch@imendio.com>
22 * gtk/gtkfilechooserbutton.c
24 * gtk/gtkmenutoolbutton.c
26 * gtk/gtkradiobutton.c
27 * gtk/gtkradiomenuitem.c
30 * gtk/gtktreeview.c: chain up unconditionally in destroy().
32 * gtk/gtkhandlebox.c: remove empty destroy() implementation.
34 2008-08-07 Michael Natterer <mitch@imendio.com>
36 Bug 546756 – gnome-panel crashed with SIGSEGV in
37 g_type_check_instance_cast()
39 * gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
40 and remove the image now that it's an internal child and isn't
41 destroyed by gtk_container_destroy() any longer. Thanks to tml for
42 helping bisecting this down.
44 2008-08-07 Sven Neumann <sven@gimp.org>
46 Bug 546771 - Add writable property "visited" to GtkLinkButton
49 * gtk/gtklinkbutton.[ch]: expose the 'visited' state as a
50 read-write property with getters and setters. Also move the nick
51 and blurb of the "uri" property to the proper translation domain.
53 2008-08-07 Michael Natterer <mitch@imendio.com>
55 * gtk/gtkicontheme.c (apply_emblems): move variables to local
56 scopes, fix indentation and silence bogus warning about using
57 uninitialized variables.
59 2008-08-07 Richard Hult <richard@imendio.com>
61 Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func()
63 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
64 (select_thread_func), (poll_func): Patch by Yevgen Muntyan, fixes
65 deadlock and missing events.
67 2008-08-07 Richard Hult <richard@imendio.com>
69 * gdk/quartz/gdkscreen-quartz.c: (gdk_screen_get_monitor_plug_name)
70 (gdk_screen_get_monitor_height_mm, gdk_screen_get_monitor_width_mm):
71 Implement those, fixes loading python bindings.
73 2008-08-07 Emmanuele Bassi <ebassi@gnome.org>
75 Bug 545031 – list of recently used files is created world-readable
77 * gtk/gtkrecentmanager.c:
78 (gtk_recent_manager_real_changed): Set the recently-used.xbel
79 file to 0600. (Guido Berhoerster)
81 2008-08-06 Michael Natterer <mitch@imendio.com>
83 * modules/printbackends/cups/gtkcupsutils.c
84 (gtk_cups_connection_test_free): remove return value, this
85 function returns void.
87 2008-08-06 Michael Natterer <mitch@imendio.com>
92 * gtk/gtkscrolledwindow.c
93 * gtk/gtktreeview.c: remove CLAMPing from values passed to
94 gtk_adjustment_set_value() since it does it right now.
96 2008-08-05 Matthias Clasen <mclasen@redhat.com>
98 * configure.in: Bump version
100 * === Released 2.13.6 ===
102 * gdk/tests/Makefile.am: Disable check-gdk-cairo test for now,
103 since it breaks make distcheck.
105 2008-08-05 Michael Natterer <mitch@imendio.com>
107 * gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out
108 early if priv->button is NULL to avoid zillions of warnings when
109 destroying combo boxes that were working fine before the
110 button sensitivity patch.
112 2008-08-05 Michael Natterer <mitch@imendio.com>
114 Bug 544858 – Seal GtkAdjustment
117 * gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct
120 Add accessors for all properties and additionally a new function
121 gtk_adjustment_configure() which sets all properties at
122 once. Patch by Christian Dywan and myself.
124 2008-08-05 Michael Natterer <mitch@imendio.com>
126 * gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value
127 to [lower...upper-page_size] instead of only [lower...upper].
129 * README: add note about this change.
131 While this fix is correct and should have been there forever, it
132 has the potential to break some corner cases, however these cases
133 would set page_size to a value != 0 which suggests they want it
136 2008-08-05 Michael Natterer <mitch@imendio.com>
138 * tests/testiconview.c: don't use the deprecated
139 gtk_box_pack_start_defaults().
141 2008-08-04 Matthias Clasen <mclasen@redhat.com>
143 Bug 545982 – missing braces cause bogus warnings when using GtkBuilder
145 * gtk/gtkcelllayout.c:
147 * gtk/gtkcontainer.c: Add missing braces to some GtkBuildable
148 implementations. Patch by Antti Kaijanmäki
150 2008-08-05 Tor Lillqvist <tml@novell.com>
152 * gtk/gtktext.c: Cast pointer to gintptr instead of gulong to
153 avoid warning on Win64.
155 2008-08-05 Tor Lillqvist <tml@novell.com>
157 * gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
158 gintptr instead of long when calculating hash, so we get all of
159 the pointer bits on Win64 where long is 32 bits.
161 2008-08-05 Tor Lillqvist <tml@novell.com>
163 * gtk/gtkprintoperation-win32.c: Don't need to declare
164 IPrintDialogCallback with mingw64 either. It seems to be provided
165 with the newer versions of the headers included with mingw64.
167 2008-08-05 Tor Lillqvist <tml@novell.com>
169 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
171 * gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
172 as the GdkNativeWindow parameter to
173 gtk_window_remove_embedded_xid(). Debugging printout format fixes.
175 * gtk/gtkwin32embed.h
176 * gtk/gtkwin32embed.c: Change the types of wparam and lparam
177 parameters to actually be WPARAM and LPARAM.
179 * gtk/gtkplug-win32.c: Adapt accordingly.
181 2008-08-04 Matthias Clasen <mclasen@redhat.com>
183 * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really
184 a word, use 'audible' instead.
186 2008-08-05 Tor Lillqvist <tml@novell.com>
188 * gtk/updateiconcache.c (write_bucket): Enclose ?: expression
189 with parens so cast covers all of it.
191 2008-08-04 Matthias Clasen <mclasen@redhat.com>
193 Bug 382291 – Automatically dim the combobox when the model is empty
196 * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
197 property with getter and setter to control the sensitity of
198 empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
199 Christian Dywan and others.
201 * README.in: Add a note about automatic combobox sensitivity.
203 2008-08-04 Matthias Clasen <mclasen@redhat.com>
205 * gtk/tests/Makefile.am: Skip crossingevents test when
206 running make check, since it doesn't work on a naked
209 2008-08-05 Tor Lillqvist <tml@novell.com>
211 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
215 * gdk/win32/gdkdnd-win32.c
216 * gdk/x11/gdkdnd-x11.c: Change return value and type of window id
217 from guint32 to GdkNativeWindow for
218 gdk_drag_get_protocol_for_display() and
219 gdk_drag_get_protocol(). This is not an API break on existing
220 platforms, as GdkNativeWindow has been guint32 for them
225 * gdk/win32/gdkselection-win32.c
226 * gdk/x11/gdkselection-x11.c: Ditto for the requestor window id
227 parameter of gdk_selection_send_notify_for_display() and
228 gdk_selection_send_notify().
230 * gdk/win32/gdkcursor-win32.c
231 * gdk/win32/xcursors.h: Change some gchar* to guchar* and vice
232 versa to avoid gcc 4.4 signedness warnings.
234 * gdk/win32/gdkevents-win32.c
235 * gdk/win32/gdkproperty-win32.c
236 * gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
237 casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom
238 values in debugging output using the %p format.
240 * gdk/win32/gdkkeys-win32.c
241 * gdk/win32/gdkfont-win32.c
242 * gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings.
244 * gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of
247 * gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a
251 * gtk/gtkwindow.c: Change the type of the xid parameter of the
252 internal gtk_window_remove_embedded_xid() and
253 gtk_window_add_embedded_xid() functions from guint to
256 * gtk/gtkwindow.c (send_client_message_to_embedded_windows):
257 Instead of GPOINTER_TO_UINT(), just cast the gpointer to
258 GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
261 2008-08-05 Tor Lillqvist <tml@novell.com>
263 * gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long,
264 before doing bit tests on them.
266 2008-08-05 Tor Lillqvist <tml@novell.com>
268 * configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit
269 Windows, too. It just makes more sense, as a HWND *is* a kind of
272 * gdk/gdkconfig.h.win32: Ditto here.
274 2008-08-04 Björn Lindqvist <bjourne@gmail.com>
276 Bug 534979 – GtkImageMenuItem is a bin but has two children.
278 * gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
279 include the image widget when iterating over non-internal
280 children. Patch by rainwoodman.
282 2008-08-04 Matthias Clasen <mclasen@redhat.com>
286 2008-08-04 Matthias Clasen <mclasen@redhat.com>
288 * configure.in: Bump glib dependency to 2.17.6
290 2008-08-04 Michael Natterer <mitch@imendio.com>
295 * gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
297 * gtk/gtktext.c: ditto, apart from the text cruft APIs.
299 2008-08-04 Michael Natterer <mitch@imendio.com>
301 * gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
302 "gdkrgb" is in the debug flags.
304 * gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
305 here, this function is deprecated and the debug flag didn't work
306 when using GDK properly.
308 2008-08-04 Matthias Clasen <mclasen@redhat.com>
310 * gtk/gtkicontheme.c: Update to handle GEmblem.
312 2008-08-04 Michael Natterer <mitch@imendio.com>
314 * tests/prop-editor.c: undeprecate (apart from still using
317 2008-08-04 Michael Natterer <mitch@imendio.com>
319 * gtk/gtkseparatortoolitem.c
320 * tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
322 * gtk/gtkcalendar.c (calendar_set_display_option): use
323 gtk_calendar_set_display_options() instead of the deprecated
324 gtk_calendar_display_options().
326 2008-08-04 Carlos Garnacho <carlos@imendio.com>
328 * gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
330 2008-08-04 Carlos Garnacho <carlos@imendio.com>
332 * gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background
333 to be the GtkNotebook background color. This is a workaround to
334 prevent black pixels in rounded tabs when reordering. Improves
337 2008-08-04 Carlos Garnacho <carlos@imendio.com>
340 * gtk/gtkfilechooserbutton.[ch]:
341 * gtk/gtkfilechooserdefault.[ch]:
342 * gtk/gtkfilechooserdialog.[ch]:
343 * gtk/gtkfilechooserwidget.[ch]: Deprecate
344 gtk_file_chooser_*_new_with_backend(), since GIO is already used
345 directly. Fixes #545976.
347 2008-08-04 Carlos Garnacho <carlos@imendio.com>
350 * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
352 * gtk/gtkfilechooserbutton.c:
353 * gtk/gtkfilechooserdefault.c:
354 * gtk/gtkfilechooserutils.c: Update to use public GFile API.
356 2008-08-04 Michael Natterer <mitch@imendio.com>
358 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
360 Fix pltcheck.sh by restricting the visibility of deprecated
361 symbols to the places where they are actually used:
367 * gtk/gtkprogressbar.c
369 * gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
370 __GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
377 * gtk/gtkprogress.h: make the headers visible if the respective
378 __GTK_FOO_C__ are defined.
380 2008-08-04 Michael Natterer <mitch@imendio.com>
384 * gtk/gtkoldeditable.c
388 * gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
390 2008-08-04 Michael Natterer <mitch@imendio.com>
394 * gtk/gtkitemfactory.[ch]
396 * gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
398 2008-08-04 Sven Neumann <sven@gimp.org>
400 * gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
401 color when the "visited" state is changed.
403 2008-08-04 Michael Natterer <mitch@imendio.com>
405 * gtk/gtkwindow.c: move the code of the deprecated
406 gtk_window_set_policy() to a new private function
407 gtk_window_set_policy_internal() and call it from
408 gtk_window_set_policy().
410 (gtk_window_set_resizable): use the new internal function in order
411 to avoid our own deprecated public API.
413 2008-08-04 Michael Natterer <mitch@imendio.com>
415 * gtk/gtkbindings.c: move the code of the deprecated
416 gtk_binding_entry_clear() to a new private function
417 gtk_binding_entry_clear_internal() and call it from
418 gtk_binding_entry_clear().
420 (_gtk_binding_entry_add_signall)
421 (gtk_binding_parse_bind): use the new internal function in order
422 to avoid our own deprecated public API.
424 2008-08-04 Michael Natterer <mitch@imendio.com>
426 * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font):
427 avoid our own deprecated public API and use
428 gtk_font_selection_get_font_internal() instead of
429 gtk_font_selection_get_font().
431 (gtk_font_selection_get_font)
432 (gtk_font_selection_dialog_get_font): Add missing
433 "Deprecated: 2.0" to the api doc comments.
435 2008-08-04 Michael Natterer <mitch@imendio.com>
437 * gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES.
439 2008-08-04 Tor Lillqvist <tml@novell.com>
441 * configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
442 Windows. AC_SUBST it.
445 * gtk/Makefile.am: Pass appropriate -machine flag to lib.exe.
447 2008-08-04 Tor Lillqvist <tml@novell.com>
449 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
451 * configure.in: On Win64, define GDK_NATIVE_WINDOW_POINTER.
453 * gdk/gdkconfig.h.win32: Ditto here.
455 2008-08-04 Tor Lillqvist <tml@novell.com>
457 * gtk/gtkstatusicon.c: Fix typo in Win32 and Quartz code:
458 s/gtk_icon_icon_info_load_icon/gtk_icon_info_load_icon/ .
460 2008-08-04 Tor Lillqvist <tml@novell.com>
462 * configure.in: Don't bother with the test "if gio can sniff png"
463 if $gio_can_sniff has been already set. Preset it to "no" for
464 Win32. This helps cross-compilation from 32-bit Windows to 64-bit,
465 or from Unix to Windows in general. No idea how this should be
466 handled for cross-compilation in general.
468 2008-08-04 Tor Lillqvist <tml@novell.com>
470 * gdk/win32/gdkdisplay-win32.c: Don't bother looking up
471 EnumDisplayMonitors and GetMonitorInfoA dynamically, they are
472 present in NT-based Windows since Windows 2000.
473 (enum_monitor): For some reason the MONITORINFOEX struct in
474 mingw-win64 is different than the proper one as in MSDN and 32-bit
475 mingw, so just copy the proper definition here.
477 2008-08-03 Björn Lindqvist <bjourne@gmail.com>
479 Bug 540379 – gtk_tree_view_enable_model_drag_dest and
480 gtk_tree_view_enable_model_drag_source unsets reorderable property
482 * gtk/gtktreeview.c: Improve docstrings regarding reorderable
485 2008-08-03 Matthias Clasen <mclasen@redhat.com>
487 * gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon.
489 2008-08-03 Matthias Clasen <mclasen@redhat.com>
491 Bug 546128 – Weirz string
493 * gtk/gtksettings.c: Add a translator hint.
494 Requested by Ignacio Casal Quinteiro
496 2008-08-02 Tor Lillqvist <tml@novell.com>
498 Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings
500 * gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug
501 potential leak. Thanks to Morten Welinder.
503 2008-08-02 Tor Lillqvist <tml@novell.com>
505 * gtk/gtkprint-win32.c
506 * gtk/gtkprint-win32.h
507 * gtk/gtkprintoperation-win32.c: Cosmetic fixups after patch
510 2008-08-02 Tor Lillqvist <tml@novell.com>
512 Bug 339699 - implement gtk_print_operation_set_show_dialog for
515 * gtk/gtkprint-win32.c
516 * gtk/gtkprint-win32.h
517 * gtk/gtkprintoperation-win32.c: Patch by ecyrbe@gmail.com.
519 2008-08-02 Matthias Clasen <mclasen@redhat.com>
521 Bug 544302 – GtkStatusIcon should support GIcon
524 * gtk/gtkstatusicon.[hc]: Add GIcon support to GtkStatusIcon.
525 Patch by Christian Dywan
527 2008-08-02 Matthias Clasen <mclasen@redhat.com>
529 Bug 429427 – Add "arrow-spacing" style property to GtkRange
531 * gtk/gtkrange.c: Add an arrow-spacing style property.
532 Patch by Carlos Garnacho and Christian Dywan
534 2008-08-02 Matthias Clasen <mclasen@redhat.com>
536 Bug 429411 – add style properties to set minimum progressbar
539 * gtk/gtkprogressbar.c: Add style properties for minimum size.
540 Patch by Carlos Garnacho and Christian Dywan
542 2008-08-02 Matthias Clasen <mclasen@redhat.com>
544 Bug 526575 – Missing return type in gtk_ui_manager_get_toplevels
547 * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Improve
550 2008-08-02 Matthias Clasen <mclasen@redhat.com>
552 Bug 523950 – GtkTreeModelFilter's visible function may get an empty
555 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
556 Explain and show how iterators pointing to empty rows should be
557 handled in the visible function. Patch by Björn Lindqvist
559 2008-08-02 Matthias Clasen <mclasen@redhat.com>
561 Bug 539733 – No way to control treeview separator height
563 * gtk/gtktreeview.c: Respect the wide-separators and
564 separator-height style properties when drawing separators.
565 Patch by Christian Dywan
567 2008-08-02 Matthias Clasen <mclasen@redhat.com>
569 Bug 65818 – rename gtk_window_set_default() and add getter for it
572 * gtk/gtkwindow.[hc]: Rename gtk_window_get_default to
573 gtk_window_get_default_widget. Patch by Christian Dywan
575 2008-08-02 Matthias Clasen <mclasen@redhat.com>
577 Bug 344383 – use po/LINGUAS
579 * po/LINGUAS: New file, to make translators happy.
580 * configure.in: Use po/LINGUAS
581 * po/Makefile.in.in: Add po/LINGUAS to DISTFILES
582 Patch by Claude Paroz
584 2008-08-02 Matthias Clasen <mclasen@redhat.com>
586 * gdk/gdkapplaunchcontext.c: Improve the docs
588 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
590 Bug 545931 – small documentation typos
592 * gtk/gtkcomboboxentry.c: Fix some typos in the documentation.
594 2008-08-01 Hans Breuer <hans@breuer.org>
596 * gdk/makefile.msc : build gdkwindowimpl
598 * gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
601 * tests/makefile.msc : update
603 2008-07-31 Cody Russell <bratsche@gnome.org>
605 Bug 56070 – Can't click button after setting it sensitive.
612 * gdk/gdkevents.h: Synthesize crossing events events where necessary.
614 * gtk/tests/crossingevents.c: Add unit tests for crossing events.
616 Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
617 has worked on and helped out with this.
619 2008-07-31 Matthias Clasen <mclasen@redhat.com>
621 Bug 424207 – printing hangs on unreachable cups server
623 * modules/printbackends/cups/gtkcupsutils.[hc]: Implement a
624 non-blocking test for reachability of the cups server.
626 * modules/printbackends/cups/gtkprintbackendcups.c: Don't block
627 while trying to get the default printer. Patch by Marek Kasik.
629 2008-07-31 Matthias Clasen <mclasen@redhat.com>
631 * modules/input/gtkimcontextmultipress.c: Use a second-granularity
632 timer for automatic commit.
634 * gtk/gtkclipboard.c (gtk_clipboard_store): Use a second-grandularity
635 timer for the store timeout.
637 2008-07-31 Matthias Clasen <mclasen@redhat.com>
640 * gdk/gdk.symbols: Complete the set of thread-safe timeout function
641 with second-granularity versions. Patch by Marek Kasik.
643 2008-07-30 Tor Lillqvist <tml@novell.com>
645 * gtk/gtkprintoperation-win32.c: Fix problems in handling custom
646 paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in
647 tenths of a millimeter, and the RECT passed to CreateEnhMetaFile()
648 is in hundredths of a millimeter. Patch by Sven Neumann.
650 2008-07-28 Matthias Clasen <mclasen@redhat.com>
652 * gtk/gtktreemodel.c: Small doc improvements.
654 2008-07-28 Matthias Clasen <mclasen@redhat.com>
656 * configure.in: Bump GLib requirement to 2.17.5 for GEmblemedIcon
658 * gtk/gtkicontheme.c: Support rendering GEmblemedIcons.
660 2008-07-27 Sven Herzberg <sven@imendio.com>
662 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
664 * gtk/Makefile.am: explicitly include the moved header in EXTRA_DIST
666 2008-07-25 Murray Cumming <murrayc@murrayc.com>
668 * gtk/gtkstatusicon.c (gtk_status_icon_class_init):
669 Documented the activate and popup-menu signals as being for use
670 by applications and language bindings, though they are G_SIGNAL_ACTION,
671 as stated in bug #361561.
673 2008-07-24 Sebastien Bacher <seb128@ubuntu.com>
675 * modules/printbackends/cups/gtkprintbackendcups.c:
676 (cups_printer_get_options): don't try free gettext() values,
677 fix a printing dialog crasher (bug 544390)
679 2008-07-24 Cody Russell <bratsche@gnome.org>
681 Bug 544510 – SetTimer callback signatures has the wrong type
683 * gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and
684 sync_timer_proc() to use UINT_PTR for the 'id' parameter
685 instead of 'id'. Patch by Richard Hult.
687 2008-07-23 Matthias Clasen <mclasen@redhat.com>
689 Bug 543915 – "Sole completion" translation issue
691 * gtk/gtkfilechooserentry.c: Add translator hints to a
692 bunch of strings. Requested by Andre Klapper
694 2008-07-23 Matthias Clasen <mclasen@redhat.com>
696 Bug 544265 – GDK assumes XFIXES extension
698 * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
699 Only call XFixes functions if the server has the extension.
700 Reported by Ian Turner.
702 2008-07-22 Matthias Clasen <mclasen@redhat.com>
704 * configure.in: Compare two content types, not content type
707 2008-07-22 Sven Herzberg <sven@imendio.com>
709 Fix svn:ignore and the include condition
711 * gdk/tests/check-gdk-cairo.c: ifndef => ifdef
713 2008-07-22 Tor Lillqvist <tml@novell.com>
715 * configure.in: Workaround for what apparently is a bug in MSYS:
716 returning -1 from main() is misinterpreted as exit status 0, so
717 make sure we return 0 or 1. (The net effect of the bug was that no
718 image loading worked on Windows.)
720 2008-07-22 Sven Herzberg <sven@imendio.com>
722 Add a test for my fixes from July 20th.
724 * configure.in: create gdk/tests/Makefile
725 * gdk/Makefile.am: include the tests subfolder
726 * gdk/tests/Makefile.am: create and run my test
727 * gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
728 (passes at least for x11 and quartz backends)
730 2008-07-22 Frederic Crozat <fcrozat@mandriva.com>
732 * gdk/x11/gdkscreen-x11.c: Don't use RandR 1.2
733 if driver is detected as randr12_compat (ie X driver
734 is not RandR 1.2 compliant). Fixes multihead with
735 such drivers. Bug #543317.
737 2008-07-21 Matthias Clasen <mclasen@redhat.com>
739 * configure.in: Default to linking against Xinerama again,
740 so that we can fallback to Xinerama when broken X drivers
741 make Xrandr useless. Sigh.
743 2008-07-21 Matthias Clasen <mclasen@redhat.com>
745 * configure.in: Bump version
747 * === Released 2.13.5 ===
749 2008-07-21 Matthias Clasen <mclasen@redhat.com>
751 * gtk/gtktestutils.c:
752 * gtk/gtkscalebutton.c:
753 * gtk/gtkmessagedialog.c:
755 * gtk/gtkcontainer.c:
756 * gtk/gtkcolorseldialog.c:
757 * gtk/gtkaccelgroup.c:
759 * gtk/gtkfontsel.c: Fix some doc problems.
761 2008-07-21 Michael Natterer <mitch@imendio.com>
763 * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
764 the deprecated gtk_box_pack_start_defaults().
766 * gtk/gtkbindings.c (gtk_binding_entry_add_signal)
767 (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
768 instead of the deprecated gtk_binding_entry_add_signall().
770 2008-07-21 Emmanuele Bassi <ebassi@gnome.org>
772 * gtk/gtkrecentmanager.c:
773 (recent_app_info_new), (recent_app_info_free): Use GSlice to
774 allocate the application data for recently used resources;
775 do not call time() to initialize the timestamp, as it will
776 be overwritten anyway later. (#535223, Michael Meeks)
778 2008-07-21 Kristian Rietveld <kris@gtk.org>
780 Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
782 * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
783 for width_changed != NULL. (Patch by Josselin Mouette).
785 2008-07-21 Michael Natterer <mitch@imendio.com>
787 Bug 442042 – GtkScaleButton is too limited
789 * tests/testvolumebutton.c: forgot to commit code that tests
790 toggling the button's orientation. Also fixes the file's coding
793 2008-07-21 Cody Russell <bratsche@gnome.org>
795 Bug 153567 – Repaint glitches in widgets
797 * gdk/win32/gdkevents-win32.c: Set a sync timer when
798 we receive WM_SYNCPAINT, and RedrawWindow() once
801 2008-07-21 Michael Natterer <mitch@imendio.com>
803 * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
804 g_signal_override_class_handler() instead of
805 g_signal_override_class_closure().
807 * gtk/gtktextview.c (gtk_text_view_class_init): ditto.
809 (gtk_text_view_compat_move_focus): chain up using
810 g_signal_chain_from_overridden_handler() instead of the generic
811 g_signal_chain_from_overridden() which needs manual fiddling with
814 2008-07-21 Michael Natterer <mitch@imendio.com>
816 * gtk/gtkuimanager.c: remove redundant include.
818 2008-07-21 Michael Natterer <mitch@imendio.com>
820 * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
822 * gtk/gtkfilechooserdefault.c
825 * gtk/gtkscalebutton.c
828 * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
829 some missing I_() to the signal names.
831 2008-07-21 Michael Natterer <mitch@imendio.com>
833 * gtk/gtkspinbutton.c: remove g_return_if_fail() from private
834 functions and virtual function implementations. Some minor
837 2008-07-20 Andre Klapper <a9016009@gmx.de>
839 Bug 543915 - translation issues
841 * modules/printbackends/cups/gtkprintbackendcups.c:
842 Add translator comments for several strings.
844 2008-07-20 Sven Herzberg <sven@imendio.com>
846 reviewed by: Richard Hult
848 Fixes #543868: GdkPixmap is upside down on quartz
850 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
851 coordinate space from GTK+ orientation to CoreGraphics orientation
852 before calling CoreGraphics code
853 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
854 coordinate space flipping (we always get it right, now)
855 * gdk/quartz/gdkpixmap-quartz.c
856 (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
857 creating the CGContextRef
859 2008-07-20 Sven Herzberg <sven@imendio.com>
861 reviewed by: Richard Hult
863 Extracted the CGContextRef creation into a virtual function of
864 GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
867 * gdk/quartz/gdkdrawable-quartz.c
868 (gdk_quartz_drawable_get_context): dropped the different
869 implementations; forward to the virtual function now
870 * gdk/quartz/gdkdrawable-quartz.h: added the virtual function
871 * gdk/quartz/gdkpixmap-quartz.c
872 (gdk_pixmap_impl_quartz_get_context),
873 (gdk_pixmap_impl_quartz_class_init): implemented get_context()
874 * gdk/quartz/gdkwindow-quartz.c
875 (gdk_window_impl_quartz_get_context),
876 (gdk_window_impl_quartz_class_init): implemented get_context()
878 2007-08-19 Matthias Clasen <mclasen@redhat.com>
882 2007-08-18 Matthias Clasen <mclasen@redhat.com>
884 Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
885 inside "apply" signal handler
887 * gtk/gtkassistant.c: Don't emit signals with extra parameters.
888 Patch by Antti Kaijanmäki
890 2007-08-18 Matthias Clasen <mclasen@redhat.com>
892 Bug 543217 – GTK application crashed with directfb backend
894 * gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
895 _gdk_visual_init(). Patch by Huimin He.
897 2008-07-18 Federico Mena Quintero <federico@novell.com>
899 * gtk/updateiconcache.c (build_cache): If the resulting cache file
900 would be empty, erase the old cache file as well as the temporary file.
902 2008-07-18 Federico Mena Quintero <federico@novell.com>
904 * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
905 do funny casts to avoid compiler warnings.
907 * demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
909 * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
911 * gtk/gtkmodules.c (load_module): Likewise.
913 * gtk/gtkselection.c (gtk_selection_convert): Likewise.
915 * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
917 * gtk/queryimmodules.c (query_module): Likewise.
919 * tests/testgtk.c (create_gridded_geometry, create_key_lookup)
920 (find_widget_at_pointer): Likewise.
922 2008-07-08 Matthias Clasen <mclasen@redhat.com>
924 * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
925 hunk of the previous commit.
927 2008-07-18 Sven Herzberg <sven@imendio.com>
929 Make aliasfilecheck.sh pass for the quartz backend, too.
931 * gtk/Makefile.am: don't include gtkquartz.h in the list of c files
933 2008-07-17 Runa Bhattacharjee <runabh@gmail.com>
935 * configure.in: Added Pashto (ps) to ALL_LINGUAS
937 2008-07-15 Paolo Borelli <pborelli@katamail.com>
939 Bug 447998 - GtkBuilder does not support building parts of the xml tree
943 * gtk/gtkbuilderprivate.h:
944 * gtk/gtkbuilderparser.c:
946 Add two new functions that allow cherry picking and construct
947 objects from a ui description file or string.
949 * gtk/tests/builder.c: tests for the above.
951 2008-07-15 Paolo Borelli <pborelli@katamail.com>
953 * gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
954 signal) case and plug a couple of leaks.
956 2008-07-15 Matthias Clasen <mclasen@redhat.com>
958 Bug 543244 – crashes when renaming a bookmark
960 * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
961 free a GFile. Reported by Sebastien Bacher
963 2008-07-15 Matthias Clasen <mclasen@redhat.com>
965 Bug 339591 – Detect list of availible cover pages
967 Patch by Marek Kasik:
968 * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
969 available cover pages and the default front and back cover pages
970 from the cups server.
972 2008-07-15 Matthias Clasen <mclasen@redhat.com>
974 Bug 384940 – handle rejecting jobs and authentication meaningfully
976 Patch by Marek Kasik, icons by Mike Langlie:
978 * gtk/gtkprintbackend.h:
979 * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
983 * gtk/gtkiconfactory.c:
985 * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
987 * modules/printbackends/cups/gtkprintbackendcups.c:
988 * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
991 2008-07-15 Matthias Clasen <mclasen@redhat.com>
993 * configure.in: Add a test to see if GIO can sniff image data,
994 this should make gdk-pixbuf use its own sniffing again, on OS X.
996 2008-07-15 Xavier Claessens <xclaesse@gmail.com>
998 Bug 542523 – GtkTextTag should handle setting properties to NULL
1000 * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
1001 setting it to NULL instead of displaying a warning.
1003 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1005 Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
1007 * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
1008 Call shortcuts_check_popup_sensitivity() every time the
1009 menu is popped up. Problem reported by Hong Jen Yee
1011 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1013 Bug 488766 – GtkFileChooserButton doesn't clear icon after
1014 gtk_file_chooser_unselect_all
1016 * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
1017 the image when the label is set to "(None)". Reported by
1020 * tests/testfilechooserbutton.c: Add an "Unselect all" button.
1022 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1024 Bug 507394 – mem leak from gtk_selection_add_targets
1026 * gtk/gtkoldeditable.c: Free target lists in finalize.
1027 Reported by Christian Persch
1029 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1032 * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.
1034 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1036 * gtk/gtklabel.c: Trivial doc fix.
1038 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1040 Bug 542853 – jasper test fails due to incomplete library arguments
1042 * configure.in: Add -ljpeg when checking for jasper.
1043 Reported by Mike Calmus
1045 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1047 * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek
1050 2008-07-11 Kristian Rietveld <kris@gtk.org>
1052 Bug 316087 - Resizing columns is chaotic
1054 * gtk/gtktreeprivate.h: add new member fields.
1056 * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
1058 (gtk_tree_view_size_allocate_columns): rework the size allocation
1059 mechanism to only recalculate the expand values if the width of the
1060 widget, content or the column configuration has changed,
1061 (gtk_tree_view_size_allocate): move call to size_allocate_columns()
1062 to before the adjustment updates so the proper width is used after
1064 (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
1065 use the column width minus the expand value for the resized width,
1066 (gtk_tree_view_move_column_after): update call to
1067 gtk_tree_view_size_allocate_columns().
1069 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
1070 resized width to FALSE.
1072 * tests/Makefile.am:
1073 * tests/testtreecolumnsizing.c: new interactive test program
1074 for testing column resizing with different column configurations.
1076 2008-07-11 Simos Xenitellis <simos@gnome.org>
1078 * gtk/compose-parse.py:
1079 * gtk/gtkimcontextsimple.c:
1080 Fixed typo for the name of Markus Kuhn, issue mentioned
1081 in bug #321896 (comment 61).
1083 2008-07-11 Simos Xenitellis <simos@gnome.org>
1085 Bug 334418 – Support easy input of ellipsis
1087 * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
1088 that listed the wrong codepoint. Reported by Wouter Bolsterlee.
1090 2008-07-03 Murray Cumming <murrayc@murrayc.com>
1092 * gtk/gtkwidget.c (gtk_widget_set_property): tooltip-text and
1093 tooltip-markup properties: Interpret an empty string as a NULL
1094 string because an empty tooltip is silly. This will help
1095 language bindings that do not bother to have the two types of
1099 2008-07-10 Matthias Clasen <mclasen@redhat.com>
1101 Bug 542234 – iconview a11y implementation segfaults
1103 * gtk/gtkiconview.c: Fix a segfault in the a11y code.
1106 2008-07-08 Christian Neumair <cneumair@gnome.org>
1108 * gtk/gtkuimanager.c (update_node):
1109 Skip update of accelerator child node if it has no associated action.
1112 2008-07-07 Cody Russell <bratsche@gnome.org>
1114 Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack
1116 * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
1117 existing modal hint value before setting it.
1119 2008-07-07 Cody Russell <bratsche@gnome.org>
1121 Bug 540994 – [Win32] Some windows don't appear at the top when created
1123 * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.
1125 I actually already committed this one by accident, probably when I committed
1126 #541305, but just wanted to document it here in the ChangeLog.
1128 2008-07-07 Johan Dahlin <johan@gnome.org>
1130 * gtk/tests/builder.c (test_cell_view):
1131 Add a test case for 528845.
1133 2008-07-07 Tor Lillqvist <tml@novell.com>
1135 * gdk/win32/gdkwindow-win32.c
1136 (gdk_window_foreign_new_for_display): Need to initialise
1137 private->impl here, too.
1139 2008-07-07 Michael Natterer <mitch@imendio.com>
1141 * gtk/gtkfilesystem.c: include the two needed headers instead of
1144 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1146 Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
1149 * gtk/gtkcellview.c: Don't blindly chain up in the buildable
1150 implementation. Reported by Kevin Ryde.
1152 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1154 Bug 469068 – clarify gdk_cairo_create()
1156 * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
1157 contexts cannot be cached for handling expose events.
1158 Proposed by Behdad Esfahbod.
1160 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1162 Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups
1164 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
1165 that the tooltip is set as markup. Proposed by Czirkos Zoltan.
1167 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1169 Bug 510225 – gtk_widget_get_composite_name retval should be freed
1171 * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
1172 docs. Pointed out by Wolfgang Oertl
1174 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1176 Bug 531129 – gtk_style_copy() does not include a return value or
1179 * gtk/gtkstyle.c: Document gtk_style_copy.
1181 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1183 Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
1184 Bug 513580 – Broken link in GTK+ FAQ
1186 * docs/faq/gtk-faq.sgml: Remove or update some outdated links.
1188 2008-07-07 Christian Dywan <christian@imendio.com>
1190 * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
1191 erroneously added g_return_if_fail (bug #541811).
1193 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1195 Bug 343663 – source-buffer highlighting highlights "char" in
1196 gtk_text_iter_forward_char
1198 * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.
1200 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1202 Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
1204 * gtk/gtksettings.c: Improve the documentation of the
1205 gtk-icon-sizes setting. Proposed by Tommi Komulainen.
1207 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1209 Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
1212 * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
1213 Check that the cursor is over a valid date before retrieving
1214 its details. Patch by Chris Wilson
1216 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1218 Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
1220 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
1221 64-bit brokenness. Reported by Christian Hammond.
1223 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1225 Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
1228 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
1229 Be more robust. Reported by Jelte van der Hoek
1231 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1233 Bug 540917 – deprecate pack_start_defaults()
1236 * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
1237 Proposed by Owen Taylor
1239 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1241 * configure.in: Bump version
1243 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1245 * === Released 2.13.4 ===
1247 2008-07-05 Michael Natterer <mitch@imendio.com>
1249 * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
1250 deprecated section because it isn't deprecated.
1252 2008-07-05 Michael Natterer <mitch@imendio.com>
1254 * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
1255 other include weirdness in this file.
1257 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1261 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1263 * gtk/gtkiconview.c:
1265 * gtk/gtkscalebutton.c: Small doc fixes.
1267 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1270 * gdk/x11/gdktestutils-x11.c: Small doc fixes
1272 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1274 * gtk/tests/defaultvalue.c: Omit some more untestable properties.
1276 * gtk/gtkmenu.c: Fix the initial value of the monitor property.
1278 * gtk/gtkentry.c: Fix the property getter for text-length property.
1280 * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
1282 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1284 * gtk/gtkmenu.c: Debork the attach-widget property.
1286 2008-07-04 Michael Natterer <mitch@imendio.com>
1290 * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
1300 * gtk/gtkoldeditable.c
1303 * gtk/gtktipsquery.c
1305 * gtk/gtktreeitem.c: don't #define it again before including
1306 gtkalias.h after it has been #undef'ed before.
1308 2008-07-04 Michael Natterer <mitch@imendio.com>
1310 * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
1311 to FALSE instead of 0.
1313 2008-07-04 Michael Natterer <mitch@imendio.com>
1315 Allocate with GSlice:
1317 * gtk/gtkassistant.c: GtkAssistantPage
1318 * gtk/gtkcellview.c: GtkCellViewCellInfo
1319 * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
1320 * gtk/gtkfilefilter.c: FilterRule
1321 * gtk/gtknotebook.c: GtkNotebookPage
1323 2008-07-04 Michael Natterer <mitch@imendio.com>
1325 * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
1327 2008-07-04 Michael Natterer <mitch@imendio.com>
1329 * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
1330 variable to GtkWidget fo fix two warnings.
1332 2008-07-04 Michael Natterer <mitch@imendio.com>
1334 Bug 539944 – Add GtkScaleButton API so struct fields can be marked
1338 * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
1339 and _get_minus_button(). Patch by Christian Dywan.
1341 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1343 * gtk/gtkscalebutton.c:
1345 * gdk/gdkwindowimpl.c: Fix make check.
1347 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1349 Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
1350 constructed using GtkUIManager
1352 * gtk/gtkmenuitem.c: Fall back to the default positioning when
1353 the menuitem is not realized. Patch by Björn Lindqvist.
1355 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1357 Bug 540612 – mem leak in filechooser
1359 * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
1360 Patch by Christian Persch.
1362 2008-07-04 Tor Lillqvist <tml@novell.com>
1364 Bug 540861 - invalid UTF-8 in input device name
1366 * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
1367 Unicode, and convert to UTF-8 for the GdkDevice's name field.
1369 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1371 Bug 538863 – Fixes assertion on entering empty folder
1373 * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
1374 select the first row if the folder is empty.
1375 Patch by Olle Bergkvist.
1377 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1379 Bug 540915 – GtkBuilder sets properties in reverse order
1381 * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order
1382 in which they are specified in the xml file.
1384 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1386 Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
1390 * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
1391 accessor for the popup. Patch by Christian Dywan
1393 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1395 Bug 535498 – Printing demo broken
1397 * demos/gtk-demo/printing.c: Use monospace as font name,
1398 not mono. Also use the right advance when moving from line to line.
1399 Patch by Yevgen Muntyan.
1401 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1403 Bug 538547 – Update doc-shooter in gtk documentation
1405 * docs/tools/Makefile.am:
1406 * docs/tools/folder.png:
1407 * docs/tools/gnome.png: New images
1409 * docs/tools/widgets.c: Use the new images.
1410 Patch by Baptiste Mille-Mathias.
1412 2008-07-03 Michael Natterer <mitch@imendio.com>
1414 * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
1415 names of binding signal implementations.
1417 2008-07-03 Li Yuan <li.yuan@sun.com>
1419 * gail-uninstalled.pc.in:
1420 Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
1422 2008-07-03 Cody Russell <bratsche@gnome.org>
1424 Bug 540529 – Remove all GIMP references
1428 * gtk+-unix-print-2.0.pc.in:
1429 * gtk+-2.0-uninstalled.pc.in:
1430 * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
1431 GTK+ Graphical UI Library in the pkg-config files.
1433 2008-07-02 Cody Russell <bratsche@gnome.org>
1435 Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
1437 * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
1440 * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
1441 * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
1444 2008-07-02 Cody Russell <bratsche@gnome.org>
1446 Bug 541249 – [Win32] Fix some internal static methods
1448 * gdk/gdkwindow-win32.c: Make the interface implementation methods
1451 2008-07-02 Michael Natterer <mitch@imendio.com>
1453 Bug 537591 – Don't hardcode minimum width of menuitems
1455 * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
1456 introduces a "width-chars" style property which replaces the
1457 hardcoded minimum width of menuitems with submenu. Patch
1458 extracted from Maemo-GTK+.
1460 2008-07-02 Michael Natterer <mitch@imendio.com>
1462 * gtk/gtkfilechooserdefault.c: remove some of the million includes.
1464 2008-07-02 Kristian Rietveld <kris@imendio.com>
1466 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
1467 Since s/2.16/2.14/ for the new gicon property.
1469 2008-07-02 Kristian Rietveld <kris@imendio.com>
1471 Bug 455268 - Add gtk-enable-tooltips GtkSetting
1474 * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
1476 * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
1478 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
1479 introduced XSetting into account.
1481 * demos/gtk-demo/appwindow.c: don't use the now deprecated
1482 gtk_toolbar_set_tooltips().
1484 2008-07-02 Cody Russell <bratsche@gnome.org>
1486 Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
1488 * gdk/win32/gdkprivate-win32.h:
1489 * gdk/win32/gdkgeometry-win32.c:
1490 * gdk/win32/gdkevents-win32.c:
1491 * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
1492 the newly refactored GdkWindow code.
1494 2008-07-01 Cody Russell <bratsche@gnome.org>
1496 Bug 539164 – Windows' System Menu blocks main loop
1498 * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
1499 receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
1500 GLib mainloop from there.
1502 2008-07-01 Richard Hult <richard@imendio.com>
1504 Some aftermath from the window impl cleanups:
1506 * gdk/quartz/gdkwindow-quartz.c:
1507 (gdk_window_merge_child_input_shapes): Rename and export again.
1508 (gdk_window_quartz_get_offsets): Make static.
1510 2008-07-01 Michael Natterer <mitch@imendio.com>
1512 * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
1514 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1516 539790 – [PATCH] Please add three new settings to GtkSettings
1518 * gdk/x11/gdksettings.c:
1519 * gtk/gtksettings.c: Add event sound settings.
1520 Patch by Lennart Poettering.
1522 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1524 Bug 434535 – printoperation's create_surface doesn't check temp file
1525 creation for success
1527 Patch by Marek Kasik:
1529 * gtk/gtkprintoperation-unix.c
1530 (_gtk_print_operation_platform_backend_create_preview_surface):
1531 Handle failure to create temp file by returning NULL.
1533 * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
1534 Return FALSE if surface creation fails.
1536 (print_pages): If the preiew signal is not handled, show an
1539 2008-07-01 Michael Natterer <mitch@imendio.com>
1541 Bug 442042 – GtkScaleButton is too limited
1543 * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
1544 property that can be changed at any time after widget
1545 creation. Add public API for it.
1547 * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
1549 2008-06-30 Michael Natterer <mitch@imendio.com>
1551 Some unrelated cleanups found while reviewing
1552 the offscreen window patch:
1554 * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
1555 functions, fix some function header indentation, update
1556 documentation of redirect_to_drawable().
1558 * gdk/x11/gdkwindow-x11.c
1559 * gdk/x11/gdkpixmap-x11.c: fix function header
1560 formatting/indentation.
1562 * gtk/gtkwidget.c: use I_() on "damage_event".
1564 2008-06-30 Michael Natterer <mitch@imendio.com>
1566 * gdk/gdkinternals.h: remove duplicate declaration of
1569 2008-06-30 Michael Natterer <mitch@imendio.com>
1571 * gdk/Makefile.am: reorder source lists alphabetically.
1573 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1575 Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
1577 * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
1578 Patch by Owen Taylor
1580 2008-06-29 Behdad Esfahbod <behdad@gnome.org>
1582 Bug 530255 – GtkAboutDialog cuts off comments label
1583 Followup patch from Jan Arne Petersen
1585 * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
1587 2008-06-28 Michael Natterer <mitch@imendio.com>
1589 * gtk/gtkselection.h: properly indent the newly added
1590 GtkSelectionData accessors. Some newlines can't hurt either.
1592 2008-06-27 Mikael Hallendal <micke@imendio.com>
1594 * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
1596 2008-06-27 Mikael Hallendal <micke@imendio.com>
1598 * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
1599 Factored out gtk_box_pack from gtk_box_pack_start and use it from both
1600 pack_start and pack_end in order to reduce the code duplication.
1602 2008-06-27 Michael Natterer <mitch@imendio.com>
1604 Bug 442042 – GtkScaleButton is too limited
1606 * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
1607 "gtk-scalebutton-popup-window" on the popup window so it is
1610 2008-06-27 Kristian Rietveld <kris@imendio.com>
1612 * gdk/quartz/gdkgeometry-quartz.c:
1613 * gdk/quartz/gdkwindow-quartz.c:
1614 * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
1617 2008-06-27 Carlos Garnacho <carlos@imendio.com>
1619 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
1620 critical warnings. Bug #539470.
1622 2008-06-27 Emmanuele Bassi <ebassi@gnome.org>
1624 Abstract some GdkWindow API into an interface that the backends
1625 must implement. (based on a patch by Alex Larsson)
1627 * gdk/Makefile.am: Add gdkwindowimpl.[ch]
1629 * gdk/gdk.symbols: Move symbols around.
1631 * gdk/gdkinternals.h:
1632 * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
1633 from the backends to a GInterface that the backends should implement
1636 * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
1637 wrapper call around the GdkWindowImpl interface vtable.
1639 * gdk/x11/gdkevents-x11.c:
1640 * gdk/x11/gdkgeometry-x11.c:
1641 * gdk/x11/gdkprivate-x11.h:
1642 * gdk/x11/gdkwindow-x11.c:
1643 * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
1644 the GdkWindowImpl interface.
1646 2008-06-27 Martyn Russell <martyn@imendio.com>
1648 Bug 540318 - Invalid URL
1650 * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
1651 in the warning produced here.
1653 2008-06-27 Michael Natterer <mitch@imendio.com>
1655 Bug 442042 – GtkScaleButton is too limited
1657 * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
1658 stuff that is part of the public API continues to be created in
1659 init() to stay compatible. Move creating of the popup scale to
1660 constructor(). Add an internal HScale class. Changed popup
1661 positioning for horizontal scales accordingly.
1663 2008-06-26 Michael Natterer <mitch@imendio.com>
1665 * gtk/gtkscalebutton.c
1666 * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
1667 prototypes, remove redundant includes, remove a little trailing
1670 2008-06-26 Richard Hult <richard@imendio.com>
1672 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1674 (_gtk_quartz_get_selection_data_from_pasteboard),
1675 (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
1676 Christian Dywan to clean up selection data setting.
1678 2008-06-26 Richard Hult <richard@imendio.com>
1680 * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
1681 deprecated function gtk_widget_ref, replace with g_object_ref.
1683 2008-06-26 Michael Natterer <mitch@imendio.com>
1685 * gtk/gtkfilesystem.c: #include "config.h"
1687 2008-06-26 Carlos Garnacho <carlos@imendio.com>
1689 * gtk/gtkfilechooserdefault.c
1690 (gtk_file_chooser_default_get_current_folder): current_folder can be
1691 NULL here, do not try to reference it (Bug #540235)
1692 (gtk_file_chooser_default_get_files): Deal better with
1693 gtk_file_chooser_default_get_current_folder() being able to return
1696 2008-06-26 Michael Natterer <mitch@imendio.com>
1698 * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
1699 allocate the GtkTextUtilCallbackInfo structs with GSlice.
1701 2008-06-25 Michael Natterer <mitch@imendio.com>
1703 * gtk/gtktypeutils.h: there is no reason to include
1704 <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
1705 replacing the <glib-object.h> include. Also move the remaining few
1706 non-deprecated things to the top and move some deprecated things
1707 around to clean up the mess with too many deprecated sections even
1710 2008-06-24 Michael Natterer <mitch@imendio.com>
1712 * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
1713 (also for GTK_COMPILATION). Move some deprecated typedefs around
1714 to reduce the mess with zillions of deprecated sections.
1716 * gtk/gtkmain.c (do_post_parse_initialization): replace the call
1717 to gtk_type_init() by g_type_init() and gtk_object_get_type() even
1718 though the latter is probably completely pointless.
1720 2008-06-24 Michael Natterer <mitch@imendio.com>
1722 * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
1723 the dialog's vbox was added (bug #539732).
1725 2008-06-24 Carlos Garnacho <carlos@imendio.com>
1727 * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
1728 thought for handling non-direct children. Fixes #539732.
1729 (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
1730 doesn't provide enough control to API users (removing, reordering...),
1731 this is better handled through:
1732 (gtk_dialog_get_content_area): New function which just returns
1734 * gtk/gtk.symbols: Modify accordingly.
1735 * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
1736 using gtk_dialog_get_[action|content]_area() instead of accessing
1737 dialog struct members directly.
1739 2008-06-24 Michael Natterer <mitch@imendio.com>
1741 * gtk/gtkassistant.h
1742 * gtk/gtkcellrenderer.h
1743 * gtk/gtkfilechooserentry.h
1747 * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
1748 if there is any other widget included, they all have to include
1749 their respective parent classes (the is-a relation works for
1752 2008-06-24 Michael Natterer <mitch@imendio.com>
1754 * gtk/gtktextutil.h: remove includes from this internal header.
1756 * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
1758 2008-06-23 Michael Natterer <mitch@imendio.com>
1760 * gtk/gtkinvisible.h: formatting.
1762 2008-06-23 Michael Natterer <mitch@imendio.com>
1765 * gtk/gtkbuildable.h
1766 * gtk/gtkbuilderprivate.h
1767 * gtk/gtkcelllayout.h
1768 * gtk/gtkentrycompletion.h
1769 * gtk/gtkfilechoosersettings.h
1770 * gtk/gtkfilesystem.h
1771 * gtk/gtkfilesystemmodel.h
1772 * gtk/gtkicontheme.h
1773 * gtk/gtklinkbutton.h
1774 * gtk/gtkpagesetup.h
1775 * gtk/gtkpapersize.h
1776 * gtk/gtkprintcontext.h
1777 * gtk/gtkprintoperation.h
1778 * gtk/gtkprintoperationpreview.h
1779 * gtk/gtkprintsettings.h
1780 * gtk/gtkrecentchooserprivate.h
1781 * gtk/gtkrecentmanager.h
1782 * gtk/gtksearchengine.h
1784 * gtk/gtktreeselection.h
1785 * gtk/gtktreeviewcolumn.h
1786 * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
1787 <glib-object.h>. There is no point in relying on them being pulled
1788 in by other headers in some places and placing them explicitly in
1789 other places, so choose the "as little includes as possible"
1790 approach and get rid of them.
1792 2008-06-23 Kristian Rietveld <kris@imendio.com>
1794 * gdk/gdkenumtypes.h.template:
1795 * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
1796 * gtk/gtktypebuiltins.h.template:
1797 * perf/typebuiltins.h.template: do not hard code the prefix of the
1798 enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
1800 2008-06-23 Michael Natterer <mitch@imendio.com>
1802 * gtk/gtkmountoperation.h
1803 * gtk/gtktestutils.h
1804 * gtk/gtkshow.[ch]: remove as many includes as possible from these
1805 new files. They can't be included individually, so nothing can break.
1807 2008-06-22 Michael Natterer <mitch@imendio.com>
1809 * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
1810 registering the "modifier-mask" property.
1812 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
1814 * *.[ch]: Include "config.h" instead of <config.h>
1816 find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
1817 Rubberstamped by Mitch and Tim
1819 2008-06-21 Carlos Garnacho <carlos@imendio.com>
1821 Bug 539466 – GtkMenuShell API/ABI break in trunk.
1823 * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
1824 different name and packing width.
1826 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
1828 * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
1831 2008-06-21 Michael Natterer <mitch@imendio.com>
1833 * gdk/gdkapplaunchcontext.h: remove redundant include, fix
1834 indentation, replace header by a GDK copyright header (don't say
1835 "The Gnome Library"), remove trailing whitespace.
1837 2008-06-21 Hans Breuer <hans@breuer.org>
1839 * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible
1840 types - from 'struct _cairo *' to 'struct _cairo_surface *' by
1841 passing the surface to cairo_surface_show_page(), not the context
1842 * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018:
1843 '<' : signed/unsigned mismatch by using guint for the loop
1845 * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is
1846 an uint, gtk_menu_get_active() returns the widget pointer. Convert
1847 the latter to the former by calculating the index in menu::children
1848 Also fix some occurences of g_return_if_fail() where
1849 g_return_val_if_fail() was meant
1851 2008-06-21 Björn Lindqvist <bjourne@gmail.com>
1853 Bug 539363 – Segfault when creating GtkPlugs
1855 * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
1856 property names. "socket window" => "socket-window"
1858 2008-06-20 Jody Goldberg <jody@gnome.org>
1860 * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) :
1861 Fix life cycle to avoid crash. [#536966]
1863 2008-06-20 Hans Breuer <hans@breuer.org>
1865 * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
1866 a value of the appropriate type with g_return_val_if_fail
1868 * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
1870 * gtk/gtkfilesystem.c : don't add the "File System" on win32
1872 * tests/makefile.msc : remove broken autotestfile(system|chooser)
1875 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1877 * gtk/gtkbutton.c: Document a style property
1879 * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
1882 * gtk/gtkcolorsel.c:
1884 * gtk/gtkitemfactory.c:
1885 * gtk/gtknotebook.c:
1886 Fix up deprecated markup syntax. Add version numbers and
1887 a message on the remaning ones.
1889 2008-06-20 Mikael Hallendal <micke@imendio.com>
1891 * tests/testthreads.c: Use g_signal_connect instead of
1894 * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
1895 While the code is not built, people may still look at it.
1897 2008-06-20 Kjartan Maraas <kmaraas@gnome.org>
1899 reviewed by: <Carlos Garnacho <garnacho@gnome.org>
1902 * gtk/gtkliststore.h:
1904 * gtk/gtktextchild.h:
1905 * gtk/gtktreemodelfilter.h:
1906 * gtk/gtktreemodelsort.h:
1907 * gtk/gtktreestore.h:
1908 #include <gdkconfig.h> not <gdk/gdkconfig.h>
1910 2008-06-20 Martyn Russell <martyn@imendio.com>
1912 * gtk/gtkaccelgroup.c: Fix warnings from calling
1913 g_object_notify() on a GtkAccelGroup without casting to a
1916 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1918 * gtk/gtkcolorsel.c: Modernize and order things as most
1919 other objects. Defines at the top, class init before init
1920 before gobject methods before object method before widget
1921 methods. No changes to the logic done.
1923 2008-06-20 Martyn Russell <martyn@imendio.com>
1925 * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
1926 properties that don't exist. Also, make sure we notify for
1927 the "is-locked" property.
1929 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1931 * gtk/gtklayout.c (enum): Remove left-over unused property enum.
1933 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1935 * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
1937 * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
1939 * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
1940 allocation to avoid compiler warnings
1942 2008-06-20 Michael Natterer <mitch@imendio.com>
1944 * gtk/gtkaccellabel.h
1945 * gtk/gtkactiongroup.h
1946 * gtk/gtkalignment.h
1948 * gtk/gtkaspectframe.h
1950 * gtk/gtkhandlebox.h
1951 * gtk/gtkprogressbar.h
1954 * gtk/gtkscalebutton.h
1955 * gtk/gtkselection.h: fix some formatting and spacing uglyness
1956 that got merged from the GSEAL branch.
1958 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1961 * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
1962 * gtk/gtkmessagedialog.h:
1963 Add missing accessor for sealed field GtkMessageDialog->image.
1965 2008-06-20 Michael Natterer <mitch@imendio.com>
1967 * gtk/gtkprinter.h: the GSEAL branch added two includes for no
1970 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1972 * gtk/gtkaccelgroup.c:
1973 * gtk/gtkcolorseldialog.c:
1974 * gtk/gtkcontainer.c:
1976 * gtk/gtkentry.c (gtk_entry_class_init):
1978 * gtk/gtkhandlebox.c:
1980 * gtk/gtkmenu.c (gtk_menu_class_init):
1981 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
1982 * gtk/gtkplug.c (gtk_plug_class_init):
1983 * gtk/gtkselection.c:
1985 * gtk/gtktreeselection.c:
1986 * gtk/gtkwidget.c (gtk_widget_class_init):
1988 Add missing Since: gtk-doc markup for newly added GSEAL API.
1989 Change all Since: GSEAL-branch to Since: 2.14.
1991 2008-06-20 Michael Natterer <mitch@imendio.com>
1993 * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
1994 the code merged from the GSEAL branch.
1996 2008-06-20 Michael Natterer <mitch@imendio.com>
1998 * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
1999 value from GtkHButtonBox to GtkWidget.
2001 2008-06-20 Michael Natterer <mitch@imendio.com>
2003 * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
2006 2008-06-20 Michael Natterer <mitch@imendio.com>
2008 * gtk/gtkwindow.[ch]
2009 * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
2010 gtk_window_group_list_windows().
2012 2008-06-20 12:35:20 +0200 Tim Janik
2014 * Fixed wrongly resolved merge conflicts.
2016 2008-06-19 19:01:41 +0200 Carlos Garnacho
2018 Add gtk_window_group_get_windows().
2021 * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
2023 2008-06-19 18:39:47 +0200 Carlos Garnacho
2025 Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
2027 * gtk/gtkdialog.c: Add missing documentation for new fucntions.
2029 2008-06-19 18:38:35 +0200 Carlos Garnacho
2031 Document gtk_container_get_focus_child().
2033 * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
2035 2008-06-19 13:50:06 +0200 Christian Dywan
2037 Add gtk_plug_get_socket_window
2039 2008-06-19 13:11:52 +0200 Christian Dywan
2041 Remove superflous gtkselection accessors and merge _get_data
2043 2008-06-13 15:56:51 +0200 Christian Dywan
2045 Implement gtk_selection_get_display, style fixes
2047 2008-06-13 15:45:00 +0200 Christian Dywan
2049 Fix indentation of a comment.
2051 2008-06-13 15:10:08 +0200 Christian Dywan
2053 Change docs and signature of gtk_widget_get_allocation
2055 2008-06-13 14:22:17 +0200 Christian Dywan
2057 Remove unneeded GtkColorSelectionDialog accessors
2059 2008-06-13 12:57:54 +0200 Christian Dywan
2061 Fix documentaion of gtk_menu_item_get_accel_path
2063 2008-06-11 13:49:34 +0200 Christian Dywan
2065 Fix gtk_widget_get_allocation
2067 2008-06-07 15:37:18 +0200 Carlos Garnacho
2069 Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
2073 * gtk/gtkcellrenderer.h:
2074 * gtk/gtkcellrenderertext.h:
2075 * gtk/gtkcheckmenuitem.h:
2076 * gtk/gtkcontainer.h:
2078 * gtk/gtkhandlebox.h:
2079 * gtk/gtkimcontextsimple.h:
2081 * gtk/gtkliststore.h:
2083 * gtk/gtkmenuitem.h:
2084 * gtk/gtkmenushell.h:
2085 * gtk/gtknotebook.h:
2088 * gtk/gtkprintjob.h:
2089 * gtk/gtkprogressbar.h:
2092 * gtk/gtkscrolledwindow.h:
2093 * gtk/gtksizegroup.h:
2095 * gtk/gtkspinbutton.h:
2096 * gtk/gtkstatusbar.h:
2098 * gtk/gtktearoffmenuitem.h:
2099 * gtk/gtktextbuffer.h:
2100 * gtk/gtktextview.h:
2101 * gtk/gtktogglebutton.h:
2103 * gtk/gtktreestore.h:
2104 * gtk/gtktreeviewcolumn.h:
2105 * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
2107 2008-06-06 19:02:17 +0200 Christian Dywan
2111 2008-06-06 17:58:21 +0200 Christian Dywan
2113 Seal GtkSelectionData
2115 2008-06-06 17:57:23 +0200 Christian Dywan
2117 Fix GtkDialog, don't add vbox via gtk_container_add.
2119 2008-06-06 13:39:34 +0200 Kristian Rietveld
2121 Make GtkCellRenderer::editing read-only. (Catched by Matthias)
2123 2008-06-03 09:11:50 +0200 Kristian Rietveld
2127 2008-05-30 16:48:12 +0100 Martyn Russell
2129 Seal GtkFontSelection & GtkFontSelectionDialog
2131 2008-05-29 10:35:29 +0200 Kristian Rietveld
2133 Seal GtkTearoffMenuItem.
2135 (the torn_off field is for internal state keeping, you can retrieve
2136 the value from the parent menu's tearoff_state).
2138 2008-05-27 18:34:12 +0200 Christian Dywan
2142 2008-05-27 18:17:44 +0200 Christian Dywan
2146 2008-05-27 15:10:02 +0200 Christian Dywan
2150 2008-05-27 14:17:45 +0200 Christian Dywan
2154 2008-05-27 14:04:31 +0200 Christian Dywan
2158 2008-05-27 12:40:08 +0200 Christian Dywan
2162 2008-05-27 12:39:49 +0200 Christian Dywan
2164 Seal GtkIMMultiContext
2166 2008-05-27 12:39:17 +0200 Christian Dywan
2168 Seal GtkIMContextSimple
2170 2008-05-27 12:14:53 +0200 Christian Dywan
2174 2008-05-27 11:14:21 +0200 Christian Dywan
2178 2008-05-27 10:54:20 +0200 Christian Dywan
2180 Fix the build by including gdkconfig.h in gtkprinter.h.
2182 2008-05-27 10:38:02 +0200 Christian Dywan
2186 2008-05-27 10:20:56 +0200 Christian Dywan
2190 2008-05-26 17:58:19 +0200 Kristian Rietveld
2194 2008-05-26 17:54:56 +0200 Kristian Rietveld
2198 2008-05-26 17:48:23 +0200 Kristian Rietveld
2202 2008-05-26 17:39:38 +0200 Kristian Rietveld
2206 2008-05-26 17:31:06 +0200 Kristian Rietveld
2210 2008-05-26 17:27:22 +0200 Kristian Rietveld
2214 2008-05-26 17:07:43 +0200 Kristian Rietveld
2218 2008-05-26 17:07:37 +0200 Kristian Rietveld
2222 2008-05-26 16:39:27 +0200 Kristian Rietveld
2224 Seal GtkTextTagTable.
2226 2008-05-26 16:34:13 +0200 Kristian Rietveld
2230 2008-05-26 17:08:19 +0200 Christian Dywan
2234 2008-05-26 16:40:05 +0200 Christian Dywan
2238 2008-05-26 16:37:54 +0200 Christian Dywan
2242 2008-05-26 14:09:32 +0200 Kristian Rietveld
2244 Seal priv pointer in GtkToggleToolButton.
2246 2008-05-26 14:04:51 +0200 Kristian Rietveld
2248 Seal priv pointer in GtkUIManager.
2250 2008-05-26 14:01:32 +0200 Kristian Rietveld
2252 Seal priv pointer in GtkToolItem.
2254 2008-05-26 14:01:12 +0200 Kristian Rietveld
2256 Seal priv pointer in GtkToolButton.
2258 2008-05-26 14:00:24 +0200 Kristian Rietveld
2260 Seal priv pointer in GtkToggleAction.
2262 2008-05-26 13:58:01 +0200 Kristian Rietveld
2264 Seal priv pointer in GtkStatusIcon.
2266 2008-05-26 13:57:33 +0200 Kristian Rietveld
2268 Seal priv pointer in GtkSeparatorToolItem.
2270 2008-05-26 13:56:33 +0200 Kristian Rietveld
2272 Seal priv pointer in GtkScaleButton.
2274 2008-05-26 13:55:57 +0200 Kristian Rietveld
2276 Seal priv pointer in GtkRecentManager.
2278 2008-05-26 13:55:25 +0200 Kristian Rietveld
2280 Seal priv pointer in GtkRecentChooserWidget.
2282 2008-05-26 13:54:39 +0200 Kristian Rietveld
2284 Seal priv pointer in GtkRecentChooserMenu.
2286 2008-05-26 13:54:15 +0200 Kristian Rietveld
2288 Seal priv pointer in GtkRecentChooserDialog.
2290 2008-05-26 13:52:40 +0200 Kristian Rietveld
2292 Seal priv pointer in GtkRecentAction.
2294 2008-05-26 13:51:47 +0200 Kristian Rietveld
2296 Seal priv pointer in GtkRadioAction.
2298 2008-05-26 13:50:49 +0200 Kristian Rietveld
2300 Seal priv pointer in GtkPrintUnixDialog.
2302 2008-05-26 13:50:08 +0200 Kristian Rietveld
2304 Seal priv pointer in GtkPrintOperation.
2306 2008-05-26 13:49:41 +0200 Kristian Rietveld
2308 Seal priv pointer in GtkPrinter.
2310 2008-05-26 13:48:49 +0200 Kristian Rietveld
2312 Seal priv pointer in GtkPageSetupUnixDialog.
2314 2008-05-26 13:47:39 +0200 Kristian Rietveld
2316 Seal priv pointer in GtkMenuToolButton.
2318 2008-05-26 13:47:29 +0200 Kristian Rietveld
2320 Add gdkconfig.h include to GtkBuilder for GSEAL macro.
2322 2008-05-26 13:23:45 +0200 Kristian Rietveld
2324 Seal priv pointer in GtkLinkButton.
2326 2008-05-26 13:22:25 +0200 Kristian Rietveld
2328 Seal priv pointer in GtkIconView.
2330 2008-05-26 13:22:04 +0200 Kristian Rietveld
2332 Seal priv pointer in GtkIconTheme.
2334 2008-05-26 13:13:49 +0200 Kristian Rietveld
2336 Seal child_allocation field in GtkFrame.
2338 2008-05-26 13:10:17 +0200 Kristian Rietveld
2340 Sealed priv pointer in GtkFontButton.
2342 2008-05-26 13:07:14 +0200 Kristian Rietveld
2344 Seal priv pointer in GtkFileChooserButton.
2346 2008-05-26 13:06:43 +0200 Kristian Rietveld
2348 Seal priv pointer in GtkExpander.
2350 2008-05-26 13:03:24 +0200 Kristian Rietveld
2352 Sealed remaining (private) fields in GtkContainer.
2354 2008-05-26 13:02:26 +0200 Kristian Rietveld
2356 Seal priv pointer in GtkComboBoxEntry.
2358 2008-05-26 13:01:40 +0200 Kristian Rietveld
2360 Seal priv pointer in GtkComboBox.
2362 2008-05-26 13:00:59 +0200 Kristian Rietveld
2364 Seal private_data pointer in GtkColorSel.
2366 2008-05-26 12:57:50 +0200 Kristian Rietveld
2368 Seal 3 remaining fields in GtkButton.
2370 2008-05-26 12:55:24 +0200 Kristian Rietveld
2372 Seal priv pointer in GtkBuilder.
2374 2008-05-26 12:52:44 +0200 Kristian Rietveld
2376 Seal center_allocation field in GtkAspectFrame.
2378 2008-05-26 12:48:18 +0200 Kristian Rietveld
2380 Seal priv pointer in GtkAction.
2382 2008-05-26 12:46:11 +0200 Kristian Rietveld
2384 Seal priv pointer in GtkAboutDialog.
2386 2008-05-26 12:41:46 +0200 Kristian Rietveld
2390 2008-05-26 12:39:54 +0200 Kristian Rietveld
2394 2008-05-26 11:59:35 +0200 Kristian Rietveld
2396 Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
2398 2008-05-26 11:52:20 +0200 Kristian Rietveld
2400 Add new GtkColorSelectionDialog accessors to gtk.symbols.
2402 2008-05-26 11:41:47 +0200 Kristian Rietveld
2404 gtklabel.h: include bit-size of fields inside GSEAL parens.
2406 2008-05-26 11:40:07 +0200 Kristian Rietveld
2408 gtktoolbar.h: include bit-size of fields inside GSEAL parens.
2410 2008-05-26 11:39:35 +0200 Kristian Rietveld
2412 gtkentry.h: include bit-size of fields inside GSEAL parens.
2414 2008-05-26 11:34:14 +0200 Kristian Rietveld
2416 Add new accessors for GtkEntry to gtk.symbols.
2418 2008-05-26 11:23:56 +0200 Kristian Rietveld
2420 Also seal GtkWindowGroup in gtkwindow.h
2422 2008-05-26 10:48:48 +0200 Kristian Rietveld
2424 Fix the build by including gdkconfig.h in gtktextchild.h.
2426 2008-05-23 18:48:56 +0200 Christian Dywan
2430 2008-05-23 18:28:39 +0200 Christian Dywan
2434 2008-05-23 18:28:07 +0200 Christian Dywan
2436 Seal GtkColorSelectionDialog
2438 2008-05-23 18:03:44 +0200 Carlos Garnacho
2440 Seal GtkTextChildAnchor.
2442 * gtk/gtktextchild.h: Sealed private member.
2444 2008-05-23 17:42:01 +0200 Carlos Garnacho
2448 * gtk/gtkwindow.h: Seal all fields.
2450 2008-05-23 17:40:09 +0200 Carlos Garnacho
2452 Add gtk_window_get_default()
2454 * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
2455 * gtk/gtk.symbols: same here.
2457 2008-05-09 15:41:57 +0100 Martyn Russell
2459 Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
2461 2008-05-02 16:31:40 +0200 Martyn Russell
2465 2008-05-02 16:30:09 +0200 Martyn Russell
2467 Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
2469 2008-04-27 18:49:50 +0200 Kristian Rietveld
2471 Seal GtkToggleButton.
2473 * gtk/gtktogglebutton.h: Seal all member fields.
2475 2008-04-27 18:41:46 +0200 Kristian Rietveld
2477 Seal GtkTreeViewColumn.
2479 * gtk/gtktreeviewcolumn.h: Seal all public member fields. The button field is
2480 still troublesome. We are probably going to need an accessor for this and
2481 deprecated it immediately in GTK+ 3.0. Accessors for requested_width and
2482 resized_width can be useful, but I really consider them to be private and
2483 of not much use to applications.
2485 2008-04-27 18:23:23 +0200 Kristian Rietveld
2487 Seal GtkRadioMenuItem.
2489 * gtk/gtkradiomenuitem.h: Seal member field.
2491 2008-04-27 18:21:29 +0200 Kristian Rietveld
2493 Seal GtkRadioButton.
2495 * gtk/gtkradiobutton.h: seal member field.
2497 2008-04-27 18:11:41 +0200 Kristian Rietveld
2499 Seal GtkTreeSelection.
2501 * gtk/gtktreeselection.h: Seal all member fields.
2503 2008-04-27 18:09:46 +0200 Kristian Rietveld
2505 Add gtk_tree_selection_get_select_function().
2507 * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
2509 * gtk/gtk.symbols: add new function.
2511 2008-04-27 16:05:02 +0200 Kristian Rietveld
2513 Seal GtkScrolledWindow.
2515 * gtk/gtkscrolledwindow.h: Seal all object member fields.
2517 2008-04-27 15:56:33 +0200 Kristian Rietveld
2519 Seal GtkCellRenderer.
2521 * gtk/gtkcellrenderer.h: seal all member fields. All member fields are
2522 already accessible via GObject properties.
2524 2008-04-27 15:56:01 +0200 Kristian Rietveld
2526 Add "editing" GObject property to GtkCellRenderer.
2528 * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
2529 (gtk_cell_renderer_get_property),
2530 (gtk_cell_renderer_set_property): add the property and hook
2533 2008-04-27 15:42:08 +0200 Kristian Rietveld
2535 Seal GtkCellRendererText.
2537 * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
2540 2008-04-27 15:40:47 +0200 Kristian Rietveld
2542 Seal GtkCellRendererCombo.
2544 * gtk/gtkcellrenderercombo.h: seal all member fields. The members fields
2545 that were not marked as private are already accessible via GObject properties.
2547 2008-04-27 15:39:41 +0200 Kristian Rietveld
2549 Seal GtkCellRendererAccel.
2551 * gtk/gtkcellrendereraccel.h: seal all member fields that were already
2554 2008-04-18 16:55:44 +0200 Kristian Rietveld
2558 * gtk/gtktreeview.h: seal private pointer.
2560 2008-04-18 16:52:54 +0200 Kristian Rietveld
2562 Seal GtkTreeModelFilter
2564 * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
2567 2008-04-18 16:50:55 +0200 Kristian Rietveld
2569 Seal GtkTreeModelSort
2571 * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
2572 all public member fields.
2574 2008-04-18 16:42:28 +0200 Kristian Rietveld
2578 * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
2579 public member fields.
2581 2008-04-18 16:37:43 +0200 Kristian Rietveld
2585 * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
2586 public member fields.
2588 2008-04-18 18:26:31 +0200 Carlos Garnacho
2590 * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
2592 2008-04-18 18:25:22 +0200 Carlos Garnacho
2594 * gtk/gtkcontainer.h: seal members.
2596 2008-04-11 17:28:54 +0200 Carlos Garnacho
2598 * gtk/gtkmisc.h: seal members.
2600 2008-04-11 17:28:05 +0200 Carlos Garnacho
2602 *gtk/gtkfixed.h: seal members.
2604 2008-04-11 16:04:23 +0200 Michael Natterer
2606 * gtk/gtkcellrendererpixbuf.h: seal all members.
2608 2008-04-11 16:01:19 +0200 Michael Natterer
2610 * gtk/gtkcellrendererprogress.h: seal private member.
2612 2008-04-11 15:43:22 +0200 Michael Natterer
2614 * gtk/gtkcellrenderertoggle.h: seal all members.
2616 2008-04-04 18:50:05 +0200 Carlos Garnacho
2618 * gtk/gtkfilechooserwidget.h: Seal the private member.
2620 2008-04-04 18:46:47 +0200 Carlos Garnacho
2622 gtk/gtkfilechooserdialog.h: seal the private member.
2624 2008-04-04 18:42:17 +0200 Carlos Garnacho
2626 * gtk/gtkentrycompletion.h: Seal private member.
2628 2008-04-04 18:36:35 +0200 Carlos Garnacho
2630 * gtk/gtkcellview.h: Seal the private member.
2632 2008-04-04 18:28:00 +0200 Carlos Garnacho
2634 * gtk/gtkcolorbutton.h: seal private member.
2636 2008-04-04 18:27:26 +0200 Carlos Garnacho
2638 * gtk/gtkcheckmenuitem.h: seal public struct members.
2640 2008-04-04 18:25:25 +0200 Carlos Garnacho
2642 * gtk/gtkcalendar.h: seal public struct members.
2644 2008-04-04 18:24:15 +0200 Carlos Garnacho
2646 * gtk/gtkdialog.h: Also seal variables marked as private.
2648 2008-04-04 17:35:48 +0200 Michael Natterer
2650 * gtk/gtkimagemenuitem.h: seal private member.
2652 2008-04-04 17:28:56 +0200 Michael Natterer
2654 * gtk/gtkiconfactory.h: seal private member.
2656 2008-03-28 16:56:53 +0000 Martyn Russell
2660 * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
2661 member and clean up .c file to reflect this.
2663 2008-03-28 15:00:09 +0100 Sven Herzberg
2667 gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
2669 2008-03-28 16:38:00 +0100 Michael Natterer
2671 * gtk/gtkdrawingarea.h: seal instance struct member.
2673 2008-03-28 16:23:32 +0100 Christian Dywan
2675 Seal GtkScaleButton public fields
2677 * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
2679 2008-03-28 16:07:50 +0100 Christian Dywan
2681 Seal GtkScale public fields
2683 * gtk/gtkscale.h: Deprecate direct access through GSEAL().
2685 2008-03-14 20:45:34 +0100 Christian Dywan
2687 Seal GtkProgressBar public fields
2690 2008-03-14 20:32:12 +0100 Christian Dywan
2692 Seal GtkFrame public vars
2694 2008-03-14 18:57:35 +0100 Carlos Garnacho
2696 Deprecate direct access to public variables in GtkButton.
2698 * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
2700 2008-03-14 18:56:23 +0100 Carlos Garnacho
2702 Deprecate direct access to public variables in GtkButtonBox.
2704 * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
2706 2008-03-14 18:54:35 +0100 Carlos Garnacho
2708 Deprecate direct access to public variables in GtkBox.
2710 * gtk/gtkbox.h: Deprecate direct access through GSEAL().
2712 2008-03-09 11:50:41 +0100 Carlos Garnacho
2714 Seal GtkMessageDialog public vars
2716 2008-03-09 11:38:00 +0100 Carlos Garnacho
2718 Seal GtkDialog public vars
2720 2008-03-09 11:32:05 +0100 Carlos Garnacho
2722 Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
2724 2008-03-09 11:31:46 +0100 Carlos Garnacho
2726 Seal GtkAssistant public fields
2728 2008-03-09 11:31:30 +0100 Carlos Garnacho
2730 Seal GtkNotebook public fields
2732 2008-03-07 20:29:47 +0100 Mikael Hallendal
2734 Deprecate direct access to child in GtkBin.
2736 * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
2738 2008-03-07 18:25:59 +0000 Martyn Russell
2740 Sealed GtkAccelGroup and added
2742 * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
2743 modifier_mask, acceleratables, n_accels and priv_accels. Added seal
2744 macro for public struct members which should be private.
2746 2008-03-07 18:54:22 +0100 Mikael Hallendal
2748 Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
2750 * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
2752 2008-03-07 18:48:29 +0100 Mikael Hallendal
2754 Deprecate arrow_type and shadow_type direct access in GtkArrow.
2756 * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
2758 2008-03-07 18:35:12 +0100 Mikael Hallendal
2760 Added GSEAL to GtkAlignment.
2762 * gtk/gtkalignment.h: Seal the object data with GSEAL.
2764 2008-03-07 15:24:27 +0100 Tim Janik
2766 Introduce GSEAL() macro.
2768 * configure.in: define GSEAL() when generating gdkconfig.h
2770 2008-06-20 Michael Natterer <mitch@imendio.com>
2772 Bug 538395 – gtk_combo_box_append_text() on non-compliant model
2775 * gtk/gtkcombobox.c (gtk_combo_box_append_text)
2776 (gtk_combo_box_insert_text)
2777 (gtk_combo_box_prepend_text)
2778 (gtk_combo_box_remove_text)
2779 (gtk_combo_box_real_get_active_text): apply patch from Christian
2780 Dywan which adds the needed g_return_if_fail() to prevent the
2783 2008-06-20 Cody Russell <cody@jhu.edu>
2785 * gdk/directfb/gdkwindow-directfb.c:
2787 Rename gdk_window_new -> _gdk_window_new and
2788 gdk_window_reparent -> _gdk_window_reparent to fix
2789 the build. (#539095, Sebastien Bacher)
2791 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2793 * gtk/gtkmenuitem.c: remove an unused variable and cast
2794 accel_path to gchar, just like in gtkmenu.c
2796 2008-06-19 Matthias Clasen <mclasen@redhat.com>
2798 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
2801 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2803 * gtk/gtkprintbackend.c: Fix a typo in a comment
2805 * gtk/gtkhsv.c (paint_ring, paint_triangle):
2806 Cast buf to unsigned char to avoid two compiler
2810 * gtk/gtkstyle.c (gtk_style_finalize):
2811 Do not ignore the return value of g_slist_remove.
2812 gtkstyle.c changes rubberstamped by Owen.
2814 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2816 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
2817 (gtk_tree_view_set_enable_tree_lines):
2818 gdk_gc_set_dashes expects a list of gint8, not guint8.
2820 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2822 * gtk/gtkmenu.c (gtk_menu_set_accel_path):
2823 Remove an unused variable and cast to gchar to avoid a compiler
2826 2008-06-19 Christian Persch <chpe@gnome.org>
2828 * docs/reference/gtk/gtk-sections.txt:
2830 * gtk/gtkclipboard.c:
2831 * gtk/gtkclipboard.h: Add clipboard convenience functions for URI
2832 targets. Bug #537639.
2834 2008-06-19 Christian Persch <chpe@gnome.org>
2836 * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
2837 hardcoded target tables. Bug #516092.
2839 2008-06-19 Christian Persch <chpe@gnome.org>
2841 * gdk-pixbuf/gdk-pixbuf-io.c:
2842 * gdk-pixbuf/gdk-pixdata.c:
2843 * gdk-pixbuf/io-ani.c:
2844 * gdk-pixbuf/io-bmp.c:
2845 * gdk-pixbuf/io-gdip-utils.c:
2846 * gdk-pixbuf/io-gif.c:
2847 * gdk-pixbuf/io-icns.c:
2848 * gdk-pixbuf/io-ico.c:
2849 * gdk-pixbuf/io-jasper.c:
2850 * gdk-pixbuf/io-jpeg.c:
2851 * gdk-pixbuf/io-pcx.c:
2852 * gdk-pixbuf/io-png.c:
2853 * gdk-pixbuf/io-pnm.c:
2854 * gdk-pixbuf/io-ras.c:
2855 * gdk-pixbuf/io-tga.c:
2856 * gdk-pixbuf/io-tiff.c:
2857 * gdk-pixbuf/io-wbmp.c:
2858 * gdk-pixbuf/io-xbm.c:
2859 * gdk-pixbuf/io-xpm.c:
2860 * gtk/gtkfilechooserdefault.c:
2861 * gtk/gtkfilesystemmodel.c:
2862 * gtk/gtkiconfactory.c:
2863 * gtk/gtkicontheme.c:
2865 * gtk/gtkpagesetup.c:
2866 * gtk/gtkpapersize.c:
2867 * gtk/gtkprintoperation-win32.c:
2868 * gtk/gtktextbufferserialize.c:
2869 * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
2871 * configure.in: Update glib requirement to 2.17.3.
2873 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2875 * demos/testpixbuf.c (new_testrgb_window):
2876 * gtk/gtkctree.c (gtk_ctree_new_with_titles):
2877 * gtk/gtkitemfactory.c (gtk_item_factory_construct),
2878 (gtk_item_factory_create_item):
2879 * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
2880 * gtk/gtkprogressbar.c (gtk_progress_bar_new),
2881 (gtk_progress_bar_new_with_adjustment):
2882 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
2883 * gtk/gtktext.c (gtk_text_new):
2884 * gtk/gtkviewport.c (gtk_viewport_new):
2885 * tests/simple.c (main):
2886 * tests/testgtk.c (create_statusbar), (create_get_image),
2887 (create_saved_position), (create_tooltips), (create_cursors),
2888 (create_display_screen), (create_progress_bar), (create_idle_test):
2889 * tests/testmultidisplay.c (make_selection_dialog), (main):
2890 * tests/testmultiscreen.c (main):
2891 * tests/testrgb.c (new_testrgb_window):
2892 Use g_object_new instead of gtk_widget_new
2894 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2896 * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
2898 * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
2901 * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
2902 to avoid a gcc warning.
2904 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
2906 http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
2907 the filename in the name entry in CREATE_FOLDER mode when changing
2908 folders, so that you can enter a new subfolder name, double-click on a
2909 folder to change to it, and close the dialog.
2911 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
2912 the filename in the entry in CREATE_FOLDER mode, either.
2914 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
2916 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
2917 chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
2920 * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
2921 clear the entry for CREATE_FOLDER either; this needs the same
2922 behavior as SAVE mode.
2923 (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
2926 2008-06-18 Matthias Clasen <mclasen@redhat.com>
2928 * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
2929 * gtk/gtkfilechooserbutton.c (change_icon_theme):
2930 (model_add_bookmarks):
2931 (model_update_current_folder):
2932 * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
2933 (shortcuts_reload_icons): Use standard icon names.
2935 2008-06-18 Matthias Clasen <mclasen@redhat.com>
2937 * gtk/Makefile.am: Add some more aliases for standard
2938 icon names to the builtin icon theme: drive-harddisk,
2939 folder, folder-remote, text-x-generic.
2941 2008-06-18 Michael Natterer <mitch@imendio.com>
2943 * gtk/gtkcalendar.c: set the maximum of the "year" property to
2944 G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
2945 calculations which in turn caused writing beyond the boundaries of
2946 the calendar->day_month[] and day[] arrays which in turn caused a
2947 SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
2949 2008-06-18 Michael Natterer <mitch@imendio.com>
2952 * tests/autotestfilechooser.c
2953 * tests/buildertest.c
2954 * tests/defaultvaluetest.c
2955 * tests/floatingtest.c
2956 * tests/objecttests.c
2957 * tests/pixbuf-init.c
2958 * tests/textbuffertest.c: remove unit tests here...
2960 * gtk/tests/Makefile.am
2961 * gtk/tests/builder.c
2962 * gtk/tests/defaultvalue.c
2963 * gtk/tests/filechooser.c
2964 * gtk/tests/floating.c
2965 * gtk/tests/object.c
2966 * gtk/tests/pixbuf-init.c
2967 * gtk/tests/textbuffer.c: ...and add them here.
2969 2008-06-18 Michael Natterer <mitch@imendio.com>
2971 * gdk/gdk.h: deprecate GdkDestroyNotify.
2975 * gdk/x11/gdkevents-x11.c
2976 * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
2978 2008-06-18 Michael Natterer <mitch@imendio.com>
2980 * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
2982 * gtk/gtkactiongroup.[ch]
2983 * gtk/gtkcombobox.[ch]
2984 * gtk/gtkcontainer.[ch]
2985 * gtk/gtkliststore.[ch]
2989 * gtk/gtktreedatalist.[ch]
2990 * gtk/gtktreemodelfilter.[ch]
2991 * gtk/gtktreemodelsort.[ch]
2992 * gtk/gtktreeprivate.h
2993 * gtk/gtktreeselection.[ch]
2994 * gtk/gtktreesortable.[ch]
2995 * gtk/gtktreestore.[ch]
2996 * gtk/gtktreeview.[ch]
2997 * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
2999 2008-06-18 Michael Natterer <mitch@imendio.com>
3001 * tests/testgtk.c: some more undeprecation.
3003 2008-06-18 Michael Natterer <mitch@imendio.com>
3005 * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
3008 (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
3010 2008-06-18 Michael Natterer <mitch@imendio.com>
3012 * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
3014 * gtk/gtk.symbols: changed accordingly.
3016 * gtk/gtksettings.c (gtk_settings_install_property)
3017 (gtk_settings_install_property_parser): get rid of using
3018 gtk_type_class() by keeping a static reference to GtkSettingsClass
3019 around in both functions and passing that pointer on to
3020 settings_install_property_parser().
3022 * tests/testgtk.c: use g_type_class_ref()/unref() instead of
3025 * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
3028 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3030 * gtk/gtkstyle.c: Add deprecated version
3031 and change the deprecation markup used by ref/unref
3033 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3036 Add deprecated versions and fixup markup.
3038 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3040 * gtk/gtkaboutdialog.c:
3041 * gtk/gtkbutton.c (gtk_button_class_init):
3042 Don't markup deprecated in italics.
3044 2008-06-18 Carlos Garnacho <carlos@imendio.com>
3046 * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
3047 GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
3049 2008-06-17 Michael Natterer <mitch@imendio.com>
3051 * examples/gtkdial/gtkdial.[ch]: undeprecate.
3053 2008-06-17 Michael Natterer <mitch@imendio.com>
3055 * gtk/gtkobject.c: remove bogus extern declaration of non-existing
3056 function gtk_object_init_type().
3058 2008-06-17 Michael Natterer <mitch@imendio.com>
3060 * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
3061 * gtk/gtktoolbutton.c (gtk_tool_button_get_type):
3062 * examples/gtkdial/gtkdial.h (gtk_dial_get_type):
3065 2008-06-17 Tor Lillqvist <tml@novell.com>
3067 * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
3068 #undef/#define dance here, too, because
3069 gtk_notebook_set_group_id() is deprecated but used here before it
3070 is defined, and gcc complains about conflicting type from the
3071 implicit int declaration when it sees the actual void definition.
3073 * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
3076 2008-06-17 Michael Natterer <mitch@imendio.com>
3078 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
3085 * gtk/gtkoldeditable.c
3088 * gtk/gtktipsquery.c
3090 * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
3091 actually use deprecated symbols (not just types or macros),
3092 #define it again before #include "gtkalias.h" so the symbols match
3093 and the beast links.
3095 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3097 * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
3099 2008-06-17 Michael Natterer <mitch@imendio.com>
3101 * modules/input/gtkimcontextmultipress.h
3102 * modules/input/gtkimcontextthai.h
3103 * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
3104 type checking macros.
3106 2008-06-17 Michael Natterer <mitch@imendio.com>
3108 * gtk/gtktypeutils.h: really move the GtkType typedef to an
3109 undeprecated section.
3111 2008-06-17 Michael Natterer <mitch@imendio.com>
3113 * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
3114 GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
3115 Move the GtkType typedef to an undeprecated section.
3117 2008-06-17 Michael Natterer <mitch@imendio.com>
3119 * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
3120 of GTK_CHECK ones because it's the parent class of an undeprecated
3121 class and the GTK_CHECK stuff will soon be deprecated.
3123 2008-06-17 Michael Natterer <mitch@imendio.com>
3126 * gtk/gtkinputdialog.c
3127 * gtk/gtkmenutoolbutton.c
3128 * gtk/gtkoptionmenu.c
3130 * gtk/gtktooltips.c: add or move around
3131 #undef GTK_DISABLE_DEPRECATED so it's possible to build without
3132 deprecated stuff again (with the minor glitch that it doesn't
3133 link ;) but at least it's a tool to keep the code clean).
3135 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3137 * gtk/gtkrecentmanager.c:
3138 (gtk_recent_manager_remove_item): Fix dumb typo in the previous
3141 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3143 * gtk/gtkrecentmanager.c:
3144 (gtk_recent_manager_remove_item),
3145 (gtk_recent_manager_move_item): Increase the consistency of the
3146 errors returned by GtkRecentManager. (Paolo Borelli)
3148 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3150 * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
3152 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3154 * gtk/gtkrecentmanager.c:
3155 (gtk_recent_manager_remove_item): Consistently use the same
3156 error when removing a URI from an empty GtkRecentManager.
3158 2008-06-17 Michael Natterer <mitch@imendio.com>
3160 * gtk/gtkfilechooserdefault.c: remove static integer variables
3161 which hold the number of members in GtkTargetEntry arrays and use
3162 G_N_ELEMENTS() directly instead.
3164 2008-06-17 Michael Natterer <mitch@imendio.com>
3166 * gtk/gtk.symbols: move some deprecated symbols into
3167 #ifndef GTK_DISABLE_DEPRECATED.
3169 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3171 * gtk/gtkfilechooserdefault.c:
3172 (gtk_file_chooser_default_init),
3173 (gtk_file_chooser_default_constructor),
3174 (gtk_file_chooser_default_screen_changed),
3175 (recent_start_loading): Remove the GtkRecentManager screen
3176 dance, as it has been deprecated since 2.12. Now we get the
3177 GtkRecentManager singleton whewn we create the FileChooserDefault
3178 instance. (Michael Natterer)
3180 2008-06-17 Michael Natterer <mitch@imendio.com>
3182 * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
3183 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
3185 2008-06-17 Michael Natterer <mitch@imendio.com>
3187 * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
3190 * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
3191 in via deprecated headers.
3193 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3195 Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
3197 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
3198 against XKB being stupid. Reported by Pedro Villavicencio.
3200 2008-06-17 Michael Natterer <mitch@imendio.com>
3202 * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
3203 and unref() instead of the deprecated gtk_widget_ref() and unref().
3205 2008-06-16 Michael Natterer <mitch@imendio.com>
3207 * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
3208 svn since 2.8 but was never used.
3210 2008-06-16 Michael Natterer <mitch@imendio.com>
3212 * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
3213 gtk_binding_entry_clear() instead of gtk_binding_entry_add()
3214 (the former is deprecated and #defined to gtk_binding_entry_clear)
3216 2008-06-16 Michael Natterer <mitch@imendio.com>
3218 * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
3219 unused) "gtkmarshal.h".
3221 2008-06-16 Behdad Esfahbod <behdad@gnome.org>
3223 Bug 538182 – pango_cairo_context_update_layout is not noop after
3224 gtk_widget_create_pango_layout
3226 * gtk/gtksettings.c (settings_update_font_options): Make sure all
3227 font option fields are set to non-DEFAULT values.
3229 2008-06-16 Michael Natterer <mitch@imendio.com>
3234 * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
3235 gtk_rc_style_unref().
3237 2008-06-16 Michael Natterer <mitch@imendio.com>
3239 * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
3240 _gtk_marshal_BOOLEAN__VOID instead of the deprecated
3241 gtk_marshal_BOOLEAN__VOID.
3243 2008-06-16 Michael Natterer <mitch@imendio.com>
3245 * gtk/gtkcellrendereraccel.h
3247 * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
3248 macros for type checking.
3250 (gtk_object_get_type): change prototype to return GType instead of
3253 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3255 * gtk/Makefile.am: Make folder, user-home and user-desktop links
3256 to gtk-directory in the builtin icon theme, so that we can
3257 use these icon names without risk of ending up without an icon.
3259 2008-06-16 Tor Lillqvist <tml@novell.com>
3261 Bug 538362 - Get Win32 icons back in the file chooser
3263 * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
3264 reference to an icon resource in a DLL or .EXE in the same format
3265 as the DefaultIcon strings in the Registry. In that case, extract
3266 the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
3267 code has to be in sync with the corresponding code in
3268 glib/gio/gcontenttype.c.
3270 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3272 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
3273 to the builtin icon theme, to avoid showing broken images when
3274 there is no icon theme around. The new icons are thanks to
3277 2008-06-16 Michael Natterer <mitch@imendio.com>
3279 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
3280 GtkFileChooserDefault struct.
3282 * gtk/gtkfilechooserdefault.c: don't allocate and free the
3285 2008-06-16 Carlos Garnacho <carlos@imendio.com>
3287 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
3290 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
3291 Allow again setting any of the properties to render an image back to
3294 2008-06-15 Matthias Clasen <mclasen@redhat.com>
3296 * gtk/gtkimage.c: When pixel-size is specified, use
3297 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
3299 2008-06-15 Carlos Garnacho <carlos@imendio.com>
3301 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
3302 path here as expected, not just the basename.
3304 * gtk/gtkfilechooserdefault.c
3305 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
3306 a reference to file, since it can be destroyed when switching back to
3309 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
3310 and desktop directories are dealt by the filechooser as normal files,
3311 not volumes, so the icon for these is handled directly by GIO.
3312 (_gtk_file_system_volume_render_icon): Update caller.
3314 2008-06-15 Matthias Clasen <mclasen@redhat.com>
3316 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
3318 2008-06-14 Cody Russell <bratsche@gnome.org>
3320 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
3322 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
3323 according to MSDN docs, associates the open clipboard with the
3324 current task. (#378158, reported by Andreas Köhler)
3326 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3328 * configure.in: Bump version
3330 * === Released 2.13.3 ===
3332 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3334 * gtk/gtkaccelgroup.c: Add some docs
3336 * gdk/gdkwindow.c: Fix doc typos
3338 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3340 * gtk/gtkfilesystem.c: Avoid PLT entries by including
3343 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3345 * gtk/gtkfilechooserbutton.c:
3346 * gtk/gtkfilechooserdefault.c:
3347 * gtk/gtkfilechooserentry.c:
3348 * gtk/gtkfilesystem.c:
3349 * gtk/gtkfilesystem.h:
3350 * gtk/gtkfilesystemmodel.c:
3351 * gtk/gtkpathbar.c: Really make GtkFileSystem private
3352 by _-prefixing all functions.
3354 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3356 * docs/RELEASE-HOWTO: Updates
3357 * INSTALL.in: Bump version
3359 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3363 2008-06-13 Michael Natterer <mitch@imendio.com>
3365 * gtk/gtkcellrendereraccel.h
3366 * gtk/gtkfilechooser.h
3367 * gtk/gtkfilechooserdialog.h
3368 * gtk/gtkfilechooserwidget.h
3369 * gtk/gtkmenutoolbutton.h
3370 * gtk/gtkpagesetup.h
3371 * gtk/gtkpapersize.h
3372 * gtk/gtkprintcontext.h
3373 * gtk/gtkprintoperation.h
3374 * gtk/gtkprintoperationpreview.h
3375 * gtk/gtkprintsettings.h
3376 * gtk/gtkradiotoolbutton.h
3377 * gtk/gtkrecentchooser.h
3378 * gtk/gtkrecentchooserdialog.h
3379 * gtk/gtkrecentchoosermenu.h
3380 * gtk/gtkrecentchooserwidget.h
3381 * gtk/gtkseparatortoolitem.h
3383 * gtk/gtktoggletoolbutton.h
3385 * gtk/gtktoolbutton.h
3386 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
3387 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
3389 2008-06-13 Michael Natterer <mitch@imendio.com>
3391 * gtk/gtktexttagtable.h: remove double inclusion of
3394 2008-06-13 Michael Natterer <mitch@imendio.com>
3396 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
3397 local "image" variable from GtkImage to GtkWidget to fix warning.
3399 2008-06-13 Michael Natterer <mitch@imendio.com>
3401 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
3402 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
3404 2008-06-13 Michael Natterer <mitch@imendio.com>
3406 * gtk/gtkuimanager.c (start_element_handler): silently skip
3407 unknown attributes instead of bailing out with an error in order
3408 to be compatible with possible future attribute names.
3410 This is related to the discussion in bug #516425 but actually
3411 needed for any kind of XML format extension.
3413 2008-05-23 Hans Breuer <hans@breuer.org>
3415 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
3416 Avoids crashing when the target can not be written, bug #537685
3418 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
3420 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
3421 it was not needed here anyway.
3423 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3425 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
3426 Patch by Jan Arne Peterson
3428 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3430 Bug 537985 – gtk_init_with_args() doesn't open a display after
3433 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
3434 even when gtk_parse_args() has already been called.
3435 Patch by Mathias Hasselmann
3437 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3439 Bug 524222 – GtkToolbar with mix of buttons with and without
3442 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
3443 Improve appearance of "both vertical" mode toolbuttons.
3444 Patch by Peter Johanson
3446 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3448 Bug 519092 – Add accessibility support to GtkVolumeButton
3450 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
3451 Patch by Jonh Wendell
3453 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3455 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
3456 GtkAction has problems
3457 Patch by Peter Johanson
3459 * gtk/gtkaction.c (connect_proxy): Set the image of a button
3460 proxy to the "icon-name" property.
3462 (gtk_action_set_short_label): If the "image" property is set
3463 on the button proxy, also tries to set the "label" property on
3466 2008-06-12 Michael Natterer <mitch@imendio.com>
3469 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
3470 in via "gtkintl.h" from <glib/gi18n-lib.h>.
3472 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3474 RH bug 248245 and 449379: cups client printing from gnome
3477 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
3478 printer URI construction. Patch by Marek Kasik
3480 2008-06-12 Michael Natterer <mitch@imendio.com>
3482 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
3483 limit the number of displayed items by the actual screen height
3484 instead of some arbitrary value (Bug #408154, Xan Lopez and
3487 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
3489 Bug 503071 – Application direction changes to right to left even if
3490 theres no translation
3492 * configure.in: Bump glib requirement.
3494 * gtk/gtkaccellabel.c
3495 (_gtk_accel_label_class_get_accelerator_label):
3496 * gtk/gtkactiongroup.c (dgettext_swapped):
3497 * gtk/gtkbuilder.c (gtk_builder_class_init):
3498 * gtk/gtkbuilderparser.c (_dpgettext),
3499 (_gtk_builder_parser_translate):
3500 * gtk/gtkfilechooserdefault.c (list_size_data_func):
3501 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
3503 * gtk/gtkmain.c (setlocale_initialization),
3504 (do_pre_parse_initialization), (gettext_initialization):
3505 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
3506 Use g_dgettext() and g_dngettext().
3508 2008-06-11 Matthias Clasen <mclasen@redhat.com>
3510 * docs/RELEASE-HOWTO: Updates
3512 2008-06-11 Tor Lillqvist <tml@novell.com>
3514 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
3515 support Win9x anyway, we can use ProcessIdToSessionId()
3518 2008-06-11 Michael Natterer <mitch@imendio.com>
3520 * gtk/gtkfilechooserbutton.c: fix local prototype of
3521 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
3523 2008-06-10 Matthias Clasen <mclasen@redhat.com>
3525 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
3527 * gtk/gtkoptionmenu.c:
3528 * gtk/gtkcombobox.c: Set the window type hint on popups.
3529 Patch by Danny Baumann
3531 2008-06-10 Matthias Clasen <mclasen@redhat.com>
3533 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
3534 (gtk_file_system_volume_render_icon): Add standard icon names,
3535 and also fall back to builtin gtk stock icons.
3537 2008-06-10 Christian Persch <chpe@gnome.org>
3539 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
3540 (gtk_tree_view_maybe_begin_dragging_row),
3541 (gtk_tree_view_set_reorderable),
3542 (gtk_tree_view_enable_model_drag_source),
3543 (gtk_tree_view_enable_model_drag_dest),
3544 (gtk_tree_view_unset_rows_drag_source),
3545 (gtk_tree_view_unset_rows_drag_dest): Make
3546 gtk_tree_view_enable_model_drag_[source|dest] compatible with
3547 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
3549 2008-06-10 Christian Persch <chpe@gnome.org>
3551 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
3552 (dest_row_free), (set_dest_row), (ensure_info),
3553 (gtk_tree_view_remove), (gtk_tree_view_put),
3554 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
3557 2008-06-10 Paolo Borelli <pborelli@katamail.com>
3559 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
3560 use g_file_new_for_uri.
3562 2008-06-10 Paolo Borelli <pborelli@katamail.com>
3564 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
3567 2008-06-10 Carlos Garnacho <carlos@imendio.com>
3571 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
3572 #520874, comment #8. It's no longer used directly by GTK+.
3574 2008-06-10 Carlos Garnacho <carlos@imendio.com>
3576 Bug 520874 - Should use gio directly.
3578 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
3579 provides helper functions for asynchronous calls, folder abstraction
3580 and uniform handling of volumes/drives/mounts.
3582 * gtk/gtkfilesystemwin32.[ch]:
3583 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
3585 * gtk/gtkfilechooser.c:
3586 * gtk/gtkfilechooserbutton.c:
3587 * gtk/gtkfilechooserdefault.c:
3588 * gtk/gtkfilechooserentry.[ch]:
3589 * gtk/gtkfilechooserprivate.h:
3590 * gtk/gtkfilechooserutils.c:
3591 * gtk/gtkfilesystemmodel.[ch]:
3592 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
3593 Do not load filesystem implementation modules.
3596 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
3597 anymore, nor the unix/win32 implementations.
3599 * README.in: Add blurb about these changes.
3601 2008-06-09 Kristian Rietveld <kris@gtk.org>
3603 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
3605 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
3606 (gtk_cell_renderer_combo_set_property),
3607 (gtk_cell_renderer_combo_editing_done),
3608 (gtk_cell_renderer_combo_start_editing): introduce private class
3609 struct, allow model to be set to NULL.
3611 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
3613 Bug 131920 – gtkNotebook sends incorrect switch_page value
3615 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
3616 signal send correct page index when page index 0 is active and
3617 removed. (#131920, Samuel Fogh)
3619 2008-06-08 Kristian Rietveld <kris@gtk.org>
3621 Bug 536730 - memory corruption in gtktreeview
3623 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
3624 remove the expand/collapse timeout and node, then free the rbtree.
3626 2008-06-08 Kristian Rietveld <kris@gtk.org>
3628 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
3630 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
3631 find path if we found valid nodes, return FALSE otherwise. (Patch
3632 from Matthias Clasen).
3634 2008-06-08 Matthias Clasen <mclasen@redhat.com>
3636 * gtk/gtkrecentmanager.c:
3637 * gtk/gtkrecentfilter.c:
3638 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
3641 2008-06-08 Christian Persch <chpe@gnome.org>
3643 Bug 535608 – do not string-copy accel paths in the menu code
3645 * gtk/gtkaccelgroup.c:
3646 * gtk/gtkaccelmap.c:
3649 * gtk/gtkmenuitem.c:
3650 * gtk/gtkwidget.c: Don't store the accel path as a string in
3651 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
3652 keeping a string copy around is just a waste of memory.
3653 Improve the documentation to mention this.
3655 2008-06-07 Tor Lillqvist <tml@novell.com>
3657 Bug 536990 - updateiconcache.c: 'close ()' is redundant
3659 * gtk/updateiconcache.c (build_cache): Drop redundant close()
3660 calls. fclose() on a fdopen()ed stream closes the underlying file
3663 2008-06-06 Matthias Clasen <mclasen@redhat.com>
3665 Bug 536757 – regression: openoffice.org menus are placed at wrong
3666 position since 2.12.10
3668 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
3669 Return the right coordinates.
3671 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
3673 Bug 536185 – monitor font configuration
3676 * gdk/x11/gdksettings.c:
3677 * gtk/gtksettings.c (gtk_settings_class_init),
3678 (gtk_settings_notify), (settings_update_fontconfig):
3679 Monitor xsettings key Fontconfig/Timestamp and upon change,
3680 reread fontconfig configuration, clear Pango's caches, and
3683 2008-06-06 Ross Burton <ross@burtonini.com>
3686 Fix trivial typo in documentation.
3688 2008-06-06 Tor Lillqvist <tml@novell.com>
3690 * config.h.win32.in: Slight update to match what configure
3693 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
3695 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
3696 constant to the end of the list, to avoid breaking the stable ABI
3698 2008-06-05 Michael Natterer <mitch@imendio.com>
3700 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
3702 2008-06-05 Li Yuan <li.yuan@sun.com>
3704 * gail-uninstalled.pc.in:
3705 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
3706 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
3708 2008-06-03 Matthias Clasen <mclasen@redhat.com>
3710 * docs/RELEASE-HOWTO: Update a bit
3712 2008-06-03 Matthias Clasen <mclasen@redhat.com>
3714 * configure.in: Bump version
3716 * === Released 2.13.2 ===
3718 2008-06-03 Federico Mena Quintero <federico@novell.com>
3720 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
3721 If the user presses Tab while the completion feedback window is
3722 active, then we'll assert. Remove the assertion and just re-set
3723 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
3725 2008-06-03 Colin Walters <walters@redhat.com>
3727 Bug 535303 – add _get_implementation to GtkStatusIcon
3729 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
3730 function to retrieve internal X11 window ID, useful for libnotify.
3731 * gtk/gtkstatusicon.h: Prototype it.
3732 * docs/reference/gtk/gtk-sections.txt: Add to docs.
3733 * gtk/gtk.symbols: Export it.
3735 2008-06-03 Tor Lillqvist <tml@novell.com>
3737 * gtk/updateiconcache.c (build_cache): Use g_open().
3739 2008-06-03 Michael Natterer <mitch@imendio.com>
3742 * gtk/gtkctree.h: revert includes to how they have been before the
3743 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
3744 that you can't include <gtk/gtk.h> from two headers where one is a
3745 parent class of the other and expect them both to be includable
3748 2008-06-03 Michael Natterer <mitch@imendio.com>
3750 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
3752 2008-06-02 Matthias Clasen <mclasen@redhat.com>
3754 Bug 536092 – GtkEntryCompletion's popup window should set type hint
3756 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
3757 a type hint on the popup window to help compiz.
3758 Patch by Vaclav Slavik.
3760 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
3762 Bug 535862 – gtk_action_create_icon can't create icons from the
3765 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
3766 the default factories as it's supposed.
3768 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
3770 Bug 535497 – Print preview doesn't work.
3772 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
3773 instead of launching Preview.app directly.
3775 2008-06-02 Michael Natterer <mitch@imendio.com>
3777 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
3778 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
3781 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
3783 Bug 535830 – wrong content type adding an item
3785 * gtk/gtkrecentmanager.c:
3786 (gtk_recent_manager_add_item_query_info): Use the correct API
3787 for retrieving the fast MIME type of a URI. (Carlos Garcia
3790 2008-05-31 Kristian Rietveld <kris@imendio.com>
3792 Bug 530146 - Setting non-string tooltip with
3793 gtk_tree_view_set_tooltip_column() segfaults
3795 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
3796 gtk_tree_model_get_value() and explicitly transform the value to a
3797 string before setting it as tooltip.
3799 2008-05-30 Tor Lillqvist <tml@novell.com>
3801 * modules/engines/ms-windows/msw_style.h
3802 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
3804 2008-05-30 Michael Natterer <mitch@imendio.com>
3806 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
3807 GDestroyNotify when using it in g_object_set_data_full().
3809 2008-05-30 Michael Natterer <mitch@imendio.com>
3811 * gdk/gdkapplaunchcontext.h
3812 * gdk/gdktestutils.h
3813 * gtk/gtkmountoperation.h
3815 * gtk/gtktestutils.h
3816 * gtk/gtktoolshell.h: no need to allow disabling single includes
3817 conditionally in these new files. Simply forbid including them
3818 individually from the beginning.
3820 2008-05-30 Tor Lillqvist <tml@novell.com>
3822 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
3824 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
3827 2008-05-29 Matthias Clasen <mclasen@redhat.com>
3829 * configure.in: Bump version
3831 * === Released 2.13.1 ===
3835 2008-05-29 Matthias Clasen <mclasen@redhat.com>
3837 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
3839 2008-05-29 Matthias Clasen <mclasen@redhat.com>
3841 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
3843 2008-05-29 Tor Lillqvist <tml@novell.com>
3845 Bug 535526 - updateiconcache.c: using open/close without prototype
3847 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
3848 g_utime() when available instead of utime() for UTF-8 pathname
3851 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
3853 Bug 56355 – GtkLabel - Not all changes propagate correctly
3855 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
3856 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
3857 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
3858 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
3859 notifications of mnemonic-keyval changes.
3861 2008-05-27 Matthias Clasen <mclasen@redhat.com>
3863 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
3865 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
3866 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
3867 * gtk/gtk.symbols: Additions
3868 * tests/testimage.c: Add a GIcon test
3870 2008-05-29 Michael Natterer <mitch@imendio.org>
3873 * gtk/gtkunixprint.h: add a single-include header for the unix
3876 * gtk/gtkpagesetupunixdialog.h
3879 * gtk/gtkprintunixdialog.h: add single-include guards that #error
3880 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
3881 files is included individually.
3883 * gtk/gtkprintbackend.h
3884 * gtk/gtkprinter-private.h
3885 * modules/printbackends/cups/gtkprintbackendcups.c
3886 * modules/printbackends/cups/gtkprintercups.h
3887 * modules/printbackends/lpr/gtkprintbackendlpr.c
3888 * tests/buildertest.c
3889 * tests/defaultvaluetest.c
3890 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
3893 2008-05-28 Michael Natterer <mitch@imendio.com>
3895 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
3896 excess newlines and sprinkled some newlines where needed. Zero
3897 code or formatting changes included.
3899 2008-05-28 Michael Natterer <mitch@imendio.com>
3901 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
3903 2008-05-28 Michael Natterer <mitch@imendio.com>
3905 * gtk/gtkcolorbutton.h: fix comment: the widget is called
3906 GtkColorButton, not GtkColorSelectButton. Remove trailing
3907 whitespace and excess newlines.
3909 2008-05-28 Michael Natterer <mitch@imendio.com>
3911 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
3912 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
3913 to CPPFLAGS so it's impossible to commit code that would break
3914 apps which use DISABLE_INCLUDE defines.
3916 2008-05-28 Michael Natterer <mitch@imendio.com>
3918 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
3921 * gtk/gtktypebuiltins.h.template
3922 * gtk/gtkversion.h.in
3923 * gtk/gtk*.h: add single-include guards that #error out if
3924 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
3925 included individually.
3927 * gtk/gtkprintbackend.h
3928 * gtk/gtkprinter-private.h
3929 * gtk/gtktextlayout.h
3930 * gtk/gtktexttagprivate.h
3931 * gtk/gtktexttypes.h
3932 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
3933 headers in these private or semi-private headers.
3935 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
3937 * gtk/gtkpagesetupunixdialog.h
3940 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
3946 * gtk/gtkitemfactory.h
3949 * gtk/gtkoldeditable.h
3950 * gtk/gtkoptionmenu.h
3954 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
3955 instead of individual headers in these deprecated headers. They
3956 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
3957 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
3958 and include them individually, which should continue to work.
3960 * gtk/gtkclist.c: include "gtkctree.h" because of the change
3963 2008-05-28 Kristian Rietveld <kris@imendio.com>
3965 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
3968 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
3969 cursor_offset *must* be larger than background height of the cursor
3970 node, not just equal otherwise there is no guarantee there is a next
3973 2008-05-28 Michael Natterer <mitch@imendio.com>
3975 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
3977 2008-05-28 Michael Natterer <mitch@imendio.com>
3979 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
3982 * gdk/gdkenumtypes.h.template
3983 * gdk/gdk*.h: add single-include guards that #error out if
3984 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
3985 included individually. Also removed some redundant includes and
3986 did some tiny trailing whitespace removal that's not worth to
3989 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
3992 * gdk/win32/gdkwin32.h
3993 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
3996 2008-05-28 Kristian Rietveld <kris@imendio.com>
3998 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
3999 current widget again.
4001 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
4002 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
4003 custom_was_reset field to check if the custom widget is set again in
4004 the query-tooltip callback; if not, we set it to NULL. Based on a
4005 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
4006 and Christian Persch.
4008 2008-05-28 Michael Natterer <mitch@imendio.com>
4010 * modules/printbackends/cups/gtkcupsutils.c
4011 * modules/printbackends/cups/gtkprintbackendcups.c
4012 * modules/printbackends/file/gtkprintbackendfile.c
4013 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
4014 <gtk/gtk.h> instead of individual files.
4016 2008-05-28 Michael Natterer <mitch@imendio.com>
4018 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
4021 2008-05-28 Kristian Rietveld <kris@imendio.com>
4023 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
4025 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
4026 ->priv->tree != NULL. Suggestion from Stefan Kost.
4028 2008-05-28 Kristian Rietveld <kris@imendio.com>
4030 Bug 324282 - add selected signal to cell renderer combo.
4032 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4033 (gtk_cell_renderer_combo_changed),
4034 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
4035 that will be emitted as soon as the combo box emitted changed and has
4036 an active iterator. (Modified patch based on work by James
4039 * gtk/gtkmarshalers.list: add marshaler.
4041 2008-05-28 Kristian Rietveld <kris@imendio.com>
4043 Refactor expand/collapse timeout handling (amendment to bug 511217).
4045 * gtk/gtktreeview.c (add_expand_collapse_timeout),
4046 (remove_expand_collapse_timeout): new functions, the remove function
4047 also clears expanded_collapsed_node,
4048 (cancel_arrow_animation): moved to be next to the add/remove timeout
4050 (gtk_tree_view_unrealize),
4051 (gtk_tree_view_row_deleted),
4052 (gtk_tree_view_set_model),
4053 (cancel_arrow_animation),
4054 (gtk_tree_view_real_expand_row),
4055 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
4057 2008-05-28 Kristian Rietveld <kris@imendio.com>
4059 Amendment of bug 485218 - Strange warning encountered.
4061 * gtk/gtktreemodelsort.[ch]
4062 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
4063 indication whether or not the conversion had succeeded.
4065 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4067 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
4069 * modules/printbackends/cups/gtkprintbackendcups.c
4070 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
4071 if the printer does not support level 3. Patch by Marek Kašík.
4073 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4075 Bug 404571 - Scroll arrow backgrounds should be painted with different
4078 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
4079 as detail when drawing scroll arrow backgrounds. Proposed by
4082 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4084 Bug 511217 - potential memory corruption after refreshing a tree_view
4086 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
4087 expanded_collapsed_node when canceling the animation.
4088 Patch by Nicholas Setton.
4090 2008-05-28 Michael Natterer <mitch@imendio.com>
4092 * modules/input/gtkimcontextime.h
4093 * modules/input/gtkimcontextmultipress.h
4094 * modules/input/gtkimcontextthai.h
4095 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
4098 * modules/input/gtkimcontextime.c
4099 * modules/input/gtkimcontextmultipress.c
4100 * modules/input/gtkimcontextxim.c
4101 * modules/input/imam-et.c
4102 * modules/input/imcedilla.c
4103 * modules/input/imcyrillic-translit.c
4104 * modules/input/iminuktitut.c
4105 * modules/input/imipa.c
4106 * modules/input/imti-er.c
4107 * modules/input/imti-et.c
4108 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
4109 "gtk/gtkintl.h" to the end of includes.
4111 2008-05-28 Michael Natterer <mitch@imendio.com>
4113 * modules/engines/pixbuf/pixbuf-style.h
4114 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
4115 instead of individual files.
4117 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4119 Bug 485218 - Strange warning encountered
4121 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
4122 (gtk_tree_model_sort_convert_child_iter_to_iter):
4123 (gtk_tree_model_sort_build_level): Better warnings. Patch
4124 by Kristian Rietveld.
4126 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4128 Bug 351910 - Search column setting lost
4130 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
4131 the docs. Patch by Matt Barnes.
4133 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4135 Bug 477278 - avoid unnecessary pointer subtraction
4137 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
4138 subtraction that sparse complains about. Patch by Christian
4141 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4143 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
4145 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
4146 Commit the entry text before doing an increment. Patch by
4149 2008-05-27 Federico Mena Quintero <federico@novell.com>
4151 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
4152 drag and drop from the file list into itself, as it doesn't make
4153 sense (it would just change the current folder).
4155 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
4156 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
4159 2008-05-27 Michael Natterer <mitch@imendio.com>
4161 * gtk/gtksignal.h: move deprecated guards around everything,
4162 including includes and include guards (just as in all other
4165 2008-05-27 Tor Lillqvist <tml@novell.com>
4167 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
4168 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
4169 <sys/stat.h> on Windows, and the mode used in open() doesn't
4170 matter much as there are no rwxrwxrwx bits on Windows anyway.)
4171 Open file in binary mode. Passing "b" to fdopen() later isn't
4174 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
4176 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
4177 invalid or invisible widgets.
4179 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4181 Bug 531008 – Crash in gtkprintunixdialog.c
4183 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
4184 the dialog closes. Patch by Yevgen Muntyan.
4186 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4188 RH bug 248245: cups client printing from gnome applications fail
4190 * modules/printbackends/cups/gtkprintbackendcups.c
4191 (gtk_print_backend_cups_print_stream): Specify the right server.
4193 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4195 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
4196 rubberbanding when "select-multiple" is TRUE. Bug #446068.
4198 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4200 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
4201 correctly dialog buttons sensitivity when the anonymous option is
4202 enabled by default. Bug #531865.
4204 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4206 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
4207 password dialog modal and transient for the parent window also if it
4208 was specified in the constructor. Bug #531864.
4210 2008-05-26 Richard Hult <richard@imendio.com>
4212 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
4213 setting the default font, might need to tweak this.
4215 2008-05-26 Michael Natterer <mitch@imendio.com>
4217 * examples/gtkdial/gtkdial.h
4218 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
4220 2008-05-26 Michael Natterer <mitch@imendio.com>
4222 * gtk/gtkimmodule.h: fix indentation.
4224 2008-05-26 Michael Natterer <mitch@imendio.com>
4226 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
4228 * gtk/gtkshow.c: remove inclusion of single files from gdk/
4230 Removed trailing whitespace in both files.
4232 2008-05-26 Richard Hult <richard@imendio.com>
4234 Bug 530353 – Mac-like gtk_accelerator_get_label()
4236 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
4237 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
4238 On quartz, make gtk_accelerator_get_label() format a Mac-like
4239 string, using unicode characters for modifier keys, arrows, delete
4240 etc. Patch from Yevgen Muntyan.
4242 2008-05-26 Richard Hult <richard@imendio.com>
4244 Bug 534869 – Length miscalculation in
4245 _gtk_quartz_get_selection_data_from_pasteboard
4247 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
4248 Get the number of bytes, not the number of characters, patch from
4251 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4253 * gtk/gtkwidget.c: Some doc formatting fixes.
4255 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4257 Bug 511163 – Remove pango_extents_to_pixels() calls
4259 * gtk/gtkcellrenderertext.c (get_size): Use
4260 pango_layout_get_pixel_extents.
4262 * configure.in: Bump Pango requirement to 1.20
4264 * INSTALL.in: Update required versions
4266 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4268 Bug 513811 – Use cairo_format_stride_for_width()
4270 * gtk/gtkhsv.c (paint_ring, paint_triangle):
4271 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
4272 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
4274 * configure.in: Bump cairo requirement to 1.6.0
4276 * INSTALL.in: Update required versions
4278 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4280 * gtk/gtkshow.[hc]: Formatting fixes
4282 * gtk/gtkmountoperation.c: Add docs
4284 2008-05-25 Cody Russell <bratsche@gnome.org>
4286 Bug 507389 – use gslice for gtksettings
4288 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
4289 Report and patch by Christian Persch.
4291 2008-05-25 Cody Russell <bratsche@gnome.org>
4293 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
4294 when options are missing
4296 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
4297 that other processes that try to open it will fail gracefully. Also
4298 fix a crasher caused by lack of a NULL check. Report and patch
4301 2008-05-25 Cody Russell <bratsche@gnome.org>
4303 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
4305 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
4306 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
4307 so that we also take into account for foreign windows.
4308 Report and patch by Nathaniel Smith.
4310 2008-05-25 Cody Russell <bratsche@gnome.org>
4312 Bug 525461 - Don't invalidate under an input-only child
4314 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
4315 Check that the window is not input-only before invalidating.
4316 Report and patch by Owen Taylor.
4318 2008-05-25 Cody Russell <bratsche@gnome.org>
4320 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
4321 window frame extents
4323 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4324 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
4326 2008-05-25 Cody Russell <bratsche@gnome.org>
4328 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
4329 caused by missing flag initialization
4331 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
4332 top-level private flags correctly. Patch by Danny Baumann.
4334 2008-05-25 Cody Russell <bratsche@gnome.org>
4336 Bug 534463 - non-editable GtkTextView should not call
4337 gtk_im_context_focus_in in focus event
4339 * gtk/gtktextview.c: Add checks to see if the textview is
4340 editable. Patch by Wang Diancheng.
4342 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4344 Bug 501730 – use GSlice for small allocs
4346 * gtk/gtkmenuitem.c:
4347 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
4348 Patch by Christian Persch.
4350 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4352 Bug 523930 – sort -> search in gtktreeview.c
4354 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
4355 glitch, pointed out by Björn Lindqvist.
4357 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4359 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
4361 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
4362 doc glitch, pointed out by Christian Persch.
4364 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4366 Bug 534694 – Col id in GtkListStore could be out of range
4368 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
4369 a bit. Pointed out by Jan Arne Petersen.
4371 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4373 Bug 532497 – Configure problem when cross-compiling
4375 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
4376 pointed out by Marko Lindqvist.
4378 2008-05-25 Richard Hult <richard@imendio.com>
4380 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4381 Slight coding style cleanup.
4383 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
4385 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
4386 Added support for parsing required toolkit versions (so that ui descriptions
4387 can target specific versions of the backend widget libraries) bug 527612.
4389 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
4390 for the added xml tags to the ui description.
4392 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
4393 for requires tag handling.
4395 2008-05-25 Richard Hult <richard@imendio.com>
4397 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
4398 gtk_drag_source_info_destroy in an idle, workaround for bug
4399 #501588, that makes any code that uses the context returned from
4400 gtk_drag_begin() crash, like treeview/iconview dnd.
4401 (GdkDragSourceOwner::provideDataForType): only use the data if we
4404 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4406 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
4407 to the drag actions to allow trash (#137717).
4409 2008-05-25 Josselin Mouette <joss@malsain.org>
4411 reviewed by: Matthias Clasen
4413 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
4414 check that tracker is actually working before using it. Fixes
4417 2008-05-25 Sven Neumann <sven@gimp.org>
4419 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
4420 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
4421 and don't create an output window if it is set.
4423 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
4424 drawing areas. Fixes bug #519317.
4426 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4428 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
4429 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
4431 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
4432 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
4433 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
4434 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
4435 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
4436 (start_spinning), (gtk_spin_button_button_release),
4437 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
4438 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
4439 (gtk_spin_button_update): Reorder strange window hierarchy of the
4440 GtkSpinButton (#466000).
4442 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4444 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
4445 fix the wrong position for right and center justified labels with
4446 logical.x > 0 (#530255).
4448 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4450 * gtk/gtkfilechooserdefault.c:
4451 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
4454 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
4456 * tests/pixbuf-lowmem.c
4457 * tests/pixbuf-random.c
4458 * tests/pixbuf-randomly-modified.c
4459 * tests/pixbuf-read.c
4460 * tests/pixbuf-threads.c
4462 * tests/testtreeview.c: Fix remaining compiler warnings in these
4465 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
4467 reviewed by: Matthias Clasen
4472 * gtk/gtkshow.c: (gtk_show_uri):
4474 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
4476 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4478 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
4480 * tests/buildertest.c: (test_list_store): Add test.
4482 2008-05-24 Matthias Clasen <mclasen@redhat.com>
4484 Bug 520989 – icon factory buildable too strict
4486 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
4487 an optional attribute.
4489 2008-05-24 Matthias Clasen <mclasen@redhat.com>
4491 Bug 387972 – gtkassistant drawing problem
4493 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
4494 GtkAssistant work better in glade.
4496 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
4498 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
4499 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
4500 used in GtkToolItem) (#532787).
4502 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
4504 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
4505 try to toggle the visibility of the location entry field in search and
4506 recent mode (#526422).
4508 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
4510 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
4511 (shortcuts_list_create): Show parse name as tooltip for path
4512 shortcuts (#137503).
4514 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
4516 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
4517 pango_color_parse, do not reference XParseColor forms (#434991).
4519 2008-05-24 James Sharpe <jsharpe@gnome.org>
4521 * gdk/gdk.symbols: Remove duplicate
4522 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
4523 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
4525 2008-05-23 Hans Breuer <hans@breuer.org>
4527 * **/makefile.msc gtk/makefile.msc.in : updated
4528 * gtk/gtkwidget.c : fix c99ism (variable at start of block
4529 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
4531 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
4532 setlocale(LC_ALL, ...)
4534 2008-05-23 Tor Lillqvist <tml@novell.com>
4536 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
4537 gdk_window_remove_redirection.
4539 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
4540 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
4541 changes. Remove now unnecessary parameter checks as the caller
4544 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
4546 2008-05-23 Tor Lillqvist <tml@novell.com>
4548 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
4549 anything if style doesn't change. Improve debugging output.
4551 2008-05-23 Michael Natterer <mitch@gimp.org>
4554 * tests/print-editor.c
4555 * tests/prop-editor.h
4556 * tests/testmountoperation.c
4557 * tests/testmultidisplay.c
4558 * tests/testnouiprint.c
4560 * tests/testprintfileoperation.h
4561 * tests/testtreesort.c
4562 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
4563 files. Remove some redundant includes.
4565 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
4567 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
4568 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
4570 2008-05-21 Richard Hult <richard@imendio.com>
4572 * gdk/quartz/gdkwindow-quartz.c:
4573 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
4574 offscreen rendering changes, fixes build.
4576 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
4578 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
4580 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
4581 return snapshot pixmap coordinates widget relative in *clip_rect.
4583 * tests/testgtk.c: fixed bogus NULL pointer unref.
4585 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
4587 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
4588 widget's allocation to cover extra widget windows placed outside the
4589 widget allocation (spinbutton arrows are the prime example for this).
4591 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
4593 * Applied pixmap redirection patch by Alexander Larsson with
4594 various updates from:
4595 Bug 318807 – Offscreen windows and window redirection.
4600 * updated docs to mention "Since 2.16".
4602 * tests/testgtk.c: fixed snapshooting pixmap leak.
4603 convert pixmap to pixbuf after snapshooting, to compensate for different
4604 bit depths (occurs when snapshooting ARGB visuals and displaying the
4605 pixmap in an RGB visual).
4607 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
4609 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
4610 need for it. enqueue damage notification as GDK_DAMAGE events
4611 for each painting redirection at the start of the event queue.
4612 consider windows with a redirection fully visible when invalidating,
4613 and when updating from backing store. cleaned up stale variables.
4615 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
4617 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
4618 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
4619 tree, drawingarea, text, handlebox, etc.
4620 clip the redirected window hierarchy to window sizes, the visible
4621 rectangles don't need to be taken into account here.
4622 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
4623 in case pixmap visuals could mismatch.
4625 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
4630 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
4631 of possibly obscured widgets into an offscreen pixmap.
4633 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
4634 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
4636 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
4638 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
4639 implementations here, adapted them to propagate redirects to child windows.
4640 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
4641 clipped to visible region. queue GDK_DAMAGE event delivery.
4642 gdk_window_redirect_to_drawable(): install window painting redirection.
4643 gdk_window_remove_redirection(): remove previously installed redirection.
4645 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
4646 renamed _gdk_window_new() and _gdk_window_reparent().
4648 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
4649 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
4651 * gdk/gdkevents.h: added GDK_DAMAGE event type.
4653 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
4655 * gdk/gdkinternals.h: added internal prototypes.
4657 2008-05-21 Michael Natterer <mitch@imendio.com>
4659 * gtk/gtkalignment.c
4663 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
4665 2008-05-20 Matthias Clasen <mclasen@redhat.com>
4667 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
4670 Patch by Marek Kasik.
4673 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
4675 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
4677 * modules/printbackends/file/gtkprintbackendfile.c:
4678 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
4679 get_default_page_size.
4681 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
4682 select its default paper size.
4684 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
4685 use the printer default.
4687 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
4688 if we don't have a default page setup.
4690 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
4692 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
4693 can accept NULL for none. Fixes bug #533920.
4695 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
4697 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
4698 gtk_spin_button_update): Remove two chunks of duplicated
4701 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
4703 * reverted recent unapproved changes by Yair Hershkovitz,
4704 regarding: Bug 503071 – Application direction changes to right
4705 to left even if theres no translation.
4707 2008-05-19 Richard Hult <richard@imendio.com>
4709 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
4710 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
4711 SetSystemUIMode instead of hiding and showing the menubar.
4713 2008-05-19 Federico Mena Quintero <federico@novell.com>
4715 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
4716 can't be resized until you expand the "Browse for other folders"
4719 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
4720 Removed the "get_resizable" method.
4721 (_gtk_file_chooser_embed_get_resizable): Removed.
4723 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
4725 * gtk/gtkfilechooserdefault.c: Likewise.
4727 * gtk/gtkfilechooserdialog.c
4728 (file_chooser_widget_default_size_changed): Act as if the dialog
4729 were always resizable.
4731 2008-05-19 Michael Natterer <mitch@imendio.com>
4733 * gtk/gtkcellrenderer.c
4734 * gtk/gtkcellrendererpixbuf.c
4735 * gtk/gtkcellrenderertoggle.c
4736 * gtk/gtkimagemenuitem.c
4737 * gtk/gtkmenutoolbutton.c
4738 * gtk/gtkoptionmenu.c
4739 * gtk/gtkstatusbar.c
4740 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
4742 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
4744 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
4745 g_disable_setlocale().
4747 2008-05-17 Richard Hult <richard@imendio.com>
4749 * gdk/quartz/gdkwindow-quartz.c:
4750 (gdk_window_impl_quartz_invalidate_maybe_recurse):
4751 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
4752 of g_idle_add. Add a temporary check if the window is already in
4753 the updates list, since update_area currently doesn't always match
4754 the backend's state, see bug #530801.
4756 2008-05-13 Tor Lillqvist <tml@novell.com>
4758 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
4760 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
4761 the "packet rate" of devices to zero instead of 50. This is
4762 reported to help significantly with Wacom tablet behaviour in GIMP
4763 and Inkscape. Patch from Thomas Bleeker.
4765 2008-05-12 Richard Hult <richard@imendio.com>
4767 * gdk/quartz/gdkevents-quartz.c:
4768 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
4769 as it's no longer necessary; instead the added quartz API to get
4770 the nsevent from an event should be used. Also move the global
4771 filter up so it's done before the check for window-less events.
4773 2008-05-12 Tor Lillqvist <tml@novell.com>
4775 Bug 532558 - Cannot build dll when using separate builddir
4778 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
4781 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
4783 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
4785 2008-05-12 Tor Lillqvist <tml@novell.com>
4787 Bug 532059 - Leak in win32 clipboard manipulation
4789 * gdk/win32/gdkselection-win32.c
4790 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
4793 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
4795 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
4796 gettext_initialization only once.
4798 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
4799 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
4800 with the extended functionality that was in the removed dpgettext().
4802 * gtk/gtkaccellabelc:
4804 * gtk/gtkimmulticontext.c:
4805 * gtk/gtkactiongroup.c:
4806 * gtk/gtkintl.h: use glib i18n api.
4808 2008-05-08 Richard Hult <richard@imendio.com>
4810 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
4811 currently invalidated region. Fixes bug #532048, patch by Yevgen
4814 2008-05-08 Richard Hult <richard@imendio.com>
4816 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
4817 fd's revents, not the first one. Fixes bug #531056, spotted by
4820 2008-05-07 Tor Lillqvist <tml@novell.com>
4822 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
4825 2008-05-05 Matthias Clasen <mclasen@redhat.com>
4827 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
4828 more printer status information in the print dialog.
4830 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
4831 printer-state-reasons into suitable messages and icons.
4833 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
4834 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
4835 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
4837 * gtk/gtkiconfactory.c:
4838 * gtk/gtkstock.h: New stock icons to display printer state.
4840 2008-05-07 Michael Natterer <mitch@imendio.com>
4842 * gdk/gdkinternals.h
4844 * gdk/directfb/gdkevents-directfb.c
4845 * gdk/quartz/gdkevents-quartz.c
4846 * gdk/win32/gdkevents-win32.c
4847 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
4848 order parameters src,dest and make src const.
4850 2008-05-06 Richard Hult <richard@imendio.com>
4852 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
4853 * gdk/gdkinternals.h: Add private backend data to events, and
4854 handle it when copying/freeing events. Currently only needed in
4857 * gdk/directfb/gdkevents-directfb.c:
4858 * gdk/quartz/gdkevents-quartz.c:
4859 * gdk/win32/gdkevents-win32.c:
4860 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
4861 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
4862 directfb. Implement for quartz. Part of fixing bug #473822.
4864 2008-05-05 Richard Hult <richard@imendio.com>
4866 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
4867 framework if there is one.
4869 2008-05-05 Michael Natterer <mitch@imendio.com>
4871 * gtk/gtkcellrenderercombo.h
4872 * gtk/gtkcellrendererspin.h
4873 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
4876 * gtk/gtkfilechooserdialog.h
4877 * gtk/gtkfilechooserwidget.h
4878 * gtk/gtkscalebutton.h: reorder instance and class structs to be
4881 2008-05-04 Richard Hult <richard@imendio.com>
4883 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
4884 gdk_unicode_to_keyval() worked before using the result. Makes
4885 function keys work, bug #530156. Also add F16 to the function key
4888 2008-05-04 Richard Hult <richard@imendio.com>
4890 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
4891 semicolon after if statement. Fixes bug #530963, patch from Yevgen
4894 2008-05-02 Michael Natterer <mitch@imendio.com>
4896 * gtk/gtk.h: add 15 files that were missing (they all got included
4897 indirectly by including gtk.h, so should have been here in the
4900 2008-05-02 Michael Natterer <mitch@imendio.com>
4902 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
4904 2008-05-01 Richard Hult <richard@imendio.com>
4906 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
4907 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
4909 2008-05-01 Matthias Clasen <mclasen@redhat.com>
4911 * modules/imput/imthai.c: Register the right translation domain.
4913 2008-04-30 Matthias Clasen <mclasen@redhat.com>
4915 Bug 529386 – Printing options hidden by blacklisted option
4917 * modules/printbackend/cups/gtkprintbackendcups.c
4918 (cups_printer_get_options): Fix the blacklist handling.
4919 Patch by Marek Kašík.
4921 2008-04-30 Richard Hult <richard@imendio.com>
4923 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
4926 2008-04-30 Richard Hult <richard@imendio.com>
4928 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
4929 nsevents with the gdk lock held, fixes deadlock when doing manual
4930 window resizing with threading enabled.
4932 2008-04-30 Richard Hult <richard@imendio.com>
4934 * gdk/quartz/gdkevents-quartz.c:
4935 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
4936 Alt to Alt and Cmd to Meta. This is not only more logical but also
4937 makes it easier to have Mac-like behavior.
4939 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
4941 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
4942 painting the flat box instead of recalculating it. (#437493,
4945 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
4947 Bug 529841 – incorrect position in directfb
4949 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
4951 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
4953 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
4955 2008-04-25 Michael Natterer <mitch@imendio.com>
4957 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
4958 <pango/pango-layout.h>.
4960 * gtk/gtkiconfactory.c
4964 * gtk/queryimmodules.c: remove inclusion of single files from
4965 pango, none of them was actually needed.
4967 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
4968 <pango/pango-utils.h>.
4970 2008-04-25 Michael Natterer <mitch@imendio.com>
4972 * gdk/gdkfont.h: include <pango/pango.h> instead of
4973 <pango/pango-font.h>.
4975 2008-04-25 Michael Natterer <mitch@imendio.com>
4977 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
4980 2008-04-21 Michael Natterer <mitch@imendio.com>
4982 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
4983 crashing when NULL pointers get passed.
4985 2008-04-18 Michael Natterer <mitch@imendio.com>
4987 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
4988 here have the same style.
4990 2008-04-18 Michael Natterer <mitch@imendio.com>
4992 * gtk/gtkicontheme.h
4993 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
4996 * gtk/gtkbuilderparser.c
4997 * gtk/gtklinkbutton.c
4999 * gtk/gtkrecentchooserdefault.c
5000 * gtk/gtkrecentchoosermenu.c
5001 * modules/input/gtkimcontextthai.c: remove inclusion of single
5002 files from gdk, none of the includes was actually needed.
5004 2008-04-18 Michael Natterer <mitch@imendio.com>
5006 * gdk/gdk.h: reorder one include so they are all alphabetical.
5008 2008-04-18 Michael Natterer <mitch@imendio.com>
5010 * modules/printbackends/cups/gtkprintercups.[ch]
5011 (gtk_printer_cups_get_ppd_name): change return value and local
5012 variable to const gchar* to fix warning about discarding const
5015 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
5017 * gtk/gtkrecentmanager.c:
5018 (gtk_recent_manager_set_filename): Keep the default storage
5019 file in $HOME, as we don't have a migration code in place yet.
5021 2008-04-18 Michael Natterer <mitch@imendio.com>
5023 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
5024 g_strfreev() the uris returned by g_bookmark_file_get_uris().
5026 2008-04-17 Michael Natterer <mitch@imendio.com>
5028 * gtk/gtkiconfactory.c (get_default_icons): register the
5029 GTK_STOCK_PAGE_SETUP icon.
5031 2008-04-17 Michael Natterer <mitch@imendio.com>
5033 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
5034 g_return_if_fail(tooltips != NULL);
5036 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
5038 * gtk/gtkwindow.c: Chain up in buildable_finish()
5040 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
5041 cases where g_path_get_dirname() returns "."
5043 * docs/reference/gtk/tmpl/gtklabel.sgml,
5044 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5045 for the <attributes> tags on GtkLabel
5047 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5049 * gtk/gtkrecentmanager.c:
5050 (gtk_recent_manager_real_changed): Fix last commit, and
5051 complete the gtk-recent-files-max-age semantics: if the
5052 property is set to 0 then purge the list.
5054 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5056 Bug 488507 – boundless growth of .recently-used.xbel file
5057 slows down applications
5059 * gtk/gtkrecentmanager.c:
5060 (gtk_recent_manager_init),
5061 (gtk_recent_manager_real_changed),
5062 (gtk_recent_manager_set_filename),
5063 (gtk_recent_manager_clamp_to_age): Clamp the recently
5064 used resources list by the age of its items, using
5065 the newly added GtkSettings property.
5067 * gtk/gtksettings.c (gtk_settings_class_init): Add the
5068 gtk-recent-files-max-age property, controlling the
5069 maximum age of the items in the recently used resources
5072 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5074 * gtk/gtkrecentmanager.c:
5075 (gtk_recent_manager_add_item_query_info),
5076 (gtk_recent_manager_add_item): Emit the ::changed signal
5077 at the end of the asynchronous MIME type query.
5079 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5081 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
5084 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
5085 changes in the recently used resources storage file, and
5086 drop the timeout-based poll.
5088 * ChangeLog: Fix attribution of the patch of the previous
5091 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5093 Bug 506062 – gtk_recent_manager_add_item does not detect mime
5096 * configure.in: Depend on gio-2.0
5098 * gtk/gtkrecentmanager.c:
5099 (gtk_recent_manager_add_item_query_info_cb),
5100 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
5101 query the MIME type of the passed URI (based on a patch by
5104 2008-04-11 Carlos Garnacho <carlos@imendio.com>
5106 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
5107 page to visited page list instead of next current page. (#527466,
5108 patch by Marcus Brinkmann)
5110 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
5112 * gtk/gtklabel.c: Added <attributes> / <attribute>
5113 custom tags to parse pango attributes into labels (#527486).
5115 * tests/buildertest.c: Added tests for GtkLabel custom
5118 2008-04-10 Carlos Garnacho <carlos@imendio.com>
5120 * gtk/gtknotebook.c (hide_drag_window): Do not call
5121 gtk_widget_set_parent_window(), using widget->window instead of NULL
5122 to unset is the wrong thing, and gtk_widget_unparent() will already
5123 take care of this (#467698, patch by Sébastien Granjoux)
5125 2008-04-08 Tor Lillqvist <tml@novell.com>
5127 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
5128 these functions with G_MODULE_EXPORT.
5130 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
5132 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
5133 (gtk_file_system_volume_render_icon):
5134 Fix fallback icon rendering size
5136 2008-04-08 Michael Natterer <mitch@imendio.com>
5138 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
5139 touchscreen-mode keynav corner case: when navigating to the parent
5140 menu, make sure we don't close two menus at the same time in case
5141 the deepest open menu has no selectable items.
5143 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
5145 * gtk/gtkwidget.c: Clarified a g_warning message regarding
5146 parsing accelerators from builder files.
5148 2008-04-03 Cody Russell <bratsche@gnome.org>
5150 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
5151 of the block. (#526021, reported by Kazuki IWAMOTO)
5153 2008-04-03 Tor Lillqvist <tml@novell.com>
5155 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
5158 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
5159 workaround for a specific kind of screwed up locale setting.
5161 2008-04-02 Matthias Clasen <mclasen@redhat.com>
5163 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
5164 colormaps. Found by Daniel Berrange.
5166 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
5168 * tests/autotestfilechooser.c: Cover
5169 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
5170 name. (#346058, Joe Halliwell)
5172 2008-04-02 Federico Mena Quintero <federico@novell.com>
5174 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
5175 chooser incorrectly substitutes and expands a ~ when you type it
5176 in the filename entry.
5178 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
5179 basenames result in a slash-terminated pathname.
5180 gtk_file_system_unix_parse() is correct, but it was splitting
5181 "/home/username" into path="/home" and file_part="username", which
5182 is not what the caller wants when the entry has just "~" or
5185 2008-04-02 Tor Lillqvist <tml@novell.com>
5187 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
5188 and gtksearchenginetracker.c on Windows.
5190 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
5193 2008-04-01 Cody Russell <bratsche@gnome.org>
5195 * configure.in: Bump required Cairo to 1.5.2.
5197 * gtk/gtkprintoperation-win32.c: Add support for using the new
5198 cairo_win32_printing_surface for printing. Also fixed to use
5199 cairo_surface_show_page(). (#488833 and #521178)
5201 2008-03-31 Cody Russell <bratsche@gnome.org>
5203 * demos/gtk-demo/printing.c (draw_page): Move down each line in
5204 units of text_height rather than in units of data->font_size.
5205 (totally awesome catch by Dom Lachowicz)
5207 2008-03-28 Richard Hult <richard@imendio.com>
5209 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
5210 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
5211 event to the mainloop and don't generate one at all if the
5212 toplevel didn't change. Use the actual window and not the toplevel
5213 as event window. These changes make the generated crossing events
5214 match the X11 behavior and fixes issues with e.g. tooltips,
5215 comboboxes and menus.
5217 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
5218 the view has no window, it will be updated as soon as it's put
5221 * gdk/quartz/gdkwindow-quartz.c:
5222 (_gdk_quartz_window_debug_highlight): Make it possible to track
5223 multiple windows with debug highlighting.
5224 (show_window_internal): Remove workaround for tooltips and popups
5225 that is no longer needed with the above changes.
5227 2008-03-26 Federico Mena Quintero <federico@novell.com>
5229 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
5230 helper function; factored out from the functions that commit the
5231 current suggested autocompletion and that refresh the entry's paths.
5232 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
5233 (_gtk_file_chooser_entry_get_file_part): Likewise.
5234 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
5235 makes the entry have the correct paths when *not* using any form
5236 of completion (and makes the file chooser work when clicking the
5239 2008-03-25 Richard Hult <richard@imendio.com>
5241 * gdk/quartz/gdkevents-quartz.c:
5242 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
5243 can't find a matching window.
5245 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
5246 comment, and only trigger an event for non-temp windows, fixes
5247 problems for tooltips caused by the workarounds for the
5248 problematic tracking rect API.
5250 2008-03-25 Richard Hult <richard@imendio.com>
5252 * gdk/quartz/gdkwindow-quartz.c:
5253 (gdk_window_quartz_process_all_updates): Plug a leak and add a
5254 check that we have a toplevel before accessing it.
5256 2008-03-24 Tor Lillqvist <tml@novell.com>
5258 Bug 524151 - Dragging of 0-byte files results in an empty filename
5259 on Windows XP and above
5261 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
5262 being empty first. For some reason ISHellLink and IPersistFile
5263 succeeds in interpreting empty files as shortcuts, claiming the
5264 target of the shortcut is an empty path.
5266 Change the function to take the wide character file name that the
5267 caller already has anyway, to avoid a superfluous conversion from
5270 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
5272 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
5273 against NULL pointer. (#467051, Gian Mario Tagliaretti)
5275 2008-03-23 Cody Russell <bratsche@gnome.org>
5277 * gdk/win32/gdkevents-win32.c (show_window_recurse):
5278 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
5279 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
5280 menus from a maximized window would force the window to restore
5283 2008-03-23 Johan Dahlin <johan@gnome.org>
5285 * gtk/gtk-builder-convert:
5286 Properly convert GtkImageMenuItems which use stock labels but don't
5288 (#523932, Brian Pepple)
5290 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
5292 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
5293 New function implements GtkCellLayoutClass::get_cells. (#523787)
5295 2008-03-22 Tor Lillqvist <tml@novell.com>
5297 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
5299 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
5300 GDK_THREADS_LEAVE() call. Approved by mclasen.
5302 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
5304 * gtk/gtkexpander.c (gtk_expander_get_label):
5305 gtk_label_get_label() should be used instead of
5306 gtk_label_get_text(). (#353088, Xan Lopez)
5308 2008-03-21 Tor Lillqvist <tml@novell.com>
5310 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
5311 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
5312 gdip-pixbuf-loader module.
5314 * configure.in: Add switch --disable-gdiplus-loaders that disables
5315 building of the GDI+ loaders.
5317 When including loaders in the gdk-pixbuf library, and building
5318 GDI+ loaders, either build in all the GDI+ loaders or none of
5319 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
5320 signal building them in.
5322 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
5323 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
5324 indicate whether they should be built-in.
5326 For the rest of the changes, see gdk-pixbuf/ChangeLog.
5328 2008-03-20 Tor Lillqvist <tml@novell.com>
5330 * gtk/Makefile.am: Revert accidental change that went in as part
5331 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
5332 Darwin. On Windows one has to use a newer GNU grep that has -o,
5333 for instance the one from gnuwin32, instead of the oldish one in
5334 MSYS that doesn't have -o.
5336 2008-03-20 Tor Lillqvist <tml@novell.com>
5338 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
5339 pass NULL for %s to g_message().
5340 (main): Drop unnecessary call to gtk_widget_destroy().
5342 2008-03-20 Tor Lillqvist <tml@novell.com>
5344 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
5346 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
5347 in one dimension, or centered in case it doesn't fit.
5348 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
5351 2008-03-18 Tor Lillqvist <tml@novell.com>
5353 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
5355 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
5356 G_MODULE_ENTRY decoration can be put in a more correct place.
5358 2008-03-18 Sven Neumann <sven@gimp.org>
5360 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
5361 alternative button order on the password dialog.
5363 2008-03-18 Tor Lillqvist <tml@novell.com>
5365 Bug 99192 - Add --with-include-input-modules
5367 * configure.in: Add --with-included-immodules switch. Handled in a
5368 similar way as the --with-included-loaders switch. For each input
5369 method module foo: Collect the list of input modules to be built
5370 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
5371 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
5372 Define Automake conditionals INCLUDE_IM_FOO.
5374 * modules/input/Makefile.am: For modules to be included in libgtk,
5375 build a static library.
5377 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
5378 gdk-pixbuf to get unique names for the functions called by libgtk
5379 in the included case. Use G_MODULE_EXPORT in the non-included case
5380 so that we don't unnecessarily export unneeded random global
5383 * gtk/Makefile.am: Build the included modules and link them into libgtk.
5385 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
5386 copy/paste leftover mentions of "themes" in comments.
5388 2008-03-18 Tor Lillqvist <tml@novell.com>
5390 * tests/Makefile.am: Build testmountoperation only on Unix for now.
5392 2008-03-17 Christian Kellner <gicmo@gnome.org>
5394 Implement GtkMountOperation, a subclass of GMountOperation
5395 to be used with gio wherever there is the need to ask the
5396 user for credentials or questions while mounting a volume.
5399 * gtk/gtkmountoperation.c:
5400 * gtk/gtkmountoperation.h:
5401 Implement GtkMountOperation.
5403 * gtk/gtk.h: Add gtkmountoperation.h
5404 * gtk/Makefile.am: Add gtkmountoperation.[hc]
5405 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
5406 * tests/testmountoperation.c: Test program for it.
5407 * tests/Makefile.am: Add testmountoperation.
5409 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
5411 * gtk/gtkcontainer.c: Properly document
5412 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
5414 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
5416 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
5417 style names for the ComboBox thickness style
5419 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
5421 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
5422 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
5423 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
5424 intelligent separation for the xp theming engine and the classic
5425 theme while drawing the GtkComboBox button. combobox_draw_arrow
5426 is not used anymore, commented. The style has been updated to fix
5427 border/thickness glitches in the combobox according to the fixes
5428 commited regarding bug #521442. (bug #461805)
5430 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
5432 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
5433 now aware of both the combobox and frame (if has-frame is set)
5434 thickness and border. (bug #521442)
5436 2008-03-15 Andre Klapper <a9016009@gmx.de>
5438 * configure.in: Added "si" to ALL_LINGUAS.
5440 2008-03-15 Matthias Clasen <mclasen@redhat.com>
5442 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
5443 Set window type hint on the search popup. (#522279, Danny Baumann)
5445 2008-03-15 Matthias Clasen <mclasen@redhat.com>
5447 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
5448 appropriate. (#521934, Huang Peng)
5450 2008-03-14 Michael Natterer <mitch@imendio.com>
5453 * gtk/gtkbuilderprivate.h
5454 * gtk/gtkfilechoosersettings.c
5455 * gtk/gtksearchenginesimple.c
5456 * gtk/tests/liststore.c
5457 * gtk/tests/treestore.c: remove single-file includes of GLib
5458 headers or replace them by <glib.h> where needed.
5460 2008-03-14 Michael Natterer <mitch@imendio.com>
5462 * gtk/gtkadjustment.c: coding style cleanup.
5464 (gtk_adjustment_set_property): no need to call g_object_notify()
5465 on the set properties.
5467 Implement GObject::dispatch_properties_changed() and make sure we
5468 emit "changed" when anything but the "value" property changes.
5470 2008-03-14 Tor Lillqvist <tml@novell.com>
5472 * gdk/win32/gdkevents-win32.c: Drop the support for the
5473 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
5474 Win95. Thanks to mitch for noticing this obsolete code.
5476 2008-03-14 Cody Russell <bratsche@gnome.org>
5478 * examples/scribble-xinput/scribble-xinput.c: Changed
5479 'void int main()' to 'int main()'. (#522211, Liqing Huang)
5481 2008-03-14 Richard Hult <richard@imendio.com>
5483 * gdk/quartz/gdkwindow-quartz.c:
5484 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
5485 only flush the toplevel once per update.
5487 2008-03-13 Federico Mena Quintero <federico@novell.com>
5489 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
5490 Set the mouse cursor of the feedback window to invisible, so that
5491 we respect GtkEntry's invisible cursor while typing.
5493 2008-03-13 Federico Mena Quintero <federico@novell.com>
5495 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
5496 the feedback window at entry_height/2 pixels to the right of the
5497 cursor, for a cheap "M-width / 2" spacing.
5499 2008-03-13 Sven Neumann <sven@gimp.org>
5501 * gtk/gtkfilechooserdefault.c
5502 * gtk/gtkprintunixdialog.c: set alternative button order for
5503 overwrite confirmation dialogs (bug #522191).
5505 2008-03-13 Sven Neumann <sven@gimp.org>
5507 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
5508 (overwrite_confirmation_dialog): added some line-breaks for
5511 2008-03-12 Federico Mena Quintero <federico@novell.com>
5513 Rework the way completion works in GtkFileChooserEntry. Fixes
5514 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
5515 Tab completion should work even if the cursor is not at the end of
5518 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
5521 We distinguish between two cases:
5523 - autocompletion - happens only in the Open modes by
5524 inserting and selecting the common prefix as you type.
5526 - explicit completion - happens when you hit Tab.
5528 When some type of completion needs to happen, the entry first
5529 parses its input and sees if it needs to initiate a folder load.
5530 Completion will not happen until the folder finishes loading.
5532 If the folder is already completely loaded, then completion is
5533 performed immediately. Otherwise, the entry queues a pending
5534 completion and starts loading the new folder (or waits until the
5535 current folder is completely loaded).
5537 Tab completion is allowed to happen even if the cursor is not at
5538 the end of the entry.
5540 There is a new feedback mechanism for explicit completion, so that
5541 you will get an Emacs-like tip whenever there are ambiguities in
5542 completion, no matches, etc. (This needs to be polished so that
5543 we support RTL entries and all the fancy Pango layout in GtkEntry).
5545 The only remaining thing to fix is the popup suggestion window.
5546 Unfortunately, GtkEntryCompletion does not let us do what we want,
5547 and will need further changes.
5549 2008-03-12 Tor Lillqvist <tml@novell.com>
5551 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
5553 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
5554 for the TaskbarCreated message in the window procedure for the
5555 dummy "tray observer" window we create. When we get a
5556 TaskbarCreated message, iterate over the status icons and re-add
5557 them to the task bar, and update them by calling
5558 gtk_status_icon_update_image().
5560 Move some ifdefs around to avoid unused functions.
5562 2008-03-12 Tor Lillqvist <tml@novell.com>
5564 * config.h.win32.in: Update to match what configure produces.
5566 2008-03-12 Jens Granseuer <jensgr@gmx.net>
5568 * modules/printbackends/cups/gtkprintbackendcups.c:
5569 (cups_printer_prepare_for_print): Don't define variables in the
5570 middle of a block. (#522067)
5572 2008-03-12 Matthias Clasen <mclasen@redhat.com>
5574 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
5575 dialog for print-to-file. (#474302, Marek Kašík)
5577 2008-03-12 Matthias Clasen <mclasen@redhat.com>
5579 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
5580 (#469210, Wouter Bolsterlee)
5582 2008-03-12 Matthias Clasen <mclasen@redhat.com>
5584 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
5585 paper_size here. (#488820, Morten Welinder)
5587 2008-03-12 Michael Natterer <mitch@imendio.com>
5589 * acconfig.h: remove this deprecated file.
5591 * configure.in: added comments to all instances of AC_DEFINE() so
5592 config.h can be completely generated from configure.in.
5594 2008-03-12 Michael Natterer <mitch@imendio.com>
5596 * modules/printbackends/cups/gtkprintbackendcups.c: include
5597 <glib/gstdio.h> for g_fopen().
5599 2008-03-11 Matthias Clasen <mclasen@redhat.com>
5601 * modules/printbackends/cups/gtkprintbackendcups.c: Use
5602 g_ascii_formatd when formatting custom paper sizes, since
5603 cups doesn't handle , as decimal separator. (#521548)
5605 2008-03-11 Tor Lillqvist <tml@novell.com>
5607 Bug 469868 - Filenames with colon ":" are not saved correctly
5609 * gtk/gtkfilechooserentry.c (insert_text_callback)
5610 (delete_text_callback) [Win32]: New functions to make sure that
5611 colons used otherwise than as a separator after a drive letter, or
5612 characters that are always illegal in file names, are rejected on
5613 input. This means that the GTK+ file chooser can't be used to
5614 input full names of alternate data streams, but oh well. There are
5615 still more checks that could be done on the file names, see the
5616 bug report. But this will do for now.
5617 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
5619 2008-03-11 Jordi Mallach <jordi@sindominio.net>
5621 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
5623 2008-03-11 Michael Natterer <mitch@imendio.com>
5625 * gdk/linux-fb/*: removed linux-fb backend files.
5629 * docs/README.linux-fb
5630 * gtk/Makefile.am: remove remaining traces of linux-fb.
5632 * gtk/gtkwindow-decorate.c: same here. There is some code that
5633 calls into linux-fb to set window move/resize callbacks. I put it
5634 in #if 0 as a reminder because we did use decorated windows with
5635 the DirectFB backend and it did work, so I don't really know why
5636 this code is needed or how it could work with DirectFB back then.
5637 The file does actually compile now if DECORATE_WINDOWS is defined,
5638 but I didn't test with DirectFB to check if it does anything.
5640 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
5642 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
5643 Take thickness into account in the size allocation of the child widgets in
5647 2008-03-11 Richard Hult <richard@imendio.com>
5649 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
5651 2008-03-10 Tor Lillqvist <tml@novell.com>
5653 * tests/teststatusicon.c (do_exit, popup_menu): Add the
5654 possibility to test what happens if the process just calls exit()
5655 without any orderly cleanup of GTK+.
5657 2008-03-10 Tor Lillqvist <tml@novell.com>
5659 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
5661 2008-03-10 Tor Lillqvist <tml@novell.com>
5663 Bug 520286 - Non-deletable window has no minimize / maximize buttons
5665 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
5666 New debugging output function that decodes a set of WS_* bits.
5668 * gdk/win32/gdkprivate-win32.h: Declare it.
5670 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
5671 New function that enables or disables one menu entry in the system
5672 menu of a top-level window. (The corresponding decoration will
5673 then also be enabled or disabled (grayed).)
5675 (update_style_bits): Do as the comment says and don't try to
5676 update the window style based on the GdkWMFunctions set for the
5679 (update_system_menu): New function that enables or disables the
5680 system menu entries based on a window's stored set of
5683 (gdk_window_set_functions): Call update_system_menu() instead of
5684 update_style_bits().
5686 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
5688 * README.in: Reword the 2.14 release notes entry about the
5689 deprecation of the gtkitemfactory.h header, and fix typos
5692 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
5694 * modules/engines/ms-windows/msw_style.c (draw_shadow):
5695 Do not draw frame if parent if combobox.
5697 Uses scrollbar width system metrics for combobox button.
5698 Fixes #461805 for XP theme engine.
5700 2008-03-07 Johan Dahlin <johan@gnome.org>
5703 * gtk/gtkbuilderparser.c:
5704 * gtk/gtkbuilderprivate.h:
5705 * gtk/gtkiconfactory.c:
5706 * tests/buildertest.c:
5707 - Treat enums like enums and not values
5708 - Avoid invalid free, in case of more than two sources
5709 - Add better error messages
5710 - Add much improved tests
5711 (#520979, Christian Persch)
5713 2008-03-07 Carlos Garnacho <carlos@imendio.com>
5715 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
5718 2008-03-06 Federico Mena Quintero <federico@novell.com>
5720 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
5721 GtkFileChooserDialog should set a default response button if the
5722 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
5724 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
5725 function, refactor from where there was duplicated code.
5726 (gtk_file_chooser_dialog_map): Look at the buttons in our
5727 action_area. If the response ID for a button is one of the stock
5728 ones, make it the default response button.
5730 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
5732 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
5734 * gtk/gtkbuilderprivate.h:
5735 * gtk/gtkiconfactory.c:
5736 * tests/buildertest.c:
5737 Implement GtkBuildable on GtkIconFactory, to make
5738 it possible to register custom stock icons.
5741 2008-03-06 Johan Dahlin <johan@gnome.org>
5745 * gtk/gtkstyle.c: npoints->n_points.
5746 * gtk/gtktestutils.h: widget->spinner
5747 * gtk/gtktestutils.c: argc->argcp, argv->argvp
5749 2008-03-06 William Lachance <wrlach@gmail.com>
5751 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
5752 string localizable (as it should be).
5754 2008-03-06 William Lachance <wrlach@gmail.com>
5756 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
5757 the time for today's date. It's redudant. (see bug #410517).
5759 2008-03-06 Xan Lopez <xan@gnome.org>
5761 * gtk/gtkfixed.c: fix typo in documentation.
5763 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
5765 * gtk/gtkitemfactory.h:
5766 * gtk/gtktypeutils.h:
5767 Move GtkTranslateFunc to gtktypeutils.h so we can completely
5768 deprecate gtkitemfactory.h.
5770 * gtk/gtkactiongroup.h:
5772 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
5775 Add a note describing this slight incompatible change
5777 2008-03-06 Johan Dahlin <johan@gnome.org>
5779 * gtk/gtkpreview.h: Avoid double-deprecation.
5781 2008-03-06 Michael Natterer <mitch@imendio.com>
5784 * gtk/Makefile.am: move the remaining deprecated widgets to the
5785 separate sections and replaced spaces by tabs in Makefile.am
5787 2008-03-05 Johan Dahlin <johan@gnome.org>
5789 * configure.in: Add --disable-cups option.
5790 (#513826, Alberto Ruiz)
5794 Separate broken and deprecated sources and headers into different sections
5796 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
5798 2008-03-05 Kristian Rietveld <kris@imendio.com>
5800 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
5801 short-circuit in case an empty root level would be build (and thus
5802 directly destroyed) if no virtual root has been set.
5804 2008-03-04 Matthias Clasen <mclasen@redhat.com>
5806 * modules/printbackends/cups/gtkprintbackendcups.c:
5807 Honor cups user default options from ~/.cups/lpoptions
5808 (#469210, Stijn Hoop)
5810 2008-03-04 Michael Natterer <mitch@imendio.com>
5813 * gtk/gtkcolorbutton.c
5814 * gtk/gtkentrycompletion.c
5815 * gtk/gtkfontbutton.c
5819 * gtk/gtkpreview.c: don't include "gtksignal.h".
5821 * gtk/gtkfilefilter.c
5822 * gtk/gtkrecentchoosermenu.c
5823 * gtk/gtkrecentfilter.c
5824 * gtk/gtktext.c: don't include "gtkobject.h".
5826 2008-03-04 Simos Xenitellis <simos@gnome.org>
5828 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
5829 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
5831 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
5834 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
5835 file, contains compose sequences that used to exist in
5836 gtk/gtkimcontextsimple.c
5838 * gtk/compose-parse.py: Script to generate compose
5839 sequences from upstream (Xorg).
5841 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
5842 check_algorithmically): New functions. First two search in
5843 gtk_compose_seqs_compact[] for matching compose sequence, third
5844 tries NFC normalisation on incoming compose sequence.
5845 (gtk_im_context_simple_filter_keypress):
5846 Adds searching with check_compact_table(), check_algorithmically().
5848 2008-03-03 Carlos Garnacho <carlos@imendio.com>
5850 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
5851 scrollwheel work in GtkPathBar.
5853 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
5855 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
5856 an input-only window, event_window, which we'll use to capture
5858 (gtk_path_bar_map): Show the event_window under the rest of the
5859 windows, so it will be a catch-all for unhandled events.
5861 2008-03-03 Sven Neumann <sven@gimp.org>
5863 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
5864 typo in the documentation of the GtkFileChooserButtons::file-set
5865 signal (see bug #353196).
5867 2008-03-03 Tor Lillqvist <tml@novell.com>
5869 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
5872 2008-03-02 Johan Dahlin <johan@gnome.org>
5874 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
5875 Remove left-over focus_pad variable.
5876 (#490892, Claudio Saavedra)
5878 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
5879 (#518166, Matt Kraai)
5881 2008-03-02 Johan Dahlin <johan@gnome.org>
5883 * docs/tutorial/gtk-tut.sgml: Add a missing space
5884 (#517954, Matt Kraai)
5886 2008-03-03 Tor Lillqvist <tml@novell.com>
5888 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
5889 the widget is a GtkButton before casting.
5891 2008-03-02 Johan Dahlin <johan@gnome.org>
5893 * configure.in: Compare using = instead of ==, which is portable.
5894 (#490787, Thomas Klausner)
5896 2008-03-02 Johan Dahlin <johan@gnome.org>
5898 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
5899 fixes non-C++ build.
5900 (#496032, Nelson Benitez)
5902 2008-02-29 Johan Dahlin <johan@gnome.org>
5904 * demos/gtk-demo/demo.ui:
5905 * gtk/gtkbuilderparser.c:
5906 * gtk/gtkbuilderprivate.h:
5907 * gtk/gtkliststore.c:
5908 * tests/buildertest.c:
5909 Add translatable/context and comment attributes on
5910 <col> tags under a GtkListStore. Refactor parts of the
5911 translation api and make it available inside gtk+ itself.
5912 Update tests and example.
5913 Fixes a part of #518642
5915 2008-02-29 Johan Dahlin <johan@gnome.org>
5918 Add missing g_return_val_if_fail checks for public API.
5920 * gtk/gtkbuilderparser.c:
5921 * gtk/gtkbuilderprivate.h:
5922 Do not use g_error for a few more errors, instead set
5923 the GError sent in through add_from_file/add_from_string.
5924 * tests/buildertest.c:
5925 Add a couple of new parsing tests.
5926 (#519199, Pavel Syomin)
5928 2008-02-29 Federico Mena Quintero <federico@novell.com>
5930 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
5931 refreshing an existing folder (i.e. when we are about to reload
5932 its file list), turn off the folder's is_finished_loading flag.
5933 Otherwise callers which do ::is_finished_loading() followed by
5934 ::list_children() will get nothing.
5936 2008-02-29 Cody Russell <bratsche@gnome.org>
5938 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
5939 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
5941 2008-02-28 Matthias Clasen <mclasen@redhat.com>
5943 * gtk/gtkcalendar.h: Remove trailing comma from enum to
5944 make the compiler happy. (#517295, Sylvain Pasche)
5946 2008-02-27 Michael Natterer <mitch@imendio.com>
5948 * gtk/gtkmenushell.c
5951 * gtk/gtktipsquery.c
5956 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
5957 private functions and virtual function implementations.
5959 2008-02-27 Richard Hult <richard@imendio.com>
5961 * gdk/quartz/GdkQuartzView.c:
5962 * gdk/quartz/GdkQuartzView.h:
5963 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
5964 Fix performance regression for borderless transparent windows
5967 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
5969 * tests/testgtk.c: Revert back to r19454.
5971 2008-02-27 Sven Neumann <sven@gimp.org>
5973 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
5974 Quartz backend, use a native Mac OS X application for the print
5975 preview (bug #518624).
5977 2008-02-26 Michael Natterer <mitch@imendio.com>
5979 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
5980 the members of info->tag_stack since they are a) gobjects and b)
5981 not even owned by us, ugh... Fixes crash when deserializing fails.
5983 2008-02-26 Sven Neumann <sven@gimp.org>
5985 * docs/tools/shooter.c (find_toplevel_window)
5986 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
5987 argument passed to XQueryTree().
5989 2008-02-25 Matthias Clasen <mclasen@redhat.com>
5991 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
5992 don't use beagle_query_add_hit_type.
5994 2008-02-25 Richard Hult <richard@imendio.com>
5996 * gdk/quartz/gdkevents-quartz.c
5997 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
5999 2008-02-24 Richard Hult <richard@imendio.com>
6001 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
6002 shown without gdk's control when clicking the dock icon.
6004 2008-02-24 Richard Hult <richard@imendio.com>
6006 * gdk/quartz/gdkprivate-quartz.h:
6007 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
6008 Use the subtype field for the custom event that is used to wake up
6009 the mainloop so we can have other custom event types.
6011 * gdk/quartz/gdkevents-quartz.c:
6012 (_gdk_quartz_events_trigger_crossing_events):
6013 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
6014 crossing events after showing a window if necessary, to work
6015 around problems with the tracking rect API.
6017 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6019 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
6020 wrong results on win32 because it doesn't set the printing units,
6021 which affect the transformation of the cairo context
6022 (#347125, Erik van Pienbroek)
6024 2008-02-22 Tor Lillqvist <tml@novell.com>
6026 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
6028 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6030 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
6031 acceptable for a module to only support the save_to_callback()
6032 method if it marks itself as WRITABLE
6034 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6036 * configure.in: Bump version
6038 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6040 * === Released 2.13.0 ===
6042 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
6044 2008-02-21 Tor Lillqvist <tml@novell.com>
6046 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
6047 pass the format string to strftime in the C library's locale's
6048 charset, not the system's. Correspondingly, the return value from
6049 strftime() is in the C library's locale's charset. (#509885)
6051 2008-02-20 Richard Hult <richard@imendio.com>
6053 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
6054 the right window level and shadow after recreating the window.
6056 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
6057 necessary after drawing (bug #517338).
6059 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
6061 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
6062 call to g_type_class_unref in case of error. (#517563)
6064 2008-02-18 Sven Neumann <sven@gimp.org>
6066 * gtk/Makefile.am (STOCK_ICONS)
6067 * gtk/stock-icons/16/gtk-page-setup.png
6068 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
6069 taken from GNOME icon theme.
6071 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
6073 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
6075 * configure.in: Added Kannada (kn) to ALL_LINGUAS
6077 2008-02-17 Johan Dahlin <johan@gnome.org>
6079 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
6080 When converting a stock item based on the label, remove the label property.
6082 2008-02-17 Richard Hult <richard@imendio.com>
6084 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
6085 position after showing the window since the window manager might
6086 not place it where we requested in the first places.
6088 2008-02-17 Richard Hult <richard@imendio.com>
6090 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
6091 (_gdk_quartz_window_detach_from_parent),
6092 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
6093 the toplevel ordering list in all places where the order is
6094 potentially changed. Fixes mouse focus issues for windows with
6095 a transient parent set.
6097 2008-02-17 Richard Hult <richard@imendio.com>
6099 * gdk/quartz/gdkevents-quartz.c
6100 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
6101 window when event debugging is enabled.
6103 2008-02-16 Richard Hult <richard@imendio.com>
6105 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
6106 to the scroll event (bug #516757, Paul Davis).
6108 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6112 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6114 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
6117 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6119 * gdk/Makefile.am: Don't install private headers. (#463510)
6121 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
6122 the installed header gdkprivate.h.
6124 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6126 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
6127 a crash with hidden, reorderable tabs. (#513230,
6128 Mike Massonnet, patch by Carlos Garnacho)
6130 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6132 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
6133 Warn on duplicate action group names. (#501746, Christian
6136 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6139 * modules/other/gail/tests/Makefile.am:
6140 * modules/other/gail/libgail-util/Makefile.am:
6141 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
6142 builds. (#516254, Yevgen Muntyan)
6144 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6149 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
6150 instead of hardcoded target tables. (#516092, Christian Persch)
6152 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6154 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
6155 add the same target atom twice. (#516087, Christian Persch)
6157 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6159 * tests/testfilechooser.c: Add a --backend option.
6160 (#516073, Christian Persch)
6162 2008-02-16 Richard Hult <richard@imendio.com>
6164 * gdk/quartz/gdkprivate-quartz.h:
6165 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
6168 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6170 * configure.in: Go back to 2.13.0 as version for now,
6171 as there was no consensus to do the jump.
6173 * many other places: Update Since: tags.
6175 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6177 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
6179 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
6181 2008-02-15 Richard Hult <richard@imendio.com>
6183 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
6184 instead of bounds when resizing windows.
6186 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6188 * gdk/x11/gdkkeys-x11.c:
6189 * gdk/x11/gdkcolor-x11.c:
6190 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
6192 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6194 * gdk/x11/gdktestutils-x11.c:
6195 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
6197 2008-02-15 Tor Lillqvist <tml@novell.com>
6199 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
6200 leak Registry key handles. (#516578)
6202 2008-02-14 Richard Hult <richard@imendio.com>
6204 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
6205 makeKeyWindow unfortunately doesn't work in all cases, we must use
6206 makeKeyAndOrderFront.
6208 2008-02-14 Richard Hult <richard@imendio.com>
6210 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
6211 (gdk_window_hide), (gdk_window_fullscreen),
6212 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
6213 the window is hidden.
6215 2008-02-14 Richard Hult <richard@imendio.com>
6217 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
6218 resizing to be consistent and to avoid introducing an internal
6219 transform in the view.
6221 2008-02-14 Richard Hult <richard@imendio.com>
6223 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
6226 2008-02-14 Johan Dahlin <johan@gnome.org>
6228 * gdk/gdktestutils.h
6229 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
6231 2008-02-13 Richard Hult <richard@imendio.com>
6233 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
6234 Remove unused variables.
6235 (gtk_clipboard_set_contents),
6236 (gtk_clipboard_get_owner), (clipboard_unset),
6237 (gtk_clipboard_request_targets): Notify the previous clipboard
6238 owner when the owner changes. Fixes bug #493406.
6240 2008-02-13 Richard Hult <richard@imendio.com>
6242 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
6243 the return value (return number of colors that failed), and handle
6245 (gdk_colormap_free_colors): Fix typo in comment.
6247 2008-02-13 Kristian Rietveld <kris@imendio.com>
6249 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
6250 queue a redraw if the rubber banding has actually been active.
6252 2008-02-12 Matthias Clasen <mclasne@redhat.com>
6254 * gtk/gtkpapersize.c:
6255 * gtk/gtkprintoperation.c:
6256 * gtk/gtkvolumebutton.c:
6257 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
6258 out by Behdad Esfahbod.
6260 2008-02-12 Federico Mena Quintero <federico@novell.com>
6262 Merged from gtk-2-12:
6264 Don't focus the file list when shortcuts get activated. This
6265 removes a lot of ambiguity in when the file selection should
6266 change, and makes the overall code flow simpler.
6268 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
6269 file/save dialog clears the filename entry when changing
6272 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
6273 focus should not go to the file list when a shortcut is activated.
6275 * gtk/gtkfilechooserdefault.c
6276 (shortcuts_activate_volume_mount_cb): Don't focus the file list
6277 (shortcuts_activate_get_info_cb): Likewise.
6279 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
6280 the file list (this was the last place where we would focus the
6281 file list explicitly). If you are in the location entry, for
6282 example, you don't want Alt-Home to take you to the file list; you
6283 just want the current folder to change. Thanks to Olle Bergkvist
6284 <olle.bergkvist@yahoo.se> for pointing this out in
6285 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
6286 (focus_browse_tree_view_if_possible): Removed.
6288 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6290 Skip exensions when selecting filenames in the save-as dialog.
6291 (#362516, Carlos Garnacho)
6293 * gtk/gtkfilechooserentry.h:
6294 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
6295 New function to skip the extension part when selecting a filename.
6296 (_gtk_file_chooser_entry_set_base_folder): Use it here.
6298 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
6301 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6303 * gtk/gtkiconview.c: Fix state change reporting for
6304 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
6306 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
6308 * gtk/gtkrecentchooser.c:
6309 (gtk_recent_chooser_class_init): Set the default value of the
6310 :show-not-found property to TRUE, as every implementation sets
6313 * gtk/gtkrecentchooserdefault.c:
6314 (_gtk_recent_chooser_default_init): Sync show_tips to the
6315 default value of the :show-tips property.
6317 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6319 * gtk/gtkclipboard-quartz.c:
6321 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
6324 2008-02-12 Kristian Rietveld <kris@imendio.com>
6326 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
6327 (gtk_tree_view_real_toggle_cursor_row): guard against people
6328 deleting the row in question in the selection-changed callback.
6329 (#514621, Andreas Koehler).
6331 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6333 * gtk/*.c: Unify the handling of various "Enter" keysyms
6334 all over the place. (#515047, Christian Persch)
6336 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6338 * gtk/gtkfilesystemmodel.c:
6340 * gtk/gtkwidget.c: Use g_value_set_static_string() where
6341 appropriate. (#515042, Christian Persch)
6343 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6345 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
6347 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6349 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
6351 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6353 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
6354 (recent_model_sort_drag_data_get):
6355 (search_model_sort_drag_data_get):
6356 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
6357 * gtk/gtkpathbar.c (button_drag_data_get_cb):
6358 Use gtk_selection_data_set_uris() instead of doing it
6359 by hand. (#514890, Christian Persch)
6361 2008-02-12 Michael Natterer <mitch@imendio.com>
6363 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
6364 gtk_get_current_event_time().
6366 2008-02-12 Michael Natterer <mitch@imendio.com>
6368 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
6369 gtk_window_get_key_hash() to get the hash instead of manually
6370 fiddling with quarks and gtk_window_keys_changed(). Also add
6371 g_return_if_fail() to this public function.
6373 2008-02-11 Matthias Clasen <mclasen@redhat.com>
6375 Support keynav in status icons. (#473786, Li Yuan)
6377 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
6379 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
6381 2008-02-11 Kristian Rietveld <kris@imendio.com>
6383 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
6384 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
6385 wrt. link deletion from list; contination of fix for #503569.
6387 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
6389 * gtk/gtkrecentchoosermenu.c:
6390 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
6391 on the placeholder menu item.
6393 * tests/testrecentchoosermenu.c:
6394 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
6395 whether the placeholder menu item gets shown.
6397 2008-02-10 Cody Russell <bratsche@gnome.org>
6399 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
6400 Check the return value of _gtk_file_chooser_get_file_system () for
6401 NULL before passing it to gtk_file_system_path_to_uri ().
6402 (#515667, Francesco Montorsi)
6404 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
6406 * gtk/gtkbuilder.c: Improve the documentation for
6407 gtk_builder_connect_signals. (#514471)
6409 2008-02-10 Matthias Clasen <mclasen@redhat.com>
6411 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
6414 2008-02-08 Cody Russell <bratsche@gnome.org>
6416 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
6417 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
6419 2008-02-08 Richard Hult <richard@imendio.com>
6421 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
6422 delta from the NSEvent for now, generating multiple scroll events
6423 results in a lot of events getting queued up and things get really
6426 2008-02-08 Sven Herzberg <sven@imendio.com>
6428 Adjust the code to match the documentation, examples, "common sense"
6429 and existing applications.
6431 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
6432 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
6435 2008-02-07 Cody Russell <bratsche@gnome.org>
6437 * gdk/win32/gdkevents-win32.c
6438 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
6439 of a block that were causing compile problems on old
6440 compilers. (#515053, reported by Kazuki IWAMOTO)
6442 2008-02-07 Michael Natterer <mitch@imendio.com>
6449 * gtk/gtkmenushell.c
6451 * gtk/gtkoptionmenu.c
6455 * gtk/gtkradiomenuitem.c
6457 * gtk/gtkscrolledwindow.c
6458 * gtk/gtksocket.c: remove g_return_if_fail() from private
6459 functions and virtual function implementations.
6461 2008-02-07 Michael Natterer <mitch@imendio.com>
6464 * gtk/gtkassistant.c
6468 * gtk/gtkcellrenderercombo.c
6471 * gtk/gtkdrawingarea.c
6472 * gtk/gtkentrycompletion.c
6478 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
6479 functions and virtual function implementations.
6481 2008-02-07 Christian Persch <chpe@gnome.org>
6483 * gdk/gdkpixbuf-render.c:
6484 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
6485 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
6486 otherwise there will be random pixel values in the semi-transparent
6487 area of the pixbuf within the mask. Bug #487865.
6489 2008-02-06 Cody Russell <bratsche@gnome.org>
6491 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
6492 otherwise things get wonky when you click on a menu. This fixes
6493 a regression caused in #505928. Thanks to Tor for spotting this
6496 2008-02-06 Michael Natterer <mitch@imendio.com>
6498 * gtk/gtkcontainer.c
6505 * gtk/gtkmenushell.c
6507 * gtk/gtkseparatortoolitem.c
6509 * gtk/gtktextlayout.c
6510 * gtk/gtktoggletoolbutton.c
6511 * gtk/gtktoolbutton.c
6514 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
6517 2008-02-05 Matthias Clasen <mclasen@redhat.com>
6519 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
6520 Allow to store half-open ranges.
6522 2008-02-05 Cody Russell <bratsche@gnome.org>
6524 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
6525 down the stack until we get to a window that is mapped.
6526 Otherwise hiding a window will cause all windows in the app
6527 to be blocked. (#514643)
6529 2008-02-05 Matthias Clasen <mclasen@redhat.com>
6531 * gtk/updateiconcache.c: Ignore images in the toplevel theme
6532 directory, avoiding one source of invalid caches that has been
6533 spotted in the wild.
6535 2008-02-05 Matthias Clasen <mclasen@redhat.com>
6537 * gtk/updateiconcache.c: Fix the previous commit to compile.
6539 2008-02-05 Matthias Clasen <mclasen@redhat.com>
6541 * gtk/updateiconcache.c: Install a printerr handler that
6542 prepends the program name, since gtk-update-icon-cache output
6543 often appears in the middle of other output, e.g. rpm update logs.
6545 2008-02-05 Cody Russell <bratsche@gnome.org>
6547 * gdk/win32/gdkprivate-win32.h
6548 * gdk/win32/gdkevents-win32.c
6549 * gdk/win32/gdkwindow-win32.c
6550 * gdk/win32/gdkwindow-win32.h
6551 * gdk/win32/gdkwin32.h:
6552 Modal window rework. (#455627 and #511111)
6554 2008-02-04 Michael Natterer <mitch@imendio.com>
6556 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
6557 g_return_if_fail() if the cell is not part of the combo instead of
6558 crashing in the next line.
6560 2008-02-01 Cody Russell <cody@jhu.edu>
6562 * modules/engines/ms-windows/xp_theme.[ch]
6563 * modules/engines/ms-windows/xp_theme_defs.h
6564 * modules/engines/ms-windows/msw_rc_style.c
6565 * modules/engines/ms-windows/msw_theme_main.c
6566 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
6567 attempted to stylize more like the rest of the gtk+ stack's code.
6569 2008-02-01 Michael Natterer <mitch@imendio.com>
6571 * tests/testgtk.c: initialize GdkColor structs to fix warning
6572 about uninitialized "pixel" member.
6574 * tests/testactions.c: connect the toolbar_style() callback so it
6575 does something useful and doesn't warn about being defined but not
6578 2008-01-31 Cody Russell <bratsche@gnome.org>
6580 * gdk/win32/gdkevents-win32.c:
6581 Refactored some of the window hiding/showing code from
6582 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
6583 under WM_ACTIVATE was causing the application to go into
6584 a weird state when the user right-clicked on the taskbar
6585 entry of a window that was minimized. (#505928)
6587 2008-01-31 Cody Russell <bratsche@gnome.org>
6589 * gtk/gtkpaned.c (gtk_paned_set_position):
6590 Change queue_resize() to queue_draw(), and add a check for
6591 child2 != NULL in case someone calls this before there is
6592 a child packed in there. (#144269 again)
6594 2008-01-31 Sven Neumann <sven@gimp.org>
6596 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
6597 applied patch from Denis Oliver Kropp <dok@directfb.org>.
6599 2008-01-31 Sven Neumann <sven@gimp.org>
6601 * gdk/directfb/gdkdisplay-directfb.c
6602 * gdk/directfb/gdkdrawable-directfb.c
6603 * gdk/directfb/gdkprivate-directfb.h
6604 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
6605 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
6607 2008-01-31 Richard Hult <richard@imendio.com>
6609 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
6610 issues with undecorated windows. Revert the change done on
6611 2008-01-25 and fix it by using the view's bounds instead. The
6612 bounds will always be up to date when setting up the tracking
6613 rect, so this should be more robust.
6615 2008-01-30 Sven Neumann <sven@gimp.org>
6617 * gdk/directfb/gdkdrawable-directfb.c
6618 * gdk/directfb/gdkwindow-directfb.c
6619 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
6620 Oliver Kropp <dok@directfb.org>. Adds debug messages using
6621 DirectFB's debugging system
6623 2008-01-30 Sven Neumann <sven@gimp.org>
6625 * gdk/directfb/gdkdirectfb.h
6626 * gdk/directfb/gdkdisplay-directfb.c
6627 * gdk/directfb/gdkdrawable-directfb.c
6628 * gdk/directfb/gdkim-directfb.c
6629 * gdk/directfb/gdkimage-directfb.c
6630 * gdk/directfb/gdkinput-directfb.c
6631 * gdk/directfb/gdkmain-directfb.c
6632 * gdk/directfb/gdkpixmap-directfb.c
6633 * gdk/directfb/gdktestutils-directfb.c
6634 * gdk/directfb/gdkvisual-directfb.c
6635 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
6636 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
6637 errors and has some cleanups.
6639 2008-01-30 Michael Natterer <mitch@imendio.com>
6641 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
6642 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
6645 * gtk/updateiconcache.c (add_string): cast const gchar* to
6646 gpointer when inserting in a GHashTable.
6648 * tests/testcalendar.c (calendar_detail_cb): remove const from
6649 return value since it's a newly allocated string.
6651 (calendar_update_details): free the detail.
6653 2008-01-29 Johan Dahlin <johan@gnome.org>
6655 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
6657 * demos/gtk-demo/demo.ui:
6658 Move the about dialog to the glade file, add accessible tags
6659 examples to the markup file.
6661 2008-01-28 Paolo Borelli <pborelli@katamail.com>
6663 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
6664 layout, fixes #512375.
6666 2008-01-28 Michael Natterer <mitch@imendio.com>
6668 * gtk/gtktextchild.c
6669 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
6671 2008-01-28 Michael Natterer <mitch@imendio.com>
6673 * demos/gtk-demo/builder.c (about_activate): use
6674 gtk_about_dialog_set_program_name() instead of the deprecated
6677 2008-01-28 Michael Natterer <mitch@imendio.com>
6679 * gtk/gtktextchild.c
6680 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
6683 2008-01-26 Johan Dahlin <johan@gnome.org>
6685 * tests/Makefile.am:
6686 * tests/textbuffertest.c:
6687 Rename textbuffer test and port it to the new test framework
6689 2008-01-25 Johan Dahlin <johan@gnome.org>
6691 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
6692 unsetting of GTK_MODULES.
6694 * gtk/gtk-builder-convert
6695 (GtkBuilderConverter._convert_adjustment): Handle the case where
6696 there is no child text node.
6697 (GtkBuilderConverter): Allow xml comments in most places.
6699 2008-01-25 Johan Dahlin <johan@gnome.org>
6701 * gtk/gtk-builder-convert
6702 (GtkBuilderConverter._convert_combobox_items): Remove the items
6703 even if there are no items set.
6704 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
6705 signals and tooltips for all menu items subclasses and
6706 GtkImageMenuItem:label.
6707 Makes it possible to fully convert and run Jokosher.glade.
6709 2008-01-25 Johan Dahlin <johan@gnome.org>
6711 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
6712 (gtk_widget_buildable_get_internal_child), (free_action),
6713 (free_relation), (gtk_widget_buildable_parser_finished),
6714 (accessibility_start_element),
6715 (gtk_widget_buildable_custom_tag_start),
6716 (gtk_widget_buildable_custom_finished):
6717 Implement accessible support, fixes #454653.
6719 * gtk/gtk-builder-convert:
6720 Add support for migrating old glade files
6722 * tests/buildertest.c: (test_widget), (test_file):
6723 Add accessible tests and imprve the test_file function to display
6724 toplevels and run dialogs.
6726 2008-01-25 Richard Hult <richard@imendio.com>
6728 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
6729 didn't change, fixes focus event issues for undecorated windows.
6731 2008-01-25 Richard Hult <richard@imendio.com>
6733 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
6734 const and remove unused variables).
6736 2008-01-25 Michael Natterer <mitch@imendio.com>
6739 * gtk/gtkcellrenderer.h
6740 * gtk/gtkimcontext.h
6744 * gtk/gtktreeprivate.h
6745 * gtk/gtktreeviewcolumn.h
6746 * gtk/gtkwidget.h: add const to constant structs which are passed
6747 into GTK+. Also add some forgotten const for const strings.
6751 * gtk/gtkcellrenderer.c
6752 * gtk/gtkimcontext.c
6757 * gtk/gtktreeviewcolumn.c
6758 * gtk/gtkwidget.c: changed accordingly.
6760 2008-01-25 Sven Herzberg <sven@imendio.com>
6762 Reviewed by Johan Dahlin.
6764 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
6765 this is called with something that's not a GtkUIManager
6767 2008-01-24 Johan Dahlin <johan@gnome.org>
6769 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
6770 Chain up to parent, so widgets can have internal children.
6772 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
6774 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
6777 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
6779 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
6781 Use pango_layout_set_height() for calendar details (#506049).
6783 * configure.in: Require 1.19.3 for pango_layout_set_height().
6784 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
6786 2008-01-18 Johan Dahlin <johan@gnome.org>
6788 * gtk/gtk-builder-convert (get_property_node): New method
6789 (GtkBuilderConverter._create_object): Conditionally take a node as
6790 a property value, so don't lose translate/context attributes if they
6792 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
6793 property values instead of strings.
6794 (#509153, Erik van Pienbroek)
6796 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
6798 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
6800 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
6801 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
6802 * tests/testcalendar.c: Duplicate calendar details before returning.
6804 2008-01-16 Christian Persch <chpe@gnome.org>
6806 * gtk/gtkwidget.c: Store the event mask and extension event mode
6807 directly in the gobject data pointer, instead of in an allocated
6810 2008-01-16 Michael Natterer <mitch@imendio.com>
6812 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
6813 gdk-pixbuf now uses gio functions.
6815 2008-01-16 Matthias Clasen <mclasen@redhat.com>
6817 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
6818 the notify::model signal. (#509819, David Zeuthen)
6820 2008-01-15 Michael Natterer <mitch@imendio.com>
6828 * gdk/gdkwindow.h: made more struct pointer and array parameters
6829 const. GDK should now be constified as far as possible without
6830 breaking source compatibility. Includes some minor cleanup like
6831 indentation and s/nfoo/n_foo/ (bug #508544).
6837 * gdk/gdkregion-generic.c
6839 * gdk/directfb/gdkdisplay-directfb.c
6840 * gdk/directfb/gdkwindow-directfb.c
6841 * gdk/quartz/gdkdisplay-quartz.c
6842 * gdk/quartz/gdkwindow-quartz.c
6843 * gdk/win32/gdkdisplay-win32.c
6844 * gdk/win32/gdkwindow-win32.c
6845 * gdk/x11/gdkdisplay-x11.c
6846 * gdk/x11/gdkwindow-x11.c: changed accordingly.
6848 2008-01-14 Michael Natterer <mitch@imendio.com>
6850 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
6853 (gtk_rc_parse_any): change variables to const and introduce
6854 another local variable to fix const warnings.
6856 2008-01-14 Michael Natterer <mitch@imendio.com>
6858 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
6859 of gdk_screen_get_font_options() to gpointer to get rid of const
6862 2008-01-14 Michael Natterer <mitch@imendio.com>
6864 * tests/testdnd.c (source_drag_data_get): fix another call to
6865 gtk_selection_data_set().
6867 2008-01-14 Michael Natterer <mitch@imendio.com>
6869 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
6872 2008-01-14 Michael Natterer <mitch@imendio.com>
6874 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
6876 2008-01-14 Michael Natterer <mitch@imendio.com>
6878 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
6879 "uris" to guchar* when passing it to gtk_selection_data_set().
6881 2008-01-14 Michael Natterer <mitch@imendio.com>
6887 * gdk/gdkinternals.h
6889 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
6890 parameters const (bug #508544).
6895 * gdk/gdkrectangle.c
6896 * gdk/gdkpolyreg-generic.c
6897 * gdk/gdkregion-generic.c
6898 * gdk/directfb/gdkcolor-directfb.c
6899 * gdk/directfb/gdkgc-directfb.c
6900 * gdk/directfb/gdkgeometry-directfb.c
6901 * gdk/directfb/gdkwindow-directfb.c
6902 * gdk/quartz/gdkcolor-quartz.c
6903 * gdk/quartz/gdkgc-quartz.c
6904 * gdk/quartz/gdkgeometry-quartz.c
6905 * gdk/quartz/gdkwindow-quartz.c
6906 * gdk/win32/gdkcolor-win32.c
6907 * gdk/win32/gdkgc-win32.c
6908 * gdk/win32/gdkgeometry-win32.c
6909 * gdk/win32/gdkprivate-win32.h
6910 * gdk/win32/gdkwindow-win32.c
6911 * gdk/x11/gdkcolor-x11.c
6912 * gdk/x11/gdkgc-x11.c
6913 * gdk/x11/gdkgeometry-x11.c
6914 * gdk/x11/gdkmain-x11.c
6915 * gdk/x11/gdkprivate-x11.h
6916 * gdk/x11/gdkwindow-x11.c: changed accordingly.
6918 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
6921 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
6923 Explain name choice for gtk_tool_item_toolbar_reconfigured.
6925 * gtk/gtktoolitem.c: Add comment expaining name choice for
6926 gtk_tool_item_toolbar_reconfigured.
6928 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
6930 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
6931 implementations to notify its children, when some aspect of their
6932 configuration changed (#509042).
6934 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
6935 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
6936 Rename _gtk_tool_item_toolbar_reconfigured.
6938 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
6940 Include <gtk/gtktoolshell.h> from gtk.h.
6942 * gtk/gtk.h: Add gtktoolshell.h
6944 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
6946 Print angle brackets arround e-mail addresses in the about dialog
6947 (#409520, Mariano Suárez-Alvarez).
6949 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
6951 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
6953 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
6954 special casing so test widgets are always queues for destruction
6957 * gtk/tests/testing.c: removed bits left-over from testing without
6960 2008-01-10 Tor Lillqvist <tml@novell.com>
6962 * modules/other/gail/libgail-util/Makefile.am
6963 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
6966 2008-01-10 Tor Lillqvist <tml@novell.com>
6968 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
6969 uses gtkprintunixdialog API.
6971 2008-01-10 Tor Lillqvist <tml@novell.com>
6973 * gdk/win32/gdkdisplay-win32.c
6974 * gdk/win32/gdkglobals-win32.c
6975 * gdk/win32/gdkprivate-win32.h
6976 * gdk/win32/gdkscreen-win32.c
6977 * gdk/win32/gdkwindow-win32.c: Implement
6978 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
6979 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
6982 2008-01-10 Cody Russell <bratsche@gnome.org>
6984 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
6985 Properly ref/unref windows and parents. (#506769)
6987 2008-01-10 Richard Hult <richard@imendio.com>
6989 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
6990 (gdk_window_hide), (move_resize_window_internal): Move the
6991 tracking rect workaround from here...
6993 * gdk/quartz/GdkQuartzWindow.c:
6994 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
6995 movements during showing/hiding operations. Fixes bug #508516.
6997 2008-01-10 Michael Natterer <mitch@imendio.com>
6999 * gdk/directfb/gdkscreen-directfb.c
7000 (gdk_screen_get_monitor_width_mm)
7001 (gdk_screen_get_monitor_height_mm)
7002 (gdk_screen_get_monitor_plug_name): add these functions to make
7005 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
7007 * gtk/gtkrecentchoosermenu.c:
7008 (idle_populate_func), (idle_populate_clean_up): Fix possible
7009 recursion by resetting the idle source id. (#507605, William
7012 2008-01-10 Kristian Rietveld <kris@imendio.com>
7014 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
7015 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
7016 avoid valgrind warnings. (#507751, patch from Christian Persch).
7018 2008-01-10 Kristian Rietveld <kris@imendio.com>
7020 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
7021 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
7023 2008-01-10 Kristian Rietveld <kris@imendio.com>
7025 Fix #477175, reported by Juri Pakaste.
7027 * gtk/gtktreeprivate.h:
7028 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
7029 tree_view->priv->dy here directly, just calculate the new value
7030 and set it on the adjustment,
7031 (gtk_tree_view_adjustment_changed): add guards to not call
7032 gtk_tree_view_dy_to_top_row() if we are currently in
7033 gtk_tree_view_top_row_to_dy(),
7034 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
7035 coordinates, not tree coordinates,
7036 (gtk_tree_view_real_start_editing): add cast.
7038 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
7039 position of the editable in the "create new row and start editing"
7042 2008-01-09 Michael Natterer <mitch@imendio.com>
7044 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
7047 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
7048 * gtk/gtkicontheme.c (theme_list_contexts)
7049 (gtk_icon_theme_lookup_icon)
7050 * gtk/gtkimcontextsimple.c (beep_window)
7051 * gtk/gtklinkbutton.c (set_link_color)
7052 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
7055 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
7056 variable and add const to another to fix a warning.
7058 2008-01-07 Matthias Clasen <mclasen@redhat.com>
7060 * gtk/gtkassistant.c (remove_page): Be more robust when removing
7061 the current page. (#499951, Andreas Sandberg)
7063 2008-01-06 Johan Dahlin <johan@gnome.org>
7065 * gtk/gtkspinbutton.c: Declare value in the example code for
7066 GtkSpinButton::output, as pointed out by Anders Carlsson.
7068 2008-01-06 Christian Persch <chpe@gnome.org>
7070 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
7071 and remove an obsolete event box. Bug #506760.
7073 2008-01-06 Johan Dahlin <johan@gnome.org>
7075 * tests/buildertest.c (test_domain):
7076 Update, GtkBuilder::translation-domain is no longer set
7078 * gtk/gtkbuilderparser.c (parse_interface):
7079 Allow domains to be overridden in <interface>'s if a translation-domain
7080 is set in the builder.
7081 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
7082 of the builder, make the domain set in the <interface> apply only to strings
7084 (#496831, Ryan Lortie)
7086 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
7089 * gtk/gtktreestore.c (tree_model_end_element):
7090 Remove an unused variable
7092 2008-01-06 Matthias Clasen <mclasen@redhat.com>
7094 * gtk/gtkspinbutton.c: Document the ::output signal and
7095 add an example. (#507566, example by Owen Taylor)
7097 2008-01-06 Johan Dahlin <johan@gnome.org>
7099 * gtk/gtkcellrenderercombo.c:
7100 (gtk_cell_renderer_combo_get_property),
7101 (gtk_cell_renderer_combo_set_property):
7102 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
7103 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
7104 * gtk/gtknotebook.c: (gtk_notebook_set_property):
7105 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
7106 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
7107 (gtk_text_buffer_get_property):
7108 * gtk/gtktextview.c: (gtk_text_view_set_property):
7109 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
7110 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
7111 (gtk_tool_button_get_property):
7112 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
7113 (gtk_tool_item_get_property):
7114 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
7115 * gtk/gtkwidget.c: (gtk_widget_set_property):
7116 * gtk/gtkwindow.c: (gtk_window_set_property):
7117 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
7120 2008-01-06 Johan Dahlin <johan@gnome.org>
7122 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
7123 Make sure that --root works for toplevel widgets.
7124 (#491847, Phil Lello)
7126 2008-01-05 Johan Dahlin <johan@gnome.org>
7128 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
7129 to make sure that make test-report works properly
7131 2008-01-05 Christian Persch <chpe@gnome.org>
7133 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
7134 GType as integer through gpointer. Bug #507395.
7136 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
7138 Avoid some compiler warnings (#507000).
7140 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
7141 for value argument of _gtk_builder_flags_from_string.
7142 * gtk/gtkwidget.c: Don't alias the child pointer passed
7143 to gdk_window_get_user_data.
7145 2008-01-04 Michael Natterer <mitch@imendio.com>
7147 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
7148 to set the time in the returned GdkTimeCoords.
7150 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
7152 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
7153 correct comparison function (kudos to Christian Persch and
7154 Claudio Saavedra for spotting this)
7156 * gtk/gtkrecentchooserutils.c:
7157 (sort_recent_items_mru),
7158 (sort_recent_items_lru): Ditto as above.
7160 2008-01-03 Johan Dahlin <johan@gnome.org>
7162 * tests/defaultvaluetest.c: Make it pass again.
7164 2008-01-02 Johan Dahlin <johan@gnome.org>
7166 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
7167 make it pass on Ubuntu.
7168 (main): Use gtk_test_list_all_types () instead of providing our
7170 And it no longer passes.
7172 2007-12-30 Johannes Schmid <jhs@gnome.org>
7174 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
7175 Also reorder menu when reordering tabs by drag & drop
7178 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
7179 Add a menu to one of the notebooks to have a test-case for
7180 the change mentioned above.
7182 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
7184 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
7186 2007-12-31 Christian Persch <chpe@gnome.org>
7188 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
7189 Plug a mem leak. Bug #506107.
7191 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7193 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
7194 icon cache api change. (#506135, Kazuki Iwamoto)
7196 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7198 Consider "wide-separators" and "separator-height" style properties:
7199 The separator is drawn using gtk_paint_box instead of cairo, when
7200 "wide-separators" is set. Also do not highlight details for previous
7201 or next month, if their day matches the selected day. (#339540)
7203 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
7204 in gtk_calendar_size_request and calendar_paint_day
7205 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
7206 for selected detail separators in GtkCalendar.
7208 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7210 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
7212 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
7213 a local variable instead in gtk_calendar_size_request.
7215 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7217 * tests/defaultvaluetest.c: Add enough exclusions to make the
7220 2007-12-28 Christian Persch <chpe@gnome.org>
7222 * modules/other/gail/Makefile.am:
7223 * modules/other/gail/tests/*:
7224 * configure.in: Merge tests from standalone gail. Bug #504568.
7226 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7228 * gtk/gtkclipboard.c: Make the finalizer work when display is
7231 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7233 Draw bottom shadow of GtkCalender headings. (#506113)
7235 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
7237 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7239 * gtk/gtkcalendar.c: Document the initial values of year/month/day
7242 2007-12-28 Christian Persch <chpe@gnome.org>
7244 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
7245 a mem leak. Bug #506096.
7247 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7250 * gtk/gtktreeview.c:
7251 * gtk/gtkprintoperation.c:
7252 * gtk/gtkprogressbar.c:
7253 * gtk/gtkmessagedialog.c:
7254 * gtk/gtknotebook.c:
7258 * gtk/gtklinkbutton.c:
7259 * gtk/gtkmenu.c: More default property value corrections.
7261 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7263 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
7264 accel_group unless it is set.
7266 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7268 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
7270 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7272 * gtk/gtkhandlebox.c: Fix the default values of shadow and
7273 shadow-type properties.
7275 * gtk/gtkfontsel.c: Fix the default values of several properties.
7277 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
7280 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
7282 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
7285 2007-12-28 Johan Dahlin <johan@gnome.org>
7287 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
7288 (gtk_dialog_buildable_custom_tag_start): Chain up.
7289 This makes it possible to have accelerators tags on GtkDialog
7292 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7294 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
7295 are shown within the widget, or just as tooltip. (#339540)
7297 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
7298 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
7299 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
7302 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7304 Try more decent appearance of calendar details separator. (#339540)
7306 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
7307 and make it short by one pixel on each side.
7309 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7311 Apply trivial code-style changes from attachement 101101. (#339540)
7313 * tests/testcalendar.c: Some updates to current GTK+ code-style.
7315 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7317 Restructure testcalendar for testing calendar details. (#339540)
7319 * tests/testcalendar.c: Push code arround for testing calendar details.
7321 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7323 Implement GtkTooltip API for calendar details. (#339540)
7325 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
7326 Remember detail overflows in calendar_paint_day to show the tooltip
7327 only when neccessary.
7329 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7331 Without setting "detail-width-chars" and "detail-height-rows"
7332 properties not only the widget has to be redrawn on certain
7333 conditions, but also its size must be recalculated. (#339540)
7335 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
7336 that function instead of gtk_widget_queue_draw.
7338 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7340 Consider details for size-request and expose-event. (#339540)
7342 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
7343 is_color_attribute functions. Change gtk_calendar_size_request
7344 and calendar_paint_day to consider and show calender details.
7346 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7348 * gtk/gtkcombobox.c: Introduce local priv variables to
7351 2007-12-27 Matthias Clasen <mclasen@redhat.com>
7353 * gtk/gtkcombobox.c: Correct the default value for the
7354 tearoff-title property.
7356 * gtk/gtkcellrenderertext.c: Fix the default value for the
7357 wrap-mode and font-scale properties.
7359 * gtk/gtkaspectratio.c: Fix the default value for the ratio
7362 2007-12-27 Matthias Clasen <mclasen@redhat.com>
7364 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
7365 defines. (#505708, MINAMI Hirokazu)
7367 2007-12-27 Christian Persch <chpe@gnome.org>
7369 * Makefile.am: Install gail.pc. Bug #505859.
7371 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
7373 Add infrastructure for GtkCalendar details. (#339540)
7375 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
7376 Add "detail-width-chars" and "detail-height-rows" properties,
7377 and gtk_calendar_set_detail_func function.
7379 2007-12-27 Xan Lopez <xan@gnome.org>
7382 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
7384 Add gtk_border_new to avoid memory allocator confusions when using
7385 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
7387 2007-12-27 Christian Persch <chpe@gnome.org>
7389 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
7390 bug #504886 not to read unitialised memory.
7392 2007-12-26 Xan Lopez <xan@gnome.org>
7394 * gtk/gtkstatusbar.c (has_extra_children): take into account the
7395 modification of the internal frame contents to decide if we have
7396 extra children. (#415677)
7398 2007-12-22 Christian Persch <chpe@gnome.org>
7400 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
7402 2007-12-25 Christian Persch <chpe@gnome.org>
7404 * modules/other/gail/gailwindow.c: (gail_window_initialize):
7405 Initialise |widget|. Fixes a buglet introduced by the commit from bug
7408 2007-12-25 Christian Persch <chpe@gnome.org>
7410 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
7412 2007-12-25 Christian Persch <chpe@gnome.org>
7414 * modules/other/gail/*.[ch]: Remove relocations from the atk
7415 factories. Remove unused gail_foo_new() functions. Fix object
7416 instantiation to be derivation safe by moving initialisation code
7417 from the removed gail_foo_new() functions to the
7418 AtkObjectClass::initialize implementation. Bug #505226.
7420 2007-12-24 Matthias Clasen <mclasen@redhat.com>
7422 * modules/other/gail/gailentry.c:
7423 * modules/other/gail/gailimage.c:
7424 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
7425 uses of clipboards and settings. (#504722, Christian Persch)
7427 2007-12-24 Matthias Clasen <mclasen@redhat.com>
7429 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
7432 2007-12-24 Matthias Clasen <mclasen@redhat.com>
7434 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
7435 use the time and button information from the event. (#504901,
7438 2007-12-23 Cody Russell <bratsche@gnome.org>
7440 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
7441 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
7442 Fixes a regression caused by #164537 patch where transient
7443 windows that are hidden get shown (incorrectly) when their
7444 parents are minimized. (#504984)
7446 2007-12-22 Christian Persch <chpe@gnome.org>
7448 * modules/other/gail/gailcell.c:
7449 * modules/other/gail/gailcontainercell.c:
7450 * modules/other/gail/gailexpander.c:
7451 * modules/other/gail/gailtextcell.c:
7452 * modules/other/gail/gailtextview.c:
7453 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
7455 2007-12-22 Christian Persch <chpe@gnome.org>
7457 * modules/other/gail/*.c: Include config.h. Bug #504720.
7459 2007-12-22 Christian Persch <chpe@gnome.org>
7461 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
7462 handwritten get_type functions. Bug #504661.
7464 2007-12-23 Xan Lopez <xan@gnome.org>
7466 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
7467 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
7469 Patch by Sadrul Habib Chowdhury (#504804)
7471 2007-12-22 Christian Persch <chpe@gnome.org>
7473 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
7474 #504645, patch by Li Yuan.
7476 2007-12-22 Christian Persch <chpe@gnome.org>
7478 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
7480 2007-12-22 Christian Persch <chpe@gnome.org>
7482 * modules/other/gail/gail.c:
7483 * modules/other/gail/gailbutton.c:
7484 * modules/other/gail/gailcell.c:
7485 * modules/other/gail/gailcombo.c:
7486 * modules/other/gail/gailcombo.h:
7487 * modules/other/gail/gailcombobox.c:
7488 * modules/other/gail/gailentry.c:
7489 * modules/other/gail/gailexpander.c:
7490 * modules/other/gail/gailmenuitem.c:
7491 * modules/other/gail/gailnotebook.c:
7492 * modules/other/gail/gailnotebookpage.c:
7493 * modules/other/gail/gailnotebookpage.h:
7494 * modules/other/gail/gailoptionmenu.c:
7495 * modules/other/gail/gailrange.c:
7496 * modules/other/gail/gailtextview.c:
7497 * modules/other/gail/gailtreeview.c:
7498 * modules/other/gail/gailtreeview.h:
7499 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
7502 2007-12-22 Matthias Clasen <mclasen@redhat.com>
7504 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
7507 2007-12-21 Richard Hult <richard@imendio.com>
7509 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
7510 Plug leak of destroyed subviews, fixes bug #504753.
7512 2007-12-20 Johan Dahlin <johan@gnome.org>
7514 * tests/Makefile.am (TEST_PROGS):
7515 * tests/defaultvaluetest.c: Add a test for default values,
7516 based on program by Christan Perch
7518 2007-12-20 Johan Dahlin <johan@gnome.org>
7520 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
7521 Refactor to avoid some duplication.
7522 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
7523 Fixes #504749, Yuri Pimenov
7525 2007-12-20 Kristian Rietveld <kris@imendio.com>
7527 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
7528 the build work again on systems without xrandr 1.2.
7530 2007-12-20 Christian Persch <chpe@gnome.org>
7533 * modules/other/gail/libgail-util/Makefile.am:
7534 Keep the same libtool version as the standalone libgail-util had.
7537 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
7539 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
7541 2007-12-20 Alexander Larsson <alexl@redhat.com>
7543 * gdk/x11/gdkapplaunchcontext-x11.c:
7544 Update for gio API changes
7546 2007-12-20 Richard Hult <richard@imendio.com>
7548 * gdk/quartz/GdkQuartzWindow.c:
7549 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
7550 processing events after changing the size.
7552 2007-12-20 Richard Hult <richard@imendio.com>
7554 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
7555 Add stub for quartz to fix build.
7557 2007-12-20 Christian Persch <chpe@gnome.org>
7559 * modules/other/gail/Makefile.am:
7560 * modules/other/gail/gailimage.c: (gail_image_class_init),
7561 (gail_image_init), (elide_underscores), (gail_image_get_name),
7562 (atk_image_interface_init), (gail_image_finalize):
7563 * modules/other/gail/gailimage.h:
7564 R modules/other/gail/gailintl.h:
7565 * po/POTFILES.skip: Use the stock item's label as the name of the
7566 accessible in gailimage.c. Bug #504246.
7568 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
7570 Avoid some compiler warnings and remove obsolete code. (#339540)
7572 * gtk/gtkcalendar.c: Change week and year variable in
7573 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
7574 0" block from calendar_paint_day: The feature in question is handled
7575 few lines above. Cast data returned by gtk_selection_data_get_text()
7576 to (gchar*) in gtk_calendar_drag_data_received.
7578 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
7580 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
7582 2007-12-19 Johan Dahlin <johan@gnome.org>
7584 * tests/buildertest.c (test_object_properties):
7585 Add another call to gtk_builder_add_string after using
7586 delayed properties, as reported in #504393 but already
7589 2007-12-18 Christian Persch <chpe@gnome.org>
7592 * docs/reference/Makefile.am:
7593 * docs/reference/libgail-util/*:
7594 * gail-uninstalled.pc.in:
7596 * modules/Makefile.am:
7597 * modules/other/Makefile.am:
7598 * modules/other/gail/*:
7599 * modules/other/gail/libgail-util/*:
7600 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
7602 2007-12-17 Matthias Clasen <mclasen@redhat.com>
7604 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
7605 * gdk/win32/gdkproperty-win32.c:
7606 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
7608 * gtk/gtkimmodule.[hc]:
7609 * gtk/gtkimmulticontext.[hc]: When determining the default context,
7610 look at the gtk-im-module setting, and listen for changes to the
7611 setting. (#502446, Akira Tagoh)
7613 2007-12-17 Kristian Rietveld <kris@imendio.com>
7615 * gtk/gtktooltip.c (gtk_tooltip_finalize),
7616 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
7617 to NULL as soon as it's destroyed. (#496546, patch from
7620 2007-12-17 Kristian Rietveld <kris@imendio.com>
7622 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
7623 always determine what arrow to show if show_sort_indicator is true.
7624 (#352738, Chris Vine).
7626 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
7628 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
7631 * gtk/gtkpaned.c: Call gtk_container_forall instead of
7632 gtk_container_foreach in get_child_panes.
7634 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
7636 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
7638 Plug leak: When reordering the info in the list the old node is
7639 removed but not freed. (#503569)
7641 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
7643 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
7644 Use u32 instead of __u32 and u8 instead of __u8 as the other types
7645 are deprecated since DirectFB 1.0.0. If compiling with an older
7646 version define the new type name to the old types. Fixes bug #503190.
7648 2007-12-14 Ray Strode <rstrode@redhat.com>
7650 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
7651 instead of g_signal_connect_after (..., "realize", ...) as an
7652 alternative to gtk_widget_realize () (bug 503537).
7654 2007-12-14 Michael Natterer <mitch@imendio.com>
7656 * gdk/gdkinternals.h
7657 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
7660 * gdk/gdkapplaunchcontext.c
7661 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
7662 header already includes everything now.
7664 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
7666 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
7667 next stable release shall be 2.16, not 2.14 - even if disagree.
7669 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
7671 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
7673 Change GtkToolItem to retrieve its properties from GtkToolShell
7674 interface, instead of relying on being child of a GtkToolbar.
7677 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
7678 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
7679 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
7680 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
7681 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
7682 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
7683 Take section docs from template file and update them for GtkToolShell.
7684 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
7685 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
7687 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
7689 Extract loading of GtkPageSetup and GtkPrintSettings from their
7690 *_new_*() functions and move that code into separate
7691 *_load_*() functions (#475565).
7693 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
7694 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
7695 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
7696 Change the matching *_new_*() functions to use those functions.
7698 2007-12-14 Matthias Clasen <mclasen@redhat.com>
7701 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
7703 2007-12-14 Kristian Rietveld <kris@imendio.com>
7705 * gtk/tests/liststore.c:
7706 * gtk/tests/treestore.c: added tests for insertion functions.
7708 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
7710 * Add RandR 1.2 support
7712 - New monitors_changed signal - New API to get width/height of
7713 monitors, and the name of the plug
7715 2007-12-13 Kristian Rietveld <kris@imendio.com>
7717 * gtk/tests/liststore.c:
7718 * gtk/tests/treestore.c: test the move and swap functions on a
7719 store with only one node.
7721 2007-12-13 Kristian Rietveld <kris@imendio.com>
7723 * gtk/gtktestutils.c (gtk_test_init): add a call to
7726 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
7729 2007-12-13 Kristian Rietveld <kris@imendio.com>
7731 * gtk/tests/liststore.c:
7732 * gtk/tests/treestore.c: start composing tests for the list and tree
7735 * gtk/tests/treeview-scrolling.c: added automated tests for
7736 GtkTreeView's scrolling "subsystem".
7738 * gtk/tests/Makefile.am: updated; added new test programs.
7740 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
7742 Make the code compile again after the GdkAppLaunchContext changes.
7744 * configure.in: Add gio-2.0 to GDK_PACKAGES.
7745 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
7747 2007-12-12 Matthias Clasen <mclasen@redhat.com>
7749 * gdk/gdkapplaunchcontext.c: Add docs
7751 2007-12-12 Matthias Clasen <mclasen@redhat.com>
7753 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
7754 in gdk, providing startup notification. (#503203)
7756 * gdk/x11/gdkapplaunchcontext-x11.c:
7757 * gdk/win32/gdkapplaunchcontext-win32.c:
7758 * gdk/quartz/gdkapplaunchcontext-quartz.c:
7759 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
7760 parts. All but X11 are just empty stubs for now.
7763 * gdk/gdkinternals.h:
7765 * gdk/x11/Makefile.am:
7766 * gdk/win32/Makefile.am:
7767 * gdk/quartz/Makefile.am:
7768 * gdk/directfb/Makefile.am: Necessary glue.
7770 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
7772 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
7774 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
7776 * gdk/directfb/gdktestutils-directfb.c:
7777 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
7778 which adds testing functions to the DirectFB backend.
7780 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
7782 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
7783 Ciccani which fixes the mixing of gdk and cairo rendering.
7785 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
7787 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
7788 on "drag-motion" handlers. Clearify documentation for
7791 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
7793 * buildertest.c: made unnecessarily exported symbols static.
7794 switched g_return_if_fail() statements in tests to assertions.
7795 special cased currently failing Widget/accesibility test to
7796 run only for g_test_thorough(), so it doesn't break make check.
7797 some coding style fixes.
7799 * Makefile.am: added buildertest to TEST_PROGS.
7801 2007-12-11 Stefan Kost <ensonic@users.sf.net>
7803 * docs/tutorial/gtk-tut.sgml:
7804 Use gtk_widget_get_parent_window() instead of widget->parent->window.
7806 2007-12-10 Richard Hult <richard@imendio.com>
7808 * gdk/quartz/Makefile.am:
7809 * gdk/quartz/gdkquartz.h:
7810 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
7811 header (bug #405915). Also add a getter for the toplevel nswindow.
7813 2007-12-10 Richard Hult <richard@imendio.com>
7815 * gdk/quartz/gdkdrawable-quartz.c:
7816 (gdk_quartz_drawable_get_context),
7817 (gdk_quartz_drawable_release_context):
7818 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
7819 (gdk_event_check), (gdk_event_dispatch), (poll_func):
7820 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
7821 used for each drawing context and in prepare, dispatch and poll
7822 with one that exists across each main loop iteration. Fixes leaks
7823 on leopard and protects against future leaks introduce when the
7824 underlying system changes again (bug #492977).
7826 2007-12-10 Richard Hult <richard@imendio.com>
7828 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
7829 Fix the check for no changes to position and size.
7831 2007-12-10 Richard Hult <richard@imendio.com>
7833 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
7834 sized areas at (0, 0), patch from Paul Davis.
7836 2007-12-10 Richard Hult <richard@imendio.com>
7838 * gdk/quartz/gdkprivate-quartz.h:
7839 * gdk/quartz/gdkeventloop-quartz.c:
7840 (_gdk_quartz_event_loop_get_pending),
7841 (_gdk_quartz_event_loop_check_pending),
7842 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
7843 (gdk_event_check), (gdk_event_dispatch):
7844 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
7845 (_gdk_events_queue): Fix a bug where we could end up trying to
7846 handle the same event more than once. Based on patch from Paul
7849 2007-12-10 Tor Lillqvist <tml@novell.com>
7851 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
7854 2007-12-10 Matthias Clasen <mclasen@redhat.com>
7856 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
7857 to avoid further fallout from the fix for bug 388321.
7859 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
7861 * gdk/directfb/gdkgc-directfb.c:
7862 * gdk/directfb/gdkdrawable-directfb.c:
7863 * gdk/directfb/gdkdirectfb.h:
7864 * gdk/directfb/gdkwindow-directfb.c:
7865 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
7866 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
7867 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
7868 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
7869 which are expected to improve the performance of the DirectFB backend.
7870 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
7872 2007-12-07 Matthias Clasen <mclasen@redhat.com>
7874 * gtk/gtkcontainer.c: Correct the documentation of child
7875 property getter arguments. (#501992, David Brigada)
7877 2007-12-07 Matthias Clasen <mclasen@redhat.com>
7879 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
7880 leak pixbufs. (#502250, Yevgen Muntyan)
7882 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
7884 * gtk/gtkprintunixdialog.c:
7885 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
7886 Print and Page Setup dialogs (#502202).
7888 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
7890 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
7891 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
7892 of XVFB_START, since it's the GTESTER invokation that needs this.
7894 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
7896 * gdk-pixbuf/gdk-pixbuf.symbols:
7898 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
7899 positives in abicheck.sh
7901 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
7903 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
7904 GDK events generations in the DirectFB backend.
7906 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
7908 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
7909 set of likely unused display ids, because MacOS has no seq(1) command.
7911 2007-12-06 Richard Hult <richard@imendio.com>
7913 * gdk/quartz/gdkevents-quartz.c:
7914 (synthesize_crossing_events_for_ns_event): Fix warning when
7915 switching spaces in leopard.
7917 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
7919 * tests/floatingtest.c: ported to new testing framework.
7921 * tests/Makefile.am: run floatingtest as testing framework test.
7923 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
7925 * tests/autotestfilechooser.c: majorly speed up execution by reducing
7926 timeouts and converting main loop sleeps to pending/iterate loops with
7927 very low priority async handlers. eliminate output for non-verbose
7928 tests. assert successfull subtests in all test functions. use testing
7929 framework in main().
7931 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
7932 executed inside Xvfb upon make check.
7934 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
7936 * tests/objecttests.c: use string comparisons for string property
7937 values and get rid of referencing symbols in array initialization.
7939 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
7941 * gtk+/Makefile.decl: run tests in current dir after setting up the
7942 logging directory, so their results get properly merged into the
7945 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
7946 tests to loop over registered Gdk/Gtk+ types.
7948 * gtk+/tests/objecttests.c: new test program, implements automated
7949 property tests. several properties are blacklisted because they
7950 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
7951 can be used to test blacklisted properties and see which proprty failed.
7953 2007-12-04 Richard Hult <richard@imendio.com>
7955 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
7956 Fully initialize the root window, fixes bug #501583.
7958 2007-12-04 Matthias Clasen <mclasen@redhat.com>
7960 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
7963 2007-12-03 Richard Hult <richard@imendio.com>
7965 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
7966 Don't crash when dragging from a source that doesn't support uri
7967 lists (bug #499868, Paul Davis).
7969 2007-12-03 Richard Hult <richard@imendio.com>
7971 * gdk/quartz/gdkwindow-quartz.c:
7972 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
7973 parent relative bg pixmap is set, and no parent has a bg
7974 pixmap. Fixes bug #500804.
7976 2007-12-03 Matthias Clasen <mclasen@redhat.com>
7978 Two optimizations for icon cache lookups.
7980 * gtk/gtkiconcache.[hc]:
7981 * gtk/gtkicontheme.c: Remember the directory index for
7982 subdirectories, instead of running over the directory list
7985 * gtk/gtkiconcache.c (find_image_offset): Remember the last
7986 chain and try it first; this helps with the the usage patterns
7987 in gtkicontheme.c, where the same icon is queried for a lot
7990 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
7992 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
7993 functions from header files. this should be portable across linux and
7994 Mac OS, unlike the previpous sed expression.
7996 2007-12-1 Cody Russell <bratsche@gnome.org>
7998 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
7999 On Windows, queue a redraw of child2 whenever we set
8000 the pane handle position. This is unfortunately kind
8001 of hacky, but solves the visual artifacts that were
8002 occuring on at least certain types of child widgets
8003 (e.g., text views and tree views) that are inside
8004 horizontal or vertical panes. (#144269)
8006 2007-11-30 Matthias Clasen <mclasen@redhat.com>
8008 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
8010 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8012 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
8015 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8017 * gtk/Makefile.am: Fix ordering of subdirs.
8019 2007-11-28 Tor Lillqvist <tml@novell.com>
8021 A proper build of GNU libintl is supposed to export the variable
8022 _nl_msg_cat_cntr. configure looks for that variable in order to
8023 recognize GNU gettext. If it sees that it is indeed GNU gettext
8024 that is used, it decides to install message catalogs in
8025 share/locale, otherwise in lib/locale. Until now on Windows I have
8026 built GTK+ against a build of GNU gettext that did not export
8027 _nl_msg_cat_cntr. But this will change, so we can't assume message
8028 catalogs are always in lib/locale.
8030 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
8031 GTK_LOCALEDIR being either in "lib" or "share". Move the function
8032 before the inclusion of gtkprivate.h so that it sees the original
8035 * gtk-zip.sh.in: Check whether the message catalogs are in
8036 share/locale or lib/locale.
8038 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
8039 that the code in _gtk_get_localedir() will find the slashes.
8041 2007-11-28 Tor Lillqvist <tml@novell.com>
8043 * gtk/Makefile.am: Improve portability. The -o option is present
8044 only in newish GNU egreps. Use one more sed in the pipeline
8047 2007-11-28 Tor Lillqvist <tml@novell.com>
8049 Fix #375893, patch by Ben Hague:
8051 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
8052 around GetLogicalDrives() that takes also the viewable drive
8053 restrictions in the Registry (which are usually the result of an
8054 Active Directory Group Policy) into account.
8056 (check_volumes, gtk_file_system_win32_list_volumes) Call
8057 get_viewable_logical_drives() instead of GetLogicalDrives().
8059 2007-11-27 Matthias Clasen <mclasen@redhat.com>
8061 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
8062 variables to silence valgrind. (#495124, Morten Welinder)
8064 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8066 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
8067 that the construct_child function is responsible for returning a
8069 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
8070 objects from constructors
8071 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
8072 g_object_ref() to this construction function (it's the only
8077 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8079 * gtkbuilder.c: remove concept of root objects and just refcount
8080 all objects in the builder. Fixes #496651.
8082 2007-11-26 Ryan Lortie <desrt@desrt.ca>
8084 * tests/buildertest.c (test_window): fix invalid free
8086 2007-11-26 Josselin Mouette <joss@malsain.org>
8088 reviewed by: Federico Mena Quintero
8090 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
8091 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
8092 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
8093 Make the shortcuts activate with a single click. (#148828)
8094 Fix a few things affected by the change:
8095 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
8096 where no shortcut is selected.
8097 - Don't activate a shortcut in the response callback.
8098 - Filter out duplicate entries in volumes and bookmarks to
8099 avoid the selection to change when reordering them with DnD.
8101 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8104 * gtk/gtknotebook.c:
8105 * gtk/gtkplugprivate.h:
8107 * gtk/gtksocketprivate.h:
8108 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
8110 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8112 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
8113 (#495574, Richard Hult)
8115 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8117 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
8118 String change ! (#376361, Sven Neumann)
8120 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8122 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
8124 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
8127 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8129 * gtk/gtkassistant.c: Improve alternative button
8130 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
8132 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8134 * gtk/gtkcalendar.c: Fix a theming problem with colors
8135 in GtkCalendar. (#499703, Michael Hofmann)
8137 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8139 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
8141 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8143 Use templates for glib-mkenums calls instead of
8144 complicated commandlines in Makefiles. (#429910)
8146 * gdk-pixbuf/Makefile.am:
8149 * perf/Makefile.am: Use templates for glib-mkenums
8151 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
8152 * gdk/gdkenumtypes.[ch].template:
8153 * gtk/gtktypebuiltings.[ch].template:
8154 * perf/typebuiltins.[ch].template: The templates
8156 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8158 * gtk/gtkfilechooserbutton.c:
8159 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
8160 some compilers choke on that. (#467722)
8162 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8164 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
8165 about hook setup. (#425004, Emmanuele Bassi)
8167 2007-11-26 Tor Lillqvist <tml@novell.com>
8169 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
8170 monitor the window currently is on, not always the primary
8171 monitor. (#463865, Tim Evans)
8173 2007-11-26 Tor Lillqvist <tml@novell.com>
8175 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
8177 * gdk/win32/Makefile.am: Add it.
8179 2007-11-26 Tor Lillqvist <tml@novell.com>
8181 * configure.in: Don't add jasper to all_loaders if no libjasper.
8183 2007-11-25 Bastien Nocera <hadess@hadess.net>
8185 * configure.in: Add detection for libjasper, used by the
8186 gdk-pixbuf JPEG2000 loader
8188 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8190 * configure.in: Require gtk-doc 1.8
8192 * */*.c: Use gtk-doc abbreviations for examples in docs.
8194 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8196 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
8199 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8201 * gtk/gtkdialog.c: Move signal and property documentation inline,
8202 fix a problem with the ::response signal docs. (#499133, Josselin
8205 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
8207 * Makefile.decl: initialize automake variables EXTRA_DIST and
8208 TEST_PROGS for unconditional appending via += in other makefiles.
8209 define recursive test targets: test, test-report, perf-report,
8210 full-report, as described here:
8211 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
8212 the test targets will execute Gtk+ test programs within an Xvfb session.
8214 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
8216 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
8217 g_test_run() to run the tests to integrate with the testing framework.
8219 * gtk/tests/Makefile.am: removed exemplary testing rules.
8221 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
8222 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
8223 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
8224 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
8225 * docs/reference/Makefile.am, docs/tools/Makefile.am:
8226 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
8227 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
8228 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
8229 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
8230 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
8231 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
8232 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
8233 * modules/engines/ms-windows/Theme/Makefile.am:
8234 * modules/engines/ms-windows/Makefile.am:
8235 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
8236 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
8237 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
8238 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
8239 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
8240 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
8241 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
8243 2007-11-22 Matthias Clasen <mclasen@redhat.com>
8245 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
8246 (#485662, patch by Herbert Valerio Riedel)
8248 2007-11-22 Matthias Clasen <mclasen@redhat.com>
8250 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
8252 2007-11-21 Richard Hult <richard@imendio.com>
8254 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
8255 stubs for the testing functions to fix the build.
8257 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8259 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
8260 (#467711, The Written Word)
8262 2007-11-21 Ross Burton <ross@openedhand.com>
8264 * gdk/x11/gdksettings.c:
8265 Add xsetting for gtk-scrolled-window-placement (#458103).
8267 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8269 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
8270 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
8271 (#469239, Michael Natterer)
8273 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8275 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
8276 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
8277 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
8278 (#436536, Tommi Komulainen)
8280 2007-11-21 Matthias Clasen <mclasen@redhat.com>
8282 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
8283 property. (#489782, Jan Janech)
8285 2007-11-20 Matthias Clasen <mclasen@redhat.com>
8287 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
8288 frames. (#107398, Owen Taylor, Miguel Gomez)
8290 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
8292 Moved Gdk test functions from Gtk+ to Gdk test utils.
8294 * gdk/Makefile.am: added gdktestutils.h to public includes.
8296 * gdk/gdk.h: added gdktestutils.h to public includes.
8298 * gdk/gdk.symbols: added gdk_test_simulate_button,
8299 gdk_test_simulate_key, gdk_test_render_sync.
8301 * gdk/gdktestutils.h: new file, added prototypes for
8302 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
8304 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
8306 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
8307 gdk_test_simulate_key, gdk_test_render_sync.
8309 * gtk/gtktestutils.c:
8310 * gtk/gtktestutils.h:
8311 * gtk/gtk.symbols: removed gtk_test_simulate_button
8312 gtk_test_simulate_key, gtk_test_xserver_render_sync.
8314 * gtk/tests/testing.c: call gdk_test_render_sync.
8316 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
8318 Added unit tests for Gtk+ testing utilities.
8320 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
8321 utility functions. some g_test_* related portions are disabled and need
8322 to be enabled once Gtk+ depends on a new glib with the GLib testing
8323 framework integrated.
8325 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
8326 tests. added exemplary test rules to run tests inside Xvfb. this
8327 needs to depend on gtester for full fledged testing.
8329 * gtk/Makefile.am: build gtk+/gtk/tests, define
8330 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
8331 e.g. gtk_text_get_type().
8333 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
8335 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
8337 Added Gtk+ testing utilities.
8339 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
8340 functions. for the most part, the functions herein involve
8341 navigating and interacting with dialog elements programatically,
8342 to automate user interaction tests of dialogs and widgets.
8344 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
8346 * gtk/gtk.symbols: added gtk_test_* symbols.
8348 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
8349 the build. generate gtktypefuncs.c which contains a list of all
8350 _get_type functions in Gtk+ and Gdk.
8352 2007-11-20 Bastien Nocera <hadess@hadess.net>
8354 * configure.in: add support for conditional icns gdk-pixbuf loader
8357 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
8359 * configure.in: updated version number to 2.15.0 for development.
8361 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
8363 === Branch for 2.12 ===