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