summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkDecls.h:das2005-05-2910-169/+235
| | | | | | | | | | | | | | | | | | * generic/tkIntPlatDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: ran missing 'make genstubs' for TIP245 changes to tk.decls * macosx/tkMacOSXXStubs.c (Tk_ResetUserInactiveTime): use symbolic constant argument in call to UpdateSystemActivity(); * macosx/Wish.pbproj/project.pbxproj: * macosx/Wish.xcode/project.pbxproj: * unix/configure.in: added/corrected linking to IOKit.framework for TIP245. * unix/configure.in: skip X11 configure checks when building tk_aqua. * unix/configure: autoconf-2.59
* Partial implementation of TIP#245; thanks Reinhard!dkf2005-05-279-15/+401
|
* change tk_popup to have sticky menustmh2005-05-272-2/+11
|
* * macosx/tkMacOSXInit.c (TkpInit): fixed resource file extractiondas2005-05-265-125/+41
| | | | | | | | | | | | | from __tk_rsrc section to work with non-prebound .dylib and .bundle. * macosx/Makefile: corrected EMBEDDED_BUILD check, use separate tcl and tk version vars to properly support tk/x11 framework version overriding, rewrite tkConfig.sh when overriding tk version, corrected Wish.app symlink in tk build dir. * unix/configure.in: corrected framework finalization to softlink stub library to Versions/8.x subdir instead of Versions/Current. * unix/configure: autoconf-2.59
* * unix/Makefile.in (install-libraries): protect possible emptyhobbs2005-05-252-2/+7
| | | | list in for with list= trick for older shells.
* * generic/tkTest.c: disable commands not available on TkAqua.das2005-05-242-4/+6
|
* fix for non-framework TkAqua builddas2005-05-241-2/+5
|
* minor formatting sync with tcl/unix/configure.indas2005-05-242-15/+15
|
* small comments & whitespace fixdas2005-05-241-10/+11
|
* * generic/tkFileFilter.c (FreeGlobPatterns): s/null/NULL/hobbs2005-05-232-2/+6
|
* * macosx/Makefile:das2005-05-2312-349/+1755
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/README: * macosx/Tk-Info.plist.in (new file): * macosx/Wish-Info.plist.in (new file): * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: * unix/tkUnixInit.c: moved all Darwin framework and TkAqua build support from macosx/Wish.pbproj and macosx/Makefile into the standard unix configure/make buildsystem, the project and macosx/Makefile are no longer required to build Tk.framework and/or TkAqua. TkAqua is now enabled by the --enable-aqua configure option, and static and non-framework builds of TkAqua are now available via the standard configure switches. Tk/X11 can also be built as a framework. The macosx/Makefile now wraps the unix buildsystem and no longer uses the projects, embedded builds are still only available via this Makefile, but for other builds it is not longer required (but its current functionality is still available for backwards compatibility). The projects currently do not call through to the Makefile to build (unlike Tcl.pbproj) so project builds may differ from makefile builds. Due to issues with spaces in pathnames, 'Wish Shell.app' has been renamed to 'Wish.app', the macosx/Makefile installs backwards compatibility symlinks for the old name. * macosx/tkMacOSXInit.c (TkpInit): added support for Tk resource file in non-framework and static builds: the resource file is copied into a __tk_rsrc MachO segment of the library or executable at link time and extracted into a temporary location at initialization. * unix/configure: autoconf-2.59 * unix/tkConfig.h.in (new file): autoheader-2.59
* * macosx/Wish.pbproj/project.pbxproj:das2005-05-234-17/+13
| | | | | | * macosx/Tk-Info.plist: * macosx/Wish-Info.plist: * macosx/tkAboutDlg.r: updated copyright years to 2005.
* Parse all filters, not just the first one. [Bug 1206133]dkf2005-05-212-116/+109
|
* Fixes from Michael Kirkham:wolfsuit2005-05-155-2078/+32
| | | | | | | | | | | | | * macosx/tkMacOSXMenu.c (TkpConfigureMenuEntry): Thinko in clearing the ENTRY_ACCEL_MASK before re-parsing it. [Tk Bug 1012852] * macosx/tkMacOSXScrlbr.c (UpdateControlValues): Don't set the control value BEFORE setting the min and max or the control manager will reset it for you. [Tk Bug 1202181] * macosx/tkMacOSXXStubs.c (TkMacOSXXGetPixel, TkMacOSXXPutPixel): Restore the port to what it was before putting we were called. [Tk Bug 1202223]
* Add a missing Tcl_Release to ThumbActionProc. Thanks to Micheal Kirkham forwolfsuit2005-05-152-1/+6
| | | | pointing this out.
* * macosx/tkMacOSXInit.c:das2005-05-1417-1155/+715
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXNotify.c: introduction of new tcl notifier based on CFRunLoop allows replacement of the custom TkAqua notifier by a standard tcl event source. Removes requirement of threaded tcl core for TkAqua, allows to stub-link TkAqua against Tcl by removing use of the unstubbed TclInitNotifier & TclFinalizeNotifier. [Tcl Patch 1202052] * macosx/Wish.xcode/project.pbxproj: * macosx/Wish.pbproj/project.pbxproj: stub-link TkAqua: build with USE_TCL_STUBS and link against libtclstub instead of Tcl.framework, unexport libtclstub symbols from Tk to avoid duplicate symbol warnings when linking with both Tcl and Tk, fixes for gcc4.0 warnings. * macosx/Wish.xcode/project.pbxproj: sync with Wish.pbproj changes since 2004-11-19. NOTE: to use this project, need to uncomment the tclConfig.h settings at the top of tcl/unix/configure.in, autoconf and rebuild tcl ! * macosx/tkMacOSXBitmap.c: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: fixed gcc 4.0 warnings. * unix/tcl.m4: sync with tcl * unix/configure: autoconf-2.59
* fix to two text widget bugsvincentdarley2005-05-131-2/+2
|
* fix to two text widget bugsvincentdarley2005-05-134-11/+33
|
* Updated out-of-date references to "Tk_GetBoolean"dgp2005-05-122-6/+6
|
* More improvements to test robustness; problems exposed by changes todgp2005-05-101-7/+7
| | | | precision of doubles (TIP 132).
* * generic/tkTextDisp.c (GetXView): Improved numerical precisiondgp2005-05-103-23/+30
| | | | | | of calculation of [.t xview] return values. * tests/textDisp.test: Match greater precisions of [.t xview] and [.t yview] values in tests.
* fixed pkg-config xft check, needed reset of enable_xft firsthobbs2005-05-072-1/+3
|
* * unix/configure: regenhobbs2005-05-074-12/+286
| | | | | | | * unix/configure.in: add AC_C_BIGENDIAN check and pkg-config xft checks to extend xft search. * unix/tcl.m4: correct Solaris 10 (5.10) check and add support for x86_64 Solaris cc builds.
* Fix [1191097], factor, and tidy up.dkf2005-04-282-192/+214
|
* Fixed bug # 1189939chengyemao2005-04-281-3/+3
|
* * macosx/tkMacOSXNotify.c: sync with tclUnixNotfy.c changes sincedas2005-04-265-213/+366
| | | | | | | | | | | | | | | | | | | 2004-06-22, added compile time check for threaded tcl core, removed unthreaded code paths as they are never used anyway, fixed TkMacOSXAlertNotifier() implementation. * unix/Makefile.in: added TCL_STUB_LIB_FILE, needed for unexporting of symbols from libtclstub to avoid duplicate symbol warnings. * unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS definition for Mac OS X, defined MODULE_SCOPE to __private_extern__. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check. * unix/configure: autoconf-2.59
* added an entry for the FontId.3 typo fixgeorgeps2005-04-221-0/+5
|
* fixed a typogeorgeps2005-04-221-2/+3
|
* Tk_MeasureChars: Use Tcl_UtfToUnichar() for lax UTF-8 parsingjenglish2005-04-192-7/+13
| | | | instead of strict parsing with FcUtf8ToUcs4() [fix/workaround for #1185640]
* fix to Home/End and display linesvincentdarley2005-04-183-15/+22
|
* * unix/tkUnixFont.c (FontMapLoadPage): reorder char[] decls tohobbs2005-04-142-3/+8
| | | | avoid possible segv. Minimal fix for [Bug 1122671]
* * library/tkfbox.tcl (::tk::dialog::file::): fix typeMenuLab ref.hobbs2005-04-123-14/+62
| | | | | | | | Add undoc'd ::tk::dialog::file::showHiddenBtn var (default 0) that will add a "Show Hidden" checkbutton to tk_get*File and tk_chooseDirectory if set to true. * library/choosedir.tcl (::tk::dialog::file::chooseDir::): fix cancelBtn ref, add hiddenBtn ref for "Show Hidden" button.
* * macosx/README: updated requirements for OS & developer tooldas2005-04-092-12/+15
| | | | versions + other small fixes/cleanup.
* * macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually definedas2005-04-092-0/+9
| | | | constants present only in 10.3 headers so that we can build on 10.2.
* * macosx/Wish.pbproj/project.pbxproj: fixed absolute path todas2005-04-092-5/+8
| | | | tkEntry.h that confused 10.2 PBX.
* * unix/tcl.m4 (Darwin): added -single_module linker flag todas2005-04-093-4/+10
| | | | | TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS. * unix/configure: autoconf-2.59
* * macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap, ↵mdejong2005-04-074-16/+33
| | | | | | | | | | | TkWmStackorderToplevel): * unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): * win/tkWinWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Fix panic in wm stackorder when a toplevel is created on another diplay. The code now ignores toplevels that have a display that does not match the display of the parent window. [Bug 1152809]
* Purge old and inaccurate .VS/.VE macros.dkf2005-04-0635-288/+48
|
* * library/comdlg.tcl: Added Macintosh file type validation todgp2005-04-052-1/+15
| | | | [::tk::FDGetFileTypes]. [Bug 1083878] (Thanks, Vince Darley)
* fix to elide search and insertofftime 0 text widget bugsvincentdarley2005-04-043-38/+251
|
* Style&clarity fixesdkf2005-04-041-309/+315
|
* Fixed bug in geometry calculations forpspjuth2005-04-033-8/+46
| | | | | widgets that span multiple columns/row. Bug was introduced in 8.5a1 when fixing 792387. [Bug 1175092]
* * win/tcl.m4, win/configure: do not require cygpath in macros tohobbs2005-03-303-229/+401
| | | | allow msys alone as an alternative.
* added text widget testvincentdarley2005-03-272-2/+35
|
* Dopey bug, I should only reset the widget width for spinboxes, since I onlywolfsuit2005-03-242-1/+9
| | | | change it for them...
* Syntax/Style Guide fixesdgp2005-03-241-3/+8
|
* Get the Entry and Spinbox widgets to draw with the native look & feel onwolfsuit2005-03-248-411/+3462
| | | | | | Mac OS X. Also contains some more work on tkMacOSXScale.c, but this doesn't work all the way yet, so it's not currently built.
* 2005-03-23 Jim Ingham <jingham@apple.com>wolfsuit2005-03-234-315/+322
| | | | | | | | | | | | | | | | | | This is cleanup thanks to Neil Madden <nem@cs.nott.ac.uk>. * macosx/tkMacOSXWm.c (TkMacOSXWinStyle) New function. (TkUnsupported1ObjCmd): New function, replaces the un-objectified version of the command. * generic/tkInt.h: Swap TkUnsupported1Cmd for TkUnsupported1ObjCmd. * generic/tkWindow.c (): Ditto. This adds a "-notify" flag to "wm attributes" that will bounce the dock icon on Mac OS X. This is from Revar Desmera <revarbat@gmail.com> * macosx/tkMacOSXWm.c (WmAttrGetNotifyStatus, WmAttrSetNotifyStatus): New functions. (WmAttributesCmd): Add the -notify. * doc/wm.n: Document -notify.
* Use Tcl_Set/GetAssocData to remove use of fragile Tcl_GetCommandInfodkf2005-03-192-35/+40
| | | | from TkConsolePrint. [Bug 1016385]
* fix for display lines bug and panicvincentdarley2005-03-152-9/+30
|