[Amsn-devel] bug #61 - foreach item "{$xml}"

2006-09-04 Thread Jonne Zutt
Hi all, Created a new bug this morning #61. It has 32 wild reports connected, so does not occur that much. I thought it was easy to fix, but it turned out quite tricky. There's supposed to be no quoting hell in Tcl (so I've read), but wait until you use xml hehe. Below is the code fragment with t

Re: [Amsn-devel] bug #61 - foreach item "{$xml}"

2006-09-04 Thread Arieh Schneier
Try replacing: foreach item "{$xml}" { with foreach item [list $xml] { Lio. - Original Message From: "Jonne Zutt" - > Hi all, > > Created a new bug this morning #61. > It has 32 wild reports connected, so does not occur that much. > I thought it was easy to fix, but it turned out q

[Amsn-devel] Fwd: chat logs

2006-09-04 Thread Vivia Nikolaidou
I took a quick look, should work ??? -- Forwarded message -- From: Youness Alaoui <[EMAIL PROTECTED]> Date: Aug 31, 2006 1:16 AM Subject: chat logs To: [EMAIL PROTECTED] [18:10:41] snifikino - server hacked :( - http://tinyurl.com/lkswh - http://tinyurl.com/z7783 - http://tinyurl

Re: [Amsn-devel] bug #61 - foreach item "{$xml}"

2006-09-04 Thread Jonne Zutt
You are probably right. But I wouldn't know how to reproduce the bug, so it's difficult to try out. According to 'svn blame' Youness wrote these lines, so perhaps he could commit your suggestion. I guess Youness had a reason for writing "{$xml}" and I'm curious to what that might be. JeeBee. On

Re: [Amsn-devel] bug #61 - foreach item "{$xml}"

2006-09-04 Thread Jonne Zutt
Oh ... found out it isn't necessary to reproduce because the failing xml code can be found in the status log of the bug reports. (where it says GOT XML: ) On Mon, 2006-09-04 at 13:43 +0200, Jonne Zutt wrote: > You are probably right. But I wouldn't know how to reproduce > the bug, so it's diff

Re: [Amsn-devel] bug #61 - foreach item "{$xml}"

2006-09-04 Thread Youness Alaoui
Hey, sorry, I have to go now, I'll answer you when I get back... but don't modify any of that code... you'll find it on wiki.tcl.tk also, your bug report has 0 reports linked to it... is it normal ? and can you give me an example of a failing XML ? Thanks KKRT On Mon, Sep 04, 2006 at 03:33:20PM

Re: [Amsn-devel] bug #61 - foreach item "{$xml}"

2006-09-04 Thread Youness Alaoui
will definitely not work.. this isn't a simple list.. it's 100 times more complicated... KKRT On Mon, Sep 04, 2006 at 08:35:53PM +1000, Arieh Schneier wrote: > Try replacing: > > foreach item "{$xml}" { > > with > > foreach item [list $xml] { > > > Lio. > > > - Original Message From:

Re: [Amsn-devel] Fwd: chat logs

2006-09-04 Thread Jérôme Gagnon-Voyer
You asked the same thing a year ago (23th november 2005), and I told you the same thing, just open the file config.tcl and you will see that this is ALREADY on by defaut. ::config::setKey keep_logs 1 ;#Save log files: 0|1 JérômeCourriel:  [EMAIL PROTECTED]MSN Messenger:  [EMAIL PROTECTED]iChat &

Re: [Amsn-devel] Fwd: chat logs

2006-09-04 Thread Youness Alaoui
Yes I know, but something is definitely wrong!!! Yep, I just tested again... it is indeed keep_logs == 1, BUT, if you create a NEW profile, switch to that profile, and look at the preferences window.. the logs are DISABLED... the config(keep_logs) variable is set to '0'... something changed it

Re: [Amsn-devel] bug #61 - foreach item "{$xml}"

2006-09-04 Thread Youness Alaoui
Indeed, that's what I thought, it is FIXED... I fixed it a while ago, if you looked at sxml.tcl svn log... the regexp changes the < > into { and } in order to make it into a list, what remains is the starting and ending { } which is why we do a foreach on "{$xml}" if you do it, your xml : bla