1 2008-05-28 Kristian Rietveld <kris@imendio.com>
3 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
6 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
7 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
8 custom_was_reset field to check if the custom widget is set again in
9 the query-tooltip callback; if not, we set it to NULL. Based on a
10 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
13 2008-05-28 Michael Natterer <mitch@imendio.com>
15 * modules/printbackends/cups/gtkcupsutils.c
16 * modules/printbackends/cups/gtkprintbackendcups.c
17 * modules/printbackends/file/gtkprintbackendfile.c
18 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
19 <gtk/gtk.h> instead of individual files.
21 2008-05-28 Michael Natterer <mitch@imendio.com>
23 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
26 2008-05-28 Kristian Rietveld <kris@imendio.com>
28 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
30 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
31 ->priv->tree != NULL. Suggestion from Stefan Kost.
33 2008-05-28 Kristian Rietveld <kris@imendio.com>
35 Bug 324282 - add selected signal to cell renderer combo.
37 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
38 (gtk_cell_renderer_combo_changed),
39 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
40 that will be emitted as soon as the combo box emitted changed and has
41 an active iterator. (Modified patch based on work by James
44 * gtk/gtkmarshalers.list: add marshaler.
46 2008-05-28 Kristian Rietveld <kris@imendio.com>
48 Refactor expand/collapse timeout handling (amendment to bug 511217).
50 * gtk/gtktreeview.c (add_expand_collapse_timeout),
51 (remove_expand_collapse_timeout): new functions, the remove function
52 also clears expanded_collapsed_node,
53 (cancel_arrow_animation): moved to be next to the add/remove timeout
55 (gtk_tree_view_unrealize),
56 (gtk_tree_view_row_deleted),
57 (gtk_tree_view_set_model),
58 (cancel_arrow_animation),
59 (gtk_tree_view_real_expand_row),
60 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
62 2008-05-28 Kristian Rietveld <kris@imendio.com>
64 Amendment of bug 485218 - Strange warning encountered.
66 * gtk/gtktreemodelsort.[ch]
67 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
68 indication whether or not the conversion had succeeded.
70 2008-05-27 Matthias Clasen <mclasen@redhat.com>
72 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
74 * modules/printbackends/cups/gtkprintbackendcups.c
75 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
76 if the printer does not support level 3. Patch by Marek Kašík.
78 2008-05-27 Matthias Clasen <mclasen@redhat.com>
80 Bug 404571 - Scroll arrow backgrounds should be painted with different
83 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
84 as detail when drawing scroll arrow backgrounds. Proposed by
87 2008-05-27 Matthias Clasen <mclasen@redhat.com>
89 Bug 511217 - potential memory corruption after refreshing a tree_view
91 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
92 expanded_collapsed_node when canceling the animation.
93 Patch by Nicholas Setton.
95 2008-05-28 Michael Natterer <mitch@imendio.com>
97 * modules/input/gtkimcontextime.h
98 * modules/input/gtkimcontextmultipress.h
99 * modules/input/gtkimcontextthai.h
100 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
103 * modules/input/gtkimcontextime.c
104 * modules/input/gtkimcontextmultipress.c
105 * modules/input/gtkimcontextxim.c
106 * modules/input/imam-et.c
107 * modules/input/imcedilla.c
108 * modules/input/imcyrillic-translit.c
109 * modules/input/iminuktitut.c
110 * modules/input/imipa.c
111 * modules/input/imti-er.c
112 * modules/input/imti-et.c
113 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
114 "gtk/gtkintl.h" to the end of includes.
116 2008-05-28 Michael Natterer <mitch@imendio.com>
118 * modules/engines/pixbuf/pixbuf-style.h
119 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
120 instead of individual files.
122 2008-05-27 Matthias Clasen <mclasen@redhat.com>
124 Bug 485218 - Strange warning encountered
126 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
127 (gtk_tree_model_sort_convert_child_iter_to_iter):
128 (gtk_tree_model_sort_build_level): Better warnings. Patch
129 by Kristian Rietveld.
131 2008-05-27 Matthias Clasen <mclasen@redhat.com>
133 Bug 351910 - Search column setting lost
135 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
136 the docs. Patch by Matt Barnes.
138 2008-05-27 Matthias Clasen <mclasen@redhat.com>
140 Bug 477278 - avoid unnecessary pointer subtraction
142 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
143 subtraction that sparse complains about. Patch by Christian
146 2008-05-27 Matthias Clasen <mclasen@redhat.com>
148 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
150 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
151 Commit the entry text before doing an increment. Patch by
154 2008-05-27 Federico Mena Quintero <federico@novell.com>
156 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
157 drag and drop from the file list into itself, as it doesn't make
158 sense (it would just change the current folder).
160 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
161 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
164 2008-05-27 Michael Natterer <mitch@imendio.com>
166 * gtk/gtksignal.h: move deprecated guards around everything,
167 including includes and include guards (just as in all other
170 2008-05-27 Tor Lillqvist <tml@novell.com>
172 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
173 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
174 <sys/stat.h> on Windows, and the mode used in open() doesn't
175 matter much as there are no rwxrwxrwx bits on Windows anyway.)
176 Open file in binary mode. Passing "b" to fdopen() later isn't
179 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
181 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
182 invalid or invisible widgets.
184 2008-05-27 Matthias Clasen <mclasen@redhat.com>
186 Bug 531008 – Crash in gtkprintunixdialog.c
188 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
189 the dialog closes. Patch by Yevgen Muntyan.
191 2008-05-27 Matthias Clasen <mclasen@redhat.com>
193 RH bug 248245: cups client printing from gnome applications fail
195 * modules/printbackends/cups/gtkprintbackendcups.c
196 (gtk_print_backend_cups_print_stream): Specify the right server.
198 2008-05-27 Carlos Garnacho <carlos@imendio.com>
200 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
201 rubberbanding when "select-multiple" is TRUE. Bug #446068.
203 2008-05-27 Carlos Garnacho <carlos@imendio.com>
205 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
206 correctly dialog buttons sensitivity when the anonymous option is
207 enabled by default. Bug #531865.
209 2008-05-27 Carlos Garnacho <carlos@imendio.com>
211 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
212 password dialog modal and transient for the parent window also if it
213 was specified in the constructor. Bug #531864.
215 2008-05-26 Richard Hult <richard@imendio.com>
217 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
218 setting the default font, might need to tweak this.
220 2008-05-26 Michael Natterer <mitch@imendio.com>
222 * examples/gtkdial/gtkdial.h
223 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
225 2008-05-26 Michael Natterer <mitch@imendio.com>
227 * gtk/gtkimmodule.h: fix indentation.
229 2008-05-26 Michael Natterer <mitch@imendio.com>
231 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
233 * gtk/gtkshow.c: remove inclusion of single files from gdk/
235 Removed trailing whitespace in both files.
237 2008-05-26 Richard Hult <richard@imendio.com>
239 Bug 530353 – Mac-like gtk_accelerator_get_label()
241 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
242 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
243 On quartz, make gtk_accelerator_get_label() format a Mac-like
244 string, using unicode characters for modifier keys, arrows, delete
245 etc. Patch from Yevgen Muntyan.
247 2008-05-26 Richard Hult <richard@imendio.com>
249 Bug 534869 – Length miscalculation in
250 _gtk_quartz_get_selection_data_from_pasteboard
252 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
253 Get the number of bytes, not the number of characters, patch from
256 2008-05-26 Matthias Clasen <mclasen@redhat.com>
258 * gtk/gtkwidget.c: Some doc formatting fixes.
260 2008-05-26 Matthias Clasen <mclasen@redhat.com>
262 Bug 511163 – Remove pango_extents_to_pixels() calls
264 * gtk/gtkcellrenderertext.c (get_size): Use
265 pango_layout_get_pixel_extents.
267 * configure.in: Bump Pango requirement to 1.20
269 * INSTALL.in: Update required versions
271 2008-05-26 Matthias Clasen <mclasen@redhat.com>
273 Bug 513811 – Use cairo_format_stride_for_width()
275 * gtk/gtkhsv.c (paint_ring, paint_triangle):
276 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
277 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
279 * configure.in: Bump cairo requirement to 1.6.0
281 * INSTALL.in: Update required versions
283 2008-05-26 Matthias Clasen <mclasen@redhat.com>
285 * gtk/gtkshow.[hc]: Formatting fixes
287 * gtk/gtkmountoperation.c: Add docs
289 2008-05-25 Cody Russell <bratsche@gnome.org>
291 Bug 507389 – use gslice for gtksettings
293 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
294 Report and patch by Christian Persch.
296 2008-05-25 Cody Russell <bratsche@gnome.org>
298 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
299 when options are missing
301 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
302 that other processes that try to open it will fail gracefully. Also
303 fix a crasher caused by lack of a NULL check. Report and patch
306 2008-05-25 Cody Russell <bratsche@gnome.org>
308 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
310 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
311 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
312 so that we also take into account for foreign windows.
313 Report and patch by Nathaniel Smith.
315 2008-05-25 Cody Russell <bratsche@gnome.org>
317 Bug 525461 - Don't invalidate under an input-only child
319 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
320 Check that the window is not input-only before invalidating.
321 Report and patch by Owen Taylor.
323 2008-05-25 Cody Russell <bratsche@gnome.org>
325 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
328 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
329 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
331 2008-05-25 Cody Russell <bratsche@gnome.org>
333 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
334 caused by missing flag initialization
336 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
337 top-level private flags correctly. Patch by Danny Baumann.
339 2008-05-25 Cody Russell <bratsche@gnome.org>
341 Bug 534463 - non-editable GtkTextView should not call
342 gtk_im_context_focus_in in focus event
344 * gtk/gtktextview.c: Add checks to see if the textview is
345 editable. Patch by Wang Diancheng.
347 2008-05-25 Matthias Clasen <mclasen@redhat.com>
349 Bug 501730 – use GSlice for small allocs
352 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
353 Patch by Christian Persch.
355 2008-05-25 Matthias Clasen <mclasen@redhat.com>
357 Bug 523930 – sort -> search in gtktreeview.c
359 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
360 glitch, pointed out by Björn Lindqvist.
362 2008-05-25 Matthias Clasen <mclasen@redhat.com>
364 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
366 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
367 doc glitch, pointed out by Christian Persch.
369 2008-05-25 Matthias Clasen <mclasen@redhat.com>
371 Bug 534694 – Col id in GtkListStore could be out of range
373 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
374 a bit. Pointed out by Jan Arne Petersen.
376 2008-05-25 Matthias Clasen <mclasen@redhat.com>
378 Bug 532497 – Configure problem when cross-compiling
380 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
381 pointed out by Marko Lindqvist.
383 2008-05-25 Richard Hult <richard@imendio.com>
385 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
386 Slight coding style cleanup.
388 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
390 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
391 Added support for parsing required toolkit versions (so that ui descriptions
392 can target specific versions of the backend widget libraries) bug 527612.
394 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
395 for the added xml tags to the ui description.
397 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
398 for requires tag handling.
400 2008-05-25 Richard Hult <richard@imendio.com>
402 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
403 gtk_drag_source_info_destroy in an idle, workaround for bug
404 #501588, that makes any code that uses the context returned from
405 gtk_drag_begin() crash, like treeview/iconview dnd.
406 (GdkDragSourceOwner::provideDataForType): only use the data if we
409 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
411 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
412 to the drag actions to allow trash (#137717).
414 2008-05-25 Josselin Mouette <joss@malsain.org>
416 reviewed by: Matthias Clasen
418 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
419 check that tracker is actually working before using it. Fixes
422 2008-05-25 Sven Neumann <sven@gimp.org>
424 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
425 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
426 and don't create an output window if it is set.
428 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
429 drawing areas. Fixes bug #519317.
431 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
433 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
434 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
436 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
437 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
438 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
439 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
440 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
441 (start_spinning), (gtk_spin_button_button_release),
442 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
443 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
444 (gtk_spin_button_update): Reorder strange window hierarchy of the
445 GtkSpinButton (#466000).
447 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
449 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
450 fix the wrong position for right and center justified labels with
451 logical.x > 0 (#530255).
453 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
455 * gtk/gtkfilechooserdefault.c:
456 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
459 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
461 * tests/pixbuf-lowmem.c
462 * tests/pixbuf-random.c
463 * tests/pixbuf-randomly-modified.c
464 * tests/pixbuf-read.c
465 * tests/pixbuf-threads.c
467 * tests/testtreeview.c: Fix remaining compiler warnings in these
470 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
472 reviewed by: Matthias Clasen
477 * gtk/gtkshow.c: (gtk_show_uri):
479 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
481 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
483 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
485 * tests/buildertest.c: (test_list_store): Add test.
487 2008-05-24 Matthias Clasen <mclasen@redhat.com>
489 Bug 520989 – icon factory buildable too strict
491 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
492 an optional attribute.
494 2008-05-24 Matthias Clasen <mclasen@redhat.com>
496 Bug 387972 – gtkassistant drawing problem
498 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
499 GtkAssistant work better in glade.
501 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
503 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
504 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
505 used in GtkToolItem) (#532787).
507 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
509 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
510 try to toggle the visibility of the location entry field in search and
511 recent mode (#526422).
513 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
515 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
516 (shortcuts_list_create): Show parse name as tooltip for path
519 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
521 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
522 pango_color_parse, do not reference XParseColor forms (#434991).
524 2008-05-24 James Sharpe <jsharpe@gnome.org>
526 * gdk/gdk.symbols: Remove duplicate
527 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
528 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
530 2008-05-23 Hans Breuer <hans@breuer.org>
532 * **/makefile.msc gtk/makefile.msc.in : updated
533 * gtk/gtkwidget.c : fix c99ism (variable at start of block
534 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
536 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
537 setlocale(LC_ALL, ...)
539 2008-05-23 Tor Lillqvist <tml@novell.com>
541 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
542 gdk_window_remove_redirection.
544 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
545 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
546 changes. Remove now unnecessary parameter checks as the caller
549 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
551 2008-05-23 Tor Lillqvist <tml@novell.com>
553 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
554 anything if style doesn't change. Improve debugging output.
556 2008-05-23 Michael Natterer <mitch@gimp.org>
559 * tests/print-editor.c
560 * tests/prop-editor.h
561 * tests/testmountoperation.c
562 * tests/testmultidisplay.c
563 * tests/testnouiprint.c
565 * tests/testprintfileoperation.h
566 * tests/testtreesort.c
567 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
568 files. Remove some redundant includes.
570 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
572 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
573 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
575 2008-05-21 Richard Hult <richard@imendio.com>
577 * gdk/quartz/gdkwindow-quartz.c:
578 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
579 offscreen rendering changes, fixes build.
581 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
583 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
585 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
586 return snapshot pixmap coordinates widget relative in *clip_rect.
588 * tests/testgtk.c: fixed bogus NULL pointer unref.
590 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
592 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
593 widget's allocation to cover extra widget windows placed outside the
594 widget allocation (spinbutton arrows are the prime example for this).
596 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
598 * Applied pixmap redirection patch by Alexander Larsson with
599 various updates from:
600 Bug 318807 – Offscreen windows and window redirection.
605 * updated docs to mention "Since 2.16".
607 * tests/testgtk.c: fixed snapshooting pixmap leak.
608 convert pixmap to pixbuf after snapshooting, to compensate for different
609 bit depths (occurs when snapshooting ARGB visuals and displaying the
610 pixmap in an RGB visual).
612 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
614 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
615 need for it. enqueue damage notification as GDK_DAMAGE events
616 for each painting redirection at the start of the event queue.
617 consider windows with a redirection fully visible when invalidating,
618 and when updating from backing store. cleaned up stale variables.
620 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
622 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
623 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
624 tree, drawingarea, text, handlebox, etc.
625 clip the redirected window hierarchy to window sizes, the visible
626 rectangles don't need to be taken into account here.
627 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
628 in case pixmap visuals could mismatch.
630 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
635 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
636 of possibly obscured widgets into an offscreen pixmap.
638 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
639 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
641 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
643 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
644 implementations here, adapted them to propagate redirects to child windows.
645 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
646 clipped to visible region. queue GDK_DAMAGE event delivery.
647 gdk_window_redirect_to_drawable(): install window painting redirection.
648 gdk_window_remove_redirection(): remove previously installed redirection.
650 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
651 renamed _gdk_window_new() and _gdk_window_reparent().
653 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
654 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
656 * gdk/gdkevents.h: added GDK_DAMAGE event type.
658 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
660 * gdk/gdkinternals.h: added internal prototypes.
662 2008-05-21 Michael Natterer <mitch@imendio.com>
668 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
670 2008-05-20 Matthias Clasen <mclasen@redhat.com>
672 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
675 Patch by Marek Kasik.
678 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
680 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
682 * modules/printbackends/file/gtkprintbackendfile.c:
683 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
684 get_default_page_size.
686 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
687 select its default paper size.
689 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
690 use the printer default.
692 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
693 if we don't have a default page setup.
695 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
697 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
698 can accept NULL for none. Fixes bug #533920.
700 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
702 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
703 gtk_spin_button_update): Remove two chunks of duplicated
706 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
708 * reverted recent unapproved changes by Yair Hershkovitz,
709 regarding: Bug 503071 – Application direction changes to right
710 to left even if theres no translation.
712 2008-05-19 Richard Hult <richard@imendio.com>
714 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
715 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
716 SetSystemUIMode instead of hiding and showing the menubar.
718 2008-05-19 Federico Mena Quintero <federico@novell.com>
720 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
721 can't be resized until you expand the "Browse for other folders"
724 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
725 Removed the "get_resizable" method.
726 (_gtk_file_chooser_embed_get_resizable): Removed.
728 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
730 * gtk/gtkfilechooserdefault.c: Likewise.
732 * gtk/gtkfilechooserdialog.c
733 (file_chooser_widget_default_size_changed): Act as if the dialog
734 were always resizable.
736 2008-05-19 Michael Natterer <mitch@imendio.com>
738 * gtk/gtkcellrenderer.c
739 * gtk/gtkcellrendererpixbuf.c
740 * gtk/gtkcellrenderertoggle.c
741 * gtk/gtkimagemenuitem.c
742 * gtk/gtkmenutoolbutton.c
743 * gtk/gtkoptionmenu.c
745 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
747 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
749 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
750 g_disable_setlocale().
752 2008-05-17 Richard Hult <richard@imendio.com>
754 * gdk/quartz/gdkwindow-quartz.c:
755 (gdk_window_impl_quartz_invalidate_maybe_recurse):
756 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
757 of g_idle_add. Add a temporary check if the window is already in
758 the updates list, since update_area currently doesn't always match
759 the backend's state, see bug #530801.
761 2008-05-13 Tor Lillqvist <tml@novell.com>
763 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
765 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
766 the "packet rate" of devices to zero instead of 50. This is
767 reported to help significantly with Wacom tablet behaviour in GIMP
768 and Inkscape. Patch from Thomas Bleeker.
770 2008-05-12 Richard Hult <richard@imendio.com>
772 * gdk/quartz/gdkevents-quartz.c:
773 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
774 as it's no longer necessary; instead the added quartz API to get
775 the nsevent from an event should be used. Also move the global
776 filter up so it's done before the check for window-less events.
778 2008-05-12 Tor Lillqvist <tml@novell.com>
780 Bug 532558 - Cannot build dll when using separate builddir
783 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
786 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
788 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
790 2008-05-12 Tor Lillqvist <tml@novell.com>
792 Bug 532059 - Leak in win32 clipboard manipulation
794 * gdk/win32/gdkselection-win32.c
795 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
798 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
800 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
801 gettext_initialization only once.
803 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
804 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
805 with the extended functionality that was in the removed dpgettext().
807 * gtk/gtkaccellabelc:
809 * gtk/gtkimmulticontext.c:
810 * gtk/gtkactiongroup.c:
811 * gtk/gtkintl.h: use glib i18n api.
813 2008-05-08 Richard Hult <richard@imendio.com>
815 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
816 currently invalidated region. Fixes bug #532048, patch by Yevgen
819 2008-05-08 Richard Hult <richard@imendio.com>
821 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
822 fd's revents, not the first one. Fixes bug #531056, spotted by
825 2008-05-07 Tor Lillqvist <tml@novell.com>
827 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
830 2008-05-05 Matthias Clasen <mclasen@redhat.com>
832 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
833 more printer status information in the print dialog.
835 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
836 printer-state-reasons into suitable messages and icons.
838 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
839 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
840 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
842 * gtk/gtkiconfactory.c:
843 * gtk/gtkstock.h: New stock icons to display printer state.
845 2008-05-07 Michael Natterer <mitch@imendio.com>
849 * gdk/directfb/gdkevents-directfb.c
850 * gdk/quartz/gdkevents-quartz.c
851 * gdk/win32/gdkevents-win32.c
852 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
853 order parameters src,dest and make src const.
855 2008-05-06 Richard Hult <richard@imendio.com>
857 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
858 * gdk/gdkinternals.h: Add private backend data to events, and
859 handle it when copying/freeing events. Currently only needed in
862 * gdk/directfb/gdkevents-directfb.c:
863 * gdk/quartz/gdkevents-quartz.c:
864 * gdk/win32/gdkevents-win32.c:
865 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
866 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
867 directfb. Implement for quartz. Part of fixing bug #473822.
869 2008-05-05 Richard Hult <richard@imendio.com>
871 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
872 framework if there is one.
874 2008-05-05 Michael Natterer <mitch@imendio.com>
876 * gtk/gtkcellrenderercombo.h
877 * gtk/gtkcellrendererspin.h
878 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
881 * gtk/gtkfilechooserdialog.h
882 * gtk/gtkfilechooserwidget.h
883 * gtk/gtkscalebutton.h: reorder instance and class structs to be
886 2008-05-04 Richard Hult <richard@imendio.com>
888 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
889 gdk_unicode_to_keyval() worked before using the result. Makes
890 function keys work, bug #530156. Also add F16 to the function key
893 2008-05-04 Richard Hult <richard@imendio.com>
895 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
896 semicolon after if statement. Fixes bug #530963, patch from Yevgen
899 2008-05-02 Michael Natterer <mitch@imendio.com>
901 * gtk/gtk.h: add 15 files that were missing (they all got included
902 indirectly by including gtk.h, so should have been here in the
905 2008-05-02 Michael Natterer <mitch@imendio.com>
907 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
909 2008-05-01 Richard Hult <richard@imendio.com>
911 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
912 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
914 2008-05-01 Matthias Clasen <mclasen@redhat.com>
916 * modules/imput/imthai.c: Register the right translation domain.
918 2008-04-30 Matthias Clasen <mclasen@redhat.com>
920 Bug 529386 – Printing options hidden by blacklisted option
922 * modules/printbackend/cups/gtkprintbackendcups.c
923 (cups_printer_get_options): Fix the blacklist handling.
924 Patch by Marek Kašík.
926 2008-04-30 Richard Hult <richard@imendio.com>
928 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
931 2008-04-30 Richard Hult <richard@imendio.com>
933 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
934 nsevents with the gdk lock held, fixes deadlock when doing manual
935 window resizing with threading enabled.
937 2008-04-30 Richard Hult <richard@imendio.com>
939 * gdk/quartz/gdkevents-quartz.c:
940 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
941 Alt to Alt and Cmd to Meta. This is not only more logical but also
942 makes it easier to have Mac-like behavior.
944 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
946 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
947 painting the flat box instead of recalculating it. (#437493,
950 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
952 Bug 529841 – incorrect position in directfb
954 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
956 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
958 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
960 2008-04-25 Michael Natterer <mitch@imendio.com>
962 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
963 <pango/pango-layout.h>.
965 * gtk/gtkiconfactory.c
969 * gtk/queryimmodules.c: remove inclusion of single files from
970 pango, none of them was actually needed.
972 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
973 <pango/pango-utils.h>.
975 2008-04-25 Michael Natterer <mitch@imendio.com>
977 * gdk/gdkfont.h: include <pango/pango.h> instead of
978 <pango/pango-font.h>.
980 2008-04-25 Michael Natterer <mitch@imendio.com>
982 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
985 2008-04-21 Michael Natterer <mitch@imendio.com>
987 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
988 crashing when NULL pointers get passed.
990 2008-04-18 Michael Natterer <mitch@imendio.com>
992 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
993 here have the same style.
995 2008-04-18 Michael Natterer <mitch@imendio.com>
998 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
1001 * gtk/gtkbuilderparser.c
1002 * gtk/gtklinkbutton.c
1004 * gtk/gtkrecentchooserdefault.c
1005 * gtk/gtkrecentchoosermenu.c
1006 * modules/input/gtkimcontextthai.c: remove inclusion of single
1007 files from gdk, none of the includes was actually needed.
1009 2008-04-18 Michael Natterer <mitch@imendio.com>
1011 * gdk/gdk.h: reorder one include so they are all alphabetical.
1013 2008-04-18 Michael Natterer <mitch@imendio.com>
1015 * modules/printbackends/cups/gtkprintercups.[ch]
1016 (gtk_printer_cups_get_ppd_name): change return value and local
1017 variable to const gchar* to fix warning about discarding const
1020 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
1022 * gtk/gtkrecentmanager.c:
1023 (gtk_recent_manager_set_filename): Keep the default storage
1024 file in $HOME, as we don't have a migration code in place yet.
1026 2008-04-18 Michael Natterer <mitch@imendio.com>
1028 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
1029 g_strfreev() the uris returned by g_bookmark_file_get_uris().
1031 2008-04-17 Michael Natterer <mitch@imendio.com>
1033 * gtk/gtkiconfactory.c (get_default_icons): register the
1034 GTK_STOCK_PAGE_SETUP icon.
1036 2008-04-17 Michael Natterer <mitch@imendio.com>
1038 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
1039 g_return_if_fail(tooltips != NULL);
1041 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
1043 * gtk/gtkwindow.c: Chain up in buildable_finish()
1045 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
1046 cases where g_path_get_dirname() returns "."
1048 * docs/reference/gtk/tmpl/gtklabel.sgml,
1049 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1050 for the <attributes> tags on GtkLabel
1052 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1054 * gtk/gtkrecentmanager.c:
1055 (gtk_recent_manager_real_changed): Fix last commit, and
1056 complete the gtk-recent-files-max-age semantics: if the
1057 property is set to 0 then purge the list.
1059 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1061 Bug 488507 – boundless growth of .recently-used.xbel file
1062 slows down applications
1064 * gtk/gtkrecentmanager.c:
1065 (gtk_recent_manager_init),
1066 (gtk_recent_manager_real_changed),
1067 (gtk_recent_manager_set_filename),
1068 (gtk_recent_manager_clamp_to_age): Clamp the recently
1069 used resources list by the age of its items, using
1070 the newly added GtkSettings property.
1072 * gtk/gtksettings.c (gtk_settings_class_init): Add the
1073 gtk-recent-files-max-age property, controlling the
1074 maximum age of the items in the recently used resources
1077 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1079 * gtk/gtkrecentmanager.c:
1080 (gtk_recent_manager_add_item_query_info),
1081 (gtk_recent_manager_add_item): Emit the ::changed signal
1082 at the end of the asynchronous MIME type query.
1084 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1086 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
1089 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
1090 changes in the recently used resources storage file, and
1091 drop the timeout-based poll.
1093 * ChangeLog: Fix attribution of the patch of the previous
1096 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1098 Bug 506062 – gtk_recent_manager_add_item does not detect mime
1101 * configure.in: Depend on gio-2.0
1103 * gtk/gtkrecentmanager.c:
1104 (gtk_recent_manager_add_item_query_info_cb),
1105 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
1106 query the MIME type of the passed URI (based on a patch by
1109 2008-04-11 Carlos Garnacho <carlos@imendio.com>
1111 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
1112 page to visited page list instead of next current page. (#527466,
1113 patch by Marcus Brinkmann)
1115 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
1117 * gtk/gtklabel.c: Added <attributes> / <attribute>
1118 custom tags to parse pango attributes into labels.
1120 * tests/buildertest.c: Added tests for GtkLabel custom
1123 2008-04-10 Carlos Garnacho <carlos@imendio.com>
1125 * gtk/gtknotebook.c (hide_drag_window): Do not call
1126 gtk_widget_set_parent_window(), using widget->window instead of NULL
1127 to unset is the wrong thing, and gtk_widget_unparent() will already
1128 take care of this (#467698, patch by Sébastien Granjoux)
1130 2008-04-08 Tor Lillqvist <tml@novell.com>
1132 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
1133 these functions with G_MODULE_EXPORT.
1135 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1137 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
1138 (gtk_file_system_volume_render_icon):
1139 Fix fallback icon rendering size
1141 2008-04-08 Michael Natterer <mitch@imendio.com>
1143 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
1144 touchscreen-mode keynav corner case: when navigating to the parent
1145 menu, make sure we don't close two menus at the same time in case
1146 the deepest open menu has no selectable items.
1148 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
1150 * gtk/gtkwidget.c: Clarified a g_warning message regarding
1151 parsing accelerators from builder files.
1153 2008-04-03 Cody Russell <bratsche@gnome.org>
1155 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
1156 of the block. (#526021, reported by Kazuki IWAMOTO)
1158 2008-04-03 Tor Lillqvist <tml@novell.com>
1160 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
1163 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
1164 workaround for a specific kind of screwed up locale setting.
1166 2008-04-02 Matthias Clasen <mclasen@redhat.com>
1168 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
1169 colormaps. Found by Daniel Berrange.
1171 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
1173 * tests/autotestfilechooser.c: Cover
1174 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
1175 name. (#346058, Joe Halliwell)
1177 2008-04-02 Federico Mena Quintero <federico@novell.com>
1179 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
1180 chooser incorrectly substitutes and expands a ~ when you type it
1181 in the filename entry.
1183 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
1184 basenames result in a slash-terminated pathname.
1185 gtk_file_system_unix_parse() is correct, but it was splitting
1186 "/home/username" into path="/home" and file_part="username", which
1187 is not what the caller wants when the entry has just "~" or
1190 2008-04-02 Tor Lillqvist <tml@novell.com>
1192 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
1193 and gtksearchenginetracker.c on Windows.
1195 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
1198 2008-04-01 Cody Russell <bratsche@gnome.org>
1200 * configure.in: Bump required Cairo to 1.5.2.
1202 * gtk/gtkprintoperation-win32.c: Add support for using the new
1203 cairo_win32_printing_surface for printing. Also fixed to use
1204 cairo_surface_show_page(). (#488833 and #521178)
1206 2008-03-31 Cody Russell <bratsche@gnome.org>
1208 * demos/gtk-demo/printing.c (draw_page): Move down each line in
1209 units of text_height rather than in units of data->font_size.
1210 (totally awesome catch by Dom Lachowicz)
1212 2008-03-28 Richard Hult <richard@imendio.com>
1214 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
1215 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
1216 event to the mainloop and don't generate one at all if the
1217 toplevel didn't change. Use the actual window and not the toplevel
1218 as event window. These changes make the generated crossing events
1219 match the X11 behavior and fixes issues with e.g. tooltips,
1220 comboboxes and menus.
1222 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
1223 the view has no window, it will be updated as soon as it's put
1226 * gdk/quartz/gdkwindow-quartz.c:
1227 (_gdk_quartz_window_debug_highlight): Make it possible to track
1228 multiple windows with debug highlighting.
1229 (show_window_internal): Remove workaround for tooltips and popups
1230 that is no longer needed with the above changes.
1232 2008-03-26 Federico Mena Quintero <federico@novell.com>
1234 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
1235 helper function; factored out from the functions that commit the
1236 current suggested autocompletion and that refresh the entry's paths.
1237 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
1238 (_gtk_file_chooser_entry_get_file_part): Likewise.
1239 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
1240 makes the entry have the correct paths when *not* using any form
1241 of completion (and makes the file chooser work when clicking the
1244 2008-03-25 Richard Hult <richard@imendio.com>
1246 * gdk/quartz/gdkevents-quartz.c:
1247 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
1248 can't find a matching window.
1250 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
1251 comment, and only trigger an event for non-temp windows, fixes
1252 problems for tooltips caused by the workarounds for the
1253 problematic tracking rect API.
1255 2008-03-25 Richard Hult <richard@imendio.com>
1257 * gdk/quartz/gdkwindow-quartz.c:
1258 (gdk_window_quartz_process_all_updates): Plug a leak and add a
1259 check that we have a toplevel before accessing it.
1261 2008-03-24 Tor Lillqvist <tml@novell.com>
1263 Bug 524151 - Dragging of 0-byte files results in an empty filename
1264 on Windows XP and above
1266 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
1267 being empty first. For some reason ISHellLink and IPersistFile
1268 succeeds in interpreting empty files as shortcuts, claiming the
1269 target of the shortcut is an empty path.
1271 Change the function to take the wide character file name that the
1272 caller already has anyway, to avoid a superfluous conversion from
1275 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
1277 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
1278 against NULL pointer. (#467051, Gian Mario Tagliaretti)
1280 2008-03-23 Cody Russell <bratsche@gnome.org>
1282 * gdk/win32/gdkevents-win32.c (show_window_recurse):
1283 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
1284 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
1285 menus from a maximized window would force the window to restore
1288 2008-03-23 Johan Dahlin <johan@gnome.org>
1290 * gtk/gtk-builder-convert:
1291 Properly convert GtkImageMenuItems which use stock labels but don't
1293 (#523932, Brian Pepple)
1295 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
1297 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
1298 New function implements GtkCellLayoutClass::get_cells. (#523787)
1300 2008-03-22 Tor Lillqvist <tml@novell.com>
1302 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
1304 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
1305 GDK_THREADS_LEAVE() call. Approved by mclasen.
1307 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
1309 * gtk/gtkexpander.c (gtk_expander_get_label):
1310 gtk_label_get_label() should be used instead of
1311 gtk_label_get_text(). (#353088, Xan Lopez)
1313 2008-03-21 Tor Lillqvist <tml@novell.com>
1315 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
1316 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
1317 gdip-pixbuf-loader module.
1319 * configure.in: Add switch --disable-gdiplus-loaders that disables
1320 building of the GDI+ loaders.
1322 When including loaders in the gdk-pixbuf library, and building
1323 GDI+ loaders, either build in all the GDI+ loaders or none of
1324 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
1325 signal building them in.
1327 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
1328 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
1329 indicate whether they should be built-in.
1331 For the rest of the changes, see gdk-pixbuf/ChangeLog.
1333 2008-03-20 Tor Lillqvist <tml@novell.com>
1335 * gtk/Makefile.am: Revert accidental change that went in as part
1336 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
1337 Darwin. On Windows one has to use a newer GNU grep that has -o,
1338 for instance the one from gnuwin32, instead of the oldish one in
1339 MSYS that doesn't have -o.
1341 2008-03-20 Tor Lillqvist <tml@novell.com>
1343 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
1344 pass NULL for %s to g_message().
1345 (main): Drop unnecessary call to gtk_widget_destroy().
1347 2008-03-20 Tor Lillqvist <tml@novell.com>
1349 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
1351 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
1352 in one dimension, or centered in case it doesn't fit.
1353 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
1356 2008-03-18 Tor Lillqvist <tml@novell.com>
1358 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
1360 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
1361 G_MODULE_ENTRY decoration can be put in a more correct place.
1363 2008-03-18 Sven Neumann <sven@gimp.org>
1365 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
1366 alternative button order on the password dialog.
1368 2008-03-18 Tor Lillqvist <tml@novell.com>
1370 Bug 99192 - Add --with-include-input-modules
1372 * configure.in: Add --with-included-immodules switch. Handled in a
1373 similar way as the --with-included-loaders switch. For each input
1374 method module foo: Collect the list of input modules to be built
1375 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
1376 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
1377 Define Automake conditionals INCLUDE_IM_FOO.
1379 * modules/input/Makefile.am: For modules to be included in libgtk,
1380 build a static library.
1382 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
1383 gdk-pixbuf to get unique names for the functions called by libgtk
1384 in the included case. Use G_MODULE_EXPORT in the non-included case
1385 so that we don't unnecessarily export unneeded random global
1388 * gtk/Makefile.am: Build the included modules and link them into libgtk.
1390 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
1391 copy/paste leftover mentions of "themes" in comments.
1393 2008-03-18 Tor Lillqvist <tml@novell.com>
1395 * tests/Makefile.am: Build testmountoperation only on Unix for now.
1397 2008-03-17 Christian Kellner <gicmo@gnome.org>
1399 Implement GtkMountOperation, a subclass of GMountOperation
1400 to be used with gio wherever there is the need to ask the
1401 user for credentials or questions while mounting a volume.
1404 * gtk/gtkmountoperation.c:
1405 * gtk/gtkmountoperation.h:
1406 Implement GtkMountOperation.
1408 * gtk/gtk.h: Add gtkmountoperation.h
1409 * gtk/Makefile.am: Add gtkmountoperation.[hc]
1410 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
1411 * tests/testmountoperation.c: Test program for it.
1412 * tests/Makefile.am: Add testmountoperation.
1414 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
1416 * gtk/gtkcontainer.c: Properly document
1417 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
1419 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1421 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
1422 style names for the ComboBox thickness style
1424 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1426 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
1427 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
1428 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
1429 intelligent separation for the xp theming engine and the classic
1430 theme while drawing the GtkComboBox button. combobox_draw_arrow
1431 is not used anymore, commented. The style has been updated to fix
1432 border/thickness glitches in the combobox according to the fixes
1433 commited regarding bug #521442. (bug #461805)
1435 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1437 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
1438 now aware of both the combobox and frame (if has-frame is set)
1439 thickness and border. (bug #521442)
1441 2008-03-15 Andre Klapper <a9016009@gmx.de>
1443 * configure.in: Added "si" to ALL_LINGUAS.
1445 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1447 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
1448 Set window type hint on the search popup. (#522279, Danny Baumann)
1450 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1452 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
1453 appropriate. (#521934, Huang Peng)
1455 2008-03-14 Michael Natterer <mitch@imendio.com>
1458 * gtk/gtkbuilderprivate.h
1459 * gtk/gtkfilechoosersettings.c
1460 * gtk/gtksearchenginesimple.c
1461 * gtk/tests/liststore.c
1462 * gtk/tests/treestore.c: remove single-file includes of GLib
1463 headers or replace them by <glib.h> where needed.
1465 2008-03-14 Michael Natterer <mitch@imendio.com>
1467 * gtk/gtkadjustment.c: coding style cleanup.
1469 (gtk_adjustment_set_property): no need to call g_object_notify()
1470 on the set properties.
1472 Implement GObject::dispatch_properties_changed() and make sure we
1473 emit "changed" when anything but the "value" property changes.
1475 2008-03-14 Tor Lillqvist <tml@novell.com>
1477 * gdk/win32/gdkevents-win32.c: Drop the support for the
1478 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
1479 Win95. Thanks to mitch for noticing this obsolete code.
1481 2008-03-14 Cody Russell <bratsche@gnome.org>
1483 * examples/scribble-xinput/scribble-xinput.c: Changed
1484 'void int main()' to 'int main()'. (#522211, Liqing Huang)
1486 2008-03-14 Richard Hult <richard@imendio.com>
1488 * gdk/quartz/gdkwindow-quartz.c:
1489 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
1490 only flush the toplevel once per update.
1492 2008-03-13 Federico Mena Quintero <federico@novell.com>
1494 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
1495 Set the mouse cursor of the feedback window to invisible, so that
1496 we respect GtkEntry's invisible cursor while typing.
1498 2008-03-13 Federico Mena Quintero <federico@novell.com>
1500 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
1501 the feedback window at entry_height/2 pixels to the right of the
1502 cursor, for a cheap "M-width / 2" spacing.
1504 2008-03-13 Sven Neumann <sven@gimp.org>
1506 * gtk/gtkfilechooserdefault.c
1507 * gtk/gtkprintunixdialog.c: set alternative button order for
1508 overwrite confirmation dialogs (bug #522191).
1510 2008-03-13 Sven Neumann <sven@gimp.org>
1512 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
1513 (overwrite_confirmation_dialog): added some line-breaks for
1516 2008-03-12 Federico Mena Quintero <federico@novell.com>
1518 Rework the way completion works in GtkFileChooserEntry. Fixes
1519 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
1520 Tab completion should work even if the cursor is not at the end of
1523 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
1526 We distinguish between two cases:
1528 - autocompletion - happens only in the Open modes by
1529 inserting and selecting the common prefix as you type.
1531 - explicit completion - happens when you hit Tab.
1533 When some type of completion needs to happen, the entry first
1534 parses its input and sees if it needs to initiate a folder load.
1535 Completion will not happen until the folder finishes loading.
1537 If the folder is already completely loaded, then completion is
1538 performed immediately. Otherwise, the entry queues a pending
1539 completion and starts loading the new folder (or waits until the
1540 current folder is completely loaded).
1542 Tab completion is allowed to happen even if the cursor is not at
1543 the end of the entry.
1545 There is a new feedback mechanism for explicit completion, so that
1546 you will get an Emacs-like tip whenever there are ambiguities in
1547 completion, no matches, etc. (This needs to be polished so that
1548 we support RTL entries and all the fancy Pango layout in GtkEntry).
1550 The only remaining thing to fix is the popup suggestion window.
1551 Unfortunately, GtkEntryCompletion does not let us do what we want,
1552 and will need further changes.
1554 2008-03-12 Tor Lillqvist <tml@novell.com>
1556 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
1558 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
1559 for the TaskbarCreated message in the window procedure for the
1560 dummy "tray observer" window we create. When we get a
1561 TaskbarCreated message, iterate over the status icons and re-add
1562 them to the task bar, and update them by calling
1563 gtk_status_icon_update_image().
1565 Move some ifdefs around to avoid unused functions.
1567 2008-03-12 Tor Lillqvist <tml@novell.com>
1569 * config.h.win32.in: Update to match what configure produces.
1571 2008-03-12 Jens Granseuer <jensgr@gmx.net>
1573 * modules/printbackends/cups/gtkprintbackendcups.c:
1574 (cups_printer_prepare_for_print): Don't define variables in the
1575 middle of a block. (#522067)
1577 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1579 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
1580 dialog for print-to-file. (#474302, Marek Kašík)
1582 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1584 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
1585 (#469210, Wouter Bolsterlee)
1587 2008-03-12 Matthias Clasen <mclasen@redhat.com>
1589 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
1590 paper_size here. (#488820, Morten Welinder)
1592 2008-03-12 Michael Natterer <mitch@imendio.com>
1594 * acconfig.h: remove this deprecated file.
1596 * configure.in: added comments to all instances of AC_DEFINE() so
1597 config.h can be completely generated from configure.in.
1599 2008-03-12 Michael Natterer <mitch@imendio.com>
1601 * modules/printbackends/cups/gtkprintbackendcups.c: include
1602 <glib/gstdio.h> for g_fopen().
1604 2008-03-11 Matthias Clasen <mclasen@redhat.com>
1606 * modules/printbackends/cups/gtkprintbackendcups.c: Use
1607 g_ascii_formatd when formatting custom paper sizes, since
1608 cups doesn't handle , as decimal separator. (#521548)
1610 2008-03-11 Tor Lillqvist <tml@novell.com>
1612 Bug 469868 - Filenames with colon ":" are not saved correctly
1614 * gtk/gtkfilechooserentry.c (insert_text_callback)
1615 (delete_text_callback) [Win32]: New functions to make sure that
1616 colons used otherwise than as a separator after a drive letter, or
1617 characters that are always illegal in file names, are rejected on
1618 input. This means that the GTK+ file chooser can't be used to
1619 input full names of alternate data streams, but oh well. There are
1620 still more checks that could be done on the file names, see the
1621 bug report. But this will do for now.
1622 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
1624 2008-03-11 Jordi Mallach <jordi@sindominio.net>
1626 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
1628 2008-03-11 Michael Natterer <mitch@imendio.com>
1630 * gdk/linux-fb/*: removed linux-fb backend files.
1634 * docs/README.linux-fb
1635 * gtk/Makefile.am: remove remaining traces of linux-fb.
1637 * gtk/gtkwindow-decorate.c: same here. There is some code that
1638 calls into linux-fb to set window move/resize callbacks. I put it
1639 in #if 0 as a reminder because we did use decorated windows with
1640 the DirectFB backend and it did work, so I don't really know why
1641 this code is needed or how it could work with DirectFB back then.
1642 The file does actually compile now if DECORATE_WINDOWS is defined,
1643 but I didn't test with DirectFB to check if it does anything.
1645 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
1647 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
1648 Take thickness into account in the size allocation of the child widgets in
1652 2008-03-11 Richard Hult <richard@imendio.com>
1654 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
1656 2008-03-10 Tor Lillqvist <tml@novell.com>
1658 * tests/teststatusicon.c (do_exit, popup_menu): Add the
1659 possibility to test what happens if the process just calls exit()
1660 without any orderly cleanup of GTK+.
1662 2008-03-10 Tor Lillqvist <tml@novell.com>
1664 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
1666 2008-03-10 Tor Lillqvist <tml@novell.com>
1668 Bug 520286 - Non-deletable window has no minimize / maximize buttons
1670 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
1671 New debugging output function that decodes a set of WS_* bits.
1673 * gdk/win32/gdkprivate-win32.h: Declare it.
1675 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
1676 New function that enables or disables one menu entry in the system
1677 menu of a top-level window. (The corresponding decoration will
1678 then also be enabled or disabled (grayed).)
1680 (update_style_bits): Do as the comment says and don't try to
1681 update the window style based on the GdkWMFunctions set for the
1684 (update_system_menu): New function that enables or disables the
1685 system menu entries based on a window's stored set of
1688 (gdk_window_set_functions): Call update_system_menu() instead of
1689 update_style_bits().
1691 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
1693 * README.in: Reword the 2.14 release notes entry about the
1694 deprecation of the gtkitemfactory.h header, and fix typos
1697 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
1699 * modules/engines/ms-windows/msw_style.c (draw_shadow):
1700 Do not draw frame if parent if combobox.
1702 Uses scrollbar width system metrics for combobox button.
1703 Fixes #461805 for XP theme engine.
1705 2008-03-07 Johan Dahlin <johan@gnome.org>
1708 * gtk/gtkbuilderparser.c:
1709 * gtk/gtkbuilderprivate.h:
1710 * gtk/gtkiconfactory.c:
1711 * tests/buildertest.c:
1712 - Treat enums like enums and not values
1713 - Avoid invalid free, in case of more than two sources
1714 - Add better error messages
1715 - Add much improved tests
1716 (#520979, Christian Persch)
1718 2008-03-07 Carlos Garnacho <carlos@imendio.com>
1720 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
1723 2008-03-06 Federico Mena Quintero <federico@novell.com>
1725 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
1726 GtkFileChooserDialog should set a default response button if the
1727 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
1729 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
1730 function, refactor from where there was duplicated code.
1731 (gtk_file_chooser_dialog_map): Look at the buttons in our
1732 action_area. If the response ID for a button is one of the stock
1733 ones, make it the default response button.
1735 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
1737 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
1739 * gtk/gtkbuilderprivate.h:
1740 * gtk/gtkiconfactory.c:
1741 * tests/buildertest.c:
1742 Implement GtkBuildable on GtkIconFactory, to make
1743 it possible to register custom stock icons.
1746 2008-03-06 Johan Dahlin <johan@gnome.org>
1750 * gtk/gtkstyle.c: npoints->n_points.
1751 * gtk/gtktestutils.h: widget->spinner
1752 * gtk/gtktestutils.c: argc->argcp, argv->argvp
1754 2008-03-06 William Lachance <wrlach@gmail.com>
1756 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
1757 string localizable (as it should be).
1759 2008-03-06 William Lachance <wrlach@gmail.com>
1761 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
1762 the time for today's date. It's redudant. (see bug #410517).
1764 2008-03-06 Xan Lopez <xan@gnome.org>
1766 * gtk/gtkfixed.c: fix typo in documentation.
1768 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
1770 * gtk/gtkitemfactory.h:
1771 * gtk/gtktypeutils.h:
1772 Move GtkTranslateFunc to gtktypeutils.h so we can completely
1773 deprecate gtkitemfactory.h.
1775 * gtk/gtkactiongroup.h:
1777 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
1780 Add a note describing this slight incompatible change
1782 2008-03-06 Johan Dahlin <johan@gnome.org>
1784 * gtk/gtkpreview.h: Avoid double-deprecation.
1786 2008-03-06 Michael Natterer <mitch@imendio.com>
1789 * gtk/Makefile.am: move the remaining deprecated widgets to the
1790 separate sections and replaced spaces by tabs in Makefile.am
1792 2008-03-05 Johan Dahlin <johan@gnome.org>
1794 * configure.in: Add --disable-cups option.
1795 (#513826, Alberto Ruiz)
1799 Separate broken and deprecated sources and headers into different sections
1801 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
1803 2008-03-05 Kristian Rietveld <kris@imendio.com>
1805 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
1806 short-circuit in case an empty root level would be build (and thus
1807 directly destroyed) if no virtual root has been set.
1809 2008-03-04 Matthias Clasen <mclasen@redhat.com>
1811 * modules/printbackends/cups/gtkprintbackendcups.c:
1812 Honor cups user default options from ~/.cups/lpoptions
1813 (#469210, Stijn Hoop)
1815 2008-03-04 Michael Natterer <mitch@imendio.com>
1818 * gtk/gtkcolorbutton.c
1819 * gtk/gtkentrycompletion.c
1820 * gtk/gtkfontbutton.c
1824 * gtk/gtkpreview.c: don't include "gtksignal.h".
1826 * gtk/gtkfilefilter.c
1827 * gtk/gtkrecentchoosermenu.c
1828 * gtk/gtkrecentfilter.c
1829 * gtk/gtktext.c: don't include "gtkobject.h".
1831 2008-03-04 Simos Xenitellis <simos@gnome.org>
1833 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
1834 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
1836 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
1839 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
1840 file, contains compose sequences that used to exist in
1841 gtk/gtkimcontextsimple.c
1843 * gtk/compose-parse.py: Script to generate compose
1844 sequences from upstream (Xorg).
1846 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
1847 check_algorithmically): New functions. First two search in
1848 gtk_compose_seqs_compact[] for matching compose sequence, third
1849 tries NFC normalisation on incoming compose sequence.
1850 (gtk_im_context_simple_filter_keypress):
1851 Adds searching with check_compact_table(), check_algorithmically().
1853 2008-03-03 Carlos Garnacho <carlos@imendio.com>
1855 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
1856 scrollwheel work in GtkPathBar.
1858 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
1860 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
1861 an input-only window, event_window, which we'll use to capture
1863 (gtk_path_bar_map): Show the event_window under the rest of the
1864 windows, so it will be a catch-all for unhandled events.
1866 2008-03-03 Sven Neumann <sven@gimp.org>
1868 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
1869 typo in the documentation of the GtkFileChooserButtons::file-set
1870 signal (see bug #353196).
1872 2008-03-03 Tor Lillqvist <tml@novell.com>
1874 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
1877 2008-03-02 Johan Dahlin <johan@gnome.org>
1879 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
1880 Remove left-over focus_pad variable.
1881 (#490892, Claudio Saavedra)
1883 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
1884 (#518166, Matt Kraai)
1886 2008-03-02 Johan Dahlin <johan@gnome.org>
1888 * docs/tutorial/gtk-tut.sgml: Add a missing space
1889 (#517954, Matt Kraai)
1891 2008-03-03 Tor Lillqvist <tml@novell.com>
1893 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
1894 the widget is a GtkButton before casting.
1896 2008-03-02 Johan Dahlin <johan@gnome.org>
1898 * configure.in: Compare using = instead of ==, which is portable.
1899 (#490787, Thomas Klausner)
1901 2008-03-02 Johan Dahlin <johan@gnome.org>
1903 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
1904 fixes non-C++ build.
1905 (#496032, Nelson Benitez)
1907 2008-02-29 Johan Dahlin <johan@gnome.org>
1909 * demos/gtk-demo/demo.ui:
1910 * gtk/gtkbuilderparser.c:
1911 * gtk/gtkbuilderprivate.h:
1912 * gtk/gtkliststore.c:
1913 * tests/buildertest.c:
1914 Add translatable/context and comment attributes on
1915 <col> tags under a GtkListStore. Refactor parts of the
1916 translation api and make it available inside gtk+ itself.
1917 Update tests and example.
1918 Fixes a part of #518642
1920 2008-02-29 Johan Dahlin <johan@gnome.org>
1923 Add missing g_return_val_if_fail checks for public API.
1925 * gtk/gtkbuilderparser.c:
1926 * gtk/gtkbuilderprivate.h:
1927 Do not use g_error for a few more errors, instead set
1928 the GError sent in through add_from_file/add_from_string.
1929 * tests/buildertest.c:
1930 Add a couple of new parsing tests.
1931 (#519199, Pavel Syomin)
1933 2008-02-29 Federico Mena Quintero <federico@novell.com>
1935 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
1936 refreshing an existing folder (i.e. when we are about to reload
1937 its file list), turn off the folder's is_finished_loading flag.
1938 Otherwise callers which do ::is_finished_loading() followed by
1939 ::list_children() will get nothing.
1941 2008-02-29 Cody Russell <bratsche@gnome.org>
1943 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
1944 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
1946 2008-02-28 Matthias Clasen <mclasen@redhat.com>
1948 * gtk/gtkcalendar.h: Remove trailing comma from enum to
1949 make the compiler happy. (#517295, Sylvain Pasche)
1951 2008-02-27 Michael Natterer <mitch@imendio.com>
1953 * gtk/gtkmenushell.c
1956 * gtk/gtktipsquery.c
1961 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
1962 private functions and virtual function implementations.
1964 2008-02-27 Richard Hult <richard@imendio.com>
1966 * gdk/quartz/GdkQuartzView.c:
1967 * gdk/quartz/GdkQuartzView.h:
1968 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
1969 Fix performance regression for borderless transparent windows
1972 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
1974 * tests/testgtk.c: Revert back to r19454.
1976 2008-02-27 Sven Neumann <sven@gimp.org>
1978 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
1979 Quartz backend, use a native Mac OS X application for the print
1980 preview (bug #518624).
1982 2008-02-26 Michael Natterer <mitch@imendio.com>
1984 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
1985 the members of info->tag_stack since they are a) gobjects and b)
1986 not even owned by us, ugh... Fixes crash when deserializing fails.
1988 2008-02-26 Sven Neumann <sven@gimp.org>
1990 * docs/tools/shooter.c (find_toplevel_window)
1991 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
1992 argument passed to XQueryTree().
1994 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1996 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
1997 don't use beagle_query_add_hit_type.
1999 2008-02-25 Richard Hult <richard@imendio.com>
2001 * gdk/quartz/gdkevents-quartz.c
2002 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
2004 2008-02-24 Richard Hult <richard@imendio.com>
2006 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
2007 shown without gdk's control when clicking the dock icon.
2009 2008-02-24 Richard Hult <richard@imendio.com>
2011 * gdk/quartz/gdkprivate-quartz.h:
2012 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
2013 Use the subtype field for the custom event that is used to wake up
2014 the mainloop so we can have other custom event types.
2016 * gdk/quartz/gdkevents-quartz.c:
2017 (_gdk_quartz_events_trigger_crossing_events):
2018 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
2019 crossing events after showing a window if necessary, to work
2020 around problems with the tracking rect API.
2022 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2024 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
2025 wrong results on win32 because it doesn't set the printing units,
2026 which affect the transformation of the cairo context
2027 (#347125, Erik van Pienbroek)
2029 2008-02-22 Tor Lillqvist <tml@novell.com>
2031 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
2033 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2035 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
2036 acceptable for a module to only support the save_to_callback()
2037 method if it marks itself as WRITABLE
2039 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2041 * configure.in: Bump version
2043 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2045 * === Released 2.13.0 ===
2047 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
2049 2008-02-21 Tor Lillqvist <tml@novell.com>
2051 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
2052 pass the format string to strftime in the C library's locale's
2053 charset, not the system's. Correspondingly, the return value from
2054 strftime() is in the C library's locale's charset. (#509885)
2056 2008-02-20 Richard Hult <richard@imendio.com>
2058 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
2059 the right window level and shadow after recreating the window.
2061 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
2062 necessary after drawing (bug #517338).
2064 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
2066 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
2067 call to g_type_class_unref in case of error. (#517563)
2069 2008-02-18 Sven Neumann <sven@gimp.org>
2071 * gtk/Makefile.am (STOCK_ICONS)
2072 * gtk/stock-icons/16/gtk-page-setup.png
2073 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
2074 taken from GNOME icon theme.
2076 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
2078 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
2080 * configure.in: Added Kannada (kn) to ALL_LINGUAS
2082 2008-02-17 Johan Dahlin <johan@gnome.org>
2084 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
2085 When converting a stock item based on the label, remove the label property.
2087 2008-02-17 Richard Hult <richard@imendio.com>
2089 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
2090 position after showing the window since the window manager might
2091 not place it where we requested in the first places.
2093 2008-02-17 Richard Hult <richard@imendio.com>
2095 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2096 (_gdk_quartz_window_detach_from_parent),
2097 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
2098 the toplevel ordering list in all places where the order is
2099 potentially changed. Fixes mouse focus issues for windows with
2100 a transient parent set.
2102 2008-02-17 Richard Hult <richard@imendio.com>
2104 * gdk/quartz/gdkevents-quartz.c
2105 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
2106 window when event debugging is enabled.
2108 2008-02-16 Richard Hult <richard@imendio.com>
2110 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
2111 to the scroll event (bug #516757, Paul Davis).
2113 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2117 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2119 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
2122 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2124 * gdk/Makefile.am: Don't install private headers. (#463510)
2126 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
2127 the installed header gdkprivate.h.
2129 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2131 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
2132 a crash with hidden, reorderable tabs. (#513230,
2133 Mike Massonnet, patch by Carlos Garnacho)
2135 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2137 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
2138 Warn on duplicate action group names. (#501746, Christian
2141 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2144 * modules/other/gail/tests/Makefile.am:
2145 * modules/other/gail/libgail-util/Makefile.am:
2146 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
2147 builds. (#516254, Yevgen Muntyan)
2149 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2154 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
2155 instead of hardcoded target tables. (#516092, Christian Persch)
2157 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2159 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
2160 add the same target atom twice. (#516087, Christian Persch)
2162 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2164 * tests/testfilechooser.c: Add a --backend option.
2165 (#516073, Christian Persch)
2167 2008-02-16 Richard Hult <richard@imendio.com>
2169 * gdk/quartz/gdkprivate-quartz.h:
2170 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
2173 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2175 * configure.in: Go back to 2.13.0 as version for now,
2176 as there was no consensus to do the jump.
2178 * many other places: Update Since: tags.
2180 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2182 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
2184 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
2186 2008-02-15 Richard Hult <richard@imendio.com>
2188 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
2189 instead of bounds when resizing windows.
2191 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2193 * gdk/x11/gdkkeys-x11.c:
2194 * gdk/x11/gdkcolor-x11.c:
2195 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
2197 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2199 * gdk/x11/gdktestutils-x11.c:
2200 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
2202 2008-02-15 Tor Lillqvist <tml@novell.com>
2204 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
2205 leak Registry key handles. (#516578)
2207 2008-02-14 Richard Hult <richard@imendio.com>
2209 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
2210 makeKeyWindow unfortunately doesn't work in all cases, we must use
2211 makeKeyAndOrderFront.
2213 2008-02-14 Richard Hult <richard@imendio.com>
2215 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
2216 (gdk_window_hide), (gdk_window_fullscreen),
2217 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
2218 the window is hidden.
2220 2008-02-14 Richard Hult <richard@imendio.com>
2222 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
2223 resizing to be consistent and to avoid introducing an internal
2224 transform in the view.
2226 2008-02-14 Richard Hult <richard@imendio.com>
2228 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
2231 2008-02-14 Johan Dahlin <johan@gnome.org>
2233 * gdk/gdktestutils.h
2234 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
2236 2008-02-13 Richard Hult <richard@imendio.com>
2238 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2239 Remove unused variables.
2240 (gtk_clipboard_set_contents),
2241 (gtk_clipboard_get_owner), (clipboard_unset),
2242 (gtk_clipboard_request_targets): Notify the previous clipboard
2243 owner when the owner changes. Fixes bug #493406.
2245 2008-02-13 Richard Hult <richard@imendio.com>
2247 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
2248 the return value (return number of colors that failed), and handle
2250 (gdk_colormap_free_colors): Fix typo in comment.
2252 2008-02-13 Kristian Rietveld <kris@imendio.com>
2254 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
2255 queue a redraw if the rubber banding has actually been active.
2257 2008-02-12 Matthias Clasen <mclasne@redhat.com>
2259 * gtk/gtkpapersize.c:
2260 * gtk/gtkprintoperation.c:
2261 * gtk/gtkvolumebutton.c:
2262 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
2263 out by Behdad Esfahbod.
2265 2008-02-12 Federico Mena Quintero <federico@novell.com>
2267 Merged from gtk-2-12:
2269 Don't focus the file list when shortcuts get activated. This
2270 removes a lot of ambiguity in when the file selection should
2271 change, and makes the overall code flow simpler.
2273 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
2274 file/save dialog clears the filename entry when changing
2277 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
2278 focus should not go to the file list when a shortcut is activated.
2280 * gtk/gtkfilechooserdefault.c
2281 (shortcuts_activate_volume_mount_cb): Don't focus the file list
2282 (shortcuts_activate_get_info_cb): Likewise.
2284 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
2285 the file list (this was the last place where we would focus the
2286 file list explicitly). If you are in the location entry, for
2287 example, you don't want Alt-Home to take you to the file list; you
2288 just want the current folder to change. Thanks to Olle Bergkvist
2289 <olle.bergkvist@yahoo.se> for pointing this out in
2290 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
2291 (focus_browse_tree_view_if_possible): Removed.
2293 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2295 Skip exensions when selecting filenames in the save-as dialog.
2296 (#362516, Carlos Garnacho)
2298 * gtk/gtkfilechooserentry.h:
2299 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
2300 New function to skip the extension part when selecting a filename.
2301 (_gtk_file_chooser_entry_set_base_folder): Use it here.
2303 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
2306 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2308 * gtk/gtkiconview.c: Fix state change reporting for
2309 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
2311 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
2313 * gtk/gtkrecentchooser.c:
2314 (gtk_recent_chooser_class_init): Set the default value of the
2315 :show-not-found property to TRUE, as every implementation sets
2318 * gtk/gtkrecentchooserdefault.c:
2319 (_gtk_recent_chooser_default_init): Sync show_tips to the
2320 default value of the :show-tips property.
2322 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2324 * gtk/gtkclipboard-quartz.c:
2326 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
2329 2008-02-12 Kristian Rietveld <kris@imendio.com>
2331 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
2332 (gtk_tree_view_real_toggle_cursor_row): guard against people
2333 deleting the row in question in the selection-changed callback.
2334 (#514621, Andreas Koehler).
2336 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2338 * gtk/*.c: Unify the handling of various "Enter" keysyms
2339 all over the place. (#515047, Christian Persch)
2341 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2343 * gtk/gtkfilesystemmodel.c:
2345 * gtk/gtkwidget.c: Use g_value_set_static_string() where
2346 appropriate. (#515042, Christian Persch)
2348 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2350 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
2352 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2354 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
2356 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2358 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
2359 (recent_model_sort_drag_data_get):
2360 (search_model_sort_drag_data_get):
2361 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
2362 * gtk/gtkpathbar.c (button_drag_data_get_cb):
2363 Use gtk_selection_data_set_uris() instead of doing it
2364 by hand. (#514890, Christian Persch)
2366 2008-02-12 Michael Natterer <mitch@imendio.com>
2368 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
2369 gtk_get_current_event_time().
2371 2008-02-12 Michael Natterer <mitch@imendio.com>
2373 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
2374 gtk_window_get_key_hash() to get the hash instead of manually
2375 fiddling with quarks and gtk_window_keys_changed(). Also add
2376 g_return_if_fail() to this public function.
2378 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2380 Support keynav in status icons. (#473786, Li Yuan)
2382 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
2384 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
2386 2008-02-11 Kristian Rietveld <kris@imendio.com>
2388 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
2389 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
2390 wrt. link deletion from list; contination of fix for #503569.
2392 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
2394 * gtk/gtkrecentchoosermenu.c:
2395 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
2396 on the placeholder menu item.
2398 * tests/testrecentchoosermenu.c:
2399 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
2400 whether the placeholder menu item gets shown.
2402 2008-02-10 Cody Russell <bratsche@gnome.org>
2404 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
2405 Check the return value of _gtk_file_chooser_get_file_system () for
2406 NULL before passing it to gtk_file_system_path_to_uri ().
2407 (#515667, Francesco Montorsi)
2409 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
2411 * gtk/gtkbuilder.c: Improve the documentation for
2412 gtk_builder_connect_signals. (#514471)
2414 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2416 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
2419 2008-02-08 Cody Russell <bratsche@gnome.org>
2421 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
2422 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
2424 2008-02-08 Richard Hult <richard@imendio.com>
2426 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
2427 delta from the NSEvent for now, generating multiple scroll events
2428 results in a lot of events getting queued up and things get really
2431 2008-02-08 Sven Herzberg <sven@imendio.com>
2433 Adjust the code to match the documentation, examples, "common sense"
2434 and existing applications.
2436 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
2437 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
2440 2008-02-07 Cody Russell <bratsche@gnome.org>
2442 * gdk/win32/gdkevents-win32.c
2443 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
2444 of a block that were causing compile problems on old
2445 compilers. (#515053, reported by Kazuki IWAMOTO)
2447 2008-02-07 Michael Natterer <mitch@imendio.com>
2454 * gtk/gtkmenushell.c
2456 * gtk/gtkoptionmenu.c
2460 * gtk/gtkradiomenuitem.c
2462 * gtk/gtkscrolledwindow.c
2463 * gtk/gtksocket.c: remove g_return_if_fail() from private
2464 functions and virtual function implementations.
2466 2008-02-07 Michael Natterer <mitch@imendio.com>
2469 * gtk/gtkassistant.c
2473 * gtk/gtkcellrenderercombo.c
2476 * gtk/gtkdrawingarea.c
2477 * gtk/gtkentrycompletion.c
2483 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
2484 functions and virtual function implementations.
2486 2008-02-07 Christian Persch <chpe@gnome.org>
2488 * gdk/gdkpixbuf-render.c:
2489 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
2490 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
2491 otherwise there will be random pixel values in the semi-transparent
2492 area of the pixbuf within the mask. Bug #487865.
2494 2008-02-06 Cody Russell <bratsche@gnome.org>
2496 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
2497 otherwise things get wonky when you click on a menu. This fixes
2498 a regression caused in #505928. Thanks to Tor for spotting this
2501 2008-02-06 Michael Natterer <mitch@imendio.com>
2503 * gtk/gtkcontainer.c
2510 * gtk/gtkmenushell.c
2512 * gtk/gtkseparatortoolitem.c
2514 * gtk/gtktextlayout.c
2515 * gtk/gtktoggletoolbutton.c
2516 * gtk/gtktoolbutton.c
2519 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
2522 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2524 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
2525 Allow to store half-open ranges.
2527 2008-02-05 Cody Russell <bratsche@gnome.org>
2529 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
2530 down the stack until we get to a window that is mapped.
2531 Otherwise hiding a window will cause all windows in the app
2532 to be blocked. (#514643)
2534 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2536 * gtk/updateiconcache.c: Ignore images in the toplevel theme
2537 directory, avoiding one source of invalid caches that has been
2538 spotted in the wild.
2540 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2542 * gtk/updateiconcache.c: Fix the previous commit to compile.
2544 2008-02-05 Matthias Clasen <mclasen@redhat.com>
2546 * gtk/updateiconcache.c: Install a printerr handler that
2547 prepends the program name, since gtk-update-icon-cache output
2548 often appears in the middle of other output, e.g. rpm update logs.
2550 2008-02-05 Cody Russell <bratsche@gnome.org>
2552 * gdk/win32/gdkprivate-win32.h
2553 * gdk/win32/gdkevents-win32.c
2554 * gdk/win32/gdkwindow-win32.c
2555 * gdk/win32/gdkwindow-win32.h
2556 * gdk/win32/gdkwin32.h:
2557 Modal window rework. (#455627 and #511111)
2559 2008-02-04 Michael Natterer <mitch@imendio.com>
2561 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
2562 g_return_if_fail() if the cell is not part of the combo instead of
2563 crashing in the next line.
2565 2008-02-01 Cody Russell <cody@jhu.edu>
2567 * modules/engines/ms-windows/xp_theme.[ch]
2568 * modules/engines/ms-windows/xp_theme_defs.h
2569 * modules/engines/ms-windows/msw_rc_style.c
2570 * modules/engines/ms-windows/msw_theme_main.c
2571 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
2572 attempted to stylize more like the rest of the gtk+ stack's code.
2574 2008-02-01 Michael Natterer <mitch@imendio.com>
2576 * tests/testgtk.c: initialize GdkColor structs to fix warning
2577 about uninitialized "pixel" member.
2579 * tests/testactions.c: connect the toolbar_style() callback so it
2580 does something useful and doesn't warn about being defined but not
2583 2008-01-31 Cody Russell <bratsche@gnome.org>
2585 * gdk/win32/gdkevents-win32.c:
2586 Refactored some of the window hiding/showing code from
2587 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
2588 under WM_ACTIVATE was causing the application to go into
2589 a weird state when the user right-clicked on the taskbar
2590 entry of a window that was minimized. (#505928)
2592 2008-01-31 Cody Russell <bratsche@gnome.org>
2594 * gtk/gtkpaned.c (gtk_paned_set_position):
2595 Change queue_resize() to queue_draw(), and add a check for
2596 child2 != NULL in case someone calls this before there is
2597 a child packed in there. (#144269 again)
2599 2008-01-31 Sven Neumann <sven@gimp.org>
2601 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
2602 applied patch from Denis Oliver Kropp <dok@directfb.org>.
2604 2008-01-31 Sven Neumann <sven@gimp.org>
2606 * gdk/directfb/gdkdisplay-directfb.c
2607 * gdk/directfb/gdkdrawable-directfb.c
2608 * gdk/directfb/gdkprivate-directfb.h
2609 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
2610 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
2612 2008-01-31 Richard Hult <richard@imendio.com>
2614 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
2615 issues with undecorated windows. Revert the change done on
2616 2008-01-25 and fix it by using the view's bounds instead. The
2617 bounds will always be up to date when setting up the tracking
2618 rect, so this should be more robust.
2620 2008-01-30 Sven Neumann <sven@gimp.org>
2622 * gdk/directfb/gdkdrawable-directfb.c
2623 * gdk/directfb/gdkwindow-directfb.c
2624 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
2625 Oliver Kropp <dok@directfb.org>. Adds debug messages using
2626 DirectFB's debugging system
2628 2008-01-30 Sven Neumann <sven@gimp.org>
2630 * gdk/directfb/gdkdirectfb.h
2631 * gdk/directfb/gdkdisplay-directfb.c
2632 * gdk/directfb/gdkdrawable-directfb.c
2633 * gdk/directfb/gdkim-directfb.c
2634 * gdk/directfb/gdkimage-directfb.c
2635 * gdk/directfb/gdkinput-directfb.c
2636 * gdk/directfb/gdkmain-directfb.c
2637 * gdk/directfb/gdkpixmap-directfb.c
2638 * gdk/directfb/gdktestutils-directfb.c
2639 * gdk/directfb/gdkvisual-directfb.c
2640 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
2641 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
2642 errors and has some cleanups.
2644 2008-01-30 Michael Natterer <mitch@imendio.com>
2646 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
2647 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
2650 * gtk/updateiconcache.c (add_string): cast const gchar* to
2651 gpointer when inserting in a GHashTable.
2653 * tests/testcalendar.c (calendar_detail_cb): remove const from
2654 return value since it's a newly allocated string.
2656 (calendar_update_details): free the detail.
2658 2008-01-29 Johan Dahlin <johan@gnome.org>
2660 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
2662 * demos/gtk-demo/demo.ui:
2663 Move the about dialog to the glade file, add accessible tags
2664 examples to the markup file.
2666 2008-01-28 Paolo Borelli <pborelli@katamail.com>
2668 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
2669 layout, fixes #512375.
2671 2008-01-28 Michael Natterer <mitch@imendio.com>
2673 * gtk/gtktextchild.c
2674 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
2676 2008-01-28 Michael Natterer <mitch@imendio.com>
2678 * demos/gtk-demo/builder.c (about_activate): use
2679 gtk_about_dialog_set_program_name() instead of the deprecated
2682 2008-01-28 Michael Natterer <mitch@imendio.com>
2684 * gtk/gtktextchild.c
2685 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
2688 2008-01-26 Johan Dahlin <johan@gnome.org>
2690 * tests/Makefile.am:
2691 * tests/textbuffertest.c:
2692 Rename textbuffer test and port it to the new test framework
2694 2008-01-25 Johan Dahlin <johan@gnome.org>
2696 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
2697 unsetting of GTK_MODULES.
2699 * gtk/gtk-builder-convert
2700 (GtkBuilderConverter._convert_adjustment): Handle the case where
2701 there is no child text node.
2702 (GtkBuilderConverter): Allow xml comments in most places.
2704 2008-01-25 Johan Dahlin <johan@gnome.org>
2706 * gtk/gtk-builder-convert
2707 (GtkBuilderConverter._convert_combobox_items): Remove the items
2708 even if there are no items set.
2709 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
2710 signals and tooltips for all menu items subclasses and
2711 GtkImageMenuItem:label.
2712 Makes it possible to fully convert and run Jokosher.glade.
2714 2008-01-25 Johan Dahlin <johan@gnome.org>
2716 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
2717 (gtk_widget_buildable_get_internal_child), (free_action),
2718 (free_relation), (gtk_widget_buildable_parser_finished),
2719 (accessibility_start_element),
2720 (gtk_widget_buildable_custom_tag_start),
2721 (gtk_widget_buildable_custom_finished):
2722 Implement accessible support, fixes #454653.
2724 * gtk/gtk-builder-convert:
2725 Add support for migrating old glade files
2727 * tests/buildertest.c: (test_widget), (test_file):
2728 Add accessible tests and imprve the test_file function to display
2729 toplevels and run dialogs.
2731 2008-01-25 Richard Hult <richard@imendio.com>
2733 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
2734 didn't change, fixes focus event issues for undecorated windows.
2736 2008-01-25 Richard Hult <richard@imendio.com>
2738 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
2739 const and remove unused variables).
2741 2008-01-25 Michael Natterer <mitch@imendio.com>
2744 * gtk/gtkcellrenderer.h
2745 * gtk/gtkimcontext.h
2749 * gtk/gtktreeprivate.h
2750 * gtk/gtktreeviewcolumn.h
2751 * gtk/gtkwidget.h: add const to constant structs which are passed
2752 into GTK+. Also add some forgotten const for const strings.
2756 * gtk/gtkcellrenderer.c
2757 * gtk/gtkimcontext.c
2762 * gtk/gtktreeviewcolumn.c
2763 * gtk/gtkwidget.c: changed accordingly.
2765 2008-01-25 Sven Herzberg <sven@imendio.com>
2767 Reviewed by Johan Dahlin.
2769 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
2770 this is called with something that's not a GtkUIManager
2772 2008-01-24 Johan Dahlin <johan@gnome.org>
2774 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
2775 Chain up to parent, so widgets can have internal children.
2777 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
2779 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
2782 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
2784 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
2786 Use pango_layout_set_height() for calendar details (#506049).
2788 * configure.in: Require 1.19.3 for pango_layout_set_height().
2789 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
2791 2008-01-18 Johan Dahlin <johan@gnome.org>
2793 * gtk/gtk-builder-convert (get_property_node): New method
2794 (GtkBuilderConverter._create_object): Conditionally take a node as
2795 a property value, so don't lose translate/context attributes if they
2797 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
2798 property values instead of strings.
2799 (#509153, Erik van Pienbroek)
2801 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
2803 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
2805 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
2806 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
2807 * tests/testcalendar.c: Duplicate calendar details before returning.
2809 2008-01-16 Christian Persch <chpe@gnome.org>
2811 * gtk/gtkwidget.c: Store the event mask and extension event mode
2812 directly in the gobject data pointer, instead of in an allocated
2815 2008-01-16 Michael Natterer <mitch@imendio.com>
2817 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
2818 gdk-pixbuf now uses gio functions.
2820 2008-01-16 Matthias Clasen <mclasen@redhat.com>
2822 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
2823 the notify::model signal. (#509819, David Zeuthen)
2825 2008-01-15 Michael Natterer <mitch@imendio.com>
2833 * gdk/gdkwindow.h: made more struct pointer and array parameters
2834 const. GDK should now be constified as far as possible without
2835 breaking source compatibility. Includes some minor cleanup like
2836 indentation and s/nfoo/n_foo/ (bug #508544).
2842 * gdk/gdkregion-generic.c
2844 * gdk/directfb/gdkdisplay-directfb.c
2845 * gdk/directfb/gdkwindow-directfb.c
2846 * gdk/quartz/gdkdisplay-quartz.c
2847 * gdk/quartz/gdkwindow-quartz.c
2848 * gdk/win32/gdkdisplay-win32.c
2849 * gdk/win32/gdkwindow-win32.c
2850 * gdk/x11/gdkdisplay-x11.c
2851 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2853 2008-01-14 Michael Natterer <mitch@imendio.com>
2855 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
2858 (gtk_rc_parse_any): change variables to const and introduce
2859 another local variable to fix const warnings.
2861 2008-01-14 Michael Natterer <mitch@imendio.com>
2863 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
2864 of gdk_screen_get_font_options() to gpointer to get rid of const
2867 2008-01-14 Michael Natterer <mitch@imendio.com>
2869 * tests/testdnd.c (source_drag_data_get): fix another call to
2870 gtk_selection_data_set().
2872 2008-01-14 Michael Natterer <mitch@imendio.com>
2874 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
2877 2008-01-14 Michael Natterer <mitch@imendio.com>
2879 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
2881 2008-01-14 Michael Natterer <mitch@imendio.com>
2883 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
2884 "uris" to guchar* when passing it to gtk_selection_data_set().
2886 2008-01-14 Michael Natterer <mitch@imendio.com>
2892 * gdk/gdkinternals.h
2894 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
2895 parameters const (bug #508544).
2900 * gdk/gdkrectangle.c
2901 * gdk/gdkpolyreg-generic.c
2902 * gdk/gdkregion-generic.c
2903 * gdk/directfb/gdkcolor-directfb.c
2904 * gdk/directfb/gdkgc-directfb.c
2905 * gdk/directfb/gdkgeometry-directfb.c
2906 * gdk/directfb/gdkwindow-directfb.c
2907 * gdk/quartz/gdkcolor-quartz.c
2908 * gdk/quartz/gdkgc-quartz.c
2909 * gdk/quartz/gdkgeometry-quartz.c
2910 * gdk/quartz/gdkwindow-quartz.c
2911 * gdk/win32/gdkcolor-win32.c
2912 * gdk/win32/gdkgc-win32.c
2913 * gdk/win32/gdkgeometry-win32.c
2914 * gdk/win32/gdkprivate-win32.h
2915 * gdk/win32/gdkwindow-win32.c
2916 * gdk/x11/gdkcolor-x11.c
2917 * gdk/x11/gdkgc-x11.c
2918 * gdk/x11/gdkgeometry-x11.c
2919 * gdk/x11/gdkmain-x11.c
2920 * gdk/x11/gdkprivate-x11.h
2921 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2923 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
2926 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2928 Explain name choice for gtk_tool_item_toolbar_reconfigured.
2930 * gtk/gtktoolitem.c: Add comment expaining name choice for
2931 gtk_tool_item_toolbar_reconfigured.
2933 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2935 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
2936 implementations to notify its children, when some aspect of their
2937 configuration changed (#509042).
2939 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
2940 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
2941 Rename _gtk_tool_item_toolbar_reconfigured.
2943 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2945 Include <gtk/gtktoolshell.h> from gtk.h.
2947 * gtk/gtk.h: Add gtktoolshell.h
2949 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2951 Print angle brackets arround e-mail addresses in the about dialog
2952 (#409520, Mariano Suárez-Alvarez).
2954 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
2956 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
2958 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
2959 special casing so test widgets are always queues for destruction
2962 * gtk/tests/testing.c: removed bits left-over from testing without
2965 2008-01-10 Tor Lillqvist <tml@novell.com>
2967 * modules/other/gail/libgail-util/Makefile.am
2968 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
2971 2008-01-10 Tor Lillqvist <tml@novell.com>
2973 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
2974 uses gtkprintunixdialog API.
2976 2008-01-10 Tor Lillqvist <tml@novell.com>
2978 * gdk/win32/gdkdisplay-win32.c
2979 * gdk/win32/gdkglobals-win32.c
2980 * gdk/win32/gdkprivate-win32.h
2981 * gdk/win32/gdkscreen-win32.c
2982 * gdk/win32/gdkwindow-win32.c: Implement
2983 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
2984 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
2987 2008-01-10 Cody Russell <bratsche@gnome.org>
2989 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
2990 Properly ref/unref windows and parents. (#506769)
2992 2008-01-10 Richard Hult <richard@imendio.com>
2994 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2995 (gdk_window_hide), (move_resize_window_internal): Move the
2996 tracking rect workaround from here...
2998 * gdk/quartz/GdkQuartzWindow.c:
2999 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
3000 movements during showing/hiding operations. Fixes bug #508516.
3002 2008-01-10 Michael Natterer <mitch@imendio.com>
3004 * gdk/directfb/gdkscreen-directfb.c
3005 (gdk_screen_get_monitor_width_mm)
3006 (gdk_screen_get_monitor_height_mm)
3007 (gdk_screen_get_monitor_plug_name): add these functions to make
3010 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
3012 * gtk/gtkrecentchoosermenu.c:
3013 (idle_populate_func), (idle_populate_clean_up): Fix possible
3014 recursion by resetting the idle source id. (#507605, William
3017 2008-01-10 Kristian Rietveld <kris@imendio.com>
3019 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
3020 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
3021 avoid valgrind warnings. (#507751, patch from Christian Persch).
3023 2008-01-10 Kristian Rietveld <kris@imendio.com>
3025 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
3026 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
3028 2008-01-10 Kristian Rietveld <kris@imendio.com>
3030 Fix #477175, reported by Juri Pakaste.
3032 * gtk/gtktreeprivate.h:
3033 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
3034 tree_view->priv->dy here directly, just calculate the new value
3035 and set it on the adjustment,
3036 (gtk_tree_view_adjustment_changed): add guards to not call
3037 gtk_tree_view_dy_to_top_row() if we are currently in
3038 gtk_tree_view_top_row_to_dy(),
3039 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
3040 coordinates, not tree coordinates,
3041 (gtk_tree_view_real_start_editing): add cast.
3043 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
3044 position of the editable in the "create new row and start editing"
3047 2008-01-09 Michael Natterer <mitch@imendio.com>
3049 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
3052 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
3053 * gtk/gtkicontheme.c (theme_list_contexts)
3054 (gtk_icon_theme_lookup_icon)
3055 * gtk/gtkimcontextsimple.c (beep_window)
3056 * gtk/gtklinkbutton.c (set_link_color)
3057 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
3060 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
3061 variable and add const to another to fix a warning.
3063 2008-01-07 Matthias Clasen <mclasen@redhat.com>
3065 * gtk/gtkassistant.c (remove_page): Be more robust when removing
3066 the current page. (#499951, Andreas Sandberg)
3068 2008-01-06 Johan Dahlin <johan@gnome.org>
3070 * gtk/gtkspinbutton.c: Declare value in the example code for
3071 GtkSpinButton::output, as pointed out by Anders Carlsson.
3073 2008-01-06 Christian Persch <chpe@gnome.org>
3075 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
3076 and remove an obsolete event box. Bug #506760.
3078 2008-01-06 Johan Dahlin <johan@gnome.org>
3080 * tests/buildertest.c (test_domain):
3081 Update, GtkBuilder::translation-domain is no longer set
3083 * gtk/gtkbuilderparser.c (parse_interface):
3084 Allow domains to be overridden in <interface>'s if a translation-domain
3085 is set in the builder.
3086 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
3087 of the builder, make the domain set in the <interface> apply only to strings
3089 (#496831, Ryan Lortie)
3091 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
3094 * gtk/gtktreestore.c (tree_model_end_element):
3095 Remove an unused variable
3097 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3099 * gtk/gtkspinbutton.c: Document the ::output signal and
3100 add an example. (#507566, example by Owen Taylor)
3102 2008-01-06 Johan Dahlin <johan@gnome.org>
3104 * gtk/gtkcellrenderercombo.c:
3105 (gtk_cell_renderer_combo_get_property),
3106 (gtk_cell_renderer_combo_set_property):
3107 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
3108 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
3109 * gtk/gtknotebook.c: (gtk_notebook_set_property):
3110 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
3111 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
3112 (gtk_text_buffer_get_property):
3113 * gtk/gtktextview.c: (gtk_text_view_set_property):
3114 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
3115 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
3116 (gtk_tool_button_get_property):
3117 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
3118 (gtk_tool_item_get_property):
3119 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
3120 * gtk/gtkwidget.c: (gtk_widget_set_property):
3121 * gtk/gtkwindow.c: (gtk_window_set_property):
3122 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
3125 2008-01-06 Johan Dahlin <johan@gnome.org>
3127 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
3128 Make sure that --root works for toplevel widgets.
3129 (#491847, Phil Lello)
3131 2008-01-05 Johan Dahlin <johan@gnome.org>
3133 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
3134 to make sure that make test-report works properly
3136 2008-01-05 Christian Persch <chpe@gnome.org>
3138 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
3139 GType as integer through gpointer. Bug #507395.
3141 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
3143 Avoid some compiler warnings (#507000).
3145 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
3146 for value argument of _gtk_builder_flags_from_string.
3147 * gtk/gtkwidget.c: Don't alias the child pointer passed
3148 to gdk_window_get_user_data.
3150 2008-01-04 Michael Natterer <mitch@imendio.com>
3152 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
3153 to set the time in the returned GdkTimeCoords.
3155 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
3157 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
3158 correct comparison function (kudos to Christian Persch and
3159 Claudio Saavedra for spotting this)
3161 * gtk/gtkrecentchooserutils.c:
3162 (sort_recent_items_mru),
3163 (sort_recent_items_lru): Ditto as above.
3165 2008-01-03 Johan Dahlin <johan@gnome.org>
3167 * tests/defaultvaluetest.c: Make it pass again.
3169 2008-01-02 Johan Dahlin <johan@gnome.org>
3171 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
3172 make it pass on Ubuntu.
3173 (main): Use gtk_test_list_all_types () instead of providing our
3175 And it no longer passes.
3177 2007-12-30 Johannes Schmid <jhs@gnome.org>
3179 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
3180 Also reorder menu when reordering tabs by drag & drop
3183 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
3184 Add a menu to one of the notebooks to have a test-case for
3185 the change mentioned above.
3187 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
3189 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
3191 2007-12-31 Christian Persch <chpe@gnome.org>
3193 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
3194 Plug a mem leak. Bug #506107.
3196 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3198 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
3199 icon cache api change. (#506135, Kazuki Iwamoto)
3201 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3203 Consider "wide-separators" and "separator-height" style properties:
3204 The separator is drawn using gtk_paint_box instead of cairo, when
3205 "wide-separators" is set. Also do not highlight details for previous
3206 or next month, if their day matches the selected day. (#339540)
3208 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
3209 in gtk_calendar_size_request and calendar_paint_day
3210 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
3211 for selected detail separators in GtkCalendar.
3213 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3215 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
3217 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
3218 a local variable instead in gtk_calendar_size_request.
3220 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3222 * tests/defaultvaluetest.c: Add enough exclusions to make the
3225 2007-12-28 Christian Persch <chpe@gnome.org>
3227 * modules/other/gail/Makefile.am:
3228 * modules/other/gail/tests/*:
3229 * configure.in: Merge tests from standalone gail. Bug #504568.
3231 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3233 * gtk/gtkclipboard.c: Make the finalizer work when display is
3236 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3238 Draw bottom shadow of GtkCalender headings. (#506113)
3240 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
3242 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3244 * gtk/gtkcalendar.c: Document the initial values of year/month/day
3247 2007-12-28 Christian Persch <chpe@gnome.org>
3249 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
3250 a mem leak. Bug #506096.
3252 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3255 * gtk/gtktreeview.c:
3256 * gtk/gtkprintoperation.c:
3257 * gtk/gtkprogressbar.c:
3258 * gtk/gtkmessagedialog.c:
3259 * gtk/gtknotebook.c:
3263 * gtk/gtklinkbutton.c:
3264 * gtk/gtkmenu.c: More default property value corrections.
3266 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3268 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
3269 accel_group unless it is set.
3271 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3273 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
3275 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3277 * gtk/gtkhandlebox.c: Fix the default values of shadow and
3278 shadow-type properties.
3280 * gtk/gtkfontsel.c: Fix the default values of several properties.
3282 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
3285 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
3287 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
3290 2007-12-28 Johan Dahlin <johan@gnome.org>
3292 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
3293 (gtk_dialog_buildable_custom_tag_start): Chain up.
3294 This makes it possible to have accelerators tags on GtkDialog
3297 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3299 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
3300 are shown within the widget, or just as tooltip. (#339540)
3302 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
3303 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
3304 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
3307 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3309 Try more decent appearance of calendar details separator. (#339540)
3311 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
3312 and make it short by one pixel on each side.
3314 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3316 Apply trivial code-style changes from attachement 101101. (#339540)
3318 * tests/testcalendar.c: Some updates to current GTK+ code-style.
3320 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3322 Restructure testcalendar for testing calendar details. (#339540)
3324 * tests/testcalendar.c: Push code arround for testing calendar details.
3326 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3328 Implement GtkTooltip API for calendar details. (#339540)
3330 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
3331 Remember detail overflows in calendar_paint_day to show the tooltip
3332 only when neccessary.
3334 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3336 Without setting "detail-width-chars" and "detail-height-rows"
3337 properties not only the widget has to be redrawn on certain
3338 conditions, but also its size must be recalculated. (#339540)
3340 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
3341 that function instead of gtk_widget_queue_draw.
3343 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3345 Consider details for size-request and expose-event. (#339540)
3347 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
3348 is_color_attribute functions. Change gtk_calendar_size_request
3349 and calendar_paint_day to consider and show calender details.
3351 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3353 * gtk/gtkcombobox.c: Introduce local priv variables to
3356 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3358 * gtk/gtkcombobox.c: Correct the default value for the
3359 tearoff-title property.
3361 * gtk/gtkcellrenderertext.c: Fix the default value for the
3362 wrap-mode and font-scale properties.
3364 * gtk/gtkaspectratio.c: Fix the default value for the ratio
3367 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3369 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
3370 defines. (#505708, MINAMI Hirokazu)
3372 2007-12-27 Christian Persch <chpe@gnome.org>
3374 * Makefile.am: Install gail.pc. Bug #505859.
3376 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
3378 Add infrastructure for GtkCalendar details. (#339540)
3380 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
3381 Add "detail-width-chars" and "detail-height-rows" properties,
3382 and gtk_calendar_set_detail_func function.
3384 2007-12-27 Xan Lopez <xan@gnome.org>
3387 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
3389 Add gtk_border_new to avoid memory allocator confusions when using
3390 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
3392 2007-12-27 Christian Persch <chpe@gnome.org>
3394 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
3395 bug #504886 not to read unitialised memory.
3397 2007-12-26 Xan Lopez <xan@gnome.org>
3399 * gtk/gtkstatusbar.c (has_extra_children): take into account the
3400 modification of the internal frame contents to decide if we have
3401 extra children. (#415677)
3403 2007-12-22 Christian Persch <chpe@gnome.org>
3405 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
3407 2007-12-25 Christian Persch <chpe@gnome.org>
3409 * modules/other/gail/gailwindow.c: (gail_window_initialize):
3410 Initialise |widget|. Fixes a buglet introduced by the commit from bug
3413 2007-12-25 Christian Persch <chpe@gnome.org>
3415 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
3417 2007-12-25 Christian Persch <chpe@gnome.org>
3419 * modules/other/gail/*.[ch]: Remove relocations from the atk
3420 factories. Remove unused gail_foo_new() functions. Fix object
3421 instantiation to be derivation safe by moving initialisation code
3422 from the removed gail_foo_new() functions to the
3423 AtkObjectClass::initialize implementation. Bug #505226.
3425 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3427 * modules/other/gail/gailentry.c:
3428 * modules/other/gail/gailimage.c:
3429 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
3430 uses of clipboards and settings. (#504722, Christian Persch)
3432 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3434 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
3437 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3439 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
3440 use the time and button information from the event. (#504901,
3443 2007-12-23 Cody Russell <bratsche@gnome.org>
3445 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
3446 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
3447 Fixes a regression caused by #164537 patch where transient
3448 windows that are hidden get shown (incorrectly) when their
3449 parents are minimized. (#504984)
3451 2007-12-22 Christian Persch <chpe@gnome.org>
3453 * modules/other/gail/gailcell.c:
3454 * modules/other/gail/gailcontainercell.c:
3455 * modules/other/gail/gailexpander.c:
3456 * modules/other/gail/gailtextcell.c:
3457 * modules/other/gail/gailtextview.c:
3458 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
3460 2007-12-22 Christian Persch <chpe@gnome.org>
3462 * modules/other/gail/*.c: Include config.h. Bug #504720.
3464 2007-12-22 Christian Persch <chpe@gnome.org>
3466 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
3467 handwritten get_type functions. Bug #504661.
3469 2007-12-23 Xan Lopez <xan@gnome.org>
3471 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
3472 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
3474 Patch by Sadrul Habib Chowdhury (#504804)
3476 2007-12-22 Christian Persch <chpe@gnome.org>
3478 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
3479 #504645, patch by Li Yuan.
3481 2007-12-22 Christian Persch <chpe@gnome.org>
3483 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
3485 2007-12-22 Christian Persch <chpe@gnome.org>
3487 * modules/other/gail/gail.c:
3488 * modules/other/gail/gailbutton.c:
3489 * modules/other/gail/gailcell.c:
3490 * modules/other/gail/gailcombo.c:
3491 * modules/other/gail/gailcombo.h:
3492 * modules/other/gail/gailcombobox.c:
3493 * modules/other/gail/gailentry.c:
3494 * modules/other/gail/gailexpander.c:
3495 * modules/other/gail/gailmenuitem.c:
3496 * modules/other/gail/gailnotebook.c:
3497 * modules/other/gail/gailnotebookpage.c:
3498 * modules/other/gail/gailnotebookpage.h:
3499 * modules/other/gail/gailoptionmenu.c:
3500 * modules/other/gail/gailrange.c:
3501 * modules/other/gail/gailtextview.c:
3502 * modules/other/gail/gailtreeview.c:
3503 * modules/other/gail/gailtreeview.h:
3504 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
3507 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3509 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
3512 2007-12-21 Richard Hult <richard@imendio.com>
3514 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
3515 Plug leak of destroyed subviews, fixes bug #504753.
3517 2007-12-20 Johan Dahlin <johan@gnome.org>
3519 * tests/Makefile.am (TEST_PROGS):
3520 * tests/defaultvaluetest.c: Add a test for default values,
3521 based on program by Christan Perch
3523 2007-12-20 Johan Dahlin <johan@gnome.org>
3525 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
3526 Refactor to avoid some duplication.
3527 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
3528 Fixes #504749, Yuri Pimenov
3530 2007-12-20 Kristian Rietveld <kris@imendio.com>
3532 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
3533 the build work again on systems without xrandr 1.2.
3535 2007-12-20 Christian Persch <chpe@gnome.org>
3538 * modules/other/gail/libgail-util/Makefile.am:
3539 Keep the same libtool version as the standalone libgail-util had.
3542 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
3544 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
3546 2007-12-20 Alexander Larsson <alexl@redhat.com>
3548 * gdk/x11/gdkapplaunchcontext-x11.c:
3549 Update for gio API changes
3551 2007-12-20 Richard Hult <richard@imendio.com>
3553 * gdk/quartz/GdkQuartzWindow.c:
3554 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
3555 processing events after changing the size.
3557 2007-12-20 Richard Hult <richard@imendio.com>
3559 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
3560 Add stub for quartz to fix build.
3562 2007-12-20 Christian Persch <chpe@gnome.org>
3564 * modules/other/gail/Makefile.am:
3565 * modules/other/gail/gailimage.c: (gail_image_class_init),
3566 (gail_image_init), (elide_underscores), (gail_image_get_name),
3567 (atk_image_interface_init), (gail_image_finalize):
3568 * modules/other/gail/gailimage.h:
3569 R modules/other/gail/gailintl.h:
3570 * po/POTFILES.skip: Use the stock item's label as the name of the
3571 accessible in gailimage.c. Bug #504246.
3573 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
3575 Avoid some compiler warnings and remove obsolete code. (#339540)
3577 * gtk/gtkcalendar.c: Change week and year variable in
3578 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
3579 0" block from calendar_paint_day: The feature in question is handled
3580 few lines above. Cast data returned by gtk_selection_data_get_text()
3581 to (gchar*) in gtk_calendar_drag_data_received.
3583 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
3585 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
3587 2007-12-19 Johan Dahlin <johan@gnome.org>
3589 * tests/buildertest.c (test_object_properties):
3590 Add another call to gtk_builder_add_string after using
3591 delayed properties, as reported in #504393 but already
3594 2007-12-18 Christian Persch <chpe@gnome.org>
3597 * docs/reference/Makefile.am:
3598 * docs/reference/libgail-util/*:
3599 * gail-uninstalled.pc.in:
3601 * modules/Makefile.am:
3602 * modules/other/Makefile.am:
3603 * modules/other/gail/*:
3604 * modules/other/gail/libgail-util/*:
3605 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
3607 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3609 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
3610 * gdk/win32/gdkproperty-win32.c:
3611 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
3613 * gtk/gtkimmodule.[hc]:
3614 * gtk/gtkimmulticontext.[hc]: When determining the default context,
3615 look at the gtk-im-module setting, and listen for changes to the
3616 setting. (#502446, Akira Tagoh)
3618 2007-12-17 Kristian Rietveld <kris@imendio.com>
3620 * gtk/gtktooltip.c (gtk_tooltip_finalize),
3621 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
3622 to NULL as soon as it's destroyed. (#496546, patch from
3625 2007-12-17 Kristian Rietveld <kris@imendio.com>
3627 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
3628 always determine what arrow to show if show_sort_indicator is true.
3629 (#352738, Chris Vine).
3631 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
3633 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
3636 * gtk/gtkpaned.c: Call gtk_container_forall instead of
3637 gtk_container_foreach in get_child_panes.
3639 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
3641 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
3643 Plug leak: When reordering the info in the list the old node is
3644 removed but not freed. (#503569)
3646 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
3648 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
3649 Use u32 instead of __u32 and u8 instead of __u8 as the other types
3650 are deprecated since DirectFB 1.0.0. If compiling with an older
3651 version define the new type name to the old types. Fixes bug #503190.
3653 2007-12-14 Ray Strode <rstrode@redhat.com>
3655 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
3656 instead of g_signal_connect_after (..., "realize", ...) as an
3657 alternative to gtk_widget_realize () (bug 503537).
3659 2007-12-14 Michael Natterer <mitch@imendio.com>
3661 * gdk/gdkinternals.h
3662 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
3665 * gdk/gdkapplaunchcontext.c
3666 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
3667 header already includes everything now.
3669 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3671 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
3672 next stable release shall be 2.16, not 2.14 - even if disagree.
3674 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
3676 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3678 Change GtkToolItem to retrieve its properties from GtkToolShell
3679 interface, instead of relying on being child of a GtkToolbar.
3682 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
3683 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
3684 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
3685 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
3686 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
3687 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
3688 Take section docs from template file and update them for GtkToolShell.
3689 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
3690 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
3692 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
3694 Extract loading of GtkPageSetup and GtkPrintSettings from their
3695 *_new_*() functions and move that code into separate
3696 *_load_*() functions (#475565).
3698 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
3699 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
3700 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
3701 Change the matching *_new_*() functions to use those functions.
3703 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3706 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
3708 2007-12-14 Kristian Rietveld <kris@imendio.com>
3710 * gtk/tests/liststore.c:
3711 * gtk/tests/treestore.c: added tests for insertion functions.
3713 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
3715 * Add RandR 1.2 support
3717 - New monitors_changed signal - New API to get width/height of
3718 monitors, and the name of the plug
3720 2007-12-13 Kristian Rietveld <kris@imendio.com>
3722 * gtk/tests/liststore.c:
3723 * gtk/tests/treestore.c: test the move and swap functions on a
3724 store with only one node.
3726 2007-12-13 Kristian Rietveld <kris@imendio.com>
3728 * gtk/gtktestutils.c (gtk_test_init): add a call to
3731 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
3734 2007-12-13 Kristian Rietveld <kris@imendio.com>
3736 * gtk/tests/liststore.c:
3737 * gtk/tests/treestore.c: start composing tests for the list and tree
3740 * gtk/tests/treeview-scrolling.c: added automated tests for
3741 GtkTreeView's scrolling "subsystem".
3743 * gtk/tests/Makefile.am: updated; added new test programs.
3745 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
3747 Make the code compile again after the GdkAppLaunchContext changes.
3749 * configure.in: Add gio-2.0 to GDK_PACKAGES.
3750 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
3752 2007-12-12 Matthias Clasen <mclasen@redhat.com>
3754 * gdk/gdkapplaunchcontext.c: Add docs
3756 2007-12-12 Matthias Clasen <mclasen@redhat.com>
3758 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
3759 in gdk, providing startup notification. (#503203)
3761 * gdk/x11/gdkapplaunchcontext-x11.c:
3762 * gdk/win32/gdkapplaunchcontext-win32.c:
3763 * gdk/quartz/gdkapplaunchcontext-quartz.c:
3764 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
3765 parts. All but X11 are just empty stubs for now.
3768 * gdk/gdkinternals.h:
3770 * gdk/x11/Makefile.am:
3771 * gdk/win32/Makefile.am:
3772 * gdk/quartz/Makefile.am:
3773 * gdk/directfb/Makefile.am: Necessary glue.
3775 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
3777 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
3779 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3781 * gdk/directfb/gdktestutils-directfb.c:
3782 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
3783 which adds testing functions to the DirectFB backend.
3785 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3787 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
3788 Ciccani which fixes the mixing of gdk and cairo rendering.
3790 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
3792 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
3793 on "drag-motion" handlers. Clearify documentation for
3796 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
3798 * buildertest.c: made unnecessarily exported symbols static.
3799 switched g_return_if_fail() statements in tests to assertions.
3800 special cased currently failing Widget/accesibility test to
3801 run only for g_test_thorough(), so it doesn't break make check.
3802 some coding style fixes.
3804 * Makefile.am: added buildertest to TEST_PROGS.
3806 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3808 * docs/tutorial/gtk-tut.sgml:
3809 Use gtk_widget_get_parent_window() instead of widget->parent->window.
3811 2007-12-10 Richard Hult <richard@imendio.com>
3813 * gdk/quartz/Makefile.am:
3814 * gdk/quartz/gdkquartz.h:
3815 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
3816 header (bug #405915). Also add a getter for the toplevel nswindow.
3818 2007-12-10 Richard Hult <richard@imendio.com>
3820 * gdk/quartz/gdkdrawable-quartz.c:
3821 (gdk_quartz_drawable_get_context),
3822 (gdk_quartz_drawable_release_context):
3823 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
3824 (gdk_event_check), (gdk_event_dispatch), (poll_func):
3825 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
3826 used for each drawing context and in prepare, dispatch and poll
3827 with one that exists across each main loop iteration. Fixes leaks
3828 on leopard and protects against future leaks introduce when the
3829 underlying system changes again (bug #492977).
3831 2007-12-10 Richard Hult <richard@imendio.com>
3833 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
3834 Fix the check for no changes to position and size.
3836 2007-12-10 Richard Hult <richard@imendio.com>
3838 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
3839 sized areas at (0, 0), patch from Paul Davis.
3841 2007-12-10 Richard Hult <richard@imendio.com>
3843 * gdk/quartz/gdkprivate-quartz.h:
3844 * gdk/quartz/gdkeventloop-quartz.c:
3845 (_gdk_quartz_event_loop_get_pending),
3846 (_gdk_quartz_event_loop_check_pending),
3847 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
3848 (gdk_event_check), (gdk_event_dispatch):
3849 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
3850 (_gdk_events_queue): Fix a bug where we could end up trying to
3851 handle the same event more than once. Based on patch from Paul
3854 2007-12-10 Tor Lillqvist <tml@novell.com>
3856 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
3859 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3861 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
3862 to avoid further fallout from the fix for bug 388321.
3864 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3866 * gdk/directfb/gdkgc-directfb.c:
3867 * gdk/directfb/gdkdrawable-directfb.c:
3868 * gdk/directfb/gdkdirectfb.h:
3869 * gdk/directfb/gdkwindow-directfb.c:
3870 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
3871 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
3872 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
3873 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
3874 which are expected to improve the performance of the DirectFB backend.
3875 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
3877 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3879 * gtk/gtkcontainer.c: Correct the documentation of child
3880 property getter arguments. (#501992, David Brigada)
3882 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3884 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
3885 leak pixbufs. (#502250, Yevgen Muntyan)
3887 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
3889 * gtk/gtkprintunixdialog.c:
3890 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
3891 Print and Page Setup dialogs (#502202).
3893 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
3895 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
3896 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
3897 of XVFB_START, since it's the GTESTER invokation that needs this.
3899 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
3901 * gdk-pixbuf/gdk-pixbuf.symbols:
3903 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
3904 positives in abicheck.sh
3906 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3908 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
3909 GDK events generations in the DirectFB backend.
3911 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
3913 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
3914 set of likely unused display ids, because MacOS has no seq(1) command.
3916 2007-12-06 Richard Hult <richard@imendio.com>
3918 * gdk/quartz/gdkevents-quartz.c:
3919 (synthesize_crossing_events_for_ns_event): Fix warning when
3920 switching spaces in leopard.
3922 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
3924 * tests/floatingtest.c: ported to new testing framework.
3926 * tests/Makefile.am: run floatingtest as testing framework test.
3928 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
3930 * tests/autotestfilechooser.c: majorly speed up execution by reducing
3931 timeouts and converting main loop sleeps to pending/iterate loops with
3932 very low priority async handlers. eliminate output for non-verbose
3933 tests. assert successfull subtests in all test functions. use testing
3934 framework in main().
3936 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
3937 executed inside Xvfb upon make check.
3939 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
3941 * tests/objecttests.c: use string comparisons for string property
3942 values and get rid of referencing symbols in array initialization.
3944 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
3946 * gtk+/Makefile.decl: run tests in current dir after setting up the
3947 logging directory, so their results get properly merged into the
3950 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
3951 tests to loop over registered Gdk/Gtk+ types.
3953 * gtk+/tests/objecttests.c: new test program, implements automated
3954 property tests. several properties are blacklisted because they
3955 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
3956 can be used to test blacklisted properties and see which proprty failed.
3958 2007-12-04 Richard Hult <richard@imendio.com>
3960 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
3961 Fully initialize the root window, fixes bug #501583.
3963 2007-12-04 Matthias Clasen <mclasen@redhat.com>
3965 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
3968 2007-12-03 Richard Hult <richard@imendio.com>
3970 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
3971 Don't crash when dragging from a source that doesn't support uri
3972 lists (bug #499868, Paul Davis).
3974 2007-12-03 Richard Hult <richard@imendio.com>
3976 * gdk/quartz/gdkwindow-quartz.c:
3977 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
3978 parent relative bg pixmap is set, and no parent has a bg
3979 pixmap. Fixes bug #500804.
3981 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3983 Two optimizations for icon cache lookups.
3985 * gtk/gtkiconcache.[hc]:
3986 * gtk/gtkicontheme.c: Remember the directory index for
3987 subdirectories, instead of running over the directory list
3990 * gtk/gtkiconcache.c (find_image_offset): Remember the last
3991 chain and try it first; this helps with the the usage patterns
3992 in gtkicontheme.c, where the same icon is queried for a lot
3995 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
3997 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
3998 functions from header files. this should be portable across linux and
3999 Mac OS, unlike the previpous sed expression.
4001 2007-12-1 Cody Russell <bratsche@gnome.org>
4003 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
4004 On Windows, queue a redraw of child2 whenever we set
4005 the pane handle position. This is unfortunately kind
4006 of hacky, but solves the visual artifacts that were
4007 occuring on at least certain types of child widgets
4008 (e.g., text views and tree views) that are inside
4009 horizontal or vertical panes. (#144269)
4011 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4013 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
4015 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4017 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
4020 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4022 * gtk/Makefile.am: Fix ordering of subdirs.
4024 2007-11-28 Tor Lillqvist <tml@novell.com>
4026 A proper build of GNU libintl is supposed to export the variable
4027 _nl_msg_cat_cntr. configure looks for that variable in order to
4028 recognize GNU gettext. If it sees that it is indeed GNU gettext
4029 that is used, it decides to install message catalogs in
4030 share/locale, otherwise in lib/locale. Until now on Windows I have
4031 built GTK+ against a build of GNU gettext that did not export
4032 _nl_msg_cat_cntr. But this will change, so we can't assume message
4033 catalogs are always in lib/locale.
4035 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
4036 GTK_LOCALEDIR being either in "lib" or "share". Move the function
4037 before the inclusion of gtkprivate.h so that it sees the original
4040 * gtk-zip.sh.in: Check whether the message catalogs are in
4041 share/locale or lib/locale.
4043 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
4044 that the code in _gtk_get_localedir() will find the slashes.
4046 2007-11-28 Tor Lillqvist <tml@novell.com>
4048 * gtk/Makefile.am: Improve portability. The -o option is present
4049 only in newish GNU egreps. Use one more sed in the pipeline
4052 2007-11-28 Tor Lillqvist <tml@novell.com>
4054 Fix #375893, patch by Ben Hague:
4056 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
4057 around GetLogicalDrives() that takes also the viewable drive
4058 restrictions in the Registry (which are usually the result of an
4059 Active Directory Group Policy) into account.
4061 (check_volumes, gtk_file_system_win32_list_volumes) Call
4062 get_viewable_logical_drives() instead of GetLogicalDrives().
4064 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4066 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
4067 variables to silence valgrind. (#495124, Morten Welinder)
4069 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4071 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
4072 that the construct_child function is responsible for returning a
4074 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
4075 objects from constructors
4076 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
4077 g_object_ref() to this construction function (it's the only
4082 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4084 * gtkbuilder.c: remove concept of root objects and just refcount
4085 all objects in the builder. Fixes #496651.
4087 2007-11-26 Ryan Lortie <desrt@desrt.ca>
4089 * tests/buildertest.c (test_window): fix invalid free
4091 2007-11-26 Josselin Mouette <joss@malsain.org>
4093 reviewed by: Federico Mena Quintero
4095 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
4096 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
4097 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
4098 Make the shortcuts activate with a single click. (#148828)
4099 Fix a few things affected by the change:
4100 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
4101 where no shortcut is selected.
4102 - Don't activate a shortcut in the response callback.
4103 - Filter out duplicate entries in volumes and bookmarks to
4104 avoid the selection to change when reordering them with DnD.
4106 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4109 * gtk/gtknotebook.c:
4110 * gtk/gtkplugprivate.h:
4112 * gtk/gtksocketprivate.h:
4113 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
4115 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4117 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
4118 (#495574, Richard Hult)
4120 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4122 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
4123 String change ! (#376361, Sven Neumann)
4125 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4127 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
4129 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
4132 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4134 * gtk/gtkassistant.c: Improve alternative button
4135 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
4137 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4139 * gtk/gtkcalendar.c: Fix a theming problem with colors
4140 in GtkCalendar. (#499703, Michael Hofmann)
4142 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4144 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
4146 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4148 Use templates for glib-mkenums calls instead of
4149 complicated commandlines in Makefiles. (#429910)
4151 * gdk-pixbuf/Makefile.am:
4154 * perf/Makefile.am: Use templates for glib-mkenums
4156 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
4157 * gdk/gdkenumtypes.[ch].template:
4158 * gtk/gtktypebuiltings.[ch].template:
4159 * perf/typebuiltins.[ch].template: The templates
4161 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4163 * gtk/gtkfilechooserbutton.c:
4164 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
4165 some compilers choke on that. (#467722)
4167 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4169 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
4170 about hook setup. (#425004, Emmanuele Bassi)
4172 2007-11-26 Tor Lillqvist <tml@novell.com>
4174 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
4175 monitor the window currently is on, not always the primary
4176 monitor. (#463865, Tim Evans)
4178 2007-11-26 Tor Lillqvist <tml@novell.com>
4180 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
4182 * gdk/win32/Makefile.am: Add it.
4184 2007-11-26 Tor Lillqvist <tml@novell.com>
4186 * configure.in: Don't add jasper to all_loaders if no libjasper.
4188 2007-11-25 Bastien Nocera <hadess@hadess.net>
4190 * configure.in: Add detection for libjasper, used by the
4191 gdk-pixbuf JPEG2000 loader
4193 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4195 * configure.in: Require gtk-doc 1.8
4197 * */*.c: Use gtk-doc abbreviations for examples in docs.
4199 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4201 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
4204 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4206 * gtk/gtkdialog.c: Move signal and property documentation inline,
4207 fix a problem with the ::response signal docs. (#499133, Josselin
4210 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
4212 * Makefile.decl: initialize automake variables EXTRA_DIST and
4213 TEST_PROGS for unconditional appending via += in other makefiles.
4214 define recursive test targets: test, test-report, perf-report,
4215 full-report, as described here:
4216 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
4217 the test targets will execute Gtk+ test programs within an Xvfb session.
4219 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
4221 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
4222 g_test_run() to run the tests to integrate with the testing framework.
4224 * gtk/tests/Makefile.am: removed exemplary testing rules.
4226 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
4227 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
4228 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
4229 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
4230 * docs/reference/Makefile.am, docs/tools/Makefile.am:
4231 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
4232 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
4233 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
4234 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
4235 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
4236 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
4237 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
4238 * modules/engines/ms-windows/Theme/Makefile.am:
4239 * modules/engines/ms-windows/Makefile.am:
4240 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
4241 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
4242 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
4243 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
4244 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
4245 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
4246 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
4248 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4250 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
4251 (#485662, patch by Herbert Valerio Riedel)
4253 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4255 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
4257 2007-11-21 Richard Hult <richard@imendio.com>
4259 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
4260 stubs for the testing functions to fix the build.
4262 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4264 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
4265 (#467711, The Written Word)
4267 2007-11-21 Ross Burton <ross@openedhand.com>
4269 * gdk/x11/gdksettings.c:
4270 Add xsetting for gtk-scrolled-window-placement (#458103).
4272 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4274 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
4275 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
4276 (#469239, Michael Natterer)
4278 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4280 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
4281 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
4282 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
4283 (#436536, Tommi Komulainen)
4285 2007-11-21 Matthias Clasen <mclasen@redhat.com>
4287 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
4288 property. (#489782, Jan Janech)
4290 2007-11-20 Matthias Clasen <mclasen@redhat.com>
4292 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
4293 frames. (#107398, Owen Taylor, Miguel Gomez)
4295 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
4297 Moved Gdk test functions from Gtk+ to Gdk test utils.
4299 * gdk/Makefile.am: added gdktestutils.h to public includes.
4301 * gdk/gdk.h: added gdktestutils.h to public includes.
4303 * gdk/gdk.symbols: added gdk_test_simulate_button,
4304 gdk_test_simulate_key, gdk_test_render_sync.
4306 * gdk/gdktestutils.h: new file, added prototypes for
4307 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
4309 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
4311 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
4312 gdk_test_simulate_key, gdk_test_render_sync.
4314 * gtk/gtktestutils.c:
4315 * gtk/gtktestutils.h:
4316 * gtk/gtk.symbols: removed gtk_test_simulate_button
4317 gtk_test_simulate_key, gtk_test_xserver_render_sync.
4319 * gtk/tests/testing.c: call gdk_test_render_sync.
4321 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
4323 Added unit tests for Gtk+ testing utilities.
4325 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
4326 utility functions. some g_test_* related portions are disabled and need
4327 to be enabled once Gtk+ depends on a new glib with the GLib testing
4328 framework integrated.
4330 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
4331 tests. added exemplary test rules to run tests inside Xvfb. this
4332 needs to depend on gtester for full fledged testing.
4334 * gtk/Makefile.am: build gtk+/gtk/tests, define
4335 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
4336 e.g. gtk_text_get_type().
4338 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
4340 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
4342 Added Gtk+ testing utilities.
4344 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
4345 functions. for the most part, the functions herein involve
4346 navigating and interacting with dialog elements programatically,
4347 to automate user interaction tests of dialogs and widgets.
4349 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
4351 * gtk/gtk.symbols: added gtk_test_* symbols.
4353 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
4354 the build. generate gtktypefuncs.c which contains a list of all
4355 _get_type functions in Gtk+ and Gdk.
4357 2007-11-20 Bastien Nocera <hadess@hadess.net>
4359 * configure.in: add support for conditional icns gdk-pixbuf loader
4362 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
4364 * configure.in: updated version number to 2.15.0 for development.
4366 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
4368 === Branch for 2.12 ===