summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * doc/text.n:hobbs2000-01-065-241/+167
| | | | | | | | | | * generic/tkText.c: * generic/tkText.h: * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextTag.c: removed the -state option for text tags, and reoriented it around -elide, as -state disabled was never implemented, and -state hidden is better as -elide.
* * generic/tkScale.c:hobbs1999-12-222-10/+13
| | | | | | * generic/tkScale.h: * mac/tkMacScale.c: * unix/tkUnixScale.c: fixed potential segv from patch in 3897
* fix for mac happinesshobbs1999-12-221-8/+10
|
* * generic/tk.h:hobbs1999-12-219-45/+47
| | | | | | | | | | | | | | | | | * README: updated for patch level 8.3b1 * generic/tkScale.c: * generic/tkScale.h: fixed possible core when freeing options (cursor) associated with scale widget [Bug: 3897] * generic/tk3d.c: added extra calculations to ensure that thin frames get refreshed too [Bug: 3596] * generic/tkCanvText.c: * generic/tkEntry.c: * generic/tkFont.c: * generic/tkImgPPM.c: removed extranneous vars that were set but never used.
* * generic/tkCmds.c:hobbs1999-12-166-75/+117
| | | | | | | | | | | | | | | * generic/tkEvent.c: * generic/tkWindow.c: * generic/tkInt.h: add 'tk useinputmethods ?-display win? ?bool?' call to provide support for disabling/enabling the use of XIM on X. This was previously all done at compile time, and always on. Now it * generic/tkCanvUtil.c: fixed bug in Tk_CanvasPsOutline that freed mem it shouldn't. * generic/tkFont.c: added "bitstream cyberbit" (popular Windows CJK font) to list of font fallbacks. (kenny) [Bug: 2407]
* added declaration for PhotoOptionCleanupProc to prevent warninghobbs1999-12-151-1/+3
|
* * generic/tkStubInit.c:hobbs1999-12-1444-1907/+10933
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkDecls.h: * generic/tkIntXlibDecls.h: * generic/tkInt.decls: added XSetDashes and XWarpPointer * generic/tk.decls: added Tk_CreateSmoothMethod, and reserved two spots * generic/tk.h: added Tk_SmoothMethod struct, state item to canvas record, #defines for item state, support for using old char*-based canvas item C creation procedures with -DUSE_OLD_CANVAS, Tk_Dash, Tk_TSOffset (-offsets) & Tk_Outline structs and #defs, decls for dash, outline and postscript routines * generic/tkBind.c: added support for Quadruple clicks, and added the -warp option to 'event' with pointer warping routines * xlib/xgc.c: * generic/tkRectOval.c: * generic/tkCanvArc.c: * generic/tkCanvBmap.c: * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvPs.c: * generic/tkCanvText.c: * generic/tkCanvUtil.c: * generic/tkCanvWind.c: * generic/tkCanvas.c: * generic/tkCanvas.h: Canvas and items received overhaul to with the addition of the dash patch (Nijtmans, et al) This includes objectification of the 'canvas' command, as well as support for (where appropriate) dashes in items, extended stipple support, state for all items, and postscript generation of images and windows. See the new canvas man page for related docs. * generic/tkEntry.c: added entry widget validation, see entry.n * generic/tkEvent.c: on simulated events, ButtonPress should be matched with ButtonRelease to be correct * generic/tkFont.c: corrected possible null reference * generic/tkFrame.c: made frame a Tcl_Obj based command * generic/tkGet.c: added TkGetDoublePixels * generic/tkImage.c: bug fixes from Img patch and new Tk_PostscriptImage and Tk_SetTSOrigin functions * generic/tkImgBmap.c: new ImgBmapPostscript function * generic/tkImgPhoto.c: new Tk_CreatePhotoOption, Tk_DitherPhoto * generic/tkInt.h: declarations for some new functions * generic/tkMessage.c: reworked relief drawing * generic/tkOldConfig.c: added TK_CONFIG_OBJS so old style ConfigureWidget calls can pass in Tcl_Obj arrays * generic/tkScrollbar.c: * generic/tkScrollbar.h: made -orient use an option table * generic/tkText.c: * generic/tkText.h: made -wrap and -state use option tables * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextMark.c: * generic/tkTextTag.c: * generic/tkTextWind.c: added support for -elide and -state hidden * generic/tkTrig.c: changed TkMakeBezierCurve to support returning the upper limit of points needed for spline * generic/tkUtil.c: new option table parsing routines * generic/tkWindow.c: init'ing of warp stuff, mouseButtonState
* * generic/tkText.c: fixed bug in TextSearchCmd for multibyte charshobbs1999-12-121-2/+2
| | | | (Darley) [Bug: 3839]
* * generic/tkImgGIF.c: updated castinghobbs1999-12-091-10/+12
|
* need tclInt.h for TclSetStartupScriptFileName().redman1999-12-081-1/+2
|
* added TkMacPreprocessMenuhobbs1999-12-073-3/+15
|
* objectified ImageCreate in tkTest.chobbs1999-12-061-15/+13
|
* * generic/tkInt.h:hobbs1999-12-033-42/+45
| | | | | | * generic/tkWindow.c: * generic/tkCmds.c: converted Tk_DestroyCmd, Tk_LowerCmd and Tk_RaiseCmd to their ObjCmd equivalent.
* * generic/tkMain.c :redman1999-12-021-7/+10
| | | | | | | * unix/tkAppInit.c: * win/winMain.c: Added added hooks into the main() code for supporting TclPro and other "big" shells more easily without requiring a copy of the main() code.
* added (int) casthobbs1999-11-301-2/+2
|
* * generic/tkImgGIF.c: added GIF writing that uses miGIF RLEhobbs1999-11-301-3/+767
| | | | [Bug: 2039, new patch]
* * generic/tkListbox.c: fixed 'get' of listbox to return a stringhobbs1999-11-291-3/+10
| | | | when only one item is requested.
* * tests/listbox.test: Added a test to check that the topIndex isericm1999-11-241-1/+7
| | | | | | | update when items are removed from the listvar variable. * generic/tkListbox.c: Added a check the updates the topIndex when items are removed from the listvar variable.
* Additions to update vertical scrollbar info for listboxes when listvar changes.ericm1999-11-241-1/+5
|
* * generic/tk.h:hobbs1999-11-233-9/+17
| | | | | | | * generic/tkConfig.c: added support for TK_OPTION_DONT_SET_DEFAULT as equiv for TK_CONFIG_DONT_SET_DEFAULT * generic/tkListbox.c: added TK_OPTION_DONT_SET_DEFAULT to the item specs
* * generic/tkColor.c:hobbs1999-11-193-14/+18
| | | | | | | | * generic/tkColor.h: fixed Tk_NameOfColor to work correctly, with minor change to TkColor struct. * generic/tkConsole.c: added static declaration to ConsoleDeleteProc function (proto already had it)
* * tests/listbox.test: Added tests for itemcget and itemconfigure.ericm1999-11-191-82/+478
| | | | | | | | * doc/listbox.n: Added documentation for -listvar option and for itemconfigure and itemcget commands. * generic/tkListbox.c: Added support for itemconfigure/itemcget listbox subcommands (addresses rfe #936)
* * tests/listbox.test: Updated tests for new error messages.ericm1999-11-181-3/+5
| | | | * generic/tkListbox.c: Improved error messages for bad -listvar's.
* * tests/listbox.test: Added tests for bad -listvar's.ericm1999-11-181-14/+31
| | | | | * generic/tkListbox.c: Added handlers for bad -listvar's (ie, bad lists)
* * tests/listbox.test: Added tests for ListboxUpdateHScrollbar.ericm1999-11-171-3/+3
| | | | | * generic/tkListbox.c: Changed some old static buffers to base size on TCL_DOUBLLE_SPACE instead of (completely) hardcoding the size.
* * tests/listbox.test: New tests for -listvar functionality, and anericm1999-11-171-29/+29
| | | | | | odd extra case that wasn't covered before. * generic/tkListbox.c: Tests exposed some bugs, now fixed.
* * generic/tkWindow.c: Changed "listbox" mapping from old-school toericm1999-11-173-867/+1362
| | | | | | | | | | | new-school objectified command. * generic/tkListbox.c: Objectified listbox; added support for -listvar option. Converted internal structure to use a Tcl list object to store the data. * generic/tkInt.h: Changed reference to Tk_ListboxCmd to Tk_ListboxObjCmd.
* * generic/tkGrid.c: changed Tcl_Alloc to ckallochobbs1999-11-102-9/+9
| | | | | * generic/tkEntry.c: fixed C expr error in destroy of entry that could lead to 'malformed bucket chain' error
* * generic/tk.h:hobbs1999-10-2910-424/+1422
| | | | | | | | | | | | | | | * generic/tkCmds.c: * generic/tkImage.c: * generic/tkImgBmap.c: * generic/tkImgGIF.c: * generic/tkImgPPM.c: * generic/tkImgPhoto.c: * generic/tkInt.h: * generic/tkTest.c: * generic/tkWindow.c: * tests/imgPhoto.test: added Img patch (Nijtmans) with docs, headers #def'd with USE_OLD_IMAGE. Upgrades image stuff to Tcl_Obj API, adds alpha channel (images are now 32 bpp)
* 1999-09-24 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-10-011-12/+12
| | | | | | | | | | | | | * */README: * win/makefile.vc: * */configure.in: * generic/tk.h: * library/tk.tcl: up'd to 8.3a1 * unix/Makefile.in: changed 'mkdir' to 'mkdir -p' * library/dialog.tcl: changed {Times 18} to {Times 12} for dialog font.
* 1999-09-16 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-213-12/+10
| | | | | | | | | | | | | | | | | | | | | | | * generic/tkFont.c: fixed processing of font options and error returned [Bug: 2075] * win/tkWinWm.c: fixed bug in 'wm deiconify' that raised the wrong toplevel, and changed it to not set focus on overridden toplevels 1999-09-15 Jeff Hobbs <hobbs@scriptics.com> * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix to AIX-* to get ldAix right [Bug: 2624], fixed AIX version check (readjust from 8-21 fix) and several other config fixes for AIX * mac/tkMacMenubutton.c: * unix/tkUnixMenubu.c: fixed permanently stippled menubutton image * win/tkWinButton.c: fixed possible pointer smash [Bug: 2733] 1999-09-14 Jeff Hobbs <hobbs@scriptics.com> * win/tkWinMenu.c: fix for stack overrun in GetTextFace [Bug: 909]
* 1999-09-01 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-022-11/+11
| | | | | | | | | | * win/tkWinDraw.c: * unix/tkUnixDraw.c: fixed header style for TkpDrawHighlightBorder * generic/tkCanvas.c: fixed GC error (bg <> fg) in tkCanvas.c (from code added to support TkpDrawHighlightBorder) [Bug: 2676] * unix/aclocal.m4: added -bnoentry to the AIX-* flags * generic/tkCursor.c: fixed equality error in GetCursorFromObj [Bug: 2562]
* Fixed ANSI-style function definitions so that they work on K&Rredman1999-08-132-4/+4
| | | | compilers properly.
* Change version numbers to 8.2.0redman1999-08-101-4/+4
|
* 1999-08-10 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-104-12/+24
| | | | | * generic/tkInt.decls: added TkSetFocusWin * generic/tkFocus.c: changed static SetFocus to TkSetFocusWin
* Remove the #ifdef MAC_TCL from TkDrawInsetFocusHighlight, this knowledge is ↵jingham1999-08-101-17/+7
| | | | now properly in a "p" function, TkpDrawHighlightBorder.
* New Function: TkpDrawHighlightBorder. Use this in place of ↵jingham1999-08-109-40/+69
| | | | Tk_DrawFocusHighlight. The latter did not work on the Mac, since you need to know both foreground & background color when you draw the active focus ring.
* 1999-07-30 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-07-313-3/+35
| | | | * tkInt.decls: Added stub entry for XFillRectangle [Bug: 2446]
* * generic/tkConsole.c: Allow tcl to open CON and NUL, even for stdredman1999-07-301-16/+104
| | | | | | channels. Checking for bad/unusable std channels was moved to Tk since its only purpose was to check whether to use the Tk Console Window for the std channels. [Bug: 2393 2392 2209 2458]
* * Changed version to 8.2b2redman1999-07-221-3/+3
| | | | | | | | | | | * win/tkWinPort.h: Block out include of sys/stat.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * library/menu.tcl: Applied patch from Jeff Hobbs to fix typo. [Bug: 2425]
* Fix minor version number.redman1999-07-161-2/+2
|
* Patches from Bug: 2068 2080 2269redman1999-07-014-9/+13
|
* Added note about win/configure.in depending on version changewelch1999-06-251-1/+2
|
* Changed to Tk 8.2b1welch1999-06-251-4/+4
|
* backed out chenges made to tkInt.h and tkText.h and fixed the problem ↵surles1999-06-172-97/+101
| | | | directly in tkText.h
* Cast third argument of Tcl_DStringAppend to (int) value in case thewart1999-06-171-2/+2
| | | | strlen() function returned a different type.
* Updated aclocal.m4 to reflect recent changes in tcl.m4wart1999-06-171-3/+3
| | | | | Changed type of strncmp() parameter from int to size_t in tkConsole.c to remove compiler warnings about bad types.
* modified files to work with new windows Makefilessurles1999-06-166-29/+59
|
* * unix/tkUnixSelect.c:stanton1999-06-031-20/+87
| | | | | | * tests/unixSelect.test: * generic/tkSelect.c: Fixed selection code to handle Unicode data in COMPOUND_TEXT and STRING selections. [Bug: 1791]
* * generic/tkIntXlibDecls.h:stanton1999-06-022-3/+7
| | | | | | | * xlib/X11/Xlib.h: Added Mac specific defines to help with compilation. * generic/tkFont.c: lint