summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* More minor whitespace cleaningdkf2004-06-151-44/+54
|
* D'oh!dkf2004-06-151-2/+2
|
* Adjust #defs so they are flexible enough to be used in all places. dkf2004-06-151-84/+85
| | | | Also removed a shadowing variable.
* Add declarations of result... D'oh!dkf2004-06-151-2/+3
|
* Balance braces, factorize out much #ifdef code and use objects a bit moredkf2004-06-151-238/+65
|
* Spacing/whitespace fixesdkf2004-06-151-779/+770
|
* Small clean up of the canvas core (symbolic constants, whitespace)dkf2004-06-151-26/+37
|
* multiline text widget regexp search fixvincentdarley2004-06-091-2/+2
|
* ckfree() the correct element! [Bug 969358]dkf2004-06-091-2/+2
|
* Silence compiler warningsdgp2004-06-083-28/+3
|
* * generic/tkCanvText.c (DisplayCanvText): Fix textmdejong2004-06-081-7/+16
| | | | | | | | | | | | | | rendering problem with canvas text items that have a selected region. The previous implementation would render the whole line and then redraw the selected text if it was a different color. This caused problems when the selected text foreground differs from the normal text foreground, the anti-aliasing alpha pixels for the two text strings would blend together resulting in strange looking text. The fix is to draw the normal text and the selected text separately. This problem has only been observed under Windows, with anti-aliased text. [Patch 968725]
* text widget partial line height calculations fixvincentdarley2004-06-072-18/+60
|
* text widget fixesvincentdarley2004-06-043-10/+39
|
* Minor fix for Tk_GetVisual error messagedkf2004-05-231-4/+4
|
* Modified HandleEventGenerate to properly generate <Destroy> eventchengyemao2004-05-131-3/+11
|
* * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.chobbs2004-05-031-37/+1
| | | | | | | | * macosx/tkMacOSXXStubs.c: to being implemented in a platform * unix/tkUnixEvent.c: specific manner. The cleanup order was * win/tkWinX.c: bad at least on Windows, where we reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662]
* * tests/panedwindow.test: panedwindow-25.1hobbs2004-05-031-1/+13
| | | | | * generic/tkPanedWindow.c (Unlink): clean up -before/-after refs to a slave when removing it. [Bug #928413] (griffin)
* * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): force -data intohobbs2004-05-031-5/+13
| | | | | ByteArray and -format into String to correctly handle them if they have been shimmered or created as some other object type.
* * generic/tkPort.h:das2004-04-241-2/+2
| | | | | | | | * unix/Makefile.in: * win/Makefile.in: followup on tcl header reform [FR 922727]: removed use of relative #include paths in tkPort.h to allow installation of private headers outside of tk source tree; added tcl plaform source dir to compiler header search path.
* * generic/tkImgPhoto.c: Removed outdated #include's of the tclMath.hdgp2004-03-312-4/+2
| | | | | | * generic/tkScale.c: header file. All tk*Port.h files have long had a #include <math.h>, and other parts of Tk routinely make use of libm-supplied math routines.
* Allow PPMs to be read from a string. [FRQ 540375]dkf2004-03-271-8/+322
|
* * README: Bump version to 8.5a2.dgp2004-03-261-3/+3
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.57 * win/configure:
* Tweak to 923555 fix.dgp2004-03-261-2/+2
|
* Whoops. Forgot to set the photo image type registration correctly. D'oh!dkf2004-03-261-2/+2
|
* Allow old-style image formats to create string representations of photos,dkf2004-03-262-24/+132
| | | | and allow the production of PPM format data in a string. [Bug 923555]
* Removed support for Mac OS Classic platform [Patch 918139]das2004-03-1724-2661/+182
|
* fix lint warningshobbs2004-03-161-1/+2
|
* fix cast warningshobbs2004-03-162-10/+10
|
* update patchlevel to 8.5a1hobbs2004-03-021-3/+3
|
* remove access to tclInt.hvincentdarley2004-02-281-4/+3
|
* * macosx/tkMacOSXDraw.c:das2004-02-231-4/+10
| | | | | | | | * macosx/tkMacOSXXStubs.c: * xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related functions to deal properly with XImages copied from screen. * generic/tkCanvPs.c (TkImageGetColor): MacOSX fix. [Bug 809157]
* Fixed a bug in grid geometry calculations forpspjuth2004-02-181-22/+22
| | | | a shrinking grid. [Bug 899246]
* * generic/tkBind.c (HandleEventGenerate): only modify root[xy]hobbs2004-02-181-11/+24
| | | | with [xy] when they haven't been otherwise set.
* * doc/checkbutton.n: TIP#110 implementationhobbs2004-02-182-5/+103
| | | | | | | | | | | | | | | * doc/radiobutton.n: Tristate Checkbutton and Radiobuttons * generic/tkButton.c: * generic/tkButton.h: * library/demos/check.tcl: * library/demos/radio.tcl: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDefault.h: * tests/button.test: * unix/tkUnixButton.c: * unix/tkUnixDefault.h: * win/tkWinButton.c: * win/tkWinDefault.h:
* Stop crashes when copying a large photo to itself causes resizing. [Bug 877950]dkf2004-02-091-1/+7
|
* * generic/tkTextIndex.c: added '#include <tclInt.h>' since thedas2004-01-271-1/+2
| | | | | | | | | | code uses the TclUtfToUniChar macro from that file. [Bug 874745] * macosx/Wish.pbproj/project.pbxproj: removed erroneous reference to mkpsenc.tcl in bundle resources phase (mkpsenc.tcl is already part of the copy files phase to Resources/Scripts). * macosx/Makefile: added support for 'xcodebuild' on Mac OS X 10.3.
* * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-1338-199/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: to 'Tcl_Panic' (the function). The #define * generic/tkBitmap.c: of panic in tcl.h clearly states it is * generic/tkCanvArc.c: deprecated in the comments. * generic/tkCanvBmap.c: [Tcl Patch 865264] * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkColor.c: * generic/tkConfig.c: * generic/tkCursor.c: * generic/tkError.c: * generic/tkEvent.c: * generic/tkFocus.c: * generic/tkFont.c: * generic/tkFrame.c: * generic/tkGC.c: * generic/tkGrid.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkImgUtil.c: * generic/tkMenu.c: * generic/tkObj.c: * generic/tkPack.c: * generic/tkPlace.c: * generic/tkRectOval.c: * generic/tkSelect.c: * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkTextMark.c: * generic/tkTextWind.c: * generic/tkVisual.c: * generic/tkWindow.c: * mac/tkMacAppInit.c: * mac/tkMacAppearanceStubs.c: * mac/tkMacButton.c: * mac/tkMacDraw.c: * mac/tkMacEmbed.c: * mac/tkMacFont.c: * mac/tkMacInit.c: * mac/tkMacMenus.c: * mac/tkMacPort.h: * mac/tkMacSubwindows.c: * mac/tkMacWm.c: * mac/tkMacXStubs.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXPort.h: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnix3d.c: * unix/tkUnixColor.c: * unix/tkUnixEmbed.c: * unix/tkUnixEvent.c: * unix/tkUnixFocus.c: * unix/tkUnixFont.c: * unix/tkUnixSelect.c: * unix/tkUnixSend.c: * unix/tkUnixWm.c: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDialog.c: * win/tkWinDraw.c: * win/tkWinEmbed.c: * win/tkWinFont.c: * win/tkWinPixmap.c: * win/tkWinPointer.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: * win/tkWinX.c:
* Implementation of TIP#146,pspjuth2004-01-091-109/+189
| | | | | "Add Overall Anchoring to the Grid Geometry Manager", adding [grid anchor] subcommand.
* fix to text widget yview bugvincentdarley2004-01-072-6/+20
|
* utf-8 aware text wordstart and wordendvincentdarley2004-01-071-10/+21
|
* * macosx/Wish.pbproj/project.pbxproj: added missing private headersdas2004-01-011-2/+2
| | | | | | to installed Tk.framework, so that tkInt.h can be included sucessfully from Tk.framework/PrivateHeaders. * generic/tkPort.h: corrected include of tkMacOSXPort.h
* removed the note about having to update makefile.vc when the version changes.davygrvy2003-12-231-2/+1
|
* * generic/tkEvent.c: Added three new functions: TkCreateExitHandler,davygrvy2003-12-214-9/+159
| | | | | | | | | | | | | | | | | * generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds * generic/tkMenu.c: an insertion point so Tk's exit handlers can be * generic/tkWindow.c: called on their own from tk85.dll's DllMain * mac/tkMacButton.c: for DLL_PROCESS_DETACH. These are private to * unix/tkUnixEvent.c: the binary and not exported. It is possible * win/tkWin32Dll.c: the Windows OS can unload Tk _prior_ to Tcl * win/tkWinEmbed.c: under some conditions such as ExitProcess(). * win/tkWinMenu.c: This avoids a dangling pointer problem when Tcl * win/tkWinX.c: does Tcl_Finalize after Tk has been unloaded. * win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with SEH as DeleteWindowsExitProc is causing an exception of its own under some teardown conditions. AT&T assembly syntax has not been added for MinGW yet. [Tcl Patch 858493]
* text widget more extensive documentation, and two small code improvementsvincentdarley2003-12-154-25/+135
|
* off-by-one error in recent cleanup fixvincentdarley2003-12-101-2/+2
|
* fix to memory leaks and reading of freed memoryvincentdarley2003-12-091-1/+15
|
* performance of lines containing 10000+ charactersvincentdarley2003-12-054-46/+149
|
* fix to text widget tabs and xy-scroll-commandvincentdarley2003-12-044-52/+73
|
* Typo fixdkf2003-12-031-2/+2
|
* * generic/tkMenu.c (MenuVarProc): prevent this from triggeringhobbs2003-12-031-5/+13
| | | | while interp is being destroyed.