summaryrefslogtreecommitdiff
path: root/lang/tcl
AgeCommit message (Collapse)AuthorFilesLines
2009-09-12Add 'clean' to PRIVILEGED_STAGES.snj1-1/+3
2009-08-20Give up maintainership of packages where I am still listed as MAINTAINER.jwise1-2/+2
2009-06-14Remove @dirrm related logic.joerg1-4/+1
2009-06-14Replace @exec/@unexec with @pkgdir or drop it.joerg1-2/+2
2009-06-14Remove @dirrm entries from PLISTsjoerg1-12/+1
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2008-04-07Update to version 8.4.18. Distilled list of non-Windows changes:bjs2-6/+6
* generic/tclInterp.c (Tcl_GetAlias): fix for [Bug 1882373] * generic/regguts.h, generic/regc_color.c, generic/regc_nfa.c: Fixes for problems created when processing regular expressions that generate very large automata. An enormous number of thanks to Will Drewry <wad@google.com>, Tavis Ormandy <taviso@google.com>, and Tom Lane <tgl@sss.pgh.pa.us> from the Postgresql crowd for their help in tracking these problems down. [Bug 1810264] * unix/tclUnixCompat.c (TclpGetHostByName): Really applied the change noted on 2007-11-13 by dkf below. * generic/tclIOUtil.c (TclGetOpenMode): Only set the O_APPEND flag * tests/ioUtil.test (ioUtil-4.1): on a channel for the 'a' mode and not for 'a+'. [Bug 1773127] (backport from HEAD) * generic/tclCmdIL.c (Tcl_LsearchObjCmd): Prevent shimmering crash when -exact and -integer/-real are mixed. [Bug 1844789] * generic/tclThread.c: Back-port locking changes from Tcl8.5 in Tcl_Mutex/ConditionFinlize. Now we properly master-lock the finalization of sync primitives. * generic/regc_nfa.c: Fixed infinite loop in the regexp compiler * generic/regcomp.c: [Bug 1810038]. Corrected looping logic in * tests/regexp.test: fixempties() to avoid wasting time walking a list of dead states [Bug 1832612]. Convert optst() from expensive no-op to a cheap no-op. Improve newline usage in debug output. * unix/tclUnixCompat.c (TclpGetHostByName): The six-argument form of getaddressbyname_r() uses the fifth argument to indicate whether the lookup succeeded or not on at least one platform. [Bug 1618235] * generic/regc_lex.c (lexescape): Ensure that backreference numbers can't overflow a signed int in a way that breaks things. [Bug 1810264] * generic/tclParse.c (Tcl_ParseBraces): fix for possible read after the end of buffer, [Bug 1813528] (Joe Mistachkin). * generic/tclObj.c (Tcl_FindCommandFromObj): fix finding a deleted command; cannot trigger this from Tcl itself, but crash reported on xotcl. This check is new to 8.4 but exists in 8.5, so this is a backport or something. Thanks Gustaf Neumann. * generic/tcl.h (Tcl_DecrRefCount): Update change from 2006-05-29 to make macro more warning-robust in unbraced if code.
2007-10-13Changes 8.4.16:adam6-55/+63
* Bug fixes * Improvements
2007-09-25Back out previous. Pointed out by uebayasi@ and martti@.hira1-2/+2
2007-09-25ln -> ${LN}.hira1-2/+2
2007-05-31Changes 8.4.15:adam6-43/+43
* Minor bugfixes
2007-05-29Added support for installation to DESTDIR. Approved by Jim Wise.heinz1-8/+11
2006-11-02Changes 8.4.14:adam9-68/+69
* Tk_PhotoPutBlock performance restored (JPEG image loading). * [namespace inscope] change reverted; harmed Itcl. * Made [expr {srand(.)}] accept wide integer argument. * Made [lappend $invalidList] raise an error. * Improved [text] delete performance. * Support for the WM_UNICHAR window message on Windows * Stopped excess variable writes by [scale]. * Tcl_Main no longer blocks main loop start for one interactive command. * [console] made thread safe. * Thread-enabled configuration uses MT-safe system calls. * Many Aqua/Tk bug fixes and improvements, see changes file. * Made unthreaded notifier naked-fork-safe on Darwin. * Support for weak linking on Mac OS X. * msgcat support for CFLocale on Darwin (msgcat 1.3.4) * Fixed crashes due to alignment issues in encoding translation routines. * Fixed crash with [listbox -listvariable] on namespace variable. * Fixed crash when Tcl_DeleteTrace changes proc on the active stack. * Fixed crash when normalizing filesystem pathnames. * Fixed crash due to invalid font name from XServer. * Several 64-bit bugs fixed and platform support enhanced.
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-27Changes 8.4.13:adam8-111/+83
* Win NT/XP: unicode console support taken back out. * ${prefix}/share addition to ::tcl_pkgPath undone. * Warning message for packages with incorrect index scripts silenced. * Correct syntax error in configure script (bash 3.1 exposes it). * Tk incompatibilities with SCIM resolved. * Improved [file writable] support of Windows conventions. * Tcl_GetIndexFromObj() support for exact matching of empty key. * Tk Portuguese localization support (pt.msg). * Tk more robust when X server does not recognize color name "Black". * Tk_PhotoPutBlock() performance improvement. * [lsearch -start $pastEnd] no longer finds match at end of list. * Correct [expr abs($LONG_MIN)] result. * Correct [string range] failures on some strings containing \x00. * TCL_EVAL_GLOBAL and [uplevel 0] agreement when traces or [unknown] active. * Corrections to context of auto-loading the target of an interp alias. * Corrected some interference between enter and enterstep traces. * Correct [$img configure -data] failure to change X display. * Tk_GetBitmapFromData() thread safety. * Crashes in [grid] for some invalid index arguments. * Crash when all content of a [text] is elided. * Crash in [$text edit undo/redo]. * Crash in animated GIF display with variable frame size. * Crash related to pipe usage in thread-enabled Tcl on Windows. * Crash when [$text dump -command] changes contents while dumping. * Crash reading utf-8 when multibyte char spans multiple buffers at EOF. * Several finalization crashes corrected.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-02-23Add link options to have a correct dependency_libs line in .la filesminskim4-10/+13
on NetBSD. Bump PKGREVISION.
2006-01-16Changes 8.4.12:adam14-129/+97
* Repeated [namespace import] of same command now permitted. * ${prefix}/share added to ::tcl_pkgPath on some systems. * [exec]'s >> redirection has improved append behavior. * [info globals] returned only existing variables. * Recognize some Solaris variations of the cp1251 encoding. * Addressed [file mkdir] race condition. * Support opening >2GB files on RHEL 3. * Corrections to $argv formatting when [encoding system] is multibyte. * http 2.5.2: Update URL encoding rules to RFC 3986. * Fixed issue in recursive file delete with NFS lock files. * Stopped crash after use of Tcl_TraceCommand(). * Win NT/XP: support unicode console. * Improved support for Tclkit to set [encoding system]. * Added Korean timezone abbreviations. * Windows: exit codes can now exceed -128..127 range. * [load] support on LynxOS. * Packages with incorrect index scripts now cause a warning to be logged. *** POTENTIAL INCOMPATIBILITY *** * [lsearch -regexp] now accepts backrefs in the RE. * [selection get] made compatible with OpenOffice.org. * Dialog support for widget names containing spaces. * Improved Tk window manager event interaction on OS X Aqua.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-10-07Remove wiz's quick workaround for the --mandir.reed1-9/+1
Remove the --mandir setting for CONFIGURE_ARGS as this is now done by default (for GNU_CONFIGURE). Remove the man page staging from post-install (and the comment about this). The maintainer told me this was a workaround for older versions of tcl and that it is fixed now.
2005-10-07Package wants to override mandir, so setwiz1-1/+3
CONFIGURE_HAS_MANDIR= no
2005-09-21Ensure that errno really comes from errno.h and only define it asjoerg4-7/+43
extern, if it's not a macro. Teach configure about DragonFly. OKed by maintainer.
2005-08-31Add patch from Tcl cvs repository. See:seb2-1/+33
http://sourceforge.net/tracker/index.php?func=detail&aid=1222872&group_id=10894&atid=110894 http://cvs.sourceforge.net/viewcvs.py/tcl/tcl/unix/tclUnixNotfy.c?r1=1.11.2.12&r2=1.11.2.13&only_with_tag=core-8-4-branch This has the added benefit of improving the tcl interpreter stability on NetBSD/sparc64 2.0_STABLE: no more SIGBUS, due to a LP64 type problem with a pthread_join() argument, even if the self-test is still shaggy. Approved by jwise@.
2005-08-31Restore original quoting syntax of variables in t{k,cl}Config.sh in orderseb1-2/+3
to follow the principle of least surprise between the packages and the mainstream builds. Approved by jwise@. Bump PKGREVISION of lang/tcl, x11/tk, x11/tk83 to 1 and of lang/tcl83 to 2.
2005-08-02Patches and tuning so the test target runs and pass, at least onseb5-2/+104
NetBSD/i386 2.0_STABLE and current: set timezone in TEST_ENV, use libtool to compile shared test modules and account for that in the Tcl test scripts. Thanks to jwise@ for the helping hand.
2005-07-19Changes 8.4.11:adam8-89/+92
* Bug fixes
2005-04-13patch TCL_SRC_DIR and TK_SRC_DIR into tclConfig.sh and tkConfig.sh correctlyjschauma1-2/+2
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-04-11patch tclConfig.sh and tkConfig.sh so that they do not contain referencesjschauma1-1/+8
to the build environment, which of course no longer exists once we install the file. Also make sure that variables are set using double quotes, so that variables inside are expanded. Ok jwise@.
2005-03-08use defined() instead of !empty()dmcmahill1-2/+2
2005-03-06On 64bit capable platforms, --enable-64bitjschauma1-1/+5
2005-02-24Add RMD160 digestsagc1-1/+2
2005-02-21Patch-aa written in a different way, for people who, like me, use gnu-make -j2adam2-4/+4
to speed-up the build process on Dual-CPU Macs. :)
2005-01-24First stab at Interix support.tv3-21/+65
2005-01-13Define TCL_VERSION in a separate file so that it can be included byminskim2-3/+8
other packages (e.g. tcl-tclX).
2005-01-05Changes 8.4.9:adam4-30/+29
* Fixed segfault in info vars trivial matching branch (new in 8.4.8) * Fixed the treatment of backslashes in file join on Windows * Improved readdir_r detection and usage on unix * Fixed potential unix fileevent issue on 64-bit systems * Remove file normalize on tcl_findLibrary search path uniqification added in 8.4.8 * Ensure tilde paths are not returned specially by 'glob' * Fixed clipping of partially transparent images on buttons on unix to avoid X error * Fix Tk_PhotoPut(Zoomed)Block overlay compositing of partially transparent areas on blank targets
2004-12-30Use the same configure flags for NetBSD 1.[56] as for 1.[56].x (i.e.kristerw1-3/+4
adjust the tests to understand that 1.[56] is not written as 1.[56].0). Bump PKGREVISION. This solves PR pkg/28499.
2004-11-29Post-patch removed, since there is no mkLinks script any moreadam1-16/+1
2004-11-26Changes 8.4.8:adam7-55/+51
* Fixed possible deadlock in Tcl_Finalize * Fixed thread IDs on 64-bit systems * Fixed [scan %ld] handling LP64 systems * Fixed [string map $samevar $samevar] crash * Fixed broken [namespace forget] logic * Fixed [namespace import] cycle prevention * Improved control over int <-> wideInt conversion * Fixed buffer overflow when there is a syntax error in [subst] * Fixed [file executable] result for case insensitivity on Windows * Fixed [expr {NaN == NaN}] result * Make [tcl_findLibrary] search $::auto_path as well * Fixed crash in [fconfigure -ttycontrol] in threaded build * [TIP 222] implementation of [wm attributes -alpha] on Windows * [TIP 159] implementation of [wm iconphoto] * Make Tk [load]-able on OS X/Aqua * Handle color/screen resolution changes on Windows * Fixed [wm resizable] for Solaris/CDE * Handle Windows native dialog double clicks that fall through * Fixed [place forget] memory leak * Recompute menu geometry on named font size change * Fixed X/IME IC focus after creation * Improved multiple display Tk dialog window placement * Fixed compound buttons for OS X/Aqua * Documentation improvements and test suite expansion
2004-11-25These packages install libraries that dlopen() shared modules.jlam1-4/+2
2004-11-16Migrate OS/architecture hacks for correct compilation to a separatejlam2-7/+15
hacks.mk file.
2004-10-30During print-PLIST, output a comment for the tcl/lib directory.minskim1-1/+3
2004-10-30Create lib/tcl at post-install and add it to PLIST, because many otherminskim2-3/+6
tcl packages assume that this directory exists and never delete it when deinstalled. This fixes the tcl-fbsql build problem noted in recent bulk builds. Bump PKGREVISION.
2004-10-04In Tcl 8.4.7, there's no need to use LD_FLAGS, which was introduced tominskim3-10/+5
fix building the threaded versions of tcl and tk in 8.4.6nb2. This closes PR pkg/27130. Bump PKGREVISION because lib/tclConfig.sh is changed.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-2/+4
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-10-01Changes 8.4.7:adam7-864/+54
* Fixed [glob -path] bug when in the root directory * Fixed unicode-char path installation on Windows NT-based platforms * Properly subsitute more values in Windows tclConfig.sh * Improved stack overflow prevention on Windows * Fixed mem leak in [fconfigure $serial -xchar] * Fixed crash with [cd] with a volumerelative $HOME * Fixed clock %G %V formats for ISO8601 week numbers * Fixed support for non-WIDE_INT aware math functions * Added [http::config -urlencoding] option * Fixed utf-8 encoding of \u0000 on system I/O * Prevented dde hangs with non-responsive apps * Added round() wide integer support * Cleaner exit and correction of mem leaks when using the threaded memory allocator and reinitializing * Improved build configuration on 64-bit systems * Added read support of PPM/PGM with the -data option * Correct issue with displaying maximize window button on KDE-3.2.1 * Fix drawing of unicode chars in menu titles on Windows * Correctly post Tk clipboard data to the Windows clipboard on exit * Fix the panedwindow -opaqueresize option to work as per the docs * Reduce Tk tk_messageBox default font size to 14-point * Prevent possible segfault in -maxundo * Fix XIM initialization on Solaris * Complete the implementation of the CG version of the X drawing emulation layer on Mac OS X * Fix several Mac OS X usability issues
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-5/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-19Disable threads usage by tcl on NetBSD-1.6* (tested) and NetBSD-1.5*he1-3/+14
(by extension). Evidence suggests there is (at best) a bad interaction between pth and the thread memory allocator inside tcl, as witnessed by the tcl-scotty's package failure to install if threads is enabled on 1.6.2_STABLE/i386. Interestingly, the version with native threads on 2.0_BETA/alpha works just nicely.
2004-06-22add hooks to plug in a non-threaded version of libtcl.so (needed fordrochner4-11/+22
embedding into non-threaded programs) without duplicating anything else