summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/tkMacOSXApplication.r (removed):das2003-03-216-1355/+26
| | | | | | | | | | * macosx/tkMacOSXLibrary.r (removed): * macosx/tkMacOSXResource.r (removed): * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: updated copyrights, cleaned up about box, removed obsolete unused resource files. * macosx/buildTkConfig.tcl: TK_DEFS space fix.
* * macosx/Wish.pbproj/project.pbxproj:das2003-03-184-44/+85
| | | | | | | | * macosx/Makefile: * macosx/README: added support for giving 'make' the location of Tcl.framework and tclsh to build and link against. * macosx/tkMacOSXXStubs.c: fixed crash in [winfo server].
* 2003-03-11 Jim Ingham <jingham@apple.com>wolfsuit2003-03-122-12/+53
| | | | | | | | | | | | | | * macosx/tkMacOSXMenu.c (EventuallyInvokeMenu): New function, used to invoke menu commands at idle time. (TkMacOSXDispatchMenuEvent): Don't immediately dispatch menu commands, wait till the idle loop to do so. This is more like what is done on Windows, and avoids the crash from destroying a menu in it's command. * macosx/tkMacOSXHLEvents.c (ReallyKillMe): Don't force the shell to exit. According to the OS X HI guidelines, it should be possible to cancel an attempt to quit, and if we force the kill, here, it would not be possible to implement this.
* Fix a bug with MacOS X Tk's handling of the help menu. The code expected thewolfsuit2003-03-082-23/+16
| | | | | MacOS 9 behavior, which was to insert a separator item after the system help menus, but this doesn't happen on X...
* * README: Bumped version number ofdgp2003-03-041-14/+14
| | | | | | | | | | | | | | | | | * generic/tk.h: Tk to 8.5a0. * library/tk.tcl: * mac/README: * macosx/Wish.pbproj/project.pbxproj: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/makefile.vc: * win/tcl.m4: * unix/configure: autoconf * win/configure:
* correct 8.4.3 refs to 8.4.2hobbs2003-02-271-3/+3
|
* Added the 'aete' resource defining the doscript event, and adding it to the ↵wolfsuit2003-02-253-205/+1103
| | | | Wish target.
* * macosx/tkMacOSXHLEvents.c: fixed conversion of apple eventdas2003-02-251-2/+2
| | | | | parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl)
* * macosx/tkMacOSXHLEvents.c: fixed conversion of apple eventdas2003-02-256-459/+65
| | | | | | | | | | | | parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl) * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXWm.c: * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXUtil.c (removed): * macosx/tkMacOSXUtil.h (removed): removed all references to tkMacOSXUtil.{c,h}, made obsolete by the patch above. [Bug #621672]
* 2003-02-24 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>wolfsuit2003-02-241-2/+2
| | | | | | * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with kNavCtlSetSelection - control data should be a pointer not a handle.
* * library/console.tcl: (aqua & macintosh) added missing <Cmd-q>das2003-02-211-67/+67
| | | | | | | | | | binding for corresponding Quit menu item shortcut. * macosx/README: updated instructions for embedded build, added various improvements by Russell Owen. * unix/tcl.m4: update from Tcl. * unix/configure: regen.
* * macosx/tkMacOSXKeyEvent.c: fix for uninitialized var warning.das2003-02-201-1/+1
|
* 2003-02-19 Jim Ingham <jingham@apple.com>wolfsuit2003-02-191-34/+22
| | | | | | | | | | | | * tkMacOSXMouseEvents.c (GeneratePollingEvents): In the case where there was a capture window, we were sending the events to the capture window. But the capture window (return value or TkMacOSXGetCapture) is always a toplevel. So this is wrong in the case that the Event's toplevel IS the capture window - in which case the event should go to the subwindow most closely containing the event. Fixes bug #688188
* This submission contains a slightly reworked & cleaned up version ofwolfsuit2003-02-198-1275/+1104
| | | | | | | | | | two parts of the patches in Patch Tracker #622582 - new-evthdlng.2003-02-12.diff and basic-keyboard.2003-02-10.diff. The second part puts translation of MacOS X keycodes to characters on a better footing. The first part relaxs Tk's policy of consuming all events unless it can see they go to windows it didn't create. This change gets the little traffic lights working, and should make things like QuickTimeTcl easier to implement.
* * macosx/Wish.pbproj/project.pbxproj:das2003-02-192-18/+190
| | | | | | * macosx/Makefile: reworked embedded build to no longer require relinking but to use install_name_tool instead to change the install_names for embedded frameworks.
* menu title encodingsvincentdarley2003-02-181-7/+29
|
* * README: Bumped to 8.4.2.hobbs2003-02-151-4/+4
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tk.spec: * win/configure: * win/configure.in:
* 2003-02-10 Jim Ingham <jingham@apple.com>wolfsuit2003-02-113-33/+102
| | | | | | | | | | | * macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme cursors using SetThemeCursor or SetAnimatedThemeCursors. (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc. Allow animatedCursor{NUM} form for an animated cursor with count. (TkpSetCursor): Don't reset the cursor if there is no change. * macosx/tkMacOSXMouseEvent.c (GeneratePollingEvents): Don't directly call TkMacOSXInstallCursor, it gets called by the call to Tk_UpdatePointer immediately above.
* 2003-02-10 Jim Ingham <jingham@apple.com>wolfsuit2003-02-101-20/+37
| | | | | | * macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme cursors using SetThemeCursor or SetAnimatedThemeCursors. (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc.
* 2003-02-05 Fred Fish <fnf@intrinsity.com>hobbs2003-02-091-2/+2
| | | | | * macosx/tkMacOSXWm.c (Tk_SetGrid): Fix precedence problem with * mac/tkMacWm.c (Tk_SetGrid): '==' and '|'.
* 2002-11-19 Jim Ingham <jingham@apple.com>wolfsuit2002-11-202-1117/+777
| | | | | | | | | * macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): If the scrollbar width is set to 12 or less (but 12 is what you should use) use the small metric scrollbar. (UpdateControlValues): Fix thinko in setting off AUTO_ADJUST for the place geometry manager.
* * macosx/Wish.pbproj/project.pbxproj: fixed erroneousdas2002-11-101-1/+1
| | | | removal of libtkstub before Wish was built.
* * macosx/Wish.pbproj/project.pbxproj: fix to 'wish' scriptdas2002-11-071-1/+1
| | | | to allow it to work when not installed into '/'.
* * macosx/Wish.pbproj/project.pbxproj: added Wish linker flagdas2002-11-041-4/+4
| | | | | | -headerpad_max_install_names to allow use of 'install_name_tool'. fixed tkConfig.sh generation and redo_prebinding in the case where Tk is not installed alongside Tcl.
* * macosx/README: added info on new package searching indas2002-10-291-4/+8
| | | | Frameworks directories.
* * macosx/README: revised according to Jim's suggestionsdas2002-10-212-27/+31
| | | | * macosx/tkMacOSXAppInit.c: use standard PATH_MAX from <limits.h>
* * macosx/README: info specific to building and runningdas2002-10-163-2/+176
| | | | | | | TclTk on Mac OS X, answers to tcl-mac list FAQs. * macosx/Makefile: permission fix after embedded install. * macosx/Wish.pbproj/project.pbxproj: after install, fix permissions of uninstalled products.
* * macosx/Wish.pbproj/project.pbxproj: added TEXT documentdas2002-10-164-4/+112
| | | | | | | | | | | | type to plist so that files can be dragged onto Wish Shell. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXFont.c: added private proc TkMacOSXUseAntialiasedText() to enable/disable quickdraw text antialiasing where available, default is enabled. Added a linked boolean ::tk::mac::antialiasedtext with write trace to allow control of antialiasing from tcl.
* dead keys first fix for MacOSXvincentdarley2002-10-162-67/+247
|
* macosx menu accelerator fixvincentdarley2002-10-161-5/+3
|
* * macosx/Makefile: don't remove tclsh after building embedded.das2002-10-092-7/+28
| | | | | * macosx/Wish.pbproj/project.pbxproj: bumped version to 8.4.1; added missing library/mkpsenc.tcl to framework.
* 2002-10-02 Jim Ingham <jingham@apple.com>wolfsuit2002-10-031-8/+5
| | | | | | * macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): Put the Tk scrollbar pointer into the control reference data for the Mac scrollbar, so we can get it out again in the ScrollbarActionProc.
* * macosx/Makefile: preserve environment value of INSTALL_ROOT.das2002-09-265-45/+176
| | | | | | | | | | | | | | | | | | | | | | | | 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}
* 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-221-7/+16
| | | | | | | * 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.
* * generic/tk.h:das2002-09-126-25/+42
| | | | | | | | | | | | | | | | | | * 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-121-1/+1
| | | | tk/generic/prolog.ps instead of tk/library/prolog.ps.
* * macosx/Wish.pbproj/project.pbxproj: added backwardsdas2002-09-101-1/+3
| | | | compatibility for Mac OS X 10.1 ProjectBuilder 2.0.
* * unix/Makefile.in: added DYLIB_INSTALL_DIR variable for Darwindas2002-09-102-5/+50
| | | | | | | | | | | | | 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-101-2/+19
| | | | Mac Jaguar event loop issue.
* * library/tk.tcl: use command instead of control on Aqua bindings.hobbs2002-09-095-17/+181
| | | | | | | | | | | | | | | | | | 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)
* * macosx/Wish.pbproj/project.pbxproj: added overlooked missingdas2002-09-051-1/+2
| | | | TK_PATCH_LEVEL version bump to 8.4.0.
* * macosx/Wish.pbproj/project.pbxproj: Bumped version number todas2002-09-031-16/+26
| | | | 8.4.0 and updated copyright info.
* wm attributes macosx fixvincentdarley2002-09-031-5/+1
|
* *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***macosx_8_4_merge_2002_08_31_trunkdas2002-08-3152-0/+40452
* 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