summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* clarify text index documentationvincentdarley2005-11-161-0/+6
|
* Added support for [wm attributes] on X11 [TIP#231, patch#1062022].jenglish2005-11-161-0/+4
|
* bgerror dialog: Truncate error messages at 45 charactersjenglish2005-11-151-0/+4
| | | | instead of 30 [#1224235].
* Fix problem in default selection handler outlined by test select-9.5dkf2005-11-141-0/+5
|
* Glurk, SelCvtToX was just as broken as SelCvtFromX when atoms contain spaces.dkf2005-11-131-0/+4
|
* Fix [Bug 1353414] by doing the list generation using standard Tcl utilities.dkf2005-11-131-0/+3
| | | | | Also simplifies the code quite a bit (at the expense of an OUT parameter instead of a return value).
* Added test for [Bug 1353414]dkf2005-11-131-0/+4
|
* Fixes of other issues raised in [Bug 1353022]dkf2005-11-101-0/+4
|
* Fix [Bug 1353022]dkf2005-11-101-0/+3
|
* Factor out external-filename-to-internal code; the same pattern occurred a lot!dkf2005-11-101-2/+8
|
* Fix SHLIB_LD_LIBS for building tclkit on OpenBSD.patthoyts2005-11-061-0/+5
|
* fix for count displaylines bugvincentdarley2005-10-311-0/+6
|
* * generic/tkMain.c: Rewrote code that sets the ::argv valuedgp2005-10-181-0/+7
| | | | | | to be sure conversion from the system encoding is complete before any processing sensitive to list-special characters is done. [Bug 1328926].
* * macosx/tkMacOSXScrlbr.c (UpdateControlValues): check geomMgrPtrhobbs2005-10-181-0/+5
| | | | is valid before checking type
* * library/menu.tcl (::tk::MenuUnpost): remove leftover ] fromhobbs2005-10-161-0/+5
| | | | string equal mods of 2005-07-25. (sowadsky)
* * win/tkWinSend.c: Avoid using tcl internal headers and fix topatthoyts2005-10-141-0/+6
| | | | | * win/tkWinSendCom.h: correctly link on all types of build (was * win/tkWinSendCom.c: broken in static,msvcrt builds).
* Tidy updkf2005-10-141-1268/+1194
|
* Arrange the test suite so that it only accesses images in the same directory.dkf2005-10-121-0/+8
| | | | This enables packaging of the test suite as a starkit.
* * generic/tkConfig.c (Tk_DeleteOptionTable, Tk_CreateOptionTable):hobbs2005-10-101-0/+3
| | | | properly alloc/delete one more option. [Bug 1319720] (melbardis)
* * macosx/tkMacOSXInt.h: Move MODULE_SCOPE defn to tkInt.h and addhobbs2005-10-101-0/+4
| | | | | * generic/tkInt.h: WORDS_BIGENDIAN checks that will work with OS X universal binary compiles. (steffen)
* * generic/tkMenu.c (TkSetWindowMenuBar): do not call TkMenuInit ifhobbs2005-10-101-0/+7
| | | | | | the winPtr indicates TK_ALREADY_DEAD. This prevents reinit that creates a Tk exit handler after all exit handlers should be called. [Bug 749908, 1322294]
* tip256 implementationvincentdarley2005-10-101-0/+24
|
* * library/dialog.tcl (::tk_dialog): add tkwait visibility beforehobbs2005-10-051-1/+4
| | | | grab. [Bug 1216775]
* * win/tkWinDialog.c (ChooseDirectoryValidateProc): reset storedhobbs2005-10-051-0/+4
| | | | | path to "" if it doesn't exist and -mustexist is true. [Bug 1309218] Remove old-style dir chooser (no longer used).
* * macosx/tkMacOSXInt.h: add MODULE_SCOPE definition check forhobbs2005-10-041-0/+6
| | | | | extension writers that access private headers on OS X and don't define it in configure.
* * unix/tkUnixPort.h: Disabled inclusion of the private Tcl headerdgp2005-09-281-0/+11
| | | | | | | | | | * win/tkWinPort.h: file tclInt.h. Tk ought to have a tiny and shrinking number of calls of private Tcl routines. Each Tk source file doing this should follow the convention in the macosx port and have its own #include "tclInt.h". * generic/tkEvent.c: Disabled calls to private Tcl routine TclInExit(). See comment in TkCreateExitHandler() for full rationale.
* Tk-internal exit handler improvements. [Bug 749908]dkf2005-09-211-0/+7
|
* Fix for [1288128]dkf2005-09-141-0/+9
|
* * win/winMain.c (WishPanic): Replaced TCL_VARARGS* macros withdgp2005-09-131-0/+5
| | | | direct use of stdarg.h conventions.
* * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): check ifdas2005-09-101-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | process is in front on MouseDown, otherwise request process activation from BringWindowForward() via new isFrontProcess param. * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): register our event handler on the dispatcher target for all carbon events of interest to TkAqua; this replaces event processing directly from the event queue and thus allows to capture events that are syntesized by Carbon and sent directly to the dispatcher and not to the event queue. * macosx/tkMacOSXEvent.c: remove TkMacOSXCountAndProcessMacEvents(), rename ReceiveAndProcessEvent() to TkMacOSXReceiveAndProcessEvent(). (TkMacOSXReceiveAndProcessEvent): remove tk event processing before sending events to the dispatcher, all events of interest are now processed in our dispatcher target event handler. * macosx/tkMacOSXNotify.c (CarbonEventsCheckProc): dispatch events directly via TkMacOSXReceiveAndProcessEvent(), but dispatch no more than four carbon events at one time to avoid starving other event sources. * macosx/tkMacOSXEvent.c: formatting cleanup, move XSync() to XStubs, * macosx/tkMacOSXEvent.h: removed obsolete kEventClassWish handling. * macosx/tkMacOSXXStubs.c * macosx/tkMacOSXEvent.h: declare macosx internal procs as MODULE_SCOPE. * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXButton.c: conditionalize all debug message printing to * macosx/tkMacOSXCursor.c: stderr via TK_MAC_DEBUG define. * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled. * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59 * library/listbox.tcl: synced aqua MouseWheel bindings with * library/scrlbar.tcl: core-8-4-branch. * library/text.tcl: * xlib/xcolors.c: fixed warning
* * unix/Makefile.in (html): reverted/amended changes of 2005-08-23das2005-08-251-0/+6
| | | | | that broke TkAqua 'make install'; added BUILD_HTML_FLAGS optional var like in tcl/unix/Makefile.in.
* Punctuation fix in error message.dkf2005-08-231-15/+16
|
* * macosx/tkMacOSXDialog.c: make dialogs ignore -initialfile "" andhobbs2005-08-231-0/+5
| | | | -initialdir "" instead of error.
* * win/tkWin32Dll.c (DllMain): Replace old asm SEHmdejong2005-08-231-0/+6
| | | | | approach with Kenny's new SEH implementation. [Tcl bug 1235544]
* * unix/Makefile.in: Subst BUILD_TCLSH and TCL_EXE.mdejong2005-08-231-0/+20
| | | | | | | | | | | | | | | | | | | * unix/configure: Regen. * unix/configure.in: Update minimum autoconf version to 2.59. Invoke SC_PROG_TCLSH and SC_BUILD_TCLSH. * unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH): * win/Makefile.in: Subst BUILD_TCLSH and TCL_EXE. * win/configure: Regen. * win/configure.in: Update minimum autoconf version to 2.59. Invoke SC_BUILD_TCLSH. * win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH): Split confused search for tclsh on PATH and build and install locations into two macros. SC_PROG_TCLSH searches just the PATH. SC_BUILD_TCLSH determines the name of the tclsh executable in the Tcl build directory. [Tcl bug 1160114] [Tcl patch 1244153]
* * macosx/tkMacOSXButton.c:das2005-08-221-0/+5
| | | | * macosx/tkMacOSXDialog.c: fix warnings.
* Fix for [Bug 1216006]Joe Mistachkin2005-08-211-0/+4
|
* Fix [Bug 1151523]dkf2005-08-181-1/+5
|
* *** empty log message ***georgeps2005-08-171-0/+6
|
* Fixed bug # 1258604chengyemao2005-08-131-0/+6
|
* Fix for [749908] that localizes the changes within a single file and alsodkf2005-08-121-0/+6
| | | | allows third-party code to work.
* Getting more systematic about styledkf2005-08-101-0/+6
| | | | | Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj
* whitespace policedkf2005-08-091-343/+343
|
* clarify tab stop behaviourvincentdarley2005-08-091-0/+4
|
* * macosx/tkMacOSXCarbonEvents.c (AppEventHandlerProc): handle carbondas2005-08-091-2/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | events sent directly to application event target via the general TkMacOSXProcessEvent() in the same way as events posted to the event loop. Moved existing app event handlers to tkMacOSXWindowEvent.c. (TkMacOSXInitCarbonEvents): register our application event handler for kEventWindowExpanded events to deal with uncollapsing from the dock. * macosx/tkMacOSXEvent.h: made TkMacOSXProcessEvent() non-static, added * macosx/tkMacOSXEvent.c: new interp field to TkMacOSXEvent struct for use by app event handler. * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): retrieve current window, partCode, modifiers and local cursor position from carbon mouse event if possible. Use new static GenerateButtonEvent() taking a MouseEventData struct instead of TkGenerateButtonEvent() to avoid recomputing already known values. Move process activation on MouseDown into BringWindowForward() to allow clicking on window titlebar widgets without activating process. Move code dealing with clicks in window titelbar into separate function HandleWindowTitlebarMouseDown() to avoid code duplication. Avoid repeated calls to TkMacOSXGetXWindow() by storing result in MouseEventData struct. (TkMacOSXButtonKeyState, XQueryPointer): try to get button and modifier state from currently processed carbon event (to avoid unnecessary IPC with the window server), otherwise use modern carbon API to get this info instead of Button() and GetKeys(); only retrieve info caller asks for (via non-NULL ptr passed to XQueryPointer). (ButtonModifiers2State): new static function converting carbon button and modifier state into tk state, allows detection of more than 3 mouse buttons (tk supports up to 5) and of NumLock and Fn modifier keys (NumLock is mapped to Mod3 and Fn to Mod4). * macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent): handle kEventWindowExpanded event to deal with window uncollapsing from the dock by generating tk Map event, handle kEventAppHidden and kEventAppShown events (moved here from tkMacOSXCarbonEvents.c). * macosx/tkMacOSXSubwindows.c (XUnmapWindow): only hide window when it is not iconified to avoid window flashing on collapse. * macosx/tkMacOSXWm.c: replaced Tk_DoWhenIdle() by Tcl_DoWhenIdle(). (TkMacOSXZoomToplevel): remove call to TrackBox(), now done in HandleWindowTitlebarMouseDown() in tkMacOSXMouseEvent.c. (TkpWmSetState): avoid window flashing on collapse by unmapping after calling CollapseWindow(); only uncollapse window if it is collapsed. * generic/tkInt.decls: changed TkMacOSXZoomToplevel() signature. * generic/tkIntPlatDecls.h: * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only call GetMenuItemCommandID() on KeyDown or KeyRepeat events. * macosx/tkMacOSXMenu.c (ReconfigureMacintoshMenu): remove call to obsolete AppendResMenu() API. * macosx/tkMacOSXKeyEvent.c: replaced all direct uses of expensive * macosx/tkMacOSXMenu.c: GetMouse() and TkMacOSXButtonKeyState() * macosx/tkMacOSXMenus.c: APIs by calls to XQueryPointer() * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDialog.c: replaced use of FrontNonFloatingWindow() * macosx/tkMacOSXKeyEvent.c: by ActiveNonFloatingWindow() as * macosx/tkMacOSXMenu.c: recommended by Carbon docs. * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDialog.c: fixed warnings * macosx/tkMacOSXTest.c: * macosx/tkMacOSXCarbonEvents.c: added CVS Id line to file header. * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.h: * macosx/tkMacOSXInt.h: declare macosx internal procs as MODULE_SCOPE. * macosx/tkMacOSXCarbonEvents.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXWindowEvent.c * library/bgerror.tcl: sync with core-8-4-branch changes of 2005-07-28. * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXMouseEvent.c: * generic/tkFrame.c: sync with core-8-4-branch changes of 2005-07-27. * generic/tkIntDecls.h: * generic/tkStubInit.c: * generic/tkFrame.c: * win/tkWinDraw.c: * unix/tkUnixDraw.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXButton.c: sync with core-8-4-branch. * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXScale.c: * library/demos/menu.tcl: removed errant '}'.
* Added another example.dkf2005-08-041-0/+5
|
* Apply some of the changes suggested in [Patch 1237759]dkf2005-07-251-0/+5
|
* * win/tkWinX.c: Define _WIN32_WINNT with NT SP 3 datamdejong2005-07-231-0/+8
| | | | | | | to fix compiler error because SendInput was not defined. The new msys_mingw7 release is now needed to compile the HEAD with mingw gcc. [Bug 1210712]
* * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent):hobbs2005-07-211-0/+5
| | | | corrected if expression error (use of = instead of ==)
* fix to text widget 'mark prev' segfaultvincentdarley2005-07-181-0/+7
|