summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradmin (centauri.fritz.box) <puppet@mx.buetow.org>2014-07-01 20:17:31 +0200
committeradmin (centauri.fritz.box) <puppet@mx.buetow.org>2014-07-01 20:17:31 +0200
commite5ff213596011443c467a5257ed6fe5847265d7f (patch)
treeb7322e71dd7f2fb1ff6824cb20acc706b84d06c5
parent0b4ccf59b27f0a8de71b10120b50c916fdbc46a0 (diff)
parent13aaf70af703748fe096e0664c305cd202637ad2 (diff)
-rw-r--r--CHANGES65
-rw-r--r--README61
-rw-r--r--RELEASES43
-rw-r--r--SHORTDESC4
-rw-r--r--TODO46
-rw-r--r--docs/header.txt2
-rw-r--r--etc/ychat.conf4
-rw-r--r--html/stream.html3
-rw-r--r--html/style.css47
-rw-r--r--src/Makefile.in54
-rw-r--r--src/chat/base.h2
-rw-r--r--src/chat/base.tmpl11
-rw-r--r--src/chat/chat.cpp57
-rw-r--r--src/chat/chat.h2
-rw-r--r--src/chat/gcol.cpp40
-rw-r--r--src/chat/gcol.h2
-rw-r--r--src/chat/perm.cpp2
-rw-r--r--src/chat/perm.h2
-rw-r--r--src/chat/room.cpp11
-rw-r--r--src/chat/room.h2
-rw-r--r--src/chat/sess.cpp4
-rw-r--r--src/chat/sess.h2
-rw-r--r--src/chat/sman.cpp30
-rw-r--r--src/chat/sman.h6
-rw-r--r--src/chat/user.cpp90
-rw-r--r--src/chat/user.h43
-rw-r--r--src/cli/cli.cpp62
-rw-r--r--src/cli/cli.h9
-rw-r--r--src/conf/conf.cpp17
-rw-r--r--src/conf/conf.h5
-rwxr-xr-xsrc/configure6433
-rw-r--r--src/configure.ac93
-rw-r--r--src/contrib/crypt/md5.cpp2
-rw-r--r--src/contrib/crypt/md5.h2
-rw-r--r--src/contrib/crypt/md5crypt.cpp12
-rw-r--r--src/contrib/xml/tinyxml.cpp2
-rw-r--r--src/contrib/xml/tinyxml.h2
-rw-r--r--src/contrib/xml/tinyxmlerror.cpp2
-rw-r--r--src/contrib/xml/tinyxmlparser.cpp2
-rw-r--r--src/data/con.cpp24
-rw-r--r--src/data/con.h24
-rw-r--r--src/data/con_base.cpp24
-rw-r--r--src/data/con_base.h24
-rw-r--r--src/data/data.cpp24
-rw-r--r--src/data/data.h24
-rw-r--r--src/data/data_base.cpp41
-rw-r--r--src/data/data_base.h24
-rw-r--r--src/glob.h117
-rw-r--r--src/html.cpp7
-rw-r--r--src/html.h2
-rw-r--r--src/incl.h2
-rw-r--r--src/logd.cpp2
-rw-r--r--src/logd.h2
-rw-r--r--src/main.cpp9
-rw-r--r--src/maps/hashmap.h2
-rw-r--r--src/maps/hashmap.tmpl2
-rw-r--r--src/maps/mtools.h2
-rw-r--r--src/maps/mtools.tmpl2
-rw-r--r--src/maps/nhashmap.h2
-rw-r--r--src/maps/nhashmap.tmpl2
-rw-r--r--src/maps/shashmap.h2
-rw-r--r--src/maps/shashmap.tmpl4
-rw-r--r--src/memb/memb.h93
-rw-r--r--src/memb/memb.tmpl104
-rw-r--r--src/modl.cpp2
-rw-r--r--src/modl.h2
-rw-r--r--src/mods/Makefile.mods.in19
-rw-r--r--src/mods/commands/yc_about.cpp2
-rw-r--r--src/mods/commands/yc_all.cpp2
-rw-r--r--src/mods/commands/yc_away.cpp2
-rw-r--r--src/mods/commands/yc_ban.cpp107
-rw-r--r--src/mods/commands/yc_banned.cpp65
-rw-r--r--src/mods/commands/yc_col.cpp2
-rw-r--r--src/mods/commands/yc_compopt.cpp2
-rw-r--r--src/mods/commands/yc_debug.cpp67
-rw-r--r--src/mods/commands/yc_exec.cpp2
-rw-r--r--src/mods/commands/yc_fake.cpp2
-rw-r--r--src/mods/commands/yc_gag.cpp92
-rw-r--r--src/mods/commands/yc_getroom.cpp2
-rw-r--r--src/mods/commands/yc_getrusage.cpp2
-rw-r--r--src/mods/commands/yc_help.cpp2
-rw-r--r--src/mods/commands/yc_invisible.cpp2
-rw-r--r--src/mods/commands/yc_j.cpp2
-rw-r--r--src/mods/commands/yc_ko.cpp2
-rw-r--r--src/mods/commands/yc_m.cpp2
-rw-r--r--src/mods/commands/yc_md5.cpp2
-rw-r--r--src/mods/commands/yc_me.cpp2
-rw-r--r--src/mods/commands/yc_morph.cpp2
-rw-r--r--src/mods/commands/yc_msg.cpp2
-rw-r--r--src/mods/commands/yc_q.cpp2
-rw-r--r--src/mods/commands/yc_reload.cpp2
-rw-r--r--src/mods/commands/yc_ren.cpp2
-rw-r--r--src/mods/commands/yc_s.cpp2
-rw-r--r--src/mods/commands/yc_set.cpp2
-rw-r--r--src/mods/commands/yc_template.cpp47
-rw-r--r--src/mods/commands/yc_time.cpp2
-rw-r--r--src/mods/commands/yc_topic.cpp2
-rw-r--r--src/mods/commands/yc_unban.cpp73
-rw-r--r--src/mods/commands/yc_ungag.cpp92
-rw-r--r--src/mods/commands/yc_uptime.cpp2
-rw-r--r--src/mods/commands/yc_users.cpp2
-rw-r--r--src/mods/commands/yc_version.cpp2
-rw-r--r--src/mods/html/yc_admin.cpp2
-rw-r--r--src/mods/html/yc_colors.cpp2
-rw-r--r--src/mods/html/yc_help.cpp2
-rw-r--r--src/mods/html/yc_loggedin.cpp2
-rw-r--r--src/mods/html/yc_options.cpp2
-rw-r--r--src/mods/html/yc_register.cpp2
-rw-r--r--src/monitor/dump.cpp5
-rw-r--r--src/monitor/dump.h21
-rw-r--r--src/monitor/stats.cpp10
-rw-r--r--src/monitor/stats.h2
-rw-r--r--src/msgs.h18
-rw-r--r--src/name.cpp2
-rw-r--r--src/name.h2
-rw-r--r--src/reqp.cpp4
-rw-r--r--src/reqp.h4
-rw-r--r--src/s_chat.cpp12
-rw-r--r--src/sign.cpp18
-rw-r--r--src/sign.h5
-rw-r--r--src/sock/sock.cpp215
-rw-r--r--src/sock/sock.h56
-rw-r--r--src/sock/sslsock.cpp165
-rw-r--r--src/thrd/pool.cpp113
-rw-r--r--src/thrd/pool.h11
-rw-r--r--src/thrd/thro.cpp67
-rw-r--r--src/thrd/thro.h54
-rw-r--r--src/time/timo.cpp2
-rw-r--r--src/time/timo.h2
-rw-r--r--src/time/timr.cpp2
-rw-r--r--src/time/timr.h2
-rw-r--r--src/tool/dir.cpp2
-rw-r--r--src/tool/dir.h2
-rw-r--r--src/tool/tool.cpp2
-rw-r--r--src/tool/tool.h2
-rw-r--r--src/wrap.cpp40
-rw-r--r--src/wrap.h12
137 files changed, 8214 insertions, 1115 deletions
diff --git a/CHANGES b/CHANGES
index 69f4e97..49c0778 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,21 +1,58 @@
--Changes from 0.7.9.5-STABLERELEASE to 0.7.9.6-STABLE
-$ Typos
-$ Using XHTML now instead of HTML
-$ New CSS Style
-
--Changes from 0.7.9.4-STABLERELEASE to 0.7.9.5-STABLERELEASE -
-$ Added .pm to scripts/stats.pl
+-Changes from 0.8.2-RELEASE to 0.8.3-CURRENT
+$ Added .pm files to scripts/stats.pl
$ Modified the README (New CVS pserver)
$ Added docs/header.txt as a source header skel
-$ All .cpp, .h and .tmpl files now do have a new source header
-$ containging copyright infos etc.
+ All .cpp, .h and .tmpl files now do have a new source header
+ containging copyright infos etc.
+$ New chat commands: /ban, /unban and /banned
+$ Added the following to the ychat.conf:
+ chat.msgs.ban
+ chat.msgs.unban
+ chat.msgs.help.ban
+ chat.msgs.help.unban
+ chat.msgs.help.banned
+ chat.msgs.err.banned
+ chat.msgs.err.alreadybanned
+ chat.msgs.err.isnotbanned
+ chat.msgs.err.nobanned
+$ Added src/build.h, which contains build informations.
+$ Modified the build system. Using GNU Autoconf now.
+$ Added GNU readline support for the yChat Command Line Interface (CLI)
+$ Added the run_loop rule to ./Makefile
+$ The thread pool class is now completely static!
$ Bugfix in src/sock/sock.cpp (No clear() w/ ncurses disabled)
$ Bugfix in src/cli/cli.cpp (No more segfault by reading empty strings
-$ or commands with leading whitespaces)
-
--Changes from 0.7.9.3-STABLERELEASE to 0.7.9.4-STABLERELEASE -
-$ Removed the TODO list. All major feature changes will be in the CURRENT
-$ branch.
+ or commands with leading whitespaces)
+$ Fixes in the README TOC and chapter numbers, fixed some typos also
+$ uint32_t -> unsigned
+$ Removed the Ncurses support which caused lots of problems.
+$ CLI commands:
+ (s)hutdown has been renamed into (shut)down
+$ Changed the copyright back to Paul C. Buetow
+
+-Changes from 0.8.1-RELEASE to 0.8.2-RELEASE
+$ Fixed some typos
+$ Added the - Versioning - paragraph into the README file
+$ Removed the yc_template command module source file
+$ scripts/config.pl now also accepts q and quit as a command
+$ Minor bugfix in scripts/config.pl
+$ Some improvements in src/configure
+$ Changed some default values in the src/glob.h
+
+-Changes from 0.8-RELEASE to 0.8.1-RELEASE
+$ Fixed a HTML bug in the stream html (h1 should get closed w/ /h1)
+$ Fixed some typos in the README
+$ Fixed a bug in the /q command
+$ Implemented The /gag and /ungag commands
+$ Implemented flood protection and added the following ychat.conf options:
+$ chat.floodprotection.seconds
+$ chat.floodprotection.messages
+$ chat.msgs.err.gag
+$ chat.msgs.floodgag
+$ chat.msgs.gag
+$ chat.msgs.ungag
+$ chat.msgs.help.gag
+$ chat.msgs.help.ungag
$ Added the SHORTDESC file
$ Changed Copyright to "EXA Digital Solutions GbR"
diff --git a/README b/README
index 99f356d..60869df 100644
--- a/README
+++ b/README
@@ -1,8 +1,8 @@
-yChat; Homepage: www.yChat.org; Version 0.7.9.5-RELEASE
+yChat; Homepage: www.yChat.org; Version 0.8.3-CURRENT
Copyright (C) 2003 Paul C. Buetow, Volker Richter
-Copyright (C) 2004 Paul C. Buetow
Copyright (C) 2005 EXA Digital Solutions GbR
+Copyright (C) 2004, 2006 Paul C. Buetow
-----------------------------------------------------------------
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -56,6 +56,9 @@ srcipts/yhttpdbase.pl script in the chat's source tree.
- The ycurses -
ycurses is a easy to use and small C++ wrapper of the C ncurses API.
+- The ycurses -
+ycurses is a easy to use and small C++ wrapper around the C ncurses API.
+
There are different branches:
- CURRENT -
@@ -99,6 +102,34 @@ RELEASE of a CURRENT or a LEGACY branch in a production environment.
RELEASEs of CURRENT are still the bleeding edge and RELEASEs of LEGACY
may be out of date.
+- Short names -
+
+In addition, each description also has short names: (short names are needed
+if your text space is limited which happens very fast in IRC channel topics)
+
+CURRENT aka CUR aka C
+RELEASE aka REL aka R
+LEGACY aka LEG aka L
+STABLE aka SBL aka S
+BASIC aka BSC aka B
+DEVEL aka DEV aka D
+PRE aka P
+
+STABLERELEASE aka STBREL aka SR
+PRERELEASE aka PREREL aka PR
+PRELEGACYRELEASE aka PRELEGREL aka PLR
+etc...
+
+The short name of the chat is "yC"
+The short name of the httpd is "yh"
+The short name of ycurses is "yu"
+
+- Versioning -
+In general, versions are made up like X.Y.Z.W. X specifies the major version,
+Y specifies the branch of the major version, Z specifies a sub revision
+of a specific branch. The optional W can be used to specify a maintenance
+revision which only changes small issues.
+
//<<*
0.0.1 YCHAT FEATURES
@@ -164,8 +195,8 @@ interesting statistics and system messages and enables you to do certain
administrative tasks. In addition, you can switch to the CLI (command line
interface) mode of the administration interface in order to be provided with
more available functions (like keeping track of the current system usage etc.).
-If you dont like ncurses and/or the CLI you can disable both options in the pre-
-compile options.
+If you dont like libreadline and/or the CLI you can disable both options in the
+pre- compile options.
- It has logging capabilities -
The logging manager keeps track to all yChat system messages (such as users
@@ -245,10 +276,11 @@ The following platforms have been tested with success. If you find out that
a listed platform did not work at all please contact me:
Operating system (arch) GNU G++ GNU make
+- FreeBSD 6.0-RELEASE (i386) 3.4.4 3.80
- FreeBSD 5.3-RELEASE (i386) 3.4.2 3.80
Tested longer time before:
-- FreeBSD 5.2.1-RELEASE (i386) 3.3.3 3.80
+- FreeBSD 5.4-RELEASE (i386) 3.4.2 3.80
- FreeBSD 4.10-RELEASE (i386) 3.4.1 3.80
- FreeBSD 4.9-RELEASE (i386) 3.3.4 3.80
- Gentoo Linux 2004 (i386) 3.3.2 3.80
@@ -270,8 +302,6 @@ If you like to support yChat, please write us an email and tell what
<