summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog484
-rw-r--r--Makefile.in12
-rw-r--r--base.cpp65
-rw-r--r--base.h71
-rw-r--r--chat.cpp147
-rw-r--r--chat.h46
-rw-r--r--cmnd.cpp19
-rw-r--r--cmnd.h18
-rw-r--r--conf.cpp75
-rw-r--r--conf.h24
-rw-r--r--configure.in28
-rw-r--r--cont.cpp24
-rw-r--r--cont.h26
-rw-r--r--glob.h68
-rw-r--r--hmap.cpp180
-rw-r--r--hmap.h118
-rw-r--r--html.cpp140
-rw-r--r--html.h42
-rw-r--r--html/y_ani.gifbin0 -> 35107 bytes
-rw-r--r--incl.h16
-rw-r--r--lang.cpp78
-rw-r--r--lang.h24
-rw-r--r--logd.cpp65
-rw-r--r--logd.h24
-rw-r--r--main.cpp98
-rw-r--r--modl.cpp98
-rw-r--r--modl.h29
-rw-r--r--msgs.h36
-rw-r--r--mutx.cpp20
-rw-r--r--mutx.h21
-rw-r--r--name.cpp32
-rw-r--r--name.h28
-rw-r--r--pool.cpp214
-rw-r--r--pool.h77
-rw-r--r--reqp.cpp291
-rw-r--r--reqp.h47
-rw-r--r--room.cpp18
-rw-r--r--room.h34
-rw-r--r--s_chat.cpp10
-rw-r--r--s_chat.h26
-rw-r--r--s_conf.cpp10
-rw-r--r--s_conf.h26
-rw-r--r--s_html.cpp10
-rw-r--r--s_html.h26
-rw-r--r--s_lang.cpp10
-rw-r--r--s_lang.h26
-rw-r--r--s_modl.cpp10
-rw-r--r--s_modl.h26
-rw-r--r--s_mutx.cpp10
-rw-r--r--s_mutx.h26
-rw-r--r--s_sman.cpp10
-rw-r--r--s_sman.h26
-rw-r--r--s_sock.cpp10
-rw-r--r--s_sock.h26
-rw-r--r--s_tool.cpp111
-rw-r--r--s_tool.h19
-rw-r--r--sess.cpp35
-rw-r--r--sess.h28
-rw-r--r--sman.cpp48
-rw-r--r--sman.h32
-rw-r--r--sock.cpp238
-rw-r--r--sock.h53
-rw-r--r--thrd.cpp28
-rw-r--r--thrd.h26
-rw-r--r--todo.txt11
-rw-r--r--user.cpp170
-rw-r--r--user.h84
-rw-r--r--yChat-Perl-CGI/THIS_IS_LEGACY_SOFTWARE_AND_MIGHT_BE_BROKEN.txt2
-rw-r--r--yChat-Perl-CGI/ychat-0.2.1.zipbin0 -> 72514 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.2.2.zipbin0 -> 73682 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.2.3.zipbin0 -> 80044 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.2.4a.zipbin0 -> 81563 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.2.4c.zipbin0 -> 81809 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.2.5a2.zipbin0 -> 84947 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.2.6a.zipbin0 -> 84715 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.4.0a.zipbin0 -> 85353 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.4.1.zipbin0 -> 87361 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.4.2.zipbin0 -> 38558 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.4.3a.zipbin0 -> 39762 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.4.4a3.zipbin0 -> 41120 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.4.5a.zipbin0 -> 54688 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.4.6.zipbin0 -> 55180 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.4.7a2.zipbin0 -> 58931 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.4.8a2.zipbin0 -> 59105 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.4.9.zipbin0 -> 64276 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.6.0.zipbin0 -> 67379 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.6.1.zipbin0 -> 66562 bytes
-rw-r--r--yChat-Perl-CGI/ychat-0.6.2.zipbin0 -> 63478 bytes
-rw-r--r--yChat-Perl-Socket/THIS_IS_LEGACY_SOFTWARE_AND_MIGHT_BE_BROKEN.txt2
-rw-r--r--yChat-Perl-Socket/ychat-0.7.1.zipbin0 -> 48438 bytes
-rw-r--r--yChat-Perl-Socket/ychat-0.7.2.zipbin0 -> 40614 bytes
-rw-r--r--yChat-Perl-Socket/ychat-0.7.6.zipbin0 -> 61017 bytes
-rw-r--r--yChat-Perl-Socket/ychat-0.8.0.tar.gzbin0 -> 53873 bytes
-rw-r--r--yChat-Perl-Socket/ychat-0.8.1.tar.gzbin0 -> 37632 bytes
-rw-r--r--yChat/THIS_IS_LEGACY_SOFTWARE_AND_MIGHT_BE_BROKEN.txt2
-rw-r--r--yChat/desc/BRANCH_0_11
-rw-r--r--yChat/desc/BRANCH_0_21
-rw-r--r--yChat/desc/BRANCH_0_31
-rw-r--r--yChat/desc/BRANCH_0_41
-rw-r--r--yChat/desc/BRANCH_0_51
-rw-r--r--yChat/desc/BRANCH_0_61
-rw-r--r--yChat/desc/BRANCH_0_71
-rw-r--r--yChat/desc/BRANCH_0_81
-rw-r--r--yChat/ychat-0.1.tar.bz2bin0 -> 170155 bytes
-rw-r--r--yChat/ychat-0.2.tar.bz2bin0 -> 171220 bytes
-rw-r--r--yChat/ychat-0.3.tar.bz2bin0 -> 216371 bytes
-rw-r--r--yChat/ychat-0.4.tar.bz2bin0 -> 220406 bytes
-rw-r--r--yChat/ychat-0.5.0.tar.bz2bin0 -> 145903 bytes
-rw-r--r--yChat/ychat-0.5.1.tar.bz2bin0 -> 148333 bytes
-rw-r--r--yChat/ychat-0.5.2.tar.bz2bin0 -> 221718 bytes
-rw-r--r--yChat/ychat-0.5.3.tar.bz2bin0 -> 145031 bytes
-rw-r--r--yChat/ychat-0.5.4.tar.bz2bin0 -> 144531 bytes
-rw-r--r--yChat/ychat-0.5.5.tar.bz2bin0 -> 110132 bytes
-rw-r--r--yChat/ychat-0.6.0.tar.bz2bin0 -> 153809 bytes
-rw-r--r--yChat/ychat-0.7.0.tar.bz2bin0 -> 124127 bytes
-rw-r--r--yChat/ychat-0.7.1.tar.bz2bin0 -> 125087 bytes
-rw-r--r--yChat/ychat-0.7.2.tar.bz2bin0 -> 113640 bytes
-rw-r--r--yChat/ychat-0.7.3.tar.bz2bin0 -> 114017 bytes
-rw-r--r--yChat/ychat-0.7.4.1.tar.bz2bin0 -> 113726 bytes
-rw-r--r--yChat/ychat-0.7.5.tar.bz2bin0 -> 116694 bytes
-rw-r--r--yChat/ychat-0.7.6.tar.bz2bin0 -> 115702 bytes
-rw-r--r--yChat/ychat-0.7.7.0.tar.bz2bin0 -> 113976 bytes
-rw-r--r--yChat/ychat-0.7.7.1.tar.bz2bin0 -> 113780 bytes
-rw-r--r--yChat/ychat-0.7.8.tar.bz2bin0 -> 116917 bytes
-rw-r--r--yChat/ychat-0.7.9.0.tar.bz2bin0 -> 119470 bytes
-rw-r--r--yChat/ychat-0.7.9.1.tar.bz2bin0 -> 117002 bytes
-rw-r--r--yChat/ychat-0.7.9.2.tar.bz2bin0 -> 116239 bytes
-rw-r--r--yChat/ychat-0.7.9.3.tar.bz2bin0 -> 111797 bytes
-rw-r--r--yChat/ychat-0.7.9.4.tar.bz2bin0 -> 111917 bytes
-rw-r--r--yChat/ychat-0.7.9.5.tar.bz2bin0 -> 113717 bytes
-rw-r--r--yChat/ychat-0.8.0.tar.bz2bin0 -> 119501 bytes
-rw-r--r--yChat/ychat-0.8.1.tar.bz2bin0 -> 120381 bytes
-rw-r--r--yChat/ychat-0.8.2.tar.bz2bin0 -> 122336 bytes
-rw-r--r--yhttpd/IMPORTANT.txt1
-rw-r--r--yhttpd/THIS_IS_LEGACY_SOFTWARE_AND_MIGHT_BE_BROKEN.txt2
-rw-r--r--yhttpd/desc/BRANCH_0_71
-rw-r--r--yhttpd/desc/BRANCH_0_81
-rw-r--r--yhttpd/yhttpd-0.7.0.tar.bz2bin0 -> 192570 bytes
-rw-r--r--yhttpd/yhttpd-0.7.1.tar.bz2bin0 -> 194129 bytes
-rw-r--r--yhttpd/yhttpd-0.7.2.tar.bz2bin0 -> 70500 bytes
140 files changed, 4027 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..b3ada67
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,484 @@
+2003-09-14 16:55 snooper
+
+ * cmnd/yc_version.cpp: Added /version command.
+
+2003-09-14 16:48 snooper
+
+ * README, msgs.h: Changed Version to 0.5 ( Will be released as soon
+ as possible ).
+
+2003-09-14 16:34 snooper
+
+ * msgs.h: Changed version description.
+
+2003-09-14 16:31 snooper
+
+ * README, conf.txt, glob.h, reqp.cpp, sock.cpp, cmnd/compile.sh:
+ Fixed all known bugs which already have been fixed in yChat++
+ Advanced.
+
+2003-09-13 20:52 snooper
+
+ * gfx/y_ani_black.gif, gfx/y_ani_white.gif, html/favicon.ico: [no
+ log message]
+
+2003-09-07 14:49 snooper
+
+ * pool.cpp:
+ Removed a pthread_cond_signal which has been set twice!
+
+2003-09-06 23:34 rover
+
+ * pool.cpp: fixed a typo ( multi thread bug )
+
+2003-09-03 18:30 rover
+
+ * reqp.cpp: modified End-Of-Headers to RFC compliant version
+
+2003-07-26 14:30 snooper
+
+ * reqp.cpp: Added Pragma: no-cache and Expires: 0 to the HTTP
+ header. ( this is a bugfix ).
+
+2003-04-19 21:39 rover
+
+ * chat.cpp, reqp.cpp, sess.cpp, sess.h, sman.h, sock.cpp, user.h:
+ identification now only depends on session
+
+2003-04-19 18:16 rover
+
+ * Makefile.in, chat.cpp, chat.h, conf.txt, main.cpp, s_sman.cpp,
+ sess.cpp, sman.cpp, s_sman.h, sess.h, sman.h: added session
+ manager and session object.
+
+2003-04-10 17:36 rover
+
+ * logd.cpp: fixed a typo
+
+2003-04-07 15:24 rover
+
+ * hmap.cpp: added a really really important newline ( this is just
+ a loginfo test )
+
+2003-04-07 15:18 rover
+
+ * msgs.h: message templates are now replaced by language manager
+
+2003-04-05 00:17 rover
+
+ * Makefile.in: language support
+
+2003-04-05 00:14 rover
+
+ * chat.cpp, chat.h, conf.txt, lang.cpp, lang.h, main.cpp,
+ s_lang.cpp, s_lang.h, sock.cpp, user.cpp, user.h, lang/de,
+ lang/en: support for different languages in chat output
+
+2003-04-04 23:35 rover
+
+ * conf.cpp, conf.txt, glob.h, s_conf.h, sock.cpp: another bug that
+ was caused due sed conversion
+
+2003-04-04 17:42 rover
+
+ * Makefile.in: added log_daemon
+
+2003-04-04 17:19 rover
+
+ * conf.txt, logd.cpp, logd.h, reqp.cpp, reqp.h, sock.cpp, sock.h:
+ added access log compatible logging
+
+2003-04-04 13:13 rover
+
+ * sock.cpp: added IP / PORT to map_params to make logging possible
+ with only this map
+
+2003-04-04 12:41 rover
+
+ * s_tool.cpp, s_tool.h: added trim() function to strip whitespaces
+ at the beginning and end of a string
+
+2003-04-04 12:40 rover
+
+ * reqp.cpp, reqp.h: http headers are now stored in the requestmap
+
+2003-04-03 01:01 snooper
+
+ * s_modl.cpp, s_modl.h, user.h: Minor modifications. New static
+ class wrapper.
+
+2003-04-02 23:57 snooper
+
+ * Makefile.in, chat.h, conf.txt, main.cpp, modl.cpp, sock.cpp,
+ user.cpp, user.h, cmnd/yc_q.cpp: Added first command. /q ...
+ Todo: each user should have his own hashmap of executable
+ modules. Right now all users use the same module hash map.
+
+2003-04-02 15:23 rover
+
+ * modl.cpp, modl.h: module loader
+
+2003-04-02 12:52 snooper
+
+ * dltest.cpp, yc_test.cpp, cmnd/yc_q.cpp, cmnd/yc_test.cpp: [no log
+ message]
+
+2003-04-02 12:50 snooper
+
+ * Makefile.in, README, base.cpp, base.h, chat.cpp, chat.h,
+ conf.cpp, dltest.cpp, glob.h, hmap.cpp, hmap.h, html.cpp, msgs.h,
+ reqp.cpp, reqp.h, sock.cpp: Dynamic module loader class. Better
+ hash map functionality. Some bugfixes.
+
+2003-03-30 15:40 paul
+
+ * hmap.h:
+ Implementation of operator[].
+
+2003-03-30 13:12 volker
+
+ * html/: style.css, y_black.gif: added stylesheet and an image
+
+2003-03-30 03:48 paul
+
+ * todo.txt: [no log message]
+
+2003-03-30 03:35 paul
+
+ * base.cpp, conf.txt, hmap.cpp, hmap.h: The hach map now supports
+ explicit key bindings on each value. The [] operator still has to
+ be implemented.
+
+2003-03-30 01:34 volker
+
+ * conf.txt, html/index.html, html/input.html, html/online.html,
+ html/stream.html: modified appearance and added css
+
+2003-03-30 01:26 paul
+
+ * README, README.txt, cont.h: Renamed.
+
+2003-03-30 01:14 paul
+
+ * base.cpp, base.h, hmap.cpp, hmap.h: All user objects and all room
+ objects are stored in a hash map.
+
+2003-03-30 01:06 volker
+
+ * conf.txt, reqp.cpp, reqp.h, s_tool.cpp, s_tool.h: support for
+ different content-types
+
+2003-03-30 00:21 paul
+
+ * hmap.cpp, hmap.h, main.cpp: Now handles pointer of data objects
+ instead of references.
+
+2003-03-30 00:18 volker
+
+ * html.cpp: removed possible deadlock
+
+2003-03-30 00:11 volker
+
+ * conf.txt, html.cpp: changed format how files are read into
+ templatecache
+
+2003-03-28 17:16 volker
+
+ * todo.txt: todo is now up to date
+
+2003-03-28 03:51 paul
+
+ * data.h:
+
+ Removed data.h
+
+2003-03-28 03:51 paul
+
+ * README.txt, base.h, chat.h, data.h, room.h:
+
+ Put data.h and base.h together.
+
+2003-03-28 03:08 paul
+
+ * README.txt:
+
+ Actualizing because of the new configure script.
+
+2003-03-28 03:02 volker
+
+ * configure, configure.in: [no log message]
+
+2003-03-28 02:59 volker
+
+ * configure, configure.in: -ldl is not needed under *bsd. Added a
+ check
+
+2003-03-28 02:38 volker
+
+ * Makefile, Makefile.in, configure, configure.in: added support for
+ bsd
+
+2003-03-28 01:38 volker
+
+ * base.cpp: changed a bug in cvs keywords
+
+2003-03-28 01:32 volker
+
+ * base.cpp: [no log message]
+
+2003-03-28 01:27 volker
+
+ * COPYING, configure.in: this file should be in every repository ;)
+
+2003-03-28 01:18 volker
+
+ * Makefile, Makefile.in, configure, configure.in: configure
+ dependent files
+
+2003-03-28 00:22 paul
+
+ * hmap.cpp, hmap.h:
+
+ Optimization of the hash map.
+
+2003-03-27 17:14 volker
+
+ * dltest.cpp, yc_test.cpp: Dynamic module test
+
+2003-03-26 18:50 paul
+
+ * html/index.html:
+
+ Changed POST back to GET due read bug.
+
+2003-03-26 17:40 paul
+
+ * reqp.cpp:
+
+ Bugfix.
+
+2003-03-26 16:44 paul
+
+ * reqp.cpp, sock.cpp, sock.h:
+
+ Fixed segfault bug. ( stream.html request without existing user
+ object ).
+
+2003-03-26 16:17 paul
+
+ * sock.cpp:
+
+ Deletion of variables which are no longer needed after procession
+ ( e.g. map_params ).
+
+2003-03-26 15:57 paul