summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkButton.c (ButtonTextVarProc): guard against beinghobbs2001-12-281-2/+6
| | | | called while the *button/label is being deleted. [Bug #490051]
* Added panic in ImgPhotoInstanceSetSize in case of failure to get pixmapchengyemao2001-12-071-1/+5
|
* * generic/tkText.c:hobbs2001-12-052-20/+20
| | | | | * generic/tkText.h: changed TkTextEditType enums to be prefaced with TK_EDIT_ to prevent name collision.
* Add TK patch 481148 to implement TIP 74, themdejong2001-12-043-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | wm stackorder command. * doc/winfo.n: Update documentation for the winfo children command to indicate that top-level windows are not returned in stacking order. * doc/wm.n: Add documentation for wm stackorder. * generic/tkInt.decls (TkWmStackorderToplevel): Add decl for new function. * generic/tkIntDecls.h: Regen. * generic/tkStubInit.c: Regen. * tests/unixWm.test: Add stackorder command to test for wm command usage message. * tests/wm.test: Add new set of tests for generic window manager methods. * unix/tkUnixWm.c (Tk_WmCmd, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add unix implementation of new wm stackorder command. * win/tkWinWm.c (Tk_WmCmd, TkWmStackorderToplevelEnumProc, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add windows implementation of new wm stackorder command.
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-2310-450/+178
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435660) see ChangeLog for details
* added static to TextGetText and popStack func definitionshobbs2001-11-211-3/+3
|
* (DestroyText): plugged mem leak when not clearing stack (callewaert)hobbs2001-11-211-8/+8
| | | | (TextGetText): more efficient string size calculation (darley)
* * generic/tkText.c (TextGetText): reworked to use DString forhobbs2001-11-201-54/+58
| | | | improved speed. (callewaert, darley)
* added TIP#26 text widget undo/redo functionalityhobbs2001-11-133-81/+682
|
* Minor fixes to TkCursor.nextPtr field handling [adapted from Patch 473875]dkf2001-10-231-3/+3
|
* * generic/tkWindow.c (OpenIM): Added simple XIM patch to enablehobbs2001-10-161-1/+6
| | | | basic XIM input on Unix. [Patch #412727] (fabian)
* implementation of TIP 63 (accepted) -compound option to menu items.macosx_8_4_branchpointtmh2001-10-124-15/+34
|
* Added -uniform option to grid's row/columnconfigure.pspjuth2001-09-301-6/+139
|
* Added labelframe widget. TIP#18.pspjuth2001-09-263-60/+937
|
* Geometry manager changes to support TIP#18.pspjuth2001-09-2611-51/+241
|
* * Corrected definition ofdgp2001-09-254-7/+25
| | | | | TkpScanWindowId to handle situation where types Window and int do not have the same number of bits. CONST-ified too.
* Update to handle change indgp2001-09-241-2/+3
| | | | | return type of Tcl_DStringAppend() from (char *) to (CONST char *). [TIP 27]
* Pack accepted asymmetric values for -ipadx/y.pspjuth2001-09-231-5/+19
| | | | Only -padx/y supports asymmetry. [Bug #462348]
* * generic/tkWindow.c (Tk_CreateAnonymousWindow):hobbs2001-09-212-6/+2
| | | | * generic/tkEntry.c (GetSpinboxElement): fixed unreachable returns.
* minor cast fixes to prevent 64bit warningshobbs2001-09-212-9/+9
|
* (TkpScanWindowId): changed decl to usehobbs2001-09-213-8/+8
| | | | Window* instead of int*.
* correct Window id's to be of type Windowhobbs2001-09-212-8/+7
|
* * Corrected type definition ofdgp2001-09-172-4/+4
| | | | | | argument passed to Tcl_GetStringFromObj() from size_t to int. Incorrect type broke [pack] and [grid] on systems where sizeof(size_t) != sizeof(int). [Bugs 462375, 462342, 462338]
* * generic/tkImgGIF.c:andreas_kupries2001-09-144-5/+15
| | | | | | | | | * generic/tkImgPPM.c: * generic/tkImgPhoto.c: * generic/tkMenu.c: Applied patch [461578], provided by Vincent Darley. This fixes several memory leaks in the image code. They happen if there are errors during the initialization of the channel the image is supposed to be read from.
* * tests/config.test: added config-14.1 to test namespace importhobbs2001-08-299-300/+142
| | | | | | | | | | | | | | evaluation of widgets. * generic/tkButton.c (ButtonCreate): * generic/tkFrame.c (CreateFrame): * generic/tkMenubutton.c (Tk_MenubuttonObjCmd): * generic/tkPlace.c (Tk_PlaceObjCmd): * generic/tkScale.c (Tk_ScaleObjCmd): * generic/tkMessage.c (Tk_MessageObjCmd): * generic/tkEntry.c (Tk_EntryObjCmd, Tk_SpinboxObjCmd): * generic/tkSquare.c (SquareObjCmd): redid the handling of optionTables in widgets to allow them to be imported into other namespaces. [Bug #456632]
* Fixed a bug where adjacent 'x' and '^' where not handled properly.pspjuth2001-08-221-3/+11
|
* generic/tkPack.c (TkParsePadAmount): added lint init for sepChar.hobbs2001-08-221-2/+2
|
* Objectified grid and pack commands.pspjuth2001-08-214-542/+554
|
* TkGetWindowFromObj was useless CPU waster; now caches window names *safely*dkf2001-08-213-17/+115
|
* Grid configure rejected initial "x" and "^". [Bug #418664]pspjuth2001-08-181-2/+3
|
* The selection highlighting of text objects in the canvas widgetdrh2001-08-171-4/+4
| | | | | | | was failing to include the last character of the selection. The "selection get" mechanism returned the right answer (so all the tests were passing) but the widget did not display correctly. This delta fixes the problem.
* Fixed a stupid error that's been in there for ages...dkf2001-08-171-6/+7
|
* Register Tk's object types with Tcl (Tcl Bug 450545)dkf2001-08-1510-37/+89
|
* *Bumped up patchlevel to 8.4a4 to distinguishdgp2001-08-081-3/+3
| | | | | CVS snapshots from the 8.4a3 release. This does not necessarily mean there will be an 8.4a4 release. [Bug 448938].
* * TIP 44 changes specific to the Mac anddgp2001-08-062-8/+9
| | | | | | Windows platforms that were overlooked before: tkOpenDocument, tkConsoleExit, tkConsoleOutput, unsupported1 out of namespace :: . Thanks to Vince Darley for prompting another look.
* Merged changes from feature branch dgp-privates-into-namespace,dgp2001-08-012-10/+10
| | | | | implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace.
* * generic/default.h: Include tkWinDefault.hmdejong2001-07-241-2/+3
| | | | when built with Cygwin or Mingw.
* The code for generating postscript of a bitmap image was apparently neverdrh2001-07-141-46/+140
| | | | | | completed. The beginnings of the code was there but it generated diagnostic messages rather than proper postscript. This change fixes the problem.
* * tests/canvas.test:hobbs2001-07-041-13/+8
| | | | | | * generic/tkCanvPoly.c (PolygonToArea): Added patch that respects the polygon difference of including points in the polygon even when fill is empty. [Bug #226357]
* * generic/tkEntry.c: corrected missing Tcl_Release that causedhobbs2001-07-032-28/+52
| | | | | | font not freed complaints when trying valid cleanup calls. * generic/tkListbox.c: made use of Tcl_Preserve/Tcl_Release to prevent FMR errors in Display functions.
* * generic/tkCanvArc.c:hobbs2001-07-037-279/+266
| | | | | | | | | | | * generic/tkCanvBmap.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkRectOval.c: corrected argument handling in Create<Item> functions that could lead to ABRs or FMRs and corrected names of argc/argv to objc/objv.
* * generic/tkImgGIF.c (Mgetc): corrected screwy use of ternaryhobbs2001-07-031-2/+3
| | | | operator and possible FMR.
* * generic/tkWindow.c (Tk_DestroyWindow): changed to usehobbs2001-07-031-7/+7
| | | | | Tcl_EventuallyFree instead of ckfree so that widgets that have references to a tkwin can use them.
* * library/console.tcl:hobbs2001-07-032-18/+104
| | | | | | | | | | | | | | | | | | | | | * library/entry.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: added private ::tk::GetSelection command to handle requesting selection. This is to support requesting UTF8_STRING before generic STRING on Unix. Changed Text, Spinbox, Entry and Console to use this command. * tests/select.test: * generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler): on Unix, a UTF8_STRING handler will be created when the user requests a STRING handler (in addition to the STRING handler). This provides implicit support for the new UTF8_STRING selection target. * unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added support for UTF8_STRING target. [RFE #418653, Patch #433283] * generic/tkInt.h: added utf8Atom to TkDisplay structure.
* * generic/tkEntry.c (DestroyEntry): used Tcl_EventuallyFreehobbs2001-07-021-4/+6
| | | | instead of ckfree for entryPtr to prevent FMRs. [Bug #413904]
* Upgraded frame to use the newer TK_OPTIONpspjuth2001-05-282-136/+235
| | | | | style when processing configuration options. Some cleanup of bad comments and bad code. [part of patch #420861]
* * doc/TkInitStubs.3:hobbs2001-05-222-5/+5
| | | | | | * generic/tk.h: * generic/tkStubLib.c: CONST'ified Tk_InitStubs to match CONST changes to Tcl_PkgRequireEx.
* implement TIP11, -compound option for menubutton widgettmh2001-05-212-2/+27
|
* Better handling of when image creation nukes the main window so nowdkf2001-04-121-3/+8
| | | | does not crash on Linux.
* * generic/tkMenu.c (TkInvokeMenu): checked for menu deletionhobbs2001-04-031-7/+13
| | | | before calling associated menu entry command. [Bug #220821]