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