1 1999-03-16 Tor Lillqvist <tml@iki.fi>
3 * README.win32: New file.
5 * configure.in: Check for lstat.
7 * config.h.win32: Add non-definition of HAVE_LSTAT, just for
10 * gtk/gtkrc.c: If don't HAVE_LSTAT, use stat.
12 * gtk/gtk.def: Removed CRs.
14 * gtk/makefile.msc: Correct include path to Win32 GDK version (in
17 * gdk/win32/makefile.msc: Correct upwards relative paths.
19 Mon Mar 15 03:38:34 1999 George Lebl <jirka@5z.com>
21 * gtk/gtkdnd.c: (gtk_drag_highlight) swap the
22 gtk_drag_highlight_expose and gtk_drag_highlight_paint since
23 it was connecting a void function to expose_event and the int
24 returning function to the draw signal
26 1999-03-14 Jeff Garzik <jgarzik@pobox.com>
29 Use correct path to libgmodule.la when ref'ing uninstalled copy
30 of glib. (Already in stable branch, Bug #417)
32 1999-03-15 Tor Lillqvist <tml@iki.fi>
34 Win32 merge and general portability stuff:
36 * acconfig.h,configure.in: Check for <sys/time.h>.
38 * gdk/win32: New directory (actually, been there for a while).
40 * gtk/fnmatch.c: Include <glib.h> for G_DIR_SEPARATOR, WIN32 and
41 NATIVE_WIN32, and use these. Always case fold on Win32. No
42 backslashed escapes on native Win32.
44 * gtk/{gtk.def,makefile.msc}: New files.
46 * gtk/Makefile.am: Add above new files.
48 * gtk/{gtkaccelgroup,gtkbindings}.c: Include <string.h>
49 instead of <strings.h>.
51 * gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include
52 config.h. Protect inclusion of <sys/param.h>, <sys/time.h>, and
53 <unistd.h> appropriately.
55 * gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much).
56 Use ABS() (from <glib.h>) instead of abs().
58 * gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion
59 of gtk (and thus glib) headers, so that WIN32 will be
60 defined. With MS C, include <direct.h> for mkdir prototype.
62 * gtk/gtkitemfactory.c (gtk_item_factory_callback_marshal): Add
63 some casts, needed by MS C.
65 * gtk/{gtklayout,gtkplug}.c: Merge in Win32 version (which isn't
68 * gtk/gtkmain.c: Include gdk/gdkx.h for GDK_WINDOWING. Include
69 <X11/Xlocale.h> only on X11 platform, otherwise <locale.h>. Use
70 G_SEARCHPATH_SEPARATOR_S and g_module_build_path.
72 * gtk/gtkmain.h: Mark variables for export/import on Win32.
74 * gtk/gtkrange.c (gtk_range_motion_notify): Set mods also in case
75 the event is not a hint, or its window is not the slider. Needed
78 * gtk/gtkrc.c: Include config.h and gdk/gdkx.h. Use <locale.h>
79 unless on X11. Skip \r chars, too. Use G_DIR_SEPARATOR and
80 G_SEARCHPATH_SEPARATOR(_S). Use g_path_is_absolute. On Win32, use
81 a subdirectory of the Windows directory as gtk system
82 configuration directory.
84 * gtk/gtkselection.c: No chunks on Win32.
86 * gtk/gtksocket.c: Not implemented on Win32.
88 * gtk/gtkthemes.c (gtk_theme_engine_get): Use g_module_build_path.
90 * gtk/makeenums.h: Include gdkprivate.h after gdk.h.
92 * gtk/maketypes.awk: Declare variables with a macro that expands to
93 necessary export/import magic in the case of Win32.
95 * gtk/testrgb.c: Use dynamically allocated buffer. Use GTimers.
97 1999-03-13 Raja R Harinath <harinath@cs.umn.edu>
99 * configure.in (gdk_wc): Move widechar tests from `glib' to here,
100 since those were meant only for gdki18n.h.
101 * gdk/gdki18n.h: Include gdkconfig.h and use GDK_* instead of G_*
103 * gtk/Makefile.am (INCLUDES): Add -I../gdk for gdkconfig.h.
105 1999-03-13 Tor Lillqvist <tml@iki.fi>
107 * configure.in acconfig.h: Check for dirent.h and pwd.h. Generate
108 gdk/gdkconfig.h using similar mechanism as GLib's glibconfig.h.
110 * gtk-config.in: Add @libdir/gtk+/include (where gdkconfig.h is
111 installed) to CFLAGS.
113 * gdk/Makefile.am: Add rules for gdkconfig.h.
115 * gdk/gdktypes.h: Include gdkconfig.h. Define macros for windowing
118 * gdk/gdkfontsel.c: Don't include Xlib.h, it gets included via
119 gdkx.h anyway when compiling for X11.
120 (gtk_font_selection_create_xlfd): Use g_strdup_printf. (In
121 general): Merge in Win32 version.
123 * gtk/gtkfilesel.c: Use g_get_current_dir(). Merge in Win32
124 version: Use G_DIR_SEPARATOR, g_path_is_absolute, no tilde
125 expansion (if we don't have HAVE_PWD_H), allow for drive
126 letters. UNC paths (\\server\share\...) are not handled yet. Also,
127 included code from Craig Setera's port to Win32 (the one that uses
128 X11, and the cygwin dll), even if it probably will be abandoned.
130 * gtk/gtkfilesel.c: Don't append a * to the pattern to complete if
131 the user entered one herself. This way one can complete *.h and
132 don't get matches on any .help files, for instance.
134 Tue Mar 9 01:01:28 1999 Tim Janik <timj@gtk.org>
136 * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
137 font hash table, if we have a GdkFontPrivate entry for this font
138 already, simply increment its reference count, provided by Olaf Dietsche
139 <olaf.dietsche+list.gtk@netcologne.de>.
141 * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
142 provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
144 1999-03-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
146 * gtk/gtkstyle.c (gtk_default_draw_handle): Significantly reduced
147 the number of calls to gdk_draw_point() (and thus to X) by
148 clipping the points by hand.
150 * gtk/gtkhandlebox.c (draw_textured_frame): Actually make use of
152 (gtk_handle_box_paint): Only paint the handle if the expose area
155 Sun Mar 7 18:46:37 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
157 * gtk/gtkmain.c (add_dll_suffix): Add this function (OS/2 ver.)
159 Sun Mar 7 11:43:34 1999 ape@spacetec.no (Asbjorn Pettersen)
161 * gtk/gtkthemes.c (gtk_theme_engine_get): Add OS/2 changes.
162 Added function gen_8_3_dll_name(gchar *name, gchar *fullname).
164 Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
166 * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
167 textmode (O_TEXT) for OS/2 version.
169 Sun Feb 28 16:46:02 1999 Stefan Jeske <stefan@gtk.org>
171 * gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to
172 GtkSpinButton, "input" and "output", to make the output more flexible.
173 The user has to provide a mapping between adjustment->value and the
174 output string (and vice versa, if the spin button is editable).
175 See testgtk for examples.
177 Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
179 * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
182 * configure.in: set gtk+ version to 1.3.0.