summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Fix comments. (Thanks to Emiliano for spotting)dkf2007-05-241-3/+3
|
* EntrySetValue: Ensure that widget is in a consistent state before settingjenglish2007-05-181-5/+10
| | | | | the linked -textvariable. Previously, it was possible for [$e index insert] to point past the end of the string, leading to heap corruption [Bug 1721532].
* * unix/configure: autoconf-2.59 (FC6 fork)dgp2007-05-181-3/+3
| | | | | | | | | | | * win/configure: * README: Bump version number to 8.5a7 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in:
* * generic/tk.decls: workaround 'make checkstubs' failures fromdas2007-05-161-1/+19
| | | | | | | tkStubLib.c MODULE_SCOPE revert. [Bug 1716117] * macosx/Wish.xcodeproj/project.pbxproj: add tkOldTest.c and remove tkStubImg.c.
* Change Tk_InitStubs(), tkStubsPtr, and the auxilliary stubs table pointersjenglish2007-05-161-16/+2
| | | | | | back to public visibility. See [Bug 1716117] for details. Removed TCL_STORAGE_CLASS monkey business, as it had no effect.
* * generic/tkGrid.c: Stop crash due to list intrep shimmer [Bug 1677608]dgp2007-05-151-3/+23
|
* [Tk Bug 1712081]dgp2007-05-149-149/+468
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/Makefile.in: Updates to account for new and deleted files * win/Makefile.in: tkStubImg.c and tkOldTest.c. * win/makefile.bc: * win/makefile.vc: * generic/tkOldTest.c (new): New file used to create testing * generic/tkTest.c: commands for testing various Tk * tests/constraints.tcl: legacy interfaces where a separate * tests/image.test: compilation unit is needed in order to #define suitable macros during compilation. Only the effect of USE_OLD_IMAGE on Tk_CreateImageType() is currently tested, but more similar testing commands can be added to this same file. New constraint defined to detect presence of the image type provided by the new testing code, and a few tests added to exercise it. Having USE_OLD_IMAGE support tested by the default test suite should reduce chance of a recurrence of this bug. * doc/CrtImgType.3: Revised docs to better indicate the legacy * doc/CrtPhImgFmt.3: nature of the interfaces supported by USE_OLD_IMAGE. * generic/tkDecls.h: make genstubs * generic/tkStubInit.c: * generic/tk.decls: Reworked USE_OLD_IMAGE support to use * generic/tk.h: the same support mechanisms both with * generic/tkStubImg.c (deleted):and without a stub-enabled build. In each case, route the legacy calls to Tk_CreateImageType and Tk_CreatePhotoImageFormat through the Tk_CreateOldImageType and Tk_CreateOldPhotoImageFormat routines. Add those routines to the public stub table so they're available to a stub-enabled extension. Remove the definition of Tk_InitImageArgs() and use a macro to convert any calls to it in source code into a comment. * generic/tkImage.c: Removed the MODULE_SCOPE declarations that * generic/tkImgPhoto.c: broke USE_OLD_IMAGE support.
* bug #1716613 propagate error from TkDeleteNamedFont.patthoyts2007-05-111-5/+5
|
* * generic/tkFileFilter.c (AddClause): OSType endianness fixes.das2007-05-091-3/+5
|
* TIP #145 implementationpatthoyts2007-05-042-23/+50
|
* Another pun warningdkf2007-05-031-2/+3
|
* Fix more type pun warnings (those not found by my local version of GCC)dkf2007-05-031-2/+4
|
* Missed a place (or rather not all versions of GCC catch it.)dkf2007-05-031-36/+21
|
* Tackle [Bug 1711985]dkf2007-05-032-17/+16
|
* * generic/ttk/ttkTreeview.c(TagOptionSpecs): Use TK_OPTION_STRINGjenglish2007-04-281-4/+4
| | | | instead of TK_OPTION_FONT to avoid resource leak in tag management.
* * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-239-58/+156
| | | | | | | | | | | | | | | | * generic/tkCanvText.c: fallback to fgColor when selFgColor is None * generic/tkEntry.c: (new default on aqua to match native L&F). * generic/tkListbox.c: * generic/tkText.c: * generic/tkCanvas.c: add support for bypassing all of Tk's double * generic/tkEntry.c: buffered drawing into intermediate pixmaps * generic/tkFrame.c: (via TK_NO_DOUBLE_BUFFERING #define), it is * generic/tkListbox.c: unnecessary & wasteful on aqua where all * generic/tkPanedWindow.c: drawing is already double-buffered by the * generic/tkTextDisp.c: window server. (Use of this on other * generic/ttk/ttkWidget.c: platforms would only require implementation * unix/tkUnixScale.c: of TkpClipDrawableToRect()).
* Fix indentation errordkf2007-04-171-4/+4
|
* Add in cast for boneheadedness in VC's handling of const qualifiersdkf2007-04-171-4/+5
|
* Eliminate use of (VOID*) casts when calling memset or memcpy.dkf2007-04-174-14/+13
|
* Standardize function definition format.dkf2007-04-172-265/+265
|
* BUGFIX (Ttk_BuildLayoutTemplate): Nested TTK_GROUP nodes did not workjenglish2007-03-211-2/+12
| | | | unless they appeared at the end of the layout (and only by accident then).
* revert premature commitdas2007-03-071-13/+1
|
* * generic/tkMain.c (Tk_MainEx): replicate macosx-specific code fromdas2007-03-074-6/+921
| | | | | | | | | | | | | | | | | | | | | | | | TkpInit() that ensures the console window appears when wish is started from the OS X Finder (i.e. with stdin == /dev/null), jeffh's 2006-11-24 change rendered the corresponding code in TkpInit() ineffective in wish because Tk_MainEx() sets tcl_interactive before calling TkpInit(). * generic/ttk/ttkGenStubs.tcl (new): add ttk-specific genstubs.tcl from * unix/Makefile.in (genstubs): tile and run it from 'genstubs' target, restores ability to generate all of Tk's stub sources. * generic/ttk/ttkTreeview.c: #ifdef out unused declaration. * macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): add fix for libraries loaded with a DYLD_IMAGE_SUFFIX. * macosx/Wish.xcodeproj/project.pbxproj: ensure gcc version used by * macosx/Wish.xcodeproj/default.pbxuser: Xcode and configure/make are * macosx/Wish-Common.xcconfig: consistent and independent of gcc_select default and CC env var; fixes for Xcode 3.0. * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check. * unix/configure: autoconf-2.59
* Added compliler #ifdef SUPPORT_CONFIG_EMBEDDED to support config of -use ↵chengyemao2007-02-281-1/+9
| | | | option at specific platform
* Fixed grid anchor center problem in labelframes. [Bug 1545765]pspjuth2007-02-251-3/+7
|
* D'oh!dkf2007-02-231-2/+2
|
* missing comma in previous commitdas2007-02-231-2/+2
|
* Less of that K&R or wrongly indented function header style!dkf2007-02-227-1175/+1163
|
* fix crlf line endingsdas2007-02-131-1517/+1517
|
* Fix minor K&R-ismdkf2007-02-131-54/+54
|
* Fix minor K&R-ismdkf2007-02-132-198/+204
|
* Fix minor K&R-ismdkf2007-02-131-3/+3
|
* Fix minor K&R-ismdkf2007-02-121-66/+67
|
* Fix minor K&R-ismdkf2007-02-122-233/+239
|
* Fix minor K&R-ismdkf2007-02-122-89/+87
|
* Minor whitespace correctionsdkf2007-02-121-1516/+1517
|
* Fix minor K&R-ismdkf2007-02-121-5/+5
|
* * macosx/Wish.xcodeproj/project.pbxproj: extract build settings thatdas2007-01-281-6/+4
| | | | | | | | | | | | | | | | | | | * macosx/Wish.xcodeproj/default.pbxuser: were common to multiple * macosx/Wish-Common.xcconfig (new file): configurations into external * macosx/Wish-Debug.xcconfig (new file): xcconfig files; add extra * macosx/Wish-Release.xcconfig (new file): configurations for building with SDKs; convert legacy jam-based 'Tk' target to native target with single script phase; correct syntax of build setting references to use $() throughout; remove unused tcltest sources from 'tktest' target. * macosx/README: document new Wish.xcodeproj configurations; other minor updates/corrections. * generic/tk.h: update location of version numbers in macosx files. * macosx/Wish.xcode/project.pbxproj: restore 'tktest' target to working * macosx/Wish.xcode/default.pbxuser: order by replicating applicable changes to Wish.xcodeproj since 2006-07-20.
* fix warningdas2007-01-191-2/+2
|
* whitespacedas2007-01-193-5/+7
|
* various "const" additions, in line with TIP #27nijtmans2007-01-186-139/+139
|
* various "const" additions, in line with TIP #27nijtmans2007-01-185-115/+115
|
* More warning squelching (mostly uninit variable warnings)dkf2007-01-121-2/+4
|
* Quell type-punning warnings from gcc/unix builddkf2007-01-121-5/+5
|
* Revert previous change to keep in sync with Tile codebase.jenglish2007-01-1111-86/+75
| | | | | | | The minor warnings from GCC fixed in the previous revision were false positives due to improper use of "-Wconversion". Still compiles cleanly with "gcc -Wall -Werror" (gcc 3.3.5).
* Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-1115-106/+116
|
* Revert addition of contravariant 'const' qualifiers,jenglish2007-01-1113-44/+44
| | | | | to keep in sync with Tile codebase (which must remain compatible with Tk 8.4).
* various "const" additions, in line with TIP #27nijtmans2007-01-0510-47/+47
| | | | fix bug #1627732
* various "const" additions, in line with TIP #27nijtmans2007-01-0336-118/+119
|
* various "const" additions in implementationnijtmans2007-01-038-28/+28
|