summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* matched to the Tcl one. build option 'linkexten' renamed to 'staticpkg'.davygrvy2003-02-141-6/+7
|
* matched to the Tcl one.davygrvy2003-02-141-6/+19
|
* Added language to describe the handling of the end-of-file character Kevin B Kenny2003-02-132-4/+19
| | | | \u001a in a script file. [Bug 685505]
* 2003-02-10 Jim Ingham <jingham@apple.com>wolfsuit2003-02-114-34/+108
| | | | | | | | | | | * macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme cursors using SetThemeCursor or SetAnimatedThemeCursors. (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc. Allow animatedCursor{NUM} form for an animated cursor with count. (TkpSetCursor): Don't reset the cursor if there is no change. * macosx/tkMacOSXMouseEvent.c (GeneratePollingEvents): Don't directly call TkMacOSXInstallCursor, it gets called by the call to Tk_UpdatePointer immediately above.
* 2003-02-10 Jim Ingham <jingham@apple.com>wolfsuit2003-02-102-20/+43
| | | | | | * macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme cursors using SetThemeCursor or SetAnimatedThemeCursors. (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc.
* 2003-02-05 Fred Fish <fnf@intrinsity.com>hobbs2003-02-093-4/+9
| | | | | * macosx/tkMacOSXWm.c (Tk_SetGrid): Fix precedence problem with * mac/tkMacWm.c (Tk_SetGrid): '==' and '|'.
* * generic/tkCanvArc.c (CreateArc): Rework canvas create itemhobbs2003-02-0913-372/+399
| | | | | | | | | | | | | | * generic/tkCanvBmap.c (CreateBitmap): type coords handling to be * generic/tkCanvImg.c (CreateImage): consistent across types * generic/tkCanvPoly.c (CreatePolygon): and not pass empty coords * generic/tkCanvLine.c (CreateLine): to item creation procs. * generic/tkCanvText.c (CreateText): * generic/tkCanvWind.c (CreateWinItem): * generic/tkCanvas.c (CanvasWidgetCmd CANV_CREATE): * generic/tkRectOval.c (CreateRectOval): * tests/canvRect.test: * tests/canvText.test: * tests/canvas.test:
* TP macro misplacementhobbs2003-02-091-2/+2
|
* Moved 'deletionEpoch' field from TkDisplay to TkMainInfo.jenglish2003-01-285-58/+79
| | | | | Reworked windowObj type. Fixes Tk Bug #671330 "segfault when e.g. deiconifying destroyed window"
* Fix the entry widget's KeyPress binding so that text is entered fromdrh2003-01-232-1/+8
| | | | | left to right, not right to left, even if the mouse button is being held down. [Bug #673687].
* * generic/tkImage.c (Tk_ImageObjCmd): Added check to make suredkf2003-01-227-9/+100
| | | | | | | | | | | | that you're not creating an image named the same as .'s command, which refixes 220891, even when the name of the command has been changed with 'rename'. The error message is better too. * generic/tkFrame.c (TkToplevelWindowForCommand): Added way of mapping from command names to tkwins-for-toplevels. * tests/image.test (image-1.10,image-1.11): Updated to match new error message and added test for the rename case. * generic/tclInt.decls: Made TkToplevelWindowForCommand exported privately.
* * generic/tkImage.c (DeleteImage): delete the image's entry in thehobbs2003-01-192-4/+8
| | | | | image table correctly when there are no more instances. This reopens bug 220891. [Bug #669759]
* * doc/loadTk.n: note that ::safe::loadTk has a prereq onhobbs2003-01-192-1/+11
| | | | ::safe::interpCreate or ::safe::interpInit. [Bug #669159]
* * doc/photo.n: $image put only accepts -format and -to, and notehobbs2003-01-191-21/+7
| | | | extended use of -to.
* .VS order fixhobbs2003-01-191-3/+3
|
* Increase the size of the clipping box for lines in bug #663981 so thatdrh2003-01-172-12/+29
| | | | | Tk extensions that attempt to print a canvas in a windows GDI printer will still work.
* * generic/tkSelect.c (Tk_CreateSelHandler):jenglish2003-01-143-5/+21
| | | | | Fix for #666346 "Selection handling crashes under KDE 3.0" * tests/unixSelect.test (unixSelect-1.20): Added test case.
* * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd,mdejong2003-01-142-5/+13
| | | | | | | | ChooseDirectoryValidateProc, Tk_MessageBoxObjCmd): Remove unused tsdPtr variable. Use TEXT macro instead of _T macro since _T does not work under Cygwin. Declare flags as UINT to avoid compiler warning when compiling with mingw.
* * win/Makefile.in: Add TCL_DEFS to AC_FLAGSmdejong2003-01-134-28/+86
| | | | | | | | | | | | | so that compiler flags defined by Tcl get passed to the compiler. Add empty rule for cat.c so that Tk compiles under msys. * win/configure: Regen. * win/tcl.m4: Update from Tcl, this pulls in a subst of TCL_DEFS, it also defines USE_THREAD_ALLOC when threads are used and it updates the SC_ENABLE_SYMBOLS and SC_PROG_TCLSH macros to match the ones used in Tcl.
* ChangeLog police.mdejong2003-01-131-0/+3
|
* unix/tkUnixEvent.c (OpenIM): Remove unused variablejenglish2003-01-102-3/+6
| | | | (Fixes: #664780 "SGI warning: OpenIM")
* Use explicit "static int" type, not implicit "static".dgp2003-01-091-2/+2
|
* Implement Cohen-Sutherland polygon clipping for long lines in the canvas widgetdrh2003-01-084-13/+293
| | | | | so that coordinates do not overflow the 16-bit limit imposed by X11 and Win32. Bug #663981.
* * generic/tkFrame.c (CreateFrame): throw a Tcl error instead of ahobbs2003-01-032-4/+17
| | | | | | panic when we cannot get a main window and appname is NULL. This can indicate that a user tried to create a frame/toplevel while Tk was dying. [Bug #661792]
* ANSI unfriendly typedef for TkTextBTree repaired for C++ compilers.davygrvy2002-12-272-2/+7
|
* WaitForEvent(): process Map and Unmap eventsjenglish2002-12-272-9/+20
| | | | | | | as well as Configure events during WaitFor{Configure|Map}Notify. Fixes [Bug 578569] (WaitForMapNotify could process Map and Unmap events out of order, making Tk think a window was unmapped when it really wasn't).
* label docs failed to mention the -compound optiontmh2002-12-182-1/+14
|
* Doc-fix: [$photo put] knows about solid colours, and not files. [Bug 640026]dkf2002-12-172-7/+14
|
* * generic/tkMain.c (Tk_Main): Call on Tcl*StartupScript*() routinesdgp2002-12-132-11/+15
| | | | to store the startup script, if any. [Bug 616245].
* * win/makefile.vc: tclThreadTest.obj not required to linkdavygrvy2002-12-102-3/+7
| | | | tktest.exe [Bug 651396]
* * generic/tkEntry.c (ConfigureEntry): keep a flag to indicate whenhobbs2002-12-092-8/+22
| | | | | a var is traced to prevent double-traces caused by configuring the widget in traces with validation on. (dejong)
* Fix typomdejong2002-12-081-1/+1
|
* * generic/tkInt.decls: add TkWinSetHINSTANCE declhobbs2002-12-087-41/+91
| | | | | | | | | | * generic/tkIntPlatDecls.h: regen * generic/tkStubInit.c: regen * win/tkWinInit.c (TkpInit): While init and cleanup aren't correct * win/tkWinX.c (TkWinXInit): in DllMain, we had to specify the * win/tkWin32Dll.c (DllMain): true HINSTANCE or the resources of a dynamic Tk weren't being loaded correctly. Created a new function TkWinSetHINSTANCE for this purpose.
* * win/tkWinX.c (TkWinXInit): Move cleanup into an exit handlerhobbs2002-12-064-18/+27
| | | | | | * win/tkWin32Dll.c (DllMain): to ensure that it will be called * win/tkWinWm.c (TkWinWmCleanup): without having to unload the dll. Also reset the static int initialized on cleanup to allow reinit.
* * tests/event.test (_keypress, _text_ind_to_x_y):mdejong2002-12-022-13/+24
| | | | | | Force focus to widget in _keypress method to avoid problems with window managers that use focus follows mouse. [Bug 526209]
* * tests/wm.test: Add wm-transient-6.3 tomdejong2002-12-014-35/+46
| | | | | | | | | | | check that a transient remains withdrawn when it is first withdrawn and then turned into a transient. * unix/tkUnixWm.c: * win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN with WM_WITHDRAWN and set this flag whenever a window is explicitly withdrawn. This fixes the test case added above. [Bug 644356]
* * tests/textDisp.test:hobbs2002-11-223-25/+53
| | | | | * generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped text displays. [Bug #641778]
* 2002-11-19 Jim Ingham <jingham@apple.com>wolfsuit2002-11-203-1117/+786
| | | | | | | | | * macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): If the scrollbar width is set to 12 or less (but 12 is what you should use) use the small metric scrollbar. (UpdateControlValues): Fix thinko in setting off AUTO_ADJUST for the place geometry manager.
* * unix/Makefile.in: add macosx/*.tcl (buildTkConfig.tcl inhobbs2002-11-192-3/+8
| | | | particular) to the dist target.
* Added missing .BE [Tcl Bug 629330]dkf2002-11-152-2/+4
|
* * generic/tkWindow.c (Tk_DestroyWindow,mdejong2002-11-143-29/+295
| | | | | | | | | | | | | | DeleteWindowsExitProc): Add TkHalfdeadWindow type and halfdeadWindowList to keep track of windows that were only partially deallocated before a call to exit. Finnish cleaning up these windows in DeleteWindowsExitProc. Keep track of cleanup status in Tk_DestroyWindow so that a window with a Destroy binding which calls exit will get fully destroyed. * tests/window.test: Add Tk_DestroyWindow tests for an assortment of half dead window cases. [Bug 630533]
* * macosx/Wish.pbproj/project.pbxproj: fixed erroneousdas2002-11-101-1/+1
| | | | removal of libtkstub before Wish was built.
* * macosx/Wish.pbproj/project.pbxproj: fixed erroneousdas2002-11-102-1/+6
| | | | removal of libtkstub before Wish was built.
* * tests/unixWm.test: Add short delay to test unixWm-51.7mdejong2002-11-072-1/+9
| | | | | to account for raise/lower changes in TIP 107. This allows the test case to pass under Window Maker on Linux.
* place info did not return all settings,pspjuth2002-11-073-21/+31
| | | | | | and didn't make sure the result was a proper list. Put '-in' first in result to be more consistent with how grid/pack info behaves. [Bug #635025][Bug #532022]
* * unix/Makefile.in: added macosx/README to dist target.das2002-11-072-1/+3
|
* * macosx/Wish.pbproj/project.pbxproj: fix to 'wish' scriptdas2002-11-072-1/+6
| | | | to allow it to work when not installed into '/'.
* * unix/configure: Regen.mdejong2002-11-065-172/+224
| | | | | | | * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/configure.in: Check that AR, RANLIB, and RC are found on the path when building with gcc.
* * win/winMain.c (Tcl_AppInit): Calls Registry_Init() anddavygrvy2002-11-044-108/+187
| | | | | | | | | | | | | Dde_Init() when STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set. * win/makefile.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES macro which also adds the registry and dde static lib files to the link of the shell. [Patch 479697] * win/rules.vc: Matches the one from Tcl. * win/buildall.vc.bat: More useful commentary.
* no messagedavygrvy2002-11-041-1/+15
|