1 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
3 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
4 Don't leak the icon pixbuf after setting it to the image menu
5 item. Found by Paolo Borelli.
7 2007-01-08 Matthias Clasen <mclasen@redhat.com>
9 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
10 corrupt memory when faced with paths with ridiculously
11 large indices. Found by the GTKVTS test suite.
13 2007-01-08 Matthias Clasen <mclasen@redhat.com>
15 * gtk/gtkmodules.c (_gtk_modules_init): Set
16 default_display_opened before loading modules. (#393102,
19 2007-01-07 Matthias Clasen <mclasen@redhat.com>
21 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
22 Call text_window_realize() with the correct parameters.
23 (#393813, Yevgen Muntyan)
25 2007-01-07 Matthias Clasen <mclasen@redhat.com>
27 * gtk/gtkstatusbar.c: Move docs inline, and expand them
30 2007-01-06 Matthias Clasen <mclasen@redhat.com>
32 * gtk/gtklabel.c: Make line wrapping work with width-chars
33 and max-width-chars, and simplify the storage of wrap-width.
34 (#322580, Itai Bar-Haim)
36 2007-01-06 Tor Lillqvist <tml@novell.com>
38 * gdk/win32/cursor.bdf: New file. Downloaded from
39 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
40 "diamond_cross", "draft_large", "gobbler" and "target" to fix
41 #392504. It is possible that the same end result could have been
42 achieved by tweaking bdfcursor.c instead.
44 * gdk/win32/bdfcursor.c: Add optional debugging output.
46 * gdk/win32/xcursors.h: Regenerated.
48 2007-01-05 Matthias Clasen <mclasen@redhat.com>
50 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
51 menu labels. (#393255, Michail Crayson)
53 2007-01-05 Kristian Rietveld <kris@gtk.org>
55 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
56 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
58 2007-01-05 Kristian Rietveld <kris@gtk.org>
60 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
61 invalidate nodes if the tree view is not realized. (#363147,
62 Carlos Garnacho, Miguel Cabrera).
64 2007-01-05 Matthias Clasen <mclasen@redhat.com>
66 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
67 account when drawing the background. (#393166, Benjamin Berg)
69 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
71 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
74 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
76 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
77 both scroll arrows when calculating size request in GTK_POS_LEFT or
78 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
80 2007-01-05 Michael Natterer <mitch@imendio.com>
82 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
83 the right function (fix taken from maemo-gtk).
85 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
88 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
89 (gdk_draw_layout_with_colors):
90 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
91 Avoid overflow when converting coordinates to Pango units. (#332266,
94 2007-01-04 Matthias Clasen <mclasen@redhat.com>
96 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
97 after realization of the popup window, so clamp node doesn't fail.
98 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
100 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
102 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
105 2007-01-04 Matthias Clasen <mclasen@redhat.com>
108 * gdk-pixbuf/Makefile.am:
110 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
111 (#392646, Yevgen Muntyan)
113 2007-01-04 Matthias Clasen <mclasen@redhat.com>
115 * demos/gtk-demo/textscroll.c:
116 * gtk/gtkhandlebox.c:
117 * gtk/gtkcolorsel.c: Fix some compiler warnings.
119 2007-01-03 Matthias Clasen <mclasen@redhat.com>
121 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
122 by calling the input method regardless of editability,
123 and beeping from the commit/preedit-changed handlers.
124 (#390514, Yevgen Muntyan)
126 2007-01-03 Matthias Clasen <mclasen@redhat.com>
128 Fix #332604, reported by Joe Wreschnig, patch
129 by Jan Arne Petersen and Behdad Esfahbod.
131 * gtk/gtklabel.c (gtk_label_size_allocate): Only
132 set the width of the layout when necessary.
133 (get_layout_location): Use pango_layout_get_pixel_extents()
134 instead of pango_layout_get_width().
136 2007-01-03 Matthias Clasen <mclasen@redhat.com>
138 * modules/printbackends/cups/gtkprintbackendcups.c
139 (available_choices): Don't leak conflicts.
141 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
142 Don't leak the status string.
144 2007-01-03 Matthias Clasen <mclasen@redhat.com>
146 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
147 Exit early if we can't get file info - this happens
148 if the iter points to the row where we are editing
149 the name for a newly created folder. (#392191, Michael
150 Partridge, patch by Kristian Rietveld)
152 2007-01-03 Matthias Clasen <mclasen@redhat.com>
155 * gdk/x11/*.c: Apply a patch by Chris Wilson to
156 avoid spurious valgrind warnings from XSendEvent()
159 * modules/printbackends/cups/gtkprintbackendcups.c: Close
160 the http connection after getting the PPD.
162 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
165 2007-01-03 Matthias Clasen <mclasen@redhat.com>
167 * gtk/gtkassistant.c (remove_page): If the current page
168 is removed, always pick a different one. (#392457,
171 2007-01-03 Matthias Clasen <mclasen@redhat.com>
173 * modules/printbackend/cups/*.c: Coding style cleanups.
175 2007-01-03 Matthias Clasen <mclasen@redhat.com>
177 * configure.in: Export SED to make sourcing of
178 libtool work. Tighten up the directfb pkgconfig check.
180 2007-01-03 Michael Natterer <mitch@imendio.com>
182 * gtk/gtkstyle.c (option_menu_get_props)
183 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
184 gtk_border_free when freeing borders.
186 2007-01-03 Matthias Clasen <mclasen@redhat.com>
188 * gtk/gtkentry.c (get_text_area_size): Work when the
189 entry is not realized. (#392315, Yevgen Muntyan)
191 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
192 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
194 * gtk/gtkentry.c (cursor_blinks): Don't get settings
195 unnecessarily. (#392227)
197 2007-01-02 Matthias Clasen <mclasen@redhat.com>
199 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
200 updates on the window at hand, not on all windows, to
201 avoid violating resize/redraw ordering constraints.
202 (#362406, Owen Taylor)
204 2007-01-03 Kristian Rietveld <kris@gtk.org>
206 * gtk/gtkcellrendererprogress.c
207 (gtk_cell_renderer_progress_class_init): fix docs.
209 2007-01-02 Matthias Clasen <mclasen@redhat.com>
211 * gtk/updateiconcache.c: Include locale.h
213 2007-01-02 Matthias Clasen <mclasen@redhat.com>
215 * gtk/updateiconcache.c (main): Call setlocale().
218 * gtk/gtkfilesystemunix.c:
219 * gtk/gtkfilesystemwin32.c:
220 * gtk/gtkfilechoosersettings.c:
221 * gtk/updateiconcache.c: Consistently use folder instead of
222 directory in translated messages. (#344584, Javier F. Serrador)
224 2007-01-02 Matthias Clasen <mclasen@redhat.com>
226 Try to fix #315732, reported by Luke Hutchinson:
228 * gdk/x11/xsettings-client.[hc]:
229 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
230 will guarantee that it can be looked up in the xid hash later.
231 Also, use the nesting server grab function during the xsettings
232 client initialization. Finally, make xsettings client not
233 eat DestroyNotifys so that GDK can do its regular cleanup.
235 2007-01-02 Michael Natterer <mitch@imendio.com>
237 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
238 when a keybinding didn't change adjustment->value.
240 2007-01-02 Matthias Clasen <mclasen@redhat.com>
242 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
243 Try harder not to beep on events which are not meant to
244 insert stuff in the buffer. (#390514, Yevgen Muntyan)
246 2007-01-02 Matthias Clasen <mclasen@redhat.com>
248 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
250 2007-01-02 Matthias Clasen <mclasen@redhat.com>
252 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
253 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
255 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
257 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
259 2007-01-01 Matthias Clasen <mclasen@redhat.com>
261 * gtk/gtkscrolledwindow.h:
262 * gtk/gtkscrolledwindow.c: Only handle key bindings
263 for scrolling if the scrollbars are visible.
264 (#340135, Christian Persch)
266 2007-01-01 Matthias Clasen <mclasen@redhat.com>
268 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
269 Don't segfault on horizontal scrolling.
271 2007-01-01 Matthias Clasen <mclasen@redhat.com>
274 * gtk/gtknotebook.c: Only handle key bindings for
275 tab reordering if the tabs are shown and reorderable.
276 (#390468, Yevgen Muntyan)
278 * gtk/gtkmarshalers.list: Add required marshaler
280 2007-01-01 Matthias Clasen <mclasen@redhat.com>
282 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
283 Mention in the docs that the return value is
284 NULL-terminated. (#383373, Christian Neumair)
286 2007-01-01 Matthias Clasen <mclasen@redhat.com>
288 * gtk/gtkicontheme.c (load_themes): Waste less time
289 with non-directories. (#391725, Chris Wilson)
291 2007-01-01 Matthias Clasen <mclasen@redhat.com>
293 * gtk/gtkcellrendererprogress.c: Implement activity mode
294 for GtkCellRendererProgress. (#377851, Brad Taylor)
296 2007-01-01 Matthias Clasen <mclasen@redhat.com>
298 Fix some IPP compliance issues. (#391523, Albrecht Dress)
300 * modules/printbackends/cups/gtkcupsutils.c
301 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
303 * modules/printbackends/cups/gtkprintbackendcups.c
304 (gtk_print_backend_cups_print_stream): Don't add the
305 requesting-user-name attribute a second time.
307 2007-01-01 Matthias Clasen <mclasen@redhat.com>
309 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
311 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
313 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
314 right object when disconnecting from the GtkRecentManager::changed
315 signal; save us a few indirections using a variable.
317 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
319 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
320 disconnections into the dispose function, as well as the
321 object unrefs; reset every handler id and the
322 pointers. (suggested by Paolo Borelli, #390873)
324 2006-12-31 Matthias Clasen <mclasen@redhat.com>
326 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
329 2006-12-30 Matthias Clasen <mclasen@redhat.com>
331 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
332 scroll timeout. (#390872, Yevgen Muntyan)
334 2006-12-30 Matthias Clasen <mclasen@redhat.com>
336 * gtk/gtkprintoperation-unix.c:
337 * gtk/gtkprintbackend.c:
338 * gtk/gtkfilechooserdefault.c:
339 * gtk/gtksettings.c: Move a few settings to gtksettings.c
340 to make sure they show up in the docs. (#365364, Christian
343 2006-12-30 Matthias Clasen <mclasen@redhat.com>
345 * gtk/gtkassistant.c: Redraw assistant on reallocate
346 to avoid rendering glitches. (#343956, Christian
347 Persch, Carlos Garnacho)
349 2006-12-30 Matthias Clasen <mclasen@redhat.com>
351 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
353 2006-12-30 Matthias Clasen <mclasen@redhat.com>
355 * gtk/gtkaction.c: Improve the docs of the "label"
356 property. (#341730, Kristof Vansant)
358 2006-12-30 Matthias Clasen <mclasen@redhat.com>
360 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
361 Correctly handle min size. (#320465, Philipp Langdale)
363 2006-12-30 Matthias Clasen <mclasen@redhat.com>
365 * gtk/prop-editor.c: Implement editing of flags.
367 2006-12-30 Matthias Clasen <mclasen@redhat.com>
372 * gtk/gtkstatusbar.c:
373 * gtk/gtktextview.c: Don't install cursors on insensitive
374 widgets. (#358864, Jan Schampera)
376 2006-12-29 Matthias Clasen <mclasen@redhat.com>
378 * gtk/gtkrecentmanager.h:
379 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
382 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
385 * gtk/gtkentry.c (blink_cb):
386 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
387 if focus went missing. Just warn, clean up and continue.
390 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
392 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
393 originally received the event is a notebook page. (#315440, reported
396 2006-12-29 Matthias Clasen <mclasen@redhat.com>
398 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
401 2006-12-29 Matthias Clasen <mclasen@redhat.com>
403 * tests/prop-editor.c: Display children of containers
404 and cell renderers of cell layouts.
407 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
408 New function to get the cell renderers of a cell layout.
410 * gtk/gtktreeviewcolumn.c:
412 * gtk/gtkiconview.c: Implement get_cells.
414 2006-12-28 Matthias Clasen <mclasen@redhat.com>
416 * gtk/gtkiconview.c: Use word wrapping by default, and
417 center multiline labels. (#318763, Ross Burton)
419 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
420 case for single-line layouts.
422 2006-12-28 Matthias Clasen <mclasen@redhat.com>
424 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
427 * gtk/gtkuimanager.c (update_node): Only use the results
428 of find_menu/toolbar_position() if they succeed. May fix
431 2006-12-28 Matthias Clasen <mclasen@redhat.com>
433 * gdk/gdk.c: Fix some formatting errors in docs.
435 2006-12-28 Tor Lillqvist <tml@novell.com>
437 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
438 (gtk_status_icon_update_image): Don't leak HICONs on
439 Win32. (#364868, Hiroyuki Yamamoto)
441 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
443 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
445 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
446 * gtk/gtkmarshalers.list: add new marshaler definition.
447 * gtk/gtkenums.h: add GtkDragResult enum.
449 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
450 operation wasn't successful.
451 (_gtk_drag_source_handle_event) (gtk_drag_drop)
452 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
453 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
454 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
455 gtk_drag_drop_finished() the operation result.
457 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
458 (gtk_notebook_drag_data_get): do not call window creation hook here.
459 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
460 target, instead connect to "drag-failed".
461 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
463 2006-12-28 Mikael Hallendal <micke@imendio.com>
465 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
466 integration into gdkeventloop-quartz.c.
468 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
470 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
473 2006-12-27 Matthias Clasen <mclasen@redhat.com>
475 * modules/printbackends/lpr/gtkprintbackendlpr.c
476 (gtk_print_backend_lpr_print_stream): Close the io channel
477 on unref. (#390159, Joe Markus Clarke)
479 2006-12-27 Matthias Clasen <mclasen@redhat.com>
481 * gdk/gdk.h: Remove redundant declarations (#390097,
484 2006-12-27 Kristian Rietveld <kris@gtk.org>
486 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
488 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
489 gtk-alternative-sort-arrows.
491 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
494 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
495 gtk-alternative-sort-arrows setting to true.
497 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
498 invert direction if gtk-alternative-sort-arrows is TRUE.
500 2006-12-27 Tor Lillqvist <tml@novell.com>
502 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
503 gtk_status_icon_set_screen.
505 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
506 on Windows. Keep track of where the last button click on the
507 taskbar icon took place, and return that. Obviously not correct if
508 no button has ever been clicked on the icon, or if the geometry of
509 the taskbar has changed since. But for most use cases where a menu
510 is going to be displayed as a direct result of a button click on
511 the status icon, works fine. (#377349)
513 Implement getting the orientation property on Windows.
515 (gtk_status_icon_embedded_changed)
516 (gtk_status_icon_orientation_changed): Ifdefify these functions
517 that are used only on X11.
519 2006-12-27 Tor Lillqvist <tml@novell.com>
521 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
522 typo. (#390035, Kazuki Iwamoto)
524 2006-12-27 Matthias Clasen <mclasen@redhat.com>
526 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
528 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
529 (gtk_combo_box_unset_model): Handle repeated unsetting
530 of models without warnings. (#367529, Robert Ancell)
532 2006-12-27 Matthias Clasen <mclasen@redhat.com>
534 * modules/printbackends/cups/gtkcupsutils.c:
535 * modules/printbackends/cups/gtkprintbackendcups.c: Use
536 getters for http fields where available. (#364866,
539 2006-12-27 Matthias Clasen <mclasen@redhat.com>
541 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
544 2006-12-27 Matthias Clasen <mclasen@redhat.com>
546 * gtk/gtkuimanager.c (update_node): If a required action
547 is missing, don't recurse over the children. (#349119,
550 2006-12-27 Matthias Clasen <mclasen@redhat.com>
552 Fix a few problems with nested menus in comboboxes
553 (#386694, Yevgen Muntyan)
555 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
556 connect the activate callback.
557 (gtk_combo_box_menu_item_activate): Do nothing if called on
558 an item with a submenu.
559 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
562 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
564 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
565 filechooser button. Bug 353196.
567 2006-12-26 Kristian Rietveld <kris@gtk.org>
569 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
570 the search dialog timeout never to be refreshed. (#389581,
571 Andrzej Szombierski).
573 2006-12-26 Kristian Rietveld <kris@gtk.org>
575 Lots of scrolling fixes. Made scrolling work properly in not fully
576 validated tree views; fixed a bunch of corner cases.
578 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
579 upper - page_size, we know it is located at the end so the test for
580 dy + height has been dropped.
581 In the same case if area_below < 0, we know this is the last node
582 in the tree view so area_above is page_size - height of this row.
583 (validate_visible_area): got rid of subtracting new_height -
584 old_height from area_{below,above}, it didn't make any sense at
585 all and the full height of the row should be subtracted instead.
586 (validate_visible_area): when scrolling to a given path, set the
587 top row directly together with the dy offset, then sync that top_row
589 (gtk_tree_view_set_top_row): new function to directly set a top_row.
590 (gtk_tree_view_dy_to_top_row): refactored to use
591 gtk_tree_view_set_top_row().
592 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
593 (gtk_tree_view_adjustment_changed): only update our dy and
594 top_row if the adjustment's dy actually changed.
596 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
598 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
599 Return the correct value from gtk_notebook_insert_page if the
600 page-added handler reorders the tabs. Bug #345094.
602 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
604 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
606 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
607 scrolling when hovering with a detached tab.
608 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
609 focus tab has changed during a tab DND operation.
610 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
611 (gtk_notebook_paint): do not take cur_page as a reference to paint the
612 box if it's detached.
613 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
614 to the detached tab if we hover the arrows during a tabs detaching
615 operation, do not allocate it unconditionally in 0,0.
617 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
619 Expose improvements for GtkNotebook. Bug #383435
621 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
623 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
624 (gtk_notebook_draw_tab): do not send handmade expose events to tab
627 2006-12-26 Matthias Clasen <mclasen@redhat.com>
629 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
630 FALSE. (#389623, Carlos Garnacho Parro)
632 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
635 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
637 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
638 (gtk_plug_unrealize): Notify the "embedded" property also on
639 normal construction and when destroying the socket window.
642 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
644 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
645 (gtk_about_dialog_init), (display_credits_dialog),
646 (display_license_dialog):
647 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
648 (gtk_file_chooser_dialog_init),
649 (gtk_file_chooser_dialog_constructor),
650 (gtk_file_chooser_dialog_unmap):
651 * gtk/gtkrecentchooserdefault.c:
652 (_gtk_recent_chooser_default_init):
653 * gtk/gtkrecentchooserdialog.c:
654 (gtk_recent_chooser_dialog_class_init),
655 (gtk_recent_chooser_dialog_init),
656 (gtk_recent_chooser_dialog_constructor),
657 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
658 instead of using style-set handlers. Fix the filechooser's spacing
659 between content and action area to 12px. Bug #372447.
661 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
663 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
664 Don't assume statusbar->label is the statusbar's frame's child when
665 shrinking the size allocation when the grip is shown. Bug #372452.
667 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
669 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
670 (add_custom_paper): Fix mem leaks. Bug #389194.
672 2006-12-24 Matthias Clasen <mclasen@redhat.com>
674 * gtk/gtktextutil.c: Remove debug output.
676 * gtk/gtktextview.c: Improve the DND scrolling
677 behaviour. (#92387, Carlos Garnacho Parro)
679 * gtk/gtkaccellabel.c: Improve translators comments.
680 (#389298, Christian Persch)
682 2006-12-24 Bastien Nocera <hadess@hadess.net>
684 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
687 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
689 * docs/reference/gtk/gtk-sections.txt:
691 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
692 * gtk/gtkprinter-private.h:
693 * gtk/gtkprinter.c: (gtk_printer_list_papers):
694 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
696 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
698 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
699 when is selected in page setup dialog. Fixes bug #365047.
701 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
703 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
704 Use gtk_border_free when freeing border.
706 2006-12-24 Matthias Clasen <mclasen@redhat.com>
708 * gtk/gtkentry.c (gtk_entry_button_press): When
709 shift-clicking, keep the larger part of the selection
710 selected. (#353709, Benjamin Otte)
712 * gtk/gtkbutton.c (gtk_button_get_props): Use
713 gtk_border_free when freeing borders.
715 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
716 careful when faking a button release. (#323146,
719 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
720 handle with the right orientation, depending on the
721 position of the handlebox. (#159764, Benjamin Berg)
723 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
725 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
728 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
730 Bug 340141 – Update to Pango 1.16 API
732 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
733 (gdk_pango_layout_line_get_clip_region):
734 * gtk/gtkcalendar.c (gtk_calendar_size_request):
735 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
736 (get_layout_position), (gtk_entry_find_position),
737 (gtk_entry_adjust_scroll):
738 * gtk/gtkiconview.c (get_pango_text_offsets):
739 * gtk/gtklabel.c (get_cursor_direction):
740 * gtk/gtkstyle.c (get_insensitive_layout):
741 * gtk/gtktextdisplay.c (render_para):
742 * gtk/gtktextlayout.c (allocate_child_widgets),
743 (find_display_line_below), (find_display_line_above),
744 (gtk_text_layout_move_iter_to_previous_line),
745 (gtk_text_layout_move_iter_to_next_line),
746 (gtk_text_layout_move_iter_to_line_end),
747 (gtk_text_layout_iter_starts_line),
748 (gtk_text_layout_move_iter_to_x):
749 * gtk/gtktextutil.c (limit_layout_lines):
750 Use the _readonly version of pango_layout_iter_get_line(),
751 pango_layout_iter_get_run(), pango_layout_get_line(), and
752 pango_layout_get_lines().
754 * gtk/gtkmain.c (gtk_get_default_language): Use
755 pango_get_default_language().
757 2006-12-24 Matthias Clasen <mclasen@redhat.com>
759 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
760 and notify:text only once. The same fix was applied
761 for replacing the selection via DND or copy-and-paste.
762 (#64998, Damon Chaplin, Sven Herzberg)
764 2006-12-23 Matthias Clasen <mclasen@redhat.com>
766 * gtk/gtkimmulticontext.c: Be careful to not override
767 GTK+ translations with the translations of the input
768 method. (#317080, Tor Lillqvist)
770 * modules/input/imcedilla.c: Use standard macros
771 for translation domain and locale dir.
773 * gtk/gtkimcontextsimple.c: Allow composing l with
774 stroke. (#349638, Daniel Lublin)
776 * gtk/gen-paper-names.c: Fix a thinko in the suffix
777 calculation. (#382369, Christian Persch)
779 * gtk/paper_names_offsets.c: Regenerated.
781 2006-12-22 Matthias Clasen <mclasen@redhat.com>
783 * modules/engines/pixbuf/pixbuf.h:
784 * modules/engines/pixbuf/pixbuf-rc-style.h:
785 * modules/engines/pixbuf/pixbuf-style.h: Move
786 G_GNUC_INTERNAL before function declarations. (#352276,
789 2006-12-22 Matthias Clasen <mclasen@redhat.com>
791 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
794 2006-12-22 Matthias Clasen <mclasen@redhat.com>
796 * *.c: Replace a lot of idle and timeout calls by
797 the new gdk_threads api.
801 * gdk/gdk.c: Add functions to allow threadsafe handling
802 of idles and timeouts wrt. to the GDK lock. (#321886,
805 2006-12-22 Matthias Clasen <mclasen@redhat.com>
807 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
808 (#340141, Behdad Esfahbod)
810 * configure.in: Check for getc_unlocked.
812 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
813 unavailable. (#381499)
815 * tests/teststatusicon.c: Fix a typo
817 2006-12-22 Matthias Clasen <mclasen@redhat.com>
819 Make it possible to track the embeddedness of
820 statusicon (#387215, Martyn Russell, patch by Christian
823 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
825 * gtk/gtkplug-x11.c: Add an embedded property.
826 * tests/teststatusicon.c: Test the new properties.
828 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
829 leak draw_border. (#387170, Kjartan Maraas)
831 2006-12-21 Matthias Clasen <mclasen@redhat.com>
833 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
834 Typo fix. (#388123, Murray Cumming)
836 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
837 Generate double-click events. (#380421, Tommi Komulainen)
839 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
840 (_gdk_input_enter_event): Correct return_if_fail checks.
841 (#379803, Tommi Komulainen)
843 * gdk/gdkdisplay.c: Improve the docs of some functions operating
844 on the default display. (##353438, Mariano Suárez-Alvarez)
846 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
848 * docs/reference/gdk/gdk-sections.txt:
849 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
850 converting a GdkColor to a string (#373856).
852 * configure.in: Bump pango requirement to 1.15.2.
854 2006-12-20 Matthias Clasen <mclasen@redhat.com>
856 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
859 * gdk/keyname-table.h: Regenerated
861 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
864 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
865 Silently return if a drag is already in progress, rather
866 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
868 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
869 Allow any GtkDialog that implements GtkFileChooser as
870 dialog. (#335473, Tommi Komulainen)
872 2006-12-20 Mikael Hallendal <micke@imendio.com>
874 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
875 change in the quartz backend.
877 2006-12-20 Mikael Hallendal <micke@imendio.com>
879 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
880 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
882 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
884 2006-12-19 Matthias Clasen <mclasen@redhat.com>
886 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
887 format of page ranges, and improve the page sequence icon
888 for the case of n_copies == 1.
890 2006-12-19 Mikael Hallendal <micke@imendio.com>
892 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
893 routine so that it can be used from libgtk as well (needed for
894 upcoming GtkStatusIcon support in the Quartz port).
895 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
896 created from GDK, this is not true for the status icon.
897 * gdk/quartz/gdkprivate-quartz.h:
898 * gdk/quartz/gdkquartz.h: Added
899 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
900 the status icon code.
902 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
904 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
905 gtk_message_dialog_set_image ()
907 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
908 (setting "window-placement-set" could result in a crash because
909 of boolean/enum mixup)
911 2006-12-15 Federico Mena Quintero <federico@novell.com>
913 Merged from gtk-2-10:
915 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
916 the case where the new title is the same as the old title, to
917 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
918 equivalent). Handle the case where title == priv->title. This
919 was found by the LSB compatibility tests:
920 https://bugzilla.novell.com/show_bug.cgi?id=223882
922 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
924 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
925 more closely resemble its Win32 counterpart. Bug #340204.
927 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
929 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
930 placed inside their GdkWindow. Bug #385672.
932 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
934 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
936 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
938 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
939 drawn with extra line below tab in MS-Windows theme. Patch by
942 2006-12-13 Matthias Clasen <mclasen@redhat.com>
944 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
945 for print preview. (#370041, Ghee Teo)
947 2006-12-11 Matthias Clasen <mclasen@redhat.com>
949 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
950 careful when overdrawing antialiased text. (#352435, Alex Jones,
951 patch by Benjamin Otte)
953 * gtk/gtksettings.c: Change the way in which color scheme information
954 is merged to correctly handle vanishing colors. (#374420,
955 Benjamin Berg, patch by Callum McKenzie)
956 Also allow to separate entries in color schemes by ';'
959 2006-12-10 Matthias Clasen <mclasen@redhat.com>
961 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
962 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
964 2006-12-10 Kristian Rietveld <kris@gtk.org>
966 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
967 cancel editing (ie. don't accept changes) when the entry loses
968 focus. (Fixes #164494, reported by Chris Rouch).
970 2006-12-10 Matthias Clasen <mclasen@redhat.com>
972 * configure.in: Correct a misapplied patch.
974 2006-12-10 Tor Lillqvist <tml@novell.com>
976 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
977 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
978 developer zipfile. Users might add pixbuf loaders or immodules
979 even if they are not interested in developing gtk+-using software.
981 2006-12-10 Matthias Clasen <mclasen@redhat.com>
983 * configure.in: Check for crt_extern.h and _NSGetEnviron.
984 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
985 environ is not available. (#384168, Min Sik Kim)
987 2006-12-07 Paolo Maggi <paolo@gnome.org>
991 * gtk/gtkentry.c (gtk_entry_set_text): check for
992 completion->priv->changed_id > 0 before calling
993 g_signal_handler_[un]block.
994 (gtk_entry_completion_key_press): does not block/unblock the "changed"
995 signal before calling gtk_entry_set_text.
997 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
999 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
1000 xthickness/ythickness, they aren't used any longer for drawing.
1002 2006-12-07 Matthias Clasen <mclasen@redhat.com>
1004 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
1005 underlines by giving labels a small draw-border.
1007 2006-12-06 Kristian Rietveld <kris@gtk.org>
1009 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
1010 draw progress bar through theme engine instead of using our own
1011 custom cairo drawing code (#377244, patch from Carlos Garnacho).
1013 2006-12-06 Matthias Clasen <mclasen@redhat.com>
1015 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
1016 Update the sensitivity of the collate checkbutton more frequently,
1017 proposed by Tim Waugh.
1019 2006-12-04 Matthias Clasen <mclasen@redhat.com>
1021 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
1022 since we no longer set window titles.
1024 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
1026 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
1027 (gtk_page_setup_set_paper_size): Don't leak the old page size when
1028 setting a new one. Bug #382314.
1030 2006-12-03 Michael Natterer <mitch@gimp.org>
1032 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
1034 2006-12-03 Kristian Rietveld <kris@gtk.org>
1036 Make sure [xy]_offset are always being initialized, fix pixbuf
1037 renderer padding. (#108235, Sven Neumann).
1039 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
1040 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
1043 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
1044 always initialize [xy]_offset.
1045 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
1046 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
1049 2006-12-03 Kristian Rietveld <kris@gtk.org>
1051 * gtk/gtktreeview.c (validate_visible_area): when not using an
1052 explicit alignment, use the full area of the row (not just dy)
1053 to determine how to implicitly align it. (Fixes #363191, reported
1054 by Federico Mena Quintero).
1056 2006-12-02 Matthias Clasen <mclasen@redhat.com>
1058 * gtk/gtkicontheme.c (insert_theme): Properly clean up
1059 if an icon theme index file has no directories. (#381236)
1061 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
1063 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
1064 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
1066 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
1068 Remove the broken Thai input method and add a functional Thai and Lao
1069 input method by Theppitak Karoonboonyanan. (#81031)
1071 * modules/input/imthai.c:
1072 * modules/input/gtkimcontextthai.c:
1073 * modules/input/gtkimcontextthai.h:
1074 * modules/input/thai-charprop.c:
1075 * modules/input/thai-charprop.h:
1078 * modules/input/imthai-broken.c:
1081 * modules/input/Makefile.am:
1084 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
1086 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
1088 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
1090 * gtk/gtktextview.c: applied patch by Colin Leroy for
1091 Control+GDK_KP_Left to move one word to the left, #356255.
1093 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
1095 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
1098 2006-11-25 Matthias Clasen <mclasen@redhat.com>
1100 * modules/printbackends/cups/gtkprintbackendcups.c: Make
1101 print dialog work when 'BrowseShortNames Off' is specified
1102 in cups configuration. Patch by Tim Waugh.
1104 2006-11-24 Michael Natterer <mitch@imendio.com>
1106 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
1107 can't go up/down, consult gtk_widget_keynav_failed() and leave the
1108 widget if it returns FALSE (bug #322640).
1110 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
1112 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
1114 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
1116 * gtk/gtkrecentmanager.c:
1117 (get_uri_shortname_for_display): g_filename_from_uri() might
1118 fail; catch the failure and fall back to the non-local URI
1121 2006-11-19 Mark McLoughlin <mark@skynet.ie>
1123 Fixes bug #376502 - multi-screen support for GtkStatusIcon
1125 * gtk/gtkstatusicon.[ch]:
1126 (gtk_status_icon_set_screen),
1127 (gtk_status_icon_get_screen): add multi-screen API. Allows
1128 an app to display an icon on a non-default screen
1129 (gtk_status_icon_class_init),
1130 (gtk_status_icon_set_property),
1131 (gtk_status_icon_get_property): add a "screen" property
1133 * tests/teststatusicon.c: update to test on multiple screens
1135 2006-11-17 Matthias Clasen <mclasen@redhat.com>
1137 Fix problems with drag cancellation. (#376535, Michael Natterer)
1139 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
1140 handlers before emitting drag-end.
1141 (gtk_drag_end): Disconnect signal handlers before removing
1144 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
1146 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
1147 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
1149 2006-11-16 Michael Natterer <mitch@imendio.com>
1151 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
1152 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
1153 and gtk-keynav-wrap-around and wrap around, beep or continue outside
1154 the group manually (bug #322640).
1156 2006-11-16 Michael Natterer <mitch@imendio.com>
1158 Add new infrastructure for notifications of failed keyboard
1159 navigation and navigation with restricted set of keys.
1161 The patch handles configurable beeping, navigating the GUI with
1162 cursor keys only (as in phone environments), and configurable
1163 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
1166 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
1167 gtk-keynav-wrap-around and gtk-error-bell.
1169 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
1170 API to emit it. Added New function gtk_widget_error_bell() which
1171 looks at the gtk-error-bell setting and calls gdk_window_beep()
1174 * gtk/gtk.symbols: add the new widget symbols.
1176 * gtk/gtkcellrendereraccel.c
1177 * gtk/gtkimcontextsimple.c
1179 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
1180 gtk-error-bell setting instead of calling gdk_display_beep()
1187 * gtk/gtkmenushell.c
1188 * gtk/gtkspinbutton.c
1190 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
1195 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
1196 cursor navigation and leave the widget if it returns FALSE.
1198 * gtk/gtkmenushell.c
1199 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
1202 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
1203 whether to to wrap-around, and don't select active items on cursor
1204 navigation if gtk-keynav-cursor-only is TRUE. Should look at
1205 gtk-keynav-wrap-around too, will look into that.
1207 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1209 * gtk/gtkrecentmanager.c:
1210 (gtk_recent_info_get_uri_display): Return the URI
1211 of the GtkRecentInfo object (upgraded to UTF-8 if
1212 needed) in case of non-local file. (#351945)
1214 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1216 * gtk/gtkrecentchoosermenu.c:
1217 (gtk_recent_chooser_menu_add_tip): Apply the tip only
1218 if we have a displayable name for the item. (#365031,
1219 patch by padraig.obriain(at)sun.com)
1221 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1223 * gtk/gtkrecentmanager.c: Provide a fast path returning
1224 NULL when the limit is set to 0.
1226 * gtk/gtkrecentchooserdefault.c:
1227 * gtk/gtkrecentchoosermenu.c: Add the same fast path
1228 inside the RecentChooser implementation; add a check
1229 in the list clamping code. (#373466 and duplicates)
1231 2006-11-15 Matthias Clasen <mclasen@redhat.com>
1233 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
1234 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
1236 2006-11-15 Michael Natterer <mitch@imendio.com>
1238 * gtk/gtkrange.[ch]: added properties "fill-level",
1239 "show-fill-level" and "restrict-to-fill-level" and getters/setters
1240 for them. The "fill level" is an additional marker on the range's
1241 trough than can be e.g. used to indicate the amount of
1242 pre-buffering in a range showing the play position of streamed
1243 media. See the embedded API docs for details. Made GtkRangeLayout
1244 a GTypeInstance private struct and removed finalize()
1245 implementation. Fixes bug #349808
1247 * gtk/gtk.symbols: added the new symbols.
1249 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
1251 * configure.in: Make libtool magic robust. (#352795)
1253 2006-11-13 Paolo Borelli <pborelli@katamail.com>
1255 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
1258 2006-11-09 Kristian Rietveld <kris@imendio.com>
1260 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
1261 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
1263 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
1265 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
1267 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
1269 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
1270 timeout running if the slider buttons are hidden. (#372527)
1272 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
1274 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
1275 the "Location" label bold. Bug #372449.
1277 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
1279 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
1280 non-focused tabs xthickness/ythickness thinner. (#353962)
1282 2006-11-07 Paolo Borelli <pborelli@katamail.com>
1284 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
1285 corruption (#357050).
1287 2006-11-06 Alexander Larsson <alexl@redhat.com>
1289 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
1290 (gtk_drag_source_info_destroy), (gtk_drag_end),
1291 (gtk_drag_grab_notify_cb):
1292 Cancel drag when the grab is shadowed. (#122688)
1294 2006-11-01 Kristian Rietveld <kris@imendio.com>
1296 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
1297 (gtk_combo_box_size_request): add arrow-size property to control
1298 the minimum size of the arrow, have the arrow scale up with the
1299 font by default. (#357950).
1301 2006-10-30 Kristian Rietveld <kris@gtk.org>
1303 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
1304 forget to queue a draw for the new cursor node. (Fixes #366548,
1305 reported by Sven Herzberg).
1307 2006-10-30 Michael Natterer <mitch@imendio.com>
1309 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
1310 only if we actually cancel a drag. Fixes bug #58389.
1312 2006-10-30 Kristian Rietveld <kris@gtk.org>
1314 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
1315 keybindings to collapse/expand rows instead of moving the focus
1316 cursor. (#105895, Brian Bober and others).
1318 2006-10-29 Kristian Rietveld <kris@gtk.org>
1320 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
1321 child removal in row-expanded callback. (#366782, John Ellis).
1323 2006-10-29 Tor Lillqvist <tml@novell.com>
1325 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
1326 of the small icon of the window class. (#152620, Kazuki Iwamoto)
1328 2006-10-29 Tor Lillqvist <tml@novell.com>
1330 * gdk/win32/gdkcursor-win32.c
1331 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
1332 for instance the built-in GDK ones.
1334 2006-10-27 Kristian Rietveld <kris@gtk.org>
1336 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
1337 case to not overwrite the variables in the lower scope (which are
1338 used later on ...), get the path correctly and bail out when there
1339 isn't a node above us. (#359231).
1341 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
1343 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
1345 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
1347 * gtk/gtk.symbols: Add missing symbols to so make check can pass
1349 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
1351 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
1352 to free GDI Pen resources, introduced by bug 340201.(#364514)
1354 2006-10-18 Kristian Rietveld <kris@imendio.com>
1356 * tests/testcombo.c (main): connect to notify::popup-shown instead of
1357 popup-show (the latter does not exist).
1359 2006-10-15 Paolo Borelli <pborelli@katamail.com>
1361 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
1364 2006-10-12 Michael Natterer <mitch@imendio.com>
1366 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
1367 (committed the wrong patch).
1369 2006-10-12 Michael Natterer <mitch@imendio.com>
1371 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
1372 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
1373 obsolete now. Fixes bug #358293.
1375 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
1377 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
1379 2006-10-11 Tor Lillqvist <tml@novell.com>
1381 * configure.in: Enable having some gdk-pixbuf loaders built-in
1382 even if loading the others dynamically. Define Automake
1383 conditional INCLUDE_FOO for each loader as TRUE if that loader is
1384 built-in. See also gdk-pixbuf/ChangeLog.
1386 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
1388 * docs/reference/gtk/gtk-sections.txt:
1389 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
1391 2006-10-11 Tor Lillqvist <tml@novell.com>
1393 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
1396 2006-10-11 Tor Lillqvist <tml@novell.com>
1398 Merge from 2.10 branch:
1400 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
1401 environment variable LC_ALL or LANG is set, set the Win32 thread
1402 locale to the corresponding locale. Then call the C library
1403 setlocale() to set the C library locale accordingly. The
1404 inconsistency mentioned below is gone. (#339756) Do some special
1405 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
1406 scripts for Azeri, Uzbek and Serbian.
1407 (enum_locale_proc): Helper function for the above functionality.
1409 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
1410 if the environment variables are set here, as they have already
1411 been taken into account and the Win32 thread locale has been
1414 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
1416 * gtk/tmpl/gtkbindings.sgml:
1417 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
1418 inline docs. applied wording fixes suggested by Martyn Russell.
1420 2006-10-09 Matthias Clasen <mclasen@redhat.com>
1422 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
1423 Update the docs to state which out parameters may be NULL.
1424 (#360870, Attilio Fiandrotti)
1426 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1428 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
1429 a typo. (#359542, Ghee Teo)
1431 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1433 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
1434 reorder tabs if the focus is in the tab. (#350342, Carlos
1437 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
1439 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
1441 2006-10-08 Kristian Rietveld <kris@gtk.org>
1443 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
1444 (gtk_tree_view_set_show_expanders),
1445 (gtk_tree_view_get_show_expanders): add getter/setter for
1446 show-expanders property, queue a redraw when this property
1447 is toggled (#351167, Martin Ejdestig),
1448 (gtk_tree_view_set_level_indentation),
1449 (gtk_tree_view_get_level_indentation): also add getter/setter
1450 and docs for level-indentation property.
1452 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1454 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
1455 leak a list. (#360350, Benjamin Berg)
1457 * Apply a cleanup patch by Kjartan Maraas (#341812)
1459 2006-10-07 Tor Lillqvist <tml@novell.com>
1461 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
1462 locale's first day of week setting on Win32. (#339752, Bogdan
1463 Nicula) Don't do this if one of the environment variables that
1464 affect gettext is set, though. In that case use the week start day
1465 from the corresponding message catalog.
1467 Unfortunately the same logic isn't possible in the weekday and
1468 month name lookup; there even if you have set one of the
1469 aforementioned environment variables, you still get the weekday
1470 and month names from the Win32 thread locale. Yes, this is
1473 Use only wide-character API in the Win32 code in this file, too.
1475 2006-10-06 Matthias Clasen <mclasen@redhat.com>
1477 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
1478 Fix the docs. (#360112)
1480 * gtk/gtkcellview.c: Don't set the background of the
1481 window in a no-window widget. (#359581, Xan Lopez)
1484 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
1486 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
1487 test correctly. (#359845)
1489 2006-10-05 Michael Natterer <mitch@imendio.com>
1491 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
1492 rid of a key binding (in fact, it only lets it appear unbound).
1494 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
1495 "guint marks_unbound : 1"
1497 (gtk_binding_entry_skip): new API which marks the entry as unbound.
1499 Changed code so it returns FALSE when "marks_unbound == TRUE" is
1500 encountered while activating bindings, effectively letting the
1501 binding appear unbound (regardless of still existing bindings in
1502 lower binding priority levels). Fixes bug #358329.
1504 (gtk_binding_entry_add)
1505 (gtk_binding_entry_clear)
1506 (gtk_binding_entry_add_signall)
1507 (gtk_binding_parse_binding): deprected these functions.
1509 (_gtk_binding_parse_binding)
1510 (_gtk_binding_entry_add_signall): new internal API.
1512 * gtk/gtk.symbols: changed accordingly.
1514 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1516 Fix interaction of GtkEntryCompletion with input
1517 methods. (#354495, Diego Escalante Urrelo)
1519 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
1520 the im context if we actually handle the key event.
1522 * gtk/gtkentrycompletion.c: Also propagate key release events
1525 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1527 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
1528 Fix a typo. (#359052, Ghee Teo)
1530 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
1531 reduce relocations. (#359053)
1533 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1535 * modules/printbackends/cups/gtkcupsutils.c:
1536 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
1537 the fix for bug 357280.
1539 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1541 * gdk-pixbuf/Makefile.am:
1544 Include pltcheck.sh in EXTRA_DIST.
1546 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1548 * gdk/x11/gdkevents-x11.c: Move all includes before including
1551 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1553 * gtk/Makefile.am: Fix typo in file name. (#358931)
1555 2006-10-02 Matthias Clasen <mclasen@redhat.com>
1557 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
1558 Only use the group name field if cups is new enough. (#357280)
1560 * gtk/gtksizegroup.c: Make sure that the quarks are
1561 initialized before using them. (#353736)
1563 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
1564 replace existing links. (#354849, James Evans)
1566 2006-10-01 Matthias Clasen <mclasen@redhat.com>
1568 * gtk/gtkexpander.c (gtk_expander_realize)
1569 (gtk_expander_size_allocate): Make the event_window large
1570 enough to cover the full height of the label_widget. (#358351,
1573 2006-10-01 Tor Lillqvist <tml@novell.com>
1575 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
1577 2006-09-30 Matthias Clasen <mclasen@redhat.com>
1579 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
1580 against base_path being NULL. (#358405, many reporters)
1582 2006-09-29 Matthias Clasen <mclasen@redhat.com>
1584 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
1585 to avoid a deadlock.
1587 2006-09-27 Kristian Rietveld <kris@imendio.com>
1589 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
1590 (gtk_tree_model_filter_ref_node),
1591 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
1592 in sync with each other and the sort model.
1594 2006-09-27 Kristian Rietveld <kris@imendio.com>
1596 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
1597 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
1598 (gtk_tree_model_filter_new): unref the virtual root path once that
1599 node (or one if its ancestors) is deleted, set virtual_root_deleted
1600 so we only unref it once.
1602 2006-09-27 Kristian Rietveld <kris@imendio.com>
1604 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
1605 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
1606 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
1607 (gtk_tree_model_sort_free_level): bring zero ref count loops in
1609 (gtk_tree_model_sort_free_level): free child levels before
1610 decreasing the zero ref count of the current level,
1611 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
1614 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1616 * demos/gtk-demo/*.c:
1617 * gtk/gtkeventbox.c:
1618 * gtk/gtkprintoperation.c: Fix typos. String change.
1620 2006-09-25 Kristian Rietveld <kris@gtk.org>
1622 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
1623 has already been realized; scroll to background area instead of
1624 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
1626 2006-09-25 Kristian Rietveld <kris@gtk.org>
1628 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
1629 to create the GCs if the widget is realized. (Fixes #357578).
1631 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1633 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
1634 the list of children (#357454, Paolo Borelli)
1636 2006-09-25 Michael Natterer <mitch@imendio.com>
1638 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
1639 display->input_windows with g_free(), not g_object_unref()
1640 (#357566, Tommi Komulainen).
1642 2006-09-24 Kristian Rietveld <kris@gtk.org>
1644 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
1645 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
1646 property to the API (left-over patch from #157439).
1648 2006-09-24 Kristian Rietveld <kris@gtk.org>
1650 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
1651 the indicator if the column has a sort column id (and the model is
1652 sortable) or if the user explicitly requested the indicator
1653 to be shown. (Fixes #352738, Chris Vine).
1655 2006-09-23 Tor Lillqvist <tml@novell.com>
1657 * gtk/Makefile.am: Use EXEEXT.
1659 2006-09-22 Michael Natterer <mitch@imendio.com>
1661 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
1662 and color hashes. Fixes bug #357132.
1664 2006-09-22 Matthias Clasen <mclasen@redhat.com>
1666 Make remote bookmarks work better (#354887)
1668 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
1669 (shortcuts_insert_path):
1670 * gtk/gtkfilechooserbutton.c (change_icon_theme):
1671 (model_add_bookmarks):
1672 (model_update_current_folder):
1673 (update_label_and_image):
1674 If the bookmark points to a remote file, don't call get_info(),
1675 since that may a) take a long time and b) pop up an auth dialog.
1676 Instead, just use a folder icon and create a display name
1679 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
1680 New function to create a suitable display name for a remote
1681 uri. This should really be done in GtkFileSystem.
1683 2006-09-21 Michael Natterer <mitch@imendio.com>
1685 Implement lots of value setters for GdkGC, based on a heavily
1686 modified patch from Thomas Broyer (bug #328853):
1688 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
1689 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
1690 which simply returns RGBA values from a GdkColor's pixel value.
1691 See gdk_quartz_update_context_from_gc() below.
1693 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
1694 of members for the newly suppored GC values. Added enum
1695 GdkQuartzContextValuesMask which is used for setting up the
1696 CGContext for filling and/or stroking.
1698 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
1699 (gdk_quartz_gc_set_values)
1700 (_gdk_windowing_gc_copy): support a lot more GC values.
1702 (gdk_quartz_update_context_from_gc): added
1703 GdkQuartzContextValuesMask parameter and set filling/stroking
1704 parameters accordingly. This function also gained full control
1705 over the FG and BG colors (they can't be set separately any more).
1707 The stipple mask part of the patch doesn't work but seems to take
1708 the right approach and doesn't make things worse, so I applied it.
1710 Did *not* apply the clipping part of the patch since I don't
1711 understand it (I don't understand the version in CVS either, but
1712 it at least works :-)
1714 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
1715 gdk_quartz_update_context_from_gc() and removed separate color
1716 setting calls. Some minor fixes.
1718 * gdk/quartz/gdkwindow-quartz.c
1719 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
1720 fill color manually. We don't have/need a GC here.
1722 2006-09-21 Michael Natterer <mitch@imendio.com>
1724 * gdk/quartz/gdkwindow-quartz.c
1725 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
1726 drawable_impl->wrapper that is the GdkWindow, not the
1727 drawable_impl itself.
1729 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
1731 * gdk/x11/gdkkeys-x11.c:
1732 (get_direction): just check the first shift-level of keyboard
1733 layout for RTL and LTR keysyms() (compliment to #116626)
1735 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
1737 * gtk/gtkviewport.c: always update the bin_window position and size
1738 in size_allocate, even if we don't have a visible child. this fixes
1739 expose artefacts as described in #313508.
1741 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
1742 have no visible child explicit.
1744 2006-09-19 Ryan Lortie <desrt@desrt.ca>
1746 * docs/reference/gdk/gdk-sections.txt:
1749 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
1750 (gdk_pango_layout_get_clip_region): Remove an unused variable.
1751 (gdk_pango_attr_embossed_new): Fix documentation.
1753 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
1755 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
1756 control the arrow/border ratio within the allocation.
1758 * tests/testgtk.c: added a GtkArrow to handle box test.
1760 * tests/testgtkrc: test ::arrow-scaling property.
1762 2006-09-19 Matthias Clasen <mclasen@redhat.com>
1764 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1765 Display an error when we come to the root.
1767 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1769 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
1772 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
1773 bookmarks to the model in local-only mode, to avoid
1774 authentication dialogs pop up for invisible bookmarks, and
1775 to fix issues with separators not being hidden when
1776 they should. (#354887, Dennis Cranston)
1778 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1780 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
1781 treeview use in list mode. (#355732, Richard Hult)
1783 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
1784 change notification for the right property. (#355308,
1787 2006-09-15 Michael Natterer <mitch@imendio.com>
1789 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
1790 header navigation/resizing/reordering to be more readable and lose
1791 one level of nesting.
1793 2006-09-15 Kristian Rietveld <kris@imendio.com>
1795 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
1796 return after handling column button focus; we disable wrap around
1797 with this (which actually happened via a really weird code path).
1800 2006-09-15 Kristian Rietveld <kris@imendio.com>
1802 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
1803 code RTL aware, also break from the loops after we have seen the
1804 focussed column button (Michael Natterer).
1806 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
1808 * tests/testrichtext.c (main): intialize random number generator state
1809 upon program start, to enable truely random testing.
1811 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
1813 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
1814 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
1815 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
1816 GDK_DISABLE_DEPRECATED to allow compile per Behdad
1817 * gdk/quartz/Makefile.am same change as directfb Makefile
1818 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
1820 2006-09-13 Matthias Clasen <mclasen@redhat.com>
1822 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
1823 for the grab widget, to make the color picker work with window
1826 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
1828 signed off by: Dom Lachowicz
1830 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
1831 a large number of improvements to the Microsoft Windows theme engine
1832 which are fully described in the bug report.
1834 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
1836 * tests/testgtk.c: fixed compiler warnings.
1838 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1840 * gtk/gtkfilechooserbutton.c (model_add_special): Request
1841 the display name too, otherwise "Desktop" does not appear
1842 in the file chooser button.
1844 2006-09-10 Tor Lillqvist <tml@novell.com>
1846 * gdk/win32/gdkprivate-win32.h
1847 * gdk/win32/gdkmain-win32.c
1848 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
1849 0x0500 in gdkprivate-win32.h instead of doing it in two source
1850 files. (#355212, Mike Edenfield)
1852 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
1853 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
1855 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1857 * Commit a patch by Behdad to fix typos, omissions and other
1858 errors in the symbol aliasing, and add checks for local PLT
1859 entries. (#354687, Behdad Esfahbod)
1861 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
1862 the flush timeout. (#354043, Nelson Benitez)
1864 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
1865 Improve wording. String change! (#355126, David Lodge)
1867 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
1870 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
1873 2006-09-09 Matthias Clasen <mclasen@redhat.com>
1875 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
1876 (#353916, Chris Wilson)
1878 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
1879 Don't leak the to_reset list. (#353914, Chris Wilson)
1881 * gtk/gtkwidget.c: Add docs for the parent-set signal.
1882 (#353772, Mariano Suárez-Alvarez)
1884 2006-09-08 Matthias Clasen <mclasen@redhat.com>
1886 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
1887 Don't clear clipboards here, since we are called from finalize
1888 and can't emit signals.
1890 * configure.in: Set version to 2.11.0
1892 2006-09-06 Richard Hult <richard@imendio.com>
1894 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
1895 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
1897 2006-09-04 Kristian Rietveld <kris@imendio.com>
1899 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1900 if setting the given folder failed, try setting the parent folder
1901 until we succeed; display an error box at the end.
1903 2006-09-04 Kristian Rietveld <kris@imendio.com>
1905 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
1906 operations spawned by buttons here,
1907 (set_button_image_get_info_cb): bail out if button is NULL, but
1908 do free button_data,
1909 (button_data_free): only free the data if non NULL (since this
1910 function can be called multiple times for the same data), cancel
1911 handle if pending but don't free button_data in this case (will
1912 happen in the callback).
1914 2006-09-04 Michael Natterer <mitch@imendio.com>
1916 * gtk/gtkrc.c (rc_parse_token_or_compound)
1917 (gtk_rc_parse_assignment): serialize floating point values using
1918 locale-independent functions. (#346751, Frederic Crozat)
1920 2006-09-04 Tor Lillqvist <tml@novell.com>
1922 * gdk/win32/gdkevents-win32.c
1923 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
1924 window handling (PeekMessage, PostMessage, SendMessage,
1925 DispatchMessage, DefWindowProc, RegisterClassEx,
1926 CreateWindowEx). (#321597)
1928 2006-09-03 Kristian Rietveld <kris@imendio.com>
1930 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
1931 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
1932 change file_exists_and_is_not_folder checks to get the file info
1933 for the path directly instead of querying the current file folder
1936 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
1939 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
1940 (test_reload_sequence), (test_button_folder_states_for_action): wait
1941 for idle after setting a folder to ensure the async operations to load
1942 the folder are finished,
1943 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
1944 factor out test_confirm_overwrite code so we can add tests for more
1947 2006-09-03 Richard Hult <richard@imendio.com>
1949 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
1950 exposure isn't in the event mask, plug a leak, and check that the
1951 window isn't destroyed.
1952 (isOpaque): Check that the window isn't destroyed, fixes bug
1955 2006-09-03 Matthias Clasen <mclasen@redhat.com>
1957 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
1958 (#354035, Mariano Suárez-Alvarez)
1960 * gtk/gtkmain.c (post_parse_hook):
1961 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
1962 (#354004, Chris Wilson)
1964 2006-09-03 Tor Lillqvist <tml@novell.com>
1966 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
1967 GDK_WINDOW_DISPLAY in the Win32 backend.
1969 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
1972 2006-09-02 Kristian Rietveld <kris@imendio.com>
1974 First part of file chooser fixes.
1976 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
1977 handle in the model for the desktopdir case.
1979 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
1980 volume in case we retrieved it but don't pass it on to insert_path,
1981 (shortcuts_model_create): change the column type for the handles
1982 to pointer instead of GObject so our handle ref counting is not
1984 (show_and_select_paths_finished_loading): don't forget to unref
1987 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
1988 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
1989 remove pending execute_callbacks_idle during dispose, also
1990 execute all callbacks waiting to be run in the next idle,
1991 (queue_*callback), (execute_callbacks_idle): refactor to maintain
1992 a list of callbacks to call per file system instead of globally,
1993 guard the file system during callback invocation,
1994 (gtk_file_system_unix_get_folder): only add load folder idle if
1995 none has been added yet.
1997 2006-09-01 Matthias Clasen <mclasen@redhat.com>
1999 * gtk/gtkentry.c: Don't unnecessarily reset the im context
2000 when deleting the selection. (#353803, Alex Larsson)
2002 2006-09-01 Abel Cheung <abel@oaka.org>
2004 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
2006 2006-08-31 Matthias Clasen <mclasen@redhat.com>
2008 Stop cursor blinking after a configurable timeout.
2009 (#353670, #352442, Arjan van de Ven, Manu Cornet)
2011 * gtk/gtksettings.c (gtk_settings_class_init): Add a
2012 gtk-cursor-blink-timeout setting, which specifies the number
2013 of seconds that the cursor should blink after a user interaction.
2014 The default value is G_MAXINT to preserve the current behaviour.
2016 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
2019 * gtk/gtkentry.c (gtk_entry_completion_key_press)
2020 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
2023 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
2026 * gtk/gtktextview.c (gtk_text_view_key_press_event)
2027 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
2028 Reset the blink timer.
2030 2006-08-31 Matthias Clasen <mclasen@redhat.com>
2032 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
2033 explicit format capabilities. (#346505, Christian Persch)
2035 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
2037 2006-08-31 Michael Natterer <mitch@imendio.com>
2039 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
2041 2006-08-30 Richard Hult <richard@imendio.com>
2043 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
2045 2006-08-30 Matthias Clasen <mclasen@redhat.com>
2047 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
2048 for beeping if we are using XKB.
2050 2006-08-29 Matthias Clasen <mclasen@redhat.com>
2054 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
2055 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
2056 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
2057 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
2058 to beep on a window. For X11, implement this with
2059 XkbBell. (#353455, Mariano Suárez-Alvarez)
2061 2006-08-29 Tor Lillqvist <tml@novell.com>
2063 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
2064 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
2065 it isn't being maintained anyway. If somebody is interested, it
2066 can always be found in older GTK+ versions, and in CVS.
2071 * gdk/win32/Makefile.am
2072 * gdk/win32/libie55uid.la
2073 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
2074 switch and associated stuff. Active IMM and the <dimm.h> header
2075 was used for IM support on NT4 and Win9x. Win2k and later have IM
2078 * gdk/win32/gdkcursor-win32.c
2079 * gdk/win32/gdkdnd-win32.c
2080 * gdk/win32/gdkdrawable-win32.c
2081 * gdk/win32/gdkevents-win32.c
2082 * gdk/win32/gdkgc-win32.c
2083 * gdk/win32/gdkglobals-win32.c
2084 * gdk/win32/gdkkeys-win32.c
2085 * gdk/win32/gdkmain-win32.c
2086 * gdk/win32/gdkproperty-win32.c
2087 * gdk/win32/gdkselection-win32.c
2088 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
2089 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
2090 branches, and any variables or static functions used only by the
2093 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
2094 constants that aren't missing from current mingw and MSVC6
2097 * gdk/win32/gdkmain-win32.c
2098 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
2099 function. On NT-based Windows GetLastError() returns error codes
2100 also for failed GDI calls, so we can use _gdk_win32_api_failed()
2103 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
2105 * gtk/gtkrecentchoosermenu.c
2106 (gtk_recent_chooser_menu_set_current_uri): Break when an item
2107 is found and activated. (#353449, based on a patch by Jan Arne
2110 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
2112 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
2113 properties which make all hardcoded padding and spacing values
2114 configurable. properly swap ::text-xalign treatment for RTL widgets.
2116 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
2117 proeprty more consistent with GtkMisc alignment blurbs. mention
2118 RTL treatment for text-xalign.
2120 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
2122 * tests/testgtk.c: allow (most) windows to be resizable.
2123 added ellipsization settings to progress bars.
2125 2006-08-28 Matthias Clasen <mclasen@redhat.com>
2127 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
2128 resonable timeout of 3 seconds when polling for printer
2129 list updates, instead of 300000 seconds...
2131 2006-08-28 Michael Natterer <mitch@imendio.com>
2133 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
2134 </apply_tag> for tags that have already been closed by the logic
2135 which turns overlapping spans into XML-able trees. Fixes broken
2136 XML when there are overlapping tags in the buffer. Also free two
2137 leaked GLists and did some cleanup.
2140 * tests/testrichtext.c: new test which creates randomly tagged
2141 GtkTextBuffers and serializes/deserializes them.
2143 2006-08-26 Matthias Clasen <mclasen@redhat.com>
2145 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
2146 Don't leak pixbufs. (#352264, Ross Burton)
2148 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
2149 PangoAttributes. (#352391, Paolo Borelli)
2151 2006-08-25 Matthias Clasen <mclasen@redhat.com>
2153 * demos/gtk-demo/Makefile.am:
2154 * demos/gtk-demo/textscroll.c: Add an example of automatic
2155 scrolling, thanks to Yevgen Muntyan. (#351206)
2157 * gtk/gtkmodules.c (find_module): Use local binding when
2158 loading modules. (#351868)
2160 2006-08-24 Michael Natterer <mitch@imendio.com>
2162 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
2163 the hostname instead of NULL.
2165 2006-08-23 Matthias Clasen <mclasen@redhat.com>
2167 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
2168 names and values in comboboxes, and clean up some
2169 coding style issues.
2171 2006-08-23 Tor Lillqvist <tml@novell.com>
2173 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
2174 Revert unintended translatable string addition. Use same string
2175 in GError as in gtkfilesystemunix.c.
2177 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
2178 Fix logic at the end of strings.
2180 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
2181 handles and check that we have no outstanding handles at
2182 finalization time. (Copying what Matthias did for
2183 gtkfilesystemunix.c)
2185 2006-08-23 Matthias Clasen <mclasen@redhat.com>
2187 * gtk/gtkfilesystemunix.c: Maintain a hash table
2188 of live handles and check that we have no outstanding
2189 handles at finalization time. (Copying what
2190 Federico did for gtkfilesystemgnomevfs.c)
2192 2007-08-22 Matthias Clasen <mclasen@redhat.com>