Commit graph

43 commits

Author SHA1 Message Date
adam
c22c00ff66 Changes 8.6.1:
* object-oriented programming support
* a stackless evaluation implementation
and much more besides.
2014-01-11 14:41:05 +00:00
adam
5fbf43f8fc Changes 8.5.15:
Bug-fix release.
2013-11-02 20:22:02 +00:00
adam
cc57132408 Changes 8.5.14:
Bug-fix release.
2013-05-31 20:15:04 +00:00
adam
3f8475aeeb Changes 8.5.13:
* --enable-aqua build for Mac OS X is now a Cocoa implementation.
* Support has been added for Cygwin network pathnames.
* Updated to Unicode 6.2 support. Fixes for several crashes and bugs.
2012-11-24 21:38:49 +00:00
dsainty
93dd85ec11 For all but the default case the library file names use TCL_TRIM_DOTS
and end up with libtk85.so.  The default case would end up with libtk8.5.so
instead, which at least conflicts with what the PLIST says, but also
eventually failed to build on platforms ending up with the default behaviour.

Fixes the build on Linux platforms, should be no change elsewhere.
2012-08-29 11:55:06 +00:00
bsiegert
a567dcc16b Fix build of the shared library on MirBSD and likely also on OpenBSD.
No pkgrevision bump, as it did not build on these platforms anyway.
2012-08-25 11:51:24 +00:00
marino
5ea84235ca x11/tk: Ensure tkConfig.sh has embedded rpath
The version of the new tk package had some problems.
 - The x11 paths weren't coming through
 - The tkConfig.sh utility was missing runpath definition for TK_LIB_SPEC
 - Threading was automatically selected

The X11 problem was fixed with addition CONFIGURE_ARGS
The runpath for TK_LIB_SPEC was added in the configure patch
An options.mk file was added based on the tcl version.

Problems found and fixes suggested by he@
2012-08-22 22:05:05 +00:00
marino
7c7cbe836f x11/tk: Upgrade from version 8.4.18 to 8.5.12
Highlights of Tk 8.5
  * New modern theming engine: New and complementary widgets that make use
    of platform-specific theming on Mac OS X and Windows to better fit in
    with those environments, and feature an improved look and feel under
    X11.
  * New widgets: Part of the themed widget set, Tk now has core notebook,
    combobox, treeview and progressbar widgets.
  * text widget: Smooth scrolling, widget peering, and improved procedures
    for counting and replacing text.
  * Font rendering: Now uses anti-aliased text under X11, and a more
    modern text engine (ATSUI) on Mac OS X.
  * Additional improvements: Window transparency, new fullscreen option
    for windows, enhancements to specific widgets and window layout,
    and more.

