View · Search · Index
No registered users in community xowiki
in last 10 minutes

Weblog Page

Showing 41 - 50 of 1561 Postings (summary)

[Xotcl] Xotcl autonames

Created by hypermail2xowiki importer, last modified by Stefan Sobernig 02 Jan 2017, at 11:15 PM

From: Michael Schlenker <schlenk_at_uni-oldenburg.de>
Date: Thu, 16 Feb 2006 20:16:24 +0100

Hi all,

i used the autoname instproc to create object instance names and was
surprised that autonames can conflict.

Basically i have two objects of the same class, which both get rows from
a database and create objects for each row:

Something like this:

PM instproc dbRead {program_id} {
 # some things ommited
my set tracks ""
set tracks [::MOD select list program_tracks {track_id} program_id
$program_id]
foreach t $tracks {
        set m [::wings::model::TrackModel [my autoname TrackM]]
        $m dbRead $t
        my lappend tracks $m
}
}

After i create two objects of this class, i see the TrackM autonames
used by both objects starting from 0, basically the second object
overwrites my autonamed objects from the first one.

I fixed it by adding:

my instproc autoname {args} {
set name [next]
while {[llength [info commands $name]]} {set name [next]}
return $name
}

to the class, but wondered if this is expected behaviour of autonames.

Michael

[Xotcl] XOTcl binary in MaxOS X distro

Created by hypermail2xowiki importer, last modified by Stefan Sobernig 02 Jan 2017, at 11:15 PM

From: Gustaf Neumann <neumann_at_wu-wien.ac.at>
Date: Thu, 5 Feb 2004 20:09:58 +0100

Dear XOTcl Community,

XOTcl made it into the new Mac OS X Tcl/Tk Aqua 8.4.5 Binary Release
http://groups.google.at/groups?dq=&start=25&hl=de&lr=&ie=UTF-8&oe=UTF-8&group=comp.lang.tcl&selm=040220042133592302%25steffen%40ics.mq.edu.au


best regards
-gustaf neumann
-- 
Univ.Prof. Dr.Gustaf Neumann
Abteilung für Wirtschaftsinformatik
WU-Wien, Augasse 2-6, 1090 Wien

Re: [Xotcl] Re: Bug: configure step chooses wrong tclsh [REASONING]

Created by hypermail2xowiki importer, last modified by Stefan Sobernig 02 Jan 2017, at 11:15 PM

From: Gustaf Neumann <neumann_at_wu-wien.ac.at>
Date: Sun, 11 Apr 2004 05:09:57 +0200

On Sunday 11 April 2004 01:19, Jim Lynch wrote:

> OK; right. Those macros are in tcl.m4, which xotcl also has a copy of.
> Are they actually copies of each other? Which one is actually used by
> autoconf, and under what circumstances?
 
 there are many tcl.m4; the one used in xotcl is from an itcl verison.

> OK, given that, is not the best tclsh the one specified in the
> tclConfig.sh file? The SC_PROG_TCLSH does not look for that one first.
> Further, if any macro finds a different tclsh, you're saying here that
> it shouldn't be used, for at least all the reasons you just gave.
>
> So, I contend it shouldn't use a macro with any search path which
> would bottom out to any ol' tclsh that might be found in the $PATH;
> if it doesn't find a tclsh specified in tclConfig.sh, that should
> be an error which can and should be caught right there.

 i did not argue that SC_PROG_TCLSH finds the right tclsh.
 the right approach is not to modify SC_PROG_TCLSH in a
 way such it works more correcty in situation like yours (this
 might break other cases, where people depend on the
 behavior of SC_PROC_TCLSH), but to move to the new
 TEA macros, that i finally found.

