1 2007-06-04 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.11.1 ===
5 * gdk/gdkwindow.c (gdk_window_set_composited): Improve docs.
10 2007-06-04 Michael Natterer <mitch@imendio.com>
12 Move "move-focus" signals from several widgets to GtkWidget to
13 enable more flexible costomization of keyboard navigation via
14 bindings. Fixes bug #414947.
16 * gtk/gtkwidget.c: add "move-focus" binding signal, default to
17 calling the toplevel GtkWindow's "move-focus" vfunc.
19 * gtk/gtktextview.[ch]
20 * gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
21 code that makes sure that both emitting the signal on the widget
22 and overriding the virtual functions keeps working as before.
24 * gtk/gtktoolbar.c: remove "move-focus" signal here too and use
25 GtkWidget's signal. This change slightly changes keyboard
26 navigation in toolbars. I'll fix the behavior if somebody can
27 explain me if and how exactly the new behavior is broken.
29 2007-06-04 Matthias Clasen <mclasen@redhat.com>
31 * gtk/gtkmarshalers.list:
32 * gtk/gtknotebook.[hc]: Add a create-window signal that allows
33 to override the global create-window-hook on a per-notebook
34 basis. The default handler falls back to the global hook.
35 (#386935, Christian Hammond)
37 2007-06-04 Emmanuele Bassi <ebassi@gnome.org>
39 * gtk/gtkradiobutton.[ch]:
41 * tests/testgtk.c: Revert previous commit; the API is not yet
42 finalized - see bug #166995.
44 2007-06-04 Emmanuele Bassi <ebassi@gnome.org>
46 * gtk/gtkradiobutton.h:
47 * gtk/gtkradiobutton.c:
48 * gtk/gtk.symbols: Add gtk_radio_button_set_value(),
49 gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
50 Use these functions to set and get an arbitrary integer associated to
51 a GtkRadioButton in a group, like the value associated to a
55 (create_radio_buttons), (radio_toggled_cb): Exercise the new API.
57 2007-06-03 Torsten Schoenfeld <kaffeetisch@gmx.de>
59 * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
60 to avoid accessing uninitialized memory when
61 gtk_icon_theme_choose_icon() is called with an empty names list.
63 2007-06-03 Richard Hult <richard@imendio.com>
65 * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
68 2007-06-03 Richard Hult <richard@imendio.com>
70 * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
72 (gdk_display_pointer_is_grabbed): Do what the docs say and don't
73 consider implicit grabs here.
74 (gdk_pointer_grab): Overriding a grab by the same app should always be
76 (gdk_event_translate): Implicit grabs should not be owner events.
78 2007-06-03 Matthias Clasen <mclasen@redhat.com>
82 2007-06-03 Matthias Clasen <mclasen@redhat.com>
84 * docs/tools/widgets.c: Add a volume button
86 2007-06-03 Matthias Clasen <mclasen@redhat.com>
88 * gtk/gtkradiobutton.c:
89 * gtk/gtkradiomenuitem.c: Fix doc typos.
91 2007-06-03 Matthias Clasen <mclasen@redhat.com>
93 * configure.in: Allow to disable Xinerama. (#348065, Diego Pettenò)
95 2007-06-03 Xan Lopez <xan@gnome.org>
97 * gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
98 and remove g_return_if checks in private functions. (#443247)
100 2007-06-01 Richard Hult <richard@imendio.com>
102 * gdk/quartz/gdkevents-quartz.c:
103 (get_converted_window_coordinates), (create_crossing_event): Fix the
104 coordinates in crossing events so they are relative to the right
107 2007-06-01 Richard Hult <richard@imendio.com>
109 * gdk/quartz/gdkevents-quartz.[ch]: Make function naming
110 consistent for the various functions that retrieve data from an
113 * gdk/quartz/gdkprivate-quartz.h:
114 * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
115 _gdk_quartz_window_find_child_by_point() function.
117 2007-06-01 Matthias Clasen <mclasen@redhat.com>
119 Add support for composited child windows. (#412882, Ryan Lortie)
123 * gdk/gdkinternals.h:
124 * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
125 gdk_window_set_composited().
127 * gdk/x11/gdkevents-x11.c:
128 * gdk/x11/gdkdisplay-x11.[hc]:
129 * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.
131 * gdk/win32/gdkdisplay-win32.c:
132 * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.
134 * gdk/quartz/gdkdisplay-quartz.c:
135 * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.
137 * gdk/directfb/gdkdisplay-directfb.c:
138 * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.
140 * tests/testgtk.c: Add a "composited window" test.
142 2007-06-01 Michael Natterer <mitch@imendio.com>
144 * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
145 submenu opening direction for overlapping reasons if there is even
146 less space on the other side (bug #441863, Tommi Komulainen).
148 2007-06-01 Michael Natterer <mitch@imendio.com>
150 * gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
151 to not obfuscate the code.
153 2007-06-01 Yevgen Muntyan <muntyan@tamu.edu>
155 Avoid recreating pangolayouts in GtkTextView on cursor movement
156 (#435405, Behdad Esfahbod).
158 * gtk/gtktextlayout.c:
159 * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
160 and functions gtk_text_layout_invalidate_cursors() and
161 gtk_text_layout_cursors_changed(), to use when invalidation is due
162 to moved marks or changed selection.
164 * gtk/gtktextbtree.c:
165 * gtk/gtktextbtree.h: use what's appropriate when invalidating layout.
167 * gtk/gtk.symbols: add new functions.
169 * README.in: added a note about changed GtkTextLayout API.
171 2007-06-01 Alp Toker <alp.toker@collabora.co.uk>
173 * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.
175 2007-05-31 Yevgen Muntyan <muntyan@tamu.edu>
177 * gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
178 widget style to draw cursor instead of hardcoded black and grey
179 (#79585, comment #30).
181 2007-06-01 Kristian Rietveld <kris@gtk.org>
183 * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
184 pango_extents_to_pixels to avoid rounding errors. (Fixes #430218,
187 2007-05-31 Mathias Hasselmann <mathias.hasselmann@gmx.de>
189 * tests/autotestfilechooser.c: Reactivate the other file-chooser
190 tests. Forgot that before commiting revision 17994.
192 2007-05-31 Mathias Hasselmann <mathias.hasselmann@gmx.de>
194 * gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset
195 the internal response_requested flag, once the response triggered by
196 file_chooser_widget_response_requested has been processed (#347883).
198 2007-05-30 Richard Hult <richard@imendio.com>
200 * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
201 function, bug #438440.
203 2007-05-30 Tor Lillqvist <tml@novell.com>
205 * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
206 multi-monitor offset from x and y before setting up the rectangle
207 for ClipCursor(). Fixes #442326.
209 2007-05-30 Matthias Clasen <mclasen@redhat.com>
211 * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
212 if the size changed. (#418047, Alex Graveley)
214 2007-05-30 Simos Xenitellis <simos@gnome.org>
216 * gdk/gdkkeysyms-update.pl: Updated script to new upstream
217 location of keysymdef.h (#442183)
219 2007-05-30 Emmanuele Bassi <ebassi@gnome.org>
221 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return
222 after setting the file chooser entry with the current selection.
224 2007-05-30 Matthias Clasen <mclasen@redhat.com>
226 * gtk/gtkiconcachevalidator.c: Correct the handling
227 of display names. (#441767, Marcin Bachry)
229 2007-05-30 Xan Lopez <xan@gnome.org>
231 * gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup.
234 2007-05-28 Cody Russell <bratsche@gnome.org>
236 * gdk/win32/xcursors.h: Fix initialization of last item. (#440511)
238 2007-05-28 Richard Hult <richard@imendio.com>
240 * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
241 (get_ancestor_coordinates_from_child): Break out code that was
242 repeated into separate functions and call them instead.
243 (find_window_for_mouse_nsevent): Break out this from
244 find_window_for_nsevent to make the code clearer.
245 (find_window_for_nsevent): Use the above and fix the returned
246 coordinates in the process so that they are always relative the
247 found window, both for the normal case and during grabs. Still
248 needs fixing for the case where we get nsevents for a window other
249 than than grab window during grabs.
251 2007-05-28 Richard Hult <richard@imendio.com>
253 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
254 we need both press and release in the mask to trigger implicit
257 2007-05-28 Richard Hult <richard@imendio.com>
259 * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
260 all the grab state, to help debugging.
261 (gdk_event_translate): Use pointer_ungrab_internal instead of
262 duplicating the code here.
264 2007-05-28 Richard Hult <richard@imendio.com>
266 * gdk/quartz/gdkprivate-quartz.h:
267 * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
268 (_gdk_quartz_window_find_child): Refactored version of
269 _gdk_quartz_window_find_child_by_point, that doesn't return any
270 coordinates as the users of this function already have the
271 coordinates and need to translate them differently.
272 (_gdk_windowing_window_get_pointer): Fixup coordinate translation.
273 (_gdk_windowing_window_at_pointer): Likewise.
275 2007-05-28 Richard Hult <richard@imendio.com>
277 * gdk/quartz/gdkevents-quartz.c
278 (find_window_interested_in_event_mask): Don't traverse beyond the
279 toplevel of the passed in window.
281 2007-05-28 Richard Hult <richard@imendio.com>
283 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
284 a size for the root window.
286 2007-05-28 Richard Hult <richard@imendio.com>
288 * gdk/quartz/gdkwindow-quartz.c: Add comments about what various
289 coordinates are relative to.
291 2007-05-28 Carlos Garnacho <carlos@imendio.com>
293 * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
294 Add back variable declaration removed in r17958.
296 2007-05-28 Carlos Garcia Campos <carlosgc@gnome.org>
298 * gtk/gtkprinter.[ch]: Add new capability
299 GTK_PRINT_CAPABILITY_NUMBER_UP.
300 * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml:
301 * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
302 * modules/printbackends/file/gtkprintbackendfile.c:
303 (file_printer_get_options), (file_printer_get_settings_from_options):
304 * modules/printbackends/cups/gtkprintbackendcups.c:
305 (cups_printer_get_capabilities): Add a new print capability to specify
306 whether print dialog will offer printing multiple pages per sheet. (#398414)
308 2007-05-28 Matthias Clasen <mclasen@redhat.com>
310 * gtk/gtktoolbar.h: Actually undeprecate
311 gtk_toolbar_[un]set_icon_size. (#314172. Yevgen Muntyan)
313 2007-05-28 Matthias Clasen <mclasen@redhat.com>
315 * gtk/gtkwidget.c: Document some more signals
317 * gtk/gtktextview.c: Improve docs
319 2007-05-27 Tor Lillqvist <tml@novell.com>
321 * configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
322 supposed to be -luser32, but he "l" was missing. But nobody has
323 noticed, so presumably unnecessary.
325 2007-05-26 Matthias Clasen <mclasen@redhat.com>
327 * gtk/gtkprintoperationpreview.c: Improve docs
329 2007-05-26 Matthias Clasen <mclasen@redhat.com>
331 * gtk/gtkentry.c: Move docs inline.
333 2007-05-26 Matthias Clasen <mclasen@redhat.com>
335 * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
336 that cause problems when building the docs.
338 2007-05-26 Matthias Clasen <mclasen@redhat.com>
340 * gdk/x11/gdkdisplay-x11.c: Update docs
341 * gdk/gdk.c: Update docs
342 * gdk/directfb/gdkwindow-directfb.c: Remove duplicate doc comments.
343 * gdk/x11/gdkwindow-x11.c: Fix doc formatting
345 2007-05-26 Matthias Clasen <mclasen@redhat.com>
348 * gtk/gtkstatusicon.c:
349 * gtk/gtkscalebutton.c:
350 * gtk/gtkrecentaction.c:
353 * gtk/gtkprintsettings.c:
354 * gtk/gtkpapersize.c:
355 * gtk/gtkpagesetup.c:
357 * gtk/gtkentrycompletion.c: Document new api
359 2007-05-26 Richard Hult <richard@imendio.com>
361 * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
364 2007-05-26 Matthias Clasen <mclasen@redhat.com>
366 * configure.in: Require gtk-doc 1.6, for signal and property links.
369 * gtk/gtkcontainer.c:
376 * gtk/gtkwidget.c: Documentation improvements, link signals
377 and properties where it makes sense.
379 2007-05-25 Matthias Clasen <mclasen@redhat.com>
382 * gtk/gtktextbuffer.c: Formatting fixes.
384 2007-05-25 Matthias Clasen <mclasen@redhat.com>
386 Allow to separate GtkTextMark creation from buffer insertion.
387 (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
389 * gtk/gtktextmarkprivate.h:
390 * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
391 create a GtkTextMark.
393 * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
394 function to add an existing mark to a buffer.
396 * gtk/gtktextbtree.c: Allow adding existing marks.
398 * gtk/gtk.symbols: Add new functions.
400 * tests/testtextbuffer.c: Add some tests for new mark
403 2007-05-25 Xan Lopez <xan@gnome.org>
405 * gtk/gtkaction.c: (gtk_action_set_short_label):
406 Use private->data->short_label to update the proxies. (#440780)
408 2007-05-25 Richard Hult <richard@imendio.com>
410 * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
411 Implement copying from a window, part of bug #348493.
413 2007-05-25 Matthias Clasen <mclasen@redhat.com>
415 * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a
416 refence on the print operation until gtk_print_job_send()
417 is done. (#440040, Chris Vine)
419 2007-05-25 Matthias Clasen <mclasen@redhat.com>
421 * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
422 Don't crash and don't leak. (#439565, Pedro Villavicencio)
424 2007-05-25 Matthias Clasen <mclasen@redhat.com>
426 * gtk/gtkiconfactory.c: Improve a warning
427 * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
428 set the error when returning NULL. (#440982, Carlos Garcia
431 2007-05-25 Michael Natterer <mitch@imendio.com>
433 Merge fix from maemo-gtk:
435 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
436 also if the menu item we're entering is already selected. Also, it
437 makes no sense to forward the event to the parent menu shell if we
438 are entering a menu item of *this* menu shell.
440 2007-05-24 Matthias Clasen <mclasen@redhat.com>
442 * gtk/stock-icons/*: Make sure all svg icons are added
445 2007-05-24 Matthias Clasen <mclasen@redhat.com>
447 * modules/input/Makefile.am: Fix broken DESTDIR support
449 2007-05-24 Michael Natterer <mitch@imendio.com>
451 * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
452 Bogdan Nicula which fixes a crash on GdkWindows which have no
453 GtkWidget as user_data (bug #440890).
455 2007-05-24 Matthias Clasen <mclasen@redhat.com>
457 * configure.in: Bump version
459 * === Released 2.11.0 ===
463 2007-05-23 Matthias Clasen <mclasen@redhat.com>
466 * gdk/x11/xsettings-common.h:
467 * gdk/gdk.symbols: Add some missing symbols.
469 * gtk/paper_names_offsets.c:
470 * gtk/gen-paper-names.c: Make variables static.
472 * gtk/gtktooltip.[hc]:
473 * gtk/gtkvolumebutton.c:
474 * gtk/gtkscalebutton.c: Fix up symbol aliasing.
476 2007-05-23 Yevgen Muntyan <muntyan@tamu.edu>
478 * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
480 * gtk/gtkhandlebox.c (gtk_handle_box_paint):
481 * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
482 * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
483 * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
484 * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
485 * gtk/gtkpreview.c (gtk_preview_finalize):
486 * gtk/gtknotebook.c (gtk_notebook_set_group_id):
487 * tests/testnotebookdnd.c (window_creation_function):
488 * tests/testiconview.c (do_popup_menu):
489 Fixed some compiler warnings (#440689).
491 2007-05-23 Kristian Rietveld <kris@imendio.com>
493 * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
494 from the window they were received on to the event widget's window;
495 correct for no-window widgets after that, bail out on failure. This
496 makes the coordinates given by GtkWidget::query-tooltip truly relative
497 to widget->window. (#435188).
499 * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
500 GtkWidget::query-tooltip.
502 2007-05-22 Behdad Esfahbod <behdad@gnome.org>
504 * gtk/gtkprintcontext.c (gtk_print_context_finalize),
505 (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
506 (gtk_print_context_set_cairo_context),
507 (gtk_print_context_get_pango_fontmap),
508 (gtk_print_context_create_pango_context):
509 Don't create new pango fontmaps. Use the default pangocairo
510 fontmap and set resolution on PangoContext instead. (#417707)
512 2007-05-21 Richard Hult <richard@imendio.com>
514 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
517 * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
519 2007-05-21 Michael Natterer <mitch@imendio.com>
521 * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
523 Mon May 21 13:58:32 2007 Tim Janik <timj@imendio.com>
525 * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
527 2007-05-21 Tor Lillqvist <tml@novell.com>
529 * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
532 2007-05-20 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
534 * gdk/directfb/gdkwindow-directfb.c:
535 * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
536 required to enable gdk_directfb_create_child_window.
539 2007-05-20 Bastien Nocera <hadess@hadess.net>
544 * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
545 a button that pops up a scale when clicked (Closes: #415775)
547 * tests/testvolumebutton.c: Add a test program for the
550 2007-05-19 Bastien Nocera <hadess@hadess.net>
552 reviewed by: Matthias Clasen <mclasen@redhat.com>
557 * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
558 a button that pops up a scale when pressed
560 2007-05-19 Matthias Clasen <mclasen@redhat.com>
563 * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
564 in favour of new functions gtk_notebook_[gs]et_group, which
565 takes a pointer as group identifier and makes it easier to
566 avoid group id collisions. (#386930, Christian Hammond)
568 * tests/testnotebookdnd.c: Use new grouping api.
570 2007-05-18 Matthias Clasen <mclasen@redhat.com>
572 * gtk/gtkactiongroup.c: Warn and refuse to add actions with
573 duplicate names. (#150877, Tommi Komulainen, patch by Kalle
576 2007-05-18 Matthias Clasen <mclasen@redhat.com>
579 * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
580 to allow automatic scrolling in response to cursor movements
581 in the entry. (#438651, Nate Nielsen)
583 2007-05-18 Matthias Clasen <mclasen@redhat.com>
585 * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
586 signal, and bind F7 to it. (#380048, Tim Miao)
588 2007-05-18 Matthias Clasen <mclasen@redhat.com>
591 * gtk/gtkicontheme.h:
592 * gtk/gtkicontheme.c: Add a function to look up an icon from
593 a list of icon names. (#396901, Luca Ferretti)
595 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
597 * gtk/gtkrecentchooserdefault.c:
598 (gtk_recent_chooser_default_dispose): Reset the state on dispose.
600 (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
601 is a valid state, if the main loop never had the chance to
602 properly spin at least once. (#438671)
604 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
606 * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
607 string for translation. (#439437)
609 2007-05-18 Matthias Clasen <mclasen@redhat.com>
611 * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
612 doc typo. (#438100, Vincent Untz)
614 2007-05-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
618 * configure.in: Bump libtiff requirement to 3.6.0, by requiring
619 presence of TIFFReadRGBAImageOriented.
621 * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
622 Preserve pixbuf options when generating a new scaled pixbuf.
624 * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
625 (gdk_pixbuf__jpeg_image_load_increment): Read the exif
626 orientation tag and associate it with the "orientation" pixbuf
627 option. Renders libexif unnecessary in some applications.
629 * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
630 compensate for the partial rotations performed by libtiff,
631 and generate an "orientation" option for the pixbuf.
633 2007-05-18 Carlos Garnacho <carlos@imendio.com>
635 * gtk/gtkexpander.c: remove c++ style comment.
637 2007-05-18 Carlos Garnacho <carlos@imendio.com>
639 Make combobox menu popdown keybindable (#433593)
641 * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
642 signal and keybindings.
643 (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
645 (gtk_combo_box_menu_key_press):
646 (gtk_combo_box_list_key_press): forward the event to the combobox if
647 it wasn't handled by the menu.
649 2007-05-18 Carlos Garnacho <carlos@imendio.com>
651 * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
652 (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
653 their DnD handlers if the target doesn't match with anything the
654 notebook manages. (#350665, Joakim Lundborg).
656 2007-05-18 Carlos Garnacho <carlos@imendio.com>
658 Refactor GtkFileChooserDialog sizing.
660 * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
661 (_gtk_file_chooser_embed_get_resizable_hints):
662 s/resizable_hints/resizable/, return just one boolean value to
663 determine whether the filechooser should be resizable or not.
665 * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
666 variables related to the GtkFileChooserEmbed get_default_size() and
667 get_resizable() implementations.
668 (struct GtkFileChooserDefault): Move default size management here.
670 * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
671 Added, store currently allocated size to calculate default size later.
672 (gtk_file_chooser_default_get_resizable_hints):
673 s/resizable_hints/resizable/.
674 (gtk_file_chooser_default_set_property): Reload settings if the file
675 chooser action changes, this way the save expander state will be known
676 before mapping the window, avoiding wrong window positioning and
677 flickering. (#424299, #424309)
678 (find_good_size_from_style): Only get size from style if it wasn't set
680 (gtk_file_chooser_default_get_default_size): return default size based
681 on stored default size and preview/extra widget sizes.
683 * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
684 (file_chooser_widget_realized_size_changed)
685 (file_chooser_widget_unrealized_size_changed): simplified to
686 (file_chooser_widget_size_changed): set window size and resizability
687 based on the GtkFileChooserEmbed interface implementation. (Bug
688 #420285, Tomeu Vizoso)
689 (gtk_file_chooser_dialog_map): force a dialog size change, so it's
690 clamped for sure to the 75% of the screen size.
692 2007-05-18 Carlos Garnacho <carlos@imendio.com>
694 * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
695 the brand new current page if there was none set previously. Fixes
696 #425138 (Reported by Michail Crayson). Some code simplifications.
697 (gtk_notebook_draw_arrow): code style fix.
699 2007-05-16 Matthias Clasen <mclasen@redhat.com>
701 * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
702 buttons. Keep the focus from vanishing when Up or Down arrows
703 become insensitive or invisible. (#357005, Patrick Wade)
705 2007-05-16 Brian Cameron <brian.cameron@sun.com>
707 * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
708 gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
709 gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
710 gdk-pixbuf/pixops/timescale.c: Add Sun mediaLib support so that
711 hardware acceleration via mediaLib is enabled if mediaLib is
712 detected via configure. Enhancement request #344813. I was given
713 permission to commit in the bug report by Matthias Clasen.
714 * gdk/medialib.[ch]: New files added for mediaLib support.
715 * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
716 docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c: Add docs for
719 2007-05-15 Torsten Schoenfeld <kaffeetisch@gmx.de>
721 * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
722 priv->free_platform_data to prevent gtk_print_operation_finalize()
723 from freeing the cairo surface a second time.
725 2007-05-14 Kristian Rietveld <kris@gtk.org>
727 * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
728 dangling semicolon, fixes the segfault ebassi was seeing earlier today
731 2007-05-14 Tristan Van Berkom <tvb@gnome.org>
733 * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name()
734 were deprecated in favour of gtk_about_dialog_get/set_program_name(),
735 the GtkAboutDialog now uses the "program-name" property instead of
736 the conflicting "name" property (fixes bug 345822).
738 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
740 * configure.in: Add check for GNU extensions to ftw()/nftw().
742 * gtk/gtksearchenginesimple.c: Fix compilation on systems with
743 only POSIX-compliant ftw(). (#435797, based on a patch by
746 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
748 * gtk/gtkfilechooserdefault.c:
749 Convert the GtkTreeIter inside the sorting functions for the
750 search and recent modes. This doesn't yet fix the segfault when
751 clicking the 'Name' column in recent mode, though.
753 2007-05-14 Behdad Esfahbod <behdad@gnome.org>
755 * modules/input/gtkimcontextthai.c
756 (gtk_im_context_thai_filter_keypress):
757 Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
759 2007-05-14 Matthias Clasen <mclasen@redhat.com>
761 * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
762 as 2.12 addition. (#438131, Mart Raudsepp)
764 2007-05-14 Matthias Clasen <mclasen@redhat.com>
766 * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
767 size requisition for wide vertical separators. (#438113,
770 2007-05-13 Emmanuele Bassi <ebassi@gnome.org>
772 * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
773 all the symbols defined in <ftw.h> conditionally.
775 2007-05-13 Cody Russell <bratsche@gnome.org>
777 * gdk/win32/gdkevents-win32.c: Only do the configure event context
778 iteration under WM_WINDOWPOSCHANGED instead of inside
779 handle_configure_event(). This fixes a bug that prevented window
780 contents from being redrawn after gtk_window_resize(). (#436721)
782 2007-05-12 Behdad Esfahbod <behdad@gnome.org>
784 * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
785 generation. (#437879, Eddie C. Dost)
787 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
789 GtkFileChooser search fixes and recent files support. (#435342)
791 * gtk/gtkfilechooserdefault.c: Support drag and drop for
792 adding shortcuts of folders when in search or recent files
795 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
797 GtkFileChooser search fixes and recent files support. (#435342)
799 * gtk/gtkfilechooserprivate.h:
800 * gtk/gtkfilechooserdefault.c: Follow the sorting order of
801 the GtkTreeView displaying the files list.
803 (shortcuts_get_index), (shortcuts_insert_separator),
804 (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
805 the separator between the Search and the Recently Used shortcuts.
807 (list_select_func), (list_icon_data_func), (list_name_data_func),
808 (list_mtime_data_func): Update the sensitivity of the row
809 depending on the GtkFileChooserAction used.
811 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
813 GtkFileChooser search fixes and recent files support. (#435342)
815 * gtk/gtkfilechooserprivate.h:
816 * gtk/gtkfilechooserdefault.c: Update the contents of the
817 files list when changing the filter of the GtkFileChooserDefault
820 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
822 GtkFileChooser search fixes and recent files support. (#435342)
824 * gtk/gtkfilechooserdefault.c: Update the add bookmark button
825 sensitivity when in search or recent files mode, and allow
826 adding a bookmark for a folder.
828 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
830 GtkFileChooser search fixes and recent files support. (#435342)
832 * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
833 a mnemonic to the label, de-boldify the label's text and assign
834 focus to the search entry when switching to the search mode.
836 (list_name_data_func): Split the text in both search and recent
837 files mode: on the first line use the short name and on the
838 second line use the full path.
840 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
842 GtkFileChooser search fixes and recent files support. (#435342)
844 * gtk/gtkfilechooserprivate.h:
845 * gtk/gtkfilechooserdefault.c: Add support for showing the
846 recently used files list as a special shortcut item.
848 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
850 GtkFileChooser search fixes and recent files support. (#435342)
852 * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
853 indentation style consistency.
855 (list_row_activated): If the search hit is a folder, follow it
856 when activating the row, and switch back to browse mode.
858 (search_clear_model), (search_start_query),
859 (search_entry_activate_cb), (search_setup_widgets): Remember
860 the last query when switching between modes.
862 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
864 GtkFileChooser search fixes and recent files support. (#435342)
866 * gtk/gtkfilechooserdefault.c:
867 (_gtk_file_chooser_default_class_init): Add key binding for
868 the Search shortcut; default to MOD1+S.
870 (search_shortcut_handler): Handle the key binding.
872 (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
873 (search_setup_model): Retrieve informations on the search hits
874 when adding them to the model.
876 (list_icon_data_func): Show the search hit icon.
878 2007-05-11 Michael Natterer <mitch@imendio.com>
880 * gtk/gtktextview.c (selection_motion_event_handler): call
881 gdk_event_request_motions(event) so selecting works with
882 XInput devices too. Spotted by Tommi Komulainen.
884 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
886 * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
887 to GtkSearchEngineSimple only if gthread has already been
888 initialiased; otherwise, disable search support in the file
889 chooser widget. (#435847)
891 2007-05-10 Matthias Clasen <mclasen@redhat.com>
893 * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
894 image before overwriting priv->image. (#437281, Jochen Baier)
896 2007-05-10 Matthias Clasen <mclasen@redhat.com>
898 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
899 Correct a confusing warning. (#437284, Björn Lindqvist)
901 2007-05-10 Matthias Clasen <mclasen@redhat.com>
903 * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
904 the backend if the region is empty. (#437081, Sven Neumann)
906 2007-05-10 Matthias Clasen <mclasen@redhat.com>
908 * gtk/gtksearchenginesimple.c (search_visit_func);
909 Assume Posix nftw behaviour.
911 2007-05-09 Dom Lachowicz <domlachowicz@gmail.com>
913 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't
914 expand/collapse with Right/Left cursor keys on Windows
915 (#436269, Daniel Atallah)
917 2007-05-09 Cody Russell <bratsche@gnome.org>
920 (get_arrows_border): New function to calculate the border sizes needed
921 for the scroll arrows.
922 (get_arrows_visible_area): New function to calculate the arrows visible
924 (get_arrows_sensitive_area): New function to calculate the arrows
926 (gtk_menu_paint): Refactored code to calculate the border sizes needed
927 for the scroll arrows into get_arrows_border and the code to calculate
928 the visible area into get_arrows_visible_area.
929 (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
930 to get_arrows_sensitive_area.
931 (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
932 gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
933 get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
934 callers. (From #436533, Tommi Komulainen)
936 2007-05-09 Kristian Rietveld <kris@imendio.com>
938 * gtk/gtktreeview.c (gtk_tree_view_key_press),
939 (gtk_tree_view_key_release):
940 * gtk/gtkiconview.c (gtk_icon_view_class_init),
941 (gtk_icon_view_key_press),
942 (gtk_icon_view_key_release): Disable key bindings during rubber
943 banding, make pressing Esc stop rubber banding. (#405027).
945 2007-05-09 Emmanuele Bassi <ebassi@gnome.org>
947 * gtk/gtkrecentmanager.c:
948 (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
949 with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
951 2007-05-05 Richard Hult <richard@imendio.com>
953 * gdk/quartz/gdkdrawable-quartz.c:
954 (gdk_quartz_drawable_get_context),
955 (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
956 Turns out the lockFocus logic was flawed, now we only lock/unlock
957 when called outside a real expose event and never flush manually.
959 2007-05-03 Behdad Esfahbod <behdad@gnome.org>
961 * gtk/gtklabel.c (gtk_label_ensure_layout):
962 * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
963 using pango_layout_set_justify() that works now. (#435675)
965 2007-05-03 Emmanuele Bassi <ebassi@gnome.org>
967 * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
968 spurious g_free() call.
970 Thu May 3 16:27:34 2007 Tim Janik <timj@imendio.com>
972 * tests/testgtk.c (create_handle_box): made handle box test non-modal,
973 so other test can interact with handle boxes.
975 2007-05-02 Emmanuele Bassi <ebassi@gnome.org>
977 Add search file support in the GtkFileChooser. Original patch
978 by Federico Mena Quintero; patch updated by Matthias Clasen.
981 * gtk/gtksearchengine.[ch]: Private search engine abstraction
984 * gtk/gtksearchenginebeagle.[ch]: Private search engine
985 implementation using libbeagle (via g_module_open()).
987 * gtk/gtksearchenginesimple.[ch]: Private search engine
988 implementation using file tree walking.
990 * gtk/gtksearchenginetracker.[ch]: Private earch engine
991 implementation using libtracker (via g_module_open()).
993 * gtk/gtkquery.[ch]: Private query object for the search
996 * gtk/gtkfilechooserprivate.h:
997 * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
998 query a search engine backend using GtkQuery; create a new
999 operating mode, OPERATION_MODE_SEARCH, and call the common
1000 operating mode OPERATION_MODE_BROWSE; add support for virtual
1001 shortcuts inside the shortcuts model and create a new "Search"
1004 * gtk/Makefile.am: Update the build with the new files
1006 2007-05-02 Armin Burgmeier <armin@openismus.com>
1008 * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
1009 finalize, because the menu might unparent itself from its parent and
1010 cause a signal emission on a finalized object. (#430746)
1012 2007-05-02 Dom Lachowicz <domlachowicz@gmail.com>
1014 * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs
1015 rendered upside down for non-XP theme (#435053, Daniel Atallah)
1017 Wed May 2 11:35:45 2007 Tim Janik <timj@imendio.com>
1019 * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
1020 and fully replaced by docs/faq/gtk-faq.sgml.
1022 2007-05-02 Kristian Rietveld <kris@imendio.com>
1024 * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
1027 2007-05-01 Matthias Clasen <mclasen@redhat.com>
1029 * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
1030 icon flags. (#435062)
1032 2007-05-01 Matthias Clasen <mclasen@redhat.com>
1034 * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
1037 2007-05-01 Matthias Clasen <mclasen@redhat.com>
1039 * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
1040 Don't ignore the fact that gtk_file_system_get_parent()
1041 may return NULL. (#424042, Jan Martinek)
1043 2007-05-01 Dan Winship <danw@novell.com>
1045 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
1046 leader_window's WM_CLIENT_LEADER points to itself. #435028
1048 2007-05-02 Christian Persch <chpe@gnome.org>
1050 * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
1051 GSlice for gtk_tree_iter_copy. Bug #434863.
1053 2007-05-02 Christian Persch <chpe@gnome.org>
1055 * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
1056 GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
1059 2007-05-02 Christian Persch <chpe@gnome.org>
1061 * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
1062 (gtk_paper_size_new), (gtk_paper_size_new_custom),
1063 (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
1064 GtkPaperSize. Bug #434862.
1066 2007-05-02 Christian Persch <chpe@gnome.org>
1068 * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
1069 (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
1070 the ID into the pointer directly. Bug #434865.
1072 2007-05-01 Matthias Clasen <mclasen@redhat.com>
1074 * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
1075 (update_current_folder_get_info_cb): add a new struct field to clear
1076 the file entry after the current folder has been updated.
1078 (gtk_file_chooser_default_update_current_folder),
1079 (change_folder_and_display_error): Add a new function parameter to
1080 trigger file entry clearing.
1082 (edited_idle_create_folder_cb),
1083 (file_list_drag_data_received_get_info_cb),
1084 (gtk_file_chooser_default_map),
1085 (gtk_file_chooser_default_set_current_folder),
1086 (switch_to_selected_folder), (save_entry_get_info_cb),
1087 (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
1088 (shortcuts_activate_get_info_cb), (list_row_activated),
1089 (path_bar_clicked): use new function parameter appropriately.
1091 (gtk_file_chooser_default_should_respond): trigger file entry clearing
1092 after the directory is updated instead of clearing it before, this way
1093 we avoid reloading the completion model with the soon to be old folder,
1094 causing a warning and a glitch in the folder where completion happens.
1095 (#379414, Carlos Garnacho)
1097 2007-05-01 Matthias Clasen <mclasen@redhat.com>
1099 * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
1101 * gtk/updateiconcache.c: Validate the generated cache before
1102 moving it in place. Also add a --validate option to validate
1103 an existing icon cache.
1105 * gtk/gtkiconcache.c: Validate icon caches before using them.
1107 * gtk/Makefile.am: Integrate it.
1109 2007-05-01 Michael Emmel <mike.emmel@gmail.com>
1111 * gdk/directfb/gdkdisplay-directfb.c:
1112 Added stub gdk_notify_startup_complete_with_id to compile
1113 * gdk/directfb/gdkwindow-directfb.c:
1114 Added gdk_window_set_opacity
1115 * gdk/directfb/gdkkeys-directfb.c:
1116 Fix menu key handling crash Bug #413328
1118 2007-05-01 Christian Persch <chpe@gnome.org>
1121 * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
1122 the new location. Bug #390437.
1124 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1126 * gtk/gtksettings.c (settings_update_color_scheme):
1127 Make sure we always have a color_hash. (#423916, Jens Granseuer)
1129 2007-04-30 Christian Persch <chpe@gnome.org>
1131 * docs/reference/gtk/gtk-sections.txt:
1133 * gtk/gtkprinter-private.h:
1134 * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
1135 (gtk_print_capabilities_get_type):
1137 * gtk/gtkprintjob.c:
1138 * gtk/gtkprintjob.h:
1139 * gtk/gtkprintunixdialog.c: (selected_printer_changed):
1140 Make gtk_printer_get_capabilities public, and move the
1141 GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
1143 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1145 * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
1146 must not set the background of its window. (#433972,
1149 2007-04-30 Richard Hult <richard@imendio.com>
1151 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
1154 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1156 * modules/printbackends/cups/gtkprintbackendcups.c: Get all
1157 the printer attributes when getting the list of printers,
1158 not via separate requests. (#387889, Krishan Purahoo)
1160 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1162 Some more compiler warning fixes.
1164 * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
1165 Fix NULL/FALSE confusion.
1167 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1169 Fix some compiler warnings. (#433642, Kjartan Maraas)
1171 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
1172 (gtk_file_system_win32_create_folder):
1173 * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.
1175 * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
1176 the right type to uri_func.
1178 * gtk/gtktext.c (gtk_text_key_press):
1179 * gtk/gtkstatusicon.c (gtk_status_icon_get_property):
1180 * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
1182 * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed):
1183 (gtk_tray_icon_delete):
1184 * gtk/gtkprintunixdialog.c (create_main_page):
1185 * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
1187 * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
1189 2007-04-30 Cody Russell <bratsche@gnome.org>
1191 * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
1192 but now we're calling it from _gdk_windowing_window_clear_area()
1193 instead of from the WM_ERASEBKGND event. Also fixes the area
1194 that is cleared so that it is not an extra row and column too
1195 large. (Neil Roberts, #415681)
1197 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1199 * gtk/gtktextview.c: Allow indents to be negative. (#Bug 434308)
1201 2007-04-30 Michael Natterer <mitch@imendio.com>
1203 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
1204 submenu explicitely only in touchscreen mode since otherwise
1205 selecting the item already pops up the submenu. Restores the
1206 drag-selection timeout (spotted by Søren Sandmann, #128968).
1208 2007-04-30 Michael Natterer <mitch@imendio.com>
1210 * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
1211 to gtk_paper_size_get_paper_sizes().
1213 2007-04-30 Tor Lillqvist <tml@novell.com>
1215 * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
1216 _gtk_load_custom_papers() exists only on Unix.
1218 2007-04-30 Tor Lillqvist <tml@novell.com>
1220 Add functionality to set overall opacity of a top-level
1223 * gdk/gdk.symbols: Add gdk_window_set_opacity.
1225 * gdk/x11/gdkwindow-x11.c
1226 * gdk/win32/gdkwindow-win32.c: Implement
1227 gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
1228 property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
1230 * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
1232 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
1233 that this is not implemented in the Windows backend. Add reference
1234 to gdk_window_set_opacity().
1236 * gtk/gtk.symbols: Add gtk_window_set_opacity and
1237 gtk_window_get_opacity.
1239 * gtk/gtkwindow.c (struct _GtkWindowPrivate)
1240 (gtk_window_class_init): Add opacity property, a double in the
1242 (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
1243 (gtk_window_realize): If opacity is set, call
1244 gdk_window_set_opacity().
1246 * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
1247 gtk_window_get_opacity().
1249 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1252 * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
1253 to gtk_paper_size_get_paper_sizes() and optionally include
1256 * gtk/gtkpagesetupunixdialog.c: Internally export a function
1257 to load custom paper sizes.
1259 * modules/printbackends/file/gtkprintbackendfile.c: Implement
1260 printer_list_papers, returning all paper sizes. (#434329,
1263 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1265 * gtk/gtkprintoperation.c: Translate the default job
1266 name, and don't utf8-validate the job name in the
1267 setter. (#421993, Morten Welinder)
1269 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1271 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
1272 g_unlink. (#421990, Morten Welinder)
1274 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1276 Fix some issues with reference handling in the printing
1277 code. (#429902, Mathias Hasselmann)
1279 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
1280 Unref the print context, if we have one.
1281 (gtk_print_operation_done): Add a default ::done handler
1282 that unrefs the print context.
1283 (preview_ready): Take a reference on the print operation
1285 (print_pages_idle): ...not here,
1286 (preview_print_idle_done): ...and release it here.
1288 * tests/print-editor.c (preview_cb): Take a reference
1289 on the print operation here.
1291 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1293 * gtk/gtkprintoperation.c (print_pages_idle): Don't get
1294 stuck in a recursive mainloop if a synchronous preview
1297 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1299 Make the emission of ::end-print and ::done consistent
1300 for previews. (#347567, Yevgen Muntyan)
1302 * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
1303 the finished status here.
1304 (preview_end_run): ...and not here.
1305 (print_pages_idle_done): Emit ::done for a cancelled preview.
1306 (print_pages_idle): If a preview has been cancelled, don't
1307 emit ::ready, but emit ::end-print.
1309 * tests/print-editor.c: Use ::end-print to undo allocations
1312 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1314 * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
1315 in the PWG "custom" namespace as custom. Add a link to
1316 the spec in the docs. (#426416, Andreas Guelzow)
1318 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1320 * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
1321 that a print operation can be run only once, and add a
1322 corresponding g_return_if_fail(). (#379399, Masao Mutoh)
1324 2007-04-29 Dan Winship <danw@novell.com>
1326 * gdk/x11/gdkdisplay-x11.c
1327 (gdk_x11_display_broadcast_startup_message): New method to
1328 marshall and send a Startup Notification message. (from #415070)
1329 (gdk_notify_startup_complete_with_id): Use that
1331 2007-04-29 Mattthias Clasen <mclasen@redhat.com>
1333 * gtk/gtkprintoperation-unix.c
1334 (_gtk_print_operation_platform_backend_launch_preview):
1335 Don't leak a file descriptor, and don't make the error
1336 dialog modal. (#421985, Morten Welinder, Christian Persch)
1338 2007-04-29 Xan Lopez <xan@gnome.org>
1340 * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
1341 Diego Escalante Urrelo).
1343 I'm fixing gtk-faq.sgml as it seems this is the file
1346 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1348 * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores):
1349 Only strip parentheses of the form (_x). (#434261,
1352 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1354 * gtk/gtkprintoperation-unix.c
1355 (_gtk_print_operation_platform_backend_launch_preview):
1356 Support passing a print settings file to the preview
1357 command. (#403717, Christian Persch)
1359 * gtk/gtksettings.c: Document %s in the
1360 gtk-print-preview-command setting.
1362 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1364 * gtk/gtkprintoperation.c (print_pages_idle): Also check
1365 the default handler when deciding whether to emit the
1366 paginate signal. (#345345, Yevgen Muntyan)
1368 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1370 * gtk/gtkprintoperation.h: Add a new error code
1373 * gtk/gtkpagesetup.[hc]:
1374 * gtk/gtkpapersize.[hc]:
1375 * gtk/gtkprintsettings.[hc]: Add functions to serialize
1376 and deserialize page setups and print settings to files
1377 and key files. (#344515, Christian Persch)
1379 * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
1381 * tests/print-editor.c: Use the new functions to persist
1382 page setup and print settings.
1384 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1386 * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
1387 Free the custom paper list. (#403267, Felix Riemann)
1389 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1391 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a
1392 small memory leak. (#403251, Felix Riemann)
1394 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1396 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
1397 typo. String change ! (#406160, Stephane Raimbault)
1399 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1402 * gtk/gtkpapersize.[hc]: Add a function to list the
1403 builtin paper sizes. (#382355, Christian Persch)
1405 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1408 * gtk/gtkprinter-private.h:
1409 * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
1410 gtk_printer_request_details() public.
1412 * gtk/gtkpagesetupunixdialog.c:
1413 * gtk/gtkprintunixdialog.c: Update callers. (#389203,
1416 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1418 * configure.in: Add --enable-test-print-backend, defaulting
1421 * modules/printbackends/Makefile.am: Make building the test
1422 print backend conditional.
1424 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1426 * modules/printbackends/lpr/*:
1427 * modules/printbackends/cups/*: Correct some copyright lines.
1430 * modules/printbackends/Makefile.am:
1431 * modules/printbackends/test/*: Add a test print backend.
1432 (#409089, John Palmieri)
1434 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1436 * gtk/gtktexttag.[hc]: Add a way to specify accumulative
1437 margins. (#344499, Nate Nielsen)
1439 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1441 * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
1442 of the input-only window if we also have a visible window.
1445 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1447 * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
1448 * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
1449 Recognize negative column indices as invalid. (#415260,
1452 2007-04-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
1454 * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
1455 (poll_func): fix two more potential races that could happen when
1456 an application is polling in the mainloop and a separate thread
1457 tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
1459 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1461 * gtk/gtkentry.c (gtk_entry_grab_focus):
1462 (gtk_entry_real_insert_text): Only call g_object_get()
1463 when necessary. (#373137, Morten Welinder, patch by Xan Lopez)
1465 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1467 * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
1468 a note about being embedded. (#340107, Christian Persch)
1470 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1472 * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
1473 restrict drags within an application/widget. (#163141,
1476 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1478 * docs/tools/Makefile.am:
1479 * gtk/Makefile.am: Make make clean clean. (#410160, Tommi
1482 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1484 * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
1485 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
1486 * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
1487 (get_children_folder_cb): Plug memory leaks caused by wrong
1488 use of g_slist_remove_link(). (#405515, Nicolas Peninguy)
1490 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1492 * demos/gtk-demo/printing.c: Fix the headers in the print
1493 demo. (#423722, Yevgen Muntyan)
1495 2007-04-28 Xan Lopez <xan@gnome.org>
1497 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text):
1498 Use strstr instead of g_strstr with -1 for length.
1500 2007-04-28 Xan Lopez <xan@gnome.org>
1503 * gtk/gtkentrycompletion.c:
1504 * gtk/gtkentrycompletion.h:
1505 * gtk/gtkentryprivate.h:
1507 Remember the user input that triggered the completion, add
1508 API to the retrieve it and reset the entry contents to it
1509 if the user cancels the tentative completion during
1510 the inline-selection.
1512 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1514 * gdk/x11/gdkgeometry-x11.c: Factor out window movement
1515 functions. (#63820, Tilman Sauerbeck)
1517 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1519 * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
1520 (#63820, Tilman Sauerbeck)
1522 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1524 * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
1525 and unmapping functions. (#63820, Tilman Sauerbeck)
1527 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1529 * gdk/x11/gdkgeometry-x11.c: Make list handling code
1530 easier to read. (#63820, Tilman Sauerbeck)
1532 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1538 * gtkrecentmanager.c:
1539 * gtktextiter.c: Internalize some strings, pointed out
1542 2007-04-27 Xan Lopez <xan@gnome.org>
1544 Support inline-selection in entries (#318459)
1547 * gtk/gtkentrycompletion.c:
1548 * gtk/gtkentrycompletion.h:
1549 * gtk/gtkentryprivate.h:
1551 When enabled cursor-match is emited when the cursor is on
1552 a possible completion on the list. The default implementation
1553 will replace the contents on the entry with the contents of
1554 the text column in the completion model.
1556 Review and improvements by Matthias Clasen.
1558 2007-04-27 Michael Natterer <mitch@imendio.com>
1560 Merged heavily modified patch from maemo-gtk which enables opening
1561 and closing submenus on click, and introduces some usability
1562 changes when gtk-touchscreen-mode is enabled (bug #128968):
1564 * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
1565 "activated_submenu" to indicate that the current mouse operation
1566 (click or drag) has opened a submenu.
1568 (gtk_menu_shell_button_press): pop up submenus without delay
1569 and record the fact in "activated_submenu".
1571 (gtk_menu_shell_button_release): if a submenu was explicitely
1572 opened, or not opened by this release's button_press, or enough
1573 time has passed since timeout-opening it, close the submenu here.
1575 (gtk_menu_shell_enter_notify): when entering a menu item with
1576 any mouse button pressed, open its submenu.
1578 (gtk_real_menu_shell_move_current): in touchsreen mode, close the
1579 submenu when moving the focus away from it via keyboard-navigation.
1581 * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
1582 parameter "gboolean with_delay" so GtkMenuShell can control this
1583 for the different scenarios of submenu showing.
1585 (_gtk_menu_item_popdown_submenu): new function. also needed by
1586 GtkMenuShell for closing submenus on click.
1588 Renamed internal function gtk_menu_item_select_timeout() to
1589 gtk_menu_item_popup_timeout().
1591 (gtk_menu_item_real_popup_submenu): new utility function which
1592 does the actual popup and records the exact time of the popup when
1593 the menu was timeout-opened (using g_get_current_time()).
1595 (gtk_real_menu_item_select): don't add the popup timeout when in
1598 * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
1599 first item of every opened menu.
1601 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1603 * gtk/gtkfilechooserentry.c: Append a '/' to directory names
1604 in the completion popup. (#431323, Maarten Maathuis)
1606 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1608 * demo/gtk-demo/combobox.c: Add a simple validation demo.
1609 * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
1610 children to a GtkComboBoxEntry. (#426401, Paul Pogonyshev)
1612 2007-04-26 Tor Lillqvist <tml@novell.com>
1614 * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
1615 (gtk_input_dialog_fill_keys): Remove old child of scrolled window
1616 before adding a new one when switching what input device is being
1619 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1621 * modules/printbackends/lpr/gtkprintbackendlpr.c
1622 (gtk_print_backend_lpr_init): Mark the printer list as done.
1623 (#428665, Bogdan Gheorghe)
1625 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1628 * gtk/Makefile.am: Don't install UNIX-printing headers and
1629 support files on non-UNIX platforms. (#425655, Vincent Geddes)
1631 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1633 * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
1634 unnamed separators. (#369112, Christian Persch)
1636 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1638 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
1639 invalid memory. (#429732, Armin Burgmeier)
1641 2007-04-26 Cody Russell <bratsche@gnome.org>
1643 * gdk/win32/xcursors.h:
1644 * gdk/win32/gdkcursor-win32.c:
1646 Use Win32 native cursors instead of the ones built into GTK
1647 where it makes sense. (#128852, Tim Evans)
1649 2007-04-25 Cody Russell <bratsche@gnome.org>
1653 * gtk/gtkhandlebox.c:
1654 * gdk/directfb/gdkwindow-directfb.c:
1655 * gdk/linux-fb/gdkwindow-fb.c:
1656 * gdk/quartz/gdkwindow-quartz.c:
1657 * gdk/win32/gdkwindow-win32.c:
1658 * gdk/x11/gdkwindow-x11.c:
1659 Added window type hint and implement drop shadows on Win32
1660 for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
1662 2007-04-25 Jakub Steiner <jimmac@ximian.com>
1664 * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
1665 gtk-close as per discussion in bug #431740.
1667 2007-04-25 Matthias Clasen <mclasen@redhat.com>
1669 * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
1670 of the header window again. (#431067, Benjamin Berg)
1672 2007-04-25 Matthias Clasen <mclasen@redhat.com>
1674 * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
1675 NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
1678 * tests/testicontheme.c: Report builtin icons.
1680 2007-04-25 Matthias Clasen <mclasen@redhat.com>
1682 * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
1683 crash if end_run is not set. (#424168, Matthias Hasselmann)
1685 2007-04-25 Michael Natterer <mitch@imendio.com>
1687 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
1688 scroll buttons (we were setting the state to ACTIVE but
1689 immediately overwriting it with NORMAL or PRELIGHT). Also got rid
1690 of many separate calls to gdk_window_invalidate_rect() by
1691 remembering the old button state and only invalidating the area if
1692 the state has changed (addresses parts of bug #433242, Tommi
1695 (gtk_menu_scroll_to): change the arrow states only if changing
1696 from or to INSENSITIVE state, so we don't overwrite the ACTIVE
1697 state set by above function.
1699 2007-04-25 Michael Natterer <mitch@imendio.com>
1701 * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
1702 build. Dunno if the fix is right, but I think it is.
1704 2007-04-25 Kristian Rietveld <kris@imendio.com>
1706 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1707 cleanup/refactor some leftover code.
1709 2007-04-24 Matthias Clasen <mclasen@redhat.com>
1711 * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
1712 half-open ranges like -2 or 3-, and be a bit more liberal
1714 (dialog_set_page_ranges): Support half-open ranges.
1716 * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
1717 number of pages in half-open ranges.
1718 (preview_iface_is_selected): Support half-open ranges here, too.
1720 2007-04-24 Chris Wilson <chris@chris-wilson.co.uk>
1722 * gtk/gtkicontheme.c (scan_directory): Ensure the
1723 icon_theme->all_icons and dir->icons hash tables use the same string
1724 as their keys. (#418531)
1726 2007-04-23 Cody Russell <bratsche@gnome.org>
1727 * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
1728 left-most tab when notebooks are top-oriented. Also general cleanup of
1729 notebook tab related code. (Lieven van der Heide, Cody Russell)
1731 2007-04-23 Matthias Clasen <mclasen@redhat.com>
1733 * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
1734 the amount of debug spew if we are not debugging.
1736 2007-04-23 Michael Natterer <mitch@imendio.com>
1738 * tests/Makefile.am (testtooltips_SOURCES): fix typo:
1739 testtoooltips_SOURCES -> testtooltips_SOURCES.
1741 2007-04-19 Cody Russell <bratsche@gnome.org>
1743 * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
1744 for Windows Vista. (#392015, Hiroyuki Yamamoto)
1746 2007-04-19 Dominic Lachowicz <domlachowicz@gmail.com>
1748 * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
1749 non-WinXP rendering paths. From Daniel Atallah (#403470)
1751 2007-04-19 Matthias Clasen <mclasen@redhat.com>
1753 * gtk/gtkicontheme.h:
1754 * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
1755 icon lookup flag and implement it. (#396901, Luca Ferreti)
1757 2007-04-18 Richard Hult <richard@imendio.com>
1759 * gdk/quartz/gdkwindow-quartz.c:
1760 (gdk_window_quartz_process_updates_internal),
1761 (gdk_window_quartz_process_all_updates),
1762 (gdk_window_impl_quartz_process_updates): Refactor the process
1763 updates functions to share code between them. Also fixes bug
1764 #427660 by not updating larger regions than necessary.
1766 2007-04-18 Matthias Clasen <mclasen@redhat.com>
1768 * gdk/gdkregion-generic.h (GROWREGION): Handle the case
1769 of nRects == 0 correctly.
1771 2007-04-18 Emmanuele Bassi <ebassi@gnome.org>
1773 * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
1774 a leak by not increasing the refcount of the GtkRecentInfo
1775 object when returning it (thanks to Matthias Clasen).
1777 2007-04-16 Alexander Larsson <alexl@redhat.com>
1779 * gtk/gtkprintoperation.c (gtk_print_operation_run):
1780 Make async print preview work by actually starting
1781 the print process in that case (#424168)
1783 2007-04-14 Yevgen Muntyan <muntyan@tamu.edu>
1785 * gtk/gtkselection.c (selection_get_text_plain): fixed
1786 wrong g_convert_with_fallback() call which caused
1787 gtk_selection_data_get_text() return invalid UTF-8 for
1788 non-ASCII text in text/plain selection (#382824).
1790 2007-04-12 Jakub Steiner <jimmac@ximian.com>
1792 * gtk/stock-icons/*: update the stock icons to follow the Tango
1795 2007-04-11 Chris Wilson <chris@chris-wilson.co.uk>
1797 * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
1798 * gtk/gtkstock.c (gtk_stock_list_ids):
1799 Switch over to use glib's new g_hash_table_get_keys() rather
1800 than our own static implementation.
1802 * gtk/gtkiconfactory.h: Update to return a GList.
1804 * configure.in: Bump required version to 2.13.1
1806 2007-04-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1808 * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
1809 setup and shutdown function by mutexes and read the wakeup
1810 pipe unconditionally and unblocking. This should make the main
1811 loop always be woken up when using g_idle_add() from another
1812 thread in the Quartz backend (#425271).
1814 2007-04-10 Matthias Clasen <mclasen@redhat.com>
1816 * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
1817 to return a Bool to indicate success. Update callers and
1818 implementors. Based on a patch by Owen Taylor.
1820 * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
1821 leak a reference to gdkwin.
1823 2007-04-07 Xan Lopez <xan@gnome.org>
1825 * gtk/gtknotebook.c (gtk_notebook_class_init):
1826 s/arrow-size/arrow-spacing in the arrow-spacing
1827 style property docs.
1829 2007-04-06 Richard Hult <richard@imendio.com>
1831 * gdk/quartz/: Clean up namespaces to make the code more
1834 * gdk/quartz/gdkdrawable-quartz.c:
1835 * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
1836 images, by setting the pattern phase for the CG pattern.
1838 2007-04-04 Kristian Rietveld <kris@imendio.com>
1840 * gtk/gtktooltip.c (tooltip_browse_mode_expired),
1841 (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
1842 (gtk_tooltip_start_delay): use new gdk_threads API.
1844 2007-04-03 Behdad Esfahbod <behdad@gnome.org>
1846 * gtk/gtksettings.c (settings_update_font_options): Don't set
1847 metrics-hinting font option. Rely on the default value which is
1848 on for all raster cairo surfaces. (#425985)
1850 2007-04-03 Loïc Minier <lool@dooz.org>
1852 * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
1853 non-xinerama mode when XineramaQueryScreens returns NULL; patch from
1854 Simon McVittie; #425786.
1856 2007-04-02 Michael Natterer <mitch@imendio.com>
1858 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
1859 artifact from the time when type checking casts warned on NULL,
1860 some whitespace cleanup.
1862 2007-04-01 Cody Russell <bratsche@gnome.org>
1864 * modules/engines/ms-windows/msw_style.c: Fix rendering of
1865 notebook tabs when they are bottom-oriented. Fixes #399253.
1867 2007-03-31 Elijah Newren <newren gmail com>
1869 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
1870 gdk_x11_window_set_user_time):
1871 Patch from Matthias to add support for the
1872 _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
1874 WARNING: This patch will make metacity <= 2.18.0 freeze on
1875 workspace switch. This is due to a weird problem that should only
1876 affect window managers using gdk in-process for decoration drawing
1877 and which make an unsafe assumption relating to doing so (i.e. it
1878 should only affect metacity). Upgrade your version of metacity if
1881 2007-03-29 Michael Natterer <mitch@imendio.com>
1883 Don't close menus on clicks on their border area (bug #423761).
1884 (modified patch from maemo-gtk).
1886 * gtk/gtkmenu.c (gtk_menu_button_press)
1887 (gtk_menu_button_release): bail out early if the click was on the
1888 menu's border (not on any item and not outside the window).
1890 (pointer_in_menu_window): new utility function which checks if
1891 passed root coords are inside the menu_shell or one of its
1894 2007-03-29 Michael Natterer <mitch@imendio.com>
1896 * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
1897 gtk_widget_get_settings() into the g_object_get() call. Some small
1900 2007-03-28 Matthias Clasen <mclasen@redhat.com>
1902 * modules/printbackends/cups/gtkcupsutils.[hc]:
1903 * modules/printbackends/cups/gtkprintbackendcups.c: Apply
1904 a patch by John Palmieri to make the cups print backend support
1907 2007-03-28 Kristian Rietveld <kris@imendio.com>
1909 * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
1910 tooltip_window, since this is handled by set_qdata_full() already.
1911 (#412001, Torsten Schoenfeld).
1913 2007-03-27 Tor Lillqvist <tml@novell.com>
1915 * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:
1917 2007-03-26 Christian Persch <chpe@gnome.org>
1919 * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
1921 2007-03-24 Kristian Rietveld <kris@gtk.org>
1923 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1924 calculate the depth with the corrected real_cell_area and don't
1925 subtract horizontal_separator/2.
1927 2007-03-24 Andreas Nilsson <andreas@andreasn.se>
1930 * gtk-no: More Tango love.
1932 2007-03-23 Jakub Steiner <jimmac@ximian.com>
1934 * gtk-dialog-authentication.svg
1935 * gtk-dialog-error.svg
1936 * gtk-dialog-info.svg
1937 * gtk-dialog-question.svg
1938 * gtk-dialog-warning.svg: Start with a Tango face-lift.
1940 2007-03-23 Rodney Dawes <dobey@novell.com>
1942 * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
1944 2007-03-23 Matthias Clasen <mclasen@redhat.com>
1946 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
1947 toggle whether to show hidden files. (#344657,
1948 Wouter Bolsterlee, Priit Laes, et al)
1950 2007-03-23 Matthias Clasen <mclasen@redhat.com>
1952 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
1953 toggle the visibility of the location entry. (#383354,
1954 John Pye, patch by Carlos Garnacho)
1956 2007-03-22 Matthias Clasen <mclasen@redhat.com>
1958 * gtk/gtksettings.c (merge_color_scheme): Freeze property
1960 * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
1961 the gtk-color-scheme xsetting being unset.
1963 * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
1966 2007-03-21 Matthias Clasen <mclasen@redhat.com>
1968 * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
1970 2007-03-21 Rodney Dawes <dobey@novell.com>
1973 * gtk/gtkicontheme.[ch]:
1974 * docs/reference/gtk/gtk-sections.txt:
1975 * tests/testicontheme.c:
1976 Add a new API call gtk_icon_theme_list_contexts so that one can
1977 choose icons from a theme by context (#420719)
1979 2007-03-21 Ross Burton <ross@burtonini.com>
1982 Document the ::event signal (#420703).
1984 2007-03-20 Kristian Rietveld <kris@gtk.org>
1986 * gtk/gtktreeviewcolumn.c:
1987 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
1989 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
1990 focus_to_cell parameter, rework to handle clamping columns which
1991 are bigger than the available page size better,
1992 (gtk_tree_view_key_press): remove code handling moving the focus
1993 to other column headers,
1994 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
1995 fix RTL support, don't wrap around when moving focus to other
1996 column headers, call gtk_tree_view_clamp_column_visible() instead
1997 of duplicating code,
1998 (gtk_tree_view_focus): only clamp the column visible when we are
1999 explicitly moving to another column header (fixes #399555, Charles
2001 (gtk_tree_view_move_cursor_left_right): update call to
2002 gtk_tree_view_clamp_column_visible().
2004 2007-03-19 Matthias Clasen <mclasen@redhat.com>
2006 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
2009 2007-03-18 Matthias Clasen <mclasen@redhat.com>
2011 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
2012 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
2014 2007-03-18 Matthias Clasen <mclasen@redhat.com>
2016 * modules/input/gtkimcontextmultipress.[hc]:
2017 * modules/input/im-multipress.conf:
2018 * modules/input/immultipress.c:
2019 * modules/input/README.multipress: Add the multipress input
2020 method. (#417446, Johannes Schmid, Murray Cumming)
2022 * modules/input/Makefile.am: Glue
2024 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
2026 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
2027 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
2028 failures gracefully. (#419171)
2030 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
2032 * gtk/gtkrecentaction.c (recent_chooser_set_property),
2033 (gtk_recent_action_set_property): Remove useless inlined
2034 function and propagate the properties to the GtkRecentChooser
2035 objects we create, instead of all the proxies.
2037 (set_current_filter): Remove 'inline' marker.
2039 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
2041 Apply changes suggested by Michael Natterer. (#338843)
2044 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
2045 rename gtk_action_get_submenu() to gtk_action_create_menu().
2047 * gtk/gtkrecentaction.c: Update for GtkAction change.
2049 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
2050 also, use the menu from the GtkAction for both menuitem and
2053 2007-03-16 Xan Lopez <xan@gnome.org>
2055 * gtk/gtkwidget.c: Fix documentation error in
2056 gtk_widget_set_redraw_on_allocate.
2058 2007-03-16 Matthias Clasen <mclasen@redhat.com>
2060 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
2061 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
2062 patch by Christian Persch)
2064 2007-03-15 Federico Mena Quintero <federico@novell.com>
2066 Merged from gtk-2-10:
2068 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
2069 PANGO_PIXELS() gives us device units, which are *points* in
2070 pangocairo's parlance, but we want actual pixels. So, get the
2071 screen's resolution to compute the actual number of pixels.
2074 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
2076 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
2077 unused GError; do not allocate GtkRecentData and use a variable
2078 on the stack. (#418673, Morten Welinder)
2080 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
2082 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
2083 actions providing a menu item or a menu tool button with already
2084 a submenu should return the GtkMenu widget.
2086 * gtk/gtkuimanager.c (update_node): If an action provides its
2087 own submenu, use it instead of adding an empty one
2089 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
2090 implementing the GtkRecentChooser interface for displaying the
2091 list of recently used files into menus and toolbars generated
2092 using GtkUIManager. (#338843)
2096 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
2098 * tests/testactions.c: Exercise the GtkRecentAction API.
2100 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
2102 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
2103 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
2104 from recursion, which can happen for example if the app tries to
2105 reload an icon from within a theme-changed handler. (#418531)
2107 2007-03-15 Richard Hult <richard@imendio.com>
2109 * gdk/quartz/gdkmain-quartz.c: Add stubs for
2110 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
2113 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
2115 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
2118 2007-03-15 Tor Lillqvist <tml@novell.com>
2120 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
2121 gdk_window_set_startup_id.
2123 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
2125 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
2127 * gtk/gtkrecentchooserprivate.h:
2128 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
2129 files list into the shared implementation; do the filtering
2130 before the sorting, so that we always clamp on the desired
2133 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
2134 list, as it's already been done.
2136 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
2137 GtkTreeModelFilter: just reload the view if the sorting and
2138 filtering properties change.
2140 * gtk/testrecentchoosermenu.c: Exercise the limit property.
2142 2007-03-14 Michael Natterer <mitch@imendio.com>
2144 Make gtk_widget_set_extension_events() work on already realized
2145 widgets (bug #379550, Tommi Komulainen)
2147 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
2148 called multiple times without leaking and work correctly when
2149 already realized (don't rely on a configure event following).
2151 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
2152 internal function which walks the GdkWindow tree and sets the
2153 extension events on all windows that belong to the widget.
2155 (gtk_widget_realize)
2156 (gtk_widget_set_extension_events): use the new function.
2158 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
2160 Various clean ups in the GtkRecent code. (see #338843)
2162 * gtk/gtkrecentchooserdefault.c:
2163 * gtk/gtkrecentchoosermenu.c:
2164 * gtk/gtkrecentchooserprivate.h:
2165 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
2166 for getting the sorted and clamped list of recent files from the
2167 manager outside the implementations.
2169 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
2170 the list when the sorting order changes.
2172 (gtk_recent_chooser_default_dispose),
2173 (gtk_recent_chooser_default_finalize): Move object unref and
2174 source removal from finalize to dispose.
2176 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
2177 prerequisite for the GtkRecentChooser interface implementations,
2178 from GtkObject to GObject.
2180 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
2183 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
2185 Apply patch by Vytautas Liuolia for changing the startup
2186 notification id on a window in the X11 backend. (#347375)
2190 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
2191 and gdk_x11_display_get_startup_notification_id().
2194 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
2197 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
2198 change the startup notification id.
2200 (gtk_window_class_init), (gtk_window_init),
2201 (gtk_window_set_property): Add write-only "startup-id" property
2204 (gtk_window_realize): Set the startup notification id
2205 on a GtkWindow if it's valid.
2207 (gtk_window_map): If we have another valid startup notification
2208 id then finish the notification process.
2210 2007-03-13 Matthias Clasen <mclasen@redhat.com>
2212 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
2213 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
2215 2007-03-12 Matthias Clasen <mclasen@redhat.com>
2217 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
2218 docs. (#345844, Torsten Schoenfeld)
2220 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
2221 * gdk/gdkwindow.c (gdk_window_add_filter): Add
2222 cross-references. (#351252, Vincent Untz)
2224 * gtk/gtkprintoperation.c: Fix an oversight in an
2225 example. (#381083, Ian Puleston)
2227 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
2229 2007-03-12 Matthias Clasen <mclasen@redhat.com>
2231 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
2232 the background of the panel window on style changes. (#402144,
2235 2007-03-12 Matthias Clasen <mclasen@redhat.com>
2237 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
2238 an obsolete comment. (#402169, Xan Lopez)
2240 2007-03-12 Matthias Clasen <mclasen@redhat.com>
2242 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
2243 Don't copy PangoLanguage. (#340031, Morten Welinder)
2245 2007-03-12 Matthias Clasen <mclasen@redhat.com>
2247 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
2248 Handle the row reference path being NULL. (#410565, Joe Markus
2249 Clarke, patch by Chris Wilson)
2251 2007-03-11 Matthias Clasen <mclasen@redhat.com>
2253 * tests/testiconview.c: Handle Menu key presses without
2254 crash. (#385637, Christian Persch)
2256 2007-03-11 Matthias Clasen <mclasen@redhat.com>
2258 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
2259 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
2261 2007-03-11 Matthias Clasen <mclasen@redhat.com>
2263 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
2264 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
2266 2007-03-12 Kristian Rietveld <kris@gtk.org>
2268 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
2269 bail out if current_folder is NULL. (#350988, lots of reporters,
2270 modified patch by Jan Darmochwal).
2272 2007-03-10 Kristian Rietveld <kris@gtk.org>
2274 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
2275 hide the search dialog and send focus events if the search dialog
2276 is currently visible.
2278 2007-03-10 Richard Hult <richard@imendio.com>
2280 * gdk/quartz/gdkdrawable-quartz.c:
2281 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
2282 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
2283 surface API (#410442). Don't lock focus unless called outside of an
2285 (gdk_quartz_drawable_release_context): Only flush the CG context and
2286 unlock focus if called outside of expose.
2287 (_gdk_quartz_drawable_finish): New function, used to free the cached
2290 * gdk/quartz/gdkwindow-quartz.c:
2291 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
2292 (_gdk_window_impl_quartz_get_type): No need to make the type info
2294 (gdk_window_quartz_process_all_updates): Move the autorelease pool
2295 allocation and freeing outside the loop.
2296 (_gdk_windowing_window_destroy): Finish the drawable.
2297 (move_resize_window_internal): Small cleanup and remove comment.
2299 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
2301 2007-03-10 Richard Hult <richard@imendio.com>
2303 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
2306 2007-03-10 Richard Hult <richard@imendio.com>
2308 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
2310 2007-03-10 Richard Hult <richard@imendio.com>
2312 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
2314 2007-03-10 Richard Hult <richard@imendio.com>
2316 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
2317 the font name here, leave that to themes, fixes #387508.
2319 2007-03-10 Kristian Rietveld <kris@gtk.org>
2321 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
2322 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
2323 element, also (un)ref its parent elements. (Fixes #364946,
2324 reported by many, testcase by Andreas Koehler).
2326 2007-03-10 Matthias Clasen <mclasen@redhat.com>
2328 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
2329 field of PrintResponseData. (#396703, Christian Persch)
2331 * tests/print-editor.c: Plug some leaks.
2333 2007-03-09 Matthias Clasen <mclasen@redhat.com>
2335 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
2336 Get rid of the unused event argument. Update all callers.
2338 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
2339 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
2341 2007-03-09 Matthias Clasen <mclasen@redhat.com>
2343 * modules/input/gtkimcontextxim.c
2344 (gtk_im_context_xim_filter_keypress): Don't commit
2345 modifier-adorned characters. (#331369, #335796, Lin Ma
2348 2007-03-09 Matthias Clasen <mclasen@redhat.com>
2350 * Everywhere: Remove unnecessary NULL checks before
2351 g_free(). (#369666, Morten Welinder, Djihed Afifi)
2353 * configure.in: Check for ftw.h
2355 2007-03-09 Matthias Clasen <mclasen@redhat.com>
2357 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
2358 C99isms. (#416525, Kazuki Iwamoto)
2360 2007-03-09 Tor Lillqvist <tml@novell.com>
2362 * README.win32: Update.
2364 2007-03-08 Matthias Clasen <mclasen@redhat.com>
2366 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
2367 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
2370 2007-03-08 Matthias Clasen <mclasen@redhat.com>
2372 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
2373 Set child visibility to FALSE here; it will be turned
2374 back on in switch_page. (#413664, Carlos Garnacho)
2376 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2378 * modules/engines/ms-windows/msw_style.c: Use proper border style
2379 when drawing shadow of scrolled windows on Windows XP (#168326)
2380 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
2381 element_part_map array to ensure it always is large enough.
2383 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2385 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
2386 property of GtkEntry accordingly, unify size-allocation of toggle
2387 button (#411123, patch from Mathias Hasselmann).
2388 * gtk/gtkentry.c: Add shadow-type property. Query style properties
2389 on style changes only (#411123, patch from Mathias Hasselmann).
2390 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
2391 hack as GtkComboBox emits drawing requests now (#411123, patch
2392 from Mathias Hasselmann).
2394 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2396 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
2397 by implementing a scrollbars-within-bevel style property. (#168326)
2399 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2401 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
2402 stored in the current theme with the name
2403 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
2404 icons as reported by SHGetFileInfoW. (#412221)
2406 2007-03-07 Matthias Clasen <mclasen@redhat.com>
2408 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
2409 focus around the arrow if there is no label widget.
2410 (#124045, Cody Russell)
2412 2007-03-07 Matthias Clasen <mclasen@redhat.com>
2414 * gtk/gtkcombo.c: (gtk_combo_init):
2415 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
2416 (gtk_combo_box_menu_setup):
2417 Set names on the popup widgets to make them themable. (#414975,
2420 2007-03-07 Michael Natterer <mitch@imendio.com>
2422 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
2423 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
2424 empty finalize() implementation, some cosmetic cleanup
2427 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
2429 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
2430 (do_theme_change), (gtk_icon_theme_set_custom_theme),
2432 Be careful not to trigger a style reset before we have loaded
2433 the icon theme. (#414875).
2435 2007-03-06 Tor Lillqvist <tml@novell.com>
2438 * gtk/Makefile.am: Further fixes for building on Win32 outside
2439 srcdir. (#413492, Mathias Hasselmann)
2441 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
2443 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
2446 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
2448 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
2451 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
2453 * configure.in: Added be@latin to ALL_LINGUAS
2455 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
2457 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
2459 2007-03-01 Matthias Clasen <mclasen@redhat.com>
2461 * gtk/gtksettings.c: Always store gtk-color-scheme
2462 values from all sources in the ColorSchemeData struct
2463 and ignore the property_value for gtk-color-scheme.
2464 This fixes #412596, reported by Thomas Wood.
2466 2007-02-28 Matthias Clasen <mclasen@redhat.com>
2468 * gtk/gtksettings.c: Make color scheme update properly
2469 when changing themes. (#402131, Benjamin Berg)
2471 2007-02-28 Matthias Clasen <mclasen@redhat.com>
2473 * gtk/gtkrc.c: Don't leak references to the color-hash
2474 gotten from GtkSettings. (#409357, Benjamin Berg)
2476 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
2478 * gtk/gtkradiobutton.c: Fixed a warning from
2479 g_object_set (radiobutton, "group", NULL, NULL).
2481 2007-02-26 Matthias Clasen <mclasen@redhat.com>
2483 Apply a patch by Carlos Garnacho to fix several problems
2484 with filechooser size handling (#325477, #151169, 143213,
2487 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
2488 (browse_widgets_create): Don't force the paned position to 200.
2489 (find_good_size_from_style): Take the size of the extra widget
2492 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
2493 Accept a minimal width parameter. Update all callers.
2495 2007-02-26 Matthias Clasen <mclasen@redhat.com>
2497 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
2498 which is more accurate, suggested by Tim Waugh. String change!
2500 2007-02-26 Matthias Clasen <mclasen@redhat.com>
2502 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
2503 print-to-file work. Reported by Ian Collier.
2505 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
2507 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
2509 * gtk/gtkicontheme.c: (scan_directory):
2510 Reorder the replacement of the shared base_name key, so that we
2511 avoid dereferencing the string in the icon_theme->all_icon
2512 hash table after freeing it from the dir->icons hash table.
2514 2007-02-26 Tor Lillqvist <tml@novell.com>
2516 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
2517 comment clarifying that "icon name" here is not related to the
2518 freedesktop.org icon naming stuff.
2520 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
2522 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
2523 progress bar on windows classic. Match from Mathias Hasselmann.
2525 2007-02-19 Tor Lillqvist <tml@novell.com>
2527 * gdk/win32/gdkinput.c
2528 (gdk_device_finalize, gdk_device_class_init): Remove.
2529 (gdk_device_get_type): Drop class init function. The X11 version
2530 doesn't have one either.
2531 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
2532 (gdk_display_list_devices): Check that the argument is
2535 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
2536 Cleanup: remove unused fields.
2537 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
2538 names in a few debugging printouts.
2540 2007-02-18 Matthias Clasen <mclasen@redhat.com>
2542 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
2543 Ignore invisible text when going to end of the previous line.
2546 2007-02-18 Richard Hult <richard@imendio.com>
2548 * gdk/quartz/gdkwindow-quartz.c:
2549 (gdk_window_quartz_process_all_updates),
2550 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
2551 patch from Erik van Pienbroek, fixes bug #396649.
2553 2007-02-18 Richard Hult <richard@imendio.com>
2555 * gdk/quartz/gdkevents-quartz.c: Add stub for
2556 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
2559 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
2561 2007-02-18 Richard Hult <richard@imendio.com>
2563 * gdk/quartz/GdkQuartzView.h:
2564 * gdk/quartz/GdkQuartzWindow.h:
2565 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
2566 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
2567 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
2568 on panther, patch from Mathias Hasselmann.
2570 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
2572 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
2574 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
2575 instead of division. (#334617)
2577 2007-02-16 Kristian Rietveld <kris@gtk.org>
2579 * gtk/gtktreeprivate.h: add cursor_offset field.
2581 * gtk/gtktreeview.c (gtk_tree_view_init),
2582 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
2583 in page up/down handling by memorizing the offset into the cursor
2584 row. (Fixes #399809, reported by Bruce Bowler).
2586 2007-02-16 Kristian Rietveld <kris@gtk.org>
2588 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
2589 a focus-in event to the tree view after hiding the search dialog.
2590 (#356515, Rich Burridge, Peter Parente).
2592 2007-02-16 Kristian Rietveld <kris@imendio.com>
2594 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
2595 keyboard tooltips. (#408325, Matthias Clasen).
2597 2007-02-16 Xan Lopez <xan@gnome.org>
2599 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
2600 in expose event handler. Reviewed by Matthias Clasen, #406112
2602 2007-02-16 Matthias Clasen <mclasen@redhat.com>
2604 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
2607 2007-02-15 Matthias Clasen <mclasen@redhat.com>
2609 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
2610 careful when checking for ButtonRelease events that end implicit
2611 grabs. (#386618, Christof Krüger)
2613 2007-02-15 Matthias Clasen <mclasen@redhat.com>
2615 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
2616 even if there are no views. (#408018, Albert Huang)
2618 2007-02-15 Cody Russell <bratsche@gnome.org>
2620 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
2621 iterations while we're resizing so that the window contents are resized
2622 more smoothly (#389765).
2624 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
2625 are resized (#310522).
2627 2007-02-15 Matthias Clasen <mclasen@redhat.com>
2629 * gtk/updateiconcache.c: Handle symlinked .icon files
2630 intelligently; also avoid storing duplicate strings.
2632 2007-02-15 Michael Natterer <mitch@imendio.com>
2634 * gtk/gtkmenushell.c: remove two antique function typedefs that
2635 are probably obsolete for ages.
2637 2007-02-14 Stefan Kost <ensonic@users.sf.net>
2639 reviewed by: Matthias Clasen <mclasen@redhat.com>
2641 * configure.in: determine installation prefixes of dependent libs to
2642 crossreference docs (#407146).
2644 2007-02-14 Kristian Rietveld <kris@imendio.com>
2646 * gtk/gtktooltip.c (child_location_foreach): check return value
2647 of gtk_widget_translate_coordinates() so we cannot end up
2648 using uninitialized x, y values. (#407863, patch from Carlos
2651 2007-02-14 Kristian Rietveld <kris@imendio.com>
2653 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
2654 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
2655 position instead of a hardcoded value. (Taken from maemo-gtk).
2657 2007-02-14 Michael Natterer <mitch@imendio.com>
2659 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
2660 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
2663 2007-02-13 Kristian Rietveld <kris@imendio.com>
2665 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
2666 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
2668 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
2670 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
2671 remove some type checking; use better variable naming for the
2672 internal menu item markers.
2674 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
2676 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
2677 and appending custom menu items.
2679 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
2680 item for the empty menu case, and for giving us a starting
2681 point for the recent items populating process.
2683 (gtk_recent_chooser_menu_insert_item),
2684 (gtk_recent_chooser_menu_dispose_items): Insert an item at
2685 the position following the placeholder (and find that position
2688 (idle_populate_func), (idle_populate_clean_up): Show the
2689 placeholder menu item, instead of creating one each time.
2691 (gtk_recent_chooser_menu_populate): Kill some indirections
2692 and hide the placeholder before populating the menu.
2694 (set_recent_manager): Remember to remove the idle population
2695 source if the manager changes.
2697 * tests/testrecentchoosermenu.c: Test the appending and
2698 prepending of the menu items to the recent chooser menu
2701 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
2703 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
2704 of the displayed items to build the menu items mnemonic instead
2705 of the overall item count. (#377164)
2707 (idle_populate_clean_up): Append a menu item if all the items
2708 got filtered in the idle populate function. (#405696)
2710 * tests/Makefile.am:
2711 * tests/testrecentchoosermenu.c: Add a test for the
2712 GtkRecentChooserMenu widget.
2714 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
2716 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
2717 GtkButtonBox (bug #336159).
2720 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
2721 support GTK_BUTTONBOX_CENTER.
2723 * tests/testbbox.c: new button box test, which allows testing of
2724 the various button box properties.
2726 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
2728 2007-02-07 Cody Russell <bratsche@gnome.org>
2730 * gdk/gdk.symbols: Add gdk_event_request_motions
2732 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
2734 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
2735 condition which was wrongly ported with my last commit.
2737 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
2739 * gtk/gtktextview.c (gtk_text_view_motion_event):
2740 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
2741 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
2742 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
2743 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
2744 * gtk/gtkentry.c (gtk_entry_motion_notify):
2745 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
2746 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
2747 for new motion events after receiving motion hints.
2749 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
2751 2007-02-06 Kristian Rietveld <kris@imendio.com>
2753 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
2754 remove unused get of has_tooltip.
2756 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
2757 portable g_snprintf instead of snprintf.
2759 2007-02-06 Michael Natterer <mitch@imendio.com>
2761 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
2763 (gtk_tooltip_show_tooltip): move variables and code to local
2764 scope. Fixes warnings about maybe uninitialized variables.
2766 2007-02-06 Kristian Rietveld <kris@imendio.com>
2772 * gtk/gtk.symbols: build system foo.
2774 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
2775 hook for appropriate events.
2777 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
2779 * gtk/gtkrc.c: add style for gtk-tooltip.
2781 * gtk/gtksettings.c (gtk_settings_class_init): make the
2782 different tooltip timeouts configurable.
2784 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
2785 tooltips are hidden on unmap, destroy, update window event
2786 mask on realize, hook into focus change and show help
2789 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
2791 * gtk/gtktooltip.[ch]: new files.
2794 * tests/testtooltips.c: add test application.
2796 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
2798 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
2799 by prematurely releasing a DC. By Hiroyuki Yamamoto
2800 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
2801 pixbufs when drawing rotated tabs. By Daniel Atallah
2803 2007-02-05 Michael Natterer <mitch@imendio.com>
2805 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
2806 and gtk-enable-mnemonics which enable/disable accelerators and
2807 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
2809 * gtk/gtkwindow.c (gtk_window_activate_key)
2810 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
2811 if the resp. setting is FALSE.
2813 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
2814 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
2815 them if the setting is FALSE.
2817 * gtk/gtklabel.c: added signal connection to the screen's settings
2818 object and traverse all widgets on the screen when the setting
2819 changes. It's slightly ugly to also update GtkAccelLabels here,
2820 but less ugly than connecting and traversing all widgets twice.
2822 2007-02-05 Michael Natterer <mitch@imendio.com>
2824 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
2825 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
2826 ansi C enum value limits. Fixes bug #46757.
2828 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
2830 * gtk/gtksequence.[ch]: Remove these files since GSequence has
2831 been moved into GLib.
2833 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
2835 * configure.in: Require glib-2.13.0
2837 2007-02-04 Tor Lillqvist <tml@novell.com>
2839 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
2840 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
2842 2007-02-02 Kristian Rietveld <kris@gtk.org>
2844 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
2845 style_get of vertical-separator. (#403165, Chris Wilson).
2847 2007-02-02 Christian Persch <chpe@svn.gnome.org>
2849 * gtk/gtkfilechoosersettings.c: (get_config_filename),
2850 (ensure_settings_read), (_gtk_file_chooser_settings_init),
2851 (_gtk_file_chooser_settings_set_show_hidden),
2852 (_gtk_file_chooser_settings_set_expand_folders),
2853 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
2854 markup file. Bug #399592.
2856 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
2858 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
2859 be a little more helpful with the docs on GtkCellRendererText:alignment.
2862 2007-02-01 Michael Natterer <mitch@imendio.com>
2864 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
2865 gtk_paint_box() calls.
2867 2007-02-01 Michael Natterer <mitch@imendio.com>
2869 * gtk/gtkmenu.c (gtk_menu_button_press)
2870 (gtk_menu_button_release)
2871 (gtk_menu_button_scroll): remove redundant and confusing
2872 if (GTK_IS_MENU (widget)) checks because "widget" is always a
2875 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
2877 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
2878 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
2880 2007-01-31 Christian Persch <chpe@svn.gnome.org>
2882 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
2883 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
2884 (gtk_about_dialog_set_artists),
2885 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
2886 there are no credits to show. Bug #402806.
2888 2007-01-31 Tor Lillqvist <tml@novell.com>
2890 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
2892 (_gdk_input_wintab_init_check): Call it when debugging output is
2894 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
2895 tablets. The Wacom driver reports duplicated cursors with
2896 physid==0. Fix verified by Robert Ögren.
2898 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
2900 * modules/printbackends/file/gtkprintbackendfile.c:
2901 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
2903 2007-01-30 Matthias Clasen <mclasen@redhat.com>
2905 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
2906 (gdk_x11_window_set_user_time): Be more careful about toplevel
2907 possibly being NULL. (#402453, Sebastian Bacher)
2909 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
2911 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
2912 class_n_properties and leave an uninitialized value array behind.
2914 2007-01-29 Michael Natterer <mitch@imendio.com>
2916 * gtk/gtkmenuitem.c (gtk_menu_item_select)
2917 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
2918 this menu item's menu, to enable themeing menu items depending on
2919 whether something is selected in their submenu (patch taken from
2922 2007-01-28 Matthias Clasen <mclasen@redhat.com>
2924 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
2925 that was mistakenly "cleaned up" a while ago. Also
2926 revert a problematic change to the screen_changed
2927 handler. (#401598, Søren Sandmann)
2929 2007-01-28 Matthias Clasen <mclasen@redhat.com>
2931 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
2932 problem with large y thickness. (#136592, Xan Lopez)
2934 2007-01-28 Matthias Clasen <mclasen@redhat.com>
2936 * gtk/gtkaction.c (gtk_action_new): Use canonical
2939 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2941 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
2942 (gtk_notebook_draw_focus): Avoid some unnecessary
2943 gtk_widget_get_style() calls.
2945 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2948 * gtk/gtktoolitem.c:
2949 * gtk/gtktoolbutton.c: Rearrange things so that setting
2950 multiple properties causes not more than a single
2951 reconstruction of the contents.
2953 * gtk/gtkaction.c (connect_proxy): Set all tool button
2954 properties in one go.
2956 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2958 * gtk/gtkstatusicon.c:
2959 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
2960 take up space on the panel if it is invisible. (340110, Christian
2963 * tests/teststatusicon.c:
2964 * tests/Makefile.am: Updates
2966 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2970 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
2971 and the old file selector. (#348256)
2973 2007-01-26 Matthias Clasen <mclasen@redhat.com>
2975 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
2977 2007-01-26 Matthias Clasen <mclasen@redhat.com>
2979 * gtk/updateiconcache.c: Check the mtime of all directories,
2980 not just the toplevel, if ftw() is available. (#331671, Behdad
2983 * configure.in: Check for ftw.h.
2985 2007-01-26 Michael Natterer <mitch@imendio.com>
2987 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
2988 destroy the XIM only if it exists. While the code does look safe
2989 in general, there can be corner cases where the "reconnecting"
2990 boolean being FALSE does not correspond to the XIM being
2991 allocated (fixes #329450, fix taken from maemo-gtk).
2993 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
2995 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
2996 window bounds (fix from Maemo Gtk).
2998 2007-01-26 Michael Natterer <mitch@imendio.com>
3000 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
3001 only block/unblock completion->priv->insert_text_id if it is
3002 actually connected. While this can't happen the way GtkEntry
3003 itself uses the completion, it's still public API and should not
3004 blindly call functions that will spit warnings (fix taken from
3007 2007-01-25 Matthias Clasen <mclasen@redhat.com>
3009 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
3010 the paintable iface.
3012 2007-01-24 Michael Natterer <mitch@imendio.com>
3014 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
3015 of PRELIGHT state for the reasons given in bug #135666. Widget
3016 states are sometimes abused or otherwise used wrongly for historic
3017 reasons, causing this part of the patch to break e.g. menu items.
3019 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
3021 * README: Remove mention of no-longer-existing PATCH
3022 keyword in bugzilla. (#396899)
3024 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
3026 * gtk/gtkpagesetup.c
3027 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
3030 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
3032 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
3035 Cause gcc to issue a warning if the style returned from
3036 gtk_style_attach is not used. Failure to update
3037 widget->style causes some very difficult to reproduce bugs,
3038 eg Bug 353498 – crash in Terminal: changing icon theme.
3040 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
3042 * gdk/directfb/gdkevents-directfb.c: added fixes for window
3043 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
3045 2007-01-19 Matthias Clasen <mclasen@redhat.com>
3047 * gtk/gtkcalendar.c: Fix build breakage.
3049 2007-01-19 Kristian Rietveld <kris@imendio.com>
3051 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
3052 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
3053 add_scroll_timeout(). (taken from maemo-gtk).
3055 2007-01-18 Matthias Clasen <mclasen@redhat.com>
3057 * gtk/gtkcalendar.c: Fix problems with the initial
3058 focus in GtkCalendar. (#397783, Vincent Untz)
3060 2007-01-19 Robert Ögren <gtk@roboros.com>
3062 Fix for bug #143460 - missed tablet clicks on Windows
3064 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
3065 Request absolute reporting of tablet button state, and cut down
3066 the packet queue size a bit.
3067 (_gdk_input_other_event): Change button state handling
3068 accordingly. Also drop the no longer necessary code that detects
3069 missed clicks/releases for button 1. The switch to absolute button
3070 state should prevent missed events for all buttons. Additionally,
3071 swap button 2 and 3.
3072 (_gdk_input_grab_pointer): Don't reset button_state, that will only
3073 cause a new press event as soon as the next tablet packet arrives.
3075 2007-01-19 Tor Lillqvist <tml@novell.com>
3077 Build Wintab support always on Windows. Don't require the Wintab
3080 * configure.in: Drop the --with-wintab option. Drop the
3081 HAVE_WINTAB feature test macro and Automake variable.
3084 * config.h.win32.in: Drop HAVE_WINTAB.
3086 * gdk/win32/gdkevents-win32.c
3087 * gdk/win32/gdkinput.c
3088 * gdk/win32/gdkinput-win32.h
3089 * gdk/win32/gdkinput-win32.c
3090 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
3093 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
3094 to load wintab32.dll dynamically here. If it is found look up the
3095 handful Wintab functions we use.
3096 (rest of file): Use these function pointers instead of calling the
3097 functions from wntab32x.lib. The code in wntab32x.lib did the same
3098 thing anyway: tried to load wintab32.dll, and looked up the
3099 addresses of the actual functions from it.
3102 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
3104 * gdk/win32/wintab.h
3105 * gdk/win32/pktdef.h: New files. Copied from the Wintab
3106 SDK. Copyright blurb says: "The text and information contained in
3107 this file may be freely used, copied, or distributed without
3108 compensation or licensing restrictions."
3110 * README.win32: Update a bit. Remove the text about the Wintab
3113 2007-01-18 Tor Lillqvist <tml@novell.com>
3115 * gdk-pixbuf/Makefile.am
3117 * gdk/win32/Makefile.am
3118 * gtk/Makefile.am: Fixes for building outside srcdir on
3119 Win32. (#336819, #340013) Drop distributing the handmade .la
3120 libtool wrapper for the wntab32x library. It's too much trouble
3121 making it work when building outside srcdir. Just link to the
3122 library direcly using -Wl,win32/libwntab32x.a.
3124 2007-01-18 Michael Natterer <mitch@imendio.com>
3126 * gtk/gtkcheckbutton.c
3131 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
3132 functions. Based on a patch from maemo-gtk (bug #398023).
3134 2007-01-17 Tor Lillqvist <tml@novell.com>
3136 * gtk-zip.sh.in: Include also the COPYING file.
3138 2007-01-17 Matthias Clasen <mclasen@redhat.com>
3140 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
3141 httpGetFd() when building against cups 1.1
3143 2007-01-17 Tor Lillqvist <tml@novell.com>
3145 Proper fix for #396175:
3147 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
3148 include gtkprivate.h. On Win32 we do want to use the redefinition
3149 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
3151 * gtk/gtkimmodule.c: Instead, correct the prefix also on
3152 simple_context_info.domain_dirname. Do the prefix corrections
3153 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
3154 now they were done only in the autoconfiscated gcc builds. Hans
3155 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
3157 (correct_localedir_prefix): New function, like
3158 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
3159 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
3160 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
3161 on the domain_dirname instead of correct_libdir_prefix().
3162 (_gtk_im_module_list): Call correct_localedir_prefix() on
3163 simple_context_info.domain_dirname.
3165 2007-01-16 Matthias Clasen <mclasen@redhat.com>
3167 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
3168 grab changes. (#396470, Benjamin Berg)
3170 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
3172 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
3173 if they grow too much. (#357303)
3175 2007-01-14 Matthias Clasen <mclasen@redhat.com>
3177 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
3178 non-scalable dir, keep going and look for a closer match.
3179 (#395830, Luca Ferretti)
3181 2007-01-14 Christian Persch <chpe@svn.gnome.org>
3183 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
3184 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
3185 gtk_target_table_free instead of duplicating the code. Bug #396493.
3187 2007-01-13 Matthias Clasen <mclasen@redhat.com>
3189 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
3190 positions can't be found. (#396161, Hans Breuer)
3192 2007-01-13 Matthias Clasen <mclasen@redhat.com>
3194 * gtk/gtkselection.c (_gtk_selection_request): Plug
3195 memory leaks. (#396160, Carlos Garcia Campos)
3197 2007-01-13 Matthias Clasen <mclasen@redhat.com>
3199 * configure.in: Link libgtk against Xfixes. (#396074,
3202 2007-01-13 Matthias Clasen <mclasen@redhat.com>
3204 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
3205 a compiler warning. (#395045, Chris Wilson)
3207 2007-01-13 Hans Breuer <hans@breuer.org>
3209 * gtk/gtkprintoperation-win32.c : take the custom tab label from
3210 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
3212 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
3213 differing definitions of GTK_LOCALEDIR (bug #396175).
3215 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
3216 not available everywhere
3218 * gtk/makefile.msc.in : updated
3220 2007-01-12 Michael Natterer <mitch@imendio.com>
3222 * gtk/gtkentry.c (gtk_entry_button_press): don't add
3223 entry->scroll_offset to entry->drag_start_y. Fixes the entry
3224 starting drags after ridiculously small mouse movements.
3226 2007-01-11 Richard Hult <richard@imendio.com>
3228 * demos/gtk-demo/main.c: (load_file): Close the file after it's
3229 loaded (bug #395316).
3231 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
3233 * gtk/gtkfilesystemunix.c: (expand_tilde):
3234 Make a single tilde go to $HOME in the location entry.
3235 Patch from Yevgen Muntyan. Closes the gtk+ part of
3238 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
3240 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
3241 * gtk/gtklabel.c (gtk_label_size_request):
3242 Use pango_matrix_transform_rectangle(). (#340141)
3244 * configure.in: Bump pango requirement to 1.15.3.
3246 2007-01-10 Kristian Rietveld <kris@imendio.com>
3248 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
3249 refactor to initialize indicator_size to TOGGLE_WIDTH instead
3250 of the hardcoded value of 12.
3252 2007-01-09 Matthias Clasen <mclasen@redhat.com>
3254 * configure.in: Fix the directfb cairo test. (#394855,
3257 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
3259 * configure.in: Fix comment for --with-included-loaders. That option
3260 affects builds with module loading enabled too.
3262 2006-01-08 Peter Teichman <peter@novell.com>
3264 * gtk/gtkfilechooserdefault.c:
3265 * gtk/gtkfilechooserprivate.h:
3266 * gtk/gtkfilechoosersettings.c:
3267 * gtk/gtkfilechoosersettings.h:
3268 Save the expanded state of the folder browser with the file
3269 chooser settings. Resolves the expander portions of (#153828,
3272 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
3274 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
3275 Don't leak the icon pixbuf after setting it to the image menu
3276 item. Found by Paolo Borelli.
3278 2007-01-08 Matthias Clasen <mclasen@redhat.com>
3280 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
3281 corrupt memory when faced with paths with ridiculously
3282 large indices. Found by the GTKVTS test suite.
3284 2007-01-08 Matthias Clasen <mclasen@redhat.com>
3286 * gtk/gtkmodules.c (_gtk_modules_init): Set
3287 default_display_opened before loading modules. (#393102,
3290 2007-01-07 Matthias Clasen <mclasen@redhat.com>
3292 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
3293 Call text_window_realize() with the correct parameters.
3294 (#393813, Yevgen Muntyan)
3296 2007-01-07 Matthias Clasen <mclasen@redhat.com>
3298 * gtk/gtkstatusbar.c: Move docs inline, and expand them
3301 2007-01-06 Matthias Clasen <mclasen@redhat.com>
3303 * gtk/gtklabel.c: Make line wrapping work with width-chars
3304 and max-width-chars, and simplify the storage of wrap-width.
3305 (#322580, Itai Bar-Haim)
3307 2007-01-06 Tor Lillqvist <tml@novell.com>
3309 * gdk/win32/cursor.bdf: New file. Downloaded from
3310 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
3311 "diamond_cross", "draft_large", "gobbler" and "target" to fix
3312 #392504. It is possible that the same end result could have been
3313 achieved by tweaking bdfcursor.c instead.
3315 * gdk/win32/bdfcursor.c: Add optional debugging output.
3317 * gdk/win32/xcursors.h: Regenerated.
3319 2007-01-05 Matthias Clasen <mclasen@redhat.com>
3321 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
3322 menu labels. (#393255, Michail Crayson)
3324 2007-01-05 Kristian Rietveld <kris@gtk.org>
3326 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
3327 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
3329 2007-01-05 Kristian Rietveld <kris@gtk.org>
3331 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
3332 invalidate nodes if the tree view is not realized. (#363147,
3333 Carlos Garnacho, Miguel Cabrera).
3335 2007-01-05 Matthias Clasen <mclasen@redhat.com>
3337 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
3338 account when drawing the background. (#393166, Benjamin Berg)
3340 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
3342 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
3345 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
3347 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
3348 both scroll arrows when calculating size request in GTK_POS_LEFT or
3349 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
3351 2007-01-05 Michael Natterer <mitch@imendio.com>
3353 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
3354 the right function (fix taken from maemo-gtk).
3356 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
3359 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
3360 (gdk_draw_layout_with_colors):
3361 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
3362 Avoid overflow when converting coordinates to Pango units. (#332266,
3365 2007-01-04 Matthias Clasen <mclasen@redhat.com>
3367 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
3368 after realization of the popup window, so clamp node doesn't fail.
3369 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
3371 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
3373 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
3376 2007-01-04 Matthias Clasen <mclasen@redhat.com>
3379 * gdk-pixbuf/Makefile.am:
3381 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
3382 (#392646, Yevgen Muntyan)
3384 2007-01-04 Matthias Clasen <mclasen@redhat.com>
3386 * demos/gtk-demo/textscroll.c:
3387 * gtk/gtkhandlebox.c:
3388 * gtk/gtkcolorsel.c: Fix some compiler warnings.
3390 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3392 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
3393 by calling the input method regardless of editability,
3394 and beeping from the commit/preedit-changed handlers.
3395 (#390514, Yevgen Muntyan)
3397 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3399 Fix #332604, reported by Joe Wreschnig, patch
3400 by Jan Arne Petersen and Behdad Esfahbod.
3402 * gtk/gtklabel.c (gtk_label_size_allocate): Only
3403 set the width of the layout when necessary.
3404 (get_layout_location): Use pango_layout_get_pixel_extents()
3405 instead of pango_layout_get_width().
3407 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3409 * modules/printbackends/cups/gtkprintbackendcups.c
3410 (available_choices): Don't leak conflicts.
3412 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
3413 Don't leak the status string.
3415 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3417 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
3418 Exit early if we can't get file info - this happens
3419 if the iter points to the row where we are editing
3420 the name for a newly created folder. (#392191, Michael
3421 Partridge, patch by Kristian Rietveld)
3423 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3426 * gdk/x11/*.c: Apply a patch by Chris Wilson to
3427 avoid spurious valgrind warnings from XSendEvent()
3430 * modules/printbackends/cups/gtkprintbackendcups.c: Close
3431 the http connection after getting the PPD.
3433 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
3436 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3438 * gtk/gtkassistant.c (remove_page): If the current page
3439 is removed, always pick a different one. (#392457,
3442 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3444 * modules/printbackend/cups/*.c: Coding style cleanups.
3446 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3448 * configure.in: Export SED to make sourcing of
3449 libtool work. Tighten up the directfb pkgconfig check.
3451 2007-01-03 Michael Natterer <mitch@imendio.com>
3453 * gtk/gtkstyle.c (option_menu_get_props)
3454 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
3455 gtk_border_free when freeing borders.
3457 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3459 * gtk/gtkentry.c (get_text_area_size): Work when the
3460 entry is not realized. (#392315, Yevgen Muntyan)
3462 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
3463 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
3465 * gtk/gtkentry.c (cursor_blinks): Don't get settings
3466 unnecessarily. (#392227)
3468 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3470 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
3471 updates on the window at hand, not on all windows, to
3472 avoid violating resize/redraw ordering constraints.
3473 (#362406, Owen Taylor)
3475 2007-01-03 Kristian Rietveld <kris@gtk.org>
3477 * gtk/gtkcellrendererprogress.c
3478 (gtk_cell_renderer_progress_class_init): fix docs.
3480 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3482 * gtk/updateiconcache.c: Include locale.h
3484 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3486 * gtk/updateiconcache.c (main): Call setlocale().
3489 * gtk/gtkfilesystemunix.c:
3490 * gtk/gtkfilesystemwin32.c:
3491 * gtk/gtkfilechoosersettings.c:
3492 * gtk/updateiconcache.c: Consistently use folder instead of
3493 directory in translated messages. (#344584, Javier F. Serrador)
3495 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3497 Try to fix #315732, reported by Luke Hutchinson:
3499 * gdk/x11/xsettings-client.[hc]:
3500 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
3501 will guarantee that it can be looked up in the xid hash later.
3502 Also, use the nesting server grab function during the xsettings
3503 client initialization. Finally, make xsettings client not
3504 eat DestroyNotifys so that GDK can do its regular cleanup.
3506 2007-01-02 Michael Natterer <mitch@imendio.com>
3508 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
3509 when a keybinding didn't change adjustment->value.
3511 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3513 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
3514 Try harder not to beep on events which are not meant to
3515 insert stuff in the buffer. (#390514, Yevgen Muntyan)
3517 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3519 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
3521 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3523 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
3524 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
3526 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
3528 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
3530 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3532 * gtk/gtkscrolledwindow.h:
3533 * gtk/gtkscrolledwindow.c: Only handle key bindings
3534 for scrolling if the scrollbars are visible.
3535 (#340135, Christian Persch)
3537 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3539 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
3540 Don't segfault on horizontal scrolling.
3542 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3544 * gtk/gtknotebook.h:
3545 * gtk/gtknotebook.c: Only handle key bindings for
3546 tab reordering if the tabs are shown and reorderable.
3547 (#390468, Yevgen Muntyan)
3549 * gtk/gtkmarshalers.list: Add required marshaler
3551 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3553 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
3554 Mention in the docs that the return value is
3555 NULL-terminated. (#383373, Christian Neumair)
3557 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3559 * gtk/gtkicontheme.c (load_themes): Waste less time
3560 with non-directories. (#391725, Chris Wilson)
3562 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3564 * gtk/gtkcellrendererprogress.c: Implement activity mode
3565 for GtkCellRendererProgress. (#377851, Brad Taylor)
3567 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3569 Fix some IPP compliance issues. (#391523, Albrecht Dress)
3571 * modules/printbackends/cups/gtkcupsutils.c
3572 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
3574 * modules/printbackends/cups/gtkprintbackendcups.c
3575 (gtk_print_backend_cups_print_stream): Don't add the
3576 requesting-user-name attribute a second time.
3578 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3580 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
3582 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
3584 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
3585 right object when disconnecting from the GtkRecentManager::changed
3586 signal; save us a few indirections using a variable.
3588 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
3590 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
3591 disconnections into the dispose function, as well as the
3592 object unrefs; reset every handler id and the
3593 pointers. (suggested by Paolo Borelli, #390873)
3595 2006-12-31 Matthias Clasen <mclasen@redhat.com>
3597 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
3600 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3602 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
3603 scroll timeout. (#390872, Yevgen Muntyan)
3605 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3607 * gtk/gtkprintoperation-unix.c:
3608 * gtk/gtkprintbackend.c:
3609 * gtk/gtkfilechooserdefault.c:
3610 * gtk/gtksettings.c: Move a few settings to gtksettings.c
3611 to make sure they show up in the docs. (#365364, Christian
3614 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3616 * gtk/gtkassistant.c: Redraw assistant on reallocate
3617 to avoid rendering glitches. (#343956, Christian
3618 Persch, Carlos Garnacho)
3620 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3622 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
3624 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3626 * gtk/gtkaction.c: Improve the docs of the "label"
3627 property. (#341730, Kristof Vansant)
3629 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3631 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
3632 Correctly handle min size. (#320465, Philipp Langdale)
3634 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3636 * gtk/prop-editor.c: Implement editing of flags.
3638 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3643 * gtk/gtkstatusbar.c:
3644 * gtk/gtktextview.c: Don't install cursors on insensitive
3645 widgets. (#358864, Jan Schampera)
3647 2006-12-29 Matthias Clasen <mclasen@redhat.com>
3649 * gtk/gtkrecentmanager.h:
3650 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
3653 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
3656 * gtk/gtkentry.c (blink_cb):
3657 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
3658 if focus went missing. Just warn, clean up and continue.
3661 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
3663 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
3664 originally received the event is a notebook page. (#315440, reported
3667 2006-12-29 Matthias Clasen <mclasen@redhat.com>
3669 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
3672 2006-12-29 Matthias Clasen <mclasen@redhat.com>
3674 * tests/prop-editor.c: Display children of containers
3675 and cell renderers of cell layouts.
3678 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
3679 New function to get the cell renderers of a cell layout.
3681 * gtk/gtktreeviewcolumn.c:
3682 * gtk/gtkcellview.c:
3683 * gtk/gtkiconview.c: Implement get_cells.
3685 2006-12-28 Matthias Clasen <mclasen@redhat.com>
3687 * gtk/gtkiconview.c: Use word wrapping by default, and
3688 center multiline labels. (#318763, Ross Burton)
3690 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
3691 case for single-line layouts.
3693 2006-12-28 Matthias Clasen <mclasen@redhat.com>
3695 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
3698 * gtk/gtkuimanager.c (update_node): Only use the results
3699 of find_menu/toolbar_position() if they succeed. May fix
3702 2006-12-28 Matthias Clasen <mclasen@redhat.com>
3704 * gdk/gdk.c: Fix some formatting errors in docs.
3706 2006-12-28 Tor Lillqvist <tml@novell.com>
3708 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
3709 (gtk_status_icon_update_image): Don't leak HICONs on
3710 Win32. (#364868, Hiroyuki Yamamoto)
3712 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
3714 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
3716 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
3717 * gtk/gtkmarshalers.list: add new marshaler definition.
3718 * gtk/gtkenums.h: add GtkDragResult enum.
3720 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
3721 operation wasn't successful.
3722 (_gtk_drag_source_handle_event) (gtk_drag_drop)
3723 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
3724 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
3725 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
3726 gtk_drag_drop_finished() the operation result.
3728 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
3729 (gtk_notebook_drag_data_get): do not call window creation hook here.
3730 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
3731 target, instead connect to "drag-failed".
3732 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
3734 2006-12-28 Mikael Hallendal <micke@imendio.com>
3736 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
3737 integration into gdkeventloop-quartz.c.
3739 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
3741 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
3744 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3746 * modules/printbackends/lpr/gtkprintbackendlpr.c
3747 (gtk_print_backend_lpr_print_stream): Close the io channel
3748 on unref. (#390159, Joe Markus Clarke)
3750 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3752 * gdk/gdk.h: Remove redundant declarations (#390097,
3755 2006-12-27 Kristian Rietveld <kris@gtk.org>
3757 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
3759 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
3760 gtk-alternative-sort-arrows.
3762 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
3765 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
3766 gtk-alternative-sort-arrows setting to true.
3768 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
3769 invert direction if gtk-alternative-sort-arrows is TRUE.
3771 2006-12-27 Tor Lillqvist <tml@novell.com>
3773 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
3774 gtk_status_icon_set_screen.
3776 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
3777 on Windows. Keep track of where the last button click on the
3778 taskbar icon took place, and return that. Obviously not correct if
3779 no button has ever been clicked on the icon, or if the geometry of
3780 the taskbar has changed since. But for most use cases where a menu
3781 is going to be displayed as a direct result of a button click on
3782 the status icon, works fine. (#377349)
3784 Implement getting the orientation property on Windows.
3786 (gtk_status_icon_embedded_changed)
3787 (gtk_status_icon_orientation_changed): Ifdefify these functions
3788 that are used only on X11.
3790 2006-12-27 Tor Lillqvist <tml@novell.com>
3792 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
3793 typo. (#390035, Kazuki Iwamoto)
3795 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3797 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
3799 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
3800 (gtk_combo_box_unset_model): Handle repeated unsetting
3801 of models without warnings. (#367529, Robert Ancell)
3803 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3805 * modules/printbackends/cups/gtkcupsutils.c:
3806 * modules/printbackends/cups/gtkprintbackendcups.c: Use
3807 getters for http fields where available. (#364866,
3810 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3812 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
3813 (#362614, Xan Lopez)
3815 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3817 * gtk/gtkuimanager.c (update_node): If a required action
3818 is missing, don't recurse over the children. (#349119,
3821 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3823 Fix a few problems with nested menus in comboboxes
3824 (#386694, Yevgen Muntyan)
3826 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
3827 connect the activate callback.
3828 (gtk_combo_box_menu_item_activate): Do nothing if called on
3829 an item with a submenu.
3830 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
3833 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
3835 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
3836 filechooser button. Bug 353196.
3838 2006-12-26 Kristian Rietveld <kris@gtk.org>
3840 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
3841 the search dialog timeout never to be refreshed. (#389581,
3842 Andrzej Szombierski).
3844 2006-12-26 Kristian Rietveld <kris@gtk.org>
3846 Lots of scrolling fixes. Made scrolling work properly in not fully
3847 validated tree views; fixed a bunch of corner cases.
3849 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
3850 upper - page_size, we know it is located at the end so the test for
3851 dy + height has been dropped.
3852 In the same case if area_below < 0, we know this is the last node
3853 in the tree view so area_above is page_size - height of this row.
3854 (validate_visible_area): got rid of subtracting new_height -
3855 old_height from area_{below,above}, it didn't make any sense at
3856 all and the full height of the row should be subtracted instead.
3857 (validate_visible_area): when scrolling to a given path, set the
3858 top row directly together with the dy offset, then sync that top_row
3860 (gtk_tree_view_set_top_row): new function to directly set a top_row.
3861 (gtk_tree_view_dy_to_top_row): refactored to use
3862 gtk_tree_view_set_top_row().
3863 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
3864 (gtk_tree_view_adjustment_changed): only update our dy and
3865 top_row if the adjustment's dy actually changed.
3867 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
3869 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
3870 Return the correct value from gtk_notebook_insert_page if the
3871 page-added handler reorders the tabs. Bug #345094.
3873 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
3875 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
3877 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
3878 scrolling when hovering with a detached tab.
3879 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
3880 focus tab has changed during a tab DND operation.
3881 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
3882 (gtk_notebook_paint): do not take cur_page as a reference to paint the
3883 box if it's detached.
3884 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
3885 to the detached tab if we hover the arrows during a tabs detaching
3886 operation, do not allocate it unconditionally in 0,0.
3888 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
3890 Expose improvements for GtkNotebook. Bug #383435
3892 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
3894 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
3895 (gtk_notebook_draw_tab): do not send handmade expose events to tab
3898 2006-12-26 Matthias Clasen <mclasen@redhat.com>
3900 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
3901 FALSE. (#389623, Carlos Garnacho Parro)
3903 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
3906 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3908 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
3909 (gtk_plug_unrealize): Notify the "embedded" property also on
3910 normal construction and when destroying the socket window.
3913 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3915 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
3916 (gtk_about_dialog_init), (display_credits_dialog),
3917 (display_license_dialog):
3918 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
3919 (gtk_file_chooser_dialog_init),
3920 (gtk_file_chooser_dialog_constructor),
3921 (gtk_file_chooser_dialog_unmap):
3922 * gtk/gtkrecentchooserdefault.c:
3923 (_gtk_recent_chooser_default_init):
3924 * gtk/gtkrecentchooserdialog.c:
3925 (gtk_recent_chooser_dialog_class_init),
3926 (gtk_recent_chooser_dialog_init),
3927 (gtk_recent_chooser_dialog_constructor),
3928 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
3929 instead of using style-set handlers. Fix the filechooser's spacing
3930 between content and action area to 12px. Bug #372447.
3932 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3934 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
3935 Don't assume statusbar->label is the statusbar's frame's child when
3936 shrinking the size allocation when the grip is shown. Bug #372452.
3938 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3940 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
3941 (add_custom_paper): Fix mem leaks. Bug #389194.
3943 2006-12-24 Matthias Clasen <mclasen@redhat.com>
3945 * gtk/gtktextutil.c: Remove debug output.
3947 * gtk/gtktextview.c: Improve the DND scrolling
3948 behaviour. (#92387, Carlos Garnacho Parro)
3950 * gtk/gtkaccellabel.c: Improve translators comments.
3951 (#389298, Christian Persch)
3953 2006-12-24 Bastien Nocera <hadess@hadess.net>
3955 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
3958 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
3960 * docs/reference/gtk/gtk-sections.txt:
3962 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
3963 * gtk/gtkprinter-private.h:
3964 * gtk/gtkprinter.c: (gtk_printer_list_papers):
3965 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
3967 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
3969 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
3970 when is selected in page setup dialog. Fixes bug #365047.
3972 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
3974 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
3975 Use gtk_border_free when freeing border.
3977 2006-12-24 Matthias Clasen <mclasen@redhat.com>
3979 * gtk/gtkentry.c (gtk_entry_button_press): When
3980 shift-clicking, keep the larger part of the selection
3981 selected. (#353709, Benjamin Otte)
3983 * gtk/gtkbutton.c (gtk_button_get_props): Use
3984 gtk_border_free when freeing borders.
3986 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
3987 careful when faking a button release. (#323146,
3990 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
3991 handle with the right orientation, depending on the
3992 position of the handlebox. (#159764, Benjamin Berg)
3994 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
3996 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
3997 GtkBorder (#383557).
3999 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
4001 Bug 340141 – Update to Pango 1.16 API
4003 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
4004 (gdk_pango_layout_line_get_clip_region):
4005 * gtk/gtkcalendar.c (gtk_calendar_size_request):
4006 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
4007 (get_layout_position), (gtk_entry_find_position),
4008 (gtk_entry_adjust_scroll):
4009 * gtk/gtkiconview.c (get_pango_text_offsets):
4010 * gtk/gtklabel.c (get_cursor_direction):
4011 * gtk/gtkstyle.c (get_insensitive_layout):
4012 * gtk/gtktextdisplay.c (render_para):
4013 * gtk/gtktextlayout.c (allocate_child_widgets),
4014 (find_display_line_below), (find_display_line_above),
4015 (gtk_text_layout_move_iter_to_previous_line),
4016 (gtk_text_layout_move_iter_to_next_line),
4017 (gtk_text_layout_move_iter_to_line_end),
4018 (gtk_text_layout_iter_starts_line),
4019 (gtk_text_layout_move_iter_to_x):
4020 * gtk/gtktextutil.c (limit_layout_lines):
4021 Use the _readonly version of pango_layout_iter_get_line(),
4022 pango_layout_iter_get_run(), pango_layout_get_line(), and
4023 pango_layout_get_lines().
4025 * gtk/gtkmain.c (gtk_get_default_language): Use
4026 pango_get_default_language().
4028 2006-12-24 Matthias Clasen <mclasen@redhat.com>
4030 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
4031 and notify:text only once. The same fix was applied
4032 for replacing the selection via DND or copy-and-paste.
4033 (#64998, Damon Chaplin, Sven Herzberg)
4035 2006-12-23 Matthias Clasen <mclasen@redhat.com>
4037 * gtk/gtkimmulticontext.c: Be careful to not override
4038 GTK+ translations with the translations of the input
4039 method. (#317080, Tor Lillqvist)
4041 * modules/input/imcedilla.c: Use standard macros
4042 for translation domain and locale dir.
4044 * gtk/gtkimcontextsimple.c: Allow composing l with
4045 stroke. (#349638, Daniel Lublin)
4047 * gtk/gen-paper-names.c: Fix a thinko in the suffix
4048 calculation. (#382369, Christian Persch)
4050 * gtk/paper_names_offsets.c: Regenerated.
4052 2006-12-22 Matthias Clasen <mclasen@redhat.com>
4054 * modules/engines/pixbuf/pixbuf.h:
4055 * modules/engines/pixbuf/pixbuf-rc-style.h:
4056 * modules/engines/pixbuf/pixbuf-style.h: Move
4057 G_GNUC_INTERNAL before function declarations. (#352276,
4060 2006-12-22 Matthias Clasen <mclasen@redhat.com>
4062 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
4065 2006-12-22 Matthias Clasen <mclasen@redhat.com>
4067 * *.c: Replace a lot of idle and timeout calls by
4068 the new gdk_threads api.
4072 * gdk/gdk.c: Add functions to allow threadsafe handling
4073 of idles and timeouts wrt. to the GDK lock. (#321886,
4076 2006-12-22 Matthias Clasen <mclasen@redhat.com>
4078 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
4079 (#340141, Behdad Esfahbod)
4081 * configure.in: Check for getc_unlocked.
4083 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
4084 unavailable. (#381499)
4086 * tests/teststatusicon.c: Fix a typo
4088 2006-12-22 Matthias Clasen <mclasen@redhat.com>
4090 Make it possible to track the embeddedness of
4091 statusicon (#387215, Martyn Russell, patch by Christian
4094 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
4096 * gtk/gtkplug-x11.c: Add an embedded property.
4097 * tests/teststatusicon.c: Test the new properties.
4099 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
4100 leak draw_border. (#387170, Kjartan Maraas)
4102 2006-12-21 Matthias Clasen <mclasen@redhat.com>
4104 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
4105 Typo fix. (#388123, Murray Cumming)
4107 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
4108 Generate double-click events. (#380421, Tommi Komulainen)
4110 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
4111 (_gdk_input_enter_event): Correct return_if_fail checks.
4112 (#379803, Tommi Komulainen)
4114 * gdk/gdkdisplay.c: Improve the docs of some functions operating
4115 on the default display. (##353438, Mariano Suárez-Alvarez)
4117 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
4119 * docs/reference/gdk/gdk-sections.txt:
4120 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
4121 converting a GdkColor to a string (#373856).
4123 * configure.in: Bump pango requirement to 1.15.2.
4125 2006-12-20 Matthias Clasen <mclasen@redhat.com>
4127 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
4130 * gdk/keyname-table.h: Regenerated
4132 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
4133 Søren Wedel Nielsen)
4135 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
4136 Silently return if a drag is already in progress, rather
4137 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
4139 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
4140 Allow any GtkDialog that implements GtkFileChooser as
4141 dialog. (#335473, Tommi Komulainen)
4143 2006-12-20 Mikael Hallendal <micke@imendio.com>
4145 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
4146 change in the quartz backend.
4148 2006-12-20 Mikael Hallendal <micke@imendio.com>
4150 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
4151 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
4153 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
4155 2006-12-19 Matthias Clasen <mclasen@redhat.com>
4157 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
4158 format of page ranges, and improve the page sequence icon
4159 for the case of n_copies == 1.
4161 2006-12-19 Mikael Hallendal <micke@imendio.com>
4163 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
4164 routine so that it can be used from libgtk as well (needed for
4165 upcoming GtkStatusIcon support in the Quartz port).
4166 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
4167 created from GDK, this is not true for the status icon.
4168 * gdk/quartz/gdkprivate-quartz.h:
4169 * gdk/quartz/gdkquartz.h: Added
4170 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
4171 the status icon code.
4173 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
4175 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
4176 gtk_message_dialog_set_image ()
4178 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
4179 (setting "window-placement-set" could result in a crash because
4180 of boolean/enum mixup)
4182 2006-12-15 Federico Mena Quintero <federico@novell.com>
4184 Merged from gtk-2-10:
4186 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
4187 the case where the new title is the same as the old title, to
4188 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
4189 equivalent). Handle the case where title == priv->title. This
4190 was found by the LSB compatibility tests:
4191 https://bugzilla.novell.com/show_bug.cgi?id=223882
4193 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
4195 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
4196 more closely resemble its Win32 counterpart. Bug #340204.
4198 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
4200 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
4201 placed inside their GdkWindow. Bug #385672.
4203 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
4205 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
4207 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
4209 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
4210 drawn with extra line below tab in MS-Windows theme. Patch by
4213 2006-12-13 Matthias Clasen <mclasen@redhat.com>
4215 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
4216 for print preview. (#370041, Ghee Teo)
4218 2006-12-11 Matthias Clasen <mclasen@redhat.com>
4220 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
4221 careful when overdrawing antialiased text. (#352435, Alex Jones,
4222 patch by Benjamin Otte)
4224 * gtk/gtksettings.c: Change the way in which color scheme information
4225 is merged to correctly handle vanishing colors. (#374420,
4226 Benjamin Berg, patch by Callum McKenzie)
4227 Also allow to separate entries in color schemes by ';'
4230 2006-12-10 Matthias Clasen <mclasen@redhat.com>
4232 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
4233 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
4235 2006-12-10 Kristian Rietveld <kris@gtk.org>
4237 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
4238 cancel editing (ie. don't accept changes) when the entry loses
4239 focus. (Fixes #164494, reported by Chris Rouch).
4241 2006-12-10 Matthias Clasen <mclasen@redhat.com>
4243 * configure.in: Correct a misapplied patch.
4245 2006-12-10 Tor Lillqvist <tml@novell.com>
4247 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
4248 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
4249 developer zipfile. Users might add pixbuf loaders or immodules
4250 even if they are not interested in developing gtk+-using software.
4252 2006-12-10 Matthias Clasen <mclasen@redhat.com>
4254 * configure.in: Check for crt_extern.h and _NSGetEnviron.
4255 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
4256 environ is not available. (#384168, Min Sik Kim)
4258 2006-12-07 Paolo Maggi <paolo@gnome.org>
4262 * gtk/gtkentry.c (gtk_entry_set_text): check for
4263 completion->priv->changed_id > 0 before calling
4264 g_signal_handler_[un]block.
4265 (gtk_entry_completion_key_press): does not block/unblock the "changed"
4266 signal before calling gtk_entry_set_text.
4268 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
4270 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
4271 xthickness/ythickness, they aren't used any longer for drawing.
4273 2006-12-07 Matthias Clasen <mclasen@redhat.com>
4275 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
4276 underlines by giving labels a small draw-border.
4278 2006-12-06 Kristian Rietveld <kris@gtk.org>
4280 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
4281 draw progress bar through theme engine instead of using our own
4282 custom cairo drawing code (#377244, patch from Carlos Garnacho).
4284 2006-12-06 Matthias Clasen <mclasen@redhat.com>
4286 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
4287 Update the sensitivity of the collate checkbutton more frequently,
4288 proposed by Tim Waugh.
4290 2006-12-04 Matthias Clasen <mclasen@redhat.com>
4292 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
4293 since we no longer set window titles.
4295 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
4297 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
4298 (gtk_page_setup_set_paper_size): Don't leak the old page size when
4299 setting a new one. Bug #382314.
4301 2006-12-03 Michael Natterer <mitch@gimp.org>
4303 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
4305 2006-12-03 Kristian Rietveld <kris@gtk.org>
4307 Make sure [xy]_offset are always being initialized, fix pixbuf
4308 renderer padding. (#108235, Sven Neumann).
4310 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
4311 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
4314 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
4315 always initialize [xy]_offset.
4316 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
4317 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
4320 2006-12-03 Kristian Rietveld <kris@gtk.org>
4322 * gtk/gtktreeview.c (validate_visible_area): when not using an
4323 explicit alignment, use the full area of the row (not just dy)
4324 to determine how to implicitly align it. (Fixes #363191, reported
4325 by Federico Mena Quintero).
4327 2006-12-02 Matthias Clasen <mclasen@redhat.com>
4329 * gtk/gtkicontheme.c (insert_theme): Properly clean up
4330 if an icon theme index file has no directories. (#381236)
4332 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
4334 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
4335 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
4337 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
4339 Remove the broken Thai input method and add a functional Thai and Lao
4340 input method by Theppitak Karoonboonyanan. (#81031)
4342 * modules/input/imthai.c:
4343 * modules/input/gtkimcontextthai.c:
4344 * modules/input/gtkimcontextthai.h:
4345 * modules/input/thai-charprop.c:
4346 * modules/input/thai-charprop.h:
4349 * modules/input/imthai-broken.c:
4352 * modules/input/Makefile.am:
4355 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
4357 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
4359 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
4361 * gtk/gtktextview.c: applied patch by Colin Leroy for
4362 Control+GDK_KP_Left to move one word to the left, #356255.
4364 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
4366 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
4369 2006-11-25 Matthias Clasen <mclasen@redhat.com>
4371 * modules/printbackends/cups/gtkprintbackendcups.c: Make
4372 print dialog work when 'BrowseShortNames Off' is specified
4373 in cups configuration. Patch by Tim Waugh.
4375 2006-11-24 Michael Natterer <mitch@imendio.com>
4377 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
4378 can't go up/down, consult gtk_widget_keynav_failed() and leave the
4379 widget if it returns FALSE (bug #322640).
4381 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
4383 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
4385 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
4387 * gtk/gtkrecentmanager.c:
4388 (get_uri_shortname_for_display): g_filename_from_uri() might
4389 fail; catch the failure and fall back to the non-local URI
4392 2006-11-19 Mark McLoughlin <mark@skynet.ie>
4394 Fixes bug #376502 - multi-screen support for GtkStatusIcon
4396 * gtk/gtkstatusicon.[ch]:
4397 (gtk_status_icon_set_screen),
4398 (gtk_status_icon_get_screen): add multi-screen API. Allows
4399 an app to display an icon on a non-default screen
4400 (gtk_status_icon_class_init),
4401 (gtk_status_icon_set_property),
4402 (gtk_status_icon_get_property): add a "screen" property
4404 * tests/teststatusicon.c: update to test on multiple screens
4406 2006-11-17 Matthias Clasen <mclasen@redhat.com>
4408 Fix problems with drag cancellation. (#376535, Michael Natterer)
4410 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
4411 handlers before emitting drag-end.
4412 (gtk_drag_end): Disconnect signal handlers before removing
4415 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
4417 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
4418 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
4420 2006-11-16 Michael Natterer <mitch@imendio.com>
4422 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
4423 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
4424 and gtk-keynav-wrap-around and wrap around, beep or continue outside
4425 the group manually (bug #322640).
4427 2006-11-16 Michael Natterer <mitch@imendio.com>
4429 Add new infrastructure for notifications of failed keyboard
4430 navigation and navigation with restricted set of keys.
4432 The patch handles configurable beeping, navigating the GUI with
4433 cursor keys only (as in phone environments), and configurable
4434 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
4437 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
4438 gtk-keynav-wrap-around and gtk-error-bell.
4440 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
4441 API to emit it. Added New function gtk_widget_error_bell() which
4442 looks at the gtk-error-bell setting and calls gdk_window_beep()
4445 * gtk/gtk.symbols: add the new widget symbols.
4447 * gtk/gtkcellrendereraccel.c
4448 * gtk/gtkimcontextsimple.c
4450 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
4451 gtk-error-bell setting instead of calling gdk_display_beep()
4458 * gtk/gtkmenushell.c
4459 * gtk/gtkspinbutton.c
4461 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
4466 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
4467 cursor navigation and leave the widget if it returns FALSE.
4469 * gtk/gtkmenushell.c
4470 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
4473 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
4474 whether to to wrap-around, and don't select active items on cursor
4475 navigation if gtk-keynav-cursor-only is TRUE. Should look at
4476 gtk-keynav-wrap-around too, will look into that.
4478 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
4480 * gtk/gtkrecentmanager.c:
4481 (gtk_recent_info_get_uri_display): Return the URI
4482 of the GtkRecentInfo object (upgraded to UTF-8 if
4483 needed) in case of non-local file. (#351945)
4485 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
4487 * gtk/gtkrecentchoosermenu.c:
4488 (gtk_recent_chooser_menu_add_tip): Apply the tip only
4489 if we have a displayable name for the item. (#365031,
4490 patch by padraig.obriain(at)sun.com)
4492 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
4494 * gtk/gtkrecentmanager.c: Provide a fast path returning
4495 NULL when the limit is set to 0.
4497 * gtk/gtkrecentchooserdefault.c:
4498 * gtk/gtkrecentchoosermenu.c: Add the same fast path
4499 inside the RecentChooser implementation; add a check
4500 in the list clamping code. (#373466 and duplicates)
4502 2006-11-15 Matthias Clasen <mclasen@redhat.com>
4504 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
4505 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
4507 2006-11-15 Michael Natterer <mitch@imendio.com>
4509 * gtk/gtkrange.[ch]: added properties "fill-level",
4510 "show-fill-level" and "restrict-to-fill-level" and getters/setters
4511 for them. The "fill level" is an additional marker on the range's
4512 trough than can be e.g. used to indicate the amount of
4513 pre-buffering in a range showing the play position of streamed
4514 media. See the embedded API docs for details. Made GtkRangeLayout
4515 a GTypeInstance private struct and removed finalize()
4516 implementation. Fixes bug #349808
4518 * gtk/gtk.symbols: added the new symbols.
4520 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
4522 * configure.in: Make libtool magic robust. (#352795)
4524 2006-11-13 Paolo Borelli <pborelli@katamail.com>
4526 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
4529 2006-11-09 Kristian Rietveld <kris@imendio.com>
4531 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
4532 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
4534 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
4536 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
4538 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
4540 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
4541 timeout running if the slider buttons are hidden. (#372527)
4543 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
4545 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
4546 the "Location" label bold. Bug #372449.
4548 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
4550 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
4551 non-focused tabs xthickness/ythickness thinner. (#353962)
4553 2006-11-07 Paolo Borelli <pborelli@katamail.com>
4555 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
4556 corruption (#357050).
4558 2006-11-06 Alexander Larsson <alexl@redhat.com>
4560 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
4561 (gtk_drag_source_info_destroy), (gtk_drag_end),
4562 (gtk_drag_grab_notify_cb):
4563 Cancel drag when the grab is shadowed. (#122688)
4565 2006-11-01 Kristian Rietveld <kris@imendio.com>
4567 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
4568 (gtk_combo_box_size_request): add arrow-size property to control
4569 the minimum size of the arrow, have the arrow scale up with the
4570 font by default. (#357950).
4572 2006-10-30 Kristian Rietveld <kris@gtk.org>
4574 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
4575 forget to queue a draw for the new cursor node. (Fixes #366548,
4576 reported by Sven Herzberg).
4578 2006-10-30 Michael Natterer <mitch@imendio.com>
4580 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
4581 only if we actually cancel a drag. Fixes bug #58389.
4583 2006-10-30 Kristian Rietveld <kris@gtk.org>
4585 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
4586 keybindings to collapse/expand rows instead of moving the focus
4587 cursor. (#105895, Brian Bober and others).
4589 2006-10-29 Kristian Rietveld <kris@gtk.org>
4591 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
4592 child removal in row-expanded callback. (#366782, John Ellis).
4594 2006-10-29 Tor Lillqvist <tml@novell.com>
4596 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
4597 of the small icon of the window class. (#152620, Kazuki Iwamoto)
4599 2006-10-29 Tor Lillqvist <tml@novell.com>
4601 * gdk/win32/gdkcursor-win32.c
4602 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
4603 for instance the built-in GDK ones.
4605 2006-10-27 Kristian Rietveld <kris@gtk.org>
4607 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
4608 case to not overwrite the variables in the lower scope (which are
4609 used later on ...), get the path correctly and bail out when there
4610 isn't a node above us. (#359231).
4612 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
4614 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
4616 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
4618 * gtk/gtk.symbols: Add missing symbols to so make check can pass
4620 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
4622 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
4623 to free GDI Pen resources, introduced by bug 340201.(#364514)
4625 2006-10-18 Kristian Rietveld <kris@imendio.com>
4627 * tests/testcombo.c (main): connect to notify::popup-shown instead of
4628 popup-show (the latter does not exist).
4630 2006-10-15 Paolo Borelli <pborelli@katamail.com>
4632 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
4635 2006-10-12 Michael Natterer <mitch@imendio.com>
4637 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
4638 (committed the wrong patch).
4640 2006-10-12 Michael Natterer <mitch@imendio.com>
4642 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
4643 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
4644 obsolete now. Fixes bug #358293.
4646 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
4648 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
4650 2006-10-11 Tor Lillqvist <tml@novell.com>
4652 * configure.in: Enable having some gdk-pixbuf loaders built-in
4653 even if loading the others dynamically. Define Automake
4654 conditional INCLUDE_FOO for each loader as TRUE if that loader is
4655 built-in. See also gdk-pixbuf/ChangeLog.
4657 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
4659 * docs/reference/gtk/gtk-sections.txt:
4660 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
4662 2006-10-11 Tor Lillqvist <tml@novell.com>
4664 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
4667 2006-10-11 Tor Lillqvist <tml@novell.com>
4669 Merge from 2.10 branch:
4671 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
4672 environment variable LC_ALL or LANG is set, set the Win32 thread
4673 locale to the corresponding locale. Then call the C library
4674 setlocale() to set the C library locale accordingly. The
4675 inconsistency mentioned below is gone. (#339756) Do some special
4676 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
4677 scripts for Azeri, Uzbek and Serbian.
4678 (enum_locale_proc): Helper function for the above functionality.
4680 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
4681 if the environment variables are set here, as they have already
4682 been taken into account and the Win32 thread locale has been
4685 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
4687 * gtk/tmpl/gtkbindings.sgml:
4688 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
4689 inline docs. applied wording fixes suggested by Martyn Russell.
4691 2006-10-09 Matthias Clasen <mclasen@redhat.com>
4693 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
4694 Update the docs to state which out parameters may be NULL.
4695 (#360870, Attilio Fiandrotti)
4697 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4699 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
4700 a typo. (#359542, Ghee Teo)
4702 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4704 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
4705 reorder tabs if the focus is in the tab. (#350342, Carlos
4708 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
4710 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
4712 2006-10-08 Kristian Rietveld <kris@gtk.org>
4714 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
4715 (gtk_tree_view_set_show_expanders),
4716 (gtk_tree_view_get_show_expanders): add getter/setter for
4717 show-expanders property, queue a redraw when this property
4718 is toggled (#351167, Martin Ejdestig),
4719 (gtk_tree_view_set_level_indentation),
4720 (gtk_tree_view_get_level_indentation): also add getter/setter
4721 and docs for level-indentation property.
4723 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4725 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
4726 leak a list. (#360350, Benjamin Berg)
4728 * Apply a cleanup patch by Kjartan Maraas (#341812)
4730 2006-10-07 Tor Lillqvist <tml@novell.com>
4732 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
4733 locale's first day of week setting on Win32. (#339752, Bogdan
4734 Nicula) Don't do this if one of the environment variables that
4735 affect gettext is set, though. In that case use the week start day
4736 from the corresponding message catalog.
4738 Unfortunately the same logic isn't possible in the weekday and
4739 month name lookup; there even if you have set one of the
4740 aforementioned environment variables, you still get the weekday
4741 and month names from the Win32 thread locale. Yes, this is
4744 Use only wide-character API in the Win32 code in this file, too.
4746 2006-10-06 Matthias Clasen <mclasen@redhat.com>
4748 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
4749 Fix the docs. (#360112)
4751 * gtk/gtkcellview.c: Don't set the background of the
4752 window in a no-window widget. (#359581, Xan Lopez)
4755 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
4757 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
4758 test correctly. (#359845)
4760 2006-10-05 Michael Natterer <mitch@imendio.com>
4762 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
4763 rid of a key binding (in fact, it only lets it appear unbound).
4765 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
4766 "guint marks_unbound : 1"
4768 (gtk_binding_entry_skip): new API which marks the entry as unbound.
4770 Changed code so it returns FALSE when "marks_unbound == TRUE" is
4771 encountered while activating bindings, effectively letting the
4772 binding appear unbound (regardless of still existing bindings in
4773 lower binding priority levels). Fixes bug #358329.
4775 (gtk_binding_entry_add)
4776 (gtk_binding_entry_clear)
4777 (gtk_binding_entry_add_signall)
4778 (gtk_binding_parse_binding): deprected these functions.
4780 (_gtk_binding_parse_binding)
4781 (_gtk_binding_entry_add_signall): new internal API.
4783 * gtk/gtk.symbols: changed accordingly.
4785 2006-10-03 Matthias Clasen <mclasen@redhat.com>
4787 Fix interaction of GtkEntryCompletion with input
4788 methods. (#354495, Diego Escalante Urrelo)
4790 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
4791 the im context if we actually handle the key event.
4793 * gtk/gtkentrycompletion.c: Also propagate key release events
4796 2006-10-03 Matthias Clasen <mclasen@redhat.com>
4798 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
4799 Fix a typo. (#359052, Ghee Teo)
4801 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
4802 reduce relocations. (#359053)
4804 2006-10-03 Matthias Clasen <mclasen@redhat.com>
4806 * modules/printbackends/cups/gtkcupsutils.c:
4807 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
4808 the fix for bug 357280.
4810 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
4812 * gdk-pixbuf/Makefile.am:
4815 Include pltcheck.sh in EXTRA_DIST.
4817 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
4819 * gdk/x11/gdkevents-x11.c: Move all includes before including
4822 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
4824 * gtk/Makefile.am: Fix typo in file name. (#358931)
4826 2006-10-02 Matthias Clasen <mclasen@redhat.com>
4828 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
4829 Only use the group name field if cups is new enough. (#357280)
4831 * gtk/gtksizegroup.c: Make sure that the quarks are
4832 initialized before using them. (#353736)
4834 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
4835 replace existing links. (#354849, James Evans)
4837 2006-10-01 Matthias Clasen <mclasen@redhat.com>
4839 * gtk/gtkexpander.c (gtk_expander_realize)
4840 (gtk_expander_size_allocate): Make the event_window large
4841 enough to cover the full height of the label_widget. (#358351,
4844 2006-10-01 Tor Lillqvist <tml@novell.com>
4846 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
4848 2006-09-30 Matthias Clasen <mclasen@redhat.com>
4850 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
4851 against base_path being NULL. (#358405, many reporters)
4853 2006-09-29 Matthias Clasen <mclasen@redhat.com>
4855 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
4856 to avoid a deadlock.
4858 2006-09-27 Kristian Rietveld <kris@imendio.com>
4860 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
4861 (gtk_tree_model_filter_ref_node),
4862 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
4863 in sync with each other and the sort model.
4865 2006-09-27 Kristian Rietveld <kris@imendio.com>
4867 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
4868 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
4869 (gtk_tree_model_filter_new): unref the virtual root path once that
4870 node (or one if its ancestors) is deleted, set virtual_root_deleted
4871 so we only unref it once.
4873 2006-09-27 Kristian Rietveld <kris@imendio.com>
4875 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
4876 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
4877 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
4878 (gtk_tree_model_sort_free_level): bring zero ref count loops in
4880 (gtk_tree_model_sort_free_level): free child levels before
4881 decreasing the zero ref count of the current level,
4882 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
4885 2006-09-25 Matthias Clasen <mclasen@redhat.com>
4887 * demos/gtk-demo/*.c:
4888 * gtk/gtkeventbox.c:
4889 * gtk/gtkprintoperation.c: Fix typos. String change.
4891 2006-09-25 Kristian Rietveld <kris@gtk.org>
4893 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
4894 has already been realized; scroll to background area instead of
4895 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
4897 2006-09-25 Kristian Rietveld <kris@gtk.org>
4899 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
4900 to create the GCs if the widget is realized. (Fixes #357578).
4902 2006-09-25 Matthias Clasen <mclasen@redhat.com>
4904 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
4905 the list of children (#357454, Paolo Borelli)
4907 2006-09-25 Michael Natterer <mitch@imendio.com>
4909 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
4910 display->input_windows with g_free(), not g_object_unref()
4911 (#357566, Tommi Komulainen).
4913 2006-09-24 Kristian Rietveld <kris@gtk.org>
4915 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
4916 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
4917 property to the API (left-over patch from #157439).
4919 2006-09-24 Kristian Rietveld <kris@gtk.org>
4921 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
4922 the indicator if the column has a sort column id (and the model is
4923 sortable) or if the user explicitly requested the indicator
4924 to be shown. (Fixes #352738, Chris Vine).
4926 2006-09-23 Tor Lillqvist <tml@novell.com>
4928 * gtk/Makefile.am: Use EXEEXT.
4930 2006-09-22 Michael Natterer <mitch@imendio.com>
4932 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
4933 and color hashes. Fixes bug #357132.
4935 2006-09-22 Matthias Clasen <mclasen@redhat.com>
4937 Make remote bookmarks work better (#354887)
4939 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
4940 (shortcuts_insert_path):
4941 * gtk/gtkfilechooserbutton.c (change_icon_theme):
4942 (model_add_bookmarks):
4943 (model_update_current_folder):
4944 (update_label_and_image):
4945 If the bookmark points to a remote file, don't call get_info(),
4946 since that may a) take a long time and b) pop up an auth dialog.
4947 Instead, just use a folder icon and create a display name
4950 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
4951 New function to create a suitable display name for a remote
4952 uri. This should really be done in GtkFileSystem.
4954 2006-09-21 Michael Natterer <mitch@imendio.com>
4956 Implement lots of value setters for GdkGC, based on a heavily
4957 modified patch from Thomas Broyer (bug #328853):
4959 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
4960 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
4961 which simply returns RGBA values from a GdkColor's pixel value.
4962 See gdk_quartz_update_context_from_gc() below.
4964 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
4965 of members for the newly suppored GC values. Added enum
4966 GdkQuartzContextValuesMask which is used for setting up the
4967 CGContext for filling and/or stroking.
4969 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
4970 (gdk_quartz_gc_set_values)
4971 (_gdk_windowing_gc_copy): support a lot more GC values.
4973 (gdk_quartz_update_context_from_gc): added
4974 GdkQuartzContextValuesMask parameter and set filling/stroking
4975 parameters accordingly. This function also gained full control
4976 over the FG and BG colors (they can't be set separately any more).
4978 The stipple mask part of the patch doesn't work but seems to take
4979 the right approach and doesn't make things worse, so I applied it.
4981 Did *not* apply the clipping part of the patch since I don't
4982 understand it (I don't understand the version in CVS either, but
4983 it at least works :-)
4985 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
4986 gdk_quartz_update_context_from_gc() and removed separate color
4987 setting calls. Some minor fixes.
4989 * gdk/quartz/gdkwindow-quartz.c
4990 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
4991 fill color manually. We don't have/need a GC here.
4993 2006-09-21 Michael Natterer <mitch@imendio.com>
4995 * gdk/quartz/gdkwindow-quartz.c
4996 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
4997 drawable_impl->wrapper that is the GdkWindow, not the
4998 drawable_impl itself.
5000 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
5002 * gdk/x11/gdkkeys-x11.c:
5003 (get_direction): just check the first shift-level of keyboard
5004 layout for RTL and LTR keysyms() (compliment to #116626)
5006 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
5008 * gtk/gtkviewport.c: always update the bin_window position and size
5009 in size_allocate, even if we don't have a visible child. this fixes
5010 expose artefacts as described in #313508.
5012 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
5013 have no visible child explicit.
5015 2006-09-19 Ryan Lortie <desrt@desrt.ca>
5017 * docs/reference/gdk/gdk-sections.txt:
5020 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
5021 (gdk_pango_layout_get_clip_region): Remove an unused variable.
5022 (gdk_pango_attr_embossed_new): Fix documentation.
5024 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
5026 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
5027 control the arrow/border ratio within the allocation.
5029 * tests/testgtk.c: added a GtkArrow to handle box test.
5031 * tests/testgtkrc: test ::arrow-scaling property.
5033 2006-09-19 Matthias Clasen <mclasen@redhat.com>
5035 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
5036 Display an error when we come to the root.
5038 2006-09-16 Matthias Clasen <mclasen@redhat.com>
5040 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
5043 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
5044 bookmarks to the model in local-only mode, to avoid
5045 authentication dialogs pop up for invisible bookmarks, and
5046 to fix issues with separators not being hidden when
5047 they should. (#354887, Dennis Cranston)
5049 2006-09-16 Matthias Clasen <mclasen@redhat.com>
5051 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
5052 treeview use in list mode. (#355732, Richard Hult)
5054 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
5055 change notification for the right property. (#355308,
5058 2006-09-15 Michael Natterer <mitch@imendio.com>
5060 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
5061 header navigation/resizing/reordering to be more readable and lose
5062 one level of nesting.
5064 2006-09-15 Kristian Rietveld <kris@imendio.com>
5066 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
5067 return after handling column button focus; we disable wrap around
5068 with this (which actually happened via a really weird code path).
5071 2006-09-15 Kristian Rietveld <kris@imendio.com>
5073 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
5074 code RTL aware, also break from the loops after we have seen the
5075 focussed column button (Michael Natterer).
5077 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
5079 * tests/testrichtext.c (main): intialize random number generator state
5080 upon program start, to enable truely random testing.
5082 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
5084 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
5085 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
5086 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
5087 GDK_DISABLE_DEPRECATED to allow compile per Behdad
5088 * gdk/quartz/Makefile.am same change as directfb Makefile
5089 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
5091 2006-09-13 Matthias Clasen <mclasen@redhat.com>
5093 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
5094 for the grab widget, to make the color picker work with window
5097 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
5099 signed off by: Dom Lachowicz
5101 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
5102 a large number of improvements to the Microsoft Windows theme engine
5103 which are fully described in the bug report.
5105 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
5107 * tests/testgtk.c: fixed compiler warnings.
5109 2006-09-10 Matthias Clasen <mclasen@redhat.com>
5111 * gtk/gtkfilechooserbutton.c (model_add_special): Request
5112 the display name too, otherwise "Desktop" does not appear
5113 in the file chooser button.
5115 2006-09-10 Tor Lillqvist <tml@novell.com>
5117 * gdk/win32/gdkprivate-win32.h
5118 * gdk/win32/gdkmain-win32.c
5119 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
5120 0x0500 in gdkprivate-win32.h instead of doing it in two source
5121 files. (#355212, Mike Edenfield)
5123 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
5124 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
5126 2006-09-10 Matthias Clasen <mclasen@redhat.com>
5128 * Commit a patch by Behdad to fix typos, omissions and other
5129 errors in the symbol aliasing, and add checks for local PLT
5130 entries. (#354687, Behdad Esfahbod)
5132 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
5133 the flush timeout. (#354043, Nelson Benitez)
5135 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
5136 Improve wording. String change! (#355126, David Lodge)
5138 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
5141 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
5144 2006-09-09 Matthias Clasen <mclasen@redhat.com>
5146 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
5147 (#353916, Chris Wilson)
5149 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
5150 Don't leak the to_reset list. (#353914, Chris Wilson)
5152 * gtk/gtkwidget.c: Add docs for the parent-set signal.
5153 (#353772, Mariano Suárez-Alvarez)
5155 2006-09-08 Matthias Clasen <mclasen@redhat.com>
5157 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
5158 Don't clear clipboards here, since we are called from finalize
5159 and can't emit signals.
5161 * configure.in: Set version to 2.11.0
5163 2006-09-06 Richard Hult <richard@imendio.com>
5165 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
5166 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
5168 2006-09-04 Kristian Rietveld <kris@imendio.com>
5170 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
5171 if setting the given folder failed, try setting the parent folder
5172 until we succeed; display an error box at the end.
5174 2006-09-04 Kristian Rietveld <kris@imendio.com>
5176 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
5177 operations spawned by buttons here,
5178 (set_button_image_get_info_cb): bail out if button is NULL, but
5179 do free button_data,
5180 (button_data_free): only free the data if non NULL (since this
5181 function can be called multiple times for the same data), cancel
5182 handle if pending but don't free button_data in this case (will
5183 happen in the callback).
5185 2006-09-04 Michael Natterer <mitch@imendio.com>
5187 * gtk/gtkrc.c (rc_parse_token_or_compound)
5188 (gtk_rc_parse_assignment): serialize floating point values using
5189 locale-independent functions. (#346751, Frederic Crozat)
5191 2006-09-04 Tor Lillqvist <tml@novell.com>
5193 * gdk/win32/gdkevents-win32.c
5194 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
5195 window handling (PeekMessage, PostMessage, SendMessage,
5196 DispatchMessage, DefWindowProc, RegisterClassEx,
5197 CreateWindowEx). (#321597)
5199 2006-09-03 Kristian Rietveld <kris@imendio.com>
5201 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
5202 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
5203 change file_exists_and_is_not_folder checks to get the file info
5204 for the path directly instead of querying the current file folder
5207 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
5210 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
5211 (test_reload_sequence), (test_button_folder_states_for_action): wait
5212 for idle after setting a folder to ensure the async operations to load
5213 the folder are finished,
5214 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
5215 factor out test_confirm_overwrite code so we can add tests for more
5218 2006-09-03 Richard Hult <richard@imendio.com>
5220 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
5221 exposure isn't in the event mask, plug a leak, and check that the
5222 window isn't destroyed.
5223 (isOpaque): Check that the window isn't destroyed, fixes bug
5226 2006-09-03 Matthias Clasen <mclasen@redhat.com>
5228 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
5229 (#354035, Mariano Suárez-Alvarez)
5231 * gtk/gtkmain.c (post_parse_hook):
5232 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
5233 (#354004, Chris Wilson)
5235 2006-09-03 Tor Lillqvist <tml@novell.com>
5237 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
5238 GDK_WINDOW_DISPLAY in the Win32 backend.
5240 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
5243 2006-09-02 Kristian Rietveld <kris@imendio.com>
5245 First part of file chooser fixes.
5247 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
5248 handle in the model for the desktopdir case.
5250 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
5251 volume in case we retrieved it but don't pass it on to insert_path,
5252 (shortcuts_model_create): change the column type for the handles
5253 to pointer instead of GObject so our handle ref counting is not
5255 (show_and_select_paths_finished_loading): don't forget to unref
5258 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
5259 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
5260 remove pending execute_callbacks_idle during dispose, also
5261 execute all callbacks waiting to be run in the next idle,
5262 (queue_*callback), (execute_callbacks_idle): refactor to maintain
5263 a list of callbacks to call per file system instead of globally,
5264 guard the file system during callback invocation,
5265 (gtk_file_system_unix_get_folder): only add load folder idle if
5266 none has been added yet.
5268 2006-09-01 Matthias Clasen <mclasen@redhat.com>
5270 * gtk/gtkentry.c: Don't unnecessarily reset the im context
5271 when deleting the selection. (#353803, Alex Larsson)
5273 2006-09-01 Abel Cheung <abel@oaka.org>
5275 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
5277 2006-08-31 Matthias Clasen <mclasen@redhat.com>
5279 Stop cursor blinking after a configurable timeout.
5280 (#353670, #352442, Arjan van de Ven, Manu Cornet)
5282 * gtk/gtksettings.c (gtk_settings_class_init): Add a
5283 gtk-cursor-blink-timeout setting, which specifies the number
5284 of seconds that the cursor should blink after a user interaction.
5285 The default value is G_MAXINT to preserve the current behaviour.
5287 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
5290 * gtk/gtkentry.c (gtk_entry_completion_key_press)
5291 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
5294 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
5297 * gtk/gtktextview.c (gtk_text_view_key_press_event)
5298 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
5299 Reset the blink timer.
5301 2006-08-31 Matthias Clasen <mclasen@redhat.com>
5303 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
5304 explicit format capabilities. (#346505, Christian Persch)
5306 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
5308 2006-08-31 Michael Natterer <mitch@imendio.com>
5310 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
5312 2006-08-30 Richard Hult <richard@imendio.com>
5314 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
5316 2006-08-30 Matthias Clasen <mclasen@redhat.com>
5318 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
5319 for beeping if we are using XKB.
5321 2006-08-29 Matthias Clasen <mclasen@redhat.com>
5325 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
5326 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
5327 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
5328 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
5329 to beep on a window. For X11, implement this with
5330 XkbBell. (#353455, Mariano Suárez-Alvarez)
5332 2006-08-29 Tor Lillqvist <tml@novell.com>
5334 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
5335 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
5336 it isn't being maintained anyway. If somebody is interested, it
5337 can always be found in older GTK+ versions, and in CVS.
5342 * gdk/win32/Makefile.am
5343 * gdk/win32/libie55uid.la
5344 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
5345 switch and associated stuff. Active IMM and the <dimm.h> header
5346 was used for IM support on NT4 and Win9x. Win2k and later have IM
5349 * gdk/win32/gdkcursor-win32.c
5350 * gdk/win32/gdkdnd-win32.c
5351 * gdk/win32/gdkdrawable-win32.c
5352 * gdk/win32/gdkevents-win32.c
5353 * gdk/win32/gdkgc-win32.c
5354 * gdk/win32/gdkglobals-win32.c
5355 * gdk/win32/gdkkeys-win32.c
5356 * gdk/win32/gdkmain-win32.c
5357 * gdk/win32/gdkproperty-win32.c
5358 * gdk/win32/gdkselection-win32.c
5359 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
5360 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
5361 branches, and any variables or static functions used only by the
5364 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
5365 constants that aren't missing from current mingw and MSVC6
5368 * gdk/win32/gdkmain-win32.c
5369 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
5370 function. On NT-based Windows GetLastError() returns error codes
5371 also for failed GDI calls, so we can use _gdk_win32_api_failed()
5374 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
5376 * gtk/gtkrecentchoosermenu.c
5377 (gtk_recent_chooser_menu_set_current_uri): Break when an item
5378 is found and activated. (#353449, based on a patch by Jan Arne
5381 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
5383 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
5384 properties which make all hardcoded padding and spacing values
5385 configurable. properly swap ::text-xalign treatment for RTL widgets.
5387 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
5388 proeprty more consistent with GtkMisc alignment blurbs. mention
5389 RTL treatment for text-xalign.
5391 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
5393 * tests/testgtk.c: allow (most) windows to be resizable.
5394 added ellipsization settings to progress bars.
5396 2006-08-28 Matthias Clasen <mclasen@redhat.com>
5398 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
5399 resonable timeout of 3 seconds when polling for printer
5400 list updates, instead of 300000 seconds...
5402 2006-08-28 Michael Natterer <mitch@imendio.com>
5404 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
5405 </apply_tag> for tags that have already been closed by the logic
5406 which turns overlapping spans into XML-able trees. Fixes broken
5407 XML when there are overlapping tags in the buffer. Also free two
5408 leaked GLists and did some cleanup.
5411 * tests/testrichtext.c: new test which creates randomly tagged
5412 GtkTextBuffers and serializes/deserializes them.
5414 2006-08-26 Matthias Clasen <mclasen@redhat.com>
5416 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
5417 Don't leak pixbufs. (#352264, Ross Burton)
5419 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
5420 PangoAttributes. (#352391, Paolo Borelli)
5422 2006-08-25 Matthias Clasen <mclasen@redhat.com>
5424 * demos/gtk-demo/Makefile.am:
5425 * demos/gtk-demo/textscroll.c: Add an example of automatic
5426 scrolling, thanks to Yevgen Muntyan. (#351206)
5428 * gtk/gtkmodules.c (find_module): Use local binding when
5429 loading modules. (#351868)
5431 2006-08-24 Michael Natterer <mitch@imendio.com>
5433 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
5434 the hostname instead of NULL.
5436 2006-08-23 Matthias Clasen <mclasen@redhat.com>
5438 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
5439 names and values in comboboxes, and clean up some
5440 coding style issues.
5442 2006-08-23 Tor Lillqvist <tml@novell.com>
5444 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
5445 Revert unintended translatable string addition. Use same string
5446 in GError as in gtkfilesystemunix.c.
5448 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
5449 Fix logic at the end of strings.
5451 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
5452 handles and check that we have no outstanding handles at
5453 finalization time. (Copying what Matthias did for
5454 gtkfilesystemunix.c)
5456 2006-08-23 Matthias Clasen <mclasen@redhat.com>
5458 * gtk/gtkfilesystemunix.c: Maintain a hash table
5459 of live handles and check that we have no outstanding
5460 handles at finalization time. (Copying what
5461 Federico did for gtkfilesystemgnomevfs.c)
5463 2007-08-22 Matthias Clasen <mclasen@redhat.com>