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