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