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