aMSN Forums
May 25, 2013, 08:14:31 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  aMSN Support / General / tcl/tk8.5 Final version! on: December 27, 2007, 07:13:40 pm
With revision 9200 it's working. Thanks
2  aMSN Support / General / tcl/tk8.5 Final version! on: December 27, 2007, 05:25:25 pm
Quote from: "v0n0"
I just downloaded release 9199 but it doesn't seem to work. I am using Tcl/Tk 8.5.0 from Gentoo and launched these commands:
make distclean

distclean has clean as a dependency.

Also I have ONLY 8.5.0 installed, I tried even with wish8.5 instead of wish but error remains.

I tried to remove and download from svn again, but it's the same.
3  aMSN Support / General / tcl/tk8.5 Final version! on: December 27, 2007, 03:23:40 pm
Sorry I forgot to post this:

compile time options summary
============================

    X11          : yes
    Tcl          : 8.5
    TK           : 8.5
    DEBUG        : no
    STATIC       : no

And I have only 8.5 installed!
4  aMSN Support / General / tcl/tk8.5 Final version! on: December 27, 2007, 02:51:06 pm
I just downloaded release 9199 but it doesn't seem to work. I am using Tcl/Tk 8.5.0 from Gentoo and launched these commands:
make distclean
./configure
make
but aMSN complains it can't find Tkcximage. Any hints?
5  Development / Amsn development related issues / amsn 2 development started? on: September 30, 2007, 06:55:25 pm
Quote from: "unimatrix"
Why are you using tcl/tk again? It makes aMsn really slow and CPU-hungry. Why not using something faster?


It's true that aMSN is slow, but if you try Emesene (very fast and light) that is written entirely in Python you can understand that is not because the language used is interpreted so it's not Tcl's fault, instead the problem is Tk...protocol & other stuff can still be written in Tcl.
6  Development / Amsn development related issues / amsn 2 development started? on: September 30, 2007, 06:51:12 pm
Quote from: "Phil"
Hum...
Tk is the thing we use now... Wink
What is planned is to have a Tk GUI for now... and those who want a QT GUI just do it :p


 :lol: Exactly what I'm planning to do...QT 4!!!

A question: I see under trunk amsn2 and msnlib, which of them shall I use?  :mrgreen:
7  The Community / Whatever You Want To Talk About Here / aMSN rewrite on: February 12, 2007, 08:10:59 pm
Hi Kakaroto, thanks for explanations. I understand we have different point of views. I don't hate interpreted languages, but in this case I'm not likely to use one of them. Users are not forced to compile, since their distro will give to them a binary package. And if your releases are so delayed, users are obliged to use svn version, that is not single-click install!
However I really hope that aMSN will be rewrited in a modular fashion as you say. I'm using svn version since more than a year, I have seen new contact list, but it's still slow as compared with for example Kopete. Maybe Tcl is ok for this work, but surely not Tk. I will choose between writing a GUI for your lib or for Telepathy, I do really like unified and more general projects.
Good work
8  The Community / Whatever You Want To Talk About Here / language trolls... AGAIN :@ on: February 11, 2007, 05:31:03 pm
Quote from: "NoWhereMan"
Yes, I wouldn't go for a whole c++ frontend, as you'd have to recompile every time... boring. There are a lot of interesting dynamic programming languages out there; I think that ruby looks nice, and python is too (even though I don't like the fact it's all based on indenting)...even javascript Tongue if you think about FIrefox's XUL ; btw the amsn dev guys DO have a point: they already know well tcl and lerarning python or ruby or whatever would mean spending a lot of time...

Even if Python is fast (I used it for numerical calculus) in computations, I don't think it will ever get next to a compiled language with graphics. The same for Ruby. Compiling is not boring to me, I use Gentoo pal! :lol:

Quote from: "NoWhereMan"

About the qt/gtk thing, unfortunately qt is well integrated on both windows and mac, but it looks horrible on a linux+gnome system Sad

Please read the news from Trolltech in the link above, section "Desktop Integration". However, I use KDE! :wink:

Quote from: "NoWhereMan"

please don't even think about .net/mono yeeech


That's just what I was thinking to use!!!  :lol:
9  The Community / Whatever You Want To Talk About Here / aMSN rewrite on: February 11, 2007, 04:24:42 pm
Quote from: "Phil"
First, KaKaRoTo forgot to say that you must subscribe to amsn-devel list before posting in it... https://lists.sourceforge.net/lists/listinfo/amsn-devel

