summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* updated changes for 8.3.2 releasecore_8_3_2hobbs2000-08-081-2/+8
|
* * BACKPORTED FROM 8.4 (HEAD) BRANCH:hobbs2000-08-051-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/button.test: * generic/tkButton.c: Added -activeforeground, -activebackground for labels, for the -state option. * doc/label.n: Added -disabledforeground to list of options [Bug: 6053]. * tests/focus.test (focusSetupAlt): removed wm withdraw from proc as it would cause a hang for tkwait visibility * tests/menu.test: * generic/tk3d.c: * generic/tkColor.c: * generic/tkCursor.c: corrected handling of 3DBorder, Cursor and Color objects on multiple screens. [Bug: 5454] * generic/tkCursor.c: Added initialization for nextPtr field of TkCursor, patch from Nijtmans/Howlett. * canvas.test: added test for 5783. * generic/tkCanvPoly.c (DisplayPolygon): added checks for the polygon fillGC not being empty to prevent segfault. [Bug: 5783] * generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a problem with the GIF writing code [Bug: 5823]. * generic/tkImgGIF.c: Changed defines for GIF87a/GIF89a to be static char arrays with integer initialization, to address EBCIDIC vs. ASCII encoding issues and to handle compilers that don't deal with "\xAB" syntax for specifying hex values in strings. * generic/tkMenu.c (DeleteMenuCloneEntries): Applied fix from [Bug: 5275], which corrected a segfault-causing indexing problem when deleting entries from torn-off menus. * generic/tkPlace.c (Tk_PlaceCmd): reworked place master/slave table init'n to prevent seg fault when using place on multiple displays. * tests/text.test: Added tests for -regexp -nocase searches with backslash character classes. * tests/text.test: Added tests for searching when text is elided. * generic/tkText.c (TextSearchCmd): Text search did not work properly when -regexp and -nocase were used, in combination with backslash character classes represented by capital letters (ie, \W, \M); altered implementation of -regexp -nocase searches to use new regexp interfaces to fix this problem. [Bug: 5988]. * generic/tkText.c (TextSearchCmd): Text search was not returning the correct index when the search covered (but did not search) elided characters; corrected this by adjusting the match index by the number of elided characters preceeding the start of the match, just as is done with embedded windows, etc. [Bug: 5470]. * generic/tkText.c (TextSearchCmd): Added a test for a NULL segment pointer when doing backwards searches for "" on an empty text widget. [Bug: 6007]. * library/focus.tcl: fixed calling of takeFocus proc [Bug: 5372] * win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit for disabled menu entries, to ensure that those which are drawn by the system are shown grayed (such as entries on menubars) [Bug: 4372]. * win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add the MF_SEPARATOR bit for SEPARATOR_ENTRY menu items. This causes separator entries on the system menu to be drawn correctly [Bug: 5451]. * win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height requested for separator bars to be (linespace - (2*descent)) instead of just (linespace); this makes the separator occupy a more correct amount of vertical space. [Bug: 5303].
* *** empty log message ***welch2000-07-311-0/+6
|
* * win/Makefile.in:mo2000-07-281-0/+8
| | | | | | | * win/aclocal.m4: * win/configure.in: * win/tcl.m4: Back port of gcc for windows build system from 8.4.
* * unix/configure.in (TK_PATCH_LEVEL): updated to 8.3.2hobbs2000-07-271-0/+8
| | | | | | | * unix/tk.spec: * win/configure.in: * generic/tk.h: * README:
* *** empty log message ***welch2000-07-231-0/+5
|
* *** empty log message ***welch2000-07-111-0/+5
|
* see changesajuba_ajuba2_2_0hobbs2000-05-161-0/+5
|
* added TK_DONT_DESTROY_WINDOW flag to check in RaiseWinWhenIdle tohobbs2000-05-121-18/+0
| | | | prevent timing sensitive crash
* * doc/Tk_Init.3: Added Tk_SafeInit information [Bug: 1884].ericm2000-04-281-0/+2
| | | | * doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].
* * doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].ericm2000-04-271-0/+16
| | | | | | | | | | | | | | * doc/colors.n: Man page enumerating valid color names [RFE: 1645]. * doc/cursors.n: Man page enumerating valid cursor values [RFE: 1645]. * library/msgbox.tcl: Corrected Unix tk_messageBox implementation to make the first button the default when no default is specified [Bug: 2218]. * doc/messageBox.n: Updated documentation with regards to selection of default button when none is specified (now it will use the first button as the default in that case) [Bug: 2218].
* * README:core_8_3_1hobbs2000-04-261-1/+9
| | | | | | | * mac/README: * unix/README: * unix/tk.spec: * win/README: Updating URLs to reference dev.scriptics.com
* updated for 8.3.1 releasehobbs2000-04-261-0/+2
|
* * unix/Makefile.in:hobbs2000-04-251-0/+5
| | | | * win/Makefile.in: makefile cleanup
* * generic/tkMain.c: Fixed function header comment for Tk_MainEx.ericm2000-04-251-0/+8
| | | | | | * unix/mkLinks: * doc/GetScroll.3: Added information about Tk_GetScrollInfoObj [Bug: 1866].
* * unix/mkLinks:ericm2000-04-251-0/+3
| | | | * doc/Grab.3: Man page for Tk_Grab and Tk_Ungrab [Bug: 1868, 1889]
* * unix/mkLinks:ericm2000-04-251-0/+8
| | | | * doc/MainWin.3: Added entry for Tk_GetNumMainWindows [Bug: 1865].
* * generic/tkImage.c (Tk_PostscriptImage): added check to createhobbs2000-04-251-16/+35
| | | | | | | | | | | necessary prolog for photos * generic/tkCanvPs.c: added Tk_PostscriptPhoto that outputs PS for photo images * generic/tkImgPhoto.c: new func ImgPhotoPostscript and added that in as ps proc in tkPhotoImageType. * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: added Tk_PostscriptPhoto
* * unix/mkLinks:ericm2000-04-241-0/+6
| | | | * doc/GetHWND.3: Man page for Tk_GetHWND [Bug: 1863].
* * unix/mkLinks:ericm2000-04-241-12/+30
| | | | * doc/AddOption.3: Man page for Tk_AddOption [Bug: 1854]
* 2000-04-22 Jim Ingham <jingham@cygnus.com> * mac/tkMacDialog.c ↵jingham2000-04-231-0/+17
| | | | (Tk_MacGetOpenFile): Add empty bodies for the "-initialfile" and "-defaultextension" options. * mac/tkMacDialog.c (NavServicesGetFile): Only cons the result up into a list if multiple is true. * mac/tkMacMenus.c (SourceDialog): Use the "tk_getOpenFile" instead of hand-coding the dialog with StandardGetFile. This way we get the Navigation dialogs for free. * doc/getOpenFile.n: Document the -multiple and -message flags which are only implemented on the Mac. Also note that the -title works on the Mac with Nav Services installed.
* see changeshobbs2000-04-211-0/+11
|
* * library/choosedir.tcl (::tk::dialog::file::chooseDir::Config):hobbs2000-04-191-0/+8
| | | | | | | | | * library/tkfbox.tcl (::tk::dialog::file::Config): removed the extraneous glob on -initialdir after file isdir already returned 1 and moved cd trick into this case as the else already uses [pwd]. [Bug: 5181] * win/winMain.c: moved extern call out of WinMain func
* * generic/tkRectOval.c (ConfigureRectOval): Added checks for validericm2000-04-191-0/+7
| | | | | | outline settings before creating of outline GC; this means that it is really possible now to have an oval or rectangle with no outline. [Bug: 5029].
* * README:hobbs2000-04-191-0/+14
| | | | | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: bumped to version 8.3.1 * library/msgbox.tcl (tkMessageBox): changed to use grid in some places, realign icon to anchor nw. * mac/tkMacScale.c: reverted tkMacScale.c to 1.5 equivalent (it was accidentally bumped forward).
* * win/tkWinPointer.c: Changed Mod2Mask in TkWinGetModifierState toericm2000-04-191-1/+45
| | | | | | | | | | | | | | | | ALT_MASK, to fix some event problems [Bugs: 1160, 5088]. * win/tkWinX.c: Changed Mod2Mask in GetState to ALT_MASK, to fix some event problems [Bugs: 1160, 5088]. * generic/tkInt.h: Moved definition of ALT_MASK and META_MASK here so that it would be accessible from other modules than tkBind.c. * generic/tkBind.c: Added code in BindEvent to check for ALT_MASK and META_MASK in the event state field, as this field may not be set up with the correct display modifier mask bits if the XEvent structure was created by [event generate] or by the Windows X emulation. [Bugs: 1160, 5088].
* * win/tk.rc:redman2000-04-181-0/+7
| | | | | | * win/wish.rc: * win/wish.ico: Modified copyright dates in Windows resource files. Updated the icon for wish.exe.
* * library/text.tcl: Tweaked double-/triple-click selection;ericm2000-04-171-0/+8
| | | | | | | | | previously, anchor and insert marks were placed in unexpected locations following a double or triple click. Now they are placed logically. Also tweaked the extension of selection via shift-double-clicks so that it no longer selects the contiguous whitespace on the side of the selection opposite the double-click. [RFE: 4253].
* * doc/menu.n: Added note regarding rendering ofericm2000-04-171-0/+8
| | | | | | | | | checkbuttons/radiobuttons in menubars on different platforms -- some systems do not draw indicators for check/radiobuttons in menubars. * library/menu.tcl: Corrected behavior of checkbuttons/commands/radiobuttons in menubars [Bug: 630].
* * tests/grid.test: Added test for [grid propagate . 0] to not toggle.ericm2000-04-171-0/+8
|
* * win/tkWinColor.c (FindSystemColor): correct calculation ofhobbs2000-04-171-17/+24
| | | | colors when shifting value. [Bug: 4919]
* *** empty log message ***jingham2000-04-171-0/+19
|
* * win/tkWinWm.c (WmProc): added check in WM_MOUSEACTIVATE so wehobbs2000-04-151-0/+4
| | | | | correctly activate native menus when clicking in when we didn't have focus [Bug: 2272]
* * win/tkWinKey.c: Added check for ASCII delete character inericm2000-04-151-0/+13
| | | | | KeycodeToKeysym, to fix [Bug: 5090]. See comment in code for more information.
* * generic/tkCanvas.c (CanvasEventProc:2451): corrected casthobbs2000-04-141-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkEntry.c (Tk_EntryObjCmd): adjusted finishing error cases and changed TK_CONFIG_NULL_OK to TK_OPTION_NULL_OK * tests/scale.test: * generic/tkScale.c: * generic/tkScale.h: * unix/tkUnixScale.c: * mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue) to tkScale.c. Caused an associated variable to be immediately set [Bug: 4833] * library/scale.tcl (tkScaleActivate): reduced number of scale redisplays by checking current value of state before setting it again. [Bug: 4191] * tests/winDialog.test: tk_chooseDirectory seems to get a noop from GetOpenFileName in the static build, hanging some tests. The tests were fixed to timeout (noop cause unknown). * unix/aclocal.m4 (SC_ENABLE_THREADS): enhanced the detection of pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added --enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
* * win/tkWinKey.c: Added smarts to check whether the left or rightericm2000-04-141-0/+3
| | | | | | | | Control, Shift, or Alt key was pressed. [Bug: 870]. * win/tkWin3d.c: * unix/tkUnix3d.c: Tweaked threshhold for using different highlight computation.
* * win/tkWinMenu.c: Corrected code that created separator items onericm2000-04-131-0/+6
| | | | | | | menus; originally, it requested that the system be responsible for drawing those items, so it would ignore configuration items like the widget background. Now, we draw the separators ourselves (as we do with every other kind of menu item already). [Bug: 1166].
* * win/tkWin3d.c:ericm2000-04-131-0/+7
| | | | | | | | * unix/tkUnix3d.c: Applied patch from [RFE: 2501]: adds more sophisticated smarts to TkpGetShadows, so that the highlight of a very bright color is actually distinguishable from the color, and the shadow of a very dark color is similarly distinguishable from the color.
* * generic/tkCanvas.c: Applied patch from [Bug: 4202]; adds a checkericm2000-04-131-0/+23
| | | | for NULL tkwin in Tk_CanvasEventuallyRedraw.
* ChangeLog commit.ericm2000-04-101-0/+31
|
* * generic/tkGrid.c (InitMasterData): fixed uninit'd data inhobbs2000-04-081-1/+16
| | | | | | | | | | | | | | | | | | | GridMaster struct [Bug: 4387] * library/safetk.tcl (disallowTk): made disallowTk work in the simple case. * library/comdlg.tcl (tkFocusGroup_In): fixed key navigation problems in dialogs under CDE [Bug: 2960] * tests/winDialog.test: removed knownBug constraint from 5.16 * win/tkWinFont.c (GetScreenFont): corrected adjustment against LC_FACESIZE limitation for NT [Bug: 4931] * win/makefile.vc (TKTEST_OBJS): * win/Makefile.in (TKTEST_OBJS): moved tkWinTest.c from normal objs to TKTEST_OBJS where it belonged.
* * win/tkWinFont.c (GetScreenFont): corrected adjustment againsthobbs2000-04-071-0/+5
| | | | LC_FACESIZE limitation for NT. [Bug: 4931]
* * generic/tkTest.c: fixed incorrect platform inclusion forhobbs2000-04-041-0/+11
| | | | | | | | | | TkplatformtestInit (it would never get called). * unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir correctly [Bug: 4085] * library/clrpick.tcl (tkColorDialog_Config): error now thrown when -initialcolor "" specified. [Bug: 4198]
* * doc/DrawFocHlt.3: doc name correctionhobbs2000-03-311-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkEntry.c: set TK_OPTION_NULL_OK bit on -invcmd option and removed #ifdef ENTRY_VALIDATE expressions * library/menu.tcl (tkMenuInvoke): corrected naming of tearoffs [Bug: 4506] * library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be called in tkIconList_Select. This causes the entry to be set properly when using the type-in-name-in-listbox bindings. * win/tkWinDialog.c: added unicode-aware open/save file dialogs * win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId to TkWinGetPlatformId * win/tkWinMenu.c (SetDefaults): moved private use of versionInfo to TkWinGetPlatformId and removed all code for (versionInfo.dwMajorVersion < 4) (== Win32s) * win/tkWinX.c: * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its called for static Windows shells. [Bug: 3647] * win/tkWinInt.h: * win/tkWinX.c: * win/tkWinDraw.c (SetUpGraphicsPort): * win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s * win/tkWinInt.h (TkWinDCState struct): added bkmode value * win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for properly transparent dashed lines on Windows. [Bug: 4617]
* * generic/tkImgGIF.c: Fixed some ANSI specific bits to avoidericm2000-03-301-0/+13
| | | | | compile problems with non-ANSI compilers (ie, replace const with CONST, etc). [Bug: 4223].
* * library/tkfbox.tcl: Moved an overlooked tkFDialog* function inscriptics_sc_2_0_fixedscriptics_sc_2_0_b5ericm2000-03-291-0/+20
| | | | | | | | | | | | | | ::tk::dialog::file namespace. * tests/unixWm.test: Added tests for memory leak conditions in tkUnixWm.c. * tests/canvas.test: Added test for bad configuration options on empty and non-empty canvas. * generic/tkCanvas.c: Removed bad code in CANV_CONFIGURE block of CanvasWidgetCmd; this was causing non-empty canvases to improperly handle bad configuration options [Bug: 4456].
* * tests/filebox.test:ericm2000-03-241-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | * tests/choosedir.test: Updated tests. * library/xmfbox.tcl: Updated to stash data array in ::tk::dialog::file namespace instead of in global namespace. * library/tkfbox.tcl: Extended some functions to support creation of a choosedir dialog, to allow greater code reuse between the two dialogs. Moved tkFDialog* functions into a namespace (::tk::dialog::file). Because these are private Tk functions (and should thus not be used directly by users), this should not impact anybody (the tk_getOpenFile and tk_getSaveFile commands still exist at the global scope). * library/tk.tcl: * library/tclIndex: Updated function names for tkFDialog* functions and choosedir functions. * library/choosedir.tcl: New and improved implementation of tk_chooseDirectory dialog. Based on tk_getOpenFile dialog. * library/listbox.tcl: (tkListboxCancel) Added a check for empty string value for tkPriv(listboxPrev). Without this check, it's possible to get a stack trace under certain conditions. [Bug: 4373].
* *** empty log message ***scriptics_sc_2_0_b2scriptics_sc_2_0_b1sven2000-03-161-0/+9
|
* * library/menu.tcl: Applied patch from [Bug: 4155]; protectsericm2000-03-101-0/+11
| | | | against grabs on non-viewable windows.
* * tests/button.test:ericm2000-03-081-0/+13
| | | | * generic/tkButton.c: Added -disabledforeground/-state to labels.