]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-8
Typo.
[~andy/gtk] / ChangeLog.pre-2-8
1 1999-07-09  Tor Lillqvist  <tml@iki.fi>
2
3         * gdk/win32/gdkdraw.c (gdk_draw_arc): Don't draw anything if width
4         or height is zero. Don't print a warning if Pie or Arc fails, they
5         always fail (?) for very narrow ellipses.
6
7         * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Call InvalidateRgn for
8         the part or the destination window corresponding to source area
9         outside of the source drawable's boundary.
10
11         * gdk/win32/gdkdraw.c (gdk_draw_lines, gdk_draw_polygon): Don't do
12         anything if less than two points.
13
14         * gdk/win32/gdkselection.c (gdk_selection_owner_get): Always
15         return NULL. Gtk cut-and-paste inside a single program works
16         better this way. (It always gets the clipboard contents from
17         Windows, not from its own copy, which is cleared anyway. I can't
18         say I fully understand what happens... Emulating the X selection
19         and property stuff is a bit of a mess.)
20
21         * gdk/win32/gdkevents.c
22         * gdk/win32/gdkproperty.c: A bit more verbose logging.
23
24         * gdk/win32/gdkregion.c: Fix some memory leaks (temporary regions
25         that never got deleted). Revamp gdk_region_shrink.
26
27         * gdk/win32/gdkregion.c: Fix memory leak, delete temporary regions
28         after use.
29
30         * gtk/gtk.def: Add some missing entry points.
31
32         * gtk/gtkrc.c: Strip trailing directory separator from pixmap path
33         component.
34
35 1999-07-04  Tor Lillqvist  <tml@iki.fi>
36
37         * gdk/win32/gdkevents.c (gdk_event_translate): Handle
38         Control-digits specially.
39
40 1999-07-03  Tor Lillqvist  <tml@iki.fi>
41
42         * gtk/makefile.{cygwin,msc}: New pthreads version. Use gettext.
43
44 1999-06-28  Tor Lillqvist  <tml@iki.fi>
45
46         * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
47         bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
48         finding this.)
49
50 1999-06-01  Jose H Mercado  <jmercado@mit.edu>
51
52         * gtk+.spec.in: Corrected some typos in files section.
53         
54 1999-06-15  Tor Lillqvist  <tml@iki.fi>
55
56         * README.win32: Mention using GNU gettext.
57         * config.h.win32: Enable NLS stuff.
58         * gtk/makefile.msc: Use GNU gettext.
59         * gdk/win32/gdkdnd.c: Minor header reorg.
60         * gdk/win32/{gdkevents,gdkwindow}.c: No semantic changes, mainly
61         cosmetics.
62         * gtk/gtkrc.c (Win32): Make get_gtk_sysconf_directory() public.
63         * gtk/gtkmain.c (Win32): Use it in bindtextdomain() call.
64
65 Wed Jun  2 11:44:25 PDT 1999 Manish Singh <yosh@gimp.org>
66
67         * acinclude.m4
68         * config.guess
69         * config.status
70         * ltconfig
71         * ltmain.sh: upgrade to libtool 1.3.2 (BeOS changes merged)
72
73 1999-05-30  Tor Lillqvist  <tml@iki.fi>
74
75         * gdk/win32/gdkwindow.c: AdjustWindowRectEx2 renamed to
76         SafeAdjustWindowRectEx. Don't override all calls to
77         AdjustWindowRectEx by it, but use it only in two places: When
78         creating a new top-level window and when moving a top-level
79         window.
80
81         Use screen coordinate rectangle, not client rectangle, in
82         gdk_window_move. Thus SafeAdjustWindowRectEx will do its job only
83         when we try to place a window so that the decoration (mainly,
84         title bar) isn't visible.
85
86         These changes fix the bug that showed up for instance as the
87         GIMP's saved top-level windows moving right and down (by an amount
88         equal to the window decoration) for each session. This bug showed
89         up also in testgtk's "Saved Position".
90
91         gdk_window_resize also redone a bit.
92
93 1999-05-25  Tor Lillqvist  <tml@iki.fi>
94
95         * gtk/testgtkrc: Add (commented out) Windows-style theme
96         include line.
97
98         * gdk/win32/gdk.def,gtk/gtk.def: Add some missing entry points.
99
100 1999-05-18  Tor Lillqvist  <tml@iki.fi>
101
102         * gdk/win32/makefile.{cygwin,msc}: Copy our gdkprivate.h and
103         gdkx.h to a gdk subdirectory, so that applications can include
104         these with <gdk/*.h> without trouble.
105
106         * gdk/win32/gdkimage.c (gdk_image_new_with_depth): Code simplified.
107         (gdk_image_destroy): Plug resource leak, some GdkImages didn't
108         have their bitmap destroyed.
109
110         * gdk/win32/gdk.def: Add gdk_root_parent.
111
112 Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
113
114         * configure.in
115           gtk-config.in
116           ltconfig
117           ltmain.sh     
118           gtk/Makefile.am: changes to compile nicely (with xlib) 
119           on BeOS
120
121 Sat May  1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
122
123         * acinclude.m4
124         * config.guess
125         * config.sub
126         * ltconfig
127         * ltmain.sh: upgrade to libtool 1.3
128
129 Fri Apr 30 13:38:16 1999  Lars Hamann  <lars@gtk.org>
130
131         * gtk/gtkclist.c:
132         * gtk/gtkctree.c: merges from gtk-1-2
133
134 1999-04-25  Tor Lillqvist  <tml@iki.fi>
135
136         Support added for building using a GNU toolchain on Win32,
137         gcc -mno-cygwin (egcs-1.1.2) on cygwin-b20.1.
138
139         * gdk/win32/makefile.cygwin gtk/makefile.cygwin: New files.
140         * config.h.win32: Changes for gcc.
141         * gdk/gdkrectangle.c: Include gdk.h as <gdk/gdk.h>.
142         * gdk/gdkcolor.c: config.h.win32 already defines strcasecmp.
143         * gdk/win32/gdkconfig.h: Only the MS compiler has wctype.h.
144         * gdk/win32/gdkdnd.c: Protect (unused) OLE2 stuff better.
145         Protect shl stuff unavaiilable with mingw32 headers.
146         * gdk/win32/gdkevents.c: Fix typo.
147         * gdk/win32/gdkglobals.c: Use GDKVAR here also for gcc.
148         * gdk/win32/gdkim.c: Use OEM code page for multibyte chars. (?)
149         * gdk/win32/gdkinput.c: Use __try __except only with the MS compiler.
150         * gdk/win32/gdkprivate.h: Make up for some stuff missing from
151         the mingw32 headers.
152         * gdk/win32/makefile.msc: Use latest Wintab kit and glib.
153         * gtk/gtkfilesel.c: Include <glib.h> early, to get stat->_stat
154         definition on Win32. Test for NATIVE_WIN32, not _MSC_VER.
155         * gtk/gtkfontsel.c: Protect CHARSET redefinition on Win32.
156         Test for NATIVE_WIN32, not _MSC_VER.
157         * gtk/gtkmain.c: No use warning about developer version on Win32,
158         there aren't any non-developer versions anyhow.
159         * gtk/gtkrc.c: Test for NATIVE_WIN32, not _MSC_VER.
160         * gtk/makefile.msc: Use pthread from another directory. Minor other
161         changes. 
162
163 Wed Apr 21 14:20:22 1999  George Lebl  <jirka@5z.com>
164
165         * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
166           default filter from the list
167
168 Mon Mar  8 12:52:53 1999  Owen Taylor  <otaylor@redhat.com>
169
170         * gtk/gtkwidget.c (gtk_widget_grab_default): Add a warning
171          when gtk_widget_grab_default() is called for a widget that
172          is not within a GtkWindow.
173
174 Sat Apr 10 13:52:54 BST 1999  Tony Gale <gale@gtk.org>
175
176         * docs/gtk_tut.sgml, examples/clist.c: use a
177           scrolled window in the clist example. Minor
178           tutorial fixes.
179
180 Fri Apr  2 09:19:20 BST 1999  Tony Gale <gale@gtk.org>
181
182         * docs/gtk_tut.sgml: Style check from David King
183           <dking@youvegotmail.net>
184
185 1999-03-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
186
187         * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
188         compile with unknown value of GDK_WINDOWING
189
190 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
191
192         * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
193         after the rule is fired.
194         (install-exec-local): Install gdkconfig.h only if the contents are
195         different from the currently installed gdkconfig.h.
196
197 1999-03-26  Raja R Harinath  <harinath@cs.umn.edu>
198
199         * gdk/Makefile.am (configexecincludedir): Rename from 
200         configincludedir so that gdkconfig.h will be installed 
201         as part of `make install-exec'. 
202
203 Fri Mar 19 16:50:33 PST 1999 Manish Singh <yosh@gimp.org>
204
205         * acinclude.m4
206         * config.guess
207         * config.sub
208         * ltconfig
209         * ltmain.sh: upgrade to libtool 1.2f
210
211         * autogen.sh: libtool is not required to autogen gtk+
212
213         * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
214         needed)
215
216 1999-03-18  Tor Lillqvist  <tml@iki.fi>
217
218         * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
219         declaring gdk variables exported/imported from the DLL. New image
220         type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
221         drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
222         GDK_DRAG_PROTO_OLE2.
223
224         * gdk/gdk.h: Merge in Win32 version: Two new functions,
225         gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
226         declared only for the Win32 version, but could be in the X11
227         version as well. (Needed for a Xlib-less gdk_imlib.)
228         gdk_color_hash should have only one parameter. Declare
229         gdk_threads_mutex with GDKVAR.
230         
231         * gdk/gdkcolor.c (gdk_color_hash): A hash function should have
232         just one parameter.
233
234         * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
235         per pixel, not bits.
236
237         * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
238         Fetch bpp (which means bits-per-pixel here) from another place on
239         Win32. Accept also depth==32 (which we might get on Win32) with
240         bpp==32.
241
242         * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
243         gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
244         gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
245         Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
246         in the backend-dependent directory, not in the common gdk
247         directory.
248
249         * gtk/testgtk.c: Ditto. Also, don't use ../gdk path to gdk
250         headers.
251
252 Wed Mar 17 05:06:49 1999  Tim Janik  <timj@gtk.org>
253
254         * gtk/gtkmain.c (gtk_init_check): tell people that they don't really
255         want to use the Gtk+ devel version (which is true, and yes - even i am
256         currently working with the 1.2.x branch). so everyone reading this, you
257         probably want to issue
258         cvs checkout -r glib-1-2 glib
259         and
260         cvs checkout -r gtk-1-2 gtk+
261         as your next two comands.
262
263 Wed Mar 17 02:49:32 1999  Tim Janik  <timj@gtk.org>
264
265         * configure.in: build gtkcompat.h from gtkcompat.h.in instead of
266         gtkfeatures.h from gtkfeatures.h.in, require GLib 1.3.0.
267
268         * gtk/gtkcompat.h.in: combined gtkcompat.h and gtkfeatures.in in this
269         file. strongly deprecated the GTK_HAVE_* macros, we provide
270         GTK_CHECK_VERSION() for people that need to check for certain
271         Gtk+ versions.
272
273         * gtk/gtkcompat.h: removed this from CVS.
274         * gtk/gtkfeatures.h.in: removed this from CVS, gtkfeatures.h was a bad
275         idea right from the start, it just didn't seem like that back then.
276
277 Wed Mar 17 01:46:28 1999  Tim Janik  <timj@gtk.org>
278
279         * merges from gtk-1-2:
280
281 Tue Mar 16 17:43:33 1999  Tim Janik  <timj@gtk.org>
282
283         * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_string): ensure the
284         item factory class has been created.
285         (gtk_item_factory_parse_rc): likewise.
286
287         * gtk/gtkmenu.c:
288         keep proper references for old_active_menu_item.
289         (gtk_menu_reparent): unset the usize of the new parent,
290         so the menu can sanely be size requested and we don't get nasty screen
291         artefacts upon next reparentation.
292         (gtk_menu_motion_notify): set send_event to TRUE if we synthesize an
293         enter notify. only synthesize enter notifies if the pointer really is
294         inside the event window.
295         (gtk_menu_popdown): use gtk_menu_shell_deselect().
296         (gtk_menu_popup): move the background setting stuff into
297         gtk_menu_tearoff_bg_copy() so it can be called from other places as well.
298
299         * gtk/gtkmenushell.c (gtk_menu_shell_button_press): use
300         gtk_menu_shell_select_item() to select the new item.
301         (gtk_menu_shell_deselect): export this function, so gtkmenu.c can
302         do the right thing for deselection as well.
303
304 Sat Mar 15 20:10:33 1999  Tim Janik  <timj@gtk.org>
305
306         * gtk/gtkwidget.[hc]:
307         (gtk_widget_accelerators_locked): return whether a widget's accelerators
308         are locked.
309
310         * gtk/gtkmenu.c (gtk_menu_key_press): don't remove or install new or
311         existing accelerators if the widget's accelerators are locked.
312
313 Sat Mar 14 19:44:05 1999  Tim Janik  <timj@gtk.org>
314
315         * gtk/gtkitemfactory.[hc]: allow managing of foreign menu items.
316
317         * gtk/gtkmenu.c: truely forward key press and key release events to
318         the menu widget from the toplevel or tearoff window. we can't simply
319         connect to that, we need to stop further processing of the events as
320         well.
321
322 Sat Mar 13 13:14:17 1999  Tim Janik  <timj@gtk.org>
323
324         * gtk/gtkmenu.c:
325         (gtk_menu_key_press): pass event->keyval, event->state to
326         gtk_accelerator_valid, instead of event->keyval twice.
327         refuse to install single letter accelerators for menus that use
328         single letter shortcuts.
329
330         * gtk/gtkitemfactory.c (gtk_item_factory_create_item): use
331         gtk_menu_ensure_uline_accel_group().
332
333         * gtk/gtkmenu.[hc]: added gtk_menu_ensure_uline_accel_group()
334         which will always return an uline accel group, made
335         gtk_menu_get_uline_accel_group() return NULL if the group isn't
336         yet created.
337
338 Mon Mar 15 01:03:27 1999  Lars Hamann  <lars@gtk.org>
339
340         * gtk/gtkclist.h (struct _GtkCListColumn): added button_passive flag.
341
342         * gtk/gtkclist.c (gtk_clist_column_title_passive):
343         Leave button sensitive, trap  button_press, button_release,
344         motion_notify, enter_notify and leave_notify events instead.
345         (gtk_clist_column_title_active): disconnect event handler.
346         (gtk_clist_drag_data_get): fixed memory leak. Reported by
347         Guillaume Laurent <glaurent@worldnet.fr>
348
349 Wed Mar 10 23:49:55 1999  Lars Hamann  <lars@gtk.org>
350
351         * gtk/gtklayout.c (gtk_layout_adjustment_changed): fixed a few
352         width/height mixups.
353
354         * gtk/gtkctree.c (tree_delete): emit an tree_unselect_row signal
355         if needed.
356
357 Wed Mar 10 00:11:32 1999  Tim Janik  <timj@gtk.org>
358
359         * gtk/testgtk.c (create_item_factory): unref the item factory after
360         window's destruction.
361
362         * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): keep a reference
363         count on the menu shell around the menu item's activation, since the
364         signal emission may cause menu shell destruction.
365
366         * gtk/gtkitemfactory.c:
367         the previous code leaked one accel group per menu. we use
368         gtk_menu_get_uline_accel_group() now to fix that, and with that
369         also create the underline accelerator group of the menus only if
370         required (i.e. an underline accelerator has been specified).
371         (gtk_item_factory_construct):
372         (gtk_item_factory_create_item): removed code that would create an
373         extra accel group for the menu (and leak references).
374         (gtk_item_factory_create_item): adapted the underline accelerator
375         installation code to properly feature gtk_menu_get_uline_accel_group().
376
377         * gtk/gtkmenu.[hc]: added gtk_menu_get_accel_group() to retrive
378         menu->accel_group, this may return NULL if the accelerator group
379         hasn't been set yet.
380         added gtk_menu_get_uline_accel_group() to retrive the underline
381         accelerator group of the menu, this will be created on demand
382         and proper care is taken about its reference count.
383
384         * gtk/gtkitemfactory.h:
385         * gtk/gtkitemfactory.c:
386         dumped the approach of keeping a widgets by action list on the
387         factory since the factory<->widget destroy negotiation didn't work
388         and would be hard to get going at all. instead we keep a list of
389         GtkItemFactoryItem items on the factory (GtkItemFactoryItems are
390         persistant throughout a program's life time).
391         also, i removed the static const gchar *key_* variables, and made
392         them inline strings (they weren't actually used anyways).
393         (gtk_item_factory_add_item): update ifactory->items.
394         (gtk_item_factory_destroy): destroy ifactory->items (and remove
395         the item factory pointer from the remaining ifactory widgets).
396         (gtk_item_factory_get_widget_by_action): walk the GtkItemFactoryItem
397         list to find the widget.
398         (gtk_item_factory_get_item): new function that works around
399         gtk_item_factory_get_widget() limitations, this function will only
400         return menu items, even for <Branch> entries.
401
402 Tue Mar  9 01:01:28 1999  Tim Janik  <timj@gtk.org>
403
404         * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
405         font hash table, if we have a GdkFontPrivate entry for this font
406         already, simply increment its reference count, provided by Olaf Dietsche
407         <olaf.dietsche+list.gtk@netcologne.de>.
408
409         * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
410         provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
411
412 Sun Mar  7 06:13:29 1999  Tim Janik  <timj@gtk.org>
413
414         * gtk/gtkcontainer.c:
415         (gtk_container_add_with_args):
416         (gtk_container_addv):
417         (gtk_container_add): before adding a child to a conatiner, make sure
418         it is (default) constructed, this is neccessary because under certain
419         circumstances the child will get relized and mapped immediatedly, in
420         which case it has to be constructed already.
421
422 Mon Mar  1 17:58:21 1999  Tim Janik  <timj@gtk.org>
423
424         * gtk/gtksignal.c (gtk_signal_connect_by_type): count object_signal
425         values > 1 as TRUE also.
426
427 1999-03-16  Tor Lillqvist  <tml@iki.fi>
428
429         * README.win32: New file.
430                 
431         * configure.in: Check for lstat.
432
433         * config.h.win32: Add non-definition of HAVE_LSTAT, just for
434         completeness.
435
436         * gtk/gtkrc.c: If don't HAVE_LSTAT, use stat.
437
438         * gtk/gtk.def: Removed CRs.
439
440         * gtk/makefile.msc: Correct include path to Win32 GDK version (in
441         ..\gdk\win32).
442
443         * gdk/win32/makefile.msc: Correct upwards relative paths.
444         
445 Mon Mar 15 03:38:34 1999  George Lebl  <jirka@5z.com>
446
447         * gtk/gtkdnd.c: (gtk_drag_highlight) swap the
448           gtk_drag_highlight_expose and gtk_drag_highlight_paint since
449           it was connecting a void function to expose_event and the int
450           returning function to the draw signal
451
452 1999-03-14  Jeff Garzik  <jgarzik@pobox.com>
453
454         * configure.in:
455         Use correct path to libgmodule.la when ref'ing uninstalled copy
456         of glib.  (Already in stable branch, Bug #417)
457
458 1999-03-15  Tor Lillqvist  <tml@iki.fi>
459
460         Win32 merge and general portability stuff:
461                 
462         * acconfig.h,configure.in: Check for <sys/time.h>.
463
464         * gdk/win32: New directory (actually, been there for a while).
465         
466         * gtk/fnmatch.c: Include <glib.h> for G_DIR_SEPARATOR, WIN32 and
467         NATIVE_WIN32, and use these. Always case fold on Win32. No
468         backslashed escapes on native Win32.
469
470         * gtk/{gtk.def,makefile.msc}: New files.
471
472         * gtk/Makefile.am: Add above new files.
473         
474         * gtk/{gtkaccelgroup,gtkbindings}.c: Include <string.h>
475         instead of <strings.h>.
476
477         * gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include
478         config.h. Protect inclusion of <sys/param.h>, <sys/time.h>, and
479         <unistd.h> appropriately.
480
481         * gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much).
482         Use ABS() (from <glib.h>) instead of abs().
483         
484         * gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion
485         of gtk (and thus glib) headers, so that WIN32 will be
486         defined. With MS C, include <direct.h> for mkdir prototype.
487
488         * gtk/gtkitemfactory.c (gtk_item_factory_callback_marshal): Add
489         some casts, needed by MS C.
490
491         * gtk/{gtklayout,gtkplug}.c: Merge in Win32 version (which isn't
492         implemented).
493
494         * gtk/gtkmain.c: Include gdk/gdkx.h for GDK_WINDOWING. Include
495         <X11/Xlocale.h> only on X11 platform, otherwise <locale.h>.  Use
496         G_SEARCHPATH_SEPARATOR_S and g_module_build_path.
497
498         * gtk/gtkmain.h: Mark variables for export/import on Win32.
499                 
500         * gtk/gtkrange.c (gtk_range_motion_notify): Set mods also in case
501         the event is not a hint, or its window is not the slider. Needed
502         on Win32, at least.
503
504         * gtk/gtkrc.c: Include config.h and gdk/gdkx.h. Use <locale.h>
505         unless on X11. Skip \r chars, too. Use G_DIR_SEPARATOR and
506         G_SEARCHPATH_SEPARATOR(_S). Use g_path_is_absolute. On Win32, use
507         a subdirectory of the Windows directory as gtk system
508         configuration directory.
509
510         * gtk/gtkselection.c: No chunks on Win32.
511
512         * gtk/gtksocket.c: Not implemented on Win32.
513
514         * gtk/gtkthemes.c (gtk_theme_engine_get): Use g_module_build_path.
515
516         * gtk/makeenums.h: Include gdkprivate.h after gdk.h.
517
518         * gtk/maketypes.awk: Declare variables with a macro that expands to
519         necessary export/import magic in the case of Win32.
520                 
521         * gtk/testrgb.c: Use dynamically allocated buffer. Use GTimers.
522
523 1999-03-13  Raja R Harinath  <harinath@cs.umn.edu>
524
525         * configure.in (gdk_wc): Move widechar tests from `glib' to here,
526         since those were meant only for gdki18n.h.  
527         * gdk/gdki18n.h: Include gdkconfig.h and use GDK_* instead of G_*
528         for widechar tests.
529         * gtk/Makefile.am (INCLUDES): Add -I../gdk for gdkconfig.h.
530
531 1999-03-13  Tor Lillqvist  <tml@iki.fi>
532
533         * configure.in acconfig.h: Check for dirent.h and pwd.h. Generate
534         gdk/gdkconfig.h using similar mechanism as GLib's glibconfig.h.
535
536         * gtk-config.in: Add @libdir/gtk+/include (where gdkconfig.h is
537         installed) to CFLAGS.
538
539         * gdk/Makefile.am: Add rules for gdkconfig.h.
540
541         * gdk/gdktypes.h: Include gdkconfig.h. Define macros for windowing
542         APIs.
543
544         * gdk/gdkfontsel.c: Don't include Xlib.h, it gets included via
545         gdkx.h anyway when compiling for X11.
546         (gtk_font_selection_create_xlfd): Use g_strdup_printf. (In
547         general): Merge in Win32 version.
548         
549         * gtk/gtkfilesel.c: Use g_get_current_dir(). Merge in Win32
550         version: Use G_DIR_SEPARATOR, g_path_is_absolute, no tilde
551         expansion (if we don't have HAVE_PWD_H), allow for drive
552         letters. UNC paths (\\server\share\...) are not handled yet.  Also,
553         included code from Craig Setera's port to Win32 (the one that uses
554         X11, and the cygwin dll), even if it probably will be abandoned.
555
556         * gtk/gtkfilesel.c: Don't append a * to the pattern to complete if
557         the user entered one herself.  This way one can complete *.h and
558         don't get matches on any .help files, for instance.
559         
560 Tue Mar  9 01:01:28 1999  Tim Janik  <timj@gtk.org>
561
562         * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
563         font hash table, if we have a GdkFontPrivate entry for this font
564         already, simply increment its reference count, provided by Olaf Dietsche
565         <olaf.dietsche+list.gtk@netcologne.de>.
566
567         * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
568         provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
569
570 1999-03-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>
571
572         * gtk/gtkstyle.c (gtk_default_draw_handle): Significantly reduced
573         the number of calls to gdk_draw_point() (and thus to X) by
574         clipping the points by hand.
575
576         * gtk/gtkhandlebox.c (draw_textured_frame): Actually make use of
577         the clip parameter.
578         (gtk_handle_box_paint): Only paint the handle if the expose area
579         intersects it.
580
581 Sun Mar  7 18:46:37 1999  ape@lrdpf.spacetec.no  (Asbjorn Pettersen)
582
583         * gtk/gtkmain.c (add_dll_suffix): Add this function (OS/2 ver.)
584
585 Sun Mar  7 11:43:34 1999  ape@spacetec.no  (Asbjorn Pettersen)
586
587         * gtk/gtkthemes.c (gtk_theme_engine_get): Add OS/2 changes.
588         Added function gen_8_3_dll_name(gchar *name, gchar *fullname).
589
590 Fri Mar  5 09:12:24 1999  ape@lrdpf.spacetec.no  (Asbjorn Pettersen)
591
592         * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
593          textmode (O_TEXT) for OS/2 version.
594
595 Sun Feb 28 16:46:02 1999  Stefan Jeske  <stefan@gtk.org>
596
597         * gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to 
598         GtkSpinButton, "input" and "output", to make the output more flexible.
599         The user has to provide a mapping between adjustment->value and the
600         output string (and vice versa, if the spin button is editable). 
601         See testgtk for examples.
602
603 Sat Feb 27 01:18:47 1999  Tim Janik  <timj@gtk.org>
604
605         * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
606         new one.
607         
608         * configure.in: set gtk+ version to 1.3.0.