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