1 2008-06-10 Carlos Garnacho <carlos@imendio.com>
3 Bug 520874 - Should use gio directly.
5 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
6 provides helper functions for asynchronous calls, folder abstraction
7 and uniform handling of volumes/drives/mounts.
9 * gtk/gtkfilesystemwin32.[ch]:
10 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
12 * gtk/gtkfilechooser.c:
13 * gtk/gtkfilechooserbutton.c:
14 * gtk/gtkfilechooserdefault.c:
15 * gtk/gtkfilechooserentry.[ch]:
16 * gtk/gtkfilechooserprivate.h:
17 * gtk/gtkfilechooserutils.c:
18 * gtk/gtkfilesystemmodel.[ch]:
19 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
20 Do not load filesystem implementation modules.
23 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
24 anymore, nor the unix/win32 implementations.
26 * README.in: Add blurb about these changes.
28 2008-06-09 Kristian Rietveld <kris@gtk.org>
30 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
32 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
33 (gtk_cell_renderer_combo_set_property),
34 (gtk_cell_renderer_combo_editing_done),
35 (gtk_cell_renderer_combo_start_editing): introduce private class
36 struct, allow model to be set to NULL.
38 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
40 Bug 131920 – gtkNotebook sends incorrect switch_page value
42 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
43 signal send correct page index when page index 0 is active and
44 removed. (#131920, Samuel Fogh)
46 2008-06-08 Kristian Rietveld <kris@gtk.org>
48 Bug 536730 - memory corruption in gtktreeview
50 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
51 remove the expand/collapse timeout and node, then free the rbtree.
53 2008-06-08 Kristian Rietveld <kris@gtk.org>
55 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
57 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
58 find path if we found valid nodes, return FALSE otherwise. (Patch
59 from Matthias Clasen).
61 2008-06-08 Matthias Clasen <mclasen@redhat.com>
63 * gtk/gtkrecentmanager.c:
64 * gtk/gtkrecentfilter.c:
65 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
68 2008-06-08 Christian Persch <chpe@gnome.org>
70 Bug 535608 – do not string-copy accel paths in the menu code
72 * gtk/gtkaccelgroup.c:
77 * gtk/gtkwidget.c: Don't store the accel path as a string in
78 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
79 keeping a string copy around is just a waste of memory.
80 Improve the documentation to mention this.
82 2008-06-07 Tor Lillqvist <tml@novell.com>
84 Bug 536990 - updateiconcache.c: 'close ()' is redundant
86 * gtk/updateiconcache.c (build_cache): Drop redundant close()
87 calls. fclose() on a fdopen()ed strema closes the underlying file
90 2008-06-06 Matthias Clasen <mclasen@redhat.com>
92 Bug 536757 – regression: openoffice.org menus are placed at wrong
93 position since 2.12.10
95 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
96 Return the right coordinates.
98 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
100 Bug 536185 – monitor font configuration
103 * gdk/x11/gdksettings.c:
104 * gtk/gtksettings.c (gtk_settings_class_init),
105 (gtk_settings_notify), (settings_update_fontconfig):
106 Monitor xsettings key Fontconfig/Timestamp and upon change,
107 reread fontconfig configuration, clear Pango's caches, and
110 2008-06-06 Ross Burton <ross@burtonini.com>
113 Fix trivial typo in documentation.
115 2008-06-06 Tor Lillqvist <tml@novell.com>
117 * config.h.win32.in: Slight update to match what configure
120 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
122 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
123 constant to the end of the list, to avoid breaking the stable ABI
125 2008-06-05 Michael Natterer <mitch@imendio.com>
127 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
129 2008-06-05 Li Yuan <li.yuan@sun.com>
131 * gail-uninstalled.pc.in:
132 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
133 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
135 2008-06-03 Matthias Clasen <mclasen@redhat.com>
137 * docs/RELEASE-HOWTO: Update a bit
139 2008-06-03 Matthias Clasen <mclasen@redhat.com>
141 * configure.in: Bump version
143 * === Released 2.13.2 ===
145 2008-06-03 Federico Mena Quintero <federico@novell.com>
147 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
148 If the user presses Tab while the completion feedback window is
149 active, then we'll assert. Remove the assertion and just re-set
150 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
152 2008-06-03 Colin Walters <walters@redhat.com>
154 Bug 535303 – add _get_implementation to GtkStatusIcon
156 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
157 function to retrieve internal X11 window ID, useful for libnotify.
158 * gtk/gtkstatusicon.h: Prototype it.
159 * docs/reference/gtk/gtk-sections.txt: Add to docs.
160 * gtk/gtk.symbols: Export it.
162 2008-06-03 Tor Lillqvist <tml@novell.com>
164 * gtk/updateiconcache.c (build_cache): Use g_open().
166 2008-06-03 Michael Natterer <mitch@imendio.com>
169 * gtk/gtkctree.h: revert includes to how they have been before the
170 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
171 that you can't include <gtk/gtk.h> from two headers where one is a
172 parent class of the other and expect them both to be includable
175 2008-06-03 Michael Natterer <mitch@imendio.com>
177 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
179 2008-06-02 Matthias Clasen <mclasen@redhat.com>
181 Bug 536092 – GtkEntryCompletion's popup window should set type hint
183 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
184 a type hint on the popup window to help compiz.
185 Patch by Vaclav Slavik.
187 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
189 Bug 535862 – gtk_action_create_icon can't create icons from the
192 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
193 the default factories as it's supposed.
195 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
197 Bug 535497 – Print preview doesn't work.
199 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
200 instead of launching Preview.app directly.
202 2008-06-02 Michael Natterer <mitch@imendio.com>
204 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
205 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
208 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
210 Bug 535830 – wrong content type adding an item
212 * gtk/gtkrecentmanager.c:
213 (gtk_recent_manager_add_item_query_info): Use the correct API
214 for retrieving the fast MIME type of a URI. (Carlos Garcia
217 2008-05-31 Kristian Rietveld <kris@imendio.com>
219 Bug 530146 - Setting non-string tooltip with
220 gtk_tree_view_set_tooltip_column() segfaults
222 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
223 gtk_tree_model_get_value() and explicitly transform the value to a
224 string before setting it as tooltip.
226 2008-05-30 Tor Lillqvist <tml@novell.com>
228 * modules/engines/ms-windows/msw_style.h
229 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
231 2008-05-30 Michael Natterer <mitch@imendio.com>
233 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
234 GDestroyNotify when using it in g_object_set_data_full().
236 2008-05-30 Michael Natterer <mitch@imendio.com>
238 * gdk/gdkapplaunchcontext.h
240 * gtk/gtkmountoperation.h
243 * gtk/gtktoolshell.h: no need to allow disabling single includes
244 conditionally in these new files. Simply forbid including them
245 individually from the beginning.
247 2008-05-30 Tor Lillqvist <tml@novell.com>
249 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
251 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
254 2008-05-29 Matthias Clasen <mclasen@redhat.com>
256 * configure.in: Bump version
258 * === Released 2.13.1 ===
262 2008-05-29 Matthias Clasen <mclasen@redhat.com>
264 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
266 2008-05-29 Matthias Clasen <mclasen@redhat.com>
268 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
270 2008-05-29 Tor Lillqvist <tml@novell.com>
272 Bug 535526 - updateiconcache.c: using open/close without prototype
274 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
275 g_utime() when available instead of utime() for UTF-8 pathname
278 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
280 Bug 56355 – GtkLabel - Not all changes propagate correctly
282 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
283 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
284 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
285 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
286 notifications of mnemonic-keyval changes.
288 2008-05-27 Matthias Clasen <mclasen@redhat.com>
290 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
292 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
293 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
294 * gtk/gtk.symbols: Additions
295 * tests/testimage.c: Add a GIcon test
297 2008-05-29 Michael Natterer <mitch@imendio.org>
300 * gtk/gtkunixprint.h: add a single-include header for the unix
303 * gtk/gtkpagesetupunixdialog.h
306 * gtk/gtkprintunixdialog.h: add single-include guards that #error
307 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
308 files is included individually.
310 * gtk/gtkprintbackend.h
311 * gtk/gtkprinter-private.h
312 * modules/printbackends/cups/gtkprintbackendcups.c
313 * modules/printbackends/cups/gtkprintercups.h
314 * modules/printbackends/lpr/gtkprintbackendlpr.c
315 * tests/buildertest.c
316 * tests/defaultvaluetest.c
317 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
320 2008-05-28 Michael Natterer <mitch@imendio.com>
322 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
323 excess newlines and sprinkled some newlines where needed. Zero
324 code or formatting changes included.
326 2008-05-28 Michael Natterer <mitch@imendio.com>
328 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
330 2008-05-28 Michael Natterer <mitch@imendio.com>
332 * gtk/gtkcolorbutton.h: fix comment: the widget is called
333 GtkColorButton, not GtkColorSelectButton. Remove trailing
334 whitespace and excess newlines.
336 2008-05-28 Michael Natterer <mitch@imendio.com>
338 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
339 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
340 to CPPFLAGS so it's impossible to commit code that would break
341 apps which use DISABLE_INCLUDE defines.
343 2008-05-28 Michael Natterer <mitch@imendio.com>
345 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
348 * gtk/gtktypebuiltins.h.template
349 * gtk/gtkversion.h.in
350 * gtk/gtk*.h: add single-include guards that #error out if
351 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
352 included individually.
354 * gtk/gtkprintbackend.h
355 * gtk/gtkprinter-private.h
356 * gtk/gtktextlayout.h
357 * gtk/gtktexttagprivate.h
359 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
360 headers in these private or semi-private headers.
362 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
364 * gtk/gtkpagesetupunixdialog.h
367 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
373 * gtk/gtkitemfactory.h
376 * gtk/gtkoldeditable.h
377 * gtk/gtkoptionmenu.h
381 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
382 instead of individual headers in these deprecated headers. They
383 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
384 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
385 and include them individually, which should continue to work.
387 * gtk/gtkclist.c: include "gtkctree.h" because of the change
390 2008-05-28 Kristian Rietveld <kris@imendio.com>
392 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
395 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
396 cursor_offset *must* be larger than background height of the cursor
397 node, not just equal otherwise there is no guarantee there is a next
400 2008-05-28 Michael Natterer <mitch@imendio.com>
402 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
404 2008-05-28 Michael Natterer <mitch@imendio.com>
406 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
409 * gdk/gdkenumtypes.h.template
410 * gdk/gdk*.h: add single-include guards that #error out if
411 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
412 included individually. Also removed some redundant includes and
413 did some tiny trailing whitespace removal that's not worth to
416 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
419 * gdk/win32/gdkwin32.h
420 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
423 2008-05-28 Kristian Rietveld <kris@imendio.com>
425 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
426 current widget again.
428 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
429 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
430 custom_was_reset field to check if the custom widget is set again in
431 the query-tooltip callback; if not, we set it to NULL. Based on a
432 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
433 and Christian Persch.
435 2008-05-28 Michael Natterer <mitch@imendio.com>
437 * modules/printbackends/cups/gtkcupsutils.c
438 * modules/printbackends/cups/gtkprintbackendcups.c
439 * modules/printbackends/file/gtkprintbackendfile.c
440 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
441 <gtk/gtk.h> instead of individual files.
443 2008-05-28 Michael Natterer <mitch@imendio.com>
445 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
448 2008-05-28 Kristian Rietveld <kris@imendio.com>
450 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
452 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
453 ->priv->tree != NULL. Suggestion from Stefan Kost.
455 2008-05-28 Kristian Rietveld <kris@imendio.com>
457 Bug 324282 - add selected signal to cell renderer combo.
459 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
460 (gtk_cell_renderer_combo_changed),
461 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
462 that will be emitted as soon as the combo box emitted changed and has
463 an active iterator. (Modified patch based on work by James
466 * gtk/gtkmarshalers.list: add marshaler.
468 2008-05-28 Kristian Rietveld <kris@imendio.com>
470 Refactor expand/collapse timeout handling (amendment to bug 511217).
472 * gtk/gtktreeview.c (add_expand_collapse_timeout),
473 (remove_expand_collapse_timeout): new functions, the remove function
474 also clears expanded_collapsed_node,
475 (cancel_arrow_animation): moved to be next to the add/remove timeout
477 (gtk_tree_view_unrealize),
478 (gtk_tree_view_row_deleted),
479 (gtk_tree_view_set_model),
480 (cancel_arrow_animation),
481 (gtk_tree_view_real_expand_row),
482 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
484 2008-05-28 Kristian Rietveld <kris@imendio.com>
486 Amendment of bug 485218 - Strange warning encountered.
488 * gtk/gtktreemodelsort.[ch]
489 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
490 indication whether or not the conversion had succeeded.
492 2008-05-27 Matthias Clasen <mclasen@redhat.com>
494 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
496 * modules/printbackends/cups/gtkprintbackendcups.c
497 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
498 if the printer does not support level 3. Patch by Marek Kašík.
500 2008-05-27 Matthias Clasen <mclasen@redhat.com>
502 Bug 404571 - Scroll arrow backgrounds should be painted with different
505 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
506 as detail when drawing scroll arrow backgrounds. Proposed by
509 2008-05-27 Matthias Clasen <mclasen@redhat.com>
511 Bug 511217 - potential memory corruption after refreshing a tree_view
513 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
514 expanded_collapsed_node when canceling the animation.
515 Patch by Nicholas Setton.
517 2008-05-28 Michael Natterer <mitch@imendio.com>
519 * modules/input/gtkimcontextime.h
520 * modules/input/gtkimcontextmultipress.h
521 * modules/input/gtkimcontextthai.h
522 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
525 * modules/input/gtkimcontextime.c
526 * modules/input/gtkimcontextmultipress.c
527 * modules/input/gtkimcontextxim.c
528 * modules/input/imam-et.c
529 * modules/input/imcedilla.c
530 * modules/input/imcyrillic-translit.c
531 * modules/input/iminuktitut.c
532 * modules/input/imipa.c
533 * modules/input/imti-er.c
534 * modules/input/imti-et.c
535 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
536 "gtk/gtkintl.h" to the end of includes.
538 2008-05-28 Michael Natterer <mitch@imendio.com>
540 * modules/engines/pixbuf/pixbuf-style.h
541 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
542 instead of individual files.
544 2008-05-27 Matthias Clasen <mclasen@redhat.com>
546 Bug 485218 - Strange warning encountered
548 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
549 (gtk_tree_model_sort_convert_child_iter_to_iter):
550 (gtk_tree_model_sort_build_level): Better warnings. Patch
551 by Kristian Rietveld.
553 2008-05-27 Matthias Clasen <mclasen@redhat.com>
555 Bug 351910 - Search column setting lost
557 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
558 the docs. Patch by Matt Barnes.
560 2008-05-27 Matthias Clasen <mclasen@redhat.com>
562 Bug 477278 - avoid unnecessary pointer subtraction
564 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
565 subtraction that sparse complains about. Patch by Christian
568 2008-05-27 Matthias Clasen <mclasen@redhat.com>
570 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
572 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
573 Commit the entry text before doing an increment. Patch by
576 2008-05-27 Federico Mena Quintero <federico@novell.com>
578 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
579 drag and drop from the file list into itself, as it doesn't make
580 sense (it would just change the current folder).
582 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
583 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
586 2008-05-27 Michael Natterer <mitch@imendio.com>
588 * gtk/gtksignal.h: move deprecated guards around everything,
589 including includes and include guards (just as in all other
592 2008-05-27 Tor Lillqvist <tml@novell.com>
594 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
595 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
596 <sys/stat.h> on Windows, and the mode used in open() doesn't
597 matter much as there are no rwxrwxrwx bits on Windows anyway.)
598 Open file in binary mode. Passing "b" to fdopen() later isn't
601 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
603 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
604 invalid or invisible widgets.
606 2008-05-27 Matthias Clasen <mclasen@redhat.com>
608 Bug 531008 – Crash in gtkprintunixdialog.c
610 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
611 the dialog closes. Patch by Yevgen Muntyan.
613 2008-05-27 Matthias Clasen <mclasen@redhat.com>
615 RH bug 248245: cups client printing from gnome applications fail
617 * modules/printbackends/cups/gtkprintbackendcups.c
618 (gtk_print_backend_cups_print_stream): Specify the right server.
620 2008-05-27 Carlos Garnacho <carlos@imendio.com>
622 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
623 rubberbanding when "select-multiple" is TRUE. Bug #446068.
625 2008-05-27 Carlos Garnacho <carlos@imendio.com>
627 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
628 correctly dialog buttons sensitivity when the anonymous option is
629 enabled by default. Bug #531865.
631 2008-05-27 Carlos Garnacho <carlos@imendio.com>
633 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
634 password dialog modal and transient for the parent window also if it
635 was specified in the constructor. Bug #531864.
637 2008-05-26 Richard Hult <richard@imendio.com>
639 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
640 setting the default font, might need to tweak this.
642 2008-05-26 Michael Natterer <mitch@imendio.com>
644 * examples/gtkdial/gtkdial.h
645 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
647 2008-05-26 Michael Natterer <mitch@imendio.com>
649 * gtk/gtkimmodule.h: fix indentation.
651 2008-05-26 Michael Natterer <mitch@imendio.com>
653 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
655 * gtk/gtkshow.c: remove inclusion of single files from gdk/
657 Removed trailing whitespace in both files.
659 2008-05-26 Richard Hult <richard@imendio.com>
661 Bug 530353 – Mac-like gtk_accelerator_get_label()
663 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
664 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
665 On quartz, make gtk_accelerator_get_label() format a Mac-like
666 string, using unicode characters for modifier keys, arrows, delete
667 etc. Patch from Yevgen Muntyan.
669 2008-05-26 Richard Hult <richard@imendio.com>
671 Bug 534869 – Length miscalculation in
672 _gtk_quartz_get_selection_data_from_pasteboard
674 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
675 Get the number of bytes, not the number of characters, patch from
678 2008-05-26 Matthias Clasen <mclasen@redhat.com>
680 * gtk/gtkwidget.c: Some doc formatting fixes.
682 2008-05-26 Matthias Clasen <mclasen@redhat.com>
684 Bug 511163 – Remove pango_extents_to_pixels() calls
686 * gtk/gtkcellrenderertext.c (get_size): Use
687 pango_layout_get_pixel_extents.
689 * configure.in: Bump Pango requirement to 1.20
691 * INSTALL.in: Update required versions
693 2008-05-26 Matthias Clasen <mclasen@redhat.com>
695 Bug 513811 – Use cairo_format_stride_for_width()
697 * gtk/gtkhsv.c (paint_ring, paint_triangle):
698 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
699 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
701 * configure.in: Bump cairo requirement to 1.6.0
703 * INSTALL.in: Update required versions
705 2008-05-26 Matthias Clasen <mclasen@redhat.com>
707 * gtk/gtkshow.[hc]: Formatting fixes
709 * gtk/gtkmountoperation.c: Add docs
711 2008-05-25 Cody Russell <bratsche@gnome.org>
713 Bug 507389 – use gslice for gtksettings
715 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
716 Report and patch by Christian Persch.
718 2008-05-25 Cody Russell <bratsche@gnome.org>
720 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
721 when options are missing
723 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
724 that other processes that try to open it will fail gracefully. Also
725 fix a crasher caused by lack of a NULL check. Report and patch
728 2008-05-25 Cody Russell <bratsche@gnome.org>
730 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
732 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
733 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
734 so that we also take into account for foreign windows.
735 Report and patch by Nathaniel Smith.
737 2008-05-25 Cody Russell <bratsche@gnome.org>
739 Bug 525461 - Don't invalidate under an input-only child
741 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
742 Check that the window is not input-only before invalidating.
743 Report and patch by Owen Taylor.
745 2008-05-25 Cody Russell <bratsche@gnome.org>
747 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
750 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
751 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
753 2008-05-25 Cody Russell <bratsche@gnome.org>
755 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
756 caused by missing flag initialization
758 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
759 top-level private flags correctly. Patch by Danny Baumann.
761 2008-05-25 Cody Russell <bratsche@gnome.org>
763 Bug 534463 - non-editable GtkTextView should not call
764 gtk_im_context_focus_in in focus event
766 * gtk/gtktextview.c: Add checks to see if the textview is
767 editable. Patch by Wang Diancheng.
769 2008-05-25 Matthias Clasen <mclasen@redhat.com>
771 Bug 501730 – use GSlice for small allocs
774 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
775 Patch by Christian Persch.
777 2008-05-25 Matthias Clasen <mclasen@redhat.com>
779 Bug 523930 – sort -> search in gtktreeview.c
781 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
782 glitch, pointed out by Björn Lindqvist.
784 2008-05-25 Matthias Clasen <mclasen@redhat.com>
786 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
788 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
789 doc glitch, pointed out by Christian Persch.
791 2008-05-25 Matthias Clasen <mclasen@redhat.com>
793 Bug 534694 – Col id in GtkListStore could be out of range
795 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
796 a bit. Pointed out by Jan Arne Petersen.
798 2008-05-25 Matthias Clasen <mclasen@redhat.com>
800 Bug 532497 – Configure problem when cross-compiling
802 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
803 pointed out by Marko Lindqvist.
805 2008-05-25 Richard Hult <richard@imendio.com>
807 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
808 Slight coding style cleanup.
810 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
812 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
813 Added support for parsing required toolkit versions (so that ui descriptions
814 can target specific versions of the backend widget libraries) bug 527612.
816 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
817 for the added xml tags to the ui description.
819 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
820 for requires tag handling.
822 2008-05-25 Richard Hult <richard@imendio.com>
824 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
825 gtk_drag_source_info_destroy in an idle, workaround for bug
826 #501588, that makes any code that uses the context returned from
827 gtk_drag_begin() crash, like treeview/iconview dnd.
828 (GdkDragSourceOwner::provideDataForType): only use the data if we
831 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
833 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
834 to the drag actions to allow trash (#137717).
836 2008-05-25 Josselin Mouette <joss@malsain.org>
838 reviewed by: Matthias Clasen
840 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
841 check that tracker is actually working before using it. Fixes
844 2008-05-25 Sven Neumann <sven@gimp.org>
846 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
847 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
848 and don't create an output window if it is set.
850 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
851 drawing areas. Fixes bug #519317.
853 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
855 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
856 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
858 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
859 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
860 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
861 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
862 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
863 (start_spinning), (gtk_spin_button_button_release),
864 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
865 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
866 (gtk_spin_button_update): Reorder strange window hierarchy of the
867 GtkSpinButton (#466000).
869 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
871 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
872 fix the wrong position for right and center justified labels with
873 logical.x > 0 (#530255).
875 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
877 * gtk/gtkfilechooserdefault.c:
878 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
881 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
883 * tests/pixbuf-lowmem.c
884 * tests/pixbuf-random.c
885 * tests/pixbuf-randomly-modified.c
886 * tests/pixbuf-read.c
887 * tests/pixbuf-threads.c
889 * tests/testtreeview.c: Fix remaining compiler warnings in these
892 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
894 reviewed by: Matthias Clasen
899 * gtk/gtkshow.c: (gtk_show_uri):
901 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
903 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
905 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
907 * tests/buildertest.c: (test_list_store): Add test.
909 2008-05-24 Matthias Clasen <mclasen@redhat.com>
911 Bug 520989 – icon factory buildable too strict
913 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
914 an optional attribute.
916 2008-05-24 Matthias Clasen <mclasen@redhat.com>
918 Bug 387972 – gtkassistant drawing problem
920 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
921 GtkAssistant work better in glade.
923 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
925 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
926 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
927 used in GtkToolItem) (#532787).
929 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
931 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
932 try to toggle the visibility of the location entry field in search and
933 recent mode (#526422).
935 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
937 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
938 (shortcuts_list_create): Show parse name as tooltip for path
941 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
943 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
944 pango_color_parse, do not reference XParseColor forms (#434991).
946 2008-05-24 James Sharpe <jsharpe@gnome.org>
948 * gdk/gdk.symbols: Remove duplicate
949 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
950 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
952 2008-05-23 Hans Breuer <hans@breuer.org>
954 * **/makefile.msc gtk/makefile.msc.in : updated
955 * gtk/gtkwidget.c : fix c99ism (variable at start of block
956 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
958 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
959 setlocale(LC_ALL, ...)
961 2008-05-23 Tor Lillqvist <tml@novell.com>
963 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
964 gdk_window_remove_redirection.
966 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
967 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
968 changes. Remove now unnecessary parameter checks as the caller
971 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
973 2008-05-23 Tor Lillqvist <tml@novell.com>
975 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
976 anything if style doesn't change. Improve debugging output.
978 2008-05-23 Michael Natterer <mitch@gimp.org>
981 * tests/print-editor.c
982 * tests/prop-editor.h
983 * tests/testmountoperation.c
984 * tests/testmultidisplay.c
985 * tests/testnouiprint.c
987 * tests/testprintfileoperation.h
988 * tests/testtreesort.c
989 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
990 files. Remove some redundant includes.
992 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
994 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
995 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
997 2008-05-21 Richard Hult <richard@imendio.com>
999 * gdk/quartz/gdkwindow-quartz.c:
1000 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
1001 offscreen rendering changes, fixes build.
1003 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
1005 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
1007 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
1008 return snapshot pixmap coordinates widget relative in *clip_rect.
1010 * tests/testgtk.c: fixed bogus NULL pointer unref.
1012 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
1014 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
1015 widget's allocation to cover extra widget windows placed outside the
1016 widget allocation (spinbutton arrows are the prime example for this).
1018 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
1020 * Applied pixmap redirection patch by Alexander Larsson with
1021 various updates from:
1022 Bug 318807 – Offscreen windows and window redirection.
1027 * updated docs to mention "Since 2.16".
1029 * tests/testgtk.c: fixed snapshooting pixmap leak.
1030 convert pixmap to pixbuf after snapshooting, to compensate for different
1031 bit depths (occurs when snapshooting ARGB visuals and displaying the
1032 pixmap in an RGB visual).
1034 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
1036 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
1037 need for it. enqueue damage notification as GDK_DAMAGE events
1038 for each painting redirection at the start of the event queue.
1039 consider windows with a redirection fully visible when invalidating,
1040 and when updating from backing store. cleaned up stale variables.
1042 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
1044 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
1045 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
1046 tree, drawingarea, text, handlebox, etc.
1047 clip the redirected window hierarchy to window sizes, the visible
1048 rectangles don't need to be taken into account here.
1049 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
1050 in case pixmap visuals could mismatch.
1052 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
1057 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
1058 of possibly obscured widgets into an offscreen pixmap.
1060 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
1061 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
1063 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
1065 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
1066 implementations here, adapted them to propagate redirects to child windows.
1067 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
1068 clipped to visible region. queue GDK_DAMAGE event delivery.
1069 gdk_window_redirect_to_drawable(): install window painting redirection.
1070 gdk_window_remove_redirection(): remove previously installed redirection.
1072 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
1073 renamed _gdk_window_new() and _gdk_window_reparent().
1075 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
1076 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
1078 * gdk/gdkevents.h: added GDK_DAMAGE event type.
1080 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
1082 * gdk/gdkinternals.h: added internal prototypes.
1084 2008-05-21 Michael Natterer <mitch@imendio.com>
1086 * gtk/gtkalignment.c
1090 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
1092 2008-05-20 Matthias Clasen <mclasen@redhat.com>
1094 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
1097 Patch by Marek Kasik.
1100 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
1102 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
1104 * modules/printbackends/file/gtkprintbackendfile.c:
1105 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
1106 get_default_page_size.
1108 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
1109 select its default paper size.
1111 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
1112 use the printer default.
1114 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
1115 if we don't have a default page setup.
1117 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
1119 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
1120 can accept NULL for none. Fixes bug #533920.
1122 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
1124 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
1125 gtk_spin_button_update): Remove two chunks of duplicated
1128 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
1130 * reverted recent unapproved changes by Yair Hershkovitz,
1131 regarding: Bug 503071 – Application direction changes to right
1132 to left even if theres no translation.
1134 2008-05-19 Richard Hult <richard@imendio.com>
1136 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
1137 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
1138 SetSystemUIMode instead of hiding and showing the menubar.
1140 2008-05-19 Federico Mena Quintero <federico@novell.com>
1142 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
1143 can't be resized until you expand the "Browse for other folders"
1146 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
1147 Removed the "get_resizable" method.
1148 (_gtk_file_chooser_embed_get_resizable): Removed.
1150 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
1152 * gtk/gtkfilechooserdefault.c: Likewise.
1154 * gtk/gtkfilechooserdialog.c
1155 (file_chooser_widget_default_size_changed): Act as if the dialog
1156 were always resizable.
1158 2008-05-19 Michael Natterer <mitch@imendio.com>
1160 * gtk/gtkcellrenderer.c
1161 * gtk/gtkcellrendererpixbuf.c
1162 * gtk/gtkcellrenderertoggle.c
1163 * gtk/gtkimagemenuitem.c
1164 * gtk/gtkmenutoolbutton.c
1165 * gtk/gtkoptionmenu.c
1166 * gtk/gtkstatusbar.c
1167 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
1169 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
1171 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
1172 g_disable_setlocale().
1174 2008-05-17 Richard Hult <richard@imendio.com>
1176 * gdk/quartz/gdkwindow-quartz.c:
1177 (gdk_window_impl_quartz_invalidate_maybe_recurse):
1178 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
1179 of g_idle_add. Add a temporary check if the window is already in
1180 the updates list, since update_area currently doesn't always match
1181 the backend's state, see bug #530801.
1183 2008-05-13 Tor Lillqvist <tml@novell.com>
1185 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
1187 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
1188 the "packet rate" of devices to zero instead of 50. This is
1189 reported to help significantly with Wacom tablet behaviour in GIMP
1190 and Inkscape. Patch from Thomas Bleeker.
1192 2008-05-12 Richard Hult <richard@imendio.com>
1194 * gdk/quartz/gdkevents-quartz.c:
1195 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
1196 as it's no longer necessary; instead the added quartz API to get
1197 the nsevent from an event should be used. Also move the global
1198 filter up so it's done before the check for window-less events.
1200 2008-05-12 Tor Lillqvist <tml@novell.com>
1202 Bug 532558 - Cannot build dll when using separate builddir
1205 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
1208 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
1210 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
1212 2008-05-12 Tor Lillqvist <tml@novell.com>
1214 Bug 532059 - Leak in win32 clipboard manipulation
1216 * gdk/win32/gdkselection-win32.c
1217 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
1220 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
1222 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
1223 gettext_initialization only once.
1225 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
1226 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
1227 with the extended functionality that was in the removed dpgettext().
1229 * gtk/gtkaccellabelc:
1231 * gtk/gtkimmulticontext.c:
1232 * gtk/gtkactiongroup.c:
1233 * gtk/gtkintl.h: use glib i18n api.
1235 2008-05-08 Richard Hult <richard@imendio.com>
1237 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
1238 currently invalidated region. Fixes bug #532048, patch by Yevgen
1241 2008-05-08 Richard Hult <richard@imendio.com>
1243 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
1244 fd's revents, not the first one. Fixes bug #531056, spotted by
1247 2008-05-07 Tor Lillqvist <tml@novell.com>
1249 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
1252 2008-05-05 Matthias Clasen <mclasen@redhat.com>
1254 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
1255 more printer status information in the print dialog.
1257 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
1258 printer-state-reasons into suitable messages and icons.
1260 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
1261 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
1262 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
1264 * gtk/gtkiconfactory.c:
1265 * gtk/gtkstock.h: New stock icons to display printer state.
1267 2008-05-07 Michael Natterer <mitch@imendio.com>
1269 * gdk/gdkinternals.h
1271 * gdk/directfb/gdkevents-directfb.c
1272 * gdk/quartz/gdkevents-quartz.c
1273 * gdk/win32/gdkevents-win32.c
1274 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
1275 order parameters src,dest and make src const.
1277 2008-05-06 Richard Hult <richard@imendio.com>
1279 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
1280 * gdk/gdkinternals.h: Add private backend data to events, and
1281 handle it when copying/freeing events. Currently only needed in
1284 * gdk/directfb/gdkevents-directfb.c:
1285 * gdk/quartz/gdkevents-quartz.c:
1286 * gdk/win32/gdkevents-win32.c:
1287 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
1288 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
1289 directfb. Implement for quartz. Part of fixing bug #473822.
1291 2008-05-05 Richard Hult <richard@imendio.com>
1293 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
1294 framework if there is one.
1296 2008-05-05 Michael Natterer <mitch@imendio.com>
1298 * gtk/gtkcellrenderercombo.h
1299 * gtk/gtkcellrendererspin.h
1300 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
1303 * gtk/gtkfilechooserdialog.h
1304 * gtk/gtkfilechooserwidget.h
1305 * gtk/gtkscalebutton.h: reorder instance and class structs to be
1308 2008-05-04 Richard Hult <richard@imendio.com>
1310 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
1311 gdk_unicode_to_keyval() worked before using the result. Makes
1312 function keys work, bug #530156. Also add F16 to the function key
1315 2008-05-04 Richard Hult <richard@imendio.com>
1317 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
1318 semicolon after if statement. Fixes bug #530963, patch from Yevgen
1321 2008-05-02 Michael Natterer <mitch@imendio.com>
1323 * gtk/gtk.h: add 15 files that were missing (they all got included
1324 indirectly by including gtk.h, so should have been here in the
1327 2008-05-02 Michael Natterer <mitch@imendio.com>
1329 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
1331 2008-05-01 Richard Hult <richard@imendio.com>
1333 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
1334 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
1336 2008-05-01 Matthias Clasen <mclasen@redhat.com>
1338 * modules/imput/imthai.c: Register the right translation domain.
1340 2008-04-30 Matthias Clasen <mclasen@redhat.com>
1342 Bug 529386 – Printing options hidden by blacklisted option
1344 * modules/printbackend/cups/gtkprintbackendcups.c
1345 (cups_printer_get_options): Fix the blacklist handling.
1346 Patch by Marek Kašík.
1348 2008-04-30 Richard Hult <richard@imendio.com>
1350 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
1353 2008-04-30 Richard Hult <richard@imendio.com>
1355 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
1356 nsevents with the gdk lock held, fixes deadlock when doing manual
1357 window resizing with threading enabled.
1359 2008-04-30 Richard Hult <richard@imendio.com>
1361 * gdk/quartz/gdkevents-quartz.c:
1362 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
1363 Alt to Alt and Cmd to Meta. This is not only more logical but also
1364 makes it easier to have Mac-like behavior.
1366 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
1368 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
1369 painting the flat box instead of recalculating it. (#437493,
1372 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
1374 Bug 529841 – incorrect position in directfb
1376 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
1378 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
1380 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
1382 2008-04-25 Michael Natterer <mitch@imendio.com>
1384 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
1385 <pango/pango-layout.h>.
1387 * gtk/gtkiconfactory.c
1391 * gtk/queryimmodules.c: remove inclusion of single files from
1392 pango, none of them was actually needed.
1394 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
1395 <pango/pango-utils.h>.
1397 2008-04-25 Michael Natterer <mitch@imendio.com>
1399 * gdk/gdkfont.h: include <pango/pango.h> instead of
1400 <pango/pango-font.h>.
1402 2008-04-25 Michael Natterer <mitch@imendio.com>
1404 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
1407 2008-04-21 Michael Natterer <mitch@imendio.com>
1409 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
1410 crashing when NULL pointers get passed.
1412 2008-04-18 Michael Natterer <mitch@imendio.com>
1414 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
1415 here have the same style.
1417 2008-04-18 Michael Natterer <mitch@imendio.com>
1419 * gtk/gtkicontheme.h
1420 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
1423 * gtk/gtkbuilderparser.c
1424 * gtk/gtklinkbutton.c
1426 * gtk/gtkrecentchooserdefault.c
1427 * gtk/gtkrecentchoosermenu.c
1428 * modules/input/gtkimcontextthai.c: remove inclusion of single
1429 files from gdk, none of the includes was actually needed.
1431 2008-04-18 Michael Natterer <mitch@imendio.com>
1433 * gdk/gdk.h: reorder one include so they are all alphabetical.
1435 2008-04-18 Michael Natterer <mitch@imendio.com>
1437 * modules/printbackends/cups/gtkprintercups.[ch]
1438 (gtk_printer_cups_get_ppd_name): change return value and local
1439 variable to const gchar* to fix warning about discarding const
1442 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
1444 * gtk/gtkrecentmanager.c:
1445 (gtk_recent_manager_set_filename): Keep the default storage
1446 file in $HOME, as we don't have a migration code in place yet.
1448 2008-04-18 Michael Natterer <mitch@imendio.com>
1450 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
1451 g_strfreev() the uris returned by g_bookmark_file_get_uris().
1453 2008-04-17 Michael Natterer <mitch@imendio.com>
1455 * gtk/gtkiconfactory.c (get_default_icons): register the
1456 GTK_STOCK_PAGE_SETUP icon.
1458 2008-04-17 Michael Natterer <mitch@imendio.com>
1460 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
1461 g_return_if_fail(tooltips != NULL);
1463 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
1465 * gtk/gtkwindow.c: Chain up in buildable_finish()
1467 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
1468 cases where g_path_get_dirname() returns "."
1470 * docs/reference/gtk/tmpl/gtklabel.sgml,
1471 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1472 for the <attributes> tags on GtkLabel
1474 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1476 * gtk/gtkrecentmanager.c:
1477 (gtk_recent_manager_real_changed): Fix last commit, and
1478 complete the gtk-recent-files-max-age semantics: if the
1479 property is set to 0 then purge the list.
1481 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1483 Bug 488507 – boundless growth of .recently-used.xbel file
1484 slows down applications
1486 * gtk/gtkrecentmanager.c:
1487 (gtk_recent_manager_init),
1488 (gtk_recent_manager_real_changed),
1489 (gtk_recent_manager_set_filename),
1490 (gtk_recent_manager_clamp_to_age): Clamp the recently
1491 used resources list by the age of its items, using
1492 the newly added GtkSettings property.
1494 * gtk/gtksettings.c (gtk_settings_class_init): Add the
1495 gtk-recent-files-max-age property, controlling the
1496 maximum age of the items in the recently used resources
1499 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1501 * gtk/gtkrecentmanager.c:
1502 (gtk_recent_manager_add_item_query_info),
1503 (gtk_recent_manager_add_item): Emit the ::changed signal
1504 at the end of the asynchronous MIME type query.
1506 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1508 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
1511 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
1512 changes in the recently used resources storage file, and
1513 drop the timeout-based poll.
1515 * ChangeLog: Fix attribution of the patch of the previous
1518 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1520 Bug 506062 – gtk_recent_manager_add_item does not detect mime
1523 * configure.in: Depend on gio-2.0
1525 * gtk/gtkrecentmanager.c:
1526 (gtk_recent_manager_add_item_query_info_cb),
1527 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
1528 query the MIME type of the passed URI (based on a patch by
1531 2008-04-11 Carlos Garnacho <carlos@imendio.com>
1533 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
1534 page to visited page list instead of next current page. (#527466,
1535 patch by Marcus Brinkmann)
1537 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
1539 * gtk/gtklabel.c: Added <attributes> / <attribute>
1540 custom tags to parse pango attributes into labels (#527486).
1542 * tests/buildertest.c: Added tests for GtkLabel custom
1545 2008-04-10 Carlos Garnacho <carlos@imendio.com>
1547 * gtk/gtknotebook.c (hide_drag_window): Do not call
1548 gtk_widget_set_parent_window(), using widget->window instead of NULL
1549 to unset is the wrong thing, and gtk_widget_unparent() will already
1550 take care of this (#467698, patch by Sébastien Granjoux)
1552 2008-04-08 Tor Lillqvist <tml@novell.com>
1554 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
1555 these functions with G_MODULE_EXPORT.
1557 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1559 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
1560 (gtk_file_system_volume_render_icon):
1561 Fix fallback icon rendering size
1563 2008-04-08 Michael Natterer <mitch@imendio.com>
1565 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
1566 touchscreen-mode keynav corner case: when navigating to the parent
1567 menu, make sure we don't close two menus at the same time in case
1568 the deepest open menu has no selectable items.
1570 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
1572 * gtk/gtkwidget.c: Clarified a g_warning message regarding
1573 parsing accelerators from builder files.
1575 2008-04-03 Cody Russell <bratsche@gnome.org>
1577 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
1578 of the block. (#526021, reported by Kazuki IWAMOTO)
1580 2008-04-03 Tor Lillqvist <tml@novell.com>
1582 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
1585 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
1586 workaround for a specific kind of screwed up locale setting.
1588 2008-04-02 Matthias Clasen <mclasen@redhat.com>
1590 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
1591 colormaps. Found by Daniel Berrange.
1593 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
1595 * tests/autotestfilechooser.c: Cover
1596 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
1597 name. (#346058, Joe Halliwell)
1599 2008-04-02 Federico Mena Quintero <federico@novell.com>
1601 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
1602 chooser incorrectly substitutes and expands a ~ when you type it
1603 in the filename entry.
1605 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
1606 basenames result in a slash-terminated pathname.
1607 gtk_file_system_unix_parse() is correct, but it was splitting
1608 "/home/username" into path="/home" and file_part="username", which
1609 is not what the caller wants when the entry has just "~" or
1612 2008-04-02 Tor Lillqvist <tml@novell.com>
1614 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
1615 and gtksearchenginetracker.c on Windows.
1617 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
1620 2008-04-01 Cody Russell <bratsche@gnome.org>
1622 * configure.in: Bump required Cairo to 1.5.2.
1624 * gtk/gtkprintoperation-win32.c: Add support for using the new
1625 cairo_win32_printing_surface for printing. Also fixed to use
1626 cairo_surface_show_page(). (#488833 and #521178)
1628 2008-03-31 Cody Russell <bratsche@gnome.org>
1630 * demos/gtk-demo/printing.c (draw_page): Move down each line in
1631 units of text_height rather than in units of data->font_size.
1632 (totally awesome catch by Dom Lachowicz)
1634 2008-03-28 Richard Hult <richard@imendio.com>
1636 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
1637 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
1638 event to the mainloop and don't generate one at all if the
1639 toplevel didn't change. Use the actual window and not the toplevel
1640 as event window. These changes make the generated crossing events
1641 match the X11 behavior and fixes issues with e.g. tooltips,
1642 comboboxes and menus.
1644 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
1645 the view has no window, it will be updated as soon as it's put
1648 * gdk/quartz/gdkwindow-quartz.c:
1649 (_gdk_quartz_window_debug_highlight): Make it possible to track
1650 multiple windows with debug highlighting.
1651 (show_window_internal): Remove workaround for tooltips and popups
1652 that is no longer needed with the above changes.
1654 2008-03-26 Federico Mena Quintero <federico@novell.com>
1656 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
1657 helper function; factored out from the functions that commit the
1658 current suggested autocompletion and that refresh the entry's paths.
1659 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
1660 (_gtk_file_chooser_entry_get_file_part): Likewise.
1661 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
1662 makes the entry have the correct paths when *not* using any form
1663 of completion (and makes the file chooser work when clicking the
1666 2008-03-25 Richard Hult <richard@imendio.com>
1668 * gdk/quartz/gdkevents-quartz.c:
1669 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
1670 can't find a matching window.
1672 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
1673 comment, and only trigger an event for non-temp windows, fixes
1674 problems for tooltips caused by the workarounds for the
1675 problematic tracking rect API.
1677 2008-03-25 Richard Hult <richard@imendio.com>
1679 * gdk/quartz/gdkwindow-quartz.c:
1680 (gdk_window_quartz_process_all_updates): Plug a leak and add a
1681 check that we have a toplevel before accessing it.
1683 2008-03-24 Tor Lillqvist <tml@novell.com>
1685 Bug 524151 - Dragging of 0-byte files results in an empty filename
1686 on Windows XP and above
1688 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
1689 being empty first. For some reason ISHellLink and IPersistFile
1690 succeeds in interpreting empty files as shortcuts, claiming the
1691 target of the shortcut is an empty path.
1693 Change the function to take the wide character file name that the
1694 caller already has anyway, to avoid a superfluous conversion from
1697 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
1699 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
1700 against NULL pointer. (#467051, Gian Mario Tagliaretti)
1702 2008-03-23 Cody Russell <bratsche@gnome.org>
1704 * gdk/win32/gdkevents-win32.c (show_window_recurse):
1705 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
1706 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
1707 menus from a maximized window would force the window to restore
1710 2008-03-23 Johan Dahlin <johan@gnome.org>
1712 * gtk/gtk-builder-convert:
1713 Properly convert GtkImageMenuItems which use stock labels but don't
1715 (#523932, Brian Pepple)
1717 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
1719 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
1720 New function implements GtkCellLayoutClass::get_cells. (#523787)
1722 2008-03-22 Tor Lillqvist <tml@novell.com>
1724 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
1726 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
1727 GDK_THREADS_LEAVE() call. Approved by mclasen.
1729 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
1731 * gtk/gtkexpander.c (gtk_expander_get_label):
1732 gtk_label_get_label() should be used instead of
1733 gtk_label_get_text(). (#353088, Xan Lopez)
1735 2008-03-21 Tor Lillqvist <tml@novell.com>
1737 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
1738 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
1739 gdip-pixbuf-loader module.
1741 * configure.in: Add switch --disable-gdiplus-loaders that disables
1742 building of the GDI+ loaders.
1744 When including loaders in the gdk-pixbuf library, and building
1745 GDI+ loaders, either build in all the GDI+ loaders or none of
1746 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
1747 signal building them in.
1749 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
1750 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
1751 indicate whether they should be built-in.
1753 For the rest of the changes, see gdk-pixbuf/ChangeLog.
1755 2008-03-20 Tor Lillqvist <tml@novell.com>
1757 * gtk/Makefile.am: Revert accidental change that went in as part
1758 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
1759 Darwin. On Windows one has to use a newer GNU grep that has -o,
1760 for instance the one from gnuwin32, instead of the oldish one in
1761 MSYS that doesn't have -o.
1763 2008-03-20 Tor Lillqvist <tml@novell.com>
1765 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
1766 pass NULL for %s to g_message().
1767 (main): Drop unnecessary call to gtk_widget_destroy().
1769 2008-03-20 Tor Lillqvist <tml@novell.com>
1771 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
1773 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
1774 in one dimension, or centered in case it doesn't fit.
1775 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
1778 2008-03-18 Tor Lillqvist <tml@novell.com>
1780 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
1782 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
1783 G_MODULE_ENTRY decoration can be put in a more correct place.
1785 2008-03-18 Sven Neumann <sven@gimp.org>
1787 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
1788 alternative button order on the password dialog.
1790 2008-03-18 Tor Lillqvist <tml@novell.com>
1792 Bug 99192 - Add --with-include-input-modules
1794 * configure.in: Add --with-included-immodules switch. Handled in a
1795 similar way as the --with-included-loaders switch. For each input
1796 method module foo: Collect the list of input modules to be built
1797 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
1798 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
1799 Define Automake conditionals INCLUDE_IM_FOO.
1801 * modules/input/Makefile.am: For modules to be included in libgtk,
1802 build a static library.
1804 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
1805 gdk-pixbuf to get unique names for the functions called by libgtk
1806 in the included case. Use G_MODULE_EXPORT in the non-included case
1807 so that we don't unnecessarily export unneeded random global
1810 * gtk/Makefile.am: Build the included modules and link them into libgtk.
1812 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
1813 copy/paste leftover mentions of "themes" in comments.
1815 2008-03-18 Tor Lillqvist <tml@novell.com>
1817 * tests/Makefile.am: Build testmountoperation only on Unix for now.
1819 2008-03-17 Christian Kellner <gicmo@gnome.org>
1821 Implement GtkMountOperation, a subclass of GMountOperation
1822 to be used with gio wherever there is the need to ask the
1823 user for credentials or questions while mounting a volume.
1826 * gtk/gtkmountoperation.c:
1827 * gtk/gtkmountoperation.h:
1828 Implement GtkMountOperation.
1830 * gtk/gtk.h: Add gtkmountoperation.h
1831 * gtk/Makefile.am: Add gtkmountoperation.[hc]
1832 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
1833 * tests/testmountoperation.c: Test program for it.
1834 * tests/Makefile.am: Add testmountoperation.
1836 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
1838 * gtk/gtkcontainer.c: Properly document
1839 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
1841 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1843 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
1844 style names for the ComboBox thickness style
1846 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1848 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
1849 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
1850 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
1851 intelligent separation for the xp theming engine and the classic
1852 theme while drawing the GtkComboBox button. combobox_draw_arrow
1853 is not used anymore, commented. The style has been updated to fix
1854 border/thickness glitches in the combobox according to the fixes
1855 commited regarding bug #521442. (bug #461805)
1857 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1859 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
1860 now aware of both the combobox and frame (if has-frame is set)
1861 thickness and border. (bug #521442)
1863 2008-03-15 Andre Klapper <a9016009@gmx.de>
1865 * configure.in: Added "si" to ALL_LINGUAS.
1867 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1869 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
1870 Set window type hint on the search popup. (#522279, Danny Baumann)
1872 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1874 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
1875 appropriate. (#521934, Huang Peng)
1877 2008-03-14 Michael Natterer <mitch@imendio.com>
1880 * gtk/gtkbuilderprivate.h
1881 * gtk/gtkfilechoosersettings.c
1882 * gtk/gtksearchenginesimple.c
1883 * gtk/tests/liststore.c
1884 * gtk/tests/treestore.c: remove single-file includes of GLib
1885 headers or replace them by <glib.h> where needed.
1887 2008-03-14 Michael Natterer <mitch@imendio.com>
1889 * gtk/gtkadjustment.c: coding style cleanup.
1891 (gtk_adjustment_set_property): no need to call g_object_notify()
1892 on the set properties.
1894 Implement GObject::dispatch_properties_changed() and make sure we
1895 emit "changed" when anything but the "value" property changes.
1897 2008-03-14 Tor Lillqvist <tml@novell.com>
1899 * gdk/win32/gdkevents-win32.c: Drop the support for the
1900 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
1901 Win95. Thanks to mitch for noticing this obsolete code.
1903 2008-03-14 Cody Russell <bratsche@gnome.org>
1905 * examples/scribble-xinput/scribble-xinput.c: Changed
1906 'void int main()' to 'int main()'. (#522211, Liqing Huang)
1908 2008-03-14 Richard Hult <richard@imendio.com>
1910 * gdk/quartz/gdkwindow-quartz.c:
1911 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
1912 only flush the toplevel once per update.
1914 2008-03-13 Federico Mena Quintero <federico@novell.com>
1916 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
1917 Set the mouse cursor of the feedback window to invisible, so that
1918 we respect GtkEntry's invisible cursor while typing.
1920 2008-03-13 Federico Mena Quintero <federico@novell.com>
1922 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
1923 the feedback window at entry_height/2 pixels to the right of the
1924 cursor, for a cheap "M-width / 2" spacing.
1926 2008-03-13 Sven Neumann <sven@gimp.org>
1928 * gtk/gtkfilechooserdefault.c
1929 * gtk/gtkprintunixdialog.c: set alternative button order for
1930 overwrite confirmation dialogs (bug #522191).
1932 2008-03-13 Sven Neumann <sven@gimp.org>
1934 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
1935 (overwrite_confirmation_dialog): added some line-breaks for
1938 2008-03-12 Federico Mena Quintero <federico@novell.com>
1940 Rework the way completion works in GtkFileChooserEntry. Fixes
1941 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
1942 Tab completion should work even if the cursor is not at the end of
1945 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
1948 We distinguish between two cases:
1950 - autocompletion - happens only in the Open modes by
1951 inserting and selecting the common prefix as you type.
1953 - explicit completion - happens when you hit Tab.
1955 When some type of completion needs to happen, the entry first
1956 parses its input and sees if it needs to initiate a folder load.
1957 Completion will not happen until the folder finishes loading.
1959 If the folder is already completely loaded, then completion is
1960 performed immediately. Otherwise, the entry queues a pending
1961 completion and starts loading the new folder (or waits until the
1962 current folder is completely loaded).
1964 Tab completion is allowed to happen even if the cursor is not at
1965 the end of the entry.
1967 There is a new feedback mechanism for explicit completion, so that
1968 you will get an Emacs-like tip whenever there are ambiguities in
1969 completion, no matches, etc. (This needs to be polished so that
1970 we support RTL entries and all the fancy Pango layout in GtkEntry).
1972 The only remaining thing to fix is the popup suggestion window.
1973 Unfortunately, GtkEntryCompletion does not let us do what we want,
1974 and will need further changes.
1976 2008-03-12 Tor Lillqvist <tml@novell.com>
1978 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
1980 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
1981 for the TaskbarCreated message in the window procedure for the
1982 dummy "tray observer" window we create. When we get a
1983 TaskbarCreated message, iterate over the status icons and re-add
1984 them to the task bar, and update them by calling
1985 gtk_status_icon_update_image().
1987 Move some ifdefs around to avoid unused functions.
1989 2008-03-12 Tor Lillqvist <tml@novell.com>
1991 * config.h.win32.in: Update to match what configure produces.
1993 2008-03-12 Jens Granseuer <jensgr@gmx.net>
1995 * modules/printbackends/cups/gtkprintbackendcups.c:
1996 (cups_printer_prepare_for_print): Don't define variables in the
1997 middle of a block. (#522067)
1999 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2001 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
2002 dialog for print-to-file. (#474302, Marek Kašík)
2004 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2006 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
2007 (#469210, Wouter Bolsterlee)
2009 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2011 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
2012 paper_size here. (#488820, Morten Welinder)
2014 2008-03-12 Michael Natterer <mitch@imendio.com>
2016 * acconfig.h: remove this deprecated file.
2018 * configure.in: added comments to all instances of AC_DEFINE() so
2019 config.h can be completely generated from configure.in.
2021 2008-03-12 Michael Natterer <mitch@imendio.com>
2023 * modules/printbackends/cups/gtkprintbackendcups.c: include
2024 <glib/gstdio.h> for g_fopen().
2026 2008-03-11 Matthias Clasen <mclasen@redhat.com>
2028 * modules/printbackends/cups/gtkprintbackendcups.c: Use
2029 g_ascii_formatd when formatting custom paper sizes, since
2030 cups doesn't handle , as decimal separator. (#521548)
2032 2008-03-11 Tor Lillqvist <tml@novell.com>
2034 Bug 469868 - Filenames with colon ":" are not saved correctly
2036 * gtk/gtkfilechooserentry.c (insert_text_callback)
2037 (delete_text_callback) [Win32]: New functions to make sure that
2038 colons used otherwise than as a separator after a drive letter, or
2039 characters that are always illegal in file names, are rejected on
2040 input. This means that the GTK+ file chooser can't be used to
2041 input full names of alternate data streams, but oh well. There are
2042 still more checks that could be done on the file names, see the
2043 bug report. But this will do for now.
2044 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
2046 2008-03-11 Jordi Mallach <jordi@sindominio.net>
2048 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
2050 2008-03-11 Michael Natterer <mitch@imendio.com>
2052 * gdk/linux-fb/*: removed linux-fb backend files.
2056 * docs/README.linux-fb
2057 * gtk/Makefile.am: remove remaining traces of linux-fb.
2059 * gtk/gtkwindow-decorate.c: same here. There is some code that
2060 calls into linux-fb to set window move/resize callbacks. I put it
2061 in #if 0 as a reminder because we did use decorated windows with
2062 the DirectFB backend and it did work, so I don't really know why
2063 this code is needed or how it could work with DirectFB back then.
2064 The file does actually compile now if DECORATE_WINDOWS is defined,
2065 but I didn't test with DirectFB to check if it does anything.
2067 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
2069 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
2070 Take thickness into account in the size allocation of the child widgets in
2074 2008-03-11 Richard Hult <richard@imendio.com>
2076 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
2078 2008-03-10 Tor Lillqvist <tml@novell.com>
2080 * tests/teststatusicon.c (do_exit, popup_menu): Add the
2081 possibility to test what happens if the process just calls exit()
2082 without any orderly cleanup of GTK+.
2084 2008-03-10 Tor Lillqvist <tml@novell.com>
2086 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
2088 2008-03-10 Tor Lillqvist <tml@novell.com>
2090 Bug 520286 - Non-deletable window has no minimize / maximize buttons
2092 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
2093 New debugging output function that decodes a set of WS_* bits.
2095 * gdk/win32/gdkprivate-win32.h: Declare it.
2097 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
2098 New function that enables or disables one menu entry in the system
2099 menu of a top-level window. (The corresponding decoration will
2100 then also be enabled or disabled (grayed).)
2102 (update_style_bits): Do as the comment says and don't try to
2103 update the window style based on the GdkWMFunctions set for the
2106 (update_system_menu): New function that enables or disables the
2107 system menu entries based on a window's stored set of
2110 (gdk_window_set_functions): Call update_system_menu() instead of
2111 update_style_bits().
2113 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
2115 * README.in: Reword the 2.14 release notes entry about the
2116 deprecation of the gtkitemfactory.h header, and fix typos
2119 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
2121 * modules/engines/ms-windows/msw_style.c (draw_shadow):
2122 Do not draw frame if parent if combobox.
2124 Uses scrollbar width system metrics for combobox button.
2125 Fixes #461805 for XP theme engine.
2127 2008-03-07 Johan Dahlin <johan@gnome.org>
2130 * gtk/gtkbuilderparser.c:
2131 * gtk/gtkbuilderprivate.h:
2132 * gtk/gtkiconfactory.c:
2133 * tests/buildertest.c:
2134 - Treat enums like enums and not values
2135 - Avoid invalid free, in case of more than two sources
2136 - Add better error messages
2137 - Add much improved tests
2138 (#520979, Christian Persch)
2140 2008-03-07 Carlos Garnacho <carlos@imendio.com>
2142 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
2145 2008-03-06 Federico Mena Quintero <federico@novell.com>
2147 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
2148 GtkFileChooserDialog should set a default response button if the
2149 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
2151 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
2152 function, refactor from where there was duplicated code.
2153 (gtk_file_chooser_dialog_map): Look at the buttons in our
2154 action_area. If the response ID for a button is one of the stock
2155 ones, make it the default response button.
2157 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2159 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
2161 * gtk/gtkbuilderprivate.h:
2162 * gtk/gtkiconfactory.c:
2163 * tests/buildertest.c:
2164 Implement GtkBuildable on GtkIconFactory, to make
2165 it possible to register custom stock icons.
2168 2008-03-06 Johan Dahlin <johan@gnome.org>
2172 * gtk/gtkstyle.c: npoints->n_points.
2173 * gtk/gtktestutils.h: widget->spinner
2174 * gtk/gtktestutils.c: argc->argcp, argv->argvp
2176 2008-03-06 William Lachance <wrlach@gmail.com>
2178 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
2179 string localizable (as it should be).
2181 2008-03-06 William Lachance <wrlach@gmail.com>
2183 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
2184 the time for today's date. It's redudant. (see bug #410517).
2186 2008-03-06 Xan Lopez <xan@gnome.org>
2188 * gtk/gtkfixed.c: fix typo in documentation.
2190 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2192 * gtk/gtkitemfactory.h:
2193 * gtk/gtktypeutils.h:
2194 Move GtkTranslateFunc to gtktypeutils.h so we can completely
2195 deprecate gtkitemfactory.h.
2197 * gtk/gtkactiongroup.h:
2199 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
2202 Add a note describing this slight incompatible change
2204 2008-03-06 Johan Dahlin <johan@gnome.org>
2206 * gtk/gtkpreview.h: Avoid double-deprecation.
2208 2008-03-06 Michael Natterer <mitch@imendio.com>
2211 * gtk/Makefile.am: move the remaining deprecated widgets to the
2212 separate sections and replaced spaces by tabs in Makefile.am
2214 2008-03-05 Johan Dahlin <johan@gnome.org>
2216 * configure.in: Add --disable-cups option.
2217 (#513826, Alberto Ruiz)
2221 Separate broken and deprecated sources and headers into different sections
2223 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
2225 2008-03-05 Kristian Rietveld <kris@imendio.com>
2227 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
2228 short-circuit in case an empty root level would be build (and thus
2229 directly destroyed) if no virtual root has been set.
2231 2008-03-04 Matthias Clasen <mclasen@redhat.com>
2233 * modules/printbackends/cups/gtkprintbackendcups.c:
2234 Honor cups user default options from ~/.cups/lpoptions
2235 (#469210, Stijn Hoop)
2237 2008-03-04 Michael Natterer <mitch@imendio.com>
2240 * gtk/gtkcolorbutton.c
2241 * gtk/gtkentrycompletion.c
2242 * gtk/gtkfontbutton.c
2246 * gtk/gtkpreview.c: don't include "gtksignal.h".
2248 * gtk/gtkfilefilter.c
2249 * gtk/gtkrecentchoosermenu.c
2250 * gtk/gtkrecentfilter.c
2251 * gtk/gtktext.c: don't include "gtkobject.h".
2253 2008-03-04 Simos Xenitellis <simos@gnome.org>
2255 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
2256 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
2258 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
2261 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
2262 file, contains compose sequences that used to exist in
2263 gtk/gtkimcontextsimple.c
2265 * gtk/compose-parse.py: Script to generate compose
2266 sequences from upstream (Xorg).
2268 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
2269 check_algorithmically): New functions. First two search in
2270 gtk_compose_seqs_compact[] for matching compose sequence, third
2271 tries NFC normalisation on incoming compose sequence.
2272 (gtk_im_context_simple_filter_keypress):
2273 Adds searching with check_compact_table(), check_algorithmically().
2275 2008-03-03 Carlos Garnacho <carlos@imendio.com>
2277 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
2278 scrollwheel work in GtkPathBar.
2280 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
2282 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
2283 an input-only window, event_window, which we'll use to capture
2285 (gtk_path_bar_map): Show the event_window under the rest of the
2286 windows, so it will be a catch-all for unhandled events.
2288 2008-03-03 Sven Neumann <sven@gimp.org>
2290 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
2291 typo in the documentation of the GtkFileChooserButtons::file-set
2292 signal (see bug #353196).
2294 2008-03-03 Tor Lillqvist <tml@novell.com>
2296 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
2299 2008-03-02 Johan Dahlin <johan@gnome.org>
2301 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
2302 Remove left-over focus_pad variable.
2303 (#490892, Claudio Saavedra)
2305 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
2306 (#518166, Matt Kraai)
2308 2008-03-02 Johan Dahlin <johan@gnome.org>
2310 * docs/tutorial/gtk-tut.sgml: Add a missing space
2311 (#517954, Matt Kraai)
2313 2008-03-03 Tor Lillqvist <tml@novell.com>
2315 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
2316 the widget is a GtkButton before casting.
2318 2008-03-02 Johan Dahlin <johan@gnome.org>
2320 * configure.in: Compare using = instead of ==, which is portable.
2321 (#490787, Thomas Klausner)
2323 2008-03-02 Johan Dahlin <johan@gnome.org>
2325 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
2326 fixes non-C++ build.
2327 (#496032, Nelson Benitez)
2329 2008-02-29 Johan Dahlin <johan@gnome.org>
2331 * demos/gtk-demo/demo.ui:
2332 * gtk/gtkbuilderparser.c:
2333 * gtk/gtkbuilderprivate.h:
2334 * gtk/gtkliststore.c:
2335 * tests/buildertest.c:
2336 Add translatable/context and comment attributes on
2337 <col> tags under a GtkListStore. Refactor parts of the
2338 translation api and make it available inside gtk+ itself.
2339 Update tests and example.
2340 Fixes a part of #518642
2342 2008-02-29 Johan Dahlin <johan@gnome.org>
2345 Add missing g_return_val_if_fail checks for public API.
2347 * gtk/gtkbuilderparser.c:
2348 * gtk/gtkbuilderprivate.h:
2349 Do not use g_error for a few more errors, instead set
2350 the GError sent in through add_from_file/add_from_string.
2351 * tests/buildertest.c:
2352 Add a couple of new parsing tests.
2353 (#519199, Pavel Syomin)
2355 2008-02-29 Federico Mena Quintero <federico@novell.com>
2357 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
2358 refreshing an existing folder (i.e. when we are about to reload
2359 its file list), turn off the folder's is_finished_loading flag.
2360 Otherwise callers which do ::is_finished_loading() followed by
2361 ::list_children() will get nothing.
2363 2008-02-29 Cody Russell <bratsche@gnome.org>
2365 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
2366 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
2368 2008-02-28 Matthias Clasen <mclasen@redhat.com>
2370 * gtk/gtkcalendar.h: Remove trailing comma from enum to
2371 make the compiler happy. (#517295, Sylvain Pasche)
2373 2008-02-27 Michael Natterer <mitch@imendio.com>
2375 * gtk/gtkmenushell.c
2378 * gtk/gtktipsquery.c
2383 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
2384 private functions and virtual function implementations.
2386 2008-02-27 Richard Hult <richard@imendio.com>
2388 * gdk/quartz/GdkQuartzView.c:
2389 * gdk/quartz/GdkQuartzView.h:
2390 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
2391 Fix performance regression for borderless transparent windows
2394 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
2396 * tests/testgtk.c: Revert back to r19454.
2398 2008-02-27 Sven Neumann <sven@gimp.org>
2400 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
2401 Quartz backend, use a native Mac OS X application for the print
2402 preview (bug #518624).
2404 2008-02-26 Michael Natterer <mitch@imendio.com>
2406 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
2407 the members of info->tag_stack since they are a) gobjects and b)
2408 not even owned by us, ugh... Fixes crash when deserializing fails.
2410 2008-02-26 Sven Neumann <sven@gimp.org>
2412 * docs/tools/shooter.c (find_toplevel_window)
2413 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
2414 argument passed to XQueryTree().
2416 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2418 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
2419 don't use beagle_query_add_hit_type.
2421 2008-02-25 Richard Hult <richard@imendio.com>
2423 * gdk/quartz/gdkevents-quartz.c
2424 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
2426 2008-02-24 Richard Hult <richard@imendio.com>
2428 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
2429 shown without gdk's control when clicking the dock icon.
2431 2008-02-24 Richard Hult <richard@imendio.com>
2433 * gdk/quartz/gdkprivate-quartz.h:
2434 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
2435 Use the subtype field for the custom event that is used to wake up
2436 the mainloop so we can have other custom event types.
2438 * gdk/quartz/gdkevents-quartz.c:
2439 (_gdk_quartz_events_trigger_crossing_events):
2440 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
2441 crossing events after showing a window if necessary, to work
2442 around problems with the tracking rect API.
2444 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2446 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
2447 wrong results on win32 because it doesn't set the printing units,
2448 which affect the transformation of the cairo context
2449 (#347125, Erik van Pienbroek)
2451 2008-02-22 Tor Lillqvist <tml@novell.com>
2453 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
2455 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2457 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
2458 acceptable for a module to only support the save_to_callback()
2459 method if it marks itself as WRITABLE
2461 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2463 * configure.in: Bump version
2465 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2467 * === Released 2.13.0 ===
2469 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
2471 2008-02-21 Tor Lillqvist <tml@novell.com>
2473 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
2474 pass the format string to strftime in the C library's locale's
2475 charset, not the system's. Correspondingly, the return value from
2476 strftime() is in the C library's locale's charset. (#509885)
2478 2008-02-20 Richard Hult <richard@imendio.com>
2480 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
2481 the right window level and shadow after recreating the window.
2483 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
2484 necessary after drawing (bug #517338).
2486 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
2488 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
2489 call to g_type_class_unref in case of error. (#517563)
2491 2008-02-18 Sven Neumann <sven@gimp.org>
2493 * gtk/Makefile.am (STOCK_ICONS)
2494 * gtk/stock-icons/16/gtk-page-setup.png
2495 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
2496 taken from GNOME icon theme.
2498 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
2500 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
2502 * configure.in: Added Kannada (kn) to ALL_LINGUAS
2504 2008-02-17 Johan Dahlin <johan@gnome.org>
2506 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
2507 When converting a stock item based on the label, remove the label property.
2509 2008-02-17 Richard Hult <richard@imendio.com>
2511 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
2512 position after showing the window since the window manager might
2513 not place it where we requested in the first places.
2515 2008-02-17 Richard Hult <richard@imendio.com>
2517 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2518 (_gdk_quartz_window_detach_from_parent),
2519 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
2520 the toplevel ordering list in all places where the order is
2521 potentially changed. Fixes mouse focus issues for windows with
2522 a transient parent set.
2524 2008-02-17 Richard Hult <richard@imendio.com>
2526 * gdk/quartz/gdkevents-quartz.c
2527 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
2528 window when event debugging is enabled.
2530 2008-02-16 Richard Hult <richard@imendio.com>
2532 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
2533 to the scroll event (bug #516757, Paul Davis).
2535 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2539 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2541 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
2544 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2546 * gdk/Makefile.am: Don't install private headers. (#463510)
2548 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
2549 the installed header gdkprivate.h.
2551 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2553 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
2554 a crash with hidden, reorderable tabs. (#513230,
2555 Mike Massonnet, patch by Carlos Garnacho)
2557 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2559 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
2560 Warn on duplicate action group names. (#501746, Christian
2563 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2566 * modules/other/gail/tests/Makefile.am:
2567 * modules/other/gail/libgail-util/Makefile.am:
2568 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
2569 builds. (#516254, Yevgen Muntyan)
2571 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2576 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
2577 instead of hardcoded target tables. (#516092, Christian Persch)
2579 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2581 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
2582 add the same target atom twice. (#516087, Christian Persch)
2584 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2586 * tests/testfilechooser.c: Add a --backend option.
2587 (#516073, Christian Persch)
2589 2008-02-16 Richard Hult <richard@imendio.com>
2591 * gdk/quartz/gdkprivate-quartz.h:
2592 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
2595 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2597 * configure.in: Go back to 2.13.0 as version for now,
2598 as there was no consensus to do the jump.
2600 * many other places: Update Since: tags.
2602 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2604 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
2606 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
2608 2008-02-15 Richard Hult <richard@imendio.com>
2610 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
2611 instead of bounds when resizing windows.
2613 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2615 * gdk/x11/gdkkeys-x11.c:
2616 * gdk/x11/gdkcolor-x11.c:
2617 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
2619 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2621 * gdk/x11/gdktestutils-x11.c:
2622 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
2624 2008-02-15 Tor Lillqvist <tml@novell.com>
2626 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
2627 leak Registry key handles. (#516578)
2629 2008-02-14 Richard Hult <richard@imendio.com>
2631 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
2632 makeKeyWindow unfortunately doesn't work in all cases, we must use
2633 makeKeyAndOrderFront.
2635 2008-02-14 Richard Hult <richard@imendio.com>
2637 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
2638 (gdk_window_hide), (gdk_window_fullscreen),
2639 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
2640 the window is hidden.
2642 2008-02-14 Richard Hult <richard@imendio.com>
2644 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
2645 resizing to be consistent and to avoid introducing an internal
2646 transform in the view.
2648 2008-02-14 Richard Hult <richard@imendio.com>
2650 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
2653 2008-02-14 Johan Dahlin <johan@gnome.org>
2655 * gdk/gdktestutils.h
2656 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
2658 2008-02-13 Richard Hult <richard@imendio.com>
2660 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2661 Remove unused variables.
2662 (gtk_clipboard_set_contents),
2663 (gtk_clipboard_get_owner), (clipboard_unset),
2664 (gtk_clipboard_request_targets): Notify the previous clipboard
2665 owner when the owner changes. Fixes bug #493406.
2667 2008-02-13 Richard Hult <richard@imendio.com>
2669 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
2670 the return value (return number of colors that failed), and handle
2672 (gdk_colormap_free_colors): Fix typo in comment.
2674 2008-02-13 Kristian Rietveld <kris@imendio.com>
2676 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
2677 queue a redraw if the rubber banding has actually been active.
2679 2008-02-12 Matthias Clasen <mclasne@redhat.com>
2681 * gtk/gtkpapersize.c:
2682 * gtk/gtkprintoperation.c:
2683 * gtk/gtkvolumebutton.c:
2684 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
2685 out by Behdad Esfahbod.
2687 2008-02-12 Federico Mena Quintero <federico@novell.com>
2689 Merged from gtk-2-12:
2691 Don't focus the file list when shortcuts get activated. This
2692 removes a lot of ambiguity in when the file selection should
2693 change, and makes the overall code flow simpler.
2695 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
2696 file/save dialog clears the filename entry when changing
2699 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
2700 focus should not go to the file list when a shortcut is activated.
2702 * gtk/gtkfilechooserdefault.c
2703 (shortcuts_activate_volume_mount_cb): Don't focus the file list
2704 (shortcuts_activate_get_info_cb): Likewise.
2706 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
2707 the file list (this was the last place where we would focus the
2708 file list explicitly). If you are in the location entry, for
2709 example, you don't want Alt-Home to take you to the file list; you
2710 just want the current folder to change. Thanks to Olle Bergkvist
2711 <olle.bergkvist@yahoo.se> for pointing this out in
2712 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
2713 (focus_browse_tree_view_if_possible): Removed.
2715 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2717 Skip exensions when selecting filenames in the save-as dialog.
2718 (#362516, Carlos Garnacho)
2720 * gtk/gtkfilechooserentry.h:
2721 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
2722 New function to skip the extension part when selecting a filename.
2723 (_gtk_file_chooser_entry_set_base_folder): Use it here.
2725 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
2728 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2730 * gtk/gtkiconview.c: Fix state change reporting for
2731 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
2733 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
2735 * gtk/gtkrecentchooser.c:
2736 (gtk_recent_chooser_class_init): Set the default value of the
2737 :show-not-found property to TRUE, as every implementation sets
2740 * gtk/gtkrecentchooserdefault.c:
2741 (_gtk_recent_chooser_default_init): Sync show_tips to the
2742 default value of the :show-tips property.
2744 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2746 * gtk/gtkclipboard-quartz.c:
2748 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
2751 2008-02-12 Kristian Rietveld <kris@imendio.com>
2753 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
2754 (gtk_tree_view_real_toggle_cursor_row): guard against people
2755 deleting the row in question in the selection-changed callback.
2756 (#514621, Andreas Koehler).
2758 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2760 * gtk/*.c: Unify the handling of various "Enter" keysyms
2761 all over the place. (#515047, Christian Persch)
2763 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2765 * gtk/gtkfilesystemmodel.c:
2767 * gtk/gtkwidget.c: Use g_value_set_static_string() where
2768 appropriate. (#515042, Christian Persch)
2770 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2772 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
2774 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2776 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
2778 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2780 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
2781 (recent_model_sort_drag_data_get):
2782 (search_model_sort_drag_data_get):
2783 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
2784 * gtk/gtkpathbar.c (button_drag_data_get_cb):
2785 Use gtk_selection_data_set_uris() instead of doing it
2786 by hand. (#514890, Christian Persch)
2788 2008-02-12 Michael Natterer <mitch@imendio.com>
2790 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
2791 gtk_get_current_event_time().
2793 2008-02-12 Michael Natterer <mitch@imendio.com>
2795 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
2796 gtk_window_get_key_hash() to get the hash instead of manually
2797 fiddling with quarks and gtk_window_keys_changed(). Also add
2798 g_return_if_fail() to this public function.
2800 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2802 Support keynav in status icons. (#473786, Li Yuan)
2804 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
2806 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
2808 2008-02-11 Kristian Rietveld <kris@imendio.com>
2810 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
2811 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
2812 wrt. link deletion from list; contination of fix for #503569.
2814 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
2816 * gtk/gtkrecentchoosermenu.c:
2817 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
2818 on the placeholder menu item.
2820 * tests/testrecentchoosermenu.c:
2821 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
2822 whether the placeholder menu item gets shown.
2824 2008-02-10 Cody Russell <bratsche@gnome.org>
2826 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
2827 Check the return value of _gtk_file_chooser_get_file_system () for
2828 NULL before passing it to gtk_file_system_path_to_uri ().
2829 (#515667, Francesco Montorsi)
2831 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
2833 * gtk/gtkbuilder.c: Improve the documentation for
2834 gtk_builder_connect_signals. (#514471)
2836 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2838 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
2841 2008-02-08 Cody Russell <bratsche@gnome.org>
2843 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
2844 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
2846 2008-02-08 Richard Hult <richard@imendio.com>
2848 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
2849 delta from the NSEvent for now, generating multiple scroll events
2850 results in a lot of events getting queued up and things get really
2853 2008-02-08 Sven Herzberg <sven@imendio.com>
2855 Adjust the code to match the documentation, examples, "common sense"
2856 and existing applications.
2858 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
2859 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
2862 2008-02-07 Cody Russell <bratsche@gnome.org>
2864 * gdk/win32/gdkevents-win32.c
2865 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
2866 of a block that were causing compile problems on old
2867 compilers. (#515053, reported by Kazuki IWAMOTO)
2869 2008-02-07 Michael Natterer <mitch@imendio.com>
2876 * gtk/gtkmenushell.c
2878 * gtk/gtkoptionmenu.c
2882 * gtk/gtkradiomenuitem.c
2884 * gtk/gtkscrolledwindow.c
2885 * gtk/gtksocket.c: remove g_return_if_fail() from private
2886 functions and virtual function implementations.
2888 2008-02-07 Michael Natterer <mitch@imendio.com>
2891 * gtk/gtkassistant.c
2895 * gtk/gtkcellrenderercombo.c
2898 * gtk/gtkdrawingarea.c
2899 * gtk/gtkentrycompletion.c
2905 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
2906 functions and virtual function implementations.
2908 2008-02-07 Christian Persch <chpe@gnome.org>
2910 * gdk/gdkpixbuf-render.c:
2911 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
2912 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
2913 otherwise there will be random pixel values in the semi-transparent
2914 area of the pixbuf within the mask. Bug #487865.
2916 2008-02-06 Cody Russell <bratsche@gnome.org>
2918 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
2919 otherwise things get wonky when you click on a menu. This fixes
2920 a regression caused in #505928. Thanks to Tor for spotting this
2923 2008-02-06 Michael Natterer <mitch@imendio.com>
2925 * gtk/gtkcontainer.c
2932 * gtk/gtkmenushell.c
2934 * gtk/gtkseparatortoolitem.c
2936 * gtk/gtktextlayout.c
2937 * gtk/gtktoggletoolbutton.c
2938 * gtk/gtktoolbutton.c
2941 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
2944 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2946 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
2947 Allow to store half-open ranges.
2949 2008-02-05 Cody Russell <bratsche@gnome.org>
2951 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
2952 down the stack until we get to a window that is mapped.
2953 Otherwise hiding a window will cause all windows in the app
2954 to be blocked. (#514643)
2956 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2958 * gtk/updateiconcache.c: Ignore images in the toplevel theme
2959 directory, avoiding one source of invalid caches that has been
2960 spotted in the wild.
2962 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2964 * gtk/updateiconcache.c: Fix the previous commit to compile.
2966 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2968 * gtk/updateiconcache.c: Install a printerr handler that
2969 prepends the program name, since gtk-update-icon-cache output
2970 often appears in the middle of other output, e.g. rpm update logs.
2972 2008-02-05 Cody Russell <bratsche@gnome.org>
2974 * gdk/win32/gdkprivate-win32.h
2975 * gdk/win32/gdkevents-win32.c
2976 * gdk/win32/gdkwindow-win32.c
2977 * gdk/win32/gdkwindow-win32.h
2978 * gdk/win32/gdkwin32.h:
2979 Modal window rework. (#455627 and #511111)
2981 2008-02-04 Michael Natterer <mitch@imendio.com>
2983 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
2984 g_return_if_fail() if the cell is not part of the combo instead of
2985 crashing in the next line.
2987 2008-02-01 Cody Russell <cody@jhu.edu>
2989 * modules/engines/ms-windows/xp_theme.[ch]
2990 * modules/engines/ms-windows/xp_theme_defs.h
2991 * modules/engines/ms-windows/msw_rc_style.c
2992 * modules/engines/ms-windows/msw_theme_main.c
2993 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
2994 attempted to stylize more like the rest of the gtk+ stack's code.
2996 2008-02-01 Michael Natterer <mitch@imendio.com>
2998 * tests/testgtk.c: initialize GdkColor structs to fix warning
2999 about uninitialized "pixel" member.
3001 * tests/testactions.c: connect the toolbar_style() callback so it
3002 does something useful and doesn't warn about being defined but not
3005 2008-01-31 Cody Russell <bratsche@gnome.org>
3007 * gdk/win32/gdkevents-win32.c:
3008 Refactored some of the window hiding/showing code from
3009 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
3010 under WM_ACTIVATE was causing the application to go into
3011 a weird state when the user right-clicked on the taskbar
3012 entry of a window that was minimized. (#505928)
3014 2008-01-31 Cody Russell <bratsche@gnome.org>
3016 * gtk/gtkpaned.c (gtk_paned_set_position):
3017 Change queue_resize() to queue_draw(), and add a check for
3018 child2 != NULL in case someone calls this before there is
3019 a child packed in there. (#144269 again)
3021 2008-01-31 Sven Neumann <sven@gimp.org>
3023 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
3024 applied patch from Denis Oliver Kropp <dok@directfb.org>.
3026 2008-01-31 Sven Neumann <sven@gimp.org>
3028 * gdk/directfb/gdkdisplay-directfb.c
3029 * gdk/directfb/gdkdrawable-directfb.c
3030 * gdk/directfb/gdkprivate-directfb.h
3031 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3032 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
3034 2008-01-31 Richard Hult <richard@imendio.com>
3036 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
3037 issues with undecorated windows. Revert the change done on
3038 2008-01-25 and fix it by using the view's bounds instead. The
3039 bounds will always be up to date when setting up the tracking
3040 rect, so this should be more robust.
3042 2008-01-30 Sven Neumann <sven@gimp.org>
3044 * gdk/directfb/gdkdrawable-directfb.c
3045 * gdk/directfb/gdkwindow-directfb.c
3046 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
3047 Oliver Kropp <dok@directfb.org>. Adds debug messages using
3048 DirectFB's debugging system
3050 2008-01-30 Sven Neumann <sven@gimp.org>
3052 * gdk/directfb/gdkdirectfb.h
3053 * gdk/directfb/gdkdisplay-directfb.c
3054 * gdk/directfb/gdkdrawable-directfb.c
3055 * gdk/directfb/gdkim-directfb.c
3056 * gdk/directfb/gdkimage-directfb.c
3057 * gdk/directfb/gdkinput-directfb.c
3058 * gdk/directfb/gdkmain-directfb.c
3059 * gdk/directfb/gdkpixmap-directfb.c
3060 * gdk/directfb/gdktestutils-directfb.c
3061 * gdk/directfb/gdkvisual-directfb.c
3062 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3063 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
3064 errors and has some cleanups.
3066 2008-01-30 Michael Natterer <mitch@imendio.com>
3068 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
3069 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
3072 * gtk/updateiconcache.c (add_string): cast const gchar* to
3073 gpointer when inserting in a GHashTable.
3075 * tests/testcalendar.c (calendar_detail_cb): remove const from
3076 return value since it's a newly allocated string.
3078 (calendar_update_details): free the detail.
3080 2008-01-29 Johan Dahlin <johan@gnome.org>
3082 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
3084 * demos/gtk-demo/demo.ui:
3085 Move the about dialog to the glade file, add accessible tags
3086 examples to the markup file.
3088 2008-01-28 Paolo Borelli <pborelli@katamail.com>
3090 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
3091 layout, fixes #512375.
3093 2008-01-28 Michael Natterer <mitch@imendio.com>
3095 * gtk/gtktextchild.c
3096 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
3098 2008-01-28 Michael Natterer <mitch@imendio.com>
3100 * demos/gtk-demo/builder.c (about_activate): use
3101 gtk_about_dialog_set_program_name() instead of the deprecated
3104 2008-01-28 Michael Natterer <mitch@imendio.com>
3106 * gtk/gtktextchild.c
3107 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
3110 2008-01-26 Johan Dahlin <johan@gnome.org>
3112 * tests/Makefile.am:
3113 * tests/textbuffertest.c:
3114 Rename textbuffer test and port it to the new test framework
3116 2008-01-25 Johan Dahlin <johan@gnome.org>
3118 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
3119 unsetting of GTK_MODULES.
3121 * gtk/gtk-builder-convert
3122 (GtkBuilderConverter._convert_adjustment): Handle the case where
3123 there is no child text node.
3124 (GtkBuilderConverter): Allow xml comments in most places.
3126 2008-01-25 Johan Dahlin <johan@gnome.org>
3128 * gtk/gtk-builder-convert
3129 (GtkBuilderConverter._convert_combobox_items): Remove the items
3130 even if there are no items set.
3131 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
3132 signals and tooltips for all menu items subclasses and
3133 GtkImageMenuItem:label.
3134 Makes it possible to fully convert and run Jokosher.glade.
3136 2008-01-25 Johan Dahlin <johan@gnome.org>
3138 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
3139 (gtk_widget_buildable_get_internal_child), (free_action),
3140 (free_relation), (gtk_widget_buildable_parser_finished),
3141 (accessibility_start_element),
3142 (gtk_widget_buildable_custom_tag_start),
3143 (gtk_widget_buildable_custom_finished):
3144 Implement accessible support, fixes #454653.
3146 * gtk/gtk-builder-convert:
3147 Add support for migrating old glade files
3149 * tests/buildertest.c: (test_widget), (test_file):
3150 Add accessible tests and imprve the test_file function to display
3151 toplevels and run dialogs.
3153 2008-01-25 Richard Hult <richard@imendio.com>
3155 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
3156 didn't change, fixes focus event issues for undecorated windows.
3158 2008-01-25 Richard Hult <richard@imendio.com>
3160 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
3161 const and remove unused variables).
3163 2008-01-25 Michael Natterer <mitch@imendio.com>
3166 * gtk/gtkcellrenderer.h
3167 * gtk/gtkimcontext.h
3171 * gtk/gtktreeprivate.h
3172 * gtk/gtktreeviewcolumn.h
3173 * gtk/gtkwidget.h: add const to constant structs which are passed
3174 into GTK+. Also add some forgotten const for const strings.
3178 * gtk/gtkcellrenderer.c
3179 * gtk/gtkimcontext.c
3184 * gtk/gtktreeviewcolumn.c
3185 * gtk/gtkwidget.c: changed accordingly.
3187 2008-01-25 Sven Herzberg <sven@imendio.com>
3189 Reviewed by Johan Dahlin.
3191 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
3192 this is called with something that's not a GtkUIManager
3194 2008-01-24 Johan Dahlin <johan@gnome.org>
3196 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
3197 Chain up to parent, so widgets can have internal children.
3199 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3201 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
3204 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
3206 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3208 Use pango_layout_set_height() for calendar details (#506049).
3210 * configure.in: Require 1.19.3 for pango_layout_set_height().
3211 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
3213 2008-01-18 Johan Dahlin <johan@gnome.org>
3215 * gtk/gtk-builder-convert (get_property_node): New method
3216 (GtkBuilderConverter._create_object): Conditionally take a node as
3217 a property value, so don't lose translate/context attributes if they
3219 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
3220 property values instead of strings.
3221 (#509153, Erik van Pienbroek)
3223 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
3225 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
3227 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
3228 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
3229 * tests/testcalendar.c: Duplicate calendar details before returning.
3231 2008-01-16 Christian Persch <chpe@gnome.org>
3233 * gtk/gtkwidget.c: Store the event mask and extension event mode
3234 directly in the gobject data pointer, instead of in an allocated
3237 2008-01-16 Michael Natterer <mitch@imendio.com>
3239 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
3240 gdk-pixbuf now uses gio functions.
3242 2008-01-16 Matthias Clasen <mclasen@redhat.com>
3244 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
3245 the notify::model signal. (#509819, David Zeuthen)
3247 2008-01-15 Michael Natterer <mitch@imendio.com>
3255 * gdk/gdkwindow.h: made more struct pointer and array parameters
3256 const. GDK should now be constified as far as possible without
3257 breaking source compatibility. Includes some minor cleanup like
3258 indentation and s/nfoo/n_foo/ (bug #508544).
3264 * gdk/gdkregion-generic.c
3266 * gdk/directfb/gdkdisplay-directfb.c
3267 * gdk/directfb/gdkwindow-directfb.c
3268 * gdk/quartz/gdkdisplay-quartz.c
3269 * gdk/quartz/gdkwindow-quartz.c
3270 * gdk/win32/gdkdisplay-win32.c
3271 * gdk/win32/gdkwindow-win32.c
3272 * gdk/x11/gdkdisplay-x11.c
3273 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3275 2008-01-14 Michael Natterer <mitch@imendio.com>
3277 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
3280 (gtk_rc_parse_any): change variables to const and introduce
3281 another local variable to fix const warnings.
3283 2008-01-14 Michael Natterer <mitch@imendio.com>
3285 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
3286 of gdk_screen_get_font_options() to gpointer to get rid of const
3289 2008-01-14 Michael Natterer <mitch@imendio.com>
3291 * tests/testdnd.c (source_drag_data_get): fix another call to
3292 gtk_selection_data_set().
3294 2008-01-14 Michael Natterer <mitch@imendio.com>
3296 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
3299 2008-01-14 Michael Natterer <mitch@imendio.com>
3301 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
3303 2008-01-14 Michael Natterer <mitch@imendio.com>
3305 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
3306 "uris" to guchar* when passing it to gtk_selection_data_set().
3308 2008-01-14 Michael Natterer <mitch@imendio.com>
3314 * gdk/gdkinternals.h
3316 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
3317 parameters const (bug #508544).
3322 * gdk/gdkrectangle.c
3323 * gdk/gdkpolyreg-generic.c
3324 * gdk/gdkregion-generic.c
3325 * gdk/directfb/gdkcolor-directfb.c
3326 * gdk/directfb/gdkgc-directfb.c
3327 * gdk/directfb/gdkgeometry-directfb.c
3328 * gdk/directfb/gdkwindow-directfb.c
3329 * gdk/quartz/gdkcolor-quartz.c
3330 * gdk/quartz/gdkgc-quartz.c
3331 * gdk/quartz/gdkgeometry-quartz.c
3332 * gdk/quartz/gdkwindow-quartz.c
3333 * gdk/win32/gdkcolor-win32.c
3334 * gdk/win32/gdkgc-win32.c
3335 * gdk/win32/gdkgeometry-win32.c
3336 * gdk/win32/gdkprivate-win32.h
3337 * gdk/win32/gdkwindow-win32.c
3338 * gdk/x11/gdkcolor-x11.c
3339 * gdk/x11/gdkgc-x11.c
3340 * gdk/x11/gdkgeometry-x11.c
3341 * gdk/x11/gdkmain-x11.c
3342 * gdk/x11/gdkprivate-x11.h
3343 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3345 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
3348 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3350 Explain name choice for gtk_tool_item_toolbar_reconfigured.
3352 * gtk/gtktoolitem.c: Add comment expaining name choice for
3353 gtk_tool_item_toolbar_reconfigured.
3355 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3357 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
3358 implementations to notify its children, when some aspect of their
3359 configuration changed (#509042).
3361 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
3362 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
3363 Rename _gtk_tool_item_toolbar_reconfigured.
3365 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3367 Include <gtk/gtktoolshell.h> from gtk.h.
3369 * gtk/gtk.h: Add gtktoolshell.h
3371 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3373 Print angle brackets arround e-mail addresses in the about dialog
3374 (#409520, Mariano Suárez-Alvarez).
3376 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
3378 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
3380 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
3381 special casing so test widgets are always queues for destruction
3384 * gtk/tests/testing.c: removed bits left-over from testing without
3387 2008-01-10 Tor Lillqvist <tml@novell.com>
3389 * modules/other/gail/libgail-util/Makefile.am
3390 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
3393 2008-01-10 Tor Lillqvist <tml@novell.com>
3395 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
3396 uses gtkprintunixdialog API.
3398 2008-01-10 Tor Lillqvist <tml@novell.com>
3400 * gdk/win32/gdkdisplay-win32.c
3401 * gdk/win32/gdkglobals-win32.c
3402 * gdk/win32/gdkprivate-win32.h
3403 * gdk/win32/gdkscreen-win32.c
3404 * gdk/win32/gdkwindow-win32.c: Implement
3405 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
3406 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
3409 2008-01-10 Cody Russell <bratsche@gnome.org>
3411 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
3412 Properly ref/unref windows and parents. (#506769)
3414 2008-01-10 Richard Hult <richard@imendio.com>
3416 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
3417 (gdk_window_hide), (move_resize_window_internal): Move the
3418 tracking rect workaround from here...
3420 * gdk/quartz/GdkQuartzWindow.c:
3421 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
3422 movements during showing/hiding operations. Fixes bug #508516.
3424 2008-01-10 Michael Natterer <mitch@imendio.com>
3426 * gdk/directfb/gdkscreen-directfb.c
3427 (gdk_screen_get_monitor_width_mm)
3428 (gdk_screen_get_monitor_height_mm)
3429 (gdk_screen_get_monitor_plug_name): add these functions to make
3432 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
3434 * gtk/gtkrecentchoosermenu.c:
3435 (idle_populate_func), (idle_populate_clean_up): Fix possible
3436 recursion by resetting the idle source id. (#507605, William
3439 2008-01-10 Kristian Rietveld <kris@imendio.com>
3441 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
3442 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
3443 avoid valgrind warnings. (#507751, patch from Christian Persch).
3445 2008-01-10 Kristian Rietveld <kris@imendio.com>
3447 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
3448 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
3450 2008-01-10 Kristian Rietveld <kris@imendio.com>
3452 Fix #477175, reported by Juri Pakaste.
3454 * gtk/gtktreeprivate.h:
3455 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
3456 tree_view->priv->dy here directly, just calculate the new value
3457 and set it on the adjustment,
3458 (gtk_tree_view_adjustment_changed): add guards to not call
3459 gtk_tree_view_dy_to_top_row() if we are currently in
3460 gtk_tree_view_top_row_to_dy(),
3461 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
3462 coordinates, not tree coordinates,
3463 (gtk_tree_view_real_start_editing): add cast.
3465 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
3466 position of the editable in the "create new row and start editing"
3469 2008-01-09 Michael Natterer <mitch@imendio.com>
3471 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
3474 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
3475 * gtk/gtkicontheme.c (theme_list_contexts)
3476 (gtk_icon_theme_lookup_icon)
3477 * gtk/gtkimcontextsimple.c (beep_window)
3478 * gtk/gtklinkbutton.c (set_link_color)
3479 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
3482 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
3483 variable and add const to another to fix a warning.
3485 2008-01-07 Matthias Clasen <mclasen@redhat.com>
3487 * gtk/gtkassistant.c (remove_page): Be more robust when removing
3488 the current page. (#499951, Andreas Sandberg)
3490 2008-01-06 Johan Dahlin <johan@gnome.org>
3492 * gtk/gtkspinbutton.c: Declare value in the example code for
3493 GtkSpinButton::output, as pointed out by Anders Carlsson.
3495 2008-01-06 Christian Persch <chpe@gnome.org>
3497 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
3498 and remove an obsolete event box. Bug #506760.
3500 2008-01-06 Johan Dahlin <johan@gnome.org>
3502 * tests/buildertest.c (test_domain):
3503 Update, GtkBuilder::translation-domain is no longer set
3505 * gtk/gtkbuilderparser.c (parse_interface):
3506 Allow domains to be overridden in <interface>'s if a translation-domain
3507 is set in the builder.
3508 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
3509 of the builder, make the domain set in the <interface> apply only to strings
3511 (#496831, Ryan Lortie)
3513 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
3516 * gtk/gtktreestore.c (tree_model_end_element):
3517 Remove an unused variable
3519 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3521 * gtk/gtkspinbutton.c: Document the ::output signal and
3522 add an example. (#507566, example by Owen Taylor)
3524 2008-01-06 Johan Dahlin <johan@gnome.org>
3526 * gtk/gtkcellrenderercombo.c:
3527 (gtk_cell_renderer_combo_get_property),
3528 (gtk_cell_renderer_combo_set_property):
3529 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
3530 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
3531 * gtk/gtknotebook.c: (gtk_notebook_set_property):
3532 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
3533 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
3534 (gtk_text_buffer_get_property):
3535 * gtk/gtktextview.c: (gtk_text_view_set_property):
3536 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
3537 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
3538 (gtk_tool_button_get_property):
3539 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
3540 (gtk_tool_item_get_property):
3541 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
3542 * gtk/gtkwidget.c: (gtk_widget_set_property):
3543 * gtk/gtkwindow.c: (gtk_window_set_property):
3544 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
3547 2008-01-06 Johan Dahlin <johan@gnome.org>
3549 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
3550 Make sure that --root works for toplevel widgets.
3551 (#491847, Phil Lello)
3553 2008-01-05 Johan Dahlin <johan@gnome.org>
3555 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
3556 to make sure that make test-report works properly
3558 2008-01-05 Christian Persch <chpe@gnome.org>
3560 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
3561 GType as integer through gpointer. Bug #507395.
3563 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
3565 Avoid some compiler warnings (#507000).
3567 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
3568 for value argument of _gtk_builder_flags_from_string.
3569 * gtk/gtkwidget.c: Don't alias the child pointer passed
3570 to gdk_window_get_user_data.
3572 2008-01-04 Michael Natterer <mitch@imendio.com>
3574 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
3575 to set the time in the returned GdkTimeCoords.
3577 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
3579 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
3580 correct comparison function (kudos to Christian Persch and
3581 Claudio Saavedra for spotting this)
3583 * gtk/gtkrecentchooserutils.c:
3584 (sort_recent_items_mru),
3585 (sort_recent_items_lru): Ditto as above.
3587 2008-01-03 Johan Dahlin <johan@gnome.org>
3589 * tests/defaultvaluetest.c: Make it pass again.
3591 2008-01-02 Johan Dahlin <johan@gnome.org>
3593 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
3594 make it pass on Ubuntu.
3595 (main): Use gtk_test_list_all_types () instead of providing our
3597 And it no longer passes.
3599 2007-12-30 Johannes Schmid <jhs@gnome.org>
3601 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
3602 Also reorder menu when reordering tabs by drag & drop
3605 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
3606 Add a menu to one of the notebooks to have a test-case for
3607 the change mentioned above.
3609 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
3611 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
3613 2007-12-31 Christian Persch <chpe@gnome.org>
3615 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
3616 Plug a mem leak. Bug #506107.
3618 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3620 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
3621 icon cache api change. (#506135, Kazuki Iwamoto)
3623 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3625 Consider "wide-separators" and "separator-height" style properties:
3626 The separator is drawn using gtk_paint_box instead of cairo, when
3627 "wide-separators" is set. Also do not highlight details for previous
3628 or next month, if their day matches the selected day. (#339540)
3630 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
3631 in gtk_calendar_size_request and calendar_paint_day
3632 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
3633 for selected detail separators in GtkCalendar.
3635 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3637 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
3639 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
3640 a local variable instead in gtk_calendar_size_request.
3642 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3644 * tests/defaultvaluetest.c: Add enough exclusions to make the
3647 2007-12-28 Christian Persch <chpe@gnome.org>
3649 * modules/other/gail/Makefile.am:
3650 * modules/other/gail/tests/*:
3651 * configure.in: Merge tests from standalone gail. Bug #504568.
3653 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3655 * gtk/gtkclipboard.c: Make the finalizer work when display is
3658 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3660 Draw bottom shadow of GtkCalender headings. (#506113)
3662 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
3664 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3666 * gtk/gtkcalendar.c: Document the initial values of year/month/day
3669 2007-12-28 Christian Persch <chpe@gnome.org>
3671 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
3672 a mem leak. Bug #506096.
3674 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3677 * gtk/gtktreeview.c:
3678 * gtk/gtkprintoperation.c:
3679 * gtk/gtkprogressbar.c:
3680 * gtk/gtkmessagedialog.c:
3681 * gtk/gtknotebook.c:
3685 * gtk/gtklinkbutton.c:
3686 * gtk/gtkmenu.c: More default property value corrections.
3688 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3690 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
3691 accel_group unless it is set.
3693 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3695 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
3697 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3699 * gtk/gtkhandlebox.c: Fix the default values of shadow and
3700 shadow-type properties.
3702 * gtk/gtkfontsel.c: Fix the default values of several properties.
3704 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
3707 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
3709 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
3712 2007-12-28 Johan Dahlin <johan@gnome.org>
3714 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
3715 (gtk_dialog_buildable_custom_tag_start): Chain up.
3716 This makes it possible to have accelerators tags on GtkDialog
3719 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3721 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
3722 are shown within the widget, or just as tooltip. (#339540)
3724 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
3725 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
3726 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
3729 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3731 Try more decent appearance of calendar details separator. (#339540)
3733 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
3734 and make it short by one pixel on each side.
3736 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3738 Apply trivial code-style changes from attachement 101101. (#339540)
3740 * tests/testcalendar.c: Some updates to current GTK+ code-style.
3742 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3744 Restructure testcalendar for testing calendar details. (#339540)
3746 * tests/testcalendar.c: Push code arround for testing calendar details.
3748 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3750 Implement GtkTooltip API for calendar details. (#339540)
3752 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
3753 Remember detail overflows in calendar_paint_day to show the tooltip
3754 only when neccessary.
3756 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3758 Without setting "detail-width-chars" and "detail-height-rows"
3759 properties not only the widget has to be redrawn on certain
3760 conditions, but also its size must be recalculated. (#339540)
3762 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
3763 that function instead of gtk_widget_queue_draw.
3765 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3767 Consider details for size-request and expose-event. (#339540)
3769 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
3770 is_color_attribute functions. Change gtk_calendar_size_request
3771 and calendar_paint_day to consider and show calender details.
3773 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3775 * gtk/gtkcombobox.c: Introduce local priv variables to
3778 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3780 * gtk/gtkcombobox.c: Correct the default value for the
3781 tearoff-title property.
3783 * gtk/gtkcellrenderertext.c: Fix the default value for the
3784 wrap-mode and font-scale properties.
3786 * gtk/gtkaspectratio.c: Fix the default value for the ratio
3789 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3791 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
3792 defines. (#505708, MINAMI Hirokazu)
3794 2007-12-27 Christian Persch <chpe@gnome.org>
3796 * Makefile.am: Install gail.pc. Bug #505859.
3798 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
3800 Add infrastructure for GtkCalendar details. (#339540)
3802 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
3803 Add "detail-width-chars" and "detail-height-rows" properties,
3804 and gtk_calendar_set_detail_func function.
3806 2007-12-27 Xan Lopez <xan@gnome.org>
3809 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
3811 Add gtk_border_new to avoid memory allocator confusions when using
3812 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
3814 2007-12-27 Christian Persch <chpe@gnome.org>
3816 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
3817 bug #504886 not to read unitialised memory.
3819 2007-12-26 Xan Lopez <xan@gnome.org>
3821 * gtk/gtkstatusbar.c (has_extra_children): take into account the
3822 modification of the internal frame contents to decide if we have
3823 extra children. (#415677)
3825 2007-12-22 Christian Persch <chpe@gnome.org>
3827 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
3829 2007-12-25 Christian Persch <chpe@gnome.org>
3831 * modules/other/gail/gailwindow.c: (gail_window_initialize):
3832 Initialise |widget|. Fixes a buglet introduced by the commit from bug
3835 2007-12-25 Christian Persch <chpe@gnome.org>
3837 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
3839 2007-12-25 Christian Persch <chpe@gnome.org>
3841 * modules/other/gail/*.[ch]: Remove relocations from the atk
3842 factories. Remove unused gail_foo_new() functions. Fix object
3843 instantiation to be derivation safe by moving initialisation code
3844 from the removed gail_foo_new() functions to the
3845 AtkObjectClass::initialize implementation. Bug #505226.
3847 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3849 * modules/other/gail/gailentry.c:
3850 * modules/other/gail/gailimage.c:
3851 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
3852 uses of clipboards and settings. (#504722, Christian Persch)
3854 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3856 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
3859 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3861 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
3862 use the time and button information from the event. (#504901,
3865 2007-12-23 Cody Russell <bratsche@gnome.org>
3867 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
3868 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
3869 Fixes a regression caused by #164537 patch where transient
3870 windows that are hidden get shown (incorrectly) when their
3871 parents are minimized. (#504984)
3873 2007-12-22 Christian Persch <chpe@gnome.org>
3875 * modules/other/gail/gailcell.c:
3876 * modules/other/gail/gailcontainercell.c:
3877 * modules/other/gail/gailexpander.c:
3878 * modules/other/gail/gailtextcell.c:
3879 * modules/other/gail/gailtextview.c:
3880 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
3882 2007-12-22 Christian Persch <chpe@gnome.org>
3884 * modules/other/gail/*.c: Include config.h. Bug #504720.
3886 2007-12-22 Christian Persch <chpe@gnome.org>
3888 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
3889 handwritten get_type functions. Bug #504661.
3891 2007-12-23 Xan Lopez <xan@gnome.org>
3893 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
3894 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
3896 Patch by Sadrul Habib Chowdhury (#504804)
3898 2007-12-22 Christian Persch <chpe@gnome.org>
3900 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
3901 #504645, patch by Li Yuan.
3903 2007-12-22 Christian Persch <chpe@gnome.org>
3905 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
3907 2007-12-22 Christian Persch <chpe@gnome.org>
3909 * modules/other/gail/gail.c:
3910 * modules/other/gail/gailbutton.c:
3911 * modules/other/gail/gailcell.c:
3912 * modules/other/gail/gailcombo.c:
3913 * modules/other/gail/gailcombo.h:
3914 * modules/other/gail/gailcombobox.c:
3915 * modules/other/gail/gailentry.c:
3916 * modules/other/gail/gailexpander.c:
3917 * modules/other/gail/gailmenuitem.c:
3918 * modules/other/gail/gailnotebook.c:
3919 * modules/other/gail/gailnotebookpage.c:
3920 * modules/other/gail/gailnotebookpage.h:
3921 * modules/other/gail/gailoptionmenu.c:
3922 * modules/other/gail/gailrange.c:
3923 * modules/other/gail/gailtextview.c:
3924 * modules/other/gail/gailtreeview.c:
3925 * modules/other/gail/gailtreeview.h:
3926 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
3929 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3931 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
3934 2007-12-21 Richard Hult <richard@imendio.com>
3936 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
3937 Plug leak of destroyed subviews, fixes bug #504753.
3939 2007-12-20 Johan Dahlin <johan@gnome.org>
3941 * tests/Makefile.am (TEST_PROGS):
3942 * tests/defaultvaluetest.c: Add a test for default values,
3943 based on program by Christan Perch
3945 2007-12-20 Johan Dahlin <johan@gnome.org>
3947 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
3948 Refactor to avoid some duplication.
3949 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
3950 Fixes #504749, Yuri Pimenov
3952 2007-12-20 Kristian Rietveld <kris@imendio.com>
3954 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
3955 the build work again on systems without xrandr 1.2.
3957 2007-12-20 Christian Persch <chpe@gnome.org>
3960 * modules/other/gail/libgail-util/Makefile.am:
3961 Keep the same libtool version as the standalone libgail-util had.
3964 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
3966 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
3968 2007-12-20 Alexander Larsson <alexl@redhat.com>
3970 * gdk/x11/gdkapplaunchcontext-x11.c:
3971 Update for gio API changes
3973 2007-12-20 Richard Hult <richard@imendio.com>
3975 * gdk/quartz/GdkQuartzWindow.c:
3976 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
3977 processing events after changing the size.
3979 2007-12-20 Richard Hult <richard@imendio.com>
3981 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
3982 Add stub for quartz to fix build.
3984 2007-12-20 Christian Persch <chpe@gnome.org>
3986 * modules/other/gail/Makefile.am:
3987 * modules/other/gail/gailimage.c: (gail_image_class_init),
3988 (gail_image_init), (elide_underscores), (gail_image_get_name),
3989 (atk_image_interface_init), (gail_image_finalize):
3990 * modules/other/gail/gailimage.h:
3991 R modules/other/gail/gailintl.h:
3992 * po/POTFILES.skip: Use the stock item's label as the name of the
3993 accessible in gailimage.c. Bug #504246.
3995 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
3997 Avoid some compiler warnings and remove obsolete code. (#339540)
3999 * gtk/gtkcalendar.c: Change week and year variable in
4000 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
4001 0" block from calendar_paint_day: The feature in question is handled
4002 few lines above. Cast data returned by gtk_selection_data_get_text()
4003 to (gchar*) in gtk_calendar_drag_data_received.
4005 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
4007 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
4009 2007-12-19 Johan Dahlin <johan@gnome.org>
4011 * tests/buildertest.c (test_object_properties):
4012 Add another call to gtk_builder_add_string after using
4013 delayed properties, as reported in #504393 but already
4016 2007-12-18 Christian Persch <chpe@gnome.org>
4019 * docs/reference/Makefile.am:
4020 * docs/reference/libgail-util/*:
4021 * gail-uninstalled.pc.in:
4023 * modules/Makefile.am:
4024 * modules/other/Makefile.am:
4025 * modules/other/gail/*:
4026 * modules/other/gail/libgail-util/*:
4027 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
4029 2007-12-17 Matthias Clasen <mclasen@redhat.com>
4031 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
4032 * gdk/win32/gdkproperty-win32.c:
4033 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
4035 * gtk/gtkimmodule.[hc]:
4036 * gtk/gtkimmulticontext.[hc]: When determining the default context,
4037 look at the gtk-im-module setting, and listen for changes to the
4038 setting. (#502446, Akira Tagoh)
4040 2007-12-17 Kristian Rietveld <kris@imendio.com>
4042 * gtk/gtktooltip.c (gtk_tooltip_finalize),
4043 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
4044 to NULL as soon as it's destroyed. (#496546, patch from
4047 2007-12-17 Kristian Rietveld <kris@imendio.com>
4049 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
4050 always determine what arrow to show if show_sort_indicator is true.
4051 (#352738, Chris Vine).
4053 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
4055 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
4058 * gtk/gtkpaned.c: Call gtk_container_forall instead of
4059 gtk_container_foreach in get_child_panes.
4061 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
4063 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
4065 Plug leak: When reordering the info in the list the old node is
4066 removed but not freed. (#503569)
4068 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
4070 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
4071 Use u32 instead of __u32 and u8 instead of __u8 as the other types
4072 are deprecated since DirectFB 1.0.0. If compiling with an older
4073 version define the new type name to the old types. Fixes bug #503190.
4075 2007-12-14 Ray Strode <rstrode@redhat.com>
4077 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
4078 instead of g_signal_connect_after (..., "realize", ...) as an
4079 alternative to gtk_widget_realize () (bug 503537).
4081 2007-12-14 Michael Natterer <mitch@imendio.com>
4083 * gdk/gdkinternals.h
4084 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
4087 * gdk/gdkapplaunchcontext.c
4088 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
4089 header already includes everything now.
4091 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4093 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
4094 next stable release shall be 2.16, not 2.14 - even if disagree.
4096 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
4098 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4100 Change GtkToolItem to retrieve its properties from GtkToolShell
4101 interface, instead of relying on being child of a GtkToolbar.
4104 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
4105 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
4106 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
4107 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
4108 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
4109 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
4110 Take section docs from template file and update them for GtkToolShell.
4111 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
4112 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
4114 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4116 Extract loading of GtkPageSetup and GtkPrintSettings from their
4117 *_new_*() functions and move that code into separate
4118 *_load_*() functions (#475565).
4120 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
4121 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
4122 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
4123 Change the matching *_new_*() functions to use those functions.
4125 2007-12-14 Matthias Clasen <mclasen@redhat.com>
4128 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
4130 2007-12-14 Kristian Rietveld <kris@imendio.com>
4132 * gtk/tests/liststore.c:
4133 * gtk/tests/treestore.c: added tests for insertion functions.
4135 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
4137 * Add RandR 1.2 support
4139 - New monitors_changed signal - New API to get width/height of
4140 monitors, and the name of the plug
4142 2007-12-13 Kristian Rietveld <kris@imendio.com>
4144 * gtk/tests/liststore.c:
4145 * gtk/tests/treestore.c: test the move and swap functions on a
4146 store with only one node.
4148 2007-12-13 Kristian Rietveld <kris@imendio.com>
4150 * gtk/gtktestutils.c (gtk_test_init): add a call to
4153 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
4156 2007-12-13 Kristian Rietveld <kris@imendio.com>
4158 * gtk/tests/liststore.c:
4159 * gtk/tests/treestore.c: start composing tests for the list and tree
4162 * gtk/tests/treeview-scrolling.c: added automated tests for
4163 GtkTreeView's scrolling "subsystem".
4165 * gtk/tests/Makefile.am: updated; added new test programs.
4167 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
4169 Make the code compile again after the GdkAppLaunchContext changes.
4171 * configure.in: Add gio-2.0 to GDK_PACKAGES.
4172 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
4174 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4176 * gdk/gdkapplaunchcontext.c: Add docs
4178 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4180 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
4181 in gdk, providing startup notification. (#503203)
4183 * gdk/x11/gdkapplaunchcontext-x11.c:
4184 * gdk/win32/gdkapplaunchcontext-win32.c:
4185 * gdk/quartz/gdkapplaunchcontext-quartz.c:
4186 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
4187 parts. All but X11 are just empty stubs for now.
4190 * gdk/gdkinternals.h:
4192 * gdk/x11/Makefile.am:
4193 * gdk/win32/Makefile.am:
4194 * gdk/quartz/Makefile.am:
4195 * gdk/directfb/Makefile.am: Necessary glue.
4197 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
4199 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
4201 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4203 * gdk/directfb/gdktestutils-directfb.c:
4204 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
4205 which adds testing functions to the DirectFB backend.
4207 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4209 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
4210 Ciccani which fixes the mixing of gdk and cairo rendering.
4212 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
4214 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
4215 on "drag-motion" handlers. Clearify documentation for
4218 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
4220 * buildertest.c: made unnecessarily exported symbols static.
4221 switched g_return_if_fail() statements in tests to assertions.
4222 special cased currently failing Widget/accesibility test to
4223 run only for g_test_thorough(), so it doesn't break make check.
4224 some coding style fixes.
4226 * Makefile.am: added buildertest to TEST_PROGS.
4228 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4230 * docs/tutorial/gtk-tut.sgml:
4231 Use gtk_widget_get_parent_window() instead of widget->parent->window.
4233 2007-12-10 Richard Hult <richard@imendio.com>
4235 * gdk/quartz/Makefile.am:
4236 * gdk/quartz/gdkquartz.h:
4237 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
4238 header (bug #405915). Also add a getter for the toplevel nswindow.
4240 2007-12-10 Richard Hult <richard@imendio.com>
4242 * gdk/quartz/gdkdrawable-quartz.c:
4243 (gdk_quartz_drawable_get_context),
4244 (gdk_quartz_drawable_release_context):
4245 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
4246 (gdk_event_check), (gdk_event_dispatch), (poll_func):
4247 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
4248 used for each drawing context and in prepare, dispatch and poll
4249 with one that exists across each main loop iteration. Fixes leaks
4250 on leopard and protects against future leaks introduce when the
4251 underlying system changes again (bug #492977).
4253 2007-12-10 Richard Hult <richard@imendio.com>
4255 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
4256 Fix the check for no changes to position and size.
4258 2007-12-10 Richard Hult <richard@imendio.com>
4260 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
4261 sized areas at (0, 0), patch from Paul Davis.
4263 2007-12-10 Richard Hult <richard@imendio.com>
4265 * gdk/quartz/gdkprivate-quartz.h:
4266 * gdk/quartz/gdkeventloop-quartz.c:
4267 (_gdk_quartz_event_loop_get_pending),
4268 (_gdk_quartz_event_loop_check_pending),
4269 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
4270 (gdk_event_check), (gdk_event_dispatch):
4271 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
4272 (_gdk_events_queue): Fix a bug where we could end up trying to
4273 handle the same event more than once. Based on patch from Paul
4276 2007-12-10 Tor Lillqvist <tml@novell.com>
4278 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
4281 2007-12-10 Matthias Clasen <mclasen@redhat.com>
4283 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
4284 to avoid further fallout from the fix for bug 388321.
4286 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4288 * gdk/directfb/gdkgc-directfb.c:
4289 * gdk/directfb/gdkdrawable-directfb.c:
4290 * gdk/directfb/gdkdirectfb.h:
4291 * gdk/directfb/gdkwindow-directfb.c:
4292 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
4293 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
4294 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
4295 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
4296 which are expected to improve the performance of the DirectFB backend.
4297 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
4299 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4301 * gtk/gtkcontainer.c: Correct the documentation of child
4302 property getter arguments. (#501992, David Brigada)
4304 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4306 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
4307 leak pixbufs. (#502250, Yevgen Muntyan)
4309 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
4311 * gtk/gtkprintunixdialog.c:
4312 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
4313 Print and Page Setup dialogs (#502202).
4315 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
4317 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
4318 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
4319 of XVFB_START, since it's the GTESTER invokation that needs this.
4321 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
4323 * gdk-pixbuf/gdk-pixbuf.symbols:
4325 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
4326 positives in abicheck.sh
4328 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4330 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
4331 GDK events generations in the DirectFB backend.
4333 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
4335 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
4336 set of likely unused display ids, because MacOS has no seq(1) command.
4338 2007-12-06 Richard Hult <richard@imendio.com>
4340 * gdk/quartz/gdkevents-quartz.c:
4341 (synthesize_crossing_events_for_ns_event): Fix warning when
4342 switching spaces in leopard.
4344 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
4346 * tests/floatingtest.c: ported to new testing framework.
4348 * tests/Makefile.am: run floatingtest as testing framework test.
4350 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
4352 * tests/autotestfilechooser.c: majorly speed up execution by reducing
4353 timeouts and converting main loop sleeps to pending/iterate loops with
4354 very low priority async handlers. eliminate output for non-verbose
4355 tests. assert successfull subtests in all test functions. use testing
4356 framework in main().
4358 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
4359 executed inside Xvfb upon make check.
4361 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
4363 * tests/objecttests.c: use string comparisons for string property
4364 values and get rid of referencing symbols in array initialization.
4366 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
4368 * gtk+/Makefile.decl: run tests in current dir after setting up the
4369 logging directory, so their results get properly merged into the
4372 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
4373 tests to loop over registered Gdk/Gtk+ types.
4375 * gtk+/tests/objecttests.c: new test program, implements automated
4376 property tests. several properties are blacklisted because they
4377 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
4378 can be used to test blacklisted properties and see which proprty failed.
4380 2007-12-04 Richard Hult <richard@imendio.com>
4382 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
4383 Fully initialize the root window, fixes bug #501583.
4385 2007-12-04 Matthias Clasen <mclasen@redhat.com>
4387 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
4390 2007-12-03 Richard Hult <richard@imendio.com>
4392 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4393 Don't crash when dragging from a source that doesn't support uri
4394 lists (bug #499868, Paul Davis).
4396 2007-12-03 Richard Hult <richard@imendio.com>
4398 * gdk/quartz/gdkwindow-quartz.c:
4399 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
4400 parent relative bg pixmap is set, and no parent has a bg
4401 pixmap. Fixes bug #500804.
4403 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4405 Two optimizations for icon cache lookups.
4407 * gtk/gtkiconcache.[hc]:
4408 * gtk/gtkicontheme.c: Remember the directory index for
4409 subdirectories, instead of running over the directory list
4412 * gtk/gtkiconcache.c (find_image_offset): Remember the last
4413 chain and try it first; this helps with the the usage patterns
4414 in gtkicontheme.c, where the same icon is queried for a lot
4417 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
4419 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
4420 functions from header files. this should be portable across linux and
4421 Mac OS, unlike the previpous sed expression.
4423 2007-12-1 Cody Russell <bratsche@gnome.org>
4425 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
4426 On Windows, queue a redraw of child2 whenever we set
4427 the pane handle position. This is unfortunately kind
4428 of hacky, but solves the visual artifacts that were
4429 occuring on at least certain types of child widgets
4430 (e.g., text views and tree views) that are inside
4431 horizontal or vertical panes. (#144269)
4433 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4435 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
4437 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4439 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
4442 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4444 * gtk/Makefile.am: Fix ordering of subdirs.
4446 2007-11-28 Tor Lillqvist <tml@novell.com>
4448 A proper build of GNU libintl is supposed to export the variable
4449 _nl_msg_cat_cntr. configure looks for that variable in order to
4450 recognize GNU gettext. If it sees that it is indeed GNU gettext
4451 that is used, it decides to install message catalogs in
4452 share/locale, otherwise in lib/locale. Until now on Windows I have
4453 built GTK+ against a build of GNU gettext that did not export
4454 _nl_msg_cat_cntr. But this will change, so we can't assume message
4455 catalogs are always in lib/locale.
4457 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
4458 GTK_LOCALEDIR being either in "lib" or "share". Move the function
4459 before the inclusion of gtkprivate.h so that it sees the original
4462 * gtk-zip.sh.in: Check whether the message catalogs are in
4463 share/locale or lib/locale.
4465 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
4466 that the code in _gtk_get_localedir() will find the slashes.
4468 2007-11-28 Tor Lillqvist <tml@novell.com>
4470 * gtk/Makefile.am: Improve portability. The -o option is present
4471 only in newish GNU egreps. Use one more sed in the pipeline
4474 2007-11-28 Tor Lillqvist <tml@novell.com>
4476 Fix #375893, patch by Ben Hague:
4478 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
4479 around GetLogicalDrives() that takes also the viewable drive
4480 restrictions in the Registry (which are usually the result of an
4481 Active Directory Group Policy) into account.
4483 (check_volumes, gtk_file_system_win32_list_volumes) Call
4484 get_viewable_logical_drives() instead of GetLogicalDrives().
4486 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4488 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
4489 variables to silence valgrind. (#495124, Morten Welinder)
4491 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4493 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
4494 that the construct_child function is responsible for returning a
4496 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
4497 objects from constructors
4498 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
4499 g_object_ref() to this construction function (it's the only
4504 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4506 * gtkbuilder.c: remove concept of root objects and just refcount
4507 all objects in the builder. Fixes #496651.
4509 2007-11-26 Ryan Lortie <desrt@desrt.ca>
4511 * tests/buildertest.c (test_window): fix invalid free
4513 2007-11-26 Josselin Mouette <joss@malsain.org>
4515 reviewed by: Federico Mena Quintero
4517 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
4518 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
4519 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
4520 Make the shortcuts activate with a single click. (#148828)
4521 Fix a few things affected by the change:
4522 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
4523 where no shortcut is selected.
4524 - Don't activate a shortcut in the response callback.
4525 - Filter out duplicate entries in volumes and bookmarks to
4526 avoid the selection to change when reordering them with DnD.
4528 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4531 * gtk/gtknotebook.c:
4532 * gtk/gtkplugprivate.h:
4534 * gtk/gtksocketprivate.h:
4535 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
4537 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4539 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
4540 (#495574, Richard Hult)
4542 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4544 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
4545 String change ! (#376361, Sven Neumann)
4547 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4549 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
4551 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
4554 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4556 * gtk/gtkassistant.c: Improve alternative button
4557 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
4559 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4561 * gtk/gtkcalendar.c: Fix a theming problem with colors
4562 in GtkCalendar. (#499703, Michael Hofmann)
4564 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4566 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
4568 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4570 Use templates for glib-mkenums calls instead of
4571 complicated commandlines in Makefiles. (#429910)
4573 * gdk-pixbuf/Makefile.am:
4576 * perf/Makefile.am: Use templates for glib-mkenums
4578 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
4579 * gdk/gdkenumtypes.[ch].template:
4580 * gtk/gtktypebuiltings.[ch].template:
4581 * perf/typebuiltins.[ch].template: The templates
4583 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4585 * gtk/gtkfilechooserbutton.c:
4586 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
4587 some compilers choke on that. (#467722)
4589 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4591 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
4592 about hook setup. (#425004, Emmanuele Bassi)
4594 2007-11-26 Tor Lillqvist <tml@novell.com>
4596 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
4597 monitor the window currently is on, not always the primary
4598 monitor. (#463865, Tim Evans)
4600 2007-11-26 Tor Lillqvist <tml@novell.com>
4602 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
4604 * gdk/win32/Makefile.am: Add it.
4606 2007-11-26 Tor Lillqvist <tml@novell.com>
4608 * configure.in: Don't add jasper to all_loaders if no libjasper.
4610 2007-11-25 Bastien Nocera <hadess@hadess.net>
4612 * configure.in: Add detection for libjasper, used by the
4613 gdk-pixbuf JPEG2000 loader
4615 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4617 * configure.in: Require gtk-doc 1.8
4619 * */*.c: Use gtk-doc abbreviations for examples in docs.
4621 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4623 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
4626 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4628 * gtk/gtkdialog.c: Move signal and property documentation inline,
4629 fix a problem with the ::response signal docs. (#499133, Josselin
4632 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
4634 * Makefile.decl: initialize automake variables EXTRA_DIST and
4635 TEST_PROGS for unconditional appending via += in other makefiles.
4636 define recursive test targets: test, test-report, perf-report,
4637 full-report, as described here:
4638 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
4639 the test targets will execute Gtk+ test programs within an Xvfb session.
4641 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
4643 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
4644 g_test_run() to run the tests to integrate with the testing framework.
4646 * gtk/tests/Makefile.am: removed exemplary testing rules.
4648 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
4649 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
4650 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
4651 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
4652 * docs/reference/Makefile.am, docs/tools/Makefile.am:
4653 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
4654 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
4655 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
4656 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
4657 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
4658 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
4659 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
4660 * modules/engines/ms-windows/Theme/Makefile.am:
4661 * modules/engines/ms-windows/Makefile.am:
4662 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
4663 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
4664 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
4665 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
4666 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
4667 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
4668 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
4670 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4672 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
4673 (#485662, patch by Herbert Valerio Riedel)
4675 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4677 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
4679 2007-11-21 Richard Hult <richard@imendio.com>
4681 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
4682 stubs for the testing functions to fix the build.
4684 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4686 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
4687 (#467711, The Written Word)
4689 2007-11-21 Ross Burton <ross@openedhand.com>
4691 * gdk/x11/gdksettings.c:
4692 Add xsetting for gtk-scrolled-window-placement (#458103).
4694 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4696 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
4697 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
4698 (#469239, Michael Natterer)
4700 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4702 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
4703 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
4704 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
4705 (#436536, Tommi Komulainen)
4707 2007-11-21 Matthias Clasen <mclasen@redhat.com>
4709 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
4710 property. (#489782, Jan Janech)
4712 2007-11-20 Matthias Clasen <mclasen@redhat.com>
4714 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
4715 frames. (#107398, Owen Taylor, Miguel Gomez)
4717 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
4719 Moved Gdk test functions from Gtk+ to Gdk test utils.
4721 * gdk/Makefile.am: added gdktestutils.h to public includes.
4723 * gdk/gdk.h: added gdktestutils.h to public includes.
4725 * gdk/gdk.symbols: added gdk_test_simulate_button,
4726 gdk_test_simulate_key, gdk_test_render_sync.
4728 * gdk/gdktestutils.h: new file, added prototypes for
4729 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
4731 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
4733 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
4734 gdk_test_simulate_key, gdk_test_render_sync.
4736 * gtk/gtktestutils.c:
4737 * gtk/gtktestutils.h:
4738 * gtk/gtk.symbols: removed gtk_test_simulate_button
4739 gtk_test_simulate_key, gtk_test_xserver_render_sync.
4741 * gtk/tests/testing.c: call gdk_test_render_sync.
4743 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
4745 Added unit tests for Gtk+ testing utilities.
4747 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
4748 utility functions. some g_test_* related portions are disabled and need
4749 to be enabled once Gtk+ depends on a new glib with the GLib testing
4750 framework integrated.
4752 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
4753 tests. added exemplary test rules to run tests inside Xvfb. this
4754 needs to depend on gtester for full fledged testing.
4756 * gtk/Makefile.am: build gtk+/gtk/tests, define
4757 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
4758 e.g. gtk_text_get_type().
4760 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
4762 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
4764 Added Gtk+ testing utilities.
4766 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
4767 functions. for the most part, the functions herein involve
4768 navigating and interacting with dialog elements programatically,
4769 to automate user interaction tests of dialogs and widgets.
4771 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
4773 * gtk/gtk.symbols: added gtk_test_* symbols.
4775 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
4776 the build. generate gtktypefuncs.c which contains a list of all
4777 _get_type functions in Gtk+ and Gdk.
4779 2007-11-20 Bastien Nocera <hadess@hadess.net>
4781 * configure.in: add support for conditional icns gdk-pixbuf loader
4784 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
4786 * configure.in: updated version number to 2.15.0 for development.
4788 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
4790 === Branch for 2.12 ===