]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Build Wintab support always on Windows. Don't require the Wintab SDK.
[~andy/gtk] / ChangeLog
index cd7881c8b29c14ea76ca4790d554f77c89943bb1..fbc1cb9711329581abfff13fa80cb956dd5b9487 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,548 @@
+2007-01-19  Tor Lillqvist  <tml@novell.com>
+
+       Build Wintab support always on Windows. Don't require the Wintab
+       SDK.
+
+       * configure.in: Drop the --with-wintab option. Drop the
+       HAVE_WINTAB feature test macro and Automake variable.
+
+       * acconfig.h
+       * config.h.win32.in: Drop HAVE_WINTAB.
+
+       * gdk/win32/gdkevents-win32.c 
+       * gdk/win32/gdkinput.c 
+       * gdk/win32/gdkinput-win32.h    
+       * gdk/win32/gdkinput-win32.c
+       * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
+       unconditional.
+
+       * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
+       to load wintab32.dll dynamically here. If it is found look up the
+       handful Wintab functions we use.
+       (rest of file): Use these function pointers instead of calling the
+       functions from wntab32x.lib. The code in wntab32x.lib did the same
+       thing anyway: tried to load wintab32.dll, and looked up the
+       addresses of the actual functions from it.
+
+       * gdk/Makefile.am
+       * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
+
+       * gdk/win32/wintab.h
+       * gdk/win32/pktdef.h: New files. Copied from the Wintab
+       SDK. Copyright blurb says: "The text and information contained in
+       this file may be freely used, copied, or distributed without
+       compensation or licensing restrictions."
+
+       * README.win32: Update a bit. Remove the text about the Wintab
+       SDK.
+
+2007-01-18  Tor Lillqvist  <tml@novell.com>
+
+       * gdk-pixbuf/Makefile.am
+       * gdk/Makefile.am
+       * gdk/win32/Makefile.am
+       * gtk/Makefile.am: Fixes for building outside srcdir on
+       Win32. (#336819, #340113) Drop distributing the handmade .la
+       libtool wrapper for the wntab32x library. It's too much trouble
+       making it work when building outside srcdir. Just link to the
+       library direcly using -Wl,win32/libwntab32x.a.
+
+2007-01-18  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkcheckbutton.c
+       * gtk/gtkdnd.c
+       * gtk/gtkentry.c
+       * gtk/gtkmenu.c
+       * gtk/gtktreeview.c
+       * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
+       functions. Based on a patch from maemo-gtk (bug #398023).
+
+2007-01-17  Tor Lillqvist  <tml@novell.com>
+
+       * gtk-zip.sh.in: Include also the COPYING file.
+
+2007-01-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
+       httpGetFd() when building against cups 1.1
+
+2007-01-17  Tor Lillqvist  <tml@novell.com>
+
+       Proper fix for #396175:
+
+       * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
+       include gtkprivate.h. On Win32 we do want to use the redefinition
+       of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
+
+       * gtk/gtkimmodule.c: Instead, correct the prefix also on
+       simple_context_info.domain_dirname. Do the prefix corrections
+       always on Win32, not just when GTK_LIBDIR is defined. i.e., until
+       now they were done only in the autoconfiscated gcc builds. Hans
+       needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
+       in MSVC builds now.
+       (correct_localedir_prefix): New function, like
+       correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
+       GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
+       (gtk_im_module_initialize): Thus call correct_localedir_prefix()
+       on the domain_dirname instead of correct_libdir_prefix().
+       (_gtk_im_module_list): Call correct_localedir_prefix() on
+       simple_context_info.domain_dirname.
+
+2007-01-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
+       grab changes.  (#396470, Benjamin Berg)
+
+2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
+       if they grow too much. (#357303)
+
+2007-01-14  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
+       non-scalable dir, keep going and look for a closer match.
+       (#395830, Luca Ferretti)
+
+2007-01-14  Christian Persch  <chpe@svn.gnome.org>
+
+       * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
+       (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
+       gtk_target_table_free instead of duplicating the code. Bug #396493.
+
+2007-01-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkuimanager.c: Don't crash if menu or toolbar
+       positions can't be found.  (#396161, Hans Breuer)
+
+2007-01-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkselection.c (_gtk_selection_request): Plug 
+       memory leaks.  (#396160, Carlos Garcia Campos)
+
+2007-01-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Link libgtk against Xfixes.  (#396074,
+       Tommi Komulainen)
+
+2007-01-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
+       a compiler warning.  (#395045, Chris Wilson)
+
+2007-01-13  Hans Breuer <hans@breuer.org>
+
+       * gtk/gtkprintoperation-win32.c : take the custom tab label from
+       gtk_print_operation_set_custom_tab_label() into account (bug #390746).
+
+       * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
+       differing definitions of GTK_LOCALEDIR (bug #396175).
+
+       * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
+       not available everywhere
+
+       * gtk/makefile.msc.in : updated
+
+2007-01-12  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkentry.c (gtk_entry_button_press): don't add
+       entry->scroll_offset to entry->drag_start_y. Fixes the entry
+       starting drags after ridiculously small mouse movements.
+
+2007-01-11  Richard Hult  <richard@imendio.com>
+
+       * demos/gtk-demo/main.c: (load_file): Close the file after it's
+       loaded (bug #395316).
+
+2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
+
+       * gtk/gtkfilesystemunix.c: (expand_tilde):
+       Make a single tilde go to $HOME in the location entry.
+       Patch from Yevgen Muntyan. Closes the gtk+ part of
+       bug #334168.
+
+2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gdk/gdkpango.c (gdk_draw_layout_with_colors):
+       * gtk/gtklabel.c (gtk_label_size_request):
+       Use pango_matrix_transform_rectangle(). (#340141)
+
+       * configure.in: Bump pango requirement to 1.15.3.
+
+2007-01-10  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
+       refactor to initialize indicator_size to TOGGLE_WIDTH instead
+       of the hardcoded value of 12.
+
+2007-01-09  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Fix the directfb cairo test. (#394855, 
+       Josselin Mouette)
+
+2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
+
+       * configure.in: Fix comment for --with-included-loaders.  That option
+       affects builds with module loading enabled too.
+
+2006-01-08  Peter Teichman  <peter@novell.com>
+
+       * gtk/gtkfilechooserdefault.c:
+       * gtk/gtkfilechooserprivate.h:
+       * gtk/gtkfilechoosersettings.c:
+       * gtk/gtkfilechoosersettings.h:
+       Save the expanded state of the folder browser with the file
+       chooser settings.  Resolves the expander portions of (#153828,
+       Lemmit Kaplinski)
+
+2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
+       Don't leak the icon pixbuf after setting it to the image menu
+       item.  Found by Paolo Borelli.
+
+2007-01-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
+       corrupt memory when faced with paths with ridiculously
+       large indices. Found by the GTKVTS test suite.  
+
+2007-01-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkmodules.c (_gtk_modules_init): Set 
+       default_display_opened before loading modules.  (#393102,
+       Brian Cameron)
+2007-01-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
+       Call text_window_realize() with the correct parameters.
+       (#393813, Yevgen Muntyan)
+
+2007-01-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkstatusbar.c: Move docs inline, and expand them 
+       a bit.
+
+2007-01-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtklabel.c: Make line wrapping work with width-chars
+       and max-width-chars, and simplify the storage of wrap-width.
+       (#322580, Itai Bar-Haim)
+
+2007-01-06  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/cursor.bdf: New file. Downloaded from
+       freedesktop.org's webcvs. Slighly edited cursors "crosshair",
+       "diamond_cross", "draft_large", "gobbler" and "target" to fix
+       #392504. It is possible that the same end result could have been
+       achieved by tweaking bdfcursor.c instead.
+       
+       * gdk/win32/bdfcursor.c: Add optional debugging output.
+
+       * gdk/win32/xcursors.h: Regenerated.
+
+2007-01-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
+       menu labels.  (#393255, Michail Crayson)
+
+2007-01-05  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
+       == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
+
+2007-01-05  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
+       invalidate nodes if the tree view is not realized. (#363147,
+       Carlos Garnacho, Miguel Cabrera).
+
+2007-01-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
+       account when drawing the background.  (#393166, Benjamin Berg)
+
+2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
+       again.
+
+2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
+
+       * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
+       both scroll arrows when calculating size request in GTK_POS_LEFT or
+       GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
+
+2007-01-05  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
+       the right function (fix taken from maemo-gtk).
+
+2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gdk/gdkprivate.h:
+       * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
+       (gdk_draw_layout_with_colors):
+       * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
+       Avoid overflow when converting coordinates to Pango units. (#332266,
+       Jody Goldberg)
+
+2007-01-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
+       after realization of the popup window, so clamp node doesn't fail.
+       (#346616, Tommi Komulainen, patch by Kristian Rietveld).
+
+2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
+       variable.
+
+2007-01-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/Makefile.am:
+       * gdk-pixbuf/Makefile.am:
+       * configure.in:
+       * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
+       (#392646, Yevgen Muntyan)
+
+2007-01-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * demos/gtk-demo/textscroll.c:
+       * gtk/gtkhandlebox.c:
+       * gtk/gtkcolorsel.c: Fix some compiler warnings.
+
+2007-01-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextview.c: Rework the beep-on-uninserted-text
+       by calling the input method regardless of editability,
+       and beeping from the commit/preedit-changed handlers.
+       (#390514, Yevgen Muntyan)
+
+2007-01-03  Matthias Clasen  <mclasen@redhat.com>
+
+       Fix #332604, reported by Joe Wreschnig, patch
+       by Jan Arne Petersen and Behdad Esfahbod.
+
+       * gtk/gtklabel.c (gtk_label_size_allocate): Only
+       set the width of the layout when necessary.
+       (get_layout_location): Use pango_layout_get_pixel_extents()
+       instead of pango_layout_get_width().
+
+2007-01-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/printbackends/cups/gtkprintbackendcups.c 
+       (available_choices): Don't leak conflicts.
+
+       * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
+       Don't leak the status string.
+
+2007-01-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserdefault.c (update_chooser_entry):
+       Exit early if we can't get file info - this happens
+       if the iter points to the row where we are editing
+       the name for a newly created folder.  (#392191, Michael
+       Partridge, patch by Kristian Rietveld)
+
+2007-01-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/*.c:
+       * gdk/x11/*.c: Apply a patch by Chris Wilson to
+       avoid spurious valgrind warnings from XSendEvent() 
+       calls.  (#392532)
+
+       * modules/printbackends/cups/gtkprintbackendcups.c: Close
+       the http connection after getting the PPD.
+
+       * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
+       Fix memory leaks.  
+
+2007-01-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkassistant.c (remove_page): If the current page
+       is removed, always pick a different one.  (#392457, 
+       Colin Watson)
+
+2007-01-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/printbackend/cups/*.c: Coding style cleanups.
+
+2007-01-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Export SED to make sourcing of
+       libtool work. Tighten up the directfb pkgconfig check.
+
+2007-01-03  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkstyle.c (option_menu_get_props)
+       * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
+       gtk_border_free when freeing borders.
+
+2007-01-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkentry.c (get_text_area_size): Work when the
+       entry is not realized.  (#392315, Yevgen Muntyan)
+
+       * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
+       GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
+
+       * gtk/gtkentry.c (cursor_blinks): Don't get settings
+       unnecessarily.  (#392227)
+
+2007-01-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_move_resize): Only process
+       updates on the window at hand, not on all windows, to
+       avoid violating resize/redraw ordering constraints.
+       (#362406, Owen Taylor)
+       
+2007-01-03  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkcellrendererprogress.c
+       (gtk_cell_renderer_progress_class_init): fix docs.
+
+2007-01-02  Matthias Clasen  <mclasen@redhat.com>
+       
+       * gtk/updateiconcache.c: Include locale.h
+
+2007-01-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/updateiconcache.c (main): Call setlocale().
+
+       * gtk/gtkfilesel.c:
+       * gtk/gtkfilesystemunix.c:
+       * gtk/gtkfilesystemwin32.c:
+       * gtk/gtkfilechoosersettings.c:
+       * gtk/updateiconcache.c: Consistently use folder instead of
+       directory in translated messages.  (#344584, Javier F. Serrador)
+
+2007-01-02  Matthias Clasen  <mclasen@redhat.com>
+
+       Try to fix #315732, reported by Luke Hutchinson:
+
+       * gdk/x11/xsettings-client.[hc]:
+       * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
+       will guarantee that it can be looked up in the xid hash later.
+       Also, use the nesting server grab function during the xsettings
+       client initialization. Finally, make xsettings client not
+       eat DestroyNotifys so that GDK can do its regular cleanup. 
+
+2007-01-02  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
+       when a keybinding didn't change adjustment->value.
+
+2007-01-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
+       Try harder not to beep on events which are not meant to
+       insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
+
+2007-01-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextbufferrichtext.c: Small documentation fixes.
+
+2007-01-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
+       (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
+
+2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
+
+       * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
+
+2007-01-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkscrolledwindow.h:
+       * gtk/gtkscrolledwindow.c: Only handle key bindings
+       for scrolling if the scrollbars are visible.
+       (#340135, Christian Persch)
+
+2007-01-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
+       Don't segfault on horizontal scrolling.  
+
+2007-01-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtknotebook.h:
+       * gtk/gtknotebook.c: Only handle key bindings for
+       tab reordering if the tabs are shown and reorderable. 
+       (#390468, Yevgen Muntyan)
+
+       * gtk/gtkmarshalers.list: Add required marshaler
+
+2007-01-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
+       Mention in the docs that the return value is
+       NULL-terminated.  (#383373, Christian Neumair)
+
+2007-01-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkicontheme.c (load_themes): Waste less time
+       with non-directories.  (#391725, Chris Wilson)
+
+2007-01-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcellrendererprogress.c: Implement activity mode
+       for GtkCellRendererProgress.  (#377851, Brad Taylor)
+
+2007-01-01  Matthias Clasen  <mclasen@redhat.com>
+
+       Fix some IPP compliance issues.  (#391523, Albrecht Dress)
+
+       * modules/printbackends/cups/gtkcupsutils.c
+       (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
+       IPP_TAG_OPERATION.
+       * modules/printbackends/cups/gtkprintbackendcups.c
+       (gtk_print_backend_cups_print_stream): Don't add the
+       requesting-user-name attribute a second time. 
+
+2007-01-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
+
+2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
+       right object when disconnecting from the GtkRecentManager::changed
+       signal; save us a few indirections using a variable.
+
+2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchoosermenu.c: Move the signal and idle
+       disconnections into the dispose function, as well as the
+       object unrefs; reset every handler id and the
+       pointers. (suggested by Paolo Borelli, #390873)
+
+2006-12-31  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
+       Kazuki Iwamoto)
+
+2006-12-30  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
+       scroll timeout.  (#390872, Yevgen Muntyan)
+
+2006-12-30  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintoperation-unix.c:
+       * gtk/gtkprintbackend.c:
+       * gtk/gtkfilechooserdefault.c:
+       * gtk/gtksettings.c: Move a few settings to gtksettings.c
+       to make sure they show up in the docs.  (#365364, Christian
+       Persch)
+
+2006-12-30  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkassistant.c: Redraw assistant on reallocate
+       to avoid rendering glitches.  (#343956, Christian
+       Persch, Carlos Garnacho)
+
 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)