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