Tk Source Code

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

67 check-ins using file tests/imgPhoto.test version a53468ad

1999-12-14
06:52
* mac/tkMacDraw.c: mac still needs pointer warping routine * mac/tkMacXStubs.c: * win/tkWinDraw.c: * win/tkWinPointer.c: added support for pointer warping and platform specific support for dash patch items
check-in: b9ce571e user: hobbs tags: trunk
06:52
* generic/tkStubInit.c: * 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
check-in: 363f5922 user: hobbs tags: trunk
06:51
* doc/canvas.n: added docs for items added by dash patch (-*dash*, -state, -active*, -disabled*, -offset, essentially rewrote the man patch for completely updated 8.3 canvas widget. * doc/entry.n: added docs for entry widget validation * doc/event.n: added docs for -warp * doc/text.n: doc'ed new -state value 'hidden' * doc/GetDash.3: (new file) man page explaining Tk_GetDash
check-in: bb2e63fc user: hobbs tags: trunk
06:51
added dash patch check-in: 0032b8bd user: hobbs tags: trunk
1999-12-13
23:22
Fixed "doc" target so that it copies man.macros from Tcl check-in: 312768a8 user: wart tags: trunk
23:03
"make install" now has a dependency on "make all" check-in: 03ed063e user: wart tags: trunk
1999-12-12
22:51
* unix/aclocal.m4: added warning when configuring with --enable-threads that Tk may have problems
check-in: 7460cb51 user: hobbs tags: trunk
22:51
* generic/tkText.c: fixed bug in TextSearchCmd for multibyte chars (Darley) [Bug: 3839]
check-in: ec244d59 user: hobbs tags: trunk
22:51
see log check-in: f7037360 user: hobbs tags: trunk
1999-12-09
14:46
* win/makefile.vc: removed 16bit stuff, simplified makefile.
check-in: fd4f9e17 user: hobbs tags: trunk
14:46
* generic/tkImgGIF.c: updated casting
check-in: 4174f969 user: hobbs tags: trunk
14:46
see log check-in: af941786 user: hobbs tags: trunk
1999-12-08
00:14
* generic/tkMain.c: need to include tclInt.h for new hook functions that are internal-use-only.
check-in: 5400d84f user: redman tags: trunk
00:11
need tclInt.h for TclSetStartupScriptFileName(). check-in: 277f5bc5 user: redman tags: trunk
1999-12-07
03:51
added TkMacPreprocessMenu check-in: 53c9475f user: hobbs tags: trunk
03:09
added TkpPreprocessMenu (commited before saving one last file...) check-in: 81c3c163 user: hobbs tags: trunk
03:04
* mac/tkMacFont.c: * mac/tkMacMenu.c: * mac/tkMacWindowMgr.c: fixed greyed out menu items, handling of ... elipsis, font mapping problem, and enabled generated menu posting [Bug: 3705]
check-in: 22f9fc81 user: hobbs tags: trunk
03:04
* library/comdlg.tcl: removed tclVerifyInteger and tclSortNoCase, they weren't used, and were not actually correct
check-in: c981b72b user: hobbs tags: trunk
03:04
see log check-in: b5b3d97d user: hobbs tags: trunk
01:03
Added support for building Windows winhelp files. check-in: 7780fdd1 user: wart tags: trunk
1999-12-06
01:54
objectified ImageCreate in tkTest.c check-in: 1264d23d user: hobbs tags: trunk
1999-12-03
07:15
* tests/imgPPM.test: fixed test 2.2 to use -format ppm (since we know have GIF write capability)
check-in: 99441857 user: hobbs tags: trunk
07:15
* library/msgbox.tcl: added color icons for tk_messageBox on Unix and Mac when tk_strictMotif isn't set. (Hipp) * library/tk.tcl: added window bounds checking to ::tk::PlaceWindow
check-in: 428a104b user: hobbs tags: trunk
07:14
* generic/tkInt.h: * generic/tkWindow.c: * generic/tkCmds.c: converted Tk_DestroyCmd, Tk_LowerCmd and Tk_RaiseCmd to their ObjCmd equivalent.
check-in: 226627d1 user: hobbs tags: trunk
07:14
see log check-in: 8a6dabbb user: hobbs tags: trunk
1999-12-02
02:05
* generic/tkMain.c : * 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. check-in: b63cb594 user: redman tags: trunk
1999-11-30
07:34
added (int) cast check-in: 2c4e0786 user: hobbs tags: trunk
07:27
* library/entry.tcl: fixed up tkEntrySeeInsert (Nemthi)
check-in: 7f8250b4 user: hobbs tags: trunk
07:26
* generic/tkImgGIF.c: added GIF writing that uses miGIF RLE [Bug: 2039, new patch]
check-in: d11bd98c user: hobbs tags: trunk
07:26
see log check-in: 04a74ee7 user: hobbs tags: trunk
00:02
minor whitespace cleanup check-in: cc8aadfb user: hobbs tags: trunk
00:02
* library/tk.tcl: fixed missing $w in ::tk::PlaceWindow
check-in: 9ffa2a8b user: hobbs tags: trunk
00:02
see log check-in: 95b65cf4 user: hobbs tags: trunk
1999-11-29
18:16
* generic/tkListbox.c: fixed 'get' of listbox to return a string when only one item is requested.
check-in: 20823bae user: hobbs tags: trunk
18:16
fixed listbox check-in: ec24e45c user: hobbs tags: trunk
1999-11-24
20:59
* library/clrpick.tcl: * library/msgbox.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: fixed dialogs to center over -parent, added utility functions ::tk::PlaceWindow, ::tk::SetFocusGrab, ::tk::RestoreFocusGrab to tk.tcl to help
check-in: 21de2175 user: hobbs tags: trunk
20:58
updated dialogs check-in: 5de925fe user: hobbs tags: trunk
01:09
ChangeLog commit. check-in: 8bd368c4 user: ericm tags: trunk
01:09
* tests/listbox.test: Added a test to check that the topIndex is 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. check-in: 81be7b94 user: ericm tags: trunk

00:20
Additions to update vertical scrollbar info for listboxes when listvar changes. check-in: 4a5e66a5 user: ericm tags: trunk
1999-11-23
23:52
* generic/tk.h: * 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
check-in: 017386d4 user: hobbs tags: trunk
23:52
see log check-in: 9813c9e4 user: hobbs tags: trunk
22:22
Replaced references to mkinstalldirs with mkdir -p check-in: 85419951 user: wart tags: trunk
21:24
Removed bogus dependency on "installdirs" check-in: 54742050 user: wart tags: trunk
1999-11-19
22:00
see log check-in: 89ef868c user: hobbs tags: trunk
22:00
* win/tkWinInt.h: removed TkFontAttributes typedef (was redundant with tkFont.h). * win/tkWinPort.h: put #ifndef __GNUC__ around redefinition of str[n]casecmp, as cygwin uses the originals. * win/tkWinX.c: changed GetCurrentTime to GetTickCount (the former is deprecated). [Bug: 2053]
check-in: 98177630 user: hobbs tags: trunk
22:00
* generic/tkColor.c: * 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)
check-in: 8fec2043 user: hobbs tags: trunk
15:48
* tests/listbox.test: Added tests for itemcget and itemconfigure.

