summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* * unix/tkUnixWm.c (WmTransientCmd): Apply fix formdejong2002-08-082-4/+10
| | | | | wm transient assertion error that was applied to tkWinWm.c for Tk Bug #592201.
* * tests/wm.test: Add deleteWindows at start ofmdejong2002-08-083-5/+33
| | | | | | | new transient tests so they do not fail if the toplevels already exist. * unix/tkUnixWm.c: Revert patch for Tk Bug #592201 which incorrectly removed numTransients member.
* Fix for Tk Bug #592201 "wm transient fails with two masters".jenglish2002-08-084-23/+72
|
* * tests/unixWm.test: Corrected packaging of unixWm-50.3 so thatdgp2002-08-082-5/+15
| | | | | [setupbg] and [cleanupbg] always balance, no matter what tests are skipped.
* *** empty log message ***rmax2002-08-081-0/+4
|
* * unix/Makefile.in: Fixed typos in DISTNAME, and ZIPNAME.rmax2002-08-081-3/+3
|
* 8.4b2 tag notecore_8_4_b2hobbs2002-08-081-0/+2
|
* * generic/tkButton.c (TkButtonWorldChanged): added GCFont handlinghobbs2002-08-082-1/+13
| | | | | to the disabledGc of buttons when compound != none. The drawing appears to be incorrect across platforms still. [Bug #477740]
* * generic/tkImgGIF.c (FileReadGIF): fixed -from handling for gifshobbs2002-08-081-5/+5
| | | | [Bug #467524] (obermeier)
* * generic/tkCanvUtil.c (TkSmoothParseProc): recognize the built-inhobbs2002-08-083-4/+20
| | | | | | bezier method by name. [Bug #578654] * doc/canvas.n: update to note that -smooth really doesn't take or return just booleans.
* * win/configure:hobbs2002-08-083-4/+29
| | | | | * win/tcl.m4: added shell32 to libs for updated native Windows tk_chooseDirectory dialog.
* * tests/panedwindow.test: added -text foobar to some test buttonshobbs2002-08-081-5/+5
| | | | | to enable correct testing of panedwindow across platforms. [Bug #582370]
* * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd):hobbs2002-08-082-12/+12
| | | | | | * library/panedwindow.tcl: changed class from PanedWindow to Panedwindow to not conflict with existing bwidgets, but also to be more regular with other names used in the core.
* * doc/GetBitmap.3: removed doc refs to deprecatedhobbs2002-08-081-2/+2
| | | | Tk_GetBitmapFromData. [Bug #590379]
* * win/tkWinMenu.c (TkpSetWindowMenuBar): fixed logic bug in whenhobbs2002-08-081-4/+3
| | | | to idle call ReconfigureWindowsMenu.
* * win/tkWinDialog.c: enabled use of the updated native Windowshobbs2002-08-081-7/+3
| | | | | directory browser (tk_chooseDirectory). This does require shell32.dll v4.71 or greater. [Patch #468139]
* Made panedwindow tests all work again; I'm fairly sure the current behaviour ↵dkf2002-08-062-6/+26
| | | | is still not right, but it is definitely better than it was when I first started tinkering with the panedwindow in that now it at least picks a sensible size in one dimension when working with widgets whose size is not known immediately.
* * tests/defs.tcl: removed file. No longer needed now that Tk isdgp2002-08-062-1064/+5
| | | | using the tcltest package to do its testing.
* * win/tkWinFont.c: Additional changes to fix CONST warnings ondgp2002-08-053-7/+10
| | | | * win/tkWinWM.c: Windows due to latest patch. Tks Vince Darley.
* Applied companion patch for Tcl Patch 585105,dgp2002-08-05103-700/+855
| | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h)
* Stopped a potential core dump from happening when a idle event outlives its ↵dkf2002-08-022-2/+11
| | | | clientdata.
* different method of silencing compiler warning.dgp2002-08-021-3/+3
|
* silenced compiler warningdgp2002-08-021-2/+3
|
* Postpone paned-window layout arrangement on geometry event until idle,dkf2002-07-312-3/+16
| | | | | | | as is done in other window managers, to fix problems with size calculations when the children don't already know their sizes anyway. Now the layout of the vertical pane demo works better (overall initial window width is right!)
* Resynch with Tcldkf2002-07-312-40/+53
|
* * unix/configure: Regen.mdejong2002-07-294-205/+272
| | | | | | | * unix/configure.in: Remove code that was setting CC_SEARCH_FLAGS and LD_SEARCH_FLAGS to try to account for cc vs ld linking. Tcl now handles this. * unix/tcl.m4: Update from Tcl.
* * unix/Makefile.in: Add MAJOR_VERSION, MINOR_VERSION,mdejong2002-07-286-318/+403
| | | | | | | | | | | | | | | | | | | PATCH_LEVEL, INSTALL_LIBRARY, STUB_LIB_FILE, and LIB_FILE to support changes in tcl.m4 related to library builds. Use MAKE_LIB macro to avoid dealing with RANLIB issues. Rename TK_CC_SEARCH_FLAGS to CC_SEARCH_FLAGS and rename TK_LD_SEARCH_FLAGS to LD_SEARCH_FLAGS. Use new INSTALL_LIB and INSTALL_STUB_LIB substs to deal with ranlib issues when install libraries. * unix/configure: Regen. * unix/configure.in: Remove AC_PROG_RANLIB since this is done by tcl.m4 now. Define CC_SEARCH_FLAGS instead of TK_CC_SEARCH_FLAGS and so on. Use MAKE_LIB and MAKE_STUB_LIB from tcl.m4. Remove AC_SUBST calls that are no done in tcl.m4. * unix/tcl.m4: Update from Tcl. * unix/tkConfig.sh.in: Subst CC_SEARCH_FLAGS and LD_SEARCH_FLAGS.
* Last commit missed a few lines.pspjuth2002-07-251-1/+7
|
* Objectifed wm. [Patch #564521]pspjuth2002-07-251-1126/+2085
| | | | Note: this commit has not been tested.
* Objectifed wm. [Patch #564521]pspjuth2002-07-258-2645/+5329
|
* * tests/spinbox.test: added spinbox-22.[1-3]hobbs2002-07-253-16/+45
| | | | | | * generic/tkEntry.c (ConfigureEntry): made the textvariable value take precedence over changed -from/-to values, unless it must be constrained. [Bug #559078]
* * library/spinbox.tcl (MouseSelect): when not in the entry, justhobbs2002-07-252-15/+15
| | | | | return instead of invoking - ButtonUp handles invoking already. [Bug #499168]
* * library/tk.tcl (RestoreFocusGrab): handle the case where thehobbs2002-07-252-3/+12
| | | | FocusGrab info is not set. [Bug #553283]
* see changeloghobbs2002-07-241-0/+21
|
* * tests/canvas.test: added canvas-14.[1-6]hobbs2002-07-242-19/+44
| | | | | | | * generic/tkCanvas.c (CanvasWidgetCmd): corrected handling of 'scan' subcommand args. Also removed early return cases to goto done instead where the canvasPtr would be Tcl_Release'd. This may solve other problems with unreleased canvasPtr's. [Bug #581560]