> But I can tell you about three of them that I know I do have:
>
> o There is a system-wide tcl which was installed as a debian
> package; I don't use that myself. I like building, then I
> control what version I use. The tclsh for this tcl is in
> my $PATH, and therefore will be found by SC_PROG_TCLSH.
>
> o There is a tcl-8.4.5 I built for use in a test jig. This
> is where I'm currently trying to find the build/configure
> problems in xotcl. Happens that the string "aolserver" is
> in the directory path to both the tcl source and its install
> prefix, so a previous but fixed problem would have assumed
> this tcl was for aolserver3.x and therefore compiled in
> support for it. Also happens that there is an aolserver4
> nearby. This tcl was built for use with that aolserver4.
> This aolserver4 is loosely considered part of the test
> jig, but so is a nearby perl interpreter. The tclsh for
> this tcl is -not- in my $PATH, so is unlikely to be
> found first by SC_PROG_TCLSH even though most builds
> of xotcl I'm doing now use its tclConfig.sh.
>
> o Finally, there is a tcl-8.4.5 built for a different aolserver4
> located in a completely separate dir, /usr/local/aolserver. The
> username that can write to this dir is nsadmin; the tclsh in
> this tcl might be in nsadmin's $PATH; I don't remember for sure.
> This aolserver and tcl are used to support a few test instances
> of openacs, which I hope to try with xotcl, and to allow other
> openacs users to also do. Some openacs users and core developers
> have expressed great interest; it is for this reason I even start
> with xotcl at all. I am dumb as a stump with xotcl, I just know
> some things about building it :)

well, you do not have a simple setup, now i can understand your situation
more clearly. it is a tricky setup where using the wrong file-set can lead
to problems not easy to figure out.

however, we will get this working.

i have just now converted the xotcl build stuff to
TEA3 (at least, i believe that this is now TEA3).
The good news is that the configure/make stuff
became less code. I am certainly not through,
but at least
   make
   make test
   make install-aol
seems to work. I have still to work through the various
configure options, the subdirectories have to
be adjusted as well.

> In summary here, I want to have xotcl be able to build
> in all three of these situations and many more. Early
> on, I had mentioned that I was unaware if my "help" in
> this area (make the configure/build work and be stable)
> is actually welcome, and I repose that question here and
> now, adding this: Once the build and configure processes
> are stable, will they be kept maintained that way?

 i have the constant hope that the configure/build
 somehow settles and will become stable. furtunately,
 TEA3 looks nicer then what we had before, configure.in
 and Makefile.in for xotcl is about 20% shorter (maybe more
 can be removed). If we can find a maintainer for this stuff,
 we would certainly be happy.

 -gustaf
PS: if you are interested on getting the TEA3 stuff just now,
 and/or you are willing to help, please drop me a line.
-- 
Univ.Prof. Dr.Gustaf Neumann
Abteilung für Wirtschaftsinformatik
WU-Wien, Augasse 2-6, 1090 Wien

Re: [Xotcl] [Fwd: XOTcl and debian testing..]

Created by hypermail2xowiki importer, last modified by Stefan Sobernig 02 Jan 2017, at 11:15 PM

From: Jim Lynch <jim_at_jam.sessionsnet.org>
Date: Thu, 23 Sep 2004 06:04:50 -0700

On Thu, 23 Sep 2004 14:24:02 +0200
Uwe Zdun <uwe.zdun_at_wu-wien.ac.at> wrote:

> Hi Ron,
>
> I forward you email to our mailing list: Teemu Hukkanen
> <mailto:tjhukkan_at_iki.fi> has provided the
> debian package of XOTcl, but I don't know what the status of this
> package is.
> maybe someone else on the list knows?

Debian dropped xotcl because its build system kept exhibiting problems,
and because the maintainer knew only one or two users of xotcl.

Hopefully, recent work done on that build system will make xotcl
suitable for packaging again.

> Uwe

-Jim

--
Jam sessions community web site: http://jam.sessionsnet.org

Re: [Xotcl] "tie" command

Created by hypermail2xowiki importer, last modified by Stefan Sobernig 02 Jan 2017, at 11:15 PM

From: Kristoffer Lawson <setok_at_fishpool.com>
Date: Fri, 24 Jan 2003 16:44:58 +0200 (EET)

On Fri, 24 Jan 2003, Gustaf Neumann wrote:

>
> we could provide an option -bind <varname> to the new instproc to allow
> the user to specify a local or a per-object or global variable name, but
> this does not provide reference counting at all. i have started some time ago

Oh, I meant to say that an option to [new] is not necessarily the best.
Often (at least in my case) it is a method of an object which creates
an instance and returns it, like:

