]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-0
init refcount to 1 (gdk_cursor_new): init refcount to 1
[~andy/gtk] / ChangeLog.pre-2-0
index b6c5c32a6302800259f53104e652f8189e2bcca2..07bc6cf16b67d1cc338ec3f472df01c1e9bf5347 100644 (file)
@@ -1,4 +1,172 @@
-Fri Jan 21 16:16:29 2000  Owen Taylor  <otaylor@redhat.com>
+2000-02-13  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
+       refcount to 1
+       (gdk_cursor_new): init refcount to 1
+
+       * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
+
+2000-02-13  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
+       so that we don't have to do unnecessary settings to the HDC.
+
+       * gdk/win32/gdkdrawable-win32.c
+       * gdk/win32/gdkimage-win32.c: Corresponding changes to the calls of
+       gdk_gc_predraw.
+
+       * gdk/win32/gdkdrawable-win32.c: Special-casing for GdkGCs where
+       the fill style is GDK_OPAQUE_STIPPLED. In those cases we construct
+       GDI paths, call WidenPath to get the outline of the stroken path,
+       and then fill the outline (with the brush that was built from the
+       stipple).
+
+       * gdk/win32/gdkgc-win32.c: Factor out common code from
+       _gdk_win32_gc_new and gdk_win32_gc_set_values into
+       gdk_win32_gc_values_to_win32values.
+
+       * gdk/win32/gdkmain-win32.c (gdk_win32_last_error_string,
+       gdk_win32_api_failed): New functions for error logging.
+
+       * gdk/win32/gdkprivate-win32.h: Declare them, and a macro
+       WIN32_API_FAILED to call them, passing function or file name and
+       line number.
+
+       * gdk/win32/*.c: Use the WIN32_API_FAILED macro.
+
+       * gdk/win32/gdkprivate-win32.h: Store just the pixel values from
+       GdkColor for foreground and background in GdkGCWin32Data.
+
+       * gdk/makefile.cygwin: Link in the resource object separately.
+
+       * gdk/win32/rc/gdk.rc
+       * gtk/gtk.rc (New file)
+       * gdk/win32/makefile.cygwin
+       * gtk/makefile.cygwin: Update build number in DLLs automatically,
+       as in GLib.
+
+Sun Feb 13 08:54:45 2000  Tim Janik  <timj@gtk.org>
+
+       * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
+       * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): 
+       * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy): 
+       * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
+       parameters given and cursor->ref_count. coding style fixups.
+
+       * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
+       not GtkWidget.
+       
+       * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
+       fix up widget macros and add _GET_CLASS() variant.
+       
+       * gtk/*.c: some GtkType fixups.
+
+2000-02-09  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkproperty-win32.c
+       * gdk/x11/gdkproperty-x11.c: The assertions for GDK_IS_WINDOW
+       were reversed.
+
+2000-02-04  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkfont-win32.c (logfont_to_xlfd): Use
+       g_filename_to_utf8 to convert the font names Windows gives us from
+       whatever is the default codepage to UTF-8.
+       (gdk_font_load_internal) Use g_filename_from_utf8 for conversion
+       in the other direction.
+
+       * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Fix cut&paste
+       error in debugging output.
+
+2000-02-02  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkwindow-win32.c (gdk_window_clear): Pass zero width
+       and height parameters to gdk_window_clear_area(). Not minus one.
+
+Wed Feb  2 11:58:05 2000  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkdnd.c (gtk_drag_selection_received): Add some sanity
+       checks if the widget passed to gtk_drag_get_data() was not the
+       dest widget.
+
+2000-02-01  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk/gtkfilesel.c: Use the g_filename_to_utf8 and
+       g_filename_from_utf8 functions (which were added a moment ago to
+       GLib). Some cleanups: Use gbooleans. Use GStrings instead of fixed
+       size buffers.
+
+       gtk_file_selection_get_filename returns the filename in the C
+       runtime encoding. It calls g_filename_from_utf8, but copies the
+       returned string to a static buffer, which is returned. I think
+       this is better than returning the result from g_filename_from_utf8
+       directly, which would mean all apps that use it would have to free
+       the return value. Or should this function care about this issue at
+       all? Maybe a new function with clearly defined semantics.
+
+       * gtk/gtkfilesel.h: Add comment about
+       gtk_file_selection_get_filename returning the filename in the C
+       runtime's encoding.
+
+       * README.win32
+       * gdk/gdk.def
+       * gdk/makefile.{cygwin,msc}
+       * gtk/gtk.def: Updates.
+
+       * gdk/gdkcursor-win32.c: Initialise refcount.
+
+2000-01-31  Yuan-Chung Cheng <platin@linux.org.tw>
+
+        * configure.in: Added "zh_CN.GB2312" to ALL_LINGUAS.
+
+2000-01-30  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/testgtk.c (set_cursor): use gdk_cursor_unref instead of
+       destroy
+
+       * gdk/gdkimage.c (gdk_image_ref): image wasn't being returned
+
+       * gdk/gdkprivate.h: declare _gdk_cursor_destroy which is then 
+       implemented in platform-specific code
+
+       * gdk/Makefile.am (gdk_c_sources): add gdkcursor.c
+
+       * gdk/x11/gdkcursor-x11.c (gdk_cursor_destroy): rename with an
+       underscore in front
+
+       * gdk/win32/gdkcursor-win32.c (gdk_cursor_destroy):
+       put an underscore in front
+
+       * gdk/gdkcursor.c: new file, implements
+       gdk_cursor_ref/gdk_cursor_unref
+
+       * gdk/gdkcursor.h: Refcount GdkCursor
+
+       * gdk/gdkcompat.h (gdk_cursor_destroy): compat
+
+2000-01-29  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/gdkwindow.h
+       * gdk/gdkpixmap.h: Remove prototypes for renamed functions.
+
+Tue Jan 25 11:43:21 2000  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkinvisible.h (struct _GtkInvisible[Class]): Fix
+       structures to properly inherit from GtkWidget not GtkBin.
+
+Sun Jan 23 20:28:24 2000  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk+.spec.in: Added lib/gtk+/include/* to %files
+       (bug #5178 - Peter Wainright)
+       
+       * gtk/Makefile.am (gtk_public_h_sources): Add gtkcompat.h
+       so that it will be installed.
+       (bug #4889 - "david d `zoo' zuhn" <zoo@mnnr.org>)
+
+Fri Jan 21 16:29:28 2000  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument
+       for the GtkStyleClass vtable const.
 
        * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc
        take a const string argument like GtkTranslateFunc. This will