1 2007-01-08 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkmodules.c (_gtk_modules_init): Set
4 default_display_opened before loading modules. (#393102,
7 2007-01-07 Matthias Clasen <mclasen@redhat.com>
9 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
10 Call text_window_realize() with the correct parameters.
11 (#393813, Yevgen Muntyan)
13 2007-01-07 Matthias Clasen <mclasen@redhat.com>
15 * gtk/gtkstatusbar.c: Move docs inline, and expand them
18 2007-01-06 Matthias Clasen <mclasen@redhat.com>
20 * gtk/gtklabel.c: Make line wrapping work with width-chars
21 and max-width-chars, and simplify the storage of wrap-width.
22 (#322580, Itai Bar-Haim)
24 2007-01-06 Tor Lillqvist <tml@novell.com>
26 * gdk/win32/cursor.bdf: New file. Downloaded from
27 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
28 "diamond_cross", "draft_large", "gobbler" and "target" to fix
29 #392504. It is possible that the same end result could have been
30 achieved by tweaking bdfcursor.c instead.
32 * gdk/win32/bdfcursor.c: Add optional debugging output.
34 * gdk/win32/xcursors.h: Regenerated.
36 2007-01-05 Matthias Clasen <mclasen@redhat.com>
38 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
39 menu labels. (#393255, Michail Crayson)
41 2007-01-05 Kristian Rietveld <kris@gtk.org>
43 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
44 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
46 2007-01-05 Kristian Rietveld <kris@gtk.org>
48 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
49 invalidate nodes if the tree view is not realized. (#363147,
50 Carlos Garnacho, Miguel Cabrera).
52 2007-01-05 Matthias Clasen <mclasen@redhat.com>
54 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
55 account when drawing the background. (#393166, Benjamin Berg)
57 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
59 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
62 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
64 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
65 both scroll arrows when calculating size request in GTK_POS_LEFT or
66 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
68 2007-01-05 Michael Natterer <mitch@imendio.com>
70 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
71 the right function (fix taken from maemo-gtk).
73 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
76 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
77 (gdk_draw_layout_with_colors):
78 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
79 Avoid overflow when converting coordinates to Pango units. (#332266,
82 2007-01-04 Matthias Clasen <mclasen@redhat.com>
84 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
85 after realization of the popup window, so clamp node doesn't fail.
86 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
88 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
90 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
93 2007-01-04 Matthias Clasen <mclasen@redhat.com>
96 * gdk-pixbuf/Makefile.am:
98 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
99 (#392646, Yevgen Muntyan)
101 2007-01-04 Matthias Clasen <mclasen@redhat.com>
103 * demos/gtk-demo/textscroll.c:
104 * gtk/gtkhandlebox.c:
105 * gtk/gtkcolorsel.c: Fix some compiler warnings.
107 2007-01-03 Matthias Clasen <mclasen@redhat.com>
109 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
110 by calling the input method regardless of editability,
111 and beeping from the commit/preedit-changed handlers.
112 (#390514, Yevgen Muntyan)
114 2007-01-03 Matthias Clasen <mclasen@redhat.com>
116 Fix #332604, reported by Joe Wreschnig, patch
117 by Jan Arne Petersen and Behdad Esfahbod.
119 * gtk/gtklabel.c (gtk_label_size_allocate): Only
120 set the width of the layout when necessary.
121 (get_layout_location): Use pango_layout_get_pixel_extents()
122 instead of pango_layout_get_width().
124 2007-01-03 Matthias Clasen <mclasen@redhat.com>
126 * modules/printbackends/cups/gtkprintbackendcups.c
127 (available_choices): Don't leak conflicts.
129 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
130 Don't leak the status string.
132 2007-01-03 Matthias Clasen <mclasen@redhat.com>
134 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
135 Exit early if we can't get file info - this happens
136 if the iter points to the row where we are editing
137 the name for a newly created folder. (#392191, Michael
138 Partridge, patch by Kristian Rietveld)
140 2007-01-03 Matthias Clasen <mclasen@redhat.com>
143 * gdk/x11/*.c: Apply a patch by Chris Wilson to
144 avoid spurious valgrind warnings from XSendEvent()
147 * modules/printbackends/cups/gtkprintbackendcups.c: Close
148 the http connection after getting the PPD.
150 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
153 2007-01-03 Matthias Clasen <mclasen@redhat.com>
155 * gtk/gtkassistant.c (remove_page): If the current page
156 is removed, always pick a different one. (#392457,
159 2007-01-03 Matthias Clasen <mclasen@redhat.com>
161 * modules/printbackend/cups/*.c: Coding style cleanups.
163 2007-01-03 Matthias Clasen <mclasen@redhat.com>
165 * configure.in: Export SED to make sourcing of
166 libtool work. Tighten up the directfb pkgconfig check.
168 2007-01-03 Michael Natterer <mitch@imendio.com>
170 * gtk/gtkstyle.c (option_menu_get_props)
171 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
172 gtk_border_free when freeing borders.
174 2007-01-03 Matthias Clasen <mclasen@redhat.com>
176 * gtk/gtkentry.c (get_text_area_size): Work when the
177 entry is not realized. (#392315, Yevgen Muntyan)
179 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
180 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
182 * gtk/gtkentry.c (cursor_blinks): Don't get settings
183 unnecessarily. (#392227)
185 2007-01-02 Matthias Clasen <mclasen@redhat.com>
187 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
188 updates on the window at hand, not on all windows, to
189 avoid violating resize/redraw ordering constraints.
190 (#362406, Owen Taylor)
192 2007-01-03 Kristian Rietveld <kris@gtk.org>
194 * gtk/gtkcellrendererprogress.c
195 (gtk_cell_renderer_progress_class_init): fix docs.
197 2007-01-02 Matthias Clasen <mclasen@redhat.com>
199 * gtk/updateiconcache.c: Include locale.h
201 2007-01-02 Matthias Clasen <mclasen@redhat.com>
203 * gtk/updateiconcache.c (main): Call setlocale().
206 * gtk/gtkfilesystemunix.c:
207 * gtk/gtkfilesystemwin32.c:
208 * gtk/gtkfilechoosersettings.c:
209 * gtk/updateiconcache.c: Consistently use folder instead of
210 directory in translated messages. (#344584, Javier F. Serrador)
212 2007-01-02 Matthias Clasen <mclasen@redhat.com>
214 Try to fix #315732, reported by Luke Hutchinson:
216 * gdk/x11/xsettings-client.[hc]:
217 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
218 will guarantee that it can be looked up in the xid hash later.
219 Also, use the nesting server grab function during the xsettings
220 client initialization. Finally, make xsettings client not
221 eat DestroyNotifys so that GDK can do its regular cleanup.
223 2007-01-02 Michael Natterer <mitch@imendio.com>
225 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
226 when a keybinding didn't change adjustment->value.
228 2007-01-02 Matthias Clasen <mclasen@redhat.com>
230 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
231 Try harder not to beep on events which are not meant to
232 insert stuff in the buffer. (#390514, Yevgen Muntyan)
234 2007-01-02 Matthias Clasen <mclasen@redhat.com>
236 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
238 2007-01-02 Matthias Clasen <mclasen@redhat.com>
240 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
241 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
243 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
245 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
247 2007-01-01 Matthias Clasen <mclasen@redhat.com>
249 * gtk/gtkscrolledwindow.h:
250 * gtk/gtkscrolledwindow.c: Only handle key bindings
251 for scrolling if the scrollbars are visible.
252 (#340135, Christian Persch)
254 2007-01-01 Matthias Clasen <mclasen@redhat.com>
256 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
257 Don't segfault on horizontal scrolling.
259 2007-01-01 Matthias Clasen <mclasen@redhat.com>
262 * gtk/gtknotebook.c: Only handle key bindings for
263 tab reordering if the tabs are shown and reorderable.
264 (#390468, Yevgen Muntyan)
266 * gtk/gtkmarshalers.list: Add required marshaler
268 2007-01-01 Matthias Clasen <mclasen@redhat.com>
270 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
271 Mention in the docs that the return value is
272 NULL-terminated. (#383373, Christian Neumair)
274 2007-01-01 Matthias Clasen <mclasen@redhat.com>
276 * gtk/gtkicontheme.c (load_themes): Waste less time
277 with non-directories. (#391725, Chris Wilson)
279 2007-01-01 Matthias Clasen <mclasen@redhat.com>
281 * gtk/gtkcellrendererprogress.c: Implement activity mode
282 for GtkCellRendererProgress. (#377851, Brad Taylor)
284 2007-01-01 Matthias Clasen <mclasen@redhat.com>
286 Fix some IPP compliance issues. (#391523, Albrecht Dress)
288 * modules/printbackends/cups/gtkcupsutils.c
289 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
291 * modules/printbackends/cups/gtkprintbackendcups.c
292 (gtk_print_backend_cups_print_stream): Don't add the
293 requesting-user-name attribute a second time.
295 2007-01-01 Matthias Clasen <mclasen@redhat.com>
297 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
299 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
301 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
302 right object when disconnecting from the GtkRecentManager::changed
303 signal; save us a few indirections using a variable.
305 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
307 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
308 disconnections into the dispose function, as well as the
309 object unrefs; reset every handler id and the
310 pointers. (suggested by Paolo Borelli, #390873)
312 2006-12-31 Matthias Clasen <mclasen@redhat.com>
314 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
317 2006-12-30 Matthias Clasen <mclasen@redhat.com>
319 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
320 scroll timeout. (#390872, Yevgen Muntyan)
322 2006-12-30 Matthias Clasen <mclasen@redhat.com>
324 * gtk/gtkprintoperation-unix.c:
325 * gtk/gtkprintbackend.c:
326 * gtk/gtkfilechooserdefault.c:
327 * gtk/gtksettings.c: Move a few settings to gtksettings.c
328 to make sure they show up in the docs. (#365364, Christian
331 2006-12-30 Matthias Clasen <mclasen@redhat.com>
333 * gtk/gtkassistant.c: Redraw assistant on reallocate
334 to avoid rendering glitches. (#343956, Christian
335 Persch, Carlos Garnacho)
337 2006-12-30 Matthias Clasen <mclasen@redhat.com>
339 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
341 2006-12-30 Matthias Clasen <mclasen@redhat.com>
343 * gtk/gtkaction.c: Improve the docs of the "label"
344 property. (#341730, Kristof Vansant)
346 2006-12-30 Matthias Clasen <mclasen@redhat.com>
348 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
349 Correctly handle min size. (#320465, Philipp Langdale)
351 2006-12-30 Matthias Clasen <mclasen@redhat.com>
353 * gtk/prop-editor.c: Implement editing of flags.
355 2006-12-30 Matthias Clasen <mclasen@redhat.com>
360 * gtk/gtkstatusbar.c:
361 * gtk/gtktextview.c: Don't install cursors on insensitive
362 widgets. (#358864, Jan Schampera)
364 2006-12-29 Matthias Clasen <mclasen@redhat.com>
366 * gtk/gtkrecentmanager.h:
367 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
370 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
373 * gtk/gtkentry.c (blink_cb):
374 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
375 if focus went missing. Just warn, clean up and continue.
378 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
380 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
381 originally received the event is a notebook page. (#315440, reported
384 2006-12-29 Matthias Clasen <mclasen@redhat.com>
386 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
389 2006-12-29 Matthias Clasen <mclasen@redhat.com>
391 * tests/prop-editor.c: Display children of containers
392 and cell renderers of cell layouts.
395 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
396 New function to get the cell renderers of a cell layout.
398 * gtk/gtktreeviewcolumn.c:
400 * gtk/gtkiconview.c: Implement get_cells.
402 2006-12-28 Matthias Clasen <mclasen@redhat.com>
404 * gtk/gtkiconview.c: Use word wrapping by default, and
405 center multiline labels. (#318763, Ross Burton)
407 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
408 case for single-line layouts.
410 2006-12-28 Matthias Clasen <mclasen@redhat.com>
412 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
415 * gtk/gtkuimanager.c (update_node): Only use the results
416 of find_menu/toolbar_position() if they succeed. May fix
419 2006-12-28 Matthias Clasen <mclasen@redhat.com>
421 * gdk/gdk.c: Fix some formatting errors in docs.
423 2006-12-28 Tor Lillqvist <tml@novell.com>
425 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
426 (gtk_status_icon_update_image): Don't leak HICONs on
427 Win32. (#364868, Hiroyuki Yamamoto)
429 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
431 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
433 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
434 * gtk/gtkmarshalers.list: add new marshaler definition.
435 * gtk/gtkenums.h: add GtkDragResult enum.
437 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
438 operation wasn't successful.
439 (_gtk_drag_source_handle_event) (gtk_drag_drop)
440 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
441 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
442 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
443 gtk_drag_drop_finished() the operation result.
445 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
446 (gtk_notebook_drag_data_get): do not call window creation hook here.
447 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
448 target, instead connect to "drag-failed".
449 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
451 2006-12-28 Mikael Hallendal <micke@imendio.com>
453 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
454 integration into gdkeventloop-quartz.c.
456 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
458 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
461 2006-12-27 Matthias Clasen <mclasen@redhat.com>
463 * modules/printbackends/lpr/gtkprintbackendlpr.c
464 (gtk_print_backend_lpr_print_stream): Close the io channel
465 on unref. (#390159, Joe Markus Clarke)
467 2006-12-27 Matthias Clasen <mclasen@redhat.com>
469 * gdk/gdk.h: Remove redundant declarations (#390097,
472 2006-12-27 Kristian Rietveld <kris@gtk.org>
474 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
476 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
477 gtk-alternative-sort-arrows.
479 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
482 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
483 gtk-alternative-sort-arrows setting to true.
485 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
486 invert direction if gtk-alternative-sort-arrows is TRUE.
488 2006-12-27 Tor Lillqvist <tml@novell.com>
490 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
491 gtk_status_icon_set_screen.
493 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
494 on Windows. Keep track of where the last button click on the
495 taskbar icon took place, and return that. Obviously not correct if
496 no button has ever been clicked on the icon, or if the geometry of
497 the taskbar has changed since. But for most use cases where a menu
498 is going to be displayed as a direct result of a button click on
499 the status icon, works fine. (#377349)
501 Implement getting the orientation property on Windows.
503 (gtk_status_icon_embedded_changed)
504 (gtk_status_icon_orientation_changed): Ifdefify these functions
505 that are used only on X11.
507 2006-12-27 Tor Lillqvist <tml@novell.com>
509 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
510 typo. (#390035, Kazuki Iwamoto)
512 2006-12-27 Matthias Clasen <mclasen@redhat.com>
514 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
516 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
517 (gtk_combo_box_unset_model): Handle repeated unsetting
518 of models without warnings. (#367529, Robert Ancell)
520 2006-12-27 Matthias Clasen <mclasen@redhat.com>
522 * modules/printbackends/cups/gtkcupsutils.c:
523 * modules/printbackends/cups/gtkprintbackendcups.c: Use
524 getters for http fields where available. (#364866,
527 2006-12-27 Matthias Clasen <mclasen@redhat.com>
529 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
532 2006-12-27 Matthias Clasen <mclasen@redhat.com>
534 * gtk/gtkuimanager.c (update_node): If a required action
535 is missing, don't recurse over the children. (#349119,
538 2006-12-27 Matthias Clasen <mclasen@redhat.com>
540 Fix a few problems with nested menus in comboboxes
541 (#386694, Yevgen Muntyan)
543 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
544 connect the activate callback.
545 (gtk_combo_box_menu_item_activate): Do nothing if called on
546 an item with a submenu.
547 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
550 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
552 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
553 filechooser button. Bug 353196.
555 2006-12-26 Kristian Rietveld <kris@gtk.org>
557 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
558 the search dialog timeout never to be refreshed. (#389581,
559 Andrzej Szombierski).
561 2006-12-26 Kristian Rietveld <kris@gtk.org>
563 Lots of scrolling fixes. Made scrolling work properly in not fully
564 validated tree views; fixed a bunch of corner cases.
566 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
567 upper - page_size, we know it is located at the end so the test for
568 dy + height has been dropped.
569 In the same case if area_below < 0, we know this is the last node
570 in the tree view so area_above is page_size - height of this row.
571 (validate_visible_area): got rid of subtracting new_height -
572 old_height from area_{below,above}, it didn't make any sense at
573 all and the full height of the row should be subtracted instead.
574 (validate_visible_area): when scrolling to a given path, set the
575 top row directly together with the dy offset, then sync that top_row
577 (gtk_tree_view_set_top_row): new function to directly set a top_row.
578 (gtk_tree_view_dy_to_top_row): refactored to use
579 gtk_tree_view_set_top_row().
580 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
581 (gtk_tree_view_adjustment_changed): only update our dy and
582 top_row if the adjustment's dy actually changed.
584 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
586 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
587 Return the correct value from gtk_notebook_insert_page if the
588 page-added handler reorders the tabs. Bug #345094.
590 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
592 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
594 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
595 scrolling when hovering with a detached tab.
596 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
597 focus tab has changed during a tab DND operation.
598 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
599 (gtk_notebook_paint): do not take cur_page as a reference to paint the
600 box if it's detached.
601 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
602 to the detached tab if we hover the arrows during a tabs detaching
603 operation, do not allocate it unconditionally in 0,0.
605 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
607 Expose improvements for GtkNotebook. Bug #383435
609 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
611 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
612 (gtk_notebook_draw_tab): do not send handmade expose events to tab
615 2006-12-26 Matthias Clasen <mclasen@redhat.com>
617 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
618 FALSE. (#389623, Carlos Garnacho Parro)
620 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
623 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
625 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
626 (gtk_plug_unrealize): Notify the "embedded" property also on
627 normal construction and when destroying the socket window.
630 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
632 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
633 (gtk_about_dialog_init), (display_credits_dialog),
634 (display_license_dialog):
635 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
636 (gtk_file_chooser_dialog_init),
637 (gtk_file_chooser_dialog_constructor),
638 (gtk_file_chooser_dialog_unmap):
639 * gtk/gtkrecentchooserdefault.c:
640 (_gtk_recent_chooser_default_init):
641 * gtk/gtkrecentchooserdialog.c:
642 (gtk_recent_chooser_dialog_class_init),
643 (gtk_recent_chooser_dialog_init),
644 (gtk_recent_chooser_dialog_constructor),
645 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
646 instead of using style-set handlers. Fix the filechooser's spacing
647 between content and action area to 12px. Bug #372447.
649 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
651 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
652 Don't assume statusbar->label is the statusbar's frame's child when
653 shrinking the size allocation when the grip is shown. Bug #372452.
655 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
657 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
658 (add_custom_paper): Fix mem leaks. Bug #389194.
660 2006-12-24 Matthias Clasen <mclasen@redhat.com>
662 * gtk/gtktextutil.c: Remove debug output.
664 * gtk/gtktextview.c: Improve the DND scrolling
665 behaviour. (#92387, Carlos Garnacho Parro)
667 * gtk/gtkaccellabel.c: Improve translators comments.
668 (#389298, Christian Persch)
670 2006-12-24 Bastien Nocera <hadess@hadess.net>
672 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
675 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
677 * docs/reference/gtk/gtk-sections.txt:
679 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
680 * gtk/gtkprinter-private.h:
681 * gtk/gtkprinter.c: (gtk_printer_list_papers):
682 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
684 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
686 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
687 when is selected in page setup dialog. Fixes bug #365047.
689 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
691 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
692 Use gtk_border_free when freeing border.
694 2006-12-24 Matthias Clasen <mclasen@redhat.com>
696 * gtk/gtkentry.c (gtk_entry_button_press): When
697 shift-clicking, keep the larger part of the selection
698 selected. (#353709, Benjamin Otte)
700 * gtk/gtkbutton.c (gtk_button_get_props): Use
701 gtk_border_free when freeing borders.
703 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
704 careful when faking a button release. (#323146,
707 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
708 handle with the right orientation, depending on the
709 position of the handlebox. (#159764, Benjamin Berg)
711 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
713 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
716 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
718 Bug 340141 – Update to Pango 1.16 API
720 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
721 (gdk_pango_layout_line_get_clip_region):
722 * gtk/gtkcalendar.c (gtk_calendar_size_request):
723 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
724 (get_layout_position), (gtk_entry_find_position),
725 (gtk_entry_adjust_scroll):
726 * gtk/gtkiconview.c (get_pango_text_offsets):
727 * gtk/gtklabel.c (get_cursor_direction):
728 * gtk/gtkstyle.c (get_insensitive_layout):
729 * gtk/gtktextdisplay.c (render_para):
730 * gtk/gtktextlayout.c (allocate_child_widgets),
731 (find_display_line_below), (find_display_line_above),
732 (gtk_text_layout_move_iter_to_previous_line),
733 (gtk_text_layout_move_iter_to_next_line),
734 (gtk_text_layout_move_iter_to_line_end),
735 (gtk_text_layout_iter_starts_line),
736 (gtk_text_layout_move_iter_to_x):
737 * gtk/gtktextutil.c (limit_layout_lines):
738 Use the _readonly version of pango_layout_iter_get_line(),
739 pango_layout_iter_get_run(), pango_layout_get_line(), and
740 pango_layout_get_lines().
742 * gtk/gtkmain.c (gtk_get_default_language): Use
743 pango_get_default_language().
745 2006-12-24 Matthias Clasen <mclasen@redhat.com>
747 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
748 and notify:text only once. The same fix was applied
749 for replacing the selection via DND or copy-and-paste.
750 (#64998, Damon Chaplin, Sven Herzberg)
752 2006-12-23 Matthias Clasen <mclasen@redhat.com>
754 * gtk/gtkimmulticontext.c: Be careful to not override
755 GTK+ translations with the translations of the input
756 method. (#317080, Tor Lillqvist)
758 * modules/input/imcedilla.c: Use standard macros
759 for translation domain and locale dir.
761 * gtk/gtkimcontextsimple.c: Allow composing l with
762 stroke. (#349638, Daniel Lublin)
764 * gtk/gen-paper-names.c: Fix a thinko in the suffix
765 calculation. (#382369, Christian Persch)
767 * gtk/paper_names_offsets.c: Regenerated.
769 2006-12-22 Matthias Clasen <mclasen@redhat.com>
771 * modules/engines/pixbuf/pixbuf.h:
772 * modules/engines/pixbuf/pixbuf-rc-style.h:
773 * modules/engines/pixbuf/pixbuf-style.h: Move
774 G_GNUC_INTERNAL before function declarations. (#352276,
777 2006-12-22 Matthias Clasen <mclasen@redhat.com>
779 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
782 2006-12-22 Matthias Clasen <mclasen@redhat.com>
784 * *.c: Replace a lot of idle and timeout calls by
785 the new gdk_threads api.
789 * gdk/gdk.c: Add functions to allow threadsafe handling
790 of idles and timeouts wrt. to the GDK lock. (#321886,
793 2006-12-22 Matthias Clasen <mclasen@redhat.com>
795 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
796 (#340141, Behdad Esfahbod)
798 * configure.in: Check for getc_unlocked.
800 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
801 unavailable. (#381499)
803 * tests/teststatusicon.c: Fix a typo
805 2006-12-22 Matthias Clasen <mclasen@redhat.com>
807 Make it possible to track the embeddedness of
808 statusicon (#387215, Martyn Russell, patch by Christian
811 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
813 * gtk/gtkplug-x11.c: Add an embedded property.
814 * tests/teststatusicon.c: Test the new properties.
816 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
817 leak draw_border. (#387170, Kjartan Maraas)
819 2006-12-21 Matthias Clasen <mclasen@redhat.com>
821 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
822 Typo fix. (#388123, Murray Cumming)
824 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
825 Generate double-click events. (#380421, Tommi Komulainen)
827 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
828 (_gdk_input_enter_event): Correct return_if_fail checks.
829 (#379803, Tommi Komulainen)
831 * gdk/gdkdisplay.c: Improve the docs of some functions operating
832 on the default display. (##353438, Mariano Suárez-Alvarez)
834 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
836 * docs/reference/gdk/gdk-sections.txt:
837 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
838 converting a GdkColor to a string (#373856).
840 * configure.in: Bump pango requirement to 1.15.2.
842 2006-12-20 Matthias Clasen <mclasen@redhat.com>
844 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
847 * gdk/keyname-table.h: Regenerated
849 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
852 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
853 Silently return if a drag is already in progress, rather
854 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
856 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
857 Allow any GtkDialog that implements GtkFileChooser as
858 dialog. (#335473, Tommi Komulainen)
860 2006-12-20 Mikael Hallendal <micke@imendio.com>
862 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
863 change in the quartz backend.
865 2006-12-20 Mikael Hallendal <micke@imendio.com>
867 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
868 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
870 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
872 2006-12-19 Matthias Clasen <mclasen@redhat.com>
874 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
875 format of page ranges, and improve the page sequence icon
876 for the case of n_copies == 1.
878 2006-12-19 Mikael Hallendal <micke@imendio.com>
880 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
881 routine so that it can be used from libgtk as well (needed for
882 upcoming GtkStatusIcon support in the Quartz port).
883 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
884 created from GDK, this is not true for the status icon.
885 * gdk/quartz/gdkprivate-quartz.h:
886 * gdk/quartz/gdkquartz.h: Added
887 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
888 the status icon code.
890 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
892 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
893 gtk_message_dialog_set_image ()
895 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
896 (setting "window-placement-set" could result in a crash because
897 of boolean/enum mixup)
899 2006-12-15 Federico Mena Quintero <federico@novell.com>
901 Merged from gtk-2-10:
903 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
904 the case where the new title is the same as the old title, to
905 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
906 equivalent). Handle the case where title == priv->title. This
907 was found by the LSB compatibility tests:
908 https://bugzilla.novell.com/show_bug.cgi?id=223882
910 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
912 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
913 more closely resemble its Win32 counterpart. Bug #340204.
915 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
917 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
918 placed inside their GdkWindow. Bug #385672.
920 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
922 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
924 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
926 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
927 drawn with extra line below tab in MS-Windows theme. Patch by
930 2006-12-13 Matthias Clasen <mclasen@redhat.com>
932 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
933 for print preview. (#370041, Ghee Teo)
935 2006-12-11 Matthias Clasen <mclasen@redhat.com>
937 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
938 careful when overdrawing antialiased text. (#352435, Alex Jones,
939 patch by Benjamin Otte)
941 * gtk/gtksettings.c: Change the way in which color scheme information
942 is merged to correctly handle vanishing colors. (#374420,
943 Benjamin Berg, patch by Callum McKenzie)
944 Also allow to separate entries in color schemes by ';'
947 2006-12-10 Matthias Clasen <mclasen@redhat.com>
949 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
950 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
952 2006-12-10 Kristian Rietveld <kris@gtk.org>
954 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
955 cancel editing (ie. don't accept changes) when the entry loses
956 focus. (Fixes #164494, reported by Chris Rouch).
958 2006-12-10 Matthias Clasen <mclasen@redhat.com>
960 * configure.in: Correct a misapplied patch.
962 2006-12-10 Tor Lillqvist <tml@novell.com>
964 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
965 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
966 developer zipfile. Users might add pixbuf loaders or immodules
967 even if they are not interested in developing gtk+-using software.
969 2006-12-10 Matthias Clasen <mclasen@redhat.com>
971 * configure.in: Check for crt_extern.h and _NSGetEnviron.
972 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
973 environ is not available. (#384168, Min Sik Kim)
975 2006-12-07 Paolo Maggi <paolo@gnome.org>
979 * gtk/gtkentry.c (gtk_entry_set_text): check for
980 completion->priv->changed_id > 0 before calling
981 g_signal_handler_[un]block.
982 (gtk_entry_completion_key_press): does not block/unblock the "changed"
983 signal before calling gtk_entry_set_text.
985 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
987 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
988 xthickness/ythickness, they aren't used any longer for drawing.
990 2006-12-07 Matthias Clasen <mclasen@redhat.com>
992 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
993 underlines by giving labels a small draw-border.
995 2006-12-06 Kristian Rietveld <kris@gtk.org>
997 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
998 draw progress bar through theme engine instead of using our own
999 custom cairo drawing code (#377244, patch from Carlos Garnacho).
1001 2006-12-06 Matthias Clasen <mclasen@redhat.com>
1003 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
1004 Update the sensitivity of the collate checkbutton more frequently,
1005 proposed by Tim Waugh.
1007 2006-12-04 Matthias Clasen <mclasen@redhat.com>
1009 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
1010 since we no longer set window titles.
1012 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
1014 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
1015 (gtk_page_setup_set_paper_size): Don't leak the old page size when
1016 setting a new one. Bug #382314.
1018 2006-12-03 Michael Natterer <mitch@gimp.org>
1020 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
1022 2006-12-03 Kristian Rietveld <kris@gtk.org>
1024 Make sure [xy]_offset are always being initialized, fix pixbuf
1025 renderer padding. (#108235, Sven Neumann).
1027 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
1028 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
1031 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
1032 always initialize [xy]_offset.
1033 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
1034 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
1037 2006-12-03 Kristian Rietveld <kris@gtk.org>
1039 * gtk/gtktreeview.c (validate_visible_area): when not using an
1040 explicit alignment, use the full area of the row (not just dy)
1041 to determine how to implicitly align it. (Fixes #363191, reported
1042 by Federico Mena Quintero).
1044 2006-12-02 Matthias Clasen <mclasen@redhat.com>
1046 * gtk/gtkicontheme.c (insert_theme): Properly clean up
1047 if an icon theme index file has no directories. (#381236)
1049 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
1051 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
1052 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
1054 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
1056 Remove the broken Thai input method and add a functional Thai and Lao
1057 input method by Theppitak Karoonboonyanan. (#81031)
1059 * modules/input/imthai.c:
1060 * modules/input/gtkimcontextthai.c:
1061 * modules/input/gtkimcontextthai.h:
1062 * modules/input/thai-charprop.c:
1063 * modules/input/thai-charprop.h:
1066 * modules/input/imthai-broken.c:
1069 * modules/input/Makefile.am:
1072 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
1074 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
1076 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
1078 * gtk/gtktextview.c: applied patch by Colin Leroy for
1079 Control+GDK_KP_Left to move one word to the left, #356255.
1081 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
1083 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
1086 2006-11-25 Matthias Clasen <mclasen@redhat.com>
1088 * modules/printbackends/cups/gtkprintbackendcups.c: Make
1089 print dialog work when 'BrowseShortNames Off' is specified
1090 in cups configuration. Patch by Tim Waugh.
1092 2006-11-24 Michael Natterer <mitch@imendio.com>
1094 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
1095 can't go up/down, consult gtk_widget_keynav_failed() and leave the
1096 widget if it returns FALSE (bug #322640).
1098 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
1100 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
1102 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
1104 * gtk/gtkrecentmanager.c:
1105 (get_uri_shortname_for_display): g_filename_from_uri() might
1106 fail; catch the failure and fall back to the non-local URI
1109 2006-11-19 Mark McLoughlin <mark@skynet.ie>
1111 Fixes bug #376502 - multi-screen support for GtkStatusIcon
1113 * gtk/gtkstatusicon.[ch]:
1114 (gtk_status_icon_set_screen),
1115 (gtk_status_icon_get_screen): add multi-screen API. Allows
1116 an app to display an icon on a non-default screen
1117 (gtk_status_icon_class_init),
1118 (gtk_status_icon_set_property),
1119 (gtk_status_icon_get_property): add a "screen" property
1121 * tests/teststatusicon.c: update to test on multiple screens
1123 2006-11-17 Matthias Clasen <mclasen@redhat.com>
1125 Fix problems with drag cancellation. (#376535, Michael Natterer)
1127 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
1128 handlers before emitting drag-end.
1129 (gtk_drag_end): Disconnect signal handlers before removing
1132 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
1134 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
1135 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
1137 2006-11-16 Michael Natterer <mitch@imendio.com>
1139 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
1140 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
1141 and gtk-keynav-wrap-around and wrap around, beep or continue outside
1142 the group manually (bug #322640).
1144 2006-11-16 Michael Natterer <mitch@imendio.com>
1146 Add new infrastructure for notifications of failed keyboard
1147 navigation and navigation with restricted set of keys.
1149 The patch handles configurable beeping, navigating the GUI with
1150 cursor keys only (as in phone environments), and configurable
1151 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
1154 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
1155 gtk-keynav-wrap-around and gtk-error-bell.
1157 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
1158 API to emit it. Added New function gtk_widget_error_bell() which
1159 looks at the gtk-error-bell setting and calls gdk_window_beep()
1162 * gtk/gtk.symbols: add the new widget symbols.
1164 * gtk/gtkcellrendereraccel.c
1165 * gtk/gtkimcontextsimple.c
1167 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
1168 gtk-error-bell setting instead of calling gdk_display_beep()
1175 * gtk/gtkmenushell.c
1176 * gtk/gtkspinbutton.c
1178 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
1183 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
1184 cursor navigation and leave the widget if it returns FALSE.
1186 * gtk/gtkmenushell.c
1187 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
1190 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
1191 whether to to wrap-around, and don't select active items on cursor
1192 navigation if gtk-keynav-cursor-only is TRUE. Should look at
1193 gtk-keynav-wrap-around too, will look into that.
1195 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1197 * gtk/gtkrecentmanager.c:
1198 (gtk_recent_info_get_uri_display): Return the URI
1199 of the GtkRecentInfo object (upgraded to UTF-8 if
1200 needed) in case of non-local file. (#351945)
1202 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1204 * gtk/gtkrecentchoosermenu.c:
1205 (gtk_recent_chooser_menu_add_tip): Apply the tip only
1206 if we have a displayable name for the item. (#365031,
1207 patch by padraig.obriain(at)sun.com)
1209 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1211 * gtk/gtkrecentmanager.c: Provide a fast path returning
1212 NULL when the limit is set to 0.
1214 * gtk/gtkrecentchooserdefault.c:
1215 * gtk/gtkrecentchoosermenu.c: Add the same fast path
1216 inside the RecentChooser implementation; add a check
1217 in the list clamping code. (#373466 and duplicates)
1219 2006-11-15 Matthias Clasen <mclasen@redhat.com>
1221 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
1222 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
1224 2006-11-15 Michael Natterer <mitch@imendio.com>
1226 * gtk/gtkrange.[ch]: added properties "fill-level",
1227 "show-fill-level" and "restrict-to-fill-level" and getters/setters
1228 for them. The "fill level" is an additional marker on the range's
1229 trough than can be e.g. used to indicate the amount of
1230 pre-buffering in a range showing the play position of streamed
1231 media. See the embedded API docs for details. Made GtkRangeLayout
1232 a GTypeInstance private struct and removed finalize()
1233 implementation. Fixes bug #349808
1235 * gtk/gtk.symbols: added the new symbols.
1237 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
1239 * configure.in: Make libtool magic robust. (#352795)
1241 2006-11-13 Paolo Borelli <pborelli@katamail.com>
1243 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
1246 2006-11-09 Kristian Rietveld <kris@imendio.com>
1248 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
1249 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
1251 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
1253 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
1255 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
1257 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
1258 timeout running if the slider buttons are hidden. (#372527)
1260 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
1262 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
1263 the "Location" label bold. Bug #372449.
1265 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
1267 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
1268 non-focused tabs xthickness/ythickness thinner. (#353962)
1270 2006-11-07 Paolo Borelli <pborelli@katamail.com>
1272 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
1273 corruption (#357050).
1275 2006-11-06 Alexander Larsson <alexl@redhat.com>
1277 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
1278 (gtk_drag_source_info_destroy), (gtk_drag_end),
1279 (gtk_drag_grab_notify_cb):
1280 Cancel drag when the grab is shadowed. (#122688)
1282 2006-11-01 Kristian Rietveld <kris@imendio.com>
1284 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
1285 (gtk_combo_box_size_request): add arrow-size property to control
1286 the minimum size of the arrow, have the arrow scale up with the
1287 font by default. (#357950).
1289 2006-10-30 Kristian Rietveld <kris@gtk.org>
1291 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
1292 forget to queue a draw for the new cursor node. (Fixes #366548,
1293 reported by Sven Herzberg).
1295 2006-10-30 Michael Natterer <mitch@imendio.com>
1297 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
1298 only if we actually cancel a drag. Fixes bug #58389.
1300 2006-10-30 Kristian Rietveld <kris@gtk.org>
1302 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
1303 keybindings to collapse/expand rows instead of moving the focus
1304 cursor. (#105895, Brian Bober and others).
1306 2006-10-29 Kristian Rietveld <kris@gtk.org>
1308 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
1309 child removal in row-expanded callback. (#366782, John Ellis).
1311 2006-10-29 Tor Lillqvist <tml@novell.com>
1313 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
1314 of the small icon of the window class. (#152620, Kazuki Iwamoto)
1316 2006-10-29 Tor Lillqvist <tml@novell.com>
1318 * gdk/win32/gdkcursor-win32.c
1319 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
1320 for instance the built-in GDK ones.
1322 2006-10-27 Kristian Rietveld <kris@gtk.org>
1324 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
1325 case to not overwrite the variables in the lower scope (which are
1326 used later on ...), get the path correctly and bail out when there
1327 isn't a node above us. (#359231).
1329 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
1331 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
1333 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
1335 * gtk/gtk.symbols: Add missing symbols to so make check can pass
1337 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
1339 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
1340 to free GDI Pen resources, introduced by bug 340201.(#364514)
1342 2006-10-18 Kristian Rietveld <kris@imendio.com>
1344 * tests/testcombo.c (main): connect to notify::popup-shown instead of
1345 popup-show (the latter does not exist).
1347 2006-10-15 Paolo Borelli <pborelli@katamail.com>
1349 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
1352 2006-10-12 Michael Natterer <mitch@imendio.com>
1354 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
1355 (committed the wrong patch).
1357 2006-10-12 Michael Natterer <mitch@imendio.com>
1359 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
1360 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
1361 obsolete now. Fixes bug #358293.
1363 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
1365 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
1367 2006-10-11 Tor Lillqvist <tml@novell.com>
1369 * configure.in: Enable having some gdk-pixbuf loaders built-in
1370 even if loading the others dynamically. Define Automake
1371 conditional INCLUDE_FOO for each loader as TRUE if that loader is
1372 built-in. See also gdk-pixbuf/ChangeLog.
1374 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
1376 * docs/reference/gtk/gtk-sections.txt:
1377 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
1379 2006-10-11 Tor Lillqvist <tml@novell.com>
1381 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
1384 2006-10-11 Tor Lillqvist <tml@novell.com>
1386 Merge from 2.10 branch:
1388 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
1389 environment variable LC_ALL or LANG is set, set the Win32 thread
1390 locale to the corresponding locale. Then call the C library
1391 setlocale() to set the C library locale accordingly. The
1392 inconsistency mentioned below is gone. (#339756) Do some special
1393 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
1394 scripts for Azeri, Uzbek and Serbian.
1395 (enum_locale_proc): Helper function for the above functionality.
1397 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
1398 if the environment variables are set here, as they have already
1399 been taken into account and the Win32 thread locale has been
1402 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
1404 * gtk/tmpl/gtkbindings.sgml:
1405 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
1406 inline docs. applied wording fixes suggested by Martyn Russell.
1408 2006-10-09 Matthias Clasen <mclasen@redhat.com>
1410 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
1411 Update the docs to state which out parameters may be NULL.
1412 (#360870, Attilio Fiandrotti)
1414 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1416 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
1417 a typo. (#359542, Ghee Teo)
1419 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1421 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
1422 reorder tabs if the focus is in the tab. (#350342, Carlos
1425 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
1427 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
1429 2006-10-08 Kristian Rietveld <kris@gtk.org>
1431 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
1432 (gtk_tree_view_set_show_expanders),
1433 (gtk_tree_view_get_show_expanders): add getter/setter for
1434 show-expanders property, queue a redraw when this property
1435 is toggled (#351167, Martin Ejdestig),
1436 (gtk_tree_view_set_level_indentation),
1437 (gtk_tree_view_get_level_indentation): also add getter/setter
1438 and docs for level-indentation property.
1440 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1442 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
1443 leak a list. (#360350, Benjamin Berg)
1445 * Apply a cleanup patch by Kjartan Maraas (#341812)
1447 2006-10-07 Tor Lillqvist <tml@novell.com>
1449 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
1450 locale's first day of week setting on Win32. (#339752, Bogdan
1451 Nicula) Don't do this if one of the environment variables that
1452 affect gettext is set, though. In that case use the week start day
1453 from the corresponding message catalog.
1455 Unfortunately the same logic isn't possible in the weekday and
1456 month name lookup; there even if you have set one of the
1457 aforementioned environment variables, you still get the weekday
1458 and month names from the Win32 thread locale. Yes, this is
1461 Use only wide-character API in the Win32 code in this file, too.
1463 2006-10-06 Matthias Clasen <mclasen@redhat.com>
1465 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
1466 Fix the docs. (#360112)
1468 * gtk/gtkcellview.c: Don't set the background of the
1469 window in a no-window widget. (#359581, Xan Lopez)
1472 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
1474 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
1475 test correctly. (#359845)
1477 2006-10-05 Michael Natterer <mitch@imendio.com>
1479 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
1480 rid of a key binding (in fact, it only lets it appear unbound).
1482 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
1483 "guint marks_unbound : 1"
1485 (gtk_binding_entry_skip): new API which marks the entry as unbound.
1487 Changed code so it returns FALSE when "marks_unbound == TRUE" is
1488 encountered while activating bindings, effectively letting the
1489 binding appear unbound (regardless of still existing bindings in
1490 lower binding priority levels). Fixes bug #358329.
1492 (gtk_binding_entry_add)
1493 (gtk_binding_entry_clear)
1494 (gtk_binding_entry_add_signall)
1495 (gtk_binding_parse_binding): deprected these functions.
1497 (_gtk_binding_parse_binding)
1498 (_gtk_binding_entry_add_signall): new internal API.
1500 * gtk/gtk.symbols: changed accordingly.
1502 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1504 Fix interaction of GtkEntryCompletion with input
1505 methods. (#354495, Diego Escalante Urrelo)
1507 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
1508 the im context if we actually handle the key event.
1510 * gtk/gtkentrycompletion.c: Also propagate key release events
1513 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1515 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
1516 Fix a typo. (#359052, Ghee Teo)
1518 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
1519 reduce relocations. (#359053)
1521 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1523 * modules/printbackends/cups/gtkcupsutils.c:
1524 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
1525 the fix for bug 357280.
1527 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1529 * gdk-pixbuf/Makefile.am:
1532 Include pltcheck.sh in EXTRA_DIST.
1534 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1536 * gdk/x11/gdkevents-x11.c: Move all includes before including
1539 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1541 * gtk/Makefile.am: Fix typo in file name. (#358931)
1543 2006-10-02 Matthias Clasen <mclasen@redhat.com>
1545 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
1546 Only use the group name field if cups is new enough. (#357280)
1548 * gtk/gtksizegroup.c: Make sure that the quarks are
1549 initialized before using them. (#353736)
1551 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
1552 replace existing links. (#354849, James Evans)
1554 2006-10-01 Matthias Clasen <mclasen@redhat.com>
1556 * gtk/gtkexpander.c (gtk_expander_realize)
1557 (gtk_expander_size_allocate): Make the event_window large
1558 enough to cover the full height of the label_widget. (#358351,
1561 2006-10-01 Tor Lillqvist <tml@novell.com>
1563 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
1565 2006-09-30 Matthias Clasen <mclasen@redhat.com>
1567 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
1568 against base_path being NULL. (#358405, many reporters)
1570 2006-09-29 Matthias Clasen <mclasen@redhat.com>
1572 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
1573 to avoid a deadlock.
1575 2006-09-27 Kristian Rietveld <kris@imendio.com>
1577 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
1578 (gtk_tree_model_filter_ref_node),
1579 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
1580 in sync with each other and the sort model.
1582 2006-09-27 Kristian Rietveld <kris@imendio.com>
1584 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
1585 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
1586 (gtk_tree_model_filter_new): unref the virtual root path once that
1587 node (or one if its ancestors) is deleted, set virtual_root_deleted
1588 so we only unref it once.
1590 2006-09-27 Kristian Rietveld <kris@imendio.com>
1592 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
1593 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
1594 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
1595 (gtk_tree_model_sort_free_level): bring zero ref count loops in
1597 (gtk_tree_model_sort_free_level): free child levels before
1598 decreasing the zero ref count of the current level,
1599 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
1602 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1604 * demos/gtk-demo/*.c:
1605 * gtk/gtkeventbox.c:
1606 * gtk/gtkprintoperation.c: Fix typos. String change.
1608 2006-09-25 Kristian Rietveld <kris@gtk.org>
1610 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
1611 has already been realized; scroll to background area instead of
1612 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
1614 2006-09-25 Kristian Rietveld <kris@gtk.org>
1616 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
1617 to create the GCs if the widget is realized. (Fixes #357578).
1619 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1621 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
1622 the list of children (#357454, Paolo Borelli)
1624 2006-09-25 Michael Natterer <mitch@imendio.com>
1626 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
1627 display->input_windows with g_free(), not g_object_unref()
1628 (#357566, Tommi Komulainen).
1630 2006-09-24 Kristian Rietveld <kris@gtk.org>
1632 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
1633 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
1634 property to the API (left-over patch from #157439).
1636 2006-09-24 Kristian Rietveld <kris@gtk.org>
1638 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
1639 the indicator if the column has a sort column id (and the model is
1640 sortable) or if the user explicitly requested the indicator
1641 to be shown. (Fixes #352738, Chris Vine).
1643 2006-09-23 Tor Lillqvist <tml@novell.com>
1645 * gtk/Makefile.am: Use EXEEXT.
1647 2006-09-22 Michael Natterer <mitch@imendio.com>
1649 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
1650 and color hashes. Fixes bug #357132.
1652 2006-09-22 Matthias Clasen <mclasen@redhat.com>
1654 Make remote bookmarks work better (#354887)
1656 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
1657 (shortcuts_insert_path):
1658 * gtk/gtkfilechooserbutton.c (change_icon_theme):
1659 (model_add_bookmarks):
1660 (model_update_current_folder):
1661 (update_label_and_image):
1662 If the bookmark points to a remote file, don't call get_info(),
1663 since that may a) take a long time and b) pop up an auth dialog.
1664 Instead, just use a folder icon and create a display name
1667 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
1668 New function to create a suitable display name for a remote
1669 uri. This should really be done in GtkFileSystem.
1671 2006-09-21 Michael Natterer <mitch@imendio.com>
1673 Implement lots of value setters for GdkGC, based on a heavily
1674 modified patch from Thomas Broyer (bug #328853):
1676 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
1677 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
1678 which simply returns RGBA values from a GdkColor's pixel value.
1679 See gdk_quartz_update_context_from_gc() below.
1681 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
1682 of members for the newly suppored GC values. Added enum
1683 GdkQuartzContextValuesMask which is used for setting up the
1684 CGContext for filling and/or stroking.
1686 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
1687 (gdk_quartz_gc_set_values)
1688 (_gdk_windowing_gc_copy): support a lot more GC values.
1690 (gdk_quartz_update_context_from_gc): added
1691 GdkQuartzContextValuesMask parameter and set filling/stroking
1692 parameters accordingly. This function also gained full control
1693 over the FG and BG colors (they can't be set separately any more).
1695 The stipple mask part of the patch doesn't work but seems to take
1696 the right approach and doesn't make things worse, so I applied it.
1698 Did *not* apply the clipping part of the patch since I don't
1699 understand it (I don't understand the version in CVS either, but
1700 it at least works :-)
1702 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
1703 gdk_quartz_update_context_from_gc() and removed separate color
1704 setting calls. Some minor fixes.
1706 * gdk/quartz/gdkwindow-quartz.c
1707 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
1708 fill color manually. We don't have/need a GC here.
1710 2006-09-21 Michael Natterer <mitch@imendio.com>
1712 * gdk/quartz/gdkwindow-quartz.c
1713 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
1714 drawable_impl->wrapper that is the GdkWindow, not the
1715 drawable_impl itself.
1717 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
1719 * gdk/x11/gdkkeys-x11.c:
1720 (get_direction): just check the first shift-level of keyboard
1721 layout for RTL and LTR keysyms() (compliment to #116626)
1723 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
1725 * gtk/gtkviewport.c: always update the bin_window position and size
1726 in size_allocate, even if we don't have a visible child. this fixes
1727 expose artefacts as described in #313508.
1729 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
1730 have no visible child explicit.
1732 2006-09-19 Ryan Lortie <desrt@desrt.ca>
1734 * docs/reference/gdk/gdk-sections.txt:
1737 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
1738 (gdk_pango_layout_get_clip_region): Remove an unused variable.
1739 (gdk_pango_attr_embossed_new): Fix documentation.
1741 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
1743 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
1744 control the arrow/border ratio within the allocation.
1746 * tests/testgtk.c: added a GtkArrow to handle box test.
1748 * tests/testgtkrc: test ::arrow-scaling property.
1750 2006-09-19 Matthias Clasen <mclasen@redhat.com>
1752 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1753 Display an error when we come to the root.
1755 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1757 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
1760 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
1761 bookmarks to the model in local-only mode, to avoid
1762 authentication dialogs pop up for invisible bookmarks, and
1763 to fix issues with separators not being hidden when
1764 they should. (#354887, Dennis Cranston)
1766 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1768 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
1769 treeview use in list mode. (#355732, Richard Hult)
1771 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
1772 change notification for the right property. (#355308,
1775 2006-09-15 Michael Natterer <mitch@imendio.com>
1777 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
1778 header navigation/resizing/reordering to be more readable and lose
1779 one level of nesting.
1781 2006-09-15 Kristian Rietveld <kris@imendio.com>
1783 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
1784 return after handling column button focus; we disable wrap around
1785 with this (which actually happened via a really weird code path).
1788 2006-09-15 Kristian Rietveld <kris@imendio.com>
1790 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
1791 code RTL aware, also break from the loops after we have seen the
1792 focussed column button (Michael Natterer).
1794 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
1796 * tests/testrichtext.c (main): intialize random number generator state
1797 upon program start, to enable truely random testing.
1799 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
1801 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
1802 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
1803 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
1804 GDK_DISABLE_DEPRECATED to allow compile per Behdad
1805 * gdk/quartz/Makefile.am same change as directfb Makefile
1806 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
1808 2006-09-13 Matthias Clasen <mclasen@redhat.com>
1810 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
1811 for the grab widget, to make the color picker work with window
1814 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
1816 signed off by: Dom Lachowicz
1818 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
1819 a large number of improvements to the Microsoft Windows theme engine
1820 which are fully described in the bug report.
1822 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
1824 * tests/testgtk.c: fixed compiler warnings.
1826 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1828 * gtk/gtkfilechooserbutton.c (model_add_special): Request
1829 the display name too, otherwise "Desktop" does not appear
1830 in the file chooser button.
1832 2006-09-10 Tor Lillqvist <tml@novell.com>
1834 * gdk/win32/gdkprivate-win32.h
1835 * gdk/win32/gdkmain-win32.c
1836 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
1837 0x0500 in gdkprivate-win32.h instead of doing it in two source
1838 files. (#355212, Mike Edenfield)
1840 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
1841 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
1843 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1845 * Commit a patch by Behdad to fix typos, omissions and other
1846 errors in the symbol aliasing, and add checks for local PLT
1847 entries. (#354687, Behdad Esfahbod)
1849 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
1850 the flush timeout. (#354043, Nelson Benitez)
1852 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
1853 Improve wording. String change! (#355126, David Lodge)
1855 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
1858 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
1861 2006-09-09 Matthias Clasen <mclasen@redhat.com>
1863 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
1864 (#353916, Chris Wilson)
1866 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
1867 Don't leak the to_reset list. (#353914, Chris Wilson)
1869 * gtk/gtkwidget.c: Add docs for the parent-set signal.
1870 (#353772, Mariano Suárez-Alvarez)
1872 2006-09-08 Matthias Clasen <mclasen@redhat.com>
1874 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
1875 Don't clear clipboards here, since we are called from finalize
1876 and can't emit signals.
1878 * configure.in: Set version to 2.11.0
1880 2006-09-06 Richard Hult <richard@imendio.com>
1882 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
1883 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
1885 2006-09-04 Kristian Rietveld <kris@imendio.com>
1887 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1888 if setting the given folder failed, try setting the parent folder
1889 until we succeed; display an error box at the end.
1891 2006-09-04 Kristian Rietveld <kris@imendio.com>
1893 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
1894 operations spawned by buttons here,
1895 (set_button_image_get_info_cb): bail out if button is NULL, but
1896 do free button_data,
1897 (button_data_free): only free the data if non NULL (since this
1898 function can be called multiple times for the same data), cancel
1899 handle if pending but don't free button_data in this case (will
1900 happen in the callback).
1902 2006-09-04 Michael Natterer <mitch@imendio.com>
1904 * gtk/gtkrc.c (rc_parse_token_or_compound)
1905 (gtk_rc_parse_assignment): serialize floating point values using
1906 locale-independent functions. (#346751, Frederic Crozat)
1908 2006-09-04 Tor Lillqvist <tml@novell.com>
1910 * gdk/win32/gdkevents-win32.c
1911 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
1912 window handling (PeekMessage, PostMessage, SendMessage,
1913 DispatchMessage, DefWindowProc, RegisterClassEx,
1914 CreateWindowEx). (#321597)
1916 2006-09-03 Kristian Rietveld <kris@imendio.com>
1918 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
1919 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
1920 change file_exists_and_is_not_folder checks to get the file info
1921 for the path directly instead of querying the current file folder
1924 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
1927 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
1928 (test_reload_sequence), (test_button_folder_states_for_action): wait
1929 for idle after setting a folder to ensure the async operations to load
1930 the folder are finished,
1931 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
1932 factor out test_confirm_overwrite code so we can add tests for more
1935 2006-09-03 Richard Hult <richard@imendio.com>
1937 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
1938 exposure isn't in the event mask, plug a leak, and check that the
1939 window isn't destroyed.
1940 (isOpaque): Check that the window isn't destroyed, fixes bug
1943 2006-09-03 Matthias Clasen <mclasen@redhat.com>
1945 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
1946 (#354035, Mariano Suárez-Alvarez)
1948 * gtk/gtkmain.c (post_parse_hook):
1949 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
1950 (#354004, Chris Wilson)
1952 2006-09-03 Tor Lillqvist <tml@novell.com>
1954 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
1955 GDK_WINDOW_DISPLAY in the Win32 backend.
1957 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
1960 2006-09-02 Kristian Rietveld <kris@imendio.com>
1962 First part of file chooser fixes.
1964 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
1965 handle in the model for the desktopdir case.
1967 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
1968 volume in case we retrieved it but don't pass it on to insert_path,
1969 (shortcuts_model_create): change the column type for the handles
1970 to pointer instead of GObject so our handle ref counting is not
1972 (show_and_select_paths_finished_loading): don't forget to unref
1975 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
1976 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
1977 remove pending execute_callbacks_idle during dispose, also
1978 execute all callbacks waiting to be run in the next idle,
1979 (queue_*callback), (execute_callbacks_idle): refactor to maintain
1980 a list of callbacks to call per file system instead of globally,
1981 guard the file system during callback invocation,
1982 (gtk_file_system_unix_get_folder): only add load folder idle if
1983 none has been added yet.
1985 2006-09-01 Matthias Clasen <mclasen@redhat.com>
1987 * gtk/gtkentry.c: Don't unnecessarily reset the im context
1988 when deleting the selection. (#353803, Alex Larsson)
1990 2006-09-01 Abel Cheung <abel@oaka.org>
1992 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
1994 2006-08-31 Matthias Clasen <mclasen@redhat.com>
1996 Stop cursor blinking after a configurable timeout.
1997 (#353670, #352442, Arjan van de Ven, Manu Cornet)
1999 * gtk/gtksettings.c (gtk_settings_class_init): Add a
2000 gtk-cursor-blink-timeout setting, which specifies the number
2001 of seconds that the cursor should blink after a user interaction.
2002 The default value is G_MAXINT to preserve the current behaviour.
2004 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
2007 * gtk/gtkentry.c (gtk_entry_completion_key_press)
2008 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
2011 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
2014 * gtk/gtktextview.c (gtk_text_view_key_press_event)
2015 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
2016 Reset the blink timer.
2018 2006-08-31 Matthias Clasen <mclasen@redhat.com>
2020 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
2021 explicit format capabilities. (#346505, Christian Persch)
2023 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
2025 2006-08-31 Michael Natterer <mitch@imendio.com>
2027 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
2029 2006-08-30 Richard Hult <richard@imendio.com>
2031 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
2033 2006-08-30 Matthias Clasen <mclasen@redhat.com>
2035 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
2036 for beeping if we are using XKB.
2038 2006-08-29 Matthias Clasen <mclasen@redhat.com>
2042 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
2043 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
2044 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
2045 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
2046 to beep on a window. For X11, implement this with
2047 XkbBell. (#353455, Mariano Suárez-Alvarez)
2049 2006-08-29 Tor Lillqvist <tml@novell.com>
2051 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
2052 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
2053 it isn't being maintained anyway. If somebody is interested, it
2054 can always be found in older GTK+ versions, and in CVS.
2059 * gdk/win32/Makefile.am
2060 * gdk/win32/libie55uid.la
2061 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
2062 switch and associated stuff. Active IMM and the <dimm.h> header
2063 was used for IM support on NT4 and Win9x. Win2k and later have IM
2066 * gdk/win32/gdkcursor-win32.c
2067 * gdk/win32/gdkdnd-win32.c
2068 * gdk/win32/gdkdrawable-win32.c
2069 * gdk/win32/gdkevents-win32.c
2070 * gdk/win32/gdkgc-win32.c
2071 * gdk/win32/gdkglobals-win32.c
2072 * gdk/win32/gdkkeys-win32.c
2073 * gdk/win32/gdkmain-win32.c
2074 * gdk/win32/gdkproperty-win32.c
2075 * gdk/win32/gdkselection-win32.c
2076 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
2077 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
2078 branches, and any variables or static functions used only by the
2081 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
2082 constants that aren't missing from current mingw and MSVC6
2085 * gdk/win32/gdkmain-win32.c
2086 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
2087 function. On NT-based Windows GetLastError() returns error codes
2088 also for failed GDI calls, so we can use _gdk_win32_api_failed()
2091 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
2093 * gtk/gtkrecentchoosermenu.c
2094 (gtk_recent_chooser_menu_set_current_uri): Break when an item
2095 is found and activated. (#353449, based on a patch by Jan Arne
2098 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
2100 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
2101 properties which make all hardcoded padding and spacing values
2102 configurable. properly swap ::text-xalign treatment for RTL widgets.
2104 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
2105 proeprty more consistent with GtkMisc alignment blurbs. mention
2106 RTL treatment for text-xalign.
2108 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
2110 * tests/testgtk.c: allow (most) windows to be resizable.
2111 added ellipsization settings to progress bars.
2113 2006-08-28 Matthias Clasen <mclasen@redhat.com>
2115 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
2116 resonable timeout of 3 seconds when polling for printer
2117 list updates, instead of 300000 seconds...
2119 2006-08-28 Michael Natterer <mitch@imendio.com>
2121 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
2122 </apply_tag> for tags that have already been closed by the logic
2123 which turns overlapping spans into XML-able trees. Fixes broken
2124 XML when there are overlapping tags in the buffer. Also free two
2125 leaked GLists and did some cleanup.
2128 * tests/testrichtext.c: new test which creates randomly tagged
2129 GtkTextBuffers and serializes/deserializes them.
2131 2006-08-26 Matthias Clasen <mclasen@redhat.com>
2133 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
2134 Don't leak pixbufs. (#352264, Ross Burton)
2136 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
2137 PangoAttributes. (#352391, Paolo Borelli)
2139 2006-08-25 Matthias Clasen <mclasen@redhat.com>
2141 * demos/gtk-demo/Makefile.am:
2142 * demos/gtk-demo/textscroll.c: Add an example of automatic
2143 scrolling, thanks to Yevgen Muntyan. (#351206)
2145 * gtk/gtkmodules.c (find_module): Use local binding when
2146 loading modules. (#351868)
2148 2006-08-24 Michael Natterer <mitch@imendio.com>
2150 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
2151 the hostname instead of NULL.
2153 2006-08-23 Matthias Clasen <mclasen@redhat.com>
2155 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
2156 names and values in comboboxes, and clean up some
2157 coding style issues.
2159 2006-08-23 Tor Lillqvist <tml@novell.com>
2161 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
2162 Revert unintended translatable string addition. Use same string
2163 in GError as in gtkfilesystemunix.c.
2165 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
2166 Fix logic at the end of strings.
2168 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
2169 handles and check that we have no outstanding handles at
2170 finalization time. (Copying what Matthias did for
2171 gtkfilesystemunix.c)
2173 2006-08-23 Matthias Clasen <mclasen@redhat.com>
2175 * gtk/gtkfilesystemunix.c: Maintain a hash table
2176 of live handles and check that we have no outstanding
2177 handles at finalization time. (Copying what
2178 Federico did for gtkfilesystemgnomevfs.c)
2180 2007-08-22 Matthias Clasen <mclasen@redhat.com>