Index: xotcl/ChangeLog =================================================================== diff -u -r795e843bc1d4d68b002d9e2e3fffe8aa6e1945a8 -rab63a4908f87f226de9730e0afa820388c93acc4 --- xotcl/ChangeLog (.../ChangeLog) (revision 795e843bc1d4d68b002d9e2e3fffe8aa6e1945a8) +++ xotcl/ChangeLog (.../ChangeLog) (revision ab63a4908f87f226de9730e0afa820388c93acc4) @@ -1,3 +1,41 @@ +2004-10-13 Gustaf.Neumann@wu-wien.ac.at + * make namespace handling code more orthogonal + * using resolver for exists method (might be used in future for + other methods as well) + * cleanup of dead code + +2004-10-09 Gustaf.Neumann@wu-wien.ac.at + * fixed recreation bug in connection with namespace eval + * fixed exists for objects with own namespaces + +2004-09-20 Gustaf.Neumann@wu-wien.ac.at + * Fixed bin-tar target to include sdbm+gdbm+expat + * Improved documentation (tutorial and langref) for forwarding options + * using $prefix in install-aol, provided a README.aol file + * more general fix for namespace handling; still possible problem + with shared Tcl_Objs of type XOTclObject, when referred to from + different namespaces. + +2004-09-15 Uwe Zdun + * fixed bug: non-pos args did not work correctly with default + values. Thanks to Bryan Schofield for reporting this bug. + Added tests for non-pos args + default values. + +2004-09-09 Uwe Zdun + * fixed possible accesses to object namespaces that got already + destroyed by TCL, by checking for ((Namespace + *)nsPtr)->deleteProc is not NULL, ie. it is still set to + XOTcl's Namespace Delete Proc, and not invalidated by + TclTeardownNamespace yet. add test for this to testx. Thanks + to Kristoffer Lawson for reporting this bug. + * fixed mis-formating in tutorial (only visible in browsers + other than Mozilla) + +2004-09-02 Uwe Zdun + * temporary fix for alloc behavior to deal with explicit namespace changes + by user, thanks to michael.heca@email.cz for reporting the + bug. Added a test for this change. + 2004-08-26 Gustaf.Neumann@wu-wien.ac.at, Uwe Zdun * release of distribution XOTcl 1.3.1 Index: xotcl/Makefile.in =================================================================== diff -u -r38e254d04bd441b36204ff1067b0b646bdc02d73 -rab63a4908f87f226de9730e0afa820388c93acc4 --- xotcl/Makefile.in (.../Makefile.in) (revision 38e254d04bd441b36204ff1067b0b646bdc02d73) +++ xotcl/Makefile.in (.../Makefile.in) (revision ab63a4908f87f226de9730e0afa820388c93acc4) @@ -12,7 +12,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: Makefile.in,v 1.11 2004/08/26 19:47:58 neumann Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.12 2004/10/13 10:35:43 neumann Exp $ #======================================================================== # Add additional lines to handle any additional AC_SUBST cases that @@ -32,6 +32,7 @@ TCL_LIB_SPEC = @TCL_LIB_SPEC@ TK_LIB_SPEC = @TK_LIB_SPEC@ subdirs = @subdirs@ +aol_prefix = @aol_prefix@ libdirs = comm lib serialize @libdirs_actiweb@ libsrc = COPYRIGHT pkgIndex.tcl @@ -242,7 +243,7 @@ install-aol: install-binaries install-libraries $(INSTALL) $(src_generic_dir)/aol-xotcl.tcl \ - $(DESTDIR)/usr/local/aolserver/modules/tcl/xotcl.tcl + $(DESTDIR)/$(aol_prefix)/modules/tcl/xotcl.tcl #======================================================================== @@ -612,6 +613,7 @@ bin-tar: (cd ..; tar zcvf xotcl-$(PACKAGE_VERSION)-bin-linux-i686-glibc.tar.gz \ `find $(exec_prefix)/bin/xotclsh $(exec_prefix)/bin/xowish \ + $(prefix)/lib/xotcl* \ $(prefix)/include/xotcl*.h \ $(DESTDIR)$(pkglibdir) $(prefix)/man/man1/xo* \ -type f -o -type l | fgrep -v CVS | fgrep -v SCCS | fgrep -v .junk| fgrep -v .db | fgrep -v "~" | fgrep -v "#" | fgrep -v /receiver/` \ Index: xotcl/configure =================================================================== diff -u -r2139510e0635ca88521b99d7c9751c2c15b306b6 -rab63a4908f87f226de9730e0afa820388c93acc4 --- xotcl/configure (.../configure) (revision 2139510e0635ca88521b99d7c9751c2c15b306b6) +++ xotcl/configure (.../configure) (revision ab63a4908f87f226de9730e0afa820388c93acc4) @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for xotcl 1.3.1. +# Generated by GNU Autoconf 2.59 for xotcl 1.3.3. # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation @@ -267,8 +267,8 @@ # Identity of this package. PACKAGE_NAME='xotcl' PACKAGE_TARNAME='xotcl' -PACKAGE_VERSION='1.3.1' -PACKAGE_STRING='xotcl 1.3.1' +PACKAGE_VERSION='1.3.3' +PACKAGE_STRING='xotcl 1.3.3' PACKAGE_BUGREPORT='' # Factoring default headers for most tests. @@ -308,7 +308,7 @@ # include #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CYGPATH EXEEXT PKG_LIB_FILE PKG_STUB_LIB_FILE PKG_STUB_SOURCES PKG_STUB_OBJECTS PKG_TCL_SOURCES PKG_HEADERS PKG_INCLUDES PKG_LIBS PKG_CFLAGS subdirs XOTCL_VERSION XOTCL_MAJOR_VERSION XOTCL_MINOR_VERSION XOTCL_RELEASE_LEVEL TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_LIBS TCL_DEFS TCL_EXTRA_CFLAGS TCL_LD_FLAGS TCL_SHLIB_LD_LIBS TK_VERSION TK_BIN_DIR TK_SRC_DIR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_LIBS TK_XINCLUDES CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE RANLIB ac_ct_RANLIB EGREP MATH_LIBS PKG_SOURCES PKG_OBJECTS TCL_TOP_DIR_NATIVE TCL_GENERIC_DIR_NATIVE TCL_UNIX_DIR_NATIVE TCL_WIN_DIR_NATIVE TCL_BMAP_DIR_NATIVE TCL_TOOL_DIR_NATIVE TCL_PLATFORM_DIR_NATIVE TCL_INCLUDES CLEANFILES TCL_THREADS SHARED_BUILD AR LIBOBJS DL_LIBS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING EXTRA_CFLAGS STLIB_LD SHLIB_LD SHLIB_CFLAGS SHLIB_LD_FLAGS SHLIB_LD_LIBS LDFLAGS_DEBUG LDFLAGS_OPTIMIZE LD_LIBRARY_PATH_VAR TCL_DBGX CFLAGS_DEFAULT LDFLAGS_DEFAULT MAKE_LIB MAKE_SHARED_LIB MAKE_STATIC_LIB MAKE_STUB_LIB RANLIB_STUB TCLSH_PROG XOTCL_COMPATIBLE_TCLSH PKG_DIR pkgdatadir pkglibdir pkgincludedir SHARED_LIB_SUFFIX UNSHARED_LIB_SUFFIX XOTCL_BUILD_LIB_SPEC XOTCL_LIB_SPEC XOTCL_BUILD_STUB_LIB_SPEC XOTCL_STUB_LIB_SPEC XOTCL_BUILD_STUB_LIB_PATH XOTCL_STUB_LIB_PATH XOTCL_SRC_DIR XOTCLSH XOWISH XOTCL_BUILD_INCLUDE_DIR XOTCL_BUILD_INCLUDE_SPEC test_actiweb libdirs_actiweb apps_actiweb TEA_PLATFORM CONFIG_CLEAN_FILES LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CYGPATH EXEEXT PKG_LIB_FILE PKG_STUB_LIB_FILE PKG_STUB_SOURCES PKG_STUB_OBJECTS PKG_TCL_SOURCES PKG_HEADERS PKG_INCLUDES PKG_LIBS PKG_CFLAGS subdirs XOTCL_VERSION XOTCL_MAJOR_VERSION XOTCL_MINOR_VERSION XOTCL_RELEASE_LEVEL TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_LIBS TCL_DEFS TCL_EXTRA_CFLAGS TCL_LD_FLAGS TCL_SHLIB_LD_LIBS TK_VERSION TK_BIN_DIR TK_SRC_DIR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_LIBS TK_XINCLUDES CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE RANLIB ac_ct_RANLIB EGREP MATH_LIBS aol_prefix PKG_SOURCES PKG_OBJECTS TCL_TOP_DIR_NATIVE TCL_GENERIC_DIR_NATIVE TCL_UNIX_DIR_NATIVE TCL_WIN_DIR_NATIVE TCL_BMAP_DIR_NATIVE TCL_TOOL_DIR_NATIVE TCL_PLATFORM_DIR_NATIVE TCL_INCLUDES CLEANFILES TCL_THREADS SHARED_BUILD AR LIBOBJS DL_LIBS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING EXTRA_CFLAGS STLIB_LD SHLIB_LD SHLIB_CFLAGS SHLIB_LD_FLAGS SHLIB_LD_LIBS LDFLAGS_DEBUG LDFLAGS_OPTIMIZE LD_LIBRARY_PATH_VAR TCL_DBGX CFLAGS_DEFAULT LDFLAGS_DEFAULT MAKE_LIB MAKE_SHARED_LIB MAKE_STATIC_LIB MAKE_STUB_LIB RANLIB_STUB TCLSH_PROG XOTCL_COMPATIBLE_TCLSH PKG_DIR pkgdatadir pkglibdir pkgincludedir SHARED_LIB_SUFFIX UNSHARED_LIB_SUFFIX XOTCL_BUILD_LIB_SPEC XOTCL_LIB_SPEC XOTCL_BUILD_STUB_LIB_SPEC XOTCL_STUB_LIB_SPEC XOTCL_BUILD_STUB_LIB_PATH XOTCL_STUB_LIB_PATH XOTCL_SRC_DIR XOTCLSH XOWISH XOTCL_BUILD_INCLUDE_DIR XOTCL_BUILD_INCLUDE_SPEC test_actiweb libdirs_actiweb apps_actiweb TEA_PLATFORM CONFIG_CLEAN_FILES LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -777,7 +777,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures xotcl 1.3.1 to adapt to many kinds of systems. +\`configure' configures xotcl 1.3.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -834,7 +834,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of xotcl 1.3.1:";; + short | recursive ) echo "Configuration of xotcl 1.3.3:";; esac cat <<\_ACEOF @@ -977,7 +977,7 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -xotcl configure 1.3.1 +xotcl configure 1.3.3 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -991,7 +991,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by xotcl $as_me 1.3.1, which was +It was created by xotcl $as_me 1.3.3, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1562,7 +1562,7 @@ # do not modify the following lines manually, they are generated with changeXOTclVersion XOTCL_MAJOR_VERSION=1 XOTCL_MINOR_VERSION=3 -XOTCL_RELEASE_LEVEL=.1 +XOTCL_RELEASE_LEVEL=.3 XOTCL_VERSION=${XOTCL_MAJOR_VERSION}.${XOTCL_MINOR_VERSION} NODOT_VERSION=${XOTCL_MAJOR_VERSION}${XOTCL_MINOR_VERSION} @@ -6839,6 +6839,10 @@ FORCE_NO_STUBS=0 fi +aol_prefix="/usr/local/aolserver" +if test -d "$(DESTDIR)$(prefix)/modules/tcl" ; then aol_prefix="$(prefix)" ; fi + + #-------------------------------------------------------------------- # check for tclCompile.h (needed, when compiled without full source) if test -f "$TCL_SRC_DIR/generic/tclCompile.h"; then @@ -10666,7 +10670,7 @@ } >&5 cat >&5 <<_CSEOF -This file was extended by xotcl $as_me 1.3.1, which was +This file was extended by xotcl $as_me 1.3.3, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -10721,7 +10725,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -xotcl config.status 1.3.1 +xotcl config.status 1.3.3 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" @@ -10969,6 +10973,7 @@ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t s,@EGREP@,$EGREP,;t t s,@MATH_LIBS@,$MATH_LIBS,;t t +s,@aol_prefix@,$aol_prefix,;t t s,@PKG_SOURCES@,$PKG_SOURCES,;t t s,@PKG_OBJECTS@,$PKG_OBJECTS,;t t s,@TCL_TOP_DIR_NATIVE@,$TCL_TOP_DIR_NATIVE,;t t @@ -11315,5 +11320,3 @@ - - Index: xotcl/configure.in =================================================================== diff -u -r2139510e0635ca88521b99d7c9751c2c15b306b6 -rab63a4908f87f226de9730e0afa820388c93acc4 --- xotcl/configure.in (.../configure.in) (revision 2139510e0635ca88521b99d7c9751c2c15b306b6) +++ xotcl/configure.in (.../configure.in) (revision ab63a4908f87f226de9730e0afa820388c93acc4) @@ -11,7 +11,7 @@ # for this package, and can be a relative path, such as: # #-------------------------------------------------------------------- -define(XOTclVersion, 1.3.1) +define(XOTclVersion, 1.3.3) AC_INIT([xotcl], [XOTclVersion]) #-------------------------------------------------------------------- @@ -104,7 +104,7 @@ # do not modify the following lines manually, they are generated with changeXOTclVersion XOTCL_MAJOR_VERSION=1 XOTCL_MINOR_VERSION=3 -XOTCL_RELEASE_LEVEL=.1 +XOTCL_RELEASE_LEVEL=.3 XOTCL_VERSION=${XOTCL_MAJOR_VERSION}.${XOTCL_MINOR_VERSION} NODOT_VERSION=${XOTCL_MAJOR_VERSION}${XOTCL_MINOR_VERSION} @@ -163,6 +163,10 @@ FORCE_NO_STUBS=0 fi +aol_prefix="/usr/local/aolserver" +if test -d "$(DESTDIR)$(prefix)/modules/tcl" ; then aol_prefix="$(prefix)" ; fi +AC_SUBST(aol_prefix) + #-------------------------------------------------------------------- # check for tclCompile.h (needed, when compiled without full source) if test -f "$TCL_SRC_DIR/generic/tclCompile.h"; then @@ -443,5 +447,3 @@ - - Index: xotcl/doc/langRef.xotcl =================================================================== diff -u -r1670c4220da681d286eae8acbac8745dd37296f9 -rab63a4908f87f226de9730e0afa820388c93acc4 --- xotcl/doc/langRef.xotcl (.../langRef.xotcl) (revision 1670c4220da681d286eae8acbac8745dd37296f9) +++ xotcl/doc/langRef.xotcl (.../langRef.xotcl) (revision ab63a4908f87f226de9730e0afa820388c93acc4) @@ -1,4 +1,4 @@ -# $Id: langRef.xotcl,v 1.4 2004/09/21 11:41:43 neumann Exp $ +# $Id: langRef.xotcl,v 1.5 2004/10/13 10:35:43 neumann Exp $ package provide XOTcl-langRef 1.3 package require Tcl @@ -63,7 +63,7 @@ <@/p> } - date { $Date: 2004/09/21 11:41:43 $ } + date { $Date: 2004/10/13 10:35:43 $ } } ## @@ -320,7 +320,8 @@ of the object,
  • -methodprefix string inserts the specified prefix in front of the second argument of the invocation,
  • -
  • -default is used for default method names. +
  • -default is used for default method names (only + in connection with %1) See tutorial for detailed examples. } @@ -970,7 +971,8 @@ of the object,
  • -methodprefix string inserts the specified prefix in front of the second argument of the invocation,
  • -
  • -default is used for default method names. +
  • -default is used for default method names (only in + connection with %1). See tutorial for detailed examples. } Index: xotcl/doc/tutorial.html =================================================================== diff -u -r1670c4220da681d286eae8acbac8745dd37296f9 -rab63a4908f87f226de9730e0afa820388c93acc4 --- xotcl/doc/tutorial.html (.../tutorial.html) (revision 1670c4220da681d286eae8acbac8745dd37296f9) +++ xotcl/doc/tutorial.html (.../tutorial.html) (revision ab63a4908f87f226de9730e0afa820388c93acc4) @@ -1,10 +1,10 @@ - + XOTcl - Tutorial - +