summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* [Patch #3019624] fix "place" command segfault on half-dead app main window.a_kovalenko2010-06-222-6/+7
|
* [Bug #3019363] "make genstubs" failurenijtmans2010-06-222-13/+13
| | | | (undid previous unintended edit)
* [Bug #3019363] "make genstubs" failurenijtmans2010-06-223-18/+17
|
* [Patch #2999889] TkCopyAndGlobalEval obsoletenijtmans2010-06-214-65/+9
|
* [Patch 3009998]: Replace binding procedures with ordinary event handlersjenglish2010-06-198-600/+63
| | | | | | | | | | | in win/tkWinScrlbr.c and carbon/tkMacOSXScrlbr.c. Simplifications enabled by previous change: * TkCreateBindingProcedure() and associated machinery no longer needed. * TkBindDeadWindow() no longer needed. * TK_DEFER_MODAL_LOOP and associated machinery no longer needed. * Tests related to C binding procedures no longer needed.
* Eliminate many unnecessary (ClientData) type casts.nijtmans2010-06-1512-62/+59
|
* Tk_CreateBinding): Silently ignore empty scripts (Fixes [Bug 3006842]).jenglish2010-05-311-2/+6
|
* ttk::treeview: [$tv tag bind $tag <...> {}] now removes binding completely.jenglish2010-05-271-17/+22
| | | | | Fixes [Bug 3006842] (although there's still a problem somewhere in Tk_CreateBinding()).
* Fix some gcc strict-aliasing warnings (discovered with "-Wstrict-aliasing=2"nijtmans2010-05-261-4/+4
|
* Revert [Patch #2999920], as it entails an incompatible change to the C APIjenglish2010-05-171-7/+14
| | | | is and is the cause of [Bug #3002768].
* [Patch #2999920]: Optimize Internal Virtual event string operationsnijtmans2010-05-171-14/+7
| | | | [Bug #2987995]: Tk_getOpenFile returns garbage under described circumstances
* Consistent use of variable names in RestrictEventnijtmans2010-05-111-6/+6
| | | | | | API documentation and implementation: Use 'prev' in stead of 'old', and 'arg' in stead of 'clientData' everywhere, just as in tkEvent.c.
* CONSTify TkCopyAndGlobalEval, TkpSetMainMenubar,nijtmans2010-05-106-37/+38
| | | | | TkpMenuNotifyToplevelCreate, and TkSetWindowMenuBar Bring Tk_CreateBinding doc and signature (param name) in line.
* * generic/tk.h: Bump patchlevel to 8.6b1.2 to distinguishdgp2010-05-031-2/+2
| | | | | | | | | * library/tk.tcl: CVS snapshots from earlier snapshots as well * unix/configure.in: as the 8.6b1 and 8.6b2 releases. * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tkImgPNG.c (ReadIDAT, DecodePNG): Move the check for overalldkf2010-04-251-12/+15
| | | | | | termination of the compressed stream until after the final IDAT has been read, so that multi-segment images will work right. Reported by Andy Goth on the Wiki.
* Formattingnijtmans2010-04-2316-141/+29
| | | | | | typo fixes remove not existing tkDisplayList; Useless re-definitions of TCL_STORAGE_CLASS
* tkPort.h already includes tk.h, which includes tcl.hnijtmans2010-04-203-11/+5
| | | | Always use #include "tkInt.h", not <tkInt.h>
* Make sure that tkWinPort.h is always includednijtmans2010-04-202-16/+17
| | | | | before tcl.h, otherwise the fallback for TCHAR might go off before the inclusion of <tchar.h>
* * generic/tkImgPNG.c (WriteIDAT): [Bug 2984787]: Use the correctdkf2010-04-121-3/+90
| | | | | | | | | | flushing semantics when handling the last data from the image. Without this, many PNG readers (notably including Firefox) refuse to show the image and instead complain about errors. (ReadIDAT): Added sanity checks to ensure that when we've got bad data of the sorts of forms we were previously generating, we detect it and error out rather than silently failing. (WriteExtraChunks): New function to write in some basic metadata.
* * generic/tkImgPhoto.c (ImgPhotoCmd): [Bug 2983824]: Use the filedkf2010-04-091-19/+75
| | | | extension to guess the output format to use if one isn't specified.
* ttk::treeview widget: add 'tag names', 'tag add', and 'tag remove' methods.jenglish2010-03-285-16/+188
|
* Removed lame reliance on the leading letters of the names of segment types whendkf2010-03-114-9/+13
| | | | | dumping a text widget. Entailed expanding the scope of the declarations of the types of embedded images and windows.
* * generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about,dkf2010-03-111-8/+13
| | | | | | there can be unnamed marks present during a dump. Ignore them as they will just be for the peers' insert and current marks, which aren't very important.
* * generic/tkPlatDecls.h: Correct broken 2886635 fix. [Bug 2965600]dgp2010-03-081-2/+2
|
* Use @EXEEXT@ in stead of @EXT_SUFFIX@nijtmans2010-02-224-12/+12
| | | | | Use -DBUILD_tk in Makefile Make internal Tk_ObjCustomOption const
* Tiny whitespace changes for readability improvement.dkf2010-02-214-10/+10
|
* Re-fix [Bug 1799782].dkf2010-02-211-7/+17
|
* ttk::treeview: Cache the result of the last call to EndPosition()jenglish2010-02-201-10/+30
| | | | | | | to avoid quadratic-time behavior in the common cases where the treeview is populated in depth-first or breadth-first order. (Translation for LM: that means "3X faster!")
* Put all Tk_OptionSpec for buttons and labelsnijtmans2010-02-182-26/+42
| | | | | | in const memory. With some changes to win32 and macosx, preventing direct writes to read-only memory.
* generic/tkMenu.c: Defer TkMenuOptionTables cleanup to CallWhenDeleted() time,jenglish2010-02-171-4/+5
| | | | | to ensure that the record doesn't get freed until after all widget instance commands have been deleted (Fixes [Bug#2952745]).
* CONSTify everything related to Tk_ConfigSpecnijtmans2010-02-1718-79/+76
|
* tkWindow.c/tkStubInit.c adapted from stub changes in Tclnijtmans2010-02-164-18/+21
| | | | | | | | | | | | tkArgv.c make defaultTable const tkScrollbar.c Store default for "-with" in static non-const memory tkWinInt.h make tkWinProcs const, and 5 tkWinX.c procs MODULE_SCOPE tkWinColor.c make sysColors const tkWinKey.c make keymap const tkWinScrlbr.c Simplify copying of "-with" default value. tkUnixWm.c make TkSetTransientFor static tests/textImage.test textImage-1.13 depends on hash-order
* use -pipe for gcc on win32 (mingw/cygwin)nijtmans2010-02-1312-193/+46
| | | | | | make sure that TkpCmapStressed is exported clean up unused Tk_CreatePhotoOption Make more internal arrays "const"
* Make more internal tables "const"nijtmans2010-02-058-47/+39
| | | | tk*Decls.h (regenerated with new genStubs.tcl from Tcl)
* Laxative patch: Revert contravariant const qualifiers added by thejenglish2010-02-0513-44/+43
| | | | | previous commit to keep codebase in sync with the Tile extension, which must remain 8.4 compatible.
* Make the various stub tables and hook pointers const,nijtmans2010-02-0518-58/+74
| | | | | just as Tcl and Tk. Make more internal tables "const"
* Follow-up to [2010-01-29] commit:nijtmans2010-02-057-607/+613
| | | | | prevent space within stub table function parameters if the parameter type is a pointer.
* Change signature of widget subcommand procedures to match Tcl_ObjCmdProc.jenglish2010-01-3115-397/+341
| | | | Merge now-redundant ensemble dispatch code.
* Little simplification in tkBind.cnijtmans2010-01-291-5/+2
|
* genStubs.tcl: No longer generate a space afternijtmans2010-01-298-1278/+1223
| | | | | | "*" and immediately after a function name, so the format of function definitions in *Decls.h match all other *.h header files.
* fix more gcc warnings: missing initializernijtmans2010-01-2213-59/+61
| | | | | | | Eliminate use of __argc and __argv for CYGWIN Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures.
* [Bug 2931374]: Stop overflow of working buffer during construction of longdkf2010-01-191-2/+6
| | | | tag expressions.
* fix more gcc warnings: missing initializernijtmans2010-01-1829-334/+362
| | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* Eliminate tkpMenubuttonClassnijtmans2010-01-1316-41/+66
| | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* CONSTify Tk_SetClassProcsnijtmans2010-01-104-9/+9
|
* [Bug 2677890]: Fix odd text widget update problem that had scrollbars beingdkf2010-01-071-3/+9
| | | | unable to cover the whole widget. Fix is to reify the range to update sooner.
* [Bug 2926819]: Factor out the pointer warping code a bit better and extend itdkf2010-01-063-14/+19
| | | | to work on OSX too.
* Win doesn't have round(), but does have floor()dkf2010-01-051-2/+2
|
* [Bug 220950]: Don't delete the last menu entry when it is obvious that is notdkf2010-01-051-2/+13
| | | | what was intended.
* Corrected rounding of coordinates when working with fonts. [Bug 2824916]dkf2010-01-052-4/+8
|