summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
commitc8b2ef7b899766d04562f7e04a84251cea8fa701 (patch)
tree52816b17c17e2db0cf89e68537ad1a52392f1510
parentca28c0e618890330d429c0dc12429255b20f0c90 (diff)
tagging ychat-0.8.0ychat-0.8.0
-rw-r--r--CHANGES168
-rwxr-xr-x[-rw-r--r--]COPYING0
-rwxr-xr-xMakefile89
-rw-r--r--NEWS14
-rwxr-xr-xREADME670
-rw-r--r--RELEASES57
-rw-r--r--TODO79
-rwxr-xr-xconfigure1618
-rw-r--r--etc/ychat.conf55
-rwxr-xr-x[-rw-r--r--]html/favicon.icobin2238 -> 2238 bytes
-rwxr-xr-xhtml/frameset.html12
-rwxr-xr-xhtml/index.html46
-rwxr-xr-xhtml/input.html52
-rwxr-xr-xhtml/notfound.html4
-rwxr-xr-xhtml/online.html21
-rwxr-xr-xhtml/stream.html42
-rwxr-xr-x[-rw-r--r--]html/style.css45
-rwxr-xr-xscripts/astyle.sh3
-rw-r--r--scripts/makeyhttpd.pl87
-rwxr-xr-xscripts/version.sh9
-rwxr-xr-xsrc/Makefile.in34
-rwxr-xr-xsrc/chat/base.h154
-rwxr-xr-xsrc/chat/base.tmpl49
-rwxr-xr-xsrc/chat/chat.cpp482
-rwxr-xr-xsrc/chat/chat.h71
-rwxr-xr-xsrc/chat/gcol.cpp161
-rwxr-xr-xsrc/chat/gcol.h29
-rwxr-xr-xsrc/chat/perm.cpp69
-rwxr-xr-xsrc/chat/perm.h44
-rwxr-xr-xsrc/chat/room.cpp100
-rwxr-xr-xsrc/chat/room.h95
-rwxr-xr-xsrc/chat/sess.cpp25
-rwxr-xr-xsrc/chat/sess.h22
-rwxr-xr-xsrc/chat/sman.cpp126
-rwxr-xr-xsrc/chat/sman.h28
-rwxr-xr-xsrc/chat/user.cpp691
-rwxr-xr-xsrc/chat/user.h241
-rwxr-xr-xsrc/cli/cli.cpp486
-rwxr-xr-xsrc/cli/cli.h28
-rwxr-xr-xsrc/conf/conf.cpp218
-rwxr-xr-xsrc/conf/conf.h15
-rwxr-xr-xsrc/configure1884
-rw-r--r--src/contrib/crypt/md5.cpp333
-rw-r--r--src/contrib/crypt/md5.h15
-rw-r--r--src/contrib/crypt/md5crypt.cpp233
-rw-r--r--src/contrib/xml/tinyxml.cpp1679
-rw-r--r--src/contrib/xml/tinyxml.h2242
-rw-r--r--src/contrib/xml/tinyxmlerror.cpp44
-rw-r--r--src/contrib/xml/tinyxmlparser.cpp2684
-rwxr-xr-xsrc/data/con.cpp26
-rwxr-xr-xsrc/data/con.h12
-rwxr-xr-xsrc/data/con_base.h10
-rw-r--r--src/data/data.cpp133
-rw-r--r--src/data/data.h26
-rw-r--r--src/data/data_base.cpp116
-rw-r--r--src/data/data_base.h42
-rwxr-xr-xsrc/glob.h232
-rwxr-xr-xsrc/html.cpp132
-rwxr-xr-xsrc/html.h36
-rwxr-xr-xsrc/incl.h19
-rwxr-xr-xsrc/logd.cpp181
-rwxr-xr-xsrc/logd.h36
-rwxr-xr-xsrc/main.cpp126
-rw-r--r--src/maps/hashmap.h51
-rw-r--r--src/maps/hashmap.tmpl124
-rw-r--r--src/maps/mtools.h2
-rw-r--r--src/maps/mtools.tmpl5
-rw-r--r--src/maps/nhashmap.h12
-rw-r--r--src/maps/nhashmap.tmpl12
-rw-r--r--src/maps/shashmap.h53
-rw-r--r--src/maps/shashmap.tmpl142
-rw-r--r--src/memb/memb.h50
-rw-r--r--src/memb/memb.tmpl67
-rw-r--r--src/memb/tupel.h2
-rw-r--r--src/memb/tupel.tmpl14
-rwxr-xr-xsrc/modl.cpp160
-rwxr-xr-xsrc/modl.h32
-rwxr-xr-xsrc/mods/commands/Makefile.in2
-rw-r--r--src/mods/commands/yc_about.cpp74
-rwxr-xr-xsrc/mods/commands/yc_all.cpp77
-rwxr-xr-xsrc/mods/commands/yc_away.cpp126
-rwxr-xr-xsrc/mods/commands/yc_col.cpp127
-rwxr-xr-xsrc/mods/commands/yc_compopt.cpp21
-rwxr-xr-xsrc/mods/commands/yc_exec.cpp84
-rwxr-xr-xsrc/mods/commands/yc_fake.cpp43
-rwxr-xr-xsrc/mods/commands/yc_getroom.cpp70
-rwxr-xr-xsrc/mods/commands/yc_getrusage.cpp69
-rwxr-xr-xsrc/mods/commands/yc_help.cpp81
-rwxr-xr-xsrc/mods/commands/yc_invisible.cpp45
-rwxr-xr-xsrc/mods/commands/yc_j.cpp183
-rwxr-xr-xsrc/mods/commands/yc_ko.cpp88
-rwxr-xr-xsrc/mods/commands/yc_m.cpp65
-rwxr-xr-xsrc/mods/commands/yc_md5.cpp84
-rwxr-xr-xsrc/mods/commands/yc_me.cpp67
-rwxr-xr-xsrc/mods/commands/yc_morph.cpp77
-rwxr-xr-xsrc/mods/commands/yc_msg.cpp94
-rwxr-xr-xsrc/mods/commands/yc_q.cpp27
-rwxr-xr-xsrc/mods/commands/yc_reload.cpp29
-rwxr-xr-xsrc/mods/commands/yc_ren.cpp110
-rwxr-xr-xsrc/mods/commands/yc_s.cpp81
-rwxr-xr-xsrc/mods/commands/yc_set.cpp175
-rwxr-xr-xsrc/mods/commands/yc_template.cpp25
-rwxr-xr-xsrc/mods/commands/yc_time.cpp27
-rwxr-xr-xsrc/mods/commands/yc_topic.cpp138
-rwxr-xr-xsrc/mods/commands/yc_uptime.cpp27
-rwxr-xr-xsrc/mods/commands/yc_users.cpp31
-rwxr-xr-xsrc/mods/commands/yc_version.cpp21
-rwxr-xr-xsrc/mods/html/Makefile.in4
-rw-r--r--src/mods/html/yc_admin.cpp117
-rwxr-xr-xsrc/mods/html/yc_colors.cpp52
-rwxr-xr-xsrc/mods/html/yc_help.cpp76
-rwxr-xr-xsrc/mods/html/yc_loggedin.cpp31
-rwxr-xr-xsrc/mods/html/yc_options.cpp81
-rwxr-xr-xsrc/mods/html/yc_register.cpp165
-rw-r--r--src/monitor/dump.cpp27
-rw-r--r--src/monitor/dump.h31
-rwxr-xr-xsrc/msgs.h163
-rwxr-xr-xsrc/name.cpp34
-rwxr-xr-xsrc/name.h20
-rwxr-xr-xsrc/ncur/menu.cpp148
-rwxr-xr-xsrc/ncur/menu.h28
-rwxr-xr-xsrc/ncur/ncur.cpp368
-rwxr-xr-xsrc/ncur/ncur.h53
-rwxr-xr-xsrc/reqp.cpp487
-rwxr-xr-xsrc/reqp.h49
-rw-r--r--src/sign.cpp5
-rw-r--r--src/sign.h3
-rwxr-xr-xsrc/sock/sock.cpp594
-rwxr-xr-xsrc/sock/sock.h96
-rw-r--r--src/sock/sslsock.cpp34
-rw-r--r--src/sock/sslsock.h32
-rwxr-xr-xsrc/thrd/pool.cpp271
-rwxr-xr-xsrc/thrd/pool.h68
-rw-r--r--src/thrd/thro.cpp23
-rw-r--r--src/thrd/thro.h24
-rwxr-xr-xsrc/time/timo.cpp20
-rwxr-xr-xsrc/time/timo.h12
-rwxr-xr-xsrc/time/timr.cpp165
-rwxr-xr-xsrc/time/timr.h81
-rw-r--r--src/tool/dir.cpp44
-rw-r--r--src/tool/dir.h24
-rw-r--r--src/tool/tool.cpp256
-rw-r--r--src/tool/tool.h28
-rwxr-xr-xsrc/wrap.cpp139
-rwxr-xr-xsrc/wrap.h127
145 files changed, 11430 insertions, 11924 deletions
diff --git a/CHANGES b/CHANGES
index 9994891..ffb446d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,20 +1,150 @@
-Changes from 0.5.4-STABLERELEASE to 0.5.5-STABLERELEASE
-- Added scripts/version.sh (can be invoked by gmake version)
-- Fixed a bug in the session manager.
-- Removed the large animated GIF graphic.
-
-Changes from 0.5.3-LEGACYRELEASE to 0.5.4-STABLERELEASE
-- Backported reqp::get_url from yChat 0.7.8-CURRENT.
-- Tagged 0.5-STABLE
-
-Changes from 0.5.2-LEGACYRELEASE to 0.5.3-LEGACYRLEASE
-- Code cleanup
-- Added ./scripts/*
-- Added gmake stats option
-
-Changes from 0.5.1-RELEASE to 0.5.2-LEGACYRLEASE
-- Changed this branch into a LEGACY branch.
-- Rewrote the dynamic thread pool (backport from 0.7.8-CURRENT).
-- Added scripts/*
-- Code now uses ANSI C++ style with 2 space code indenting.
+-Changes from 0.7.9.2-RELEASE to 0.8-RELEASE
+$ Modified the Makefiles, so that they produce valid output while using
+$ the -j flag of gmake.
+$ OpenSSL support has been integrated. Thanks to CryptoMail.org for patching!
+$ The next release will also have a credits section in the README!
+$ The HTTP parsing stuff has been reviewed and improved by CryptoMail as well.
+$ Also a mini bug of the configure script has been fixed.
+-Changes from 0.7.9.1-RELEASE to 0.7.9.2-RELEASE -
+$ Added monitor/dump, and the dump command to the CLI.
+$ Fixed a bug in the session manager.
+$ Added gmake dist do the README.
+$ Added the charset to the HTTP-header.
+
+-Changes from 0.7.9-RELEASE to 0.7.9.1-RELEASE -
+$ Fixed etc/ychat.conf (Its now valid XML)
+$ Fixed some typos.
+$ Added the scripts/makedist.sh script, which can be invoked by gmake dist.
+$ yhttpd.org has been renamed to yChat.org. The yhttpd.org SLD will be
+$ canceled! The yhttpd.org Homepage will remain on yChat.org!
+
+-Changes from 0.7.8-RELEASE to 0.7.9-RELEASE -
+$ In the system messages will be the user printed which has requested the
+ specified module.
+$ Removed the cursor from the ncurses interface.
+$ Added wrap::init_wrappers -> The main.cpp is now shorter.
+$ Added some Makefile modifications
+$ Bugfix: cleanipcache shouldn run every minute but every 10!
+$ Bugfix: scripts/stats.pl now counts all text-files properly.
+
+-Changes from 0.7.7.1-RELEASE to 0.7.8-RELEASE -
+$ Updated the yhttpd generation script due new sources in src/memb.
+$ Changd some hashmaps back into simple std::map objects, this might
+$ has resulted in some bugs due slow hashmap initialization time.
+$ Hashmaps now only should being used on permanent objects.
+$ Rewrote the dynamic thread pool.
+$ makeyhttpd now also removes the yChat specific form etc/yhttpd.conf
+$ automatically.
+$ Implemnted an IP Cache (makes yChat faster).
+$ Implemented signal catcher:
+$ SIGUSR1 will clear the html template cache.
+$ SIGUSR2 will reload the dynamic modules.
+$ SIGSEGV can be catched if defined in src/glob.h.
+$ SIGHUP, SIGINT and SIGTERM will shutdown yChat cleanly.
+$ Added Allow: GET to the HTTP header.
+$ Bugfix: The httpd.logging.accesslines now will be read correctly.
+$ Bugfix: JavaScript messages now wont be logged.
+
+-Changes from 0.7.7-RELEASE to 0.7.7.1-RELEASE -
+$ Bugfix in main.cpp which resulted in a core dump on yChat startup.
+
+-Changes from 0.7.6-RELEASE to 0.7.7-RELEASE -
+$ Major code cleanup.
+$ Bugfix in /col.
+$ Bugfix in gcol #1 (destroy session also if no database is used).
+$ Bugfix in gcol #2 (now runs each hour not once a day).
+$ Renew the style.css and stream.html.
+
+-Changes from 0.7.5-RELEASE to 0.7.6-RELEASE -
+$ Removed the old hash maps and included the SGI C++ STL extenstion
+$ hash_map.
+
+-Changes from 0.7.4.1-RELEASE to 0.7.5-RELEASE -
+$ Garbage collector will now run once a hour rather than each ten minutes.
+$ Dynamic thread pool improvements.
+$ Removed equiv-http-refresh meta tag from the online list.
+$ Minor bugfix in the /topic command.
+$ Implemented "User list".
+
+-Changes from 0.7.4-RELEASE to 0.7.4.1-RELEASE -
+$ Dynamic thread pool bugfix (dead lock).
+
+-Changes from 0.7.3-RELEASE to 0.7.4-RELEASE -
+$ Code cleanup.
+$ Made the thread pool increasing dynamic.
+$ Added some thread pool optimazions.
+$ Added some more ${MAKE} vars to the Makefiles.
+$ Added Content-length to the HTTPD header.
+$ Added the !command to the command line interface.
+$ Added Content-type text/plain.
+$ Added scrolling checkbox to input.html.
+$ Removed modl from yhttpd. Dynamic modules are not needed in yhttpd yet.
+$ Improved session engine.
+$ Fixed auto logout bug.
+$ Fixed newline bug (one \n too much for each html template).
+$ Logging can now be completely disabled.
+
<