1 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3 * modules/printbackends/cups/gtkprintbackendcups.c
4 (available_choices): Don't leak conflicts.
6 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
7 Don't leak the status string.
9 2007-01-03 Matthias Clasen <mclasen@redhat.com>
11 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
12 Exit early if we can't get file info - this happens
13 if the iter points to the row where we are editing
14 the name for a newly created folder. (#392191, Michael
15 Partridge, patch by Kristian Rietveld)
17 2007-01-03 Matthias Clasen <mclasen@redhat.com>
20 * gdk/x11/*.c: Apply a patch by Chris Wilson to
21 avoid spurious valgrind warnings from XSendEvent()
24 * modules/printbackends/cups/gtkprintbackendcups.c: Close
25 the http connection after getting the PPD.
27 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
30 2007-01-03 Matthias Clasen <mclasen@redhat.com>
32 * gtk/gtkassistant.c (remove_page): If the current page
33 is removed, always pick a different one. (#392457,
36 2007-01-03 Matthias Clasen <mclasen@redhat.com>
38 * modules/printbackend/cups/*.c: Coding style cleanups.
40 2007-01-03 Matthias Clasen <mclasen@redhat.com>
42 * configure.in: Export SED to make sourcing of
43 libtool work. Tighten up the directfb pkgconfig check.
45 2007-01-03 Michael Natterer <mitch@imendio.com>
47 * gtk/gtkstyle.c (option_menu_get_props)
48 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
49 gtk_border_free when freeing borders.
51 2007-01-03 Matthias Clasen <mclasen@redhat.com>
53 * gtk/gtkentry.c (get_text_area_size): Work when the
54 entry is not realized. (#392315, Yevgen Muntyan)
56 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
57 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
59 * gtk/gtkentry.c (cursor_blinks): Don't get settings
60 unnecessarily. (#392227)
62 2007-01-02 Matthias Clasen <mclasen@redhat.com>
64 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
65 updates on the window at hand, not on all windows, to
66 avoid violating resize/redraw ordering constraints.
67 (#362406, Owen Taylor)
69 2007-01-03 Kristian Rietveld <kris@gtk.org>
71 * gtk/gtkcellrendererprogress.c
72 (gtk_cell_renderer_progress_class_init): fix docs.
74 2007-01-02 Matthias Clasen <mclasen@redhat.com>
76 * gtk/updateiconcache.c: Include locale.h
78 2007-01-02 Matthias Clasen <mclasen@redhat.com>
80 * gtk/updateiconcache.c (main): Call setlocale().
83 * gtk/gtkfilesystemunix.c:
84 * gtk/gtkfilesystemwin32.c:
85 * gtk/gtkfilechoosersettings.c:
86 * gtk/updateiconcache.c: Consistently use folder instead of
87 directory in translated messages. (#344584, Javier F. Serrador)
89 2007-01-02 Matthias Clasen <mclasen@redhat.com>
91 Try to fix #315732, reported by Luke Hutchinson:
93 * gdk/x11/xsettings-client.[hc]:
94 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
95 will guarantee that it can be looked up in the xid hash later.
96 Also, use the nesting server grab function during the xsettings
97 client initialization. Finally, make xsettings client not
98 eat DestroyNotifys so that GDK can do its regular cleanup.
100 2007-01-02 Michael Natterer <mitch@imendio.com>
102 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
103 when a keybinding didn't change adjustment->value.
105 2007-01-02 Matthias Clasen <mclasen@redhat.com>
107 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
108 Try harder not to beep on events which are not meant to
109 insert stuff in the buffer. (#390514, Yevgen Muntyan)
111 2007-01-02 Matthias Clasen <mclasen@redhat.com>
113 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
115 2007-01-02 Matthias Clasen <mclasen@redhat.com>
117 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
118 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
120 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
122 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
124 2007-01-01 Matthias Clasen <mclasen@redhat.com>
126 * gtk/gtkscrolledwindow.h:
127 * gtk/gtkscrolledwindow.c: Only handle key bindings
128 for scrolling if the scrollbars are visible.
129 (#340135, Christian Persch)
131 2007-01-01 Matthias Clasen <mclasen@redhat.com>
133 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
134 Don't segfault on horizontal scrolling.
136 2007-01-01 Matthias Clasen <mclasen@redhat.com>
139 * gtk/gtknotebook.c: Only handle key bindings for
140 tab reordering if the tabs are shown and reorderable.
141 (#390468, Yevgen Muntyan)
143 * gtk/gtkmarshalers.list: Add required marshaler
145 2007-01-01 Matthias Clasen <mclasen@redhat.com>
147 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
148 Mention in the docs that the return value is
149 NULL-terminated. (#383373, Christian Neumair)
151 2007-01-01 Matthias Clasen <mclasen@redhat.com>
153 * gtk/gtkicontheme.c (load_themes): Waste less time
154 with non-directories. (#391725, Chris Wilson)
156 2007-01-01 Matthias Clasen <mclasen@redhat.com>
158 * gtk/gtkcellrendererprogress.c: Implement activity mode
159 for GtkCellRendererProgress. (#377851, Brad Taylor)
161 2007-01-01 Matthias Clasen <mclasen@redhat.com>
163 Fix some IPP compliance issues. (#391523, Albrecht Dress)
165 * modules/printbackends/cups/gtkcupsutils.c
166 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
168 * modules/printbackends/cups/gtkprintbackendcups.c
169 (gtk_print_backend_cups_print_stream): Don't add the
170 requesting-user-name attribute a second time.
172 2007-01-01 Matthias Clasen <mclasen@redhat.com>
174 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
176 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
178 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
179 right object when disconnecting from the GtkRecentManager::changed
180 signal; save us a few indirections using a variable.
182 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
184 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
185 disconnections into the dispose function, as well as the
186 object unrefs; reset every handler id and the
187 pointers. (suggested by Paolo Borelli, #390873)
189 2006-12-31 Matthias Clasen <mclasen@redhat.com>
191 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
194 2006-12-30 Matthias Clasen <mclasen@redhat.com>
196 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
197 scroll timeout. (#390872, Yevgen Muntyan)
199 2006-12-30 Matthias Clasen <mclasen@redhat.com>
201 * gtk/gtkprintoperation-unix.c:
202 * gtk/gtkprintbackend.c:
203 * gtk/gtkfilechooserdefault.c:
204 * gtk/gtksettings.c: Move a few settings to gtksettings.c
205 to make sure they show up in the docs. (#365364, Christian
208 2006-12-30 Matthias Clasen <mclasen@redhat.com>
210 * gtk/gtkassistant.c: Redraw assistant on reallocate
211 to avoid rendering glitches. (#343956, Christian
212 Persch, Carlos Garnacho)
214 2006-12-30 Matthias Clasen <mclasen@redhat.com>
216 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
218 2006-12-30 Matthias Clasen <mclasen@redhat.com>
220 * gtk/gtkaction.c: Improve the docs of the "label"
221 property. (#341730, Kristof Vansant)
223 2006-12-30 Matthias Clasen <mclasen@redhat.com>
225 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
226 Correctly handle min size. (#320465, Philipp Langdale)
228 2006-12-30 Matthias Clasen <mclasen@redhat.com>
230 * gtk/prop-editor.c: Implement editing of flags.
232 2006-12-30 Matthias Clasen <mclasen@redhat.com>
237 * gtk/gtkstatusbar.c:
238 * gtk/gtktextview.c: Don't install cursors on insensitive
239 widgets. (#358864, Jan Schampera)
241 2006-12-29 Matthias Clasen <mclasen@redhat.com>
243 * gtk/gtkrecentmanager.h:
244 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
247 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
250 * gtk/gtkentry.c (blink_cb):
251 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
252 if focus went missing. Just warn, clean up and continue.
255 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
257 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
258 originally received the event is a notebook page. (#315440, reported
261 2006-12-29 Matthias Clasen <mclasen@redhat.com>
263 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
266 2006-12-29 Matthias Clasen <mclasen@redhat.com>
268 * tests/prop-editor.c: Display children of containers
269 and cell renderers of cell layouts.
272 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
273 New function to get the cell renderers of a cell layout.
275 * gtk/gtktreeviewcolumn.c:
277 * gtk/gtkiconview.c: Implement get_cells.
279 2006-12-28 Matthias Clasen <mclasen@redhat.com>
281 * gtk/gtkiconview.c: Use word wrapping by default, and
282 center multiline labels. (#318763, Ross Burton)
284 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
285 case for single-line layouts.
287 2006-12-28 Matthias Clasen <mclasen@redhat.com>
289 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
292 * gtk/gtkuimanager.c (update_node): Only use the results
293 of find_menu/toolbar_position() if they succeed. May fix
296 2006-12-28 Matthias Clasen <mclasen@redhat.com>
298 * gdk/gdk.c: Fix some formatting errors in docs.
300 2006-12-28 Tor Lillqvist <tml@novell.com>
302 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
303 (gtk_status_icon_update_image): Don't leak HICONs on
304 Win32. (#364868, Hiroyuki Yamamoto)
306 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
308 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
310 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
311 * gtk/gtkmarshalers.list: add new marshaler definition.
312 * gtk/gtkenums.h: add GtkDragResult enum.
314 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
315 operation wasn't successful.
316 (_gtk_drag_source_handle_event) (gtk_drag_drop)
317 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
318 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
319 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
320 gtk_drag_drop_finished() the operation result.
322 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
323 (gtk_notebook_drag_data_get): do not call window creation hook here.
324 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
325 target, instead connect to "drag-failed".
326 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
328 2006-12-28 Mikael Hallendal <micke@imendio.com>
330 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
331 integration into gdkeventloop-quartz.c.
333 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
335 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
338 2006-12-27 Matthias Clasen <mclasen@redhat.com>
340 * modules/printbackends/lpr/gtkprintbackendlpr.c
341 (gtk_print_backend_lpr_print_stream): Close the io channel
342 on unref. (#390159, Joe Markus Clarke)
344 2006-12-27 Matthias Clasen <mclasen@redhat.com>
346 * gdk/gdk.h: Remove redundant declarations (#390097,
349 2006-12-27 Kristian Rietveld <kris@gtk.org>
351 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
353 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
354 gtk-alternative-sort-arrows.
356 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
359 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
360 gtk-alternative-sort-arrows setting to true.
362 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
363 invert direction if gtk-alternative-sort-arrows is TRUE.
365 2006-12-27 Tor Lillqvist <tml@novell.com>
367 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
368 gtk_status_icon_set_screen.
370 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
371 on Windows. Keep track of where the last button click on the
372 taskbar icon took place, and return that. Obviously not correct if
373 no button has ever been clicked on the icon, or if the geometry of
374 the taskbar has changed since. But for most use cases where a menu
375 is going to be displayed as a direct result of a button click on
376 the status icon, works fine. (#377349)
378 Implement getting the orientation property on Windows.
380 (gtk_status_icon_embedded_changed)
381 (gtk_status_icon_orientation_changed): Ifdefify these functions
382 that are used only on X11.
384 2006-12-27 Tor Lillqvist <tml@novell.com>
386 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
387 typo. (#390035, Kazuki Iwamoto)
389 2006-12-27 Matthias Clasen <mclasen@redhat.com>
391 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
393 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
394 (gtk_combo_box_unset_model): Handle repeated unsetting
395 of models without warnings. (#367529, Robert Ancell)
397 2006-12-27 Matthias Clasen <mclasen@redhat.com>
399 * modules/printbackends/cups/gtkcupsutils.c:
400 * modules/printbackends/cups/gtkprintbackendcups.c: Use
401 getters for http fields where available. (#364866,
404 2006-12-27 Matthias Clasen <mclasen@redhat.com>
406 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
409 2006-12-27 Matthias Clasen <mclasen@redhat.com>
411 * gtk/gtkuimanager.c (update_node): If a required action
412 is missing, don't recurse over the children. (#349119,
415 2006-12-27 Matthias Clasen <mclasen@redhat.com>
417 Fix a few problems with nested menus in comboboxes
418 (#386694, Yevgen Muntyan)
420 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
421 connect the activate callback.
422 (gtk_combo_box_menu_item_activate): Do nothing if called on
423 an item with a submenu.
424 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
427 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
429 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
430 filechooser button. Bug 353196.
432 2006-12-26 Kristian Rietveld <kris@gtk.org>
434 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
435 the search dialog timeout never to be refreshed. (#389581,
436 Andrzej Szombierski).
438 2006-12-26 Kristian Rietveld <kris@gtk.org>
440 Lots of scrolling fixes. Made scrolling work properly in not fully
441 validated tree views; fixed a bunch of corner cases.
443 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
444 upper - page_size, we know it is located at the end so the test for
445 dy + height has been dropped.
446 In the same case if area_below < 0, we know this is the last node
447 in the tree view so area_above is page_size - height of this row.
448 (validate_visible_area): got rid of subtracting new_height -
449 old_height from area_{below,above}, it didn't make any sense at
450 all and the full height of the row should be subtracted instead.
451 (validate_visible_area): when scrolling to a given path, set the
452 top row directly together with the dy offset, then sync that top_row
454 (gtk_tree_view_set_top_row): new function to directly set a top_row.
455 (gtk_tree_view_dy_to_top_row): refactored to use
456 gtk_tree_view_set_top_row().
457 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
458 (gtk_tree_view_adjustment_changed): only update our dy and
459 top_row if the adjustment's dy actually changed.
461 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
463 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
464 Return the correct value from gtk_notebook_insert_page if the
465 page-added handler reorders the tabs. Bug #345094.
467 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
469 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
471 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
472 scrolling when hovering with a detached tab.
473 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
474 focus tab has changed during a tab DND operation.
475 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
476 (gtk_notebook_paint): do not take cur_page as a reference to paint the
477 box if it's detached.
478 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
479 to the detached tab if we hover the arrows during a tabs detaching
480 operation, do not allocate it unconditionally in 0,0.
482 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
484 Expose improvements for GtkNotebook. Bug #383435
486 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
488 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
489 (gtk_notebook_draw_tab): do not send handmade expose events to tab
492 2006-12-26 Matthias Clasen <mclasen@redhat.com>
494 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
495 FALSE. (#389623, Carlos Garnacho Parro)
497 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
500 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
502 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
503 (gtk_plug_unrealize): Notify the "embedded" property also on
504 normal construction and when destroying the socket window.
507 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
509 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
510 (gtk_about_dialog_init), (display_credits_dialog),
511 (display_license_dialog):
512 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
513 (gtk_file_chooser_dialog_init),
514 (gtk_file_chooser_dialog_constructor),
515 (gtk_file_chooser_dialog_unmap):
516 * gtk/gtkrecentchooserdefault.c:
517 (_gtk_recent_chooser_default_init):
518 * gtk/gtkrecentchooserdialog.c:
519 (gtk_recent_chooser_dialog_class_init),
520 (gtk_recent_chooser_dialog_init),
521 (gtk_recent_chooser_dialog_constructor),
522 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
523 instead of using style-set handlers. Fix the filechooser's spacing
524 between content and action area to 12px. Bug #372447.
526 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
528 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
529 Don't assume statusbar->label is the statusbar's frame's child when
530 shrinking the size allocation when the grip is shown. Bug #372452.
532 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
534 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
535 (add_custom_paper): Fix mem leaks. Bug #389194.
537 2006-12-24 Matthias Clasen <mclasen@redhat.com>
539 * gtk/gtktextutil.c: Remove debug output.
541 * gtk/gtktextview.c: Improve the DND scrolling
542 behaviour. (#92387, Carlos Garnacho Parro)
544 * gtk/gtkaccellabel.c: Improve translators comments.
545 (#389298, Christian Persch)
547 2006-12-24 Bastien Nocera <hadess@hadess.net>
549 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
552 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
554 * docs/reference/gtk/gtk-sections.txt:
556 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
557 * gtk/gtkprinter-private.h:
558 * gtk/gtkprinter.c: (gtk_printer_list_papers):
559 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
561 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
563 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
564 when is selected in page setup dialog. Fixes bug #365047.
566 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
568 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
569 Use gtk_border_free when freeing border.
571 2006-12-24 Matthias Clasen <mclasen@redhat.com>
573 * gtk/gtkentry.c (gtk_entry_button_press): When
574 shift-clicking, keep the larger part of the selection
575 selected. (#353709, Benjamin Otte)
577 * gtk/gtkbutton.c (gtk_button_get_props): Use
578 gtk_border_free when freeing borders.
580 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
581 careful when faking a button release. (#323146,
584 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
585 handle with the right orientation, depending on the
586 position of the handlebox. (#159764, Benjamin Berg)
588 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
590 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
593 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
595 Bug 340141 – Update to Pango 1.16 API
597 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
598 (gdk_pango_layout_line_get_clip_region):
599 * gtk/gtkcalendar.c (gtk_calendar_size_request):
600 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
601 (get_layout_position), (gtk_entry_find_position),
602 (gtk_entry_adjust_scroll):
603 * gtk/gtkiconview.c (get_pango_text_offsets):
604 * gtk/gtklabel.c (get_cursor_direction):
605 * gtk/gtkstyle.c (get_insensitive_layout):
606 * gtk/gtktextdisplay.c (render_para):
607 * gtk/gtktextlayout.c (allocate_child_widgets),
608 (find_display_line_below), (find_display_line_above),
609 (gtk_text_layout_move_iter_to_previous_line),
610 (gtk_text_layout_move_iter_to_next_line),
611 (gtk_text_layout_move_iter_to_line_end),
612 (gtk_text_layout_iter_starts_line),
613 (gtk_text_layout_move_iter_to_x):
614 * gtk/gtktextutil.c (limit_layout_lines):
615 Use the _readonly version of pango_layout_iter_get_line(),
616 pango_layout_iter_get_run(), pango_layout_get_line(), and
617 pango_layout_get_lines().
619 * gtk/gtkmain.c (gtk_get_default_language): Use
620 pango_get_default_language().
622 2006-12-24 Matthias Clasen <mclasen@redhat.com>
624 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
625 and notify:text only once. The same fix was applied
626 for replacing the selection via DND or copy-and-paste.
627 (#64998, Damon Chaplin, Sven Herzberg)
629 2006-12-23 Matthias Clasen <mclasen@redhat.com>
631 * gtk/gtkimmulticontext.c: Be careful to not override
632 GTK+ translations with the translations of the input
633 method. (#317080, Tor Lillqvist)
635 * modules/input/imcedilla.c: Use standard macros
636 for translation domain and locale dir.
638 * gtk/gtkimcontextsimple.c: Allow composing l with
639 stroke. (#349638, Daniel Lublin)
641 * gtk/gen-paper-names.c: Fix a thinko in the suffix
642 calculation. (#382369, Christian Persch)
644 * gtk/paper_names_offsets.c: Regenerated.
646 2006-12-22 Matthias Clasen <mclasen@redhat.com>
648 * modules/engines/pixbuf/pixbuf.h:
649 * modules/engines/pixbuf/pixbuf-rc-style.h:
650 * modules/engines/pixbuf/pixbuf-style.h: Move
651 G_GNUC_INTERNAL before function declarations. (#352276,
654 2006-12-22 Matthias Clasen <mclasen@redhat.com>
656 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
659 2006-12-22 Matthias Clasen <mclasen@redhat.com>
661 * *.c: Replace a lot of idle and timeout calls by
662 the new gdk_threads api.
666 * gdk/gdk.c: Add functions to allow threadsafe handling
667 of idles and timeouts wrt. to the GDK lock. (#321886,
670 2006-12-22 Matthias Clasen <mclasen@redhat.com>
672 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
673 (#340141, Behdad Esfahbod)
675 * configure.in: Check for getc_unlocked.
677 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
678 unavailable. (#381499)
680 * tests/teststatusicon.c: Fix a typo
682 2006-12-22 Matthias Clasen <mclasen@redhat.com>
684 Make it possible to track the embeddedness of
685 statusicon (#387215, Martyn Russell, patch by Christian
688 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
690 * gtk/gtkplug-x11.c: Add an embedded property.
691 * tests/teststatusicon.c: Test the new properties.
693 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
694 leak draw_border. (#387170, Kjartan Maraas)
696 2006-12-21 Matthias Clasen <mclasen@redhat.com>
698 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
699 Typo fix. (#388123, Murray Cumming)
701 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
702 Generate double-click events. (#380421, Tommi Komulainen)
704 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
705 (_gdk_input_enter_event): Correct return_if_fail checks.
706 (#379803, Tommi Komulainen)
708 * gdk/gdkdisplay.c: Improve the docs of some functions operating
709 on the default display. (##353438, Mariano Suárez-Alvarez)
711 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
713 * docs/reference/gdk/gdk-sections.txt:
714 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
715 converting a GdkColor to a string (#373856).
717 * configure.in: Bump pango requirement to 1.15.2.
719 2006-12-20 Matthias Clasen <mclasen@redhat.com>
721 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
724 * gdk/keyname-table.h: Regenerated
726 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
729 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
730 Silently return if a drag is already in progress, rather
731 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
733 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
734 Allow any GtkDialog that implements GtkFileChooser as
735 dialog. (#335473, Tommi Komulainen)
737 2006-12-20 Mikael Hallendal <micke@imendio.com>
739 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
740 change in the quartz backend.
742 2006-12-20 Mikael Hallendal <micke@imendio.com>
744 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
745 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
747 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
749 2006-12-19 Matthias Clasen <mclasen@redhat.com>
751 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
752 format of page ranges, and improve the page sequence icon
753 for the case of n_copies == 1.
755 2006-12-19 Mikael Hallendal <micke@imendio.com>
757 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
758 routine so that it can be used from libgtk as well (needed for
759 upcoming GtkStatusIcon support in the Quartz port).
760 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
761 created from GDK, this is not true for the status icon.
762 * gdk/quartz/gdkprivate-quartz.h:
763 * gdk/quartz/gdkquartz.h: Added
764 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
765 the status icon code.
767 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
769 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
770 gtk_message_dialog_set_image ()
772 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
773 (setting "window-placement-set" could result in a crash because
774 of boolean/enum mixup)
776 2006-12-15 Federico Mena Quintero <federico@novell.com>
778 Merged from gtk-2-10:
780 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
781 the case where the new title is the same as the old title, to
782 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
783 equivalent). Handle the case where title == priv->title. This
784 was found by the LSB compatibility tests:
785 https://bugzilla.novell.com/show_bug.cgi?id=223882
787 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
789 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
790 more closely resemble its Win32 counterpart. Bug #340204.
792 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
794 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
795 placed inside their GdkWindow. Bug #385672.
797 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
799 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
801 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
803 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
804 drawn with extra line below tab in MS-Windows theme. Patch by
807 2006-12-13 Matthias Clasen <mclasen@redhat.com>
809 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
810 for print preview. (#370041, Ghee Teo)
812 2006-12-11 Matthias Clasen <mclasen@redhat.com>
814 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
815 careful when overdrawing antialiased text. (#352435, Alex Jones,
816 patch by Benjamin Otte)
818 * gtk/gtksettings.c: Change the way in which color scheme information
819 is merged to correctly handle vanishing colors. (#374420,
820 Benjamin Berg, patch by Callum McKenzie)
821 Also allow to separate entries in color schemes by ';'
824 2006-12-10 Matthias Clasen <mclasen@redhat.com>
826 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
827 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
829 2006-12-10 Kristian Rietveld <kris@gtk.org>
831 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
832 cancel editing (ie. don't accept changes) when the entry loses
833 focus. (Fixes #164494, reported by Chris Rouch).
835 2006-12-10 Matthias Clasen <mclasen@redhat.com>
837 * configure.in: Correct a misapplied patch.
839 2006-12-10 Tor Lillqvist <tml@novell.com>
841 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
842 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
843 developer zipfile. Users might add pixbuf loaders or immodules
844 even if they are not interested in developing gtk+-using software.
846 2006-12-10 Matthias Clasen <mclasen@redhat.com>
848 * configure.in: Check for crt_extern.h and _NSGetEnviron.
849 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
850 environ is not available. (#384168, Min Sik Kim)
852 2006-12-07 Paolo Maggi <paolo@gnome.org>
856 * gtk/gtkentry.c (gtk_entry_set_text): check for
857 completion->priv->changed_id > 0 before calling
858 g_signal_handler_[un]block.
859 (gtk_entry_completion_key_press): does not block/unblock the "changed"
860 signal before calling gtk_entry_set_text.
862 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
864 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
865 xthickness/ythickness, they aren't used any longer for drawing.
867 2006-12-07 Matthias Clasen <mclasen@redhat.com>
869 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
870 underlines by giving labels a small draw-border.
872 2006-12-06 Kristian Rietveld <kris@gtk.org>
874 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
875 draw progress bar through theme engine instead of using our own
876 custom cairo drawing code (#377244, patch from Carlos Garnacho).
878 2006-12-06 Matthias Clasen <mclasen@redhat.com>
880 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
881 Update the sensitivity of the collate checkbutton more frequently,
882 proposed by Tim Waugh.
884 2006-12-04 Matthias Clasen <mclasen@redhat.com>
886 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
887 since we no longer set window titles.
889 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
891 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
892 (gtk_page_setup_set_paper_size): Don't leak the old page size when
893 setting a new one. Bug #382314.
895 2006-12-03 Michael Natterer <mitch@gimp.org>
897 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
899 2006-12-03 Kristian Rietveld <kris@gtk.org>
901 Make sure [xy]_offset are always being initialized, fix pixbuf
902 renderer padding. (#108235, Sven Neumann).
904 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
905 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
908 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
909 always initialize [xy]_offset.
910 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
911 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
914 2006-12-03 Kristian Rietveld <kris@gtk.org>
916 * gtk/gtktreeview.c (validate_visible_area): when not using an
917 explicit alignment, use the full area of the row (not just dy)
918 to determine how to implicitly align it. (Fixes #363191, reported
919 by Federico Mena Quintero).
921 2006-12-02 Matthias Clasen <mclasen@redhat.com>
923 * gtk/gtkicontheme.c (insert_theme): Properly clean up
924 if an icon theme index file has no directories. (#381236)
926 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
928 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
929 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
931 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
933 Remove the broken Thai input method and add a functional Thai and Lao
934 input method by Theppitak Karoonboonyanan. (#81031)
936 * modules/input/imthai.c:
937 * modules/input/gtkimcontextthai.c:
938 * modules/input/gtkimcontextthai.h:
939 * modules/input/thai-charprop.c:
940 * modules/input/thai-charprop.h:
943 * modules/input/imthai-broken.c:
946 * modules/input/Makefile.am:
949 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
951 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
953 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
955 * gtk/gtktextview.c: applied patch by Colin Leroy for
956 Control+GDK_KP_Left to move one word to the left, #356255.
958 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
960 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
963 2006-11-25 Matthias Clasen <mclasen@redhat.com>
965 * modules/printbackends/cups/gtkprintbackendcups.c: Make
966 print dialog work when 'BrowseShortNames Off' is specified
967 in cups configuration. Patch by Tim Waugh.
969 2006-11-24 Michael Natterer <mitch@imendio.com>
971 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
972 can't go up/down, consult gtk_widget_keynav_failed() and leave the
973 widget if it returns FALSE (bug #322640).
975 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
977 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
979 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
981 * gtk/gtkrecentmanager.c:
982 (get_uri_shortname_for_display): g_filename_from_uri() might
983 fail; catch the failure and fall back to the non-local URI
986 2006-11-19 Mark McLoughlin <mark@skynet.ie>
988 Fixes bug #376502 - multi-screen support for GtkStatusIcon
990 * gtk/gtkstatusicon.[ch]:
991 (gtk_status_icon_set_screen),
992 (gtk_status_icon_get_screen): add multi-screen API. Allows
993 an app to display an icon on a non-default screen
994 (gtk_status_icon_class_init),
995 (gtk_status_icon_set_property),
996 (gtk_status_icon_get_property): add a "screen" property
998 * tests/teststatusicon.c: update to test on multiple screens
1000 2006-11-17 Matthias Clasen <mclasen@redhat.com>
1002 Fix problems with drag cancellation. (#376535, Michael Natterer)
1004 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
1005 handlers before emitting drag-end.
1006 (gtk_drag_end): Disconnect signal handlers before removing
1009 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
1011 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
1012 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
1014 2006-11-16 Michael Natterer <mitch@imendio.com>
1016 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
1017 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
1018 and gtk-keynav-wrap-around and wrap around, beep or continue outside
1019 the group manually (bug #322640).
1021 2006-11-16 Michael Natterer <mitch@imendio.com>
1023 Add new infrastructure for notifications of failed keyboard
1024 navigation and navigation with restricted set of keys.
1026 The patch handles configurable beeping, navigating the GUI with
1027 cursor keys only (as in phone environments), and configurable
1028 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
1031 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
1032 gtk-keynav-wrap-around and gtk-error-bell.
1034 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
1035 API to emit it. Added New function gtk_widget_error_bell() which
1036 looks at the gtk-error-bell setting and calls gdk_window_beep()
1039 * gtk/gtk.symbols: add the new widget symbols.
1041 * gtk/gtkcellrendereraccel.c
1042 * gtk/gtkimcontextsimple.c
1044 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
1045 gtk-error-bell setting instead of calling gdk_display_beep()
1052 * gtk/gtkmenushell.c
1053 * gtk/gtkspinbutton.c
1055 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
1060 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
1061 cursor navigation and leave the widget if it returns FALSE.
1063 * gtk/gtkmenushell.c
1064 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
1067 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
1068 whether to to wrap-around, and don't select active items on cursor
1069 navigation if gtk-keynav-cursor-only is TRUE. Should look at
1070 gtk-keynav-wrap-around too, will look into that.
1072 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1074 * gtk/gtkrecentmanager.c:
1075 (gtk_recent_info_get_uri_display): Return the URI
1076 of the GtkRecentInfo object (upgraded to UTF-8 if
1077 needed) in case of non-local file. (#351945)
1079 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1081 * gtk/gtkrecentchoosermenu.c:
1082 (gtk_recent_chooser_menu_add_tip): Apply the tip only
1083 if we have a displayable name for the item. (#365031,
1084 patch by padraig.obriain(at)sun.com)
1086 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1088 * gtk/gtkrecentmanager.c: Provide a fast path returning
1089 NULL when the limit is set to 0.
1091 * gtk/gtkrecentchooserdefault.c:
1092 * gtk/gtkrecentchoosermenu.c: Add the same fast path
1093 inside the RecentChooser implementation; add a check
1094 in the list clamping code. (#373466 and duplicates)
1096 2006-11-15 Matthias Clasen <mclasen@redhat.com>
1098 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
1099 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
1101 2006-11-15 Michael Natterer <mitch@imendio.com>
1103 * gtk/gtkrange.[ch]: added properties "fill-level",
1104 "show-fill-level" and "restrict-to-fill-level" and getters/setters
1105 for them. The "fill level" is an additional marker on the range's
1106 trough than can be e.g. used to indicate the amount of
1107 pre-buffering in a range showing the play position of streamed
1108 media. See the embedded API docs for details. Made GtkRangeLayout
1109 a GTypeInstance private struct and removed finalize()
1110 implementation. Fixes bug #349808
1112 * gtk/gtk.symbols: added the new symbols.
1114 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
1116 * configure.in: Make libtool magic robust. (#352795)
1118 2006-11-13 Paolo Borelli <pborelli@katamail.com>
1120 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
1123 2006-11-09 Kristian Rietveld <kris@imendio.com>
1125 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
1126 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
1128 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
1130 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
1132 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
1134 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
1135 timeout running if the slider buttons are hidden. (#372527)
1137 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
1139 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
1140 the "Location" label bold. Bug #372449.
1142 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
1144 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
1145 non-focused tabs xthickness/ythickness thinner. (#353962)
1147 2006-11-07 Paolo Borelli <pborelli@katamail.com>
1149 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
1150 corruption (#357050).
1152 2006-11-06 Alexander Larsson <alexl@redhat.com>
1154 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
1155 (gtk_drag_source_info_destroy), (gtk_drag_end),
1156 (gtk_drag_grab_notify_cb):
1157 Cancel drag when the grab is shadowed. (#122688)
1159 2006-11-01 Kristian Rietveld <kris@imendio.com>
1161 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
1162 (gtk_combo_box_size_request): add arrow-size property to control
1163 the minimum size of the arrow, have the arrow scale up with the
1164 font by default. (#357950).
1166 2006-10-30 Kristian Rietveld <kris@gtk.org>
1168 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
1169 forget to queue a draw for the new cursor node. (Fixes #366548,
1170 reported by Sven Herzberg).
1172 2006-10-30 Michael Natterer <mitch@imendio.com>
1174 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
1175 only if we actually cancel a drag. Fixes bug #58389.
1177 2006-10-30 Kristian Rietveld <kris@gtk.org>
1179 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
1180 keybindings to collapse/expand rows instead of moving the focus
1181 cursor. (#105895, Brian Bober and others).
1183 2006-10-29 Kristian Rietveld <kris@gtk.org>
1185 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
1186 child removal in row-expanded callback. (#366782, John Ellis).
1188 2006-10-29 Tor Lillqvist <tml@novell.com>
1190 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
1191 of the small icon of the window class. (#152620, Kazuki Iwamoto)
1193 2006-10-29 Tor Lillqvist <tml@novell.com>
1195 * gdk/win32/gdkcursor-win32.c
1196 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
1197 for instance the built-in GDK ones.
1199 2006-10-27 Kristian Rietveld <kris@gtk.org>
1201 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
1202 case to not overwrite the variables in the lower scope (which are
1203 used later on ...), get the path correctly and bail out when there
1204 isn't a node above us. (#359231).
1206 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
1208 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
1210 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
1212 * gtk/gtk.symbols: Add missing symbols to so make check can pass
1214 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
1216 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
1217 to free GDI Pen resources, introduced by bug 340201.(#364514)
1219 2006-10-18 Kristian Rietveld <kris@imendio.com>
1221 * tests/testcombo.c (main): connect to notify::popup-shown instead of
1222 popup-show (the latter does not exist).
1224 2006-10-15 Paolo Borelli <pborelli@katamail.com>
1226 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
1229 2006-10-12 Michael Natterer <mitch@imendio.com>
1231 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
1232 (committed the wrong patch).
1234 2006-10-12 Michael Natterer <mitch@imendio.com>
1236 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
1237 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
1238 obsolete now. Fixes bug #358293.
1240 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
1242 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
1244 2006-10-11 Tor Lillqvist <tml@novell.com>
1246 * configure.in: Enable having some gdk-pixbuf loaders built-in
1247 even if loading the others dynamically. Define Automake
1248 conditional INCLUDE_FOO for each loader as TRUE if that loader is
1249 built-in. See also gdk-pixbuf/ChangeLog.
1251 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
1253 * docs/reference/gtk/gtk-sections.txt:
1254 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
1256 2006-10-11 Tor Lillqvist <tml@novell.com>
1258 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
1261 2006-10-11 Tor Lillqvist <tml@novell.com>
1263 Merge from 2.10 branch:
1265 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
1266 environment variable LC_ALL or LANG is set, set the Win32 thread
1267 locale to the corresponding locale. Then call the C library
1268 setlocale() to set the C library locale accordingly. The
1269 inconsistency mentioned below is gone. (#339756) Do some special
1270 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
1271 scripts for Azeri, Uzbek and Serbian.
1272 (enum_locale_proc): Helper function for the above functionality.
1274 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
1275 if the environment variables are set here, as they have already
1276 been taken into account and the Win32 thread locale has been
1279 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
1281 * gtk/tmpl/gtkbindings.sgml:
1282 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
1283 inline docs. applied wording fixes suggested by Martyn Russell.
1285 2006-10-09 Matthias Clasen <mclasen@redhat.com>
1287 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
1288 Update the docs to state which out parameters may be NULL.
1289 (#360870, Attilio Fiandrotti)
1291 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1293 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
1294 a typo. (#359542, Ghee Teo)
1296 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1298 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
1299 reorder tabs if the focus is in the tab. (#350342, Carlos
1302 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
1304 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
1306 2006-10-08 Kristian Rietveld <kris@gtk.org>
1308 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
1309 (gtk_tree_view_set_show_expanders),
1310 (gtk_tree_view_get_show_expanders): add getter/setter for
1311 show-expanders property, queue a redraw when this property
1312 is toggled (#351167, Martin Ejdestig),
1313 (gtk_tree_view_set_level_indentation),
1314 (gtk_tree_view_get_level_indentation): also add getter/setter
1315 and docs for level-indentation property.
1317 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1319 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
1320 leak a list. (#360350, Benjamin Berg)
1322 * Apply a cleanup patch by Kjartan Maraas (#341812)
1324 2006-10-07 Tor Lillqvist <tml@novell.com>
1326 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
1327 locale's first day of week setting on Win32. (#339752, Bogdan
1328 Nicula) Don't do this if one of the environment variables that
1329 affect gettext is set, though. In that case use the week start day
1330 from the corresponding message catalog.
1332 Unfortunately the same logic isn't possible in the weekday and
1333 month name lookup; there even if you have set one of the
1334 aforementioned environment variables, you still get the weekday
1335 and month names from the Win32 thread locale. Yes, this is
1338 Use only wide-character API in the Win32 code in this file, too.
1340 2006-10-06 Matthias Clasen <mclasen@redhat.com>
1342 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
1343 Fix the docs. (#360112)
1345 * gtk/gtkcellview.c: Don't set the background of the
1346 window in a no-window widget. (#359581, Xan Lopez)
1349 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
1351 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
1352 test correctly. (#359845)
1354 2006-10-05 Michael Natterer <mitch@imendio.com>
1356 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
1357 rid of a key binding (in fact, it only lets it appear unbound).
1359 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
1360 "guint marks_unbound : 1"
1362 (gtk_binding_entry_skip): new API which marks the entry as unbound.
1364 Changed code so it returns FALSE when "marks_unbound == TRUE" is
1365 encountered while activating bindings, effectively letting the
1366 binding appear unbound (regardless of still existing bindings in
1367 lower binding priority levels). Fixes bug #358329.
1369 (gtk_binding_entry_add)
1370 (gtk_binding_entry_clear)
1371 (gtk_binding_entry_add_signall)
1372 (gtk_binding_parse_binding): deprected these functions.
1374 (_gtk_binding_parse_binding)
1375 (_gtk_binding_entry_add_signall): new internal API.
1377 * gtk/gtk.symbols: changed accordingly.
1379 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1381 Fix interaction of GtkEntryCompletion with input
1382 methods. (#354495, Diego Escalante Urrelo)
1384 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
1385 the im context if we actually handle the key event.
1387 * gtk/gtkentrycompletion.c: Also propagate key release events
1390 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1392 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
1393 Fix a typo. (#359052, Ghee Teo)
1395 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
1396 reduce relocations. (#359053)
1398 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1400 * modules/printbackends/cups/gtkcupsutils.c:
1401 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
1402 the fix for bug 357280.
1404 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1406 * gdk-pixbuf/Makefile.am:
1409 Include pltcheck.sh in EXTRA_DIST.
1411 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1413 * gdk/x11/gdkevents-x11.c: Move all includes before including
1416 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1418 * gtk/Makefile.am: Fix typo in file name. (#358931)
1420 2006-10-02 Matthias Clasen <mclasen@redhat.com>
1422 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
1423 Only use the group name field if cups is new enough. (#357280)
1425 * gtk/gtksizegroup.c: Make sure that the quarks are
1426 initialized before using them. (#353736)
1428 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
1429 replace existing links. (#354849, James Evans)
1431 2006-10-01 Matthias Clasen <mclasen@redhat.com>
1433 * gtk/gtkexpander.c (gtk_expander_realize)
1434 (gtk_expander_size_allocate): Make the event_window large
1435 enough to cover the full height of the label_widget. (#358351,
1438 2006-10-01 Tor Lillqvist <tml@novell.com>
1440 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
1442 2006-09-30 Matthias Clasen <mclasen@redhat.com>
1444 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
1445 against base_path being NULL. (#358405, many reporters)
1447 2006-09-29 Matthias Clasen <mclasen@redhat.com>
1449 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
1450 to avoid a deadlock.
1452 2006-09-27 Kristian Rietveld <kris@imendio.com>
1454 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
1455 (gtk_tree_model_filter_ref_node),
1456 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
1457 in sync with each other and the sort model.
1459 2006-09-27 Kristian Rietveld <kris@imendio.com>
1461 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
1462 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
1463 (gtk_tree_model_filter_new): unref the virtual root path once that
1464 node (or one if its ancestors) is deleted, set virtual_root_deleted
1465 so we only unref it once.
1467 2006-09-27 Kristian Rietveld <kris@imendio.com>
1469 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
1470 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
1471 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
1472 (gtk_tree_model_sort_free_level): bring zero ref count loops in
1474 (gtk_tree_model_sort_free_level): free child levels before
1475 decreasing the zero ref count of the current level,
1476 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
1479 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1481 * demos/gtk-demo/*.c:
1482 * gtk/gtkeventbox.c:
1483 * gtk/gtkprintoperation.c: Fix typos. String change.
1485 2006-09-25 Kristian Rietveld <kris@gtk.org>
1487 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
1488 has already been realized; scroll to background area instead of
1489 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
1491 2006-09-25 Kristian Rietveld <kris@gtk.org>
1493 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
1494 to create the GCs if the widget is realized. (Fixes #357578).
1496 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1498 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
1499 the list of children (#357454, Paolo Borelli)
1501 2006-09-25 Michael Natterer <mitch@imendio.com>
1503 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
1504 display->input_windows with g_free(), not g_object_unref()
1505 (#357566, Tommi Komulainen).
1507 2006-09-24 Kristian Rietveld <kris@gtk.org>
1509 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
1510 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
1511 property to the API (left-over patch from #157439).
1513 2006-09-24 Kristian Rietveld <kris@gtk.org>
1515 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
1516 the indicator if the column has a sort column id (and the model is
1517 sortable) or if the user explicitly requested the indicator
1518 to be shown. (Fixes #352738, Chris Vine).
1520 2006-09-23 Tor Lillqvist <tml@novell.com>
1522 * gtk/Makefile.am: Use EXEEXT.
1524 2006-09-22 Michael Natterer <mitch@imendio.com>
1526 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
1527 and color hashes. Fixes bug #357132.
1529 2006-09-22 Matthias Clasen <mclasen@redhat.com>
1531 Make remote bookmarks work better (#354887)
1533 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
1534 (shortcuts_insert_path):
1535 * gtk/gtkfilechooserbutton.c (change_icon_theme):
1536 (model_add_bookmarks):
1537 (model_update_current_folder):
1538 (update_label_and_image):
1539 If the bookmark points to a remote file, don't call get_info(),
1540 since that may a) take a long time and b) pop up an auth dialog.
1541 Instead, just use a folder icon and create a display name
1544 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
1545 New function to create a suitable display name for a remote
1546 uri. This should really be done in GtkFileSystem.
1548 2006-09-21 Michael Natterer <mitch@imendio.com>
1550 Implement lots of value setters for GdkGC, based on a heavily
1551 modified patch from Thomas Broyer (bug #328853):
1553 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
1554 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
1555 which simply returns RGBA values from a GdkColor's pixel value.
1556 See gdk_quartz_update_context_from_gc() below.
1558 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
1559 of members for the newly suppored GC values. Added enum
1560 GdkQuartzContextValuesMask which is used for setting up the
1561 CGContext for filling and/or stroking.
1563 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
1564 (gdk_quartz_gc_set_values)
1565 (_gdk_windowing_gc_copy): support a lot more GC values.
1567 (gdk_quartz_update_context_from_gc): added
1568 GdkQuartzContextValuesMask parameter and set filling/stroking
1569 parameters accordingly. This function also gained full control
1570 over the FG and BG colors (they can't be set separately any more).
1572 The stipple mask part of the patch doesn't work but seems to take
1573 the right approach and doesn't make things worse, so I applied it.
1575 Did *not* apply the clipping part of the patch since I don't
1576 understand it (I don't understand the version in CVS either, but
1577 it at least works :-)
1579 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
1580 gdk_quartz_update_context_from_gc() and removed separate color
1581 setting calls. Some minor fixes.
1583 * gdk/quartz/gdkwindow-quartz.c
1584 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
1585 fill color manually. We don't have/need a GC here.
1587 2006-09-21 Michael Natterer <mitch@imendio.com>
1589 * gdk/quartz/gdkwindow-quartz.c
1590 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
1591 drawable_impl->wrapper that is the GdkWindow, not the
1592 drawable_impl itself.
1594 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
1596 * gdk/x11/gdkkeys-x11.c:
1597 (get_direction): just check the first shift-level of keyboard
1598 layout for RTL and LTR keysyms() (compliment to #116626)
1600 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
1602 * gtk/gtkviewport.c: always update the bin_window position and size
1603 in size_allocate, even if we don't have a visible child. this fixes
1604 expose artefacts as described in #313508.
1606 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
1607 have no visible child explicit.
1609 2006-09-19 Ryan Lortie <desrt@desrt.ca>
1611 * docs/reference/gdk/gdk-sections.txt:
1614 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
1615 (gdk_pango_layout_get_clip_region): Remove an unused variable.
1616 (gdk_pango_attr_embossed_new): Fix documentation.
1618 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
1620 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
1621 control the arrow/border ratio within the allocation.
1623 * tests/testgtk.c: added a GtkArrow to handle box test.
1625 * tests/testgtkrc: test ::arrow-scaling property.
1627 2006-09-19 Matthias Clasen <mclasen@redhat.com>
1629 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1630 Display an error when we come to the root.
1632 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1634 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
1637 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
1638 bookmarks to the model in local-only mode, to avoid
1639 authentication dialogs pop up for invisible bookmarks, and
1640 to fix issues with separators not being hidden when
1641 they should. (#354887, Dennis Cranston)
1643 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1645 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
1646 treeview use in list mode. (#355732, Richard Hult)
1648 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
1649 change notification for the right property. (#355308,
1652 2006-09-15 Michael Natterer <mitch@imendio.com>
1654 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
1655 header navigation/resizing/reordering to be more readable and lose
1656 one level of nesting.
1658 2006-09-15 Kristian Rietveld <kris@imendio.com>
1660 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
1661 return after handling column button focus; we disable wrap around
1662 with this (which actually happened via a really weird code path).
1665 2006-09-15 Kristian Rietveld <kris@imendio.com>
1667 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
1668 code RTL aware, also break from the loops after we have seen the
1669 focussed column button (Michael Natterer).
1671 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
1673 * tests/testrichtext.c (main): intialize random number generator state
1674 upon program start, to enable truely random testing.
1676 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
1678 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
1679 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
1680 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
1681 GDK_DISABLE_DEPRECATED to allow compile per Behdad
1682 * gdk/quartz/Makefile.am same change as directfb Makefile
1683 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
1685 2006-09-13 Matthias Clasen <mclasen@redhat.com>
1687 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
1688 for the grab widget, to make the color picker work with window
1691 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
1693 signed off by: Dom Lachowicz
1695 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
1696 a large number of improvements to the Microsoft Windows theme engine
1697 which are fully described in the bug report.
1699 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
1701 * tests/testgtk.c: fixed compiler warnings.
1703 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1705 * gtk/gtkfilechooserbutton.c (model_add_special): Request
1706 the display name too, otherwise "Desktop" does not appear
1707 in the file chooser button.
1709 2006-09-10 Tor Lillqvist <tml@novell.com>
1711 * gdk/win32/gdkprivate-win32.h
1712 * gdk/win32/gdkmain-win32.c
1713 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
1714 0x0500 in gdkprivate-win32.h instead of doing it in two source
1715 files. (#355212, Mike Edenfield)
1717 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
1718 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
1720 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1722 * Commit a patch by Behdad to fix typos, omissions and other
1723 errors in the symbol aliasing, and add checks for local PLT
1724 entries. (#354687, Behdad Esfahbod)
1726 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
1727 the flush timeout. (#354043, Nelson Benitez)
1729 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
1730 Improve wording. String change! (#355126, David Lodge)
1732 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
1735 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
1738 2006-09-09 Matthias Clasen <mclasen@redhat.com>
1740 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
1741 (#353916, Chris Wilson)
1743 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
1744 Don't leak the to_reset list. (#353914, Chris Wilson)
1746 * gtk/gtkwidget.c: Add docs for the parent-set signal.
1747 (#353772, Mariano Suárez-Alvarez)
1749 2006-09-08 Matthias Clasen <mclasen@redhat.com>
1751 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
1752 Don't clear clipboards here, since we are called from finalize
1753 and can't emit signals.
1755 * configure.in: Set version to 2.11.0
1757 2006-09-06 Richard Hult <richard@imendio.com>
1759 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
1760 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
1762 2006-09-04 Kristian Rietveld <kris@imendio.com>
1764 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1765 if setting the given folder failed, try setting the parent folder
1766 until we succeed; display an error box at the end.
1768 2006-09-04 Kristian Rietveld <kris@imendio.com>
1770 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
1771 operations spawned by buttons here,
1772 (set_button_image_get_info_cb): bail out if button is NULL, but
1773 do free button_data,
1774 (button_data_free): only free the data if non NULL (since this
1775 function can be called multiple times for the same data), cancel
1776 handle if pending but don't free button_data in this case (will
1777 happen in the callback).
1779 2006-09-04 Michael Natterer <mitch@imendio.com>
1781 * gtk/gtkrc.c (rc_parse_token_or_compound)
1782 (gtk_rc_parse_assignment): serialize floating point values using
1783 locale-independent functions. (#346751, Frederic Crozat)
1785 2006-09-04 Tor Lillqvist <tml@novell.com>
1787 * gdk/win32/gdkevents-win32.c
1788 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
1789 window handling (PeekMessage, PostMessage, SendMessage,
1790 DispatchMessage, DefWindowProc, RegisterClassEx,
1791 CreateWindowEx). (#321597)
1793 2006-09-03 Kristian Rietveld <kris@imendio.com>
1795 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
1796 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
1797 change file_exists_and_is_not_folder checks to get the file info
1798 for the path directly instead of querying the current file folder
1801 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
1804 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
1805 (test_reload_sequence), (test_button_folder_states_for_action): wait
1806 for idle after setting a folder to ensure the async operations to load
1807 the folder are finished,
1808 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
1809 factor out test_confirm_overwrite code so we can add tests for more
1812 2006-09-03 Richard Hult <richard@imendio.com>
1814 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
1815 exposure isn't in the event mask, plug a leak, and check that the
1816 window isn't destroyed.
1817 (isOpaque): Check that the window isn't destroyed, fixes bug
1820 2006-09-03 Matthias Clasen <mclasen@redhat.com>
1822 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
1823 (#354035, Mariano Suárez-Alvarez)
1825 * gtk/gtkmain.c (post_parse_hook):
1826 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
1827 (#354004, Chris Wilson)
1829 2006-09-03 Tor Lillqvist <tml@novell.com>
1831 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
1832 GDK_WINDOW_DISPLAY in the Win32 backend.
1834 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
1837 2006-09-02 Kristian Rietveld <kris@imendio.com>
1839 First part of file chooser fixes.
1841 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
1842 handle in the model for the desktopdir case.
1844 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
1845 volume in case we retrieved it but don't pass it on to insert_path,
1846 (shortcuts_model_create): change the column type for the handles
1847 to pointer instead of GObject so our handle ref counting is not
1849 (show_and_select_paths_finished_loading): don't forget to unref
1852 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
1853 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
1854 remove pending execute_callbacks_idle during dispose, also
1855 execute all callbacks waiting to be run in the next idle,
1856 (queue_*callback), (execute_callbacks_idle): refactor to maintain
1857 a list of callbacks to call per file system instead of globally,
1858 guard the file system during callback invocation,
1859 (gtk_file_system_unix_get_folder): only add load folder idle if
1860 none has been added yet.
1862 2006-09-01 Matthias Clasen <mclasen@redhat.com>
1864 * gtk/gtkentry.c: Don't unnecessarily reset the im context
1865 when deleting the selection. (#353803, Alex Larsson)
1867 2006-09-01 Abel Cheung <abel@oaka.org>
1869 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
1871 2006-08-31 Matthias Clasen <mclasen@redhat.com>
1873 Stop cursor blinking after a configurable timeout.
1874 (#353670, #352442, Arjan van de Ven, Manu Cornet)
1876 * gtk/gtksettings.c (gtk_settings_class_init): Add a
1877 gtk-cursor-blink-timeout setting, which specifies the number
1878 of seconds that the cursor should blink after a user interaction.
1879 The default value is G_MAXINT to preserve the current behaviour.
1881 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
1884 * gtk/gtkentry.c (gtk_entry_completion_key_press)
1885 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
1888 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
1891 * gtk/gtktextview.c (gtk_text_view_key_press_event)
1892 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
1893 Reset the blink timer.
1895 2006-08-31 Matthias Clasen <mclasen@redhat.com>
1897 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
1898 explicit format capabilities. (#346505, Christian Persch)
1900 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
1902 2006-08-31 Michael Natterer <mitch@imendio.com>
1904 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
1906 2006-08-30 Richard Hult <richard@imendio.com>
1908 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
1910 2006-08-30 Matthias Clasen <mclasen@redhat.com>
1912 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
1913 for beeping if we are using XKB.
1915 2006-08-29 Matthias Clasen <mclasen@redhat.com>
1919 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
1920 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
1921 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
1922 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
1923 to beep on a window. For X11, implement this with
1924 XkbBell. (#353455, Mariano Suárez-Alvarez)
1926 2006-08-29 Tor Lillqvist <tml@novell.com>
1928 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
1929 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
1930 it isn't being maintained anyway. If somebody is interested, it
1931 can always be found in older GTK+ versions, and in CVS.
1936 * gdk/win32/Makefile.am
1937 * gdk/win32/libie55uid.la
1938 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
1939 switch and associated stuff. Active IMM and the <dimm.h> header
1940 was used for IM support on NT4 and Win9x. Win2k and later have IM
1943 * gdk/win32/gdkcursor-win32.c
1944 * gdk/win32/gdkdnd-win32.c
1945 * gdk/win32/gdkdrawable-win32.c
1946 * gdk/win32/gdkevents-win32.c
1947 * gdk/win32/gdkgc-win32.c
1948 * gdk/win32/gdkglobals-win32.c
1949 * gdk/win32/gdkkeys-win32.c
1950 * gdk/win32/gdkmain-win32.c
1951 * gdk/win32/gdkproperty-win32.c
1952 * gdk/win32/gdkselection-win32.c
1953 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
1954 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
1955 branches, and any variables or static functions used only by the
1958 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
1959 constants that aren't missing from current mingw and MSVC6
1962 * gdk/win32/gdkmain-win32.c
1963 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
1964 function. On NT-based Windows GetLastError() returns error codes
1965 also for failed GDI calls, so we can use _gdk_win32_api_failed()
1968 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
1970 * gtk/gtkrecentchoosermenu.c
1971 (gtk_recent_chooser_menu_set_current_uri): Break when an item
1972 is found and activated. (#353449, based on a patch by Jan Arne
1975 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
1977 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
1978 properties which make all hardcoded padding and spacing values
1979 configurable. properly swap ::text-xalign treatment for RTL widgets.
1981 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
1982 proeprty more consistent with GtkMisc alignment blurbs. mention
1983 RTL treatment for text-xalign.
1985 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
1987 * tests/testgtk.c: allow (most) windows to be resizable.
1988 added ellipsization settings to progress bars.
1990 2006-08-28 Matthias Clasen <mclasen@redhat.com>
1992 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
1993 resonable timeout of 3 seconds when polling for printer
1994 list updates, instead of 300000 seconds...
1996 2006-08-28 Michael Natterer <mitch@imendio.com>
1998 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
1999 </apply_tag> for tags that have already been closed by the logic
2000 which turns overlapping spans into XML-able trees. Fixes broken
2001 XML when there are overlapping tags in the buffer. Also free two
2002 leaked GLists and did some cleanup.
2005 * tests/testrichtext.c: new test which creates randomly tagged
2006 GtkTextBuffers and serializes/deserializes them.
2008 2006-08-26 Matthias Clasen <mclasen@redhat.com>
2010 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
2011 Don't leak pixbufs. (#352264, Ross Burton)
2013 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
2014 PangoAttributes. (#352391, Paolo Borelli)
2016 2006-08-25 Matthias Clasen <mclasen@redhat.com>
2018 * demos/gtk-demo/Makefile.am:
2019 * demos/gtk-demo/textscroll.c: Add an example of automatic
2020 scrolling, thanks to Yevgen Muntyan. (#351206)
2022 * gtk/gtkmodules.c (find_module): Use local binding when
2023 loading modules. (#351868)
2025 2006-08-24 Michael Natterer <mitch@imendio.com>
2027 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
2028 the hostname instead of NULL.
2030 2006-08-23 Matthias Clasen <mclasen@redhat.com>
2032 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
2033 names and values in comboboxes, and clean up some
2034 coding style issues.
2036 2006-08-23 Tor Lillqvist <tml@novell.com>
2038 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
2039 Revert unintended translatable string addition. Use same string
2040 in GError as in gtkfilesystemunix.c.
2042 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
2043 Fix logic at the end of strings.
2045 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
2046 handles and check that we have no outstanding handles at
2047 finalization time. (Copying what Matthias did for
2048 gtkfilesystemunix.c)
2050 2006-08-23 Matthias Clasen <mclasen@redhat.com>
2052 * gtk/gtkfilesystemunix.c: Maintain a hash table
2053 of live handles and check that we have no outstanding
2054 handles at finalization time. (Copying what
2055 Federico did for gtkfilesystemgnomevfs.c)
2057 2007-08-22 Matthias Clasen <mclasen@redhat.com>