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