1 2006-11-19 Mark McLoughlin <mark@skynet.ie>
3 Fixes bug #376502 - multi-screen support for GtkStatusIcon
5 * gtk/gtkstatusicon.[ch]:
6 (gtk_status_icon_set_screen),
7 (gtk_status_icon_get_screen): add multi-screen API. Allows
8 an app to display an icon on a non-default screen
9 (gtk_status_icon_class_init),
10 (gtk_status_icon_set_property),
11 (gtk_status_icon_get_property): add a "screen" property
13 * tests/teststatusicon.c: update to test on multiple screens
15 2006-11-17 Matthias Clasen <mclasen@redhat.com>
17 Fix problems with drag cancellation. (#376535, Michael Natterer)
19 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
20 handlers before emitting drag-end.
21 (gtk_drag_end): Disconnect signal handlers before removing
24 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
26 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
27 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
29 2006-11-16 Michael Natterer <mitch@imendio.com>
31 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
32 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
33 and gtk-keynav-wrap-around and wrap around, beep or continue outside
34 the group manually (bug #322640).
36 2006-11-16 Michael Natterer <mitch@imendio.com>
38 Add new infrastructure for notifications of failed keyboard
39 navigation and navigation with restricted set of keys.
41 The patch handles configurable beeping, navigating the GUI with
42 cursor keys only (as in phone environments), and configurable
43 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
46 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
47 gtk-keynav-wrap-around and gtk-error-bell.
49 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
50 API to emit it. Added New function gtk_widget_error_bell() which
51 looks at the gtk-error-bell setting and calls gdk_window_beep()
54 * gtk/gtk.symbols: add the new widget symbols.
56 * gtk/gtkcellrendereraccel.c
57 * gtk/gtkimcontextsimple.c
59 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
60 gtk-error-bell setting instead of calling gdk_display_beep()
70 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
75 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
76 cursor navigation and leave the widget if it returns FALSE.
79 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
82 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
83 whether to to wrap-around, and don't select active items on cursor
84 navigation if gtk-keynav-cursor-only is TRUE. Should look at
85 gtk-keynav-wrap-around too, will look into that.
87 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
89 * gtk/gtkrecentmanager.c:
90 (gtk_recent_info_get_uri_display): Return the URI
91 of the GtkRecentInfo object (upgraded to UTF-8 if
92 needed) in case of non-local file. (#351945)
94 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
96 * gtk/gtkrecentchoosermenu.c:
97 (gtk_recent_chooser_menu_add_tip): Apply the tip only
98 if we have a displayable name for the item. (#365031,
99 patch by padraig.obriain(at)sun.com)
101 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
103 * gtk/gtkrecentmanager.c: Provide a fast path returning
104 NULL when the limit is set to 0.
106 * gtk/gtkrecentchooserdefault.c:
107 * gtk/gtkrecentchoosermenu.c: Add the same fast path
108 inside the RecentChooser implementation; add a check
109 in the list clamping code. (#373466 and duplicates)
111 2006-11-15 Matthias Clasen <mclasen@redhat.com>
113 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
114 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
116 2006-11-15 Michael Natterer <mitch@imendio.com>
118 * gtk/gtkrange.[ch]: added properties "fill-level",
119 "show-fill-level" and "restrict-to-fill-level" and getters/setters
120 for them. The "fill level" is an additional marker on the range's
121 trough than can be e.g. used to indicate the amount of
122 pre-buffering in a range showing the play position of streamed
123 media. See the embedded API docs for details. Made GtkRangeLayout
124 a GTypeInstance private struct and removed finalize()
125 implementation. Fixes bug #349808
127 * gtk/gtk.symbols: added the new symbols.
129 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
131 * configure.in: Make libtool magic robust. (#352795)
133 2006-11-13 Paolo Borelli <pborelli@katamail.com>
135 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
138 2006-11-09 Kristian Rietveld <kris@imendio.com>
140 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
141 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
143 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
145 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
147 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
149 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
150 timeout running if the slider buttons are hidden. (#372527)
152 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
154 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
155 the "Location" label bold. Bug #372449.
157 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
159 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
160 non-focused tabs xthickness/ythickness thinner. (#353962)
162 2006-11-07 Paolo Borelli <pborelli@katamail.com>
164 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
165 corruption (#357050).
167 2006-11-06 Alexander Larsson <alexl@redhat.com>
169 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
170 (gtk_drag_source_info_destroy), (gtk_drag_end),
171 (gtk_drag_grab_notify_cb):
172 Cancel drag when the grab is shadowed. (#122688)
174 2006-11-01 Kristian Rietveld <kris@imendio.com>
176 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
177 (gtk_combo_box_size_request): add arrow-size property to control
178 the minimum size of the arrow, have the arrow scale up with the
179 font by default. (#357950).
181 2006-10-30 Kristian Rietveld <kris@gtk.org>
183 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
184 forget to queue a draw for the new cursor node. (Fixes #366548,
185 reported by Sven Herzberg).
187 2006-10-30 Michael Natterer <mitch@imendio.com>
189 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
190 only if we actually cancel a drag. Fixes bug #58389.
192 2006-10-30 Kristian Rietveld <kris@gtk.org>
194 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
195 keybindings to collapse/expand rows instead of moving the focus
196 cursor. (#105895, Brian Bober and others).
198 2006-10-29 Kristian Rietveld <kris@gtk.org>
200 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
201 child removal in row-expanded callback. (#366782, John Ellis).
203 2006-10-29 Tor Lillqvist <tml@novell.com>
205 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
206 of the small icon of the window class. (#152620, Kazuki Iwamoto)
208 2006-10-29 Tor Lillqvist <tml@novell.com>
210 * gdk/win32/gdkcursor-win32.c
211 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
212 for instance the built-in GDK ones.
214 2006-10-27 Kristian Rietveld <kris@gtk.org>
216 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
217 case to not overwrite the variables in the lower scope (which are
218 used later on ...), get the path correctly and bail out when there
219 isn't a node above us. (#359231).
221 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
223 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
225 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
227 * gtk/gtk.symbols: Add missing symbols to so make check can pass
229 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
231 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
232 to free GDI Pen resources, introduced by bug 340201.(#364514)
234 2006-10-18 Kristian Rietveld <kris@imendio.com>
236 * tests/testcombo.c (main): connect to notify::popup-shown instead of
237 popup-show (the latter does not exist).
239 2006-10-15 Paolo Borelli <pborelli@katamail.com>
241 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
244 2006-10-12 Michael Natterer <mitch@imendio.com>
246 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
247 (committed the wrong patch).
249 2006-10-12 Michael Natterer <mitch@imendio.com>
251 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
252 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
253 obsolete now. Fixes bug #358293.
255 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
257 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
259 2006-10-11 Tor Lillqvist <tml@novell.com>
261 * configure.in: Enable having some gdk-pixbuf loaders built-in
262 even if loading the others dynamically. Define Automake
263 conditional INCLUDE_FOO for each loader as TRUE if that loader is
264 built-in. See also gdk-pixbuf/ChangeLog.
266 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
268 * docs/reference/gtk/gtk-sections.txt:
269 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
271 2006-10-11 Tor Lillqvist <tml@novell.com>
273 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
276 2006-10-11 Tor Lillqvist <tml@novell.com>
278 Merge from 2.10 branch:
280 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
281 environment variable LC_ALL or LANG is set, set the Win32 thread
282 locale to the corresponding locale. Then call the C library
283 setlocale() to set the C library locale accordingly. The
284 inconsistency mentioned below is gone. (#339756) Do some special
285 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
286 scripts for Azeri, Uzbek and Serbian.
287 (enum_locale_proc): Helper function for the above functionality.
289 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
290 if the environment variables are set here, as they have already
291 been taken into account and the Win32 thread locale has been
294 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
296 * gtk/tmpl/gtkbindings.sgml:
297 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
298 inline docs. applied wording fixes suggested by Martyn Russell.
300 2006-10-09 Matthias Clasen <mclasen@redhat.com>
302 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
303 Update the docs to state which out parameters may be NULL.
304 (#360870, Attilio Fiandrotti)
306 2006-10-08 Matthias Clasen <mclasen@redhat.com>
308 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
309 a typo. (#359542, Ghee Teo)
311 2006-10-08 Matthias Clasen <mclasen@redhat.com>
313 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
314 reorder tabs if the focus is in the tab. (#350342, Carlos
317 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
319 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
321 2006-10-08 Kristian Rietveld <kris@gtk.org>
323 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
324 (gtk_tree_view_set_show_expanders),
325 (gtk_tree_view_get_show_expanders): add getter/setter for
326 show-expanders property, queue a redraw when this property
327 is toggled (#351167, Martin Ejdestig),
328 (gtk_tree_view_set_level_indentation),
329 (gtk_tree_view_get_level_indentation): also add getter/setter
330 and docs for level-indentation property.
332 2006-10-08 Matthias Clasen <mclasen@redhat.com>
334 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
335 leak a list. (#360350, Benjamin Berg)
337 * Apply a cleanup patch by Kjartan Maraas (#341812)
339 2006-10-07 Tor Lillqvist <tml@novell.com>
341 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
342 locale's first day of week setting on Win32. (#339752, Bogdan
343 Nicula) Don't do this if one of the environment variables that
344 affect gettext is set, though. In that case use the week start day
345 from the corresponding message catalog.
347 Unfortunately the same logic isn't possible in the weekday and
348 month name lookup; there even if you have set one of the
349 aforementioned environment variables, you still get the weekday
350 and month names from the Win32 thread locale. Yes, this is
353 Use only wide-character API in the Win32 code in this file, too.
355 2006-10-06 Matthias Clasen <mclasen@redhat.com>
357 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
358 Fix the docs. (#360112)
360 * gtk/gtkcellview.c: Don't set the background of the
361 window in a no-window widget. (#359581, Xan Lopez)
364 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
366 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
367 test correctly. (#359845)
369 2006-10-05 Michael Natterer <mitch@imendio.com>
371 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
372 rid of a key binding (in fact, it only lets it appear unbound).
374 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
375 "guint marks_unbound : 1"
377 (gtk_binding_entry_skip): new API which marks the entry as unbound.
379 Changed code so it returns FALSE when "marks_unbound == TRUE" is
380 encountered while activating bindings, effectively letting the
381 binding appear unbound (regardless of still existing bindings in
382 lower binding priority levels). Fixes bug #358329.
384 (gtk_binding_entry_add)
385 (gtk_binding_entry_clear)
386 (gtk_binding_entry_add_signall)
387 (gtk_binding_parse_binding): deprected these functions.
389 (_gtk_binding_parse_binding)
390 (_gtk_binding_entry_add_signall): new internal API.
392 * gtk/gtk.symbols: changed accordingly.
394 2006-10-03 Matthias Clasen <mclasen@redhat.com>
396 Fix interaction of GtkEntryCompletion with input
397 methods. (#354495, Diego Escalante Urrelo)
399 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
400 the im context if we actually handle the key event.
402 * gtk/gtkentrycompletion.c: Also propagate key release events
405 2006-10-03 Matthias Clasen <mclasen@redhat.com>
407 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
408 Fix a typo. (#359052, Ghee Teo)
410 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
411 reduce relocations. (#359053)
413 2006-10-03 Matthias Clasen <mclasen@redhat.com>
415 * modules/printbackends/cups/gtkcupsutils.c:
416 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
417 the fix for bug 357280.
419 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
421 * gdk-pixbuf/Makefile.am:
424 Include pltcheck.sh in EXTRA_DIST.
426 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
428 * gdk/x11/gdkevents-x11.c: Move all includes before including
431 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
433 * gtk/Makefile.am: Fix typo in file name. (#358931)
435 2006-10-02 Matthias Clasen <mclasen@redhat.com>
437 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
438 Only use the group name field if cups is new enough. (#357280)
440 * gtk/gtksizegroup.c: Make sure that the quarks are
441 initialized before using them. (#353736)
443 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
444 replace existing links. (#354849, James Evans)
446 2006-10-01 Matthias Clasen <mclasen@redhat.com>
448 * gtk/gtkexpander.c (gtk_expander_realize)
449 (gtk_expander_size_allocate): Make the event_window large
450 enough to cover the full height of the label_widget. (#358351,
453 2006-10-01 Tor Lillqvist <tml@novell.com>
455 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
457 2006-09-30 Matthias Clasen <mclasen@redhat.com>
459 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
460 against base_path being NULL. (#358405, many reporters)
462 2006-09-29 Matthias Clasen <mclasen@redhat.com>
464 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
467 2006-09-27 Kristian Rietveld <kris@imendio.com>
469 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
470 (gtk_tree_model_filter_ref_node),
471 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
472 in sync with each other and the sort model.
474 2006-09-27 Kristian Rietveld <kris@imendio.com>
476 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
477 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
478 (gtk_tree_model_filter_new): unref the virtual root path once that
479 node (or one if its ancestors) is deleted, set virtual_root_deleted
480 so we only unref it once.
482 2006-09-27 Kristian Rietveld <kris@imendio.com>
484 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
485 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
486 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
487 (gtk_tree_model_sort_free_level): bring zero ref count loops in
489 (gtk_tree_model_sort_free_level): free child levels before
490 decreasing the zero ref count of the current level,
491 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
494 2006-09-25 Matthias Clasen <mclasen@redhat.com>
496 * demos/gtk-demo/*.c:
498 * gtk/gtkprintoperation.c: Fix typos. String change.
500 2006-09-25 Kristian Rietveld <kris@gtk.org>
502 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
503 has already been realized; scroll to background area instead of
504 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
506 2006-09-25 Kristian Rietveld <kris@gtk.org>
508 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
509 to create the GCs if the widget is realized. (Fixes #357578).
511 2006-09-25 Matthias Clasen <mclasen@redhat.com>
513 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
514 the list of children (#357454, Paolo Borelli)
516 2006-09-25 Michael Natterer <mitch@imendio.com>
518 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
519 display->input_windows with g_free(), not g_object_unref()
520 (#357566, Tommi Komulainen).
522 2006-09-24 Kristian Rietveld <kris@gtk.org>
524 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
525 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
526 property to the API (left-over patch from #157439).
528 2006-09-24 Kristian Rietveld <kris@gtk.org>
530 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
531 the indicator if the column has a sort column id (and the model is
532 sortable) or if the user explicitly requested the indicator
533 to be shown. (Fixes #352738, Chris Vine).
535 2006-09-23 Tor Lillqvist <tml@novell.com>
537 * gtk/Makefile.am: Use EXEEXT.
539 2006-09-22 Michael Natterer <mitch@imendio.com>
541 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
542 and color hashes. Fixes bug #357132.
544 2006-09-22 Matthias Clasen <mclasen@redhat.com>
546 Make remote bookmarks work better (#354887)
548 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
549 (shortcuts_insert_path):
550 * gtk/gtkfilechooserbutton.c (change_icon_theme):
551 (model_add_bookmarks):
552 (model_update_current_folder):
553 (update_label_and_image):
554 If the bookmark points to a remote file, don't call get_info(),
555 since that may a) take a long time and b) pop up an auth dialog.
556 Instead, just use a folder icon and create a display name
559 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
560 New function to create a suitable display name for a remote
561 uri. This should really be done in GtkFileSystem.
563 2006-09-21 Michael Natterer <mitch@imendio.com>
565 Implement lots of value setters for GdkGC, based on a heavily
566 modified patch from Thomas Broyer (bug #328853):
568 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
569 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
570 which simply returns RGBA values from a GdkColor's pixel value.
571 See gdk_quartz_update_context_from_gc() below.
573 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
574 of members for the newly suppored GC values. Added enum
575 GdkQuartzContextValuesMask which is used for setting up the
576 CGContext for filling and/or stroking.
578 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
579 (gdk_quartz_gc_set_values)
580 (_gdk_windowing_gc_copy): support a lot more GC values.
582 (gdk_quartz_update_context_from_gc): added
583 GdkQuartzContextValuesMask parameter and set filling/stroking
584 parameters accordingly. This function also gained full control
585 over the FG and BG colors (they can't be set separately any more).
587 The stipple mask part of the patch doesn't work but seems to take
588 the right approach and doesn't make things worse, so I applied it.
590 Did *not* apply the clipping part of the patch since I don't
591 understand it (I don't understand the version in CVS either, but
592 it at least works :-)
594 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
595 gdk_quartz_update_context_from_gc() and removed separate color
596 setting calls. Some minor fixes.
598 * gdk/quartz/gdkwindow-quartz.c
599 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
600 fill color manually. We don't have/need a GC here.
602 2006-09-21 Michael Natterer <mitch@imendio.com>
604 * gdk/quartz/gdkwindow-quartz.c
605 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
606 drawable_impl->wrapper that is the GdkWindow, not the
607 drawable_impl itself.
609 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
611 * gdk/x11/gdkkeys-x11.c:
612 (get_direction): just check the first shift-level of keyboard
613 layout for RTL and LTR keysyms() (compliment to #116626)
615 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
617 * gtk/gtkviewport.c: always update the bin_window position and size
618 in size_allocate, even if we don't have a visible child. this fixes
619 expose artefacts as described in #313508.
621 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
622 have no visible child explicit.
624 2006-09-19 Ryan Lortie <desrt@desrt.ca>
626 * docs/reference/gdk/gdk-sections.txt:
629 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
630 (gdk_pango_layout_get_clip_region): Remove an unused variable.
631 (gdk_pango_attr_embossed_new): Fix documentation.
633 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
635 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
636 control the arrow/border ratio within the allocation.
638 * tests/testgtk.c: added a GtkArrow to handle box test.
640 * tests/testgtkrc: test ::arrow-scaling property.
642 2006-09-19 Matthias Clasen <mclasen@redhat.com>
644 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
645 Display an error when we come to the root.
647 2006-09-16 Matthias Clasen <mclasen@redhat.com>
649 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
652 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
653 bookmarks to the model in local-only mode, to avoid
654 authentication dialogs pop up for invisible bookmarks, and
655 to fix issues with separators not being hidden when
656 they should. (#354887, Dennis Cranston)
658 2006-09-16 Matthias Clasen <mclasen@redhat.com>
660 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
661 treeview use in list mode. (#355732, Richard Hult)
663 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
664 change notification for the right property. (#355308,
667 2006-09-15 Michael Natterer <mitch@imendio.com>
669 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
670 header navigation/resizing/reordering to be more readable and lose
671 one level of nesting.
673 2006-09-15 Kristian Rietveld <kris@imendio.com>
675 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
676 return after handling column button focus; we disable wrap around
677 with this (which actually happened via a really weird code path).
680 2006-09-15 Kristian Rietveld <kris@imendio.com>
682 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
683 code RTL aware, also break from the loops after we have seen the
684 focussed column button (Michael Natterer).
686 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
688 * tests/testrichtext.c (main): intialize random number generator state
689 upon program start, to enable truely random testing.
691 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
693 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
694 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
695 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
696 GDK_DISABLE_DEPRECATED to allow compile per Behdad
697 * gdk/quartz/Makefile.am same change as directfb Makefile
698 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
700 2006-09-13 Matthias Clasen <mclasen@redhat.com>
702 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
703 for the grab widget, to make the color picker work with window
706 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
708 signed off by: Dom Lachowicz
710 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
711 a large number of improvements to the Microsoft Windows theme engine
712 which are fully described in the bug report.
714 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
716 * tests/testgtk.c: fixed compiler warnings.
718 2006-09-10 Matthias Clasen <mclasen@redhat.com>
720 * gtk/gtkfilechooserbutton.c (model_add_special): Request
721 the display name too, otherwise "Desktop" does not appear
722 in the file chooser button.
724 2006-09-10 Tor Lillqvist <tml@novell.com>
726 * gdk/win32/gdkprivate-win32.h
727 * gdk/win32/gdkmain-win32.c
728 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
729 0x0500 in gdkprivate-win32.h instead of doing it in two source
730 files. (#355212, Mike Edenfield)
732 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
733 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
735 2006-09-10 Matthias Clasen <mclasen@redhat.com>
737 * Commit a patch by Behdad to fix typos, omissions and other
738 errors in the symbol aliasing, and add checks for local PLT
739 entries. (#354687, Behdad Esfahbod)
741 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
742 the flush timeout. (#354043, Nelson Benitez)
744 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
745 Improve wording. String change! (#355126, David Lodge)
747 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
750 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
753 2006-09-09 Matthias Clasen <mclasen@redhat.com>
755 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
756 (#353916, Chris Wilson)
758 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
759 Don't leak the to_reset list. (#353914, Chris Wilson)
761 * gtk/gtkwidget.c: Add docs for the parent-set signal.
762 (#353772, Mariano Suárez-Alvarez)
764 2006-09-08 Matthias Clasen <mclasen@redhat.com>
766 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
767 Don't clear clipboards here, since we are called from finalize
768 and can't emit signals.
770 * configure.in: Set version to 2.11.0
772 2006-09-06 Richard Hult <richard@imendio.com>
774 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
775 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
777 2006-09-04 Kristian Rietveld <kris@imendio.com>
779 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
780 if setting the given folder failed, try setting the parent folder
781 until we succeed; display an error box at the end.
783 2006-09-04 Kristian Rietveld <kris@imendio.com>
785 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
786 operations spawned by buttons here,
787 (set_button_image_get_info_cb): bail out if button is NULL, but
789 (button_data_free): only free the data if non NULL (since this
790 function can be called multiple times for the same data), cancel
791 handle if pending but don't free button_data in this case (will
792 happen in the callback).
794 2006-09-04 Michael Natterer <mitch@imendio.com>
796 * gtk/gtkrc.c (rc_parse_token_or_compound)
797 (gtk_rc_parse_assignment): serialize floating point values using
798 locale-independent functions. (#346751, Frederic Crozat)
800 2006-09-04 Tor Lillqvist <tml@novell.com>
802 * gdk/win32/gdkevents-win32.c
803 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
804 window handling (PeekMessage, PostMessage, SendMessage,
805 DispatchMessage, DefWindowProc, RegisterClassEx,
806 CreateWindowEx). (#321597)
808 2006-09-03 Kristian Rietveld <kris@imendio.com>
810 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
811 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
812 change file_exists_and_is_not_folder checks to get the file info
813 for the path directly instead of querying the current file folder
816 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
819 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
820 (test_reload_sequence), (test_button_folder_states_for_action): wait
821 for idle after setting a folder to ensure the async operations to load
822 the folder are finished,
823 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
824 factor out test_confirm_overwrite code so we can add tests for more
827 2006-09-03 Richard Hult <richard@imendio.com>
829 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
830 exposure isn't in the event mask, plug a leak, and check that the
831 window isn't destroyed.
832 (isOpaque): Check that the window isn't destroyed, fixes bug
835 2006-09-03 Matthias Clasen <mclasen@redhat.com>
837 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
838 (#354035, Mariano Suárez-Alvarez)
840 * gtk/gtkmain.c (post_parse_hook):
841 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
842 (#354004, Chris Wilson)
844 2006-09-03 Tor Lillqvist <tml@novell.com>
846 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
847 GDK_WINDOW_DISPLAY in the Win32 backend.
849 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
852 2006-09-02 Kristian Rietveld <kris@imendio.com>
854 First part of file chooser fixes.
856 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
857 handle in the model for the desktopdir case.
859 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
860 volume in case we retrieved it but don't pass it on to insert_path,
861 (shortcuts_model_create): change the column type for the handles
862 to pointer instead of GObject so our handle ref counting is not
864 (show_and_select_paths_finished_loading): don't forget to unref
867 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
868 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
869 remove pending execute_callbacks_idle during dispose, also
870 execute all callbacks waiting to be run in the next idle,
871 (queue_*callback), (execute_callbacks_idle): refactor to maintain
872 a list of callbacks to call per file system instead of globally,
873 guard the file system during callback invocation,
874 (gtk_file_system_unix_get_folder): only add load folder idle if
875 none has been added yet.
877 2006-09-01 Matthias Clasen <mclasen@redhat.com>
879 * gtk/gtkentry.c: Don't unnecessarily reset the im context
880 when deleting the selection. (#353803, Alex Larsson)
882 2006-09-01 Abel Cheung <abel@oaka.org>
884 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
886 2006-08-31 Matthias Clasen <mclasen@redhat.com>
888 Stop cursor blinking after a configurable timeout.
889 (#353670, #352442, Arjan van de Ven, Manu Cornet)
891 * gtk/gtksettings.c (gtk_settings_class_init): Add a
892 gtk-cursor-blink-timeout setting, which specifies the number
893 of seconds that the cursor should blink after a user interaction.
894 The default value is G_MAXINT to preserve the current behaviour.
896 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
899 * gtk/gtkentry.c (gtk_entry_completion_key_press)
900 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
903 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
906 * gtk/gtktextview.c (gtk_text_view_key_press_event)
907 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
908 Reset the blink timer.
910 2006-08-31 Matthias Clasen <mclasen@redhat.com>
912 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
913 explicit format capabilities. (#346505, Christian Persch)
915 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
917 2006-08-31 Michael Natterer <mitch@imendio.com>
919 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
921 2006-08-30 Richard Hult <richard@imendio.com>
923 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
925 2006-08-30 Matthias Clasen <mclasen@redhat.com>
927 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
928 for beeping if we are using XKB.
930 2006-08-29 Matthias Clasen <mclasen@redhat.com>
934 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
935 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
936 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
937 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
938 to beep on a window. For X11, implement this with
939 XkbBell. (#353455, Mariano Suárez-Alvarez)
941 2006-08-29 Tor Lillqvist <tml@novell.com>
943 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
944 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
945 it isn't being maintained anyway. If somebody is interested, it
946 can always be found in older GTK+ versions, and in CVS.
951 * gdk/win32/Makefile.am
952 * gdk/win32/libie55uid.la
953 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
954 switch and associated stuff. Active IMM and the <dimm.h> header
955 was used for IM support on NT4 and Win9x. Win2k and later have IM
958 * gdk/win32/gdkcursor-win32.c
959 * gdk/win32/gdkdnd-win32.c
960 * gdk/win32/gdkdrawable-win32.c
961 * gdk/win32/gdkevents-win32.c
962 * gdk/win32/gdkgc-win32.c
963 * gdk/win32/gdkglobals-win32.c
964 * gdk/win32/gdkkeys-win32.c
965 * gdk/win32/gdkmain-win32.c
966 * gdk/win32/gdkproperty-win32.c
967 * gdk/win32/gdkselection-win32.c
968 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
969 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
970 branches, and any variables or static functions used only by the
973 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
974 constants that aren't missing from current mingw and MSVC6
977 * gdk/win32/gdkmain-win32.c
978 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
979 function. On NT-based Windows GetLastError() returns error codes
980 also for failed GDI calls, so we can use _gdk_win32_api_failed()
983 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
985 * gtk/gtkrecentchoosermenu.c
986 (gtk_recent_chooser_menu_set_current_uri): Break when an item
987 is found and activated. (#353449, based on a patch by Jan Arne
990 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
992 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
993 properties which make all hardcoded padding and spacing values
994 configurable. properly swap ::text-xalign treatment for RTL widgets.
996 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
997 proeprty more consistent with GtkMisc alignment blurbs. mention
998 RTL treatment for text-xalign.
1000 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
1002 * tests/testgtk.c: allow (most) windows to be resizable.
1003 added ellipsization settings to progress bars.
1005 2006-08-28 Matthias Clasen <mclasen@redhat.com>
1007 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
1008 resonable timeout of 3 seconds when polling for printer
1009 list updates, instead of 300000 seconds...
1011 2006-08-28 Michael Natterer <mitch@imendio.com>
1013 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
1014 </apply_tag> for tags that have already been closed by the logic
1015 which turns overlapping spans into XML-able trees. Fixes broken
1016 XML when there are overlapping tags in the buffer. Also free two
1017 leaked GLists and did some cleanup.
1020 * tests/testrichtext.c: new test which creates randomly tagged
1021 GtkTextBuffers and serializes/deserializes them.
1023 2006-08-26 Matthias Clasen <mclasen@redhat.com>
1025 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
1026 Don't leak pixbufs. (#352264, Ross Burton)
1028 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
1029 PangoAttributes. (#352391, Paolo Borelli)
1031 2006-08-25 Matthias Clasen <mclasen@redhat.com>
1033 * demos/gtk-demo/Makefile.am:
1034 * demos/gtk-demo/textscroll.c: Add an example of automatic
1035 scrolling, thanks to Yevgen Muntyan. (#351206)
1037 * gtk/gtkmodules.c (find_module): Use local binding when
1038 loading modules. (#351868)
1040 2006-08-24 Michael Natterer <mitch@imendio.com>
1042 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
1043 the hostname instead of NULL.
1045 2006-08-23 Matthias Clasen <mclasen@redhat.com>
1047 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
1048 names and values in comboboxes, and clean up some
1049 coding style issues.
1051 2006-08-23 Tor Lillqvist <tml@novell.com>
1053 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
1054 Revert unintended translatable string addition. Use same string
1055 in GError as in gtkfilesystemunix.c.
1057 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
1058 Fix logic at the end of strings.
1060 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
1061 handles and check that we have no outstanding handles at
1062 finalization time. (Copying what Matthias did for
1063 gtkfilesystemunix.c)
1065 2006-08-23 Matthias Clasen <mclasen@redhat.com>
1067 * gtk/gtkfilesystemunix.c: Maintain a hash table
1068 of live handles and check that we have no outstanding
1069 handles at finalization time. (Copying what
1070 Federico did for gtkfilesystemgnomevfs.c)
1072 2007-08-22 Matthias Clasen <mclasen@redhat.com>