Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-09 Thread Youness Alaoui
code from plugin still has to be integrated into amsn... added to [TODO] + Sam's bug, added to [FIXME] Thanks for reporting. KKRT On Thu, 09 Feb 2006 17:13:20 -0500, Sam Abou Sawan <[EMAIL PROTECTED]> wrote: Hi i have tested DND plugin under 0.95 with latest cvs snapshot on winxp, i had 2 o

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-09 Thread Sam Abou Sawan
Hi i have tested DND plugin under 0.95 with latest cvs snapshot on winxp, i had 2 open chat windows(ie with A and B), i tried to send a file to contact A by draging and droping t he file, it was sent to B. i tried t hat many times Am i only having this issue ? Thanks On 2/7/06, Jأ(c)rأ´me Gagno

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-07 Thread Jérôme Gagnon-Voyer
Carbon is still actual yes (TCl/TK Aqua is in Carbon) I said it was a fantasm because the coders of TCL-Tk Aqua on Mac (and one coder is working at Apple) didn't suceed when he tried to do it with TkDnd. Try it but good luck! Le 7 février 2006 à 06:37, Le Philousophe - Phil a écrit : Hehe,

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-07 Thread Youness Alaoui
great found Phil, good luck! KKRT On Tue, 07 Feb 2006 06:37:39 -0500, Le Philousophe - Phil <[EMAIL PROTECTED]> wrote: Hehe, fantasm or reality ??? I found some docs about Drag and Drop under Mac : http://developer.apple.com/dev/techsupport/develop.mactech/issue_16/066-075_Evans_Robbins.htm

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-07 Thread Le Philousophe - Phil
Hehe, fantasm or reality ??? I found some docs about Drag and Drop under Mac : http://developer.apple.com/dev/techsupport/develop.mactech/issue_16/066-075_Evans_Robbins.html http://www.mactech.com/macintosh-c/chap23-2.html If someones with a Mac wants to deep into that it doesn't seem to be too co

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-04 Thread Youness Alaoui
On Fri, 03 Feb 2006 18:43:04 -0500, Karel Demeyer <[EMAIL PROTECTED]> wrote: Op vr, 03-02-2006 te 15:18 -0500, schreef Youness Alaoui: On Fri, 03 Feb 2006 12:03:51 -0500, Vivia Nikolaidou <[EMAIL PROTECTED]> wrote: > >> This is a main GUI thing. It can be used all over the gui of amsn. T

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Youness Alaoui
hehe, no worries Jerome... we're not saying you didn't know or lied.. yes we do know and agree that there is no dnd alternative for tk on Mac.. that is true.. but also, we CAN do dnd in C code and what Phil means is that he would write it himself.. just like there was no altenative for grabb

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Karel Demeyer
Op vr, 03-02-2006 te 15:18 -0500, schreef Youness Alaoui: > On Fri, 03 Feb 2006 12:03:51 -0500, Vivia Nikolaidou > <[EMAIL PROTECTED]> wrote: > > > > >> This is a main GUI thing. It can be used all over the gui of amsn. To > >> drop files, contacts, text, to organise contacts in your list, to

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Karel Demeyer
Op vr, 03-02-2006 te 15:15 -0500, schreef Youness Alaoui: > On Fri, 03 Feb 2006 11:55:02 -0500, Karel Demeyer <[EMAIL PROTECTED]> > wrote: > > > Op vr, 03-02-2006 te 08:38 -0800, schreef Karol Krizka: > >> On Friday 03 February 2006 07:32, Vivia Nikolaidou wrote: > >> > > > I have uploaded it he

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Jérôme Gagnon-Voyer
May be I'm not repeating myself enough...Anyway think what you want to think and enjoy your fantasm :D Le 3 février 2006 à 13:28, Le Philousophe - Phil a écrit : Hehe, I was sure of that : Drag'n'Drop works under Mac... Tk accepts extensions so it must be possible to complete tkDND. So bad

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Youness Alaoui
well, it wouldn't be the first thing working on some platforms but not mac (winflash for example) but still be in the core KKRT On Fri, 03 Feb 2006 11:50:35 -0500, Jérôme Gagnon-Voyer <[EMAIL PROTECTED]> wrote: Don't forget it's not platform-independant so it shouldn't be included too dee

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Youness Alaoui
On Fri, 03 Feb 2006 11:38:54 -0500, Karol Krizka <[EMAIL PROTECTED]> wrote: On Friday 03 February 2006 07:32, Vivia Nikolaidou wrote: > > I have uploaded it here: > > http://chrystalyst.free.fr/draganddrop/dragndrop-0.1.2.zip > > I can't seem to open this zip-file. Same here (output below). Th

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Youness Alaoui
On Fri, 03 Feb 2006 12:03:51 -0500, Vivia Nikolaidou <[EMAIL PROTECTED]> wrote: This is a main GUI thing. It can be used all over the gui of amsn. To drop files, contacts, text, to organise contacts in your list, to drag contacts to a convo for a groupconvo .. to drag an image to hte place

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Youness Alaoui
On Fri, 03 Feb 2006 12:04:57 -0500, Vivia Nikolaidou <[EMAIL PROTECTED]> wrote: Don't forget it's not platform-independant so it shouldn't be included too deep in the code. We can try to make it platform-independent though, it shouldn't be that tough if it runs on Linux already! But, if

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Youness Alaoui
On Fri, 03 Feb 2006 12:22:30 -0500, Karol Krizka <[EMAIL PROTECTED]> wrote: On Friday 03 February 2006 09:10, Jérôme Gagnon-Voyer wrote: Yes I know. But what I mean is it shouldn't be too be deep in the core. If you add DnD to Display picture, chatwindow, drag contacts to a convo for a groupco

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Youness Alaoui
great.. you're 100% right.. I'd say wrap the dnd procs, like : proc add_dnd_source { w } { if { not_mac... } { ::tkdnd::addsource .. } } or whatever... KKRT On Fri, 03 Feb 2006 12:10:44 -0500, Jérôme Gagnon-Voyer <[EMAIL PROTECTED]> wrote: Yes I know. But what I mean is it shouldn't be too

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Youness Alaoui
well.. how about Phil creating a user/pass for you on his system and give you a vnc session ? OR.. I think it is possible.. look at SF compile farm.. not sure if you can launch a vnc session.. you could always ask SF.. but I think it's normal that you could (for all GUI apps that need to be t

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Youness Alaoui
humm.. even better.. yeah, I agree with that! KKRt On Fri, 03 Feb 2006 13:25:15 -0500, Vivia Nikolaidou <[EMAIL PROTECTED]> wrote: It's not my idea, I just copied from a site... but anyway, yeah I guess it's a good idea :) On Fri, 3 Feb 2006, Harry Vennik wrote: Merge this with Vivia's

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Youness Alaoui
On Fri, 03 Feb 2006 11:55:02 -0500, Karel Demeyer <[EMAIL PROTECTED]> wrote: Op vr, 03-02-2006 te 08:38 -0800, schreef Karol Krizka: On Friday 03 February 2006 07:32, Vivia Nikolaidou wrote: > > > I have uploaded it here: > > > http://chrystalyst.free.fr/draganddrop/dragndrop-0.1.2.zip > > >

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Youness Alaoui
Thank you!!! I've been reading the thread, every second telling myself I should wait and read more before I answer with the exact same answer you just gave! so Thanks Harry for being so bright ! :D KKRT On Fri, 03 Feb 2006 11:46:07 -0500, Harry Vennik <[EMAIL PROTECTED]> wrote: I think Dn

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Le Philousophe - Phil
Hehe, I was sure of that : Drag'n'Drop works under Mac... Tk accepts extensions so it must be possible to complete tkDND. So bad I haven't a Mac !! :p I would be pleased to do it during my holidays Phil P.S. I will try to find some doc Jérome... And you will be able to do it !! Or at least test w

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Vivia Nikolaidou
It's not my idea, I just copied from a site... but anyway, yeah I guess it's a good idea :) On Fri, 3 Feb 2006, Harry Vennik wrote: > Merge this with Vivia's idea, and you will have a dummy tkDnD for Mac > evolving into a real one over time. > > Op vrijdag 3 februari 2006 19:10, schreef Karel

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Harry Vennik
Merge this with Vivia's idea, and you will have a dummy tkDnD for Mac evolving into a real one over time. Op vrijdag 3 februari 2006 19:10, schreef Karel Demeyer: > We could create a non-functioning "extention" for mac that registers the > same commands hbut doesn't do anything" so it works witho

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Karel Demeyer
We could create a non-functioning "extention" for mac that registers the same commands hbut doesn't do anything" so it works without havin g to fiddle in amsn's code ;) Op vr, 03-02-2006 te 12:10 -0500, schreef Jérôme Gagnon-Voyer: > Yes I know. But what I mean is it shouldn't be too be deep in

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Karol Krizka
On Friday 03 February 2006 09:10, Jérôme Gagnon-Voyer wrote: > Yes I know. But what I mean is it shouldn't be too be deep in the > core. If you add DnD to Display picture, chatwindow, drag contacts to > a convo for a groupconvo, drop files, drop text, etc...it's a lot of > place in the code. So th

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Vivia Nikolaidou
> > Don't forget it's not platform-independant so it shouldn't be included too > > deep in the code. TkDND doesn't work on OS X. What is required is someone to implement the appropriate C code to map tkdnd's functionality to the 'Drag manager' api on the Mac. I think this would be a very good i

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Jérôme Gagnon-Voyer
Yes I know. But what I mean is it shouldn't be too be deep in the core. If you add DnD to Display picture, chatwindow, drag contacts to a convo for a groupconvo, drop files, drop text, etc...it's a lot of place in the code. So the code should be modular so we don't need to add "if aqua" in

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Harry Vennik
No prob. Just check if DnD is available at startup, and if so, use it. Op vrijdag 3 februari 2006 17:50, schreef Jérôme Gagnon-Voyer: > Don't forget it's not platform-independant so it shouldn't be > included too deep in the code. > > Le 3 février 2006 à 11:55, Karel Demeyer a écrit : > > This is

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Jérôme Gagnon-Voyer
Don't say something I didn't say...this is just impossible on Mac, it's nothing related to "I don't want to", I want it, but we can't. Le 3 février 2006 à 12:04, Vivia Nikolaidou a écrit : Don't forget it's not platform-independant so it shouldn't be included too deep in the code. We can

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Vivia Nikolaidou
> Don't forget it's not platform-independant so it shouldn't be included too > deep in the code. We can try to make it platform-independent though, it shouldn't be that tough if it runs on Linux already! But, if you don't want, it's another issue :D ---

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Vivia Nikolaidou
> This is a main GUI thing. It can be used all over the gui of amsn. To > drop files, contacts, text, to organise contacts in your list, to drag > contacts to a convo for a groupconvo .. to drag an image to hte place > where your DP is to put it as a new dp etc ... I really think this > *sho

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Harry Vennik
I think DnD support is typical core functionality. Every app is supposed to support it, so in fact it should have been there already. I think we should not do a DnD plugin at all. Just move that stuff into the core. Op vrijdag 3 februari 2006 17:38, schreef Karol Krizka: > On Friday 03 February

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Jérôme Gagnon-Voyer
Don't forget it's not platform-independant so it shouldn't be included too deep in the code.Le 3 février 2006 à 11:55, Karel Demeyer a écrit :This is a main GUI thing.  It can be used all over the gui of amsn.  Todrop files, contacts, text, to organise contacts in your list, to dragcontacts to a co

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Karel Demeyer
Op vr, 03-02-2006 te 08:38 -0800, schreef Karol Krizka: > On Friday 03 February 2006 07:32, Vivia Nikolaidou wrote: > > > > I have uploaded it here: > > > > http://chrystalyst.free.fr/draganddrop/dragndrop-0.1.2.zip > > > > > > I can't seem to open this zip-file. > > > > Same here (output below). T

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Karol Krizka
On Friday 03 February 2006 07:32, Vivia Nikolaidou wrote: > > > I have uploaded it here: > > > http://chrystalyst.free.fr/draganddrop/dragndrop-0.1.2.zip > > > > I can't seem to open this zip-file. > > Same here (output below). The dragndrop.png file is not correctly > compressed. I had the same ye

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Vivia Nikolaidou
> > I have uploaded it here: > > http://chrystalyst.free.fr/draganddrop/dragndrop-0.1.2.zip > > I can't seem to open this zip-file. Same here (output below). The dragndrop.png file is not correctly compressed. I had the same yesterday and eventually replaced it with another png. :D Also: I ag

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread chrystalyst
I'm responding myself to say that I have made a test on Linux and it works with the changes I have made yesterday MeV Selon [EMAIL PROTECTED]: > Okay, I have changed the proc HandleFileDrop and added text drag'n'drop (when > text is dropped to the window, it is added at the end of the input > co

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-03 Thread Karel Demeyer
Op vr, 03-02-2006 te 02:10 +0100, schreef [EMAIL PROTECTED]: > Okay, I have changed the proc HandleFileDrop and added text drag'n'drop (when > text is dropped to the window, it is added at the end of the input > conversation) > > I have uploaded it here: > http://chrystalyst.free.fr/draganddrop/dr

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-02 Thread chrystalyst
Okay, I have changed the proc HandleFileDrop and added text drag'n'drop (when text is dropped to the window, it is added at the end of the input conversation) I have uploaded it here: http://chrystalyst.free.fr/draganddrop/dragndrop-0.1.2.zip I've included tkdnd.so which I found in the rpm provid

Re: [Amsn-devel] Drag and Drop plugin for aMSN

2006-02-02 Thread Vivia Nikolaidou
This almost works :) Congratulations MeV! I got it to work on Linux, but there are three issues: 1) the .so for Linux is missing, but I compiled tkdnd and copied the .so myself and it works ;) 2) The proc HandleFileDrop has to be changed: proc HandleFileDrop {window data} { global tcl_platfor

[Amsn-devel] Drag and Drop plugin for aMSN

2006-02-02 Thread chrystalyst
Hello, I have writed a plugin for sending files dropped in a aMSN conversation window (in the input text more precisely) It should works on Windows and all UNIX based OS but not Mac OS because it uses a library called tkdnd (http://www.iit.demokritos.gr/~petasis/Tcl/tkDND/tkDND.html) which is not