set msg [$cmdReader getNewMessage]

So at the level where I want the automisation I don't directly call new.
Naturally this could be changed to accommodate the use of new, but then
my interface wouldn't be as cleanly split up.

This is why I thought of [tie] as a separate thing, not tied to [new].

Anyway, I don't know if it makes sense to add yet another automatic
destruction system, but it did pop into my mind when doing things like the
above :-)

                              / http://www.fishpool.com/~setok/

Re: [Xotcl] Attributes bug?

Created by hypermail2xowiki importer, last modified by Stefan Sobernig 02 Jan 2017, at 11:15 PM

From: Gustaf Neumann <neumann_at_wu.ac.at>
Date: Mon, 25 Jun 2012 09:30:47 +0200

Dear Kurt,

Replace in the assign method
         $obj set $var [list $obj $var $val]

by
               $obj set $var [::list $obj $var $val]

Background: the created slot object2 ("alist" and "list")
are fully named

::Test1::slot::alist
::Test1::slot::list

In order to create these conveniantely (i.e. without
requiring the user to write the namespaces explicitly),
the method "slots" changes the current namespace to
"::Test1::slot". The method "assign" is executed
in this namespace (::Test1::slot), and picks up the
"::Test1::slot::list" instead of the desired "::list".
Therefore, using the explicit namespace path for "::list"
helps.

The only way to get rid of this unexpected behavior is to
introduce a namespace resolver for the
slot object container, that overrides the Tcl behavior.

-gustaf neumann