* 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) check-in: 0387f3d8 user: ericm tags: trunk

1999-11-18
02:27
ChangeLog commit. check-in: 61e4c474 user: ericm tags: trunk
02:24
* tests/listbox.test: Updated tests for new error messages.

* generic/tkListbox.c: Improved error messages for bad -listvar's. check-in: 016895b5 user: ericm tags: trunk

02:18
Use mkdir -p to create the install directories (like Tcl already does) check-in: 8cfa27a8 user: wart tags: trunk
01:47
* tests/listbox.test: Added tests for bad -listvar's.

* generic/tkListbox.c: Added handlers for bad -listvar's (ie, bad lists) check-in: a8241d6f user: ericm tags: trunk

1999-11-17
22:13
* tests/listbox.test: Added tests for ListboxUpdateHScrollbar.

* generic/tkListbox.c: Changed some old static buffers to base size on TCL_DOUBLLE_SPACE instead of (completely) hardcoding the size. check-in: 822a6b85 user: ericm tags: trunk

21:56
* tests/listbox.test: New tests for -listvar functionality, and an odd extra case that wasn't covered before.

* generic/tkListbox.c: Tests exposed some bugs, now fixed. check-in: 6682e76d user: ericm tags: trunk

02:40
* tests/listbox.test: Fixed tests to comply with new objectified error messages. No -listvar specific tests yet.

* win/tkWinDefault.h: * unix/tkUnixDefault.h: * mac/tkMacDefault.h: Added default value for -listvar option. check-in: ca26a18f user: ericm tags: trunk

02:38
* generic/tkWindow.c: Changed "listbox" mapping from old-school to 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. check-in: 11da2620 user: ericm tags: trunk

1999-11-13
01:23
Removed bad option "-geometry" to toplevel check-in: dcfac06d user: wart tags: trunk
1999-11-12
23:55
Added "wm geometry" calls in some tests that were waiting for the user to place a window manually. The Tk test suite can now run on twm with no user intervention. check-in: 8b087c35 user: wart tags: trunk
23:54
Added $(TCLTESTARGS) to the test target so that users can set additional test harness arguments on the make command line:

% make test TCLTESTARGS="-verbose pbs" check-in: 6542142a user: wart tags: trunk

1999-11-10
02:56
* win/winMain.c: corrected winMain to not do a DebugBreak when returning an error message from the top level
check-in: 573f3d0c user: hobbs tags: trunk
02:56
* generic/tkGrid.c: changed Tcl_Alloc to ckalloc
* generic/tkEntry.c: fixed C expr error in destroy of entry that could lead to 'malformed bucket chain' error
check-in: 97bb8053 user: hobbs tags: trunk
02:56
see log check-in: 8c6862e9 user: hobbs tags: trunk
1999-10-30
09:16
* win/tkWinKey.c: fixed XKeysymToKeycode to handle mapping of symbolic keysyms (Left, Home, ...) with event generate
check-in: 1a19e736 user: hobbs tags: trunk
09:15
* library/entry.tcl: change tkEntrySeeInsert to avoid the use of a while loop that could eat CPU tremendously. Behavior of moving the cursor at the right edge changes slightly (previously it tried to keep the cursor at the right edge, now it moves the cursor to a "central right" location - better IMHO).
check-in: fa96c986 user: hobbs tags: trunk
09:15
see log check-in: ede6bb10 user: hobbs tags: trunk
1999-10-29
03:58
* makefile.vc: changed 'c:/program files' to c:/progra~1
check-in: 64b1cc54 user: hobbs tags: trunk
03:58
* 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)
check-in: 57993609 user: hobbs tags: trunk