]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Bug 557524 – "va_end(args);" should be added into
[~andy/gtk] / ChangeLog
index 03be98bcb91556f42c4559211859ec3f0d6f353c..739b637e0fc91bc8b03c2701abca4746d01501ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,505 @@
+2008-10-24  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 557524 – "va_end(args);" should be added into
+       gtk_text_buffer_insert_with_tags_by_name( )
+
+       * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
+       Don't forget to call va_end. Pointed out by Boram Park
+
+2008-10-23  Alexander Larsson  <alexl@redhat.com>
+
+       Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
+       
+        * gtk/gtkfilesystem.c:
+        (_gtk_file_info_render_icon):
+       Fall back on default file icon if there was no icon or it
+       was not found in the theme. This goes with the corresponding
+       change in glib to not add the fallback icon, but is useful
+       in other cases too.
+
+2008-10-22  Behdad Esfahbod  <behdad@gnome.org>
+
+       Bug 555920 – gtkentry.c passes wrong enum to
+       pango_layout_set_alignment()
+
+       * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout
+       adjustment.
+
+2008-10-22  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen
+       size actually changed.
+
+2008-10-21  Michael Natterer  <mitch@imendio.com>
+
+       * gdk/gdkdraw.c
+       * gdk/gdkimage.c
+       * gdk/gdkscreen.c
+       * gdk/gdkwindow.c: replace assertions for obj != NULL by
+       GDK_IS_OBJ(), remove redundant != NULL checks when there is
+       already a type check, add some g_return_if_fail() that were
+       missing entirely, fix some broken indentation and spacing.
+
+2008-10-21  Tor Lillqvist  <tml@novell.com>
+
+       Bug 557266 - Window Management Problem
+
+       Also reported in mail to gtk-list, and of course it has been well
+       known in general that window state management is messy and buggy
+       in various ways in gdk/win32.
+
+       * gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
+       handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
+       the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
+       must call SetWindowPos() on the window using HWND_TOPMOST
+       instead. The description for WS_EX_TOPMOST in the documentation
+       for CreateWindowEx() even implies that if you read it carefully.
+
+2008-10-21  Michael Natterer  <mitch@imendio.com>
+
+       * gdk/gdkapplaunchcontext.c: reorder functions to be in standard
+       order, add prototypes and namespace to static functions, add
+       g_return_if_fail()s which were missing all over the place.
+
+2008-10-20  Christian Persch  <chpe@gnome.org>
+
+       Bug 557059 – crash when compositing emblems with icon
+
+       * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it
+       with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped
+       from icon cache or builtins).
+
+2008-10-20  Murray Cumming  <murrayc@murrayc.com>
+
+       * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(), 
+       gtk_icon_view_set_tooltip_item():
+       * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(), 
+       gtk_icon_view_set_tooltip_cell():
+       Documentation: Mention the simple set_tooltip_column() 
+       alternative.
+
+2008-10-18  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
+       WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
+       output without setting it first.
+
+2008-10-18  Tor Lillqvist  <tml@novell.com>
+
+       Bug 556578 - GIMP windows stay on top of other windows
+
+       * gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
+       (ensure_stacking_on_window_pos_changing)
+       (ensure_stacking_on_activate_app): Ignore unmapped windows in the
+       loops where we look for the lowest "transient-type" window.
+
+       (gdk_event_translate): Don't call
+       ensure_stacking_on_window_pos_changing() or
+       ensure_stacking_on_activate_app() for unmapped windows.
+
+2008-10-16  Marek Kasik  <mkasik@redhat.com>
+
+       Bug 556527 - The current page property is not passed to
+       GtkPrintUnixDialog
+
+       * gtk/gtkprintoperation-unix.c: pass current-page property
+       to GtkPrintUnixDialog
+
+2008-10-15  Michael Natterer  <mitch@imendio.com>
+
+       * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
+       in the type name so the macro becomes usable.
+
+2008-10-14  Christian Dywan  <christian@imendio.com>
+
+       556150 – gtk 'object' property test fixing
+
+       * gtk/tests/object.c (list_ignore_properties):
+        Remove some recently fixed properties from the exception list
+
+2008-10-13  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup
+
+       * gtk/gtkcellrendererpixbuf
+       (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash
+       if a GIcon is not present in the current theme. Patch by 
+       Alex Larsson.
+
+2008-10-13  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 552318 – menubar mnemonics consumed even when
+       gtk-enable-mnemonics=false
+
+       * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic
+       entries block accelerator activation when gtk-enable-mnemonics is
+       FALSE. Problem reported by Andreas Moog.
+
+2008-10-13  Cody Russell <cody@jhu.edu>
+
+       * test/testfilechooser.c: Fix option parsing so that -a and
+       --action work correctly.
+
+2008-10-13  Christian Persch <chpe@gnome.org>
+
+       Bug 555386 – format not a string literal and no format arguments
+
+       * gtk/gtkiconfactory.c
+       * gtk/gtkprintbackend.c
+       * gtk/gtkprintoperation.c
+       * gtk/gtkthemes.c
+       * gtk/tests/builder.c
+       * modules/other/gail/gailtextview.c
+       * tests/testmerge.c: Use printf safely.
+
+2008-10-13  Christian Persch <chpe@gnome.org>
+
+       Bug 555724 – gtkcellrendereraccel not initialised correctly
+
+       * gtk/gtkcellrendereraccel.c: Initialise the cell text.
+
+2008-10-12  Simos Xenitellis  <simos@gnome.org>
+
+       Bug 555625 – Updated gtk_compose_seqs_compact table 
+       (gtkimcontextsimpleseqs.h)
+       
+       * gtk/gtkimcontextsimpleseqs.c: Updated the compose sequence table.
+       In this update we removed a further set of compose sequences that
+       are otherwise covered by check_algorithmically(). 
+
+       * gtk/gtkimcontextsimple.c: Updated table value that shows how many 
+       distinct first values exist in the compose sequences. 
+       Change from 22 to 20.
+       
+2008-10-11  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
+       part of the previous change, since it doesn't work correctly without
+       extra complication, and using custom icon sizes doesn't make too
+       much sense in a desktop-wide setting.
+
+2008-10-11  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size
+
+       * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
+       GtkSettings::gtk-toolbar-icon-size into int properties, to
+       allow the use of app-registered icon sizes.
+
+2008-10-11  Christian Dywan  <christian@imendio.com>
+
+       Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
+
+       * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
+        Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL
+
+2008-10-10  Behdad Esfahbod  <behdad@gnome.org>
+
+       Bug 551355 – [PATCH] Make glib build with libtool 2.2
+
+       * autogen.sh: Accept libtool 2.2.   We are moving towards having
+       it working.
+
+2008-10-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
+       Add empty stub to fix linking.
+
+2008-10-10  Simos Xenitellis  <simos@gnome.org>
+
+       Bug 555000 – Wrong treatment on non-spacing marks dead keys in 
+       GtkIMContextSimple
+
+       * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that
+       it only checks if input is a deadkey keysym.
+
+2008-10-09  Christian Dywan  <christian@imendio.com>
+
+       Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
+
+       * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
+        Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL
+
+2008-10-09  Christian Dywan  <christian@imendio.com>
+
+       Bug 555573 – gtk_font_selection_set_font_name
+        shouldn't require a screen
+
+       * gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
+        Don't warn if there is no screen, just return FALSE
+
+2008-10-09  Christian Dywan  <christian@imendio.com>
+
+       Bug 555523 – gtk_scale_button_set_adjustment should accept NULL
+
+       * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
+       Create a new adjustment if NULL is passed, like other widgets
+
+2008-10-09  Christian Dywan  <christian@imendio.com>
+
+       Bug 555578 – GtkTable propertiy maxima are wrong
+
+       * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
+        Always use 65535 instead of G_MAXUINT since that is
+        the actually supported maximum number of columns and rows
+
+2008-10-09  Richard Hult  <richard@imendio.com>
+
+       Bug 550342 – Splash screens have a caption
+
+       * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
+       (gdk_window_set_decorations): Patch from Marianne Gagnon to make
+       splash windows borderless.
+
+2008-10-09  Michael Natterer  <mitch@imendio.com>
+
+       Bug 516425 – Optionally display accelerators in popups
+
+       * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
+       GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
+       shows the actions' accelerators.
+
+       * gtk/gtkuimanager.c: honor the new enum value for programmatically
+       created UIs, and support <popup accelerators="true"> in the XML
+       for the same purpose.
+
+2008-10-09  Simos Xenitellis  <simos@gnome.org>
+
+       Bug 554192 – double press on the "circumflex" dead key 
+       (standard french 105 keyboard) no longer produces the "^" character
+
+       * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
+       Changed the order, put check_compact_table() first, then 
+       check_algorithmically().
+
+2008-10-08  Christian Persch  <chpe@gnome.org>
+
+        Bug 554702 – gtkfilesystem leaks GError
+
+        * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError.
+
+2008-10-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
+       Don't forget to reset reload_state when current_folder is already
+       correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992
+
+2008-10-08  Christian Dywan  <christian@imendio.com>
+
+       Bug 555270 – Allow unsetting a MessageDialog's image
+
+       * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
+        Remove a superfluous cast to GtkWidget*
+       (gtk_message_dialog_set_image): Accept NULL for the image
+       and unset the image in that case.
+
+2008-10-08  Christian Dywan  <christian@imendio.com>
+
+       Bug 436533 – Allow more space efficient scroll arrows placement
+
+       * gtk/gtkenums.h: Add GtkArrowPlacement
+       * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
+       (get_arrows_visible_area), (get_double_arrows),
+       (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
+        to allow scrolling arrows to be placed at the start, end or both
+        Patch by Tommi Komulainen and myself
+
+2008-10-08  Christian Dywan  <christian@imendio.com>
+
+       Bug 555387 – Changing the sensitivity of a statusbar
+       mistakenly requires a display
+
+       * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
+        of the resize grip if there is a grip window.
+
+2008-10-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
+       memory warnings from valgrind.
+
+2008-10-07 11:03:30  Tim Janik  <timj@imendio.com>
+
+       * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
+       as private function until we settle on the exact semantics.
+       renamed _gtk_box_set_old_defaults() as suggested by Mitch.
+
+2008-10-07  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkbox.c: reindent static prototypes.
+
+2008-10-07  Michael Natterer  <mitch@imendio.com>
+
+       Bug 553573 – Add orientation API to GtkBox
+
+       * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
+       swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
+       which takes a GtkOrientation argument. Also move the newly
+       added "spacing_set" boolean from struct GtkBox to the new
+       private struct.
+
+       * gtk/gtkhbox.[ch]
+       * gtk/gtkvbox.[ch]: remove all code except the constructor and
+       call gtk_orientable_set_orientation() in init().
+
+       * gtk/gtk.symbols: add gtk_box_new().
+
+2008-10-06  Björn Lindqvist  <bjourne@gmail.com>
+
+       Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
+
+       * gtk/gtkcellview.c (gtk_cell_view_get_model): Add
+       gtk_cell_view_get_model.
+
+2008-10-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
+       on the range entry itself, too.
+
+2008-10-04  Tor Lillqvist  <tml@novell.com>
+
+       Bug 132501 - Make utility window translate to tool window in win32
+
+       Implement the utility window type hint. Such windows are kept on
+       top of other windows of the same process. Makes GIMP's toolbox and
+       dock windows behave more like in GNOME under metacity. Apply the
+       same logic also to windows marked with the dialog window type
+       hint, and windows that are transient for some other window. I'll
+       call such windows "transient-type" below.
+
+       * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
+       variables.
+
+       (ensure_stacking_on_unminimize)
+       (ensure_stacking_on_window_pos_changing)
+       (ensure_stacking_on_activate_app): New functions to implement the
+       desired stacking order. Make sure that a window that is not
+       transient-type stays below any transient-type windows of the
+       application. When activating a non-transient-type window make sure
+       it rises as high as possible while still staying below the lowest
+       transient-type window.
+
+       (gdk_event_translate): Call above functions on
+       WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
+       unminimizing. Improve debugging printout.
+
+       * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
+       Handle utility windows like toolbar windows.
+
+       (gdk_window_new_internal) (update_style_bits): Give utility
+       windows the WS_EX_TOOLWINDOW extended style.
+
+       (gdk_window_set_title): If debugging "misc" or "events", make the
+       handle of top-level windows show up in their title bars. Very
+       useful when looking at debugging output.
+
+       (gdk_window_set_transient_for) (gdk_window_set_keep_above)
+       (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
+       (gdk_window_set_skip_taskbar_hint)
+       (gdk_window_set_skip_pager_hint): Add and improve debugging
+       printout.
+
+       (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
+
+2008-10-04  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
+       (_gdk_win32_window_pos_bits_to_string): New debugging printout
+       functions. Decode the WS_EX_* and SWP_* bits.
+
+       * gdk/win32/gdkprivate-win32.h: Declare them. Define
+       GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
+       "misc" or "events".
+
+2008-10-03  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
+       debug output.
+
+2008-10-02  Matthias Clasen <mclasen@redhat.com>
+
+       Bug 96431 – Can't cut and paste / DND within invisible entry
+
+       * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
+       entry. Proposed by Owen Taylor
+
+2008-10-02  Matthias Clasen <mclasen@redhat.com>
+
+       Bug 530575 – GtkEntry with invisible chars has a confused cursor in
+       overwrite mode
+
+       * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
+       in the layout when positioning the cursor, not the actual text
+       content of the entry. This makes a different when using overwrite
+       mode in an invisible entry. 
+       Problem noticed by Jonathan Blandford
+
+       * gtk/gtktextutil.c: Fix a typo in a comment
+
+2008-10-02  Christian Persch
+
+        Bug 554704 – gtkfilesystemmodel does too much work
+
+        * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
+        simple NULL check.
+
+2008-10-02  Christian Persch
+
+        Bug 554701 – filechooser spams console with useless warnings
+
+        * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
+        cancelled.
+
+2008-10-02  Christian Persch
+
+        Bug 554698 – mem leak in filechooser
+
+        * gtk/gtkfilechooserdefault.c: Plug a mem leak.
+
+2008-10-02  Christian Persch
+
+        Bug 554696 – invalid free function used
+
+        * gtk/gtkfilesystemmodel.c: Use the right free func.
+
+2008-10-02  Christian Persch
+
+        Bug 554691 – mem leak in filechooser
+
+        * gtk/gtkfilesystemmodel.c: Plug a mem leak.
+
+2008-10-02  Christian Persch
+
+        Bug 554690 – mem leak in filechooser
+
+        * gtk/gtkfilechooserdefault.c: Plug a mem leak.
+
+2008-10-02  Michael Natterer  <mitch@imendio.com>
+
+       Bug 553585 – Add orientation API to GtkRuler
+
+       * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
+       swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
+       which takes a GtkOrientation argument.
+
+       * gtk/gtkhruler.c
+       * gtk/gtkvruler.c: remove all code except the constructor and
+       call gtk_orientable_set_orientation() in init().
+
+       * gtk/gtk.symbols: add gtk_ruler_new().
+
+2008-10-01  Torsten Schoenfeld  <kaffeetisch@gmx.de>
+
+       * docs/reference/gtk/gtk-sections.txt:
+       * gtk/gtk.symbols:
+       * gtk/gtkselection.c:
+       * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
+       retrieve the sealed struct field GtkSelectionData.selection.
+
+2008-10-01  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
+       confuses newest mingw headers.
+
 2008-10-01  Tor Lillqvist  <tml@novell.com>
 
        * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
        Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
        transparency
 
-       * gtk/gtktrayicon-x11.c: Add support for the _BET_SYSTEM_TRAY_VISUAL
+       * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
        property described in
        http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
        If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the