]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-4
75a65f2f94fa1804024f5f955126d96e5cd09baa
[~andy/gtk] / ChangeLog.pre-2-4
1 Sat Oct 30 13:17:18 BST 1999 Tony Gale <gale@gtk.org>
2
3         * docs/gtkfaq.sgml: FAQ update
4
5 1999-10-21  Tor Lillqvist  <tml@iki.fi>
6
7         * gdk/win32/gdkprivate.h: Add more font private data.
8
9         * gdk/win32/gdkfont.c
10         * gdk/win32/gdkdraw.c: Revamped handling of multi-byte charset
11         fonts and strings. Now works much better. You still have to
12         have a correct font selected, though. No fontset emulation yet.
13
14 1999-10-19  Tor Lillqvist  <tml@iki.fi>
15
16         * gtk/maketypes.awk: Use G_OS_WIN32.
17
18         * gtk/gtk.def: Add some missing entry points. Also some non-public
19         ones, but PyGTK porter claims to need them.
20
21         * gtk/makefile.{cygwin,msc}: Drop some unneeded headers from the
22         built-in type generation.
23
24 1999-10-14  Tor Lillqvist  <tml@iki.fi>
25
26         * gdk/win32/gdkdraw.c (gdk_draw_text_wc): Don't use TextOutW for
27         GDK_FONT_FONT fonts (which is all we have for now, we don't
28         emulate fontsets). The X11 version uses plain XDrawString in that
29         case, too. The string passed to gdk_draw_text_wc seems to be in
30         fact (at least, when used by gtkentry and gtktext) either in a
31         single-byte charset, or a DBCS. Not Unicode.
32
33         This fixes the problem in gtkfontsel, where even if you had
34         selected a font with a non-Latin1 charset (windows-greek, for
35         instance), the preview still used Latin-1 glyphs.
36
37         * gdk/win32/gdkfont.c (gdk_text_width_wc): Similar change. Don't
38         use GetTextExtentPoint32W, use GetTextExtentPoint32A.
39         (gdk_font_load): Recognize the demibold etc weights, even if we
40         don't have the corresponding constants in the headers.
41         (gdk_font_hash_insert): Use same hash mechanism as in the X11
42         version. Should save font resources a bit, when we don't have
43         multiple HFONTs for the same font.
44
45         * gdk/win32/gdkprivate.h: Add the names field as in the X11
46         version.
47
48 1999-10-11  ERDI Gergo  <cactus@cactus.rulez.org>
49
50         * gdk/gdk.c (gdk_beep): Modified the XBell call to use the default
51         X values
52
53 1999-10-09  ERDI Gergo  <cactus@cactus.rulez.org>
54
55         * gtk/gtktoolbar.h, gtk/gtktoolbar.c: Added horizontal icon/text
56         layout support (as mentioned on
57         http://www.jcinteractive.com/gnome-ui/software/widgets/)
58
59 Wed Oct  6 12:46:17 PDT 1999 Manish Singh <yosh@gimp.org>
60
61         * gtk/fnmatch.c
62         * gtk/gtkfilesel.c: s/G_HAVE_CYGWIN/G_WITH_CYGWIN/
63
64 1999-10-05  Jesus Bravo Alvarez  <jba@pobox.com>
65
66         * configure.in (ALL_LINGUAS): Added Galician (gl)
67
68 1999-10-05  Tor Lillqvist  <tml@iki.fi>
69
70         * gdk/win32/*.[ch]: Corresponding changes as in X11 backend.
71
72         * gdk/win32/gdkcompat.c: New file, actually provide an
73         implementation for the deprecated functions. (Just temporarily.)
74
75         * gtk/gtkfilesel.c: Fix an #ifdef syntax botch.
76
77         * gtk/makefile.{cygwin,msc}: Update gdk_headers.
78
79         * gdk/win32/gdk.def gtk/gtk.def: Updates.
80
81 1999-10-05  Kjartan Maraas  <kmaraas@online.no>
82
83         * configure.in: Added "uk" to ALL_LINGUAS.
84         
85 Mon Oct  4 11:57:11 PDT 1999 Manish Singh <yosh@gimp.org>
86
87         * configure.in: correct checking for BeOS check
88
89         * gdk/gdktypes.h
90         * gtk/fnmatch.c
91         * gtk/gtkfilesel.c
92         * gtk/gtkitemfactory.c
93         * gtk/gtkmain.[ch]
94         * gtk/gtkrc.c: use G_OS_WIN32 and G_HAVE_CYGWIN #defines
95
96 Mon Oct  4 16:16:53 1999  Pablo Saratxaga <pablo@mandrakesoft.com>
97
98         * gtk/gtkrc.{bg,iso88591[345]}: add gtkrc files for some new charset
99         encodings: iso-8859-13 (for Lithuanian), iso-8859-14 (used by celtic
100         languages), iso-8859-15 (used in Estonia) and microsoft-cp1251 (used
101         by Bulgarian). 
102
103 Sun Oct  3 18:13:44 1999  Owen Taylor  <otaylor@redhat.com>
104
105         * gtk/gtkwidget.c (gtk_reset_shapes_recurse): 
106         Fix a reference to window_private->destroyed.   
107
108         * gtk/gtkplug.c (gtk_plug_realize): Fix up a direct
109         (ugly) setting of an internal GdkWindow member to use
110         a _slightly_ cleaner macro.
111
112         * gdk/gdkprivate.h: Split GdkWindowPrivate into
113         GdkDrawablePrivate and GdkWindowPrivate.
114         Add extra macros for accessing GDK_DRAWABLE_ components.
115
116         * *.[ch]: Massive adjustments for the above, use the
117         new macros in a lot of places.
118
119 Sun Oct  3 15:16:24 1999  Owen Taylor  <otaylor@redhat.com>
120
121         * gdk/gdktypes.h: Make GdkDrawable the base type,
122         not GdkWindow.
123
124 Sun Oct  3 15:08:44 1999  Owen Taylor  <otaylor@redhat.com>
125
126         * gdk/gdkdraw.c (gdk_drawable_get_data): Added new function.
127
128 Sun Oct  3 14:26:15 1999  Owen Taylor  <otaylor@redhat.com>
129
130         * gdk/gxid* gdk/x11/gxid*: Move files into x11 subdirectory.
131
132 Sun Oct  3 14:16:23 1999  Owen Taylor  <otaylor@redhat.com>
133
134         * gdk/gdkdrawable.h: Include gdk/gdkdrawable.h with
135         gdk/ prefix. (Pointed out by chak@is.tsukuba.ac.jp)
136
137         * configure.in gdk/Makefile.am x11/: create x-specific subdirectory.
138
139         * docs/gtk-config.1: Now autogenerated.
140         * docs/Changes-1.4.txt: started
141         
142 1999-10-03  Tor Lillqvist  <tml@iki.fi>
143
144         * gdk/gdkimage.h gdk/gdkpixmap.h: Change GDK_WINDOWING_WIN32 usage
145         to #ifdef also here.
146
147         * gdk/win32/*.h gdk/win32/*.c: Make corresponding changes as those
148         Owen did to the X11 backend.
149
150         * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Fix it again, don't use
151         ScrollWindowEx when blitting inside a window, it can't be correct
152         in the general case.
153
154         * gdk/win32/gdkevents.c: Don't handle WM_SIZING, handling
155         WM_GETMINMAXINFO is easier.
156
157         * gdk/win32/gdkimage.c (gdk_image_new): Create new image with
158         depth equal to the bitspixel value, not the visual's depth.
159
160         * gdk/win32/gdkvisual.c (gdk_visual_init): Set the visual's depth
161         to 24 even if the bitspixel value is 32.
162
163         * gdk/gdkrgb.c (gdk_rgb_select_conv): After the above change, no
164         need to check for depth==32 when bpp==32, depth will always be 24.
165
166 Fri Oct  1 18:03:36 1999  Owen Taylor  <otaylor@redhat.com>
167
168         * docs/Changes-1.4.txt: Started
169         
170         * gtk/Makefile.am (gdk_headers): Include all the new headers.
171
172         * gdk/*.h gdk/*.c: Split gdk.h into lots of itty-bitty little pieces.
173         
174         * gdk/gdkprivate.h gdk/gdkcc.c: Moved GdkColorContext private
175         into C file.
176         
177         * gdkinput.h gdkinputprivate.h - renamed the internal gdkinput
178         header to gdkinputprivate.h.
179
180         * gdk/gdk.h gdk/gdk.c: Removed gdk_time* functions which have been
181         unused since before 1.2.
182
183 1999-09-30  Tor Lillqvist  <tml@iki.fi>
184
185         * gtk/gtkfontsel.c (gtk_font_selection_get_xlfd_field): On Win32,
186         expand possible hex escapes in the font family (put there by
187         logfont_to_xlfd if the font name isn't a legal XLFD font family,
188         mainly if it contains slashes). (gtk_font_selection_create_xlfd):
189         On Win32, add hex escapes here, too.
190
191 Wed Sep 29 19:55:35 1999  Owen Taylor  <otaylor@redhat.com>
192
193         * */*.[ch]: Changed from #if GDK_WINDOWING == GDK_WINDOWING_X11
194         to #ifdef GDK_WINDOWING_X11.
195
196 [ Merges from gtk-1-2 ]
197
198 Wed Sep  8 07:13:29 1999  Tim Janik  <timj@gtk.org>
199
200         * configure.in: fixed "GNU Make" check to pass with new make version
201         3.77.95.
202
203 Fri Sep  3 16:04:41 1999  Tim Janik  <timj@gtk.org>
204
205         * gtk-config.in (--version): don't echo @GTK_VERSION@, but
206         @GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@, so the
207         AM_PATH_GTK() macros don't get confused by the -pre1.
208
209 Thu Sep  2 19:02:37 1999  Owen Taylor  <otaylor@redhat.com>
210
211         * configure.in (REBUILD): Change check for perl5
212           to check explicitely for v >= 5.002. (5.001
213           does not work with our scripts.)
214
215 Wed Aug 25 15:45:46 1999  Tim Janik  <timj@gtk.org>
216
217         * configure.in: evaluate $PERL for the perl version check. added
218         --disable-rebuilds to give the user an option to completely disable
219         any source autogeneration rules.
220
221 Mon Aug 23 23:16:14 1999  Tim Janik  <timj@gtk.org>
222
223         * configure.in: evaluate $ac_make when checking for GNU Make.
224
225 Mon Aug 23 19:11:17 1999  Tim Janik  <timj@gtk.org>
226
227         * docs/Makefile.am: added generation.txt.
228
229         * Makefile.am: require automake 1.4, build README from README.in and
230         INSTALL from INSTALL.in in dist-hook.
231         
232         * README.in:
233         * INSTALL.in: new files to autogenerate README and INSTALL from.
234
235         * configure.in: figure whether we have GNU Make
236
237         * docs/generation.txt: minor additions/corrections.
238
239 Wed Aug 11 13:38:26 BST 1999 Tony Gale  <gale@gtk.org>
240
241         * docs/gtkfaq.sgml: FAQ Update
242
243 July 30, 1999 Elliot Lee <sopwith@redhat.com>
244         
245         * configure.in: Fix autoconf warnings about cross compilation by
246         trying to provide sane defaults for AC_TRY_RUN.
247
248 Fri Jul 16 22:20:21 PDT 1999 Manish Singh <yosh@gimp.org>
249
250         * ltconfig
251         * ltmain.sh: upgrade to libtool 1.3.3
252
253 Thu Jul  8 11:30:18 1999  Owen Taylor  <otaylor@redhat.com>
254
255         * INSTALL: Indicate that the --with-glib= configure
256         time flag is unsupported.
257
258 Mon Jul  5 20:36:03 1999  Owen Taylor  <otaylor@redhat.com>
259
260         * docs/generation.txt: Added a file that gives
261         documenation about the autogeneration process for
262         various autogenerated files.
263         
264 Tue Jun 29 15:59:25 1999  Owen Taylor  <otaylor@redhat.com>
265
266         * configure.in (LIBS): Look for libgmodule in the
267         right location.
268
269 Thu Jun 17 13:57:31 1999  Owen Taylor  <otaylor@redhat.com>
270
271         * docs/gtk_tut.sgml: Removed references to
272         code examples in my directory on gtk.org as
273         they should all be in the tutorial now.
274
275         * docs/gtk_tut.sgml: Added sources for dial-test
276         and scribble-xinput programs that were previously
277         missing.
278
279 Fri Jun  4 00:08:59 1999  Owen Taylor  <otaylor@redhat.com>
280
281         * TODO: Added entry about menu keyboard navigation, removed
282         some finished items.
283
284 Mon May 31 00:11:24 1999  Owen Taylor  <otaylor@redhat.com>
285
286         * acinclude.m4: Standardize on func_dgettext
287         not func_gettext, so that the checks for dgettext
288         actually are paid attention to.
289
290 Wed May  5 10:47:54 1999  Owen Taylor  <otaylor@redhat.com>
291
292         * configure.in (LIBS): Add $INTLLIBS into $LIBS
293         directly, rather than repeating the checks for
294         gettext.
295
296         * INSTALL: Added information about gettext and
297         NLS support.
298
299         * acinclude.m4 (LIBM): Check for dgettext, not
300         just gettext. This should hopefully fix things wrt
301         systems with old versions of GNU gettext installed.
302
303 Tue Jun 29 15:59:25 1999  Owen Taylor  <otaylor@redhat.com>
304
305         * configure.in (LIBS): Look for libgmodule in the
306         right location.
307
308 Thu Apr  1 16:58:10 PST 1999 Manish Singh <yosh@gimp.org>
309
310         * autogen.sh: add --enable-maintainer-mode
311
312         * configure.in: set ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
313
314 Wed Mar 24 23:03:49 CST 1999 Shawn T. Amundson <amundson@gtk.org>
315
316         * docs/gtk-config.1.in:
317           docs/Makefile.am:
318           configure.in: gtk-config is now generated.
319
320         * docs/gtk-config.1: Removed, now generated.
321
322 Thu Sep 23 17:59:59 1999  Tim Janik  <timj@gtk.org>
323
324         * gdk/gdkevents.c (gdk_event_translate): grr, even if Gdk doesn't
325         handle CreateNotify itself, still put out a debuging message for
326         --gdk-debug=events. made the ReparentNotify debugging message more
327         verbose.
328         wrap xcoords translation for ConfigureEvents into an error trap,
329         a destroy event may already be pending, and in that case, the
330         actuall coordinate values are not at all critical.
331
332 Sat Sep 18 22:24:15 1999  Owen Taylor  <otaylor@redhat.com>
333
334         * gdk/gdkcc.c: Stop leaking the color_hash all over
335         the place. Simplify and improve the logic.
336
337 Fri Sep 17 09:57:15 1999  Tim Janik  <timj@gtk.org>
338
339         * gdk/gdk.h, gdk/gdkcolor.c: make return types (gint or gboolean)
340         for prototypes and function implementations consistent (reported
341         by Tomas Ogren).
342
343 Tue Sep 14 18:23:01 1999  Tim Janik  <timj@gtk.org>
344
345         * gdk/gdkevents.c (gdk_event_translate): tell if expose events have
346         send_event set in debugging output.
347         (gdk_compress_exposures): default initialize the event so we don't
348         operate on bogus values (namely send_event).
349
350 Thu Sep  2 16:33:59 1999  Owen Taylor  <otaylor@redhat.com>
351
352         * gdk/gdkwindow.c: When we receive an unexpected
353         destroy notify on one of our windows, don't just
354         warn about it, also mark our windows as destroyed.
355
356 Sun Sep  5 08:10:53 1999  Owen Taylor  <otaylor@redhat.com>
357
358         * gdk/gdkfont.c (gdk_font_hash_insert): Add
359           name => font and name => fontset hashes. The 
360           name => fontset hash is a _big_ win since we
361           weren't previously caching fontsets at all and loading
362           fontsets is expensive. The name => font hash
363           is less of a win, but it does save us from doing
364           repeated XQueryFont calls on the same font.
365
366         * gdk/gdkprivate.h (struct _GdkFontPrivate): Add a names
367           list so we can remove font/fontset from hash.
368
369 Thu Sep  2 19:02:37 1999  Owen Taylor  <otaylor@redhat.com>
370
371         * gdk/gdkproperty.c (gdk_atom_intern): Remove useless
372           and slightly confusing test. [ XInternAtom (,,TRUE)
373           will never return None ].
374
375 Sat Sep  4 08:39:26 1999  Owen Taylor  <otaylor@redhat.com>
376
377         * gdk/gdkwindow.c (gdk_window_set_geometry_hints)
378           gdk/gdkwindow.c (gdk_window_set_hints):
379
380         Don't omit setting the properties if flags == 0 -
381         there may be an existing set of properties there
382         already. (Very old bug. Would it be better to
383         delete the property instead?)
384
385         * gdk/gdkselection.c (gdk_selection_property_get): Fix 
386           spelling error in comment.
387
388 Wed Sep  1 14:05:30 1999  Owen Taylor  <otaylor@redhat.com>
389
390         * gdk/gdkimage.c (gdk_image_new): Use gdk_error_trap_push()
391           to avoid stomping over gdk_error_warnings.
392
393         * gdk/gdkimage.c (gdk_image_new): compute image->bpp
394           as (bits_per_pixel + 7) / 8. This gives the same
395           result as before for multiples of 8, but actually
396           a "reasonable" value for 1bit or 4bit displays.
397
398 Mon Aug 23 19:11:17 1999  Tim Janik  <timj@gtk.org>
399
400         * gdk/Makefile.am: minor cleanups, strip spaces on build rules for
401         GNU Make.
402
403 Tue Aug 17 07:43:04 1999  Tim Janik  <timj@gtk.org>
404
405         * gdk/gdkevents.c (gdk_event_translate): give a debugging note when
406         discarding configure events.
407
408 1999-08-18  Federico Mena Quintero  <federico@redhat.com>
409
410         * gdk/gdkpixmap.c (gdk_pixmap_unref): g_return_if_fail() the
411         refcount is greater than zero.
412
413         * gdk/gdkwindow.c (gdk_window_unref): Likewise.
414
415         * gdk/gdkfont.c (gdk_font_unref): Likewise.
416
417         * gdk/gdkgc.c (gdk_gc_unref): Likewise.
418
419         * gdk/gdkdnd.c (gdk_drag_context_unref): Likewise.
420
421 Wed Aug 11 01:04:57 1999  Owen Taylor  <otaylor@redhat.com>
422
423         * gdk/gdkproperty.c (gdk_property_get): Fix assumption
424         that format 32 => sizeof(item) == 4. It really is
425         sizeof(long).
426
427 Tue Jun 29 23:02:42 1999  Owen Taylor  <otaylor@redhat.com>
428
429         * gdk/gdk.c (gdk_x_error / gdk_x_io_error): Don't
430         core dump at all on X IO errors, only core dump
431         if --enable-debug for X errors.
432
433 Thu Jun 24 17:06:23 1999  Tim Janik  <timj@gtk.org>
434
435         * gdk/gdkevents.c (gdk_event_translate): removed old ""Got event for
436         unknown window:" message. disabled ConfigureNotify discarding code,
437         because it led to events being processed out of order.
438
439 Thu Jun 24 12:22:02 1999  Tim Janik  <timj@gtk.org>
440
441         * gdk/gdkglobals.c: preinitialize gdk_error_code to 0.
442
443         * gdk/gdkevents.c (gdk_event_send_client_message_to_all_recurse): since
444         we export this function, supress error warnings and don't reset the
445         error code in the first half of this function.
446
447         * gdk/gdk.c (gdk_x_error): set gdk_error_code to the actuall X error
448         code (instead of just -1) so gdk_error_trap_pop() reveals something
449         actually informative about the error that happened.
450
451         * gdk/*.c:
452         don't rely on gdk_error_code being -1 if an error occoured, but just
453         gdk_error_code != 0.
454
455 Thu Jun 24 11:50:07 1999  Tim Janik  <timj@gtk.org>
456
457         * gdk/gdkevents.c (gdk_event_apply_filters): advance the filter list
458         pointer *before* invoking the filter function, so we at least don't
459         crash if a filter is removed that is currently executed. window filters
460         *really* need to be made truely reentrant at some point.
461
462 Mon Jun 14 11:10:15 1999  Tim Janik  <timj@gtk.org>
463
464         * gdk/gdkevents.c (gdk_event_translate): print the atom name in the
465         PropertyNotify debug messages.
466
467 Wed May  5 22:51:06 1999  Owen Taylor  <otaylor@redhat.com>
468         
469         Patch from Sung-Hyun Nam <namsh@lgic.co.kr>
470         
471         * gdk/gdkim.c: Fix cut-and-paste errors for 
472         x/y and PreeditAttributes/StatusAttributes.
473
474 Wed May  5 22:24:21 1999  Owen Taylor  <otaylor@redhat.com>
475
476         * gdk/gdkwindow.c (gdk_window_set_geometry_hints): Change
477         G_MAXINT to 2^16 to alleviate overflow problems in
478         various window managers.
479
480 Wed Apr 21 00:42:08 1999  Owen Taylor  <otaylor@redhat.com>
481
482         * gdk/gdkfont.c (gdk_text_measure): Fix the return value
483         for fontsets.
484
485 Wed May  5 12:42:01 1999  Owen Taylor  <otaylor@redhat.com>
486
487         * gdk/gdkwindow.c (gdk_window_set_geometry_hints):
488         Initialize size_hints.x and size_hints.y because kwm
489         brokenly pays attention to them.
490         (Bug #1181 -  Lars Heete <hel@admin.de>)
491
492 Wed May  5 11:38:56 1999  Owen Taylor  <otaylor@redhat.com>
493
494         * gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the 
495         return value of gdk_list_visuals(). 
496         (Bug #1193 - Morten Welinder <terra@diku.dk>)
497
498 Tue May  4 11:12:56 PDT 1999 Manish Singh <yosh@gimp.org>
499
500         * gdk/gdkim.c (gdk_im_real_open): cast the return value of
501         XSetIMValues to (void *) when comparing to NULL, to workaround
502         the problem of some compilers barfing since older X headers don't
503         have the prototype for it.
504
505 Mon Apr 19 10:11:12 1999  Owen Taylor  <otaylor@redhat.com>
506
507         * gdk/gdkcolor.c (gdk_colormap_new): Fix memory leak
508         for pseudocolor where colormap->colors was double
509         allocated.
510
511         * gdk/gdkcolor.c (gdk_colormap_alloc1): Store the
512         color value in the hash table with the pixel filled
513         in so when we do later hash table lookups, the color
514         value is correct.
515         
516 Sun May  2 15:29:45 PDT 1999 Manish Singh <yosh@gimp.org>
517
518         * gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before
519         making the call
520
521 Tue Apr 27 11:17:35 1999  Owen Taylor  <otaylor@redhat.com>
522
523         * gdk/gdkdnd.c (xdnd_set_{targets,actions}): Fix leak
524         pointed out by Morten Welinder <terra@diku.dk>.
525
526 Wed Apr 21 14:20:22 1999  George Lebl  <jirka@5z.com>
527
528         * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
529           default filter from the list
530
531 Wed Apr 21 14:20:22 1999  George Lebl  <jirka@5z.com>
532
533         * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
534           default filter from the list
535
536 Fri Apr 16 20:41:43 PDT 1999 Manish Singh <yosh@gimp.org>
537
538         * gdk/gdk.c: #include "gdkkeysyms.h" for gdk_XConvertCase #defines
539
540         * gtk/gtkfontsel.c (gtk_font_selection_create_xlfd): use
541         g_strdup_printf instead of calcing the length separately
542
543 Tue Apr 13 02:49:33 1999  Owen Taylor  <otaylor@redhat.com>
544
545         * gdk/gdkwindow.c: removed some silly #ifdef HAVE_CONFIG
546         that we don't do in many other places. (Fixing duplicate 
547         #include of config.h)
548
549         * gdk/gdkevents.c: include gdkinput.h _after_ config.h.
550         Otherwise, #ifndef XINPUT_NONE check in the latter
551         doesn't work. (Bug #546)
552
553 Sun Apr 11 14:38:03 1999  Tim Janik  <timj@gtk.org>
554
555         * gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): check for color
556         "None" case insensitive.
557
558 Tue Apr  6 16:38:51 1999  Owen Taylor  <otaylor@redhat.com>
559
560         * gdk/gdkselection.c: 
561         Add error traps so if the other end of the connection
562         dies, we survive.
563
564 Tue Apr  6 12:24:21 1999  Owen Taylor  <otaylor@redhat.com>
565
566         * gdk/gdkdnd.c (gdk_drag_motion): Separate out the
567         dest_xid field into two fields - one for the window
568         to send in messages, one to indicate the last looked
569         up window for caching purposes. This is needed, so
570         that Leave messages get the correct window.
571
572 Mon Apr  5 13:21:30 1999  Owen Taylor  <otaylor@redhat.com>
573
574         * gdk/gdkevents.c (gdk_event_check, gdk_event_prepare):
575         Fix warning created by people mucking around
576         with the gsource API.
577
578         * gdk/gdkevents.c (gdk_io_invoke, gdk_input_add_full):
579         Change mapping between GIOCondition and GdkInputCondition
580         to match the way the Linux kernel does it. This should
581         fix problems where closed pipes were no longer signalling
582         GDK_INPUT_READ on systems with a native poll().
583
584 Mon Apr  5 17:11:57 1999  Owen Taylor  <otaylor@redhat.com>
585
586         * gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): Check 
587         explicitly for the string "None" - it is in the XPM
588         spec and some servers treat unknown colors in odd ways
589         (like asking the user!)
590
591 Thu Apr  1 16:58:10 PST 1999 Manish Singh <yosh@gimp.org>
592
593         * gdk/gdkevents.c: made "->" into a "." of previous change so
594         it compiles
595
596 Thu Apr  1 18:41:25 1999  Owen Taylor  <otaylor@redhat.com>
597
598         * gdk/gdkevents.c (gdk_compress_exposures): Set the
599         window field of the event structure before calling
600         user filters.
601
602 1999-03-31  Federico Mena Quintero  <federico@nuclecu.unam.mx>
603
604         * gdk/gdk.c (gdk_init_check): Use False as the last argument to
605         XInternAtom() here.  This is a particularly Old And Nasty(tm) bug.
606
607 Mon Mar 29 17:31:52 1999  Owen Taylor  <otaylor@redhat.com>
608
609         * gdk/gdkim.c (gdk_mbstowcs): Free the value of the
610         intermediate text property - prevents major memory
611         leak when gdk_use_mb.
612         gtk-d3august-990311-0: Bj|rn Augustsson <d3august@dtek.chalmers.se>
613
614 Mon Mar 29 17:02:58 1999  Owen Taylor  <otaylor@redhat.com>
615
616         Patches from Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>
617         gtk-a-higuti-990322-[0-3]
618
619         * gdk/gdkfont.c (gdk_text_extents_wc): Make  work when
620         sizeof(wchar_t) != sizeof (GdkWChar)
621
622         * configure.in: Fix confusion between GTK_LOCALE_[C]FLAGS
623         that was causing -DX_LOCALE not to work.
624
625         * gtk/gtkrc.c (gtk_rc_init):
626         X_LOCALE will never have LC_MESSAGES defined
627
628         * gdk/gdk.c (gdk_init_check):
629         Remove --xim-preedit and --xim-status from argv properly.
630
631         * gdk/gdkim.c (gdk_ic_real_new): Add a gdk_flush() so
632         that the client window is present on the X server
633         before we pass it to the input method.
634
635 Tue Mar  9 10:46:49 1999  Owen Taylor  <otaylor@redhat.com>
636
637         * gdk/gdkdnd.c (motif_find_drag_window): Fix bug where
638         if --display is specified on the command line, than
639         the drag window will not be created on that display.
640         
641 Tue Mar  9 10:38:24 1999  Owen Taylor  <otaylor@redhat.com>
642
643         * gdk/gdkproperty.c (gdk_atom_intern): Fixed bug where
644         lookups with only_if_exists == TRUE were inserting
645         bogus values into the atom cache.
646
647 Wed Mar 17 09:00:00 1999  Tim Janik  <timj@gtk.org>
648
649         * gdk/gdkselection.c (gdk_selection_property_get): first XFree(t),
650         then reset it to NULL.
651
652         * gdk/gdkcolor.c:
653         (gdk_colors_free): 
654         (gdk_colormap_free_colors): use colormap->colors[in_pixels[i]] as the
655         key for g_hash_table_remove() in both functions, this prevents us
656         from accessing possibly uninitialized portions of a GdkColor structure
657         where we are only interested in its pixel value.
658
659 Tue Mar  9 01:01:28 1999  Tim Janik  <timj@gtk.org>
660
661         * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
662         font hash table, if we have a GdkFontPrivate entry for this font
663         already, simply increment its reference count, provided by Olaf Dietsche
664         <olaf.dietsche+list.gtk@netcologne.de>.
665
666 1999-09-21  Tor Lillqvist  <tml@iki.fi>
667
668         * gdk/win32/gdk.c (gdk_exit_func): Delete the gdk_DC when exiting,
669         just to be sure.
670
671         * gdk/win32/gdkvisual.c (gdk_visual_init): Remove a couple of
672         unused variables, leftovers from the X11 version.
673
674         * gdk/win32/rc/*.cur: Better cursors provided by Bernd Herd.
675
676         * gtk/gtkfontsel.c (gtk_font_selection_get_xlfd_field): Only
677         downcase fields on X11.
678
679 Mon Sep 20 13:17:39 1999  Pablo Saratxaga <pablo@mandrakesoft.com>
680         
681         * configure.in,po/pt_BR.po: added Portuguese Brazilian file from
682         Alex Sandro Queiroz e Silva <asandro@lcg.dc.ufc.br>
683
684 1999-09-17  Tor Lillqvist  <tml@iki.fi>
685
686         * gdk/win32/gdk.def: Add gdk_threads_mutex.
687
688         * gtk/makefile.msc: Correct path to libintl.
689
690         Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in
691         use of gint vs. int, and gint vs. gboolean in headers and
692         definitions. Use GtkType for the *_get_type functions. Note that
693         these changes preserve binary compatibility.
694
695         * gdk/gdk.c
696         * gdk/win32/gdk.c
697         * gdk/gdk.h: Fix inconsistencies: gint vs int.
698
699         * gtk/gtkmain.c
700         * gtk/gtkclist.c
701         * gtk/gtkmenufactory.c
702         * gtk/gtknotebook.c
703         * gtk/gtkwidget.c: Fix inconsistencies, also gint
704         vs. gboolean.
705
706         * gtk/gtkcolorsel.[ch]
707         * gtk/gtkcombo.[ch]
708         * gtk/gtkdrawingarea.[ch]
709         * gtk/gtkgamma.[ch]
710         * gtk/gtkhandlebox.[ch]
711         * gtk/gtkhpaned.[ch]
712         * gtk/gtkhruler.[ch]
713         * gtk/gtkplug.[ch]
714         * gtk/gtkpreview.[ch]
715         * gtk/gtkruler.[ch]
716         * gtk/gtksocket.[ch]
717         * gtk/gtkstatusbar.[ch]
718         * gtk/gtktoolbar.[ch]
719         * gtk/gtkvbbox.[ch]
720         * gtk/gtkvpaned.[ch]
721         * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type
722         functions.
723
724         * gtk/gtkgamma.h: Fix bug, missing () in call of
725         gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS. 
726
727 1999-09-14  Tor Lillqvist  <tml@iki.fi>
728
729         * gdk/gdkcolor.c (gdk_colormap_new)
730         * gdk/win32/gdkcolor.c (gdk_colormap_new): Fix memory leak:
731         colormap->colors was allocated twice.
732
733         * gdk/win32/gdk.c: Remove some unused stuff.
734
735         * gdk/win32/gdkcolor.c (gdk_colormap_sync): Initialize all of the
736         colormap.
737
738         * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_type)
739         * gtk/gtklabel.h (gtk_label_get_type)
740         * gtk/gtktipsquery.c (gtk_tips_query_get_type)
741         * gtk/gtktypeutils.h (gtk_type_name): : Use GtkType
742         in a couple of places, not guint.
743
744 Fri Sep 10 21:31:00 CEST 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
745
746         * configure.in,po/et.po: added Estonian language file
747
748 Wed Sep  1 14:36:12 CEST 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
749
750         * configure.in,po/da.po: added Danish file
751
752 Sun Aug 29 13:38:59 BST 1999 Tony Gale <gale@gtk.org>
753
754         * docs/gtkfaq.sgml: Minor FAQ Update
755
756 Sat Aug 28 14:34:37 BST 1999 Tony Gale <gale@gtk.org>
757
758         * docs/gtkfaq.sgml: FAQ update
759
760 1999-08-27  Tor Lillqvist  <tml@iki.fi>
761
762         Win32: Philippe Colantoni <colanton@aris.ss.uci.edu> suggests a
763         way to get window contents continually refreshed while resizing. I
764         didn't like the effects myself, so it's not on by default.
765
766         * gdk/win32/gdkprivate.h: New flag variable
767         gdk_event_func_from_window_proc, FALSE by default.
768
769         * gdk/win32/gdk.c (gdk_init_check): Set above flag if the
770         environment variable GDK_EVENT_FUNC_FROM_WINDOW_PROC is set, or we
771         are passed --gdk-event-func-from-window-proc.
772
773         * gdk/win32/gdkevents.c (gdk_WindowProc): If above flag is set,
774         and we have am event_func, call it instead of enqueing the event.
775
776 1999-08-23  Tor Lillqvist  <tml@iki.fi>
777
778         * gdk/win32/gdkevents.c (gdk_event_translate): Fix from Simon
779         Kelley: Set expose_count in GdkEventExposes correctly.
780
781         * gdk/win32/gdkwindow.c: Remove dead code (#ifdef
782         MULTIPLE_WINDOW_CLASSES).
783
784         * gdk/win32/gdkdraw.c (gdk_draw_line): Workaround from Hans Breuer
785         for bug in NT, apparently NT *does* draw the end pixel, too, in
786         LineTo with a one-pixel pen, so we don't have to do it ourselves.
787
788 1999-08-21  Tor Lillqvist  <tml@iki.fi>
789
790         Improvements by Hans Breuer: 
791
792         * gdk/win32/gdkwindow.c (RegisterGdkClass): New function
793
794         * gdk/win32/gdkwindow.c (gdk_window_new): Use it. Don't set the
795         CS_?REDRAW flags as they cause lots of (late) redraws when "show
796         window contents while dragging" is turned on. Allocate at least
797         one unique class for every GdkWindowType. If support for single
798         window-specific icons is ever needed (eg. Dialog specific), every
799         such window should get its own class.
800
801 1999-08-19  Tor Lillqvist  <tml@iki.fi>
802
803         * gdk/win32/gdkgc.c (gdk_gc_new_with_values): Fix a cut&paste
804         error that caused crashes.
805
806 1999-08-17  Tor Lillqvist  <tml@iki.fi>
807
808         * gdk/win32/gdkdraw.c (gdk_draw_pixmap): When blitting inside one
809         window, use ScrollWindowEx, and call UpdateWindow. This prevents
810         bugs when for instance part of the window was outside the
811         display. Thanks to Philippe Colantoni for finding and fixing this.
812
813 1999-08-16  Tor Lillqvist  <tml@iki.fi>
814
815         * gdk/win32/gdkdraw.c (gdk_draw_arc): Fix start and end radial
816         endpoint calculations which were totally wrong. (A little RTFMing
817         helps a lot ;-)
818
819         * gtk/makefile.{cygwin,msc}: Use libintl extracted from glibc
820         from a separate directory, not from gettext, because of licensing
821         issues (we want to use the LGPL version).
822
823         * README.win32: Mention the intl from glibc vs from gettext issue.
824
825 1999-08-13  Tor Lillqvist  <tml@iki.fi>
826
827         * gdk/win32/gdkevents.c (gdk_event_translate): Fix a couple of bugs
828         in the key event handling: Now AltGr chars work again. Also,
829         now Alt-digits are passed up as well as Control-digits.
830         Pass keypad plus and minus as normal plus and minus.
831
832 Wed Aug 11 13:38:26 BST 1999 Tony Gale  <gale@gtk.org>
833
834         * docs/gtkfaq.sgml: FAQ Update
835
836 1999-07-25  Tor Lillqvist  <tml@iki.fi>
837
838         * README.win32
839         * config.h.win32: Add HAVE_WINTAB. Undefine it if bulding without
840         the Wintab SDK.
841
842         * gdk/win32/gdkinput.c: Hack some more. Still doesn't quite work
843         OK, but getting closer. Guard against bogus tilt data from Wacom
844         ArtPad II with the 3.40 driver. Add ifdefs for HAVE_WINTAB to
845         enable easier building without Wintab.
846
847         * gdk/win32/gdkinput.h
848         * gdk/win32/gdkevents.c 
849         * gdk/win32/gdkwindow.c: Minor changes related related to above.
850         
851         * gdk/win32/gdkvisual.c: Simplify a lot, remove leftovers from X11
852         code. As we have just one visual on Win32, no sense to have it in a
853         table, and no need for the hash table.
854
855         * gdk/win32/rc/cursor*.cur: Edit some of the cursors a bit to look
856         better on white background.
857
858 1999-07-21  Tor Lillqvist  <tml@iki.fi>
859
860         * README.win32: Update gcc build instructions. Mention gettext is
861         GPL.
862
863         * gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Get correct
864         supported cursor size with GetSystemMetrics.
865
866         * gdk/win32/gdkfont.c
867         * gtk/gtkfontsel.c: Guard against some font weight and charset
868         symbols being undefined (in mingw32 headers).
869
870         * gdk/win32/makefile.cygwin
871         * gtk/makefile.cygwin
872         * gtk/gtkthemes.c: No longer need to have differently named
873         gcc-built DLLs when using gcc-2.95 and -fnative-struct.
874
875 hu Jul 15 13:33:15 BST 1999 Tony Gale <gale@gtk.org>
876
877         * docs/gtkfaq.sgml: Long awaited FAQ update.
878
879 1999-07-15  Tor Lillqvist  <tml@iki.fi>
880
881         * gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Implement
882         it. Obscure bit manipulation needed.
883
884         * gdk/win32/gdkevents.c: Logging.
885         
886         * gtk/gtkthemes.c (gtk_theme_engine_get): (Win32) Use new DLL naming
887         style (file name include compiler name) for theme engines.
888
889 1999-07-13  Tor Lillqvist  <tml@iki.fi>
890
891         * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Less logging verbiage.
892
893         * gdk/win32/gdkevents.c: Fix long-standing bug in key
894         events. The key.string wasn't zero-terminated, still we strdup'ed
895         it in gdk_event_copy(). Synthesize crossing events for button
896         events before possible propagation.
897
898         * gdk/win32/gdkwindow.c: Log gdk_window_set_title.
899
900         * gdk/win32/makefile.cygwin
901         * gtk/makefile.cygwin: Use new DLL naming style for the
902         GCC-compiled ones.
903
904         * gdk/win32/makefile.msc
905         * gtk/makefile.msc: Cosmetics mostly.
906
907         * gtk/gtk.def: Add missing entry points.
908
909         * gtk/gtksocket.c: Add dummy gtk_socket_get_type() for Win32.
910
911 1999-07-09  Tor Lillqvist  <tml@iki.fi>
912
913         * gdk/win32/gdkdraw.c (gdk_draw_arc): Don't draw anything if width
914         or height is zero. Don't print a warning if Pie or Arc fails, they
915         always fail (?) for very narrow ellipses.
916
917         * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Call InvalidateRgn for
918         the part or the destination window corresponding to source area
919         outside of the source drawable's boundary.
920
921         * gdk/win32/gdkdraw.c (gdk_draw_lines, gdk_draw_polygon): Don't do
922         anything if less than two points.
923
924         * gdk/win32/gdkselection.c (gdk_selection_owner_get): Always
925         return NULL. Gtk cut-and-paste inside a single program works
926         better this way. (It always gets the clipboard contents from
927         Windows, not from its own copy, which is cleared anyway. I can't
928         say I fully understand what happens... Emulating the X selection
929         and property stuff is a bit of a mess.)
930
931         * gdk/win32/gdkevents.c
932         * gdk/win32/gdkproperty.c: A bit more verbose logging.
933
934         * gdk/win32/gdkregion.c: Fix some memory leaks (temporary regions
935         that never got deleted). Revamp gdk_region_shrink.
936
937         * gdk/win32/gdkregion.c: Fix memory leak, delete temporary regions
938         after use.
939
940         * gtk/gtk.def: Add some missing entry points.
941
942         * gtk/gtkrc.c: Strip trailing directory separator from pixmap path
943         component.
944
945 1999-07-04  Tor Lillqvist  <tml@iki.fi>
946
947         * gdk/win32/gdkevents.c (gdk_event_translate): Handle
948         Control-digits specially.
949
950 1999-07-03  Tor Lillqvist  <tml@iki.fi>
951
952         * gtk/makefile.{cygwin,msc}: New pthreads version. Use gettext.
953
954 1999-06-28  Tor Lillqvist  <tml@iki.fi>
955
956         * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
957         bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
958         finding this.)
959
960 1999-06-01  Jose H Mercado  <jmercado@mit.edu>
961
962         * gtk+.spec.in: Corrected some typos in files section.
963         
964 1999-06-15  Tor Lillqvist  <tml@iki.fi>
965
966         * README.win32: Mention using GNU gettext.
967         * config.h.win32: Enable NLS stuff.
968         * gtk/makefile.msc: Use GNU gettext.
969         * gdk/win32/gdkdnd.c: Minor header reorg.
970         * gdk/win32/{gdkevents,gdkwindow}.c: No semantic changes, mainly
971         cosmetics.
972         * gtk/gtkrc.c (Win32): Make get_gtk_sysconf_directory() public.
973         * gtk/gtkmain.c (Win32): Use it in bindtextdomain() call.
974
975 Wed Jun  2 11:44:25 PDT 1999 Manish Singh <yosh@gimp.org>
976
977         * acinclude.m4
978         * config.guess
979         * config.status
980         * ltconfig
981         * ltmain.sh: upgrade to libtool 1.3.2 (BeOS changes merged)
982
983 1999-05-30  Tor Lillqvist  <tml@iki.fi>
984
985         * gdk/win32/gdkwindow.c: AdjustWindowRectEx2 renamed to
986         SafeAdjustWindowRectEx. Don't override all calls to
987         AdjustWindowRectEx by it, but use it only in two places: When
988         creating a new top-level window and when moving a top-level
989         window.
990
991         Use screen coordinate rectangle, not client rectangle, in
992         gdk_window_move. Thus SafeAdjustWindowRectEx will do its job only
993         when we try to place a window so that the decoration (mainly,
994         title bar) isn't visible.
995
996         These changes fix the bug that showed up for instance as the
997         GIMP's saved top-level windows moving right and down (by an amount
998         equal to the window decoration) for each session. This bug showed
999         up also in testgtk's "Saved Position".
1000
1001         gdk_window_resize also redone a bit.
1002
1003 1999-05-25  Tor Lillqvist  <tml@iki.fi>
1004
1005         * gtk/testgtkrc: Add (commented out) Windows-style theme
1006         include line.
1007
1008         * gdk/win32/gdk.def,gtk/gtk.def: Add some missing entry points.
1009
1010 1999-05-18  Tor Lillqvist  <tml@iki.fi>
1011
1012         * gdk/win32/makefile.{cygwin,msc}: Copy our gdkprivate.h and
1013         gdkx.h to a gdk subdirectory, so that applications can include
1014         these with <gdk/*.h> without trouble.
1015
1016         * gdk/win32/gdkimage.c (gdk_image_new_with_depth): Code simplified.
1017         (gdk_image_destroy): Plug resource leak, some GdkImages didn't
1018         have their bitmap destroyed.
1019
1020         * gdk/win32/gdk.def: Add gdk_root_parent.
1021
1022 Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
1023
1024         * configure.in
1025           gtk-config.in
1026           ltconfig
1027           ltmain.sh     
1028           gtk/Makefile.am: changes to compile nicely (with xlib) 
1029           on BeOS
1030
1031 Sat May  1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
1032
1033         * acinclude.m4
1034         * config.guess
1035         * config.sub
1036         * ltconfig
1037         * ltmain.sh: upgrade to libtool 1.3
1038
1039 Fri Apr 30 13:38:16 1999  Lars Hamann  <lars@gtk.org>
1040
1041         * gtk/gtkclist.c:
1042         * gtk/gtkctree.c: merges from gtk-1-2
1043
1044 1999-04-25  Tor Lillqvist  <tml@iki.fi>
1045
1046         Support added for building using a GNU toolchain on Win32,
1047         gcc -mno-cygwin (egcs-1.1.2) on cygwin-b20.1.
1048
1049         * gdk/win32/makefile.cygwin gtk/makefile.cygwin: New files.
1050         * config.h.win32: Changes for gcc.
1051         * gdk/gdkrectangle.c: Include gdk.h as <gdk/gdk.h>.
1052         * gdk/gdkcolor.c: config.h.win32 already defines strcasecmp.
1053         * gdk/win32/gdkconfig.h: Only the MS compiler has wctype.h.
1054         * gdk/win32/gdkdnd.c: Protect (unused) OLE2 stuff better.
1055         Protect shl stuff unavaiilable with mingw32 headers.
1056         * gdk/win32/gdkevents.c: Fix typo.
1057         * gdk/win32/gdkglobals.c: Use GDKVAR here also for gcc.
1058         * gdk/win32/gdkim.c: Use OEM code page for multibyte chars. (?)
1059         * gdk/win32/gdkinput.c: Use __try __except only with the MS compiler.
1060         * gdk/win32/gdkprivate.h: Make up for some stuff missing from
1061         the mingw32 headers.
1062         * gdk/win32/makefile.msc: Use latest Wintab kit and glib.
1063         * gtk/gtkfilesel.c: Include <glib.h> early, to get stat->_stat
1064         definition on Win32. Test for NATIVE_WIN32, not _MSC_VER.
1065         * gtk/gtkfontsel.c: Protect CHARSET redefinition on Win32.
1066         Test for NATIVE_WIN32, not _MSC_VER.
1067         * gtk/gtkmain.c: No use warning about developer version on Win32,
1068         there aren't any non-developer versions anyhow.
1069         * gtk/gtkrc.c: Test for NATIVE_WIN32, not _MSC_VER.
1070         * gtk/makefile.msc: Use pthread from another directory. Minor other
1071         changes. 
1072
1073 Wed Apr 21 14:20:22 1999  George Lebl  <jirka@5z.com>
1074
1075         * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
1076           default filter from the list
1077
1078 Mon Mar  8 12:52:53 1999  Owen Taylor  <otaylor@redhat.com>
1079
1080         * gtk/gtkwidget.c (gtk_widget_grab_default): Add a warning
1081          when gtk_widget_grab_default() is called for a widget that
1082          is not within a GtkWindow.
1083
1084 Sat Apr 10 13:52:54 BST 1999  Tony Gale <gale@gtk.org>
1085
1086         * docs/gtk_tut.sgml, examples/clist.c: use a
1087           scrolled window in the clist example. Minor
1088           tutorial fixes.
1089
1090 Fri Apr  2 09:19:20 BST 1999  Tony Gale <gale@gtk.org>
1091
1092         * docs/gtk_tut.sgml: Style check from David King
1093           <dking@youvegotmail.net>
1094
1095 1999-03-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1096
1097         * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
1098         compile with unknown value of GDK_WINDOWING
1099
1100 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
1101
1102         * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
1103         after the rule is fired.
1104         (install-exec-local): Install gdkconfig.h only if the contents are
1105         different from the currently installed gdkconfig.h.
1106
1107 1999-03-26  Raja R Harinath  <harinath@cs.umn.edu>
1108
1109         * gdk/Makefile.am (configexecincludedir): Rename from 
1110         configincludedir so that gdkconfig.h will be installed 
1111         as part of `make install-exec'. 
1112
1113 Fri Mar 19 16:50:33 PST 1999 Manish Singh <yosh@gimp.org>
1114
1115         * acinclude.m4
1116         * config.guess
1117         * config.sub
1118         * ltconfig
1119         * ltmain.sh: upgrade to libtool 1.2f
1120
1121         * autogen.sh: libtool is not required to autogen gtk+
1122
1123         * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
1124         needed)
1125
1126 1999-03-18  Tor Lillqvist  <tml@iki.fi>
1127
1128         * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
1129         declaring gdk variables exported/imported from the DLL. New image
1130         type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
1131         drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
1132         GDK_DRAG_PROTO_OLE2.
1133
1134         * gdk/gdk.h: Merge in Win32 version: Two new functions,
1135         gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
1136         declared only for the Win32 version, but could be in the X11
1137         version as well. (Needed for a Xlib-less gdk_imlib.)
1138         gdk_color_hash should have only one parameter. Declare
1139         gdk_threads_mutex with GDKVAR.
1140         
1141         * gdk/gdkcolor.c (gdk_color_hash): A hash function should have
1142         just one parameter.
1143
1144         * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
1145         per pixel, not bits.
1146
1147         * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
1148         Fetch bpp (which means bits-per-pixel here) from another place on
1149         Win32. Accept also depth==32 (which we might get on Win32) with
1150         bpp==32.
1151
1152         * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
1153         gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
1154         gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
1155         Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
1156         in the backend-dependent directory, not in the common gdk
1157         directory.
1158
1159         * gtk/testgtk.c: Ditto. Also, don't use ../gdk path to gdk
1160         headers.
1161
1162 Wed Mar 17 05:06:49 1999  Tim Janik  <timj@gtk.org>
1163
1164         * gtk/gtkmain.c (gtk_init_check): tell people that they don't really
1165         want to use the Gtk+ devel version (which is true, and yes - even i am
1166         currently working with the 1.2.x branch). so everyone reading this, you
1167         probably want to issue
1168         cvs checkout -r glib-1-2 glib
1169         and
1170         cvs checkout -r gtk-1-2 gtk+
1171         as your next two comands.
1172
1173 Wed Mar 17 02:49:32 1999  Tim Janik  <timj@gtk.org>
1174
1175         * configure.in: build gtkcompat.h from gtkcompat.h.in instead of
1176         gtkfeatures.h from gtkfeatures.h.in, require GLib 1.3.0.
1177
1178         * gtk/gtkcompat.h.in: combined gtkcompat.h and gtkfeatures.in in this
1179         file. strongly deprecated the GTK_HAVE_* macros, we provide
1180         GTK_CHECK_VERSION() for people that need to check for certain
1181         Gtk+ versions.
1182
1183         * gtk/gtkcompat.h: removed this from CVS.
1184         * gtk/gtkfeatures.h.in: removed this from CVS, gtkfeatures.h was a bad
1185         idea right from the start, it just didn't seem like that back then.
1186
1187 Wed Mar 17 01:46:28 1999  Tim Janik  <timj@gtk.org>
1188
1189         * merges from gtk-1-2:
1190
1191 Tue Mar 16 17:43:33 1999  Tim Janik  <timj@gtk.org>
1192
1193         * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_string): ensure the
1194         item factory class has been created.
1195         (gtk_item_factory_parse_rc): likewise.
1196
1197         * gtk/gtkmenu.c:
1198         keep proper references for old_active_menu_item.
1199         (gtk_menu_reparent): unset the usize of the new parent,
1200         so the menu can sanely be size requested and we don't get nasty screen
1201         artefacts upon next reparentation.
1202         (gtk_menu_motion_notify): set send_event to TRUE if we synthesize an
1203         enter notify. only synthesize enter notifies if the pointer really is
1204         inside the event window.
1205         (gtk_menu_popdown): use gtk_menu_shell_deselect().
1206         (gtk_menu_popup): move the background setting stuff into
1207         gtk_menu_tearoff_bg_copy() so it can be called from other places as well.
1208
1209         * gtk/gtkmenushell.c (gtk_menu_shell_button_press): use
1210         gtk_menu_shell_select_item() to select the new item.
1211         (gtk_menu_shell_deselect): export this function, so gtkmenu.c can
1212         do the right thing for deselection as well.
1213
1214 Sat Mar 15 20:10:33 1999  Tim Janik  <timj@gtk.org>
1215
1216         * gtk/gtkwidget.[hc]:
1217         (gtk_widget_accelerators_locked): return whether a widget's accelerators
1218         are locked.
1219
1220         * gtk/gtkmenu.c (gtk_menu_key_press): don't remove or install new or
1221         existing accelerators if the widget's accelerators are locked.
1222
1223 Sat Mar 14 19:44:05 1999  Tim Janik  <timj@gtk.org>
1224
1225         * gtk/gtkitemfactory.[hc]: allow managing of foreign menu items.
1226
1227         * gtk/gtkmenu.c: truely forward key press and key release events to
1228         the menu widget from the toplevel or tearoff window. we can't simply
1229         connect to that, we need to stop further processing of the events as
1230         well.
1231
1232 Sat Mar 13 13:14:17 1999  Tim Janik  <timj@gtk.org>
1233
1234         * gtk/gtkmenu.c:
1235         (gtk_menu_key_press): pass event->keyval, event->state to
1236         gtk_accelerator_valid, instead of event->keyval twice.
1237         refuse to install single letter accelerators for menus that use
1238         single letter shortcuts.
1239
1240         * gtk/gtkitemfactory.c (gtk_item_factory_create_item): use
1241         gtk_menu_ensure_uline_accel_group().
1242
1243         * gtk/gtkmenu.[hc]: added gtk_menu_ensure_uline_accel_group()
1244         which will always return an uline accel group, made
1245         gtk_menu_get_uline_accel_group() return NULL if the group isn't
1246         yet created.
1247
1248 Mon Mar 15 01:03:27 1999  Lars Hamann  <lars@gtk.org>
1249
1250         * gtk/gtkclist.h (struct _GtkCListColumn): added button_passive flag.
1251
1252         * gtk/gtkclist.c (gtk_clist_column_title_passive):
1253         Leave button sensitive, trap  button_press, button_release,
1254         motion_notify, enter_notify and leave_notify events instead.
1255         (gtk_clist_column_title_active): disconnect event handler.
1256         (gtk_clist_drag_data_get): fixed memory leak. Reported by
1257         Guillaume Laurent <glaurent@worldnet.fr>
1258
1259 Wed Mar 10 23:49:55 1999  Lars Hamann  <lars@gtk.org>
1260
1261         * gtk/gtklayout.c (gtk_layout_adjustment_changed): fixed a few
1262         width/height mixups.
1263
1264         * gtk/gtkctree.c (tree_delete): emit an tree_unselect_row signal
1265         if needed.
1266
1267 Wed Mar 10 00:11:32 1999  Tim Janik  <timj@gtk.org>
1268
1269         * gtk/testgtk.c (create_item_factory): unref the item factory after
1270         window's destruction.
1271
1272         * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): keep a reference
1273         count on the menu shell around the menu item's activation, since the
1274         signal emission may cause menu shell destruction.
1275
1276         * gtk/gtkitemfactory.c:
1277         the previous code leaked one accel group per menu. we use
1278         gtk_menu_get_uline_accel_group() now to fix that, and with that
1279         also create the underline accelerator group of the menus only if
1280         required (i.e. an underline accelerator has been specified).
1281         (gtk_item_factory_construct):
1282         (gtk_item_factory_create_item): removed code that would create an
1283         extra accel group for the menu (and leak references).
1284         (gtk_item_factory_create_item): adapted the underline accelerator
1285         installation code to properly feature gtk_menu_get_uline_accel_group().
1286
1287         * gtk/gtkmenu.[hc]: added gtk_menu_get_accel_group() to retrive
1288         menu->accel_group, this may return NULL if the accelerator group
1289         hasn't been set yet.
1290         added gtk_menu_get_uline_accel_group() to retrive the underline
1291         accelerator group of the menu, this will be created on demand
1292         and proper care is taken about its reference count.
1293
1294         * gtk/gtkitemfactory.h:
1295         * gtk/gtkitemfactory.c:
1296         dumped the approach of keeping a widgets by action list on the
1297         factory since the factory<->widget destroy negotiation didn't work
1298         and would be hard to get going at all. instead we keep a list of
1299         GtkItemFactoryItem items on the factory (GtkItemFactoryItems are
1300         persistant throughout a program's life time).
1301         also, i removed the static const gchar *key_* variables, and made
1302         them inline strings (they weren't actually used anyways).
1303         (gtk_item_factory_add_item): update ifactory->items.
1304         (gtk_item_factory_destroy): destroy ifactory->items (and remove
1305         the item factory pointer from the remaining ifactory widgets).
1306         (gtk_item_factory_get_widget_by_action): walk the GtkItemFactoryItem
1307         list to find the widget.
1308         (gtk_item_factory_get_item): new function that works around
1309         gtk_item_factory_get_widget() limitations, this function will only
1310         return menu items, even for <Branch> entries.
1311
1312 Tue Mar  9 01:01:28 1999  Tim Janik  <timj@gtk.org>
1313
1314         * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
1315         font hash table, if we have a GdkFontPrivate entry for this font
1316         already, simply increment its reference count, provided by Olaf Dietsche
1317         <olaf.dietsche+list.gtk@netcologne.de>.
1318
1319         * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
1320         provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
1321
1322 Sun Mar  7 06:13:29 1999  Tim Janik  <timj@gtk.org>
1323
1324         * gtk/gtkcontainer.c:
1325         (gtk_container_add_with_args):
1326         (gtk_container_addv):
1327         (gtk_container_add): before adding a child to a conatiner, make sure
1328         it is (default) constructed, this is neccessary because under certain
1329         circumstances the child will get relized and mapped immediatedly, in
1330         which case it has to be constructed already.
1331
1332 Mon Mar  1 17:58:21 1999  Tim Janik  <timj@gtk.org>
1333
1334         * gtk/gtksignal.c (gtk_signal_connect_by_type): count object_signal
1335         values > 1 as TRUE also.
1336
1337 1999-03-16  Tor Lillqvist  <tml@iki.fi>
1338
1339         * README.win32: New file.
1340                 
1341         * configure.in: Check for lstat.
1342
1343         * config.h.win32: Add non-definition of HAVE_LSTAT, just for
1344         completeness.
1345
1346         * gtk/gtkrc.c: If don't HAVE_LSTAT, use stat.
1347
1348         * gtk/gtk.def: Removed CRs.
1349
1350         * gtk/makefile.msc: Correct include path to Win32 GDK version (in
1351         ..\gdk\win32).
1352
1353         * gdk/win32/makefile.msc: Correct upwards relative paths.
1354         
1355 Mon Mar 15 03:38:34 1999  George Lebl  <jirka@5z.com>
1356
1357         * gtk/gtkdnd.c: (gtk_drag_highlight) swap the
1358           gtk_drag_highlight_expose and gtk_drag_highlight_paint since
1359           it was connecting a void function to expose_event and the int
1360           returning function to the draw signal
1361
1362 1999-03-14  Jeff Garzik  <jgarzik@pobox.com>
1363
1364         * configure.in:
1365         Use correct path to libgmodule.la when ref'ing uninstalled copy
1366         of glib.  (Already in stable branch, Bug #417)
1367
1368 1999-03-15  Tor Lillqvist  <tml@iki.fi>
1369
1370         Win32 merge and general portability stuff:
1371                 
1372         * acconfig.h,configure.in: Check for <sys/time.h>.
1373
1374         * gdk/win32: New directory (actually, been there for a while).
1375         
1376         * gtk/fnmatch.c: Include <glib.h> for G_DIR_SEPARATOR, WIN32 and
1377         NATIVE_WIN32, and use these. Always case fold on Win32. No
1378         backslashed escapes on native Win32.
1379
1380         * gtk/{gtk.def,makefile.msc}: New files.
1381
1382         * gtk/Makefile.am: Add above new files.
1383         
1384         * gtk/{gtkaccelgroup,gtkbindings}.c: Include <string.h>
1385         instead of <strings.h>.
1386
1387         * gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include
1388         config.h. Protect inclusion of <sys/param.h>, <sys/time.h>, and
1389         <unistd.h> appropriately.
1390
1391         * gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much).
1392         Use ABS() (from <glib.h>) instead of abs().
1393         
1394         * gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion
1395         of gtk (and thus glib) headers, so that WIN32 will be
1396         defined. With MS C, include <direct.h> for mkdir prototype.
1397
1398         * gtk/gtkitemfactory.c (gtk_item_factory_callback_marshal): Add
1399         some casts, needed by MS C.
1400
1401         * gtk/{gtklayout,gtkplug}.c: Merge in Win32 version (which isn't
1402         implemented).
1403
1404         * gtk/gtkmain.c: Include gdk/gdkx.h for GDK_WINDOWING. Include
1405         <X11/Xlocale.h> only on X11 platform, otherwise <locale.h>.  Use
1406         G_SEARCHPATH_SEPARATOR_S and g_module_build_path.
1407
1408         * gtk/gtkmain.h: Mark variables for export/import on Win32.
1409                 
1410         * gtk/gtkrange.c (gtk_range_motion_notify): Set mods also in case
1411         the event is not a hint, or its window is not the slider. Needed
1412         on Win32, at least.
1413
1414         * gtk/gtkrc.c: Include config.h and gdk/gdkx.h. Use <locale.h>
1415         unless on X11. Skip \r chars, too. Use G_DIR_SEPARATOR and
1416         G_SEARCHPATH_SEPARATOR(_S). Use g_path_is_absolute. On Win32, use
1417         a subdirectory of the Windows directory as gtk system
1418         configuration directory.
1419
1420         * gtk/gtkselection.c: No chunks on Win32.
1421
1422         * gtk/gtksocket.c: Not implemented on Win32.
1423
1424         * gtk/gtkthemes.c (gtk_theme_engine_get): Use g_module_build_path.
1425
1426         * gtk/makeenums.h: Include gdkprivate.h after gdk.h.
1427
1428         * gtk/maketypes.awk: Declare variables with a macro that expands to
1429         necessary export/import magic in the case of Win32.
1430                 
1431         * gtk/testrgb.c: Use dynamically allocated buffer. Use GTimers.
1432
1433 1999-03-13  Raja R Harinath  <harinath@cs.umn.edu>
1434
1435         * configure.in (gdk_wc): Move widechar tests from `glib' to here,
1436         since those were meant only for gdki18n.h.  
1437         * gdk/gdki18n.h: Include gdkconfig.h and use GDK_* instead of G_*
1438         for widechar tests.
1439         * gtk/Makefile.am (INCLUDES): Add -I../gdk for gdkconfig.h.
1440
1441 1999-03-13  Tor Lillqvist  <tml@iki.fi>
1442
1443         * configure.in acconfig.h: Check for dirent.h and pwd.h. Generate
1444         gdk/gdkconfig.h using similar mechanism as GLib's glibconfig.h.
1445
1446         * gtk-config.in: Add @libdir/gtk+/include (where gdkconfig.h is
1447         installed) to CFLAGS.
1448
1449         * gdk/Makefile.am: Add rules for gdkconfig.h.
1450
1451         * gdk/gdktypes.h: Include gdkconfig.h. Define macros for windowing
1452         APIs.
1453
1454         * gdk/gdkfontsel.c: Don't include Xlib.h, it gets included via
1455         gdkx.h anyway when compiling for X11.
1456         (gtk_font_selection_create_xlfd): Use g_strdup_printf. (In
1457         general): Merge in Win32 version.
1458         
1459         * gtk/gtkfilesel.c: Use g_get_current_dir(). Merge in Win32
1460         version: Use G_DIR_SEPARATOR, g_path_is_absolute, no tilde
1461         expansion (if we don't have HAVE_PWD_H), allow for drive
1462         letters. UNC paths (\\server\share\...) are not handled yet.  Also,
1463         included code from Craig Setera's port to Win32 (the one that uses
1464         X11, and the cygwin dll), even if it probably will be abandoned.
1465
1466         * gtk/gtkfilesel.c: Don't append a * to the pattern to complete if
1467         the user entered one herself.  This way one can complete *.h and
1468         don't get matches on any .help files, for instance.
1469         
1470 Tue Mar  9 01:01:28 1999  Tim Janik  <timj@gtk.org>
1471
1472         * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
1473         font hash table, if we have a GdkFontPrivate entry for this font
1474         already, simply increment its reference count, provided by Olaf Dietsche
1475         <olaf.dietsche+list.gtk@netcologne.de>.
1476
1477         * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
1478         provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
1479
1480 1999-03-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1481
1482         * gtk/gtkstyle.c (gtk_default_draw_handle): Significantly reduced
1483         the number of calls to gdk_draw_point() (and thus to X) by
1484         clipping the points by hand.
1485
1486         * gtk/gtkhandlebox.c (draw_textured_frame): Actually make use of
1487         the clip parameter.
1488         (gtk_handle_box_paint): Only paint the handle if the expose area
1489         intersects it.
1490
1491 Sun Mar  7 18:46:37 1999  ape@lrdpf.spacetec.no  (Asbjorn Pettersen)
1492
1493         * gtk/gtkmain.c (add_dll_suffix): Add this function (OS/2 ver.)
1494
1495 Sun Mar  7 11:43:34 1999  ape@spacetec.no  (Asbjorn Pettersen)
1496
1497         * gtk/gtkthemes.c (gtk_theme_engine_get): Add OS/2 changes.
1498         Added function gen_8_3_dll_name(gchar *name, gchar *fullname).
1499
1500 Fri Mar  5 09:12:24 1999  ape@lrdpf.spacetec.no  (Asbjorn Pettersen)
1501
1502         * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
1503          textmode (O_TEXT) for OS/2 version.
1504
1505 Sun Feb 28 16:46:02 1999  Stefan Jeske  <stefan@gtk.org>
1506
1507         * gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to 
1508         GtkSpinButton, "input" and "output", to make the output more flexible.
1509         The user has to provide a mapping between adjustment->value and the
1510         output string (and vice versa, if the spin button is editable). 
1511         See testgtk for examples.
1512
1513 Sat Feb 27 01:18:47 1999  Tim Janik  <timj@gtk.org>
1514
1515         * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
1516         new one.
1517         
1518         * configure.in: set gtk+ version to 1.3.0.