summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
|
* * library/bgerror.tcl: Added check for withdrawn state of . andericm2000-04-101-1/+16
| | | | | | | unsetting of transient bit for .bgerrorDialog if . is not viewable; this protects against the application hanging on systems like Windows, where transient windows are withdrawn with their parents. [Bug: 4370].
* * tests/event.test: Added test for [event generate $widgetericm2000-04-1010-29/+71
| | | | | | | | | | | | | | | | | | | | | | | | <Alt-z>] [Bug: 4611]. * tests/choosedir.test: Changed "namespace import ::tcltest" to "namespace import -force ::tcltest". * win/tkWinKey.c: * unix/tkUnixKey.c: * mac/tkMacKeyboard.c: Changed InitKeymapInfo to TkpInitKeymapInfo. [Bug: 4611]. * generic/tkStubInit.c: * generic/tkIntDecls.h: Re-gen'd from tkInt.decls. * generic/tkInt.decls: Added TkpInitKeymapInfo to list of function decls. * generic/tkBind.c (HandleEventGenerate): Added code to initialize keymap info if necessary, and to correctly set modifier bits in XEvent structure create to handle [event generate] calls. Previously, the alt/meta bits were not set correctly, so [event generate $widget <Alt-z>] would always fail. [Bug: 4611]
* * tests/winDialog.test: removed knownBug constraint from 5.16hobbs2000-04-081-2/+2
|
* * library/safetk.tcl (disallowTk): made disallowTk work in thehobbs2000-04-082-7/+16
| | | | | | | simple case. * library/comdlg.tcl (tkFocusGroup_In): fixed key navigation problems in dialogs under CDE [Bug: 2960]
* * generic/tkGrid.c (InitMasterData): fixed uninit'd data inhobbs2000-04-081-3/+3
| | | | GridMaster struct [Bug: 4387]
* * win/makefile.vc (TKTEST_OBJS):hobbs2000-04-082-6/+13
| | | | | * win/Makefile.in (TKTEST_OBJS): moved tkWinTest.c from normal objs to TKTEST_OBJS where it belonged.
* * 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-072-8/+19
| | | | LC_FACESIZE limitation for NT. [Bug: 4931]
* * unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandirhobbs2000-04-041-2/+2
| | | | correctly [Bug: 4085]
* * library/clrpick.tcl (tkColorDialog_Config): error now thrownhobbs2000-04-041-16/+14
| | | | when -initialcolor "" specified. [Bug: 4198]
* * generic/tkTest.c: fixed incorrect platform inclusion forhobbs2000-04-041-4/+3
| | | | TkplatformtestInit (it would never get called).
* * 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]
* * win/tkWinDialog.c: added unicode-aware open/save file dialogshobbs2000-03-319-208/+423
| | | | | | | | | | | | | | | | | | | | | | | * 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]
* * library/menu.tcl (tkMenuInvoke): corrected naming of tearoffshobbs2000-03-314-18/+18
| | | | | | | | [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.
* * generic/tkEntry.c: set TK_OPTION_NULL_OK bit on -invcmd optionhobbs2000-03-311-52/+5
| | | | and removed #ifdef ENTRY_VALIDATE expressions
* * doc/DrawFocHlt.3: doc name correctionhobbs2000-03-311-2/+2
|
* * 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-302-5/+18
| | | | | compile problems with non-ANSI compilers (ie, replace const with CONST, etc). [Bug: 4223].
* * unix/configure.in: Applied patch from [Bug: 4237]; ensures thatericm2000-03-302-4/+12
| | | | | | | | srcdir is fully qualified. * unix/Makefile.in: Applied patch from [Bug: 4237]; if tcltest was not compiled, make test/tktest failed. Now it has a rule to build tcltest if it has not been built.
* * library/tkfbox.tcl: Moved an overlooked tkFDialog* function inscriptics_sc_2_0_fixedscriptics_sc_2_0_b5ericm2000-03-295-20/+61
| | | | | | | | | | | | | | ::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].
* * unix/tkUnixWm.c: Applied patch from [Bug: 4405]; fixes memoryericm2000-03-271-1/+13
| | | | leak in Unix wm command.