summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * unix/Makefile.in (html): reverted/amended changes of 2005-08-23das2005-08-252-5/+14
| | | | | that broke TkAqua 'make install'; added BUILD_HTML_FLAGS optional var like in tcl/unix/Makefile.in.
* Punctuation fix in error message.dkf2005-08-232-17/+18
|
* * macosx/tkMacOSXDialog.c: make dialogs ignore -initialfile "" andhobbs2005-08-232-53/+62
| | | | -initialdir "" instead of error.
* * win/tkWin32Dll.c (DllMain): Replace old asm SEHmdejong2005-08-232-104/+98
| | | | | approach with Kenny's new SEH implementation. [Tcl bug 1235544]
* * unix/Makefile.in: Subst BUILD_TCLSH and TCL_EXE.mdejong2005-08-239-749/+309
| | | | | | | | | | | | | | | | | | | * 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-223-4/+9
| | | | * macosx/tkMacOSXDialog.c: fix warnings.
* Fix for [Bug 1216006]Joe Mistachkin2005-08-212-2/+6
|
* Fix [Bug 1151523]dkf2005-08-182-4/+7
|
* Formatting Systematizationdkf2005-08-181-797/+782
|
* Formatting systematizationdkf2005-08-181-387/+379
|
* *** empty log message ***georgeps2005-08-171-0/+6
|
* Fixed missing [] in prototypes that have objv.georgeps2005-08-171-4/+4
|
* Style systematizationdkf2005-08-161-682/+667
|
* Fixed bug # 1258604chengyemao2005-08-132-2/+11
|
* typo fixesdkf2005-08-121-5/+5
|
* Fix for [749908] that localizes the changes within a single file and alsodkf2005-08-122-476/+589
| | | | allows third-party code to work.
* oopsdgp2005-08-111-2/+2
|
* more errors found by the compilerdgp2005-08-112-15/+12
|
* assorted typos and errors caught by compilerdgp2005-08-113-7/+9
|
* Getting more systematic about styledkf2005-08-1027-15057/+15183
| | | | | 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-092-2/+9
|
* * macosx/tkMacOSXCarbonEvents.c (AppEventHandlerProc): handle carbondas2005-08-0934-974/+1435
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-042-2/+47
|
* Oops, missed a few spotsdkf2005-07-291-48/+43
|
* Getting more systematic about styledkf2005-07-291-1074/+1075
|
* Remove unwanted tab from error info trace accidentally inserted during cleanupdkf2005-07-281-2/+2
| | | | Fixes [Bug 1246936]
* Very minor whitespace fixesdkf2005-07-261-7/+7
|
* Getting more systematic about styledkf2005-07-251-2267/+2313
|
* typo fixdgp2005-07-251-2/+2
|
* Apply some of the changes suggested in [Patch 1237759]dkf2005-07-2520-492/+500
|
* * win/tkWinX.c: Define _WIN32_WINNT with NT SP 3 datamdejong2005-07-232-3/+11
| | | | | | | 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-212-1/+6
| | | | corrected if expression error (use of = instead of ==)
* Assorted cleaning up relating to [Patch 1237759]dkf2005-07-211-57/+70
|
* fix to text widget 'mark prev' segfaultvincentdarley2005-07-184-5/+25
|
* * doc/getOpenFile.n: correct -multiple docs (takes boolean)hobbs2005-07-062-3/+7
|
* * unix/Makefile.in: Purged use of TCLTESTARGS [RFE 1161550].dgp2005-07-052-3/+7
|
* * generic/tkConsole.c (TkConsolePrint): prevent potential NULL deref.das2005-06-232-2/+4
|
* * macosx/tkMacOSXDefault.h: change ENTRY_BORDER defaults to from 5 to 2das2005-06-232-3/+9
| | | | | to make default entry widgets in TkAqua look like in other aqua apps (and have same border dimensions as other platforms). [Bug 1176610]
* Fix silly error in SYNOPSIS of Tk_AllocBitmapFromObj doc [1224983]dkf2005-06-212-2/+6
|
* Typosdkf2005-06-191-5/+5
|
* Get rid of statics; replaced with stack-allocated structures which are ↵dkf2005-06-192-657/+728
| | | | | | automatically thread-safe. Also squelched a buffer overrun in binary string data handling...
* * macosx/Makefile: for X11 build, add -X11 suffix to unversioned wishdas2005-06-184-4/+16
| | | | | | | | | symbolic link. * unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to ensure we can always relocate binaries with install_name_tool. * unix/configure: autoconf-2.59
* autoconfdgp2005-06-072-2/+2
|
* Bumped patchleveldkf2005-06-079-20/+24
|
* note tag date and rewrap changescore_8_5_a3hobbs2005-06-042-14/+19
|
* update changes for 8.5a3 releasedgp2005-06-032-6/+110
|
* On Mac OS X scrollwheel events are sent to the window under the mouse, notwolfsuit2005-06-032-11/+20
| | | | to the focus window.
* 2005-06-02 Jim Ingham <jingham@apple.com>wolfsuit2005-06-032-19/+51
| | | | | | | | | | | Another patch from M. Kirkham. * macosx/tkMacOSXScrlbr.c (ThumbActionProc, ScrollBarBindProc): Record the first mouse down point, and compute differences from that, rather than getting the mouse down each time through the loop. The old method would get fooled if you moved the mouse less than a text line height in the text widget. [Bug 1083728]
* * macosx/Makefile: fixed 'embedded' target.das2005-06-032-4/+7
|