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