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