summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * unix/mkLinks:ericm2000-04-253-0/+76
| | | | * doc/Grab.3: Man page for Tk_Grab and Tk_Ungrab [Bug: 1868, 1889]
* * unix/mkLinks:ericm2000-04-253-6/+28
| | | | * doc/MainWin.3: Added entry for Tk_GetNumMainWindows [Bug: 1865].
* * unix/mkLinks:ericm2000-04-252-0/+29
| | | | * doc/GetHINSTANCE.3: Man page for Tk_GetHINSTANCE [Bug: 1862].
* * generic/tkImage.c (Tk_PostscriptImage): added check to createhobbs2000-04-257-25/+582
| | | | | | | | | | | 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
* * generic/tkConfig.c (DoObjConfig): removed direct setting ofhobbs2000-04-251-2/+4
| | | | interp->result.
* * mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel inhobbs2000-04-251-2/+2
| | | | | colormapwindows case (bug found by Reasoning, Inc's automated code testing).
* * unix/mkLinks:ericm2000-04-243-0/+39
| | | | * doc/GetHWND.3: Man page for Tk_GetHWND [Bug: 1863].
* * unix/mkLinks:ericm2000-04-242-0/+34
| | | | * doc/HWNDToWindow.3: Man page for Tk_HWNDToWindow [Bug: 1869].
* * unix/mkLinks:ericm2000-04-243-12/+94
| | | | * doc/AddOption.3: Man page for Tk_AddOption [Bug: 1854]
* 2000-04-22 Jim Ingham <jingham@cygnus.com> * mac/tkMacDialog.c ↵jingham2000-04-234-26/+74
| | | | (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
|
* * win/aclocal.m4: made SC_PROG_TCLSH search specifically forhobbs2000-04-212-10/+16
| | | | | | tclsh*.exe type files to find an executable. * win/Makefile.in: fixed up cleanup, winhelp, cat32 targets
* * library/console.tcl: made console use systemfixed font on Winhobbs2000-04-211-4/+9
|
* * generic/tkEntry.c: removed unnecessary ENTRY_VALIDATE #definehobbs2000-04-211-59/+57
|
* * library/choosedir.tcl (::tk::dialog::file::chooseDir::Config):hobbs2000-04-194-306/+303
| | | | | | | | | * 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
* * doc/WinViewable.3:ericm2000-04-198-96/+21
| | | | | | | | | | | | | * unix/mkLinks: Removed docs for Tk_IsViewable. * win/tkWinDialog.c: Removed calls to Tk_IsViewable. * generic/tkUtil.c: * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tkCmds.c: * generic/tk.decls: Removed Tk_IsViewable function (it was not actually needed).
* * generic/tkRectOval.c (ConfigureRectOval): Added checks for validericm2000-04-192-3/+18
| | | | | | 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-198-195/+48
| | | | | | | | | | | | | * 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-195-41/+69
| | | | | | | | | | | | | | | | 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-184-4/+11
| | | | | | * win/wish.rc: * win/wish.ico: Modified copyright dates in Windows resource files. Updated the icon for wish.exe.
* * win/tkWinDialog.c: Added checks for visibility of parent windowericm2000-04-1812-61/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | before creating MessageBox and ChooseColor dialogs; this prevents the application from locking when the parent is withdrawn and the message box is created. In these cases, the window will be created without a parent. * unix/mkLinks: Added WinViewable.3. * tests/msgbox.test: Added tests for patch from [Bug: 4997]. * library/msgbox.tcl: * library/dialog.tcl: Applied patch from [Bug: 4997]; detaches dialog window from parent if parent is not viewable. * library/bgerror.tcl: Removed workaround from [Bug: 4370]; this is superceeded by patches to dialog.tcl. * generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable function to determine visibility of windows instead of inlining the code. * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: Added Tk_IsViewable declaration.
* * library/text.tcl: Tweaked double-/triple-click selection;ericm2000-04-172-7/+25
| | | | | | | | | 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-173-4/+36
| | | | | | | | | 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-172-2/+19
|
* * generic/tkGrid.c: Fixed bogus logic in [grid propagate] thatericm2000-04-171-2/+9
| | | | | caused [grid propagate . 0] to act as a toggle instead of an absolute set. [Bug: 2286].
* * win/tkWinColor.c (FindSystemColor): correct calculation ofhobbs2000-04-172-31/+39
| | | | colors when shifting value. [Bug: 4919]
* *** empty log message ***jingham2000-04-171-0/+19
|
* Protect GenerateKeyEvent from a null tkwin.jingham2000-04-171-1/+5
|
* Don't worry, this file is not used yet...jingham2000-04-171-12/+175
|
* Protect the define of strncasecmp, it IS present in MSL from CW Pro 5.jingham2000-04-171-2/+5
|
* Add FIXME comment XKeySymToKeyCode needs to be implemented, since it is used ↵jingham2000-04-171-1/+3
| | | | in event generate.
* Add Navigation Services support.jingham2000-04-171-135/+716
|
* Hide button window BEHIND all the others in the applicationjingham2000-04-171-6/+67
|
* clarified internal commentshobbs2000-04-151-2/+2
|
* * win/tkWinWm.c (WmProc): added check in WM_MOUSEACTIVATE so wehobbs2000-04-152-3/+16
| | | | | 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-152-2/+35
| | | | | KeycodeToKeysym, to fix [Bug: 5090]. See comment in code for more information.
* * generic/ks_names.h: Added Scroll_Lock and Sys_Req definitions.ericm2000-04-152-747/+714
| | | | | | | * win/tkWinKey.c: Changed implementation of KeycodeToKeysym, et. al., to use a keycode table for lookups; this will result in faster keycode -> keysym translations for non-ASCII keys like Control, Alt, etc.
* * unix/tkUnixScale.c:hobbs2000-04-142-194/+83
| | | | | | | | | | * mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue) to tkScale.c. Caused an associated variable to be immediately set [Bug: 4833] * 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]
* * tests/winDialog.test: tk_chooseDirectory seems to get a noophobbs2000-04-142-39/+40
| | | | | | | from GetOpenFileName in the static build, hanging some tests. The tests were fixed to timeout (noop cause unknown). * tests/scale.test: correct 17.1 WRT bug 4833
* * mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue)hobbs2000-04-141-178/+16
| | | | | to tkScale.c. Caused an associated variable to be immediately set [Bug: 4833]
* * library/scale.tcl (tkScaleActivate): reduced number of scalehobbs2000-04-141-4/+6
| | | | | redisplays by checking current value of state before setting it again. [Bug: 4191]
* * generic/tkCanvas.c (CanvasEventProc:2451): corrected casthobbs2000-04-144-149/+339
| | | | | | | | | | | | | * 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]
* * 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-144-719/+753
| | | | | | | | 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-132-88/+89
| | | | | | | 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-133-48/+135
| | | | | | | | * 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-132-10/+41
| | | | for NULL tkwin in Tk_CanvasEventuallyRedraw.
* * test/winClipboard.test:hobbs2000-04-126-25/+105
| | | | | | | | | | | | * win/tkWinInt.h: * win/tkWinClipboard.c (UpdateClipboard): * win/tkWinX.c (GenerateXEvent): added updatingClipboard tsd and TkWinUpdatingClipboard accessor function to allow us to flag ourselves when we are the ones updating the clipboard. This corrected inability to create our own clipboard types within a Tk application. [Bug: 2338 4318] * win/tkWinTest.c (TestclipboardCmd): improved TestclipboardCmd with better error handling and obj'ification
* * library/bgerror.tcl: Moved check for withdrawn state after checkericm2000-04-111-16/+16
| | | | for tkerror; this was causing problems when tkerror was used.
* ChangeLog commit.ericm2000-04-101-0/+31
|