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