summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * library/demos/cscroll.tcl: add MouseWheel bindings for aqua.das2005-12-134-18/+59
| | | | | | | | | | | * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent, GenerateMouseWheelEvent): add support for kEventMouseScroll events (smooth mouse wheel scrolling from mighty mouse or scrolling trackpad) by handling kEventMouseWheelMoved on application target as well as on dispatcher, in order to pick up synthesized MouseWheel events from HIObject handler (c.f. QA1453); add support for horizontal scrolling events by generating MouseWheel XEvent with Shift modifier.
* ANSIfydkf2005-12-121-125/+130
|
* * unix/tcl.m4, unix/configure: Fix sh quoting error reported inhobbs2005-12-123-3/+8
| | | | bash-3.1+ [Bug 1377619] (schafer)
* * win/tkWinWm.c (WinSetIcon): Don't check resultmdejong2005-12-102-33/+24
| | | | | | | of SetClassLong() or SetClassLongPtr() since it was generating an incorrect error and the MSDN docs indicate that the result need not be checked.
* * win/configure: Regen.mdejong2005-12-103-0/+14
| | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Define MACHINE for gcc builds. The lack of a definition of this variable in the manifest file was causing a runtime error in wish built with gcc.
* * generic/tkInt.decls: move all platform test sources from tk lib intodas2005-12-0910-51/+47
| | | | | | | | | | | | * generic/tkTest.c: tktest directly, removes requirement to export * macosx/tkMacOSXTest.c: TkplatformtestInit from internal stubs table. * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: * win/tkWinTest.c: * generic/tkIntPlatDecls.h: * generic/tkStubInit.c: regen.
* add tkWinTest.obj to regular Tk obj for TkplatformtestInithobbs2005-12-082-6/+5
|
* fix dist target for manifest dir changehobbs2005-12-082-3/+4
|
* * win/tcl.m4: Add build support for Windows-x64 builds.hobbs2005-12-087-61/+401
| | | | | | | | | * win/configure: --enable-64bit now accepts =amd64|ia64 for * win/Makefile.in: Windows 64-bit build variants (default: amd64) * win/makefile.vc: [Bug 1369597] * win/configure.in: Add CE build support (some C code fixes needed) * win/wish.exe.manifest.in (new): manifest must map in MACHINE * win/rc/wish.exe.manifest (removed): and VERSION to be correct.
* * generic/tkTextTag.c (TkTextTagCmd): use correct arraySize forhobbs2005-12-082-8/+13
| | | | peered text widgets in [$text tag names]. [Bug 1375069 1374935]
* * macosx/tkMacOSXDraw.c: remove inclusion of tclInt.h and use of tcldas2005-12-086-14/+19
| | | | | | | | * macosx/tkMacOSXFont.c: internals wherever possible in tk/macosx, the * macosx/tkMacOSXInit.c: only remaining tcl internals in TkAqua are * macosx/tkMacOSXNotify.c: TclServiceIdle() in tkMacOSXScrlbr.c and * macosx/tkMacOSXScrlbr.c: Tcl_Get/SetStartupScript() in tkMacOSXInit.c [Bug 1336531].
* * macosx/tkMacOSXInt.h: sync comments with core-8-4-branch.das2005-12-082-2/+6
|
* remove extraneous consthobbs2005-12-072-2/+6
|
* Doc change to discourage the use of TK_CONFIG_OPTION_SPECIFIED which was notdkf2005-12-062-7/+14
| | | | thread-safe and is now no-longer used.
* * unix/tkUnixEvent.c (OpenIM): Added a workaround to allow atrmax2005-12-052-2/+30
| | | | | | least ASCII and the Compose key when typing into text and entry widgets on a system that uses SCIM. This has to be taken out again once the SCIM problems have been fixed.
* documented macosx-only configure options.das2005-12-031-1/+6
|
* eliminate test name duplicationdgp2005-12-021-4/+4
|
* More fixes (mostly getting rid of excess spaces)dkf2005-12-0215-949/+1009
|
* whitespace policedkf2005-12-021-5/+5
|
* Fix problems in last commitdkf2005-12-023-186/+188
|
* ANSIficationdkf2005-12-0225-5659/+6165
|
* * win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspecthobbs2005-12-012-2/+17
| | | | before rewrapping. [Bug 1086049]
* * macosx/tkMacOSXXStubs.c (TkpOpenDisplay, TkMacOSXDisplayChanged):hobbs2005-12-016-67/+136
| | | | | | | | * macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent): * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXEvent.h: Trap kEventAppAvailableWindowBoundsChanged * macosx/tkMacOSXInt.h: event to watch for change in display size and adjust internal state appropriately.
* fix typodas2005-12-011-2/+2
|
* * unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset.das2005-12-013-6/+9
| | | | * unix/configure: regen.
* * doc/checkbutton.n: fix -selectcolor docs [Bug 1083838]hobbs2005-12-012-4/+5
|
* * generic/tkImgGIF.c: cast calls to blockOuthobbs2005-12-012-3/+5
|
* * win/Makefile.in:hobbs2005-12-011-0/+2
| | | | | Add tkWinTest.obj to tk84.dll to handle some needed test functions being defined in stubs (TkplatformtestInit).
* * win/Makefile.in: place TCL_BIN_DIR first in PATH for targets tohobbs2005-12-012-10/+14
| | | | get Tcl built dll first.
* (6.22): fix rounding-error sensitive testhobbs2005-12-011-3/+3
|
* * library/console.tcl (::tk::ConsoleInit): improve work-around tohobbs2005-11-302-16/+27
| | | | avoid '% ' from tclMain.c [Bug 1252259]
* fix settings orderdas2005-11-271-1/+1
|
* * macosx/tkMacOSXMenu.c:das2005-11-273-8/+15
| | | | | | * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMenubutton.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2
* typo in last commitdas2005-11-272-4/+4
|
* document automatic removal of -arch ppc64 CFLAGSdas2005-11-271-1/+3
|
* * macosx/tkMacOSXMenu.c:das2005-11-273-2/+16
| | | | | * macosx/tkMacOSXMenubutton.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2
* Darwin: disable ppc64 for fat builds since neither Aqua nor X11 isdas2005-11-272-1/+11
| | | | available for 64 bit at present.
* * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-2781-8025/+20782
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tcl/unix/tcl.m4. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tcl/unix/configure.in. * unix/Makefile.in: add CFLAGS to wish/tktest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of wish and compiling of tkTestInit.o during parallel make, fix dependencies and flags for building tkMacOSXInit.o (checkstubs, checkexports): dependency and Darwin fixes (dist): add new macosx files. * macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent): * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): * macosx/tkMacOSXCarbonEvents.c: install standard application event handler, add & call functions to start and stop carbon even timer that runs the tcl event loop periodically during a nested carbon event loop in the toolbox (e.g. during menutracking) to ensure tcl timers etc continue to fire, register app event handler for menu tracking and HI command carbon events, move menu event handling to new handlers for those carbon events, no longer register for/handle appleevent carbon event (now dealt with by standard application event handler), event debugging code dynamically acquires carbon event debugging functions to allow use on Tiger where they are no longer exported from HIToolbox. * macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText): * macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout): * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: abstract common code to dynamically acquire address of a named symbol (from a loaded dynamic library) into new function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol. * macosx/tkMacOSXMenu.c (TkpNewMenu): * macosx/tkMacOSXMenubutton.c (MenuButtonInitControl): * macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to modern utf8 aware menu manager API, remove obsolete code, add error handling. * macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2 * macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never executed. * xlib/xgc.c (XCreateGC): sync with core-8-4-branch change. * generic/tk.h: add/correct location of version numbers in macosx files. * generic/tkInt.h: clarify fat compile comment. * macosx/Wish.pbproj/default.pbxuser (new file): * macosx/Wish.pbproj/jingham.pbxuser: * macosx/Wish.pbproj/project.pbxproj: * macosx/Wish.xcode/default.pbxuser: * macosx/Wish.xcode/project.pbxproj: * macosx/Wish.xcodeproj/default.pbxuser (new file): * macosx/Wish.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tktest targets and support for universal (fat) compiles. * macosx/Tk-Info.plist (removed): * macosx/Wish-Info.plist (removed): * macosx/buildTkConfig.tcl (removed): remove obsolete build files. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tk/macosx, add support for reusing configure cache, build target fixes. * generic/tk3d.h: * generic/tkButton.h: * generic/tkCanvas.c: * generic/tkCanvas.h: * generic/tkColor.h: * generic/tkEntry.h: * generic/tkFileFilter.h: * generic/tkFont.c: * generic/tkFont.h: * generic/tkImage.c: * generic/tkImgPhoto.c: * generic/tkInt.h: * generic/tkMenu.c: * generic/tkMenu.h: * generic/tkMenubutton.h: * generic/tkScale.h: * generic/tkScrollbar.h: * generic/tkSelect.h: * generic/tkStubInit.c: * generic/tkStubLib.c: * generic/tkText.h: * generic/tkUndo.h: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnixButton.c: * unix/tkUnixMenu.c: * xlib/xgc.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file), #ifdef out a few Xlib and aqua functions that are never called. These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * macosx/tkMacOSXTest.c: * macosx/tkMacOSXPort.h: * win/tkWinTest.c: * generic/tkInt.decls: add functions needed by tktest to internal stubs table, correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua Xlib stubs. * unix/tkUnixSend.c: * generic/tkText.c: * generic/tkTest.c: #ifdef unix only declarations. (TestmetricsCmd): unify win and mac implementation. (TestsendCmd): move to tkUnixSend.c to avoid access to global var. (TesttextCmd): move to tkText.c to avoid having to put all the internal text functions it uses into the stubs table. * generic/tkTextDisp.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXXStubs.c: fix gcc 4 warnings. * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXScrlbr.c: sync with core-8-4-branch. * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: * unix/configure: * unix/tkConfig.h.in: regen.
* Fix bits that (should, and now do) refer to tk::IconList_CurSelectiondkf2005-11-253-6/+6
|
* Renamed Makefile to GNUmakefiledas2005-11-221-1/+1
|
* Bits and pieces relating to [Bug 600313]dkf2005-11-222-18/+11
|
* Fix [Bug 1151523] the non-embarrasing way!dkf2005-11-223-11/+23
|
* Plug potential memory leak...dkf2005-11-221-1/+2
|
* Fix [Bug 1335485]dkf2005-11-222-30/+40
|
* Minor formatting alterationsdkf2005-11-221-2/+4
|
* ANSIfy (might as well finish the job!)dkf2005-11-181-1127/+1004
|
* ANSIfy and reduce casting of NULL to promote readabilitydkf2005-11-1722-2643/+2488
|
* Lots of ANSIfying of function decls.dkf2005-11-1736-2617/+2623
| | | | Also a few spots where code has been cleaned up more completely.
* clarify text index documentationvincentdarley2005-11-162-2/+12
|
* ANSI function declsdkf2005-11-161-43/+40
|