1 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3 Use pango_layout_set_height() for calendar details (#506049).
5 * configure.in: Require 1.19.3 for pango_layout_set_height().
6 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
8 2008-01-18 Johan Dahlin <johan@gnome.org>
10 * gtk/gtk-builder-convert (get_property_node): New method
11 (GtkBuilderConverter._create_object): Conditionally take a node as
12 a property value, so don't lose translate/context attributes if they
14 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
15 property values instead of strings.
16 (#509153, Erik van Pienbroek)
18 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
20 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
22 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
23 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
24 * tests/testcalendar.c: Duplicate calendar details before returning.
26 2008-01-16 Christian Persch <chpe@gnome.org>
28 * gtk/gtkwidget.c: Store the event mask and extension event mode
29 directly in the gobject data pointer, instead of in an allocated
32 2008-01-16 Michael Natterer <mitch@imendio.com>
34 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
35 gdk-pixbuf now uses gio functions.
37 2008-01-16 Matthias Clasen <mclasen@redhat.com>
39 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
40 the notify::model signal. (#509819, David Zeuthen)
42 2008-01-15 Michael Natterer <mitch@imendio.com>
50 * gdk/gdkwindow.h: made more struct pointer and array parameters
51 const. GDK should now be constified as far as possible without
52 breaking source compatibility. Includes some minor cleanup like
53 indentation and s/nfoo/n_foo/ (bug #508544).
59 * gdk/gdkregion-generic.c
61 * gdk/directfb/gdkdisplay-directfb.c
62 * gdk/directfb/gdkwindow-directfb.c
63 * gdk/quartz/gdkdisplay-quartz.c
64 * gdk/quartz/gdkwindow-quartz.c
65 * gdk/win32/gdkdisplay-win32.c
66 * gdk/win32/gdkwindow-win32.c
67 * gdk/x11/gdkdisplay-x11.c
68 * gdk/x11/gdkwindow-x11.c: changed accordingly.
70 2008-01-14 Michael Natterer <mitch@imendio.com>
72 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
75 (gtk_rc_parse_any): change variables to const and introduce
76 another local variable to fix const warnings.
78 2008-01-14 Michael Natterer <mitch@imendio.com>
80 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
81 of gdk_screen_get_font_options() to gpointer to get rid of const
84 2008-01-14 Michael Natterer <mitch@imendio.com>
86 * tests/testdnd.c (source_drag_data_get): fix another call to
87 gtk_selection_data_set().
89 2008-01-14 Michael Natterer <mitch@imendio.com>
91 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
94 2008-01-14 Michael Natterer <mitch@imendio.com>
96 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
98 2008-01-14 Michael Natterer <mitch@imendio.com>
100 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
101 "uris" to guchar* when passing it to gtk_selection_data_set().
103 2008-01-14 Michael Natterer <mitch@imendio.com>
111 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
112 parameters const (bug #508544).
118 * gdk/gdkpolyreg-generic.c
119 * gdk/gdkregion-generic.c
120 * gdk/directfb/gdkcolor-directfb.c
121 * gdk/directfb/gdkgc-directfb.c
122 * gdk/directfb/gdkgeometry-directfb.c
123 * gdk/directfb/gdkwindow-directfb.c
124 * gdk/quartz/gdkcolor-quartz.c
125 * gdk/quartz/gdkgc-quartz.c
126 * gdk/quartz/gdkgeometry-quartz.c
127 * gdk/quartz/gdkwindow-quartz.c
128 * gdk/win32/gdkcolor-win32.c
129 * gdk/win32/gdkgc-win32.c
130 * gdk/win32/gdkgeometry-win32.c
131 * gdk/win32/gdkprivate-win32.h
132 * gdk/win32/gdkwindow-win32.c
133 * gdk/x11/gdkcolor-x11.c
134 * gdk/x11/gdkgc-x11.c
135 * gdk/x11/gdkgeometry-x11.c
136 * gdk/x11/gdkmain-x11.c
137 * gdk/x11/gdkprivate-x11.h
138 * gdk/x11/gdkwindow-x11.c: changed accordingly.
140 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
143 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
145 Explain name choice for gtk_tool_item_toolbar_reconfigured.
147 * gtk/gtktoolitem.c: Add comment expaining name choice for
148 gtk_tool_item_toolbar_reconfigured.
150 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
152 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
153 implementations to notify its children, when some aspect of their
154 configuration changed (#509042).
156 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
157 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
158 Rename _gtk_tool_item_toolbar_reconfigured.
160 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
162 Include <gtk/gtktoolshell.h> from gtk.h.
164 * gtk/gtk.h: Add gtktoolshell.h
166 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
168 Print angle brackets arround e-mail addresses in the about dialog
169 (#409520, Mariano Suárez-Alvarez).
171 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
173 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
175 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
176 special casing so test widgets are always queues for destruction
179 * gtk/tests/testing.c: removed bits left-over from testing without
182 2008-01-10 Tor Lillqvist <tml@novell.com>
184 * modules/other/gail/libgail-util/Makefile.am
185 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
188 2008-01-10 Tor Lillqvist <tml@novell.com>
190 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
191 uses gtkprintunixdialog API.
193 2008-01-10 Tor Lillqvist <tml@novell.com>
195 * gdk/win32/gdkdisplay-win32.c
196 * gdk/win32/gdkglobals-win32.c
197 * gdk/win32/gdkprivate-win32.h
198 * gdk/win32/gdkscreen-win32.c
199 * gdk/win32/gdkwindow-win32.c: Implement
200 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
201 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
204 2008-01-10 Cody Russell <bratsche@gnome.org>
206 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
207 Properly ref/unref windows and parents. (#506769)
209 2008-01-10 Richard Hult <richard@imendio.com>
211 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
212 (gdk_window_hide), (move_resize_window_internal): Move the
213 tracking rect workaround from here...
215 * gdk/quartz/GdkQuartzWindow.c:
216 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
217 movements during showing/hiding operations. Fixes bug #508516.
219 2008-01-10 Michael Natterer <mitch@imendio.com>
221 * gdk/directfb/gdkscreen-directfb.c
222 (gdk_screen_get_monitor_width_mm)
223 (gdk_screen_get_monitor_height_mm)
224 (gdk_screen_get_monitor_plug_name): add these functions to make
227 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
229 * gtk/gtkrecentchoosermenu.c:
230 (idle_populate_func), (idle_populate_clean_up): Fix possible
231 recursion by resetting the idle source id. (#507605, William
234 2008-01-10 Kristian Rietveld <kris@imendio.com>
236 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
237 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
238 avoid valgrind warnings. (#507751, patch from Christian Persch).
240 2008-01-10 Kristian Rietveld <kris@imendio.com>
242 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
243 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
245 2008-01-10 Kristian Rietveld <kris@imendio.com>
247 Fix #477175, reported by Juri Pakaste.
249 * gtk/gtktreeprivate.h:
250 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
251 tree_view->priv->dy here directly, just calculate the new value
252 and set it on the adjustment,
253 (gtk_tree_view_adjustment_changed): add guards to not call
254 gtk_tree_view_dy_to_top_row() if we are currently in
255 gtk_tree_view_top_row_to_dy(),
256 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
257 coordinates, not tree coordinates,
258 (gtk_tree_view_real_start_editing): add cast.
260 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
261 position of the editable in the "create new row and start editing"
264 2008-01-09 Michael Natterer <mitch@imendio.com>
266 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
269 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
270 * gtk/gtkicontheme.c (theme_list_contexts)
271 (gtk_icon_theme_lookup_icon)
272 * gtk/gtkimcontextsimple.c (beep_window)
273 * gtk/gtklinkbutton.c (set_link_color)
274 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
277 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
278 variable and add const to another to fix a warning.
280 2008-01-07 Matthias Clasen <mclasen@redhat.com>
282 * gtk/gtkassistant.c (remove_page): Be more robust when removing
283 the current page. (#499951, Andreas Sandberg)
285 2008-01-06 Johan Dahlin <johan@gnome.org>
287 * gtk/gtkspinbutton.c: Declare value in the example code for
288 GtkSpinButton::output, as pointed out by Anders Carlsson.
290 2008-01-06 Christian Persch <chpe@gnome.org>
292 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
293 and remove an obsolete event box. Bug #506760.
295 2008-01-06 Johan Dahlin <johan@gnome.org>
297 * tests/buildertest.c (test_domain):
298 Update, GtkBuilder::translation-domain is no longer set
300 * gtk/gtkbuilderparser.c (parse_interface):
301 Allow domains to be overridden in <interface>'s if a translation-domain
302 is set in the builder.
303 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
304 of the builder, make the domain set in the <interface> apply only to strings
306 (#496831, Ryan Lortie)
308 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
311 * gtk/gtktreestore.c (tree_model_end_element):
312 Remove an unused variable
314 2008-01-06 Matthias Clasen <mclasen@redhat.com>
316 * gtk/gtkspinbutton.c: Document the ::output signal and
317 add an example. (#507566, example by Owen Taylor)
319 2008-01-06 Johan Dahlin <johan@gnome.org>
321 * gtk/gtkcellrenderercombo.c:
322 (gtk_cell_renderer_combo_get_property),
323 (gtk_cell_renderer_combo_set_property):
324 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
325 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
326 * gtk/gtknotebook.c: (gtk_notebook_set_property):
327 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
328 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
329 (gtk_text_buffer_get_property):
330 * gtk/gtktextview.c: (gtk_text_view_set_property):
331 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
332 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
333 (gtk_tool_button_get_property):
334 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
335 (gtk_tool_item_get_property):
336 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
337 * gtk/gtkwidget.c: (gtk_widget_set_property):
338 * gtk/gtkwindow.c: (gtk_window_set_property):
339 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
342 2008-01-06 Johan Dahlin <johan@gnome.org>
344 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
345 Make sure that --root works for toplevel widgets.
346 (#491847, Phil Lello)
348 2008-01-05 Johan Dahlin <johan@gnome.org>
350 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
351 to make sure that make test-report works properly
353 2008-01-05 Christian Persch <chpe@gnome.org>
355 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
356 GType as integer through gpointer. Bug #507395.
358 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
360 Avoid some compiler warnings (#507000).
362 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
363 for value argument of _gtk_builder_flags_from_string.
364 * gtk/gtkwidget.c: Don't alias the child pointer passed
365 to gdk_window_get_user_data.
367 2008-01-04 Michael Natterer <mitch@imendio.com>
369 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
370 to set the time in the returned GdkTimeCoords.
372 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
374 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
375 correct comparison function (kudos to Christian Persch and
376 Claudio Saavedra for spotting this)
378 * gtk/gtkrecentchooserutils.c:
379 (sort_recent_items_mru),
380 (sort_recent_items_lru): Ditto as above.
382 2008-01-03 Johan Dahlin <johan@gnome.org>
384 * tests/defaultvaluetest.c: Make it pass again.
386 2008-01-02 Johan Dahlin <johan@gnome.org>
388 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
389 make it pass on Ubuntu.
390 (main): Use gtk_test_list_all_types () instead of providing our
392 And it no longer passes.
394 2007-12-30 Johannes Schmid <jhs@gnome.org>
396 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
397 Also reorder menu when reordering tabs by drag & drop
400 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
401 Add a menu to one of the notebooks to have a test-case for
402 the change mentioned above.
404 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
406 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
408 2007-12-31 Christian Persch <chpe@gnome.org>
410 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
411 Plug a mem leak. Bug #506107.
413 2007-12-28 Matthias Clasen <mclasen@redhat.com>
415 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
416 icon cache api change. (#506135, Kazuki Iwamoto)
418 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
420 Consider "wide-separators" and "separator-height" style properties:
421 The separator is drawn using gtk_paint_box instead of cairo, when
422 "wide-separators" is set. Also do not highlight details for previous
423 or next month, if their day matches the selected day. (#339540)
425 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
426 in gtk_calendar_size_request and calendar_paint_day
427 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
428 for selected detail separators in GtkCalendar.
430 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
432 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
434 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
435 a local variable instead in gtk_calendar_size_request.
437 2007-12-28 Matthias Clasen <mclasen@redhat.com>
439 * tests/defaultvaluetest.c: Add enough exclusions to make the
442 2007-12-28 Christian Persch <chpe@gnome.org>
444 * modules/other/gail/Makefile.am:
445 * modules/other/gail/tests/*:
446 * configure.in: Merge tests from standalone gail. Bug #504568.
448 2007-12-28 Matthias Clasen <mclasen@redhat.com>
450 * gtk/gtkclipboard.c: Make the finalizer work when display is
453 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
455 Draw bottom shadow of GtkCalender headings. (#506113)
457 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
459 2007-12-28 Matthias Clasen <mclasen@redhat.com>
461 * gtk/gtkcalendar.c: Document the initial values of year/month/day
464 2007-12-28 Christian Persch <chpe@gnome.org>
466 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
467 a mem leak. Bug #506096.
469 2007-12-28 Matthias Clasen <mclasen@redhat.com>
473 * gtk/gtkprintoperation.c:
474 * gtk/gtkprogressbar.c:
475 * gtk/gtkmessagedialog.c:
480 * gtk/gtklinkbutton.c:
481 * gtk/gtkmenu.c: More default property value corrections.
483 2007-12-28 Matthias Clasen <mclasen@redhat.com>
485 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
486 accel_group unless it is set.
488 2007-12-28 Matthias Clasen <mclasen@redhat.com>
490 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
492 2007-12-28 Matthias Clasen <mclasen@redhat.com>
494 * gtk/gtkhandlebox.c: Fix the default values of shadow and
495 shadow-type properties.
497 * gtk/gtkfontsel.c: Fix the default values of several properties.
499 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
502 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
504 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
507 2007-12-28 Johan Dahlin <johan@gnome.org>
509 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
510 (gtk_dialog_buildable_custom_tag_start): Chain up.
511 This makes it possible to have accelerators tags on GtkDialog
514 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
516 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
517 are shown within the widget, or just as tooltip. (#339540)
519 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
520 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
521 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
524 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
526 Try more decent appearance of calendar details separator. (#339540)
528 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
529 and make it short by one pixel on each side.
531 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
533 Apply trivial code-style changes from attachement 101101. (#339540)
535 * tests/testcalendar.c: Some updates to current GTK+ code-style.
537 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
539 Restructure testcalendar for testing calendar details. (#339540)
541 * tests/testcalendar.c: Push code arround for testing calendar details.
543 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
545 Implement GtkTooltip API for calendar details. (#339540)
547 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
548 Remember detail overflows in calendar_paint_day to show the tooltip
549 only when neccessary.
551 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
553 Without setting "detail-width-chars" and "detail-height-rows"
554 properties not only the widget has to be redrawn on certain
555 conditions, but also its size must be recalculated. (#339540)
557 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
558 that function instead of gtk_widget_queue_draw.
560 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
562 Consider details for size-request and expose-event. (#339540)
564 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
565 is_color_attribute functions. Change gtk_calendar_size_request
566 and calendar_paint_day to consider and show calender details.
568 2007-12-28 Matthias Clasen <mclasen@redhat.com>
570 * gtk/gtkcombobox.c: Introduce local priv variables to
573 2007-12-27 Matthias Clasen <mclasen@redhat.com>
575 * gtk/gtkcombobox.c: Correct the default value for the
576 tearoff-title property.
578 * gtk/gtkcellrenderertext.c: Fix the default value for the
579 wrap-mode and font-scale properties.
581 * gtk/gtkaspectratio.c: Fix the default value for the ratio
584 2007-12-27 Matthias Clasen <mclasen@redhat.com>
586 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
587 defines. (#505708, MINAMI Hirokazu)
589 2007-12-27 Christian Persch <chpe@gnome.org>
591 * Makefile.am: Install gail.pc. Bug #505859.
593 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
595 Add infrastructure for GtkCalendar details. (#339540)
597 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
598 Add "detail-width-chars" and "detail-height-rows" properties,
599 and gtk_calendar_set_detail_func function.
601 2007-12-27 Xan Lopez <xan@gnome.org>
604 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
606 Add gtk_border_new to avoid memory allocator confusions when using
607 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
609 2007-12-27 Christian Persch <chpe@gnome.org>
611 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
612 bug #504886 not to read unitialised memory.
614 2007-12-26 Xan Lopez <xan@gnome.org>
616 * gtk/gtkstatusbar.c (has_extra_children): take into account the
617 modification of the internal frame contents to decide if we have
618 extra children. (#415677)
620 2007-12-22 Christian Persch <chpe@gnome.org>
622 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
624 2007-12-25 Christian Persch <chpe@gnome.org>
626 * modules/other/gail/gailwindow.c: (gail_window_initialize):
627 Initialise |widget|. Fixes a buglet introduced by the commit from bug
630 2007-12-25 Christian Persch <chpe@gnome.org>
632 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
634 2007-12-25 Christian Persch <chpe@gnome.org>
636 * modules/other/gail/*.[ch]: Remove relocations from the atk
637 factories. Remove unused gail_foo_new() functions. Fix object
638 instantiation to be derivation safe by moving initialisation code
639 from the removed gail_foo_new() functions to the
640 AtkObjectClass::initialize implementation. Bug #505226.
642 2007-12-24 Matthias Clasen <mclasen@redhat.com>
644 * modules/other/gail/gailentry.c:
645 * modules/other/gail/gailimage.c:
646 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
647 uses of clipboards and settings. (#504722, Christian Persch)
649 2007-12-24 Matthias Clasen <mclasen@redhat.com>
651 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
654 2007-12-24 Matthias Clasen <mclasen@redhat.com>
656 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
657 use the time and button information from the event. (#504901,
660 2007-12-23 Cody Russell <bratsche@gnome.org>
662 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
663 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
664 Fixes a regression caused by #164537 patch where transient
665 windows that are hidden get shown (incorrectly) when their
666 parents are minimized. (#504984)
668 2007-12-22 Christian Persch <chpe@gnome.org>
670 * modules/other/gail/gailcell.c:
671 * modules/other/gail/gailcontainercell.c:
672 * modules/other/gail/gailexpander.c:
673 * modules/other/gail/gailtextcell.c:
674 * modules/other/gail/gailtextview.c:
675 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
677 2007-12-22 Christian Persch <chpe@gnome.org>
679 * modules/other/gail/*.c: Include config.h. Bug #504720.
681 2007-12-22 Christian Persch <chpe@gnome.org>
683 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
684 handwritten get_type functions. Bug #504661.
686 2007-12-23 Xan Lopez <xan@gnome.org>
688 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
689 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
691 Patch by Sadrul Habib Chowdhury (#504804)
693 2007-12-22 Christian Persch <chpe@gnome.org>
695 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
696 #504645, patch by Li Yuan.
698 2007-12-22 Christian Persch <chpe@gnome.org>
700 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
702 2007-12-22 Christian Persch <chpe@gnome.org>
704 * modules/other/gail/gail.c:
705 * modules/other/gail/gailbutton.c:
706 * modules/other/gail/gailcell.c:
707 * modules/other/gail/gailcombo.c:
708 * modules/other/gail/gailcombo.h:
709 * modules/other/gail/gailcombobox.c:
710 * modules/other/gail/gailentry.c:
711 * modules/other/gail/gailexpander.c:
712 * modules/other/gail/gailmenuitem.c:
713 * modules/other/gail/gailnotebook.c:
714 * modules/other/gail/gailnotebookpage.c:
715 * modules/other/gail/gailnotebookpage.h:
716 * modules/other/gail/gailoptionmenu.c:
717 * modules/other/gail/gailrange.c:
718 * modules/other/gail/gailtextview.c:
719 * modules/other/gail/gailtreeview.c:
720 * modules/other/gail/gailtreeview.h:
721 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
724 2007-12-22 Matthias Clasen <mclasen@redhat.com>
726 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
729 2007-12-21 Richard Hult <richard@imendio.com>
731 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
732 Plug leak of destroyed subviews, fixes bug #504753.
734 2007-12-20 Johan Dahlin <johan@gnome.org>
736 * tests/Makefile.am (TEST_PROGS):
737 * tests/defaultvaluetest.c: Add a test for default values,
738 based on program by Christan Perch
740 2007-12-20 Johan Dahlin <johan@gnome.org>
742 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
743 Refactor to avoid some duplication.
744 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
745 Fixes #504749, Yuri Pimenov
747 2007-12-20 Kristian Rietveld <kris@imendio.com>
749 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
750 the build work again on systems without xrandr 1.2.
752 2007-12-20 Christian Persch <chpe@gnome.org>
755 * modules/other/gail/libgail-util/Makefile.am:
756 Keep the same libtool version as the standalone libgail-util had.
759 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
761 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
763 2007-12-20 Alexander Larsson <alexl@redhat.com>
765 * gdk/x11/gdkapplaunchcontext-x11.c:
766 Update for gio API changes
768 2007-12-20 Richard Hult <richard@imendio.com>
770 * gdk/quartz/GdkQuartzWindow.c:
771 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
772 processing events after changing the size.
774 2007-12-20 Richard Hult <richard@imendio.com>
776 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
777 Add stub for quartz to fix build.
779 2007-12-20 Christian Persch <chpe@gnome.org>
781 * modules/other/gail/Makefile.am:
782 * modules/other/gail/gailimage.c: (gail_image_class_init),
783 (gail_image_init), (elide_underscores), (gail_image_get_name),
784 (atk_image_interface_init), (gail_image_finalize):
785 * modules/other/gail/gailimage.h:
786 R modules/other/gail/gailintl.h:
787 * po/POTFILES.skip: Use the stock item's label as the name of the
788 accessible in gailimage.c. Bug #504246.
790 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
792 Avoid some compiler warnings and remove obsolete code. (#339540)
794 * gtk/gtkcalendar.c: Change week and year variable in
795 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
796 0" block from calendar_paint_day: The feature in question is handled
797 few lines above. Cast data returned by gtk_selection_data_get_text()
798 to (gchar*) in gtk_calendar_drag_data_received.
800 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
802 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
804 2007-12-19 Johan Dahlin <johan@gnome.org>
806 * tests/buildertest.c (test_object_properties):
807 Add another call to gtk_builder_add_string after using
808 delayed properties, as reported in #504393 but already
811 2007-12-18 Christian Persch <chpe@gnome.org>
814 * docs/reference/Makefile.am:
815 * docs/reference/libgail-util/*:
816 * gail-uninstalled.pc.in:
818 * modules/Makefile.am:
819 * modules/other/Makefile.am:
820 * modules/other/gail/*:
821 * modules/other/gail/libgail-util/*:
822 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
824 2007-12-17 Matthias Clasen <mclasen@redhat.com>
826 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
827 * gdk/win32/gdkproperty-win32.c:
828 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
830 * gtk/gtkimmodule.[hc]:
831 * gtk/gtkimmulticontext.[hc]: When determining the default context,
832 look at the gtk-im-module setting, and listen for changes to the
833 setting. (#502446, Akira Tagoh)
835 2007-12-17 Kristian Rietveld <kris@imendio.com>
837 * gtk/gtktooltip.c (gtk_tooltip_finalize),
838 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
839 to NULL as soon as it's destroyed. (#496546, patch from
842 2007-12-17 Kristian Rietveld <kris@imendio.com>
844 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
845 always determine what arrow to show if show_sort_indicator is true.
846 (#352738, Chris Vine).
848 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
850 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
853 * gtk/gtkpaned.c: Call gtk_container_forall instead of
854 gtk_container_foreach in get_child_panes.
856 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
858 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
860 Plug leak: When reordering the info in the list the old node is
861 removed but not freed. (#503569)
863 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
865 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
866 Use u32 instead of __u32 and u8 instead of __u8 as the other types
867 are deprecated since DirectFB 1.0.0. If compiling with an older
868 version define the new type name to the old types. Fixes bug #503190.
870 2007-12-14 Ray Strode <rstrode@redhat.com>
872 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
873 instead of g_signal_connect_after (..., "realize", ...) as an
874 alternative to gtk_widget_realize () (bug 503537).
876 2007-12-14 Michael Natterer <mitch@imendio.com>
879 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
882 * gdk/gdkapplaunchcontext.c
883 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
884 header already includes everything now.
886 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
888 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
889 next stable release shall be 2.16, not 2.14 - even if disagree.
891 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
893 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
895 Change GtkToolItem to retrieve its properties from GtkToolShell
896 interface, instead of relying on being child of a GtkToolbar.
899 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
900 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
901 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
902 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
903 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
904 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
905 Take section docs from template file and update them for GtkToolShell.
906 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
907 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
909 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
911 Extract loading of GtkPageSetup and GtkPrintSettings from their
912 *_new_*() functions and move that code into separate
913 *_load_*() functions (#475565).
915 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
916 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
917 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
918 Change the matching *_new_*() functions to use those functions.
920 2007-12-14 Matthias Clasen <mclasen@redhat.com>
923 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
925 2007-12-14 Kristian Rietveld <kris@imendio.com>
927 * gtk/tests/liststore.c:
928 * gtk/tests/treestore.c: added tests for insertion functions.
930 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
932 * Add RandR 1.2 support
934 - New monitors_changed signal - New API to get width/height of
935 monitors, and the name of the plug
937 2007-12-13 Kristian Rietveld <kris@imendio.com>
939 * gtk/tests/liststore.c:
940 * gtk/tests/treestore.c: test the move and swap functions on a
941 store with only one node.
943 2007-12-13 Kristian Rietveld <kris@imendio.com>
945 * gtk/gtktestutils.c (gtk_test_init): add a call to
948 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
951 2007-12-13 Kristian Rietveld <kris@imendio.com>
953 * gtk/tests/liststore.c:
954 * gtk/tests/treestore.c: start composing tests for the list and tree
957 * gtk/tests/treeview-scrolling.c: added automated tests for
958 GtkTreeView's scrolling "subsystem".
960 * gtk/tests/Makefile.am: updated; added new test programs.
962 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
964 Make the code compile again after the GdkAppLaunchContext changes.
966 * configure.in: Add gio-2.0 to GDK_PACKAGES.
967 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
969 2007-12-12 Matthias Clasen <mclasen@redhat.com>
971 * gdk/gdkapplaunchcontext.c: Add docs
973 2007-12-12 Matthias Clasen <mclasen@redhat.com>
975 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
976 in gdk, providing startup notification. (#503203)
978 * gdk/x11/gdkapplaunchcontext-x11.c:
979 * gdk/win32/gdkapplaunchcontext-win32.c:
980 * gdk/quartz/gdkapplaunchcontext-quartz.c:
981 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
982 parts. All but X11 are just empty stubs for now.
985 * gdk/gdkinternals.h:
987 * gdk/x11/Makefile.am:
988 * gdk/win32/Makefile.am:
989 * gdk/quartz/Makefile.am:
990 * gdk/directfb/Makefile.am: Necessary glue.
992 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
994 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
996 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
998 * gdk/directfb/gdktestutils-directfb.c:
999 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1000 which adds testing functions to the DirectFB backend.
1002 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1004 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1005 Ciccani which fixes the mixing of gdk and cairo rendering.
1007 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1009 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1010 on "drag-motion" handlers. Clearify documentation for
1013 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1015 * buildertest.c: made unnecessarily exported symbols static.
1016 switched g_return_if_fail() statements in tests to assertions.
1017 special cased currently failing Widget/accesibility test to
1018 run only for g_test_thorough(), so it doesn't break make check.
1019 some coding style fixes.
1021 * Makefile.am: added buildertest to TEST_PROGS.
1023 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1025 * docs/tutorial/gtk-tut.sgml:
1026 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1028 2007-12-10 Richard Hult <richard@imendio.com>
1030 * gdk/quartz/Makefile.am:
1031 * gdk/quartz/gdkquartz.h:
1032 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1033 header (bug #405915). Also add a getter for the toplevel nswindow.
1035 2007-12-10 Richard Hult <richard@imendio.com>
1037 * gdk/quartz/gdkdrawable-quartz.c:
1038 (gdk_quartz_drawable_get_context),
1039 (gdk_quartz_drawable_release_context):
1040 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1041 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1042 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1043 used for each drawing context and in prepare, dispatch and poll
1044 with one that exists across each main loop iteration. Fixes leaks
1045 on leopard and protects against future leaks introduce when the
1046 underlying system changes again (bug #492977).
1048 2007-12-10 Richard Hult <richard@imendio.com>
1050 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1051 Fix the check for no changes to position and size.
1053 2007-12-10 Richard Hult <richard@imendio.com>
1055 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1056 sized areas at (0, 0), patch from Paul Davis.
1058 2007-12-10 Richard Hult <richard@imendio.com>
1060 * gdk/quartz/gdkprivate-quartz.h:
1061 * gdk/quartz/gdkeventloop-quartz.c:
1062 (_gdk_quartz_event_loop_get_pending),
1063 (_gdk_quartz_event_loop_check_pending),
1064 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1065 (gdk_event_check), (gdk_event_dispatch):
1066 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1067 (_gdk_events_queue): Fix a bug where we could end up trying to
1068 handle the same event more than once. Based on patch from Paul
1071 2007-12-10 Tor Lillqvist <tml@novell.com>
1073 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1076 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1078 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1079 to avoid further fallout from the fix for bug 388321.
1081 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1083 * gdk/directfb/gdkgc-directfb.c:
1084 * gdk/directfb/gdkdrawable-directfb.c:
1085 * gdk/directfb/gdkdirectfb.h:
1086 * gdk/directfb/gdkwindow-directfb.c:
1087 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1088 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1089 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1090 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1091 which are expected to improve the performance of the DirectFB backend.
1092 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1094 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1096 * gtk/gtkcontainer.c: Correct the documentation of child
1097 property getter arguments. (#501992, David Brigada)
1099 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1101 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1102 leak pixbufs. (#502250, Yevgen Muntyan)
1104 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1106 * gtk/gtkprintunixdialog.c:
1107 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1108 Print and Page Setup dialogs (#502202).
1110 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1112 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1113 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1114 of XVFB_START, since it's the GTESTER invokation that needs this.
1116 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1118 * gdk-pixbuf/gdk-pixbuf.symbols:
1120 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1121 positives in abicheck.sh
1123 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1125 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1126 GDK events generations in the DirectFB backend.
1128 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1130 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1131 set of likely unused display ids, because MacOS has no seq(1) command.
1133 2007-12-06 Richard Hult <richard@imendio.com>
1135 * gdk/quartz/gdkevents-quartz.c:
1136 (synthesize_crossing_events_for_ns_event): Fix warning when
1137 switching spaces in leopard.
1139 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1141 * tests/floatingtest.c: ported to new testing framework.
1143 * tests/Makefile.am: run floatingtest as testing framework test.
1145 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1147 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1148 timeouts and converting main loop sleeps to pending/iterate loops with
1149 very low priority async handlers. eliminate output for non-verbose
1150 tests. assert successfull subtests in all test functions. use testing
1151 framework in main().
1153 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1154 executed inside Xvfb upon make check.
1156 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1158 * tests/objecttests.c: use string comparisons for string property
1159 values and get rid of referencing symbols in array initialization.
1161 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1163 * gtk+/Makefile.decl: run tests in current dir after setting up the
1164 logging directory, so their results get properly merged into the
1167 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1168 tests to loop over registered Gdk/Gtk+ types.
1170 * gtk+/tests/objecttests.c: new test program, implements automated
1171 property tests. several properties are blacklisted because they
1172 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1173 can be used to test blacklisted properties and see which proprty failed.
1175 2007-12-04 Richard Hult <richard@imendio.com>
1177 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1178 Fully initialize the root window, fixes bug #501583.
1180 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1182 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1185 2007-12-03 Richard Hult <richard@imendio.com>
1187 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1188 Don't crash when dragging from a source that doesn't support uri
1189 lists (bug #499868, Paul Davis).
1191 2007-12-03 Richard Hult <richard@imendio.com>
1193 * gdk/quartz/gdkwindow-quartz.c:
1194 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1195 parent relative bg pixmap is set, and no parent has a bg
1196 pixmap. Fixes bug #500804.
1198 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1200 Two optimizations for icon cache lookups.
1202 * gtk/gtkiconcache.[hc]:
1203 * gtk/gtkicontheme.c: Remember the directory index for
1204 subdirectories, instead of running over the directory list
1207 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1208 chain and try it first; this helps with the the usage patterns
1209 in gtkicontheme.c, where the same icon is queried for a lot
1212 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1214 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1215 functions from header files. this should be portable across linux and
1216 Mac OS, unlike the previpous sed expression.
1218 2007-12-1 Cody Russell <bratsche@gnome.org>
1220 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1221 On Windows, queue a redraw of child2 whenever we set
1222 the pane handle position. This is unfortunately kind
1223 of hacky, but solves the visual artifacts that were
1224 occuring on at least certain types of child widgets
1225 (e.g., text views and tree views) that are inside
1226 horizontal or vertical panes. (#144269)
1228 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1230 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1232 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1234 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1237 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1239 * gtk/Makefile.am: Fix ordering of subdirs.
1241 2007-11-28 Tor Lillqvist <tml@novell.com>
1243 A proper build of GNU libintl is supposed to export the variable
1244 _nl_msg_cat_cntr. configure looks for that variable in order to
1245 recognize GNU gettext. If it sees that it is indeed GNU gettext
1246 that is used, it decides to install message catalogs in
1247 share/locale, otherwise in lib/locale. Until now on Windows I have
1248 built GTK+ against a build of GNU gettext that did not export
1249 _nl_msg_cat_cntr. But this will change, so we can't assume message
1250 catalogs are always in lib/locale.
1252 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1253 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1254 before the inclusion of gtkprivate.h so that it sees the original
1257 * gtk-zip.sh.in: Check whether the message catalogs are in
1258 share/locale or lib/locale.
1260 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1261 that the code in _gtk_get_localedir() will find the slashes.
1263 2007-11-28 Tor Lillqvist <tml@novell.com>
1265 * gtk/Makefile.am: Improve portability. The -o option is present
1266 only in newish GNU egreps. Use one more sed in the pipeline
1269 2007-11-28 Tor Lillqvist <tml@novell.com>
1271 Fix #375893, patch by Ben Hague:
1273 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1274 around GetLogicalDrives() that takes also the viewable drive
1275 restrictions in the Registry (which are usually the result of an
1276 Active Directory Group Policy) into account.
1278 (check_volumes, gtk_file_system_win32_list_volumes) Call
1279 get_viewable_logical_drives() instead of GetLogicalDrives().
1281 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1283 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1284 variables to silence valgrind. (#495124, Morten Welinder)
1286 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1288 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1289 that the construct_child function is responsible for returning a
1291 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1292 objects from constructors
1293 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1294 g_object_ref() to this construction function (it's the only
1299 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1301 * gtkbuilder.c: remove concept of root objects and just refcount
1302 all objects in the builder. Fixes #496651.
1304 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1306 * tests/buildertest.c (test_window): fix invalid free
1308 2007-11-26 Josselin Mouette <joss@malsain.org>
1310 reviewed by: Federico Mena Quintero
1312 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1313 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1314 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1315 Make the shortcuts activate with a single click. (#148828)
1316 Fix a few things affected by the change:
1317 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1318 where no shortcut is selected.
1319 - Don't activate a shortcut in the response callback.
1320 - Filter out duplicate entries in volumes and bookmarks to
1321 avoid the selection to change when reordering them with DnD.
1323 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1326 * gtk/gtknotebook.c:
1327 * gtk/gtkplugprivate.h:
1329 * gtk/gtksocketprivate.h:
1330 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1332 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1334 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1335 (#495574, Richard Hult)
1337 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1339 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1340 String change ! (#376361, Sven Neumann)
1342 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1344 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1346 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1349 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1351 * gtk/gtkassistant.c: Improve alternative button
1352 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1354 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1356 * gtk/gtkcalendar.c: Fix a theming problem with colors
1357 in GtkCalendar. (#499703, Michael Hofmann)
1359 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1361 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1363 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1365 Use templates for glib-mkenums calls instead of
1366 complicated commandlines in Makefiles. (#429910)
1368 * gdk-pixbuf/Makefile.am:
1371 * perf/Makefile.am: Use templates for glib-mkenums
1373 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1374 * gdk/gdkenumtypes.[ch].template:
1375 * gtk/gtktypebuiltings.[ch].template:
1376 * perf/typebuiltins.[ch].template: The templates
1378 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1380 * gtk/gtkfilechooserbutton.c:
1381 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1382 some compilers choke on that. (#467722)
1384 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1386 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1387 about hook setup. (#425004, Emmanuele Bassi)
1389 2007-11-26 Tor Lillqvist <tml@novell.com>
1391 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1392 monitor the window currently is on, not always the primary
1393 monitor. (#463865, Tim Evans)
1395 2007-11-26 Tor Lillqvist <tml@novell.com>
1397 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1399 * gdk/win32/Makefile.am: Add it.
1401 2007-11-26 Tor Lillqvist <tml@novell.com>
1403 * configure.in: Don't add jasper to all_loaders if no libjasper.
1405 2007-11-25 Bastien Nocera <hadess@hadess.net>
1407 * configure.in: Add detection for libjasper, used by the
1408 gdk-pixbuf JPEG2000 loader
1410 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1412 * configure.in: Require gtk-doc 1.8
1414 * */*.c: Use gtk-doc abbreviations for examples in docs.
1416 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1418 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1421 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1423 * gtk/gtkdialog.c: Move signal and property documentation inline,
1424 fix a problem with the ::response signal docs. (#499133, Josselin
1427 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1429 * Makefile.decl: initialize automake variables EXTRA_DIST and
1430 TEST_PROGS for unconditional appending via += in other makefiles.
1431 define recursive test targets: test, test-report, perf-report,
1432 full-report, as described here:
1433 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1434 the test targets will execute Gtk+ test programs within an Xvfb session.
1436 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1438 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1439 g_test_run() to run the tests to integrate with the testing framework.
1441 * gtk/tests/Makefile.am: removed exemplary testing rules.
1443 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1444 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1445 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1446 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1447 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1448 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1449 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1450 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1451 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1452 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1453 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1454 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1455 * modules/engines/ms-windows/Theme/Makefile.am:
1456 * modules/engines/ms-windows/Makefile.am:
1457 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1458 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1459 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1460 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1461 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1462 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1463 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1465 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1467 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1468 (#485662, patch by Herbert Valerio Riedel)
1470 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1472 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1474 2007-11-21 Richard Hult <richard@imendio.com>
1476 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1477 stubs for the testing functions to fix the build.
1479 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1481 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1482 (#467711, The Written Word)
1484 2007-11-21 Ross Burton <ross@openedhand.com>
1486 * gdk/x11/gdksettings.c:
1487 Add xsetting for gtk-scrolled-window-placement (#458103).
1489 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1491 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1492 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1493 (#469239, Michael Natterer)
1495 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1497 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1498 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1499 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1500 (#436536, Tommi Komulainen)
1502 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1504 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1505 property. (#489782, Jan Janech)
1507 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1509 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1510 frames. (#107398, Owen Taylor, Miguel Gomez)
1512 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1514 Moved Gdk test functions from Gtk+ to Gdk test utils.
1516 * gdk/Makefile.am: added gdktestutils.h to public includes.
1518 * gdk/gdk.h: added gdktestutils.h to public includes.
1520 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1521 gdk_test_render_sync.
1523 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1524 gdk_test_simulate_key, gdk_test_render_sync.
1526 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1528 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1529 gdk_test_simulate_key, gdk_test_render_sync.
1531 * gtk/gtktestutils.c:
1532 * gtk/gtktestutils.h:
1533 * gtk/gtk.symbols: removed gtk_test_simulate_button
1534 gtk_test_simulate_key, gtk_test_xserver_render_sync.
1536 * gtk/tests/testing.c: call gdk_test_render_sync.
1538 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1540 Added unit tests for Gtk+ testing utilities.
1542 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1543 utility functions. some g_test_* related portions are disabled and need
1544 to be enabled once Gtk+ depends on a new glib with the GLib testing
1545 framework integrated.
1547 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1548 added exemplary test rules to run tests inside Xvfb. this needs to depend
1549 on gtester for full fledged testing.
1551 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1552 collecting _get_type functions to catch e.g. gtk_text_get_type().
1554 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1556 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
1558 Added Gtk+ testing utilities.
1560 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
1561 for the most part, the functions herein involve navigating and interacting
1562 with dialog elements programatically, to automate user interaction tests of
1563 dialogs and widgets.
1565 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
1567 * gtk/gtk.symbols: added gtk_test_* symbols.
1569 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
1570 generate gtktypefuncs.c which contains a list of all _get_type functions in
1572 2007-11-20 Bastien Nocera <hadess@hadess.net>
1574 * configure.in: add support for conditional icns gdk-pixbuf loader
1577 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
1579 * configure.in: updated version number to 2.15.0 for development.
1581 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
1583 === Branch for 2.12 ===