Re: Moving forward

2010-09-10 Thread Massimo Manghi
I agree On Thu, 9 Sep 2010 21:27:43 -0500, Damon Courtney wrote I think it's time to drop support for Tcl 8.4 in the next release. We've got 2.0.1 out there that works with 8.4, but 8.4 is getting long in the tooth and will soon be EOL'd. I'm already running everything on 8.6, and Karl

Re: global nonsense

2010-09-10 Thread Massimo Manghi
I use myself to store reusable code and variables outside the ::request namespace using other namespaces to give every symbols a meaningful scope. It did make sense in the usual Tcl programming and it makes sense in Rivet too. So I never used the ::request::global command and dropping it would not

Re: Moving forward

2010-09-10 Thread Harald Oehlmann
Thank you discussing about dropping tcl 8.4. The rpm packets at opensuse depend for the following distribution on: CentOS 5: 8.4 RHEL 5: 8.4 OpenSuSE 11.1, 11.2, 11.3, Factory: 8.5 SLE 11: 8.5 So the packets for CentOS and RHEL will not build any more. By the way, Massimo, still no advertisment

Re: global nonsense

2010-09-10 Thread Damon Courtney
Basically, reqvar means to give me a global variable for this request only. It basically does: namespace upvar ::request foo foo So you get your variable locally, but it's coming from the ::request namespace. It will get cleaned up along with the namespace when the request is complete. If

Re: global nonsense

2010-09-10 Thread Massimo Manghi
I understand now, at first I understood it worked in quite the opposite way. It must be a limit of mine: I remeber how I clumsly stumbled in this ::request::global thing when I first met it. It's ok, +1 definetely because adds a value also in term of coding style to adopt with Rivet. Don't

C is for Cookie

2010-09-10 Thread Damon Courtney
I notice that the 'cookie delete' command was removed from the docs, but it still exists in the cookie.tcl file. Any particular reason? I found it a nice and clean command for deleting a cookie instead of: cookie set foo -minutes -1 Which just looks stupid. 0-] Also, I have found something