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