irc4j-developers Mailing List for IRC for Java
Status: Planning
Brought to you by:
maartenc
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(10) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Carsten R. <car...@we...> - 2002-07-10 10:47:41
|
Hi All! I was wondering if someone else is here... my exams for this semester are = finished, so I think I get back to irc4j now. Today I looked at the source= s and I rewrote some small thinks. I've deleted the client.java, because it was not neccessary. After that I = get some more methods into IrcChannel, trying to give it all the function = it needs. But there is the old problem I'm thinking about: How to get the responses = from the IrcListener Thread=3F I really have to figure it out... otherwise I= can't get correct classes... Ok, just a short life sign from me. ;-) Carsten --=A0 http://www.kopis.de/=A0-=A0Ausbildung=A0der=A0neuen=A0Generation! #elektrotechnik.de,=A0irc.undernet.org =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F All inclusive! 100 MB Speicher, SMS 50% gunstiger, 32 MB Attachment-Gro=3Fe,= =20 Preisvorteile und mehr unter http://club.web.de/=3Fmc=3D021104 |
From: Carsten R. <car...@we...> - 2002-02-09 10:01:12
|
Hi All! I'm back now and I'll continue my development soon. So at the moment there's the same problem as before: Adding a listener to listen to the events the server responses could create. I don't know how to handle this, but I know what I want to do. Every response from the server have to generate a event (CHANNEL_EVENT, USER_EVENT, SERVER_EVENT...) and had to be passed to the correct event handler. Ok, that's the theory. Maybe I'll get into it next week. Carsten -- MAIL: car...@we... IRC: #elektrotechnik.de, irc.undernet.org HTTP: http://www.kopis.de/ |
From: Carsten R. <car...@we...> - 2002-01-24 14:08:58
|
Hi all! I've done some PHP work again and I think it's much better now. I don't use a perl script again, and all of the navigation is generated on the fly by my php lines. All PHP is included in one file, which is loaded into the *.php. I think, this is the best way. If someone else wanted to get into out HTML pages, it should be easy to understand the navigation.php. If not, just ask for it. ;-) Perhaps I'll get into the IrcConnection class today or at the weekend. Maybe I can rewrite the thread, which listens to the server responses. My solution seems not to be very useful. OK, enough. Carsten Ringe -- car...@we... http://australien.home.pages.de/ |
From: Carsten R. <car...@we...> - 2002-01-15 18:28:19
|
Hi Maarten! >have your already read the documentation on sourceforge about it? Sure I did. If got it working, did a checkout of the existing stuff and added a new directory with my classes to the cvs tree. So for me cvs is working, but I don't know about the handling when more then 1 developer change the code. But time will show... ;-) Carsten Ringe -- car...@we... http://australien.home.pages.de/ |
From: Carsten R. <car...@we...> - 2002-01-15 14:19:15
|
Hi all! I try to use CVS now for all code work or documentation stuff. So if anyone is out there who could help me with that, I'll be very happy to hear about it. Anyway, I've got a visitor till 01. February so I won't do anything now. Carsten Ringe -- car...@we... http://australien.home.pages.de/ |
From: Carsten R. <car...@we...> - 2002-01-07 22:14:54
|
Hi all! Me again. I take a look on the notes from your first meeting and I see that I'm going into the right direction. *g* I'll create some basic documents about the architecture (like the mindmap). I'll make comments to EVERYTHING I think about. ;-) And I look at interesting stuff, not like bxxp, but other java thingies. So I hope all developers (if there are any...) agree with me. Otherwise, send a mail... Anyway, it's bedtime now. Carsten -- car...@we... http://australien.home.pages.de/ |
From: Carsten R. <car...@we...> - 2002-01-07 22:14:53
|
Hi all! I've played around with the task section on the project page on sourceforge and I've added some task, I'm working on. Maybe this could be a useful tool for later development (when more developers are on). And I'm trying to get cvs working, but that's a minor task for me. ;-) Anyway, this could be *VERY* useful in later development. Carsten -- car...@we... http://australien.home.pages.de/ |
From: Carsten R. <car...@we...> - 2002-01-07 21:38:52
|
Hi all! Precise: Hello Maarten! ;-) I was thinking about some documents, describing the current state and the goals of our project. But my english is not good enough, I suppose. So I want to write the docs in TeX, with the following sections: Preface: just a few words about the goal of irc4j Targets: implementing a client, a server (and a bot) Implementation: for future code So maybe you (or anyone else) can write something? I'll try to get the notes form the kickoff meeting into a printable look. Carsten -- car...@we... http://australien.home.pages.de/ |
From: Carsten R. <car...@we...> - 2002-01-07 15:51:31
|
Hi all! Or is it just me? ;) I've done a little mind map for irc4j and I just wanted to distribute it to all the developers. Remember, freemind can be found at http://freemind.sourceforge.net/ So if you want to change something or create a complete new mind map, feel free to mail it. Carsten -- car...@we... http://australien.home.pages.de/ |
From: Carsten R. <car...@we...> - 2002-01-06 18:20:01
|
Hi! I've added some PHP stuff to the pages. You can check out the pages at http://irc4j.sourceforge.net/index.php There's not much to see, but perhaps I'll get into PHP and do some more pages. Anyway, I'll post some mindmaps here soon. Maybe I can put my thoughts on paper. I'm using freemind for mind mapping. If you're interested, look at http://freemind.sourceforge.net/ It's a Java-Application, but it's in beta status, too. Ok, that's all for now. I'm having exams for my job education this week and afterwards I have a visitor. I think, I'll be back in 2 weeks. Carsten Ringe -- car...@we... http://australien.home.pages.de/ |
From: Maarten C. <Maa...@cs...> - 2002-01-04 09:06:22
|
At 12:01 3/01/2002 +0100, Carsten Ringe wrote: >Hi all! > >Nothing special, only a short note for all developers working on the >sourceforge shell. > >I've set up a file called README in the main directory of irc4j, where >I'll put a line for all the work I do. If someone change or delete >something, please leave a short note with the actual date in this file. > >That's all for now. I'm working on some changes on my IrcConnection class, >but no results are available. great :-) >Maarten, maybe we can change the project page at sourceforge a bit. The >parts "Support", "Patches", "Surveys" should be closed until we can use >them effectivly. Ok? done! > And if you have enough time, we could talk about the set up of the > "Task" section. Anyway, because no other developer is responding to this > list, I think I'm the only one who's working on something... I think you're right... you're are the only active one at the moment. happy new year! Maarten -- Maarten Coene Katholieke Universiteit Leuven Dept. Computerwetenschappen Tel: ++32 (0)16/32 78 25 Celestijnenlaan 200A B-3001 Heverlee |
From: Carsten R. <car...@we...> - 2002-01-03 11:01:30
|
Hi all! Nothing special, only a short note for all developers working on the sourceforge shell. I've set up a file called README in the main directory of irc4j, where I'll put a line for all the work I do. If someone change or delete something, please leave a short note with the actual date in this file. That's all for now. I'm working on some changes on my IrcConnection class, but no results are available. Maarten, maybe we can change the project page at sourceforge a bit. The parts "Support", "Patches", "Surveys" should be closed until we can use them effectivly. Ok? And if you have enough time, we could talk about the set up of the "Task" section. Anyway, because no other developer is responding to this list, I think I'm the only one who's working on something... That's all for now. Carsten -- car...@we... http://australien.home.pages.de/ ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 |
From: <car...@we...> - 2001-12-22 12:55:51
|
Hi all! I've thought about a small parser for IRC commands, but there is a little problem: I created a class "IrcCommand" with a method "parseCommand()". In "parseCommand()" I want to split the server responses like ":Nick!ho...@do... PRIVMSG MyNick :This is a message" into the prefix "Nick!ho...@do... PRIVMSG MyNick" and the message "This is a message". I thought it would be ok if I split this line with a StringTokenizer using a ':' as delimiters. But I failed immediatly at the MOTD response, because the server sends a line with the time after registering. And the time format is "HH:MM:SS". So my StringTokenizer thought, he had to split the line there... After that I tried to split the line with another algorithm: I go trough the line until a ':' is found. After that I check, if the char at the previous position is a ' ' and if that's true, I split the line here with substring(), creating two strings (prefix and message). That should work, and in the message part of the line there can be more ':', because I just don't check for ':' there. Is this right? Or can there be more ':' than the delimiter between prefix and message?? I'm working on the HTML, too. But it's very hard to create some pages without any info (like diagrams) or existing sources. So I'll just create an index page, a news page, a page with my sources and a download page for IRC RFCs. that's all for now Carsten -- car...@we... http://australien.home.pages.de/ |
From: <car...@we...> - 2001-12-21 15:54:38
|
Hi ho! Sorry for this mail, but I'm testing my mail system. It was not able to send mail to this list before, so I hope that error is corrected now. Carsten -- car...@we... http://australien.home.pages.de/ |
From: Carsten R. <car...@we...> - 2001-12-21 15:32:08
|
Hi all! Maarten added me to the irc4j-project at sf, so I've got some privileges on that +pages now. I'll set up some small HTML pages, so please take a look on http://irc4j.sourceforge.net/ every time you're online. Maybe you can see something there, you won't like to +see. ;-) So I think I'll concentrate on creating those pages now to get a base to start +the development from. Anyway, my first implementations are still useable and I +attached them to this mail. I've created a class called "IrcListener", which accepts a String as a keyword +and a JTextArea as a target for it's output. This IrcListener scans all server +responses for the keyword, adding "!!!" at the first position of those +responses. After that it writes all into the JTextArea. I've done a basic client to test my stuff. The client is just an input field and +the JTextArea for the server output. Maybe later the IrcListener could be +change and coupled to a JTextArea everytime a new 'window' for a Channel or a +User is created. Don't know exactly yet... When I finish the first version of HTML pages, I'll return to my java code to +programa more useful IrcListener, which can recognize the commands (like +PRIVMSG, PING, JOIN etc). Oh, and some words to the software I use: For java programming I use CodeGuide (http://www.codeguide.com/) and/or BlueJ +(http://monash.edu.au/). As soon as I get into UML stuff, I'll use Poseidon +(look for it at http://freshmeat.net/). These programs are Java, too. My +workstation here at home is a PIII under Linux 2.4, but at the university I use +Pentiums under Win2k. Ok, that's just info! ;-) Carsten -- car...@we... http://australien.home.pages.de/ ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 |
From: <car...@we...> - 2001-12-20 14:00:34
|
On Thu, Dec 20, 2001 at 01:54:33PM +0100, Maarten Coene wrote: > There is a very usefull > pattern which can be used for this problem: the Observer pattern (also > sometimes called: EventManager, EventMechanism, ...). Basically, the Thread > you're talking about will throw an event everytime it gets something from > the server. Every listener (= an object which is interested in this event) > will receive the event and can do something usefull with it (for example: > print the text in a JTextArea, write it to a log file, ...) Yes, that sounds good. I'll take a look at it soon. I thougth about a event-driven listener, too, but I didn't know how to realize it. Maybe this is exactly the solution I wanted. :-) > I think that in a good design the user interface should be seperated from > the core classes (like IrcConnection, IrcChannel, ...). These core channel > shouldn't know anything about the user interface classes. Of course, those 'backend' classes should be seperated from the interface. That's why I skipped my first version of a GUI. It was programmed too bad. ;-) I was thinking about the future (actually, I was dreaming...) and suddenly I recognized, that everyone had to use MY GUI. That doesn't seems right, so I deleted all of it. Ok, something else now: The project pages at sourceforge are looking like they could need a maintainer. I've done some work for another project hosted on SF so I'm familiar with the services hosted on sf like MLs, ftp, http. Maybe I can set up this pages? So my sf ID is "schwarzer_peter". I think, my last mail to Maarten with the ID was killed somewhere in my weird system configuration... :-/ As said before, I'm creating some HTML pages with my code (in HTML & pure Java), some UML diagrams and stuff. When I'm done, I'll give you the URL to go over it. Maybe they can be used as a project homepage. Carsten Ringe -- car...@we... http://australien.home.pages.de/ |
From: Carsten R. <car...@we...> - 2001-12-20 11:19:58
|
Hi! I don't know if anybody else is reading this ML and if someone is developing irc4j at the moment. If so, please write me, because I don't want to reinvent the wheel a second time... Now I'll give you a overview on my thoughts on implementing the IRC protocol in java. Some weeks ago, I decided to skip the boring lessons at the university and get deeper into Java with a project on my own. I'm IRC-addicted so the best choice for me was to program an IRC client. I've started with the connection to an IRC server with a Socket Connection. That was pretty easy. The class "IrcConnection" just opens the socket to the server and creates a PrintStream to write to that server. Additionally, the class has a private method to register the connection using the USER and the NICK command. After registering the IRC connection is valid and all IRC command can be send to the PrintStream. I try to draw a UML diagram for the class IrcConnection (it's my first UML): +-----------------------------+ | IrcConnection | +-----------------------------+ | -myHost | | -myPort | | -myNick | | -mySocket | | -myServerStream | +-----------------------------+ | -connect() | | -register() | | +close() | +-----------------------------+ Please, give comments, if anything I do is not usefull or just stupid. ;-) So this class only opens the connection and registers it. Next step for me is programming two other classes: IrcChannel and IrcUser IrcChannel will be responsible for communication with a special channel and IrcUser for communication with a special user. This seems to be useful to me at the moment, but perhaps it is not very useful for a client. Now comes the big problem: The response from the server. My first try was to create a thread, which listens to the output from the server and prints it to STDOUT. That's good for the first few steps, looking at the responses to get a feeling about the IRC protocol. But later on I wanted the thread to print the responses into an JTextArea, and that was really complicated. An instance of the Frame (in which the JTextArea is) had to be reached down to the IrcConnection, to make it possible that the thread writes into it. It looked like really bad programming style and surely it was. For now I'll concentrate on the IrcConnection, IrcChannel and IrcUser. I will set up some web pages with my code as HTML and pure Java-Code, with some UML diagrams and some docs. As in your notes from the kickoff-meeting I'll write javadoc from the start. Anyway, I'll try to keep a tex file up to date. I hope some developers wake up soon. ;-) Carsten Ringe -- car...@we... http://australien.home.pages.de/ ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 |
From: Carsten R. <car...@we...> - 2001-12-17 10:52:34
|
Hi again! I'm back from my weekend trip and now I try to set up some small pages about my Java IRC client. When I'm done, I'll give an URL to this ML. Perhaps I can help with setting up an HP for this project, too. :-) Carsten -- car...@we... http://australien.home.pages.de/ ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 |
From: Carsten R. <car...@we...> - 2001-12-14 08:42:03
|
Hi all! I've subscribed to the MLs for IRC for Java today. I hope I can help with your project. I've done some IRC programming in java in the last days and I've done a little GUI with basic features to send raw IRC msgs to a server. Anyway, I look forward to do some Java in this project. :-) Carsten -- car...@we... http://australien.home.pages.de/ ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 |