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