1 2008-09-05 Tor Lillqvist <tml@novell.com>
3 * gtk-zip.sh.in: Fetch manpages from share/man where they get
4 installed. Don't include pointless entries for directories in the
5 zip files. Add etc/gtk-2.0/im-multipress.conf.
7 2008-09-04 Matthias Clasen <mclasen@redhat.com>
9 * configure.in: Bump version
11 * === Released 2.14.1 ===
13 2008-09-04 Matthias Clasen <mclasen@redhat.com>
15 * configure.in: Bump version
17 * === Released 2.14.0 ===
19 2008-09-04 Matthias Clasen <mclasen@redhat.com>
21 * gtk/gtkenums.h: Add nicks for the GtkNumberUpLayout values.
23 * gtk/gtkprintunixdialog.c:
24 * gtk/gtkprintsettings.c: Simplify the handling of GtkNumberUpLayout
25 values. Followup on #535158, proposed by Christian Persch.
27 2008-09-04 Matthias Clasen <mclasen@redhat.com>
29 * INSTALL.in: Update required versions
31 2008-09-04 Michael Natterer <mitch@imendio.com>
33 * gtk/gtkhandlebox.c: events return gboolean not gint.
34 Change misnamed gtk_handle_box_button_changed() to
35 gtk_handle_box_button_press(). Reindent static prototypes.
37 2008-09-04 Michael Natterer <mitch@imendio.com>
39 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): when extending
40 the draw rectangle by the "draw-border" style property, subtract
41 "left" from "x" and "top" from "y", not the other way around.
43 2008-09-03 Matthias Clasen <mclasen@redhat.com>
47 * gtk/gtkcolorseldialog.c: More doc fixes
49 * gtk/gtktestutils.c: Fix a typo in the docs.
51 2008-09-03 Matthias Clasen <mclasen@redhat.com>
55 * configure.in: Bump version to 2.14.0
57 2008-09-03 Matthias Clasen <mclasen@redhat.com>
59 * gtk/gtkcolorsel.c: Set page_size to 0 for the spinbuttons
60 in the color selector.
62 * README.in: Add a note about the GtkAdjustment clamping change
64 2008-09-03 Matthias Clasen <mclasen@redhat.com>
66 Bug 550528 - IconView DND interface does not work if only used as
69 * gtk/gtkiconview.c: Make source-only DND work.
72 2008-09-03 Matthias Clasen <mclasen@redhat.com>
74 * gtk/gtk.symbols: Add some missing symbols
76 2008-09-03 Matthias Clasen <mclasen@redhat.com>
78 * gtk/gtkprintsettings.c: Fix order of includes to avoid unwanted
81 2008-09-03 Michael Natterer <mitch@imendio.com>
84 * gtk/gtkmenuitem.c: remove unused macro cruft. Also remove some
87 2008-09-03 Michael Natterer <mitch@imendio.com>
89 * gtk/gtkarrow.c: expose-event returns gboolean not gint,
90 reindented static prototypes and did some minor cleanups.
92 2008-09-03 Michael Natterer <mitch@imendio.com>
94 * gtk/gtkmenu.c: some more trivial cosmetic fixes.
96 2008-09-03 Christian Dywan <christian@imendio.com>
98 Bug 547449 – Entry/ Combo popup misplaced after resize
100 * gtk/gtkcombobox.c (gtk_combo_box_menu_position),
101 (gtk_combo_box_size_allocate): reposition the combo popup when the
103 * gtk/gtkentry.c (gtk_entry_size_allocate): reposition the
104 completion popup when the allocation changes
106 2008-09-03 Michael Natterer <mitch@imendio.com>
108 * gtk/gtkmenu.c (get_arrows_visible_area): proper function header
111 2008-09-02 Michael Natterer <mitch@imendio.com>
113 * gtk/gtkdialog.c (gtk_dialog_delete_event_handler): return
114 gboolean instead of gint. Reindent static prototypes.
116 2008-09-02 Michael Natterer <mitch@imendio.com>
118 * gtk/gtkwidget.c (gtk_widget_get_allocation): removed this
119 function because there is massive disagreement about how to
120 implement it. Needs some general discussion in the next
121 development cycle about how our C api should evolve.
123 * gtk/gtk.symbols: changed accordingly.
125 2008-09-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
127 * gtk/gtkselection.c:
128 Update documentation for gtk_selection_data_get_data to
129 match the changes introduced in -r21232 (the length
130 parameter was removed).
132 2008-08-30 Matthew Barnes <mbarnes@redhat.com>
134 Bug 549943 – gtk_tool_shell_get_relief_style() always returns
137 * gtk/gtktoolshell.c (gtk_tool_shell_get_relief_style): Return
138 the correct relief style.
140 2008-08-29 Björn Lindqvist <bjourne@gmail.com>
142 Bug 437791 – Animation is played at the wrong speed
144 * gdk-pixbuf/io-gif.c (gif_get_lzw): Better 100 ms timeout for
145 broken GIFs with 0 frame timeout.
147 2008-08-29 Christian Dywan <christian@imendio.com>
149 Bug 549810 – Memory leaks in printing code
151 * gtk/gtkprintjob.c (gtk_print_job_set_property):
152 * modules/printbackends/file/gtkprintbackendfile.c
153 (output_file_from_settings):
154 * modules/printbackends/test/gtkprintbackendtest.c
155 (output_test_from_settings): free some temporary strings.
156 Patch by Yevgen Muntyan.
158 2008-08-29 Michael Natterer <mitch@imendio.com>
160 * gtk/gtkwidget.h: move the gtk_widget_get_parent() and
161 gtk_widget_get_parent_window() prototypes together with their
164 * gtk/gtkwidget.c: move gtk_widget_get_parent_window() together
167 2008-08-29 Michael Natterer <mitch@imendio.com>
169 * gtk/gtkscrolledwindow.c: events return gboolean not gint,
172 2008-08-29 Michael Natterer <mitch@imendio.com>
174 * configure.in: remove -DPANGO_DISABLE_SINGLE_INCLUDES from
175 CPPFLAGS, I committed that accidentially.
177 2008-08-29 Michael Natterer <mitch@imendio.com>
179 * gtk/gtkpaned.c: minor indentation / coding style fixes.
181 2008-08-29 Matthias Clasen <mclasen@redhat.com>
183 Bug 549262 – GtkScrolledWindow should not accept focus unless
186 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_focus): only grab the
187 focus, if GTK_WIDGET_CAN_FOCUS() returns TRUE. Patch by Sven
190 2008-08-29 Matthias Clasen <mclasen@redhat.com>
193 * gtk/gtkselection.[hc]: Split gtk_selection_data_get_data into
194 gtk_selection_data_get_data and gtk_selection_data_get_length.
195 Proposed by Owen Taylor.
197 2008-08-28 Christian Dywan <christian@imendio.com>
199 Bug 549734 – gtk_selection_data_get_data prototype is wrong
201 * gtk/gtkselection.[ch] (gtk_selection_data_get_data): make the
202 'length' argument of gtk_selection_data_get_data a 'gint', that's
205 2008-08-27 Cody Russell <bratsche@gnome.org>
207 * gdk/win32/gdkevents-win32.c:
208 * gdk/win32/gdkwindow-win32.c (show_window_recurse): Check if
209 the window's state has GDK_WINDOW_STATE_MAXIMIZED set before
210 calling ShowWindow (), and show using SW_SHOWMAXIMIZED or
211 SW_RESTORE accordingly. This fixes an issue where maximized
212 windows that are iconified do not restore back to maximized
213 when you click the taskbar. (#528975)
215 2008-08-27 Matthias Clasen <mclasen@redhat.com>
217 * gtk/gtkprintoperation.c: Documentation fixes.
219 2008-08-27 Matthias Clasen <mclasen@redhat.com>
221 * gdk/x11/gdkwindow-x11.c:
222 * gdk/win32/gdkwindow-win32.c: Return FALSE from reparent
223 implementations to avoid #548993. Patch by Ed Catmur.
225 2008-08-27 Matthias Clasen <mclasen@redhat.com>
227 * modules/printbackends/cups/gtkprintbackendcups.c: Don't capitalize
228 "per" in "Pages per Sheet".
230 2008-08-26 Matthias Clasen <mclasen@redhat.com>
232 Bug 549354 – Crash trying to open a file on a remote folder
234 * gtk/gtkfilechooserdefault.c (error_message_with_parent): Handle
235 the fact that parent may be NULL without crashing.
237 2008-08-25 Matthias Clasen <mclasen@redhat.com>
239 * modules/printbackends/cups/gtkprintbackendcups.c: Replace
240 a long timeout with a second-granularity timeout.
242 2008-08-25 Matthias Clasen <mclasen@redhat.com>
244 * gtk/gtkprintunixdialog.c:
245 * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
246 hints to many strings.
248 2008-08-25 Gian Mario Tagliaretti <gianmt@gnome.org>
250 Bug 549236 – missing Since 2.14 in gtk_file_chooser_get_file
252 * gtk/gtkmountoperation.c:
254 * gtk/gtkfilechooser.c: Fix the docs, missing Since 2.14.
256 2008-08-21 Matthias Clasen <mclasen@redhat.com>
258 * gtk/gtksettings.c: When reconstructing the color hash, try
259 harder to avoid unnecessary notification, since this can lead
260 to infinite reloading of rc files in some situations.
262 2008-08-21 Cody Russell <bratsche@gnome.org>
264 * gdk/win32/gdkevents-win32.c (doesnt_want_key): Remove the checks
265 to see if the window is modally blocked. This doesn't get us anything,
266 and it confuses the search window in GtkTreeView (and potentially other
267 utility windows in other apps). (#520165)
269 2008-08-21 Michael Natterer <mitch@imendio.com>
271 * gtk/gtktreeview.c (gtk_tree_view_realize): small formatting fix.
273 2008-08-21 Marek Kasik <mkasik@redhat.com>
275 Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 page
278 * gtk/gtkprintoperation.c: Clamp page ranges to correct ranges
280 2008-08-21 Marek Kasik <mkasik@redhat.com>
282 * ChangeLog: changelog update for previous commit
284 2008-08-21 Marek Kasik <mkasik@redhat.com>
286 Bug 535158 – can't rearrange the order of multi pages per side
290 * gtk/gtkprintunixdialog.c
291 * gtk/gtkprintsettings.c
292 * gtk/gtkprintsettings.h
294 * modules/printbackends/cups/gtkprintbackendcups.c: Allow user to
295 specify layout of pages per sheet in number-up mode
297 Wed Aug 20 18:16:29 2008 Søren Sandmann <sandmann@redhat.com>
299 * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_size_changed): Emit the
300 monitors changed signal when the screen size changes.
302 2008-08-20 Torsten Schoenfeld <kaffeetisch@gmx.de>
304 Bug 548346 – gtk_color_selection_dialog_get_color_selection always
307 * gtk/gtkcolorseldialog.c
308 (gtk_color_selection_dialog_get_color_selection): Use the correct
309 macro to test the validity of the passed-in dialog.
311 2008-08-05 Milan Crha <mcrha@redhat.com>
313 * gtk/gtknotebook.c: (gtk_notebook_do_arrow): Allow changing page with
314 arrows even on non-focusable notebook. (#528091)
316 2008-08-19 Federico Mena Quintero <federico@novell.com>
318 http://bugzilla.gnome.org/show_bug.cgi?id=543308 - The file
319 chooser in "compact" mode uses the same size as in "open" mode.
321 * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Don't
322 force the default size here. Let GtkFileChooserDefault be solely
323 in charge of default sizing.
324 (set_default_size): Removed obsolete code.
326 * gtk/gtkfilechooserdefault.c (emit_default_size_changed): New
327 helper function, to avoid dupliated code. Only emits the signal
328 if the widget is mapped, because that is when we actually know the
330 (update_preview_widget_visibility): Use emit_default_size_changed()
331 (update_appearance): Likewise.
332 (gtk_file_chooser_default_style_set): Likewise.
333 (gtk_file_chooser_default_screen_changed): Likewise.
334 (gtk_file_chooser_default_map): Likewise.
335 (find_good_size_from_style): Unconditionally compute a good
336 default size for the "OPEN" modes; don't store it in internal fields.
337 (gtk_file_chooser_default_get_default_size): Only compute the
338 font-based size if we are in one of the "OPEN" modes or in
341 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
342 Removed default_width/default_height; we don't store these
343 anymore. This will make recycled file choosers (like in the GIMP)
344 not "remember" their size across invocations. However, this
345 prepares the way for actually remembering the user's size globally
346 in the settings file.
348 2008-08-19 Björn Lindqvist <bjourne@gmail.com>
350 Bug 548354 – Remove repeated code in gtk_cell_view_size_allocate
352 * gtk/gtkcellview.c (gtk_cell_view_size_allocate): Remove some
353 code duplication, no need for separate loops for GTK_PACK_START
356 2008-08-19 Johan Dahlin <johan@gnome.org>
358 * gtk/gtk-builder-convert (GtkBuilderConverter._parse):
359 Remove the requres-version tag as well
361 2008-08-18 Matthias Clasen <mclasen@redhat.com>
363 * configure.in: Bump version
365 * ==== Released 2.13.7 ===
367 2008-08-19 Mathias Hasselmann <mathias@openismus.com>
369 Bug 541600 – GtkCalendar segfault for certain values of detail-with-chars
371 * gtk/gtkcalendar.c (gtk_calendar_class_init()): Limit the "year"
372 property to G_MAXINT >> 9, instead of G_MAXINT >> 8: year_to_days()
373 multiplies the year property with 365 and returns the result as
374 glong. Therefore ceil(log(365, 2)) = 9 bits must be available,
377 2008-08-18 Björn Lindqvist <bjourne@gmail.com>
379 Bug 541315 – Segfault when selecting a GtkMenuItem with submenu
382 * gtk/gtkmenuitem.c (gtk_menu_item_real_popup_submenu): Ensure
383 that the menu item has a parent before popping it up.
385 2008-08-18 Johan Dahlin <johan@gnome.org>
387 Bug 548196 – gtk-builder-convert doesn't properly convert GtkTextView
389 * gtk/gtk-builder-convert: Rename the text property to buffer.
391 2008-08-16 Matthias Clasen <mclasen@redhat.com>
393 * gtk/gtksizegroup.c: Use g_quark_from_static_string() where possible.
395 2008-08-16 Matthias Clasen <mclasen@redhat.com>
399 2008-08-16 Torsten Schoenfeld <kaffeetisch@gmx.de>
401 * gdk/gdkwindow.c: Fix small issues in the documentation of
402 gdk_window_remove_redirection and gdk_window_redirect_to_drawable.
404 2008-08-15 Richard Hult <richard@imendio.com>
406 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): Some
407 aftermath of the fix of bug #543868. Clip and flip to the source,
408 not the destination. Don't save/restore the gstate, it's already
409 done when getting/releasing the context.
411 2008-08-15 Richard Hult <richard@imendio.com>
413 * gtk/gtkclipboard-quartz.c (gtk_clipboard_wait_is_uris_available):
414 Add another missing symbol.
416 2008-08-15 Behdad Esfahbod <behdad@gnome.org>
418 Bug 547680 – fontconfig monitoring can crash apps
420 * gtk/gtksettings.c (settings_update_fontconfig): Clear pango cache
421 before recreating fontconfig config.
423 2008-08-15 Sven Herzberg <sven@imendio.com>
425 Use the g_test_*() API for this test
426 reviewed by: Richard Hult
428 * gdk/tests/check-gdk-cairo.c: use the g_test_*() API to permit adding
431 2008-08-15 Sven Herzberg <sven@imendio.com>
433 Prepare for using the g_test_*() API
434 reviewed by: Richard Hult
436 * gdk/tests/check-gdk-cairo.c: use assertions instead of returning an
439 2008-08-15 Claudio Saavedra <csaavedra@igalia.com>
441 Bug 547944 – Self-reference in gtk_page_setup_load_file's docs
443 * gtk/gtkpagesetup.c: Fix the reference in gtk_page_setup_load_file()
444 documentation. Pointed out by Torsten Schoenfeld.
446 2008-08-15 Matthias Clasen <mclasen@redhat.com>
448 Bug 547655 – gio_can_sniff configure test can fail if not installed
449 with prefix {/usr,/usr/local} and XDG_DATA_DIRS env not set
451 * README.in: Add a note about shared-mime-info and XDG_DATA_DIRS.
453 2008-08-15 Christian Dywan <christian@imendio.com>
455 Bug 547846 – gtktestutils functions lack Since: tags
457 * gtk/gtktestutils.c: Add missing Since tags
459 2008-08-15 Christian Dywan <christian@imendio.com>
461 Bug 547775 – Documentation of gtk-button-images is not correct
463 * gtk/gtkbutton.c (gtk_button_class_init): Improve documentation
464 of "gtk-button-images" setting
466 2008-08-13 Matthias Clasen <mclasen@redhat.com>
468 Bug 547673 – Accessors for GtkFileSelection.font_entry and
472 * gtk/gtkfontsel.[hc]: Don't add getters for widgets that are not
473 actually part of the font selection dialog in standard builds.
474 Pointed out by Torsten Schoenfeld
476 2008-08-13 Matthias Clasen <mclasen@redhat.com>
478 Bug 547516 – Add comments for translators in gtkprintbackendcups.c
480 * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
481 hints. Patch by Leonardo Ferreira Fontenelle
483 2008-08-13 Michael Natterer <mitch@imendio.com>
485 * gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE
489 * gtk/gtkentrycompletion.c
491 * gtk/gtkoldeditable.c
494 * gtk/gtkwidget.c: changed accordingly.
496 2008-08-13 Erwann Chenede - <erwann.chenede@sun.com>
498 Bug 547456 - gdk/x11/gdkscreen-x11.c : init_solaris_xinerama
499 doesn't compile on Solaris
501 * gdk/x11/gdkscreen-x11.c: make init_solaris_xinerama () compile
502 when HAVE_SOLARIS_XINERAMA is defined.
504 2008-08-13 Michael Natterer <mitch@imendio.com>
506 * gtk/gtkstock.c (gtk_stock_lookup): cast the return value of
507 g_dgettext() to fix warning about discarded qualifier.
509 2008-08-12 Paolo Borelli <pborelli@katamail.com>
511 * gtk/gtkclipboard.c (gtk_clipboard_store):
512 use canonical signal name.
514 2008-08-12 Paolo Borelli <pborelli@katamail.com>
516 Bug 526234 - make shift+ctrl+del delete till the end of line
518 * gtk/gtktextview.c: add shift+ctrl+del and shift+ctrl+backspace
519 keyboard shortcuts to delete to the end/start of the current line.
521 2008-08-12 Michael Natterer <mitch@imendio.com>
523 * gtk/gtklinkbutton.c (set_link_color): bail out if there is no
524 label to set the color on.
526 (gtk_link_button_add): call set_link_color() so the label gets
527 the right color no matter how the link button is created.
529 2008-08-12 Michael Natterer <mitch@imendio.com>
531 * gtk/gtkassistant.c: remove unused variable and fix formatting of
532 some function headers.
534 2008-08-12 Michael Natterer <mitch@imendio.com>
536 * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the
539 * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h
540 visible for GDK_PIXBUF_COMPILATION.
542 * contrib/gdk-pixbuf-xlib/Makefile.am
544 * demos/gtk-demo/Makefile.am
545 * gdk-pixbuf/pixops/Makefile.am
547 * gdk/x11/Makefile.am
549 * gtk/tests/Makefile.am
550 * gtk/theme-bits/Makefile.am
551 * modules/engines/ms-windows/Makefile.am
552 * modules/engines/pixbuf/Makefile.am
553 * modules/input/Makefile.am
555 * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here.
557 2008-08-12 Michael Natterer <mitch@imendio.com>
559 * gtk/gtkstatusicon.c (gtk_status_icon_get_gicon): use
560 g_return_val_if_fail() now that the function has a return value.
562 2008-08-12 Sven Neumann <sven@gimp.org>
564 * gtk/gtkaccellabel.c
567 * gtk/gtkcolorbutton.c
570 * gtk/gtkdnd-quartz.c
573 * gtk/gtkfilechooserdefault.c
582 * gtk/gtkrecentchooserdialog.c
583 * gtk/gtkrecentchooserutils.c
587 * gtk/gtktextbuffer.c
592 * gtk/gtkwindow-decorate.c
593 * gtk/gtkwindow.c: use canonical signal names in some more places
594 that I missed earlier. Also changed this in the documentation and
597 2008-08-12 Sven Neumann <sven@gimp.org>
600 * gtk/gtkradiotoolbutton.c: property nick and blurb should be
601 marked with P_(), not _().
603 2008-08-12 Michael Natterer <mitch@imendio.com>
605 * examples/gtkdial/gtkdial.c
606 * gdk/gdkapplaunchcontext.c
608 * gtk/gtkcellrendererpixbuf.c
609 * gtk/gtkcellrenderertext.c
616 * gtk/gtktexttagtable.c: remove dereferencing from some function
617 pointers i missed before.
619 2008-08-12 Michael Natterer <mitch@imendio.com>
621 * gtk/gtkaccellabel.c
626 * gtk/gtkfilechooserbutton.c
627 * gtk/gtkfilechooserdefault.c
635 * gtk/gtkmessagedialog.c
640 * gtk/gtkprintunixdialog.c
642 * gtk/gtkrecentchooserdefault.c
651 * gtk/gtkwin32embedwidget.c: chain up unconditionally in
652 realize(), unrealize(), map(), unmap(), style_set(),
653 key_press_event() and size_request()
655 2008-08-12 Michael Natterer <mitch@imendio.com>
657 * gtk/gtkwidget.c: change names of default implementations of
658 our own signals to consistently contain "real":
660 gtk_widget_style_set -> gtk_widget_real_style_set
661 gtk_widget_direction_changed -> gtk_widget_real_direction_changed
663 2008-08-12 Michael Natterer <mitch@imendio.com>
665 * gtk/*.c: consistently chain up using
666 GTK_FOO_CLASS(parent_class)->bar(instance) instead of
667 (*GTK_FOO_CLASS(parent_class))->bar(instance).
669 2008-08-12 Matthias Clasen <mclasen@redhat.com>
671 Bug 546730 – gtk_status_icon_get_gicon() should use a return instead
672 of an ouput parameter
674 * gtk/gtkstatusicon.[hc]: Change gtk_status_icon_get_gicon to
675 return the GIcon directly.
676 Complaint by Murray Cumming
678 2008-08-11 Michael Natterer <mitch@imendio.com>
680 Bug 546754 – 2.13.6 update create rendering issue in the evolution
683 * gtk/gtkadjustment.c: instead of CLAMP(), use
685 value = MIN (value, upper - page_size);
686 value = MAX (value, lower);
688 so we don't end up below lower if upper - page_size is smaller
691 2008-08-11 Matthias Clasen <mclasen@redhat.com>
693 Bug 546616 – CUPS print backend uses 1.2 API without guards
695 * modules/printbackends/cups/gtkcupsutils.[hc]: Make use
696 of cups 1.2 api dependent on the HAVE_CUPS_1_2 define.
697 Patch by Sven Herzberg and Richard Hult
699 2008-08-11 Michael Natterer <mitch@imendio.com>
701 Bug 547270 – Make GtkHSV public
704 * gtk/gtk.h: install gtkhsv.h as public header (its symbols were
705 always public anyway).
707 * gtk/gtkhsv.h: add single-include guards, add class struct padding,
708 seal the instance member, cleanup.
710 * gtk/gtkhsv.c: center the widget in its allocation,
711 add "Since: 2.14", cleanup.
713 2008-08-11 Torsten Schoenfeld <kaffeetisch@gmx.de>
715 * gtk/gtkcalendar.h: Fix the Since: tag of GtkCalendarDetailFunc
716 to correctly state 2.14, not 2.16.
718 2008-08-11 Sven Neumann <sven@gimp.org>
720 * demos/gtk-demo/changedisplay.c
721 * demos/gtk-demo/clipboard.c
722 * demos/gtk-demo/drawingarea.c
723 * demos/gtk-demo/iconview.c
724 * demos/gtk-demo/images.c
725 * demos/gtk-demo/pixbufs.c: use canonical signal names in the demos.
727 2008-08-11 Matthias Clasen <mclasen@redhat.com>
729 Bug 547211 – Duplicated mnemonic
731 * gtk/gtkmountoperation.c: Change mnemonics around in
732 the password dialog to avoid a conflict.
733 Reported by Gil Forcada
735 2008-08-11 Sven Neumann <sven@gimp.org>
737 * gdk-pixbuf/gdk-pixbuf-loader.c: use canonical signal names.
739 2008-08-11 Sven Neumann <sven@gimp.org>
741 * examples/*: updated the (quite outdated) examples to use
742 canonical signal names as well. Removed some unneeded casts and
743 trailing whitespace while I was on it...
745 2008-08-11 Sven Neumann <sven@gimp.org>
747 * modules/input/gtkimcontextime.c
748 * modules/input/gtkimcontextmultipress.c
749 * modules/input/gtkimcontextxim.c: use canonical signal names.
751 2008-08-11 Sven Neumann <sven@gimp.org>
753 * gtk/gtkdnd-quartz.c
757 * gtk/gtkimcontextsimple.c
758 * gtk/gtkimmulticontext.c
759 * gtk/gtkoptionmenu.c
761 * gtk/gtkrecentchooserdefault.c
762 * gtk/gtkscrolledwindow.c
763 * gtk/gtksocket-x11.c: use canonical signal names in some more
764 places that I missed earlier.
766 2008-08-11 Sven Neumann <sven@gimp.org>
768 * gtk/gtkaccelgroup.c
769 * gtk/gtkactiongroup.c
771 * gtk/gtkcelleditable.c
772 * gtk/gtkclipboard-quartz.c
774 * gtk/gtkcolorbutton.c
777 * gtk/gtkcurve.c: use canonical signal names.
779 2008-08-11 Sven Neumann <sven@gimp.org>
782 * gtk/gtkentrycompletion.c
786 * gtk/gtkinputdialog.c
787 * gtk/gtktreeview.c: use canonical signal names.
789 2008-08-11 Sven Neumann <sven@gimp.org>
794 * gtk/gtklistitem.c: use canonical signal names.
796 2008-08-11 Sven Neumann <sven@gimp.org>
802 * gtk/gtkoldeditable.c
803 * gtk/gtkpaned.c: use canonical signal names.
805 2008-08-11 Michael Natterer <mitch@imendio.com>
807 * demos/gtk-demo/textscroll.c (create_text_view): don't use the
808 deprecated gtk_box_pack_start_defaults().
810 2008-08-11 Sven Neumann <sven@gimp.org>
812 * gtk/gtkaboutdialog.c
813 * gtk/gtkcellrendereraccel.c
814 * gtk/gtkcellrenderercombo.c
815 * gtk/gtkcellrendererspin.c
816 * gtk/gtkcellrenderertext.c
821 * gtk/gtkdnd-quartz.c
824 * gtk/gtkentrycompletion.c
825 * gtk/gtkfilechooserbutton.c
826 * gtk/gtkfilechooserdefault.c
827 * gtk/gtkfilechooserentry.c
829 * gtk/gtkinputdialog.c
830 * gtk/gtkmenutoolbutton.c
832 * gtk/gtktooltip.c: use canonical signal names in g_signal_connect().
834 2008-08-11 Sven Neumann <sven@gimp.org>
838 * gdk/gdkdisplaymanager.c: use canonical signal names.
840 2008-08-10 Richard Hult <richard@imendio.com>
842 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_uris),
843 (gtk_clipboard_request_uris): Implement missing functions.
845 2008-08-09 Sven Herzberg <sven@imendio.com>
847 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
849 * gtk/Makefile.am: always add gtkquartz.h to EXTRA_DIST
851 2008-08-08 Cody Russell <bratsche@gnome.org>
853 Bug 547027 – menus are broken
856 * gtk/gtkmenu.c: In enter/leave notify events, check that the crossing
857 mode is not GTK_GRAB, GTK_UNGRAB, or STATE_CHANGED. Fixes regressions
858 in menus caused by bug #56070.
860 2008-08-09 Sven Herzberg <sven@imendio.com>
862 Get the gdk+cairo test to pass distcheck, too
864 * gdk/tests/Makefile.am: set GDK_PIXBUF_MODULE_FILE so the test can
865 pick up the one created at build time
866 * gdk/tests/check-gdk-cairo.c (main): delete the output files after a
869 2008-08-08 Sven Neumann <sven@gimp.org>
872 * gtk/gtkscrolledwindow.c
874 * gtk/gtkspinbutton.c
876 * gtk/gtkstatusicon.c: use canonical signal names.
878 2008-08-08 Sven Neumann <sven@gimp.org>
881 * gtk/gtktextbuffer.c
882 * gtk/gtktextlayout.c
883 * gtk/gtktexttagtable.c
889 * gtk/gtktreemodelfilter.c
890 * gtk/gtktreemodelsort.c
891 * gtk/gtktreeviewcolumn.c: use canonical signal names.
893 2008-08-08 Sven Neumann <sven@gimp.org>
897 * gtk/gtktreesortable.c
900 * gtk/gtkviewport.c: use canonical signal names.
902 2008-08-08 Sven Neumann <sven@gimp.org>
905 * gtk/gtkwindow.c: use canonical signal names.
907 2008-08-08 Sven Neumann <sven@gimp.org>
909 * gtk/gtkadjustment.c
916 * gtk/gtkspinbutton.c
920 * gtk/gtkviewport.c: use the canonical signal name "value-changed"
921 instead of "value_changed".
923 2008-08-08 Tor Lillqvist <tml@novell.com>
926 * gtk/makegtkalias.pl
928 * gtk/gtkfilechooser.c
930 * gtk/gtkiconfactory.c
935 * gtk/gtkwindow.c: No need for the DLL ABI backward compatibility
938 2008-08-07 Matthias Clasen <mclasen@redhat.com>
940 * configure.in: Its g_content_type_from_mime_type, not
941 g_content_type_for_mime_type. Noticed by Roger Brown
943 2008-08-07 16:19:16 Tim Janik <timj@imendio.com>
945 * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
946 combination of g_warning+exit to avoid misleading the user.
948 2008-08-07 Michael Natterer <mitch@imendio.com>
950 * gtk/gtkactiongroup.c
951 * gtk/gtkcellrendererspin.c
952 * gtk/gtkfilechooserbutton.c
953 * gtk/gtktoolitem.c: chain up unconditionally in finalize().
955 2008-08-07 Michael Natterer <mitch@imendio.com>
959 * gtk/gtkfilechooserbutton.c
961 * gtk/gtkmenutoolbutton.c
962 * gtk/gtkoptionmenu.c
963 * gtk/gtkradiobutton.c
964 * gtk/gtkradiomenuitem.c
967 * gtk/gtktreeview.c: chain up unconditionally in destroy().
969 * gtk/gtkhandlebox.c: remove empty destroy() implementation.
971 2008-08-07 Michael Natterer <mitch@imendio.com>
973 Bug 546756 – gnome-panel crashed with SIGSEGV in
974 g_type_check_instance_cast()
976 * gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
977 and remove the image now that it's an internal child and isn't
978 destroyed by gtk_container_destroy() any longer. Thanks to tml for
979 helping bisecting this down.
981 2008-08-07 Sven Neumann <sven@gimp.org>
983 Bug 546771 - Add writable property "visited" to GtkLinkButton
986 * gtk/gtklinkbutton.[ch]: expose the 'visited' state as a
987 read-write property with getters and setters. Also move the nick
988 and blurb of the "uri" property to the proper translation domain.
990 2008-08-07 Michael Natterer <mitch@imendio.com>
992 * gtk/gtkicontheme.c (apply_emblems): move variables to local
993 scopes, fix indentation and silence bogus warning about using
994 uninitialized variables.
996 2008-08-07 Richard Hult <richard@imendio.com>
998 Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func()
1000 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1001 (select_thread_func), (poll_func): Patch by Yevgen Muntyan, fixes
1002 deadlock and missing events.
1004 2008-08-07 Richard Hult <richard@imendio.com>
1006 * gdk/quartz/gdkscreen-quartz.c: (gdk_screen_get_monitor_plug_name)
1007 (gdk_screen_get_monitor_height_mm, gdk_screen_get_monitor_width_mm):
1008 Implement those, fixes loading python bindings.
1010 2008-08-07 Emmanuele Bassi <ebassi@gnome.org>
1012 Bug 545031 – list of recently used files is created world-readable
1014 * gtk/gtkrecentmanager.c:
1015 (gtk_recent_manager_real_changed): Set the recently-used.xbel
1016 file to 0600. (Guido Berhoerster)
1018 2008-08-06 Michael Natterer <mitch@imendio.com>
1020 * modules/printbackends/cups/gtkcupsutils.c
1021 (gtk_cups_connection_test_free): remove return value, this
1022 function returns void.
1024 2008-08-06 Michael Natterer <mitch@imendio.com>
1029 * gtk/gtkscrolledwindow.c
1030 * gtk/gtktreeview.c: remove CLAMPing from values passed to
1031 gtk_adjustment_set_value() since it does it right now.
1033 2008-08-05 Matthias Clasen <mclasen@redhat.com>
1035 * configure.in: Bump version
1037 * === Released 2.13.6 ===
1039 * gdk/tests/Makefile.am: Disable check-gdk-cairo test for now,
1040 since it breaks make distcheck.
1042 2008-08-05 Michael Natterer <mitch@imendio.com>
1044 * gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out
1045 early if priv->button is NULL to avoid zillions of warnings when
1046 destroying combo boxes that were working fine before the
1047 button sensitivity patch.
1049 2008-08-05 Michael Natterer <mitch@imendio.com>
1051 Bug 544858 – Seal GtkAdjustment
1054 * gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct
1057 Add accessors for all properties and additionally a new function
1058 gtk_adjustment_configure() which sets all properties at
1059 once. Patch by Christian Dywan and myself.
1061 2008-08-05 Michael Natterer <mitch@imendio.com>
1063 * gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value
1064 to [lower...upper-page_size] instead of only [lower...upper].
1066 * README: add note about this change.
1068 While this fix is correct and should have been there forever, it
1069 has the potential to break some corner cases, however these cases
1070 would set page_size to a value != 0 which suggests they want it
1073 2008-08-05 Michael Natterer <mitch@imendio.com>
1075 * tests/testiconview.c: don't use the deprecated
1076 gtk_box_pack_start_defaults().
1078 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1080 Bug 545982 – missing braces cause bogus warnings when using GtkBuilder
1082 * gtk/gtkcelllayout.c:
1084 * gtk/gtkcontainer.c: Add missing braces to some GtkBuildable
1085 implementations. Patch by Antti Kaijanmäki
1087 2008-08-05 Tor Lillqvist <tml@novell.com>
1089 * gtk/gtktext.c: Cast pointer to gintptr instead of gulong to
1090 avoid warning on Win64.
1092 2008-08-05 Tor Lillqvist <tml@novell.com>
1094 * gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
1095 gintptr instead of long when calculating hash, so we get all of
1096 the pointer bits on Win64 where long is 32 bits.
1098 2008-08-05 Tor Lillqvist <tml@novell.com>
1100 * gtk/gtkprintoperation-win32.c: Don't need to declare
1101 IPrintDialogCallback with mingw64 either. It seems to be provided
1102 with the newer versions of the headers included with mingw64.
1104 2008-08-05 Tor Lillqvist <tml@novell.com>
1106 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
1108 * gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
1109 as the GdkNativeWindow parameter to
1110 gtk_window_remove_embedded_xid(). Debugging printout format fixes.
1112 * gtk/gtkwin32embed.h
1113 * gtk/gtkwin32embed.c: Change the types of wparam and lparam
1114 parameters to actually be WPARAM and LPARAM.
1116 * gtk/gtkplug-win32.c: Adapt accordingly.
1118 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1120 * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really
1121 a word, use 'audible' instead.
1123 2008-08-05 Tor Lillqvist <tml@novell.com>
1125 * gtk/updateiconcache.c (write_bucket): Enclose ?: expression
1126 with parens so cast covers all of it.
1128 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1130 Bug 382291 – Automatically dim the combobox when the model is empty
1133 * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
1134 property with getter and setter to control the sensitity of
1135 empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
1136 Christian Dywan and others.
1138 * README.in: Add a note about automatic combobox sensitivity.
1140 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1142 * gtk/tests/Makefile.am: Skip crossingevents test when
1143 running make check, since it doesn't work on a naked
1146 2008-08-05 Tor Lillqvist <tml@novell.com>
1148 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
1152 * gdk/win32/gdkdnd-win32.c
1153 * gdk/x11/gdkdnd-x11.c: Change return value and type of window id
1154 from guint32 to GdkNativeWindow for
1155 gdk_drag_get_protocol_for_display() and
1156 gdk_drag_get_protocol(). This is not an API break on existing
1157 platforms, as GdkNativeWindow has been guint32 for them
1160 * gdk/gdkselection.h
1161 * gdk/gdkselection.c
1162 * gdk/win32/gdkselection-win32.c
1163 * gdk/x11/gdkselection-x11.c: Ditto for the requestor window id
1164 parameter of gdk_selection_send_notify_for_display() and
1165 gdk_selection_send_notify().
1167 * gdk/win32/gdkcursor-win32.c
1168 * gdk/win32/xcursors.h: Change some gchar* to guchar* and vice
1169 versa to avoid gcc 4.4 signedness warnings.
1171 * gdk/win32/gdkevents-win32.c
1172 * gdk/win32/gdkproperty-win32.c
1173 * gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
1174 casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom
1175 values in debugging output using the %p format.
1177 * gdk/win32/gdkkeys-win32.c
1178 * gdk/win32/gdkfont-win32.c
1179 * gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings.
1181 * gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of
1184 * gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a
1188 * gtk/gtkwindow.c: Change the type of the xid parameter of the
1189 internal gtk_window_remove_embedded_xid() and
1190 gtk_window_add_embedded_xid() functions from guint to
1193 * gtk/gtkwindow.c (send_client_message_to_embedded_windows):
1194 Instead of GPOINTER_TO_UINT(), just cast the gpointer to
1195 GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
1198 2008-08-05 Tor Lillqvist <tml@novell.com>
1200 * gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long,
1201 before doing bit tests on them.
1203 2008-08-05 Tor Lillqvist <tml@novell.com>
1205 * configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit
1206 Windows, too. It just makes more sense, as a HWND *is* a kind of
1209 * gdk/gdkconfig.h.win32: Ditto here.
1211 2008-08-04 Björn Lindqvist <bjourne@gmail.com>
1213 Bug 534979 – GtkImageMenuItem is a bin but has two children.
1215 * gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
1216 include the image widget when iterating over non-internal
1217 children. Patch by rainwoodman.
1219 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1223 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1225 * configure.in: Bump glib dependency to 2.17.6
1227 2008-08-04 Michael Natterer <mitch@imendio.com>
1232 * gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
1234 * gtk/gtktext.c: ditto, apart from the text cruft APIs.
1236 2008-08-04 Michael Natterer <mitch@imendio.com>
1238 * gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
1239 "gdkrgb" is in the debug flags.
1241 * gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
1242 here, this function is deprecated and the debug flag didn't work
1243 when using GDK properly.
1245 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1247 * gtk/gtkicontheme.c: Update to handle GEmblem.
1249 2008-08-04 Michael Natterer <mitch@imendio.com>
1251 * tests/prop-editor.c: undeprecate (apart from still using
1254 2008-08-04 Michael Natterer <mitch@imendio.com>
1256 * gtk/gtkseparatortoolitem.c
1257 * tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
1259 * gtk/gtkcalendar.c (calendar_set_display_option): use
1260 gtk_calendar_set_display_options() instead of the deprecated
1261 gtk_calendar_display_options().
1263 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1265 * gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
1267 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1269 * gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background
1270 to be the GtkNotebook background color. This is a workaround to
1271 prevent black pixels in rounded tabs when reordering. Improves
1274 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1277 * gtk/gtkfilechooserbutton.[ch]:
1278 * gtk/gtkfilechooserdefault.[ch]:
1279 * gtk/gtkfilechooserdialog.[ch]:
1280 * gtk/gtkfilechooserwidget.[ch]: Deprecate
1281 gtk_file_chooser_*_new_with_backend(), since GIO is already used
1282 directly. Fixes #545976.
1284 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1287 * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
1289 * gtk/gtkfilechooserbutton.c:
1290 * gtk/gtkfilechooserdefault.c:
1291 * gtk/gtkfilechooserutils.c: Update to use public GFile API.
1293 2008-08-04 Michael Natterer <mitch@imendio.com>
1295 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
1297 Fix pltcheck.sh by restricting the visibility of deprecated
1298 symbols to the places where they are actually used:
1304 * gtk/gtkprogressbar.c
1306 * gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
1307 __GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
1314 * gtk/gtkprogress.h: make the headers visible if the respective
1315 __GTK_FOO_C__ are defined.
1317 2008-08-04 Michael Natterer <mitch@imendio.com>
1321 * gtk/gtkoldeditable.c
1323 * gtk/gtktipsquery.c
1325 * gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
1327 2008-08-04 Michael Natterer <mitch@imendio.com>
1331 * gtk/gtkitemfactory.[ch]
1332 * gtk/gtkobject.[ch]
1333 * gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
1335 2008-08-04 Sven Neumann <sven@gimp.org>
1337 * gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
1338 color when the "visited" state is changed.
1340 2008-08-04 Michael Natterer <mitch@imendio.com>
1342 * gtk/gtkwindow.c: move the code of the deprecated
1343 gtk_window_set_policy() to a new private function
1344 gtk_window_set_policy_internal() and call it from
1345 gtk_window_set_policy().
1347 (gtk_window_set_resizable): use the new internal function in order
1348 to avoid our own deprecated public API.
1350 2008-08-04 Michael Natterer <mitch@imendio.com>
1352 * gtk/gtkbindings.c: move the code of the deprecated
1353 gtk_binding_entry_clear() to a new private function
1354 gtk_binding_entry_clear_internal() and call it from
1355 gtk_binding_entry_clear().
1357 (_gtk_binding_entry_add_signall)
1358 (gtk_binding_parse_bind): use the new internal function in order
1359 to avoid our own deprecated public API.
1361 2008-08-04 Michael Natterer <mitch@imendio.com>
1363 * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font):
1364 avoid our own deprecated public API and use
1365 gtk_font_selection_get_font_internal() instead of
1366 gtk_font_selection_get_font().
1368 (gtk_font_selection_get_font)
1369 (gtk_font_selection_dialog_get_font): Add missing
1370 "Deprecated: 2.0" to the api doc comments.
1372 2008-08-04 Michael Natterer <mitch@imendio.com>
1374 * gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES.
1376 2008-08-04 Tor Lillqvist <tml@novell.com>
1378 * configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
1379 Windows. AC_SUBST it.
1382 * gtk/Makefile.am: Pass appropriate -machine flag to lib.exe.
1384 2008-08-04 Tor Lillqvist <tml@novell.com>
1386 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
1388 * configure.in: On Win64, define GDK_NATIVE_WINDOW_POINTER.
1390 * gdk/gdkconfig.h.win32: Ditto here.
1392 2008-08-04 Tor Lillqvist <tml@novell.com>
1394 * gtk/gtkstatusicon.c: Fix typo in Win32 and Quartz code:
1395 s/gtk_icon_icon_info_load_icon/gtk_icon_info_load_icon/ .
1397 2008-08-04 Tor Lillqvist <tml@novell.com>
1399 * configure.in: Don't bother with the test "if gio can sniff png"
1400 if $gio_can_sniff has been already set. Preset it to "no" for
1401 Win32. This helps cross-compilation from 32-bit Windows to 64-bit,
1402 or from Unix to Windows in general. No idea how this should be
1403 handled for cross-compilation in general.
1405 2008-08-04 Tor Lillqvist <tml@novell.com>
1407 * gdk/win32/gdkdisplay-win32.c: Don't bother looking up
1408 EnumDisplayMonitors and GetMonitorInfoA dynamically, they are
1409 present in NT-based Windows since Windows 2000.
1410 (enum_monitor): For some reason the MONITORINFOEX struct in
1411 mingw-win64 is different than the proper one as in MSDN and 32-bit
1412 mingw, so just copy the proper definition here.
1414 2008-08-03 Björn Lindqvist <bjourne@gmail.com>
1416 Bug 540379 – gtk_tree_view_enable_model_drag_dest and
1417 gtk_tree_view_enable_model_drag_source unsets reorderable property
1419 * gtk/gtktreeview.c: Improve docstrings regarding reorderable
1422 2008-08-03 Matthias Clasen <mclasen@redhat.com>
1424 * gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon.
1426 2008-08-03 Matthias Clasen <mclasen@redhat.com>
1428 Bug 546128 – Weirz string
1430 * gtk/gtksettings.c: Add a translator hint.
1431 Requested by Ignacio Casal Quinteiro
1433 2008-08-02 Tor Lillqvist <tml@novell.com>
1435 Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings
1437 * gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug
1438 potential leak. Thanks to Morten Welinder.
1440 2008-08-02 Tor Lillqvist <tml@novell.com>
1442 * gtk/gtkprint-win32.c
1443 * gtk/gtkprint-win32.h
1444 * gtk/gtkprintoperation-win32.c: Cosmetic fixups after patch
1447 2008-08-02 Tor Lillqvist <tml@novell.com>
1449 Bug 339699 - implement gtk_print_operation_set_show_dialog for
1452 * gtk/gtkprint-win32.c
1453 * gtk/gtkprint-win32.h
1454 * gtk/gtkprintoperation-win32.c: Patch by ecyrbe@gmail.com.
1456 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1458 Bug 544302 – GtkStatusIcon should support GIcon
1461 * gtk/gtkstatusicon.[hc]: Add GIcon support to GtkStatusIcon.
1462 Patch by Christian Dywan
1464 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1466 Bug 429427 – Add "arrow-spacing" style property to GtkRange
1468 * gtk/gtkrange.c: Add an arrow-spacing style property.
1469 Patch by Carlos Garnacho and Christian Dywan
1471 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1473 Bug 429411 – add style properties to set minimum progressbar
1476 * gtk/gtkprogressbar.c: Add style properties for minimum size.
1477 Patch by Carlos Garnacho and Christian Dywan
1479 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1481 Bug 526575 – Missing return type in gtk_ui_manager_get_toplevels
1484 * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Improve
1487 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1489 Bug 523950 – GtkTreeModelFilter's visible function may get an empty
1492 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
1493 Explain and show how iterators pointing to empty rows should be
1494 handled in the visible function. Patch by Björn Lindqvist
1496 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1498 Bug 539733 – No way to control treeview separator height
1500 * gtk/gtktreeview.c: Respect the wide-separators and
1501 separator-height style properties when drawing separators.
1502 Patch by Christian Dywan
1504 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1506 Bug 65818 – rename gtk_window_set_default() and add getter for it
1509 * gtk/gtkwindow.[hc]: Rename gtk_window_get_default to
1510 gtk_window_get_default_widget. Patch by Christian Dywan
1512 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1514 Bug 344383 – use po/LINGUAS
1516 * po/LINGUAS: New file, to make translators happy.
1517 * configure.in: Use po/LINGUAS
1518 * po/Makefile.in.in: Add po/LINGUAS to DISTFILES
1519 Patch by Claude Paroz
1521 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1523 * gdk/gdkapplaunchcontext.c: Improve the docs
1525 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1527 Bug 545931 – small documentation typos
1529 * gtk/gtkcomboboxentry.c: Fix some typos in the documentation.
1531 2008-08-01 Hans Breuer <hans@breuer.org>
1533 * gdk/makefile.msc : build gdkwindowimpl
1535 * gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
1538 * tests/makefile.msc : update
1540 2008-07-31 Cody Russell <bratsche@gnome.org>
1542 Bug 56070 – Can't click button after setting it sensitive.
1544 * gtk/gtkwidget.[ch]
1549 * gdk/gdkevents.h: Synthesize crossing events events where necessary.
1551 * gtk/tests/crossingevents.c: Add unit tests for crossing events.
1553 Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
1554 has worked on and helped out with this.
1556 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1558 Bug 424207 – printing hangs on unreachable cups server
1560 * modules/printbackends/cups/gtkcupsutils.[hc]: Implement a
1561 non-blocking test for reachability of the cups server.
1563 * modules/printbackends/cups/gtkprintbackendcups.c: Don't block
1564 while trying to get the default printer. Patch by Marek Kasik.
1566 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1568 * modules/input/gtkimcontextmultipress.c: Use a second-granularity
1569 timer for automatic commit.
1571 * gtk/gtkclipboard.c (gtk_clipboard_store): Use a second-grandularity
1572 timer for the store timeout.
1574 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1577 * gdk/gdk.symbols: Complete the set of thread-safe timeout function
1578 with second-granularity versions. Patch by Marek Kasik.
1580 2008-07-30 Tor Lillqvist <tml@novell.com>
1582 * gtk/gtkprintoperation-win32.c: Fix problems in handling custom
1583 paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in
1584 tenths of a millimeter, and the RECT passed to CreateEnhMetaFile()
1585 is in hundredths of a millimeter. Patch by Sven Neumann.
1587 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1589 * gtk/gtktreemodel.c: Small doc improvements.
1591 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1593 * configure.in: Bump GLib requirement to 2.17.5 for GEmblemedIcon
1595 * gtk/gtkicontheme.c: Support rendering GEmblemedIcons.
1597 2008-07-27 Sven Herzberg <sven@imendio.com>
1599 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
1601 * gtk/Makefile.am: explicitly include the moved header in EXTRA_DIST
1603 2008-07-25 Murray Cumming <murrayc@murrayc.com>
1605 * gtk/gtkstatusicon.c (gtk_status_icon_class_init):
1606 Documented the activate and popup-menu signals as being for use
1607 by applications and language bindings, though they are G_SIGNAL_ACTION,
1608 as stated in bug #361561.
1610 2008-07-24 Sebastien Bacher <seb128@ubuntu.com>
1612 * modules/printbackends/cups/gtkprintbackendcups.c:
1613 (cups_printer_get_options): don't try free gettext() values,
1614 fix a printing dialog crasher (bug 544390)
1616 2008-07-24 Cody Russell <bratsche@gnome.org>
1618 Bug 544510 – SetTimer callback signatures has the wrong type
1620 * gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and
1621 sync_timer_proc() to use UINT_PTR for the 'id' parameter
1622 instead of 'id'. Patch by Richard Hult.
1624 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1626 Bug 543915 – "Sole completion" translation issue
1628 * gtk/gtkfilechooserentry.c: Add translator hints to a
1629 bunch of strings. Requested by Andre Klapper
1631 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1633 Bug 544265 – GDK assumes XFIXES extension
1635 * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
1636 Only call XFixes functions if the server has the extension.
1637 Reported by Ian Turner.
1639 2008-07-22 Matthias Clasen <mclasen@redhat.com>
1641 * configure.in: Compare two content types, not content type
1644 2008-07-22 Sven Herzberg <sven@imendio.com>
1646 Fix svn:ignore and the include condition
1648 * gdk/tests/check-gdk-cairo.c: ifndef => ifdef
1650 2008-07-22 Tor Lillqvist <tml@novell.com>
1652 * configure.in: Workaround for what apparently is a bug in MSYS:
1653 returning -1 from main() is misinterpreted as exit status 0, so
1654 make sure we return 0 or 1. (The net effect of the bug was that no
1655 image loading worked on Windows.)
1657 2008-07-22 Sven Herzberg <sven@imendio.com>
1659 Add a test for my fixes from July 20th.
1661 * configure.in: create gdk/tests/Makefile
1662 * gdk/Makefile.am: include the tests subfolder
1663 * gdk/tests/Makefile.am: create and run my test
1664 * gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
1665 (passes at least for x11 and quartz backends)
1667 2008-07-22 Frederic Crozat <fcrozat@mandriva.com>
1669 * gdk/x11/gdkscreen-x11.c: Don't use RandR 1.2
1670 if driver is detected as randr12_compat (ie X driver
1671 is not RandR 1.2 compliant). Fixes multihead with
1672 such drivers. Bug #543317.
1674 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1676 * configure.in: Default to linking against Xinerama again,
1677 so that we can fallback to Xinerama when broken X drivers
1678 make Xrandr useless. Sigh.
1680 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1682 * configure.in: Bump version
1684 * === Released 2.13.5 ===
1686 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1688 * gtk/gtktestutils.c:
1689 * gtk/gtkscalebutton.c:
1690 * gtk/gtkmessagedialog.c:
1692 * gtk/gtkcontainer.c:
1693 * gtk/gtkcolorseldialog.c:
1694 * gtk/gtkaccelgroup.c:
1696 * gtk/gtkfontsel.c: Fix some doc problems.
1698 2008-07-21 Michael Natterer <mitch@imendio.com>
1700 * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
1701 the deprecated gtk_box_pack_start_defaults().
1703 * gtk/gtkbindings.c (gtk_binding_entry_add_signal)
1704 (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
1705 instead of the deprecated gtk_binding_entry_add_signall().
1707 2008-07-21 Emmanuele Bassi <ebassi@gnome.org>
1709 * gtk/gtkrecentmanager.c:
1710 (recent_app_info_new), (recent_app_info_free): Use GSlice to
1711 allocate the application data for recently used resources;
1712 do not call time() to initialize the timestamp, as it will
1713 be overwritten anyway later. (#535223, Michael Meeks)
1715 2008-07-21 Kristian Rietveld <kris@gtk.org>
1717 Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
1719 * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
1720 for width_changed != NULL. (Patch by Josselin Mouette).
1722 2008-07-21 Michael Natterer <mitch@imendio.com>
1724 Bug 442042 – GtkScaleButton is too limited
1726 * tests/testvolumebutton.c: forgot to commit code that tests
1727 toggling the button's orientation. Also fixes the file's coding
1730 2008-07-21 Cody Russell <bratsche@gnome.org>
1732 Bug 153567 – Repaint glitches in widgets
1734 * gdk/win32/gdkevents-win32.c: Set a sync timer when
1735 we receive WM_SYNCPAINT, and RedrawWindow() once
1738 2008-07-21 Michael Natterer <mitch@imendio.com>
1740 * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
1741 g_signal_override_class_handler() instead of
1742 g_signal_override_class_closure().
1744 * gtk/gtktextview.c (gtk_text_view_class_init): ditto.
1746 (gtk_text_view_compat_move_focus): chain up using
1747 g_signal_chain_from_overridden_handler() instead of the generic
1748 g_signal_chain_from_overridden() which needs manual fiddling with
1749 millions of GValues.
1751 2008-07-21 Michael Natterer <mitch@imendio.com>
1753 * gtk/gtkuimanager.c: remove redundant include.
1755 2008-07-21 Michael Natterer <mitch@imendio.com>
1757 * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
1759 * gtk/gtkfilechooserdefault.c
1761 * gtk/gtkmenushell.c
1762 * gtk/gtkscalebutton.c
1765 * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
1766 some missing I_() to the signal names.
1768 2008-07-21 Michael Natterer <mitch@imendio.com>
1770 * gtk/gtkspinbutton.c: remove g_return_if_fail() from private
1771 functions and virtual function implementations. Some minor
1774 2008-07-20 Andre Klapper <a9016009@gmx.de>
1776 Bug 543915 - translation issues
1778 * modules/printbackends/cups/gtkprintbackendcups.c:
1779 Add translator comments for several strings.
1781 2008-07-20 Sven Herzberg <sven@imendio.com>
1783 reviewed by: Richard Hult
1785 Fixes #543868: GdkPixmap is upside down on quartz
1787 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
1788 coordinate space from GTK+ orientation to CoreGraphics orientation
1789 before calling CoreGraphics code
1790 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
1791 coordinate space flipping (we always get it right, now)
1792 * gdk/quartz/gdkpixmap-quartz.c
1793 (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
1794 creating the CGContextRef
1796 2008-07-20 Sven Herzberg <sven@imendio.com>
1798 reviewed by: Richard Hult
1800 Extracted the CGContextRef creation into a virtual function of
1801 GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
1804 * gdk/quartz/gdkdrawable-quartz.c
1805 (gdk_quartz_drawable_get_context): dropped the different
1806 implementations; forward to the virtual function now
1807 * gdk/quartz/gdkdrawable-quartz.h: added the virtual function
1808 * gdk/quartz/gdkpixmap-quartz.c
1809 (gdk_pixmap_impl_quartz_get_context),
1810 (gdk_pixmap_impl_quartz_class_init): implemented get_context()
1811 * gdk/quartz/gdkwindow-quartz.c
1812 (gdk_window_impl_quartz_get_context),
1813 (gdk_window_impl_quartz_class_init): implemented get_context()
1815 2007-08-19 Matthias Clasen <mclasen@redhat.com>
1819 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1821 Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
1822 inside "apply" signal handler
1824 * gtk/gtkassistant.c: Don't emit signals with extra parameters.
1825 Patch by Antti Kaijanmäki
1827 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1829 Bug 543217 – GTK application crashed with directfb backend
1831 * gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
1832 _gdk_visual_init(). Patch by Huimin He.
1834 2008-07-18 Federico Mena Quintero <federico@novell.com>
1836 * gtk/updateiconcache.c (build_cache): If the resulting cache file
1837 would be empty, erase the old cache file as well as the temporary file.
1839 2008-07-18 Federico Mena Quintero <federico@novell.com>
1841 * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
1842 do funny casts to avoid compiler warnings.
1844 * demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
1846 * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
1848 * gtk/gtkmodules.c (load_module): Likewise.
1850 * gtk/gtkselection.c (gtk_selection_convert): Likewise.
1852 * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
1854 * gtk/queryimmodules.c (query_module): Likewise.
1856 * tests/testgtk.c (create_gridded_geometry, create_key_lookup)
1857 (find_widget_at_pointer): Likewise.
1859 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1861 * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
1862 hunk of the previous commit.
1864 2008-07-18 Sven Herzberg <sven@imendio.com>
1866 Make aliasfilecheck.sh pass for the quartz backend, too.
1868 * gtk/Makefile.am: don't include gtkquartz.h in the list of c files
1870 2008-07-17 Runa Bhattacharjee <runabh@gmail.com>
1872 * configure.in: Added Pashto (ps) to ALL_LINGUAS
1874 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1876 Bug 447998 - GtkBuilder does not support building parts of the xml tree
1880 * gtk/gtkbuilderprivate.h:
1881 * gtk/gtkbuilderparser.c:
1883 Add two new functions that allow cherry picking and construct
1884 objects from a ui description file or string.
1886 * gtk/tests/builder.c: tests for the above.
1888 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1890 * gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
1891 signal) case and plug a couple of leaks.
1893 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1895 Bug 543244 – crashes when renaming a bookmark
1897 * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
1898 free a GFile. Reported by Sebastien Bacher
1900 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1902 Bug 339591 – Detect list of availible cover pages
1904 Patch by Marek Kasik:
1905 * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
1906 available cover pages and the default front and back cover pages
1907 from the cups server.
1909 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1911 Bug 384940 – handle rejecting jobs and authentication meaningfully
1913 Patch by Marek Kasik, icons by Mike Langlie:
1915 * gtk/gtkprintbackend.h:
1916 * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
1917 and getters/setters.
1920 * gtk/gtkiconfactory.c:
1922 * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
1924 * modules/printbackends/cups/gtkprintbackendcups.c:
1925 * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
1928 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1930 * configure.in: Add a test to see if GIO can sniff image data,
1931 this should make gdk-pixbuf use its own sniffing again, on OS X.
1933 2008-07-15 Xavier Claessens <xclaesse@gmail.com>
1935 Bug 542523 – GtkTextTag should handle setting properties to NULL
1937 * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
1938 setting it to NULL instead of displaying a warning.
1940 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1942 Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
1944 * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
1945 Call shortcuts_check_popup_sensitivity() every time the
1946 menu is popped up. Problem reported by Hong Jen Yee
1948 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1950 Bug 488766 – GtkFileChooserButton doesn't clear icon after
1951 gtk_file_chooser_unselect_all
1953 * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
1954 the image when the label is set to "(None)". Reported by
1957 * tests/testfilechooserbutton.c: Add an "Unselect all" button.
1959 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1961 Bug 507394 – mem leak from gtk_selection_add_targets
1963 * gtk/gtkoldeditable.c: Free target lists in finalize.
1964 Reported by Christian Persch
1966 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1969 * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.
1971 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1973 * gtk/gtklabel.c: Trivial doc fix.
1975 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1977 Bug 542853 – jasper test fails due to incomplete library arguments
1979 * configure.in: Add -ljpeg when checking for jasper.
1980 Reported by Mike Calmus
1982 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1984 * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek
1987 2008-07-11 Kristian Rietveld <kris@gtk.org>
1989 Bug 316087 - Resizing columns is chaotic
1991 * gtk/gtktreeprivate.h: add new member fields.
1993 * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
1995 (gtk_tree_view_size_allocate_columns): rework the size allocation
1996 mechanism to only recalculate the expand values if the width of the
1997 widget, content or the column configuration has changed,
1998 (gtk_tree_view_size_allocate): move call to size_allocate_columns()
1999 to before the adjustment updates so the proper width is used after
2001 (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
2002 use the column width minus the expand value for the resized width,
2003 (gtk_tree_view_move_column_after): update call to
2004 gtk_tree_view_size_allocate_columns().
2006 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
2007 resized width to FALSE.
2009 * tests/Makefile.am:
2010 * tests/testtreecolumnsizing.c: new interactive test program
2011 for testing column resizing with different column configurations.
2013 2008-07-11 Simos Xenitellis <simos@gnome.org>
2015 * gtk/compose-parse.py:
2016 * gtk/gtkimcontextsimple.c:
2017 Fixed typo for the name of Markus Kuhn, issue mentioned
2018 in bug #321896 (comment 61).
2020 2008-07-11 Simos Xenitellis <simos@gnome.org>
2022 Bug 334418 – Support easy input of ellipsis
2024 * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
2025 that listed the wrong codepoint. Reported by Wouter Bolsterlee.
2027 2008-07-03 Murray Cumming <murrayc@murrayc.com>
2029 * gtk/gtkwidget.c (gtk_widget_set_property): tooltip-text and
2030 tooltip-markup properties: Interpret an empty string as a NULL
2031 string because an empty tooltip is silly. This will help
2032 language bindings that do not bother to have the two types of
2036 2008-07-10 Matthias Clasen <mclasen@redhat.com>
2038 Bug 542234 – iconview a11y implementation segfaults
2040 * gtk/gtkiconview.c: Fix a segfault in the a11y code.
2043 2008-07-08 Christian Neumair <cneumair@gnome.org>
2045 * gtk/gtkuimanager.c (update_node):
2046 Skip update of accelerator child node if it has no associated action.
2049 2008-07-07 Cody Russell <bratsche@gnome.org>
2051 Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack
2053 * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
2054 existing modal hint value before setting it.
2056 2008-07-07 Cody Russell <bratsche@gnome.org>
2058 Bug 540994 – [Win32] Some windows don't appear at the top when created
2060 * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.
2062 I actually already committed this one by accident, probably when I committed
2063 #541305, but just wanted to document it here in the ChangeLog.
2065 2008-07-07 Johan Dahlin <johan@gnome.org>
2067 * gtk/tests/builder.c (test_cell_view):
2068 Add a test case for 528845.
2070 2008-07-07 Tor Lillqvist <tml@novell.com>
2072 * gdk/win32/gdkwindow-win32.c
2073 (gdk_window_foreign_new_for_display): Need to initialise
2074 private->impl here, too.
2076 2008-07-07 Michael Natterer <mitch@imendio.com>
2078 * gtk/gtkfilesystem.c: include the two needed headers instead of
2081 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2083 Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
2086 * gtk/gtkcellview.c: Don't blindly chain up in the buildable
2087 implementation. Reported by Kevin Ryde.
2089 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2091 Bug 469068 – clarify gdk_cairo_create()
2093 * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
2094 contexts cannot be cached for handling expose events.
2095 Proposed by Behdad Esfahbod.
2097 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2099 Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups
2101 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
2102 that the tooltip is set as markup. Proposed by Czirkos Zoltan.
2104 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2106 Bug 510225 – gtk_widget_get_composite_name retval should be freed
2108 * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
2109 docs. Pointed out by Wolfgang Oertl
2111 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2113 Bug 531129 – gtk_style_copy() does not include a return value or
2116 * gtk/gtkstyle.c: Document gtk_style_copy.
2118 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2120 Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
2121 Bug 513580 – Broken link in GTK+ FAQ
2123 * docs/faq/gtk-faq.sgml: Remove or update some outdated links.
2125 2008-07-07 Christian Dywan <christian@imendio.com>
2127 * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
2128 erroneously added g_return_if_fail (bug #541811).
2130 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2132 Bug 343663 – source-buffer highlighting highlights "char" in
2133 gtk_text_iter_forward_char
2135 * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.
2137 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2139 Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
2141 * gtk/gtksettings.c: Improve the documentation of the
2142 gtk-icon-sizes setting. Proposed by Tommi Komulainen.
2144 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2146 Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
2149 * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
2150 Check that the cursor is over a valid date before retrieving
2151 its details. Patch by Chris Wilson
2153 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2155 Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
2157 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
2158 64-bit brokenness. Reported by Christian Hammond.
2160 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2162 Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
2165 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
2166 Be more robust. Reported by Jelte van der Hoek
2168 2008-07-06 Matthias Clasen <mclasen@redhat.com>
2170 Bug 540917 – deprecate pack_start_defaults()
2173 * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
2174 Proposed by Owen Taylor
2176 2008-07-05 Matthias Clasen <mclasen@redhat.com>
2178 * configure.in: Bump version
2180 2008-07-05 Matthias Clasen <mclasen@redhat.com>
2182 * === Released 2.13.4 ===
2184 2008-07-05 Michael Natterer <mitch@imendio.com>
2186 * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
2187 deprecated section because it isn't deprecated.
2189 2008-07-05 Michael Natterer <mitch@imendio.com>
2191 * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
2192 other include weirdness in this file.
2194 2008-07-05 Matthias Clasen <mclasen@redhat.com>
2198 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2200 * gtk/gtkiconview.c:
2202 * gtk/gtkscalebutton.c: Small doc fixes.
2204 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2207 * gdk/x11/gdktestutils-x11.c: Small doc fixes
2209 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2211 * gtk/tests/defaultvalue.c: Omit some more untestable properties.
2213 * gtk/gtkmenu.c: Fix the initial value of the monitor property.
2215 * gtk/gtkentry.c: Fix the property getter for text-length property.
2217 * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
2219 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2221 * gtk/gtkmenu.c: Debork the attach-widget property.
2223 2008-07-04 Michael Natterer <mitch@imendio.com>
2227 * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
2237 * gtk/gtkoldeditable.c
2240 * gtk/gtktipsquery.c
2242 * gtk/gtktreeitem.c: don't #define it again before including
2243 gtkalias.h after it has been #undef'ed before.
2245 2008-07-04 Michael Natterer <mitch@imendio.com>
2247 * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
2248 to FALSE instead of 0.
2250 2008-07-04 Michael Natterer <mitch@imendio.com>
2252 Allocate with GSlice:
2254 * gtk/gtkassistant.c: GtkAssistantPage
2255 * gtk/gtkcellview.c: GtkCellViewCellInfo
2256 * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
2257 * gtk/gtkfilefilter.c: FilterRule
2258 * gtk/gtknotebook.c: GtkNotebookPage
2260 2008-07-04 Michael Natterer <mitch@imendio.com>
2262 * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
2264 2008-07-04 Michael Natterer <mitch@imendio.com>
2266 * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
2267 variable to GtkWidget fo fix two warnings.
2269 2008-07-04 Michael Natterer <mitch@imendio.com>
2271 Bug 539944 – Add GtkScaleButton API so struct fields can be marked
2275 * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
2276 and _get_minus_button(). Patch by Christian Dywan.
2278 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2280 * gtk/gtkscalebutton.c:
2282 * gdk/gdkwindowimpl.c: Fix make check.
2284 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2286 Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
2287 constructed using GtkUIManager
2289 * gtk/gtkmenuitem.c: Fall back to the default positioning when
2290 the menuitem is not realized. Patch by Björn Lindqvist.
2292 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2294 Bug 540612 – mem leak in filechooser
2296 * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
2297 Patch by Christian Persch.
2299 2008-07-04 Tor Lillqvist <tml@novell.com>
2301 Bug 540861 - invalid UTF-8 in input device name
2303 * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
2304 Unicode, and convert to UTF-8 for the GdkDevice's name field.
2306 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2308 Bug 538863 – Fixes assertion on entering empty folder
2310 * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
2311 select the first row if the folder is empty.
2312 Patch by Olle Bergkvist.
2314 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2316 Bug 540915 – GtkBuilder sets properties in reverse order
2318 * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order
2319 in which they are specified in the xml file.
2321 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2323 Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
2327 * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
2328 accessor for the popup. Patch by Christian Dywan
2330 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2332 Bug 535498 – Printing demo broken
2334 * demos/gtk-demo/printing.c: Use monospace as font name,
2335 not mono. Also use the right advance when moving from line to line.
2336 Patch by Yevgen Muntyan.
2338 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2340 Bug 538547 – Update doc-shooter in gtk documentation
2342 * docs/tools/Makefile.am:
2343 * docs/tools/folder.png:
2344 * docs/tools/gnome.png: New images
2346 * docs/tools/widgets.c: Use the new images.
2347 Patch by Baptiste Mille-Mathias.
2349 2008-07-03 Michael Natterer <mitch@imendio.com>
2351 * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
2352 names of binding signal implementations.
2354 2008-07-03 Li Yuan <li.yuan@sun.com>
2356 * gail-uninstalled.pc.in:
2357 Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
2359 2008-07-03 Cody Russell <bratsche@gnome.org>
2361 Bug 540529 – Remove all GIMP references
2365 * gtk+-unix-print-2.0.pc.in:
2366 * gtk+-2.0-uninstalled.pc.in:
2367 * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
2368 GTK+ Graphical UI Library in the pkg-config files.
2370 2008-07-02 Cody Russell <bratsche@gnome.org>
2372 Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
2374 * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
2377 * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
2378 * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
2381 2008-07-02 Cody Russell <bratsche@gnome.org>
2383 Bug 541249 – [Win32] Fix some internal static methods
2385 * gdk/gdkwindow-win32.c: Make the interface implementation methods
2388 2008-07-02 Michael Natterer <mitch@imendio.com>
2390 Bug 537591 – Don't hardcode minimum width of menuitems
2392 * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
2393 introduces a "width-chars" style property which replaces the
2394 hardcoded minimum width of menuitems with submenu. Patch
2395 extracted from Maemo-GTK+.
2397 2008-07-02 Michael Natterer <mitch@imendio.com>
2399 * gtk/gtkfilechooserdefault.c: remove some of the million includes.
2401 2008-07-02 Kristian Rietveld <kris@imendio.com>
2403 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
2404 Since s/2.16/2.14/ for the new gicon property.
2406 2008-07-02 Kristian Rietveld <kris@imendio.com>
2408 Bug 455268 - Add gtk-enable-tooltips GtkSetting
2411 * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
2413 * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
2415 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
2416 introduced XSetting into account.
2418 * demos/gtk-demo/appwindow.c: don't use the now deprecated
2419 gtk_toolbar_set_tooltips().
2421 2008-07-02 Cody Russell <bratsche@gnome.org>
2423 Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
2425 * gdk/win32/gdkprivate-win32.h:
2426 * gdk/win32/gdkgeometry-win32.c:
2427 * gdk/win32/gdkevents-win32.c:
2428 * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
2429 the newly refactored GdkWindow code.
2431 2008-07-01 Cody Russell <bratsche@gnome.org>
2433 Bug 539164 – Windows' System Menu blocks main loop
2435 * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
2436 receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
2437 GLib mainloop from there.
2439 2008-07-01 Richard Hult <richard@imendio.com>
2441 Some aftermath from the window impl cleanups:
2443 * gdk/quartz/gdkwindow-quartz.c:
2444 (gdk_window_merge_child_input_shapes): Rename and export again.
2445 (gdk_window_quartz_get_offsets): Make static.
2447 2008-07-01 Michael Natterer <mitch@imendio.com>
2449 * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
2451 2008-07-01 Matthias Clasen <mclasen@redhat.com>
2453 539790 – [PATCH] Please add three new settings to GtkSettings
2455 * gdk/x11/gdksettings.c:
2456 * gtk/gtksettings.c: Add event sound settings.
2457 Patch by Lennart Poettering.
2459 2008-07-01 Matthias Clasen <mclasen@redhat.com>
2461 Bug 434535 – printoperation's create_surface doesn't check temp file
2462 creation for success
2464 Patch by Marek Kasik:
2466 * gtk/gtkprintoperation-unix.c
2467 (_gtk_print_operation_platform_backend_create_preview_surface):
2468 Handle failure to create temp file by returning NULL.
2470 * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
2471 Return FALSE if surface creation fails.
2473 (print_pages): If the preiew signal is not handled, show an
2476 2008-07-01 Michael Natterer <mitch@imendio.com>
2478 Bug 442042 – GtkScaleButton is too limited
2480 * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
2481 property that can be changed at any time after widget
2482 creation. Add public API for it.
2484 * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
2486 2008-06-30 Michael Natterer <mitch@imendio.com>
2488 Some unrelated cleanups found while reviewing
2489 the offscreen window patch:
2491 * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
2492 functions, fix some function header indentation, update
2493 documentation of redirect_to_drawable().
2495 * gdk/x11/gdkwindow-x11.c
2496 * gdk/x11/gdkpixmap-x11.c: fix function header
2497 formatting/indentation.
2499 * gtk/gtkwidget.c: use I_() on "damage_event".
2501 2008-06-30 Michael Natterer <mitch@imendio.com>
2503 * gdk/gdkinternals.h: remove duplicate declaration of
2506 2008-06-30 Michael Natterer <mitch@imendio.com>
2508 * gdk/Makefile.am: reorder source lists alphabetically.
2510 2008-06-30 Matthias Clasen <mclasen@redhat.com>
2512 Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
2514 * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
2515 Patch by Owen Taylor
2517 2008-06-29 Behdad Esfahbod <behdad@gnome.org>
2519 Bug 530255 – GtkAboutDialog cuts off comments label
2520 Followup patch from Jan Arne Petersen
2522 * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
2524 2008-06-28 Michael Natterer <mitch@imendio.com>
2526 * gtk/gtkselection.h: properly indent the newly added
2527 GtkSelectionData accessors. Some newlines can't hurt either.
2529 2008-06-27 Mikael Hallendal <micke@imendio.com>
2531 * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
2533 2008-06-27 Mikael Hallendal <micke@imendio.com>
2535 * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
2536 Factored out gtk_box_pack from gtk_box_pack_start and use it from both
2537 pack_start and pack_end in order to reduce the code duplication.
2539 2008-06-27 Michael Natterer <mitch@imendio.com>
2541 Bug 442042 – GtkScaleButton is too limited
2543 * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
2544 "gtk-scalebutton-popup-window" on the popup window so it is
2547 2008-06-27 Kristian Rietveld <kris@imendio.com>
2549 * gdk/quartz/gdkgeometry-quartz.c:
2550 * gdk/quartz/gdkwindow-quartz.c:
2551 * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
2554 2008-06-27 Carlos Garnacho <carlos@imendio.com>
2556 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
2557 critical warnings. Bug #539470.
2559 2008-06-27 Emmanuele Bassi <ebassi@gnome.org>
2561 Abstract some GdkWindow API into an interface that the backends
2562 must implement. (based on a patch by Alex Larsson)
2564 * gdk/Makefile.am: Add gdkwindowimpl.[ch]
2566 * gdk/gdk.symbols: Move symbols around.
2568 * gdk/gdkinternals.h:
2569 * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
2570 from the backends to a GInterface that the backends should implement
2573 * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
2574 wrapper call around the GdkWindowImpl interface vtable.
2576 * gdk/x11/gdkevents-x11.c:
2577 * gdk/x11/gdkgeometry-x11.c:
2578 * gdk/x11/gdkprivate-x11.h:
2579 * gdk/x11/gdkwindow-x11.c:
2580 * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
2581 the GdkWindowImpl interface.
2583 2008-06-27 Martyn Russell <martyn@imendio.com>
2585 Bug 540318 - Invalid URL
2587 * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
2588 in the warning produced here.
2590 2008-06-27 Michael Natterer <mitch@imendio.com>
2592 Bug 442042 – GtkScaleButton is too limited
2594 * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
2595 stuff that is part of the public API continues to be created in
2596 init() to stay compatible. Move creating of the popup scale to
2597 constructor(). Add an internal HScale class. Changed popup
2598 positioning for horizontal scales accordingly.
2600 2008-06-26 Michael Natterer <mitch@imendio.com>
2602 * gtk/gtkscalebutton.c
2603 * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
2604 prototypes, remove redundant includes, remove a little trailing
2607 2008-06-26 Richard Hult <richard@imendio.com>
2609 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2611 (_gtk_quartz_get_selection_data_from_pasteboard),
2612 (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
2613 Christian Dywan to clean up selection data setting.
2615 2008-06-26 Richard Hult <richard@imendio.com>
2617 * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
2618 deprecated function gtk_widget_ref, replace with g_object_ref.
2620 2008-06-26 Michael Natterer <mitch@imendio.com>
2622 * gtk/gtkfilesystem.c: #include "config.h"
2624 2008-06-26 Carlos Garnacho <carlos@imendio.com>
2626 * gtk/gtkfilechooserdefault.c
2627 (gtk_file_chooser_default_get_current_folder): current_folder can be
2628 NULL here, do not try to reference it (Bug #540235)
2629 (gtk_file_chooser_default_get_files): Deal better with
2630 gtk_file_chooser_default_get_current_folder() being able to return
2633 2008-06-26 Michael Natterer <mitch@imendio.com>
2635 * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
2636 allocate the GtkTextUtilCallbackInfo structs with GSlice.
2638 2008-06-25 Michael Natterer <mitch@imendio.com>
2640 * gtk/gtktypeutils.h: there is no reason to include
2641 <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
2642 replacing the <glib-object.h> include. Also move the remaining few
2643 non-deprecated things to the top and move some deprecated things
2644 around to clean up the mess with too many deprecated sections even
2647 2008-06-24 Michael Natterer <mitch@imendio.com>
2649 * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
2650 (also for GTK_COMPILATION). Move some deprecated typedefs around
2651 to reduce the mess with zillions of deprecated sections.
2653 * gtk/gtkmain.c (do_post_parse_initialization): replace the call
2654 to gtk_type_init() by g_type_init() and gtk_object_get_type() even
2655 though the latter is probably completely pointless.
2657 2008-06-24 Michael Natterer <mitch@imendio.com>
2659 * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
2660 the dialog's vbox was added (bug #539732).
2662 2008-06-24 Carlos Garnacho <carlos@imendio.com>
2664 * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
2665 thought for handling non-direct children. Fixes #539732.
2666 (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
2667 doesn't provide enough control to API users (removing, reordering...),
2668 this is better handled through:
2669 (gtk_dialog_get_content_area): New function which just returns
2671 * gtk/gtk.symbols: Modify accordingly.
2672 * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
2673 using gtk_dialog_get_[action|content]_area() instead of accessing
2674 dialog struct members directly.
2676 2008-06-24 Michael Natterer <mitch@imendio.com>
2678 * gtk/gtkassistant.h
2679 * gtk/gtkcellrenderer.h
2680 * gtk/gtkfilechooserentry.h
2684 * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
2685 if there is any other widget included, they all have to include
2686 their respective parent classes (the is-a relation works for
2689 2008-06-24 Michael Natterer <mitch@imendio.com>
2691 * gtk/gtktextutil.h: remove includes from this internal header.
2693 * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
2695 2008-06-23 Michael Natterer <mitch@imendio.com>
2697 * gtk/gtkinvisible.h: formatting.
2699 2008-06-23 Michael Natterer <mitch@imendio.com>
2702 * gtk/gtkbuildable.h
2703 * gtk/gtkbuilderprivate.h
2704 * gtk/gtkcelllayout.h
2705 * gtk/gtkentrycompletion.h
2706 * gtk/gtkfilechoosersettings.h
2707 * gtk/gtkfilesystem.h
2708 * gtk/gtkfilesystemmodel.h
2709 * gtk/gtkicontheme.h
2710 * gtk/gtklinkbutton.h
2711 * gtk/gtkpagesetup.h
2712 * gtk/gtkpapersize.h
2713 * gtk/gtkprintcontext.h
2714 * gtk/gtkprintoperation.h
2715 * gtk/gtkprintoperationpreview.h
2716 * gtk/gtkprintsettings.h
2717 * gtk/gtkrecentchooserprivate.h
2718 * gtk/gtkrecentmanager.h
2719 * gtk/gtksearchengine.h
2721 * gtk/gtktreeselection.h
2722 * gtk/gtktreeviewcolumn.h
2723 * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
2724 <glib-object.h>. There is no point in relying on them being pulled
2725 in by other headers in some places and placing them explicitly in
2726 other places, so choose the "as little includes as possible"
2727 approach and get rid of them.
2729 2008-06-23 Kristian Rietveld <kris@imendio.com>
2731 * gdk/gdkenumtypes.h.template:
2732 * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
2733 * gtk/gtktypebuiltins.h.template:
2734 * perf/typebuiltins.h.template: do not hard code the prefix of the
2735 enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
2737 2008-06-23 Michael Natterer <mitch@imendio.com>
2739 * gtk/gtkmountoperation.h
2740 * gtk/gtktestutils.h
2741 * gtk/gtkshow.[ch]: remove as many includes as possible from these
2742 new files. They can't be included individually, so nothing can break.
2744 2008-06-22 Michael Natterer <mitch@imendio.com>
2746 * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
2747 registering the "modifier-mask" property.
2749 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2751 * *.[ch]: Include "config.h" instead of <config.h>
2753 find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
2754 Rubberstamped by Mitch and Tim
2756 2008-06-21 Carlos Garnacho <carlos@imendio.com>
2758 Bug 539466 – GtkMenuShell API/ABI break in trunk.
2760 * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
2761 different name and packing width.
2763 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2765 * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
2768 2008-06-21 Michael Natterer <mitch@imendio.com>
2770 * gdk/gdkapplaunchcontext.h: remove redundant include, fix
2771 indentation, replace header by a GDK copyright header (don't say
2772 "The Gnome Library"), remove trailing whitespace.
2774 2008-06-21 Hans Breuer <hans@breuer.org>
2776 * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible
2777 types - from 'struct _cairo *' to 'struct _cairo_surface *' by
2778 passing the surface to cairo_surface_show_page(), not the context
2779 * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018:
2780 '<' : signed/unsigned mismatch by using guint for the loop
2782 * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is
2783 an uint, gtk_menu_get_active() returns the widget pointer. Convert
2784 the latter to the former by calculating the index in menu::children
2785 Also fix some occurences of g_return_if_fail() where
2786 g_return_val_if_fail() was meant
2788 2008-06-21 Björn Lindqvist <bjourne@gmail.com>
2790 Bug 539363 – Segfault when creating GtkPlugs
2792 * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
2793 property names. "socket window" => "socket-window"
2795 2008-06-20 Jody Goldberg <jody@gnome.org>
2797 * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) :
2798 Fix life cycle to avoid crash. [#536966]
2800 2008-06-20 Hans Breuer <hans@breuer.org>
2802 * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
2803 a value of the appropriate type with g_return_val_if_fail
2805 * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
2807 * gtk/gtkfilesystem.c : don't add the "File System" on win32
2809 * tests/makefile.msc : remove broken autotestfile(system|chooser)
2812 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2814 * gtk/gtkbutton.c: Document a style property
2816 * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
2819 * gtk/gtkcolorsel.c:
2821 * gtk/gtkitemfactory.c:
2822 * gtk/gtknotebook.c:
2823 Fix up deprecated markup syntax. Add version numbers and
2824 a message on the remaning ones.
2826 2008-06-20 Mikael Hallendal <micke@imendio.com>
2828 * tests/testthreads.c: Use g_signal_connect instead of
2831 * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
2832 While the code is not built, people may still look at it.
2834 2008-06-20 Kjartan Maraas <kmaraas@gnome.org>
2836 reviewed by: <Carlos Garnacho <garnacho@gnome.org>
2839 * gtk/gtkliststore.h:
2841 * gtk/gtktextchild.h:
2842 * gtk/gtktreemodelfilter.h:
2843 * gtk/gtktreemodelsort.h:
2844 * gtk/gtktreestore.h:
2845 #include <gdkconfig.h> not <gdk/gdkconfig.h>
2847 2008-06-20 Martyn Russell <martyn@imendio.com>
2849 * gtk/gtkaccelgroup.c: Fix warnings from calling
2850 g_object_notify() on a GtkAccelGroup without casting to a
2853 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2855 * gtk/gtkcolorsel.c: Modernize and order things as most
2856 other objects. Defines at the top, class init before init
2857 before gobject methods before object method before widget
2858 methods. No changes to the logic done.
2860 2008-06-20 Martyn Russell <martyn@imendio.com>
2862 * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
2863 properties that don't exist. Also, make sure we notify for
2864 the "is-locked" property.
2866 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2868 * gtk/gtklayout.c (enum): Remove left-over unused property enum.
2870 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2872 * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
2874 * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
2876 * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
2877 allocation to avoid compiler warnings
2879 2008-06-20 Michael Natterer <mitch@imendio.com>
2881 * gtk/gtkaccellabel.h
2882 * gtk/gtkactiongroup.h
2883 * gtk/gtkalignment.h
2885 * gtk/gtkaspectframe.h
2887 * gtk/gtkhandlebox.h
2888 * gtk/gtkprogressbar.h
2891 * gtk/gtkscalebutton.h
2892 * gtk/gtkselection.h: fix some formatting and spacing uglyness
2893 that got merged from the GSEAL branch.
2895 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2898 * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
2899 * gtk/gtkmessagedialog.h:
2900 Add missing accessor for sealed field GtkMessageDialog->image.
2902 2008-06-20 Michael Natterer <mitch@imendio.com>
2904 * gtk/gtkprinter.h: the GSEAL branch added two includes for no
2907 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2909 * gtk/gtkaccelgroup.c:
2910 * gtk/gtkcolorseldialog.c:
2911 * gtk/gtkcontainer.c:
2913 * gtk/gtkentry.c (gtk_entry_class_init):
2915 * gtk/gtkhandlebox.c:
2917 * gtk/gtkmenu.c (gtk_menu_class_init):
2918 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
2919 * gtk/gtkplug.c (gtk_plug_class_init):
2920 * gtk/gtkselection.c:
2922 * gtk/gtktreeselection.c:
2923 * gtk/gtkwidget.c (gtk_widget_class_init):
2925 Add missing Since: gtk-doc markup for newly added GSEAL API.
2926 Change all Since: GSEAL-branch to Since: 2.14.
2928 2008-06-20 Michael Natterer <mitch@imendio.com>
2930 * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
2931 the code merged from the GSEAL branch.
2933 2008-06-20 Michael Natterer <mitch@imendio.com>
2935 * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
2936 value from GtkHButtonBox to GtkWidget.
2938 2008-06-20 Michael Natterer <mitch@imendio.com>
2940 * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
2943 2008-06-20 Michael Natterer <mitch@imendio.com>
2945 * gtk/gtkwindow.[ch]
2946 * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
2947 gtk_window_group_list_windows().
2949 2008-06-20 12:35:20 +0200 Tim Janik
2951 * Fixed wrongly resolved merge conflicts.
2953 2008-06-19 19:01:41 +0200 Carlos Garnacho
2955 Add gtk_window_group_get_windows().
2958 * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
2960 2008-06-19 18:39:47 +0200 Carlos Garnacho
2962 Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
2964 * gtk/gtkdialog.c: Add missing documentation for new fucntions.
2966 2008-06-19 18:38:35 +0200 Carlos Garnacho
2968 Document gtk_container_get_focus_child().
2970 * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
2972 2008-06-19 13:50:06 +0200 Christian Dywan
2974 Add gtk_plug_get_socket_window
2976 2008-06-19 13:11:52 +0200 Christian Dywan
2978 Remove superflous gtkselection accessors and merge _get_data
2980 2008-06-13 15:56:51 +0200 Christian Dywan
2982 Implement gtk_selection_get_display, style fixes
2984 2008-06-13 15:45:00 +0200 Christian Dywan
2986 Fix indentation of a comment.
2988 2008-06-13 15:10:08 +0200 Christian Dywan
2990 Change docs and signature of gtk_widget_get_allocation
2992 2008-06-13 14:22:17 +0200 Christian Dywan
2994 Remove unneeded GtkColorSelectionDialog accessors
2996 2008-06-13 12:57:54 +0200 Christian Dywan
2998 Fix documentaion of gtk_menu_item_get_accel_path
3000 2008-06-11 13:49:34 +0200 Christian Dywan
3002 Fix gtk_widget_get_allocation
3004 2008-06-07 15:37:18 +0200 Carlos Garnacho
3006 Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
3010 * gtk/gtkcellrenderer.h:
3011 * gtk/gtkcellrenderertext.h:
3012 * gtk/gtkcheckmenuitem.h:
3013 * gtk/gtkcontainer.h:
3015 * gtk/gtkhandlebox.h:
3016 * gtk/gtkimcontextsimple.h:
3018 * gtk/gtkliststore.h:
3020 * gtk/gtkmenuitem.h:
3021 * gtk/gtkmenushell.h:
3022 * gtk/gtknotebook.h:
3025 * gtk/gtkprintjob.h:
3026 * gtk/gtkprogressbar.h:
3029 * gtk/gtkscrolledwindow.h:
3030 * gtk/gtksizegroup.h:
3032 * gtk/gtkspinbutton.h:
3033 * gtk/gtkstatusbar.h:
3035 * gtk/gtktearoffmenuitem.h:
3036 * gtk/gtktextbuffer.h:
3037 * gtk/gtktextview.h:
3038 * gtk/gtktogglebutton.h:
3040 * gtk/gtktreestore.h:
3041 * gtk/gtktreeviewcolumn.h:
3042 * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
3044 2008-06-06 19:02:17 +0200 Christian Dywan
3048 2008-06-06 17:58:21 +0200 Christian Dywan
3050 Seal GtkSelectionData
3052 2008-06-06 17:57:23 +0200 Christian Dywan
3054 Fix GtkDialog, don't add vbox via gtk_container_add.
3056 2008-06-06 13:39:34 +0200 Kristian Rietveld
3058 Make GtkCellRenderer::editing read-only. (Catched by Matthias)
3060 2008-06-03 09:11:50 +0200 Kristian Rietveld
3064 2008-05-30 16:48:12 +0100 Martyn Russell
3066 Seal GtkFontSelection & GtkFontSelectionDialog
3068 2008-05-29 10:35:29 +0200 Kristian Rietveld
3070 Seal GtkTearoffMenuItem.
3072 (the torn_off field is for internal state keeping, you can retrieve
3073 the value from the parent menu's tearoff_state).
3075 2008-05-27 18:34:12 +0200 Christian Dywan
3079 2008-05-27 18:17:44 +0200 Christian Dywan
3083 2008-05-27 15:10:02 +0200 Christian Dywan
3087 2008-05-27 14:17:45 +0200 Christian Dywan
3091 2008-05-27 14:04:31 +0200 Christian Dywan
3095 2008-05-27 12:40:08 +0200 Christian Dywan
3099 2008-05-27 12:39:49 +0200 Christian Dywan
3101 Seal GtkIMMultiContext
3103 2008-05-27 12:39:17 +0200 Christian Dywan
3105 Seal GtkIMContextSimple
3107 2008-05-27 12:14:53 +0200 Christian Dywan
3111 2008-05-27 11:14:21 +0200 Christian Dywan
3115 2008-05-27 10:54:20 +0200 Christian Dywan
3117 Fix the build by including gdkconfig.h in gtkprinter.h.
3119 2008-05-27 10:38:02 +0200 Christian Dywan
3123 2008-05-27 10:20:56 +0200 Christian Dywan
3127 2008-05-26 17:58:19 +0200 Kristian Rietveld
3131 2008-05-26 17:54:56 +0200 Kristian Rietveld
3135 2008-05-26 17:48:23 +0200 Kristian Rietveld
3139 2008-05-26 17:39:38 +0200 Kristian Rietveld
3143 2008-05-26 17:31:06 +0200 Kristian Rietveld
3147 2008-05-26 17:27:22 +0200 Kristian Rietveld
3151 2008-05-26 17:07:43 +0200 Kristian Rietveld
3155 2008-05-26 17:07:37 +0200 Kristian Rietveld
3159 2008-05-26 16:39:27 +0200 Kristian Rietveld
3161 Seal GtkTextTagTable.
3163 2008-05-26 16:34:13 +0200 Kristian Rietveld
3167 2008-05-26 17:08:19 +0200 Christian Dywan
3171 2008-05-26 16:40:05 +0200 Christian Dywan
3175 2008-05-26 16:37:54 +0200 Christian Dywan
3179 2008-05-26 14:09:32 +0200 Kristian Rietveld
3181 Seal priv pointer in GtkToggleToolButton.
3183 2008-05-26 14:04:51 +0200 Kristian Rietveld
3185 Seal priv pointer in GtkUIManager.
3187 2008-05-26 14:01:32 +0200 Kristian Rietveld
3189 Seal priv pointer in GtkToolItem.
3191 2008-05-26 14:01:12 +0200 Kristian Rietveld
3193 Seal priv pointer in GtkToolButton.
3195 2008-05-26 14:00:24 +0200 Kristian Rietveld
3197 Seal priv pointer in GtkToggleAction.
3199 2008-05-26 13:58:01 +0200 Kristian Rietveld
3201 Seal priv pointer in GtkStatusIcon.
3203 2008-05-26 13:57:33 +0200 Kristian Rietveld
3205 Seal priv pointer in GtkSeparatorToolItem.
3207 2008-05-26 13:56:33 +0200 Kristian Rietveld
3209 Seal priv pointer in GtkScaleButton.
3211 2008-05-26 13:55:57 +0200 Kristian Rietveld
3213 Seal priv pointer in GtkRecentManager.
3215 2008-05-26 13:55:25 +0200 Kristian Rietveld
3217 Seal priv pointer in GtkRecentChooserWidget.
3219 2008-05-26 13:54:39 +0200 Kristian Rietveld
3221 Seal priv pointer in GtkRecentChooserMenu.
3223 2008-05-26 13:54:15 +0200 Kristian Rietveld
3225 Seal priv pointer in GtkRecentChooserDialog.
3227 2008-05-26 13:52:40 +0200 Kristian Rietveld
3229 Seal priv pointer in GtkRecentAction.
3231 2008-05-26 13:51:47 +0200 Kristian Rietveld
3233 Seal priv pointer in GtkRadioAction.
3235 2008-05-26 13:50:49 +0200 Kristian Rietveld
3237 Seal priv pointer in GtkPrintUnixDialog.
3239 2008-05-26 13:50:08 +0200 Kristian Rietveld
3241 Seal priv pointer in GtkPrintOperation.
3243 2008-05-26 13:49:41 +0200 Kristian Rietveld
3245 Seal priv pointer in GtkPrinter.
3247 2008-05-26 13:48:49 +0200 Kristian Rietveld
3249 Seal priv pointer in GtkPageSetupUnixDialog.
3251 2008-05-26 13:47:39 +0200 Kristian Rietveld
3253 Seal priv pointer in GtkMenuToolButton.
3255 2008-05-26 13:47:29 +0200 Kristian Rietveld
3257 Add gdkconfig.h include to GtkBuilder for GSEAL macro.
3259 2008-05-26 13:23:45 +0200 Kristian Rietveld
3261 Seal priv pointer in GtkLinkButton.
3263 2008-05-26 13:22:25 +0200 Kristian Rietveld
3265 Seal priv pointer in GtkIconView.
3267 2008-05-26 13:22:04 +0200 Kristian Rietveld
3269 Seal priv pointer in GtkIconTheme.
3271 2008-05-26 13:13:49 +0200 Kristian Rietveld
3273 Seal child_allocation field in GtkFrame.
3275 2008-05-26 13:10:17 +0200 Kristian Rietveld
3277 Sealed priv pointer in GtkFontButton.
3279 2008-05-26 13:07:14 +0200 Kristian Rietveld
3281 Seal priv pointer in GtkFileChooserButton.
3283 2008-05-26 13:06:43 +0200 Kristian Rietveld
3285 Seal priv pointer in GtkExpander.
3287 2008-05-26 13:03:24 +0200 Kristian Rietveld
3289 Sealed remaining (private) fields in GtkContainer.
3291 2008-05-26 13:02:26 +0200 Kristian Rietveld
3293 Seal priv pointer in GtkComboBoxEntry.
3295 2008-05-26 13:01:40 +0200 Kristian Rietveld
3297 Seal priv pointer in GtkComboBox.
3299 2008-05-26 13:00:59 +0200 Kristian Rietveld
3301 Seal private_data pointer in GtkColorSel.
3303 2008-05-26 12:57:50 +0200 Kristian Rietveld
3305 Seal 3 remaining fields in GtkButton.
3307 2008-05-26 12:55:24 +0200 Kristian Rietveld
3309 Seal priv pointer in GtkBuilder.
3311 2008-05-26 12:52:44 +0200 Kristian Rietveld
3313 Seal center_allocation field in GtkAspectFrame.
3315 2008-05-26 12:48:18 +0200 Kristian Rietveld
3317 Seal priv pointer in GtkAction.
3319 2008-05-26 12:46:11 +0200 Kristian Rietveld
3321 Seal priv pointer in GtkAboutDialog.
3323 2008-05-26 12:41:46 +0200 Kristian Rietveld
3327 2008-05-26 12:39:54 +0200 Kristian Rietveld
3331 2008-05-26 11:59:35 +0200 Kristian Rietveld
3333 Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
3335 2008-05-26 11:52:20 +0200 Kristian Rietveld
3337 Add new GtkColorSelectionDialog accessors to gtk.symbols.
3339 2008-05-26 11:41:47 +0200 Kristian Rietveld
3341 gtklabel.h: include bit-size of fields inside GSEAL parens.
3343 2008-05-26 11:40:07 +0200 Kristian Rietveld
3345 gtktoolbar.h: include bit-size of fields inside GSEAL parens.
3347 2008-05-26 11:39:35 +0200 Kristian Rietveld
3349 gtkentry.h: include bit-size of fields inside GSEAL parens.
3351 2008-05-26 11:34:14 +0200 Kristian Rietveld
3353 Add new accessors for GtkEntry to gtk.symbols.
3355 2008-05-26 11:23:56 +0200 Kristian Rietveld
3357 Also seal GtkWindowGroup in gtkwindow.h
3359 2008-05-26 10:48:48 +0200 Kristian Rietveld
3361 Fix the build by including gdkconfig.h in gtktextchild.h.
3363 2008-05-23 18:48:56 +0200 Christian Dywan
3367 2008-05-23 18:28:39 +0200 Christian Dywan
3371 2008-05-23 18:28:07 +0200 Christian Dywan
3373 Seal GtkColorSelectionDialog
3375 2008-05-23 18:03:44 +0200 Carlos Garnacho
3377 Seal GtkTextChildAnchor.
3379 * gtk/gtktextchild.h: Sealed private member.
3381 2008-05-23 17:42:01 +0200 Carlos Garnacho
3385 * gtk/gtkwindow.h: Seal all fields.
3387 2008-05-23 17:40:09 +0200 Carlos Garnacho
3389 Add gtk_window_get_default()
3391 * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
3392 * gtk/gtk.symbols: same here.
3394 2008-05-09 15:41:57 +0100 Martyn Russell
3396 Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
3398 2008-05-02 16:31:40 +0200 Martyn Russell
3402 2008-05-02 16:30:09 +0200 Martyn Russell
3404 Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
3406 2008-04-27 18:49:50 +0200 Kristian Rietveld
3408 Seal GtkToggleButton.
3410 * gtk/gtktogglebutton.h: Seal all member fields.
3412 2008-04-27 18:41:46 +0200 Kristian Rietveld
3414 Seal GtkTreeViewColumn.
3416 * gtk/gtktreeviewcolumn.h: Seal all public member fields. The button field is
3417 still troublesome. We are probably going to need an accessor for this and
3418 deprecated it immediately in GTK+ 3.0. Accessors for requested_width and
3419 resized_width can be useful, but I really consider them to be private and
3420 of not much use to applications.
3422 2008-04-27 18:23:23 +0200 Kristian Rietveld
3424 Seal GtkRadioMenuItem.
3426 * gtk/gtkradiomenuitem.h: Seal member field.
3428 2008-04-27 18:21:29 +0200 Kristian Rietveld
3430 Seal GtkRadioButton.
3432 * gtk/gtkradiobutton.h: seal member field.
3434 2008-04-27 18:11:41 +0200 Kristian Rietveld
3436 Seal GtkTreeSelection.
3438 * gtk/gtktreeselection.h: Seal all member fields.
3440 2008-04-27 18:09:46 +0200 Kristian Rietveld
3442 Add gtk_tree_selection_get_select_function().
3444 * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
3446 * gtk/gtk.symbols: add new function.
3448 2008-04-27 16:05:02 +0200 Kristian Rietveld
3450 Seal GtkScrolledWindow.
3452 * gtk/gtkscrolledwindow.h: Seal all object member fields.
3454 2008-04-27 15:56:33 +0200 Kristian Rietveld
3456 Seal GtkCellRenderer.
3458 * gtk/gtkcellrenderer.h: seal all member fields. All member fields are
3459 already accessible via GObject properties.
3461 2008-04-27 15:56:01 +0200 Kristian Rietveld
3463 Add "editing" GObject property to GtkCellRenderer.
3465 * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
3466 (gtk_cell_renderer_get_property),
3467 (gtk_cell_renderer_set_property): add the property and hook
3470 2008-04-27 15:42:08 +0200 Kristian Rietveld
3472 Seal GtkCellRendererText.
3474 * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
3477 2008-04-27 15:40:47 +0200 Kristian Rietveld
3479 Seal GtkCellRendererCombo.
3481 * gtk/gtkcellrenderercombo.h: seal all member fields. The members fields
3482 that were not marked as private are already accessible via GObject properties.
3484 2008-04-27 15:39:41 +0200 Kristian Rietveld
3486 Seal GtkCellRendererAccel.
3488 * gtk/gtkcellrendereraccel.h: seal all member fields that were already
3491 2008-04-18 16:55:44 +0200 Kristian Rietveld
3495 * gtk/gtktreeview.h: seal private pointer.
3497 2008-04-18 16:52:54 +0200 Kristian Rietveld
3499 Seal GtkTreeModelFilter
3501 * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
3504 2008-04-18 16:50:55 +0200 Kristian Rietveld
3506 Seal GtkTreeModelSort
3508 * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
3509 all public member fields.
3511 2008-04-18 16:42:28 +0200 Kristian Rietveld
3515 * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
3516 public member fields.
3518 2008-04-18 16:37:43 +0200 Kristian Rietveld
3522 * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
3523 public member fields.
3525 2008-04-18 18:26:31 +0200 Carlos Garnacho
3527 * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
3529 2008-04-18 18:25:22 +0200 Carlos Garnacho
3531 * gtk/gtkcontainer.h: seal members.
3533 2008-04-11 17:28:54 +0200 Carlos Garnacho
3535 * gtk/gtkmisc.h: seal members.
3537 2008-04-11 17:28:05 +0200 Carlos Garnacho
3539 *gtk/gtkfixed.h: seal members.
3541 2008-04-11 16:04:23 +0200 Michael Natterer
3543 * gtk/gtkcellrendererpixbuf.h: seal all members.
3545 2008-04-11 16:01:19 +0200 Michael Natterer
3547 * gtk/gtkcellrendererprogress.h: seal private member.
3549 2008-04-11 15:43:22 +0200 Michael Natterer
3551 * gtk/gtkcellrenderertoggle.h: seal all members.
3553 2008-04-04 18:50:05 +0200 Carlos Garnacho
3555 * gtk/gtkfilechooserwidget.h: Seal the private member.
3557 2008-04-04 18:46:47 +0200 Carlos Garnacho
3559 gtk/gtkfilechooserdialog.h: seal the private member.
3561 2008-04-04 18:42:17 +0200 Carlos Garnacho
3563 * gtk/gtkentrycompletion.h: Seal private member.
3565 2008-04-04 18:36:35 +0200 Carlos Garnacho
3567 * gtk/gtkcellview.h: Seal the private member.
3569 2008-04-04 18:28:00 +0200 Carlos Garnacho
3571 * gtk/gtkcolorbutton.h: seal private member.
3573 2008-04-04 18:27:26 +0200 Carlos Garnacho
3575 * gtk/gtkcheckmenuitem.h: seal public struct members.
3577 2008-04-04 18:25:25 +0200 Carlos Garnacho
3579 * gtk/gtkcalendar.h: seal public struct members.
3581 2008-04-04 18:24:15 +0200 Carlos Garnacho
3583 * gtk/gtkdialog.h: Also seal variables marked as private.
3585 2008-04-04 17:35:48 +0200 Michael Natterer
3587 * gtk/gtkimagemenuitem.h: seal private member.
3589 2008-04-04 17:28:56 +0200 Michael Natterer
3591 * gtk/gtkiconfactory.h: seal private member.
3593 2008-03-28 16:56:53 +0000 Martyn Russell
3597 * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
3598 member and clean up .c file to reflect this.
3600 2008-03-28 15:00:09 +0100 Sven Herzberg
3604 gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
3606 2008-03-28 16:38:00 +0100 Michael Natterer
3608 * gtk/gtkdrawingarea.h: seal instance struct member.
3610 2008-03-28 16:23:32 +0100 Christian Dywan
3612 Seal GtkScaleButton public fields
3614 * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
3616 2008-03-28 16:07:50 +0100 Christian Dywan
3618 Seal GtkScale public fields
3620 * gtk/gtkscale.h: Deprecate direct access through GSEAL().
3622 2008-03-14 20:45:34 +0100 Christian Dywan
3624 Seal GtkProgressBar public fields
3627 2008-03-14 20:32:12 +0100 Christian Dywan
3629 Seal GtkFrame public vars
3631 2008-03-14 18:57:35 +0100 Carlos Garnacho
3633 Deprecate direct access to public variables in GtkButton.
3635 * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
3637 2008-03-14 18:56:23 +0100 Carlos Garnacho
3639 Deprecate direct access to public variables in GtkButtonBox.
3641 * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
3643 2008-03-14 18:54:35 +0100 Carlos Garnacho
3645 Deprecate direct access to public variables in GtkBox.
3647 * gtk/gtkbox.h: Deprecate direct access through GSEAL().
3649 2008-03-09 11:50:41 +0100 Carlos Garnacho
3651 Seal GtkMessageDialog public vars
3653 2008-03-09 11:38:00 +0100 Carlos Garnacho
3655 Seal GtkDialog public vars
3657 2008-03-09 11:32:05 +0100 Carlos Garnacho
3659 Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
3661 2008-03-09 11:31:46 +0100 Carlos Garnacho
3663 Seal GtkAssistant public fields
3665 2008-03-09 11:31:30 +0100 Carlos Garnacho
3667 Seal GtkNotebook public fields
3669 2008-03-07 20:29:47 +0100 Mikael Hallendal
3671 Deprecate direct access to child in GtkBin.
3673 * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
3675 2008-03-07 18:25:59 +0000 Martyn Russell
3677 Sealed GtkAccelGroup and added
3679 * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
3680 modifier_mask, acceleratables, n_accels and priv_accels. Added seal
3681 macro for public struct members which should be private.
3683 2008-03-07 18:54:22 +0100 Mikael Hallendal
3685 Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
3687 * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
3689 2008-03-07 18:48:29 +0100 Mikael Hallendal
3691 Deprecate arrow_type and shadow_type direct access in GtkArrow.
3693 * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
3695 2008-03-07 18:35:12 +0100 Mikael Hallendal
3697 Added GSEAL to GtkAlignment.
3699 * gtk/gtkalignment.h: Seal the object data with GSEAL.
3701 2008-03-07 15:24:27 +0100 Tim Janik
3703 Introduce GSEAL() macro.
3705 * configure.in: define GSEAL() when generating gdkconfig.h
3707 2008-06-20 Michael Natterer <mitch@imendio.com>
3709 Bug 538395 – gtk_combo_box_append_text() on non-compliant model
3712 * gtk/gtkcombobox.c (gtk_combo_box_append_text)
3713 (gtk_combo_box_insert_text)
3714 (gtk_combo_box_prepend_text)
3715 (gtk_combo_box_remove_text)
3716 (gtk_combo_box_real_get_active_text): apply patch from Christian
3717 Dywan which adds the needed g_return_if_fail() to prevent the
3720 2008-06-20 Cody Russell <cody@jhu.edu>
3722 * gdk/directfb/gdkwindow-directfb.c:
3724 Rename gdk_window_new -> _gdk_window_new and
3725 gdk_window_reparent -> _gdk_window_reparent to fix
3726 the build. (#539095, Sebastien Bacher)
3728 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3730 * gtk/gtkmenuitem.c: remove an unused variable and cast
3731 accel_path to gchar, just like in gtkmenu.c
3733 2008-06-19 Matthias Clasen <mclasen@redhat.com>
3735 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
3738 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3740 * gtk/gtkprintbackend.c: Fix a typo in a comment
3742 * gtk/gtkhsv.c (paint_ring, paint_triangle):
3743 Cast buf to unsigned char to avoid two compiler
3747 * gtk/gtkstyle.c (gtk_style_finalize):
3748 Do not ignore the return value of g_slist_remove.
3749 gtkstyle.c changes rubberstamped by Owen.
3751 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3753 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
3754 (gtk_tree_view_set_enable_tree_lines):
3755 gdk_gc_set_dashes expects a list of gint8, not guint8.
3757 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3759 * gtk/gtkmenu.c (gtk_menu_set_accel_path):
3760 Remove an unused variable and cast to gchar to avoid a compiler
3763 2008-06-19 Christian Persch <chpe@gnome.org>
3765 * docs/reference/gtk/gtk-sections.txt:
3767 * gtk/gtkclipboard.c:
3768 * gtk/gtkclipboard.h: Add clipboard convenience functions for URI
3769 targets. Bug #537639.
3771 2008-06-19 Christian Persch <chpe@gnome.org>
3773 * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
3774 hardcoded target tables. Bug #516092.
3776 2008-06-19 Christian Persch <chpe@gnome.org>
3778 * gdk-pixbuf/gdk-pixbuf-io.c:
3779 * gdk-pixbuf/gdk-pixdata.c:
3780 * gdk-pixbuf/io-ani.c:
3781 * gdk-pixbuf/io-bmp.c:
3782 * gdk-pixbuf/io-gdip-utils.c:
3783 * gdk-pixbuf/io-gif.c:
3784 * gdk-pixbuf/io-icns.c:
3785 * gdk-pixbuf/io-ico.c:
3786 * gdk-pixbuf/io-jasper.c:
3787 * gdk-pixbuf/io-jpeg.c:
3788 * gdk-pixbuf/io-pcx.c:
3789 * gdk-pixbuf/io-png.c:
3790 * gdk-pixbuf/io-pnm.c:
3791 * gdk-pixbuf/io-ras.c:
3792 * gdk-pixbuf/io-tga.c:
3793 * gdk-pixbuf/io-tiff.c:
3794 * gdk-pixbuf/io-wbmp.c:
3795 * gdk-pixbuf/io-xbm.c:
3796 * gdk-pixbuf/io-xpm.c:
3797 * gtk/gtkfilechooserdefault.c:
3798 * gtk/gtkfilesystemmodel.c:
3799 * gtk/gtkiconfactory.c:
3800 * gtk/gtkicontheme.c:
3802 * gtk/gtkpagesetup.c:
3803 * gtk/gtkpapersize.c:
3804 * gtk/gtkprintoperation-win32.c:
3805 * gtk/gtktextbufferserialize.c:
3806 * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
3808 * configure.in: Update glib requirement to 2.17.3.
3810 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3812 * demos/testpixbuf.c (new_testrgb_window):
3813 * gtk/gtkctree.c (gtk_ctree_new_with_titles):
3814 * gtk/gtkitemfactory.c (gtk_item_factory_construct),
3815 (gtk_item_factory_create_item):
3816 * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
3817 * gtk/gtkprogressbar.c (gtk_progress_bar_new),
3818 (gtk_progress_bar_new_with_adjustment):
3819 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
3820 * gtk/gtktext.c (gtk_text_new):
3821 * gtk/gtkviewport.c (gtk_viewport_new):
3822 * tests/simple.c (main):
3823 * tests/testgtk.c (create_statusbar), (create_get_image),
3824 (create_saved_position), (create_tooltips), (create_cursors),
3825 (create_display_screen), (create_progress_bar), (create_idle_test):
3826 * tests/testmultidisplay.c (make_selection_dialog), (main):
3827 * tests/testmultiscreen.c (main):
3828 * tests/testrgb.c (new_testrgb_window):
3829 Use g_object_new instead of gtk_widget_new
3831 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3833 * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
3835 * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
3838 * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
3839 to avoid a gcc warning.
3841 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3843 http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
3844 the filename in the name entry in CREATE_FOLDER mode when changing
3845 folders, so that you can enter a new subfolder name, double-click on a
3846 folder to change to it, and close the dialog.
3848 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
3849 the filename in the entry in CREATE_FOLDER mode, either.
3851 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3853 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
3854 chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
3857 * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
3858 clear the entry for CREATE_FOLDER either; this needs the same
3859 behavior as SAVE mode.
3860 (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
3863 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3865 * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
3866 * gtk/gtkfilechooserbutton.c (change_icon_theme):
3867 (model_add_bookmarks):
3868 (model_update_current_folder):
3869 * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
3870 (shortcuts_reload_icons): Use standard icon names.
3872 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3874 * gtk/Makefile.am: Add some more aliases for standard
3875 icon names to the builtin icon theme: drive-harddisk,
3876 folder, folder-remote, text-x-generic.
3878 2008-06-18 Michael Natterer <mitch@imendio.com>
3880 * gtk/gtkcalendar.c: set the maximum of the "year" property to
3881 G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
3882 calculations which in turn caused writing beyond the boundaries of
3883 the calendar->day_month[] and day[] arrays which in turn caused a
3884 SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
3886 2008-06-18 Michael Natterer <mitch@imendio.com>
3889 * tests/autotestfilechooser.c
3890 * tests/buildertest.c
3891 * tests/defaultvaluetest.c
3892 * tests/floatingtest.c
3893 * tests/objecttests.c
3894 * tests/pixbuf-init.c
3895 * tests/textbuffertest.c: remove unit tests here...
3897 * gtk/tests/Makefile.am
3898 * gtk/tests/builder.c
3899 * gtk/tests/defaultvalue.c
3900 * gtk/tests/filechooser.c
3901 * gtk/tests/floating.c
3902 * gtk/tests/object.c
3903 * gtk/tests/pixbuf-init.c
3904 * gtk/tests/textbuffer.c: ...and add them here.
3906 2008-06-18 Michael Natterer <mitch@imendio.com>
3908 * gdk/gdk.h: deprecate GdkDestroyNotify.
3912 * gdk/x11/gdkevents-x11.c
3913 * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
3915 2008-06-18 Michael Natterer <mitch@imendio.com>
3917 * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
3919 * gtk/gtkactiongroup.[ch]
3920 * gtk/gtkcombobox.[ch]
3921 * gtk/gtkcontainer.[ch]
3922 * gtk/gtkliststore.[ch]
3926 * gtk/gtktreedatalist.[ch]
3927 * gtk/gtktreemodelfilter.[ch]
3928 * gtk/gtktreemodelsort.[ch]
3929 * gtk/gtktreeprivate.h
3930 * gtk/gtktreeselection.[ch]
3931 * gtk/gtktreesortable.[ch]
3932 * gtk/gtktreestore.[ch]
3933 * gtk/gtktreeview.[ch]
3934 * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
3936 2008-06-18 Michael Natterer <mitch@imendio.com>
3938 * tests/testgtk.c: some more undeprecation.
3940 2008-06-18 Michael Natterer <mitch@imendio.com>
3942 * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
3945 (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
3947 2008-06-18 Michael Natterer <mitch@imendio.com>
3949 * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
3951 * gtk/gtk.symbols: changed accordingly.
3953 * gtk/gtksettings.c (gtk_settings_install_property)
3954 (gtk_settings_install_property_parser): get rid of using
3955 gtk_type_class() by keeping a static reference to GtkSettingsClass
3956 around in both functions and passing that pointer on to
3957 settings_install_property_parser().
3959 * tests/testgtk.c: use g_type_class_ref()/unref() instead of
3962 * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
3965 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3967 * gtk/gtkstyle.c: Add deprecated version
3968 and change the deprecation markup used by ref/unref
3970 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3973 Add deprecated versions and fixup markup.
3975 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3977 * gtk/gtkaboutdialog.c:
3978 * gtk/gtkbutton.c (gtk_button_class_init):
3979 Don't markup deprecated in italics.
3981 2008-06-18 Carlos Garnacho <carlos@imendio.com>
3983 * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
3984 GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
3986 2008-06-17 Michael Natterer <mitch@imendio.com>
3988 * examples/gtkdial/gtkdial.[ch]: undeprecate.
3990 2008-06-17 Michael Natterer <mitch@imendio.com>
3992 * gtk/gtkobject.c: remove bogus extern declaration of non-existing
3993 function gtk_object_init_type().
3995 2008-06-17 Michael Natterer <mitch@imendio.com>
3997 * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
3998 * gtk/gtktoolbutton.c (gtk_tool_button_get_type):
3999 * examples/gtkdial/gtkdial.h (gtk_dial_get_type):
4002 2008-06-17 Tor Lillqvist <tml@novell.com>
4004 * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
4005 #undef/#define dance here, too, because
4006 gtk_notebook_set_group_id() is deprecated but used here before it
4007 is defined, and gcc complains about conflicting type from the
4008 implicit int declaration when it sees the actual void definition.
4010 * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
4013 2008-06-17 Michael Natterer <mitch@imendio.com>
4015 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
4022 * gtk/gtkoldeditable.c
4025 * gtk/gtktipsquery.c
4027 * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
4028 actually use deprecated symbols (not just types or macros),
4029 #define it again before #include "gtkalias.h" so the symbols match
4030 and the beast links.
4032 2008-06-17 Paolo Borelli <pborelli@katamail.com>
4034 * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
4036 2008-06-17 Michael Natterer <mitch@imendio.com>
4038 * modules/input/gtkimcontextmultipress.h
4039 * modules/input/gtkimcontextthai.h
4040 * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
4041 type checking macros.
4043 2008-06-17 Michael Natterer <mitch@imendio.com>
4045 * gtk/gtktypeutils.h: really move the GtkType typedef to an
4046 undeprecated section.
4048 2008-06-17 Michael Natterer <mitch@imendio.com>
4050 * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
4051 GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
4052 Move the GtkType typedef to an undeprecated section.
4054 2008-06-17 Michael Natterer <mitch@imendio.com>
4056 * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
4057 of GTK_CHECK ones because it's the parent class of an undeprecated
4058 class and the GTK_CHECK stuff will soon be deprecated.
4060 2008-06-17 Michael Natterer <mitch@imendio.com>
4063 * gtk/gtkinputdialog.c
4064 * gtk/gtkmenutoolbutton.c
4065 * gtk/gtkoptionmenu.c
4067 * gtk/gtktooltips.c: add or move around
4068 #undef GTK_DISABLE_DEPRECATED so it's possible to build without
4069 deprecated stuff again (with the minor glitch that it doesn't
4070 link ;) but at least it's a tool to keep the code clean).
4072 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
4074 * gtk/gtkrecentmanager.c:
4075 (gtk_recent_manager_remove_item): Fix dumb typo in the previous
4078 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
4080 * gtk/gtkrecentmanager.c:
4081 (gtk_recent_manager_remove_item),
4082 (gtk_recent_manager_move_item): Increase the consistency of the
4083 errors returned by GtkRecentManager. (Paolo Borelli)
4085 2008-06-17 Paolo Borelli <pborelli@katamail.com>
4087 * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
4089 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
4091 * gtk/gtkrecentmanager.c:
4092 (gtk_recent_manager_remove_item): Consistently use the same
4093 error when removing a URI from an empty GtkRecentManager.
4095 2008-06-17 Michael Natterer <mitch@imendio.com>
4097 * gtk/gtkfilechooserdefault.c: remove static integer variables
4098 which hold the number of members in GtkTargetEntry arrays and use
4099 G_N_ELEMENTS() directly instead.
4101 2008-06-17 Michael Natterer <mitch@imendio.com>
4103 * gtk/gtk.symbols: move some deprecated symbols into
4104 #ifndef GTK_DISABLE_DEPRECATED.
4106 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
4108 * gtk/gtkfilechooserdefault.c:
4109 (gtk_file_chooser_default_init),
4110 (gtk_file_chooser_default_constructor),
4111 (gtk_file_chooser_default_screen_changed),
4112 (recent_start_loading): Remove the GtkRecentManager screen
4113 dance, as it has been deprecated since 2.12. Now we get the
4114 GtkRecentManager singleton whewn we create the FileChooserDefault
4115 instance. (Michael Natterer)
4117 2008-06-17 Michael Natterer <mitch@imendio.com>
4119 * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
4120 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
4122 2008-06-17 Michael Natterer <mitch@imendio.com>
4124 * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
4127 * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
4128 in via deprecated headers.
4130 2008-06-16 Matthias Clasen <mclasen@redhat.com>
4132 Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
4134 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
4135 against XKB being stupid. Reported by Pedro Villavicencio.
4137 2008-06-17 Michael Natterer <mitch@imendio.com>
4139 * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
4140 and unref() instead of the deprecated gtk_widget_ref() and unref().
4142 2008-06-16 Michael Natterer <mitch@imendio.com>
4144 * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
4145 svn since 2.8 but was never used.
4147 2008-06-16 Michael Natterer <mitch@imendio.com>
4149 * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
4150 gtk_binding_entry_clear() instead of gtk_binding_entry_add()
4151 (the former is deprecated and #defined to gtk_binding_entry_clear)
4153 2008-06-16 Michael Natterer <mitch@imendio.com>
4155 * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
4156 unused) "gtkmarshal.h".
4158 2008-06-16 Behdad Esfahbod <behdad@gnome.org>
4160 Bug 538182 – pango_cairo_context_update_layout is not noop after
4161 gtk_widget_create_pango_layout
4163 * gtk/gtksettings.c (settings_update_font_options): Make sure all
4164 font option fields are set to non-DEFAULT values.
4166 2008-06-16 Michael Natterer <mitch@imendio.com>
4171 * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
4172 gtk_rc_style_unref().
4174 2008-06-16 Michael Natterer <mitch@imendio.com>
4176 * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
4177 _gtk_marshal_BOOLEAN__VOID instead of the deprecated
4178 gtk_marshal_BOOLEAN__VOID.
4180 2008-06-16 Michael Natterer <mitch@imendio.com>
4182 * gtk/gtkcellrendereraccel.h
4184 * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
4185 macros for type checking.
4187 (gtk_object_get_type): change prototype to return GType instead of
4190 2008-06-16 Matthias Clasen <mclasen@redhat.com>
4192 * gtk/Makefile.am: Make folder, user-home and user-desktop links
4193 to gtk-directory in the builtin icon theme, so that we can
4194 use these icon names without risk of ending up without an icon.
4196 2008-06-16 Tor Lillqvist <tml@novell.com>
4198 Bug 538362 - Get Win32 icons back in the file chooser
4200 * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
4201 reference to an icon resource in a DLL or .EXE in the same format
4202 as the DefaultIcon strings in the Registry. In that case, extract
4203 the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
4204 code has to be in sync with the corresponding code in
4205 glib/gio/gcontenttype.c.
4207 2008-06-16 Matthias Clasen <mclasen@redhat.com>
4209 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
4210 to the builtin icon theme, to avoid showing broken images when
4211 there is no icon theme around. The new icons are thanks to
4214 2008-06-16 Michael Natterer <mitch@imendio.com>
4216 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
4217 GtkFileChooserDefault struct.
4219 * gtk/gtkfilechooserdefault.c: don't allocate and free the
4222 2008-06-16 Carlos Garnacho <carlos@imendio.com>
4224 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
4227 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
4228 Allow again setting any of the properties to render an image back to
4231 2008-06-15 Matthias Clasen <mclasen@redhat.com>
4233 * gtk/gtkimage.c: When pixel-size is specified, use
4234 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
4236 2008-06-15 Carlos Garnacho <carlos@imendio.com>
4238 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
4239 path here as expected, not just the basename.
4241 * gtk/gtkfilechooserdefault.c
4242 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
4243 a reference to file, since it can be destroyed when switching back to
4246 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
4247 and desktop directories are dealt by the filechooser as normal files,
4248 not volumes, so the icon for these is handled directly by GIO.
4249 (_gtk_file_system_volume_render_icon): Update caller.
4251 2008-06-15 Matthias Clasen <mclasen@redhat.com>
4253 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
4255 2008-06-14 Cody Russell <bratsche@gnome.org>
4257 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
4259 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
4260 according to MSDN docs, associates the open clipboard with the
4261 current task. (#378158, reported by Andreas Köhler)
4263 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4265 * configure.in: Bump version
4267 * === Released 2.13.3 ===
4269 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4271 * gtk/gtkaccelgroup.c: Add some docs
4273 * gdk/gdkwindow.c: Fix doc typos
4275 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4277 * gtk/gtkfilesystem.c: Avoid PLT entries by including
4280 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4282 * gtk/gtkfilechooserbutton.c:
4283 * gtk/gtkfilechooserdefault.c:
4284 * gtk/gtkfilechooserentry.c:
4285 * gtk/gtkfilesystem.c:
4286 * gtk/gtkfilesystem.h:
4287 * gtk/gtkfilesystemmodel.c:
4288 * gtk/gtkpathbar.c: Really make GtkFileSystem private
4289 by _-prefixing all functions.
4291 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4293 * docs/RELEASE-HOWTO: Updates
4294 * INSTALL.in: Bump version
4296 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4300 2008-06-13 Michael Natterer <mitch@imendio.com>
4302 * gtk/gtkcellrendereraccel.h
4303 * gtk/gtkfilechooser.h
4304 * gtk/gtkfilechooserdialog.h
4305 * gtk/gtkfilechooserwidget.h
4306 * gtk/gtkmenutoolbutton.h
4307 * gtk/gtkpagesetup.h
4308 * gtk/gtkpapersize.h
4309 * gtk/gtkprintcontext.h
4310 * gtk/gtkprintoperation.h
4311 * gtk/gtkprintoperationpreview.h
4312 * gtk/gtkprintsettings.h
4313 * gtk/gtkradiotoolbutton.h
4314 * gtk/gtkrecentchooser.h
4315 * gtk/gtkrecentchooserdialog.h
4316 * gtk/gtkrecentchoosermenu.h
4317 * gtk/gtkrecentchooserwidget.h
4318 * gtk/gtkseparatortoolitem.h
4320 * gtk/gtktoggletoolbutton.h
4322 * gtk/gtktoolbutton.h
4323 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
4324 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
4326 2008-06-13 Michael Natterer <mitch@imendio.com>
4328 * gtk/gtktexttagtable.h: remove double inclusion of
4331 2008-06-13 Michael Natterer <mitch@imendio.com>
4333 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
4334 local "image" variable from GtkImage to GtkWidget to fix warning.
4336 2008-06-13 Michael Natterer <mitch@imendio.com>
4338 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
4339 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
4341 2008-06-13 Michael Natterer <mitch@imendio.com>
4343 * gtk/gtkuimanager.c (start_element_handler): silently skip
4344 unknown attributes instead of bailing out with an error in order
4345 to be compatible with possible future attribute names.
4347 This is related to the discussion in bug #516425 but actually
4348 needed for any kind of XML format extension.
4350 2008-05-23 Hans Breuer <hans@breuer.org>
4352 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
4353 Avoids crashing when the target can not be written, bug #537685
4355 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
4357 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
4358 it was not needed here anyway.
4360 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4362 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
4363 Patch by Jan Arne Peterson
4365 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4367 Bug 537985 – gtk_init_with_args() doesn't open a display after
4370 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
4371 even when gtk_parse_args() has already been called.
4372 Patch by Mathias Hasselmann
4374 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4376 Bug 524222 – GtkToolbar with mix of buttons with and without
4379 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
4380 Improve appearance of "both vertical" mode toolbuttons.
4381 Patch by Peter Johanson
4383 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4385 Bug 519092 – Add accessibility support to GtkVolumeButton
4387 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
4388 Patch by Jonh Wendell
4390 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4392 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
4393 GtkAction has problems
4394 Patch by Peter Johanson
4396 * gtk/gtkaction.c (connect_proxy): Set the image of a button
4397 proxy to the "icon-name" property.
4399 (gtk_action_set_short_label): If the "image" property is set
4400 on the button proxy, also tries to set the "label" property on
4403 2008-06-12 Michael Natterer <mitch@imendio.com>
4406 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
4407 in via "gtkintl.h" from <glib/gi18n-lib.h>.
4409 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4411 RH bug 248245 and 449379: cups client printing from gnome
4414 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
4415 printer URI construction. Patch by Marek Kasik
4417 2008-06-12 Michael Natterer <mitch@imendio.com>
4419 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
4420 limit the number of displayed items by the actual screen height
4421 instead of some arbitrary value (Bug #408154, Xan Lopez and
4424 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
4426 Bug 503071 – Application direction changes to right to left even if
4427 theres no translation
4429 * configure.in: Bump glib requirement.
4431 * gtk/gtkaccellabel.c
4432 (_gtk_accel_label_class_get_accelerator_label):
4433 * gtk/gtkactiongroup.c (dgettext_swapped):
4434 * gtk/gtkbuilder.c (gtk_builder_class_init):
4435 * gtk/gtkbuilderparser.c (_dpgettext),
4436 (_gtk_builder_parser_translate):
4437 * gtk/gtkfilechooserdefault.c (list_size_data_func):
4438 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
4440 * gtk/gtkmain.c (setlocale_initialization),
4441 (do_pre_parse_initialization), (gettext_initialization):
4442 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
4443 Use g_dgettext() and g_dngettext().
4445 2008-06-11 Matthias Clasen <mclasen@redhat.com>
4447 * docs/RELEASE-HOWTO: Updates
4449 2008-06-11 Tor Lillqvist <tml@novell.com>
4451 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
4452 support Win9x anyway, we can use ProcessIdToSessionId()
4455 2008-06-11 Michael Natterer <mitch@imendio.com>
4457 * gtk/gtkfilechooserbutton.c: fix local prototype of
4458 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
4460 2008-06-10 Matthias Clasen <mclasen@redhat.com>
4462 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
4464 * gtk/gtkoptionmenu.c:
4465 * gtk/gtkcombobox.c: Set the window type hint on popups.
4466 Patch by Danny Baumann
4468 2008-06-10 Matthias Clasen <mclasen@redhat.com>
4470 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
4471 (gtk_file_system_volume_render_icon): Add standard icon names,
4472 and also fall back to builtin gtk stock icons.
4474 2008-06-10 Christian Persch <chpe@gnome.org>
4476 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
4477 (gtk_tree_view_maybe_begin_dragging_row),
4478 (gtk_tree_view_set_reorderable),
4479 (gtk_tree_view_enable_model_drag_source),
4480 (gtk_tree_view_enable_model_drag_dest),
4481 (gtk_tree_view_unset_rows_drag_source),
4482 (gtk_tree_view_unset_rows_drag_dest): Make
4483 gtk_tree_view_enable_model_drag_[source|dest] compatible with
4484 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
4486 2008-06-10 Christian Persch <chpe@gnome.org>
4488 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
4489 (dest_row_free), (set_dest_row), (ensure_info),
4490 (gtk_tree_view_remove), (gtk_tree_view_put),
4491 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
4494 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4496 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
4497 use g_file_new_for_uri.
4499 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4501 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
4504 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4508 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
4509 #520874, comment #8. It's no longer used directly by GTK+.
4511 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4513 Bug 520874 - Should use gio directly.
4515 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
4516 provides helper functions for asynchronous calls, folder abstraction
4517 and uniform handling of volumes/drives/mounts.
4519 * gtk/gtkfilesystemwin32.[ch]:
4520 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
4522 * gtk/gtkfilechooser.c:
4523 * gtk/gtkfilechooserbutton.c:
4524 * gtk/gtkfilechooserdefault.c:
4525 * gtk/gtkfilechooserentry.[ch]:
4526 * gtk/gtkfilechooserprivate.h:
4527 * gtk/gtkfilechooserutils.c:
4528 * gtk/gtkfilesystemmodel.[ch]:
4529 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
4530 Do not load filesystem implementation modules.
4533 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
4534 anymore, nor the unix/win32 implementations.
4536 * README.in: Add blurb about these changes.
4538 2008-06-09 Kristian Rietveld <kris@gtk.org>
4540 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
4542 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4543 (gtk_cell_renderer_combo_set_property),
4544 (gtk_cell_renderer_combo_editing_done),
4545 (gtk_cell_renderer_combo_start_editing): introduce private class
4546 struct, allow model to be set to NULL.
4548 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
4550 Bug 131920 – gtkNotebook sends incorrect switch_page value
4552 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
4553 signal send correct page index when page index 0 is active and
4554 removed. (#131920, Samuel Fogh)
4556 2008-06-08 Kristian Rietveld <kris@gtk.org>
4558 Bug 536730 - memory corruption in gtktreeview
4560 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
4561 remove the expand/collapse timeout and node, then free the rbtree.
4563 2008-06-08 Kristian Rietveld <kris@gtk.org>
4565 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
4567 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
4568 find path if we found valid nodes, return FALSE otherwise. (Patch
4569 from Matthias Clasen).
4571 2008-06-08 Matthias Clasen <mclasen@redhat.com>
4573 * gtk/gtkrecentmanager.c:
4574 * gtk/gtkrecentfilter.c:
4575 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
4578 2008-06-08 Christian Persch <chpe@gnome.org>
4580 Bug 535608 – do not string-copy accel paths in the menu code
4582 * gtk/gtkaccelgroup.c:
4583 * gtk/gtkaccelmap.c:
4586 * gtk/gtkmenuitem.c:
4587 * gtk/gtkwidget.c: Don't store the accel path as a string in
4588 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
4589 keeping a string copy around is just a waste of memory.
4590 Improve the documentation to mention this.
4592 2008-06-07 Tor Lillqvist <tml@novell.com>
4594 Bug 536990 - updateiconcache.c: 'close ()' is redundant
4596 * gtk/updateiconcache.c (build_cache): Drop redundant close()
4597 calls. fclose() on a fdopen()ed stream closes the underlying file
4600 2008-06-06 Matthias Clasen <mclasen@redhat.com>
4602 Bug 536757 – regression: openoffice.org menus are placed at wrong
4603 position since 2.12.10
4605 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4606 Return the right coordinates.
4608 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
4610 Bug 536185 – monitor font configuration
4613 * gdk/x11/gdksettings.c:
4614 * gtk/gtksettings.c (gtk_settings_class_init),
4615 (gtk_settings_notify), (settings_update_fontconfig):
4616 Monitor xsettings key Fontconfig/Timestamp and upon change,
4617 reread fontconfig configuration, clear Pango's caches, and
4620 2008-06-06 Ross Burton <ross@burtonini.com>
4623 Fix trivial typo in documentation.
4625 2008-06-06 Tor Lillqvist <tml@novell.com>
4627 * config.h.win32.in: Slight update to match what configure
4630 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
4632 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
4633 constant to the end of the list, to avoid breaking the stable ABI
4635 2008-06-05 Michael Natterer <mitch@imendio.com>
4637 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
4639 2008-06-05 Li Yuan <li.yuan@sun.com>
4641 * gail-uninstalled.pc.in:
4642 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
4643 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
4645 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4647 * docs/RELEASE-HOWTO: Update a bit
4649 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4651 * configure.in: Bump version
4653 * === Released 2.13.2 ===
4655 2008-06-03 Federico Mena Quintero <federico@novell.com>
4657 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
4658 If the user presses Tab while the completion feedback window is
4659 active, then we'll assert. Remove the assertion and just re-set
4660 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
4662 2008-06-03 Colin Walters <walters@redhat.com>
4664 Bug 535303 – add _get_implementation to GtkStatusIcon
4666 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
4667 function to retrieve internal X11 window ID, useful for libnotify.
4668 * gtk/gtkstatusicon.h: Prototype it.
4669 * docs/reference/gtk/gtk-sections.txt: Add to docs.
4670 * gtk/gtk.symbols: Export it.
4672 2008-06-03 Tor Lillqvist <tml@novell.com>
4674 * gtk/updateiconcache.c (build_cache): Use g_open().
4676 2008-06-03 Michael Natterer <mitch@imendio.com>
4679 * gtk/gtkctree.h: revert includes to how they have been before the
4680 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
4681 that you can't include <gtk/gtk.h> from two headers where one is a
4682 parent class of the other and expect them both to be includable
4685 2008-06-03 Michael Natterer <mitch@imendio.com>
4687 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
4689 2008-06-02 Matthias Clasen <mclasen@redhat.com>
4691 Bug 536092 – GtkEntryCompletion's popup window should set type hint
4693 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
4694 a type hint on the popup window to help compiz.
4695 Patch by Vaclav Slavik.
4697 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
4699 Bug 535862 – gtk_action_create_icon can't create icons from the
4702 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
4703 the default factories as it's supposed.
4705 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
4707 Bug 535497 – Print preview doesn't work.
4709 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
4710 instead of launching Preview.app directly.
4712 2008-06-02 Michael Natterer <mitch@imendio.com>
4714 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
4715 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
4718 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
4720 Bug 535830 – wrong content type adding an item
4722 * gtk/gtkrecentmanager.c:
4723 (gtk_recent_manager_add_item_query_info): Use the correct API
4724 for retrieving the fast MIME type of a URI. (Carlos Garcia
4727 2008-05-31 Kristian Rietveld <kris@imendio.com>
4729 Bug 530146 - Setting non-string tooltip with
4730 gtk_tree_view_set_tooltip_column() segfaults
4732 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
4733 gtk_tree_model_get_value() and explicitly transform the value to a
4734 string before setting it as tooltip.
4736 2008-05-30 Tor Lillqvist <tml@novell.com>
4738 * modules/engines/ms-windows/msw_style.h
4739 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
4741 2008-05-30 Michael Natterer <mitch@imendio.com>
4743 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
4744 GDestroyNotify when using it in g_object_set_data_full().
4746 2008-05-30 Michael Natterer <mitch@imendio.com>
4748 * gdk/gdkapplaunchcontext.h
4749 * gdk/gdktestutils.h
4750 * gtk/gtkmountoperation.h
4752 * gtk/gtktestutils.h
4753 * gtk/gtktoolshell.h: no need to allow disabling single includes
4754 conditionally in these new files. Simply forbid including them
4755 individually from the beginning.
4757 2008-05-30 Tor Lillqvist <tml@novell.com>
4759 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
4761 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
4764 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4766 * configure.in: Bump version
4768 * === Released 2.13.1 ===
4772 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4774 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
4776 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4778 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
4780 2008-05-29 Tor Lillqvist <tml@novell.com>
4782 Bug 535526 - updateiconcache.c: using open/close without prototype
4784 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
4785 g_utime() when available instead of utime() for UTF-8 pathname
4788 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
4790 Bug 56355 – GtkLabel - Not all changes propagate correctly
4792 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
4793 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
4794 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
4795 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
4796 notifications of mnemonic-keyval changes.
4798 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4800 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
4802 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
4803 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
4804 * gtk/gtk.symbols: Additions
4805 * tests/testimage.c: Add a GIcon test
4807 2008-05-29 Michael Natterer <mitch@imendio.org>
4810 * gtk/gtkunixprint.h: add a single-include header for the unix
4813 * gtk/gtkpagesetupunixdialog.h
4816 * gtk/gtkprintunixdialog.h: add single-include guards that #error
4817 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
4818 files is included individually.
4820 * gtk/gtkprintbackend.h
4821 * gtk/gtkprinter-private.h
4822 * modules/printbackends/cups/gtkprintbackendcups.c
4823 * modules/printbackends/cups/gtkprintercups.h
4824 * modules/printbackends/lpr/gtkprintbackendlpr.c
4825 * tests/buildertest.c
4826 * tests/defaultvaluetest.c
4827 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
4830 2008-05-28 Michael Natterer <mitch@imendio.com>
4832 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
4833 excess newlines and sprinkled some newlines where needed. Zero
4834 code or formatting changes included.
4836 2008-05-28 Michael Natterer <mitch@imendio.com>
4838 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
4840 2008-05-28 Michael Natterer <mitch@imendio.com>
4842 * gtk/gtkcolorbutton.h: fix comment: the widget is called
4843 GtkColorButton, not GtkColorSelectButton. Remove trailing
4844 whitespace and excess newlines.
4846 2008-05-28 Michael Natterer <mitch@imendio.com>
4848 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
4849 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
4850 to CPPFLAGS so it's impossible to commit code that would break
4851 apps which use DISABLE_INCLUDE defines.
4853 2008-05-28 Michael Natterer <mitch@imendio.com>
4855 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
4858 * gtk/gtktypebuiltins.h.template
4859 * gtk/gtkversion.h.in
4860 * gtk/gtk*.h: add single-include guards that #error out if
4861 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
4862 included individually.
4864 * gtk/gtkprintbackend.h
4865 * gtk/gtkprinter-private.h
4866 * gtk/gtktextlayout.h
4867 * gtk/gtktexttagprivate.h
4868 * gtk/gtktexttypes.h
4869 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
4870 headers in these private or semi-private headers.
4872 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
4874 * gtk/gtkpagesetupunixdialog.h
4877 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
4883 * gtk/gtkitemfactory.h
4886 * gtk/gtkoldeditable.h
4887 * gtk/gtkoptionmenu.h
4891 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
4892 instead of individual headers in these deprecated headers. They
4893 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
4894 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
4895 and include them individually, which should continue to work.
4897 * gtk/gtkclist.c: include "gtkctree.h" because of the change
4900 2008-05-28 Kristian Rietveld <kris@imendio.com>
4902 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
4905 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
4906 cursor_offset *must* be larger than background height of the cursor
4907 node, not just equal otherwise there is no guarantee there is a next
4910 2008-05-28 Michael Natterer <mitch@imendio.com>
4912 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
4914 2008-05-28 Michael Natterer <mitch@imendio.com>
4916 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
4919 * gdk/gdkenumtypes.h.template
4920 * gdk/gdk*.h: add single-include guards that #error out if
4921 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
4922 included individually. Also removed some redundant includes and
4923 did some tiny trailing whitespace removal that's not worth to
4926 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
4929 * gdk/win32/gdkwin32.h
4930 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
4933 2008-05-28 Kristian Rietveld <kris@imendio.com>
4935 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
4936 current widget again.
4938 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
4939 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
4940 custom_was_reset field to check if the custom widget is set again in
4941 the query-tooltip callback; if not, we set it to NULL. Based on a
4942 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
4943 and Christian Persch.
4945 2008-05-28 Michael Natterer <mitch@imendio.com>
4947 * modules/printbackends/cups/gtkcupsutils.c
4948 * modules/printbackends/cups/gtkprintbackendcups.c
4949 * modules/printbackends/file/gtkprintbackendfile.c
4950 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
4951 <gtk/gtk.h> instead of individual files.
4953 2008-05-28 Michael Natterer <mitch@imendio.com>
4955 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
4958 2008-05-28 Kristian Rietveld <kris@imendio.com>
4960 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
4962 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
4963 ->priv->tree != NULL. Suggestion from Stefan Kost.
4965 2008-05-28 Kristian Rietveld <kris@imendio.com>
4967 Bug 324282 - add selected signal to cell renderer combo.
4969 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4970 (gtk_cell_renderer_combo_changed),
4971 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
4972 that will be emitted as soon as the combo box emitted changed and has
4973 an active iterator. (Modified patch based on work by James
4976 * gtk/gtkmarshalers.list: add marshaler.
4978 2008-05-28 Kristian Rietveld <kris@imendio.com>
4980 Refactor expand/collapse timeout handling (amendment to bug 511217).
4982 * gtk/gtktreeview.c (add_expand_collapse_timeout),
4983 (remove_expand_collapse_timeout): new functions, the remove function
4984 also clears expanded_collapsed_node,
4985 (cancel_arrow_animation): moved to be next to the add/remove timeout
4987 (gtk_tree_view_unrealize),
4988 (gtk_tree_view_row_deleted),
4989 (gtk_tree_view_set_model),
4990 (cancel_arrow_animation),
4991 (gtk_tree_view_real_expand_row),
4992 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
4994 2008-05-28 Kristian Rietveld <kris@imendio.com>
4996 Amendment of bug 485218 - Strange warning encountered.
4998 * gtk/gtktreemodelsort.[ch]
4999 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
5000 indication whether or not the conversion had succeeded.
5002 2008-05-27 Matthias Clasen <mclasen@redhat.com>
5004 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
5006 * modules/printbackends/cups/gtkprintbackendcups.c
5007 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
5008 if the printer does not support level 3. Patch by Marek Kašík.
5010 2008-05-27 Matthias Clasen <mclasen@redhat.com>
5012 Bug 404571 - Scroll arrow backgrounds should be painted with different
5015 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
5016 as detail when drawing scroll arrow backgrounds. Proposed by
5019 2008-05-27 Matthias Clasen <mclasen@redhat.com>
5021 Bug 511217 - potential memory corruption after refreshing a tree_view
5023 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
5024 expanded_collapsed_node when canceling the animation.
5025 Patch by Nicholas Setton.
5027 2008-05-28 Michael Natterer <mitch@imendio.com>
5029 * modules/input/gtkimcontextime.h
5030 * modules/input/gtkimcontextmultipress.h
5031 * modules/input/gtkimcontextthai.h
5032 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
5035 * modules/input/gtkimcontextime.c
5036 * modules/input/gtkimcontextmultipress.c
5037 * modules/input/gtkimcontextxim.c
5038 * modules/input/imam-et.c
5039 * modules/input/imcedilla.c
5040 * modules/input/imcyrillic-translit.c
5041 * modules/input/iminuktitut.c
5042 * modules/input/imipa.c
5043 * modules/input/imti-er.c
5044 * modules/input/imti-et.c
5045 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
5046 "gtk/gtkintl.h" to the end of includes.
5048 2008-05-28 Michael Natterer <mitch@imendio.com>
5050 * modules/engines/pixbuf/pixbuf-style.h
5051 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
5052 instead of individual files.
5054 2008-05-27 Matthias Clasen <mclasen@redhat.com>
5056 Bug 485218 - Strange warning encountered
5058 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
5059 (gtk_tree_model_sort_convert_child_iter_to_iter):
5060 (gtk_tree_model_sort_build_level): Better warnings. Patch
5061 by Kristian Rietveld.
5063 2008-05-27 Matthias Clasen <mclasen@redhat.com>
5065 Bug 351910 - Search column setting lost
5067 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
5068 the docs. Patch by Matt Barnes.
5070 2008-05-27 Matthias Clasen <mclasen@redhat.com>
5072 Bug 477278 - avoid unnecessary pointer subtraction
5074 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
5075 subtraction that sparse complains about. Patch by Christian
5078 2008-05-27 Matthias Clasen <mclasen@redhat.com>
5080 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
5082 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
5083 Commit the entry text before doing an increment. Patch by
5086 2008-05-27 Federico Mena Quintero <federico@novell.com>
5088 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
5089 drag and drop from the file list into itself, as it doesn't make
5090 sense (it would just change the current folder).
5092 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
5093 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
5096 2008-05-27 Michael Natterer <mitch@imendio.com>
5098 * gtk/gtksignal.h: move deprecated guards around everything,
5099 including includes and include guards (just as in all other
5102 2008-05-27 Tor Lillqvist <tml@novell.com>
5104 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
5105 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
5106 <sys/stat.h> on Windows, and the mode used in open() doesn't
5107 matter much as there are no rwxrwxrwx bits on Windows anyway.)
5108 Open file in binary mode. Passing "b" to fdopen() later isn't
5111 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
5113 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
5114 invalid or invisible widgets.
5116 2008-05-27 Matthias Clasen <mclasen@redhat.com>
5118 Bug 531008 – Crash in gtkprintunixdialog.c
5120 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
5121 the dialog closes. Patch by Yevgen Muntyan.
5123 2008-05-27 Matthias Clasen <mclasen@redhat.com>
5125 RH bug 248245: cups client printing from gnome applications fail
5127 * modules/printbackends/cups/gtkprintbackendcups.c
5128 (gtk_print_backend_cups_print_stream): Specify the right server.
5130 2008-05-27 Carlos Garnacho <carlos@imendio.com>
5132 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
5133 rubberbanding when "select-multiple" is TRUE. Bug #446068.
5135 2008-05-27 Carlos Garnacho <carlos@imendio.com>
5137 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
5138 correctly dialog buttons sensitivity when the anonymous option is
5139 enabled by default. Bug #531865.
5141 2008-05-27 Carlos Garnacho <carlos@imendio.com>
5143 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
5144 password dialog modal and transient for the parent window also if it
5145 was specified in the constructor. Bug #531864.
5147 2008-05-26 Richard Hult <richard@imendio.com>
5149 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
5150 setting the default font, might need to tweak this.
5152 2008-05-26 Michael Natterer <mitch@imendio.com>
5154 * examples/gtkdial/gtkdial.h
5155 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
5157 2008-05-26 Michael Natterer <mitch@imendio.com>
5159 * gtk/gtkimmodule.h: fix indentation.
5161 2008-05-26 Michael Natterer <mitch@imendio.com>
5163 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
5165 * gtk/gtkshow.c: remove inclusion of single files from gdk/
5167 Removed trailing whitespace in both files.
5169 2008-05-26 Richard Hult <richard@imendio.com>
5171 Bug 530353 – Mac-like gtk_accelerator_get_label()
5173 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
5174 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
5175 On quartz, make gtk_accelerator_get_label() format a Mac-like
5176 string, using unicode characters for modifier keys, arrows, delete
5177 etc. Patch from Yevgen Muntyan.
5179 2008-05-26 Richard Hult <richard@imendio.com>
5181 Bug 534869 – Length miscalculation in
5182 _gtk_quartz_get_selection_data_from_pasteboard
5184 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
5185 Get the number of bytes, not the number of characters, patch from
5188 2008-05-26 Matthias Clasen <mclasen@redhat.com>
5190 * gtk/gtkwidget.c: Some doc formatting fixes.
5192 2008-05-26 Matthias Clasen <mclasen@redhat.com>
5194 Bug 511163 – Remove pango_extents_to_pixels() calls
5196 * gtk/gtkcellrenderertext.c (get_size): Use
5197 pango_layout_get_pixel_extents.
5199 * configure.in: Bump Pango requirement to 1.20
5201 * INSTALL.in: Update required versions
5203 2008-05-26 Matthias Clasen <mclasen@redhat.com>
5205 Bug 513811 – Use cairo_format_stride_for_width()
5207 * gtk/gtkhsv.c (paint_ring, paint_triangle):
5208 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
5209 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
5211 * configure.in: Bump cairo requirement to 1.6.0
5213 * INSTALL.in: Update required versions
5215 2008-05-26 Matthias Clasen <mclasen@redhat.com>
5217 * gtk/gtkshow.[hc]: Formatting fixes
5219 * gtk/gtkmountoperation.c: Add docs
5221 2008-05-25 Cody Russell <bratsche@gnome.org>
5223 Bug 507389 – use gslice for gtksettings
5225 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
5226 Report and patch by Christian Persch.
5228 2008-05-25 Cody Russell <bratsche@gnome.org>
5230 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
5231 when options are missing
5233 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
5234 that other processes that try to open it will fail gracefully. Also
5235 fix a crasher caused by lack of a NULL check. Report and patch
5238 2008-05-25 Cody Russell <bratsche@gnome.org>
5240 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
5242 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
5243 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
5244 so that we also take into account for foreign windows.
5245 Report and patch by Nathaniel Smith.
5247 2008-05-25 Cody Russell <bratsche@gnome.org>
5249 Bug 525461 - Don't invalidate under an input-only child
5251 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
5252 Check that the window is not input-only before invalidating.
5253 Report and patch by Owen Taylor.
5255 2008-05-25 Cody Russell <bratsche@gnome.org>
5257 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
5258 window frame extents
5260 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
5261 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
5263 2008-05-25 Cody Russell <bratsche@gnome.org>
5265 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
5266 caused by missing flag initialization
5268 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
5269 top-level private flags correctly. Patch by Danny Baumann.
5271 2008-05-25 Cody Russell <bratsche@gnome.org>
5273 Bug 534463 - non-editable GtkTextView should not call
5274 gtk_im_context_focus_in in focus event
5276 * gtk/gtktextview.c: Add checks to see if the textview is
5277 editable. Patch by Wang Diancheng.
5279 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5281 Bug 501730 – use GSlice for small allocs
5283 * gtk/gtkmenuitem.c:
5284 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
5285 Patch by Christian Persch.
5287 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5289 Bug 523930 – sort -> search in gtktreeview.c
5291 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
5292 glitch, pointed out by Björn Lindqvist.
5294 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5296 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
5298 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
5299 doc glitch, pointed out by Christian Persch.
5301 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5303 Bug 534694 – Col id in GtkListStore could be out of range
5305 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
5306 a bit. Pointed out by Jan Arne Petersen.
5308 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5310 Bug 532497 – Configure problem when cross-compiling
5312 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
5313 pointed out by Marko Lindqvist.
5315 2008-05-25 Richard Hult <richard@imendio.com>
5317 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
5318 Slight coding style cleanup.
5320 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
5322 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
5323 Added support for parsing required toolkit versions (so that ui descriptions
5324 can target specific versions of the backend widget libraries) bug 527612.
5326 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5327 for the added xml tags to the ui description.
5329 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
5330 for requires tag handling.
5332 2008-05-25 Richard Hult <richard@imendio.com>
5334 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
5335 gtk_drag_source_info_destroy in an idle, workaround for bug
5336 #501588, that makes any code that uses the context returned from
5337 gtk_drag_begin() crash, like treeview/iconview dnd.
5338 (GdkDragSourceOwner::provideDataForType): only use the data if we
5341 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5343 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
5344 to the drag actions to allow trash (#137717).
5346 2008-05-25 Josselin Mouette <joss@malsain.org>
5348 reviewed by: Matthias Clasen
5350 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
5351 check that tracker is actually working before using it. Fixes
5354 2008-05-25 Sven Neumann <sven@gimp.org>
5356 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
5357 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
5358 and don't create an output window if it is set.
5360 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
5361 drawing areas. Fixes bug #519317.
5363 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5365 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
5366 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
5368 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
5369 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
5370 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
5371 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
5372 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
5373 (start_spinning), (gtk_spin_button_button_release),
5374 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
5375 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
5376 (gtk_spin_button_update): Reorder strange window hierarchy of the
5377 GtkSpinButton (#466000).
5379 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5381 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
5382 fix the wrong position for right and center justified labels with
5383 logical.x > 0 (#530255).
5385 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5387 * gtk/gtkfilechooserdefault.c:
5388 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
5391 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
5393 * tests/pixbuf-lowmem.c
5394 * tests/pixbuf-random.c
5395 * tests/pixbuf-randomly-modified.c
5396 * tests/pixbuf-read.c
5397 * tests/pixbuf-threads.c
5399 * tests/testtreeview.c: Fix remaining compiler warnings in these
5402 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
5404 reviewed by: Matthias Clasen
5409 * gtk/gtkshow.c: (gtk_show_uri):
5411 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
5413 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5415 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
5417 * tests/buildertest.c: (test_list_store): Add test.
5419 2008-05-24 Matthias Clasen <mclasen@redhat.com>
5421 Bug 520989 – icon factory buildable too strict
5423 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
5424 an optional attribute.
5426 2008-05-24 Matthias Clasen <mclasen@redhat.com>
5428 Bug 387972 – gtkassistant drawing problem
5430 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
5431 GtkAssistant work better in glade.
5433 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5435 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
5436 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
5437 used in GtkToolItem) (#532787).
5439 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5441 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
5442 try to toggle the visibility of the location entry field in search and
5443 recent mode (#526422).
5445 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5447 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
5448 (shortcuts_list_create): Show parse name as tooltip for path
5449 shortcuts (#137503).
5451 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
5453 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
5454 pango_color_parse, do not reference XParseColor forms (#434991).
5456 2008-05-24 James Sharpe <jsharpe@gnome.org>
5458 * gdk/gdk.symbols: Remove duplicate
5459 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
5460 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
5462 2008-05-23 Hans Breuer <hans@breuer.org>
5464 * **/makefile.msc gtk/makefile.msc.in : updated
5465 * gtk/gtkwidget.c : fix c99ism (variable at start of block
5466 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
5468 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
5469 setlocale(LC_ALL, ...)
5471 2008-05-23 Tor Lillqvist <tml@novell.com>
5473 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
5474 gdk_window_remove_redirection.
5476 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
5477 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
5478 changes. Remove now unnecessary parameter checks as the caller
5481 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
5483 2008-05-23 Tor Lillqvist <tml@novell.com>
5485 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
5486 anything if style doesn't change. Improve debugging output.
5488 2008-05-23 Michael Natterer <mitch@gimp.org>
5491 * tests/print-editor.c
5492 * tests/prop-editor.h
5493 * tests/testmountoperation.c
5494 * tests/testmultidisplay.c
5495 * tests/testnouiprint.c
5497 * tests/testprintfileoperation.h
5498 * tests/testtreesort.c
5499 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
5500 files. Remove some redundant includes.
5502 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
5504 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
5505 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
5507 2008-05-21 Richard Hult <richard@imendio.com>
5509 * gdk/quartz/gdkwindow-quartz.c:
5510 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
5511 offscreen rendering changes, fixes build.
5513 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
5515 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
5517 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
5518 return snapshot pixmap coordinates widget relative in *clip_rect.
5520 * tests/testgtk.c: fixed bogus NULL pointer unref.
5522 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
5524 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
5525 widget's allocation to cover extra widget windows placed outside the
5526 widget allocation (spinbutton arrows are the prime example for this).
5528 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
5530 * Applied pixmap redirection patch by Alexander Larsson with
5531 various updates from:
5532 Bug 318807 – Offscreen windows and window redirection.
5537 * updated docs to mention "Since 2.16".
5539 * tests/testgtk.c: fixed snapshooting pixmap leak.
5540 convert pixmap to pixbuf after snapshooting, to compensate for different
5541 bit depths (occurs when snapshooting ARGB visuals and displaying the
5542 pixmap in an RGB visual).
5544 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
5546 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
5547 need for it. enqueue damage notification as GDK_DAMAGE events
5548 for each painting redirection at the start of the event queue.
5549 consider windows with a redirection fully visible when invalidating,
5550 and when updating from backing store. cleaned up stale variables.
5552 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
5554 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
5555 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
5556 tree, drawingarea, text, handlebox, etc.
5557 clip the redirected window hierarchy to window sizes, the visible
5558 rectangles don't need to be taken into account here.
5559 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
5560 in case pixmap visuals could mismatch.
5562 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
5567 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
5568 of possibly obscured widgets into an offscreen pixmap.
5570 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
5571 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
5573 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
5575 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
5576 implementations here, adapted them to propagate redirects to child windows.
5577 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
5578 clipped to visible region. queue GDK_DAMAGE event delivery.
5579 gdk_window_redirect_to_drawable(): install window painting redirection.
5580 gdk_window_remove_redirection(): remove previously installed redirection.
5582 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
5583 renamed _gdk_window_new() and _gdk_window_reparent().
5585 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
5586 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
5588 * gdk/gdkevents.h: added GDK_DAMAGE event type.
5590 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
5592 * gdk/gdkinternals.h: added internal prototypes.
5594 2008-05-21 Michael Natterer <mitch@imendio.com>
5596 * gtk/gtkalignment.c
5600 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
5602 2008-05-20 Matthias Clasen <mclasen@redhat.com>
5604 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
5607 Patch by Marek Kasik.
5610 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
5612 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
5614 * modules/printbackends/file/gtkprintbackendfile.c:
5615 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
5616 get_default_page_size.
5618 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
5619 select its default paper size.
5621 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
5622 use the printer default.
5624 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
5625 if we don't have a default page setup.
5627 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
5629 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
5630 can accept NULL for none. Fixes bug #533920.
5632 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
5634 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
5635 gtk_spin_button_update): Remove two chunks of duplicated
5638 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
5640 * reverted recent unapproved changes by Yair Hershkovitz,
5641 regarding: Bug 503071 – Application direction changes to right
5642 to left even if theres no translation.
5644 2008-05-19 Richard Hult <richard@imendio.com>
5646 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
5647 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
5648 SetSystemUIMode instead of hiding and showing the menubar.
5650 2008-05-19 Federico Mena Quintero <federico@novell.com>
5652 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
5653 can't be resized until you expand the "Browse for other folders"
5656 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
5657 Removed the "get_resizable" method.
5658 (_gtk_file_chooser_embed_get_resizable): Removed.
5660 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
5662 * gtk/gtkfilechooserdefault.c: Likewise.
5664 * gtk/gtkfilechooserdialog.c
5665 (file_chooser_widget_default_size_changed): Act as if the dialog
5666 were always resizable.
5668 2008-05-19 Michael Natterer <mitch@imendio.com>
5670 * gtk/gtkcellrenderer.c
5671 * gtk/gtkcellrendererpixbuf.c
5672 * gtk/gtkcellrenderertoggle.c
5673 * gtk/gtkimagemenuitem.c
5674 * gtk/gtkmenutoolbutton.c
5675 * gtk/gtkoptionmenu.c
5676 * gtk/gtkstatusbar.c
5677 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
5679 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
5681 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
5682 g_disable_setlocale().
5684 2008-05-17 Richard Hult <richard@imendio.com>
5686 * gdk/quartz/gdkwindow-quartz.c:
5687 (gdk_window_impl_quartz_invalidate_maybe_recurse):
5688 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
5689 of g_idle_add. Add a temporary check if the window is already in
5690 the updates list, since update_area currently doesn't always match
5691 the backend's state, see bug #530801.
5693 2008-05-13 Tor Lillqvist <tml@novell.com>
5695 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
5697 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
5698 the "packet rate" of devices to zero instead of 50. This is
5699 reported to help significantly with Wacom tablet behaviour in GIMP
5700 and Inkscape. Patch from Thomas Bleeker.
5702 2008-05-12 Richard Hult <richard@imendio.com>
5704 * gdk/quartz/gdkevents-quartz.c:
5705 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
5706 as it's no longer necessary; instead the added quartz API to get
5707 the nsevent from an event should be used. Also move the global
5708 filter up so it's done before the check for window-less events.
5710 2008-05-12 Tor Lillqvist <tml@novell.com>
5712 Bug 532558 - Cannot build dll when using separate builddir
5715 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
5718 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
5720 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
5722 2008-05-12 Tor Lillqvist <tml@novell.com>
5724 Bug 532059 - Leak in win32 clipboard manipulation
5726 * gdk/win32/gdkselection-win32.c
5727 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
5730 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
5732 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
5733 gettext_initialization only once.
5735 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
5736 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
5737 with the extended functionality that was in the removed dpgettext().
5739 * gtk/gtkaccellabelc:
5741 * gtk/gtkimmulticontext.c:
5742 * gtk/gtkactiongroup.c:
5743 * gtk/gtkintl.h: use glib i18n api.
5745 2008-05-08 Richard Hult <richard@imendio.com>
5747 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
5748 currently invalidated region. Fixes bug #532048, patch by Yevgen
5751 2008-05-08 Richard Hult <richard@imendio.com>
5753 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
5754 fd's revents, not the first one. Fixes bug #531056, spotted by
5757 2008-05-07 Tor Lillqvist <tml@novell.com>
5759 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
5762 2008-05-05 Matthias Clasen <mclasen@redhat.com>
5764 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
5765 more printer status information in the print dialog.
5767 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
5768 printer-state-reasons into suitable messages and icons.
5770 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
5771 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
5772 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
5774 * gtk/gtkiconfactory.c:
5775 * gtk/gtkstock.h: New stock icons to display printer state.
5777 2008-05-07 Michael Natterer <mitch@imendio.com>
5779 * gdk/gdkinternals.h
5781 * gdk/directfb/gdkevents-directfb.c
5782 * gdk/quartz/gdkevents-quartz.c
5783 * gdk/win32/gdkevents-win32.c
5784 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
5785 order parameters src,dest and make src const.
5787 2008-05-06 Richard Hult <richard@imendio.com>
5789 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
5790 * gdk/gdkinternals.h: Add private backend data to events, and
5791 handle it when copying/freeing events. Currently only needed in
5794 * gdk/directfb/gdkevents-directfb.c:
5795 * gdk/quartz/gdkevents-quartz.c:
5796 * gdk/win32/gdkevents-win32.c:
5797 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
5798 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
5799 directfb. Implement for quartz. Part of fixing bug #473822.
5801 2008-05-05 Richard Hult <richard@imendio.com>
5803 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
5804 framework if there is one.
5806 2008-05-05 Michael Natterer <mitch@imendio.com>
5808 * gtk/gtkcellrenderercombo.h
5809 * gtk/gtkcellrendererspin.h
5810 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
5813 * gtk/gtkfilechooserdialog.h
5814 * gtk/gtkfilechooserwidget.h
5815 * gtk/gtkscalebutton.h: reorder instance and class structs to be
5818 2008-05-04 Richard Hult <richard@imendio.com>
5820 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
5821 gdk_unicode_to_keyval() worked before using the result. Makes
5822 function keys work, bug #530156. Also add F16 to the function key
5825 2008-05-04 Richard Hult <richard@imendio.com>
5827 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
5828 semicolon after if statement. Fixes bug #530963, patch from Yevgen
5831 2008-05-02 Michael Natterer <mitch@imendio.com>
5833 * gtk/gtk.h: add 15 files that were missing (they all got included
5834 indirectly by including gtk.h, so should have been here in the
5837 2008-05-02 Michael Natterer <mitch@imendio.com>
5839 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
5841 2008-05-01 Richard Hult <richard@imendio.com>
5843 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
5844 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
5846 2008-05-01 Matthias Clasen <mclasen@redhat.com>
5848 * modules/imput/imthai.c: Register the right translation domain.
5850 2008-04-30 Matthias Clasen <mclasen@redhat.com>
5852 Bug 529386 – Printing options hidden by blacklisted option
5854 * modules/printbackend/cups/gtkprintbackendcups.c
5855 (cups_printer_get_options): Fix the blacklist handling.
5856 Patch by Marek Kašík.
5858 2008-04-30 Richard Hult <richard@imendio.com>
5860 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
5863 2008-04-30 Richard Hult <richard@imendio.com>
5865 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
5866 nsevents with the gdk lock held, fixes deadlock when doing manual
5867 window resizing with threading enabled.
5869 2008-04-30 Richard Hult <richard@imendio.com>
5871 * gdk/quartz/gdkevents-quartz.c:
5872 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
5873 Alt to Alt and Cmd to Meta. This is not only more logical but also
5874 makes it easier to have Mac-like behavior.
5876 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
5878 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
5879 painting the flat box instead of recalculating it. (#437493,
5882 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
5884 Bug 529841 – incorrect position in directfb
5886 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
5888 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
5890 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
5892 2008-04-25 Michael Natterer <mitch@imendio.com>
5894 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
5895 <pango/pango-layout.h>.
5897 * gtk/gtkiconfactory.c
5901 * gtk/queryimmodules.c: remove inclusion of single files from
5902 pango, none of them was actually needed.
5904 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
5905 <pango/pango-utils.h>.
5907 2008-04-25 Michael Natterer <mitch@imendio.com>
5909 * gdk/gdkfont.h: include <pango/pango.h> instead of
5910 <pango/pango-font.h>.
5912 2008-04-25 Michael Natterer <mitch@imendio.com>
5914 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
5917 2008-04-21 Michael Natterer <mitch@imendio.com>
5919 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
5920 crashing when NULL pointers get passed.
5922 2008-04-18 Michael Natterer <mitch@imendio.com>
5924 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
5925 here have the same style.
5927 2008-04-18 Michael Natterer <mitch@imendio.com>
5929 * gtk/gtkicontheme.h
5930 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
5933 * gtk/gtkbuilderparser.c
5934 * gtk/gtklinkbutton.c
5936 * gtk/gtkrecentchooserdefault.c
5937 * gtk/gtkrecentchoosermenu.c
5938 * modules/input/gtkimcontextthai.c: remove inclusion of single
5939 files from gdk, none of the includes was actually needed.
5941 2008-04-18 Michael Natterer <mitch@imendio.com>
5943 * gdk/gdk.h: reorder one include so they are all alphabetical.
5945 2008-04-18 Michael Natterer <mitch@imendio.com>
5947 * modules/printbackends/cups/gtkprintercups.[ch]
5948 (gtk_printer_cups_get_ppd_name): change return value and local
5949 variable to const gchar* to fix warning about discarding const
5952 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
5954 * gtk/gtkrecentmanager.c:
5955 (gtk_recent_manager_set_filename): Keep the default storage
5956 file in $HOME, as we don't have a migration code in place yet.
5958 2008-04-18 Michael Natterer <mitch@imendio.com>
5960 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
5961 g_strfreev() the uris returned by g_bookmark_file_get_uris().
5963 2008-04-17 Michael Natterer <mitch@imendio.com>
5965 * gtk/gtkiconfactory.c (get_default_icons): register the
5966 GTK_STOCK_PAGE_SETUP icon.
5968 2008-04-17 Michael Natterer <mitch@imendio.com>
5970 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
5971 g_return_if_fail(tooltips != NULL);
5973 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
5975 * gtk/gtkwindow.c: Chain up in buildable_finish()
5977 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
5978 cases where g_path_get_dirname() returns "."
5980 * docs/reference/gtk/tmpl/gtklabel.sgml,
5981 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5982 for the <attributes> tags on GtkLabel
5984 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5986 * gtk/gtkrecentmanager.c:
5987 (gtk_recent_manager_real_changed): Fix last commit, and
5988 complete the gtk-recent-files-max-age semantics: if the
5989 property is set to 0 then purge the list.
5991 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5993 Bug 488507 – boundless growth of .recently-used.xbel file
5994 slows down applications
5996 * gtk/gtkrecentmanager.c:
5997 (gtk_recent_manager_init),
5998 (gtk_recent_manager_real_changed),
5999 (gtk_recent_manager_set_filename),
6000 (gtk_recent_manager_clamp_to_age): Clamp the recently
6001 used resources list by the age of its items, using
6002 the newly added GtkSettings property.
6004 * gtk/gtksettings.c (gtk_settings_class_init): Add the
6005 gtk-recent-files-max-age property, controlling the
6006 maximum age of the items in the recently used resources
6009 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
6011 * gtk/gtkrecentmanager.c:
6012 (gtk_recent_manager_add_item_query_info),
6013 (gtk_recent_manager_add_item): Emit the ::changed signal
6014 at the end of the asynchronous MIME type query.
6016 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
6018 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
6021 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
6022 changes in the recently used resources storage file, and
6023 drop the timeout-based poll.
6025 * ChangeLog: Fix attribution of the patch of the previous
6028 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
6030 Bug 506062 – gtk_recent_manager_add_item does not detect mime
6033 * configure.in: Depend on gio-2.0
6035 * gtk/gtkrecentmanager.c:
6036 (gtk_recent_manager_add_item_query_info_cb),
6037 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
6038 query the MIME type of the passed URI (based on a patch by
6041 2008-04-11 Carlos Garnacho <carlos@imendio.com>
6043 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
6044 page to visited page list instead of next current page. (#527466,
6045 patch by Marcus Brinkmann)
6047 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
6049 * gtk/gtklabel.c: Added <attributes> / <attribute>
6050 custom tags to parse pango attributes into labels (#527486).
6052 * tests/buildertest.c: Added tests for GtkLabel custom
6055 2008-04-10 Carlos Garnacho <carlos@imendio.com>
6057 * gtk/gtknotebook.c (hide_drag_window): Do not call
6058 gtk_widget_set_parent_window(), using widget->window instead of NULL
6059 to unset is the wrong thing, and gtk_widget_unparent() will already
6060 take care of this (#467698, patch by Sébastien Granjoux)
6062 2008-04-08 Tor Lillqvist <tml@novell.com>
6064 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
6065 these functions with G_MODULE_EXPORT.
6067 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
6069 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
6070 (gtk_file_system_volume_render_icon):
6071 Fix fallback icon rendering size
6073 2008-04-08 Michael Natterer <mitch@imendio.com>
6075 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
6076 touchscreen-mode keynav corner case: when navigating to the parent
6077 menu, make sure we don't close two menus at the same time in case
6078 the deepest open menu has no selectable items.
6080 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
6082 * gtk/gtkwidget.c: Clarified a g_warning message regarding
6083 parsing accelerators from builder files.
6085 2008-04-03 Cody Russell <bratsche@gnome.org>
6087 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
6088 of the block. (#526021, reported by Kazuki IWAMOTO)
6090 2008-04-03 Tor Lillqvist <tml@novell.com>
6092 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
6095 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
6096 workaround for a specific kind of screwed up locale setting.
6098 2008-04-02 Matthias Clasen <mclasen@redhat.com>
6100 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
6101 colormaps. Found by Daniel Berrange.
6103 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
6105 * tests/autotestfilechooser.c: Cover
6106 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
6107 name. (#346058, Joe Halliwell)
6109 2008-04-02 Federico Mena Quintero <federico@novell.com>
6111 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
6112 chooser incorrectly substitutes and expands a ~ when you type it
6113 in the filename entry.
6115 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
6116 basenames result in a slash-terminated pathname.
6117 gtk_file_system_unix_parse() is correct, but it was splitting
6118 "/home/username" into path="/home" and file_part="username", which
6119 is not what the caller wants when the entry has just "~" or
6122 2008-04-02 Tor Lillqvist <tml@novell.com>
6124 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
6125 and gtksearchenginetracker.c on Windows.
6127 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
6130 2008-04-01 Cody Russell <bratsche@gnome.org>
6132 * configure.in: Bump required Cairo to 1.5.2.
6134 * gtk/gtkprintoperation-win32.c: Add support for using the new
6135 cairo_win32_printing_surface for printing. Also fixed to use
6136 cairo_surface_show_page(). (#488833 and #521178)
6138 2008-03-31 Cody Russell <bratsche@gnome.org>
6140 * demos/gtk-demo/printing.c (draw_page): Move down each line in
6141 units of text_height rather than in units of data->font_size.
6142 (totally awesome catch by Dom Lachowicz)
6144 2008-03-28 Richard Hult <richard@imendio.com>
6146 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
6147 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
6148 event to the mainloop and don't generate one at all if the
6149 toplevel didn't change. Use the actual window and not the toplevel
6150 as event window. These changes make the generated crossing events
6151 match the X11 behavior and fixes issues with e.g. tooltips,
6152 comboboxes and menus.
6154 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
6155 the view has no window, it will be updated as soon as it's put
6158 * gdk/quartz/gdkwindow-quartz.c:
6159 (_gdk_quartz_window_debug_highlight): Make it possible to track
6160 multiple windows with debug highlighting.
6161 (show_window_internal): Remove workaround for tooltips and popups
6162 that is no longer needed with the above changes.
6164 2008-03-26 Federico Mena Quintero <federico@novell.com>
6166 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
6167 helper function; factored out from the functions that commit the
6168 current suggested autocompletion and that refresh the entry's paths.
6169 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
6170 (_gtk_file_chooser_entry_get_file_part): Likewise.
6171 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
6172 makes the entry have the correct paths when *not* using any form
6173 of completion (and makes the file chooser work when clicking the
6176 2008-03-25 Richard Hult <richard@imendio.com>
6178 * gdk/quartz/gdkevents-quartz.c:
6179 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
6180 can't find a matching window.
6182 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
6183 comment, and only trigger an event for non-temp windows, fixes
6184 problems for tooltips caused by the workarounds for the
6185 problematic tracking rect API.
6187 2008-03-25 Richard Hult <richard@imendio.com>
6189 * gdk/quartz/gdkwindow-quartz.c:
6190 (gdk_window_quartz_process_all_updates): Plug a leak and add a
6191 check that we have a toplevel before accessing it.
6193 2008-03-24 Tor Lillqvist <tml@novell.com>
6195 Bug 524151 - Dragging of 0-byte files results in an empty filename
6196 on Windows XP and above
6198 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
6199 being empty first. For some reason ISHellLink and IPersistFile
6200 succeeds in interpreting empty files as shortcuts, claiming the
6201 target of the shortcut is an empty path.
6203 Change the function to take the wide character file name that the
6204 caller already has anyway, to avoid a superfluous conversion from
6207 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
6209 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
6210 against NULL pointer. (#467051, Gian Mario Tagliaretti)
6212 2008-03-23 Cody Russell <bratsche@gnome.org>
6214 * gdk/win32/gdkevents-win32.c (show_window_recurse):
6215 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
6216 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
6217 menus from a maximized window would force the window to restore
6220 2008-03-23 Johan Dahlin <johan@gnome.org>
6222 * gtk/gtk-builder-convert:
6223 Properly convert GtkImageMenuItems which use stock labels but don't
6225 (#523932, Brian Pepple)
6227 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
6229 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
6230 New function implements GtkCellLayoutClass::get_cells. (#523787)
6232 2008-03-22 Tor Lillqvist <tml@novell.com>
6234 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
6236 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
6237 GDK_THREADS_LEAVE() call. Approved by mclasen.
6239 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
6241 * gtk/gtkexpander.c (gtk_expander_get_label):
6242 gtk_label_get_label() should be used instead of
6243 gtk_label_get_text(). (#353088, Xan Lopez)
6245 2008-03-21 Tor Lillqvist <tml@novell.com>
6247 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
6248 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
6249 gdip-pixbuf-loader module.
6251 * configure.in: Add switch --disable-gdiplus-loaders that disables
6252 building of the GDI+ loaders.
6254 When including loaders in the gdk-pixbuf library, and building
6255 GDI+ loaders, either build in all the GDI+ loaders or none of
6256 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
6257 signal building them in.
6259 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
6260 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
6261 indicate whether they should be built-in.
6263 For the rest of the changes, see gdk-pixbuf/ChangeLog.
6265 2008-03-20 Tor Lillqvist <tml@novell.com>
6267 * gtk/Makefile.am: Revert accidental change that went in as part
6268 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
6269 Darwin. On Windows one has to use a newer GNU grep that has -o,
6270 for instance the one from gnuwin32, instead of the oldish one in
6271 MSYS that doesn't have -o.
6273 2008-03-20 Tor Lillqvist <tml@novell.com>
6275 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
6276 pass NULL for %s to g_message().
6277 (main): Drop unnecessary call to gtk_widget_destroy().
6279 2008-03-20 Tor Lillqvist <tml@novell.com>
6281 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
6283 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
6284 in one dimension, or centered in case it doesn't fit.
6285 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
6288 2008-03-18 Tor Lillqvist <tml@novell.com>
6290 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
6292 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
6293 G_MODULE_ENTRY decoration can be put in a more correct place.
6295 2008-03-18 Sven Neumann <sven@gimp.org>
6297 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
6298 alternative button order on the password dialog.
6300 2008-03-18 Tor Lillqvist <tml@novell.com>
6302 Bug 99192 - Add --with-include-input-modules
6304 * configure.in: Add --with-included-immodules switch. Handled in a
6305 similar way as the --with-included-loaders switch. For each input
6306 method module foo: Collect the list of input modules to be built
6307 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
6308 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
6309 Define Automake conditionals INCLUDE_IM_FOO.
6311 * modules/input/Makefile.am: For modules to be included in libgtk,
6312 build a static library.
6314 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
6315 gdk-pixbuf to get unique names for the functions called by libgtk
6316 in the included case. Use G_MODULE_EXPORT in the non-included case
6317 so that we don't unnecessarily export unneeded random global
6320 * gtk/Makefile.am: Build the included modules and link them into libgtk.
6322 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
6323 copy/paste leftover mentions of "themes" in comments.
6325 2008-03-18 Tor Lillqvist <tml@novell.com>
6327 * tests/Makefile.am: Build testmountoperation only on Unix for now.
6329 2008-03-17 Christian Kellner <gicmo@gnome.org>
6331 Implement GtkMountOperation, a subclass of GMountOperation
6332 to be used with gio wherever there is the need to ask the
6333 user for credentials or questions while mounting a volume.
6336 * gtk/gtkmountoperation.c:
6337 * gtk/gtkmountoperation.h:
6338 Implement GtkMountOperation.
6340 * gtk/gtk.h: Add gtkmountoperation.h
6341 * gtk/Makefile.am: Add gtkmountoperation.[hc]
6342 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
6343 * tests/testmountoperation.c: Test program for it.
6344 * tests/Makefile.am: Add testmountoperation.
6346 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
6348 * gtk/gtkcontainer.c: Properly document
6349 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
6351 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6353 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
6354 style names for the ComboBox thickness style
6356 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6358 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
6359 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
6360 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
6361 intelligent separation for the xp theming engine and the classic
6362 theme while drawing the GtkComboBox button. combobox_draw_arrow
6363 is not used anymore, commented. The style has been updated to fix
6364 border/thickness glitches in the combobox according to the fixes
6365 commited regarding bug #521442. (bug #461805)
6367 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6369 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
6370 now aware of both the combobox and frame (if has-frame is set)
6371 thickness and border. (bug #521442)
6373 2008-03-15 Andre Klapper <a9016009@gmx.de>
6375 * configure.in: Added "si" to ALL_LINGUAS.
6377 2008-03-15 Matthias Clasen <mclasen@redhat.com>
6379 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
6380 Set window type hint on the search popup. (#522279, Danny Baumann)
6382 2008-03-15 Matthias Clasen <mclasen@redhat.com>
6384 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
6385 appropriate. (#521934, Huang Peng)
6387 2008-03-14 Michael Natterer <mitch@imendio.com>
6390 * gtk/gtkbuilderprivate.h
6391 * gtk/gtkfilechoosersettings.c
6392 * gtk/gtksearchenginesimple.c
6393 * gtk/tests/liststore.c
6394 * gtk/tests/treestore.c: remove single-file includes of GLib
6395 headers or replace them by <glib.h> where needed.
6397 2008-03-14 Michael Natterer <mitch@imendio.com>
6399 * gtk/gtkadjustment.c: coding style cleanup.
6401 (gtk_adjustment_set_property): no need to call g_object_notify()
6402 on the set properties.
6404 Implement GObject::dispatch_properties_changed() and make sure we
6405 emit "changed" when anything but the "value" property changes.
6407 2008-03-14 Tor Lillqvist <tml@novell.com>
6409 * gdk/win32/gdkevents-win32.c: Drop the support for the
6410 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
6411 Win95. Thanks to mitch for noticing this obsolete code.
6413 2008-03-14 Cody Russell <bratsche@gnome.org>
6415 * examples/scribble-xinput/scribble-xinput.c: Changed
6416 'void int main()' to 'int main()'. (#522211, Liqing Huang)
6418 2008-03-14 Richard Hult <richard@imendio.com>
6420 * gdk/quartz/gdkwindow-quartz.c:
6421 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
6422 only flush the toplevel once per update.
6424 2008-03-13 Federico Mena Quintero <federico@novell.com>
6426 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
6427 Set the mouse cursor of the feedback window to invisible, so that
6428 we respect GtkEntry's invisible cursor while typing.
6430 2008-03-13 Federico Mena Quintero <federico@novell.com>
6432 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
6433 the feedback window at entry_height/2 pixels to the right of the
6434 cursor, for a cheap "M-width / 2" spacing.
6436 2008-03-13 Sven Neumann <sven@gimp.org>
6438 * gtk/gtkfilechooserdefault.c
6439 * gtk/gtkprintunixdialog.c: set alternative button order for
6440 overwrite confirmation dialogs (bug #522191).
6442 2008-03-13 Sven Neumann <sven@gimp.org>
6444 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
6445 (overwrite_confirmation_dialog): added some line-breaks for
6448 2008-03-12 Federico Mena Quintero <federico@novell.com>
6450 Rework the way completion works in GtkFileChooserEntry. Fixes
6451 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
6452 Tab completion should work even if the cursor is not at the end of
6455 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
6458 We distinguish between two cases:
6460 - autocompletion - happens only in the Open modes by
6461 inserting and selecting the common prefix as you type.
6463 - explicit completion - happens when you hit Tab.
6465 When some type of completion needs to happen, the entry first
6466 parses its input and sees if it needs to initiate a folder load.
6467 Completion will not happen until the folder finishes loading.
6469 If the folder is already completely loaded, then completion is
6470 performed immediately. Otherwise, the entry queues a pending
6471 completion and starts loading the new folder (or waits until the
6472 current folder is completely loaded).
6474 Tab completion is allowed to happen even if the cursor is not at
6475 the end of the entry.
6477 There is a new feedback mechanism for explicit completion, so that
6478 you will get an Emacs-like tip whenever there are ambiguities in
6479 completion, no matches, etc. (This needs to be polished so that
6480 we support RTL entries and all the fancy Pango layout in GtkEntry).
6482 The only remaining thing to fix is the popup suggestion window.
6483 Unfortunately, GtkEntryCompletion does not let us do what we want,
6484 and will need further changes.
6486 2008-03-12 Tor Lillqvist <tml@novell.com>
6488 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
6490 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
6491 for the TaskbarCreated message in the window procedure for the
6492 dummy "tray observer" window we create. When we get a
6493 TaskbarCreated message, iterate over the status icons and re-add
6494 them to the task bar, and update them by calling
6495 gtk_status_icon_update_image().
6497 Move some ifdefs around to avoid unused functions.
6499 2008-03-12 Tor Lillqvist <tml@novell.com>
6501 * config.h.win32.in: Update to match what configure produces.
6503 2008-03-12 Jens Granseuer <jensgr@gmx.net>
6505 * modules/printbackends/cups/gtkprintbackendcups.c:
6506 (cups_printer_prepare_for_print): Don't define variables in the
6507 middle of a block. (#522067)
6509 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6511 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
6512 dialog for print-to-file. (#474302, Marek Kašík)
6514 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6516 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
6517 (#469210, Wouter Bolsterlee)
6519 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6521 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
6522 paper_size here. (#488820, Morten Welinder)
6524 2008-03-12 Michael Natterer <mitch@imendio.com>
6526 * acconfig.h: remove this deprecated file.
6528 * configure.in: added comments to all instances of AC_DEFINE() so
6529 config.h can be completely generated from configure.in.
6531 2008-03-12 Michael Natterer <mitch@imendio.com>
6533 * modules/printbackends/cups/gtkprintbackendcups.c: include
6534 <glib/gstdio.h> for g_fopen().
6536 2008-03-11 Matthias Clasen <mclasen@redhat.com>
6538 * modules/printbackends/cups/gtkprintbackendcups.c: Use
6539 g_ascii_formatd when formatting custom paper sizes, since
6540 cups doesn't handle , as decimal separator. (#521548)
6542 2008-03-11 Tor Lillqvist <tml@novell.com>
6544 Bug 469868 - Filenames with colon ":" are not saved correctly
6546 * gtk/gtkfilechooserentry.c (insert_text_callback)
6547 (delete_text_callback) [Win32]: New functions to make sure that
6548 colons used otherwise than as a separator after a drive letter, or
6549 characters that are always illegal in file names, are rejected on
6550 input. This means that the GTK+ file chooser can't be used to
6551 input full names of alternate data streams, but oh well. There are
6552 still more checks that could be done on the file names, see the
6553 bug report. But this will do for now.
6554 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
6556 2008-03-11 Jordi Mallach <jordi@sindominio.net>
6558 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
6560 2008-03-11 Michael Natterer <mitch@imendio.com>
6562 * gdk/linux-fb/*: removed linux-fb backend files.
6566 * docs/README.linux-fb
6567 * gtk/Makefile.am: remove remaining traces of linux-fb.
6569 * gtk/gtkwindow-decorate.c: same here. There is some code that
6570 calls into linux-fb to set window move/resize callbacks. I put it
6571 in #if 0 as a reminder because we did use decorated windows with
6572 the DirectFB backend and it did work, so I don't really know why
6573 this code is needed or how it could work with DirectFB back then.
6574 The file does actually compile now if DECORATE_WINDOWS is defined,
6575 but I didn't test with DirectFB to check if it does anything.
6577 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
6579 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
6580 Take thickness into account in the size allocation of the child widgets in
6584 2008-03-11 Richard Hult <richard@imendio.com>
6586 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
6588 2008-03-10 Tor Lillqvist <tml@novell.com>
6590 * tests/teststatusicon.c (do_exit, popup_menu): Add the
6591 possibility to test what happens if the process just calls exit()
6592 without any orderly cleanup of GTK+.
6594 2008-03-10 Tor Lillqvist <tml@novell.com>
6596 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
6598 2008-03-10 Tor Lillqvist <tml@novell.com>
6600 Bug 520286 - Non-deletable window has no minimize / maximize buttons
6602 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
6603 New debugging output function that decodes a set of WS_* bits.
6605 * gdk/win32/gdkprivate-win32.h: Declare it.
6607 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
6608 New function that enables or disables one menu entry in the system
6609 menu of a top-level window. (The corresponding decoration will
6610 then also be enabled or disabled (grayed).)
6612 (update_style_bits): Do as the comment says and don't try to
6613 update the window style based on the GdkWMFunctions set for the
6616 (update_system_menu): New function that enables or disables the
6617 system menu entries based on a window's stored set of
6620 (gdk_window_set_functions): Call update_system_menu() instead of
6621 update_style_bits().
6623 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
6625 * README.in: Reword the 2.14 release notes entry about the
6626 deprecation of the gtkitemfactory.h header, and fix typos
6629 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
6631 * modules/engines/ms-windows/msw_style.c (draw_shadow):
6632 Do not draw frame if parent if combobox.
6634 Uses scrollbar width system metrics for combobox button.
6635 Fixes #461805 for XP theme engine.
6637 2008-03-07 Johan Dahlin <johan@gnome.org>
6640 * gtk/gtkbuilderparser.c:
6641 * gtk/gtkbuilderprivate.h:
6642 * gtk/gtkiconfactory.c:
6643 * tests/buildertest.c:
6644 - Treat enums like enums and not values
6645 - Avoid invalid free, in case of more than two sources
6646 - Add better error messages
6647 - Add much improved tests
6648 (#520979, Christian Persch)
6650 2008-03-07 Carlos Garnacho <carlos@imendio.com>
6652 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
6655 2008-03-06 Federico Mena Quintero <federico@novell.com>
6657 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
6658 GtkFileChooserDialog should set a default response button if the
6659 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
6661 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
6662 function, refactor from where there was duplicated code.
6663 (gtk_file_chooser_dialog_map): Look at the buttons in our
6664 action_area. If the response ID for a button is one of the stock
6665 ones, make it the default response button.
6667 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6669 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
6671 * gtk/gtkbuilderprivate.h:
6672 * gtk/gtkiconfactory.c:
6673 * tests/buildertest.c:
6674 Implement GtkBuildable on GtkIconFactory, to make
6675 it possible to register custom stock icons.
6678 2008-03-06 Johan Dahlin <johan@gnome.org>
6682 * gtk/gtkstyle.c: npoints->n_points.
6683 * gtk/gtktestutils.h: widget->spinner
6684 * gtk/gtktestutils.c: argc->argcp, argv->argvp
6686 2008-03-06 William Lachance <wrlach@gmail.com>
6688 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
6689 string localizable (as it should be).
6691 2008-03-06 William Lachance <wrlach@gmail.com>
6693 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
6694 the time for today's date. It's redudant. (see bug #410517).
6696 2008-03-06 Xan Lopez <xan@gnome.org>
6698 * gtk/gtkfixed.c: fix typo in documentation.
6700 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6702 * gtk/gtkitemfactory.h:
6703 * gtk/gtktypeutils.h:
6704 Move GtkTranslateFunc to gtktypeutils.h so we can completely
6705 deprecate gtkitemfactory.h.
6707 * gtk/gtkactiongroup.h:
6709 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
6712 Add a note describing this slight incompatible change
6714 2008-03-06 Johan Dahlin <johan@gnome.org>
6716 * gtk/gtkpreview.h: Avoid double-deprecation.
6718 2008-03-06 Michael Natterer <mitch@imendio.com>
6721 * gtk/Makefile.am: move the remaining deprecated widgets to the
6722 separate sections and replaced spaces by tabs in Makefile.am
6724 2008-03-05 Johan Dahlin <johan@gnome.org>
6726 * configure.in: Add --disable-cups option.
6727 (#513826, Alberto Ruiz)
6731 Separate broken and deprecated sources and headers into different sections
6733 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
6735 2008-03-05 Kristian Rietveld <kris@imendio.com>
6737 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
6738 short-circuit in case an empty root level would be build (and thus
6739 directly destroyed) if no virtual root has been set.
6741 2008-03-04 Matthias Clasen <mclasen@redhat.com>
6743 * modules/printbackends/cups/gtkprintbackendcups.c:
6744 Honor cups user default options from ~/.cups/lpoptions
6745 (#469210, Stijn Hoop)
6747 2008-03-04 Michael Natterer <mitch@imendio.com>
6750 * gtk/gtkcolorbutton.c
6751 * gtk/gtkentrycompletion.c
6752 * gtk/gtkfontbutton.c
6756 * gtk/gtkpreview.c: don't include "gtksignal.h".
6758 * gtk/gtkfilefilter.c
6759 * gtk/gtkrecentchoosermenu.c
6760 * gtk/gtkrecentfilter.c
6761 * gtk/gtktext.c: don't include "gtkobject.h".
6763 2008-03-04 Simos Xenitellis <simos@gnome.org>
6765 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
6766 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
6768 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
6771 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
6772 file, contains compose sequences that used to exist in
6773 gtk/gtkimcontextsimple.c
6775 * gtk/compose-parse.py: Script to generate compose
6776 sequences from upstream (Xorg).
6778 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
6779 check_algorithmically): New functions. First two search in
6780 gtk_compose_seqs_compact[] for matching compose sequence, third
6781 tries NFC normalisation on incoming compose sequence.
6782 (gtk_im_context_simple_filter_keypress):
6783 Adds searching with check_compact_table(), check_algorithmically().
6785 2008-03-03 Carlos Garnacho <carlos@imendio.com>
6787 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
6788 scrollwheel work in GtkPathBar.
6790 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
6792 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
6793 an input-only window, event_window, which we'll use to capture
6795 (gtk_path_bar_map): Show the event_window under the rest of the
6796 windows, so it will be a catch-all for unhandled events.
6798 2008-03-03 Sven Neumann <sven@gimp.org>
6800 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
6801 typo in the documentation of the GtkFileChooserButtons::file-set
6802 signal (see bug #353196).
6804 2008-03-03 Tor Lillqvist <tml@novell.com>
6806 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
6809 2008-03-02 Johan Dahlin <johan@gnome.org>
6811 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
6812 Remove left-over focus_pad variable.
6813 (#490892, Claudio Saavedra)
6815 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
6816 (#518166, Matt Kraai)
6818 2008-03-02 Johan Dahlin <johan@gnome.org>
6820 * docs/tutorial/gtk-tut.sgml: Add a missing space
6821 (#517954, Matt Kraai)
6823 2008-03-03 Tor Lillqvist <tml@novell.com>
6825 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
6826 the widget is a GtkButton before casting.
6828 2008-03-02 Johan Dahlin <johan@gnome.org>
6830 * configure.in: Compare using = instead of ==, which is portable.
6831 (#490787, Thomas Klausner)
6833 2008-03-02 Johan Dahlin <johan@gnome.org>
6835 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
6836 fixes non-C++ build.
6837 (#496032, Nelson Benitez)
6839 2008-02-29 Johan Dahlin <johan@gnome.org>
6841 * demos/gtk-demo/demo.ui:
6842 * gtk/gtkbuilderparser.c:
6843 * gtk/gtkbuilderprivate.h:
6844 * gtk/gtkliststore.c:
6845 * tests/buildertest.c:
6846 Add translatable/context and comment attributes on
6847 <col> tags under a GtkListStore. Refactor parts of the
6848 translation api and make it available inside gtk+ itself.
6849 Update tests and example.
6850 Fixes a part of #518642
6852 2008-02-29 Johan Dahlin <johan@gnome.org>
6855 Add missing g_return_val_if_fail checks for public API.
6857 * gtk/gtkbuilderparser.c:
6858 * gtk/gtkbuilderprivate.h:
6859 Do not use g_error for a few more errors, instead set
6860 the GError sent in through add_from_file/add_from_string.
6861 * tests/buildertest.c:
6862 Add a couple of new parsing tests.
6863 (#519199, Pavel Syomin)
6865 2008-02-29 Federico Mena Quintero <federico@novell.com>
6867 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
6868 refreshing an existing folder (i.e. when we are about to reload
6869 its file list), turn off the folder's is_finished_loading flag.
6870 Otherwise callers which do ::is_finished_loading() followed by
6871 ::list_children() will get nothing.
6873 2008-02-29 Cody Russell <bratsche@gnome.org>
6875 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
6876 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
6878 2008-02-28 Matthias Clasen <mclasen@redhat.com>
6880 * gtk/gtkcalendar.h: Remove trailing comma from enum to
6881 make the compiler happy. (#517295, Sylvain Pasche)
6883 2008-02-27 Michael Natterer <mitch@imendio.com>
6885 * gtk/gtkmenushell.c
6888 * gtk/gtktipsquery.c
6893 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
6894 private functions and virtual function implementations.
6896 2008-02-27 Richard Hult <richard@imendio.com>
6898 * gdk/quartz/GdkQuartzView.c:
6899 * gdk/quartz/GdkQuartzView.h:
6900 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
6901 Fix performance regression for borderless transparent windows
6904 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
6906 * tests/testgtk.c: Revert back to r19454.
6908 2008-02-27 Sven Neumann <sven@gimp.org>
6910 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
6911 Quartz backend, use a native Mac OS X application for the print
6912 preview (bug #518624).
6914 2008-02-26 Michael Natterer <mitch@imendio.com>
6916 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
6917 the members of info->tag_stack since they are a) gobjects and b)
6918 not even owned by us, ugh... Fixes crash when deserializing fails.
6920 2008-02-26 Sven Neumann <sven@gimp.org>
6922 * docs/tools/shooter.c (find_toplevel_window)
6923 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
6924 argument passed to XQueryTree().
6926 2008-02-25 Matthias Clasen <mclasen@redhat.com>
6928 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
6929 don't use beagle_query_add_hit_type.
6931 2008-02-25 Richard Hult <richard@imendio.com>
6933 * gdk/quartz/gdkevents-quartz.c
6934 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
6936 2008-02-24 Richard Hult <richard@imendio.com>
6938 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
6939 shown without gdk's control when clicking the dock icon.
6941 2008-02-24 Richard Hult <richard@imendio.com>
6943 * gdk/quartz/gdkprivate-quartz.h:
6944 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
6945 Use the subtype field for the custom event that is used to wake up
6946 the mainloop so we can have other custom event types.
6948 * gdk/quartz/gdkevents-quartz.c:
6949 (_gdk_quartz_events_trigger_crossing_events):
6950 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
6951 crossing events after showing a window if necessary, to work
6952 around problems with the tracking rect API.
6954 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6956 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
6957 wrong results on win32 because it doesn't set the printing units,
6958 which affect the transformation of the cairo context
6959 (#347125, Erik van Pienbroek)
6961 2008-02-22 Tor Lillqvist <tml@novell.com>
6963 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
6965 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6967 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
6968 acceptable for a module to only support the save_to_callback()
6969 method if it marks itself as WRITABLE
6971 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6973 * configure.in: Bump version
6975 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6977 * === Released 2.13.0 ===
6979 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
6981 2008-02-21 Tor Lillqvist <tml@novell.com>
6983 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
6984 pass the format string to strftime in the C library's locale's
6985 charset, not the system's. Correspondingly, the return value from
6986 strftime() is in the C library's locale's charset. (#509885)
6988 2008-02-20 Richard Hult <richard@imendio.com>
6990 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
6991 the right window level and shadow after recreating the window.
6993 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
6994 necessary after drawing (bug #517338).
6996 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
6998 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
6999 call to g_type_class_unref in case of error. (#517563)
7001 2008-02-18 Sven Neumann <sven@gimp.org>
7003 * gtk/Makefile.am (STOCK_ICONS)
7004 * gtk/stock-icons/16/gtk-page-setup.png
7005 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
7006 taken from GNOME icon theme.
7008 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
7010 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
7012 * configure.in: Added Kannada (kn) to ALL_LINGUAS
7014 2008-02-17 Johan Dahlin <johan@gnome.org>
7016 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
7017 When converting a stock item based on the label, remove the label property.
7019 2008-02-17 Richard Hult <richard@imendio.com>
7021 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
7022 position after showing the window since the window manager might
7023 not place it where we requested in the first places.
7025 2008-02-17 Richard Hult <richard@imendio.com>
7027 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
7028 (_gdk_quartz_window_detach_from_parent),
7029 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
7030 the toplevel ordering list in all places where the order is
7031 potentially changed. Fixes mouse focus issues for windows with
7032 a transient parent set.
7034 2008-02-17 Richard Hult <richard@imendio.com>
7036 * gdk/quartz/gdkevents-quartz.c
7037 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
7038 window when event debugging is enabled.
7040 2008-02-16 Richard Hult <richard@imendio.com>
7042 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
7043 to the scroll event (bug #516757, Paul Davis).
7045 2008-02-16 Matthias Clasen <mclasen@redhat.com>
7049 2008-02-16 Matthias Clasen <mclasen@redhat.com>
7051 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
7054 2008-02-15 Matthias Clasen <mclasen@redhat.com>
7056 * gdk/Makefile.am: Don't install private headers. (#463510)
7058 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
7059 the installed header gdkprivate.h.
7061 2008-02-15 Matthias Clasen <mclasen@redhat.com>
7063 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
7064 a crash with hidden, reorderable tabs. (#513230,
7065 Mike Massonnet, patch by Carlos Garnacho)
7067 2008-02-15 Matthias Clasen <mclasen@redhat.com>
7069 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
7070 Warn on duplicate action group names. (#501746, Christian
7073 2008-02-15 Matthias Clasen <mclasen@redhat.com>
7076 * modules/other/gail/tests/Makefile.am:
7077 * modules/other/gail/libgail-util/Makefile.am:
7078 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
7079 builds. (#516254, Yevgen Muntyan)
7081 2008-02-15 Matthias Clasen <mclasen@redhat.com>
7086 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
7087 instead of hardcoded target tables. (#516092, Christian Persch)
7089 2008-02-15 Matthias Clasen <mclasen@redhat.com>
7091 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
7092 add the same target atom twice. (#516087, Christian Persch)
7094 2008-02-15 Matthias Clasen <mclasen@redhat.com>
7096 * tests/testfilechooser.c: Add a --backend option.
7097 (#516073, Christian Persch)
7099 2008-02-16 Richard Hult <richard@imendio.com>
7101 * gdk/quartz/gdkprivate-quartz.h:
7102 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
7105 2008-02-15 Matthias Clasen <mclasen@redhat.com>
7107 * configure.in: Go back to 2.13.0 as version for now,
7108 as there was no consensus to do the jump.
7110 * many other places: Update Since: tags.
7112 2008-02-15 Matthias Clasen <mclasen@redhat.com>
7114 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
7116 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
7118 2008-02-15 Richard Hult <richard@imendio.com>
7120 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
7121 instead of bounds when resizing windows.
7123 2008-02-15 Matthias Clasen <mclasen@redhat.com>
7125 * gdk/x11/gdkkeys-x11.c:
7126 * gdk/x11/gdkcolor-x11.c:
7127 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
7129 2008-02-15 Matthias Clasen <mclasen@redhat.com>
7131 * gdk/x11/gdktestutils-x11.c:
7132 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
7134 2008-02-15 Tor Lillqvist <tml@novell.com>
7136 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
7137 leak Registry key handles. (#516578)
7139 2008-02-14 Richard Hult <richard@imendio.com>
7141 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
7142 makeKeyWindow unfortunately doesn't work in all cases, we must use
7143 makeKeyAndOrderFront.
7145 2008-02-14 Richard Hult <richard@imendio.com>
7147 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
7148 (gdk_window_hide), (gdk_window_fullscreen),
7149 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
7150 the window is hidden.
7152 2008-02-14 Richard Hult <richard@imendio.com>
7154 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
7155 resizing to be consistent and to avoid introducing an internal
7156 transform in the view.
7158 2008-02-14 Richard Hult <richard@imendio.com>
7160 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
7163 2008-02-14 Johan Dahlin <johan@gnome.org>
7165 * gdk/gdktestutils.h
7166 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
7168 2008-02-13 Richard Hult <richard@imendio.com>
7170 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
7171 Remove unused variables.
7172 (gtk_clipboard_set_contents),
7173 (gtk_clipboard_get_owner), (clipboard_unset),
7174 (gtk_clipboard_request_targets): Notify the previous clipboard
7175 owner when the owner changes. Fixes bug #493406.
7177 2008-02-13 Richard Hult <richard@imendio.com>
7179 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
7180 the return value (return number of colors that failed), and handle
7182 (gdk_colormap_free_colors): Fix typo in comment.
7184 2008-02-13 Kristian Rietveld <kris@imendio.com>
7186 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
7187 queue a redraw if the rubber banding has actually been active.
7189 2008-02-12 Matthias Clasen <mclasne@redhat.com>
7191 * gtk/gtkpapersize.c:
7192 * gtk/gtkprintoperation.c:
7193 * gtk/gtkvolumebutton.c:
7194 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
7195 out by Behdad Esfahbod.
7197 2008-02-12 Federico Mena Quintero <federico@novell.com>
7199 Merged from gtk-2-12:
7201 Don't focus the file list when shortcuts get activated. This
7202 removes a lot of ambiguity in when the file selection should
7203 change, and makes the overall code flow simpler.
7205 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
7206 file/save dialog clears the filename entry when changing
7209 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
7210 focus should not go to the file list when a shortcut is activated.
7212 * gtk/gtkfilechooserdefault.c
7213 (shortcuts_activate_volume_mount_cb): Don't focus the file list
7214 (shortcuts_activate_get_info_cb): Likewise.
7216 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
7217 the file list (this was the last place where we would focus the
7218 file list explicitly). If you are in the location entry, for
7219 example, you don't want Alt-Home to take you to the file list; you
7220 just want the current folder to change. Thanks to Olle Bergkvist
7221 <olle.bergkvist@yahoo.se> for pointing this out in
7222 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
7223 (focus_browse_tree_view_if_possible): Removed.
7225 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7227 Skip exensions when selecting filenames in the save-as dialog.
7228 (#362516, Carlos Garnacho)
7230 * gtk/gtkfilechooserentry.h:
7231 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
7232 New function to skip the extension part when selecting a filename.
7233 (_gtk_file_chooser_entry_set_base_folder): Use it here.
7235 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
7238 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7240 * gtk/gtkiconview.c: Fix state change reporting for
7241 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
7243 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
7245 * gtk/gtkrecentchooser.c:
7246 (gtk_recent_chooser_class_init): Set the default value of the
7247 :show-not-found property to TRUE, as every implementation sets
7250 * gtk/gtkrecentchooserdefault.c:
7251 (_gtk_recent_chooser_default_init): Sync show_tips to the
7252 default value of the :show-tips property.
7254 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7256 * gtk/gtkclipboard-quartz.c:
7258 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
7261 2008-02-12 Kristian Rietveld <kris@imendio.com>
7263 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
7264 (gtk_tree_view_real_toggle_cursor_row): guard against people
7265 deleting the row in question in the selection-changed callback.
7266 (#514621, Andreas Koehler).
7268 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7270 * gtk/*.c: Unify the handling of various "Enter" keysyms
7271 all over the place. (#515047, Christian Persch)
7273 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7275 * gtk/gtkfilesystemmodel.c:
7277 * gtk/gtkwidget.c: Use g_value_set_static_string() where
7278 appropriate. (#515042, Christian Persch)
7280 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7282 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
7284 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7286 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
7288 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7290 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
7291 (recent_model_sort_drag_data_get):
7292 (search_model_sort_drag_data_get):
7293 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
7294 * gtk/gtkpathbar.c (button_drag_data_get_cb):
7295 Use gtk_selection_data_set_uris() instead of doing it
7296 by hand. (#514890, Christian Persch)
7298 2008-02-12 Michael Natterer <mitch@imendio.com>
7300 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
7301 gtk_get_current_event_time().
7303 2008-02-12 Michael Natterer <mitch@imendio.com>
7305 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
7306 gtk_window_get_key_hash() to get the hash instead of manually
7307 fiddling with quarks and gtk_window_keys_changed(). Also add
7308 g_return_if_fail() to this public function.
7310 2008-02-11 Matthias Clasen <mclasen@redhat.com>
7312 Support keynav in status icons. (#473786, Li Yuan)
7314 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
7316 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
7318 2008-02-11 Kristian Rietveld <kris@imendio.com>
7320 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
7321 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
7322 wrt. link deletion from list; contination of fix for #503569.
7324 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
7326 * gtk/gtkrecentchoosermenu.c:
7327 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
7328 on the placeholder menu item.
7330 * tests/testrecentchoosermenu.c:
7331 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
7332 whether the placeholder menu item gets shown.
7334 2008-02-10 Cody Russell <bratsche@gnome.org>
7336 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
7337 Check the return value of _gtk_file_chooser_get_file_system () for
7338 NULL before passing it to gtk_file_system_path_to_uri ().
7339 (#515667, Francesco Montorsi)
7341 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
7343 * gtk/gtkbuilder.c: Improve the documentation for
7344 gtk_builder_connect_signals. (#514471)
7346 2008-02-10 Matthias Clasen <mclasen@redhat.com>
7348 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
7351 2008-02-08 Cody Russell <bratsche@gnome.org>
7353 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
7354 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
7356 2008-02-08 Richard Hult <richard@imendio.com>
7358 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
7359 delta from the NSEvent for now, generating multiple scroll events
7360 results in a lot of events getting queued up and things get really
7363 2008-02-08 Sven Herzberg <sven@imendio.com>
7365 Adjust the code to match the documentation, examples, "common sense"
7366 and existing applications.
7368 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
7369 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
7372 2008-02-07 Cody Russell <bratsche@gnome.org>
7374 * gdk/win32/gdkevents-win32.c
7375 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
7376 of a block that were causing compile problems on old
7377 compilers. (#515053, reported by Kazuki IWAMOTO)
7379 2008-02-07 Michael Natterer <mitch@imendio.com>
7386 * gtk/gtkmenushell.c
7388 * gtk/gtkoptionmenu.c
7392 * gtk/gtkradiomenuitem.c
7394 * gtk/gtkscrolledwindow.c
7395 * gtk/gtksocket.c: remove g_return_if_fail() from private
7396 functions and virtual function implementations.
7398 2008-02-07 Michael Natterer <mitch@imendio.com>
7401 * gtk/gtkassistant.c
7405 * gtk/gtkcellrenderercombo.c
7408 * gtk/gtkdrawingarea.c
7409 * gtk/gtkentrycompletion.c
7415 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
7416 functions and virtual function implementations.
7418 2008-02-07 Christian Persch <chpe@gnome.org>
7420 * gdk/gdkpixbuf-render.c:
7421 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
7422 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
7423 otherwise there will be random pixel values in the semi-transparent
7424 area of the pixbuf within the mask. Bug #487865.
7426 2008-02-06 Cody Russell <bratsche@gnome.org>
7428 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
7429 otherwise things get wonky when you click on a menu. This fixes
7430 a regression caused in #505928. Thanks to Tor for spotting this
7433 2008-02-06 Michael Natterer <mitch@imendio.com>
7435 * gtk/gtkcontainer.c
7442 * gtk/gtkmenushell.c
7444 * gtk/gtkseparatortoolitem.c
7446 * gtk/gtktextlayout.c
7447 * gtk/gtktoggletoolbutton.c
7448 * gtk/gtktoolbutton.c
7451 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
7454 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7456 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
7457 Allow to store half-open ranges.
7459 2008-02-05 Cody Russell <bratsche@gnome.org>
7461 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
7462 down the stack until we get to a window that is mapped.
7463 Otherwise hiding a window will cause all windows in the app
7464 to be blocked. (#514643)
7466 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7468 * gtk/updateiconcache.c: Ignore images in the toplevel theme
7469 directory, avoiding one source of invalid caches that has been
7470 spotted in the wild.
7472 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7474 * gtk/updateiconcache.c: Fix the previous commit to compile.
7476 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7478 * gtk/updateiconcache.c: Install a printerr handler that
7479 prepends the program name, since gtk-update-icon-cache output
7480 often appears in the middle of other output, e.g. rpm update logs.
7482 2008-02-05 Cody Russell <bratsche@gnome.org>
7484 * gdk/win32/gdkprivate-win32.h
7485 * gdk/win32/gdkevents-win32.c
7486 * gdk/win32/gdkwindow-win32.c
7487 * gdk/win32/gdkwindow-win32.h
7488 * gdk/win32/gdkwin32.h:
7489 Modal window rework. (#455627 and #511111)
7491 2008-02-04 Michael Natterer <mitch@imendio.com>
7493 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
7494 g_return_if_fail() if the cell is not part of the combo instead of
7495 crashing in the next line.
7497 2008-02-01 Cody Russell <cody@jhu.edu>
7499 * modules/engines/ms-windows/xp_theme.[ch]
7500 * modules/engines/ms-windows/xp_theme_defs.h
7501 * modules/engines/ms-windows/msw_rc_style.c
7502 * modules/engines/ms-windows/msw_theme_main.c
7503 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
7504 attempted to stylize more like the rest of the gtk+ stack's code.
7506 2008-02-01 Michael Natterer <mitch@imendio.com>
7508 * tests/testgtk.c: initialize GdkColor structs to fix warning
7509 about uninitialized "pixel" member.
7511 * tests/testactions.c: connect the toolbar_style() callback so it
7512 does something useful and doesn't warn about being defined but not
7515 2008-01-31 Cody Russell <bratsche@gnome.org>
7517 * gdk/win32/gdkevents-win32.c:
7518 Refactored some of the window hiding/showing code from
7519 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
7520 under WM_ACTIVATE was causing the application to go into
7521 a weird state when the user right-clicked on the taskbar
7522 entry of a window that was minimized. (#505928)
7524 2008-01-31 Cody Russell <bratsche@gnome.org>
7526 * gtk/gtkpaned.c (gtk_paned_set_position):
7527 Change queue_resize() to queue_draw(), and add a check for
7528 child2 != NULL in case someone calls this before there is
7529 a child packed in there. (#144269 again)
7531 2008-01-31 Sven Neumann <sven@gimp.org>
7533 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
7534 applied patch from Denis Oliver Kropp <dok@directfb.org>.
7536 2008-01-31 Sven Neumann <sven@gimp.org>
7538 * gdk/directfb/gdkdisplay-directfb.c
7539 * gdk/directfb/gdkdrawable-directfb.c
7540 * gdk/directfb/gdkprivate-directfb.h
7541 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7542 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
7544 2008-01-31 Richard Hult <richard@imendio.com>
7546 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
7547 issues with undecorated windows. Revert the change done on
7548 2008-01-25 and fix it by using the view's bounds instead. The
7549 bounds will always be up to date when setting up the tracking
7550 rect, so this should be more robust.
7552 2008-01-30 Sven Neumann <sven@gimp.org>
7554 * gdk/directfb/gdkdrawable-directfb.c
7555 * gdk/directfb/gdkwindow-directfb.c
7556 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
7557 Oliver Kropp <dok@directfb.org>. Adds debug messages using
7558 DirectFB's debugging system
7560 2008-01-30 Sven Neumann <sven@gimp.org>
7562 * gdk/directfb/gdkdirectfb.h
7563 * gdk/directfb/gdkdisplay-directfb.c
7564 * gdk/directfb/gdkdrawable-directfb.c
7565 * gdk/directfb/gdkim-directfb.c
7566 * gdk/directfb/gdkimage-directfb.c
7567 * gdk/directfb/gdkinput-directfb.c
7568 * gdk/directfb/gdkmain-directfb.c
7569 * gdk/directfb/gdkpixmap-directfb.c
7570 * gdk/directfb/gdktestutils-directfb.c
7571 * gdk/directfb/gdkvisual-directfb.c
7572 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7573 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
7574 errors and has some cleanups.
7576 2008-01-30 Michael Natterer <mitch@imendio.com>
7578 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
7579 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
7582 * gtk/updateiconcache.c (add_string): cast const gchar* to
7583 gpointer when inserting in a GHashTable.
7585 * tests/testcalendar.c (calendar_detail_cb): remove const from
7586 return value since it's a newly allocated string.
7588 (calendar_update_details): free the detail.
7590 2008-01-29 Johan Dahlin <johan@gnome.org>
7592 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
7594 * demos/gtk-demo/demo.ui:
7595 Move the about dialog to the glade file, add accessible tags
7596 examples to the markup file.
7598 2008-01-28 Paolo Borelli <pborelli@katamail.com>
7600 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
7601 layout, fixes #512375.
7603 2008-01-28 Michael Natterer <mitch@imendio.com>
7605 * gtk/gtktextchild.c
7606 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
7608 2008-01-28 Michael Natterer <mitch@imendio.com>
7610 * demos/gtk-demo/builder.c (about_activate): use
7611 gtk_about_dialog_set_program_name() instead of the deprecated
7614 2008-01-28 Michael Natterer <mitch@imendio.com>
7616 * gtk/gtktextchild.c
7617 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
7620 2008-01-26 Johan Dahlin <johan@gnome.org>
7622 * tests/Makefile.am:
7623 * tests/textbuffertest.c:
7624 Rename textbuffer test and port it to the new test framework
7626 2008-01-25 Johan Dahlin <johan@gnome.org>
7628 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
7629 unsetting of GTK_MODULES.
7631 * gtk/gtk-builder-convert
7632 (GtkBuilderConverter._convert_adjustment): Handle the case where
7633 there is no child text node.
7634 (GtkBuilderConverter): Allow xml comments in most places.
7636 2008-01-25 Johan Dahlin <johan@gnome.org>
7638 * gtk/gtk-builder-convert
7639 (GtkBuilderConverter._convert_combobox_items): Remove the items
7640 even if there are no items set.
7641 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
7642 signals and tooltips for all menu items subclasses and
7643 GtkImageMenuItem:label.
7644 Makes it possible to fully convert and run Jokosher.glade.
7646 2008-01-25 Johan Dahlin <johan@gnome.org>
7648 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
7649 (gtk_widget_buildable_get_internal_child), (free_action),
7650 (free_relation), (gtk_widget_buildable_parser_finished),
7651 (accessibility_start_element),
7652 (gtk_widget_buildable_custom_tag_start),
7653 (gtk_widget_buildable_custom_finished):
7654 Implement accessible support, fixes #454653.
7656 * gtk/gtk-builder-convert:
7657 Add support for migrating old glade files
7659 * tests/buildertest.c: (test_widget), (test_file):
7660 Add accessible tests and imprve the test_file function to display
7661 toplevels and run dialogs.
7663 2008-01-25 Richard Hult <richard@imendio.com>
7665 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
7666 didn't change, fixes focus event issues for undecorated windows.
7668 2008-01-25 Richard Hult <richard@imendio.com>
7670 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
7671 const and remove unused variables).
7673 2008-01-25 Michael Natterer <mitch@imendio.com>
7676 * gtk/gtkcellrenderer.h
7677 * gtk/gtkimcontext.h
7681 * gtk/gtktreeprivate.h
7682 * gtk/gtktreeviewcolumn.h
7683 * gtk/gtkwidget.h: add const to constant structs which are passed
7684 into GTK+. Also add some forgotten const for const strings.
7688 * gtk/gtkcellrenderer.c
7689 * gtk/gtkimcontext.c
7694 * gtk/gtktreeviewcolumn.c
7695 * gtk/gtkwidget.c: changed accordingly.
7697 2008-01-25 Sven Herzberg <sven@imendio.com>
7699 Reviewed by Johan Dahlin.
7701 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
7702 this is called with something that's not a GtkUIManager
7704 2008-01-24 Johan Dahlin <johan@gnome.org>
7706 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
7707 Chain up to parent, so widgets can have internal children.
7709 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7711 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
7714 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
7716 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7718 Use pango_layout_set_height() for calendar details (#506049).
7720 * configure.in: Require 1.19.3 for pango_layout_set_height().
7721 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
7723 2008-01-18 Johan Dahlin <johan@gnome.org>
7725 * gtk/gtk-builder-convert (get_property_node): New method
7726 (GtkBuilderConverter._create_object): Conditionally take a node as
7727 a property value, so don't lose translate/context attributes if they
7729 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
7730 property values instead of strings.
7731 (#509153, Erik van Pienbroek)
7733 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
7735 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
7737 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
7738 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
7739 * tests/testcalendar.c: Duplicate calendar details before returning.
7741 2008-01-16 Christian Persch <chpe@gnome.org>
7743 * gtk/gtkwidget.c: Store the event mask and extension event mode
7744 directly in the gobject data pointer, instead of in an allocated
7747 2008-01-16 Michael Natterer <mitch@imendio.com>
7749 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
7750 gdk-pixbuf now uses gio functions.
7752 2008-01-16 Matthias Clasen <mclasen@redhat.com>
7754 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
7755 the notify::model signal. (#509819, David Zeuthen)
7757 2008-01-15 Michael Natterer <mitch@imendio.com>
7765 * gdk/gdkwindow.h: made more struct pointer and array parameters
7766 const. GDK should now be constified as far as possible without
7767 breaking source compatibility. Includes some minor cleanup like
7768 indentation and s/nfoo/n_foo/ (bug #508544).
7774 * gdk/gdkregion-generic.c
7776 * gdk/directfb/gdkdisplay-directfb.c
7777 * gdk/directfb/gdkwindow-directfb.c
7778 * gdk/quartz/gdkdisplay-quartz.c
7779 * gdk/quartz/gdkwindow-quartz.c
7780 * gdk/win32/gdkdisplay-win32.c
7781 * gdk/win32/gdkwindow-win32.c
7782 * gdk/x11/gdkdisplay-x11.c
7783 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7785 2008-01-14 Michael Natterer <mitch@imendio.com>
7787 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
7790 (gtk_rc_parse_any): change variables to const and introduce
7791 another local variable to fix const warnings.
7793 2008-01-14 Michael Natterer <mitch@imendio.com>
7795 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
7796 of gdk_screen_get_font_options() to gpointer to get rid of const
7799 2008-01-14 Michael Natterer <mitch@imendio.com>
7801 * tests/testdnd.c (source_drag_data_get): fix another call to
7802 gtk_selection_data_set().
7804 2008-01-14 Michael Natterer <mitch@imendio.com>
7806 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
7809 2008-01-14 Michael Natterer <mitch@imendio.com>
7811 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
7813 2008-01-14 Michael Natterer <mitch@imendio.com>
7815 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
7816 "uris" to guchar* when passing it to gtk_selection_data_set().
7818 2008-01-14 Michael Natterer <mitch@imendio.com>
7824 * gdk/gdkinternals.h
7826 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
7827 parameters const (bug #508544).
7832 * gdk/gdkrectangle.c
7833 * gdk/gdkpolyreg-generic.c
7834 * gdk/gdkregion-generic.c
7835 * gdk/directfb/gdkcolor-directfb.c
7836 * gdk/directfb/gdkgc-directfb.c
7837 * gdk/directfb/gdkgeometry-directfb.c
7838 * gdk/directfb/gdkwindow-directfb.c
7839 * gdk/quartz/gdkcolor-quartz.c
7840 * gdk/quartz/gdkgc-quartz.c
7841 * gdk/quartz/gdkgeometry-quartz.c
7842 * gdk/quartz/gdkwindow-quartz.c
7843 * gdk/win32/gdkcolor-win32.c
7844 * gdk/win32/gdkgc-win32.c
7845 * gdk/win32/gdkgeometry-win32.c
7846 * gdk/win32/gdkprivate-win32.h
7847 * gdk/win32/gdkwindow-win32.c
7848 * gdk/x11/gdkcolor-x11.c
7849 * gdk/x11/gdkgc-x11.c
7850 * gdk/x11/gdkgeometry-x11.c
7851 * gdk/x11/gdkmain-x11.c
7852 * gdk/x11/gdkprivate-x11.h
7853 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7855 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
7858 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7860 Explain name choice for gtk_tool_item_toolbar_reconfigured.
7862 * gtk/gtktoolitem.c: Add comment expaining name choice for
7863 gtk_tool_item_toolbar_reconfigured.
7865 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7867 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
7868 implementations to notify its children, when some aspect of their
7869 configuration changed (#509042).
7871 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
7872 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
7873 Rename _gtk_tool_item_toolbar_reconfigured.
7875 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7877 Include <gtk/gtktoolshell.h> from gtk.h.
7879 * gtk/gtk.h: Add gtktoolshell.h
7881 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7883 Print angle brackets arround e-mail addresses in the about dialog
7884 (#409520, Mariano Suárez-Alvarez).
7886 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
7888 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
7890 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
7891 special casing so test widgets are always queues for destruction
7894 * gtk/tests/testing.c: removed bits left-over from testing without
7897 2008-01-10 Tor Lillqvist <tml@novell.com>
7899 * modules/other/gail/libgail-util/Makefile.am
7900 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
7903 2008-01-10 Tor Lillqvist <tml@novell.com>
7905 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
7906 uses gtkprintunixdialog API.
7908 2008-01-10 Tor Lillqvist <tml@novell.com>
7910 * gdk/win32/gdkdisplay-win32.c
7911 * gdk/win32/gdkglobals-win32.c
7912 * gdk/win32/gdkprivate-win32.h
7913 * gdk/win32/gdkscreen-win32.c
7914 * gdk/win32/gdkwindow-win32.c: Implement
7915 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
7916 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
7919 2008-01-10 Cody Russell <bratsche@gnome.org>
7921 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
7922 Properly ref/unref windows and parents. (#506769)
7924 2008-01-10 Richard Hult <richard@imendio.com>
7926 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
7927 (gdk_window_hide), (move_resize_window_internal): Move the
7928 tracking rect workaround from here...
7930 * gdk/quartz/GdkQuartzWindow.c:
7931 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
7932 movements during showing/hiding operations. Fixes bug #508516.
7934 2008-01-10 Michael Natterer <mitch@imendio.com>
7936 * gdk/directfb/gdkscreen-directfb.c
7937 (gdk_screen_get_monitor_width_mm)
7938 (gdk_screen_get_monitor_height_mm)
7939 (gdk_screen_get_monitor_plug_name): add these functions to make
7942 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
7944 * gtk/gtkrecentchoosermenu.c:
7945 (idle_populate_func), (idle_populate_clean_up): Fix possible
7946 recursion by resetting the idle source id. (#507605, William
7949 2008-01-10 Kristian Rietveld <kris@imendio.com>
7951 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
7952 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
7953 avoid valgrind warnings. (#507751, patch from Christian Persch).
7955 2008-01-10 Kristian Rietveld <kris@imendio.com>
7957 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
7958 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
7960 2008-01-10 Kristian Rietveld <kris@imendio.com>
7962 Fix #477175, reported by Juri Pakaste.
7964 * gtk/gtktreeprivate.h:
7965 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
7966 tree_view->priv->dy here directly, just calculate the new value
7967 and set it on the adjustment,
7968 (gtk_tree_view_adjustment_changed): add guards to not call
7969 gtk_tree_view_dy_to_top_row() if we are currently in
7970 gtk_tree_view_top_row_to_dy(),
7971 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
7972 coordinates, not tree coordinates,
7973 (gtk_tree_view_real_start_editing): add cast.
7975 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
7976 position of the editable in the "create new row and start editing"
7979 2008-01-09 Michael Natterer <mitch@imendio.com>
7981 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
7984 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
7985 * gtk/gtkicontheme.c (theme_list_contexts)
7986 (gtk_icon_theme_lookup_icon)
7987 * gtk/gtkimcontextsimple.c (beep_window)
7988 * gtk/gtklinkbutton.c (set_link_color)
7989 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
7992 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
7993 variable and add const to another to fix a warning.
7995 2008-01-07 Matthias Clasen <mclasen@redhat.com>
7997 * gtk/gtkassistant.c (remove_page): Be more robust when removing
7998 the current page. (#499951, Andreas Sandberg)
8000 2008-01-06 Johan Dahlin <johan@gnome.org>
8002 * gtk/gtkspinbutton.c: Declare value in the example code for
8003 GtkSpinButton::output, as pointed out by Anders Carlsson.
8005 2008-01-06 Christian Persch <chpe@gnome.org>
8007 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
8008 and remove an obsolete event box. Bug #506760.
8010 2008-01-06 Johan Dahlin <johan@gnome.org>
8012 * tests/buildertest.c (test_domain):
8013 Update, GtkBuilder::translation-domain is no longer set
8015 * gtk/gtkbuilderparser.c (parse_interface):
8016 Allow domains to be overridden in <interface>'s if a translation-domain
8017 is set in the builder.
8018 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
8019 of the builder, make the domain set in the <interface> apply only to strings
8021 (#496831, Ryan Lortie)
8023 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
8026 * gtk/gtktreestore.c (tree_model_end_element):
8027 Remove an unused variable
8029 2008-01-06 Matthias Clasen <mclasen@redhat.com>
8031 * gtk/gtkspinbutton.c: Document the ::output signal and
8032 add an example. (#507566, example by Owen Taylor)
8034 2008-01-06 Johan Dahlin <johan@gnome.org>
8036 * gtk/gtkcellrenderercombo.c:
8037 (gtk_cell_renderer_combo_get_property),
8038 (gtk_cell_renderer_combo_set_property):
8039 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
8040 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
8041 * gtk/gtknotebook.c: (gtk_notebook_set_property):
8042 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
8043 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
8044 (gtk_text_buffer_get_property):
8045 * gtk/gtktextview.c: (gtk_text_view_set_property):
8046 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
8047 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
8048 (gtk_tool_button_get_property):
8049 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
8050 (gtk_tool_item_get_property):
8051 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
8052 * gtk/gtkwidget.c: (gtk_widget_set_property):
8053 * gtk/gtkwindow.c: (gtk_window_set_property):
8054 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
8057 2008-01-06 Johan Dahlin <johan@gnome.org>
8059 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
8060 Make sure that --root works for toplevel widgets.
8061 (#491847, Phil Lello)
8063 2008-01-05 Johan Dahlin <johan@gnome.org>
8065 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
8066 to make sure that make test-report works properly
8068 2008-01-05 Christian Persch <chpe@gnome.org>
8070 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
8071 GType as integer through gpointer. Bug #507395.
8073 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
8075 Avoid some compiler warnings (#507000).
8077 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
8078 for value argument of _gtk_builder_flags_from_string.
8079 * gtk/gtkwidget.c: Don't alias the child pointer passed
8080 to gdk_window_get_user_data.
8082 2008-01-04 Michael Natterer <mitch@imendio.com>
8084 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
8085 to set the time in the returned GdkTimeCoords.
8087 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
8089 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
8090 correct comparison function (kudos to Christian Persch and
8091 Claudio Saavedra for spotting this)
8093 * gtk/gtkrecentchooserutils.c:
8094 (sort_recent_items_mru),
8095 (sort_recent_items_lru): Ditto as above.
8097 2008-01-03 Johan Dahlin <johan@gnome.org>
8099 * tests/defaultvaluetest.c: Make it pass again.
8101 2008-01-02 Johan Dahlin <johan@gnome.org>
8103 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
8104 make it pass on Ubuntu.
8105 (main): Use gtk_test_list_all_types () instead of providing our
8107 And it no longer passes.
8109 2007-12-30 Johannes Schmid <jhs@gnome.org>
8111 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
8112 Also reorder menu when reordering tabs by drag & drop
8115 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
8116 Add a menu to one of the notebooks to have a test-case for
8117 the change mentioned above.
8119 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
8121 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
8123 2007-12-31 Christian Persch <chpe@gnome.org>
8125 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
8126 Plug a mem leak. Bug #506107.
8128 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8130 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
8131 icon cache api change. (#506135, Kazuki Iwamoto)
8133 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8135 Consider "wide-separators" and "separator-height" style properties:
8136 The separator is drawn using gtk_paint_box instead of cairo, when
8137 "wide-separators" is set. Also do not highlight details for previous
8138 or next month, if their day matches the selected day. (#339540)
8140 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
8141 in gtk_calendar_size_request and calendar_paint_day
8142 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
8143 for selected detail separators in GtkCalendar.
8145 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8147 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
8149 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
8150 a local variable instead in gtk_calendar_size_request.
8152 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8154 * tests/defaultvaluetest.c: Add enough exclusions to make the
8157 2007-12-28 Christian Persch <chpe@gnome.org>
8159 * modules/other/gail/Makefile.am:
8160 * modules/other/gail/tests/*:
8161 * configure.in: Merge tests from standalone gail. Bug #504568.
8163 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8165 * gtk/gtkclipboard.c: Make the finalizer work when display is
8168 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8170 Draw bottom shadow of GtkCalender headings. (#506113)
8172 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
8174 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8176 * gtk/gtkcalendar.c: Document the initial values of year/month/day
8179 2007-12-28 Christian Persch <chpe@gnome.org>
8181 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
8182 a mem leak. Bug #506096.
8184 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8187 * gtk/gtktreeview.c:
8188 * gtk/gtkprintoperation.c:
8189 * gtk/gtkprogressbar.c:
8190 * gtk/gtkmessagedialog.c:
8191 * gtk/gtknotebook.c:
8195 * gtk/gtklinkbutton.c:
8196 * gtk/gtkmenu.c: More default property value corrections.
8198 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8200 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
8201 accel_group unless it is set.
8203 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8205 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
8207 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8209 * gtk/gtkhandlebox.c: Fix the default values of shadow and
8210 shadow-type properties.
8212 * gtk/gtkfontsel.c: Fix the default values of several properties.
8214 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
8217 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
8219 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
8222 2007-12-28 Johan Dahlin <johan@gnome.org>
8224 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
8225 (gtk_dialog_buildable_custom_tag_start): Chain up.
8226 This makes it possible to have accelerators tags on GtkDialog
8229 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8231 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
8232 are shown within the widget, or just as tooltip. (#339540)
8234 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
8235 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
8236 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
8239 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8241 Try more decent appearance of calendar details separator. (#339540)
8243 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
8244 and make it short by one pixel on each side.
8246 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8248 Apply trivial code-style changes from attachement 101101. (#339540)
8250 * tests/testcalendar.c: Some updates to current GTK+ code-style.
8252 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8254 Restructure testcalendar for testing calendar details. (#339540)
8256 * tests/testcalendar.c: Push code arround for testing calendar details.
8258 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8260 Implement GtkTooltip API for calendar details. (#339540)
8262 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
8263 Remember detail overflows in calendar_paint_day to show the tooltip
8264 only when neccessary.
8266 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8268 Without setting "detail-width-chars" and "detail-height-rows"
8269 properties not only the widget has to be redrawn on certain
8270 conditions, but also its size must be recalculated. (#339540)
8272 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
8273 that function instead of gtk_widget_queue_draw.
8275 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8277 Consider details for size-request and expose-event. (#339540)
8279 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
8280 is_color_attribute functions. Change gtk_calendar_size_request
8281 and calendar_paint_day to consider and show calender details.
8283 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8285 * gtk/gtkcombobox.c: Introduce local priv variables to
8288 2007-12-27 Matthias Clasen <mclasen@redhat.com>
8290 * gtk/gtkcombobox.c: Correct the default value for the
8291 tearoff-title property.
8293 * gtk/gtkcellrenderertext.c: Fix the default value for the
8294 wrap-mode and font-scale properties.
8296 * gtk/gtkaspectratio.c: Fix the default value for the ratio
8299 2007-12-27 Matthias Clasen <mclasen@redhat.com>
8301 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
8302 defines. (#505708, MINAMI Hirokazu)
8304 2007-12-27 Christian Persch <chpe@gnome.org>
8306 * Makefile.am: Install gail.pc. Bug #505859.
8308 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
8310 Add infrastructure for GtkCalendar details. (#339540)
8312 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
8313 Add "detail-width-chars" and "detail-height-rows" properties,
8314 and gtk_calendar_set_detail_func function.
8316 2007-12-27 Xan Lopez <xan@gnome.org>
8319 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
8321 Add gtk_border_new to avoid memory allocator confusions when using
8322 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
8324 2007-12-27 Christian Persch <chpe@gnome.org>
8326 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
8327 bug #504886 not to read unitialised memory.
8329 2007-12-26 Xan Lopez <xan@gnome.org>
8331 * gtk/gtkstatusbar.c (has_extra_children): take into account the
8332 modification of the internal frame contents to decide if we have
8333 extra children. (#415677)
8335 2007-12-22 Christian Persch <chpe@gnome.org>
8337 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
8339 2007-12-25 Christian Persch <chpe@gnome.org>
8341 * modules/other/gail/gailwindow.c: (gail_window_initialize):
8342 Initialise |widget|. Fixes a buglet introduced by the commit from bug
8345 2007-12-25 Christian Persch <chpe@gnome.org>
8347 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
8349 2007-12-25 Christian Persch <chpe@gnome.org>
8351 * modules/other/gail/*.[ch]: Remove relocations from the atk
8352 factories. Remove unused gail_foo_new() functions. Fix object
8353 instantiation to be derivation safe by moving initialisation code
8354 from the removed gail_foo_new() functions to the
8355 AtkObjectClass::initialize implementation. Bug #505226.
8357 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8359 * modules/other/gail/gailentry.c:
8360 * modules/other/gail/gailimage.c:
8361 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
8362 uses of clipboards and settings. (#504722, Christian Persch)
8364 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8366 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
8369 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8371 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
8372 use the time and button information from the event. (#504901,
8375 2007-12-23 Cody Russell <bratsche@gnome.org>
8377 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
8378 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
8379 Fixes a regression caused by #164537 patch where transient
8380 windows that are hidden get shown (incorrectly) when their
8381 parents are minimized. (#504984)
8383 2007-12-22 Christian Persch <chpe@gnome.org>
8385 * modules/other/gail/gailcell.c:
8386 * modules/other/gail/gailcontainercell.c:
8387 * modules/other/gail/gailexpander.c:
8388 * modules/other/gail/gailtextcell.c:
8389 * modules/other/gail/gailtextview.c:
8390 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
8392 2007-12-22 Christian Persch <chpe@gnome.org>
8394 * modules/other/gail/*.c: Include config.h. Bug #504720.
8396 2007-12-22 Christian Persch <chpe@gnome.org>
8398 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
8399 handwritten get_type functions. Bug #504661.
8401 2007-12-23 Xan Lopez <xan@gnome.org>
8403 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
8404 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
8406 Patch by Sadrul Habib Chowdhury (#504804)
8408 2007-12-22 Christian Persch <chpe@gnome.org>
8410 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
8411 #504645, patch by Li Yuan.
8413 2007-12-22 Christian Persch <chpe@gnome.org>
8415 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
8417 2007-12-22 Christian Persch <chpe@gnome.org>
8419 * modules/other/gail/gail.c:
8420 * modules/other/gail/gailbutton.c:
8421 * modules/other/gail/gailcell.c:
8422 * modules/other/gail/gailcombo.c:
8423 * modules/other/gail/gailcombo.h:
8424 * modules/other/gail/gailcombobox.c:
8425 * modules/other/gail/gailentry.c:
8426 * modules/other/gail/gailexpander.c:
8427 * modules/other/gail/gailmenuitem.c:
8428 * modules/other/gail/gailnotebook.c:
8429 * modules/other/gail/gailnotebookpage.c:
8430 * modules/other/gail/gailnotebookpage.h:
8431 * modules/other/gail/gailoptionmenu.c:
8432 * modules/other/gail/gailrange.c:
8433 * modules/other/gail/gailtextview.c:
8434 * modules/other/gail/gailtreeview.c:
8435 * modules/other/gail/gailtreeview.h:
8436 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
8439 2007-12-22 Matthias Clasen <mclasen@redhat.com>
8441 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
8444 2007-12-21 Richard Hult <richard@imendio.com>
8446 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
8447 Plug leak of destroyed subviews, fixes bug #504753.
8449 2007-12-20 Johan Dahlin <johan@gnome.org>
8451 * tests/Makefile.am (TEST_PROGS):
8452 * tests/defaultvaluetest.c: Add a test for default values,
8453 based on program by Christan Perch
8455 2007-12-20 Johan Dahlin <johan@gnome.org>
8457 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
8458 Refactor to avoid some duplication.
8459 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
8460 Fixes #504749, Yuri Pimenov
8462 2007-12-20 Kristian Rietveld <kris@imendio.com>
8464 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
8465 the build work again on systems without xrandr 1.2.
8467 2007-12-20 Christian Persch <chpe@gnome.org>
8470 * modules/other/gail/libgail-util/Makefile.am:
8471 Keep the same libtool version as the standalone libgail-util had.
8474 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
8476 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
8478 2007-12-20 Alexander Larsson <alexl@redhat.com>
8480 * gdk/x11/gdkapplaunchcontext-x11.c:
8481 Update for gio API changes
8483 2007-12-20 Richard Hult <richard@imendio.com>
8485 * gdk/quartz/GdkQuartzWindow.c:
8486 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
8487 processing events after changing the size.
8489 2007-12-20 Richard Hult <richard@imendio.com>
8491 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
8492 Add stub for quartz to fix build.
8494 2007-12-20 Christian Persch <chpe@gnome.org>
8496 * modules/other/gail/Makefile.am:
8497 * modules/other/gail/gailimage.c: (gail_image_class_init),
8498 (gail_image_init), (elide_underscores), (gail_image_get_name),
8499 (atk_image_interface_init), (gail_image_finalize):
8500 * modules/other/gail/gailimage.h:
8501 R modules/other/gail/gailintl.h:
8502 * po/POTFILES.skip: Use the stock item's label as the name of the
8503 accessible in gailimage.c. Bug #504246.
8505 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
8507 Avoid some compiler warnings and remove obsolete code. (#339540)
8509 * gtk/gtkcalendar.c: Change week and year variable in
8510 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
8511 0" block from calendar_paint_day: The feature in question is handled
8512 few lines above. Cast data returned by gtk_selection_data_get_text()
8513 to (gchar*) in gtk_calendar_drag_data_received.
8515 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
8517 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
8519 2007-12-19 Johan Dahlin <johan@gnome.org>
8521 * tests/buildertest.c (test_object_properties):
8522 Add another call to gtk_builder_add_string after using
8523 delayed properties, as reported in #504393 but already
8526 2007-12-18 Christian Persch <chpe@gnome.org>
8529 * docs/reference/Makefile.am:
8530 * docs/reference/libgail-util/*:
8531 * gail-uninstalled.pc.in:
8533 * modules/Makefile.am:
8534 * modules/other/Makefile.am:
8535 * modules/other/gail/*:
8536 * modules/other/gail/libgail-util/*:
8537 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
8539 2007-12-17 Matthias Clasen <mclasen@redhat.com>
8541 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
8542 * gdk/win32/gdkproperty-win32.c:
8543 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
8545 * gtk/gtkimmodule.[hc]:
8546 * gtk/gtkimmulticontext.[hc]: When determining the default context,
8547 look at the gtk-im-module setting, and listen for changes to the
8548 setting. (#502446, Akira Tagoh)
8550 2007-12-17 Kristian Rietveld <kris@imendio.com>
8552 * gtk/gtktooltip.c (gtk_tooltip_finalize),
8553 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
8554 to NULL as soon as it's destroyed. (#496546, patch from
8557 2007-12-17 Kristian Rietveld <kris@imendio.com>
8559 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
8560 always determine what arrow to show if show_sort_indicator is true.
8561 (#352738, Chris Vine).
8563 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
8565 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
8568 * gtk/gtkpaned.c: Call gtk_container_forall instead of
8569 gtk_container_foreach in get_child_panes.
8571 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
8573 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
8575 Plug leak: When reordering the info in the list the old node is
8576 removed but not freed. (#503569)
8578 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
8580 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
8581 Use u32 instead of __u32 and u8 instead of __u8 as the other types
8582 are deprecated since DirectFB 1.0.0. If compiling with an older
8583 version define the new type name to the old types. Fixes bug #503190.
8585 2007-12-14 Ray Strode <rstrode@redhat.com>
8587 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
8588 instead of g_signal_connect_after (..., "realize", ...) as an
8589 alternative to gtk_widget_realize () (bug 503537).
8591 2007-12-14 Michael Natterer <mitch@imendio.com>
8593 * gdk/gdkinternals.h
8594 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
8597 * gdk/gdkapplaunchcontext.c
8598 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
8599 header already includes everything now.
8601 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8603 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
8604 next stable release shall be 2.16, not 2.14 - even if disagree.
8606 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
8608 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8610 Change GtkToolItem to retrieve its properties from GtkToolShell
8611 interface, instead of relying on being child of a GtkToolbar.
8614 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
8615 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
8616 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
8617 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
8618 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
8619 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
8620 Take section docs from template file and update them for GtkToolShell.
8621 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
8622 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
8624 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8626 Extract loading of GtkPageSetup and GtkPrintSettings from their
8627 *_new_*() functions and move that code into separate
8628 *_load_*() functions (#475565).
8630 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
8631 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
8632 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
8633 Change the matching *_new_*() functions to use those functions.
8635 2007-12-14 Matthias Clasen <mclasen@redhat.com>
8638 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
8640 2007-12-14 Kristian Rietveld <kris@imendio.com>
8642 * gtk/tests/liststore.c:
8643 * gtk/tests/treestore.c: added tests for insertion functions.
8645 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
8647 * Add RandR 1.2 support
8649 - New monitors_changed signal - New API to get width/height of
8650 monitors, and the name of the plug
8652 2007-12-13 Kristian Rietveld <kris@imendio.com>
8654 * gtk/tests/liststore.c:
8655 * gtk/tests/treestore.c: test the move and swap functions on a
8656 store with only one node.
8658 2007-12-13 Kristian Rietveld <kris@imendio.com>
8660 * gtk/gtktestutils.c (gtk_test_init): add a call to
8663 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
8666 2007-12-13 Kristian Rietveld <kris@imendio.com>
8668 * gtk/tests/liststore.c:
8669 * gtk/tests/treestore.c: start composing tests for the list and tree
8672 * gtk/tests/treeview-scrolling.c: added automated tests for
8673 GtkTreeView's scrolling "subsystem".
8675 * gtk/tests/Makefile.am: updated; added new test programs.
8677 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
8679 Make the code compile again after the GdkAppLaunchContext changes.
8681 * configure.in: Add gio-2.0 to GDK_PACKAGES.
8682 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
8684 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8686 * gdk/gdkapplaunchcontext.c: Add docs
8688 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8690 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
8691 in gdk, providing startup notification. (#503203)
8693 * gdk/x11/gdkapplaunchcontext-x11.c:
8694 * gdk/win32/gdkapplaunchcontext-win32.c:
8695 * gdk/quartz/gdkapplaunchcontext-quartz.c:
8696 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
8697 parts. All but X11 are just empty stubs for now.
8700 * gdk/gdkinternals.h:
8702 * gdk/x11/Makefile.am:
8703 * gdk/win32/Makefile.am:
8704 * gdk/quartz/Makefile.am:
8705 * gdk/directfb/Makefile.am: Necessary glue.
8707 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
8709 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
8711 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8713 * gdk/directfb/gdktestutils-directfb.c:
8714 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
8715 which adds testing functions to the DirectFB backend.
8717 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8719 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
8720 Ciccani which fixes the mixing of gdk and cairo rendering.
8722 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
8724 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
8725 on "drag-motion" handlers. Clearify documentation for
8728 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
8730 * buildertest.c: made unnecessarily exported symbols static.
8731 switched g_return_if_fail() statements in tests to assertions.
8732 special cased currently failing Widget/accesibility test to
8733 run only for g_test_thorough(), so it doesn't break make check.
8734 some coding style fixes.
8736 * Makefile.am: added buildertest to TEST_PROGS.
8738 2007-12-11 Stefan Kost <ensonic@users.sf.net>
8740 * docs/tutorial/gtk-tut.sgml:
8741 Use gtk_widget_get_parent_window() instead of widget->parent->window.
8743 2007-12-10 Richard Hult <richard@imendio.com>
8745 * gdk/quartz/Makefile.am:
8746 * gdk/quartz/gdkquartz.h:
8747 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
8748 header (bug #405915). Also add a getter for the toplevel nswindow.
8750 2007-12-10 Richard Hult <richard@imendio.com>
8752 * gdk/quartz/gdkdrawable-quartz.c:
8753 (gdk_quartz_drawable_get_context),
8754 (gdk_quartz_drawable_release_context):
8755 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
8756 (gdk_event_check), (gdk_event_dispatch), (poll_func):
8757 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
8758 used for each drawing context and in prepare, dispatch and poll
8759 with one that exists across each main loop iteration. Fixes leaks
8760 on leopard and protects against future leaks introduce when the
8761 underlying system changes again (bug #492977).
8763 2007-12-10 Richard Hult <richard@imendio.com>
8765 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
8766 Fix the check for no changes to position and size.
8768 2007-12-10 Richard Hult <richard@imendio.com>
8770 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
8771 sized areas at (0, 0), patch from Paul Davis.
8773 2007-12-10 Richard Hult <richard@imendio.com>
8775 * gdk/quartz/gdkprivate-quartz.h:
8776 * gdk/quartz/gdkeventloop-quartz.c:
8777 (_gdk_quartz_event_loop_get_pending),
8778 (_gdk_quartz_event_loop_check_pending),
8779 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
8780 (gdk_event_check), (gdk_event_dispatch):
8781 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
8782 (_gdk_events_queue): Fix a bug where we could end up trying to
8783 handle the same event more than once. Based on patch from Paul
8786 2007-12-10 Tor Lillqvist <tml@novell.com>
8788 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
8791 2007-12-10 Matthias Clasen <mclasen@redhat.com>
8793 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
8794 to avoid further fallout from the fix for bug 388321.
8796 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8798 * gdk/directfb/gdkgc-directfb.c:
8799 * gdk/directfb/gdkdrawable-directfb.c:
8800 * gdk/directfb/gdkdirectfb.h:
8801 * gdk/directfb/gdkwindow-directfb.c:
8802 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
8803 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
8804 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
8805 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
8806 which are expected to improve the performance of the DirectFB backend.
8807 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
8809 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8811 * gtk/gtkcontainer.c: Correct the documentation of child
8812 property getter arguments. (#501992, David Brigada)
8814 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8816 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
8817 leak pixbufs. (#502250, Yevgen Muntyan)
8819 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
8821 * gtk/gtkprintunixdialog.c:
8822 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
8823 Print and Page Setup dialogs (#502202).
8825 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
8827 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
8828 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
8829 of XVFB_START, since it's the GTESTER invokation that needs this.
8831 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
8833 * gdk-pixbuf/gdk-pixbuf.symbols:
8835 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
8836 positives in abicheck.sh
8838 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8840 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
8841 GDK events generations in the DirectFB backend.
8843 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
8845 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
8846 set of likely unused display ids, because MacOS has no seq(1) command.
8848 2007-12-06 Richard Hult <richard@imendio.com>
8850 * gdk/quartz/gdkevents-quartz.c:
8851 (synthesize_crossing_events_for_ns_event): Fix warning when
8852 switching spaces in leopard.
8854 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
8856 * tests/floatingtest.c: ported to new testing framework.
8858 * tests/Makefile.am: run floatingtest as testing framework test.
8860 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
8862 * tests/autotestfilechooser.c: majorly speed up execution by reducing
8863 timeouts and converting main loop sleeps to pending/iterate loops with
8864 very low priority async handlers. eliminate output for non-verbose
8865 tests. assert successfull subtests in all test functions. use testing
8866 framework in main().
8868 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
8869 executed inside Xvfb upon make check.
8871 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
8873 * tests/objecttests.c: use string comparisons for string property
8874 values and get rid of referencing symbols in array initialization.
8876 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
8878 * gtk+/Makefile.decl: run tests in current dir after setting up the
8879 logging directory, so their results get properly merged into the
8882 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
8883 tests to loop over registered Gdk/Gtk+ types.
8885 * gtk+/tests/objecttests.c: new test program, implements automated
8886 property tests. several properties are blacklisted because they
8887 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
8888 can be used to test blacklisted properties and see which proprty failed.
8890 2007-12-04 Richard Hult <richard@imendio.com>
8892 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
8893 Fully initialize the root window, fixes bug #501583.
8895 2007-12-04 Matthias Clasen <mclasen@redhat.com>
8897 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
8900 2007-12-03 Richard Hult <richard@imendio.com>
8902 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
8903 Don't crash when dragging from a source that doesn't support uri
8904 lists (bug #499868, Paul Davis).
8906 2007-12-03 Richard Hult <richard@imendio.com>
8908 * gdk/quartz/gdkwindow-quartz.c:
8909 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
8910 parent relative bg pixmap is set, and no parent has a bg
8911 pixmap. Fixes bug #500804.
8913 2007-12-03 Matthias Clasen <mclasen@redhat.com>
8915 Two optimizations for icon cache lookups.
8917 * gtk/gtkiconcache.[hc]:
8918 * gtk/gtkicontheme.c: Remember the directory index for
8919 subdirectories, instead of running over the directory list
8922 * gtk/gtkiconcache.c (find_image_offset): Remember the last
8923 chain and try it first; this helps with the the usage patterns
8924 in gtkicontheme.c, where the same icon is queried for a lot
8927 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
8929 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
8930 functions from header files. this should be portable across linux and
8931 Mac OS, unlike the previpous sed expression.
8933 2007-12-1 Cody Russell <bratsche@gnome.org>
8935 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
8936 On Windows, queue a redraw of child2 whenever we set
8937 the pane handle position. This is unfortunately kind
8938 of hacky, but solves the visual artifacts that were
8939 occuring on at least certain types of child widgets
8940 (e.g., text views and tree views) that are inside
8941 horizontal or vertical panes. (#144269)
8943 2007-11-30 Matthias Clasen <mclasen@redhat.com>
8945 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
8947 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8949 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
8952 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8954 * gtk/Makefile.am: Fix ordering of subdirs.
8956 2007-11-28 Tor Lillqvist <tml@novell.com>
8958 A proper build of GNU libintl is supposed to export the variable
8959 _nl_msg_cat_cntr. configure looks for that variable in order to
8960 recognize GNU gettext. If it sees that it is indeed GNU gettext
8961 that is used, it decides to install message catalogs in
8962 share/locale, otherwise in lib/locale. Until now on Windows I have
8963 built GTK+ against a build of GNU gettext that did not export
8964 _nl_msg_cat_cntr. But this will change, so we can't assume message
8965 catalogs are always in lib/locale.
8967 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
8968 GTK_LOCALEDIR being either in "lib" or "share". Move the function
8969 before the inclusion of gtkprivate.h so that it sees the original
8972 * gtk-zip.sh.in: Check whether the message catalogs are in
8973 share/locale or lib/locale.
8975 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
8976 that the code in _gtk_get_localedir() will find the slashes.
8978 2007-11-28 Tor Lillqvist <tml@novell.com>
8980 * gtk/Makefile.am: Improve portability. The -o option is present
8981 only in newish GNU egreps. Use one more sed in the pipeline
8984 2007-11-28 Tor Lillqvist <tml@novell.com>
8986 Fix #375893, patch by Ben Hague:
8988 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
8989 around GetLogicalDrives() that takes also the viewable drive
8990 restrictions in the Registry (which are usually the result of an
8991 Active Directory Group Policy) into account.
8993 (check_volumes, gtk_file_system_win32_list_volumes) Call
8994 get_viewable_logical_drives() instead of GetLogicalDrives().
8996 2007-11-27 Matthias Clasen <mclasen@redhat.com>
8998 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
8999 variables to silence valgrind. (#495124, Morten Welinder)
9001 2006-11-26 Ryan Lortie <desrt@desrt.ca>
9003 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
9004 that the construct_child function is responsible for returning a
9006 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
9007 objects from constructors
9008 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
9009 g_object_ref() to this construction function (it's the only
9014 2006-11-26 Ryan Lortie <desrt@desrt.ca>
9016 * gtkbuilder.c: remove concept of root objects and just refcount
9017 all objects in the builder. Fixes #496651.
9019 2007-11-26 Ryan Lortie <desrt@desrt.ca>
9021 * tests/buildertest.c (test_window): fix invalid free
9023 2007-11-26 Josselin Mouette <joss@malsain.org>
9025 reviewed by: Federico Mena Quintero
9027 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
9028 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
9029 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
9030 Make the shortcuts activate with a single click. (#148828)
9031 Fix a few things affected by the change:
9032 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
9033 where no shortcut is selected.
9034 - Don't activate a shortcut in the response callback.
9035 - Filter out duplicate entries in volumes and bookmarks to
9036 avoid the selection to change when reordering them with DnD.
9038 2007-11-26 Matthias Clasen <mclasen@redhat.com>
9041 * gtk/gtknotebook.c:
9042 * gtk/gtkplugprivate.h:
9044 * gtk/gtksocketprivate.h:
9045 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
9047 2007-11-26 Matthias Clasen <mclasen@redhat.com>
9049 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
9050 (#495574, Richard Hult)
9052 2007-11-26 Matthias Clasen <mclasen@redhat.com>
9054 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
9055 String change ! (#376361, Sven Neumann)
9057 2007-11-26 Matthias Clasen <mclasen@redhat.com>
9059 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
9061 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
9064 2007-11-26 Matthias Clasen <mclasen@redhat.com>
9066 * gtk/gtkassistant.c: Improve alternative button
9067 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
9069 2007-11-26 Matthias Clasen <mclasen@redhat.com>
9071 * gtk/gtkcalendar.c: Fix a theming problem with colors
9072 in GtkCalendar. (#499703, Michael Hofmann)
9074 2007-11-26 Matthias Clasen <mclasen@redhat.com>
9076 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
9078 2007-11-26 Matthias Clasen <mclasen@redhat.com>
9080 Use templates for glib-mkenums calls instead of
9081 complicated commandlines in Makefiles. (#429910)
9083 * gdk-pixbuf/Makefile.am:
9086 * perf/Makefile.am: Use templates for glib-mkenums
9088 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
9089 * gdk/gdkenumtypes.[ch].template:
9090 * gtk/gtktypebuiltings.[ch].template:
9091 * perf/typebuiltins.[ch].template: The templates
9093 2007-11-26 Matthias Clasen <mclasen@redhat.com>
9095 * gtk/gtkfilechooserbutton.c:
9096 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
9097 some compilers choke on that. (#467722)
9099 2007-11-26 Matthias Clasen <mclasen@redhat.com>
9101 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
9102 about hook setup. (#425004, Emmanuele Bassi)
9104 2007-11-26 Tor Lillqvist <tml@novell.com>
9106 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
9107 monitor the window currently is on, not always the primary
9108 monitor. (#463865, Tim Evans)
9110 2007-11-26 Tor Lillqvist <tml@novell.com>
9112 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
9114 * gdk/win32/Makefile.am: Add it.
9116 2007-11-26 Tor Lillqvist <tml@novell.com>
9118 * configure.in: Don't add jasper to all_loaders if no libjasper.
9120 2007-11-25 Bastien Nocera <hadess@hadess.net>
9122 * configure.in: Add detection for libjasper, used by the
9123 gdk-pixbuf JPEG2000 loader
9125 2007-11-25 Matthias Clasen <mclasen@redhat.com>
9127 * configure.in: Require gtk-doc 1.8
9129 * */*.c: Use gtk-doc abbreviations for examples in docs.
9131 2007-11-25 Matthias Clasen <mclasen@redhat.com>
9133 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
9136 2007-11-25 Matthias Clasen <mclasen@redhat.com>
9138 * gtk/gtkdialog.c: Move signal and property documentation inline,
9139 fix a problem with the ::response signal docs. (#499133, Josselin
9142 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
9144 * Makefile.decl: initialize automake variables EXTRA_DIST and
9145 TEST_PROGS for unconditional appending via += in other makefiles.
9146 define recursive test targets: test, test-report, perf-report,
9147 full-report, as described here:
9148 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
9149 the test targets will execute Gtk+ test programs within an Xvfb session.
9151 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
9153 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
9154 g_test_run() to run the tests to integrate with the testing framework.
9156 * gtk/tests/Makefile.am: removed exemplary testing rules.
9158 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
9159 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
9160 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
9161 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
9162 * docs/reference/Makefile.am, docs/tools/Makefile.am:
9163 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
9164 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
9165 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
9166 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
9167 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
9168 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
9169 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
9170 * modules/engines/ms-windows/Theme/Makefile.am:
9171 * modules/engines/ms-windows/Makefile.am:
9172 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
9173 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
9174 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
9175 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
9176 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
9177 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
9178 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
9180 2007-11-22 Matthias Clasen <mclasen@redhat.com>
9182 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
9183 (#485662, patch by Herbert Valerio Riedel)
9185 2007-11-22 Matthias Clasen <mclasen@redhat.com>
9187 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
9189 2007-11-21 Richard Hult <richard@imendio.com>
9191 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
9192 stubs for the testing functions to fix the build.
9194 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
9196 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
9197 (#467711, The Written Word)
9199 2007-11-21 Ross Burton <ross@openedhand.com>
9201 * gdk/x11/gdksettings.c:
9202 Add xsetting for gtk-scrolled-window-placement (#458103).
9204 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
9206 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
9207 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
9208 (#469239, Michael Natterer)
9210 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
9212 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
9213 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
9214 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
9215 (#436536, Tommi Komulainen)
9217 2007-11-21 Matthias Clasen <mclasen@redhat.com>
9219 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
9220 property. (#489782, Jan Janech)
9222 2007-11-20 Matthias Clasen <mclasen@redhat.com>
9224 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
9225 frames. (#107398, Owen Taylor, Miguel Gomez)
9227 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
9229 Moved Gdk test functions from Gtk+ to Gdk test utils.
9231 * gdk/Makefile.am: added gdktestutils.h to public includes.
9233 * gdk/gdk.h: added gdktestutils.h to public includes.
9235 * gdk/gdk.symbols: added gdk_test_simulate_button,
9236 gdk_test_simulate_key, gdk_test_render_sync.
9238 * gdk/gdktestutils.h: new file, added prototypes for
9239 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
9241 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
9243 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
9244 gdk_test_simulate_key, gdk_test_render_sync.
9246 * gtk/gtktestutils.c:
9247 * gtk/gtktestutils.h:
9248 * gtk/gtk.symbols: removed gtk_test_simulate_button
9249 gtk_test_simulate_key, gtk_test_xserver_render_sync.
9251 * gtk/tests/testing.c: call gdk_test_render_sync.
9253 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
9255 Added unit tests for Gtk+ testing utilities.
9257 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
9258 utility functions. some g_test_* related portions are disabled and need
9259 to be enabled once Gtk+ depends on a new glib with the GLib testing
9260 framework integrated.
9262 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
9263 tests. added exemplary test rules to run tests inside Xvfb. this
9264 needs to depend on gtester for full fledged testing.
9266 * gtk/Makefile.am: build gtk+/gtk/tests, define
9267 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
9268 e.g. gtk_text_get_type().
9270 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
9272 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
9274 Added Gtk+ testing utilities.
9276 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
9277 functions. for the most part, the functions herein involve
9278 navigating and interacting with dialog elements programatically,
9279 to automate user interaction tests of dialogs and widgets.
9281 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
9283 * gtk/gtk.symbols: added gtk_test_* symbols.
9285 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
9286 the build. generate gtktypefuncs.c which contains a list of all
9287 _get_type functions in Gtk+ and Gdk.
9289 2007-11-20 Bastien Nocera <hadess@hadess.net>
9291 * configure.in: add support for conditional icns gdk-pixbuf loader
9294 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
9296 * configure.in: updated version number to 2.15.0 for development.
9298 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
9300 === Branch for 2.12 ===