Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Youness Alaoui
no, that was a PLUGIN, and it uses a dbus-whatever command line utility to listen to dbus... I'm talking about writing a C extension to add new commands to the Tcl interpreter... it's not the same.. we'll need jonne to answer us, but I do think he started working on that.. KKRT On Fri, Aug 18,

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Youness Alaoui
On Fri, Aug 18, 2006 at 10:11:38PM -0400, Philippe Khalaf wrote: On Fri, 18 Aug 2006 21:37:45 -0400 [EMAIL PROTECTED] (Youness Alaoui) wrote: AFAIK there are some tools that automatically generate C code for binding any function from a C library, this can be used in order to quickly

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Youness Alaoui
On Sat, Aug 19, 2006 at 03:48:06AM +0200, Ole Andr? Vadla Ravn?s wrote: On 8/19/06, Philippe Khalaf [EMAIL PROTECTED] wrote: On Sat, 19 Aug 2006 00:21:15 +0200 Harry Vennik [EMAIL PROTECTED] wrote: Hi all, Finally I found some time to document some of my ideas in more detail. The

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Harry Vennik
Hi all, I read the thread, and I already see that it is not particularly going in the right direction. Why? Python vs. TCL is not the thing to be discussed here. Of course Python has a lot of very very useful bindings, and TCL is missing some, but, what about the knowledge in the team? And,

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Philippe Valembois - Phil
Hi, I will try to reply to all mails in one... But Youness already did many replies. First when you proposed Python, I was sure that Youness won't be agree with that :p (By the way, you should maybe try Python once because I think it's a really good language). But it's clear I think it will be

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Harry Vennik
Sorry, accidental send. it's not quite complete... Op zaterdag 19 augustus 2006 13:07, schreef Harry Vennik: Hi all, I read the thread, and I already see that it is not particularly going in the right direction. Why? Python vs. TCL is not the thing to be discussed here. Of course Python has

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Harry Vennik
Op zaterdag 19 augustus 2006 13:09, schreef Philippe Valembois - Phil: Hi, I will try to reply to all mails in one... But Youness already did many replies. First when you proposed Python, I was sure that Youness won't be agree with that :p (By the way, you should maybe try Python once because

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Vivia Nikolaidou
I just got up just to see a big thread so I can't say I read everything carefully, but IIRC (before I switched kde's language to English) I couldn't get wxWidgets to display utf-8 characters. Does anyone have any experience on that? IIRC audacity uses wxWidgets (yeah, looks ugly to me), so please:

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Philippe Khalaf
On Fri, 18 Aug 2006 19:50:37 -0400 Philippe Khalaf [EMAIL PROTECTED] wrote: still work on aMSN1. Added avantage is easy porting to another toolkit. If someone decides he wants a GTK+ aMSN2, he can fork the Python core and write his own UI. s/GTK+/QT Regards, Philippe Regards, Philippe

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Philippe Khalaf
On Fri, 18 Aug 2006 21:37:45 -0400 [EMAIL PROTECTED] (Youness Alaoui) wrote: AFAIK there are some tools that automatically generate C code for binding any function from a C library, this can be used in order to quickly generate the bindings... What tools? They will generate bindings for TCL

Re: [Amsn-devel] [Amsn-commits] SF.net SVN: amsn: [7137] trunk/amsn/preferences.tcl

