Première version (cLx-06) uploadée vers le serveur SVN. Pour l'instant, ça fonctionne, mais il faut éditer le fichier userconfig.h avant de faire make.
Merci à Hiro pour les conseils.
Merci à Hiro pour les conseils.
ajout de l'affichage de l'heure dans la fonction minichat_message()
HTML entities supported
Corrections sur l'horodatage et des modifications un peu partout
HTML entities supported.
Template file for user configuration. Edit it and save it under the name "userconfig.h" before typing "make" !
Support reading without have to logging (let USERNAME empty)
Template file for user configuration. Edit it and save it under the name "userconfig.h" before typing "make" !
Support reading without have to logging (Lègere correction)
Update! (bug corrected in html parser + test function to test it)
A little bug corrected.
Amelioration du comportement en cas de problemes de connexion
A new, very basic, INI-file reader.
A parser to parse incoming HTML message into displayable text/html/...
A string helper class.
External test class.
Using cstring in ini
Using cstring in ini
New Makefile to test
Gère les nouvelles libs et leurs programmes de tests. Les libs ne sont pas encore requises pour la compilation principale.
Makefile change
Correction for Makefile (didn't build the test correctly)
Update to Makefile
Doit gérer les \r\n aussi bien que les \n seuls. \r\n par défaut pour le max de compatibilité, merci.
Makefile: remove uneeded code
Doit gérer les \r\n aussi bien que les \n seuls. \r\n par défaut pour le max de compatibilité, merci.
new install target in Makefile
Correction for parser.c and new test "parser-test.c"
Modifications sur le parseur HTML (intérieur des messages) + ajout des nouveaux fichiers dans le projet Dev-c++ (win) + Tests sous Debian.
Re-add "mrproper" (and mrpropre) target to the Makefile
Avec des accolades et des printf pour tracer des trucs. SPAN commenté dans *get_text() pour éviter que ça plante.
A new clist system (generic lists)
Some cleaning in the .h
Extracting attributes from ini/parser and using clist with them, step 1.
Ajout d'une lib pour aller chercher des trucs dans le fichier de configuration. Ne prend que 4 octets de plus quand on ne s'en sert pas (static FILE *).
Ajout d'une lib pour aller chercher des trucs dans le fichier de configuration. Ne prend que 4 octets de plus quand on ne s'en sert pas (static FILE *).
Some changes for ini and clist
Ajout d'une lib pour aller chercher des trucs dans le fichier de configuration. Ne prend que 4 octets de plus quand on ne s'en sert pas (static FILE *) + unsigned char * => char *
parser.c now uses cstring and clist.
Ajout d'une lib pour aller chercher des trucs dans le fichier de configuration. Ne prend que 4 octets de plus quand on ne s'en sert pas (static FILE *) + unsigned char * => char *
Corrections for cstring/ini and working on parser
New "reverse" function in clist, more work on parser.c
Ajout de unistd.h dans les includes pour autre chose que windows pour éviter un warning quand on compile avec -Wall
Working on the parser
Working on the parser
cstring can now be used as a char**
Correction d'un bug (test fin de clef) + read_conf_int()
Now able to malloc() what it need to output http cookies string.
Working with the mchatclient.conf file ! \o/ => Will be uploaded as .template later. Also there is an adaptative polling delay system.
Working with the mchatclient.conf file ! \o/ => Will be uploaded as .template later. Also there is an adaptative polling delay system.
Working with the mchatclient.conf file ! \o/ => Will be uploaded as .template later. Also there is an adaptative polling delay system.
Compile time configuration is DELETED as it's now in a conf file.
Working with the mchatclient.conf file ! \o/ => Will be uploaded as .template later. Also there is an adaptative polling delay system (bis).
The old static makefile. Still maintened as I like when it dosn't all objects build when testing only one.
Better tests for cstring
More work on parser (almost everything ready, except actually using the rules in the INI)
conf.c added to Makefile
Working on parser
Parser now working. parser.ini still not complete for text output.
Ini rename
-Wall is useful...
+ #include "ini.h";
Static Makefile is back
Static Makefile is back
Static Makefile is back and updated
Update of the dyn makefile
Forgot to remove the reference to the now not used userconfig.h :)
Better doc on the cstring
New functions for cstring, new "./make" that uses the dyn Makefile
cstring: last 2 'TODO' functions done
parser: now understand @
Parser support almost complete (missing: URLs)
Parser now supports URLs
Add a test for bad input at first parsing (@ parsing)
First batch of clx-tests/niki-corrections
Second batch of corrections
Does not show "http://link (http://link)" when both instances are equals (like it does when displayed link is "htpp:// ... k" for instance)
code cleanup
not used anymore (code cleanup)
not used anymore (code cleanup)
not used anymore (code cleanup)
HTML in messages can be parsed now!
HTML in messages can be parsed now!
Macro used
bug corrected : doesn't segfault anymore when the rules file is not found.
The html present in messages is now parsed. Please edit your mchatclient.conf file to activate it ! (add "read_parser_rules 1")
not used anymore
renamed
Dynamique makefile launche (for *-test)r
"@ " replaced by its UTF-8 value