summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Removed pointless static variable ZeroDataBlock from tkImgGIF.c [Bug #664788]dkf2003-02-202-5/+4
| | | | It served no useful purpose whatsoever...
* Removed potentially fatal FMR in Unix font handling. No test because anydkf2003-02-202-22/+56
| | | | test would be very platform- and build-specific. [Bugs #618872 and #689357]
* * macosx/tkMacOSXKeyEvent.c: fix for uninitialized var warning.das2003-02-202-40/+44
|
* 2003-02-19 Jim Ingham <jingham@apple.com>wolfsuit2003-02-192-34/+32
| | | | | | | | | | | | * tkMacOSXMouseEvents.c (GeneratePollingEvents): In the case where there was a capture window, we were sending the events to the capture window. But the capture window (return value or TkMacOSXGetCapture) is always a toplevel. So this is wrong in the case that the Event's toplevel IS the capture window - in which case the event should go to the subwindow most closely containing the event. Fixes bug #688188
* This submission contains a slightly reworked & cleaned up version ofwolfsuit2003-02-199-1275/+1188
| | | | | | | | | | two parts of the patches in Patch Tracker #622582 - new-evthdlng.2003-02-12.diff and basic-keyboard.2003-02-10.diff. The second part puts translation of MacOS X keycodes to characters on a better footing. The first part relaxs Tk's policy of consuming all events unless it can see they go to windows it didn't create. This change gets the little traffic lights working, and should make things like QuickTimeTcl easier to implement.
* * doc/entry.n:mdejong2003-02-193-6/+13
| | | | | | * doc/text.n: Update double and triple click docs to match implementation changes made on 2002-02-14.
* added missing bug #das2003-02-191-1/+1
|
* added missing bug #das2003-02-191-1/+1
|
* * macosx/Wish.pbproj/project.pbxproj:das2003-02-193-18/+197
| | | | | | * macosx/Makefile: reworked embedded build to no longer require relinking but to use install_name_tool instead to change the install_names for embedded frameworks.
* New part for the widget demo showing Tk's UNICODE output. [Patch #627453]dkf2003-02-193-1/+101
|
* * unix/configure: Regen.andreas_kupries2003-02-193-124/+136
| | | | * unix/tcl.m4: Update from Tcl (HP xnet [Bug #651811]).
* * unix/configure: Regen.mdejong2003-02-193-168/+179
| | | | * unix/tcl.m4: Update from Tcl.
* see ChangeLoghobbs2003-02-181-0/+9
|
* (EntrySetValue): removed unused code var. [Bug #664781]hobbs2003-02-181-3/+3
|
* (TkPostscriptImage): remove unused depth var. [Bug #664787]hobbs2003-02-181-3/+2
|
* (TextWidgetCmd): remove unused lastEnd var. [Bug #664790]hobbs2003-02-181-4/+3
|
* * library/tk.tcl (::tk::TabToWindow): auto-highlight spinboxes ashobbs2003-02-182-3/+7
| | | | well as entries when tabbing in. [Patch #683813] (bron)
* * library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): correcthobbs2003-02-182-2/+5
| | | | sub on embedded newlines. [Patch #688572] (bonfield)
* corrected B values [Bug #682714]hobbs2003-02-182-453/+455
|
* * win/tkWinInit.c (TkpDisplayWarning): truncate MessageBox stringhobbs2003-02-182-1/+16
| | | | | to 1024 chars to prevent possible oversized window errors. May be necessary in other MB uses (ie Tcl_AppInit). [Tcl Bug #608559]
* menu title encodingsvincentdarley2003-02-182-7/+35
|
* * generic/tkImgGIF.c (FileReadGIF): Ensure that the trashBuffer isdkf2003-02-182-9/+18
| | | | always deallocated on function exit to stop a potential memory leak.
* fix date in ChangeLog entrymdejong2003-02-181-1/+1
|
* * generic/tkEvent.c (Tk_HandleEvent): Fixup buttonmdejong2003-02-184-4/+47
| | | | | | | | | | press state saving code, it was incorrectly converting normal motion events into button press and motion events in some cases. * generic/tkInt.h: Add mouseButtonWindow member to the TkDisplay structure. * tests/event.test: Add test case for faulty button motion logic.
* * README: Bumped to 8.4.2.hobbs2003-02-159-139/+158
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tk.spec: * win/configure: * win/configure.in:
* correct HP-UX ia64 --enable-64bit build flagshobbs2003-02-151-2/+7
|
* 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]