2006-08-19 Thread Álvaro J. Iradier
Hi Youness, thanks for your help, but the regexp is not the problem, but the different window managers reporting different and strange geometrys. The thing is, I used some code in wiki.tcl.tk to get the windows decoration size (title bar and decorations). To find out this size, you need to find

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Ole André Vadla Ravnås
On 8/19/06, Youness Alaoui [EMAIL PROTECTED] wrote: On Sat, Aug 19, 2006 at 03:48:06AM +0200, Ole Andr? Vadla Ravn?s wrote: On 8/19/06, Philippe Khalaf [EMAIL PROTECTED] wrote: On Sat, 19 Aug 2006 00:21:15 +0200 Harry Vennik [EMAIL PROTECTED] wrote: Hi all, Finally I found some time to

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Harry Vennik
Op zaterdag 19 augustus 2006 16:38, schreef Ole André Vadla Ravnås: that already happened and you can read the thread if you want... but as you said, pros and cons for everything, but I think in our situation Tcl has a far greater pros/cons ratio than any other language (I'm talking about the

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Ole André Vadla Ravnås
On 8/19/06, Harry Vennik [EMAIL PROTECTED] wrote: Op zaterdag 19 augustus 2006 16:38, schreef Ole André Vadla Ravnås: that already happened and you can read the thread if you want... but as you said, pros and cons for everything, but I think in our situation Tcl has a far greater pros/cons ratio

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Youness Alaoui
On Sat, Aug 19, 2006 at 01:59:12PM +0200, Harry Vennik wrote: Op zaterdag 19 augustus 2006 13:09, schreef Philippe Valembois - Phil: Hi, I will try to reply to all mails in one... But Youness already did many replies. First when you proposed Python, I was sure that Youness won't be agree

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Youness Alaoui
This looks like a flame war between python and tcl... and I don't want to start the debate again. You looked offended by my mail, I have no idea why, but in that case, sorry. I'll stop the discussion there as none of us can be convinced of who is right, and noone really knows who is right...

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Philippe Valembois - Phil
Le Saturday 19 August 2006 21:47, Youness Alaoui a écrit : On Sat, Aug 19, 2006 at 01:59:12PM +0200, Harry Vennik wrote: Op zaterdag 19 augustus 2006 13:09, schreef Philippe Valembois - Phil: Hi, I will try to reply to all mails in one... But Youness already did many replies. First

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Harry Vennik
And here we get exactly to where I was in my other mail when I accidentally pressed the send button. We need to get that GUI thing set. It has been discussed a thousand of times now, so it's time to get it in some direction. To put it in a few questions: - What is our goal?

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Philippe Valembois - Phil
Le Saturday 19 August 2006 23:24, Harry Vennik a écrit : And here we get exactly to where I was in my other mail when I accidentally pressed the send button. We need to get that GUI thing set. It has been discussed a thousand of times now, so it's time to get it in some direction.

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Ole André Vadla Ravnås
On 8/19/06, Youness Alaoui [EMAIL PROTECTED] wrote: This looks like a flame war between python and tcl... and I don't want to start the debate again.You looked offended by my mail, I have no idea why, but in that case, sorry.I'll stop the discussion there as none of us can be convinced of who is

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Harry Vennik
Op zaterdag 19 augustus 2006 23:34, schreef Philippe Valembois - Phil: But anway, I think you are wrong in saying 'This way, if you want to create a new window, no need to upgrade GUI modules.' They will need to be updated to include a command to show the new window, as well as to handle

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Philippe Valembois - Phil
You get the principle but I would like to do something better than using callbacks for events... Or at least use an event layer between GUI and proc that do the things... I think XML2GUI should be a relatively simple thing to do isn't it ? The hard work is to begin the spec for the XML and after

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Philippe Khalaf
On Sat, 19 Aug 2006 15:51:44 -0400 [EMAIL PROTECTED] (Youness Alaoui) wrote: This looks like a flame war between python and tcl... and I don't want to start the debate again. You looked offended by my mail, I have no idea why, but in that case, sorry. I'll stop the discussion there as none

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Philippe Khalaf
On Sat, 19 Aug 2006 15:51:44 -0400 [EMAIL PROTECTED] (Youness Alaoui) wrote: This looks like a flame war between python and tcl... and I don't want to start the debate again. You looked offended by my mail, I have no idea why, but in that case, sorry. I'll stop the discussion there as none

Re: [Amsn-devel] aMSN2 - Second design draft

2006-08-19 Thread Philippe Khalaf
On Sun, 20 Aug 2006 02:20:22 +0200 Philippe Valembois - Phil [EMAIL PROTECTED] wrote: You get the principle but I would like to do something better than using callbacks for events... Or at least use an event layer between GUI and proc that do the things... I think XML2GUI should be a

Re: [Amsn-devel] TCL or Python in aMSN2 (Pros and Cons)

2006-08-19 Thread Madd Matt
You mean python cons where you say TCL cons at one point. Having learned python, you get used to the indentation very fast. I wouldn't list it as a big con. You get very readable code as a result as well. Its debatable. Another Pro is I can do more than sit on the sidelines and listen to this