1 2001-09-12 Ian Roxborough <irox@redhat.com>
3 * configure: Regenerated.
4 * win/configure: Regenerated.
5 * win/configure.in: Set XINCLUDES using absolute path
6 rather than relative path.
7 * win/tkWinDialog.c (ChooseDirectoryHookProc): Use
8 __TEXT instead of _T (this might be bad practice).
10 2001-08-08 Mo DeJong <mdejong@redhat.com>
12 * cygtcl.m4: Update from Tcl.
13 * unix/configure: Regen.
14 * win/configure: Regen.
16 2001-08-06 Mo DeJong <mdejong@redhat.com>
18 * cygtcl.m4: Update from Tcl.
19 * unix/configure: Regen.
20 * win/configure: Regen.
22 2001-08-06 Mo DeJong <mdejong@redhat.com>
24 * unix/Makefile.in: Remove TCL_LIB_FLAG, replace TCL_LIB_SPEC
25 with TCL_BUILD_LIB_SPEC.
26 * unix/configure: Regen.
27 * unix/configure.in: Avoid resetting TCL_LIB_SPEC and
28 TCL_STUB_LIB_SPEC since they are already set in tclConfig.sh. Subst
29 TCL_BUILD_STUB_LIB_SPEC and TCL_BUILD_LIB_SPEC into the Makefile.
30 * win/Makefile.in: Use TCL_LIB_SPEC and TCL_STUB_LIB_SPEC from
31 tclConfig.sh instead of creating them via a cygpath call. Use
32 TCL_STUB_LIB_SPEC in place of TCL_STUB_LIB_FILE.
33 * win/configure: Regen.
34 * win/configure.in: Fixup TK_STUB_LIB_SPEC, TK_BUILD_STUB_LIB_PATH,
35 TK_STUB_LIB_PATH, TK_LIB_FLAG, TK_BUILD_LIB_SPEC, TK_LIB_SPEC
36 and TK_LIB_FULL_PATH variables so they work like the unix version.
38 2001-08-01 Mo DeJong <mdejong@redhat.com>
40 * cygtcl.m4: Update from Tcl.
41 * unix/configure: Regen.
42 * unix/configure.in: Use TCL_TOOL_SHARED_LIB_LONGNAME
43 and TCL_TOOL_STATIC_LIB_LONGNAME to generate lib names.
44 * win/configure: Regen.
45 * win/configure.in: Use TCL_TOOL_SHARED_LIB_LONGNAME
46 and TCL_TOOL_STATIC_LIB_LONGNAME to generate lib names.
48 2001-07-24 Mo DeJong <mdejong@redhat.com>
50 * generic/default.h: Include tkWinDefault.h
51 when built with Cygwin or Mingw.
53 2001-07-24 Mo DeJong <mdejong@redhat.com>
56 * win/tcl.m4: Update from Tcl.
58 2001-07-12 Mo DeJong <mdejong@redhat.com>
61 * unix/configure: Regen.
65 * win/configure: Regen.
68 Revert ill-conceived EXTRA_CFLAGS changes made on 2001-07-09.
69 The change ended up causing big problems with the
70 tclConfig.sh file since it exported EXTRA_CFLAGS and did
71 not deal with the debug/non-debug case.
73 2001-07-11 Mo DeJong <mdejong@redhat.com>
75 * unix/configure: Regen.
76 * unix/tcl.m4: Update from Tcl.
78 2001-07-11 Mo DeJong <mdejong@redhat.com>
80 * unix/Makefile.in: Add AR and STLIB_LD variables.
81 * unix/configure: Regen.
82 * unix/configure.in: Use STLIB_LD when defining MAKE_LIB
83 and MAKE_STUB_LIB. Subst STLIB_LD, RANLIB, and AR.
84 * unix/tcl.m4: Update from Tcl.
85 * win/configure: Regen.
86 * win/tcl.m4: Update from Tcl.
88 2001-07-10 Mo DeJong <mdejong@redhat.com>
91 * win/tcl.m4 (SC_CONFIG_CFLAGS): Use STLIB_LD in MAKE_LIB instead
92 of AR which can be overridden on the make command line.
94 2001-07-09 Mo DeJong <mdejong@redhat.com>
97 * win/tcl.m4 (SC_CONFIG_CFLAGS): Fix quoting of CYGPATH
98 argument to AC_CHECK_PROG.
100 2001-07-09 Mo DeJong <mdejong@redhat.com>
102 * unix/Makefile.in: Add EXTRA_CFLAGS_DEBUG and EXTRA_CFLAGS_OPTIMIZE
103 variables. These two do not actually differ in the unix version
104 but are there to keep in sync with the Windows version.
105 * unix/configure: Regen.
106 * unix/configure.in: Don't subst EXTRA_CFLAGS. Subst EXTRA_CFLAGS_DEFAULT,
107 EXTRA_CFLAGS_DEBUG, and EXTRA_CFLAGS_OPTIMIZE.
108 * unix/tcl.m4: Update from Tcl.
109 * win/Makefile.in: Add EXTRA_CFLAGS_DEBUG and EXTRA_CFLAGS_OPTIMIZE
110 variables. This is needed so that the proper runtime lib gets linked
111 into VC++ produced .obj files when CFLAGS is reset on the command line.
112 * win/configure: Regen.
113 * win/configure.in: Don't subst EXTRA_CFLAGS. Subst EXTRA_CFLAGS_DEFAULT,
114 EXTRA_CFLAGS_DEBUG, and EXTRA_CFLAGS_OPTIMIZE.
115 * win/tcl.m4: Update from Tcl.
117 2001-07-06 Mo DeJong <mdejong@redhat.com>
119 * win/configure: Regen.
120 * win/tcl.m4: Update from Tcl.
122 2001-07-06 Mo DeJong <mdejong@redhat.com>
124 * unix/configure: Regen.
125 * unix/configure.in: Replace call to SC_ENABLE_GCC with
126 AC_PROG_CC so that CC passed in from the caller is respected.
127 * unix/tcl.m4: Update from Tcl.
128 * win/configure: Regen.
129 * win/configure.in: Replace call to SC_ENABLE_GCC with
130 AC_PROG_CC so that CC passed in from the caller is respected.
131 * win/tcl.m4: Update from Tcl.
133 2001-07-06 Mo DeJong <mdejong@redhat.com>
135 * win/Makefile.in: Subst DEPARG directly instead
136 of relying on a variable. This will make Cygwin
137 builds faster since an extra exec will be avoided.
138 * win/configure: Regen.
139 * win/configure.in: Subst DEPARG.
140 * win/tcl.m4: Update from Tcl.
142 2001-06-26 Mo DeJong <mdejong@redhat.com>
144 * cygtcl.m4: Update from Tcl.
145 * unix/configure: Regen.
146 * win/Makefile.in: Remove PATHTYPE variable.
147 Use : in VPATH instead of VPSEP.
148 * win/configure: Regen.
149 * win/configure.in: Don't subst PATHTYPE or VPSEP.
150 * win/tcl.m4: Update from Tcl.
152 2001-06-25 Mo DeJong <mdejong@redhat.com>
154 * win/configure: Regen.
155 * win/tcl.m4: Update from Tcl.
157 2001-06-22 Mo DeJong <mdejong@redhat.com>
159 * unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
160 Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG
161 and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works. Use
162 new LDFLAGS variable in the Makefile instead of @LDFLAGS@.
163 * unix/configure: Regen.
164 * unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead
165 subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEBUG,
166 CFLAGS_OPTIMIZE, LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE.
167 Remove unused LD_FLAGS subst.
168 * unix/tcl.m4: Update from Tcl.
169 * win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
170 Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@.
171 * win/configure: Regen.
172 * win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst
173 CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile.
174 * win/tcl.m4: Update from Tcl.
176 2001-06-22 Mo DeJong <mdejong@redhat.com>
179 * configure.in: When a windows32 host is detected
180 configure in the win subdirectory.
181 * cygtcl.m4: Update from Tcl.
182 * unix/configure: Regen.
183 * win/configure: Regen.
185 2001-06-22 Mo DeJong <mdejong@redhat.com>
188 * win/tcl.m4: Update from Tcl.
190 2001-06-08 Mo DeJong <mdejong@redhat.com>
192 * win/Makefile.in: Set TK_LIBRARY to
193 $INSTALL/share/tk8.3 instead of
196 2001-06-06 Mo DeJong <mdejong@redhat.com>
199 * win/configure.in: Handle the --prefix option correctly
200 it should default to /usr/local like the unix version.
202 2001-06-05 Mo DeJong <mdejong@redhat.com>
205 * unix/configure: Update from Tcl.
207 2001-06-01 Mo DeJong <mdejong@redhat.com>
212 * win/tcl.m4: Update from Tcl.
214 2001-05-30 Mo DeJong <mdejong@redhat.com>
216 * unix/configure: Regen.
218 Update from Tcl version.
220 2001-05-30 Mo DeJong <mdejong@redhat.com>
223 * unix/configure: Regen.
225 Update from Tcl versions.
227 2001-05-26 Mo DeJong <mdejong@redhat.com>
231 * unix/configure: Regen.
234 * win/configure: Regen.
236 Update from Tcl versions.
238 2001-05-09 Mo DeJong <mdejong@redhat.com>
240 * unix/Makefile.in: Use TK_STUB_LIB_FILE instead
241 of STUB_LIB_FILE subst.
242 * unix/configure: Regen.
243 * unix/configure.in: Use new path macros.
244 * unix/tcl.m4: Update from Tcl.
245 * win/configure: Regen.
246 * win/configure.in: Use new path macros.
247 * win/tcl.m4: Update from Tcl.
249 2001-05-08 Ian Roxborough <irox@redhat.com>
251 * unix/configure.in: Cygnus local change
252 to build gdbtk: Set TK_BUILD_INCLUDES to
254 * unix/configure: Regenerated.
256 2001-04-09 Mo DeJong <mdejong@redhat.com>
258 * unix/aclocal.m4: Pull in tcl.m4.
259 * unix/configure: Regen.
260 * unix/tcl.m4: Add from tcl/unix.
261 * win/Makefile.in: Append version to tclsh
262 in the win subdirectory.
263 * win/configure: Regen.
264 * win/configure.in: The TK_BUILD_LIB_SPEC and
265 TK_BUILD_LIB_SPEC variables need to use the
266 lib file and not the dll file, since it is
267 not possible to link to a dll with VC++.
268 Use new TCL_TOOL_PATH macro to correctly
269 set the XINCLUDES variable.
270 * win/tcl.m4: Update from tcl/win so we can use
271 the TCL_TOOL_PATH macro.
273 2001-04-05 Mo DeJong <mdejong@redhat.com>
275 * win/Makefile.in: Don't depend on
276 TCLSH_PROG variable from configure.
277 * win/configure: Regen.
278 * win/configure.in: Don't call
279 SC_PROG_TCLSH, it was removed from
280 Tcl. This macro required that Tcl
281 be built before Tk could be configured.
282 * win/tcl.m4: Update from Tcl version.
284 2000-12-08 Syd Polk <spolk@redhat.com>
286 * unix/configure.in: Change hppa*w to hppa*64.
287 * unix/configure: Regenerate.
289 2000-08-08 Jeff Hobbs <hobbs@ajubasolutions.com>
291 8.3.2 RELEASE finalized
293 * changes: updated for release notes version of ChangeLog
295 2000-08-05 Jeff Hobbs <hobbs@ajubasolutions.com>
297 * win/Makefile.in (cat32.${OBJEXT}): corrected where to find cat.c
298 given the change in default def'n of TCL_SRC_DIR.
300 * win/tcl.m4: changed references from 8.4 to 8.3 (leftover from a
303 * library/safetk.tcl: rationalized the setting of tk_library when
304 initialized Tk in a safe interpreter.
306 2000-08-04 Jeff Hobbs <hobbs@ajubasolutions.com>
308 * BACKPORTED FROM 8.4 (HEAD) BRANCH:
311 * generic/tkButton.c: Added -activeforeground, -activebackground
312 for labels, for the -state option.
314 * doc/label.n: Added -disabledforeground to list of options [Bug:
317 * tests/focus.test (focusSetupAlt): removed wm withdraw from proc
318 as it would cause a hang for tkwait visibility
323 * generic/tkCursor.c: corrected handling of 3DBorder, Cursor and
324 Color objects on multiple screens. [Bug: 5454]
326 * generic/tkCursor.c: Added initialization for nextPtr field of
327 TkCursor, patch from Nijtmans/Howlett.
329 * canvas.test: added test for 5783.
330 * generic/tkCanvPoly.c (DisplayPolygon): added checks for the
331 polygon fillGC not being empty to prevent segfault. [Bug: 5783]
333 * generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a
334 problem with the GIF writing code [Bug: 5823].
335 * generic/tkImgGIF.c: Changed defines for GIF87a/GIF89a to be
336 static char arrays with integer initialization, to address EBCIDIC
337 vs. ASCII encoding issues and to handle compilers that don't deal
338 with "\xAB" syntax for specifying hex values in strings.
340 * generic/tkMenu.c (DeleteMenuCloneEntries): Applied fix from
341 [Bug: 5275], which corrected a segfault-causing indexing problem
342 when deleting entries from torn-off menus.
344 * generic/tkPlace.c (Tk_PlaceCmd): reworked place master/slave
345 table init'n to prevent seg fault when using place on multiple
348 * tests/text.test: Added tests for -regexp -nocase searches with
349 backslash character classes.
350 * tests/text.test: Added tests for searching when text is elided.
351 * generic/tkText.c (TextSearchCmd): Text search did not work
352 properly when -regexp and -nocase were used, in combination with
353 backslash character classes represented by capital letters (ie,
354 \W, \M); altered implementation of -regexp -nocase searches to use
355 new regexp interfaces to fix this problem. [Bug: 5988].
356 * generic/tkText.c (TextSearchCmd): Text search was not returning
357 the correct index when the search covered (but did not search)
358 elided characters; corrected this by adjusting the match index by
359 the number of elided characters preceeding the start of the match,
360 just as is done with embedded windows, etc. [Bug: 5470].
361 * generic/tkText.c (TextSearchCmd): Added a test for a NULL
362 segment pointer when doing backwards searches for "" on an empty
363 text widget. [Bug: 6007].
365 * library/focus.tcl: fixed calling of takeFocus proc [Bug: 5372]
367 * win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit
368 for disabled menu entries, to ensure that those which are drawn by
369 the system are shown grayed (such as entries on menubars) [Bug: 4372].
370 * win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add the
371 MF_SEPARATOR bit for SEPARATOR_ENTRY menu items. This causes
372 separator entries on the system menu to be drawn correctly [Bug: 5451].
373 * win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height
374 requested for separator bars to be (linespace - (2*descent))
375 instead of just (linespace); this makes the separator occupy a
376 more correct amount of vertical space. [Bug: 5303].
378 2000-07-20 Brent Welch <welch@ajubasolutions.com>
380 * win/tkConfig.sh.in:
381 Made corresponding changes to match gcc for windows mods
382 to the rest of the files.
384 2000-07-28 Mo DeJong <mdejong@redhat.com>
389 * win/tcl.m4: Back port of gcc for windows
390 build system from 8.4.
392 2000-07-26 Jeff Hobbs <hobbs@scriptics.com>
394 * unix/configure.in (TK_PATCH_LEVEL): updated to 8.3.2
400 2000-07-22 Brent Welch <welch@ajubasolutions.com>
401 * win/Makefile.in, win/configure.in, win/rc/tk.rc, win/rc/tk_base.rc
402 Trying to generalize .rc files so they work with both DLL's and
405 2000-07-10 Brent Welch <welch@ajubasolutions.com>
407 * win/{Makefile.in,configure.in,tkConfig.sh.in}:
408 Cleanup of defines in tkConfig.sh
410 Tue Jun 6 22:09:02 2000 Christopher Faylor <cgf@cygnus.com>
412 * win/Makefile.in: Set up and use autoconf variables throughout to
413 allow overriding variables from the make command line.
415 2000-05-15 Jeff Hobbs <hobbs@scriptics.com>
417 * win/tkWinWm.c: changed wm deiconify from using idle
418 callback to calling restack and focus code immediately.
420 2000-04-26 Jeff Hobbs <hobbs@scriptics.com>
428 * win/README: Updating URLs to reference dev.scriptics.com
430 2000-04-25 Jeff Hobbs <hobbs@scriptics.com>
433 * win/Makefile.in: makefile cleanup
435 2000-04-25 Eric Melski <ericm@scriptics.com>
437 * generic/tkMain.c: Fixed function header comment for Tk_MainEx.
440 * doc/GetScroll.3: Added information about Tk_GetScrollInfoObj
443 2000-04-24 Eric Melski <ericm@scriptics.com>
446 * doc/Grab.3: Man page for Tk_Grab and Tk_Ungrab [Bug: 1868, 1889]
449 * doc/MainWin.3: Added entry for Tk_GetNumMainWindows [Bug: 1865].
452 * doc/GetHINSTANCE.3: Man page for Tk_GetHINSTANCE [Bug: 1862].
454 2000-04-24 Jeff Hobbs <hobbs@scriptics.com>
456 * generic/tkImage.c (Tk_PostscriptImage): added check to create
457 necessary prolog for photos
458 * generic/tkCanvPs.c: added Tk_PostscriptPhoto that outputs PS for
460 * generic/tkImgPhoto.c: new func ImgPhotoPostscript and added that
461 in as ps proc in tkPhotoImageType.
462 * generic/tkStubInit.c:
464 * generic/tk.decls: added Tk_PostscriptPhoto
466 * generic/tkConfig.c (DoObjConfig): removed direct setting of
469 * mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel in
470 colormapwindows case (bug found by Reasoning, Inc's automated code
473 2000-04-24 Eric Melski <ericm@scriptics.com>
476 * doc/GetHWND.3: Man page for Tk_GetHWND [Bug: 1863].
479 * doc/HWNDToWindow.3: Man page for Tk_HWNDToWindow [Bug: 1869].
482 * doc/AddOption.3: Man page for Tk_AddOption [Bug: 1854]
484 2000-04-22 Jim Ingham <jingham@cygnus.com>
486 * mac/tkMacDialog.c (Tk_MacGetOpenFile): Add empty bodies for the
487 "-initialfile" and "-defaultextension" options.
489 * mac/tkMacDialog.c (NavServicesGetFile): Only cons the result up
490 into a list if multiple is true.
492 * mac/tkMacMenus.c (SourceDialog): Use the "tk_getOpenFile"
493 instead of hand-coding the dialog with StandardGetFile. This way
494 we get the Navigation dialogs for free.
496 * doc/getOpenFile.n: Document the -multiple and -message flags
497 which are only implemented on the Mac. Also note that the -title
498 works on the Mac with Nav Services installed.
500 2000-04-19 Eric Melski <ericm@scriptics.com>
503 * unix/mkLinks: Removed docs for Tk_IsViewable.
505 * win/tkWinDialog.c: Removed calls to Tk_IsViewable.
508 * generic/tkStubInit.c:
511 * generic/tk.decls: Removed Tk_IsViewable function (it was not
514 2000-04-19 Jeff Hobbs <hobbs@scriptics.com>
516 * win/aclocal.m4: made SC_PROG_TCLSH search specifically for
517 tclsh*.exe type files to find an executable.
519 * win/Makefile.in: fixed up cleanup, winhelp, cat32 targets
521 * library/console.tcl: made console use systemfixed font on Win
523 * generic/tkEntry.c: removed unnecessary ENTRY_VALIDATE #define
525 2000-04-19 Eric Melski <ericm@scriptics.com>
527 * generic/tkRectOval.c (ConfigureRectOval): Added checks for valid
528 outline settings before creating of outline GC; this means that it
529 is really possible now to have an oval or rectangle with no
530 outline. [Bug: 5029].
532 2000-04-19 Jeff Hobbs <hobbs@scriptics.com>
534 * library/choosedir.tcl (::tk::dialog::file::chooseDir::Config):
535 * library/tkfbox.tcl (::tk::dialog::file::Config): removed the
536 extraneous glob on -initialdir after file isdir already returned 1
537 and moved cd trick into this case as the else already uses [pwd].
540 * win/winMain.c: moved extern call out of WinMain func
546 * win/configure.in: bumped to version 8.3.1
548 * library/msgbox.tcl (tkMessageBox): changed to use grid in some
549 places, realign icon to anchor nw.
551 * mac/tkMacScale.c: reverted tkMacScale.c to 1.5 equivalent (it
552 was accidentally bumped forward).
554 2000-04-18 Eric Melski <ericm@scriptics.com>
556 * win/tkWinPointer.c: Changed Mod2Mask in TkWinGetModifierState to
557 ALT_MASK, to fix some event problems [Bugs: 1160, 5088].
559 * win/tkWinX.c: Changed Mod2Mask in GetState to ALT_MASK, to fix
560 some event problems [Bugs: 1160, 5088].
562 * generic/tkInt.h: Moved definition of ALT_MASK and META_MASK here
563 so that it would be accessible from other modules than tkBind.c.
565 * generic/tkBind.c: Added code in BindEvent to check for ALT_MASK
566 and META_MASK in the event state field, as this field may not be
567 set up with the correct display modifier mask bits if the XEvent
568 structure was created by [event generate] or by the Windows X
569 emulation. [Bugs: 1160, 5088].
571 2000-04-18 Scott Redman <redman@HILO>
575 * win/wish.ico: Modified copyright dates in Windows resource
576 files. Updated the icon for wish.exe.
578 2000-04-17 Eric Melski <ericm@scriptics.com>
580 * win/tkWinDialog.c: Added checks for visibility of parent window
581 before creating MessageBox and ChooseColor dialogs; this prevents
582 the application from locking when the parent is withdrawn and the
583 message box is created. In these cases, the window will be
584 created without a parent.
586 * unix/mkLinks: Added WinViewable.3.
588 * tests/msgbox.test: Added tests for patch from [Bug: 4997].
590 * library/msgbox.tcl:
591 * library/dialog.tcl: Applied patch from [Bug: 4997]; detaches
592 dialog window from parent if parent is not viewable.
594 * library/bgerror.tcl: Removed workaround from [Bug: 4370]; this
595 is superceeded by patches to dialog.tcl.
597 * generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable
598 function to determine visibility of windows instead of inlining
601 * generic/tkStubInit.c:
603 * generic/tk.decls: Added Tk_IsViewable declaration.
605 2000-04-17 Eric Melski <ericm@scriptics.com>
607 * library/text.tcl: Tweaked double-/triple-click selection;
608 previously, anchor and insert marks were placed in unexpected
609 locations following a double or triple click. Now they are placed
610 logically. Also tweaked the extension of selection via
611 shift-double-clicks so that it no longer selects the contiguous
612 whitespace on the side of the selection opposite the
613 double-click. [RFE: 4253].
615 * doc/menu.n: Added note regarding rendering of
616 checkbuttons/radiobuttons in menubars on different platforms --
617 some systems do not draw indicators for check/radiobuttons in
620 * library/menu.tcl: Corrected behavior of
621 checkbuttons/commands/radiobuttons in menubars [Bug: 630].
623 * tests/grid.test: Added test for [grid propagate . 0] to not toggle.
625 * generic/tkGrid.c: Fixed bogus logic in [grid propagate] that
626 caused [grid propagate . 0] to act as a toggle instead of an
627 absolute set. [Bug: 2286].
629 2000-04-16 Jeff Hobbs <hobbs@scriptics.com>
631 * win/tkWinColor.c (FindSystemColor): correct calculation of
632 colors when shifting value. [Bug: 4919]
634 2000-04-16 Jim Ingham <jingham@cygnus.com>
636 * mac/tkMacPort.h: protect against strncasecmp already defined -
637 it is in the Pro5 version of MSL.
639 * mac/tkMacWindowMgr.c (GenerateKeyEvent): Check for a null tkWin.
640 If the hidden window we use for double-buffering controls manages
641 to percolate to the top (should never happen, but...) this will
642 keep us from crashing.
644 * mac/tkMacButton.c (InitSampleControls): Hide the
645 double-buffering window BEHIND the first "." window you can find.
646 This will keep it from ever being the front window, and thus a
647 black hole for events. * mac/tkMacButton.c (ButtonEventProc):
648 Disable the controls when the window is in the background. This
649 is required by the MacOS HIG. This doesn't always get called when
650 it should, it still needs more work.
652 * mac/tkMacDialog.c: Pretty substantial rewrite to include
653 Navigation Services support for systems which have it.
655 2000-04-14 Eric Melski <ericm@scriptics.com>
657 * win/tkWinKey.c: Added check for ASCII delete character in
658 KeycodeToKeysym, to fix [Bug: 5090]. See comment in code for more
661 * generic/ks_names.h: Added Scroll_Lock and Sys_Req definitions.
663 * win/tkWinKey.c: Changed implementation of KeycodeToKeysym,
664 et. al., to use a keycode table for lookups; this will result in
665 faster keycode -> keysym translations for non-ASCII keys like
668 2000-04-14 Jeff Hobbs <hobbs@scriptics.com>
670 * win/tkWinWm.c (WmProc): added check in WM_MOUSEACTIVATE so we
671 correctly activate native menus when clicking in when we didn't
672 have focus [Bug: 2272]
674 * generic/tkCanvas.c (CanvasEventProc:2451): corrected cast
676 * generic/tkEntry.c (Tk_EntryObjCmd): adjusted finishing error
677 cases and changed TK_CONFIG_NULL_OK to TK_OPTION_NULL_OK
682 * unix/tkUnixScale.c:
683 * mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue)
684 to tkScale.c. Caused an associated variable to be immediately set
687 * library/scale.tcl (tkScaleActivate): reduced number of scale
688 redisplays by checking current value of state before setting it
691 * tests/winDialog.test: tk_chooseDirectory seems to get a noop
692 from GetOpenFileName in the static build, hanging some tests.
693 The tests were fixed to timeout (noop cause unknown).
695 * unix/aclocal.m4 (SC_ENABLE_THREADS): enhanced the detection of
696 pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added
697 --enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
699 2000-04-13 Eric Melski <ericm@scriptics.com>
701 * win/tkWinKey.c: Added smarts to check whether the left or right
702 Control, Shift, or Alt key was pressed. [Bug: 870].
704 * win/tkWinMenu.c: Corrected code that created separator items on
705 menus; originally, it requested that the system be responsible for
706 drawing those items, so it would ignore configuration items like
707 the widget background. Now, we draw the separators ourselves (as
708 we do with every other kind of menu item already). [Bug: 1166].
711 * unix/tkUnix3d.c: Applied patch from [RFE: 2501]: adds more
712 sophisticated smarts to TkpGetShadows, so that the highlight of a
713 very bright color is actually distinguishable from the color, and
714 the shadow of a very dark color is similarly distinguishable from
717 * generic/tkCanvas.c: Applied patch from [Bug: 4202]; adds a check
718 for NULL tkwin in Tk_CanvasEventuallyRedraw.
720 2000-04-12 Jeff Hobbs <hobbs@scriptics.com>
722 * test/winClipboard.test:
724 * win/tkWinClipboard.c (UpdateClipboard):
725 * win/tkWinX.c (GenerateXEvent): added updatingClipboard tsd and
726 TkWinUpdatingClipboard accessor function to allow us to flag
727 ourselves when we are the ones updating the clipboard. This
728 corrected inability to create our own clipboard types within a Tk
729 application. [Bug: 2338 4318]
730 * win/tkWinTest.c (TestclipboardCmd): improved TestclipboardCmd
731 with better error handling and obj'ification
733 2000-04-11 Eric Melski <ericm@scriptics.com>
735 * msgcat.n: Added docs for new behavior from patch in [Bug: 4158].
737 * msgcat.test: Added tests for new behavior from patch in [Bug:
740 * msgcat.tcl: Applied patch from [Bug: 4158], which enables
741 msgcat::mc to search the entire namespace ancestry chain for
742 message translations (ie, first it checks the current namespace,
743 then the parent, then the parent's parent, etc). Also allows the
744 specification of additional args for msgcat::mc; if extra args are
745 given, the [format] command is used to substitute the additional
746 args in the translated message.
748 * library/bgerror.tcl: Moved check for withdrawn state after check
749 for tkerror; this was causing problems when tkerror was used.
751 2000-04-10 Eric Melski <ericm@scriptics.com>
753 * library/bgerror.tcl: Added check for withdrawn state of . and
754 unsetting of transient bit for .bgerrorDialog if . is not
755 viewable; this protects against the application hanging on systems
756 like Windows, where transient windows are withdrawn with their
757 parents. [Bug: 4370].
759 * tests/event.test: Added test for [event generate $widget
760 <Alt-z>] [Bug: 4611].
762 * tests/choosedir.test: Changed "namespace import ::tcltest" to
763 "namespace import -force ::tcltest".
767 * mac/tkMacKeyboard.c: Changed InitKeymapInfo to
768 TkpInitKeymapInfo. [Bug: 4611].
770 * generic/tkStubInit.c:
771 * generic/tkIntDecls.h: Re-gen'd from tkInt.decls.
773 * generic/tkInt.decls: Added TkpInitKeymapInfo to list of function
776 * generic/tkBind.c (HandleEventGenerate): Added code to initialize
777 keymap info if necessary, and to correctly set modifier bits in
778 XEvent structure create to handle [event generate] calls.
779 Previously, the alt/meta bits were not set correctly, so [event
780 generate $widget <Alt-z>] would always fail. [Bug: 4611]
782 2000-04-07 Jeff Hobbs <hobbs@scriptics.com>
784 * generic/tkGrid.c (InitMasterData): fixed uninit'd data in
785 GridMaster struct [Bug: 4387]
787 * library/safetk.tcl (disallowTk): made disallowTk work in the
790 * library/comdlg.tcl (tkFocusGroup_In): fixed key navigation
791 problems in dialogs under CDE [Bug: 2960]
793 * tests/winDialog.test: removed knownBug constraint from 5.16
795 * win/tkWinFont.c (GetScreenFont): corrected adjustment against
796 LC_FACESIZE limitation for NT [Bug: 4931]
798 * win/makefile.vc (TKTEST_OBJS):
799 * win/Makefile.in (TKTEST_OBJS): moved tkWinTest.c from normal
800 objs to TKTEST_OBJS where it belonged.
802 2000-04-03 Jeff Hobbs <hobbs@scriptics.com>
804 * generic/tkTest.c: fixed incorrect platform inclusion for
805 TkplatformtestInit (it would never get called).
807 * unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir
808 correctly [Bug: 4085]
810 * library/clrpick.tcl (tkColorDialog_Config): error now thrown
811 when -initialcolor "" specified. [Bug: 4198]
813 2000-03-31 Jeff Hobbs <hobbs@scriptics.com>
815 * doc/DrawFocHlt.3: doc name correction
817 * generic/tkEntry.c: set TK_OPTION_NULL_OK bit on -invcmd option
818 and removed #ifdef ENTRY_VALIDATE expressions
820 * library/menu.tcl (tkMenuInvoke): corrected naming of tearoffs
823 * library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be
824 called in tkIconList_Select. This causes the entry to be set
825 properly when using the type-in-name-in-listbox bindings.
827 * win/tkWinDialog.c: added unicode-aware open/save file dialogs
829 * win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId
830 to TkWinGetPlatformId
832 * win/tkWinMenu.c (SetDefaults): moved private use of versionInfo
833 to TkWinGetPlatformId and removed all code for
834 (versionInfo.dwMajorVersion < 4) (== Win32s)
837 * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c
838 * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its
839 called for static Windows shells. [Bug: 3647]
843 * win/tkWinDraw.c (SetUpGraphicsPort):
844 * win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s
846 * win/tkWinInt.h (TkWinDCState struct): added bkmode value
847 * win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for
848 properly transparent dashed lines on Windows. [Bug: 4617]
850 2000-03-30 Eric Melski <ericm@scriptics.com>
852 * generic/tkImgGIF.c: Fixed some ANSI specific bits to avoid
853 compile problems with non-ANSI compilers (ie, replace const with
854 CONST, etc). [Bug: 4223].
856 * unix/configure.in: Applied patch from [Bug: 4237]; ensures that
857 srcdir is fully qualified.
859 * unix/Makefile.in: Applied patch from [Bug: 4237]; if tcltest was
860 not compiled, make test/tktest failed. Now it has a rule to build
861 tcltest if it has not been built.
863 2000-03-28 Eric Melski <ericm@scriptics.com>
865 * library/tkfbox.tcl: Moved an overlooked tkFDialog* function in
866 ::tk::dialog::file namespace.
868 * tests/unixWm.test: Added tests for memory leak conditions in
871 * tests/canvas.test: Added test for bad configuration options on
872 empty and non-empty canvas.
874 * generic/tkCanvas.c: Removed bad code in CANV_CONFIGURE block of
875 CanvasWidgetCmd; this was causing non-empty canvases to improperly
876 handle bad configuration options [Bug: 4456].
878 2000-03-27 Eric Melski <ericm@scriptics.com>
880 * unix/tkUnixWm.c: Applied patch from [Bug: 4405]; fixes memory
881 leak in Unix wm command.
883 2000-03-24 Eric Melski <ericm@scriptics.com>
885 * tests/filebox.test:
886 * tests/choosedir.test: Updated tests.
888 * library/xmfbox.tcl: Updated to stash data array in
889 ::tk::dialog::file namespace instead of in global namespace.
891 * library/tkfbox.tcl: Extended some functions to support creation
892 of a choosedir dialog, to allow greater code reuse between the two
893 dialogs. Moved tkFDialog* functions into a namespace
894 (::tk::dialog::file). Because these are private Tk functions (and
895 should thus not be used directly by users), this should not impact
896 anybody (the tk_getOpenFile and tk_getSaveFile commands still
897 exist at the global scope).
900 * library/tclIndex: Updated function names for tkFDialog*
901 functions and choosedir functions.
903 * library/choosedir.tcl: New and improved implementation of
904 tk_chooseDirectory dialog. Based on tk_getOpenFile dialog.
906 2000-03-23 Eric Melski <ericm@scriptics.com>
908 * generic/tkWindow.c:
909 * generic/tkInt.h: Updated Tcl_OptionCmd -> Tcl_OptionObjCmd
911 * generic/tkOption.c: Tcl_Obj'ectified the "option" command.
913 2000-03-22 Eric Melski <ericm@scriptics.com>
915 * library/listbox.tcl (tkListboxCancel): Added a check for empty
916 string value for tkPriv(listboxPrev). Without this check, it's
917 possible to get a stack trace under certain conditions. [Bug: 4373].
919 2000-03-15 Sven Delmas <sven@scriptics.com>
921 * win/tkWinDialog.c: Changed the behavior for the
922 tk_chooseDirectory dialog under Windows. Instead of trying to
923 return the currently selected listbox entry (which didn't work in
924 case the user selected the initial directory anyway), we now
925 return the value shown in the entry. This seems to be in
926 accordance with the expected behavior for this dialog.
928 2000-03-14 Eric Melski <ericm@scriptics.com>
930 * tests/choosedir.test: Marked test 3.1 and 3.2 as bad until the
931 issue with those tests on IRIX can be determined.
933 2000-03-10 Eric Melski <ericm@scriptics.com>
935 * library/menu.tcl: Applied patch from [Bug: 4155]; protects
936 against grabs on non-viewable windows.
938 2000-03-08 Eric Melski <ericm@scriptics.com>
940 * tests/choosedir.test: Modified test 3.1 (-mustexist works) to be
941 more careful about cleaning up its potentially troublesome after
944 2000-03-07 Eric Melski <ericm@scriptics.com>
947 * generic/tkButton.c: Added -disabledforeground/-state to labels.
949 2000-03-07 Jeff Hobbs <hobbs@scriptics.com>
952 * generic/tkEntry.c (EntrySetValue): malloc the value when
953 validating because validation could cause the pointer to become
954 invalid. Also fixed configure to not trigger focus-based
955 validation. Improved use of Tcl_WrongNumArgs. [Bug: 4320]
957 2000-03-06 Eric Melski <ericm@scriptics.com>
959 * library/menu.tcl: Added a check in tkMenuFirstEntry that changes
960 menu behavior to only auto-post an immediate child cascade if we
961 are currently on a menubar menu. This prevents massive
962 auto-cascading in cases where the first entry of the cascade is
963 itself a cascade, and the first entry of that cascade is a
964 cascade, and the first entry of that cascade is a cascade
967 * generic/tkOldConfig.c: Added check for NULL tkwin value in
968 Tk_ConfigureWidget [Bug: 4079]
970 * generic/tkWindow.c: Added check for NULL tkwin value in
971 Tk_NameToWindow [Bug: 4079]
973 2000-03-02 Jeff Hobbs <hobbs@scriptics.com>
976 * xlib/xcolors.c (XParseColor FindColor):
977 * win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to
978 return "correct" values for color mapping. [Bug: 4282]
980 * unix/Makefile.in (SCRIPT_INSTALL_DIR): removed extraneous '/'
981 * unix/aclocal.m4: corrected TCL_NEEDS_EXP_FILE to be 1 for AIX
983 * win/tkWinInt.h: change extern to EXTERN for TkWinChildProc
984 declaration with extra #defs. [Bug: 4240]
986 * library/focus.tcl: fixed tkFocusOK to protect $w in
987 uplevel with list. [Bug: 4208]
989 * doc/CrtItemType.3: fixed docs for Tk_CreateItemType to reflect
990 changes made in 8.3.0 (but old style would still work as well).
993 * tests/config.test: extra test to check object cleanup when
994 destroying the widget
995 * generic/tkListbox.c (DestroyListbox): fixed crash in
996 DestroyListbox due to null tkwin. [Bug: 4207]
998 * tests/entry.test: added test suite for entry validation
999 * doc/entry.n: improved docs discussing caveats and gotchas when
1000 mixing textvar with widget validation
1001 * generic/tkEntry.c (EntryValidateChange): improved handling of
1002 validation with relation to -textvariable. Previously, it would
1003 turn off whenever the textvar was set. Now it will it will turn
1004 off only when the textvar is set and validation returns 0. Added
1005 %V (type of validation occuring) to %-subs to help work with
1006 trickier validation.
1008 2000-03-01 Eric Melski <ericm@scriptics.com>
1010 * tests/clrpick.test:
1011 * library/clrpick.tcl: Added code to make color chooser dialog
1012 inherit screen setting from parent (bug #2334)
1014 2000-02-25 Jeff Hobbs <hobbs@scriptics.com>
1016 * win/tkWinWm.c (RaiseWinWhenIdle): Checked for the possibility
1017 that the window could be destroyed (can occur with
1018 wm deiconify .toplevel; destroy .toplevel).
1020 2000-02-25 Eric Melski <ericm@scriptics.com>
1022 * generic/tkImgGIF.c: Applied "spirit of" the patch in 1605 (the
1023 submitted patch was more complicated than necessary and did not
1024 extend to writing GIF's, only reading), to allow reading/writing
1025 of GIF files on EBCDIC and other non-ASCII based systems.
1027 2000-02-14 Eric Melski <ericm@scriptics.com>
1029 * unix/tk.spec: RPM specification for producing a binary Tk RPM
1032 * unix/Makefile.in: Added rpm target to generate Tk
1035 2000-02-10 Jeff Hobbs <hobbs@scriptics.com>
1039 * changes: updated for 8.3.0 release
1041 * generic/tkImgGIF.c (FileReadGIF): added cast for trashBuffer
1043 * generic/tkIntXlibDecls.h:
1044 * generic/tkInt.decls: declared some Xlib emulation calls for
1047 * generic/tkFrame.c (TkInstallFrameMenu): added extra panic to
1048 inform user of bad call when framePtr is NULL [Bug: 2530]
1050 * generic/tkMenu.c (DestroyMenuInstance): Placed checks around
1051 menu name objects before trying to incr the ref. [Bug: 3402]
1053 * generic/tkTest.c: removed USE_OLD_IMAGE def for Mac
1055 * library/listbox.tcl:
1056 * library/text.tcl: added support for <4> and <5> for mousewheel
1057 style scrolling on Unix for mice that map to these buttons.
1059 * tests/scrollbar.test: fixed check of testmetrics command to
1060 allow unix tests to run (testmetrics is mac/pc only)
1062 * unix/tkUnixWm.c (Tk_CoordsToWindow): qualified delete of error
1063 handler as the goto label is reached from above and below.
1065 * unix/configure.in:
1066 * unix/aclocal.m4: cleaned up macros to coincide with tcl.m4,
1067 added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]
1070 * unix/Makefile.in (dist): removed porting.notes and porting.old
1071 from distribution and CVS. The information was very outdated. Now
1072 refer to http://dev.scriptics.com/services/support/platforms.html
1074 * xlib/xgc.c: #def'd out XDrawSegments for the Mac, and added
1075 some extra include info for the Mac
1077 2000-02-09 Jim Ingham <jingham@cygnus.com>
1079 * mac/tkMacButton.c: Stop removing the appearance window from the
1080 Window List. It is not clear why Ray did this, and it causes the
1081 Appearance manager to crash at random times.
1083 * mac/tkMacWM.c: Add support in unsupported1 style for the Appearance
1084 specification of window styles, including floating window support.
1085 * mac/tkMacWindowMgr.c: Operate on the front non-floating window,
1086 unless the mouse is directly over the floating window. Also,
1087 keystrokes go to the front non-floating window.
1088 * mac/tkMacAppInit.c: Initialize floating window support.
1089 * mac/tkMacScrlbr.c:
1090 * mac/tkMacmenu.c: Fixes for floating windows - operate on the
1091 FrontNonFloatingWindow.
1092 * mac/tkMacLibrary.r: Fix typo in File info string.
1093 * mac/tkMacApplication.r: Fix typo in file info string. Add
1094 Finder balloon help for no apparent reason.
1096 * mac/tkMacSubwindows.c: Change panic in tkMacGetDrawablePort to
1097 Debugger. This is only a temporary fix. The panic is only
1098 triggered when a safeTk interpreter is torn down, and ignoring it
1099 does no harm. I haven't figured out how to avoid it yet, however.
1100 Also use the Appearance MoveWindowStructure call when available.
1103 * MW_TkOldImageHeader.h: Handle #defining USE_OLD_IMAGE for tkImgPPM.c.
1104 * MW_TkTestHeader.h:
1105 * MW_TkTestHeader.pch:
1106 * MW_TkHeader.h: Add separate prefix files for test & release
1107 versions of Tk, so we can just have separate targets w/o having to
1110 * tclets.r: The D&D Tclets icon in rez form so we can have a
1113 The above are curtesy of Daniel Steffen (steffen@math.mq.edu.au)
1115 * tkMacAppearanceStubs.c: Stubs of the Mac Appearance calls I use
1116 so I can link the static 68K Shell without putting ifdef's all
1119 2000-02-08 Jeff Hobbs <hobbs@scriptics.com>
1123 * generic/tkInt.decls:
1124 * generic/tkIntDecls.h:
1125 * generic/tkStubInit.c:
1126 * mac/tkMacKeyboard.c:
1128 * win/tkWinKey.c: Fix for keyboard handling of "dead" keys and
1129 caps lock from Peter Spjuth. [Bug: 4105 3359 2493]
1130 Split functions into platform specific files:
1131 Static functions GetKeySym(), SetKeycodeAndState() and InitKeymapInfo()
1132 from tkBind.c moved into platform files tkWinKey.c tkUnixKey.c and
1133 tkMacKeyboard.c. GetKeySym() and SetKeycodeAndState() renamed to
1134 Tkp* and made public (as private functions) in tkInt.decls.
1136 Step 2, fixes in tkWinKey.c
1137 New static function: KeycodeToKeysym(), based on XKeycodeToKeysym()
1138 but with different arguments, and a lot of improvements.
1139 TkpGetString() changed to use KeycodeToKeysym() + other fixes.
1140 TkpGetKeySym() changed to use KeycodeToKeysym() + other fixes.
1141 InitKeymapInfo() changed to use KeycodeToKeysym().
1142 TkpSetKeycodeAndState() rewritten, mostly by copying code from
1144 XKeycodeToKeysym() rewritten. Preferably it should be removed.
1146 EXPLANATION: The main problem is ToAscii() which has a lot of side
1147 effects, and also that XKeycodeToKeysym() is not provided enough
1148 input to do a proper job. The changes' main goal is to avoid
1149 calling ToAscii() if not necessary, and to provide it with as
1150 correct information as possible when called. Also some attempts
1151 to clean up what ToAscii() did are done. See the code for details.
1153 BUGS FIXED: Typing shifted (and AltGr) dead keys did not work.
1154 Keyboard lock lamps did not work on Win98.
1155 Events regarding AltGr-keys behaved badly.
1156 Example: On a Swedish keyboard, $ is typed with AltGr-4.
1157 That keyboard event would get the keysym '4' not 'dollar'.
1158 Also, doing [event generete . <Key-dollar>] would send keysym '4'.
1159 Translation to ascii in TkpGetString did not handle return and
1160 tab correctly. I.e. [event generate . <Key-Return>] gave wrong %A
1162 * generic/tkDecls.h:
1164 * generic/tk.h: moved new public functions created in dash patch
1165 to the stubs interface [Bug: 4062]
1169 * doc/CrtPhImgFmt.3:
1171 * generic/tkImgGIF.c:
1172 * generic/tkImgPhoto.c:
1173 * generic/tkStubImg.c (new file):
1177 * win/makefile.vc: improved support for moving from the old style
1178 image C API to the new obj'ified one with new Tk_InitImageArgs
1179 command and stub'ing of image code. See docs for how to make the
1180 transition. [Bug: 4060]
1182 * library/tk.tcl: wrapped check for tcl_platform(os) around info
1183 exists because it won't in safe interpreters
1185 * win/tkWinFont.c: corrected symbol font use to only work on 8-bit
1186 characters [Bug: 2406]
1188 * unix/aclocal.m4: changed all -fpic to -fPIC
1191 * unix/configure.in:
1193 * generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
1195 2000-02-07 Eric Melski <ericm@scriptics.com>
1197 * library/tkfbox.tcl: Applied patch from bug #4117,
1198 tk_getOpenFile/getSaveFile doesn't do the right thing when user
1199 types a directory name in the entry and a default extension is
1202 2000-02-05 Jeff Hobbs <hobbs@scriptics.com>
1204 * unix/tkUnixScale.c (TkpDestroyScale): changed ckfree to
1205 Tcl_EventuallyFree to behave with Tcl_Preserve in TkpDisplayScale
1206 (prevents possible segfault).
1208 2000-02-03 Eric Melski <ericm@scriptics.com>
1210 * tests/canvText.test: test for fix for bug #2525.
1212 * generic/tkFont.c (Tk_ComputeTextLayout): Was erroneously setting
1213 the width of newline-only text display chunks to some arbitrary
1214 huge number, instead of 0; this was interfering with things like
1215 the canvas find enclosed feature. (bug #2525).
1218 * generic/tkText.c (DumpLine/DumpSegment): Changed DumpSegment to
1219 take a TkTextIndex instead of two integer offsets, so that it
1220 could use TkTextPrintIndex to format the offsets into an index,
1221 which makes it UTF smart (bug #2582).
1223 2000-02-01 Eric Melski <ericm@scriptics.com>
1227 * library/choosedir.tcl: Moved choosedir functions into the
1228 ::tk::dialog::chooseDir namespace instead of a toplevel
1229 ::tkChooseDirectory namespace. Additional cleanup on the
1232 2000-02-01 Jeff Hobbs <hobbs@scriptics.com>
1234 * doc/text.n: clarified docs on what happens during a search with
1235 -count when images/windows are embedded
1237 * win/Makefile.in (install-*): reduced verbosity of install
1239 * win/tkWinPixmap.c (XGetGeometry): added support for windows in
1240 XGetGeometry [Bug: 4069]
1242 * win/tkWinFont.c (GetScreenFont): fixed possible mem overrun with
1243 long font names [Bug: 4108]
1245 * win/tkWinDialog.c: added EnableWindow calls to dialogs to
1246 correct for possible loss of control in parent Tk toplevel
1249 * generic/tkRectOval.c (ConfigureRectOval):
1250 * generic/tkCanvLine.c (ConfigureLine):
1251 * generic/tkCanvPoly.c (ConfigurePoly):
1252 * generic/tkCanvArc.c (Configure/DisplayArc): fixed handling for
1253 negative dash values [Bug: 4104]
1255 * generic/tkScale.c (TkRoundToResolution): fixed incorrect
1256 assumption that (N+1)*delta = N*delta + delta with floating point
1257 math [Bug: 3689, 4099]
1258 (DestroyScale) Fixed check for cancelling TkpDisplayScale (was
1259 REDRAW_ALL, is now REDRAW_PENDING)
1261 * tests/listbox.test: corrected test case for listbox itemconfigure
1263 * unix/aclocal.m4: added *BSD ELF recognition for
1264 SHARED_LIB_SUFFIX determination (from Tcl's tcl.m4)
1266 2000-01-27 Eric Melski <ericm@scriptics.com>
1268 * generic/tkImgPhoto.c: Removed unneccesary object translation in
1269 MatchStringFormat (bug #4103).
1271 2000-01-27 Eric Melski <ericm@scriptics.com>
1273 * generic/tkImgGIF.c: Additional code cleanup (now we only have
1276 2000-01-26 DJ Delorie <dj@cygnus.com>
1278 * win/tkWin32Dll.c (DllMain): Use _imp__ instead of __imp_
1280 2000-01-26 Eric Melski <ericm@scriptics.com>
1282 * doc/getOpenFile.n:
1283 * doc/chooseDirectory.n: Man page/cross links for
1284 tk_chooseDirectory (bug #1786).
1287 * library/tclIndex: Added hooks for tk_chooseDirectory. (bug #1786)
1289 * library/choosedir.tcl: tk_chooseDirectory implementation for
1290 Unix/Mac (bug #1786).
1292 * generic/tkImgPhoto.c: Added some comments regarding slow
1293 processing of transparent images.
1295 * generic/tkImgGIF.c: Improved GIF decoder for ~60% speed
1296 increase. Added some comments on how to further improve the
1297 implementation, time permitting.
1299 * doc/photo.n: Added a description of what the -data string can
1300 contain (base64 or binary data).
1302 * generic/tkImgPhoto.c: Fixed bug with use of binary data for
1303 "-data" option to "image create" command.
1305 2000-01-21 Eric Melski <ericm@scriptics.com>
1307 * library/tkfbox.tcl: Fixed bug relating to incorrect parent
1308 values for error message boxes displayed by the file dialog (bug
1312 * generic/tkText.c: Fixed bug relating to regexp searching for
1313 empty lines; previously, the starting line was ignored. (bug #1643).
1315 2000-01-20 Jeff Hobbs <hobbs@scriptics.com>
1317 * library/text.tcl: fixed double-click selection behavior where
1318 there were embedded windows/widgets in the same line. [Bug: 3989]
1320 * win/tkWinWm.c (TkWmProtocolEventProc): cached atom name as the
1321 window could get destroyed during eval [Bug: 2513]
1323 * generic/tkCanvLine.c (LineCoords): fixed segfault when too few
1324 coords were passed to a line with certain options set (it should
1325 always have thrown an error anyway). [Bug: 4042]
1328 * generic/tkText.c: fixed missing " in error case and missing
1329 'dump' in subcommand listing [Bug: 4036]
1331 * generic/tkListbox.c: adjusted use of basic string concatenation
1332 in (non-K&R behavior) [Bug: 4027]
1333 Swapped bg/fg class for -select(bg|fg) for listbox and their
1337 * doc/WindowId.3: added docs for Tk_IsContainer and Tk_IsEmbedded
1339 * doc/text.n: clarified mark gravity definition and usage of
1340 ``word'' in binding definitions. [Bug: 2004 2277 1388]
1342 * generic/tkInt.h: moved new TkDisplay useInputMethods structure
1343 element to end to not disturb position of previous elements in
1344 the structure (as compared to Tk <=8.2).
1346 2000-01-20 Eric Melski <ericm@scriptics.com>
1348 * tests/grid.test: Added a test for the consecutive ^ and multiple
1349 widget case (bug #1386).
1351 * generic/tkGrid.c: Fixed interpretation of consecutive ^
1352 characters in grid command. Previously, ^ ^ was interpreted as
1353 meaning that there must be a 2-column widget above to extend,
1354 neglecting the case where there was actually 2 1-column widgets
1355 above. Now, ^ ^ is interpreted as a possible width; the gridder
1356 will consume as many ^'s as there are columns in the widget, and
1357 leave the rest for the extension of other widgets. (bug #1386).
1359 2000-01-19 Eric Melski <ericm@scriptics.com>
1361 * library/tk.tcl: Created a virtual event <<PrevWindow>> for
1362 reverse tab traversals, with one default binding <Shift-Tab>, and
1363 OS specific bindings for Linux, HP-UX, and IRIX. (bug #3163)
1365 2000-01-13 Jeff Hobbs <hobbs@scriptics.com>
1367 * changes: updated changes file to reflect 8.3b2 mods
1370 * unix/configure.in:
1371 * win/configure.in: updated to patchlevel 8.3b2
1373 * win/tkWinWm.c: added visibility event handler to make sure
1374 that transient window wrappers would be updated when the master
1375 was initially mapped.
1377 2000-01-12 Jeff Hobbs <hobbs@scriptics.com>
1379 * tests/text.test: changed test to reflect change of -hidden
1380 to -elide in search options.
1382 * win/tkWinScrlbr.c: added check for valid hwnd in ModalLoopProc
1383 to avoid crash when building statically
1386 * generic/tkBind.c: prevented core with event -warp on Windows
1387 when window wasn't mapped [Bug: 4004] and added docs stating
1388 the requirement for mapped windows.
1390 * generic/tkCanvas.c: fixed mem leak with TagSearchExprInit
1393 * generic/tkStubInit.c:
1394 * generic/tkDecls.h: remove non-existent
1395 Tk_(Get|Create)CanvasVisitor prototypes
1398 * generic/tkEntry.c: fixed cursor to not blink when widget was
1399 disabled [Bug: 1807]
1401 * generic/tkRectOval.c: added note about change to bloat for
1402 RectOval bounds calculation for WIN32 only
1404 * library/dialog.tcl: improved handling of $default arg to allow
1405 for name of given button, as well as bounds checking
1409 * tests/unixWm.test:
1411 * unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377]
1412 * win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077],
1413 fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338]
1414 and fixed mapping of transient window [Bug: 572]
1415 Also, for all wm's, extended 'wm state' command to allow setting
1416 of the state, and added official support of 'zoomed' state on Win.
1418 * unix/aclocal.m4: strtod bug on Tru64 [Bug: 3378]
1420 * unix/Makefile.in: added tests to prevent unnecessary chmod +x
1421 in source dirs while installing [Bug: 3367]
1423 * unix/configure.in: properly sub'ed in TK_SHARED_BUILD [Bug: 3385]
1425 2000-01-05 Jeff Hobbs <hobbs@scriptics.com>
1430 * generic/tkTextBTree.c:
1431 * generic/tkTextDisp.c:
1432 * generic/tkTextTag.c: removed the -state option for text tags,
1433 and reoriented it around -elide, as -state disabled was never
1434 implemented, and -state hidden is better as -elide.
1436 * mac/tkMacClipboard.c: fixed i18n problems with clipboard [Bug: 3544]
1438 * library/entry.tcl:
1439 * library/focus.tcl:
1440 * library/listbox.tcl:
1441 * library/scale.tcl:
1442 * library/scrlbar.tcl:
1443 * library/tearoff.tcl:
1445 * library/tkfbox.tcl:
1446 * library/xmfbox.tcl: fixed unprotected arg parsing through eval/after
1449 * unix/Makefile.in: added unix/aclocal.m4 to distribution [Bug: 3938]
1450 * unix/aclocal.m4: changed NetBSD SHLIB_CFLAGS from -fpic to -fPIC
1452 * win/tkWinImage.c: added static declaration to function
1454 1999-12-22 Jeff Hobbs <hobbs@scriptics.com>
1456 * changes: updated changes file
1458 * generic/tkScale.c:
1459 * generic/tkScale.h:
1461 * unix/tkUnixScale.c: fixed potential segv from patch in 3897
1463 * tests/unixWm.test: nonPOrtable -> nonPortable
1465 1999-12-21 Jeff Hobbs <hobbs@scriptics.com>
1468 * unix/configure.in:
1471 * README: updated for patch level 8.3b1
1473 * unix/tkUnixWm.c: fixed panic in Tk_CoordsToWindow to print error
1474 and continue instead (for Tix) [Bug: 716 et al]
1477 * generic/tkScale.c:
1478 * generic/tkScale.h: fixed possible core when freeing options
1479 (cursor) associated with scale widget [Bug: 3897]
1481 * doc/MeasureChar.3: fixed docs for Tk_MeasureChars to reflect code
1482 * doc/listbox.n: fixed formatting problem
1484 * generic/tk3d.c: added extra calculations to ensure that thin
1485 frames get refreshed too [Bug: 3596]
1487 * unix/tkUnixMenu.c:
1488 * unix/tkUnixFont.c:
1489 * generic/tkCanvText.c:
1490 * generic/tkEntry.c:
1492 * generic/tkImgPPM.c: removed extranneous vars that were set but
1495 * mac/tclMacHLEvents.c: fixed applescript for I18N [Bug: 3644]
1497 * unix/aclocal.m4: removed -O flag for AIX when using the IBM
1498 compiler (several versions have a bug that crops up in the text
1499 widget). [Bug: 2316]
1501 * unix/Makefile.in: removed extra slash in SCRIPT_INSTALL_DIR
1504 * library/listbox.tcl: added extra checks for existence of
1505 tkPriv(listboxSelection) before it was used. [Bug: 3892]
1507 1999-12-16 Jeff Hobbs <hobbs@scriptics.com>
1510 * win/tkWinCursor.c: added support for Windows cursors to
1511 TkGetCursorByName (.ani, .cur) using -cursor @<filename>
1512 (Ascher) [Bug: 1350]
1514 * win/tkWinWm.c: fixed 'wm deiconify' to update position of the
1515 toplevel if event is waiting before mapping. (Mao) [Bug: 3687]
1516 This removes the need for 'update idle' before 'wm deiconify' on
1519 * doc/listbox.n: added doc for <<ListboxSelect>> [Bug: 3500]
1521 * doc/getOpenFile.n: removed note that -initialfile didn't work
1523 * library/tkfbox.tcl: updated tk_get*File to better match the
1524 Windows file box it emulates, give proper support to -initialfile,
1525 and fixes lack of global tkPriv call. [Bug: 3735 3882]
1527 * doc/tk.n: added doc for 'tk useinputmethods ...'
1531 * generic/tkEvent.c:
1532 * generic/tkWindow.c:
1533 * generic/tkInt.h: add 'tk useinputmethods ?-display win? ?bool?'
1534 call to provide support for disabling/enabling the use of XIM on
1535 X. This was previously all done at compile time, and always on.
1536 Now it is turned off by default, even when available, and the user
1537 must turn it on to use XIM (per display).
1539 * generic/tkCanvUtil.c: fixed bug in Tk_CanvasPsOutline that freed
1542 * generic/tkFont.c: added "bitstream cyberbit" (popular Windows
1543 CJK font) to list of font fallbacks. (kenny) [Bug: 2407]
1545 * mac/tkMacMenu.c: finished bug 3075 by changing the char values of
1546 what was checked (verified correctness on Mac).
1548 1999-12-13 Jeff Hobbs <hobbs@scriptics.com>
1550 * doc/canvas.n: added docs for items added by dash patch (-*dash*,
1551 -state, -active*, -disabled*, -offset, essentially rewrote the
1552 man patch for completely updated 8.3 canvas widget.
1553 * doc/entry.n: added docs for entry widget validation
1554 * doc/event.n: added docs for -warp
1555 * doc/text.n: doc'ed new -state value 'hidden'
1556 * doc/GetDash.3: (new file) man page explaining Tk_GetDash
1557 * generic/tkStubInit.c:
1558 * generic/tkDecls.h:
1559 * generic/tkIntXlibDecls.h:
1560 * generic/tkInt.decls: added XSetDashes and XWarpPointer
1561 * generic/tk.decls: added Tk_CreateSmoothMethod, and reserved
1563 * generic/tk.h: added Tk_SmoothMethod struct,
1564 state item to canvas record, #defines for item state,
1565 support for using old char*-based canvas item C creation
1566 procedures with -DUSE_OLD_CANVAS,
1567 Tk_Dash, Tk_TSOffset (-offsets) & Tk_Outline structs and #defs,
1568 decls for dash, outline and postscript routines
1569 * generic/tkBind.c: added support for Quadruple clicks, and added
1570 the -warp option to 'event' with pointer warping routines
1572 * generic/tkRectOval.c:
1573 * generic/tkCanvArc.c:
1574 * generic/tkCanvBmap.c:
1575 * generic/tkCanvImg.c:
1576 * generic/tkCanvLine.c:
1577 * generic/tkCanvPoly.c:
1578 * generic/tkCanvPs.c:
1579 * generic/tkCanvText.c:
1580 * generic/tkCanvUtil.c:
1581 * generic/tkCanvWind.c:
1582 * generic/tkCanvas.c:
1583 * generic/tkCanvas.h: Canvas and items received overhaul to with
1584 the addition of the dash patch (Nijtmans, et al) This includes
1585 objectification of the 'canvas' command, as well as support for
1586 (where appropriate) dashes in items, extended stipple support,
1587 state for all items, and postscript generation of images and
1588 windows. See the new canvas man page for related docs.
1589 * generic/tkEntry.c: added entry widget validation, see entry.n
1590 * generic/tkEvent.c: on simulated events, ButtonPress should
1591 be matched with ButtonRelease to be correct
1592 * generic/tkFont.c: corrected possible null reference
1593 * generic/tkFrame.c: made frame a Tcl_Obj based command
1594 * generic/tkGet.c: added TkGetDoublePixels
1595 * generic/tkImage.c: bug fixes from Img patch and new
1596 Tk_PostscriptImage and Tk_SetTSOrigin functions
1597 * generic/tkImgBmap.c: new ImgBmapPostscript function
1598 * generic/tkImgPhoto.c: new Tk_CreatePhotoOption, Tk_DitherPhoto
1599 * generic/tkInt.h: declarations for some new functions
1600 * generic/tkMessage.c: reworked relief drawing
1601 * generic/tkOldConfig.c: added TK_CONFIG_OBJS so old style
1602 ConfigureWidget calls can pass in Tcl_Obj arrays
1603 * generic/tkScrollbar.c:
1604 * generic/tkScrollbar.h: made -orient use an option table
1606 * generic/tkText.h: made -wrap and -state use option tables
1607 * generic/tkTextBTree.c:
1608 * generic/tkTextDisp.c:
1609 * generic/tkTextImage.c:
1610 * generic/tkTextMark.c:
1611 * generic/tkTextTag.c:
1612 * generic/tkTextWind.c: added support for -elide and -state hidden
1613 * generic/tkTrig.c: changed TkMakeBezierCurve to support returning
1614 the upper limit of points needed for spline
1615 * generic/tkUtil.c: new option table parsing routines
1616 * generic/tkWindow.c: init'ing of warp stuff, mouseButtonState
1618 related bug ids for the fixes:
1619 [Bug: 648 1541 1540 1779 2168 2311 2297 2340 2348 2578 3386]
1622 * tests/canvImg.test:
1623 * tests/canvPsArc.tcl:
1624 * tests/canvPsImg.tcl: (new file)
1625 * tests/canvRect.test:
1626 * tests/canvText.test:
1627 * tests/canvas.test:
1633 * tests/imgPhoto.test:
1636 * tests/scrollbar.test:
1637 * tests/select.test:
1639 * tests/textDisp.test:
1640 * tests/textTag.test:
1641 * tests/unixFont.test:
1642 * tests/unixWm.test:
1643 * tests/visual_bb.test:
1644 * tests/winClipboard.test: tests for the dash patch changes
1646 * unix/mkLinks: added GetDash.3 into the mkLink step
1648 * mac/tkMacDraw.c: mac still needs pointer warping routine
1649 * mac/tkMacXStubs.c:
1651 * win/tkWinPointer.c: added support for pointer warping and
1652 platform specific support for dash patch items
1654 1999-12-12 Jeff Hobbs <hobbs@scriptics.com>
1656 * generic/tkText.c: fixed bug in TextSearchCmd for multibyte chars
1657 (Darley) [Bug: 3839]
1659 * unix/aclocal.m4: added warning when configuring with
1660 --enable-threads that Tk may have problems
1662 1999-12-09 Jeff Hobbs <hobbs@scriptics.com>
1664 * generic/tkImgGIF.c: updated casting
1666 * win/makefile.vc: removed 16bit stuff, simplified makefile.
1668 1999-12-06 Scott Redman <redman@scriptics.com>
1670 * generic/tkMain.c: need to include tclInt.h for new hook
1671 functions that are internal-use-only.
1673 1999-12-06 Jeff Hobbs <hobbs@scriptics.com>
1675 * library/comdlg.tcl: removed tclVerifyInteger and tclSortNoCase,
1676 they weren't used, and were not actually correct
1680 * mac/tkMacWindowMgr.c: fixed greyed out menu items, handling of
1681 ... elipsis, font mapping problem, and enabled generated menu
1684 1999-12-02 Jeff Hobbs <hobbs@scriptics.com>
1687 * generic/tkWindow.c:
1688 * generic/tkCmds.c: converted Tk_DestroyCmd, Tk_LowerCmd and
1689 Tk_RaiseCmd to their ObjCmd equivalent.
1691 * library/msgbox.tcl: added color icons for tk_messageBox on Unix
1692 and Mac when tk_strictMotif isn't set. (Hipp)
1693 * library/tk.tcl: added window bounds checking to ::tk::PlaceWindow
1695 * tests/imgPPM.test: fixed test 2.2 to use -format ppm (since
1696 we know have GIF write capability)
1698 1999-12-01 Scott Redman <redman@scriptics.com>
1700 * generic/tkMain.c :
1702 * win/winMain.c: Added added hooks into the main() code for
1703 supporting TclPro and other "big" shells more easily without
1704 requiring a copy of the main() code.
1706 1999-11-29 Jeff Hobbs <hobbs@scriptics.com>
1708 * generic/tkImgGIF.c: added GIF writing that uses miGIF RLE
1709 [Bug: 2039, new patch]
1711 * library/entry.tcl: fixed up tkEntrySeeInsert (Nemthi)
1713 * generic/tkListbox.c: fixed 'get' of listbox to return a string
1714 when only one item is requested.
1716 * tests/clrpick.test:
1717 * tests/filebox.test: minor whitespace cleanup
1719 * library/tk.tcl: fixed missing $w in ::tk::PlaceWindow
1721 1999-11-24 Jeff Hobbs <hobbs@scriptics.com>
1723 * library/clrpick.tcl:
1724 * library/msgbox.tcl:
1726 * library/tkfbox.tcl:
1727 * library/xmfbox.tcl: fixed dialogs to center over -parent,
1728 added utility functions ::tk::PlaceWindow, ::tk::SetFocusGrab,
1729 ::tk::RestoreFocusGrab to tk.tcl to help
1731 1999-11-23 Eric Melski <ericm@scriptics.com>
1733 * tests/listbox.test: Added a test to check that the topIndex is
1734 update when items are removed from the listvar variable.
1736 * generic/tkListbox.c: Added a check the updates the topIndex when
1737 items are removed from the listvar variable.
1739 * tests/listbox.test: Added a test to check that the vertical
1740 scrollbar is updated when the listvar changes.
1742 * generic/tkListbox.c (ListboxListVarProc): added a check that
1743 sets the UPDATE_V_SCROLLBAR flag if the length of the listvar has
1746 1999-11-23 Jeff Hobbs <hobbs@scriptics.com>
1749 * generic/tkConfig.c: added support for TK_OPTION_DONT_SET_DEFAULT
1750 as equiv for TK_CONFIG_DONT_SET_DEFAULT
1751 * generic/tkListbox.c: added TK_OPTION_DONT_SET_DEFAULT to the
1754 1999-11-19 Jeff Hobbs <hobbs@scriptics.com>
1756 * generic/tkColor.c:
1757 * generic/tkColor.h: fixed Tk_NameOfColor to work correctly,
1758 with minor change to TkColor struct.
1760 * generic/tkConsole.c: added static declaration to
1761 ConsoleDeleteProc function (proto already had it)
1763 * win/tkWinInt.h: removed TkFontAttributes typedef (was
1764 redundant with tkFont.h).
1765 * win/tkWinPort.h: put #ifndef __GNUC__ around redefinition
1766 of str[n]casecmp, as cygwin uses the originals.
1767 * win/tkWinX.c: changed GetCurrentTime to GetTickCount (the
1768 former is deprecated). [Bug: 2053]
1770 1999-11-19 Eric Melski <ericm@scriptics.com>
1772 * tests/listbox.test: Added tests for itemcget and itemconfigure.
1774 * doc/listbox.n: Added documentation for -listvar option and for
1775 itemconfigure and itemcget commands.
1777 * generic/tkListbox.c: Added support for itemconfigure/itemcget
1778 listbox subcommands (addresses rfe #936)
1780 1999-11-17 Eric Melski <ericm@scriptics.com>
1782 * tests/listbox.test: Updated tests for new error messages.
1784 * generic/tkListbox.c: Improved error messages for bad -listvar's.
1786 * tests/listbox.test: Added tests for bad -listvar's.
1788 * generic/tkListbox.c: Added handlers for bad -listvar's (ie, bad
1791 * tests/listbox.test: Added tests for ListboxUpdateHScrollbar.
1793 * generic/tkListbox.c: Changed some old static buffers to base
1794 size on TCL_DOUBLLE_SPACE instead of (completely) hardcoding the size.
1796 * tests/listbox.test: New tests for -listvar functionality, and an
1797 odd extra case that wasn't covered before.
1799 * generic/tkListbox.c: Tests exposed some bugs, now fixed.
1801 1999-11-16 Eric Melski <ericm@scriptics.com>
1803 * tests/listbox.test: Fixed tests to comply with new objectified
1804 error messages. No -listvar specific tests yet.
1806 * win/tkWinDefault.h:
1807 * unix/tkUnixDefault.h:
1808 * mac/tkMacDefault.h: Added default value for -listvar option.
1810 * generic/tkWindow.c: Changed "listbox" mapping from old-school to
1811 new-school objectified command.
1813 * generic/tkListbox.c: Objectified listbox; added support for
1814 -listvar option. Converted internal structure to use a Tcl list
1815 object to store the data.
1817 * generic/tkInt.h: Changed reference to Tk_ListboxCmd to
1820 1999-11-09 Jeff Hobbs <hobbs@scriptics.com>
1822 * generic/tkGrid.c: changed Tcl_Alloc to ckalloc
1824 * generic/tkEntry.c: fixed C expr error in destroy of entry
1825 that could lead to 'malformed bucket chain' error
1827 * win/winMain.c: corrected winMain to not do a DebugBreak when
1828 returning an error message from the top level
1830 1999-10-30 Jeff Hobbs <hobbs@scriptics.com>
1832 * win/tkWinKey.c: fixed XKeysymToKeycode to handle mapping of
1833 symbolic keysyms (Left, Home, ...) with event generate
1835 * library/entry.tcl: change tkEntrySeeInsert to avoid the use
1836 of a while loop that could eat CPU tremendously. Behavior of
1837 moving the cursor at the right edge changes slightly (previously
1838 it tried to keep the cursor at the right edge, now it moves the
1839 cursor to a "central right" location - better IMHO).
1841 1999-10-28 Jeff Hobbs <hobbs@scriptics.com>
1844 * doc/CrtPhImgFmt.3:
1849 * generic/tkImage.c:
1850 * generic/tkImgBmap.c:
1851 * generic/tkImgGIF.c:
1852 * generic/tkImgPPM.c:
1853 * generic/tkImgPhoto.c:
1856 * generic/tkWindow.c:
1857 * tests/imgPhoto.test: added Img patch (Nijtmans) with docs,
1858 headers #def'd with USE_OLD_IMAGE. Upgrades image stuff to
1859 Tcl_Obj API, adds alpha channel (images are now 32 bpp)
1861 * makefile.vc: changed 'c:/program files' to c:/progra~1
1863 1999-10-19 Jeff Hobbs <hobbs@scriptics.com>
1865 * library/scrlbar.tcl: changed tkScrollButtonUp to check for
1866 existence of tkPriv(relief) in order to avoid spurious release
1869 * unix/Makefile.in: added ChangeLog to dist archive
1871 1999-09-24 Jeff Hobbs <hobbs@scriptics.com>
1877 * library/tk.tcl: up'd to 8.3a1
1879 * unix/Makefile.in: changed 'mkdir' to 'mkdir -p'
1881 * library/dialog.tcl: changed {Times 18} to {Times 12} for
1884 1999-09-16 Jeff Hobbs <hobbs@scriptics.com>
1886 * generic/tkFont.c: fixed processing of font options and error
1887 returned [Bug: 2075]
1889 * win/tkWinWm.c: fixed bug in 'wm deiconify' that raised the
1890 wrong toplevel, and changed it to not set focus on overridden
1893 1999-09-15 Jeff Hobbs <hobbs@scriptics.com>
1895 * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070]
1896 and fix to AIX-* to get ldAix right [Bug: 2624], fixed AIX
1897 version check (readjust from 8-21 fix) and several other config
1899 * mac/tkMacMenubutton.c:
1900 * unix/tkUnixMenubu.c: fixed permanently stippled menubutton image
1901 * win/tkWinButton.c: fixed possible pointer smash [Bug: 2733]
1903 1999-09-14 Jeff Hobbs <hobbs@scriptics.com>
1905 * win/tkWinMenu.c: fix for stack overrun in GetTextFace [Bug: 909]
1907 1999-09-01 Jeff Hobbs <hobbs@scriptics.com>
1910 * unix/tkUnixDraw.c: fixed header style for TkpDrawHighlightBorder
1911 * generic/tkCanvas.c: fixed GC error (bg <> fg) in tkCanvas.c
1912 (from code added to support TkpDrawHighlightBorder) [Bug: 2676]
1913 * unix/aclocal.m4: added -bnoentry to the AIX-* flags
1914 * library/msgbox.tcl: changed the behavior of tk_messageBox on
1915 Unix to be more Windows like in handling of <Return> and the
1917 * library/button.tcl:
1918 * library/clrpick.tcl:
1919 * library/comdlg.tcl:
1920 * library/console.tcl:
1921 * library/dialog.tcl:
1922 * library/entry.tcl:
1923 * library/focus.tcl:
1924 * library/listbox.tcl:
1926 * library/msgbox.tcl:
1927 * library/palette.tcl:
1928 * library/safetk.tcl:
1929 * library/scale.tcl:
1930 * library/scrlbar.tcl:
1931 * library/tearoff.tcl:
1934 * library/tkfbox.tcl:
1935 * library/xmfbox.tcl: updated commands to use [string] ops
1936 instead of expr equality operators
1938 1999-08-21 Jeff Hobbs <hobbs@scriptics.com>
1940 * unix/aclocal.m4: Changed AIX-4.[2-9] check to AIX-4.[1-9]
1943 1999-08-20 Jeff Hobbs <hobbs@scriptics.com>
1945 * generic/tkCursor.c: fixed bug in GetCursorFromObj that caused
1950 1999-08-13 Jim Ingham <jingham@cygnus.com>
1952 * mac/tkMacMenu.c: Tk_DrawChars ends up setting the menu background
1953 wrong. There is no clean way to stop it, so I use lower level routines
1954 here to draw the text.
1955 * mac/tkMacProjects.sea.hqx: Rearrange the projects so that the build
1956 directory is separate from the sources. Much more convenient!
1958 1999-08-10 Jeff Hobbs <hobbs@scriptics.com>
1960 * win/tkWinWm.c: changed "wm deiconify" on Windows to raise and
1961 force the focus on the deiconified window (behavioral change from
1962 8.1 to comply better with Windows style) [Bug: 1609]
1963 * doc/wm.n: clarified behavior of "wm deiconify".
1964 * generic/tkInt.decls: added TkSetFocusWin
1965 * generic/tkFocus.c: changed static SetFocus to TkSetFocusWin
1967 * library/clrpick.tcl:
1968 * library/console.tcl:
1969 * library/tk.tcl: fixed code where abbreviations where used
1970 in calling widget methods (confuses iWidgets) [Bug: 2422]
1972 1999-08-09 Jeff Hobbs <hobbs@scriptics.com>
1974 * library/button.tcl: cleaned up programming (config -> configure)
1975 and fixed Windows relief bug [Bug: 664]
1976 * library/entry.tcl: changed Entry C/C/P to not use global data
1977 (now uses tkPriv(data)) [Bug: 1475]
1978 * library/listbox.tcl: fixed extended mode script error [Bug: 866]
1979 * doc/options.n: clarified that -troughcolor doesn't work on Windows
1980 * doc/wm.n: fixed wm positionfrom docs [Bug: 2284]
1982 1999-08-01 Jeff Hobbs <hobbs@scriptics.com>
1984 * mac/tkMacPort.h: wrapped panic in #ifndef panic to avoid
1985 compiler errors when used with stubs-#defines, from Vince Darley.
1988 1999-07-31 Scott Redman <redman@scriptics.com>
1990 * xlib/X11/Xlib.h: Remove XFillRectangle since it is now in the
1993 1999-07-30 Jeff Hobbs <hobbs@scriptics.com>
1995 * generic/tkInt.decls: Added stub entry for XFillRectangle [Bug: 2446]
1997 1999-07-30 <redman@scriptics.com>
1999 * win/makefile.vc: Corrected building threaded tktest.exe on
2000 Windows. Needed to link in .obj files from Tcl, needs to change
2001 later so that code is in Tk and doesn't require a Tcl build.
2002 Also added runtest target.
2004 1999-07-29 <redman@scriptics.com>
2006 * generic/tkConsole.c: Allow tcl to open CON and NUL, even for std
2007 channels. Checking for bad/unusable std channels was moved to Tk
2008 since its only purpose was to check whether to use the Tk Console
2009 Window for the std channels. [Bug: 2393 2392 2209 2458]
2011 * win/Makefile.in: Corrected building threaded tktest.exe on
2012 Windows. Needed to link in .obj files from Tcl, needs to change
2013 later so that code is in Tk and doesn't require a Tcl build.
2015 1999-07-22 <redman@scriptics.com>
2017 * Changed version to 8.2b2
2019 * win/tkWinPort.h: Block out include of sys/stat.h in order to
2020 build extensions with MetroWerks compiler for Win32. [Bug: 2385]
2022 * unix/Makefile.in: Need to make install-sh executable before
2023 calling (with chmod +x). [Bug: 2413]
2025 * library/menu.tcl: Applied patch from Jeff Hobbs to fix typo.
2028 1999-07-21 <redman@scriptics.com>
2030 * unix/Makefile.in: Add Windows configure script to distribution.
2032 1999-07-16 <redman@scriptics.com>
2035 * win/Makefile.in: Copy the prolog.ps from the generic directory
2036 for install-libraries.
2038 * unix/aclocal.m4: Check for Alpha/Linux to set the IEEE flag to
2039 the compiler to be -mieee. Patch from Don Porter.
2041 1999-07-08 <stanton@scriptics.com>
2043 * tests/unixSelect.test: Fixed broken test.
2045 * win/makefile.vc: Added special case target to ensure that
2046 tkStubLib.obj is built with -DSTATIC_BUILD.
2048 * win/tkWinX.c (TkWinChildProc): Changed to pass
2049 WM_WINDOWPOSCHANGED through to DefWindowProc to make OpenGL
2050 sub-windows happy. This allows Windows to generate the WM_SIZE
2051 and WM_MOVE messages.
2053 1999-07-08 <redman@scriptics.com>
2055 * unix/configure.in: Fix Tk stub lib file names and flags.
2057 1999-06-30 <redman@scriptics.com>
2059 * generic/tkGrid.c: removed deprecated functions (applied patch
2060 from Jan Nijtmans). [Bug: 2080]
2062 * generic/tkImgGIF.c:
2063 * generic/tkImgPPM.c:
2064 * generic/tkImgPhoto.c: Applied patch to allow Img extension to
2065 work with 8.2, from Jan Nijtmans. [Bug: 2068]
2067 * win/tkWinWm.c: Applied patch from Don Porter to prevent the
2068 windows code from calling the Tcl functions when the stub table
2069 has not been initialized in TkWinWmCleanup. [Bug: 2269]
2071 1999-06-16 <wart@scriptics.com>
2073 * unix/configure.in:
2075 * unix/aclocal.m4: Numerous build changes to make Tk conform to
2076 the proposed TEA spec
2078 * tkConsole.c: changed some variable types from (int) to (size_t)
2079 to prevent compiler warnings. Cast return value from strlen()
2080 to (int) in one place for the same reason.
2082 1999-06-03 <stanton@scriptics.com>
2084 * unix/tkUnixSelect.c:
2085 * tests/unixSelect.test:
2086 * generic/tkSelect.c: Fixed selection code to handle Unicode data
2087 in COMPOUND_TEXT and STRING selections. [Bug: 1791]
2089 1999-06-02 <stanton@scriptics.com>
2091 * generic/tkIntXlibDecls.h:
2092 * xlib/X11/Xlib.h: Added Mac specific defines to help with
2095 * generic/tkFont.c: lint
2097 1999-06-01 <stanton@scriptics.com>
2099 * unix/tkUnixSelect.c: Improved I18N selection support.
2100 COMPOUND_TEXT is converted to/from iso2022, and STRING is
2101 converted to/from iso8859-1. There are still a few loose ends to
2102 tie up before this is completely done.
2104 * unix/tkUnixFont.c: Eliminated redundant case folding code.
2106 * generic/tkFont.c: Eliminated use of isupper/tolower in favor of
2109 1999-05-24 <stanton@scriptics.com>
2111 * generic/tkStubLib.c:
2112 * generic/tkStubInit.c:
2113 * generic/tkIntXlibDecls.h:
2114 * generic/tkIntPlatDecls.h:
2115 * generic/tkIntDecls.h:
2116 * generic/tkInt.decls:
2117 * generic/tkConsole.c: Various changes to try to get the Mac
2120 1999-05-21 <stanton@scriptics.com>
2122 * win/tkWinClipboard.c: Fixed clipboard code to handle lack of
2123 CF_LOCALE information (e.g. from command.com).
2125 1999-05-20 <redman@scriptics.com>
2127 * library/console.tcl: Changed copyright string to read 1999
2128 Scriptics Corp. in wish console about box.
2130 1999-05-19 <redman@scriptics.com>
2132 * generic/tk.h: Add extern "C" block around entire header file for
2133 C++ compilers to fix linkage issues. Submitted by Don Porter and
2136 1999-05-18 <stanton@scriptics.com>
2138 * tests/winClipboard.test:
2139 * win/tkWinClipboard.c: Fixed clipboard code so it handles Unicode
2140 data properly on Windows NT and 95. [Bug: 1791]
2142 1999-05-07 <stanton@scriptics.com>
2144 * library/menu.tcl: Fixed bug where tk_popup fails when called too
2145 quickly. [Bug: 2009]
2147 1999-04-30 <stanton@scriptics.com>
2149 * Changed version number to 8.1.1.
2151 1999-04-30 <stanton@scriptics.com>
2153 * Merged changes from 8.1.0 branch:
2155 * generic/tkDecls.h:
2156 * generic/tkIntDecls.h:
2157 * generic/tkIntPlatDecls.h:
2158 * generic/tkIntXlibDecls.h:
2159 * generic/tkPlatDecls.h:
2160 * generic/tkStubInit.c: Changed to avoid the need for forward
2161 declarations in stub initializers. Added extern "C" blocks around
2162 stub table pointer declarations so the stubs can be used from C++
2165 * generic/tkInt.decls: Added TkClipBox, XDrawSegments, and
2166 XForceScreenSaver to stubs.
2168 * generic/tkStubLib.c: Reordered declarations to avoid
2169 circularities and forward references.
2171 * generic/tkStubInit.c: Added includes for Mac.
2173 * generic/tkMenubutton.c: lint
2175 * generic/tkEntry.c: Fixed bad option table entry.
2177 * generic/tkImgBmap.c:
2178 * generic/tkImgPPM.c:
2179 * generic/tkImgPhoto.c: Set the -translation and -encoding options
2180 to binary for image files. (reported by Marco Gazzetta)
2182 1999-04-23 <stanton@scriptics.com>
2184 * generic/tkInt.decls: Added TkClipBox, XDrawSegments, and
2185 XForceScreenSaver to stubs.
2187 * generic/tkStubLib.c: Reordered declarations to avoid
2188 circularities and forward references.
2190 * generic/tkStubInit.c: Added includes for Mac.
2192 * generic/tkMenubutton.c: lint
2194 * generic/tkEntry.c: Fixed bad option table entry.
2196 1999-04-22 <redman@scriptics.com>
2198 * generic/tkImgBmap.c:
2199 * generic/tkImgPPM.c:
2200 * generic/tkImgPhoto.c: Set the -translation and -encoding options
2201 to binary for image files. (reported by Marco Gazzetta)
2203 1999-04-20 <redman@scriptics.com>
2205 * xlib/X11/Xlib.h: changed definition of Status type to use a
2206 typedef instead of a #define to avoid conflicting with the cygwin
2207 win32 headers [Bug 1804]
2209 1999-04-15 <stanton@scriptics.com>
2211 * Merged 8.1 branch into the main trunk
2213 1999-04-09 <redman@scriptics.com>
2215 * generic/tkWindow.c: Fixed deadlock situation when the Initialize()
2216 function returns without releasing the mutex. Found while testing
2217 Bug 1700, during safe.test (tk).
2219 1999-04-06 <stanton@scriptics.com>
2221 * generic/tkMain.c (Tk_MainEx): Changed to reset result before
2222 calling Tcl_EvalFile. The ensures that error messages will be
2225 * tests/winfo.test: Enabled tests that previously failed.
2227 1999-04-05 <stanton@scriptics.com>
2229 * library/bgerror.tcl:
2230 * library/button.tcl:
2231 * library/clrpick.tcl:
2232 * library/console.tcl:
2233 * library/dialog.tcl:
2234 * library/entry.tcl:
2235 * library/focus.tcl:
2236 * library/listbox.tcl:
2238 * library/msgbox.tcl:
2239 * library/palette.tcl:
2240 * library/scale.tcl:
2241 * library/scrlbar.tcl:
2242 * library/tearoff.tcl:
2244 * library/tk.tcl: Lots of minor performance improvements
2245 contributed by Jeffrey Hobbs. [Bug: 1118]
2247 * win/tkWinWm.c (Tk_WmCmd): Fixed bad code in tracing
2248 suboption. [Bug: 1519]
2250 * library/tkfbox.tcl: Change to restore button text after an
2251 action to avoid the sticky "Open" button in a save dialog.
2254 * library/entry.tcl: Fixed so selection is returned using the
2255 -show character during cut and paste operations. [Bug: 1687]
2257 1999-04-5 <redman@scriptics.com>
2259 * generic/tkInt.decls:
2260 * generic/tkIntXlibDecls.h:
2261 * generic/tkStubInit.c:
2264 * xlib/X11/Xutil.h: Added more X functions to the Win & Mac stubs
2267 1999-04-05 <stanton@scriptics.com>
2269 * unix/configure.in:
2270 * generic/tkCanvPs.c: Added configure test for pw_gecos field in
2271 pwd to support OS/390. [Bug: 1724]
2273 1999-04-02 <stanton@scriptics.com>
2276 * generic/tkText.c: Fixed handling of Unicode in text searches.
2277 The -count option was returning byte counts instead of character
2278 counts. [Bug: 1056, 1148, 1666]
2280 1999-04-01 <redman@scriptics.com>
2284 * generic/tkStubInit.c:
2285 * generic/tkWindow.c:
2287 * win/makefile.vc: Tk now uses its own stub library to store
2288 pointers to its own stubs table.
2290 * doc/dde.n: (removed)
2293 * tests/winSend.test:
2294 * generic/tkPlatDecls.h:
2295 * win/tkWinSend.c: Removed the DDE-based send and dde commands,
2296 they were causing Tk to lock up when any window on the system was
2297 not processing its message queue (more importantly, windows in Tcl
2298 and Tk). The send command needs to be rewritten to prevent the
2299 deadlock situation (soon). The dde command is being pushed into
2300 its own package and will provide almost all of the capabilities
2301 that send did before (using a "dde eval" command), not yet
2304 1999-03-31 <redman@scriptics.com>
2306 * win/tkWinSend.c: Modified dde/send code to work properly on
2307 Win95/Win98. String lengths are not returned properly by DDE, so
2308 NULL terminate all strings going in and ignore the string length
2309 coming back out. Do not destroy handles until all necessary work
2310 on those handles (and child handles) is done.
2312 1999-03-30 <stanton@scriptics.com>
2314 * generic/tkWindow.c (Tk_DestroyWindow): Image handlers are now
2315 finalized before the font subsystem since complex image handlers
2316 may contain references to fonts (e.g. Tix compound images).
2319 1999-03-29 <stanton@scriptics.com>
2321 * doc/MeasureChar.3:
2324 * generic/tkCanvText.c:
2325 * generic/tkEntry.c:
2327 * generic/tkListbox.c:
2328 * generic/tkMessage.c:
2330 * unix/tkUnixButton.c:
2331 * unix/tkUnixFont.c:
2332 * unix/tkUnixMenu.c:
2334 * win/tkWinMenu.c: Standardized text layout and font interfaces
2335 so they are consistent with respect to byte versus character
2336 oriented indices. The layout functions all manipulate character
2337 oriented values while the lower level measurement functions all
2338 operate on byte oriented values. This distinction was not clear
2339 and so the functions were being used improperly in a number of
2340 places. [Bug: 1053, 747, 749, 1646]
2342 * generic/tk.decls: Eliminated uses of C++ STL types string and
2343 list from declarations.
2345 * generic/tkFont.c: Changes to named fonts were not being
2346 propagated in some cases. [Bug: 1144]
2349 * generic/tkInt.decls: Added XParseColor to xlib stub
2353 * generic/tkBitmap.c (BitmapInit): Eliminated use of Tk_Uid's in
2354 bitmaps. Added a few CONST declarations.
2356 1999-03-29 <redman@scriptics.com>
2358 * unix/configure.in:
2361 * generic/tkDecls.h:
2362 * generic/tkIntDecls.h:
2363 * generic/tkIntPlatDecls.h:
2364 * generic/tkPlatDecls.h:
2365 * generic/tkIntXlibDecls.h: Removed stub functions. Always use the
2366 Tcl stubs when building with --enable-shared.
2369 1999-03-26 <redman@scriptics.com>
2371 * generic/tkTextIndex.c:
2372 * tests/testIndex.test: Avoid looking past the beginning of the
2373 array storing data for the text widget (.t index end-2c). Added
2374 test case to check for the bug. [Bug 991]
2376 * generic/tkConsole.c: Copy static strings into a Tcl_DString
2377 before passing to Tcl_Eval, in case the compiler puts static
2378 strings into read-only memory.
2380 1999-03-26 <suresh@scriptics.com>
2382 * unix/configure.in:
2383 --nameble-shared is now the default and builds Tk as a shared
2384 library; specify --disable-shared to build a static Tk library
2387 1999-03-26 <surles@scriptics.com>
2389 * library/menu.tcl: Fixed bug reported by Bryan Oakley in the
2390 menubutton bindings. There was a false assumption that there was
2391 always a menu attached to the button. [Bug 1116]
2393 1999-03-26 <redman@scriptics.com>
2395 * unix/configure.in: Removed --enable-tcl-stub. Linking Tk to Tcl
2396 stubs is causing too many problems when linking executables like wish.
2397 Until the Tk is a fully loadable extension, linking against the Tcl
2398 stubs is not supported in Tk.
2400 1999-03-19 <redman@scriptics.com>
2402 * generic/tkBitmap.c:
2403 * generic/tkCursor.c:
2404 * generic/tkGC.c: When creating hash tables that key off of XID
2405 handles, make sure to pass TCL_ONE_WORD_KEYS. XIDs are guaranteed
2406 to be 32bit numbers, although on some 64bit systems (including 64bit
2407 Solaris 7) they are packed into a 64bit value where the upper 32bits
2408 are zero. The normal method of sizeof(XID)/sizeof(int) causes the
2409 hash table code to assume that the XID is a pointer to an array of
2410 two ints, which it is not. Tk now supports 64bit Solaris 7.
2412 1999-03-17 <stanton@scriptics.com>
2415 * generic/tk.h: Changed to use TCL_BETA_RELEASE macro, and fixed
2416 so this works in rc files.
2421 * unix/configure.in:
2423 * README: Updated version to 8.1b3.
2425 1999-03-14 <stanton@GASPODE>
2427 * unix/configure.in: Added missing stub related definitions.
2429 * unix/Makefile.in: Install tkDecls.h in addition to tk.h.
2431 * generic/tkStubLib.c: Added flags to ensure we are using Tcl
2434 1999-03-11 <stanton@GASPODE>
2436 * generic/tkInt.decls: Added reserved slot for XSetDashes for use
2439 1999-03-10 <redman@scriptics.com>
2446 * mac/tkMacXStubs.c:
2447 * mac/tkMacAppInit.c:
2448 * mac/tkMacCursor.c:
2457 * generic/tkInt.decls:
2458 * generic/tkDecls.h:
2459 * generic/tkPlatDecls.h:
2460 * generic/tkIntDecls.h:
2461 * generic/tkIntPlatDecls.h:
2462 * generic/tkIntXlibDecls.h:
2463 * generic/tkStubs.c:
2464 * generic/tkPlatStubs.c:
2465 * generic/tkIntStubs.c:
2466 * generic/tkIntPlatStubs.c:
2467 * generic/tkIntXlibStubs.c:
2468 * generic/tkStubInit.c:
2469 * generic/tkStubLib.c:
2472 * generic/tkConfig.c:
2473 * generic/tkConsole.c:
2474 * generic/tkCursor.c:
2476 * generic/tkImgPhoto.c:
2479 * generic/tkPointer.c:
2480 * generic/tkTextDisp.c:
2481 * generic/tkWindow.c:
2483 * unix/tkUnixPort.h:
2485 * unix/configure.in:
2486 * unix/tkConfig.sh.in:
2489 * unix/tkUnixDraw.c:
2490 * unix/tkUnixFont.c:
2491 * unix/tkUnixMenubu.c: Stubs implementation for 8.1. Tk_Main() is
2492 replaced with a macro which calls Tk_MainEx(). Tk can link to the Tcl
2493 stubs library, wish links directly to Tcl and Tk. Use
2494 --enable-tcl-stubs to link Tk to the Tcl stubs library (Unix), on
2495 by default on Windows. Exported all public functions through the
2496 stubs mechanism (see the *.decls files) and many of the internal
2497 functions. Most of the changes dealt with shifting around the
2498 function declarations in the header files. Mac code may not
2499 compile, but it shouldn't take much work to fix this.
2501 * mac/tkMacMenu.c: Added dummy TkpMenuThreadInit for Mac to be
2502 consistent with Unix and Windows versions.
2504 1999-03-08 <lfb@scriptics.com>
2506 * win/tkWinWm.c: Toplevel class no longer shared between
2509 * win/tkWinX.c: Multiple threads no longer share the same
2510 TkDisplay structure. Required because TkDisplay stores much
2511 thread-specific data for a given thread.
2513 * win/tkWinSend.c: Moved application instance handle out
2514 out thread-local storage. DDE was failing to initialize
2515 when the instance handles were different between threads.
2517 * win/makefile.vc: Added THREADDEFINES for building with
2522 * unix/tkUnixMenu.c: Added TkpMenuThreadInit for initializing
2523 thread-specific Menu state.
2525 1999-03-01 <redman@scriptics.com>
2528 * win/tkWinPointer.c:
2529 * win/tkWinInt.h: Fix "focus -force" for Windows. The Win32 API
2530 function SetForegroundWindow() does not work unless the window
2531 handle is a toplevel window (a Windows toplevel). The handle
2532 being passed was a Tk toplevel, which is a child of the Windows
2535 1999-02-26 <redman@scriptics.com>
2537 * win/cat.c: Remove this file, use the one in the Tcl source directory.
2539 * win/makefile.vc: Remove the wishc.exe from the default targets. Add
2540 a separate console-wish target to build it. The need for a
2541 console-wish will go away soon, so we don't want to encourage its
2544 1999-02-25 <redman@scriptics.com>
2546 * win/tkWinWm.c: Properly initialize the tsdPtr->firstWindow field.
2548 * win/cat.c: Code for cat32.exe, copied from the Tcl sources. Required
2549 in order to run the test suite from the makefile
2551 * win/winMain.c: Add main() for a console-based wishc.exe, which meant
2552 adding code to disable the call to Tk_ConsoleInit().
2554 * generic/tkConsole.c: Check the standard handles before creating the
2555 new standard channels. This allows a windows app that has stdin,
2556 stdout, or stderr to correctly connect to them.
2558 * generic/tkMain.c: Add a proper check for the interactive mode, since
2559 the standard channels may actually be connected in windows mode or
2560 even in the console-based wish.
2562 * win/makefile.vc: Add targets for wishc.exe (console-based wish) and
2563 cat32.exe (for testing). Fix the test suite target so it can be run
2564 from the makefile (which can happen since the standard handles have
2567 1999-02-12 <lfb@scriptics.com>
2569 * generic/tkMenuButton.h:
2570 * generic/tkMenuButton.c:
2571 * mac/tkMacMenubutton.c:
2572 * mac/tkMacDefault.h
2573 * unix/tkUnixMenubu.c: Eliminated Tk_Uids used by -state option.
2574 * unix/tkUnixDefault.h
2575 * win/tkWinDefault.h
2579 * generic/tkScale.h:
2580 * generic/tkScale.c:
2581 * generic/tkWindow.c:
2582 * unix/tkUnixScale.c:
2583 * unix/tkUnixDefault.h:
2584 * unix/tkWinDefault.h:
2585 * mac/tkMacDefault.h: Objectified scale widget.
2587 * win/tkWinX.c: Removed Thread-specific data from process
2588 initialization code that was stopping the Tk Dll from
2591 1999-02-11 <stanton@GASPODE>
2595 * unix/configure.in:
2598 * win/makefile.vc: Updated version to 8.1b2.
2600 * unix/tkUnixSend.c: Fixed one more Tcl_*ObjVar instance.
2602 1999-02-04 <stanton@GASPODE>
2604 * Various cleanup related to the Tcl_Eval and Tcl_ObjSetVar
2607 INTEGRATED PATCHES FROM 8.0.5b2:
2609 * win/tkWinMenu.c (TkpDestroyMenu): Changed so modalMenuPtr is
2610 cleared when it is being destroyed.
2612 * generic/tkImgPhoto.c: Changed so color tables are freed
2613 immediately instead of being delayed. This ensures that color
2614 tables are properly disposed at process exit.
2616 * library/prolog.ps: Changed string that determines font height to
2617 include European character with an umlaut.
2619 * generic/tkImgBmap.c (ImgBmapConfigureInstance): If an image
2620 mask changed but ended up with the same XID, the GC failed to be
2621 updated and so the new mask was not used. [Bug: 970]
2623 * generic/tkFocus.c (SetFocus): Changed so focus window is always
2624 set if -force is specified. This fixes the problem on Windows
2625 where Tk does not activate the window if it already has focus.
2627 * generic/tkConsole.c: Fixed so errors in console eval are
2628 reported properly. Eliminated duplicate result messages. [Bug: 973]
2630 * win/tkWinWm.c: Changed so windows that aren't resizable don't
2631 have resize handles and the zoom box is disabled.
2634 * win/tkWinPointer.c: Changed to cancel the mouse timer when a
2635 user initiated move/resize loop begins.
2637 * unix/configure.in: TK_LD_SEARCH_FLAGS was set incorrectly if
2638 SHLIB_LD_LIBS='${LIBS}', and shared linking is performed through
2639 the C compiler. Systems affected are Linux, MP-RAS and NEXTSTEP,
2640 but also with gcc on many more systems. [Bug: 908]
2642 * win/makefile.vc: First stab at install target. Fixed quoting so
2643 paths with spaces work.
2646 * tests/unixWm.test: Better cleanup of temporary files.
2648 * mac/tkMacAppInit.c:
2650 * generic/tkAppInit.c:
2651 * win/winMain.c: Changed some EXTERN declarations to extern
2652 since they are not defining exported interfaces. This avoids
2653 generating useless declspec() attributes and makes the windows
2656 * library/menu.tcl (tkMenuFind): Changed so keyboard shortcuts
2657 will only be found in the current toplevel. Previously, they
2658 might be found in menus attached to other toplevels that might not
2659 even be mapped. [Bug: 924]
2661 * generic/tkCanvLine.c: Changed to treat zero width lines like
2662 they have width 1 for purposes of selection. [Bug: 925]
2664 * win/tkWinFont.c (Tk_MeasureChars): Added a workaround for a bug
2665 in GetTextExtentExPoint on Win NT 4.0/Japanese. [Bug: 1006]
2667 * unix/tkUnixSend.c (Tk_SetAppName): Fixed uninitialized memory
2668 access bug. [Bug: 919]
2670 1999-1-28 <stanton@GASPODE>
2672 * generic/tkGrid.c: Fixed bug in "grid forget" that failed to cancel
2673 pending idle handlers, resulting in a crash in a few odd cases.
2675 1999-01-06 <lfb@JUSTICE>
2677 * generic/tk.h, generic/tkGet.c, generic/tkConfig.c,
2678 * generic/tkOldConfig.c, generic/tkEntry.c, generic/tkMenubutton.c,
2679 * generic/tkMenubutton.h, generic/tkScale.c, generic/tkScale.h,
2680 * generic/tkTextDisplay.c, generic/tkText.c, unix/tkUnixMenubu.c,
2681 * unix/tkUnixScale.c, mac/tkMacMenu.c, mac/tkMacMenubutton.c,
2683 Removed global Tk_Uids dealing with "-state" configuration option
2684 and added new TK_CONFIG_STATE configSpec that doesn't use
2687 1998-12-11 === Tk 8.1b1 Release ===
2689 1998-12-11 <stanton@GASPODE>
2691 * generic/tkMain.c (Tk_Main): Fixed improper command line encoding
2694 1998-12-08 <stanton@GASPODE>
2696 * tkMacMenu.c, tkUnixMenu.c, tkWinMenu.c, tkMenuDraw.c, tkMenu.h,
2697 * tkMenu.c: Backed out the previous fix for bug 620 and
2698 eliminated a bunch of code that created unnecessary objects.
2699 Changed back to using internal types instead of objects for many
2700 configuration options. There are many more fixes like this that
2701 could be made, but some require a little restructuring of the
2702 code. In any case the leaks are fixed and there is a lot less
2703 allocation happening. [Bug: 620]
2705 2000-03-21 Syd Polk <spolk@cygnus.com>
2707 * configure.in: Compare to cygwin, not cygwin32.
2708 * configure: Regenerate.
2710 1999-05-24 Syd Polk <spolk@cygnus.com>
2712 * generic/tkArgv.c: Updated version string.
2714 1999-04-22 Syd Polk <spolk@cygnus.com>
2716 * unix/Makefile.in: Don't install tk.h for install-libraries.
2718 1999-03-19 Khamis Abuelkomboz <khamis@cygnus.com>
2720 * library/tkfbox.tcl (tkFDialog_OkCmd): Bug fix for double-click on
2721 a directory when multiple-mode is turned on, double-clicking a
2722 directory didn't switch to that directory.
2724 1999-03-19 Khamis Abuelkomboz <khamis@cygnus.com>
2726 * win/tkWinDialog.c (GetFileName): set the multi flag to the boolean
2727 value it was given to turn multi-selection on/off.
2729 * library/tkfbox.tcl (tkFDialog): mask list of selected files using the
2730 list command only when the string isn't empty to avoid getting "{}"
2733 1999-03-19 Khamis Abuelkomboz <khamis@cygnus.com>
2735 * library/tkfbox.tcl (tkFDialog): Corrected reference to not valid
2738 * win/tkWinDialog.c (GetFileName): set the multi flag to the boolean
2739 value it was given to turn multi-selection on/off.
2741 1999-03-18 Syd Polk <spolk@cygnus.com>
2743 * library/tkfbox.txl (tkFDialog): Fix a reference to an unknown
2746 1999-03-18 Khamis Abuelkomboz <khamis@cygnus.com>
2748 * win/tkWinDialog.c (GetFileName): When only one file is selected and
2749 multi selection is enabled, add the file using tcl_AppendElement to the
2750 result to get a list of files (here with only one file). This makes
2751 the functionality consistent to the case when multiple files are
2752 selected. This has produced a bug when only one file is selected that
2755 * library/tkfbox.tcl (tkFDialog): mask a file containing spaces using
2756 the list command when -multipl flag is set to yes.
2757 (tkFDialog_ListBrowse): likewise.
2759 1999-03-03 Syd Polk <spolk@cygnus.com>
2761 * generic/tkText.c (TextSearchCmd): Was incorrectly returning
2762 number of bytes instead of number of characters in search subcommand.
2764 1999-03-04 Syd Polk <spolk@cygnus.com>
2766 * win/tkWinMenu.c: Fixed compile error introduced by merge
2769 1999-02-28 Ian Roxborough <irox@cygnus.com>
2771 * win/tkWin3d(Tk_3DHorizontalBevel,Tk_3DVerticalBevel):
2772 Draw sunken 3D effect the same as Window95/98/NT.
2773 * win/tkWinButton: Decrease this minimum button high
2774 for a better Windowz look and feel.
2775 * win/tkWinDefault.h: Increase default button y padding.
2777 1999-02-22 Syd Polk <spolk@cygnus.com>
2779 * win/configure.in: Fix TK_LIB_FULL_PATH for cygwin build.
2780 * win/configure: Regenerate.
2782 1999-02-18 Syd Polk <spolk@cygnus.com>
2784 * win/configure.in: Set TK_SRC_DIR and export it.
2785 Set TK_LIB_FULL_PATH and export it.
2786 * win/configure: Regenerate.
2788 1999-02-09 Syd Polk <spolk@cygnus.com>
2790 * unix/configure.in: Export TK_LIB_FULL_PATH so that dependency
2791 tracking can be done.
2792 Use TCL_LIB_FULL_PATH to track dependencies.
2793 * unix/configure: Regenerate.
2794 * unix/tkConfig.sh.in: Export TK_LIB_FULL_PATH so that dependecy
2795 tracking can be done.
2796 * unix/Makefile.in: Add dependency for TCL_LIB_FULL_PATH.
2798 1998-12-31 Syd Polk <spolk@cygnus.com>
2800 * generic/tkFont.c (Tk_UnderlineTextLayout):
2801 Don't draw an underline if underline value is
2804 1998-12-30 Syd Polk <spolk@cygnus.com>
2806 * generic/tkFont.c (Tk_UnderlineTextLayout):
2807 Tk_CharBBox needs a byte offset, not a character
2810 1998-12-17 Syd Polk <spolk@cygnus.com>
2812 * win/tkWinMenu.c: (TkWinMenuHandleEvent): WM_MENUCHAR
2813 needs to index characters, not bytes, when handling the
2814 underline character.
2816 1998-12-11 Syd Polk <spolk@cygnus.com>
2818 * generic/tkMain.c (Tk_Main): All arguments except the filename
2819 on the command-line were not being translated to UTF.
2821 1998-12-10 Ian Roxborough <irox@cygnus.com>
2823 * win/tkWinDialog.c (GetFileName): Increased the buffer size in the
2824 file select dialog so that there is less change of it filling up
2825 if the user selects a lot of files.
2827 1998-12-04 Syd Polk <spolk@cygnus.com>
2829 * win/tkWinClipboard.c: The clipboard was not translating to
2830 and from the Windows character set.
2832 1998-12-03 Ian Roxborough <irox@cygnus.com>
2834 * win/tkWinInit.c: Merged in changes from WishCon.
2835 * win/tkMain.c: Merged in changes from WishCon.
2837 1998-11-18 Syd Polk <spolk@cygnus.com>
2838 * generic/tkMenu.c (ConfigureMenuCloneEntries): The parameter for
2839 the configure command when reconfiguring entries for a clone menu
2840 should have been "-menu", not "menu".
2842 1998-11-19 Ben Elliston <bje@cygnus.com>
2844 * win/tkWinWm.c: Local grabs did not exclude menus or the caption
2845 bar. `wm frame' would crash if the window had not been mapped yet.
2846 Patch obtained from the Scriptics CVS repository.
2848 * win/tkWinWindow.c: Reduce message traffic by setting
2849 WS_EX_NOPARENTNOTIFY on TkChild windows. Patch obtained from the
2850 Scriptics CVS repository.
2852 1998-11-13 Khamis Abuelkomboz <khamis@cygnus.com>
2854 * generic/tkMenu.c (MenuWidgetObjCmd): added patch for selection
2855 problem. Disabled menu entries remain disabled.
2856 (DestroyMenuEntry): added patch for memory leak.
2858 1998-11-11 Syd Polk <spolk@cygnus.com>
2860 * win/tkWinMenu.c: Merged from latest tcl8.1 source.
2862 1998-11-06 Ian Roxborough <irox@cygnus.com>
2864 * win/tkWinDialog.c (GetFileName): Add support for --multiple to
2867 1998-11-06 Syd Polk <spolk@cygnus.com>
2869 * win/tkWinMenu.c (GetEntryText): Fixed menubars and system
2870 menu character set problems.
2871 * win/tkWinWm.c: Fixed title bar text character set problems.
2873 1998-10-28 Syd Polk <spolk@cygnus.com>
2875 * win/Makefile.in: Remove prolog.ps from install
2877 1998-10-26 Syd Polk <spolk@cygnus.com>
2879 * win/Makefile.in: Change tcl directory.
2880 * win/configure.in: XINCLUDES needs be generated correctly.
2881 * win/configure: Regenerated.
2883 1998-10-23 Ben Elliston <bje@cygnus.com>
2885 * generic/tkFont.c (Tk_UnderlineChars): Count multibyte characters
2886 correctly when underlining. Contributed by Scott Stanton
2887 <stanton@scriptics.com>.
2889 1998-10-20 Syd Polk <spolk@cygnus.com>
2891 * unix/configure.in: Work with tcl8.1 directory name
2892 * unix/configure: Regenerated
2894 1998-10-04 Syd Polk <spolk@cygnus.com>
2896 * win/Makefile.in: Somehow this ended up on the main branch.
2898 1998-10-14 Syd Polk <spolk@cygnus.com>
2900 * win/Makefile.in configure.in: More work for tk 8.1 build.
2901 * win/configure: Regenerated
2902 * win/tkWinDialog.c: Added dummy -multiple option. irox will re-implement
2905 1998-09-29 Syd Polk <spolk@cygnus.com>
2907 * win/configure.in: Generate the correct version number
2908 * win/configure: Regenerated.
2909 * win/Makefile.in: Now compiles for Visual C++.
2910 * win/tkWinFont.c win/TkWinInt.h win/TkWinWm.c: Removed changing
2911 font map when system changes. 8.1 is eventually supposed to support
2912 this and the font package changed dramatically. The changes were
2913 not easy to bring forward, so we will have to do something if
2914 Tk 8.1 does not support this.
2916 1998-09-29 Syd Polk <spolk@cygnus.com>
2918 * win/configure.in: Merged from devo
2919 * win/configure: Regenerated.
2921 1998-09-28 Syd Polk <spolk@cygnus.com>
2923 * win/Makefile.in: Fixes for OBJEXT; removed hard-coded 80
2924 references; added new tk files for 8.1.
2926 Wed Aug 19 17:48:00 PDT 1998 Syd Polk <spolk@cygnus.com>
2928 * Continued 8.1 integration
2930 Mon Jul 6 18:13:02 1998 Martin M. Hunt <hunt@cygnus.com>
2932 * win/Makefile.in: Remove bad line with just "mv" on it.
2934 Mon Jul 6 15:53:35 1998 Ian Roxborough <irox@cygnus.com>
2935 * win/Makefile.in: Don't set lflags or lcommon if you're not
2936 setting OBJEXT to 'obj', (i.e. for MSVC).
2938 Sat Jul 4 16:21:25 1998 Ian Roxborough <irox@cygnus.com>
2939 * win/Makefile.in: Don't make dumpext.exe unless you're using MSVC
2940 and setting OBJEXT = obj.
2942 1998-07-03 Ben Elliston <bje@cygnus.com>
2944 Patches from Ian Roxborough <irox@cygnus.com>.
2945 * win/configure.in: Add AC_OBJEXT macro invocation.
2947 * win/configure: Regenerate.
2949 * win/Makefile.in: Don't assume object files end in `.o'.
2951 Wed Jul 1 00:11:02 1998 Khamis Abuelkomboz <khamis@cygnus.com>
2953 * unix/tkUnixDefault.h (DEF_TEXT_TAB_SIZE): new macro to define
2954 the default tab size "8".
2956 * win/tkWinDefault.h (DEF_TEXT_TAB_SIZE): new macro to define the
2957 default tab size "8".
2959 * mac/tkMacDefault.h (DEF_TEXT_TAB_SIZE): new macro to define the
2960 default tab size "8".
2962 * generic/tkTextDisp.c (NextTabStop): Added the text widget pointer
2963 as an argument for this function to read the set tab-width for
2964 the default tabulator behavior. Default is 8.
2966 * generic/tkText.c: (configSpecs) Added "-tabsize" to the option
2967 command list of the text widget. It defines the width of the
2968 default tabulator, default 8.
2970 * generic/tkText.h: added a new structur member to TkText "tabsize",
2971 it stores the tab width (default 8). "-tabs" doesn't support
2972 normal text tabulator behaviar, so we can't use it in SN.
2974 Thu Jun 18 10:27:00 1998 Syd Polk <spolk@cygnus.com>
2976 * Removed all of the files in Tk 8.1a2 not in Tk 8.0p2. They
2977 were added when the import was done.
2979 Fri Jun 12 11:48:26 1998 Mumit Khan <khan@xraylith.wisc.edu>
2981 * configure.in (*-*-mingw32*): Support.
2982 * win/Makefile.in (DLL_LDLIBS, DLL_LDFLAGS): New variables.
2983 (tkcyg.def): Ignore errors.
2984 (plugin.def): Likewise.
2985 ($(TKDLL),$(TKPLUGINDLL)): Cleanup DLL build flags and use
2986 DLL_LDLIBS and DLL_LDFLAGS.
2987 * win/configure.in (DLL_LDLIBS, DLL_LDFLAGS): Define and substitute.
2988 (TK_PATCH_LEVEL): Bump to p2.
2989 * win/tkWinPort.h (TK_READ_DATA_PENDING): Define for Mingw32.
2990 (timezone,timeval,gettimeofday): Don't define/declare for Mingw32.
2991 * win/tkWinX.c (GetCurrentTime): Define as GetTickCount if
2992 __MINGW32__ as well.
2993 * win/configure: Rebuild.
2995 Fri May 29 17:12:29 1998 Ian Lance Taylor <ian@cygnus.com>
2997 * win/Makefile.in (X11_INCLUDE_INSTALL_DIR): New variable.
2998 (install-libraries): Install X11 header files in
2999 X11_INCLUDE_INSTALL_DIR.
3000 (install-minimal): Don't create INCLUDE_INSTALL_DIR.
3001 * win/configure.in: Call AC_CANONICAL_HOST.
3002 * win/configure: Rebuild.
3004 Wed May 27 17:00:35 1998 Ian Lance Taylor <ian@cygnus.com>
3006 * library/tkfbox.tcl (tkFDialog): Save the old multiple setting,
3007 and recreate the dialog if it changes.
3009 Thu Apr 30 18:10:15 1998 Geoffrey Noer <noer@cygnus.com>
3011 * win/Makefile.in: invoke gcc instead of ld when producing
3012 dlls. Pass the linker options down via args to -Wl options.
3014 Sun Apr 26 15:45:18 1998 Khamis Abuelkomboz <khamis@mxbig.multix.de>
3016 * generic/tkCanvBmap.c (tkCreateBitmap): renamed from "CreateBitmap"
3017 to avoid conflicts with the already defined MSVC procedure.
3019 Thu Apr 23 10:09:29 1998 Tom Tromey <tromey@cygnus.com>
3021 * library/tkfbox.tcl (tkFDialog_Config): Use lindex, not join, to
3023 (tkFDialog_Config): Recognize -choosedir option.
3024 (tkFDialog_OkCmd): If -choosedir set, then don't special-case
3026 (tkFDialog_VerifyFileName): Handle -choosedir.
3027 (tkFDialog_ListBrowse): Likewise.
3029 Thu Apr 16 17:30:46 1998 Ian Lance Taylor <ian@cygnus.com>
3031 * win/tkWinButton.c (WinButton): Add pixFlags field.
3032 (TkpCreateButton): Initialize new pixFlags field.
3033 (TkpDestroyButton): Clear pixmap field if we free the pixmap.
3034 (TkpRealDisplayButton): Don't free the pixmap just because we're
3035 unmapping the window. Check pixFlags field to see if we can use
3036 the cached pixmap. Set pixFlag field if we cache the pixmap.
3037 * generic/tkButton.c (TkButtonWorldChanged): Remove Cygnus local
3038 patch; once again check whether the button is mapped before
3039 scheduling a call to TkpDisplayButton.
3040 (ButtonVarProc): Likewise.
3042 Thu Apr 16 15:59:55 MEST 1998 Khamis Abuelkomboz <khamis@multix.de>
3043 * library/tkfbox.tcl
3044 -One COMMENT: I have never seen so bad tcl/source code as how this
3045 stuped tk/filedialog is implemented!!!!!!!!!!!!!
3047 (tkIconList_Select): Include the fact that by multi-selection a file
3048 could contain blanks, so that the file is added as a list
3050 (tkFDialog): When the dialog is not new created (withdrawn) don't
3052 -Define Tracer before calling the dialog and immediatly remove
3054 -tk dialog box doesn't use dynamic array names, so it's
3055 not possible to use more than one dialog box at the same
3056 time. Other dialogs must be deleted!
3057 (tkFDialog_SetPath): Accept the fact that the variable could be bound
3058 on a already deleted widget (trace).
3060 (tkFDialog_Config): "glob" command returns a list of items, so we must
3061 join the result, this was bugy when a file has contained blanks.
3062 (tkFDialog_ActivateEnt): We can't trim a list.
3063 (tkFDialog_OkCmd): Join file name only by single selection.
3064 (tkFDialog_ListInvoke): Differ between single and multi selection by
3066 -return a list of files by multi-selection and the file itself
3067 by single-selection.
3069 Tue Apr 14 15:01:10 1998 Ian Lance Taylor <ian@cygnus.com>
3071 * generic/tkText.c (TextBlinkProc): Remove test of TkTextCharBbox,
3072 since it is a difference from standard releases, and it will never
3073 change what happens.
3075 Mon Apr 13 17:55:13 1998 Ian Lance Taylor <ian@cygnus.com>
3077 * compat/memmove.c: Remove.
3079 Thu Apr 9 15:00:47 1998 Martin M. Hunt <hunt@cygnus.com>
3081 * library/msgbox.tcl (tkMessageBox): When a default button
3082 is supplied, simply set the focus on it, don't bind <Return>.
3083 For all buttons, bind <Return> for them so the button command
3086 Tue Apr 7 20:32:40 1998 Ian Lance Taylor <ian@cygnus.com>
3088 * tests/msgbox.test: Update unknown option message for -modal
3091 Fri Mar 27 15:18:30 1998 Jeff Holcomb <jeffh@cygnus.com>
3093 * win/tkWinX.c: Added temporary define for MNC_CLOSE.
3095 Wed Mar 11 13:48:31 1998 Tom Tromey <tromey@cygnus.com>
3097 * library/entry.tcl: Only bind <Insert> when not on Windows.
3099 Sat Mar 21 21:18:06 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3101 Merged changes from Foundry (list follows in reverse chronological order)
3103 - Tom Tromey <tromey@cygnus.com>
3104 * win/tkWinWm.c (InitWm): Look for "tk" icon first in
3105 application's resources and then in Tk DLL's.
3106 * generic/tkButton.c (TkButtonWorldChanged): Don't check to see if
3107 button is unmapped before scheduling a redraw.
3108 * win/tkWinWm.c (Tk_WmCmd): In "frame" case, make window exist if
3110 * generic/tkButton.c (ButtonVarProc): Don't check to see if button
3111 is unmapped before scheduling a redraw.
3112 * win/tkWinButton.c (TkpRealDisplayButton): Destroy backing pixmap
3113 if window is unmapped.
3114 * win/tkWinWm.c (EX_TRANSIENT_STYLE): Define as 0.
3115 * win/tkWinX.c (Tk_TranslateWinEvent): Handle WM_MENUCHAR.
3116 (GenerateXEvent): Likewise.
3117 * win/tkWinWm.c (UpdateWrapper): Turn off maximize box and sizebox
3118 for non-resizable windows.
3119 * win/tkWinDialog.c (Tk_MessageBoxCmd): Don't pass
3120 MB_SETFOREGROUND for "-modal system".
3122 - Ian Lance Taylor <ian@cygnus.com>
3123 * win/Makefile.in ($(TKDLL)): Don't generate relocs for debugging
3125 * win/tkWinFont.c (Tk_MeasureChars): Free the partials array.
3126 * win/tkWinFont.c (Tk_MeasureChars): Rearrange to always use sizes
3127 from partials array, rather than size.cx.
3129 - Tom Tromey <tromey@cygnus.com>
3130 * win/tkWinMenu.c (TkWinHandleMenuEvent): Don't use height element
3131 of indicatorDimensions when computing width.
3132 * win/tkWinDialog.c: Reverted previous change. It turns out that
3133 with the change, if the user selects too many files, the list will
3134 be truncated in the middle but no error message will be returned.
3135 This makes it impossible to detect failures.
3136 * win/tkWinDialog.c (ParseFileDlgArgs): If -multiple passed, don't
3137 require files to exist. This is a hack to work around a bug in
3139 (CYG_MAX_PATH): New define.
3140 (_OpenFileData): Use CYG_MAX_PATH.
3141 (GetFileName): Likewise.
3142 * generic/tkTextDisp.c (DisplayDLine): Display cursor for disabled
3145 - Ian Lance Taylor <ian@cygnus.com>
3146 * win/tkWinFont.c (WinFont): Remove widths field.
3147 (Tk_MeasureChars): Rewrite to use GetTextExtentExPoint, and not
3148 assume that Windows doesn't do kerning, since in reality it does
3150 (AllocFont): Don't initialize widths field.
3152 - Tom Tromey <tromey@cygnus.com>
3153 * library/text.tcl (tkTextButton1): Unconditionally set the
3156 - Ian Lance Taylor <ian@cygnus.com>
3157 * win/tkWinDialog.c (Tk_MessageBoxCmd): If -modal system, pass
3158 MB_SETFOREGROUND. May or may not be useless.
3159 * generic/tkFocus.c (SetFocus): If force, then don't just return
3160 even if the desired window is already the focus window.
3161 * win/tkWinPointer.c (TkpChangeFocus): Call XSetInputFocus even if
3163 * win/tkWinWm.c (EX_TRANSIENT_STYLE): Remove WS_EX_TOOLWINDOW.
3165 Mon Jan 12 15:45:03 1997 Syd Polk <spolk@cygnus.com>
3167 * library/tkfbox.tcl (tk_getOpenFile): tk_getOpenFile would complain
3168 and behave incorrectly if the -initialdir argument had a space
3171 Wed Dec 31 12:27:25 1997 Ian Lance Taylor <ian@cygnus.com>
3173 * win/Makefile.in (install-libraries): Install the X11 header
3174 files as well as tk.h.
3176 Tue Dec 23 16:31:07 1997 Ian Lance Taylor <ian@cygnus.com>
3178 * win/Makefile.in ($(TKDLL)): Don't generate relocs for debugging
3181 Mon Nov 17 18:07:12 1997 Ian Lance Taylor <ian@cygnus.com>
3183 * win/tkWinButton.c (TkpCreateButton): Initialize pixmap field.
3184 (TkpDestroyButton): Free pixmap field.
3185 (TkpDisplayButton): Entire function moved into
3186 TkpRealDisplayButton.
3187 (TkpRealDisplayButton): New static function, from old
3189 (TkpComputeButtonGeometry): Discard any saved pixmap.
3190 (ButtonProc): Call TkpRealDisplayButton, not TkpDisplayButton.
3192 Fri Nov 14 12:24:04 1997 Ian Lance Taylor <ian@cygnus.com>
3194 * win/tkWinMenu.c (TkpDestroyMenu): Remove the menu handle from
3195 winMenuTable. Clear modalMenuPtr if we're destroying it.
3196 (TkWinHandleMenuEvent): Don't treat WM_SYSCOMMAND like
3199 * win/tkWinDialog.c (Tk_MessageBoxCmd): If -modal task, and
3200 -parent not used, pass hWnd as NULL to MessageBox.
3202 Tue Nov 11 20:07:04 1997 Ian Lance Taylor <ian@cygnus.com>
3204 * win/tkWinMenu.c (TkWinHandleMenuEvent): If TkPreprocessMenu
3205 returns an error, call Tcl_BackgroundError.
3207 Fri Nov 7 15:52:23 1997 Ian Lance Taylor <ian@cygnus.com>
3209 * win/tkWinDialog.c (Tk_MessageBoxCmd): Accept -modal option.
3210 * library/msgbox.tcl (tkMessageBox): Accept and ignore -modal
3213 Tue Oct 28 17:51:06 1997 Martin M. Hunt <hunt@cygnus.com>
3215 * generic/tkText.c: Patch text.txt from the net. Fixes
3216 Win95 selection bug.
3218 * library/dialog.tcl (tk_dialog): Two fixes from the net for
3219 Windows 95 dialogs. Patch "dialog.txt" from "Robert Embleton"
3220 <embleton@crystal.cirrus.com>
3222 Tue Oct 28 16:36:11 1997 Ian Lance Taylor <ian@cygnus.com>
3224 * Makefile.in (install-minimal): New target.
3225 * win/Makefile.in (install-minimal): New target.
3227 Thu Oct 23 12:59:18 1997 Tom Tromey <tromey@cygnus.com>
3229 * generic/tkScale.c (ConfigureScale): When setting scale value,
3230 don't cause scale to invoke command.
3232 Fri Oct 10 19:41:57 1997 Tom Tromey <tromey@cygnus.com>
3234 * xlib/X11/Xlib.h: On Windows, use a typdef for Status.
3236 * win/tkWinPort.h: Declare struct timeval.
3238 Wed Oct 8 18:33:41 1997 Jeffrey A Law (law@cygnus.com)
3240 * generic/tkText.c: Avoid ANSI-C code.
3242 Tue Oct 7 10:32:01 1997 Tom Tromey <tromey@cygnus.com>
3244 * library/button.tcl: Bind <Return> to invoke buttons on Windows.
3246 Thu Oct 2 17:05:14 1997 Ian Lance Taylor <ian@cygnus.com>
3248 * generic/tkColor.c (struct TkGCList): Define.
3249 (Tk_GetColor): Initialize gcList element.
3250 (Tk_GetColorByValue): Likewise.
3251 (TkMapOverColors): New function.
3252 (TkRegisterColorGC, TkDeregisterColorGC): New functions.
3253 (TkColorChanged): New function.
3254 * generic/tkColor.h (TkGCList): Define typedef.
3255 (TkColor): Add gcList field.
3256 (TkMapOverColors, TkColorChanged): Declare.
3257 * generic/tkGC.c: Include tkInt.h.
3258 (TkGC): Add foreground and background fields.
3259 (ValueKey): Add foreground and background fields.
3260 (Tk_GetGCColor): Rename from Tk_GetGC. Add foreground and
3261 background parameters. Register the GC with the colors.
3262 (Tk_GetGC): New function which just calls Tk_GetGCColor.
3263 (Tk_FreeGC): Deregister colors.
3264 * generic/tk.h (Tk_GetGCColor): Declare.
3265 * generic/tkInt.h (TkRegisterColorGC): Declare.
3266 (TkDeregisterColorGC): Declare.
3267 * win/tkWinColor.c (ChangeColor): New static function.
3268 (TkWinSysColorChange): New function.
3269 * win/tkWinWm.c (WmProc): Handle WM_SYSCOLORCHANGE.
3270 * win/tkWinInt.h (TkWinSysColorChange): Declare.
3271 * generic/tk3d.c: Change some calls to Tk_GetGC to call
3272 Tk_GetGCColor instead.
3273 * generic/tkButton.c: Likewise.
3274 * generic/tkCanvArc.c: Likewise.
3275 * generic/tkCanvBmap.c: Likewise.
3276 * generic/tkCanvLine.c: Likewise.
3277 * generic/tkCanvPoly.c: Likewise.
3278 * generic/tkCanvText.c: Likewise.
3279 * generic/tkCanvas.c: Likewise.
3280 * generic/tkEntry.c: Likewise.
3281 * generic/tkImgBmap.c: Likewise.
3282 * generic/tkImgPhoto.c: Likewise.
3283 * generic/tkListbox.c: Likewise.
3284 * generic/tkMenuDraw.c: Likewise.
3285 * generic/tkMenuButton.c: Likewise.
3286 * generic/tkMessage.c: Likewise.
3287 * generic/tkRectOval.c: Likewise.
3288 * generic/tkScale.c: Likewise.
3289 * generic/tkTextDisp.c: Likewise.
3291 Tue Sep 30 17:13:16 1997 Ian Lance Taylor <ian@cygnus.com>
3293 * win/tkWinPointer.c (TkWinCancelMouseTimer): New function.
3294 * win/tkWinWm.c (WmProc): Call it in WM_ENTERSIZEMOVE case.
3296 Mon Sep 15 16:29:16 PDT 1997 Khamis Abuelkomboz <khamis@cygnus.com>
3298 Added a new functionality for the editor '-synccommand'. When it es
3299 not empty, this command is called, when ever the contents in the
3300 editor is changed (insert, delete). The function is called with the
3301 same parameters how it called for the editor.
3302 This functionality is used in the new GUI for SN to be able to open
3303 more than one editor with the same file (like emacs multiple buffers).
3305 Wed Sep 10 12:56:43 1997 Ian Lance Taylor <ian@cygnus.com>
3307 * generic/tkImgPhoto.c (FreeColorTable): Add force parameter.
3309 (DisposeInstance): Force FreeColorTable to free the color table
3310 immediately, in case we are being called from TkDeleteAllImages
3313 * win/tkWinMenu.c (TkWinHandleMenuEvent): If TkInvokeMenu returns
3314 an error, call Tcl_BackgroundError.
3316 * win/Makefile.in (install-libraries): Don't try to install *.gif
3319 Mon Sep 8 17:13:49 MET DST 1997 Zsolt Koppany <zkoppany@multix.de>
3321 Deleted the second unnecessary call of XOpenDisplay().
3323 Thu Sep 4 20:07:23 1997 Ian Lance Taylor <ian@cygnus.com>
3325 * win/tkWinFont.c (nonClientMap): New static array.
3326 (TkpGetFontFromAttributes): If the font is in a magic windows-*
3327 family, use SystemParametersInfo to get the attributes.
3328 (TkWinNCMetricsChanged): New function.
3329 (FontChanged): New static function.
3330 * win/tkWinInt.h (TkWinNCMetricsChanged): Declare.
3331 * generic/tkFont.c (TkUpdateFonts): New function.
3332 * generic/tkFont.h (TkUpdateFonts): Declare.
3333 * win/tkWinWm.c (WmProc): Handle WM_SETTINGCHANGE with a wParam
3334 value of SPI_SETNONCLIENTMETRICS.
3336 Thu Sep 4 11:34:20 1997 Martin M. Hunt <hunt@cygnus.com>
3338 * library/palette.tcl (tkRecolorTree): If color isn't
3339 set don't try to apply it.
3341 * library/menu.tcl: Apply patch "menu2.txt" from patches
3344 Fri Aug 29 11:27:17 1997 Tom Tromey <tromey@cygnus.com>
3346 * library/menu.tcl (tk_popup): Use Tcl syntax for call to
3349 Thu Aug 28 15:25:31 MET DST 1997 Zsolt Koppany <zkoppany@multix.de>
3350 * generic/tkImgGIF.c
3353 Thu Aug 28 13:36:30 1997 Ian Lance Taylor <ian@cygnus.com>
3355 * testsuite/tk.tests/tk-test.exp: Permit capital letters in test
3356 case names. Try better error string handling.
3358 * generic/tkInitScript.h (initScript): Don't call pwd in a safe
3361 * library/tkfbox.tcl (tkFDialog_VerifyFileName): Only add file to
3362 selectFile using lappend if -multiple.
3363 * tests/filebox.tcl: Set the expected unknown options based on the
3366 Sun Aug 24 21:40:30 1997 Ian Lance Taylor <ian@cygnus.com>
3368 * win/Makefile.in ($(TKDLL)): Set base address to 0x66300000.
3370 Mon Aug 18 18:13:00 1997 Ian Lance Taylor <ian@cygnus.com>
3372 * win/tkWinDialog.c (GetFileName): Handle the case of a single
3373 file when OFN_ALLOWMULTISELECT is set.
3375 Fri Aug 15 19:26:39 1997 Ian Lance Taylor <ian@cygnus.com>
3377 * win/tkWinInit.c (initScript): Don't append share to [info
3378 library] (revert patch of Aug 7).
3380 Thu Aug 14 09:29:45 1997 Tom Tromey <tromey@sanguine.cygnus.com>
3382 * library/dialog.tcl (tk_dialog): Run update after setting
3383 geometry. From the net.
3385 Wed Aug 13 12:28:08 1997 Tom Tromey <tromey@sanguine.cygnus.com>
3387 * library/tkfbox.tcl (tkFDialog_VerifyFileName): Use fname and not
3388 contents of entry to compute flat, path, and file.
3390 Tue Aug 12 18:02:15 1997 Ian Lance Taylor <ian@cygnus.com>
3392 * win/rc/cygnus.ico: Change color to match other Cygnus designs.
3394 Tue Aug 12 17:37:36 MET DST 1997 Zsolt Koppany <zkoppany@multix.de>
3397 Memory leak bug fixes.
3400 TkTextRedrawRegion() should be called only if TkTextCharBbox()
3401 does not return -1, because in that case x,y and h variables
3404 Mon Aug 11 16:58:08 1997 Ian Lance Taylor <ian@cygnus.com>
3406 * configure.in: Call AC_CANONICAL_HOST. Check host, not target,
3408 * configure: Rebuild.
3410 * win/rc/cygnus.ico: New file.
3411 * win/rc/tk.rc: Replace tk.ico with cygnus.ico.
3413 Mon Aug 11 11:14:31 1997 Martin M. Hunt <hunt@cygnus.com>
3415 * generic/tk.h, generic/tkImage.c, generic/tkImgBmap.c,
3416 generic/tkImgGIF.c, generic/tkImgPhoto.c, generic/tkTest.c,
3417 generic/tkWindow.c, library/tkfbox.tcl, tests/imgPhoto.test,
3418 doc/photo.n: Two patches from Jan.Nijtmans@cmg.nl. Fixes
3419 numerous image problems including GIF transparency.
3421 Fri Aug 8 21:14:55 1997 Ian Lance Taylor <ian@cygnus.com>
3423 * win/tkWinPointer.c (TkpChangeFocus): If force is set, call
3424 SetForegroundWindow.
3426 Thu Aug 7 12:55:50 1997 Ian Lance Taylor <ian@cygnus.com>
3428 * generic/tkFrame.c (mapFrameWindow): New static variable.
3429 (mapFrameFrame): New static variable.
3430 (MapFrame): Set new variables.
3431 (TkInstallFrameMenu): Use new variables.
3433 * win/tkWinInit.c (initScript): Look under share.
3435 Wed Aug 6 23:47:01 1997 Ian Lance Taylor <ian@cygnus.com>
3437 * win/Makefile.in: Update for Tk 8.0.
3438 * win/configure.in: Likewise.
3439 * win/configure: Rebuild.
3440 * win/tkWinInt.h (TkFontAttributes): Don't use typedef if
3442 * win/tkWinPort.h (strnicmp, stricmp): Define if __CYGWIN32__.
3443 (strncasecmp, strcasecmp): Don't define if __CYGWIN32__.
3445 Tue Aug 5 14:00:53 1997 Tom Tromey <tromey@cygnus.com>
3447 * tests/all: Preserved local changes.
3448 * tests/defs: Preserved local changes.
3450 Fri Jul 25 12:42:54 1997 Stephen Peters <speters@cygnus.com>
3452 * win/tkWinDialog.c (GetFileName, ParseFileDlgArgs): Changes to
3453 let tk_getOpenFile and tk_getSaveFile deal with multi-file
3454 selections on Windows.
3455 * doc/getOpenFile.n: Add documentation for `-multiple' option.
3457 Thu Jul 24 13:12:02 1997 Stephen Peters <speters@cygnus.com>
3459 * library/tkfbox.tcl: Changes to let tk_getOpenFile take a
3460 `-multiple yes' argument and handle multi-file selections.
3462 Tue Jul 22 12:40:50 1997 Ian Lance Taylor <ian@cygnus.com>
3464 * win/Makefile.in (.c.o): Use CFLAGS.
3466 Sat Jul 12 11:28:22 MET DST 1997 Zsolt Koppany <zkoppany@multix.de>
3468 * generic/tkImgGIF.c
3469 Patch from tk8.b2 in GetCode().
3470 * generic/tkImgPhoto.c
3471 Purify UMR bug fix in AllocateColors().
3473 Wed Jul 9 14:43:57 1997 Ian Lance Taylor <ian@cygnus.com>
3475 * generic/tkMain.c: Include winuser.h if _WIN32.
3476 (Tk_Main): If _WIN32, call MessageBox on error.
3478 Fri Jul 4 13:36:03 1997 Ian Lance Taylor <ian@cygnus.com>
3480 * win/tkWinImage.c (PutPixel): Correct yet another bug.
3482 Thu Jul 3 16:00:57 1997 Ian Lance Taylor <ian@cygnus.com>
3484 * win/tkWinImage.c (PutPixel): For a depth of 16 bits, convert a
3485 24 bit truecolor value into a 16 bit truecolor value. Correct
3486 error in storing high byte. For a depth of 1 bit, correct error
3489 Thu Jun 26 14:02:03 1997 Ian Lance Taylor <ian@cygnus.com>
3491 * win/Makefile.in (WINDRES): New variable.
3492 (install-binaries): Don't install DLL here...
3493 (install-libraries): ...install it here instead.
3494 ($(TKDLL)): Depend upon and link with tkres.o.
3495 ($(WISH)): Depend upon and link with wishres.o.
3496 ($(TKTEST)): Likewise.
3497 (tkres.o, wishres.o): New targets.
3498 * win/tkWinX.c (TkWinGetTkModule): If __CYGWIN32__, use cygtkdll
3500 * win/configure.in: Define and substitute WINDRES.
3501 * win/configure: Rebuild.
3503 Tue Jun 24 11:42:06 1997 Tom Tromey <tromey@cygnus.com>
3505 * library/palette.tcl (tkRecolorTree): Properly quote color name.
3508 Mon Jun 23 10:15:56 1997 Ian Lance Taylor <ian@cygnus.com>
3510 * Makefile.in (install-binaries, install-libraries): New targets.
3512 Wed Jun 18 12:21:57 1997 Ian Lance Taylor <ian@cygnus.com>
3514 * win/Makefile.in: Copy install, install-binaries,
3515 install-libraries, and install-demos rules, and associated
3516 variables from unix/Makefile.in, with appropriate adjustments.
3518 Thu Jun 12 19:20:57 1997 Ian Lance Taylor <ian@cygnus.com>
3520 * win/Makefile.in (tkcyg.def): Don't export impure_ptr.
3522 Tue Jun 10 19:16:39 1997 Stephen Peters <speters@cygnus.com>
3524 * unix/configure.in: Use a real replacement for memmove, instead
3525 of using memcpy (which doesn't guarantee overlaps will copy
3527 * unix/configure: Rebuilt.
3528 * unix/Makefile.in: Use replacement memmove if needed.
3529 * compat/memmove.c: New file for replacing memmove.
3531 Mon Jun 9 16:26:13 1997 Ian Lance Taylor <ian@cygnus.com>
3533 * win/configure.in: Set TK_BUILD_INCLUDES.
3534 * win/configure: Rebuild.
3536 Fri Jun 6 23:43:34 1997 Ian Lance Taylor <ian@cygnus.com>
3538 Add support for building with cygwin32:
3539 * win/Makefile.in: Rewrite completely based on makefile.vc.
3540 * win/configure.in: Rewrite completely.
3541 * win/configure: Rebuild.
3542 * win/tkWin32Dll.c (_impure_ptr): Define if __CYGWIN32__.
3543 (__imp_reent_data): Declare if __CYGWIN32__.
3544 (DllMain): Initialize _impure_ptr if __CYGWIN32__.
3545 * win/tkWinX.c (GetCurrentTime): Define as GetTickCount if
3548 Thu May 22 15:49:40 1997 Ian Lance Taylor <ian@cygnus.com>
3550 * win/configure.in: Use win rather than CONFIGDIR.
3551 * win/configure: Rebuild.
3553 Fri May 9 19:07:17 1997 Zsolt Koppany <zkoppany@multix.de>
3555 * generic/tkWindow.c (GetScreen): Init metaModMask, altModMask
3558 Tue May 13 23:19:20 1997 Zsolt Koppany <zsolt@cygnus.com>
3560 * generic/tkText.c (ConfigureText): Bug fix from Ousterhout.
3562 Wed Apr 23 14:36:14 1997 Tom Tromey <tromey@cygnus.com>
3564 * library/tkfbox.tcl: Incorporated version from Tk 8.0.
3566 Tue Mar 25 23:35:02 1997 Martin M. Hunt <hunt@cygnus.com>
3568 * library/palette.tcl: Patch from kcorey@eng.sun.com
3571 Tue Mar 18 16:01:05 1997 Martin M. Hunt <hunt@cygnus.com>
3573 * generic/tkImgGIF.c: Fix GIF transparency. Patch from
3574 nijtmans@nici.kun.nl
3576 Thu Mar 13 10:42:01 1997 Tom Tromey <tromey@cygnus.com>
3578 * win/configure.in: Don't run AC_C_CROSS.
3579 (AC_CONFIG_AUX_DIR): Look in srcdir.
3581 Fri Mar 7 13:08:47 1997 Tom Tromey <tromey@cygnus.com>
3583 * Updated to Tk 4.2p2.
3585 Thu Nov 21 10:07:02 1996 Tom Tromey <tromey@cygnus.com>
3587 * generic/tkGrid.c (Tk_GridCmd): Applied fix suggested by Stephen
3590 * library/menu.tcl: Applied patch from Ousterhout.
3592 Mon Oct 14 12:17:11 1996 Tom Tromey <tromey@cygnus.com>
3594 * Makefile.in (RUNTEST): Use srcdir, not SRC_DIR.
3596 (check): Renamed from tk-check.
3598 * testsuite/config/default.exp (find_x_display): New proc.
3599 (tk_start): Use find_x_display.
3601 Mon Aug 19 12:30:51 1996 Tom Tromey <tromey@creche.cygnus.com>
3603 * testsuite/config/default.exp, testsuite/tk.tests/tk-test.exp:
3606 * Makefile.in (EXPECT, RUNTESTFLAGS, RUNTEST): New variables.
3607 (tk-check): New target.
3609 * tests/all: Look for tests in srcdir.
3610 * tests/defs: Set srcdir if not already set.
3612 Thu Aug 15 12:50:47 1996 Tom Tromey <tromey@creche.cygnus.com>
3614 * generic/tkArgv.c (defaultTable): Added -version.
3615 (Tk_ParseArgv): Handle -version option.
3616 * generic/tk.h (TK_ARGV_VERSION): New define.
3618 Mon Aug 5 10:47:09 1996 Tom Tromey <tromey@creche.cygnus.com>
3620 * Makefile.in (configure): Don't depend on configure.in.
3621 (config.status): Depend on configure.
3623 Wed Jun 26 12:51:43 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3625 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
3626 * configure: Rebuilt.
3628 Mon May 6 09:45:20 1996 Tom Tromey <tromey@lisa.cygnus.com>
3630 * generic/tkMain.c (Tk_Main): Exit after printing version number.
3632 Tue Apr 30 13:40:04 1996 Tom Tromey <tromey@snuffle.cygnus.com>
3634 * generic/tkMain.c (Tk_Main): Removed "-inet-1.0".
3636 Mon Apr 29 17:43:15 1996 Tom Tromey <tromey@snuffle.cygnus.com>
3638 * generic/tkMain.c (argTable): Added -version.
3639 (Tk_Main): Handle -version.
3641 Thu Mar 7 10:08:57 1996 Tom Tromey <tromey@creche.cygnus.com>
3643 * Makefile.in (config.status): Depend on nothing.
3645 Wed Mar 6 19:07:38 1996 Tom Tromey <tromey@creche.cygnus.com>
3647 * Makefile.in (Makefile): Removed redundant target.
3649 Thu Feb 29 21:32:44 1996 Fred Fish <fnf@cygnus.com>
3651 * Makefile.in (srcdir): Add macro.
3652 (configure): Run autoconf in source dir, not build dir.
3654 Thu Feb 29 14:59:03 1996 Tom Tromey <tromey@creche.cygnus.com>
3656 * Makefile.in (Makefile): New rule.
3657 (config.status): New rule.
3659 Wed Jan 24 09:42:29 1996 Tom Tromey <tromey@creche.cygnus.com>
3661 * Makefile.in: Replaced realclean with maintainer-clean.
3663 Fri Jan 12 11:00:06 1996 Tom Tromey <tromey@creche.cygnus.com>
3665 * library/tclIndex: Removed all references to console.tcl.
3668 * library/console.tcl (tkConsoleInvoke): Use "interp eval" with
3669 history command, not nonexistent "interp record" command.
3670 (tkConsoleHistory, tkConsolePrompt): Include pathname argument to
3673 Wed Jan 10 12:49:00 1996 Tom Tromey <tromey@creche.cygnus.com>
3675 * configure.in, configure, Makefile.in, README.configure: New
3678 * Tk: Updated to Tk4.1a2. Entries after this line mostly likely
3679 apply to files in some subdirectory.
3681 Tue Dec 19 18:32:36 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
3683 * Makefile.in (check, installcheck): New null rules.
3685 Wed Oct 25 20:12:01 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
3687 * Makefile.in (prefix, exec_prefix): Set to @prefix@ and
3688 @exec_prefix@, so configure can substitute them properly.
3690 Tue Oct 24 18:49:59 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3692 * Makefile.in (X11_INCLUDES, X11_LIB_SWITCHES): switch to
3693 X11_CFLAGS, X11_LDFLAGS and X11_LIBS.
3694 (CC_SWITCHES): Use X11_CFLAGS.
3696 * configure.in: Statically link X libraries on Solaris, SunOS,
3699 Tue Oct 10 14:33:17 1995 Stu Grossman (grossman@cygnus.com)
3701 * tkConfig.c (Tk_ConfigureInfo), tkSelect.c (HandleTclCommand
3702 LostSelection): Use free() instead of TCL_DYNAMIC in
3703 interp->freeProc to prevent crashes. Apparantly tcl7.4 changed
3704 the result protocol around slightly.
3706 Sat Sep 30 09:39:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3708 * configure.in: Upgraded to autoconf v2, removed cruft which did a poor
3709 job of finding X location in favor of AC_PATH_X.
3710 * configure: Regenerated.
3712 Sun Aug 20 00:15:51 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3714 * tkMain.c: make tcl_RcFileName defn an extern so it doesn't
3715 conflict with the one in the new tcl/tclBasic.c.
3717 Mon Jun 12 17:09:28 1995 Stu Grossman (grossman@cygnus.com)
3719 * configure: Ignore --cache-file option instead of bombing out.
3721 Mon Dec 12 12:17:16 1994 Stu Grossman (grossman@cygnus.com)
3723 * tkConfig.h: Don't use prototype for select. This allows HPUX
3726 Tue Oct 18 12:41:49 1994 Jim Wilson (wilson@chestnut.cygnus.com)
3728 * Makefile.in (CC_SWITCHES): Add X11_INCLUDE_FLAGS.