I knew it! Wink
Quote from: "Phil"

Second, we prefer to use Tcl as it doesn't need to be compiled : and the less you need to compile, the less you will need to port to other platforms... In addition, Tcl doesn't suffer from null pointer exceptions Wink

Oh no, NullPointerException is Java, Segmentation Fault is your pal with C++! Very very funny!!! :lol: Well portability is an interesting goal, another question:
Why instead of writing a new libmsn in C, don't you contribute to Telepathy project and use only that library in version 2 of aMSN? (maybe you're already doing this, but I'm not sure!)
Quote from: "Phil"

About QT... I would say that many people don't like QT (why ? ask them, not me :p ) and aMSN shouldn't take part in this debate...
But, and here you can help, aMSN2 will be modular so if you want to create your own GUI it will be possible : the only thing that need to be done is creating a library to bind Tcl procs to C/C++...

Like this? (point 4) http://cpptcl.sourceforge.net/
Quote from: "Phil"

AN only unknown remains : why whould we use UML ? That's not a GUI description language...

Yes, it's a general purpose language, it was only a suggestion.

Ah, for those who don't like QT, better read this:
http://doc.trolltech.com/4.2/qt4-2-intro.html
 :wink:
10  The Community / Whatever You Want To Talk About Here / aMSN rewrite on: February 11, 2007, 01:59:00 pm
Quote from: "kakaroto"

1 - your project won't get the same fame as amsn unless it's named "amsn", it will just become "yet another msn clone"

Yes, you're right

Quote from: "kakaroto"

2 - you could join our team and we could work on a rewrite all together!

Yes, we could!

Quote from: "kakaroto"

You can take a look at the wiki page on the amsn2 project, we started some design and we are willing to reengineer the whole thing... we already have a possible design, and we have a C (partial) implementation (with glib) of the protocol connectionmanager, and I'm currently working on a total rewrite of the protocol in Tcl, but with in an object oriented design.

Ok, I read those, some comments (but better talk in your list):
Quote

it will thus need TCL bindings for D-BUS. These do not exist yet, so we will need to implement those.
For this to work, we may need to implement TCL bindings for Farsight
The pro for wxWidgets is that is will save us a lot of work, the con is that it is written in C++

Maybe it's time to learn C++? Wink I mean, maybe you are too fixed on TCL, that's my opinion in case! However, did you see this? http://cpptcl.sourceforge.net
I have already worked with wxWidgets, but why not QT?
However I'd want to use C++ over C because it is object-oriented and lets you define more cleanly your program!

Quote
we also had the idea to have the GUI be described in XML

Nice idea...but have you ever thought to use UML with Umbrello or something similar?

Quote from: "kakaroto"

if you're interested, contact us at the amsn-devel AT lists.sourceforge.net mailing list and you could join the project and help on the rewrite.

I'll do it.
11  The Community / Whatever You Want To Talk About Here / aMSN rewrite on: February 11, 2007, 12:40:29 am
For those interested:

http://densou.wordpress.com/
12  Development / Amsn development related issues / Gui improvements on: August 03, 2006, 06:55:42 pm
Hi, I want to suggest two minor improvements (I'm using SVN version):
- when I set personal message to be displaied in the row under nickname, it should be so even in chat windows (so I can monitor my pal personal message without looking at contact list)
- it should be clearer if long nicknames or status could be displaied in more than one row, so one can read all the stuff

Do you think it is possible? Thanks.
13  Development / Amsn development related issues / aMSN plugin for amaroK on: August 03, 2006, 03:53:41 pm
Hi, yes I realized too late that there was music plugin. However this is a little different, because modifies personal message (aMSN 0.96 or greater) and not nickname.
Here's the code (open source rulez asd ):

[plugininfo.xml]
<?xml version="1.0"?>
<plugin>
   <name>aMSNamaroK</name>
        <author>Ala nou alé & v0n0</author>
   <description>This plugin adds functionality for users of amaroK and aMSN</description>
   <amsn_version>0.96</amsn_version>
   <plugin_version>1.0</plugin_version>
        <plugin_file>amsnamarok.tcl</plugin_file>
        <plugin_namespace>aMSNamaroK</plugin_namespace>
   <init_procedure>Init</init_procedure>
</plugin>

[amsnamarok.tcl]
#!/usr/bin/tclsh
# Description: Plugin pour afficher dans l'espace PSM
# Il faut d'abord commencer par échanger des messages
# avant que le plugin ne fonctionne.  Mais bon,
# chacun peut ajuster le comportement à sa guise.
namespace eval ::aMSNamaroK {
   # var globale
   set oldTitre "oldTitre"
   
   proc Init { dir } {
      ::plugins::RegisterPlugin "aMSNamaroK"
      #::config::setKey amarokpluginpath $dir unused
      ::plugins::RegisterEvent "aMSNamaroK" new_conversation received
      ::plugins::RegisterEvent "aMSNamaroK" OnDisconnect resetStatus
      ::plugins::RegisterEvent "aMSNamaroK" Unload resetStatus
   }

   
   proc received { event evpar } {
         #  récupérer le titre, l'artiste ssi amaroK fonctionne
         if {[catch {exec dcop amarok player title} errmsg]} {
         set titre "Silence in my room...:("
         set artiste ""
         set strPrefix ""
         set strDe ""
         set apex ""
         set apex2 ""
         set strDe2 ""
         set album ""
         set apex3 ""
      } else {
         set titre [exec dcop amarok player title]
         set artiste [exec dcop amarok player artist]
            #set cover [exec dcop amarok player coverImage]
         set strPrefix "(8) Listening to: "
         set strDe " of "
         set apex "\""
         set apex2 "\""
         set strDe2 " from "
         set album [exec dcop amarok player album]
         set apex3 "\""
      }
      
      global aMSNamaroK::oldTitre
      # n'afficher le titre que si celui-ci à changé
      #amarok stopped
      set empty ""
      if { [string compare $empty $titre] == 0 } {
         set titre "Silence in my room...:("
         set artiste ""
         set strPrefix ""
         set strDe ""
         set apex ""
         set apex2 ""
         set strDe2 ""
         set album ""
         set apex3 ""
      }
      #no mp3 tag
      if { [string compare $empty $artiste] == 0 } {
         set strDe ""
         set apex2 ""
         set strDe2 ""
         set album ""
         set apex3 ""
      }
      if { [string compare $empty $album] == 0 } {
         set strDe2 ""
         set apex3 ""
      }
      #all ok, change state
      if { [string compare $oldTitre $titre] != 0 }  {
         set oldTitre $titre
         set txt $strPrefix$apex$titre$apex$strDe$apex2$artiste$apex2$strDe2$apex3$album$apex3
         # afficher le changement dans chaque fenêtre ouverte
         #foreach chatid [::ChatWindow::getAllChatIds]  {
            # SendMessageFIFO command stack lock
            #SendMessageFIFO [list ::aMSNamaroK::writeMessageToGUI $chatid $txt]
            # "::amsn::messages_stack($chatid)" "::amsn::messages_flushing($chatid)"
            #::amsn::set_displaypic $cover  
         #}
         ::MSN::changePSM "$txt"; # echange le message personnel
      }
      
      # après 35 secondes rafraîchir
      after 1000 ::aMSNamaroK::received $event $evpar
   }
   
   #TOO INVASIVE
   # écrire le message $txt dans la fenêtre $chatid
   #proc writeMessageToGUI { chatid txt } {
   #   set color "green"
   #   amsn::WinWrite $chatid "\n" $color
   #   amsn::WinWriteIcon $chatid greyline 3
   #   amsn::WinWrite $chatid "\n" $color
   #   amsn::WinWrite $chatid "[timestamp] $txt\n" $color
   #   amsn::WinWriteIcon $chatid greyline 3
   #}

   proc resetStatus {} {
      set titre "Silence in my room...:("
      set artiste ""
      set strPrefix ""
      set strDe ""
      set apex ""
      set apex2 ""
      set strDe2 ""
      set album ""
      set apex3 ""
      set txt $strPrefix$apex$titre$apex$strDe$apex2$artiste$apex2$strDe2$apex3$album$apex3
      ::MSN::changePSM "$txt"; #
   }
}
14  Development / Amsn development related issues / aMSN plugin for amaroK on: August 03, 2006, 01:50:34 am
15  Development / Amsn development related issues / aMSN plugin for amaroK on: August 03, 2006, 12:17:39 am
Hi I needed this plugin so searched Internet and found this blog:
http://patoutafeca.blogspot.com/2006/06/plugin-amsn-pour-amarok.html

I finished the plugin with other file and now I'm using it, so if anyone wants it, contact me. Maybe could become an official plugin because so many people use amaroK?

However thanks to Ala nou alé.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!