There is of course much, much more.
See [8.5 Changes](http://wiki.tcl.tk/10630) on the wiki for a complete
list of new features.
2012-08-21 21:32:34 +00:00
dsainty
50796f82da Tk uses X event numbers to index an "event" array, as well as adding a few of
its own, starting with "VirtualEvent" (Which is correctly set to LASTEvent,
defined in include/X11/X.h).  In xproto-7.0.13, a new event "GenericEvent" was
added - making the defined array broken for all of Tk's internal events.

The easy fix is to just add in the missing event into the hard-coded array.

This patch was reported here: http://bugs.gentoo.org/show_bug.cgi?id=225999

A cleaner fix, but a much bigger patch, is listed in the Tk bug tracker.  I'm
punting that Tk will have been updated with the fix before X.h grows another
event.

http://sourceforge.net/tracker/index.php?func=detail&aid=2010422&group_id=12997&atid=112997

Bump PKGREVISION.
2008-08-06 04:09:12 +00:00
dbj
7648dba7fb include LDFLAGS when creating shared library.
This fixes build problems on darwin
2008-07-20 23:35:20 +00:00
adam
70ae7fb880 Changes 8.4.16:
* Bug fixes
* Improvements
2007-10-13 11:41:33 +00:00
adam
207349e730 Changes 8.4.15:
* Minor bugfixes
2007-05-31 13:01:53 +00:00
adam
a21f91c681 Changes 8.4.14:
* 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-11-02 17:41:23 +00:00
adam
32868e4ba1 Changes 8.4.13:
* 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-27 08:17:09 +00:00
minskim
a8ae64698b Add link options to have a correct dependency_libs line in .la files
on NetBSD.  This fixes PR pkg/32915.

Bump PKGREVISION.
2006-02-23 23:31:51 +00:00
adam
36aff7b87b Changes 8.4.12:
* 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.
2006-01-16 14:47:35 +00:00
rillig
eb330613db Fixed wrong use of WRKSRC. 2005-11-03 23:09:24 +00:00
joerg
8dc7e49174 RPATH_FLAG needs to be defined for FreeBSD 3+ and DragonFly as well,
since otherwise libtk84.so depends on libX11.so without knowing where to
find it.

approved-by: jwise@
2005-11-02 15:41:25 +00:00
joerg
92da883c16 Ensure that errno really comes from errno.h and only define it as
extern, if it's not a macro. Teach configure about DragonFly.

OKed by maintainer.
2005-09-21 14:49:08 +00:00
adam
3c8a19282b Changes 8.4.11:
* Bug fixes
2005-07-19 11:11:58 +00:00
adam
0872fc5b11 patch-aa modified to be compatible with GNU make 2005-02-22 10:22:05 +00:00
adam
f39e496a4d Changes 8.4.8:
* 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-26 10:30:01 +00:00
adam
8898daf869 Changes 8.4.7:
* 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-10-01 13:35:37 +00:00
danw
b65724482c Fix up some Makefile logic that got broken by the libtool patches (and
prevented it from building on some platforms). Ensure that the built
library is named libtk84 (as opposed to libtk8.4) on all platforms.
2004-04-09 23:39:00 +00:00
jlam
98196bcc44 Fix tcl/tk configure script stupidity: it overwrote the value of LDFLAGS
that accumulates within itself with a do-nothing version because it tried
to re-use LDFLAGS for another purpose.  This broke all library checks after
the "checking for ELF" step.  Fix this by (duh) not re-using LDFLAGS but
by using a different variable.  Bump the PKGREVISIONs of lang/tcl and
x11/tk.

This fixes building the threaded versions of tcl and tk.
2004-03-25 22:49:14 +00:00
minskim
a3c0d62315 Keep library names on IRIX and Linux to be same as on other platforms. 2004-03-11 01:27:05 +00:00
minskim
9c121e17ff Update Tcl/Tk to 8.4.6.
* Tcl_Obj sharing fixed in [binary scan]
  * Updated errno usage for recent glibc
  * Fixed [file normalize ~unknownuser] error
  * Fixed two memory leaks in VFS code
  * Fixed possible infinite loop in TclFinalizeFilesystem
  * Updated HP-UX 11 build libraries setup
  * Unix std channels forced to exist at startup
  * Stopped broken [exec] quoting of '{'
  * Fixed memory leak with very long host names
  * Corrected level interpretation of Tcl_CreateTrace
  * Allow 64-bit configure on IRIX64-6.5*
  * Several OS X/Aqua native integration improvements (scrollbar,
    event generate, unicode clipboard, tk_messageBox, mousewheel event,
    alpha blending for partially transparent images)
  * Recognized native hand2/fleur cursors on Windows
  * Post menubuttons so they stay on screen better
  * Fixed crash during intra-image copy/resize
  * New msg catalogs for Esperanto and Polish
  * Corrections bold/italic font handling (width calculations) on Windows
  * Fixed shrinking grid geometry calculations
2004-03-08 22:14:18 +00:00
minskim
dc3bf1e6e1 Update tk to 8.4.5. Too many changes since 8.3.4. Please see
ChangeLog in the distfile.
2004-03-08 20:29:43 +00:00
jlam
2c03f435c8 bl3ify 2004-01-05 11:17:10 +00:00
jschauma
a241275f33 On Linux, this used to create libtk8.3.4 - let's use nodots here, too,
so we don't need to change the PLIST.
2003-03-16 18:37:43 +00:00
tron
12784a0b2b Update patch with diffs for a regenerated "configure". This restores the
Solaris fixes which got lost in the recent update.
2002-01-05 23:47:19 +00:00
bjoern
6000f15f92 Update to version 8.3.4
Taken from "changes" from the distribution (minus changes not
relevant for NetBSD):


2001-04-04 (doc fixes) numerous doc corrections and clarifications.
Update of READMEs.

2001-04-04 (bug fix) corrected reseting of service mode to only occur when
it was set (hedin, hobbs)

2001-04-02 (bug fix) Checked for menu deletion before calling associated
menu entry command. Fixed listbox, canvas and entry destruction to be
more aware of current widget activity. (hobbs)

2001-03-30 (bug fix) handled the error case where a valid-looking but
invalid identifier could be passed in certain event generate options
causing a crash (hobbs)

2001-03-29 (bug fix) corrected handling of drag-selection (dejong)

2000-10-27 (feature enhancement) made [tk useinputmethods 1] the default
for Tk (hobbs)

2000-09-29 (bug fix) corrected BadMatch errors when using Tk on multiple
screens (hipp)

2000-08-18 (feature enhancement) Removed redundant call to DitherInstance
(melski)

2001-08-24 (bug fix) correct several possible free memory reads and array
bounds read errors reported by purify. (hobbs)

2001-08-27 (new feature) added call to Tcl_SetMainLoop which enables Tk to
be loaded interactively into tclsh and have the event loop kick in
correctly. (hobbs)

2001-08-28 (bug fix) fixed tk_chooseDirectory crash on Win95. (baker)

2001-08-28 (bug fix) removed 2 second 'raise' delay seen by some Unix
window managers. (hobbs, baker)

2001-09-14 (bug fix) fixed memory leaks that occured if errors were
thrown while initializing the channel for an image. (darley)

2001-10-04 (new feature) added enhanced bgerror dialog from Hipp. (hobbs)

2001-10-17 (bug fix) fixed file filtering in the motif file dialog (nelson)
2001-12-23 17:11:30 +00:00
jlam
2c350496d6 Use -Wl,-R instead of -Wl,-rpath as the former is more consistent with the
rest of pkgsrc.
2001-10-23 09:55:47 +00:00
tron
cead56e675 Use the library naming scheme under Solaris as under NetBSD. While it's
not really necessary to strip dots from library names under Solaris it
makes the packages more compatible which should ease maintenance.
2001-07-29 07:54:56 +00:00
jlam
521487c367 Touch ${TK_LIB_FILE} during build so that it doesn't have to be re-linked
during installation.
2001-06-21 20:16:26 +00:00
jlam
5371ddc664 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-21 18:55:02 +00:00
jlam
a3dca94481 Fix the installed tkConfig.sh so it's possible to use its values to generate
a shared library that depends on libtk83.so.  Patch the configure script to
set TK_LIB_SPEC to include -Wl,-rpath,... or -R... depending on whether we
are ELF or a.out.

Bump version number to 8.3.2nb1.
2001-05-24 02:58:29 +00:00
jwise
410087bbbd Fix problem with libtk .la file generated by new libtool.
Pointed out (and patch provided by) Jason Beegan (jtb@netbsd.org)
2001-04-18 18:15:41 +00:00
jlam
f045a27e94 Honor CFLAGS passed in from environment during build. 2000-12-11 16:40:42 +00:00
jwise
476fae1562 Since the configure script comes up with different shared lib suffixes on
different versions/platforms of NetBSD, use

        $(TK_LIB_FILE:C/\.so.*/.la/)

instead of

        $(TK_LIB_FILE:.so=.la)

to derive the libtool archive name from the shared library name.

From Frederick Bruckman, addresses PR pkg/10924.
2000-09-01 16:22:00 +00:00
jwise
25da46bffe Fix inconsistent use of SHLIB_SUFFIX vs. SHARED_LIB_SUFFIX in configure
script.  I believe this is what resulted in 1.4.3/ELF ports not building
tk correctly.  he is testing on 1.4.3_ALPHA/alpha.
2000-08-31 16:48:11 +00:00
jwise
70b34f3f52 Fix typo in generated tkConfig.sh. 2000-08-30 20:22:34 +00:00
jwise
2b2fee8de0 Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived
from the older pkgsrc/lang/tk80 (tk-8.0.5) package.

This is an update of the tk package from version 8.0.5 to version 8.3.2,
and also a slight change in the organization of tcl/tk packages.

This will be added disabled to pkgsrc/x11/Makefile until I finish updating
all tcl/tk-based packags.

Changes from out-of-the-box tk-8.3.2:

        Both static and shared libtcl83.* are installed, thanks to
	the magic of libtool.

Changes to the package since tk-8.3.2:

        A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish
        This change is designed to allow tk-using packages to not depend on
	any particular version of tk.

        public tk include files and the tk configuration information script
        are now installed in their standard places (${PREFIX}/include/tk*.h,
        and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now
	installed in ${PREFIX}/include/tk.  This change allows tcl extension
	packages to work out of the box, and to not need modification when tcl
	and tk are updated.  When extension package authors use the new
	libtclstubs*.a API, this even allows binary packages of dynamically-
	loadable tcl extensions to be used with newer versions of tcl without
	recompilation.

Here are the new features in tk-8.3.x as opposed to 8.0.x.  I am not including
bug fixes as this represents about 18 months of them.

  Img patch from Nijtmans, et al was adopted. This includes a
  Tcl_Obj-based image command, support for binary in -data args, adds
  an alpha channel to all photo types, as well as GIF write capability.

  Major portions of Dash patch from Nijtmans, et al was adopted.  This
  includes a Tcl_Obj-based canvas command, dashed canvas item support,
  enhanced canvas tag searching capabilities, pointer warping with event
  -warp, entry widget validation routines, -elide tag option for of the text
  widget (TkMan runs on 8.3 without a patch), several new canvas item
  arguments, as well as postscript printing support for images and windows in
  the canvas.

  Listboxes support a -listvariable and have a new itemconfigure
  command to color individual items.

  Extended "wm state" command to accept a state to set for the toplevel,
  and added support for the zoomed (maximized) state on Windows.

  Standard Unix dialogs have been updated to use color icons and
  have improved behavior.

  New "tk useinputmethods" command.  This changes the behavior of
  Tk on X where X Input Methods (XIM) were recognized and used without
  question.  With 8.3, they will be recognized and initialized, but
  not used unless XIM is turned on (tk useinputmethods 1).  This should
  only affect users with special input methods, and the new default
  behavior should be more beneficial to the average user.
2000-08-29 16:16:06 +00:00