1 1999-08-19 Tor Lillqvist <tml@iki.fi>
3 * gdk/win32/gdkgc.c (gdk_gc_new_with_values): Fix a cut&paste
4 error that caused crashes.
6 1999-08-17 Tor Lillqvist <tml@iki.fi>
8 * gdk/win32/gdkdraw.c (gdk_draw_pixmap): When blitting inside one
9 window, use ScrollWindowEx, and call UpdateWindow. This prevents
10 bugs when for instance part of the window was outside the
11 display. Thanks to Philippe Colantoni for finding and fixing this.
13 1999-08-16 Tor Lillqvist <tml@iki.fi>
15 * gdk/win32/gdkdraw.c (gdk_draw_arc): Fix start and end radial
16 endpoint calculations which were totally wrong. (A little RTFMing
19 * gtk/makefile.{cygwin,msc}: Use libintl extracted from glibc
20 from a separate directory, not from gettext, because of licensing
21 issues (we want to use the LGPL version).
23 * README.win32: Mention the intl from glibc vs from gettext issue.
25 1999-08-13 Tor Lillqvist <tml@iki.fi>
27 * gdk/win32/gdkevents.c (gdk_event_translate): Fix a couple of bugs
28 in the key event handling: Now AltGr chars work again. Also,
29 now Alt-digits are passed up as well as Control-digits.
30 Pass keypad plus and minus as normal plus and minus.
32 Wed Aug 11 13:38:26 BST 1999 Tony Gale <gale@gtk.org>
34 * docs/gtkfaq.sgml: FAQ Update
36 1999-07-25 Tor Lillqvist <tml@iki.fi>
39 * config.h.win32: Add HAVE_WINTAB. Undefine it if bulding without
42 * gdk/win32/gdkinput.c: Hack some more. Still doesn't quite work
43 OK, but getting closer. Guard against bogus tilt data from Wacom
44 ArtPad II with the 3.40 driver. Add ifdefs for HAVE_WINTAB to
45 enable easier building without Wintab.
47 * gdk/win32/gdkinput.h
48 * gdk/win32/gdkevents.c
49 * gdk/win32/gdkwindow.c: Minor changes related related to above.
51 * gdk/win32/gdkvisual.c: Simplify a lot, remove leftovers from X11
52 code. As we have just one visual on Win32, no sense to have it in a
53 table, and no need for the hash table.
55 * gdk/win32/rc/cursor*.cur: Edit some of the cursors a bit to look
56 better on white background.
58 1999-07-21 Tor Lillqvist <tml@iki.fi>
60 * README.win32: Update gcc build instructions. Mention gettext is
63 * gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Get correct
64 supported cursor size with GetSystemMetrics.
67 * gtk/gtkfontsel.c: Guard against some font weight and charset
68 symbols being undefined (in mingw32 headers).
70 * gdk/win32/makefile.cygwin
72 * gtk/gtkthemes.c: No longer need to have differently named
73 gcc-built DLLs when using gcc-2.95 and -fnative-struct.
75 hu Jul 15 13:33:15 BST 1999 Tony Gale <gale@gtk.org>
77 * docs/gtkfaq.sgml: Long awaited FAQ update.
79 1999-07-15 Tor Lillqvist <tml@iki.fi>
81 * gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Implement
82 it. Obscure bit manipulation needed.
84 * gdk/win32/gdkevents.c: Logging.
86 * gtk/gtkthemes.c (gtk_theme_engine_get): (Win32) Use new DLL naming
87 style (file name include compiler name) for theme engines.
89 1999-07-13 Tor Lillqvist <tml@iki.fi>
91 * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Less logging verbiage.
93 * gdk/win32/gdkevents.c: Fix long-standing bug in key
94 events. The key.string wasn't zero-terminated, still we strdup'ed
95 it in gdk_event_copy(). Synthesize crossing events for button
96 events before possible propagation.
98 * gdk/win32/gdkwindow.c: Log gdk_window_set_title.
100 * gdk/win32/makefile.cygwin
101 * gtk/makefile.cygwin: Use new DLL naming style for the
104 * gdk/win32/makefile.msc
105 * gtk/makefile.msc: Cosmetics mostly.
107 * gtk/gtk.def: Add missing entry points.
109 * gtk/gtksocket.c: Add dummy gtk_socket_get_type() for Win32.
111 1999-07-09 Tor Lillqvist <tml@iki.fi>
113 * gdk/win32/gdkdraw.c (gdk_draw_arc): Don't draw anything if width
114 or height is zero. Don't print a warning if Pie or Arc fails, they
115 always fail (?) for very narrow ellipses.
117 * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Call InvalidateRgn for
118 the part or the destination window corresponding to source area
119 outside of the source drawable's boundary.
121 * gdk/win32/gdkdraw.c (gdk_draw_lines, gdk_draw_polygon): Don't do
122 anything if less than two points.
124 * gdk/win32/gdkselection.c (gdk_selection_owner_get): Always
125 return NULL. Gtk cut-and-paste inside a single program works
126 better this way. (It always gets the clipboard contents from
127 Windows, not from its own copy, which is cleared anyway. I can't
128 say I fully understand what happens... Emulating the X selection
129 and property stuff is a bit of a mess.)
131 * gdk/win32/gdkevents.c
132 * gdk/win32/gdkproperty.c: A bit more verbose logging.
134 * gdk/win32/gdkregion.c: Fix some memory leaks (temporary regions
135 that never got deleted). Revamp gdk_region_shrink.
137 * gdk/win32/gdkregion.c: Fix memory leak, delete temporary regions
140 * gtk/gtk.def: Add some missing entry points.
142 * gtk/gtkrc.c: Strip trailing directory separator from pixmap path
145 1999-07-04 Tor Lillqvist <tml@iki.fi>
147 * gdk/win32/gdkevents.c (gdk_event_translate): Handle
148 Control-digits specially.
150 1999-07-03 Tor Lillqvist <tml@iki.fi>
152 * gtk/makefile.{cygwin,msc}: New pthreads version. Use gettext.
154 1999-06-28 Tor Lillqvist <tml@iki.fi>
156 * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
157 bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
160 1999-06-01 Jose H Mercado <jmercado@mit.edu>
162 * gtk+.spec.in: Corrected some typos in files section.
164 1999-06-15 Tor Lillqvist <tml@iki.fi>
166 * README.win32: Mention using GNU gettext.
167 * config.h.win32: Enable NLS stuff.
168 * gtk/makefile.msc: Use GNU gettext.
169 * gdk/win32/gdkdnd.c: Minor header reorg.
170 * gdk/win32/{gdkevents,gdkwindow}.c: No semantic changes, mainly
172 * gtk/gtkrc.c (Win32): Make get_gtk_sysconf_directory() public.
173 * gtk/gtkmain.c (Win32): Use it in bindtextdomain() call.
175 Wed Jun 2 11:44:25 PDT 1999 Manish Singh <yosh@gimp.org>
181 * ltmain.sh: upgrade to libtool 1.3.2 (BeOS changes merged)
183 1999-05-30 Tor Lillqvist <tml@iki.fi>
185 * gdk/win32/gdkwindow.c: AdjustWindowRectEx2 renamed to
186 SafeAdjustWindowRectEx. Don't override all calls to
187 AdjustWindowRectEx by it, but use it only in two places: When
188 creating a new top-level window and when moving a top-level
191 Use screen coordinate rectangle, not client rectangle, in
192 gdk_window_move. Thus SafeAdjustWindowRectEx will do its job only
193 when we try to place a window so that the decoration (mainly,
194 title bar) isn't visible.
196 These changes fix the bug that showed up for instance as the
197 GIMP's saved top-level windows moving right and down (by an amount
198 equal to the window decoration) for each session. This bug showed
199 up also in testgtk's "Saved Position".
201 gdk_window_resize also redone a bit.
203 1999-05-25 Tor Lillqvist <tml@iki.fi>
205 * gtk/testgtkrc: Add (commented out) Windows-style theme
208 * gdk/win32/gdk.def,gtk/gtk.def: Add some missing entry points.
210 1999-05-18 Tor Lillqvist <tml@iki.fi>
212 * gdk/win32/makefile.{cygwin,msc}: Copy our gdkprivate.h and
213 gdkx.h to a gdk subdirectory, so that applications can include
214 these with <gdk/*.h> without trouble.
216 * gdk/win32/gdkimage.c (gdk_image_new_with_depth): Code simplified.
217 (gdk_image_destroy): Plug resource leak, some GdkImages didn't
218 have their bitmap destroyed.
220 * gdk/win32/gdk.def: Add gdk_root_parent.
222 Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
228 gtk/Makefile.am: changes to compile nicely (with xlib)
231 Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
237 * ltmain.sh: upgrade to libtool 1.3
239 Fri Apr 30 13:38:16 1999 Lars Hamann <lars@gtk.org>
242 * gtk/gtkctree.c: merges from gtk-1-2
244 1999-04-25 Tor Lillqvist <tml@iki.fi>
246 Support added for building using a GNU toolchain on Win32,
247 gcc -mno-cygwin (egcs-1.1.2) on cygwin-b20.1.
249 * gdk/win32/makefile.cygwin gtk/makefile.cygwin: New files.
250 * config.h.win32: Changes for gcc.
251 * gdk/gdkrectangle.c: Include gdk.h as <gdk/gdk.h>.
252 * gdk/gdkcolor.c: config.h.win32 already defines strcasecmp.
253 * gdk/win32/gdkconfig.h: Only the MS compiler has wctype.h.
254 * gdk/win32/gdkdnd.c: Protect (unused) OLE2 stuff better.
255 Protect shl stuff unavaiilable with mingw32 headers.
256 * gdk/win32/gdkevents.c: Fix typo.
257 * gdk/win32/gdkglobals.c: Use GDKVAR here also for gcc.
258 * gdk/win32/gdkim.c: Use OEM code page for multibyte chars. (?)
259 * gdk/win32/gdkinput.c: Use __try __except only with the MS compiler.
260 * gdk/win32/gdkprivate.h: Make up for some stuff missing from
262 * gdk/win32/makefile.msc: Use latest Wintab kit and glib.
263 * gtk/gtkfilesel.c: Include <glib.h> early, to get stat->_stat
264 definition on Win32. Test for NATIVE_WIN32, not _MSC_VER.
265 * gtk/gtkfontsel.c: Protect CHARSET redefinition on Win32.
266 Test for NATIVE_WIN32, not _MSC_VER.
267 * gtk/gtkmain.c: No use warning about developer version on Win32,
268 there aren't any non-developer versions anyhow.
269 * gtk/gtkrc.c: Test for NATIVE_WIN32, not _MSC_VER.
270 * gtk/makefile.msc: Use pthread from another directory. Minor other
273 Wed Apr 21 14:20:22 1999 George Lebl <jirka@5z.com>
275 * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
276 default filter from the list
278 Mon Mar 8 12:52:53 1999 Owen Taylor <otaylor@redhat.com>
280 * gtk/gtkwidget.c (gtk_widget_grab_default): Add a warning
281 when gtk_widget_grab_default() is called for a widget that
282 is not within a GtkWindow.
284 Sat Apr 10 13:52:54 BST 1999 Tony Gale <gale@gtk.org>
286 * docs/gtk_tut.sgml, examples/clist.c: use a
287 scrolled window in the clist example. Minor
290 Fri Apr 2 09:19:20 BST 1999 Tony Gale <gale@gtk.org>
292 * docs/gtk_tut.sgml: Style check from David King
293 <dking@youvegotmail.net>
295 1999-03-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
297 * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
298 compile with unknown value of GDK_WINDOWING
300 1999-03-28 Raja R Harinath <harinath@cs.umn.edu>
302 * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
303 after the rule is fired.
304 (install-exec-local): Install gdkconfig.h only if the contents are
305 different from the currently installed gdkconfig.h.
307 1999-03-26 Raja R Harinath <harinath@cs.umn.edu>
309 * gdk/Makefile.am (configexecincludedir): Rename from
310 configincludedir so that gdkconfig.h will be installed
311 as part of `make install-exec'.
313 Fri Mar 19 16:50:33 PST 1999 Manish Singh <yosh@gimp.org>
319 * ltmain.sh: upgrade to libtool 1.2f
321 * autogen.sh: libtool is not required to autogen gtk+
323 * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
326 1999-03-18 Tor Lillqvist <tml@iki.fi>
328 * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
329 declaring gdk variables exported/imported from the DLL. New image
330 type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
331 drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
334 * gdk/gdk.h: Merge in Win32 version: Two new functions,
335 gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
336 declared only for the Win32 version, but could be in the X11
337 version as well. (Needed for a Xlib-less gdk_imlib.)
338 gdk_color_hash should have only one parameter. Declare
339 gdk_threads_mutex with GDKVAR.
341 * gdk/gdkcolor.c (gdk_color_hash): A hash function should have
344 * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
347 * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
348 Fetch bpp (which means bits-per-pixel here) from another place on
349 Win32. Accept also depth==32 (which we might get on Win32) with
352 * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
353 gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
354 gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
355 Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
356 in the backend-dependent directory, not in the common gdk
359 * gtk/testgtk.c: Ditto. Also, don't use ../gdk path to gdk
362 Wed Mar 17 05:06:49 1999 Tim Janik <timj@gtk.org>
364 * gtk/gtkmain.c (gtk_init_check): tell people that they don't really
365 want to use the Gtk+ devel version (which is true, and yes - even i am
366 currently working with the 1.2.x branch). so everyone reading this, you
367 probably want to issue
368 cvs checkout -r glib-1-2 glib
370 cvs checkout -r gtk-1-2 gtk+
371 as your next two comands.
373 Wed Mar 17 02:49:32 1999 Tim Janik <timj@gtk.org>
375 * configure.in: build gtkcompat.h from gtkcompat.h.in instead of
376 gtkfeatures.h from gtkfeatures.h.in, require GLib 1.3.0.
378 * gtk/gtkcompat.h.in: combined gtkcompat.h and gtkfeatures.in in this
379 file. strongly deprecated the GTK_HAVE_* macros, we provide
380 GTK_CHECK_VERSION() for people that need to check for certain
383 * gtk/gtkcompat.h: removed this from CVS.
384 * gtk/gtkfeatures.h.in: removed this from CVS, gtkfeatures.h was a bad
385 idea right from the start, it just didn't seem like that back then.
387 Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
389 * merges from gtk-1-2:
391 Tue Mar 16 17:43:33 1999 Tim Janik <timj@gtk.org>
393 * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_string): ensure the
394 item factory class has been created.
395 (gtk_item_factory_parse_rc): likewise.
398 keep proper references for old_active_menu_item.
399 (gtk_menu_reparent): unset the usize of the new parent,
400 so the menu can sanely be size requested and we don't get nasty screen
401 artefacts upon next reparentation.
402 (gtk_menu_motion_notify): set send_event to TRUE if we synthesize an
403 enter notify. only synthesize enter notifies if the pointer really is
404 inside the event window.
405 (gtk_menu_popdown): use gtk_menu_shell_deselect().
406 (gtk_menu_popup): move the background setting stuff into
407 gtk_menu_tearoff_bg_copy() so it can be called from other places as well.
409 * gtk/gtkmenushell.c (gtk_menu_shell_button_press): use
410 gtk_menu_shell_select_item() to select the new item.
411 (gtk_menu_shell_deselect): export this function, so gtkmenu.c can
412 do the right thing for deselection as well.
414 Sat Mar 15 20:10:33 1999 Tim Janik <timj@gtk.org>
416 * gtk/gtkwidget.[hc]:
417 (gtk_widget_accelerators_locked): return whether a widget's accelerators
420 * gtk/gtkmenu.c (gtk_menu_key_press): don't remove or install new or
421 existing accelerators if the widget's accelerators are locked.
423 Sat Mar 14 19:44:05 1999 Tim Janik <timj@gtk.org>
425 * gtk/gtkitemfactory.[hc]: allow managing of foreign menu items.
427 * gtk/gtkmenu.c: truely forward key press and key release events to
428 the menu widget from the toplevel or tearoff window. we can't simply
429 connect to that, we need to stop further processing of the events as
432 Sat Mar 13 13:14:17 1999 Tim Janik <timj@gtk.org>
435 (gtk_menu_key_press): pass event->keyval, event->state to
436 gtk_accelerator_valid, instead of event->keyval twice.
437 refuse to install single letter accelerators for menus that use
438 single letter shortcuts.
440 * gtk/gtkitemfactory.c (gtk_item_factory_create_item): use
441 gtk_menu_ensure_uline_accel_group().
443 * gtk/gtkmenu.[hc]: added gtk_menu_ensure_uline_accel_group()
444 which will always return an uline accel group, made
445 gtk_menu_get_uline_accel_group() return NULL if the group isn't
448 Mon Mar 15 01:03:27 1999 Lars Hamann <lars@gtk.org>
450 * gtk/gtkclist.h (struct _GtkCListColumn): added button_passive flag.
452 * gtk/gtkclist.c (gtk_clist_column_title_passive):
453 Leave button sensitive, trap button_press, button_release,
454 motion_notify, enter_notify and leave_notify events instead.
455 (gtk_clist_column_title_active): disconnect event handler.
456 (gtk_clist_drag_data_get): fixed memory leak. Reported by
457 Guillaume Laurent <glaurent@worldnet.fr>
459 Wed Mar 10 23:49:55 1999 Lars Hamann <lars@gtk.org>
461 * gtk/gtklayout.c (gtk_layout_adjustment_changed): fixed a few
464 * gtk/gtkctree.c (tree_delete): emit an tree_unselect_row signal
467 Wed Mar 10 00:11:32 1999 Tim Janik <timj@gtk.org>
469 * gtk/testgtk.c (create_item_factory): unref the item factory after
470 window's destruction.
472 * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): keep a reference
473 count on the menu shell around the menu item's activation, since the
474 signal emission may cause menu shell destruction.
476 * gtk/gtkitemfactory.c:
477 the previous code leaked one accel group per menu. we use
478 gtk_menu_get_uline_accel_group() now to fix that, and with that
479 also create the underline accelerator group of the menus only if
480 required (i.e. an underline accelerator has been specified).
481 (gtk_item_factory_construct):
482 (gtk_item_factory_create_item): removed code that would create an
483 extra accel group for the menu (and leak references).
484 (gtk_item_factory_create_item): adapted the underline accelerator
485 installation code to properly feature gtk_menu_get_uline_accel_group().
487 * gtk/gtkmenu.[hc]: added gtk_menu_get_accel_group() to retrive
488 menu->accel_group, this may return NULL if the accelerator group
490 added gtk_menu_get_uline_accel_group() to retrive the underline
491 accelerator group of the menu, this will be created on demand
492 and proper care is taken about its reference count.
494 * gtk/gtkitemfactory.h:
495 * gtk/gtkitemfactory.c:
496 dumped the approach of keeping a widgets by action list on the
497 factory since the factory<->widget destroy negotiation didn't work
498 and would be hard to get going at all. instead we keep a list of
499 GtkItemFactoryItem items on the factory (GtkItemFactoryItems are
500 persistant throughout a program's life time).
501 also, i removed the static const gchar *key_* variables, and made
502 them inline strings (they weren't actually used anyways).
503 (gtk_item_factory_add_item): update ifactory->items.
504 (gtk_item_factory_destroy): destroy ifactory->items (and remove
505 the item factory pointer from the remaining ifactory widgets).
506 (gtk_item_factory_get_widget_by_action): walk the GtkItemFactoryItem
507 list to find the widget.
508 (gtk_item_factory_get_item): new function that works around
509 gtk_item_factory_get_widget() limitations, this function will only
510 return menu items, even for <Branch> entries.
512 Tue Mar 9 01:01:28 1999 Tim Janik <timj@gtk.org>
514 * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
515 font hash table, if we have a GdkFontPrivate entry for this font
516 already, simply increment its reference count, provided by Olaf Dietsche
517 <olaf.dietsche+list.gtk@netcologne.de>.
519 * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
520 provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
522 Sun Mar 7 06:13:29 1999 Tim Janik <timj@gtk.org>
524 * gtk/gtkcontainer.c:
525 (gtk_container_add_with_args):
526 (gtk_container_addv):
527 (gtk_container_add): before adding a child to a conatiner, make sure
528 it is (default) constructed, this is neccessary because under certain
529 circumstances the child will get relized and mapped immediatedly, in
530 which case it has to be constructed already.
532 Mon Mar 1 17:58:21 1999 Tim Janik <timj@gtk.org>
534 * gtk/gtksignal.c (gtk_signal_connect_by_type): count object_signal
535 values > 1 as TRUE also.
537 1999-03-16 Tor Lillqvist <tml@iki.fi>
539 * README.win32: New file.
541 * configure.in: Check for lstat.
543 * config.h.win32: Add non-definition of HAVE_LSTAT, just for
546 * gtk/gtkrc.c: If don't HAVE_LSTAT, use stat.
548 * gtk/gtk.def: Removed CRs.
550 * gtk/makefile.msc: Correct include path to Win32 GDK version (in
553 * gdk/win32/makefile.msc: Correct upwards relative paths.
555 Mon Mar 15 03:38:34 1999 George Lebl <jirka@5z.com>
557 * gtk/gtkdnd.c: (gtk_drag_highlight) swap the
558 gtk_drag_highlight_expose and gtk_drag_highlight_paint since
559 it was connecting a void function to expose_event and the int
560 returning function to the draw signal
562 1999-03-14 Jeff Garzik <jgarzik@pobox.com>
565 Use correct path to libgmodule.la when ref'ing uninstalled copy
566 of glib. (Already in stable branch, Bug #417)
568 1999-03-15 Tor Lillqvist <tml@iki.fi>
570 Win32 merge and general portability stuff:
572 * acconfig.h,configure.in: Check for <sys/time.h>.
574 * gdk/win32: New directory (actually, been there for a while).
576 * gtk/fnmatch.c: Include <glib.h> for G_DIR_SEPARATOR, WIN32 and
577 NATIVE_WIN32, and use these. Always case fold on Win32. No
578 backslashed escapes on native Win32.
580 * gtk/{gtk.def,makefile.msc}: New files.
582 * gtk/Makefile.am: Add above new files.
584 * gtk/{gtkaccelgroup,gtkbindings}.c: Include <string.h>
585 instead of <strings.h>.
587 * gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include
588 config.h. Protect inclusion of <sys/param.h>, <sys/time.h>, and
589 <unistd.h> appropriately.
591 * gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much).
592 Use ABS() (from <glib.h>) instead of abs().
594 * gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion
595 of gtk (and thus glib) headers, so that WIN32 will be
596 defined. With MS C, include <direct.h> for mkdir prototype.
598 * gtk/gtkitemfactory.c (gtk_item_factory_callback_marshal): Add
599 some casts, needed by MS C.
601 * gtk/{gtklayout,gtkplug}.c: Merge in Win32 version (which isn't
604 * gtk/gtkmain.c: Include gdk/gdkx.h for GDK_WINDOWING. Include
605 <X11/Xlocale.h> only on X11 platform, otherwise <locale.h>. Use
606 G_SEARCHPATH_SEPARATOR_S and g_module_build_path.
608 * gtk/gtkmain.h: Mark variables for export/import on Win32.
610 * gtk/gtkrange.c (gtk_range_motion_notify): Set mods also in case
611 the event is not a hint, or its window is not the slider. Needed
614 * gtk/gtkrc.c: Include config.h and gdk/gdkx.h. Use <locale.h>
615 unless on X11. Skip \r chars, too. Use G_DIR_SEPARATOR and
616 G_SEARCHPATH_SEPARATOR(_S). Use g_path_is_absolute. On Win32, use
617 a subdirectory of the Windows directory as gtk system
618 configuration directory.
620 * gtk/gtkselection.c: No chunks on Win32.
622 * gtk/gtksocket.c: Not implemented on Win32.
624 * gtk/gtkthemes.c (gtk_theme_engine_get): Use g_module_build_path.
626 * gtk/makeenums.h: Include gdkprivate.h after gdk.h.
628 * gtk/maketypes.awk: Declare variables with a macro that expands to
629 necessary export/import magic in the case of Win32.
631 * gtk/testrgb.c: Use dynamically allocated buffer. Use GTimers.
633 1999-03-13 Raja R Harinath <harinath@cs.umn.edu>
635 * configure.in (gdk_wc): Move widechar tests from `glib' to here,
636 since those were meant only for gdki18n.h.
637 * gdk/gdki18n.h: Include gdkconfig.h and use GDK_* instead of G_*
639 * gtk/Makefile.am (INCLUDES): Add -I../gdk for gdkconfig.h.
641 1999-03-13 Tor Lillqvist <tml@iki.fi>
643 * configure.in acconfig.h: Check for dirent.h and pwd.h. Generate
644 gdk/gdkconfig.h using similar mechanism as GLib's glibconfig.h.
646 * gtk-config.in: Add @libdir/gtk+/include (where gdkconfig.h is
647 installed) to CFLAGS.
649 * gdk/Makefile.am: Add rules for gdkconfig.h.
651 * gdk/gdktypes.h: Include gdkconfig.h. Define macros for windowing
654 * gdk/gdkfontsel.c: Don't include Xlib.h, it gets included via
655 gdkx.h anyway when compiling for X11.
656 (gtk_font_selection_create_xlfd): Use g_strdup_printf. (In
657 general): Merge in Win32 version.
659 * gtk/gtkfilesel.c: Use g_get_current_dir(). Merge in Win32
660 version: Use G_DIR_SEPARATOR, g_path_is_absolute, no tilde
661 expansion (if we don't have HAVE_PWD_H), allow for drive
662 letters. UNC paths (\\server\share\...) are not handled yet. Also,
663 included code from Craig Setera's port to Win32 (the one that uses
664 X11, and the cygwin dll), even if it probably will be abandoned.
666 * gtk/gtkfilesel.c: Don't append a * to the pattern to complete if
667 the user entered one herself. This way one can complete *.h and
668 don't get matches on any .help files, for instance.
670 Tue Mar 9 01:01:28 1999 Tim Janik <timj@gtk.org>
672 * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
673 font hash table, if we have a GdkFontPrivate entry for this font
674 already, simply increment its reference count, provided by Olaf Dietsche
675 <olaf.dietsche+list.gtk@netcologne.de>.
677 * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
678 provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
680 1999-03-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
682 * gtk/gtkstyle.c (gtk_default_draw_handle): Significantly reduced
683 the number of calls to gdk_draw_point() (and thus to X) by
684 clipping the points by hand.
686 * gtk/gtkhandlebox.c (draw_textured_frame): Actually make use of
688 (gtk_handle_box_paint): Only paint the handle if the expose area
691 Sun Mar 7 18:46:37 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
693 * gtk/gtkmain.c (add_dll_suffix): Add this function (OS/2 ver.)
695 Sun Mar 7 11:43:34 1999 ape@spacetec.no (Asbjorn Pettersen)
697 * gtk/gtkthemes.c (gtk_theme_engine_get): Add OS/2 changes.
698 Added function gen_8_3_dll_name(gchar *name, gchar *fullname).
700 Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
702 * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
703 textmode (O_TEXT) for OS/2 version.
705 Sun Feb 28 16:46:02 1999 Stefan Jeske <stefan@gtk.org>
707 * gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to
708 GtkSpinButton, "input" and "output", to make the output more flexible.
709 The user has to provide a mapping between adjustment->value and the
710 output string (and vice versa, if the spin button is editable).
711 See testgtk for examples.
713 Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
715 * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
718 * configure.in: set gtk+ version to 1.3.0.