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