Changeset 1021 for 1.8.3/branches/experimental
- Timestamp:
- 07/08/07 13:32:53 (1 year ago)
- Files:
-
- 1.8.3/branches/experimental/CHANGES.182 (modified) (3 diffs)
- 1.8.3/branches/experimental/CHANGES.183 (modified) (3 diffs)
- 1.8.3/branches/experimental/CHANGES.OLD (modified) (1 diff)
- 1.8.3/branches/experimental/Doxyfile (modified) (5 diffs)
- 1.8.3/branches/experimental/INSTALL (modified) (10 diffs)
- 1.8.3/branches/experimental/MANIFEST (modified) (6 diffs)
- 1.8.3/branches/experimental/Makefile.in (modified) (3 diffs)
- 1.8.3/branches/experimental/UPGRADING (modified) (7 diffs)
- 1.8.3/branches/experimental/config.h.in (modified) (3 diffs)
- 1.8.3/branches/experimental/configure (modified) (327 diffs)
- 1.8.3/branches/experimental/configure.in (modified) (6 diffs)
- 1.8.3/branches/experimental/confmagic.h (modified) (1 diff)
- 1.8.3/branches/experimental/game/README (modified) (6 diffs)
- 1.8.3/branches/experimental/game/log/README (modified) (1 diff)
- 1.8.3/branches/experimental/game/mushcnf.dst (modified) (1 diff)
- 1.8.3/branches/experimental/game/restart (modified) (3 diffs)
- 1.8.3/branches/experimental/game/txt/hlp/pennchat.hlp (modified) (2 diffs)
- 1.8.3/branches/experimental/game/txt/hlp/penncmd.hlp (modified) (4 diffs)
- 1.8.3/branches/experimental/game/txt/hlp/penncode.hlp (modified) (3 diffs)
- 1.8.3/branches/experimental/game/txt/hlp/pennflag.hlp (modified) (2 diffs)
- 1.8.3/branches/experimental/game/txt/hlp/pennfunc.hlp (modified) (7 diffs)
- 1.8.3/branches/experimental/game/txt/hlp/penntop.hlp (modified) (2 diffs)
- 1.8.3/branches/experimental/game/txt/hlp/pennv182.hlp (modified) (2 diffs)
- 1.8.3/branches/experimental/game/txt/hlp/pennv183.hlp (modified) (2 diffs)
- 1.8.3/branches/experimental/game/txt/hlp/pennvOLD.hlp (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/attrib.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/csrimalloc.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/externs.h (modified) (18 diffs)
- 1.8.3/branches/experimental/hdrs/flags.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/function.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/getpgsiz.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/htab.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/lock.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/mushdb.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/mushtype.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/mymalloc.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/privtab.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/shs.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/switches.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/wait.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hints/cygwin.sh (deleted)
- 1.8.3/branches/experimental/hints/cygwin.txt (copied) (copied from 1.8.3/branches/devel/hints/cygwin.txt)
- 1.8.3/branches/experimental/hints/mac_os_x.txt (modified) (1 diff)
- 1.8.3/branches/experimental/hints/mingw32.sh (deleted)
- 1.8.3/branches/experimental/hints/mingw32.txt (copied) (copied from 1.8.3/branches/devel/hints/mingw32.txt)
- 1.8.3/branches/experimental/hints/win32-gcc.sh (deleted)
- 1.8.3/branches/experimental/hints/windows.txt (copied) (copied from 1.8.3/branches/devel/hints/windows.txt)
- 1.8.3/branches/experimental/src/Makefile.in (modified) (16 diffs)
- 1.8.3/branches/experimental/src/access.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/attrib.c (modified) (12 diffs)
- 1.8.3/branches/experimental/src/boolexp.c (modified) (9 diffs)
- 1.8.3/branches/experimental/src/bsd.c (modified) (49 diffs)
- 1.8.3/branches/experimental/src/cmds.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/command.c (modified) (5 diffs)
- 1.8.3/branches/experimental/src/comp_h.c (modified) (6 diffs)
- 1.8.3/branches/experimental/src/compress.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/conf.c (modified) (21 diffs)
- 1.8.3/branches/experimental/src/cque.c (modified) (5 diffs)
- 1.8.3/branches/experimental/src/csrimalloc.c (modified) (6 diffs)
- 1.8.3/branches/experimental/src/destroy.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/extchat.c (modified) (23 diffs)
- 1.8.3/branches/experimental/src/extmail.c (modified) (10 diffs)
- 1.8.3/branches/experimental/src/flags.c (modified) (7 diffs)
- 1.8.3/branches/experimental/src/funcrypt.c (modified) (6 diffs)
- 1.8.3/branches/experimental/src/function.c (modified) (13 diffs)
- 1.8.3/branches/experimental/src/fundb.c (modified) (3 diffs)
- 1.8.3/branches/experimental/src/funmath.c (modified) (6 diffs)
- 1.8.3/branches/experimental/src/funmisc.c (modified) (3 diffs)
- 1.8.3/branches/experimental/src/funstr.c (modified) (10 diffs)
- 1.8.3/branches/experimental/src/game.c (modified) (17 diffs)
- 1.8.3/branches/experimental/src/help.c (modified) (7 diffs)
- 1.8.3/branches/experimental/src/htab.c (modified) (5 diffs)
- 1.8.3/branches/experimental/src/ident.c (modified) (4 diffs)
- 1.8.3/branches/experimental/src/lmathtab.c (copied) (copied from 1.8.3/branches/devel/src/lmathtab.c)
- 1.8.3/branches/experimental/src/lmathtab.gperf (copied) (copied from 1.8.3/branches/devel/src/lmathtab.gperf)
- 1.8.3/branches/experimental/src/local.dst (modified) (2 diffs)
- 1.8.3/branches/experimental/src/lock.c (modified) (14 diffs)
- 1.8.3/branches/experimental/src/markup.c (modified) (7 diffs)
- 1.8.3/branches/experimental/src/memcheck.c (modified) (8 diffs)
- 1.8.3/branches/experimental/src/mymalloc.c (modified) (2 diffs)
- 1.8.3/branches/experimental/src/mysocket.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/myssl.c (modified) (4 diffs)
- 1.8.3/branches/experimental/src/notify.c (modified) (5 diffs)
- 1.8.3/branches/experimental/src/parse.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/plyrlist.c (modified) (6 diffs)
- 1.8.3/branches/experimental/src/privtab.c (modified) (2 diffs)
- 1.8.3/branches/experimental/src/services.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/shs.c (modified) (5 diffs)
- 1.8.3/branches/experimental/src/sql.c (modified) (2 diffs)
- 1.8.3/branches/experimental/src/strutil.c (modified) (4 diffs)
- 1.8.3/branches/experimental/src/switchinc.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/utils.c (modified) (10 diffs)
- 1.8.3/branches/experimental/src/wait.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/wiz.c (modified) (8 diffs)
- 1.8.3/branches/experimental/test/PennMUSH.pm (modified) (1 diff)
- 1.8.3/branches/experimental/test/testdigest.pl (modified) (1 diff)
- 1.8.3/branches/experimental/test/testdistxd.pl (copied) (copied from 1.8.3/branches/devel/test/testdistxd.pl)
- 1.8.3/branches/experimental/test/testjust.pl (copied) (copied from 1.8.3/branches/devel/test/testjust.pl)
- 1.8.3/branches/experimental/utils/README.txt (modified) (2 diffs)
- 1.8.3/branches/experimental/utils/fixdiff.scm (copied) (copied from 1.8.3/branches/devel/utils/fixdiff.scm)
- 1.8.3/branches/experimental/utils/mkcmds.pl (copied) (copied from 1.8.3/branches/devel/utils/mkcmds.pl)
- 1.8.3/branches/experimental/utils/mkcmds.sh.in (deleted)
- 1.8.3/branches/experimental/win32/README.cygwin (modified) (2 diffs)
- 1.8.3/branches/experimental/win32/README.mingw (modified) (1 diff)
- 1.8.3/branches/experimental/win32/config.h (modified) (3 diffs)
- 1.8.3/branches/experimental/win32/confmagic.h (modified) (1 diff)
- 1.8.3/branches/experimental/win32/funs.h (modified) (3 diffs)
- 1.8.3/branches/experimental/win32/patches.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/branches/experimental/CHANGES.182
r922 r1021 5 5 chronological order (most recent first) 6 6 7 [TAP] is T. Alexander Popiel, a PennMUSH developer (aka Talek)8 7 [SW] is Shawn Wagner, a PennMUSH developer (aka Raevnos) 9 8 [EEH] is Ervin Hearn III, a PennMUSH developer (aka Noltar) … … 15 14 ========================================================================== 16 15 17 Version 1.8.3 patchlevel 5 June 13, 2007 16 Version 1.8.2 patchlevel 6 July 9, 2007 17 18 Development team changes: 19 * After many years of valuable work, Talek has retired from 20 development. 21 22 Minor changes: 23 * KEEPALIVE flag makes the server send a telnet NOP after 24 a short period of inactivity; helps prevent timeouts from 25 NAT/router devices with a short timeout. [MUX] 26 27 Fixes: 28 * Fixed assorted small memory leaks. [SW] 29 * Fixed handling of telnet NOPs sent by clients. [SW] 30 * The OpenSSL random number pool wasn't getting adequately 31 initialized on systems without /dev/urandom [SW] 32 * Infinite loop in math code. Reported by Ashen-Sugar. [GM] 33 34 Version 1.8.2 patchlevel 5 June 13, 2007 18 35 19 36 Minor changes: … … 23 40 Fixes: 24 41 * Cleaned up some unsafe signal handler functions. [SW] 42 43 Help files: 44 * Mention examine lock in help lattr(). Talvo. 25 45 26 46 Version 1.8.2 patchlevel 4 May 16, 2007 1.8.3/branches/experimental/CHANGES.183
r922 r1021 14 14 15 15 ========================================================================== 16 17 Version 1.8.3 patchlevel 4 ???? ??, 2007 18 19 Major changes: 20 * Parts of the build process that used a shell script to regenerate 21 certain headers now use perl scripts instead, making them much 22 faster. [SW] 23 24 Minor changes: 25 * The hash tables used by lmath() and html functions now 26 use perfect hashing to speed up lookups. [SW] 27 * The various slab allocators used by attributes and locks 28 and other areas have been replaced with a generic 29 slab allocator. Also, many more allocations are handled 30 by the new code. 31 * Use the writev() system call to send data to unencrypted 32 connections in bigger chunks instead of using multiple send()s of 33 smaller chunks. 34 * New lock types can be added via src/local.c instead of having to 35 alter the table in src/locks.c. Based on patch by Talvo. 36 * Builtin lock names and default flags are stored in a hash table 37 instead of a list. [SW] 38 39 Attributes: 40 * @chatformat allows you to customize Channel chat messages 41 that you see. [GM] 42 43 Commands: 44 * '@list allocations' displays allocation information. 45 * @stats/tables no longer dumps mem_check information. 46 * @search (and by relation search()) now has an 'elock' 47 search class, permitting boolean expression searches. [GM] 48 * @channel/recall extended to support recalling by time. Example: 49 '@chan/recall Foo=1h' will recall lines only from the past 50 hour. Patch by Talvo. 51 52 Functions: 53 * cond() works like an if, else if, else if ... ncond(), 54 condall(), ncondall() also added. [GM] 55 * speak() accepts a 1st argument beginning with '&' to use 56 an arbitrary speaker name. [GM] 57 * New speakpenn() function handles : <pose> in Penn style. 58 Suggested by Sketch, patch by Javeln. 59 * lmath() accepts dist2d and dist3d. Suggested by Jess. 60 * functions(local) returns just local @functions. [SW] 61 * New encode64() and decode64() functions convert between 62 normal text and base64 encoded text on games that have 63 SSL support compiled in. [SW] 64 * encrypt() and decrypt() now take an optional 3rd argument 65 to control using base 64 encoding. Suggested by Noltar. 66 67 Fixes: 68 * Compile fixes for some linux (And other?) systems that expect 69 all libraries to be after source files on the command line 70 when linking. Reported by Balerion. 71 * Compile fix for some Postgresql installations. Reported by 72 Nymeria. 73 * Fix to fraction() when dealing with numbers that can't 74 be fractioned. Discovered by Ashen-Shugar. 75 * Fixes to align() and coalescing by Javelin. Bugs reported by 76 Sketch and tramp. 77 * Fixes to speak() to bring it closer to Tiny's behavior in 78 common cases by Sketch and Javelin. 79 * Fixes to ANSI output where extra ^[[m were being sent. 80 * Fixes from 1.8.2p6 16 81 17 82 Version 1.8.3 patchlevel 3 June 13, 2007 … … 43 108 * @sql wasn't enabled if Sqlite3 was the only database turned on. 44 109 Reported by qa'toq. 45 * Problems with sql() on Sqlite3. Reported by qa'toq. [SW] 110 * Problems with sql() using Sqlite3. Reported by qa'toq. [SW] 111 * Problems with null queries using MySQL. Reported by duckwa. [SW] 46 112 * Start fixing code that assumes that int and long are the same 47 113 size. [SW] … … 56 122 * Many functions that used parse_dbref updated to use parse_objid, 57 123 to see more objid compliance. [GM] 124 * Fixes from 1.8.2p5 58 125 59 126 Version 1.8.3 patchlevel 2 May 16, 2007 1.8.3/branches/experimental/CHANGES.OLD
r557 r1021 4 4 5 5 [TN] is Thorvald Natvig, a PennMUSH developer (aka Trivian) 6 [TAP] is T. Alexander Popiel, a PennMUSH developer (aka Talek)6 [TAP] is T. Alexander Popiel, a former PennMUSH developer (aka Talek) 7 7 [SW] is Shawn Wagner, a PennMUSH developer (aka Raevnos) 8 [LdW] is Luuk de Waard, a PennMUSH developer (aka Halatir)8 [LdW] is Luuk de Waard, a former PennMUSH developer (aka Halatir) 9 9 [RLM] is Ralph Melton, a former PennMUSH developer 10 [NJG] is Nick Gammon, the Win32 porter11 [DW] is Dan Williams, the MacOS porter10 [NJG] is Nick Gammon, the former Win32 porter 11 [DW] is Dan Williams, the former MacOS porter 12 12 [2.2] refers to code which originated with the TinyMUSH 2.2 developers 13 13 [3] refers to code by (or inspired by) TinyMUSH 3.0 1.8.3/branches/experimental/Doxyfile
r663 r1021 477 477 EXCLUDE = utils \ 478 478 */obsolete/* \ 479 */RCS/* 479 */RCS/* \ 480 */.svn/* 480 481 481 482 # The EXCLUDE_SYMLINKS tag can be used select whether or not files or … … 525 526 # ignored. 526 527 527 INPUT_FILTER = strip_gcc_crap 528 #INPUT_FILTER = strip_gcc_crap 529 INPUT_FILTER = 528 530 529 531 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern … … 689 691 # to the contents of the HTML help documentation and to the tree view. 690 692 691 TOC_EXPAND = NO693 TOC_EXPAND = YES 692 694 693 695 # The DISABLE_INDEX tag can be used to turn on/off the condensed index at … … 709 711 # probably better off using the HTML help feature. 710 712 711 GENERATE_TREEVIEW = NO713 GENERATE_TREEVIEW = YES 712 714 713 715 # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be … … 724 726 # generate Latex output. 725 727 726 GENERATE_LATEX = YES728 GENERATE_LATEX = NO 727 729 728 730 # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. 1.8.3/branches/experimental/INSTALL
r897 r1021 8 8 9 9 If you are upgrading from a previous PennMUSH release, this is 10 probably not the file you want to start with. Read the UPGRADING 11 fi le first.10 probably not the file you want to start with. Read the UPGRADING file 11 first. 12 12 13 DISCLAIMER: Before attempting to run a MUD of any sort, you should have14 some reasonable knowledge of UNIX and C. If you do not, it is _strongly_ 15 suggested that you learn UNIX and C to some reasonable level of competency 16 before attempting to set up a MUSH. (Note that even people using the 17 Windows ports are encouraged to know UNIX, because that's the paradigm 18 that PennMUSH was built with, and most resources will be written with 19 UNIX is mind.)13 DISCLAIMER: Before attempting to run a MUD of any sort, you should 14 have some reasonable knowledge of UNIX and C. If you do not, it is 15 _strongly_ suggested that you learn UNIX and C to some reasonable 16 level of competency before attempting to set up a MUSH. (Note that 17 even people using the Windows ports are encouraged to know UNIX, 18 because that's the paradigm that PennMUSH was built with, and most 19 resources will be written with UNIX is mind.) 20 20 21 You may also want to take a look at Javelin's Guide for PennMUSH Gods, 22 at http://pennmush.org/~alansz/guide.html 23 or by ftp from pennmush.org, /pub/PennMUSH/Guide 21 You may also want to take a look at the Managing PennMUSH book at 22 http://community.pennmush.org and at Javelin's Guide for PennMUSH 23 Gods, at http://javelin.pennmush.org/~alansz/guide.html or by ftp from 24 pennmush.org, /pub/PennMUSH/Guide 24 25 ============================================================================ 25 26 … … 28 29 Here's a quick picture of the organization of the MUSH directory tree. 29 30 The "src" directory contains C source code. The "hdrs" directory 30 contains header files for the source code. The files used by a running 31 MUSH are in the "game" directory, which includes subdirectories "data" 32 (current databases), "txt" (text files and directories for building them), 33 "log" (log files), and "save" (backup databases). Finally, the "hints" 34 directory is used during the installation process, the "po" directory 35 holds translation message files. 31 contains header files for the source code. The files used by a 32 running MUSH are in the "game" directory, which includes 33 subdirectories "data" (current databases), "txt" (text files and 34 directories for building them), "log" (log files), and "save" (backup 35 databases). Finally, the "hints" directory is used during the 36 installation process, the "po" directory holds translation message 37 files. 36 38 37 39 pennmush--+-> src … … 58 60 Microsoft Windows 59 61 60 There's no real reason why PennMUSH shouldn't compile on any 32-bit 61 orbetter BSD, System V, or POSIX operating system. Development is62 There's no real reason why PennMUSH shouldn't compile on any 32-bit or 63 better BSD, System V, or POSIX operating system. Development is 62 64 primarily done on GNU/Linux and Mac OS X systems. 63 65 … … 70 72 The quickstart version of the installation is: 71 73 72 1. On win32 only, install proper tools or read win32/README*. 73 2. ./configure or some variant 74 1a. On win32 only, install proper tools or read win32/README*. 75 1b. On Unix systems, you need: A C compiler, perl, the minimum development 76 packages required to compile programs (Linux distributions that don't 77 come with gcc in the base install often need a package named glibc-dev) 78 2. Run ./configure or some variant 74 79 3. create options.h, or make update 75 80 4. make install … … 83 88 84 89 2. On Unix systems, unpack the code and: 85 cd pennmush86 ./configure90 % cd pennmush 91 % ./configure 87 92 88 93 Useful arguments to configure: … … 105 110 3. EITHER: 106 111 112 Type 'make update', and answer all the questions about which MUSH 113 options you want. 114 115 OR 116 107 117 Copy options.h.dist to options.h. Note that these files stay in the 108 118 pennmush directory. … … 112 122 Also, cp game/mushcnf.dst to game/mush.cnf and edit. 113 123 114 OR:115 116 Type 'make update', and answer all the questions about which MUSH117 options you want.118 124 119 125 You should not need to change any of the other header files. … … 124 130 125 131 5. If you plan to run multiple MUSHes, you may want to do a "make 126 customize" which will run a script to help set up a separate customized 127 game subdirectory for each MUSH (run it once per MUSH you plan to run). 128 Files in these subdirectories will already be customized in many ways, 129 so what follows may be slightly different. :) This is probably broken. 132 customize" which will run a script to help set up a separate 133 customized game subdirectory for each MUSH (run it once per MUSH you 134 plan to run). Files in these subdirectories will already be 135 customized in many ways, so what follows may be slightly different. :) 136 This is probably broken. 130 137 131 138 6. Read game/README and follow those instructions. 132 139 133 140 A final thing you may want to think about is compiling announce.c or 134 portmsg.c. These are port announcers; if your MUSH ever goes down, you can135 set one up, and a message will be given to a person attempting to connect 136 to that port. Read that file for details. It is not an official MUSH 137 piece of code; rather, it is a freely distributable program available138 via anonymous FTP that is included in this code because it happens to 139 be fairly useful. Javelin suggests using portmsg - it appears to be140 more stable.141 portmsg.c. These are port announcers; if your MUSH ever goes down, you 142 can set one up, and a message will be given to a person attempting to 143 connect to that port. Read that file for details. It is not an 144 official MUSH piece of code; rather, it is a freely distributable 145 program available via anonymous FTP that is included in this code 146 because it happens to be fairly useful. Javelin suggests using 147 portmsg - it appears to be more stable. 141 148 142 149 ============================================================================ … … 150 157 Configure) from the pennmush directory. It does include the options.h 151 158 that it was built with, as an aid to those who decide later that they 152 want to customize the server; they are useful as a baseline to work from. 159 want to customize the server; they are useful as a baseline to work 160 from. 153 161 154 162 Using the pre-built binary is fairly simple; adjust your configuration … … 156 164 PennMUSH.exe (you may need to use PennMUSH /run or PennMUSH /start). 157 165 Alternately, if you want the MUSH to automatically start each time you 158 turn on your machine, you can install it as a system service by running159 'PennMUSH /install'. PennMUSH can be removed from service status via 160 'PennMUSH /remove'.166 turn on your machine, you can install it as a system service by 167 running 'PennMUSH /install'. PennMUSH can be removed from service 168 status via 'PennMUSH /remove'. 161 169 1.8.3/branches/experimental/MANIFEST
r922 r1021 124 124 hints/a-u-x.sh 125 125 hints/aix.sh 126 hints/cygwin.txt 126 127 hints/dec_osf.sh 127 128 hints/freebsd.txt … … 132 133 hints/linux.txt 133 134 hints/mac_os_x.txt 134 hints/mingw32. sh135 hints/mingw32.txt 135 136 hints/netbsd.txt 136 137 hints/openbsd.txt 137 138 hints/solaris_2.sh 138 139 hints/sunos_4.sh 139 hints/win32-gcc.sh140 140 hints/win32.sh 141 hints/windows.txt 141 142 hints/README 142 143 options.h.dist … … 175 176 src/funlocal.dst 176 177 src/funmath.c 178 src/lmathtab.c 179 src/lmathtab.gperf 177 180 src/funmisc.c 178 181 src/funstr.c … … 191 194 src/malias.c 192 195 src/markup.c 196 src/htmltab.c 197 src/htmltab.gperf 193 198 src/match.c 194 199 src/memcheck.c … … 237 242 test/testdecompose.pl 238 243 test/testdigest.pl 244 test/testdistxd.pl 239 245 test/testfirstof.pl 240 246 test/testgrep.pl 241 247 test/testhastype.pl 242 248 test/testinsert.pl 249 test/testjust.pl 243 250 test/testletq.pl 244 251 test/testmath.pl … … 247 254 test/testrand.pl 248 255 test/testreswitch.pl 256 test/testsetfuns.pl 257 test/teststringsecs.pl 249 258 test/testtr.pl 250 test/testsetfuns.pl251 259 utils/clwrapper.sh 252 260 utils/customize.pl 253 261 utils/fixdepend.pl 262 utils/fixdiff.scm 254 263 utils/gentables.c 255 264 utils/ln-dir.sh 256 265 utils/make_access_cnf.sh 257 utils/mkcmds. sh.in266 utils/mkcmds.pl 258 267 utils/mkvershlp.pl 259 268 utils/README.txt 1.8.3/branches/experimental/Makefile.in
r922 r1021 21 21 SQL_LDFLAGS=@MYSQL_LDFLAGS@ @POSTGRESQL_LDFLAGS@ @SQLITE3_LDFLAGS@ 22 22 23 CCFLAGS=@CFLAGS@ $(SQL_CFLAGS)-I.. -I../hdrs24 LDFLAGS=@LDFLAGS@ $(SQL_LDFLAGS)23 CCFLAGS=@CFLAGS@ -I.. -I../hdrs 24 LDFLAGS=@LDFLAGS@ 25 25 CLIBS=@LIBS@ 26 26 INSTALL=@INSTALL@ … … 39 39 (cd src; @MAKE@ all "CC=$(CC)" "CCFLAGS=$(CCFLAGS)" \ 40 40 "LDFLAGS=$(LDFLAGS)" "CLIBS=$(CLIBS)" "MAKE=$(MAKE)" \ 41 "MAKEFLAGS=$(MAKEFLAGS)") 41 "MAKEFLAGS=$(MAKEFLAGS)" "SQL_CFLAGS=$(SQL_CFLAGS)" \ 42 "SQL_LDFLAGS=$(SQL_LDFLAGS)") 42 43 @echo "If the make was successful, use 'make install' to install links." 43 44 … … 57 58 58 59 hdrs/cmds.h: src/cmds.c src/command.c src/cque.c src/help.c src/set.c src/sql.c Patchlevel 59 (cd utils; sh mkcmds.sh commands)60 @PERL@ utils/mkcmds.pl commands 60 61 61 62 hdrs/switches.h: src/SWITCHES Patchlevel 62 (cd utils; sh mkcmds.sh switches)63 @PERL@ utils/mkcmds.pl switches 63 64 64 65 src/switchinc.c: src/SWITCHES Patchlevel 65 (cd utils; sh mkcmds.sh switches)66 @PERL@ utils/mkcmds.pl switches 66 67 67 68 hdrs/funs.h: src/fun*.c src/bsd.c src/conf.c src/extmail.c src/help.c src/markup.c src/wiz.c src/sql.c Patchlevel 68 (cd utils; sh mkcmds.sh functions)69 @PERL@ utils/mkcmds.pl functions 69 70 70 71 hdrs/patches.h: patches/* 71 (cd utils; sh mkcmds.sh patches)72 @PERL@ utils/mkcmds.pl patches 72 73 73 74 install: localized all 1.8.3/branches/experimental/UPGRADING
r511 r1021 16 16 Please read them. 17 17 18 The PennMUSH developers actually only support situation A, but 19 we'llgive some useful tips for B and C here, too.18 The PennMUSH developers actually only support situation A, but we'll 19 give some useful tips for B and C here, too. 20 20 21 21 DISCLAIMER: It is very wise to always back up your current working … … 31 31 A.1. Upgrading with patch files 32 32 33 This is the easiest way to upgrade your source code if you're 34 keeping up with patches as they come out, or if you're upgrading 35 patchlevelswithin a release (e.g., within 1.8.0).33 This is the easiest way to upgrade your source code if you're keeping 34 up with patches as they come out, or if you're upgrading patchlevels 35 within a release (e.g., within 1.8.0). 36 36 37 37 To upgrade with patch files, get all the patch files for higher … … 42 42 named things like 1.8.0-patch02 (the patch from 1.8.0p1 to 1.8.0p2) 43 43 or, in some cases, 1.7.6p16-1.8.0p0.patch (the patch from 1.7.6p16 to 44 1.8.0p0). 44 1.8.0p0). 45 45 46 46 Each patch file contains instructions at the top explaining how to 47 apply it. FOLLOW THESE! Don't assume they're all the same. 48 49 After you've applied all the patches and followed all the instructions, 50 you should be good to go. In most cases, you can simply @shutdown/reboot 51 after the final successful compile. If @shutdown/reboot crashes, 52 you'll have to restart again. 47 apply it. FOLLOW THESE! Don't assume they're all the same. The options 48 to use with the patch program change, and sometimes further steps are 49 required. 50 51 After you've applied all the patches and followed all the 52 instructions, you should be good to go. In most cases, you can simply 53 @shutdown/reboot after the final successful compile. If 54 @shutdown/reboot crashes, you'll have to restart again. 53 55 54 56 A.2. Building a new distribution 55 57 56 When you're upgrading across release and no patchlevel is provided 57 to make the upgrade (e.g. from 1.7.4p3 to 1.8.0p0), it's often 58 easier to simply build a new distribution following the INSTALL 59 instructions,but with your old configuration stuff.58 When you're upgrading across release and no patchlevel is provided to 59 make the upgrade (e.g. from 1.7.4p3 to 1.8.0p0), it's often easier to 60 simply build a new distribution following the INSTALL instructions, 61 but with your old configuration stuff. 60 62 61 63 Move your older version of PennMUSH in a directory called oldpenn/, 62 unpack the new one (it will unpack into pennmush/). 63 64 All of the steps below should be taken before running Configure for the65 new version:64 unpack the new one (it will unpack into pennmush/). 65 66 All of the steps below should be taken before running Configure for 67 the new version: 66 68 67 69 A.2.a. options.h and game/*.cnf 68 70 69 You can copy the options.h file and game/mush.cnf file from your 70 oldversion to the new version. The 'make update' command (run after71 You can copy the options.h file and game/mush.cnf file from your old 72 version to the new version. The 'make update' command (run after 71 73 Configure) will compare your files with the newly distributed ones and 72 tell you about options that have been added or removed. If you have any73 options defined that the new version doesn't recognize, you'll be asked 74 if you want to retain them (which is safe).74 tell you about options that have been added or removed. If you have 75 any options defined that the new version doesn't recognize, you'll be 76 asked if you want to retain them (which is safe). 75 77 76 78 If your mush.cnf file is called something else, copy it to mush.cnf in 77 pennmush/game anyway, since that's the file that gets updated. Then make 78 a link to that file called whatever.cnf if you want to use that. 79 80 If you've modified the restart script, you'll have to decide if 81 your modified script is still appropriate, or modify the distributed 82 game/restart script again as you like it. The latter is encouraged. 79 pennmush/game anyway, since that's the file that gets updated. Then 80 make a link to that file called whatever.cnf if you want to use that. 81 82 If you've modified the restart script, you'll have to decide if your 83 modified script is still appropriate, or modify a copy of the 84 distributed game/restart script as you like it. it is highly 85 recommended that you copy restart to a second file, called something 86 like restart.local, and modify and use it instead of the stock restart 87 script to reduce conflicts when patching. 83 88 84 89 You can also copy your old game/access.cnf, game/sitelock.cnf, and 85 game/txt/*.txt files into the appropriate locations. You may wish 86 to do the same thing for game/restrict.cnf, but you should compare 87 it to the new version, as restrictions that may formerly have been 88 compiledinto the server may now be specified in restrict.cnf instead.90 game/txt/*.txt files into the appropriate locations. You may wish to 91 do the same thing for game/restrict.cnf, but you should compare it to 92 the new version, as restrictions that may formerly have been compiled 93 into the server may now be specified in restrict.cnf instead. 89 94 90 95 A.2.b. src/*local.c 91 96 92 97 You should copy local.c, cmdlocal.c, and funlocal.c from oldpenn/src 93 to pennmush/src if you want to retain this local code. Of course, 94 it may not still work, but it's quite likely that it will. If you 95 don'thave any such code, you can skip this step.98 to pennmush/src if you want to retain this local code. Of course, it 99 may not still work, but it's quite likely that it will. If you don't 100 have any such code, you can skip this step. 96 101 97 102 A.2.c. Databases … … 99 104 This MUSH version should read databases along the main branch of MUSH 100 105 evolution -- TinyMUD, vanilla TinyMUSH up to 2.0, MicroMUSH, and all 101 Pern/PennMUSH versions. If you need to convert a TinyMUSH 2.0 database,102 please contact Amberyl, and she'll mail you an extension to 2.0 that 103 will dump a 1.50-readable flatfile. You're probably out of luck with 104 databases for TinyMUSH 2.2 and later.105 106 Be sure that your options.h settings correctly reflect the type 107 of password encryption that was used on your database. The default 108 has changed to SHS, so if your db used crypt(3) encryption, be 109 s ure you set the appropriate definition in options.h.106 Pern/PennMUSH versions. If you need to convert a TinyMUSH 2.0 107 database, please contact Amberyl, and she'll mail you an extension to 108 2.0 that will dump a 1.50-readable flatfile. You're probably out of 109 luck with databases for TinyMUSH 2.2 and later. 110 111 Be sure that your options.h settings correctly reflect the type of 112 password encryption that was used on your database. The default has 113 changed to SHS, so if your db used crypt(3) encryption, be sure you 114 set the appropriate definition in options.h. 110 115 111 116 *** If you are upgrading from 1.7.4 (or earlier) to 1.7.7 (or later), … … 127 132 system to one that uses the new flag system (post-1.7.7p5), if you've 128 133 added flags or toggles. You probably had an #define in hdrs/flags.h 129 for your flag's bit value. This now should be moved to hdrs/oldflags.h; 130 you should leave in the table entry in src/flags.c. If you set up a macro 131 for testing your flag in hdrs/mushdb.h, you'll need to change it to use 132 the has_flag_by_name() function - see the many examples in that file. 134 for your flag's bit value. This now should be moved to 135 hdrs/oldflags.h; you should leave in the table entry in 136 src/flags.c. If you set up a macro for testing your flag in 137 hdrs/mushdb.h, you'll need to change it to use the has_flag_by_name() 138 function - see the many examples in that file. 133 139 134 140 If this isn't suitable (you're crossing releases or your hacks are too … … 139 145 C. PennMUSH with a lot of hacks 140 146 141 If you've seriously hacked your server source code, you're on your 142 ownin terms of keeping up with new patchlevels. Some people apply147 If you've seriously hacked your server source code, you're on your own 148 in terms of keeping up with new patchlevels. Some people apply 143 149 patchfiles and fix the rejected hunks. 144 150 … … 147 153 version of pennmush (e.g. 1.7.4p16) to your hacked version of pennmush 148 154 (e.g. 1.7.4p16 with hacks), and then applying those patches to the new 149 version of PennMUSH (e.g. 1.8.0p0) to create a hacked version thereof. If150 some patch hunks fail, you'll have to apply them manually.155 version of PennMUSH (e.g. 1.8.0p0) to create a hacked version 156 thereof. If some patch hunks fail, you'll have to apply them manually. 151 157 152 158 Probably the best approach is to keep all multiple versions of the 1.8.3/branches/experimental/config.h.in
r942 r1021 64 64 65 65 #undef HAVE_SYS_EVENT_H 66 67 #undef HAVE_SYS_UIO_H 66 68 67 69 /* C99ish headers. The first two are really really nice to have. */ … … 166 168 #undef HAS_CRYPT 167 169 168 #undef HAS_FPSETMASK 169 170 #undef HAS_FPSETROUND 170 #undef HAVE_FPSETMASK 171 172 #undef HAVE_FPSETROUND 173 174 #undef HAVE_ISNORMAL 171 175 172 176 #undef HAS_GAI_STRERROR … … 280 284 281 285 #undef HAVE_PWRITE 286 287 #undef HAVE_VALLOC 288 289 #undef HAVE_WRITEV 282 290 283 291 /* Variables and defines */ 1.8.3/branches/experimental/configure
r942 r1021 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 0.3 # Generated by GNU Autoconf 2.61. 4 4 # 5 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, … … 11 11 ## --------------------- ## 12 12 13 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 14 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 16 emulate sh … … 20 21 setopt NO_GLOB_SUBST 21 22 else 22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 23 fi 24 BIN_SH=xpg4; export BIN_SH # for Tru64 25 DUALCASE=1; export DUALCASE # for MKS sh 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 26 30 27 31 … … 216 220 as_candidate_shells= 217 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 218 for as_dir in / usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219 223 do 220 224 IFS=$as_save_IFS … … 234 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 235 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 236 # Be Bourne compatible237 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 238 241 emulate sh … … 243 246 setopt NO_GLOB_SUBST 244 247 else 245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 246 fi 247 BIN_SH=xpg4; export BIN_SH # for Tru64 248 DUALCASE=1; export DUALCASE # for MKS sh 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 249 254 250 255 : … … 254 259 as_have_required=yes 255 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 256 # Be Bourne compatible257 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 258 262 emulate sh … … 263 267 setopt NO_GLOB_SUBST 264 268 else 265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 266 fi 267 BIN_SH=xpg4; export BIN_SH # for Tru64 268 DUALCASE=1; export DUALCASE # for MKS sh 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 269 275 270 276 : … … 513 519 fi 514 520 515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as 516 # systems may use methods other than mode bits to determine executability. 517 cat >conf$$.file <<_ASEOF 518 #! /bin/sh 519 exit 0 520 _ASEOF 521 chmod +x conf$$.file 522 if test -x conf$$.file >/dev/null 2>&1; then 523 as_executable_p="test -x" 524 else 525 as_executable_p=: 526 fi 527 rm -f conf$$.file 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 <
