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