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