1 2008-06-08 Christian Persch <chpe@gnome.org>
3 Bug 535608 – do not string-copy accel paths in the menu code
10 * gtk/gtkwidget.c: Don't store the accel path as a string in
11 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
12 keeping a string copy around is just a waste of memory.
13 Improve the documentation to mention this.
15 2008-06-07 Tor Lillqvist <tml@novell.com>
17 Bug 536990 - updateiconcache.c: 'close ()' is redundant
19 * gtk/updateiconcache.c (build_cache): Drop redundant close()
20 calls. fclose() on a fdopen()ed strema closes the underlying file
23 2008-06-06 Matthias Clasen <mclasen@redhat.com>
25 Bug 536757 – regression: openoffice.org menus are placed at wrong
26 position since 2.12.10
28 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
29 Return the right coordinates.
31 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
33 Bug 536185 – monitor font configuration
36 * gdk/x11/gdksettings.c:
37 * gtk/gtksettings.c (gtk_settings_class_init),
38 (gtk_settings_notify), (settings_update_fontconfig):
39 Monitor xsettings key Fontconfig/Timestamp and upon change,
40 reread fontconfig configuration, clear Pango's caches, and
43 2008-06-06 Ross Burton <ross@burtonini.com>
46 Fix trivial typo in documentation.
48 2008-06-06 Tor Lillqvist <tml@novell.com>
50 * config.h.win32.in: Slight update to match what configure
53 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
55 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
56 constant to the end of the list, to avoid breaking the stable ABI
58 2008-06-05 Michael Natterer <mitch@imendio.com>
60 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
62 2008-06-05 Li Yuan <li.yuan@sun.com>
64 * gail-uninstalled.pc.in:
65 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
66 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
68 2008-06-03 Matthias Clasen <mclasen@redhat.com>
70 * docs/RELEASE-HOWTO: Update a bit
72 2008-06-03 Matthias Clasen <mclasen@redhat.com>
74 * configure.in: Bump version
76 * === Released 2.13.2 ===
78 2008-06-03 Federico Mena Quintero <federico@novell.com>
80 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
81 If the user presses Tab while the completion feedback window is
82 active, then we'll assert. Remove the assertion and just re-set
83 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
85 2008-06-03 Colin Walters <walters@redhat.com>
87 Bug 535303 – add _get_implementation to GtkStatusIcon
89 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
90 function to retrieve internal X11 window ID, useful for libnotify.
91 * gtk/gtkstatusicon.h: Prototype it.
92 * docs/reference/gtk/gtk-sections.txt: Add to docs.
93 * gtk/gtk.symbols: Export it.
95 2008-06-03 Tor Lillqvist <tml@novell.com>
97 * gtk/updateiconcache.c (build_cache): Use g_open().
99 2008-06-03 Michael Natterer <mitch@imendio.com>
102 * gtk/gtkctree.h: revert includes to how they have been before the
103 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
104 that you can't include <gtk/gtk.h> from two headers where one is a
105 parent class of the other and expect them both to be includable
108 2008-06-03 Michael Natterer <mitch@imendio.com>
110 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
112 2008-06-02 Matthias Clasen <mclasen@redhat.com>
114 Bug 536092 – GtkEntryCompletion's popup window should set type hint
116 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
117 a type hint on the popup window to help compiz.
118 Patch by Vaclav Slavik.
120 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
122 Bug 535862 – gtk_action_create_icon can't create icons from the
125 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
126 the default factories as it's supposed.
128 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
130 Bug 535497 – Print preview doesn't work.
132 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
133 instead of launching Preview.app directly.
135 2008-06-02 Michael Natterer <mitch@imendio.com>
137 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
138 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
141 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
143 Bug 535830 – wrong content type adding an item
145 * gtk/gtkrecentmanager.c:
146 (gtk_recent_manager_add_item_query_info): Use the correct API
147 for retrieving the fast MIME type of a URI. (Carlos Garcia
150 2008-05-31 Kristian Rietveld <kris@imendio.com>
152 Bug 530146 - Setting non-string tooltip with
153 gtk_tree_view_set_tooltip_column() segfaults
155 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
156 gtk_tree_model_get_value() and explicitly transform the value to a
157 string before setting it as tooltip.
159 2008-05-30 Tor Lillqvist <tml@novell.com>
161 * modules/engines/ms-windows/msw_style.h
162 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
164 2008-05-30 Michael Natterer <mitch@imendio.com>
166 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
167 GDestroyNotify when using it in g_object_set_data_full().
169 2008-05-30 Michael Natterer <mitch@imendio.com>
171 * gdk/gdkapplaunchcontext.h
173 * gtk/gtkmountoperation.h
176 * gtk/gtktoolshell.h: no need to allow disabling single includes
177 conditionally in these new files. Simply forbid including them
178 individually from the beginning.
180 2008-05-30 Tor Lillqvist <tml@novell.com>
182 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
184 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
187 2008-05-29 Matthias Clasen <mclasen@redhat.com>
189 * configure.in: Bump version
191 * === Released 2.13.1 ===
195 2008-05-29 Matthias Clasen <mclasen@redhat.com>
197 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
199 2008-05-29 Matthias Clasen <mclasen@redhat.com>
201 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
203 2008-05-29 Tor Lillqvist <tml@novell.com>
205 Bug 535526 - updateiconcache.c: using open/close without prototype
207 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
208 g_utime() when available instead of utime() for UTF-8 pathname
211 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
213 Bug 56355 – GtkLabel - Not all changes propagate correctly
215 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
216 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
217 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
218 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
219 notifications of mnemonic-keyval changes.
221 2008-05-27 Matthias Clasen <mclasen@redhat.com>
223 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
225 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
226 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
227 * gtk/gtk.symbols: Additions
228 * tests/testimage.c: Add a GIcon test
230 2008-05-29 Michael Natterer <mitch@imendio.org>
233 * gtk/gtkunixprint.h: add a single-include header for the unix
236 * gtk/gtkpagesetupunixdialog.h
239 * gtk/gtkprintunixdialog.h: add single-include guards that #error
240 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
241 files is included individually.
243 * gtk/gtkprintbackend.h
244 * gtk/gtkprinter-private.h
245 * modules/printbackends/cups/gtkprintbackendcups.c
246 * modules/printbackends/cups/gtkprintercups.h
247 * modules/printbackends/lpr/gtkprintbackendlpr.c
248 * tests/buildertest.c
249 * tests/defaultvaluetest.c
250 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
253 2008-05-28 Michael Natterer <mitch@imendio.com>
255 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
256 excess newlines and sprinkled some newlines where needed. Zero
257 code or formatting changes included.
259 2008-05-28 Michael Natterer <mitch@imendio.com>
261 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
263 2008-05-28 Michael Natterer <mitch@imendio.com>
265 * gtk/gtkcolorbutton.h: fix comment: the widget is called
266 GtkColorButton, not GtkColorSelectButton. Remove trailing
267 whitespace and excess newlines.
269 2008-05-28 Michael Natterer <mitch@imendio.com>
271 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
272 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
273 to CPPFLAGS so it's impossible to commit code that would break
274 apps which use DISABLE_INCLUDE defines.
276 2008-05-28 Michael Natterer <mitch@imendio.com>
278 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
281 * gtk/gtktypebuiltins.h.template
282 * gtk/gtkversion.h.in
283 * gtk/gtk*.h: add single-include guards that #error out if
284 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
285 included individually.
287 * gtk/gtkprintbackend.h
288 * gtk/gtkprinter-private.h
289 * gtk/gtktextlayout.h
290 * gtk/gtktexttagprivate.h
292 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
293 headers in these private or semi-private headers.
295 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
297 * gtk/gtkpagesetupunixdialog.h
300 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
306 * gtk/gtkitemfactory.h
309 * gtk/gtkoldeditable.h
310 * gtk/gtkoptionmenu.h
314 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
315 instead of individual headers in these deprecated headers. They
316 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
317 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
318 and include them individually, which should continue to work.
320 * gtk/gtkclist.c: include "gtkctree.h" because of the change
323 2008-05-28 Kristian Rietveld <kris@imendio.com>
325 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
328 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
329 cursor_offset *must* be larger than background height of the cursor
330 node, not just equal otherwise there is no guarantee there is a next
333 2008-05-28 Michael Natterer <mitch@imendio.com>
335 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
337 2008-05-28 Michael Natterer <mitch@imendio.com>
339 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
342 * gdk/gdkenumtypes.h.template
343 * gdk/gdk*.h: add single-include guards that #error out if
344 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
345 included individually. Also removed some redundant includes and
346 did some tiny trailing whitespace removal that's not worth to
349 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
352 * gdk/win32/gdkwin32.h
353 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
356 2008-05-28 Kristian Rietveld <kris@imendio.com>
358 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
359 current widget again.
361 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
362 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
363 custom_was_reset field to check if the custom widget is set again in
364 the query-tooltip callback; if not, we set it to NULL. Based on a
365 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
366 and Christian Persch.
368 2008-05-28 Michael Natterer <mitch@imendio.com>
370 * modules/printbackends/cups/gtkcupsutils.c
371 * modules/printbackends/cups/gtkprintbackendcups.c
372 * modules/printbackends/file/gtkprintbackendfile.c
373 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
374 <gtk/gtk.h> instead of individual files.
376 2008-05-28 Michael Natterer <mitch@imendio.com>
378 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
381 2008-05-28 Kristian Rietveld <kris@imendio.com>
383 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
385 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
386 ->priv->tree != NULL. Suggestion from Stefan Kost.
388 2008-05-28 Kristian Rietveld <kris@imendio.com>
390 Bug 324282 - add selected signal to cell renderer combo.
392 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
393 (gtk_cell_renderer_combo_changed),
394 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
395 that will be emitted as soon as the combo box emitted changed and has
396 an active iterator. (Modified patch based on work by James
399 * gtk/gtkmarshalers.list: add marshaler.
401 2008-05-28 Kristian Rietveld <kris@imendio.com>
403 Refactor expand/collapse timeout handling (amendment to bug 511217).
405 * gtk/gtktreeview.c (add_expand_collapse_timeout),
406 (remove_expand_collapse_timeout): new functions, the remove function
407 also clears expanded_collapsed_node,
408 (cancel_arrow_animation): moved to be next to the add/remove timeout
410 (gtk_tree_view_unrealize),
411 (gtk_tree_view_row_deleted),
412 (gtk_tree_view_set_model),
413 (cancel_arrow_animation),
414 (gtk_tree_view_real_expand_row),
415 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
417 2008-05-28 Kristian Rietveld <kris@imendio.com>
419 Amendment of bug 485218 - Strange warning encountered.
421 * gtk/gtktreemodelsort.[ch]
422 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
423 indication whether or not the conversion had succeeded.
425 2008-05-27 Matthias Clasen <mclasen@redhat.com>
427 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
429 * modules/printbackends/cups/gtkprintbackendcups.c
430 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
431 if the printer does not support level 3. Patch by Marek Kašík.
433 2008-05-27 Matthias Clasen <mclasen@redhat.com>
435 Bug 404571 - Scroll arrow backgrounds should be painted with different
438 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
439 as detail when drawing scroll arrow backgrounds. Proposed by
442 2008-05-27 Matthias Clasen <mclasen@redhat.com>
444 Bug 511217 - potential memory corruption after refreshing a tree_view
446 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
447 expanded_collapsed_node when canceling the animation.
448 Patch by Nicholas Setton.
450 2008-05-28 Michael Natterer <mitch@imendio.com>
452 * modules/input/gtkimcontextime.h
453 * modules/input/gtkimcontextmultipress.h
454 * modules/input/gtkimcontextthai.h
455 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
458 * modules/input/gtkimcontextime.c
459 * modules/input/gtkimcontextmultipress.c
460 * modules/input/gtkimcontextxim.c
461 * modules/input/imam-et.c
462 * modules/input/imcedilla.c
463 * modules/input/imcyrillic-translit.c
464 * modules/input/iminuktitut.c
465 * modules/input/imipa.c
466 * modules/input/imti-er.c
467 * modules/input/imti-et.c
468 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
469 "gtk/gtkintl.h" to the end of includes.
471 2008-05-28 Michael Natterer <mitch@imendio.com>
473 * modules/engines/pixbuf/pixbuf-style.h
474 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
475 instead of individual files.
477 2008-05-27 Matthias Clasen <mclasen@redhat.com>
479 Bug 485218 - Strange warning encountered
481 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
482 (gtk_tree_model_sort_convert_child_iter_to_iter):
483 (gtk_tree_model_sort_build_level): Better warnings. Patch
484 by Kristian Rietveld.
486 2008-05-27 Matthias Clasen <mclasen@redhat.com>
488 Bug 351910 - Search column setting lost
490 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
491 the docs. Patch by Matt Barnes.
493 2008-05-27 Matthias Clasen <mclasen@redhat.com>
495 Bug 477278 - avoid unnecessary pointer subtraction
497 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
498 subtraction that sparse complains about. Patch by Christian
501 2008-05-27 Matthias Clasen <mclasen@redhat.com>
503 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
505 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
506 Commit the entry text before doing an increment. Patch by
509 2008-05-27 Federico Mena Quintero <federico@novell.com>
511 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
512 drag and drop from the file list into itself, as it doesn't make
513 sense (it would just change the current folder).
515 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
516 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
519 2008-05-27 Michael Natterer <mitch@imendio.com>
521 * gtk/gtksignal.h: move deprecated guards around everything,
522 including includes and include guards (just as in all other
525 2008-05-27 Tor Lillqvist <tml@novell.com>
527 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
528 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
529 <sys/stat.h> on Windows, and the mode used in open() doesn't
530 matter much as there are no rwxrwxrwx bits on Windows anyway.)
531 Open file in binary mode. Passing "b" to fdopen() later isn't
534 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
536 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
537 invalid or invisible widgets.
539 2008-05-27 Matthias Clasen <mclasen@redhat.com>
541 Bug 531008 – Crash in gtkprintunixdialog.c
543 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
544 the dialog closes. Patch by Yevgen Muntyan.
546 2008-05-27 Matthias Clasen <mclasen@redhat.com>
548 RH bug 248245: cups client printing from gnome applications fail
550 * modules/printbackends/cups/gtkprintbackendcups.c
551 (gtk_print_backend_cups_print_stream): Specify the right server.
553 2008-05-27 Carlos Garnacho <carlos@imendio.com>
555 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
556 rubberbanding when "select-multiple" is TRUE. Bug #446068.
558 2008-05-27 Carlos Garnacho <carlos@imendio.com>
560 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
561 correctly dialog buttons sensitivity when the anonymous option is
562 enabled by default. Bug #531865.
564 2008-05-27 Carlos Garnacho <carlos@imendio.com>
566 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
567 password dialog modal and transient for the parent window also if it
568 was specified in the constructor. Bug #531864.
570 2008-05-26 Richard Hult <richard@imendio.com>
572 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
573 setting the default font, might need to tweak this.
575 2008-05-26 Michael Natterer <mitch@imendio.com>
577 * examples/gtkdial/gtkdial.h
578 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
580 2008-05-26 Michael Natterer <mitch@imendio.com>
582 * gtk/gtkimmodule.h: fix indentation.
584 2008-05-26 Michael Natterer <mitch@imendio.com>
586 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
588 * gtk/gtkshow.c: remove inclusion of single files from gdk/
590 Removed trailing whitespace in both files.
592 2008-05-26 Richard Hult <richard@imendio.com>
594 Bug 530353 – Mac-like gtk_accelerator_get_label()
596 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
597 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
598 On quartz, make gtk_accelerator_get_label() format a Mac-like
599 string, using unicode characters for modifier keys, arrows, delete
600 etc. Patch from Yevgen Muntyan.
602 2008-05-26 Richard Hult <richard@imendio.com>
604 Bug 534869 – Length miscalculation in
605 _gtk_quartz_get_selection_data_from_pasteboard
607 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
608 Get the number of bytes, not the number of characters, patch from
611 2008-05-26 Matthias Clasen <mclasen@redhat.com>
613 * gtk/gtkwidget.c: Some doc formatting fixes.
615 2008-05-26 Matthias Clasen <mclasen@redhat.com>
617 Bug 511163 – Remove pango_extents_to_pixels() calls
619 * gtk/gtkcellrenderertext.c (get_size): Use
620 pango_layout_get_pixel_extents.
622 * configure.in: Bump Pango requirement to 1.20
624 * INSTALL.in: Update required versions
626 2008-05-26 Matthias Clasen <mclasen@redhat.com>
628 Bug 513811 – Use cairo_format_stride_for_width()
630 * gtk/gtkhsv.c (paint_ring, paint_triangle):
631 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
632 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
634 * configure.in: Bump cairo requirement to 1.6.0
636 * INSTALL.in: Update required versions
638 2008-05-26 Matthias Clasen <mclasen@redhat.com>
640 * gtk/gtkshow.[hc]: Formatting fixes
642 * gtk/gtkmountoperation.c: Add docs
644 2008-05-25 Cody Russell <bratsche@gnome.org>
646 Bug 507389 – use gslice for gtksettings
648 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
649 Report and patch by Christian Persch.
651 2008-05-25 Cody Russell <bratsche@gnome.org>
653 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
654 when options are missing
656 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
657 that other processes that try to open it will fail gracefully. Also
658 fix a crasher caused by lack of a NULL check. Report and patch
661 2008-05-25 Cody Russell <bratsche@gnome.org>
663 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
665 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
666 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
667 so that we also take into account for foreign windows.
668 Report and patch by Nathaniel Smith.
670 2008-05-25 Cody Russell <bratsche@gnome.org>
672 Bug 525461 - Don't invalidate under an input-only child
674 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
675 Check that the window is not input-only before invalidating.
676 Report and patch by Owen Taylor.
678 2008-05-25 Cody Russell <bratsche@gnome.org>
680 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
683 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
684 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
686 2008-05-25 Cody Russell <bratsche@gnome.org>
688 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
689 caused by missing flag initialization
691 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
692 top-level private flags correctly. Patch by Danny Baumann.
694 2008-05-25 Cody Russell <bratsche@gnome.org>
696 Bug 534463 - non-editable GtkTextView should not call
697 gtk_im_context_focus_in in focus event
699 * gtk/gtktextview.c: Add checks to see if the textview is
700 editable. Patch by Wang Diancheng.
702 2008-05-25 Matthias Clasen <mclasen@redhat.com>
704 Bug 501730 – use GSlice for small allocs
707 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
708 Patch by Christian Persch.
710 2008-05-25 Matthias Clasen <mclasen@redhat.com>
712 Bug 523930 – sort -> search in gtktreeview.c
714 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
715 glitch, pointed out by Björn Lindqvist.
717 2008-05-25 Matthias Clasen <mclasen@redhat.com>
719 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
721 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
722 doc glitch, pointed out by Christian Persch.
724 2008-05-25 Matthias Clasen <mclasen@redhat.com>
726 Bug 534694 – Col id in GtkListStore could be out of range
728 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
729 a bit. Pointed out by Jan Arne Petersen.
731 2008-05-25 Matthias Clasen <mclasen@redhat.com>
733 Bug 532497 – Configure problem when cross-compiling
735 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
736 pointed out by Marko Lindqvist.
738 2008-05-25 Richard Hult <richard@imendio.com>
740 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
741 Slight coding style cleanup.
743 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
745 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
746 Added support for parsing required toolkit versions (so that ui descriptions
747 can target specific versions of the backend widget libraries) bug 527612.
749 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
750 for the added xml tags to the ui description.
752 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
753 for requires tag handling.
755 2008-05-25 Richard Hult <richard@imendio.com>
757 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
758 gtk_drag_source_info_destroy in an idle, workaround for bug
759 #501588, that makes any code that uses the context returned from
760 gtk_drag_begin() crash, like treeview/iconview dnd.
761 (GdkDragSourceOwner::provideDataForType): only use the data if we
764 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
766 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
767 to the drag actions to allow trash (#137717).
769 2008-05-25 Josselin Mouette <joss@malsain.org>
771 reviewed by: Matthias Clasen
773 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
774 check that tracker is actually working before using it. Fixes
777 2008-05-25 Sven Neumann <sven@gimp.org>
779 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
780 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
781 and don't create an output window if it is set.
783 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
784 drawing areas. Fixes bug #519317.
786 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
788 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
789 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
791 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
792 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
793 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
794 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
795 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
796 (start_spinning), (gtk_spin_button_button_release),
797 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
798 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
799 (gtk_spin_button_update): Reorder strange window hierarchy of the
800 GtkSpinButton (#466000).
802 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
804 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
805 fix the wrong position for right and center justified labels with
806 logical.x > 0 (#530255).
808 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
810 * gtk/gtkfilechooserdefault.c:
811 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
814 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
816 * tests/pixbuf-lowmem.c
817 * tests/pixbuf-random.c
818 * tests/pixbuf-randomly-modified.c
819 * tests/pixbuf-read.c
820 * tests/pixbuf-threads.c
822 * tests/testtreeview.c: Fix remaining compiler warnings in these
825 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
827 reviewed by: Matthias Clasen
832 * gtk/gtkshow.c: (gtk_show_uri):
834 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
836 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
838 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
840 * tests/buildertest.c: (test_list_store): Add test.
842 2008-05-24 Matthias Clasen <mclasen@redhat.com>
844 Bug 520989 – icon factory buildable too strict
846 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
847 an optional attribute.
849 2008-05-24 Matthias Clasen <mclasen@redhat.com>
851 Bug 387972 – gtkassistant drawing problem
853 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
854 GtkAssistant work better in glade.
856 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
858 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
859 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
860 used in GtkToolItem) (#532787).
862 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
864 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
865 try to toggle the visibility of the location entry field in search and
866 recent mode (#526422).
868 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
870 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
871 (shortcuts_list_create): Show parse name as tooltip for path
874 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
876 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
877 pango_color_parse, do not reference XParseColor forms (#434991).
879 2008-05-24 James Sharpe <jsharpe@gnome.org>
881 * gdk/gdk.symbols: Remove duplicate
882 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
883 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
885 2008-05-23 Hans Breuer <hans@breuer.org>
887 * **/makefile.msc gtk/makefile.msc.in : updated
888 * gtk/gtkwidget.c : fix c99ism (variable at start of block
889 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
891 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
892 setlocale(LC_ALL, ...)
894 2008-05-23 Tor Lillqvist <tml@novell.com>
896 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
897 gdk_window_remove_redirection.
899 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
900 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
901 changes. Remove now unnecessary parameter checks as the caller
904 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
906 2008-05-23 Tor Lillqvist <tml@novell.com>
908 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
909 anything if style doesn't change. Improve debugging output.
911 2008-05-23 Michael Natterer <mitch@gimp.org>
914 * tests/print-editor.c
915 * tests/prop-editor.h
916 * tests/testmountoperation.c
917 * tests/testmultidisplay.c
918 * tests/testnouiprint.c
920 * tests/testprintfileoperation.h
921 * tests/testtreesort.c
922 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
923 files. Remove some redundant includes.
925 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
927 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
928 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
930 2008-05-21 Richard Hult <richard@imendio.com>
932 * gdk/quartz/gdkwindow-quartz.c:
933 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
934 offscreen rendering changes, fixes build.
936 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
938 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
940 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
941 return snapshot pixmap coordinates widget relative in *clip_rect.
943 * tests/testgtk.c: fixed bogus NULL pointer unref.
945 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
947 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
948 widget's allocation to cover extra widget windows placed outside the
949 widget allocation (spinbutton arrows are the prime example for this).
951 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
953 * Applied pixmap redirection patch by Alexander Larsson with
954 various updates from:
955 Bug 318807 – Offscreen windows and window redirection.
960 * updated docs to mention "Since 2.16".
962 * tests/testgtk.c: fixed snapshooting pixmap leak.
963 convert pixmap to pixbuf after snapshooting, to compensate for different
964 bit depths (occurs when snapshooting ARGB visuals and displaying the
965 pixmap in an RGB visual).
967 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
969 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
970 need for it. enqueue damage notification as GDK_DAMAGE events
971 for each painting redirection at the start of the event queue.
972 consider windows with a redirection fully visible when invalidating,
973 and when updating from backing store. cleaned up stale variables.
975 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
977 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
978 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
979 tree, drawingarea, text, handlebox, etc.
980 clip the redirected window hierarchy to window sizes, the visible
981 rectangles don't need to be taken into account here.
982 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
983 in case pixmap visuals could mismatch.
985 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
990 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
991 of possibly obscured widgets into an offscreen pixmap.
993 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
994 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
996 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
998 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
999 implementations here, adapted them to propagate redirects to child windows.
1000 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
1001 clipped to visible region. queue GDK_DAMAGE event delivery.
1002 gdk_window_redirect_to_drawable(): install window painting redirection.
1003 gdk_window_remove_redirection(): remove previously installed redirection.
1005 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
1006 renamed _gdk_window_new() and _gdk_window_reparent().
1008 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
1009 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
1011 * gdk/gdkevents.h: added GDK_DAMAGE event type.
1013 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
1015 * gdk/gdkinternals.h: added internal prototypes.
1017 2008-05-21 Michael Natterer <mitch@imendio.com>
1019 * gtk/gtkalignment.c
1023 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
1025 2008-05-20 Matthias Clasen <mclasen@redhat.com>
1027 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
1030 Patch by Marek Kasik.
1033 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
1035 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
1037 * modules/printbackends/file/gtkprintbackendfile.c:
1038 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
1039 get_default_page_size.
1041 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
1042 select its default paper size.
1044 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
1045 use the printer default.
1047 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
1048 if we don't have a default page setup.
1050 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
1052 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
1053 can accept NULL for none. Fixes bug #533920.
1055 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
1057 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
1058 gtk_spin_button_update): Remove two chunks of duplicated
1061 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
1063 * reverted recent unapproved changes by Yair Hershkovitz,
1064 regarding: Bug 503071 – Application direction changes to right
1065 to left even if theres no translation.
1067 2008-05-19 Richard Hult <richard@imendio.com>
1069 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
1070 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
1071 SetSystemUIMode instead of hiding and showing the menubar.
1073 2008-05-19 Federico Mena Quintero <federico@novell.com>
1075 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
1076 can't be resized until you expand the "Browse for other folders"
1079 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
1080 Removed the "get_resizable" method.
1081 (_gtk_file_chooser_embed_get_resizable): Removed.
1083 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
1085 * gtk/gtkfilechooserdefault.c: Likewise.
1087 * gtk/gtkfilechooserdialog.c
1088 (file_chooser_widget_default_size_changed): Act as if the dialog
1089 were always resizable.
1091 2008-05-19 Michael Natterer <mitch@imendio.com>
1093 * gtk/gtkcellrenderer.c
1094 * gtk/gtkcellrendererpixbuf.c
1095 * gtk/gtkcellrenderertoggle.c
1096 * gtk/gtkimagemenuitem.c
1097 * gtk/gtkmenutoolbutton.c
1098 * gtk/gtkoptionmenu.c
1099 * gtk/gtkstatusbar.c
1100 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
1102 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
1104 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
1105 g_disable_setlocale().
1107 2008-05-17 Richard Hult <richard@imendio.com>
1109 * gdk/quartz/gdkwindow-quartz.c:
1110 (gdk_window_impl_quartz_invalidate_maybe_recurse):
1111 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
1112 of g_idle_add. Add a temporary check if the window is already in
1113 the updates list, since update_area currently doesn't always match
1114 the backend's state, see bug #530801.
1116 2008-05-13 Tor Lillqvist <tml@novell.com>
1118 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
1120 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
1121 the "packet rate" of devices to zero instead of 50. This is
1122 reported to help significantly with Wacom tablet behaviour in GIMP
1123 and Inkscape. Patch from Thomas Bleeker.
1125 2008-05-12 Richard Hult <richard@imendio.com>
1127 * gdk/quartz/gdkevents-quartz.c:
1128 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
1129 as it's no longer necessary; instead the added quartz API to get
1130 the nsevent from an event should be used. Also move the global
1131 filter up so it's done before the check for window-less events.
1133 2008-05-12 Tor Lillqvist <tml@novell.com>
1135 Bug 532558 - Cannot build dll when using separate builddir
1138 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
1141 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
1143 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
1145 2008-05-12 Tor Lillqvist <tml@novell.com>
1147 Bug 532059 - Leak in win32 clipboard manipulation
1149 * gdk/win32/gdkselection-win32.c
1150 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
1153 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
1155 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
1156 gettext_initialization only once.
1158 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
1159 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
1160 with the extended functionality that was in the removed dpgettext().
1162 * gtk/gtkaccellabelc:
1164 * gtk/gtkimmulticontext.c:
1165 * gtk/gtkactiongroup.c:
1166 * gtk/gtkintl.h: use glib i18n api.
1168 2008-05-08 Richard Hult <richard@imendio.com>
1170 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
1171 currently invalidated region. Fixes bug #532048, patch by Yevgen
1174 2008-05-08 Richard Hult <richard@imendio.com>
1176 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
1177 fd's revents, not the first one. Fixes bug #531056, spotted by
1180 2008-05-07 Tor Lillqvist <tml@novell.com>
1182 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
1185 2008-05-05 Matthias Clasen <mclasen@redhat.com>
1187 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
1188 more printer status information in the print dialog.
1190 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
1191 printer-state-reasons into suitable messages and icons.
1193 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
1194 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
1195 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
1197 * gtk/gtkiconfactory.c:
1198 * gtk/gtkstock.h: New stock icons to display printer state.
1200 2008-05-07 Michael Natterer <mitch@imendio.com>
1202 * gdk/gdkinternals.h
1204 * gdk/directfb/gdkevents-directfb.c
1205 * gdk/quartz/gdkevents-quartz.c
1206 * gdk/win32/gdkevents-win32.c
1207 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
1208 order parameters src,dest and make src const.
1210 2008-05-06 Richard Hult <richard@imendio.com>
1212 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
1213 * gdk/gdkinternals.h: Add private backend data to events, and
1214 handle it when copying/freeing events. Currently only needed in
1217 * gdk/directfb/gdkevents-directfb.c:
1218 * gdk/quartz/gdkevents-quartz.c:
1219 * gdk/win32/gdkevents-win32.c:
1220 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
1221 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
1222 directfb. Implement for quartz. Part of fixing bug #473822.
1224 2008-05-05 Richard Hult <richard@imendio.com>
1226 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
1227 framework if there is one.
1229 2008-05-05 Michael Natterer <mitch@imendio.com>
1231 * gtk/gtkcellrenderercombo.h
1232 * gtk/gtkcellrendererspin.h
1233 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
1236 * gtk/gtkfilechooserdialog.h
1237 * gtk/gtkfilechooserwidget.h
1238 * gtk/gtkscalebutton.h: reorder instance and class structs to be
1241 2008-05-04 Richard Hult <richard@imendio.com>
1243 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
1244 gdk_unicode_to_keyval() worked before using the result. Makes
1245 function keys work, bug #530156. Also add F16 to the function key
1248 2008-05-04 Richard Hult <richard@imendio.com>
1250 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
1251 semicolon after if statement. Fixes bug #530963, patch from Yevgen
1254 2008-05-02 Michael Natterer <mitch@imendio.com>
1256 * gtk/gtk.h: add 15 files that were missing (they all got included
1257 indirectly by including gtk.h, so should have been here in the
1260 2008-05-02 Michael Natterer <mitch@imendio.com>
1262 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
1264 2008-05-01 Richard Hult <richard@imendio.com>
1266 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
1267 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
1269 2008-05-01 Matthias Clasen <mclasen@redhat.com>
1271 * modules/imput/imthai.c: Register the right translation domain.
1273 2008-04-30 Matthias Clasen <mclasen@redhat.com>
1275 Bug 529386 – Printing options hidden by blacklisted option
1277 * modules/printbackend/cups/gtkprintbackendcups.c
1278 (cups_printer_get_options): Fix the blacklist handling.
1279 Patch by Marek Kašík.
1281 2008-04-30 Richard Hult <richard@imendio.com>
1283 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
1286 2008-04-30 Richard Hult <richard@imendio.com>
1288 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
1289 nsevents with the gdk lock held, fixes deadlock when doing manual
1290 window resizing with threading enabled.
1292 2008-04-30 Richard Hult <richard@imendio.com>
1294 * gdk/quartz/gdkevents-quartz.c:
1295 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
1296 Alt to Alt and Cmd to Meta. This is not only more logical but also
1297 makes it easier to have Mac-like behavior.
1299 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
1301 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
1302 painting the flat box instead of recalculating it. (#437493,
1305 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
1307 Bug 529841 – incorrect position in directfb
1309 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
1311 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
1313 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
1315 2008-04-25 Michael Natterer <mitch@imendio.com>
1317 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
1318 <pango/pango-layout.h>.
1320 * gtk/gtkiconfactory.c
1324 * gtk/queryimmodules.c: remove inclusion of single files from
1325 pango, none of them was actually needed.
1327 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
1328 <pango/pango-utils.h>.
1330 2008-04-25 Michael Natterer <mitch@imendio.com>
1332 * gdk/gdkfont.h: include <pango/pango.h> instead of
1333 <pango/pango-font.h>.
1335 2008-04-25 Michael Natterer <mitch@imendio.com>
1337 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
1340 2008-04-21 Michael Natterer <mitch@imendio.com>
1342 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
1343 crashing when NULL pointers get passed.
1345 2008-04-18 Michael Natterer <mitch@imendio.com>
1347 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
1348 here have the same style.
1350 2008-04-18 Michael Natterer <mitch@imendio.com>
1352 * gtk/gtkicontheme.h
1353 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
1356 * gtk/gtkbuilderparser.c
1357 * gtk/gtklinkbutton.c
1359 * gtk/gtkrecentchooserdefault.c
1360 * gtk/gtkrecentchoosermenu.c
1361 * modules/input/gtkimcontextthai.c: remove inclusion of single
1362 files from gdk, none of the includes was actually needed.
1364 2008-04-18 Michael Natterer <mitch@imendio.com>
1366 * gdk/gdk.h: reorder one include so they are all alphabetical.
1368 2008-04-18 Michael Natterer <mitch@imendio.com>
1370 * modules/printbackends/cups/gtkprintercups.[ch]
1371 (gtk_printer_cups_get_ppd_name): change return value and local
1372 variable to const gchar* to fix warning about discarding const
1375 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
1377 * gtk/gtkrecentmanager.c:
1378 (gtk_recent_manager_set_filename): Keep the default storage
1379 file in $HOME, as we don't have a migration code in place yet.
1381 2008-04-18 Michael Natterer <mitch@imendio.com>
1383 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
1384 g_strfreev() the uris returned by g_bookmark_file_get_uris().
1386 2008-04-17 Michael Natterer <mitch@imendio.com>
1388 * gtk/gtkiconfactory.c (get_default_icons): register the
1389 GTK_STOCK_PAGE_SETUP icon.
1391 2008-04-17 Michael Natterer <mitch@imendio.com>
1393 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
1394 g_return_if_fail(tooltips != NULL);
1396 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
1398 * gtk/gtkwindow.c: Chain up in buildable_finish()
1400 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
1401 cases where g_path_get_dirname() returns "."
1403 * docs/reference/gtk/tmpl/gtklabel.sgml,
1404 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1405 for the <attributes> tags on GtkLabel
1407 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1409 * gtk/gtkrecentmanager.c:
1410 (gtk_recent_manager_real_changed): Fix last commit, and
1411 complete the gtk-recent-files-max-age semantics: if the
1412 property is set to 0 then purge the list.
1414 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1416 Bug 488507 – boundless growth of .recently-used.xbel file
1417 slows down applications
1419 * gtk/gtkrecentmanager.c:
1420 (gtk_recent_manager_init),
1421 (gtk_recent_manager_real_changed),
1422 (gtk_recent_manager_set_filename),
1423 (gtk_recent_manager_clamp_to_age): Clamp the recently
1424 used resources list by the age of its items, using
1425 the newly added GtkSettings property.
1427 * gtk/gtksettings.c (gtk_settings_class_init): Add the
1428 gtk-recent-files-max-age property, controlling the
1429 maximum age of the items in the recently used resources
1432 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1434 * gtk/gtkrecentmanager.c:
1435 (gtk_recent_manager_add_item_query_info),
1436 (gtk_recent_manager_add_item): Emit the ::changed signal
1437 at the end of the asynchronous MIME type query.
1439 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1441 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
1444 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
1445 changes in the recently used resources storage file, and
1446 drop the timeout-based poll.
1448 * ChangeLog: Fix attribution of the patch of the previous
1451 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1453 Bug 506062 – gtk_recent_manager_add_item does not detect mime
1456 * configure.in: Depend on gio-2.0
1458 * gtk/gtkrecentmanager.c:
1459 (gtk_recent_manager_add_item_query_info_cb),
1460 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
1461 query the MIME type of the passed URI (based on a patch by
1464 2008-04-11 Carlos Garnacho <carlos@imendio.com>
1466 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
1467 page to visited page list instead of next current page. (#527466,
1468 patch by Marcus Brinkmann)
1470 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
1472 * gtk/gtklabel.c: Added <attributes> / <attribute>
1473 custom tags to parse pango attributes into labels.
1475 * tests/buildertest.c: Added tests for GtkLabel custom
1478 2008-04-10 Carlos Garnacho <carlos@imendio.com>
1480 * gtk/gtknotebook.c (hide_drag_window): Do not call
1481 gtk_widget_set_parent_window(), using widget->window instead of NULL
1482 to unset is the wrong thing, and gtk_widget_unparent() will already
1483 take care of this (#467698, patch by Sébastien Granjoux)
1485 2008-04-08 Tor Lillqvist <tml@novell.com>
1487 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
1488 these functions with G_MODULE_EXPORT.
1490 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1492 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
1493 (gtk_file_system_volume_render_icon):
1494 Fix fallback icon rendering size
1496 2008-04-08 Michael Natterer <mitch@imendio.com>
1498 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
1499 touchscreen-mode keynav corner case: when navigating to the parent
1500 menu, make sure we don't close two menus at the same time in case
1501 the deepest open menu has no selectable items.
1503 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
1505 * gtk/gtkwidget.c: Clarified a g_warning message regarding
1506 parsing accelerators from builder files.
1508 2008-04-03 Cody Russell <bratsche@gnome.org>
1510 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
1511 of the block. (#526021, reported by Kazuki IWAMOTO)
1513 2008-04-03 Tor Lillqvist <tml@novell.com>
1515 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
1518 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
1519 workaround for a specific kind of screwed up locale setting.
1521 2008-04-02 Matthias Clasen <mclasen@redhat.com>
1523 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
1524 colormaps. Found by Daniel Berrange.
1526 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
1528 * tests/autotestfilechooser.c: Cover
1529 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
1530 name. (#346058, Joe Halliwell)
1532 2008-04-02 Federico Mena Quintero <federico@novell.com>
1534 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
1535 chooser incorrectly substitutes and expands a ~ when you type it
1536 in the filename entry.
1538 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
1539 basenames result in a slash-terminated pathname.
1540 gtk_file_system_unix_parse() is correct, but it was splitting
1541 "/home/username" into path="/home" and file_part="username", which
1542 is not what the caller wants when the entry has just "~" or
1545 2008-04-02 Tor Lillqvist <tml@novell.com>
1547 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
1548 and gtksearchenginetracker.c on Windows.
1550 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
1553 2008-04-01 Cody Russell <bratsche@gnome.org>
1555 * configure.in: Bump required Cairo to 1.5.2.
1557 * gtk/gtkprintoperation-win32.c: Add support for using the new
1558 cairo_win32_printing_surface for printing. Also fixed to use
1559 cairo_surface_show_page(). (#488833 and #521178)
1561 2008-03-31 Cody Russell <bratsche@gnome.org>
1563 * demos/gtk-demo/printing.c (draw_page): Move down each line in
1564 units of text_height rather than in units of data->font_size.
1565 (totally awesome catch by Dom Lachowicz)
1567 2008-03-28 Richard Hult <richard@imendio.com>
1569 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
1570 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
1571 event to the mainloop and don't generate one at all if the
1572 toplevel didn't change. Use the actual window and not the toplevel
1573 as event window. These changes make the generated crossing events
1574 match the X11 behavior and fixes issues with e.g. tooltips,
1575 comboboxes and menus.
1577 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
1578 the view has no window, it will be updated as soon as it's put
1581 * gdk/quartz/gdkwindow-quartz.c:
1582 (_gdk_quartz_window_debug_highlight): Make it possible to track
1583 multiple windows with debug highlighting.
1584 (show_window_internal): Remove workaround for tooltips and popups
1585 that is no longer needed with the above changes.
1587 2008-03-26 Federico Mena Quintero <federico@novell.com>
1589 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
1590 helper function; factored out from the functions that commit the
1591 current suggested autocompletion and that refresh the entry's paths.
1592 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
1593 (_gtk_file_chooser_entry_get_file_part): Likewise.
1594 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
1595 makes the entry have the correct paths when *not* using any form
1596 of completion (and makes the file chooser work when clicking the
1599 2008-03-25 Richard Hult <richard@imendio.com>
1601 * gdk/quartz/gdkevents-quartz.c:
1602 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
1603 can't find a matching window.
1605 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
1606 comment, and only trigger an event for non-temp windows, fixes
1607 problems for tooltips caused by the workarounds for the
1608 problematic tracking rect API.
1610 2008-03-25 Richard Hult <richard@imendio.com>
1612 * gdk/quartz/gdkwindow-quartz.c:
1613 (gdk_window_quartz_process_all_updates): Plug a leak and add a
1614 check that we have a toplevel before accessing it.
1616 2008-03-24 Tor Lillqvist <tml@novell.com>
1618 Bug 524151 - Dragging of 0-byte files results in an empty filename
1619 on Windows XP and above
1621 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
1622 being empty first. For some reason ISHellLink and IPersistFile
1623 succeeds in interpreting empty files as shortcuts, claiming the
1624 target of the shortcut is an empty path.
1626 Change the function to take the wide character file name that the
1627 caller already has anyway, to avoid a superfluous conversion from
1630 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
1632 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
1633 against NULL pointer. (#467051, Gian Mario Tagliaretti)
1635 2008-03-23 Cody Russell <bratsche@gnome.org>
1637 * gdk/win32/gdkevents-win32.c (show_window_recurse):
1638 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
1639 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
1640 menus from a maximized window would force the window to restore
1643 2008-03-23 Johan Dahlin <johan@gnome.org>
1645 * gtk/gtk-builder-convert:
1646 Properly convert GtkImageMenuItems which use stock labels but don't
1648 (#523932, Brian Pepple)
1650 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
1652 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
1653 New function implements GtkCellLayoutClass::get_cells. (#523787)
1655 2008-03-22 Tor Lillqvist <tml@novell.com>
1657 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
1659 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
1660 GDK_THREADS_LEAVE() call. Approved by mclasen.
1662 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
1664 * gtk/gtkexpander.c (gtk_expander_get_label):
1665 gtk_label_get_label() should be used instead of
1666 gtk_label_get_text(). (#353088, Xan Lopez)
1668 2008-03-21 Tor Lillqvist <tml@novell.com>
1670 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
1671 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
1672 gdip-pixbuf-loader module.
1674 * configure.in: Add switch --disable-gdiplus-loaders that disables
1675 building of the GDI+ loaders.
1677 When including loaders in the gdk-pixbuf library, and building
1678 GDI+ loaders, either build in all the GDI+ loaders or none of
1679 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
1680 signal building them in.
1682 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
1683 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
1684 indicate whether they should be built-in.
1686 For the rest of the changes, see gdk-pixbuf/ChangeLog.
1688 2008-03-20 Tor Lillqvist <tml@novell.com>
1690 * gtk/Makefile.am: Revert accidental change that went in as part
1691 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
1692 Darwin. On Windows one has to use a newer GNU grep that has -o,
1693 for instance the one from gnuwin32, instead of the oldish one in
1694 MSYS that doesn't have -o.
1696 2008-03-20 Tor Lillqvist <tml@novell.com>
1698 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
1699 pass NULL for %s to g_message().
1700 (main): Drop unnecessary call to gtk_widget_destroy().
1702 2008-03-20 Tor Lillqvist <tml@novell.com>
1704 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
1706 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
1707 in one dimension, or centered in case it doesn't fit.
1708 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
1711 2008-03-18 Tor Lillqvist <tml@novell.com>
1713 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
1715 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
1716 G_MODULE_ENTRY decoration can be put in a more correct place.
1718 2008-03-18 Sven Neumann <sven@gimp.org>
1720 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
1721 alternative button order on the password dialog.
1723 2008-03-18 Tor Lillqvist <tml@novell.com>
1725 Bug 99192 - Add --with-include-input-modules
1727 * configure.in: Add --with-included-immodules switch. Handled in a
1728 similar way as the --with-included-loaders switch. For each input
1729 method module foo: Collect the list of input modules to be built
1730 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
1731 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
1732 Define Automake conditionals INCLUDE_IM_FOO.
1734 * modules/input/Makefile.am: For modules to be included in libgtk,
1735 build a static library.
1737 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
1738 gdk-pixbuf to get unique names for the functions called by libgtk
1739 in the included case. Use G_MODULE_EXPORT in the non-included case
1740 so that we don't unnecessarily export unneeded random global
1743 * gtk/Makefile.am: Build the included modules and link them into libgtk.
1745 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
1746 copy/paste leftover mentions of "themes" in comments.
1748 2008-03-18 Tor Lillqvist <tml@novell.com>
1750 * tests/Makefile.am: Build testmountoperation only on Unix for now.
1752 2008-03-17 Christian Kellner <gicmo@gnome.org>
1754 Implement GtkMountOperation, a subclass of GMountOperation
1755 to be used with gio wherever there is the need to ask the
1756 user for credentials or questions while mounting a volume.
1759 * gtk/gtkmountoperation.c:
1760 * gtk/gtkmountoperation.h:
1761 Implement GtkMountOperation.
1763 * gtk/gtk.h: Add gtkmountoperation.h
1764 * gtk/Makefile.am: Add gtkmountoperation.[hc]
1765 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
1766 * tests/testmountoperation.c: Test program for it.
1767 * tests/Makefile.am: Add testmountoperation.
1769 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
1771 * gtk/gtkcontainer.c: Properly document
1772 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
1774 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1776 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
1777 style names for the ComboBox thickness style
1779 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1781 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
1782 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
1783 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
1784 intelligent separation for the xp theming engine and the classic
1785 theme while drawing the GtkComboBox button. combobox_draw_arrow
1786 is not used anymore, commented. The style has been updated to fix
1787 border/thickness glitches in the combobox according to the fixes
1788 commited regarding bug #521442. (bug #461805)
1790 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1792 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
1793 now aware of both the combobox and frame (if has-frame is set)
1794 thickness and border. (bug #521442)
1796 2008-03-15 Andre Klapper <a9016009@gmx.de>
1798 * configure.in: Added "si" to ALL_LINGUAS.
1800 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1802 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
1803 Set window type hint on the search popup. (#522279, Danny Baumann)
1805 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1807 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
1808 appropriate. (#521934, Huang Peng)
1810 2008-03-14 Michael Natterer <mitch@imendio.com>
1813 * gtk/gtkbuilderprivate.h
1814 * gtk/gtkfilechoosersettings.c
1815 * gtk/gtksearchenginesimple.c
1816 * gtk/tests/liststore.c
1817 * gtk/tests/treestore.c: remove single-file includes of GLib
1818 headers or replace them by <glib.h> where needed.
1820 2008-03-14 Michael Natterer <mitch@imendio.com>
1822 * gtk/gtkadjustment.c: coding style cleanup.
1824 (gtk_adjustment_set_property): no need to call g_object_notify()
1825 on the set properties.
1827 Implement GObject::dispatch_properties_changed() and make sure we
1828 emit "changed" when anything but the "value" property changes.
1830 2008-03-14 Tor Lillqvist <tml@novell.com>
1832 * gdk/win32/gdkevents-win32.c: Drop the support for the
1833 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
1834 Win95. Thanks to mitch for noticing this obsolete code.
1836 2008-03-14 Cody Russell <bratsche@gnome.org>
1838 * examples/scribble-xinput/scribble-xinput.c: Changed
1839 'void int main()' to 'int main()'. (#522211, Liqing Huang)
1841 2008-03-14 Richard Hult <richard@imendio.com>
1843 * gdk/quartz/gdkwindow-quartz.c:
1844 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
1845 only flush the toplevel once per update.
1847 2008-03-13 Federico Mena Quintero <federico@novell.com>
1849 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
1850 Set the mouse cursor of the feedback window to invisible, so that
1851 we respect GtkEntry's invisible cursor while typing.
1853 2008-03-13 Federico Mena Quintero <federico@novell.com>
1855 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
1856 the feedback window at entry_height/2 pixels to the right of the
1857 cursor, for a cheap "M-width / 2" spacing.
1859 2008-03-13 Sven Neumann <sven@gimp.org>
1861 * gtk/gtkfilechooserdefault.c
1862 * gtk/gtkprintunixdialog.c: set alternative button order for
1863 overwrite confirmation dialogs (bug #522191).
1865 2008-03-13 Sven Neumann <sven@gimp.org>
1867 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
1868 (overwrite_confirmation_dialog): added some line-breaks for
1871 2008-03-12 Federico Mena Quintero <federico@novell.com>
1873 Rework the way completion works in GtkFileChooserEntry. Fixes
1874 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
1875 Tab completion should work even if the cursor is not at the end of
1878 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
1881 We distinguish between two cases:
1883 - autocompletion - happens only in the Open modes by
1884 inserting and selecting the common prefix as you type.
1886 - explicit completion - happens when you hit Tab.
1888 When some type of completion needs to happen, the entry first
1889 parses its input and sees if it needs to initiate a folder load.
1890 Completion will not happen until the folder finishes loading.
1892 If the folder is already completely loaded, then completion is
1893 performed immediately. Otherwise, the entry queues a pending
1894 completion and starts loading the new folder (or waits until the
1895 current folder is completely loaded).
1897 Tab completion is allowed to happen even if the cursor is not at
1898 the end of the entry.
1900 There is a new feedback mechanism for explicit completion, so that
1901 you will get an Emacs-like tip whenever there are ambiguities in
1902 completion, no matches, etc. (This needs to be polished so that
1903 we support RTL entries and all the fancy Pango layout in GtkEntry).
1905 The only remaining thing to fix is the popup suggestion window.
1906 Unfortunately, GtkEntryCompletion does not let us do what we want,
1907 and will need further changes.
1909 2008-03-12 Tor Lillqvist <tml@novell.com>
1911 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
1913 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
1914 for the TaskbarCreated message in the window procedure for the
1915 dummy "tray observer" window we create. When we get a
1916 TaskbarCreated message, iterate over the status icons and re-add
1917 them to the task bar, and update them by calling
1918 gtk_status_icon_update_image().
1920 Move some ifdefs around to avoid unused functions.
1922 2008-03-12 Tor Lillqvist <tml@novell.com>
1924 * config.h.win32.in: Update to match what configure produces.
1926 2008-03-12 Jens Granseuer <jensgr@gmx.net>
1928 * modules/printbackends/cups/gtkprintbackendcups.c:
1929 (cups_printer_prepare_for_print): Don't define variables in the
1930 middle of a block. (#522067)
1932 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1934 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
1935 dialog for print-to-file. (#474302, Marek Kašík)
1937 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1939 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
1940 (#469210, Wouter Bolsterlee)
1942 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1944 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
1945 paper_size here. (#488820, Morten Welinder)
1947 2008-03-12 Michael Natterer <mitch@imendio.com>
1949 * acconfig.h: remove this deprecated file.
1951 * configure.in: added comments to all instances of AC_DEFINE() so
1952 config.h can be completely generated from configure.in.
1954 2008-03-12 Michael Natterer <mitch@imendio.com>
1956 * modules/printbackends/cups/gtkprintbackendcups.c: include
1957 <glib/gstdio.h> for g_fopen().
1959 2008-03-11 Matthias Clasen <mclasen@redhat.com>
1961 * modules/printbackends/cups/gtkprintbackendcups.c: Use
1962 g_ascii_formatd when formatting custom paper sizes, since
1963 cups doesn't handle , as decimal separator. (#521548)
1965 2008-03-11 Tor Lillqvist <tml@novell.com>
1967 Bug 469868 - Filenames with colon ":" are not saved correctly
1969 * gtk/gtkfilechooserentry.c (insert_text_callback)
1970 (delete_text_callback) [Win32]: New functions to make sure that
1971 colons used otherwise than as a separator after a drive letter, or
1972 characters that are always illegal in file names, are rejected on
1973 input. This means that the GTK+ file chooser can't be used to
1974 input full names of alternate data streams, but oh well. There are
1975 still more checks that could be done on the file names, see the
1976 bug report. But this will do for now.
1977 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
1979 2008-03-11 Jordi Mallach <jordi@sindominio.net>
1981 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
1983 2008-03-11 Michael Natterer <mitch@imendio.com>
1985 * gdk/linux-fb/*: removed linux-fb backend files.
1989 * docs/README.linux-fb
1990 * gtk/Makefile.am: remove remaining traces of linux-fb.
1992 * gtk/gtkwindow-decorate.c: same here. There is some code that
1993 calls into linux-fb to set window move/resize callbacks. I put it
1994 in #if 0 as a reminder because we did use decorated windows with
1995 the DirectFB backend and it did work, so I don't really know why
1996 this code is needed or how it could work with DirectFB back then.
1997 The file does actually compile now if DECORATE_WINDOWS is defined,
1998 but I didn't test with DirectFB to check if it does anything.
2000 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
2002 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
2003 Take thickness into account in the size allocation of the child widgets in
2007 2008-03-11 Richard Hult <richard@imendio.com>
2009 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
2011 2008-03-10 Tor Lillqvist <tml@novell.com>
2013 * tests/teststatusicon.c (do_exit, popup_menu): Add the
2014 possibility to test what happens if the process just calls exit()
2015 without any orderly cleanup of GTK+.
2017 2008-03-10 Tor Lillqvist <tml@novell.com>
2019 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
2021 2008-03-10 Tor Lillqvist <tml@novell.com>
2023 Bug 520286 - Non-deletable window has no minimize / maximize buttons
2025 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
2026 New debugging output function that decodes a set of WS_* bits.
2028 * gdk/win32/gdkprivate-win32.h: Declare it.
2030 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
2031 New function that enables or disables one menu entry in the system
2032 menu of a top-level window. (The corresponding decoration will
2033 then also be enabled or disabled (grayed).)
2035 (update_style_bits): Do as the comment says and don't try to
2036 update the window style based on the GdkWMFunctions set for the
2039 (update_system_menu): New function that enables or disables the
2040 system menu entries based on a window's stored set of
2043 (gdk_window_set_functions): Call update_system_menu() instead of
2044 update_style_bits().
2046 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
2048 * README.in: Reword the 2.14 release notes entry about the
2049 deprecation of the gtkitemfactory.h header, and fix typos
2052 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
2054 * modules/engines/ms-windows/msw_style.c (draw_shadow):
2055 Do not draw frame if parent if combobox.
2057 Uses scrollbar width system metrics for combobox button.
2058 Fixes #461805 for XP theme engine.
2060 2008-03-07 Johan Dahlin <johan@gnome.org>
2063 * gtk/gtkbuilderparser.c:
2064 * gtk/gtkbuilderprivate.h:
2065 * gtk/gtkiconfactory.c:
2066 * tests/buildertest.c:
2067 - Treat enums like enums and not values
2068 - Avoid invalid free, in case of more than two sources
2069 - Add better error messages
2070 - Add much improved tests
2071 (#520979, Christian Persch)
2073 2008-03-07 Carlos Garnacho <carlos@imendio.com>
2075 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
2078 2008-03-06 Federico Mena Quintero <federico@novell.com>
2080 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
2081 GtkFileChooserDialog should set a default response button if the
2082 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
2084 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
2085 function, refactor from where there was duplicated code.
2086 (gtk_file_chooser_dialog_map): Look at the buttons in our
2087 action_area. If the response ID for a button is one of the stock
2088 ones, make it the default response button.
2090 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2092 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
2094 * gtk/gtkbuilderprivate.h:
2095 * gtk/gtkiconfactory.c:
2096 * tests/buildertest.c:
2097 Implement GtkBuildable on GtkIconFactory, to make
2098 it possible to register custom stock icons.
2101 2008-03-06 Johan Dahlin <johan@gnome.org>
2105 * gtk/gtkstyle.c: npoints->n_points.
2106 * gtk/gtktestutils.h: widget->spinner
2107 * gtk/gtktestutils.c: argc->argcp, argv->argvp
2109 2008-03-06 William Lachance <wrlach@gmail.com>
2111 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
2112 string localizable (as it should be).
2114 2008-03-06 William Lachance <wrlach@gmail.com>
2116 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
2117 the time for today's date. It's redudant. (see bug #410517).
2119 2008-03-06 Xan Lopez <xan@gnome.org>
2121 * gtk/gtkfixed.c: fix typo in documentation.
2123 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2125 * gtk/gtkitemfactory.h:
2126 * gtk/gtktypeutils.h:
2127 Move GtkTranslateFunc to gtktypeutils.h so we can completely
2128 deprecate gtkitemfactory.h.
2130 * gtk/gtkactiongroup.h:
2132 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
2135 Add a note describing this slight incompatible change
2137 2008-03-06 Johan Dahlin <johan@gnome.org>
2139 * gtk/gtkpreview.h: Avoid double-deprecation.
2141 2008-03-06 Michael Natterer <mitch@imendio.com>
2144 * gtk/Makefile.am: move the remaining deprecated widgets to the
2145 separate sections and replaced spaces by tabs in Makefile.am
2147 2008-03-05 Johan Dahlin <johan@gnome.org>
2149 * configure.in: Add --disable-cups option.
2150 (#513826, Alberto Ruiz)
2154 Separate broken and deprecated sources and headers into different sections
2156 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
2158 2008-03-05 Kristian Rietveld <kris@imendio.com>
2160 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
2161 short-circuit in case an empty root level would be build (and thus
2162 directly destroyed) if no virtual root has been set.
2164 2008-03-04 Matthias Clasen <mclasen@redhat.com>
2166 * modules/printbackends/cups/gtkprintbackendcups.c:
2167 Honor cups user default options from ~/.cups/lpoptions
2168 (#469210, Stijn Hoop)
2170 2008-03-04 Michael Natterer <mitch@imendio.com>
2173 * gtk/gtkcolorbutton.c
2174 * gtk/gtkentrycompletion.c
2175 * gtk/gtkfontbutton.c
2179 * gtk/gtkpreview.c: don't include "gtksignal.h".
2181 * gtk/gtkfilefilter.c
2182 * gtk/gtkrecentchoosermenu.c
2183 * gtk/gtkrecentfilter.c
2184 * gtk/gtktext.c: don't include "gtkobject.h".
2186 2008-03-04 Simos Xenitellis <simos@gnome.org>
2188 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
2189 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
2191 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
2194 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
2195 file, contains compose sequences that used to exist in
2196 gtk/gtkimcontextsimple.c
2198 * gtk/compose-parse.py: Script to generate compose
2199 sequences from upstream (Xorg).
2201 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
2202 check_algorithmically): New functions. First two search in
2203 gtk_compose_seqs_compact[] for matching compose sequence, third
2204 tries NFC normalisation on incoming compose sequence.
2205 (gtk_im_context_simple_filter_keypress):
2206 Adds searching with check_compact_table(), check_algorithmically().
2208 2008-03-03 Carlos Garnacho <carlos@imendio.com>
2210 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
2211 scrollwheel work in GtkPathBar.
2213 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
2215 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
2216 an input-only window, event_window, which we'll use to capture
2218 (gtk_path_bar_map): Show the event_window under the rest of the
2219 windows, so it will be a catch-all for unhandled events.
2221 2008-03-03 Sven Neumann <sven@gimp.org>
2223 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
2224 typo in the documentation of the GtkFileChooserButtons::file-set
2225 signal (see bug #353196).
2227 2008-03-03 Tor Lillqvist <tml@novell.com>
2229 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
2232 2008-03-02 Johan Dahlin <johan@gnome.org>
2234 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
2235 Remove left-over focus_pad variable.
2236 (#490892, Claudio Saavedra)
2238 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
2239 (#518166, Matt Kraai)
2241 2008-03-02 Johan Dahlin <johan@gnome.org>
2243 * docs/tutorial/gtk-tut.sgml: Add a missing space
2244 (#517954, Matt Kraai)
2246 2008-03-03 Tor Lillqvist <tml@novell.com>
2248 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
2249 the widget is a GtkButton before casting.
2251 2008-03-02 Johan Dahlin <johan@gnome.org>
2253 * configure.in: Compare using = instead of ==, which is portable.
2254 (#490787, Thomas Klausner)
2256 2008-03-02 Johan Dahlin <johan@gnome.org>
2258 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
2259 fixes non-C++ build.
2260 (#496032, Nelson Benitez)
2262 2008-02-29 Johan Dahlin <johan@gnome.org>
2264 * demos/gtk-demo/demo.ui:
2265 * gtk/gtkbuilderparser.c:
2266 * gtk/gtkbuilderprivate.h:
2267 * gtk/gtkliststore.c:
2268 * tests/buildertest.c:
2269 Add translatable/context and comment attributes on
2270 <col> tags under a GtkListStore. Refactor parts of the
2271 translation api and make it available inside gtk+ itself.
2272 Update tests and example.
2273 Fixes a part of #518642
2275 2008-02-29 Johan Dahlin <johan@gnome.org>
2278 Add missing g_return_val_if_fail checks for public API.
2280 * gtk/gtkbuilderparser.c:
2281 * gtk/gtkbuilderprivate.h:
2282 Do not use g_error for a few more errors, instead set
2283 the GError sent in through add_from_file/add_from_string.
2284 * tests/buildertest.c:
2285 Add a couple of new parsing tests.
2286 (#519199, Pavel Syomin)
2288 2008-02-29 Federico Mena Quintero <federico@novell.com>
2290 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
2291 refreshing an existing folder (i.e. when we are about to reload
2292 its file list), turn off the folder's is_finished_loading flag.
2293 Otherwise callers which do ::is_finished_loading() followed by
2294 ::list_children() will get nothing.
2296 2008-02-29 Cody Russell <bratsche@gnome.org>
2298 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
2299 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
2301 2008-02-28 Matthias Clasen <mclasen@redhat.com>
2303 * gtk/gtkcalendar.h: Remove trailing comma from enum to
2304 make the compiler happy. (#517295, Sylvain Pasche)
2306 2008-02-27 Michael Natterer <mitch@imendio.com>
2308 * gtk/gtkmenushell.c
2311 * gtk/gtktipsquery.c
2316 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
2317 private functions and virtual function implementations.
2319 2008-02-27 Richard Hult <richard@imendio.com>
2321 * gdk/quartz/GdkQuartzView.c:
2322 * gdk/quartz/GdkQuartzView.h:
2323 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
2324 Fix performance regression for borderless transparent windows
2327 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
2329 * tests/testgtk.c: Revert back to r19454.
2331 2008-02-27 Sven Neumann <sven@gimp.org>
2333 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
2334 Quartz backend, use a native Mac OS X application for the print
2335 preview (bug #518624).
2337 2008-02-26 Michael Natterer <mitch@imendio.com>
2339 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
2340 the members of info->tag_stack since they are a) gobjects and b)
2341 not even owned by us, ugh... Fixes crash when deserializing fails.
2343 2008-02-26 Sven Neumann <sven@gimp.org>
2345 * docs/tools/shooter.c (find_toplevel_window)
2346 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
2347 argument passed to XQueryTree().
2349 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2351 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
2352 don't use beagle_query_add_hit_type.
2354 2008-02-25 Richard Hult <richard@imendio.com>
2356 * gdk/quartz/gdkevents-quartz.c
2357 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
2359 2008-02-24 Richard Hult <richard@imendio.com>
2361 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
2362 shown without gdk's control when clicking the dock icon.
2364 2008-02-24 Richard Hult <richard@imendio.com>
2366 * gdk/quartz/gdkprivate-quartz.h:
2367 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
2368 Use the subtype field for the custom event that is used to wake up
2369 the mainloop so we can have other custom event types.
2371 * gdk/quartz/gdkevents-quartz.c:
2372 (_gdk_quartz_events_trigger_crossing_events):
2373 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
2374 crossing events after showing a window if necessary, to work
2375 around problems with the tracking rect API.
2377 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2379 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
2380 wrong results on win32 because it doesn't set the printing units,
2381 which affect the transformation of the cairo context
2382 (#347125, Erik van Pienbroek)
2384 2008-02-22 Tor Lillqvist <tml@novell.com>
2386 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
2388 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2390 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
2391 acceptable for a module to only support the save_to_callback()
2392 method if it marks itself as WRITABLE
2394 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2396 * configure.in: Bump version
2398 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2400 * === Released 2.13.0 ===
2402 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
2404 2008-02-21 Tor Lillqvist <tml@novell.com>
2406 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
2407 pass the format string to strftime in the C library's locale's
2408 charset, not the system's. Correspondingly, the return value from
2409 strftime() is in the C library's locale's charset. (#509885)
2411 2008-02-20 Richard Hult <richard@imendio.com>
2413 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
2414 the right window level and shadow after recreating the window.
2416 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
2417 necessary after drawing (bug #517338).
2419 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
2421 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
2422 call to g_type_class_unref in case of error. (#517563)
2424 2008-02-18 Sven Neumann <sven@gimp.org>
2426 * gtk/Makefile.am (STOCK_ICONS)
2427 * gtk/stock-icons/16/gtk-page-setup.png
2428 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
2429 taken from GNOME icon theme.
2431 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
2433 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
2435 * configure.in: Added Kannada (kn) to ALL_LINGUAS
2437 2008-02-17 Johan Dahlin <johan@gnome.org>
2439 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
2440 When converting a stock item based on the label, remove the label property.
2442 2008-02-17 Richard Hult <richard@imendio.com>
2444 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
2445 position after showing the window since the window manager might
2446 not place it where we requested in the first places.
2448 2008-02-17 Richard Hult <richard@imendio.com>
2450 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2451 (_gdk_quartz_window_detach_from_parent),
2452 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
2453 the toplevel ordering list in all places where the order is
2454 potentially changed. Fixes mouse focus issues for windows with
2455 a transient parent set.
2457 2008-02-17 Richard Hult <richard@imendio.com>
2459 * gdk/quartz/gdkevents-quartz.c
2460 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
2461 window when event debugging is enabled.
2463 2008-02-16 Richard Hult <richard@imendio.com>
2465 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
2466 to the scroll event (bug #516757, Paul Davis).
2468 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2472 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2474 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
2477 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2479 * gdk/Makefile.am: Don't install private headers. (#463510)
2481 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
2482 the installed header gdkprivate.h.
2484 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2486 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
2487 a crash with hidden, reorderable tabs. (#513230,
2488 Mike Massonnet, patch by Carlos Garnacho)
2490 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2492 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
2493 Warn on duplicate action group names. (#501746, Christian
2496 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2499 * modules/other/gail/tests/Makefile.am:
2500 * modules/other/gail/libgail-util/Makefile.am:
2501 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
2502 builds. (#516254, Yevgen Muntyan)
2504 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2509 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
2510 instead of hardcoded target tables. (#516092, Christian Persch)
2512 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2514 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
2515 add the same target atom twice. (#516087, Christian Persch)
2517 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2519 * tests/testfilechooser.c: Add a --backend option.
2520 (#516073, Christian Persch)
2522 2008-02-16 Richard Hult <richard@imendio.com>
2524 * gdk/quartz/gdkprivate-quartz.h:
2525 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
2528 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2530 * configure.in: Go back to 2.13.0 as version for now,
2531 as there was no consensus to do the jump.
2533 * many other places: Update Since: tags.
2535 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2537 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
2539 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
2541 2008-02-15 Richard Hult <richard@imendio.com>
2543 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
2544 instead of bounds when resizing windows.
2546 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2548 * gdk/x11/gdkkeys-x11.c:
2549 * gdk/x11/gdkcolor-x11.c:
2550 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
2552 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2554 * gdk/x11/gdktestutils-x11.c:
2555 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
2557 2008-02-15 Tor Lillqvist <tml@novell.com>
2559 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
2560 leak Registry key handles. (#516578)
2562 2008-02-14 Richard Hult <richard@imendio.com>
2564 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
2565 makeKeyWindow unfortunately doesn't work in all cases, we must use
2566 makeKeyAndOrderFront.
2568 2008-02-14 Richard Hult <richard@imendio.com>
2570 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
2571 (gdk_window_hide), (gdk_window_fullscreen),
2572 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
2573 the window is hidden.
2575 2008-02-14 Richard Hult <richard@imendio.com>
2577 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
2578 resizing to be consistent and to avoid introducing an internal
2579 transform in the view.
2581 2008-02-14 Richard Hult <richard@imendio.com>
2583 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
2586 2008-02-14 Johan Dahlin <johan@gnome.org>
2588 * gdk/gdktestutils.h
2589 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
2591 2008-02-13 Richard Hult <richard@imendio.com>
2593 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2594 Remove unused variables.
2595 (gtk_clipboard_set_contents),
2596 (gtk_clipboard_get_owner), (clipboard_unset),
2597 (gtk_clipboard_request_targets): Notify the previous clipboard
2598 owner when the owner changes. Fixes bug #493406.
2600 2008-02-13 Richard Hult <richard@imendio.com>
2602 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
2603 the return value (return number of colors that failed), and handle
2605 (gdk_colormap_free_colors): Fix typo in comment.
2607 2008-02-13 Kristian Rietveld <kris@imendio.com>
2609 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
2610 queue a redraw if the rubber banding has actually been active.
2612 2008-02-12 Matthias Clasen <mclasne@redhat.com>
2614 * gtk/gtkpapersize.c:
2615 * gtk/gtkprintoperation.c:
2616 * gtk/gtkvolumebutton.c:
2617 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
2618 out by Behdad Esfahbod.
2620 2008-02-12 Federico Mena Quintero <federico@novell.com>
2622 Merged from gtk-2-12:
2624 Don't focus the file list when shortcuts get activated. This
2625 removes a lot of ambiguity in when the file selection should
2626 change, and makes the overall code flow simpler.
2628 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
2629 file/save dialog clears the filename entry when changing
2632 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
2633 focus should not go to the file list when a shortcut is activated.
2635 * gtk/gtkfilechooserdefault.c
2636 (shortcuts_activate_volume_mount_cb): Don't focus the file list
2637 (shortcuts_activate_get_info_cb): Likewise.
2639 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
2640 the file list (this was the last place where we would focus the
2641 file list explicitly). If you are in the location entry, for
2642 example, you don't want Alt-Home to take you to the file list; you
2643 just want the current folder to change. Thanks to Olle Bergkvist
2644 <olle.bergkvist@yahoo.se> for pointing this out in
2645 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
2646 (focus_browse_tree_view_if_possible): Removed.
2648 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2650 Skip exensions when selecting filenames in the save-as dialog.
2651 (#362516, Carlos Garnacho)
2653 * gtk/gtkfilechooserentry.h:
2654 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
2655 New function to skip the extension part when selecting a filename.
2656 (_gtk_file_chooser_entry_set_base_folder): Use it here.
2658 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
2661 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2663 * gtk/gtkiconview.c: Fix state change reporting for
2664 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
2666 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
2668 * gtk/gtkrecentchooser.c:
2669 (gtk_recent_chooser_class_init): Set the default value of the
2670 :show-not-found property to TRUE, as every implementation sets
2673 * gtk/gtkrecentchooserdefault.c:
2674 (_gtk_recent_chooser_default_init): Sync show_tips to the
2675 default value of the :show-tips property.
2677 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2679 * gtk/gtkclipboard-quartz.c:
2681 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
2684 2008-02-12 Kristian Rietveld <kris@imendio.com>
2686 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
2687 (gtk_tree_view_real_toggle_cursor_row): guard against people
2688 deleting the row in question in the selection-changed callback.
2689 (#514621, Andreas Koehler).
2691 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2693 * gtk/*.c: Unify the handling of various "Enter" keysyms
2694 all over the place. (#515047, Christian Persch)
2696 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2698 * gtk/gtkfilesystemmodel.c:
2700 * gtk/gtkwidget.c: Use g_value_set_static_string() where
2701 appropriate. (#515042, Christian Persch)
2703 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2705 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
2707 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2709 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
2711 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2713 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
2714 (recent_model_sort_drag_data_get):
2715 (search_model_sort_drag_data_get):
2716 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
2717 * gtk/gtkpathbar.c (button_drag_data_get_cb):
2718 Use gtk_selection_data_set_uris() instead of doing it
2719 by hand. (#514890, Christian Persch)
2721 2008-02-12 Michael Natterer <mitch@imendio.com>
2723 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
2724 gtk_get_current_event_time().
2726 2008-02-12 Michael Natterer <mitch@imendio.com>
2728 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
2729 gtk_window_get_key_hash() to get the hash instead of manually
2730 fiddling with quarks and gtk_window_keys_changed(). Also add
2731 g_return_if_fail() to this public function.
2733 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2735 Support keynav in status icons. (#473786, Li Yuan)
2737 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
2739 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
2741 2008-02-11 Kristian Rietveld <kris@imendio.com>
2743 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
2744 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
2745 wrt. link deletion from list; contination of fix for #503569.
2747 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
2749 * gtk/gtkrecentchoosermenu.c:
2750 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
2751 on the placeholder menu item.
2753 * tests/testrecentchoosermenu.c:
2754 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
2755 whether the placeholder menu item gets shown.
2757 2008-02-10 Cody Russell <bratsche@gnome.org>
2759 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
2760 Check the return value of _gtk_file_chooser_get_file_system () for
2761 NULL before passing it to gtk_file_system_path_to_uri ().
2762 (#515667, Francesco Montorsi)
2764 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
2766 * gtk/gtkbuilder.c: Improve the documentation for
2767 gtk_builder_connect_signals. (#514471)
2769 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2771 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
2774 2008-02-08 Cody Russell <bratsche@gnome.org>
2776 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
2777 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
2779 2008-02-08 Richard Hult <richard@imendio.com>
2781 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
2782 delta from the NSEvent for now, generating multiple scroll events
2783 results in a lot of events getting queued up and things get really
2786 2008-02-08 Sven Herzberg <sven@imendio.com>
2788 Adjust the code to match the documentation, examples, "common sense"
2789 and existing applications.
2791 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
2792 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
2795 2008-02-07 Cody Russell <bratsche@gnome.org>
2797 * gdk/win32/gdkevents-win32.c
2798 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
2799 of a block that were causing compile problems on old
2800 compilers. (#515053, reported by Kazuki IWAMOTO)
2802 2008-02-07 Michael Natterer <mitch@imendio.com>
2809 * gtk/gtkmenushell.c
2811 * gtk/gtkoptionmenu.c
2815 * gtk/gtkradiomenuitem.c
2817 * gtk/gtkscrolledwindow.c
2818 * gtk/gtksocket.c: remove g_return_if_fail() from private
2819 functions and virtual function implementations.
2821 2008-02-07 Michael Natterer <mitch@imendio.com>
2824 * gtk/gtkassistant.c
2828 * gtk/gtkcellrenderercombo.c
2831 * gtk/gtkdrawingarea.c
2832 * gtk/gtkentrycompletion.c
2838 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
2839 functions and virtual function implementations.
2841 2008-02-07 Christian Persch <chpe@gnome.org>
2843 * gdk/gdkpixbuf-render.c:
2844 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
2845 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
2846 otherwise there will be random pixel values in the semi-transparent
2847 area of the pixbuf within the mask. Bug #487865.
2849 2008-02-06 Cody Russell <bratsche@gnome.org>
2851 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
2852 otherwise things get wonky when you click on a menu. This fixes
2853 a regression caused in #505928. Thanks to Tor for spotting this
2856 2008-02-06 Michael Natterer <mitch@imendio.com>
2858 * gtk/gtkcontainer.c
2865 * gtk/gtkmenushell.c
2867 * gtk/gtkseparatortoolitem.c
2869 * gtk/gtktextlayout.c
2870 * gtk/gtktoggletoolbutton.c
2871 * gtk/gtktoolbutton.c
2874 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
2877 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2879 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
2880 Allow to store half-open ranges.
2882 2008-02-05 Cody Russell <bratsche@gnome.org>
2884 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
2885 down the stack until we get to a window that is mapped.
2886 Otherwise hiding a window will cause all windows in the app
2887 to be blocked. (#514643)
2889 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2891 * gtk/updateiconcache.c: Ignore images in the toplevel theme
2892 directory, avoiding one source of invalid caches that has been
2893 spotted in the wild.
2895 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2897 * gtk/updateiconcache.c: Fix the previous commit to compile.
2899 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2901 * gtk/updateiconcache.c: Install a printerr handler that
2902 prepends the program name, since gtk-update-icon-cache output
2903 often appears in the middle of other output, e.g. rpm update logs.
2905 2008-02-05 Cody Russell <bratsche@gnome.org>
2907 * gdk/win32/gdkprivate-win32.h
2908 * gdk/win32/gdkevents-win32.c
2909 * gdk/win32/gdkwindow-win32.c
2910 * gdk/win32/gdkwindow-win32.h
2911 * gdk/win32/gdkwin32.h:
2912 Modal window rework. (#455627 and #511111)
2914 2008-02-04 Michael Natterer <mitch@imendio.com>
2916 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
2917 g_return_if_fail() if the cell is not part of the combo instead of
2918 crashing in the next line.
2920 2008-02-01 Cody Russell <cody@jhu.edu>
2922 * modules/engines/ms-windows/xp_theme.[ch]
2923 * modules/engines/ms-windows/xp_theme_defs.h
2924 * modules/engines/ms-windows/msw_rc_style.c
2925 * modules/engines/ms-windows/msw_theme_main.c
2926 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
2927 attempted to stylize more like the rest of the gtk+ stack's code.
2929 2008-02-01 Michael Natterer <mitch@imendio.com>
2931 * tests/testgtk.c: initialize GdkColor structs to fix warning
2932 about uninitialized "pixel" member.
2934 * tests/testactions.c: connect the toolbar_style() callback so it
2935 does something useful and doesn't warn about being defined but not
2938 2008-01-31 Cody Russell <bratsche@gnome.org>
2940 * gdk/win32/gdkevents-win32.c:
2941 Refactored some of the window hiding/showing code from
2942 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
2943 under WM_ACTIVATE was causing the application to go into
2944 a weird state when the user right-clicked on the taskbar
2945 entry of a window that was minimized. (#505928)
2947 2008-01-31 Cody Russell <bratsche@gnome.org>
2949 * gtk/gtkpaned.c (gtk_paned_set_position):
2950 Change queue_resize() to queue_draw(), and add a check for
2951 child2 != NULL in case someone calls this before there is
2952 a child packed in there. (#144269 again)
2954 2008-01-31 Sven Neumann <sven@gimp.org>
2956 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
2957 applied patch from Denis Oliver Kropp <dok@directfb.org>.
2959 2008-01-31 Sven Neumann <sven@gimp.org>
2961 * gdk/directfb/gdkdisplay-directfb.c
2962 * gdk/directfb/gdkdrawable-directfb.c
2963 * gdk/directfb/gdkprivate-directfb.h
2964 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
2965 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
2967 2008-01-31 Richard Hult <richard@imendio.com>
2969 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
2970 issues with undecorated windows. Revert the change done on
2971 2008-01-25 and fix it by using the view's bounds instead. The
2972 bounds will always be up to date when setting up the tracking
2973 rect, so this should be more robust.
2975 2008-01-30 Sven Neumann <sven@gimp.org>
2977 * gdk/directfb/gdkdrawable-directfb.c
2978 * gdk/directfb/gdkwindow-directfb.c
2979 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
2980 Oliver Kropp <dok@directfb.org>. Adds debug messages using
2981 DirectFB's debugging system
2983 2008-01-30 Sven Neumann <sven@gimp.org>
2985 * gdk/directfb/gdkdirectfb.h
2986 * gdk/directfb/gdkdisplay-directfb.c
2987 * gdk/directfb/gdkdrawable-directfb.c
2988 * gdk/directfb/gdkim-directfb.c
2989 * gdk/directfb/gdkimage-directfb.c
2990 * gdk/directfb/gdkinput-directfb.c
2991 * gdk/directfb/gdkmain-directfb.c
2992 * gdk/directfb/gdkpixmap-directfb.c
2993 * gdk/directfb/gdktestutils-directfb.c
2994 * gdk/directfb/gdkvisual-directfb.c
2995 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
2996 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
2997 errors and has some cleanups.
2999 2008-01-30 Michael Natterer <mitch@imendio.com>
3001 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
3002 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
3005 * gtk/updateiconcache.c (add_string): cast const gchar* to
3006 gpointer when inserting in a GHashTable.
3008 * tests/testcalendar.c (calendar_detail_cb): remove const from
3009 return value since it's a newly allocated string.
3011 (calendar_update_details): free the detail.
3013 2008-01-29 Johan Dahlin <johan@gnome.org>
3015 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
3017 * demos/gtk-demo/demo.ui:
3018 Move the about dialog to the glade file, add accessible tags
3019 examples to the markup file.
3021 2008-01-28 Paolo Borelli <pborelli@katamail.com>
3023 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
3024 layout, fixes #512375.
3026 2008-01-28 Michael Natterer <mitch@imendio.com>
3028 * gtk/gtktextchild.c
3029 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
3031 2008-01-28 Michael Natterer <mitch@imendio.com>
3033 * demos/gtk-demo/builder.c (about_activate): use
3034 gtk_about_dialog_set_program_name() instead of the deprecated
3037 2008-01-28 Michael Natterer <mitch@imendio.com>
3039 * gtk/gtktextchild.c
3040 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
3043 2008-01-26 Johan Dahlin <johan@gnome.org>
3045 * tests/Makefile.am:
3046 * tests/textbuffertest.c:
3047 Rename textbuffer test and port it to the new test framework
3049 2008-01-25 Johan Dahlin <johan@gnome.org>
3051 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
3052 unsetting of GTK_MODULES.
3054 * gtk/gtk-builder-convert
3055 (GtkBuilderConverter._convert_adjustment): Handle the case where
3056 there is no child text node.
3057 (GtkBuilderConverter): Allow xml comments in most places.
3059 2008-01-25 Johan Dahlin <johan@gnome.org>
3061 * gtk/gtk-builder-convert
3062 (GtkBuilderConverter._convert_combobox_items): Remove the items
3063 even if there are no items set.
3064 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
3065 signals and tooltips for all menu items subclasses and
3066 GtkImageMenuItem:label.
3067 Makes it possible to fully convert and run Jokosher.glade.
3069 2008-01-25 Johan Dahlin <johan@gnome.org>
3071 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
3072 (gtk_widget_buildable_get_internal_child), (free_action),
3073 (free_relation), (gtk_widget_buildable_parser_finished),
3074 (accessibility_start_element),
3075 (gtk_widget_buildable_custom_tag_start),
3076 (gtk_widget_buildable_custom_finished):
3077 Implement accessible support, fixes #454653.
3079 * gtk/gtk-builder-convert:
3080 Add support for migrating old glade files
3082 * tests/buildertest.c: (test_widget), (test_file):
3083 Add accessible tests and imprve the test_file function to display
3084 toplevels and run dialogs.
3086 2008-01-25 Richard Hult <richard@imendio.com>
3088 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
3089 didn't change, fixes focus event issues for undecorated windows.
3091 2008-01-25 Richard Hult <richard@imendio.com>
3093 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
3094 const and remove unused variables).
3096 2008-01-25 Michael Natterer <mitch@imendio.com>
3099 * gtk/gtkcellrenderer.h
3100 * gtk/gtkimcontext.h
3104 * gtk/gtktreeprivate.h
3105 * gtk/gtktreeviewcolumn.h
3106 * gtk/gtkwidget.h: add const to constant structs which are passed
3107 into GTK+. Also add some forgotten const for const strings.
3111 * gtk/gtkcellrenderer.c
3112 * gtk/gtkimcontext.c
3117 * gtk/gtktreeviewcolumn.c
3118 * gtk/gtkwidget.c: changed accordingly.
3120 2008-01-25 Sven Herzberg <sven@imendio.com>
3122 Reviewed by Johan Dahlin.
3124 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
3125 this is called with something that's not a GtkUIManager
3127 2008-01-24 Johan Dahlin <johan@gnome.org>
3129 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
3130 Chain up to parent, so widgets can have internal children.
3132 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3134 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
3137 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
3139 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3141 Use pango_layout_set_height() for calendar details (#506049).
3143 * configure.in: Require 1.19.3 for pango_layout_set_height().
3144 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
3146 2008-01-18 Johan Dahlin <johan@gnome.org>
3148 * gtk/gtk-builder-convert (get_property_node): New method
3149 (GtkBuilderConverter._create_object): Conditionally take a node as
3150 a property value, so don't lose translate/context attributes if they
3152 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
3153 property values instead of strings.
3154 (#509153, Erik van Pienbroek)
3156 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
3158 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
3160 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
3161 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
3162 * tests/testcalendar.c: Duplicate calendar details before returning.
3164 2008-01-16 Christian Persch <chpe@gnome.org>
3166 * gtk/gtkwidget.c: Store the event mask and extension event mode
3167 directly in the gobject data pointer, instead of in an allocated
3170 2008-01-16 Michael Natterer <mitch@imendio.com>
3172 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
3173 gdk-pixbuf now uses gio functions.
3175 2008-01-16 Matthias Clasen <mclasen@redhat.com>
3177 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
3178 the notify::model signal. (#509819, David Zeuthen)
3180 2008-01-15 Michael Natterer <mitch@imendio.com>
3188 * gdk/gdkwindow.h: made more struct pointer and array parameters
3189 const. GDK should now be constified as far as possible without
3190 breaking source compatibility. Includes some minor cleanup like
3191 indentation and s/nfoo/n_foo/ (bug #508544).
3197 * gdk/gdkregion-generic.c
3199 * gdk/directfb/gdkdisplay-directfb.c
3200 * gdk/directfb/gdkwindow-directfb.c
3201 * gdk/quartz/gdkdisplay-quartz.c
3202 * gdk/quartz/gdkwindow-quartz.c
3203 * gdk/win32/gdkdisplay-win32.c
3204 * gdk/win32/gdkwindow-win32.c
3205 * gdk/x11/gdkdisplay-x11.c
3206 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3208 2008-01-14 Michael Natterer <mitch@imendio.com>
3210 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
3213 (gtk_rc_parse_any): change variables to const and introduce
3214 another local variable to fix const warnings.
3216 2008-01-14 Michael Natterer <mitch@imendio.com>
3218 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
3219 of gdk_screen_get_font_options() to gpointer to get rid of const
3222 2008-01-14 Michael Natterer <mitch@imendio.com>
3224 * tests/testdnd.c (source_drag_data_get): fix another call to
3225 gtk_selection_data_set().
3227 2008-01-14 Michael Natterer <mitch@imendio.com>
3229 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
3232 2008-01-14 Michael Natterer <mitch@imendio.com>
3234 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
3236 2008-01-14 Michael Natterer <mitch@imendio.com>
3238 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
3239 "uris" to guchar* when passing it to gtk_selection_data_set().
3241 2008-01-14 Michael Natterer <mitch@imendio.com>
3247 * gdk/gdkinternals.h
3249 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
3250 parameters const (bug #508544).
3255 * gdk/gdkrectangle.c
3256 * gdk/gdkpolyreg-generic.c
3257 * gdk/gdkregion-generic.c
3258 * gdk/directfb/gdkcolor-directfb.c
3259 * gdk/directfb/gdkgc-directfb.c
3260 * gdk/directfb/gdkgeometry-directfb.c
3261 * gdk/directfb/gdkwindow-directfb.c
3262 * gdk/quartz/gdkcolor-quartz.c
3263 * gdk/quartz/gdkgc-quartz.c
3264 * gdk/quartz/gdkgeometry-quartz.c
3265 * gdk/quartz/gdkwindow-quartz.c
3266 * gdk/win32/gdkcolor-win32.c
3267 * gdk/win32/gdkgc-win32.c
3268 * gdk/win32/gdkgeometry-win32.c
3269 * gdk/win32/gdkprivate-win32.h
3270 * gdk/win32/gdkwindow-win32.c
3271 * gdk/x11/gdkcolor-x11.c
3272 * gdk/x11/gdkgc-x11.c
3273 * gdk/x11/gdkgeometry-x11.c
3274 * gdk/x11/gdkmain-x11.c
3275 * gdk/x11/gdkprivate-x11.h
3276 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3278 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
3281 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3283 Explain name choice for gtk_tool_item_toolbar_reconfigured.
3285 * gtk/gtktoolitem.c: Add comment expaining name choice for
3286 gtk_tool_item_toolbar_reconfigured.
3288 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3290 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
3291 implementations to notify its children, when some aspect of their
3292 configuration changed (#509042).
3294 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
3295 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
3296 Rename _gtk_tool_item_toolbar_reconfigured.
3298 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3300 Include <gtk/gtktoolshell.h> from gtk.h.
3302 * gtk/gtk.h: Add gtktoolshell.h
3304 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3306 Print angle brackets arround e-mail addresses in the about dialog
3307 (#409520, Mariano Suárez-Alvarez).
3309 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
3311 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
3313 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
3314 special casing so test widgets are always queues for destruction
3317 * gtk/tests/testing.c: removed bits left-over from testing without
3320 2008-01-10 Tor Lillqvist <tml@novell.com>
3322 * modules/other/gail/libgail-util/Makefile.am
3323 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
3326 2008-01-10 Tor Lillqvist <tml@novell.com>
3328 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
3329 uses gtkprintunixdialog API.
3331 2008-01-10 Tor Lillqvist <tml@novell.com>
3333 * gdk/win32/gdkdisplay-win32.c
3334 * gdk/win32/gdkglobals-win32.c
3335 * gdk/win32/gdkprivate-win32.h
3336 * gdk/win32/gdkscreen-win32.c
3337 * gdk/win32/gdkwindow-win32.c: Implement
3338 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
3339 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
3342 2008-01-10 Cody Russell <bratsche@gnome.org>
3344 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
3345 Properly ref/unref windows and parents. (#506769)
3347 2008-01-10 Richard Hult <richard@imendio.com>
3349 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
3350 (gdk_window_hide), (move_resize_window_internal): Move the
3351 tracking rect workaround from here...
3353 * gdk/quartz/GdkQuartzWindow.c:
3354 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
3355 movements during showing/hiding operations. Fixes bug #508516.
3357 2008-01-10 Michael Natterer <mitch@imendio.com>
3359 * gdk/directfb/gdkscreen-directfb.c
3360 (gdk_screen_get_monitor_width_mm)
3361 (gdk_screen_get_monitor_height_mm)
3362 (gdk_screen_get_monitor_plug_name): add these functions to make
3365 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
3367 * gtk/gtkrecentchoosermenu.c:
3368 (idle_populate_func), (idle_populate_clean_up): Fix possible
3369 recursion by resetting the idle source id. (#507605, William
3372 2008-01-10 Kristian Rietveld <kris@imendio.com>
3374 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
3375 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
3376 avoid valgrind warnings. (#507751, patch from Christian Persch).
3378 2008-01-10 Kristian Rietveld <kris@imendio.com>
3380 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
3381 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
3383 2008-01-10 Kristian Rietveld <kris@imendio.com>
3385 Fix #477175, reported by Juri Pakaste.
3387 * gtk/gtktreeprivate.h:
3388 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
3389 tree_view->priv->dy here directly, just calculate the new value
3390 and set it on the adjustment,
3391 (gtk_tree_view_adjustment_changed): add guards to not call
3392 gtk_tree_view_dy_to_top_row() if we are currently in
3393 gtk_tree_view_top_row_to_dy(),
3394 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
3395 coordinates, not tree coordinates,
3396 (gtk_tree_view_real_start_editing): add cast.
3398 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
3399 position of the editable in the "create new row and start editing"
3402 2008-01-09 Michael Natterer <mitch@imendio.com>
3404 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
3407 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
3408 * gtk/gtkicontheme.c (theme_list_contexts)
3409 (gtk_icon_theme_lookup_icon)
3410 * gtk/gtkimcontextsimple.c (beep_window)
3411 * gtk/gtklinkbutton.c (set_link_color)
3412 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
3415 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
3416 variable and add const to another to fix a warning.
3418 2008-01-07 Matthias Clasen <mclasen@redhat.com>
3420 * gtk/gtkassistant.c (remove_page): Be more robust when removing
3421 the current page. (#499951, Andreas Sandberg)
3423 2008-01-06 Johan Dahlin <johan@gnome.org>
3425 * gtk/gtkspinbutton.c: Declare value in the example code for
3426 GtkSpinButton::output, as pointed out by Anders Carlsson.
3428 2008-01-06 Christian Persch <chpe@gnome.org>
3430 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
3431 and remove an obsolete event box. Bug #506760.
3433 2008-01-06 Johan Dahlin <johan@gnome.org>
3435 * tests/buildertest.c (test_domain):
3436 Update, GtkBuilder::translation-domain is no longer set
3438 * gtk/gtkbuilderparser.c (parse_interface):
3439 Allow domains to be overridden in <interface>'s if a translation-domain
3440 is set in the builder.
3441 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
3442 of the builder, make the domain set in the <interface> apply only to strings
3444 (#496831, Ryan Lortie)
3446 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
3449 * gtk/gtktreestore.c (tree_model_end_element):
3450 Remove an unused variable
3452 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3454 * gtk/gtkspinbutton.c: Document the ::output signal and
3455 add an example. (#507566, example by Owen Taylor)
3457 2008-01-06 Johan Dahlin <johan@gnome.org>
3459 * gtk/gtkcellrenderercombo.c:
3460 (gtk_cell_renderer_combo_get_property),
3461 (gtk_cell_renderer_combo_set_property):
3462 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
3463 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
3464 * gtk/gtknotebook.c: (gtk_notebook_set_property):
3465 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
3466 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
3467 (gtk_text_buffer_get_property):
3468 * gtk/gtktextview.c: (gtk_text_view_set_property):
3469 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
3470 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
3471 (gtk_tool_button_get_property):
3472 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
3473 (gtk_tool_item_get_property):
3474 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
3475 * gtk/gtkwidget.c: (gtk_widget_set_property):
3476 * gtk/gtkwindow.c: (gtk_window_set_property):
3477 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
3480 2008-01-06 Johan Dahlin <johan@gnome.org>
3482 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
3483 Make sure that --root works for toplevel widgets.
3484 (#491847, Phil Lello)
3486 2008-01-05 Johan Dahlin <johan@gnome.org>
3488 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
3489 to make sure that make test-report works properly
3491 2008-01-05 Christian Persch <chpe@gnome.org>
3493 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
3494 GType as integer through gpointer. Bug #507395.
3496 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
3498 Avoid some compiler warnings (#507000).
3500 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
3501 for value argument of _gtk_builder_flags_from_string.
3502 * gtk/gtkwidget.c: Don't alias the child pointer passed
3503 to gdk_window_get_user_data.
3505 2008-01-04 Michael Natterer <mitch@imendio.com>
3507 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
3508 to set the time in the returned GdkTimeCoords.
3510 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
3512 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
3513 correct comparison function (kudos to Christian Persch and
3514 Claudio Saavedra for spotting this)
3516 * gtk/gtkrecentchooserutils.c:
3517 (sort_recent_items_mru),
3518 (sort_recent_items_lru): Ditto as above.
3520 2008-01-03 Johan Dahlin <johan@gnome.org>
3522 * tests/defaultvaluetest.c: Make it pass again.
3524 2008-01-02 Johan Dahlin <johan@gnome.org>
3526 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
3527 make it pass on Ubuntu.
3528 (main): Use gtk_test_list_all_types () instead of providing our
3530 And it no longer passes.
3532 2007-12-30 Johannes Schmid <jhs@gnome.org>
3534 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
3535 Also reorder menu when reordering tabs by drag & drop
3538 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
3539 Add a menu to one of the notebooks to have a test-case for
3540 the change mentioned above.
3542 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
3544 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
3546 2007-12-31 Christian Persch <chpe@gnome.org>
3548 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
3549 Plug a mem leak. Bug #506107.
3551 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3553 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
3554 icon cache api change. (#506135, Kazuki Iwamoto)
3556 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3558 Consider "wide-separators" and "separator-height" style properties:
3559 The separator is drawn using gtk_paint_box instead of cairo, when
3560 "wide-separators" is set. Also do not highlight details for previous
3561 or next month, if their day matches the selected day. (#339540)
3563 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
3564 in gtk_calendar_size_request and calendar_paint_day
3565 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
3566 for selected detail separators in GtkCalendar.
3568 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3570 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
3572 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
3573 a local variable instead in gtk_calendar_size_request.
3575 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3577 * tests/defaultvaluetest.c: Add enough exclusions to make the
3580 2007-12-28 Christian Persch <chpe@gnome.org>
3582 * modules/other/gail/Makefile.am:
3583 * modules/other/gail/tests/*:
3584 * configure.in: Merge tests from standalone gail. Bug #504568.
3586 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3588 * gtk/gtkclipboard.c: Make the finalizer work when display is
3591 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3593 Draw bottom shadow of GtkCalender headings. (#506113)
3595 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
3597 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3599 * gtk/gtkcalendar.c: Document the initial values of year/month/day
3602 2007-12-28 Christian Persch <chpe@gnome.org>
3604 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
3605 a mem leak. Bug #506096.
3607 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3610 * gtk/gtktreeview.c:
3611 * gtk/gtkprintoperation.c:
3612 * gtk/gtkprogressbar.c:
3613 * gtk/gtkmessagedialog.c:
3614 * gtk/gtknotebook.c:
3618 * gtk/gtklinkbutton.c:
3619 * gtk/gtkmenu.c: More default property value corrections.
3621 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3623 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
3624 accel_group unless it is set.
3626 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3628 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
3630 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3632 * gtk/gtkhandlebox.c: Fix the default values of shadow and
3633 shadow-type properties.
3635 * gtk/gtkfontsel.c: Fix the default values of several properties.
3637 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
3640 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
3642 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
3645 2007-12-28 Johan Dahlin <johan@gnome.org>
3647 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
3648 (gtk_dialog_buildable_custom_tag_start): Chain up.
3649 This makes it possible to have accelerators tags on GtkDialog
3652 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3654 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
3655 are shown within the widget, or just as tooltip. (#339540)
3657 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
3658 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
3659 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
3662 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3664 Try more decent appearance of calendar details separator. (#339540)
3666 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
3667 and make it short by one pixel on each side.
3669 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3671 Apply trivial code-style changes from attachement 101101. (#339540)
3673 * tests/testcalendar.c: Some updates to current GTK+ code-style.
3675 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3677 Restructure testcalendar for testing calendar details. (#339540)
3679 * tests/testcalendar.c: Push code arround for testing calendar details.
3681 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3683 Implement GtkTooltip API for calendar details. (#339540)
3685 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
3686 Remember detail overflows in calendar_paint_day to show the tooltip
3687 only when neccessary.
3689 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3691 Without setting "detail-width-chars" and "detail-height-rows"
3692 properties not only the widget has to be redrawn on certain
3693 conditions, but also its size must be recalculated. (#339540)
3695 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
3696 that function instead of gtk_widget_queue_draw.
3698 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3700 Consider details for size-request and expose-event. (#339540)
3702 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
3703 is_color_attribute functions. Change gtk_calendar_size_request
3704 and calendar_paint_day to consider and show calender details.
3706 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3708 * gtk/gtkcombobox.c: Introduce local priv variables to
3711 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3713 * gtk/gtkcombobox.c: Correct the default value for the
3714 tearoff-title property.
3716 * gtk/gtkcellrenderertext.c: Fix the default value for the
3717 wrap-mode and font-scale properties.
3719 * gtk/gtkaspectratio.c: Fix the default value for the ratio
3722 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3724 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
3725 defines. (#505708, MINAMI Hirokazu)
3727 2007-12-27 Christian Persch <chpe@gnome.org>
3729 * Makefile.am: Install gail.pc. Bug #505859.
3731 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
3733 Add infrastructure for GtkCalendar details. (#339540)
3735 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
3736 Add "detail-width-chars" and "detail-height-rows" properties,
3737 and gtk_calendar_set_detail_func function.
3739 2007-12-27 Xan Lopez <xan@gnome.org>
3742 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
3744 Add gtk_border_new to avoid memory allocator confusions when using
3745 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
3747 2007-12-27 Christian Persch <chpe@gnome.org>
3749 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
3750 bug #504886 not to read unitialised memory.
3752 2007-12-26 Xan Lopez <xan@gnome.org>
3754 * gtk/gtkstatusbar.c (has_extra_children): take into account the
3755 modification of the internal frame contents to decide if we have
3756 extra children. (#415677)
3758 2007-12-22 Christian Persch <chpe@gnome.org>
3760 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
3762 2007-12-25 Christian Persch <chpe@gnome.org>
3764 * modules/other/gail/gailwindow.c: (gail_window_initialize):
3765 Initialise |widget|. Fixes a buglet introduced by the commit from bug
3768 2007-12-25 Christian Persch <chpe@gnome.org>
3770 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
3772 2007-12-25 Christian Persch <chpe@gnome.org>
3774 * modules/other/gail/*.[ch]: Remove relocations from the atk
3775 factories. Remove unused gail_foo_new() functions. Fix object
3776 instantiation to be derivation safe by moving initialisation code
3777 from the removed gail_foo_new() functions to the
3778 AtkObjectClass::initialize implementation. Bug #505226.
3780 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3782 * modules/other/gail/gailentry.c:
3783 * modules/other/gail/gailimage.c:
3784 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
3785 uses of clipboards and settings. (#504722, Christian Persch)
3787 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3789 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
3792 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3794 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
3795 use the time and button information from the event. (#504901,
3798 2007-12-23 Cody Russell <bratsche@gnome.org>
3800 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
3801 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
3802 Fixes a regression caused by #164537 patch where transient
3803 windows that are hidden get shown (incorrectly) when their
3804 parents are minimized. (#504984)
3806 2007-12-22 Christian Persch <chpe@gnome.org>
3808 * modules/other/gail/gailcell.c:
3809 * modules/other/gail/gailcontainercell.c:
3810 * modules/other/gail/gailexpander.c:
3811 * modules/other/gail/gailtextcell.c:
3812 * modules/other/gail/gailtextview.c:
3813 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
3815 2007-12-22 Christian Persch <chpe@gnome.org>
3817 * modules/other/gail/*.c: Include config.h. Bug #504720.
3819 2007-12-22 Christian Persch <chpe@gnome.org>
3821 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
3822 handwritten get_type functions. Bug #504661.
3824 2007-12-23 Xan Lopez <xan@gnome.org>
3826 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
3827 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
3829 Patch by Sadrul Habib Chowdhury (#504804)
3831 2007-12-22 Christian Persch <chpe@gnome.org>
3833 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
3834 #504645, patch by Li Yuan.
3836 2007-12-22 Christian Persch <chpe@gnome.org>
3838 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
3840 2007-12-22 Christian Persch <chpe@gnome.org>
3842 * modules/other/gail/gail.c:
3843 * modules/other/gail/gailbutton.c:
3844 * modules/other/gail/gailcell.c:
3845 * modules/other/gail/gailcombo.c:
3846 * modules/other/gail/gailcombo.h:
3847 * modules/other/gail/gailcombobox.c:
3848 * modules/other/gail/gailentry.c:
3849 * modules/other/gail/gailexpander.c:
3850 * modules/other/gail/gailmenuitem.c:
3851 * modules/other/gail/gailnotebook.c:
3852 * modules/other/gail/gailnotebookpage.c:
3853 * modules/other/gail/gailnotebookpage.h:
3854 * modules/other/gail/gailoptionmenu.c:
3855 * modules/other/gail/gailrange.c:
3856 * modules/other/gail/gailtextview.c:
3857 * modules/other/gail/gailtreeview.c:
3858 * modules/other/gail/gailtreeview.h:
3859 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
3862 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3864 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
3867 2007-12-21 Richard Hult <richard@imendio.com>
3869 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
3870 Plug leak of destroyed subviews, fixes bug #504753.
3872 2007-12-20 Johan Dahlin <johan@gnome.org>
3874 * tests/Makefile.am (TEST_PROGS):
3875 * tests/defaultvaluetest.c: Add a test for default values,
3876 based on program by Christan Perch
3878 2007-12-20 Johan Dahlin <johan@gnome.org>
3880 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
3881 Refactor to avoid some duplication.
3882 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
3883 Fixes #504749, Yuri Pimenov
3885 2007-12-20 Kristian Rietveld <kris@imendio.com>
3887 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
3888 the build work again on systems without xrandr 1.2.
3890 2007-12-20 Christian Persch <chpe@gnome.org>
3893 * modules/other/gail/libgail-util/Makefile.am:
3894 Keep the same libtool version as the standalone libgail-util had.
3897 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
3899 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
3901 2007-12-20 Alexander Larsson <alexl@redhat.com>
3903 * gdk/x11/gdkapplaunchcontext-x11.c:
3904 Update for gio API changes
3906 2007-12-20 Richard Hult <richard@imendio.com>
3908 * gdk/quartz/GdkQuartzWindow.c:
3909 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
3910 processing events after changing the size.
3912 2007-12-20 Richard Hult <richard@imendio.com>
3914 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
3915 Add stub for quartz to fix build.
3917 2007-12-20 Christian Persch <chpe@gnome.org>
3919 * modules/other/gail/Makefile.am:
3920 * modules/other/gail/gailimage.c: (gail_image_class_init),
3921 (gail_image_init), (elide_underscores), (gail_image_get_name),
3922 (atk_image_interface_init), (gail_image_finalize):
3923 * modules/other/gail/gailimage.h:
3924 R modules/other/gail/gailintl.h:
3925 * po/POTFILES.skip: Use the stock item's label as the name of the
3926 accessible in gailimage.c. Bug #504246.
3928 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
3930 Avoid some compiler warnings and remove obsolete code. (#339540)
3932 * gtk/gtkcalendar.c: Change week and year variable in
3933 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
3934 0" block from calendar_paint_day: The feature in question is handled
3935 few lines above. Cast data returned by gtk_selection_data_get_text()
3936 to (gchar*) in gtk_calendar_drag_data_received.
3938 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
3940 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
3942 2007-12-19 Johan Dahlin <johan@gnome.org>
3944 * tests/buildertest.c (test_object_properties):
3945 Add another call to gtk_builder_add_string after using
3946 delayed properties, as reported in #504393 but already
3949 2007-12-18 Christian Persch <chpe@gnome.org>
3952 * docs/reference/Makefile.am:
3953 * docs/reference/libgail-util/*:
3954 * gail-uninstalled.pc.in:
3956 * modules/Makefile.am:
3957 * modules/other/Makefile.am:
3958 * modules/other/gail/*:
3959 * modules/other/gail/libgail-util/*:
3960 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
3962 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3964 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
3965 * gdk/win32/gdkproperty-win32.c:
3966 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
3968 * gtk/gtkimmodule.[hc]:
3969 * gtk/gtkimmulticontext.[hc]: When determining the default context,
3970 look at the gtk-im-module setting, and listen for changes to the
3971 setting. (#502446, Akira Tagoh)
3973 2007-12-17 Kristian Rietveld <kris@imendio.com>
3975 * gtk/gtktooltip.c (gtk_tooltip_finalize),
3976 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
3977 to NULL as soon as it's destroyed. (#496546, patch from
3980 2007-12-17 Kristian Rietveld <kris@imendio.com>
3982 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
3983 always determine what arrow to show if show_sort_indicator is true.
3984 (#352738, Chris Vine).
3986 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
3988 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
3991 * gtk/gtkpaned.c: Call gtk_container_forall instead of
3992 gtk_container_foreach in get_child_panes.
3994 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
3996 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
3998 Plug leak: When reordering the info in the list the old node is
3999 removed but not freed. (#503569)
4001 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
4003 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
4004 Use u32 instead of __u32 and u8 instead of __u8 as the other types
4005 are deprecated since DirectFB 1.0.0. If compiling with an older
4006 version define the new type name to the old types. Fixes bug #503190.
4008 2007-12-14 Ray Strode <rstrode@redhat.com>
4010 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
4011 instead of g_signal_connect_after (..., "realize", ...) as an
4012 alternative to gtk_widget_realize () (bug 503537).
4014 2007-12-14 Michael Natterer <mitch@imendio.com>
4016 * gdk/gdkinternals.h
4017 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
4020 * gdk/gdkapplaunchcontext.c
4021 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
4022 header already includes everything now.
4024 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4026 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
4027 next stable release shall be 2.16, not 2.14 - even if disagree.
4029 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
4031 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4033 Change GtkToolItem to retrieve its properties from GtkToolShell
4034 interface, instead of relying on being child of a GtkToolbar.
4037 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
4038 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
4039 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
4040 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
4041 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
4042 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
4043 Take section docs from template file and update them for GtkToolShell.
4044 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
4045 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
4047 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4049 Extract loading of GtkPageSetup and GtkPrintSettings from their
4050 *_new_*() functions and move that code into separate
4051 *_load_*() functions (#475565).
4053 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
4054 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
4055 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
4056 Change the matching *_new_*() functions to use those functions.
4058 2007-12-14 Matthias Clasen <mclasen@redhat.com>
4061 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
4063 2007-12-14 Kristian Rietveld <kris@imendio.com>
4065 * gtk/tests/liststore.c:
4066 * gtk/tests/treestore.c: added tests for insertion functions.
4068 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
4070 * Add RandR 1.2 support
4072 - New monitors_changed signal - New API to get width/height of
4073 monitors, and the name of the plug
4075 2007-12-13 Kristian Rietveld <kris@imendio.com>
4077 * gtk/tests/liststore.c:
4078 * gtk/tests/treestore.c: test the move and swap functions on a
4079 store with only one node.
4081 2007-12-13 Kristian Rietveld <kris@imendio.com>
4083 * gtk/gtktestutils.c (gtk_test_init): add a call to
4086 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
4089 2007-12-13 Kristian Rietveld <kris@imendio.com>
4091 * gtk/tests/liststore.c:
4092 * gtk/tests/treestore.c: start composing tests for the list and tree
4095 * gtk/tests/treeview-scrolling.c: added automated tests for
4096 GtkTreeView's scrolling "subsystem".
4098 * gtk/tests/Makefile.am: updated; added new test programs.
4100 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
4102 Make the code compile again after the GdkAppLaunchContext changes.
4104 * configure.in: Add gio-2.0 to GDK_PACKAGES.
4105 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
4107 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4109 * gdk/gdkapplaunchcontext.c: Add docs
4111 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4113 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
4114 in gdk, providing startup notification. (#503203)
4116 * gdk/x11/gdkapplaunchcontext-x11.c:
4117 * gdk/win32/gdkapplaunchcontext-win32.c:
4118 * gdk/quartz/gdkapplaunchcontext-quartz.c:
4119 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
4120 parts. All but X11 are just empty stubs for now.
4123 * gdk/gdkinternals.h:
4125 * gdk/x11/Makefile.am:
4126 * gdk/win32/Makefile.am:
4127 * gdk/quartz/Makefile.am:
4128 * gdk/directfb/Makefile.am: Necessary glue.
4130 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
4132 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
4134 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4136 * gdk/directfb/gdktestutils-directfb.c:
4137 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
4138 which adds testing functions to the DirectFB backend.
4140 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4142 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
4143 Ciccani which fixes the mixing of gdk and cairo rendering.
4145 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
4147 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
4148 on "drag-motion" handlers. Clearify documentation for
4151 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
4153 * buildertest.c: made unnecessarily exported symbols static.
4154 switched g_return_if_fail() statements in tests to assertions.
4155 special cased currently failing Widget/accesibility test to
4156 run only for g_test_thorough(), so it doesn't break make check.
4157 some coding style fixes.
4159 * Makefile.am: added buildertest to TEST_PROGS.
4161 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4163 * docs/tutorial/gtk-tut.sgml:
4164 Use gtk_widget_get_parent_window() instead of widget->parent->window.
4166 2007-12-10 Richard Hult <richard@imendio.com>
4168 * gdk/quartz/Makefile.am:
4169 * gdk/quartz/gdkquartz.h:
4170 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
4171 header (bug #405915). Also add a getter for the toplevel nswindow.
4173 2007-12-10 Richard Hult <richard@imendio.com>
4175 * gdk/quartz/gdkdrawable-quartz.c:
4176 (gdk_quartz_drawable_get_context),
4177 (gdk_quartz_drawable_release_context):
4178 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
4179 (gdk_event_check), (gdk_event_dispatch), (poll_func):
4180 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
4181 used for each drawing context and in prepare, dispatch and poll
4182 with one that exists across each main loop iteration. Fixes leaks
4183 on leopard and protects against future leaks introduce when the
4184 underlying system changes again (bug #492977).
4186 2007-12-10 Richard Hult <richard@imendio.com>
4188 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
4189 Fix the check for no changes to position and size.
4191 2007-12-10 Richard Hult <richard@imendio.com>
4193 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
4194 sized areas at (0, 0), patch from Paul Davis.
4196 2007-12-10 Richard Hult <richard@imendio.com>
4198 * gdk/quartz/gdkprivate-quartz.h:
4199 * gdk/quartz/gdkeventloop-quartz.c:
4200 (_gdk_quartz_event_loop_get_pending),
4201 (_gdk_quartz_event_loop_check_pending),
4202 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
4203 (gdk_event_check), (gdk_event_dispatch):
4204 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
4205 (_gdk_events_queue): Fix a bug where we could end up trying to
4206 handle the same event more than once. Based on patch from Paul
4209 2007-12-10 Tor Lillqvist <tml@novell.com>
4211 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
4214 2007-12-10 Matthias Clasen <mclasen@redhat.com>
4216 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
4217 to avoid further fallout from the fix for bug 388321.
4219 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4221 * gdk/directfb/gdkgc-directfb.c:
4222 * gdk/directfb/gdkdrawable-directfb.c:
4223 * gdk/directfb/gdkdirectfb.h:
4224 * gdk/directfb/gdkwindow-directfb.c:
4225 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
4226 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
4227 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
4228 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
4229 which are expected to improve the performance of the DirectFB backend.
4230 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
4232 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4234 * gtk/gtkcontainer.c: Correct the documentation of child
4235 property getter arguments. (#501992, David Brigada)
4237 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4239 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
4240 leak pixbufs. (#502250, Yevgen Muntyan)
4242 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
4244 * gtk/gtkprintunixdialog.c:
4245 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
4246 Print and Page Setup dialogs (#502202).
4248 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
4250 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
4251 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
4252 of XVFB_START, since it's the GTESTER invokation that needs this.
4254 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
4256 * gdk-pixbuf/gdk-pixbuf.symbols:
4258 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
4259 positives in abicheck.sh
4261 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4263 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
4264 GDK events generations in the DirectFB backend.
4266 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
4268 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
4269 set of likely unused display ids, because MacOS has no seq(1) command.
4271 2007-12-06 Richard Hult <richard@imendio.com>
4273 * gdk/quartz/gdkevents-quartz.c:
4274 (synthesize_crossing_events_for_ns_event): Fix warning when
4275 switching spaces in leopard.
4277 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
4279 * tests/floatingtest.c: ported to new testing framework.
4281 * tests/Makefile.am: run floatingtest as testing framework test.
4283 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
4285 * tests/autotestfilechooser.c: majorly speed up execution by reducing
4286 timeouts and converting main loop sleeps to pending/iterate loops with
4287 very low priority async handlers. eliminate output for non-verbose
4288 tests. assert successfull subtests in all test functions. use testing
4289 framework in main().
4291 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
4292 executed inside Xvfb upon make check.
4294 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
4296 * tests/objecttests.c: use string comparisons for string property
4297 values and get rid of referencing symbols in array initialization.
4299 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
4301 * gtk+/Makefile.decl: run tests in current dir after setting up the
4302 logging directory, so their results get properly merged into the
4305 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
4306 tests to loop over registered Gdk/Gtk+ types.
4308 * gtk+/tests/objecttests.c: new test program, implements automated
4309 property tests. several properties are blacklisted because they
4310 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
4311 can be used to test blacklisted properties and see which proprty failed.
4313 2007-12-04 Richard Hult <richard@imendio.com>
4315 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
4316 Fully initialize the root window, fixes bug #501583.
4318 2007-12-04 Matthias Clasen <mclasen@redhat.com>
4320 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
4323 2007-12-03 Richard Hult <richard@imendio.com>
4325 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4326 Don't crash when dragging from a source that doesn't support uri
4327 lists (bug #499868, Paul Davis).
4329 2007-12-03 Richard Hult <richard@imendio.com>
4331 * gdk/quartz/gdkwindow-quartz.c:
4332 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
4333 parent relative bg pixmap is set, and no parent has a bg
4334 pixmap. Fixes bug #500804.
4336 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4338 Two optimizations for icon cache lookups.
4340 * gtk/gtkiconcache.[hc]:
4341 * gtk/gtkicontheme.c: Remember the directory index for
4342 subdirectories, instead of running over the directory list
4345 * gtk/gtkiconcache.c (find_image_offset): Remember the last
4346 chain and try it first; this helps with the the usage patterns
4347 in gtkicontheme.c, where the same icon is queried for a lot
4350 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
4352 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
4353 functions from header files. this should be portable across linux and
4354 Mac OS, unlike the previpous sed expression.
4356 2007-12-1 Cody Russell <bratsche@gnome.org>
4358 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
4359 On Windows, queue a redraw of child2 whenever we set
4360 the pane handle position. This is unfortunately kind
4361 of hacky, but solves the visual artifacts that were
4362 occuring on at least certain types of child widgets
4363 (e.g., text views and tree views) that are inside
4364 horizontal or vertical panes. (#144269)
4366 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4368 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
4370 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4372 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
4375 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4377 * gtk/Makefile.am: Fix ordering of subdirs.
4379 2007-11-28 Tor Lillqvist <tml@novell.com>
4381 A proper build of GNU libintl is supposed to export the variable
4382 _nl_msg_cat_cntr. configure looks for that variable in order to
4383 recognize GNU gettext. If it sees that it is indeed GNU gettext
4384 that is used, it decides to install message catalogs in
4385 share/locale, otherwise in lib/locale. Until now on Windows I have
4386 built GTK+ against a build of GNU gettext that did not export
4387 _nl_msg_cat_cntr. But this will change, so we can't assume message
4388 catalogs are always in lib/locale.
4390 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
4391 GTK_LOCALEDIR being either in "lib" or "share". Move the function
4392 before the inclusion of gtkprivate.h so that it sees the original
4395 * gtk-zip.sh.in: Check whether the message catalogs are in
4396 share/locale or lib/locale.
4398 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
4399 that the code in _gtk_get_localedir() will find the slashes.
4401 2007-11-28 Tor Lillqvist <tml@novell.com>
4403 * gtk/Makefile.am: Improve portability. The -o option is present
4404 only in newish GNU egreps. Use one more sed in the pipeline
4407 2007-11-28 Tor Lillqvist <tml@novell.com>
4409 Fix #375893, patch by Ben Hague:
4411 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
4412 around GetLogicalDrives() that takes also the viewable drive
4413 restrictions in the Registry (which are usually the result of an
4414 Active Directory Group Policy) into account.
4416 (check_volumes, gtk_file_system_win32_list_volumes) Call
4417 get_viewable_logical_drives() instead of GetLogicalDrives().
4419 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4421 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
4422 variables to silence valgrind. (#495124, Morten Welinder)
4424 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4426 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
4427 that the construct_child function is responsible for returning a
4429 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
4430 objects from constructors
4431 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
4432 g_object_ref() to this construction function (it's the only
4437 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4439 * gtkbuilder.c: remove concept of root objects and just refcount
4440 all objects in the builder. Fixes #496651.
4442 2007-11-26 Ryan Lortie <desrt@desrt.ca>
4444 * tests/buildertest.c (test_window): fix invalid free
4446 2007-11-26 Josselin Mouette <joss@malsain.org>
4448 reviewed by: Federico Mena Quintero
4450 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
4451 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
4452 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
4453 Make the shortcuts activate with a single click. (#148828)
4454 Fix a few things affected by the change:
4455 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
4456 where no shortcut is selected.
4457 - Don't activate a shortcut in the response callback.
4458 - Filter out duplicate entries in volumes and bookmarks to
4459 avoid the selection to change when reordering them with DnD.
4461 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4464 * gtk/gtknotebook.c:
4465 * gtk/gtkplugprivate.h:
4467 * gtk/gtksocketprivate.h:
4468 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
4470 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4472 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
4473 (#495574, Richard Hult)
4475 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4477 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
4478 String change ! (#376361, Sven Neumann)
4480 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4482 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
4484 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
4487 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4489 * gtk/gtkassistant.c: Improve alternative button
4490 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
4492 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4494 * gtk/gtkcalendar.c: Fix a theming problem with colors
4495 in GtkCalendar. (#499703, Michael Hofmann)
4497 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4499 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
4501 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4503 Use templates for glib-mkenums calls instead of
4504 complicated commandlines in Makefiles. (#429910)
4506 * gdk-pixbuf/Makefile.am:
4509 * perf/Makefile.am: Use templates for glib-mkenums
4511 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
4512 * gdk/gdkenumtypes.[ch].template:
4513 * gtk/gtktypebuiltings.[ch].template:
4514 * perf/typebuiltins.[ch].template: The templates
4516 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4518 * gtk/gtkfilechooserbutton.c:
4519 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
4520 some compilers choke on that. (#467722)
4522 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4524 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
4525 about hook setup. (#425004, Emmanuele Bassi)
4527 2007-11-26 Tor Lillqvist <tml@novell.com>
4529 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
4530 monitor the window currently is on, not always the primary
4531 monitor. (#463865, Tim Evans)
4533 2007-11-26 Tor Lillqvist <tml@novell.com>
4535 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
4537 * gdk/win32/Makefile.am: Add it.
4539 2007-11-26 Tor Lillqvist <tml@novell.com>
4541 * configure.in: Don't add jasper to all_loaders if no libjasper.
4543 2007-11-25 Bastien Nocera <hadess@hadess.net>
4545 * configure.in: Add detection for libjasper, used by the
4546 gdk-pixbuf JPEG2000 loader
4548 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4550 * configure.in: Require gtk-doc 1.8
4552 * */*.c: Use gtk-doc abbreviations for examples in docs.
4554 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4556 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
4559 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4561 * gtk/gtkdialog.c: Move signal and property documentation inline,
4562 fix a problem with the ::response signal docs. (#499133, Josselin
4565 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
4567 * Makefile.decl: initialize automake variables EXTRA_DIST and
4568 TEST_PROGS for unconditional appending via += in other makefiles.
4569 define recursive test targets: test, test-report, perf-report,
4570 full-report, as described here:
4571 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
4572 the test targets will execute Gtk+ test programs within an Xvfb session.
4574 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
4576 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
4577 g_test_run() to run the tests to integrate with the testing framework.
4579 * gtk/tests/Makefile.am: removed exemplary testing rules.
4581 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
4582 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
4583 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
4584 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
4585 * docs/reference/Makefile.am, docs/tools/Makefile.am:
4586 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
4587 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
4588 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
4589 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
4590 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
4591 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
4592 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
4593 * modules/engines/ms-windows/Theme/Makefile.am:
4594 * modules/engines/ms-windows/Makefile.am:
4595 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
4596 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
4597 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
4598 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
4599 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
4600 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
4601 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
4603 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4605 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
4606 (#485662, patch by Herbert Valerio Riedel)
4608 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4610 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
4612 2007-11-21 Richard Hult <richard@imendio.com>
4614 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
4615 stubs for the testing functions to fix the build.
4617 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4619 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
4620 (#467711, The Written Word)
4622 2007-11-21 Ross Burton <ross@openedhand.com>
4624 * gdk/x11/gdksettings.c:
4625 Add xsetting for gtk-scrolled-window-placement (#458103).
4627 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4629 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
4630 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
4631 (#469239, Michael Natterer)
4633 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4635 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
4636 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
4637 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
4638 (#436536, Tommi Komulainen)
4640 2007-11-21 Matthias Clasen <mclasen@redhat.com>
4642 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
4643 property. (#489782, Jan Janech)
4645 2007-11-20 Matthias Clasen <mclasen@redhat.com>
4647 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
4648 frames. (#107398, Owen Taylor, Miguel Gomez)
4650 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
4652 Moved Gdk test functions from Gtk+ to Gdk test utils.
4654 * gdk/Makefile.am: added gdktestutils.h to public includes.
4656 * gdk/gdk.h: added gdktestutils.h to public includes.
4658 * gdk/gdk.symbols: added gdk_test_simulate_button,
4659 gdk_test_simulate_key, gdk_test_render_sync.
4661 * gdk/gdktestutils.h: new file, added prototypes for
4662 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
4664 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
4666 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
4667 gdk_test_simulate_key, gdk_test_render_sync.
4669 * gtk/gtktestutils.c:
4670 * gtk/gtktestutils.h:
4671 * gtk/gtk.symbols: removed gtk_test_simulate_button
4672 gtk_test_simulate_key, gtk_test_xserver_render_sync.
4674 * gtk/tests/testing.c: call gdk_test_render_sync.
4676 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
4678 Added unit tests for Gtk+ testing utilities.
4680 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
4681 utility functions. some g_test_* related portions are disabled and need
4682 to be enabled once Gtk+ depends on a new glib with the GLib testing
4683 framework integrated.
4685 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
4686 tests. added exemplary test rules to run tests inside Xvfb. this
4687 needs to depend on gtester for full fledged testing.
4689 * gtk/Makefile.am: build gtk+/gtk/tests, define
4690 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
4691 e.g. gtk_text_get_type().
4693 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
4695 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
4697 Added Gtk+ testing utilities.
4699 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
4700 functions. for the most part, the functions herein involve
4701 navigating and interacting with dialog elements programatically,
4702 to automate user interaction tests of dialogs and widgets.
4704 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
4706 * gtk/gtk.symbols: added gtk_test_* symbols.
4708 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
4709 the build. generate gtktypefuncs.c which contains a list of all
4710 _get_type functions in Gtk+ and Gdk.
4712 2007-11-20 Bastien Nocera <hadess@hadess.net>
4714 * configure.in: add support for conditional icns gdk-pixbuf loader
4717 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
4719 * configure.in: updated version number to 2.15.0 for development.
4721 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
4723 === Branch for 2.12 ===