summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/Makefile: preserve environment value of INSTALL_ROOT.das2002-09-268-46/+215
| | | | | | | | | | | | | | | | | | | | | | | | When embedding only use deployment build. Force relink before embedded build to ensure new linker flags are picked up. * macosx/buildTkConfig.tcl (new): * macosx/Wish.pbproj/project.pbxproj: synthesize tkConfig.sh based on tclConfig.sh in Tcl.framework and tkConfig.sh.in. Add symbolic links to debug lib, stub libs and tkConfig.sh in framework toplevel. Made tkIntXlibDecls.h a public header since Headers/X11/Xlib.h includes it. Install wish8.4 script that runs "Wish Shell.app" and corresponding wish link. Use tcl headers from built Tcl.framework instead of from tcl source directory. * macosx/tkMacOSXPort.h: added missing standard unix includes and defines, similarly to tkUnixPort.h. * macosx/tkMacOSXNotify.c: removed dependency on internal tcl header "tclPort.h" * unix/Makefile.in: * unix/install-sh: copied support for 'install-strip' target over from tcl/unix/{Makefile.in,install-sh}
* Regen from Tcldkf2002-09-242-162/+174
|
* Regen from Tcldkf2002-09-242-145/+150
|
* In TkpIsWindowFloating, check for NULL before passing the wRefwolfsuit2002-09-231-1/+6
| | | | to GetWindowClass.
* Minor cleanup, no content changes.wolfsuit2002-09-231-8/+14
|
* 2002-09-22 Jim Ingham <jingham@apple.com>wolfsuit2002-09-222-7/+23
| | | | | | | * macosx/tkMacOSXScrlbr.c (UpdateControlValue): HiliteControl doesn't give the proper "nothing to scroll" look on Mac OS X. You have to set the min value greater than the max value to get this.
* * unix/configure: Regen.mdejong2002-09-154-114/+150
| | | | | | | | | * unix/tcl.m4: Update from Tcl. * unix/tkUnixEvent.c (TkpCloseDisplay): Use PEEK_XCLOSEIM to examine the input context queue before invoking XCloseIM. Generate an assert if there is an input context that has not been freed. [Patch 570902]
* * generic/tk.h: Moved RC_INVOKED down so that tcl.h is stillandreas_kupries2002-09-142-13/+22
| | | | | | | | included when running the resource compiler. <tcl.h> excludes the unnecessary parts on its own. This reenables the Windows build. It failed because the non-inclusion of tcl.h caused the resource compiler to miss some vital macro definitions (TCL_FINAL_RELEASE, STRINGIFY, ...).
* * generic/tk.h:das2002-09-1211-47/+78
| | | | | | | | | | | | | | | | | | * mac/tkMacApplication.r: * mac/tkMacLibrary.r: * mac/tkMacResource.r: * macosx/tkAboutDlg.r: * macosx/tkMacOSXApplication.r: * macosx/tkMacOSXLibrary.r: * macosx/tkMacOSXResource.r: unified use of the two equivalent resource compiler header inclusion defines RC_INVOKED and RESOURCE_INCLUDED, now use RC_INVOKED throughout. * macosx/tkMacOSXAppInit.c: improved detection of Wish startup by the finder (by checking if stdin is /dev/null), in which case we want to bring up the Tk console window. * macosx/tkMacOSXHLEvents.c: added 'rapp' apple event handler.
* * macosx/Wish.pbproj/project.pbxproj: reference & installdas2002-09-122-4/+9
| | | | tk/generic/prolog.ps instead of tk/library/prolog.ps.
* * macosx/Wish.pbproj/project.pbxproj: added backwardsdas2002-09-102-1/+8
| | | | compatibility for Mac OS X 10.1 ProjectBuilder 2.0.
* * unix/Makefile.in: added DYLIB_INSTALL_DIR variable for Darwindas2002-09-106-115/+181
| | | | | | | | | | | | | and set it to default value ${LIB_RUNTIME_DIR} * unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of LIB_RUNTIME_DIR in the -install_name argument to ld. * unix/configure: regen. * macosx/Wish.pbproj/project.pbxproj: * macosx/Makefile: added support for building Tcl as an embedded framework, i.e. using an dyld install_name containing @executable_path/../Frameworks via the new DYLIB_INSTALL_DIR unix/Makefile variable.
* * macosx/tkMacOSXNotify.c (Tk_MacOSXSetupTkNotifier): correctedcore_8_4_0hobbs2002-09-102-2/+22
| | | | Mac Jaguar event loop issue.
* see changeloghobbs2002-09-091-0/+26
|
* * library/tk.tcl: use command instead of control on Aqua bindings.hobbs2002-09-096-23/+192
| | | | | | | | | | | | | | | | | | Force dialogs to appear below fixed native Mac menubar. * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: Keypress/release events for pure modifier keys were not being passed to Tk. Deadkey presses were inserting null characters into text windows. Now they do nothing. (Still not ideal, but better than before!) * macosx/tkMacOSXMenu.c: Allow more than 200 menus to exist - increased to 2000. * macosx/tkMacOSXMouseEvent.c: Bad interactions between floating windows and ordinary ones. Ensure that local<->global coordinate transformations are wrt to the correct window. * macosx/tkMacOSXWm.c: Better error msg for 'wm attributes'. Remove crash in 'wm transient'. Add 'noActivates' and 'noUpdates' flags to unsupported command. [Patch #606658] (darley)
* note sept 10 release datehobbs2002-09-091-2/+2
|
* * library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): correcteduid381722002-09-091-10/+9
| | | | msgcat code with XPG specifier. [Patch #606719] (miller)
* added TIP108 note to OS X porthobbs2002-09-081-2/+2
|
* * tests/unixWm.test (unixWm-50.3): Constrained test that hangsdgp2002-09-062-2/+7
| | | | on Windows.
* * macosx/Wish.pbproj/project.pbxproj: added overlooked missingdas2002-09-052-1/+7
| | | | TK_PATCH_LEVEL version bump to 8.4.0.
* * win/Makefile.in (install-libraries): Added code section toandreas_kupries2002-09-042-2/+17
| | | | | | install the message catalogs. Copied same section from unix/Makefile.in and adapted it to the slightly different environment.
* * library/button.tcl: further restrict buttons to not resettinghobbs2002-09-042-29/+62
| | | | | | the "original" relief if it has changed in the interim. This prevents code that simulated overrelief buttons from not working in 8.4. [Bug #604270]
* * macosx/Wish.pbproj/project.pbxproj: Bumped version number todas2002-09-032-16/+31
| | | | 8.4.0 and updated copyright info.
* wm attributes macosx fixvincentdarley2002-09-032-5/+5
|
* Update changes for 8.4.0 releasedgp2002-09-032-1/+55
|
* correction to r1.19 fix to only incr inset when no image is usedhobbs2002-09-031-5/+7
|
* * tests/cursor.test: reverted 2002-08-31 change for OS X to usehobbs2002-09-032-12/+16
| | | | | 'heart' cursor because 'arrow' on windows has a pre-skewed use count. [Bug #602667]
* see changeshobbs2002-09-021-0/+19
|
* * tests/button.test: added button-14.1hobbs2002-09-022-62/+110
| | | | | | | * win/tkWinButton.c (TkpComputeButtonGeometry): correct Win button sizing to be equal for one-line buttons with -height of 0 or 1, as well as -height 0 buttons with empty text and no image, which should be the same as single-line text buttons. [Bug #565485]
* * library/button.tcl (::tk::ButtonLeave): correctly restore statehobbs2002-09-021-2/+2
| | | | of button to normal for unix bindings. [Bug #597920]
* added tk windowingsystem docshobbs2002-09-021-1/+9
|
* make sure to substitute LD_LIBRARY_PATH_VARhobbs2002-09-022-122/+142
|
* add support for 64-bit builds on HP-11 with gcchobbs2002-09-021-2/+17
|
* * tests/wm.test:hobbs2002-09-022-156/+38
| | | | | * unix/tkUnixWm.c: remove possible 2-second delay in 'raise'. [Patch #601518] (english) TIP #107
* Bumped version number to 8.4.0hobbs2002-09-028-15/+33
|
* * generic/tkCmds.c:hobbs2002-09-023-13/+56
| | | | | | | * generic/tkWindow.c: made 'tk' available in safe interpreters, but only the caret and windowingsystem subcommands may be called. * tests/safe.test (safe-1.2): noted that tk is now available in safe interps, but not the appname/scaling subcommands.
* noted new tk windowingsystem subcommandhobbs2002-09-021-2/+2
|
* added int cast to prevent warninghobbs2002-09-021-2/+3
|
* added size_t cast to prevent warninghobbs2002-09-021-2/+2
|
* * unix/tcl.m4: update from Tcldas2002-08-314-142/+270
| | | | | | | * unix/Makefile.in: import of TK_SHLIB_LD_EXTRAS for Tk library specific linker settings. Added use of new LD_LIBRARY_PATH_VAR. * unix/configure: regen
* *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***macosx_8_4_merge_2002_08_31_trunkdas2002-08-31100-1139/+43753
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tk.decls: * generic/tkInt.decls: added new "aqua" specific entries to the stubs tables. Changed all "unix" entries to "x11" to allow us to distinguish and build both "aqua" on MacOSX and "x11" on MacOSX. * generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can be passed to the resource compiler. * generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem] subcommand: returns "x11" when running on X11, "win32" on Windows, "classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon) * generic/tkFont.c (TkFontGetFirstTextLayout): new private function returning the first chunk of a Tk_TextLayout, i.e. until the first font change on the first line (or the whole first line if there is no such font change). * generic/tkMain.c: made Tcl_ThreadDataKey static * library/demos/puzzle.tcl: fixed button metrics for aqua * tests/cursor.test: check for presence of arrow cursor instead of heart cursor * xlib/xcolors.c: changed xColors static initialization to more standard C * macosx/Wish.pbproj/jingham.pbxuser (new): * macosx/Wish.pbproj/project.pbxproj (new): project for Apple's ProjectBuilder IDE. * macosx/Makefile (new): simple makefile for building the project from the command line via the ProjectBuilder tool 'pbxbuild'. * macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking for a AppMain.tcl file in its bundled Resources/Scripts folder. If present, argv[1] is set to that file and the Scripts folder is added to the auto_path. This allows tk apps to embed scripts within their bundle directory structure. * macosx/tkMacOSXInit.c (new): macosx adapted version of tkUnixInit.c: we initialize & cache the Carbon native encoding (e.g. 'macRoman') and try to find the tk script library files inside Tk packaged as a framework. * macosx/tkMacOSXNotify.c (new): new macosx specific merged Carbon/select-based notifier. * macosx/tkMacOSXEvent.c (new): * macosx/tkMacOSXEvent.h (new): * macosx/tkMacOSXKeyEvent.c (new): * macosx/tkMacOSXMouseEvent.c (new): * macosx/tkMacOSXWindowEvent.c (new): new macosx specific event handling functionality. * macosx/tkMacOSX.h (new): * macosx/tkMacOSXBitmap.c (new): * macosx/tkMacOSXButton.c (new): * macosx/tkMacOSXClipboard.c (new): * macosx/tkMacOSXColor.c (new): * macosx/tkMacOSXConfig.c (new): * macosx/tkMacOSXCursor.c (new): * macosx/tkMacOSXDefault.h (new): * macosx/tkMacOSXDialog.c (new): * macosx/tkMacOSXDraw.c (new): * macosx/tkMacOSXEmbed.c (new): * macosx/tkMacOSXFont.c (new): * macosx/tkMacOSXHLEvents.c (new): * macosx/tkMacOSXInt.h (new): * macosx/tkMacOSXKeyboard.c (new): * macosx/tkMacOSXMenu.c (new): * macosx/tkMacOSXMenubutton.c (new): * macosx/tkMacOSXMenus.c (new): * macosx/tkMacOSXPort.h (new): * macosx/tkMacOSXRegion.c (new): * macosx/tkMacOSXScale.c (new): * macosx/tkMacOSXScrlbr.c (new): * macosx/tkMacOSXSubwindows.c (new): * macosx/tkMacOSXTest.c (new): * macosx/tkMacOSXUtil.c (new): * macosx/tkMacOSXUtil.h (new): * macosx/tkMacOSXWm.c (new): * macosx/tkMacOSXWm.h (new): * macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk implementation in tk/mac. * macosx/tkMacOSXSend.c (new): only send to local interp implemented currently. * macosx/tkMacOSXDebug.h (new): * macosx/tkMacOSXDebug.c (new): new macosx specific functions for debugging MacOS events, regions, etc. * macosx/tkAboutDlg.r (new): * macosx/tkMacOSXApplication.r (new): * macosx/tkMacOSXCursors.r (new): * macosx/tkMacOSXLibrary.r (new): * macosx/tkMacOSXMenu.r (new): * macosx/tkMacOSXResource.r (new): * macosx/tkMacOSXXCursors.r (new): * macosx/tclets.r (new): sources for Rez resource compiler. * macosx/Wish.icns (new): Wish application icon. * generic/tk.h: * generic/default.h: * generic/tkBind.c: * generic/tkCmds.c: * generic/tkGrab.c: * generic/tkPointer.c: * generic/tkPort.h: * generic/tkSelect.c: * generic/tkStubLib.c: * generic/tkTest.c: * generic/tkText.c: * generic/tkWindow.c: * unix/tkUnix3d.c: * xlib/xgc.c: * xlib/X11/X.h: * xlib/X11/Xlib.h: * xlib/X11/Xutil.h: added #includes and #ifdefs for macosx * library/bgerror.tcl: * library/button.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/scrlbar.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: * library/demos/menu.tcl: * library/demos/menubu.tcl: * library/demos/widget: check [tk windowingsystem] instead of and/or in addition to $tcl_platform(platform). * generic/tkInt.h: * mac/tkMacBitmap.c: * mac/tkMacWm.c: added missing CONSTification * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: regen
* Fix for bug #582457: make radio and checkbuttons work like Windows whenmacosx_8_4_premerge_2002_08_31_trunkmacosx_8_4_merge_2002_08_30_trunkdrh2002-08-286-15/+93
| | | | -relief is sunken, -offrelief is flat, and -overrelief is raised.
* * win/Makefile.in: Removed dependence on the (parts of) thedgp2002-08-263-44/+10
| | | | | * win/winMain.c: tcltest executable on Windows. It was not used, and the dependency complicated the Makefile. [Bug 592638].
* * README: Bumped version number to 8.4b3 to distinguishmacosx_8_4_merge_2002_08_20_trunkdgp2002-08-208-14/+32
| | | | | | | | | | | | | | * generic/tk.h: HEAD from the 8.4b2 release. * unix/configure.in: * win/configure.in: * unix/tk.spec: * unix/configure: autoconf * win/configure: * generic/tk.h: Added compile-time check that the tcl.h header file #included by Tk 8.4 is one from Tcl 8.4. This is needed to be sure that new #defines like CONST84 are available. [Bug 597432].
* make mklinksdgp2002-08-201-2/+0
|
* * unix/Makefile.in (install-binaries): simplified pkgIndex.tclhobbs2002-08-163-17/+24
| | | | | | file created on installation. * win/Makefile.in (install-binaries): corrected and simplified creation of pkgIndex.tcl file on installation.
* compilation, link fixesvincentdarley2002-08-144-6/+28
|
* * library/button.tcl: change the bindings to use Priv($w,relief)hobbs2002-08-132-135/+137
| | | | | instead of just Priv(relief). This ensures that neighboring buttons don't confuse (over)relief settings.
* * unix/tkUnixSend.c (Tk_SetAppName): Fixed a compiler warning.rmax2002-08-132-5/+7
|
* Tweaked resizing behaviour of the image-viewer demo.dkf2002-08-122-4/+10
|