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