1 1999-09-14 Tor Lillqvist <tml@iki.fi>
3 * gdk/gdkcolor.c (gdk_colormap_new)
4 * gdk/win32/gdkcolor.c (gdk_colormap_new): Fix memory leak:
5 colormap->colors was allocated twice.
7 * gdk/win32/gdk.c: Remove some unused stuff.
9 * gdk/win32/gdkcolor.c (gdk_colormap_sync): Initialize all of the
12 * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_type)
13 * gtk/gtklabel.h (gtk_label_get_type)
14 * gtk/gtktipsquery.c (gtk_tips_query_get_type)
15 * gtk/gtktypeutils.h (gtk_type_name): : Use GtkType
16 in a couple of places, not guint.
18 Fri Sep 10 21:31:00 CEST 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
20 * configure.in,po/et.po: added Estonian language file
22 Wed Sep 1 14:36:12 CEST 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
24 * configure.in,po/da.po: added Danish file
26 Sun Aug 29 13:38:59 BST 1999 Tony Gale <gale@gtk.org>
28 * docs/gtkfaq.sgml: Minor FAQ Update
30 Sat Aug 28 14:34:37 BST 1999 Tony Gale <gale@gtk.org>
32 * docs/gtkfaq.sgml: FAQ update
34 1999-08-27 Tor Lillqvist <tml@iki.fi>
36 Win32: Philippe Colantoni <colanton@aris.ss.uci.edu> suggests a
37 way to get window contents continually refreshed while resizing. I
38 didn't like the effects myself, so it's not on by default.
40 * gdk/win32/gdkprivate.h: New flag variable
41 gdk_event_func_from_window_proc, FALSE by default.
43 * gdk/win32/gdk.c (gdk_init_check): Set above flag if the
44 environment variable GDK_EVENT_FUNC_FROM_WINDOW_PROC is set, or we
45 are passed --gdk-event-func-from-window-proc.
47 * gdk/win32/gdkevents.c (gdk_WindowProc): If above flag is set,
48 and we have am event_func, call it instead of enqueing the event.
50 1999-08-23 Tor Lillqvist <tml@iki.fi>
52 * gdk/win32/gdkevents.c (gdk_event_translate): Fix from Simon
53 Kelley: Set expose_count in GdkEventExposes correctly.
55 * gdk/win32/gdkwindow.c: Remove dead code (#ifdef
56 MULTIPLE_WINDOW_CLASSES).
58 * gdk/win32/gdkdraw.c (gdk_draw_line): Workaround from Hans Breuer
59 for bug in NT, apparently NT *does* draw the end pixel, too, in
60 LineTo with a one-pixel pen, so we don't have to do it ourselves.
62 1999-08-21 Tor Lillqvist <tml@iki.fi>
64 Improvements by Hans Breuer:
66 * gdk/win32/gdkwindow.c (RegisterGdkClass): New function
68 * gdk/win32/gdkwindow.c (gdk_window_new): Use it. Don't set the
69 CS_?REDRAW flags as they cause lots of (late) redraws when "show
70 window contents while dragging" is turned on. Allocate at least
71 one unique class for every GdkWindowType. If support for single
72 window-specific icons is ever needed (eg. Dialog specific), every
73 such window should get its own class.
75 1999-08-19 Tor Lillqvist <tml@iki.fi>
77 * gdk/win32/gdkgc.c (gdk_gc_new_with_values): Fix a cut&paste
78 error that caused crashes.
80 1999-08-17 Tor Lillqvist <tml@iki.fi>
82 * gdk/win32/gdkdraw.c (gdk_draw_pixmap): When blitting inside one
83 window, use ScrollWindowEx, and call UpdateWindow. This prevents
84 bugs when for instance part of the window was outside the
85 display. Thanks to Philippe Colantoni for finding and fixing this.
87 1999-08-16 Tor Lillqvist <tml@iki.fi>
89 * gdk/win32/gdkdraw.c (gdk_draw_arc): Fix start and end radial
90 endpoint calculations which were totally wrong. (A little RTFMing
93 * gtk/makefile.{cygwin,msc}: Use libintl extracted from glibc
94 from a separate directory, not from gettext, because of licensing
95 issues (we want to use the LGPL version).
97 * README.win32: Mention the intl from glibc vs from gettext issue.
99 1999-08-13 Tor Lillqvist <tml@iki.fi>
101 * gdk/win32/gdkevents.c (gdk_event_translate): Fix a couple of bugs
102 in the key event handling: Now AltGr chars work again. Also,
103 now Alt-digits are passed up as well as Control-digits.
104 Pass keypad plus and minus as normal plus and minus.
106 Wed Aug 11 13:38:26 BST 1999 Tony Gale <gale@gtk.org>
108 * docs/gtkfaq.sgml: FAQ Update
110 1999-07-25 Tor Lillqvist <tml@iki.fi>
113 * config.h.win32: Add HAVE_WINTAB. Undefine it if bulding without
116 * gdk/win32/gdkinput.c: Hack some more. Still doesn't quite work
117 OK, but getting closer. Guard against bogus tilt data from Wacom
118 ArtPad II with the 3.40 driver. Add ifdefs for HAVE_WINTAB to
119 enable easier building without Wintab.
121 * gdk/win32/gdkinput.h
122 * gdk/win32/gdkevents.c
123 * gdk/win32/gdkwindow.c: Minor changes related related to above.
125 * gdk/win32/gdkvisual.c: Simplify a lot, remove leftovers from X11
126 code. As we have just one visual on Win32, no sense to have it in a
127 table, and no need for the hash table.
129 * gdk/win32/rc/cursor*.cur: Edit some of the cursors a bit to look
130 better on white background.
132 1999-07-21 Tor Lillqvist <tml@iki.fi>
134 * README.win32: Update gcc build instructions. Mention gettext is
137 * gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Get correct
138 supported cursor size with GetSystemMetrics.
140 * gdk/win32/gdkfont.c
141 * gtk/gtkfontsel.c: Guard against some font weight and charset
142 symbols being undefined (in mingw32 headers).
144 * gdk/win32/makefile.cygwin
145 * gtk/makefile.cygwin
146 * gtk/gtkthemes.c: No longer need to have differently named
147 gcc-built DLLs when using gcc-2.95 and -fnative-struct.
149 hu Jul 15 13:33:15 BST 1999 Tony Gale <gale@gtk.org>
151 * docs/gtkfaq.sgml: Long awaited FAQ update.
153 1999-07-15 Tor Lillqvist <tml@iki.fi>
155 * gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Implement
156 it. Obscure bit manipulation needed.
158 * gdk/win32/gdkevents.c: Logging.
160 * gtk/gtkthemes.c (gtk_theme_engine_get): (Win32) Use new DLL naming
161 style (file name include compiler name) for theme engines.
163 1999-07-13 Tor Lillqvist <tml@iki.fi>
165 * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Less logging verbiage.
167 * gdk/win32/gdkevents.c: Fix long-standing bug in key
168 events. The key.string wasn't zero-terminated, still we strdup'ed
169 it in gdk_event_copy(). Synthesize crossing events for button
170 events before possible propagation.
172 * gdk/win32/gdkwindow.c: Log gdk_window_set_title.
174 * gdk/win32/makefile.cygwin
175 * gtk/makefile.cygwin: Use new DLL naming style for the
178 * gdk/win32/makefile.msc
179 * gtk/makefile.msc: Cosmetics mostly.
181 * gtk/gtk.def: Add missing entry points.
183 * gtk/gtksocket.c: Add dummy gtk_socket_get_type() for Win32.
185 1999-07-09 Tor Lillqvist <tml@iki.fi>
187 * gdk/win32/gdkdraw.c (gdk_draw_arc): Don't draw anything if width
188 or height is zero. Don't print a warning if Pie or Arc fails, they
189 always fail (?) for very narrow ellipses.
191 * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Call InvalidateRgn for
192 the part or the destination window corresponding to source area
193 outside of the source drawable's boundary.
195 * gdk/win32/gdkdraw.c (gdk_draw_lines, gdk_draw_polygon): Don't do
196 anything if less than two points.
198 * gdk/win32/gdkselection.c (gdk_selection_owner_get): Always
199 return NULL. Gtk cut-and-paste inside a single program works
200 better this way. (It always gets the clipboard contents from
201 Windows, not from its own copy, which is cleared anyway. I can't
202 say I fully understand what happens... Emulating the X selection
203 and property stuff is a bit of a mess.)
205 * gdk/win32/gdkevents.c
206 * gdk/win32/gdkproperty.c: A bit more verbose logging.
208 * gdk/win32/gdkregion.c: Fix some memory leaks (temporary regions
209 that never got deleted). Revamp gdk_region_shrink.
211 * gdk/win32/gdkregion.c: Fix memory leak, delete temporary regions
214 * gtk/gtk.def: Add some missing entry points.
216 * gtk/gtkrc.c: Strip trailing directory separator from pixmap path
219 1999-07-04 Tor Lillqvist <tml@iki.fi>
221 * gdk/win32/gdkevents.c (gdk_event_translate): Handle
222 Control-digits specially.
224 1999-07-03 Tor Lillqvist <tml@iki.fi>
226 * gtk/makefile.{cygwin,msc}: New pthreads version. Use gettext.
228 1999-06-28 Tor Lillqvist <tml@iki.fi>
230 * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
231 bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
234 1999-06-01 Jose H Mercado <jmercado@mit.edu>
236 * gtk+.spec.in: Corrected some typos in files section.
238 1999-06-15 Tor Lillqvist <tml@iki.fi>
240 * README.win32: Mention using GNU gettext.
241 * config.h.win32: Enable NLS stuff.
242 * gtk/makefile.msc: Use GNU gettext.
243 * gdk/win32/gdkdnd.c: Minor header reorg.
244 * gdk/win32/{gdkevents,gdkwindow}.c: No semantic changes, mainly
246 * gtk/gtkrc.c (Win32): Make get_gtk_sysconf_directory() public.
247 * gtk/gtkmain.c (Win32): Use it in bindtextdomain() call.
249 Wed Jun 2 11:44:25 PDT 1999 Manish Singh <yosh@gimp.org>
255 * ltmain.sh: upgrade to libtool 1.3.2 (BeOS changes merged)
257 1999-05-30 Tor Lillqvist <tml@iki.fi>
259 * gdk/win32/gdkwindow.c: AdjustWindowRectEx2 renamed to
260 SafeAdjustWindowRectEx. Don't override all calls to
261 AdjustWindowRectEx by it, but use it only in two places: When
262 creating a new top-level window and when moving a top-level
265 Use screen coordinate rectangle, not client rectangle, in
266 gdk_window_move. Thus SafeAdjustWindowRectEx will do its job only
267 when we try to place a window so that the decoration (mainly,
268 title bar) isn't visible.
270 These changes fix the bug that showed up for instance as the
271 GIMP's saved top-level windows moving right and down (by an amount
272 equal to the window decoration) for each session. This bug showed
273 up also in testgtk's "Saved Position".
275 gdk_window_resize also redone a bit.
277 1999-05-25 Tor Lillqvist <tml@iki.fi>
279 * gtk/testgtkrc: Add (commented out) Windows-style theme
282 * gdk/win32/gdk.def,gtk/gtk.def: Add some missing entry points.
284 1999-05-18 Tor Lillqvist <tml@iki.fi>
286 * gdk/win32/makefile.{cygwin,msc}: Copy our gdkprivate.h and
287 gdkx.h to a gdk subdirectory, so that applications can include
288 these with <gdk/*.h> without trouble.
290 * gdk/win32/gdkimage.c (gdk_image_new_with_depth): Code simplified.
291 (gdk_image_destroy): Plug resource leak, some GdkImages didn't
292 have their bitmap destroyed.
294 * gdk/win32/gdk.def: Add gdk_root_parent.
296 Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
302 gtk/Makefile.am: changes to compile nicely (with xlib)
305 Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
311 * ltmain.sh: upgrade to libtool 1.3
313 Fri Apr 30 13:38:16 1999 Lars Hamann <lars@gtk.org>
316 * gtk/gtkctree.c: merges from gtk-1-2
318 1999-04-25 Tor Lillqvist <tml@iki.fi>
320 Support added for building using a GNU toolchain on Win32,
321 gcc -mno-cygwin (egcs-1.1.2) on cygwin-b20.1.
323 * gdk/win32/makefile.cygwin gtk/makefile.cygwin: New files.
324 * config.h.win32: Changes for gcc.
325 * gdk/gdkrectangle.c: Include gdk.h as <gdk/gdk.h>.
326 * gdk/gdkcolor.c: config.h.win32 already defines strcasecmp.
327 * gdk/win32/gdkconfig.h: Only the MS compiler has wctype.h.
328 * gdk/win32/gdkdnd.c: Protect (unused) OLE2 stuff better.
329 Protect shl stuff unavaiilable with mingw32 headers.
330 * gdk/win32/gdkevents.c: Fix typo.
331 * gdk/win32/gdkglobals.c: Use GDKVAR here also for gcc.
332 * gdk/win32/gdkim.c: Use OEM code page for multibyte chars. (?)
333 * gdk/win32/gdkinput.c: Use __try __except only with the MS compiler.
334 * gdk/win32/gdkprivate.h: Make up for some stuff missing from
336 * gdk/win32/makefile.msc: Use latest Wintab kit and glib.
337 * gtk/gtkfilesel.c: Include <glib.h> early, to get stat->_stat
338 definition on Win32. Test for NATIVE_WIN32, not _MSC_VER.
339 * gtk/gtkfontsel.c: Protect CHARSET redefinition on Win32.
340 Test for NATIVE_WIN32, not _MSC_VER.
341 * gtk/gtkmain.c: No use warning about developer version on Win32,
342 there aren't any non-developer versions anyhow.
343 * gtk/gtkrc.c: Test for NATIVE_WIN32, not _MSC_VER.
344 * gtk/makefile.msc: Use pthread from another directory. Minor other
347 Wed Apr 21 14:20:22 1999 George Lebl <jirka@5z.com>
349 * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
350 default filter from the list
352 Mon Mar 8 12:52:53 1999 Owen Taylor <otaylor@redhat.com>
354 * gtk/gtkwidget.c (gtk_widget_grab_default): Add a warning
355 when gtk_widget_grab_default() is called for a widget that
356 is not within a GtkWindow.
358 Sat Apr 10 13:52:54 BST 1999 Tony Gale <gale@gtk.org>
360 * docs/gtk_tut.sgml, examples/clist.c: use a
361 scrolled window in the clist example. Minor
364 Fri Apr 2 09:19:20 BST 1999 Tony Gale <gale@gtk.org>
366 * docs/gtk_tut.sgml: Style check from David King
367 <dking@youvegotmail.net>
369 1999-03-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
371 * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
372 compile with unknown value of GDK_WINDOWING
374 1999-03-28 Raja R Harinath <harinath@cs.umn.edu>
376 * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
377 after the rule is fired.
378 (install-exec-local): Install gdkconfig.h only if the contents are
379 different from the currently installed gdkconfig.h.
381 1999-03-26 Raja R Harinath <harinath@cs.umn.edu>
383 * gdk/Makefile.am (configexecincludedir): Rename from
384 configincludedir so that gdkconfig.h will be installed
385 as part of `make install-exec'.
387 Fri Mar 19 16:50:33 PST 1999 Manish Singh <yosh@gimp.org>
393 * ltmain.sh: upgrade to libtool 1.2f
395 * autogen.sh: libtool is not required to autogen gtk+
397 * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
400 1999-03-18 Tor Lillqvist <tml@iki.fi>
402 * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
403 declaring gdk variables exported/imported from the DLL. New image
404 type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
405 drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
408 * gdk/gdk.h: Merge in Win32 version: Two new functions,
409 gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
410 declared only for the Win32 version, but could be in the X11
411 version as well. (Needed for a Xlib-less gdk_imlib.)
412 gdk_color_hash should have only one parameter. Declare
413 gdk_threads_mutex with GDKVAR.
415 * gdk/gdkcolor.c (gdk_color_hash): A hash function should have
418 * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
421 * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
422 Fetch bpp (which means bits-per-pixel here) from another place on
423 Win32. Accept also depth==32 (which we might get on Win32) with
426 * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
427 gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
428 gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
429 Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
430 in the backend-dependent directory, not in the common gdk
433 * gtk/testgtk.c: Ditto. Also, don't use ../gdk path to gdk
436 Wed Mar 17 05:06:49 1999 Tim Janik <timj@gtk.org>
438 * gtk/gtkmain.c (gtk_init_check): tell people that they don't really
439 want to use the Gtk+ devel version (which is true, and yes - even i am
440 currently working with the 1.2.x branch). so everyone reading this, you
441 probably want to issue
442 cvs checkout -r glib-1-2 glib
444 cvs checkout -r gtk-1-2 gtk+
445 as your next two comands.
447 Wed Mar 17 02:49:32 1999 Tim Janik <timj@gtk.org>
449 * configure.in: build gtkcompat.h from gtkcompat.h.in instead of
450 gtkfeatures.h from gtkfeatures.h.in, require GLib 1.3.0.
452 * gtk/gtkcompat.h.in: combined gtkcompat.h and gtkfeatures.in in this
453 file. strongly deprecated the GTK_HAVE_* macros, we provide
454 GTK_CHECK_VERSION() for people that need to check for certain
457 * gtk/gtkcompat.h: removed this from CVS.
458 * gtk/gtkfeatures.h.in: removed this from CVS, gtkfeatures.h was a bad
459 idea right from the start, it just didn't seem like that back then.
461 Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
463 * merges from gtk-1-2:
465 Tue Mar 16 17:43:33 1999 Tim Janik <timj@gtk.org>
467 * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_string): ensure the
468 item factory class has been created.
469 (gtk_item_factory_parse_rc): likewise.
472 keep proper references for old_active_menu_item.
473 (gtk_menu_reparent): unset the usize of the new parent,
474 so the menu can sanely be size requested and we don't get nasty screen
475 artefacts upon next reparentation.
476 (gtk_menu_motion_notify): set send_event to TRUE if we synthesize an
477 enter notify. only synthesize enter notifies if the pointer really is
478 inside the event window.
479 (gtk_menu_popdown): use gtk_menu_shell_deselect().
480 (gtk_menu_popup): move the background setting stuff into
481 gtk_menu_tearoff_bg_copy() so it can be called from other places as well.
483 * gtk/gtkmenushell.c (gtk_menu_shell_button_press): use
484 gtk_menu_shell_select_item() to select the new item.
485 (gtk_menu_shell_deselect): export this function, so gtkmenu.c can
486 do the right thing for deselection as well.
488 Sat Mar 15 20:10:33 1999 Tim Janik <timj@gtk.org>
490 * gtk/gtkwidget.[hc]:
491 (gtk_widget_accelerators_locked): return whether a widget's accelerators
494 * gtk/gtkmenu.c (gtk_menu_key_press): don't remove or install new or
495 existing accelerators if the widget's accelerators are locked.
497 Sat Mar 14 19:44:05 1999 Tim Janik <timj@gtk.org>
499 * gtk/gtkitemfactory.[hc]: allow managing of foreign menu items.
501 * gtk/gtkmenu.c: truely forward key press and key release events to
502 the menu widget from the toplevel or tearoff window. we can't simply
503 connect to that, we need to stop further processing of the events as
506 Sat Mar 13 13:14:17 1999 Tim Janik <timj@gtk.org>
509 (gtk_menu_key_press): pass event->keyval, event->state to
510 gtk_accelerator_valid, instead of event->keyval twice.
511 refuse to install single letter accelerators for menus that use
512 single letter shortcuts.
514 * gtk/gtkitemfactory.c (gtk_item_factory_create_item): use
515 gtk_menu_ensure_uline_accel_group().
517 * gtk/gtkmenu.[hc]: added gtk_menu_ensure_uline_accel_group()
518 which will always return an uline accel group, made
519 gtk_menu_get_uline_accel_group() return NULL if the group isn't
522 Mon Mar 15 01:03:27 1999 Lars Hamann <lars@gtk.org>
524 * gtk/gtkclist.h (struct _GtkCListColumn): added button_passive flag.
526 * gtk/gtkclist.c (gtk_clist_column_title_passive):
527 Leave button sensitive, trap button_press, button_release,
528 motion_notify, enter_notify and leave_notify events instead.
529 (gtk_clist_column_title_active): disconnect event handler.
530 (gtk_clist_drag_data_get): fixed memory leak. Reported by
531 Guillaume Laurent <glaurent@worldnet.fr>
533 Wed Mar 10 23:49:55 1999 Lars Hamann <lars@gtk.org>
535 * gtk/gtklayout.c (gtk_layout_adjustment_changed): fixed a few
538 * gtk/gtkctree.c (tree_delete): emit an tree_unselect_row signal
541 Wed Mar 10 00:11:32 1999 Tim Janik <timj@gtk.org>
543 * gtk/testgtk.c (create_item_factory): unref the item factory after
544 window's destruction.
546 * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): keep a reference
547 count on the menu shell around the menu item's activation, since the
548 signal emission may cause menu shell destruction.
550 * gtk/gtkitemfactory.c:
551 the previous code leaked one accel group per menu. we use
552 gtk_menu_get_uline_accel_group() now to fix that, and with that
553 also create the underline accelerator group of the menus only if
554 required (i.e. an underline accelerator has been specified).
555 (gtk_item_factory_construct):
556 (gtk_item_factory_create_item): removed code that would create an
557 extra accel group for the menu (and leak references).
558 (gtk_item_factory_create_item): adapted the underline accelerator
559 installation code to properly feature gtk_menu_get_uline_accel_group().
561 * gtk/gtkmenu.[hc]: added gtk_menu_get_accel_group() to retrive
562 menu->accel_group, this may return NULL if the accelerator group
564 added gtk_menu_get_uline_accel_group() to retrive the underline
565 accelerator group of the menu, this will be created on demand
566 and proper care is taken about its reference count.
568 * gtk/gtkitemfactory.h:
569 * gtk/gtkitemfactory.c:
570 dumped the approach of keeping a widgets by action list on the
571 factory since the factory<->widget destroy negotiation didn't work
572 and would be hard to get going at all. instead we keep a list of
573 GtkItemFactoryItem items on the factory (GtkItemFactoryItems are
574 persistant throughout a program's life time).
575 also, i removed the static const gchar *key_* variables, and made
576 them inline strings (they weren't actually used anyways).
577 (gtk_item_factory_add_item): update ifactory->items.
578 (gtk_item_factory_destroy): destroy ifactory->items (and remove
579 the item factory pointer from the remaining ifactory widgets).
580 (gtk_item_factory_get_widget_by_action): walk the GtkItemFactoryItem
581 list to find the widget.
582 (gtk_item_factory_get_item): new function that works around
583 gtk_item_factory_get_widget() limitations, this function will only
584 return menu items, even for <Branch> entries.
586 Tue Mar 9 01:01:28 1999 Tim Janik <timj@gtk.org>
588 * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
589 font hash table, if we have a GdkFontPrivate entry for this font
590 already, simply increment its reference count, provided by Olaf Dietsche
591 <olaf.dietsche+list.gtk@netcologne.de>.
593 * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
594 provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
596 Sun Mar 7 06:13:29 1999 Tim Janik <timj@gtk.org>
598 * gtk/gtkcontainer.c:
599 (gtk_container_add_with_args):
600 (gtk_container_addv):
601 (gtk_container_add): before adding a child to a conatiner, make sure
602 it is (default) constructed, this is neccessary because under certain
603 circumstances the child will get relized and mapped immediatedly, in
604 which case it has to be constructed already.
606 Mon Mar 1 17:58:21 1999 Tim Janik <timj@gtk.org>
608 * gtk/gtksignal.c (gtk_signal_connect_by_type): count object_signal
609 values > 1 as TRUE also.
611 1999-03-16 Tor Lillqvist <tml@iki.fi>
613 * README.win32: New file.
615 * configure.in: Check for lstat.
617 * config.h.win32: Add non-definition of HAVE_LSTAT, just for
620 * gtk/gtkrc.c: If don't HAVE_LSTAT, use stat.
622 * gtk/gtk.def: Removed CRs.
624 * gtk/makefile.msc: Correct include path to Win32 GDK version (in
627 * gdk/win32/makefile.msc: Correct upwards relative paths.
629 Mon Mar 15 03:38:34 1999 George Lebl <jirka@5z.com>
631 * gtk/gtkdnd.c: (gtk_drag_highlight) swap the
632 gtk_drag_highlight_expose and gtk_drag_highlight_paint since
633 it was connecting a void function to expose_event and the int
634 returning function to the draw signal
636 1999-03-14 Jeff Garzik <jgarzik@pobox.com>
639 Use correct path to libgmodule.la when ref'ing uninstalled copy
640 of glib. (Already in stable branch, Bug #417)
642 1999-03-15 Tor Lillqvist <tml@iki.fi>
644 Win32 merge and general portability stuff:
646 * acconfig.h,configure.in: Check for <sys/time.h>.
648 * gdk/win32: New directory (actually, been there for a while).
650 * gtk/fnmatch.c: Include <glib.h> for G_DIR_SEPARATOR, WIN32 and
651 NATIVE_WIN32, and use these. Always case fold on Win32. No
652 backslashed escapes on native Win32.
654 * gtk/{gtk.def,makefile.msc}: New files.
656 * gtk/Makefile.am: Add above new files.
658 * gtk/{gtkaccelgroup,gtkbindings}.c: Include <string.h>
659 instead of <strings.h>.
661 * gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include
662 config.h. Protect inclusion of <sys/param.h>, <sys/time.h>, and
663 <unistd.h> appropriately.
665 * gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much).
666 Use ABS() (from <glib.h>) instead of abs().
668 * gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion
669 of gtk (and thus glib) headers, so that WIN32 will be
670 defined. With MS C, include <direct.h> for mkdir prototype.
672 * gtk/gtkitemfactory.c (gtk_item_factory_callback_marshal): Add
673 some casts, needed by MS C.
675 * gtk/{gtklayout,gtkplug}.c: Merge in Win32 version (which isn't
678 * gtk/gtkmain.c: Include gdk/gdkx.h for GDK_WINDOWING. Include
679 <X11/Xlocale.h> only on X11 platform, otherwise <locale.h>. Use
680 G_SEARCHPATH_SEPARATOR_S and g_module_build_path.
682 * gtk/gtkmain.h: Mark variables for export/import on Win32.
684 * gtk/gtkrange.c (gtk_range_motion_notify): Set mods also in case
685 the event is not a hint, or its window is not the slider. Needed
688 * gtk/gtkrc.c: Include config.h and gdk/gdkx.h. Use <locale.h>
689 unless on X11. Skip \r chars, too. Use G_DIR_SEPARATOR and
690 G_SEARCHPATH_SEPARATOR(_S). Use g_path_is_absolute. On Win32, use
691 a subdirectory of the Windows directory as gtk system
692 configuration directory.
694 * gtk/gtkselection.c: No chunks on Win32.
696 * gtk/gtksocket.c: Not implemented on Win32.
698 * gtk/gtkthemes.c (gtk_theme_engine_get): Use g_module_build_path.
700 * gtk/makeenums.h: Include gdkprivate.h after gdk.h.
702 * gtk/maketypes.awk: Declare variables with a macro that expands to
703 necessary export/import magic in the case of Win32.
705 * gtk/testrgb.c: Use dynamically allocated buffer. Use GTimers.
707 1999-03-13 Raja R Harinath <harinath@cs.umn.edu>
709 * configure.in (gdk_wc): Move widechar tests from `glib' to here,
710 since those were meant only for gdki18n.h.
711 * gdk/gdki18n.h: Include gdkconfig.h and use GDK_* instead of G_*
713 * gtk/Makefile.am (INCLUDES): Add -I../gdk for gdkconfig.h.
715 1999-03-13 Tor Lillqvist <tml@iki.fi>
717 * configure.in acconfig.h: Check for dirent.h and pwd.h. Generate
718 gdk/gdkconfig.h using similar mechanism as GLib's glibconfig.h.
720 * gtk-config.in: Add @libdir/gtk+/include (where gdkconfig.h is
721 installed) to CFLAGS.
723 * gdk/Makefile.am: Add rules for gdkconfig.h.
725 * gdk/gdktypes.h: Include gdkconfig.h. Define macros for windowing
728 * gdk/gdkfontsel.c: Don't include Xlib.h, it gets included via
729 gdkx.h anyway when compiling for X11.
730 (gtk_font_selection_create_xlfd): Use g_strdup_printf. (In
731 general): Merge in Win32 version.
733 * gtk/gtkfilesel.c: Use g_get_current_dir(). Merge in Win32
734 version: Use G_DIR_SEPARATOR, g_path_is_absolute, no tilde
735 expansion (if we don't have HAVE_PWD_H), allow for drive
736 letters. UNC paths (\\server\share\...) are not handled yet. Also,
737 included code from Craig Setera's port to Win32 (the one that uses
738 X11, and the cygwin dll), even if it probably will be abandoned.
740 * gtk/gtkfilesel.c: Don't append a * to the pattern to complete if
741 the user entered one herself. This way one can complete *.h and
742 don't get matches on any .help files, for instance.
744 Tue Mar 9 01:01:28 1999 Tim Janik <timj@gtk.org>
746 * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
747 font hash table, if we have a GdkFontPrivate entry for this font
748 already, simply increment its reference count, provided by Olaf Dietsche
749 <olaf.dietsche+list.gtk@netcologne.de>.
751 * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
752 provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
754 1999-03-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
756 * gtk/gtkstyle.c (gtk_default_draw_handle): Significantly reduced
757 the number of calls to gdk_draw_point() (and thus to X) by
758 clipping the points by hand.
760 * gtk/gtkhandlebox.c (draw_textured_frame): Actually make use of
762 (gtk_handle_box_paint): Only paint the handle if the expose area
765 Sun Mar 7 18:46:37 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
767 * gtk/gtkmain.c (add_dll_suffix): Add this function (OS/2 ver.)
769 Sun Mar 7 11:43:34 1999 ape@spacetec.no (Asbjorn Pettersen)
771 * gtk/gtkthemes.c (gtk_theme_engine_get): Add OS/2 changes.
772 Added function gen_8_3_dll_name(gchar *name, gchar *fullname).
774 Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
776 * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
777 textmode (O_TEXT) for OS/2 version.
779 Sun Feb 28 16:46:02 1999 Stefan Jeske <stefan@gtk.org>
781 * gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to
782 GtkSpinButton, "input" and "output", to make the output more flexible.
783 The user has to provide a mapping between adjustment->value and the
784 output string (and vice versa, if the spin button is editable).
785 See testgtk for examples.
787 Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
789 * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
792 * configure.in: set gtk+ version to 1.3.0.