On 25.06.12 00:54, Kurt Stoll wrote:
> This looks wrong to me, but I could be wrong - maybe there are prohibitions somewhere that would tell me not to do this.
>
> If I define an Attribute "list", and then use the Tcl list command within the assign (and, presumably, other procs of the attribute as well), the attribute's unknown handler is called reflecting an odd invocation. I would suspect that other "overloading" (this is not really overloading, but looks similar so I have used that term; I apologize it that confuses you) of Tcl commands as Attributes would result in similar problems.
>
> First, here is a simple Test class without overloading the list command to demonstrate the expected behavior. Note that I redefine unknown so that I can verify the order of the invocation:
>
> (Warning - I submitted a question with embedded test code some years ago and this caused problems for people when they attempted to copy-and-paste the code. I don't recall exactly what caused the issue, but I am still using the same email client, so this may have similar issues.)
>
> Class create Test1 -slots {
> Attribute create alist -proc assign { obj var val } {
> puts "list<$obj> <$var> <$val>"
> $obj set $var [list $obj $var $val]
> } -proc unknown { val obj var args } {
> puts "unknown: $obj $var $val $args"
> }
> }
>
>> ## Create a test object t1
>> Test1 create t1
> ::t1
>> ## Call alist setter
>> t1 alist 3
> list<::t1> <alist> <3>
> ::t1 alist 3
>> ## Check to see that alist variable set properly
>> t1 set alist
> ::t1 alist 3
>> ## Force a call to unknown; note that the printed output matches the invocation order
>> t1 alist this should call unknown
> unknown: ::t1 alist this should call unknown
>
> Now, I create a simple variant. All I have changed is the name of the Attribute from "alist" to "list". But, in this case, when attempting to call the setter, unknown is called (I have done other experiments that showed that it is called when "list $obj $var $val" is called). Also, note that the invocation of unknown is a bit strange; it appears that unknown is directly invoked on the original call (in this case, "t2 list 3"), instead of having the arguments swapped as demonstrated above:
>
> Class create Test2 -slots {
> Attribute create list -proc assign { obj var val } {
> puts "list<$obj> <$var> <$val>"
> $obj set $var [list $obj $var $val]
> } -proc unknown { val obj var args } {
> puts "unknown: $obj $var $val $args"
> }
> }
>
>> ## Create a test object t2
>> Test2 create t2
> ::t2
>> ## Call list setter. Unknown handler is called.
>> t2 list 3
> list<::t2> <list> <3>
> unknown: list 3 ::t2
>> ## See what ended up in the list variable.
>> t2 set list
>> ## Blank above
> Am I wrong to expect Test2 (and t2) to behave just as Test1 / t1 behaved? It's not a serious issue for me; I'll just avoid overloading Tcl commands in this context. But, it was unexpected enough for me that I thought it was warranted for me to ask the experts.
>
> -Kurt Stoll
>
> _______________________________________________
> Xotcl mailing list
> Xotcl_at_alice.wu-wien.ac.at
> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl

[Xotcl] Re: [Xotcl] Re: Probable bug: no method calls with "next" & init

Created by hypermail2xowiki importer, last modified by Stefan Sobernig 02 Jan 2017, at 11:15 PM

From: Kristoffer Lawson <setok_at_fishpool.com>
Date: Tue, 6 Feb 2001 01:09:54 +0200 (EET)

On Tue, 6 Feb 2001, Gustaf Neumann wrote:

> of recreating classes and objects. We have still the hope to get the
> next release this week done. i can't name dates for now, but 0.84
> will be out soon.

OK, great! Looking forward to it. Don't rush it, though. If something
needs checked, it's better to take some extra time for it instead
of getting something out, whatever the cost.

         - ---------- = = ---------//--+
         | / Kristoffer Lawson | www.fishpool.fi|.com
         +-> | setok_at_fishpool.com | - - --+------
             |-- Fishpool Creations Ltd - / |
             +-------- = - - - = --------- /~setok/

[Xotcl] XOTcl 0.83 available

Created by hypermail2xowiki importer, last modified by Stefan Sobernig 02 Jan 2017, at 11:15 PM

From: Gustaf Neumann <Gustaf.Neumann_at_wu-wien.ac.at>
Date: Thu, 30 Nov 2000 20:26:57 +0100 (CET)

Dear Tcl Community,

This is the first public announcement of 'Extended Object Tcl' (XOTcl)
in this mailing list. XOTcl was derived from the impressive OTcl
language developed by D. Wetherall and C. Lindblad at the MIT in '95
and extended in various ways. In short, XOTcl tries to provide a
highly flexible, reflective, component-based object-oriented
environment. It integrates language support for high level concepts,
which are not found in other languages, with reasonable
performance. Nevertheless, it prevails the Tcl programming style and
the dynamic/introspective nature of the language, rather than
introducing other language's styles and rigidness (such as C++) into
Tcl.

Since it was our aim to combine new ideas from the object-oriented
community with the component glueing concepts of Tcl, we presented
XOTcl so far primarily to the scientific community in the areas of
object-orientation, design patterns, and web development. Now we
believe that XOTcl implementation has reached a fairly good quality in
terms of stability, speed and memory-leaks, and therefore we decided
to make this public announcement of the XOTcl release 0.83.

The XOTcl paper presented at the Tcl/Tk conference in February 2000
described XOTcl version 0.80. The most important changes in the newer
releases are:

 XOTcl Language:
    - improved configurability and portability
    - support for mixin interceptors at the per-class level (instmixins)
    - various new predefined XOTcl methods operating on variable names
      (exists, append, lappend, incr, array)
    - various speed improvements
    - deep copy/move for all aggregations
    - free of memory leaks and invalid memory references (tested with Purify)

 packages:
    - new documentation tool (see tutorial)
    - substantially improved components for XML and RDF
    - better support for HTML forms (e.g. file upload)
    - support for secure places via SSL
    - more example programs
    - improved documentation (still a long way to go)

  packaging:
    - provision of XOTcl in the RPM and SRPM format

The XOTcl distribution contains aside of the implementation of the
language a growing set of components. We developed them as a prove of
concept that the concepts of the XOTcl language can be used as a
powerful environment for practical applications. The XOTcl
distribution contains for example a Web communication infrastructure
(HTTP client and server), support for persistent objects, a mobile
code system, important Web formats (such as XML and RDF), and general
reusable components based on design patterns.

General information about XOTcl and its components can be found
at http://www.xotcl.org

Best regards,

Gustaf Neumann
Uwe Zdun

[Xotcl] TIP #257 & XOTcl as an OO framework

Created by hypermail2xowiki importer, last modified by Stefan Sobernig 02 Jan 2017, at 11:15 PM

From: Gustaf Neumann <neumann_at_wu-wien.ac.at>
Date: Thu, 05 Oct 2006 01:07:21 +0200

Dear XOTcl community,

i am sure, some of you are following with interest the discussions
about TIP #257 (adding OO to the core), where the proponents
have developed an (incompatible) subset of XOTcl, that gives me
the impression, that it will be very hard to build on it. There is
a new implementation built from scratch, the implementor repeats,
that he is not understanding certain functionalities from XOTcl
(e.g. instmixins), is fixing hard bugs (forgot e.g. to loop check
on filters), is not handling thread/interpreter exits, etc. It will
take a while to debug the code, many other problems will
(naturally) show up with that code. The code does not seem
to be build for extensibility. Functionalities, that were dropped
from XOTcl that depend on dispatcher or callstack properties
are very hard to extend, especially, when there are no hooks.
The implementor has no ear for xotcl requests and repeats that
he has no time. Maybe i see the situation to negative, but i
don't think currently, the TIP is going into a direction doing
a good thing for the Tcl community (or XOTcl in particular).

Here is a slightly different proposal. Let me know, what you think
about it. I have this proposal already implemented (see below,
1.5.3alpha) and i am wondering - no matter how the TIP develops
- whether we should go this direction with XOTcl. Allthough
the first set of regression tests work already with an accordingly
bootstrapped XOTcl, the introspection tests don't work (since
there are now two top-level classes above ::xotcl::Object
and ::xotcl::Class. Btw, the implementation took me less
time than writing this proposal, and fits very nice with the
new slot model (one can define a default superclass with
the standard slot mechanism for e.g. "::xotcl::Class Dog",
where te superclass of Dog should be ::xotcl::Object" and not
necessarily the topmost superclass).

The change will be visible in XOTcl programs, since there
will be two new top-level classes. If you care and you
have objections against adding these classes, please let me
know. In case there is a strong objection, i will reconsider this
change.

-gustaf neumann

The proposal:

Rather than proposing any kind of OO language, i would suggest
to add a framework to the core, that every extension
(including XOTcl) can use. This framework is not useful as an
OO language on its own, but an environment that can host multiple
OO languages in parallel, such as Snit or XOTcl (maybe the
language from current TIP 257 as well), without pushing a single model.
Languages like Snit or XOTcl can continue to develop, the core
developers can optimize and integrate better with the tcl-core, etc.

This approach (and implementation) is much closer aligned with the original
intention suited for multiple object systems. This proposal provides a
flexibility much higher than in other popular scripting languages and
lets object systems designer continue to improve their work.

My proposal is to add a framework consisting of an
flexible enough object interpreter (dispatcher) able to run the most
powerful current object extensions. This dispatcher is accompanied by
a "minimal object system" and an "extension mechanism". For the
bootstrapping of different object systems, only a single method for
allocating objects or classes is proposed, plus a few commands (for
e.g. setting up the object/class relations and registering methods).
The remainder of the object system (like XOTcl) can be loaded
as an extension (being not part of the core), but providing the
method set.


The Minimal Object System

The minimal object system consists of a base class (::oo::object) and a
meta-class (::oo::class, subclass of ::oo::object).

                                                   superclass
instance-of
   ::oo::object class ::oo::object
::oo::class
   ::oo::class meta-class ::oo::object ::oo::class

The meta-class ::oo::class has a single method named "alloc" (name is
arbitrary, as shown later) to create objects or classes. ::oo::object
has no methods at all.

The minimal object system is intended to be specialized by one or more
different object systems. An object system is created by sub-classing
the base classes configuring these according to the object systems
needs. This configuration consists of defining its relations to the
general base and meta class, and equipping these extension specific
classes with additional functionality (providing methods). The whole
configuration of the object system can be done completely from the
scripting level.

Example for XOTcl:

  Create base and meta class:

    oo::class alloc ::xotcl::Object
    oo::class alloc ::xotcl::Class

  Define relation to the minimal object system:

    ::xotcl::setrelation ::xotcl::Class superclass {::oo::class
::xotcl::Object}
    ::xotcl::setrelation ::xotcl::Object class ::xotcl::Class
    ::xotcl::setrelation ::xotcl::Class class ::xotcl::Class

The superclasses of ::xotcl::Class are defined to be ::oo::class and
::xotcl::Object. ::xotcl::Object and ::xotcl::Class are defined as
instances of ::xotcl::class. The command setrelation supports the
following relations: "mixin", "instmixin", "filter", "instfilter",
"class", and "superclass" (alternatively, a reduced set "mixin",
"filter", "class", and "superclass", when a flag "per-object" can be
specified). The meaning of this relations is defined by the
dispatcher, which is responsible for the linearizion of the commands.


Methods from extensions:

This proposal does not define methods (maybe except alloc), but
instead an extension mechanism for defining methods. An implementor of
an OO-language can provide methods. These methods can be loaded
dynamically via package require. The object system developer can
provided the methods as Tcl commands in the extension's namespace.
These commands can be attached to the objects and classes of the
object system to be defined. This is achieved by the command alias:

   ::oo::alias <class|object> methodName cmdName

The following three commands register the method "instvar" and "proc"
for ::xotcl::Object (available for all objects in XOTcl) and
"instproc" for ::xotcl::Class

  ::xotcl::alias ::xotcl::Object instvar ::xotcl::cmd::instvar
  ::xotcl::alias ::xotcl::Object proc ::xotcl::cmd::proc
  ::xotcl::alias ::xotcl::Class instproc ::xotcl::cmd::instproc

The name of the method (3rd argument) can differ from the name of the
command (4th argument). Therefore, also the "alloc" method mentioned
above can be registered the same way under arbitrary names. The same
command can be registered under several names for different objects or
classes.

The command alias should not allow to register methods on ::oo::object
and ::oo::class. All end user object systems should only be allowed to
subclass (e.g. oo::object or ::xotcl::Object) and to register the
methods on their objects and classes.

The registered methods are defined with the standard signature for
TclCommands but receive in ClientData the object or class structure
(like in today XOTcl implementation). The handling for different
client data (as for example for XOTcl's forwarders) is provided in an
XOTcl style. C-extension writers can define non-leaf methods calling
"next" from the C level.

  Example:
  static int MyMethod1( ClientData cdata, Tcl_Interp *interp,
                         int objc, Tcl_Obj *CONST objv[] ) {
    int rc;
    /* ... */
    rc = XOTclNextObjCmd(cdata, interp, objc,objv);
    /* ... */
    return rc;
  }

The primitive commands (like my, next, self, configure, ...) can be
provided by the OO namespace (if there is sufficient agreement), or
can be provided by the extension writers (provided they have access to
obtain the needed information).


Advantages:

- All OO extensions can use the powerful dispatcher

- If a certain extensions don't require filters, mixins, etc.
   they simply don't have to activate these.

- The XOTcl dispatcher can be seen as a prototype implementation, but
   it can be replaced by a more efficient implementation with tighter
   core integration, provided the regression tests of the languages
   (e.g. XOTcl) continue to work.

- The prototype implementation
    * is proven to work and sufficiently bug-free,
    * is free of memory leaks,
    * thread safe,
    * provides execution of the destroy callbacks when a thread or
      program exits,
    * provides uplevel transparency for interceptors,
    * is well suited for IDEs (an arbitrary class from a class tree can
      be reloaded and redefined without altering the relations between
      classes and/or instances)

- All OO systems are equal:
   * since we do not want to allow to register methods on ::oo::object
     or ::oo::class, there is no "preferred" object system,
   * every object system defines its own classes with its own names
     and own methods (although, it can reuse methods from all
     extensions with arbitrary names, as
    shown above)
   * there is no need to namespace export from "oo::*" (these are no
     end-user commands).
   * nobody is forced on any predefined semantics

- no extensions are locked out:
   * existing "high level" extensions like XOTcl continue to work
   * the XOTcl language definition is not part of the core, its development
     can continue
   * the XOTcl requirements are a superset of the requirements of other
     languages.
   * XOTcl can be executed with essentially the same speed as current
     versions.

- This proposal is in the Tcl tradition of Tcl as a 2-level
   meta-language, since it provides a highly adjustable framework for
   object oriented languages.

- Providing such a framework will attract people and put Tcl in front
   of the other OO scripting languages, at least in terms of flexibility.


Sample Implementation:

The actual snapshot of XOTcl is based on this framework using
::oo::object and ::oo::class as base object system. It contains
a preprocessor variable OO, that turns on the sub-classing of the base
object system (per default). The XOTcl C-Code does defines only
oo::object and oo::class, the XOTcl base objects are created already
by the scripting code.

Note, that this is a preview version of XOTcl and not suited for running
critical applications on it. It is passing the the first sets of the
regression tests but fails on the introspection regression tests (it
is not expecting to see e.g. ::oo::object as base class). It would be
possible to hide the base object system from the introspection, but i
am not sure this is a good idea. I am waiting for some feedback from
the community before either finishing the regression test or removing
the sub-classing of ::oo::object again.

Here is the snapshot code:
http://media.wu-wien.ac.at/download/xotcl-1.5.3-alpha.tar.gz

Below is the basic script level initialization for XOTcl, where the
classes ::xotcl::Object and ::xotcl::Class and their methods are
defined.

best regards
-gustaf neumann

===================================================
# $Id: predefined.xotcl,v 1.12 2006/10/04 20:40:23 neumann Exp $
if {[info command oo::object] ne ""} {
  ::xotcl::alias ::oo::class alloc ::xotcl::cmd::Class::alloc
  oo::class alloc ::xotcl::Object
  oo::class alloc ::xotcl::Class
  ::xotcl::setrelation ::xotcl::Class superclass {::oo::class
::xotcl::Object}
  ::xotcl::setrelation ::xotcl::Object class ::xotcl::Class
  ::xotcl::setrelation ::xotcl::Class class ::xotcl::Class
}

# provide the standard command set for ::xotcl::Object
foreach cmd [info command ::xotcl::cmd::Object::*] {
  ::xotcl::alias ::xotcl::Object [namespace tail $cmd] $cmd
}
# provide some Tcl-commands as methods for ::xotcl::Object
foreach cmd {array append eval incr lappend trace subst unset} {
  ::xotcl::alias ::xotcl::Object $cmd -objscope ::$cmd
}
# provide the standard command set for ::xotcl::Class
foreach cmd [info command ::xotcl::cmd::Class::*] {
  ::xotcl::alias ::xotcl::Class [namespace tail $cmd] $cmd
}
# "init" must exist on Object. per default it is empty.
::xotcl::Object instproc init args {}

      

Re: [Xotcl] Status of the bugs I reported/could people resend their replies to those bugs

Created by hypermail2xowiki importer, last modified by Stefan Sobernig 02 Jan 2017, at 11:15 PM

From: Jim Lynch <jim_at_jam.sessionsnet.org>
Date: Fri, 2 Apr 2004 02:11:07 -0800

On Fri, 02 Apr 2004 09:39:29 +0200
"Uwe Zdun" <uwe.zdun_at_wu-wien.ac.at> wrote:

> Hi Jim,
>
> i've received 4 emails during the last couple of days. Sending them to
> us or to the mailing list is
> fine. I've no clue why the archives
> do not seem to work with your emails. I forward this to our sys
> admin/try to find out what
> wents wrong with the list ...
> the issues you raised I need to discuss with Gustaf,

I sent him a note earlier about the xotch mailing list archives, since
he's listed as maintainer for that.

> especially the aol
> server stuff, because
> I don't know why it is the way it is (up to now, I personally used AOL
> server only seldomly).

It's all in the configure step, so it's related to the configure.in
file. The problems (all three) are all in that file.

I may be able to fix the problems, but the issues are apparantly
ongoing: I'm given to understand from the debian bug tracking system
that these build problems have been going on for some time, and that
xotcl was orphaned and removed from debian partly because of that.

So while I'm willing to try fixing the problems, I'm not clear that my
fixes would be welcomed.

> Regards,
>
> Uwe

BTW, either I eliminated the possibility that the archive web site
only archives 5 emails a month, or else someone fixed it for this
month... the note you replied to is the 6th one for the month and
it didn't replace the fifth.

-Jim

--
Jam sessions community web site: http://jam.sessionsnet.org

Next Page