summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-064-36/+76
| | | | | | | | | | | * generic/tkInt.h: control of entry/text selection display * generic/tkText.c: based on focus to the Tcl level, * generic/tkWindow.c: controlled by ::tk::AlwaysShowSelection * library/tk.tcl: (boolean, private). [Bug 1553691] * macosx/tkMacOSXDefault.h: * unix/tkUnixDefault.h: * unix/tkUnixPort.h: * win/tkWinDefault.h:
* Style cleanupdkf2006-08-182-576/+560
| | | | Split older changelog entries into separate file
* swap out of order "F34" and "R14"das2006-07-211-2/+2
|
* * generic/tkBind.c (TkBindInit): for REDO_KEYSYM_LOOKUP, changedas2006-07-211-7/+9
| | | | | | | | | keysym-to-string mapping hash to use first name in ks_names.h instead of last (if there are multiple possibilities), e.g. "F11" instead of "L1". * macosx/tkMacOSXKeyboard.c (TkpGetKeySym): correct keysyms for pure modifier key presses [Bugs 700311, 1525905]; correct keysym for Enter key; add keysyms for new NumLock and Fn modifiers (added 2005-08-09).
* * generic/tkImgGIF.c (ReadImage):das2006-07-201-3/+3
| | | | | | | | * macosx/tkMacOSXCursor.c (TkMacOSXCursor): * macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): * macosx/tkMacOSXInit.c (Map): * xlib/xgc.c (XCreateGC): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
* * generic/tkWindow.c (Initialize): Modify change of 2006-05-25andreas_kupries2006-07-141-1/+8
| | | | | | (jeffh). Release mutex a bit earlier, to prevent lock when OS X creates its console windows (recursively enters Tk_Init). Patch by JeffH.
* * generic/tkScale.c: Revised variable writing logic to accountdgp2006-06-141-5/+12
| | | | | for [scale]'s design that it deals with its value as a formatted string, and not as a double. [Bug 891141].
* * generic/tkMain.c: Added Tcl_Preserve() call on the masterdgp2006-06-091-1/+3
| | | | | interp as crash protection against any Tcl_DeleteInterp() call that might happen.
* * generic/tkConsole.c: Added Tcl_RegisterChannel() calls to bumpdgp2006-06-011-2/+11
| | | | | the refcount of channels passed to Tcl_SetStdChannel(). This prevents early free-ing of the channels that leads to crashes. [Bug 912571].
* * tests/entry.test (entry-22.1):hobbs2006-05-291-39/+17
| | | | | | | * tests/listbox.test (listbox-6.15): * generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd): Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry widget handling. [Bug 1424513]
* * generic/tkMenu.c (DeleteMenuCloneEntries): Modify entry indexhobbs2006-05-251-4/+5
| | | | changes to work around VC6 optimization bug. [Bug 1224330]
* * generic/tkMessage.c (MessageWidgetObjCmd): Correct msgPtrhobbs2006-05-251-8/+9
| | | | preserve/release pairing. [Bug 1485750] (afredd)
* * generic/tkWindow.c (Initialize): Correct mutex (un)lockhobbs2006-05-251-23/+19
| | | | pairing. [Bug 1479587] (loewis)
* * generic/tkBind.c (Tk_BindEvent, TkCopyAndGlobalEval): usehobbs2006-05-251-4/+6
| | | | Tcl_EvalEx instead of Tcl_GlobalEval.
* * generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock):hobbs2006-05-131-19/+29
| | | | | Fix opt added 2006-03 that caused slowdown for some common cases. [Bug 1409140]
* * generic/tkCanvWind.c (DisplayWinItem, WinItemRequestProc): ensuredas2006-05-121-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | canvas window items are unmapped when canvas is unmapped. [Bug 940117] * macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): empty clip region of unmapped windows to prevent any drawing into them or into their children from becoming visible. [Bug 940117] * macosx/tkMacOSXInt.h: revert Jim's attempt of 2005-03-14 to * macosx/tkMacOSXSubwindows.c: fix Bug 940117 as it disables Map/Unmap event propagation to children. [Bug 1480105] * macosx/tkMacOSXDraw.c (TkPutImage): handle tkPictureIsOpen flag, fixes incorrect positioning of images with complex alpha on native buttons; actual alpha blending is still broken in this situation. [Bug 1155596] * macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): * macosx/tkMacOSXMenus.c (TkMacOSXInitMenus): workaround carbon bug with key shortcut for 'Preferences' app menu item. [Bug 1481503] * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only check for HICommand menu item shortcuts in the application menu. * macosx/tkMacOSXInt.h: initialize keyboard layout setup in * macosx/tkMacOSXInit.c: TkpInit() rather than during handling of * macosx/tkMacOSXKeyEvent.c: first key down event. * macosx/tkMacOSXDraw.c: add optional debug code to flash clip * macosx/tkMacOSXSubwindows.c: regions during update or draw.
* * README: Bump version number to 8.5a4dgp2006-05-041-3/+3
| | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tkWindow.c (Tk_NameToWindow): Allow NULL interp topspjuth2006-04-112-21/+128
| | | | | | | | Tk_NameToWindow. This fixes TkGetWindowFromObj which promises to handle NULL but didn't. * generic/tkGrid.c: Fixed handling of out of bounds row or column. * tests/grid.test: [Bug 1432666]
* * generic/tkWindow.c (Initialize): remove impotent use ofhobbs2006-04-051-3/+2
| | | | DeleteWindowsExitProc as a global exit handler.
* * generic/tkMenu.c (TkSetWindowMenuBar): remove extra TkMenuInithobbs2006-04-051-12/+1
| | | | | | | | | | call that caused finalization panic. [Bug 1456851] * win/tkWinMenu.c (FreeID, TkpNewMenu, MenuExitHandler) (MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework Windows menu init/finalization to better respect per-process and per-thread boundaries. [Bug 1456851] (TkWinMenuKeyObjCmd): Do not error when unknown window is passed in. [Bug 1236306]
* * tests/grid.test: fix segfault on empty or "all" index listhobbs2006-04-051-27/+36
| | | | * generic/tkGrid.c (GridRowColumnConfigureCommand): [Bug 1422430]
* fix to crash in test suite, with dump -commandvincentdarley2006-04-051-2/+3
|
* * generic/tkOption.c (TkOptionDeadWindow): handlehobbs2006-03-301-2/+6
| | | | OptionThreadExitProc being called before DeleteWindowsExitProc.
* further fixes to $text dump -commandvincentdarley2006-03-281-5/+36
|
* * generic/tkTextDisp.c (MeasureChars): Fix calculations of start andcc_benny2006-03-271-4/+5
| | | | end of string. [Bugs 1325998, 1456157]
* Fix (and add test for) [Bug 1458234]dkf2006-03-271-13/+13
|
* fix for text dump -command callbacks which modify the text widgetvincentdarley2006-03-263-46/+144
|
* * generic/tkTextDisp.c: moved #ifdef MAC_OSX_TK code added bydas2006-03-241-37/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXColor.c: Patch #638966 into platform specific * macosx/tkMacOSXInt.h: files. * macosx/tkMacOSX.h: cleaned up & rationalized order of * macosx/tkMacOSXBitmap.c: #includes of tk and carbon headers. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXCarbonEvents.c: * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXConfig.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXWm.h: * macosx/tkMacOSXXStubs.c:
* * generic/tkFont.c: implementation of ATSUI text renderingdas2006-03-224-65/+825
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h: in TkAqua provided by Benjamin * generic/tkTextDisp.c: Riefenstahl. [Patch 638966] * library/demos/unicodeout.tcl: * macosx/tkMacOSXFont.h (new file): * macosx/tkMacOSXFont.c: * tests/font.test: * unix/tkUnixFont.c: * win/tkWinFont.c: * generic/tkFont.c: moved MODULE_SCOPE declarations of * generic/tkFont.h: font helper procs into header files. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXMenubutton.c: * macosx/Wish.xcode/project.pbxproj: add new tkMacOSXFont.h file, * macosx/Wish.xcodeproj/project.pbxproj: turn off dead code stripping as it interferes with -sectcreate (rdar://4486223). * macosx/Wish.xcode/default.pbxuser: add TCLLIBPATH=/Library/Tcl * macosx/Wish.xcodeproj/default.pbxuser: env var setting to tktest. * unix/configure.in: fix detection of symbols build when enabling TkAqua debug code; filter nm output of libtclstub better to avoid error on intel macs [Bug 1415789]. * unix/configure: autoconf-2.59
* * generic/tkConsole.c: Added exit handler to clean up the interpdgp2006-03-211-8/+27
| | | | | | | where the console window lives. Also added code to handle multiple calls to Tk_CreateConsoleWindow so that the console channels connect to the last console window opened, in compatibility with the previous implementation.
* * generic/tkConsole.c: Added exit handler to clean up the interpdgp2006-03-201-5/+27
| | | | where the console window lives.
* undo/modified and empty string fixvincentdarley2006-03-181-14/+18
|
* corrected silly cut/paste/forget to modify error in the name of thedgp2006-03-161-2/+2
| | | | stderr console channel.
* Revisions to Tk_CreateConsoleWindow to tolerate case when no console channelsdgp2006-03-161-26/+27
| | | | have been created.
* * generic/tkConsole.c: Substantial rewrite of [console] support.dgp2006-03-162-302/+357
| | | | | | | * generic/tkInt.h: Included Obj-ification of the [console] and [consoleinterp] commands, and reworking of all the supporting data structures for cleaner sharing and lifetime management especially in multi-threaded configurations.
* missing MODULE_SCOPE declarations and obsolete exports discovered by 'make ↵das2006-03-162-3/+6
| | | | checkstubs'
* D'oh!dkf2006-03-161-1/+2
|
* Hack to make photo-to-photo copies cheaper in the common case of no alphadkf2006-03-161-4/+25
|
* Squelch [Bug 1409140] by special-case-ing the single-pixel put case.dkf2006-03-151-34/+69
| | | | Also take better advantage of C's casting rules w.r.t. void* and other pointers
* * generic/tkCmds.c: Purged remaining references todgp2006-03-131-2/+1
| | | | | | | * macosx/tkMacOSXPort.h: errno, and errno.h. Standardized * macosx/tkMacOSXWm.c: the logic for using header files from * macosx/tkMacOSXWm.h: the compat directory. Thanks Joe * unix/tkUnixPort.h: English for the patch. [Patch 1445404]
* Fix old thread-safety issue. [Bug 470322]dkf2006-02-271-2/+6
|
* Fix pixmap creation ordering issue [Bug 480862]dkf2006-02-271-16/+18
| | | | Stupid issue was fixed for the mask pixmap, but not the data pixmap!
* * generic/tk.decls: fix signature of TkMacOSXInvalClipRgnsdas2006-02-093-17/+6
| | | | | | | | | | * generic/tkPlatDecls.h: to use Tk_Window instead of internal * macosx/tkMacOSXSubwindows.c: type TkWindow (which led to any include * macosx/tkMacOSXWindowEvent.c: of public header tkMacOSX.h requiring * macosx/tkMacOSXWm.c: prior include of tkInt.h). * generic/tk.h: move TkAqua specific REDO_KEYSYM_LOOKUP define * macosx/tkMacOSXPort.h: out of tk.h into platform header.
* Comment formattingdkf2006-02-031-16/+21
|
* XIM fixes [See #905830, patch tk84-xim-fixes.patch].jenglish2006-01-201-3/+5
| | | | | | + Revert 2005-12-05 patch disabling XIM when SCIM in use; + Make sure all X events get passed to XFilterEvent, including those without a corresponding Tk window.
* generic/tkUndo.c (TkUndoSetDepth): Don't freea_kovalenko2006-01-121-11/+21
| | | | | | | TkUndoSubAtoms for separator entries that are deleted: there is some unpredictable garbage instead of subatoms. Free both 'apply' and 'revert' action chains for non-separator entries.
* TIP#260 implementationdkf2006-01-121-1/+8
|
* Removed a lingering error message from TIP#147 implementation.pspjuth2006-01-111-1/+7
|
* Fix [Bug 1380427] using [Patch 1391939] from Ludwig Callewaertdkf2005-12-281-32/+7
|
* ANSIfydkf2005-12-121-125/+130
|