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