PennMUSH Community

Changeset 1032

Show
Ignore:
Timestamp:
07/08/07 20:50:12 (1 year ago)
Author:
shawnw
Message:

Merged 1.8.3p4 into trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.3/trunk/CHANGES.182

    r919 r1032  
    55chronological order (most recent first) 
    66 
    7 [TAP] is T. Alexander Popiel, a PennMUSH developer (aka Talek) 
    87[SW] is Shawn Wagner, a PennMUSH developer (aka Raevnos) 
    98[EEH] is Ervin Hearn III, a PennMUSH developer (aka Noltar) 
     
    1514========================================================================== 
    1615 
    17 Version 1.8.3 patchlevel 5                      June 13, 2007 
     16Version 1.8.2 patchlevel 6                       July 9, 2007 
     17 
     18Development team changes: 
     19  * After many years of valuable work, Talek has retired from 
     20    development.   
     21 
     22Minor 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 
     27Fixes: 
     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 
     34Version 1.8.2 patchlevel 5                      June 13, 2007 
    1835 
    1936Minor changes: 
    2037  * Removed the gmalloc malloc option. [SW] 
     38  * KEEPALIVE flag makes the server send a telnet NOP after 
     39    a short period of inactivity; helps prevent timeouts from 
     40    NAT/router devices with a short timeout. [MUX] 
     41 
     42Fixes: 
     43  * Fixed assorted small memory leaks. [SW] 
     44  * Fix to fraction() when dealing with numbers that can't 
     45    be fractioned. Discovered by Ashen-Shugar. [GM] 
     46  * Fixed handling of telnet NOPs sent by clients. [SW] 
     47  * The OpenSSL random number pool wasn't getting adequately 
     48    initialized on systems without /dev/urandom [SW] 
     49  * Infinite loop in math code. Reported by Ashen-Sugar. [GM] 
     50  * mkvershlp.pl skips over emacs backup files. 
     51 
     52Version 1.8.2 patchlevel 5                      June 13, 2007 
     53 
     54Minor changes: 
    2155  * Assorted gcc warning fixes. [SW] 
    2256 
    2357Fixes: 
    2458  * Cleaned up some unsafe signal handler functions. [SW] 
     59 
     60Help files: 
     61  * Mention examine lock in help lattr(). Talvo. 
    2562 
    2663Version 1.8.2 patchlevel 4                      May 16, 2007 
  • 1.8.3/trunk/CHANGES.183

    r919 r1032  
    1414 
    1515========================================================================== 
     16 
     17Version 1.8.3 patchlevel 4                      ???? ??, 2007 
     18 
     19Major 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 
     24Minor 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 
     39Attributes: 
     40  * @chatformat allows you to customize Channel chat messages 
     41    that you see. [GM] 
     42 
     43Commands: 
     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  
     52Functions: 
     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  
     67Fixes: 
     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 
    1681 
    1782Version 1.8.3 patchlevel 3                      June 13, 2007 
     
    57122  * Many functions that used parse_dbref updated to use parse_objid, 
    58123    to see more objid compliance. [GM] 
     124  * Fixes from 1.8.2p5 
    59125 
    60126Version 1.8.3 patchlevel 2                      May 16, 2007 
  • 1.8.3/trunk/CHANGES.OLD

    r557 r1032  
    44 
    55[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) 
    77[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) 
    99[RLM] is Ralph Melton, a former PennMUSH developer 
    10 [NJG] is Nick Gammon, the Win32 porter 
    11 [DW] is Dan Williams, the MacOS porter 
     10[NJG] is Nick Gammon, the former Win32 porter 
     11[DW] is Dan Williams, the former MacOS porter 
    1212[2.2] refers to code which originated with the TinyMUSH 2.2 developers 
    1313[3] refers to code by (or inspired by) TinyMUSH 3.0 
  • 1.8.3/trunk/Doxyfile

    r846 r1032  
    477477EXCLUDE                = utils \ 
    478478                         */obsolete/* \ 
    479                          */RCS/* 
     479                         */RCS/* \ 
     480                         */.svn/* 
    480481 
    481482# The EXCLUDE_SYMLINKS tag can be used select whether or not files or  
     
    525526# ignored. 
    526527 
    527 INPUT_FILTER           = strip_gcc_crap 
     528#INPUT_FILTER           = strip_gcc_crap 
     529INPUT_FILTER =  
    528530 
    529531# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern  
     
    689691# to the contents of the HTML help documentation and to the tree view. 
    690692 
    691 TOC_EXPAND             = NO 
     693TOC_EXPAND             = YES 
    692694 
    693695# The DISABLE_INDEX tag can be used to turn on/off the condensed index at  
     
    709711# probably better off using the HTML help feature. 
    710712 
    711 GENERATE_TREEVIEW      = NO 
     713GENERATE_TREEVIEW      = YES 
    712714 
    713715# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be  
     
    724726# generate Latex output. 
    725727 
    726 GENERATE_LATEX         = YES 
     728GENERATE_LATEX         = NO 
    727729 
    728730# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.  
  • 1.8.3/trunk/INSTALL

    r919 r1032  
    88 
    99If you are upgrading from a previous PennMUSH release, this is 
    10 probably not the file you want to start with. Read the UPGRADING 
    11 file first. 
     10probably not the file you want to start with. Read the UPGRADING file 
     11first. 
    1212 
    13 DISCLAIMER: Before attempting to run a MUD of any sort, you should have 
    14 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.) 
     13DISCLAIMER: Before attempting to run a MUD of any sort, you should 
     14have 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 
     16level of competency before attempting to set up a MUSH.  (Note that 
     17even people using the Windows ports are encouraged to know UNIX, 
     18because that's the paradigm that PennMUSH was built with, and most 
     19resources will be written with UNIX is mind.) 
    2020 
    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 
     21You may also want to take a look at the Managing PennMUSH book at 
     22http://community.pennmush.org and at Javelin's Guide for PennMUSH 
     23Gods, at http://javelin.pennmush.org/~alansz/guide.html or by ftp from 
     24pennmush.org, /pub/PennMUSH/Guide 
    2425============================================================================ 
    2526  
     
    2829Here's a quick picture of the organization of the MUSH directory tree. 
    2930The "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. 
     31contains header files for the source code.  The files used by a 
     32running MUSH are in the "game" directory, which includes 
     33subdirectories "data" (current databases), "txt" (text files and 
     34directories for building them), "log" (log files), and "save" (backup 
     35databases).  Finally, the "hints" directory is used during the 
     36installation process, the "po" directory holds translation message 
     37files. 
    3638 
    3739 pennmush--+-> src 
     
    5860        Microsoft Windows 
    5961          
    60 There's no real reason why PennMUSH shouldn't compile on any 32-bit 
    61 or better BSD, System V, or POSIX operating system.  Development is 
     62There's no real reason why PennMUSH shouldn't compile on any 32-bit or 
     63better BSD, System V, or POSIX operating system.  Development is 
    6264primarily done on GNU/Linux and Mac OS X systems. 
    6365 
     
    7072     The quickstart version of the installation is: 
    7173 
    72 1. On win32 only, install proper tools or read win32/README*. 
    73 2. ./configure or some variant 
     741a. On win32 only, install proper tools or read win32/README*. 
     751b. 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) 
     782. Run ./configure or some variant 
    74793. create options.h, or make update 
    75804. make install 
     
    8388 
    84892. On Unix systems, unpack the code and: 
    85         cd pennmush 
    86     ./configure  
     90        % cd pennmush 
     91    % ./configure  
    8792 
    8893   Useful arguments to configure: 
     
    1051103. EITHER: 
    106111 
     112Type 'make update', and answer all the questions about which MUSH 
     113options you want. 
     114 
     115OR 
     116 
    107117Copy options.h.dist to options.h. Note that these files stay in the 
    108118pennmush directory. 
     
    112122Also, cp game/mushcnf.dst to game/mush.cnf and edit.  
    113123 
    114 OR: 
    115  
    116 Type 'make update', and answer all the questions about which MUSH 
    117 options you want. 
    118124 
    119125You should not need to change any of the other header files. 
     
    124130 
    1251315. 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. 
     132customize" which will run a script to help set up a separate 
     133customized game subdirectory for each MUSH (run it once per MUSH you 
     134plan to run).  Files in these subdirectories will already be 
     135customized in many ways, so what follows may be slightly different. :) 
     136This is probably broken. 
    130137 
    1311386. Read game/README and follow those instructions.  
    132139 
    133140A 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 can 
    135 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 available 
    138 via anonymous FTP that is included in this code because it happens to 
    139 be fairly useful.  Javelin suggests using portmsg - it appears to be 
    140 more stable. 
     141portmsg.c. These are port announcers; if your MUSH ever goes down, you 
     142can set one up, and a message will be given to a person attempting to 
     143connect to that port.  Read that file for details. It is not an 
     144official MUSH piece of code; rather, it is a freely distributable 
     145program available via anonymous FTP that is included in this code 
     146because it happens to be fairly useful.  Javelin suggests using 
     147portmsg - it appears to be more stable. 
    141148 
    142149============================================================================ 
     
    150157Configure) from the pennmush directory.  It does include the options.h 
    151158that 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. 
     159want to customize the server; they are useful as a baseline to work 
     160from. 
    153161 
    154162Using the pre-built binary is fairly simple; adjust your configuration 
     
    156164PennMUSH.exe (you may need to use PennMUSH /run or PennMUSH /start). 
    157165Alternately, 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 running 
    159 'PennMUSH /install'.  PennMUSH can be removed from service status via 
    160 'PennMUSH /remove'. 
     166turn on your machine, you can install it as a system service by 
     167running 'PennMUSH /install'.  PennMUSH can be removed from service 
     168status via 'PennMUSH /remove'. 
    161169 
  • 1.8.3/trunk/MANIFEST

    r919 r1032  
    124124hints/a-u-x.sh 
    125125hints/aix.sh 
     126hints/cygwin.txt 
    126127hints/dec_osf.sh 
    127128hints/freebsd.txt 
     
    132133hints/linux.txt 
    133134hints/mac_os_x.txt 
    134 hints/mingw32.sh 
     135hints/mingw32.txt 
    135136hints/netbsd.txt 
    136137hints/openbsd.txt 
    137138hints/solaris_2.sh 
    138139hints/sunos_4.sh 
    139 hints/win32-gcc.sh 
    140140hints/win32.sh 
     141hints/windows.txt 
    141142hints/README 
    142143options.h.dist 
     
    175176src/funlocal.dst 
    176177src/funmath.c 
     178src/lmathtab.c 
     179src/lmathtab.gperf 
    177180src/funmisc.c 
    178181src/funstr.c 
     
    191194src/malias.c 
    192195src/markup.c 
     196src/htmltab.c 
     197src/htmltab.gperf 
    193198src/match.c 
    194199src/memcheck.c 
     
    237242test/testdecompose.pl 
    238243test/testdigest.pl 
     244test/testdistxd.pl 
    239245test/testfirstof.pl 
    240246test/testgrep.pl 
    241247test/testhastype.pl 
    242248test/testinsert.pl 
     249test/testjust.pl 
    243250test/testletq.pl 
    244251test/testmath.pl 
     
    247254test/testrand.pl 
    248255test/testreswitch.pl 
     256test/testsetfuns.pl 
     257test/teststringsecs.pl 
    249258test/testtr.pl 
    250 test/testsetfuns.pl 
    251259utils/clwrapper.sh 
    252260utils/customize.pl 
    253261utils/fixdepend.pl 
     262utils/fixdiff.scm 
    254263utils/gentables.c 
    255264utils/ln-dir.sh 
    256265utils/make_access_cnf.sh 
    257 utils/mkcmds.sh.in 
     266utils/mkcmds.pl 
    258267utils/mkvershlp.pl 
    259268utils/README.txt 
  • 1.8.3/trunk/Makefile.in

    r919 r1032  
    2121SQL_LDFLAGS=@MYSQL_LDFLAGS@ @POSTGRESQL_LDFLAGS@ @SQLITE3_LDFLAGS@ 
    2222 
    23 CCFLAGS=@CFLAGS@ $(SQL_CFLAGS) -I.. -I../hdrs 
    24 LDFLAGS=@LDFLAGS@ $(SQL_LDFLAGS) 
     23CCFLAGS=@CFLAGS@ -I.. -I../hdrs 
     24LDFLAGS=@LDFLAGS@ 
    2525CLIBS=@LIBS@ 
    2626INSTALL=@INSTALL@ 
     
    3939    (cd src; @MAKE@ all "CC=$(CC)" "CCFLAGS=$(CCFLAGS)" \ 
    4040    "LDFLAGS=$(LDFLAGS)" "CLIBS=$(CLIBS)" "MAKE=$(MAKE)" \ 
    41     "MAKEFLAGS=$(MAKEFLAGS)") 
     41    "MAKEFLAGS=$(MAKEFLAGS)" "SQL_CFLAGS=$(SQL_CFLAGS)" \ 
     42    "SQL_LDFLAGS=$(SQL_LDFLAGS)") 
    4243    @echo "If the make was successful, use 'make install' to install links." 
    4344 
     
    5758 
    5859hdrs/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 
    6061 
    6162hdrs/switches.h: src/SWITCHES Patchlevel 
    62     (cd utils; sh mkcmds.sh switches) 
     63    @PERL@ utils/mkcmds.pl switches 
    6364 
    6465src/switchinc.c: src/SWITCHES Patchlevel 
    65     (cd utils; sh mkcmds.sh switches) 
     66    @PERL@ utils/mkcmds.pl switches 
    6667 
    6768hdrs/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 
    6970 
    7071hdrs/patches.h: patches/* 
    71     (cd utils; sh mkcmds.sh patches) 
     72    @PERL@ utils/mkcmds.pl patches 
    7273 
    7374install: localized all 
  • 1.8.3/trunk/Patchlevel

    r919 r1032  
    11Do not edit this file. It is maintained by the official PennMUSH patches. 
    2 This is PennMUSH 1.8.3p3 
     2This is PennMUSH 1.8.3p4 
  • 1.8.3/trunk/UPGRADING

    r511 r1032  
    1616Please read them. 
    1717 
    18 The PennMUSH developers actually only support situation A, but 
    19 we'll give some useful tips for B and C here, too. 
     18The PennMUSH developers actually only support situation A, but we'll 
     19give some useful tips for B and C here, too. 
    2020 
    2121DISCLAIMER: It is very wise to always back up your current working 
     
    3131A.1. Upgrading with patch files 
    3232 
    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 patchlevels within a release (e.g., within 1.8.0). 
     33This is the easiest way to upgrade your source code if you're keeping 
     34up with patches as they come out, or if you're upgrading patchlevels 
     35within a release (e.g., within 1.8.0). 
    3636 
    3737To upgrade with patch files, get all the patch files for higher 
     
    4242named things like 1.8.0-patch02 (the patch from 1.8.0p1 to 1.8.0p2) 
    4343or, in some cases, 1.7.6p16-1.8.0p0.patch (the patch from 1.7.6p16 to 
    44 1.8.0p0).  
     441.8.0p0). 
    4545 
    4646Each 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. 
     47apply it. FOLLOW THESE! Don't assume they're all the same. The options 
     48to use with the patch program change, and sometimes further steps are 
     49required. 
     50 
     51After you've applied all the patches and followed all the 
     52instructions, 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. 
    5355 
    5456A.2. Building a new distribution 
    5557 
    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. 
     58When you're upgrading across release and no patchlevel is provided to 
     59make the upgrade (e.g. from 1.7.4p3 to 1.8.0p0), it's often easier to 
     60simply build a new distribution following the INSTALL instructions, 
     61but with your old configuration stuff. 
    6062 
    6163Move 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 the 
    65 new version: 
     64unpack the new one (it will unpack into pennmush/). 
     65 
     66All of the steps below should be taken before running Configure for 
     67the new version: 
    6668 
    6769A.2.a. options.h and game/*.cnf 
    6870 
    69 You can copy the options.h file and game/mush.cnf file from your 
    70 old version to the new version. The 'make update' command (run after 
     71You can copy the options.h file and game/mush.cnf file from your old 
     72version to the new version. The 'make update' command (run after 
    7173Configure) will compare your files with the newly distributed ones and 
    72 tell you about options that have been added or removed. If you have any 
    73 options defined that the new version doesn't recognize, you'll be asked 
    74 if you want to retain them (which is safe). 
     74tell you about options that have been added or removed. If you have 
     75any options defined that the new version doesn't recognize, you'll be 
     76asked if you want to retain them (which is safe). 
    7577 
    7678If 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. 
     79pennmush/game anyway, since that's the file that gets updated. Then 
     80make a link to that file called whatever.cnf if you want to use that. 
     81 
     82If you've modified the restart script, you'll have to decide if your 
     83modified script is still appropriate, or modify a copy of the 
     84distributed game/restart script as you like it. it is highly 
     85recommended that you copy restart to a second file, called something 
     86like restart.local, and modify and use it instead of the stock restart 
     87script to reduce conflicts when patching. 
    8388 
    8489You 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 compiled into the server may now be specified in restrict.cnf instead. 
     90game/txt/*.txt files into the appropriate locations. You may wish to 
     91do the same thing for game/restrict.cnf, but you should compare it to 
     92the new version, as restrictions that may formerly have been compiled 
     93into the server may now be specified in restrict.cnf instead. 
    8994 
    9095A.2.b. src/*local.c 
    9196 
    9297You 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't have any such code, you can skip this step. 
     98to pennmush/src if you want to retain this local code. Of course, it 
     99may not still work, but it's quite likely that it will. If you don't 
     100have any such code, you can skip this step. 
    96101 
    97102A.2.c. Databases 
     
    99104This MUSH version should read databases along the main branch of MUSH 
    100105evolution -- 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 sure you set the appropriate definition in options.h. 
     106Pern/PennMUSH versions. If you need to convert a TinyMUSH 2.0 
     107database, please contact Amberyl, and she'll mail you an extension to 
     1082.0 that will dump a 1.50-readable flatfile. You're probably out of 
     109luck with databases for TinyMUSH 2.2 and later. 
     110 
     111Be sure that your options.h settings correctly reflect the type of 
     112password encryption that was used on your database. The default has 
     113changed to SHS, so if your db used crypt(3) encryption, be sure you 
     114set the appropriate definition in options.h. 
    110115 
    111116*** If you are upgrading from 1.7.4 (or earlier) to 1.7.7 (or later), 
     
    127132system to one that uses the new flag system (post-1.7.7p5), if you've 
    128133added 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. 
     134for your flag's bit value.  This now should be moved to 
     135hdrs/oldflags.h; you should leave in the table entry in 
     136src/flags.c. If you set up a macro for testing your flag in 
     137hdrs/mushdb.h, you'll need to change it to use the has_flag_by_name() 
     138function - see the many examples in that file. 
    133139 
    134140If this isn't suitable (you're crossing releases or your hacks are too 
     
    139145C. PennMUSH with a lot of hacks 
    140146 
    141 If you've seriously hacked your server source code, you're on your 
    142 own in terms of keeping up with new patchlevels. Some people apply 
     147If you've seriously hacked your server source code, you're on your own 
     148in terms of keeping up with new patchlevels. Some people apply 
    143149patchfiles and fix the rejected hunks. 
    144150 
     
    147153version of pennmush (e.g. 1.7.4p16) to your hacked version of pennmush 
    148154(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. If 
    150 some patch hunks fail, you'll have to apply them manually. 
     155version of PennMUSH (e.g. 1.8.0p0) to create a hacked version 
     156thereof. If some patch hunks fail, you'll have to apply them manually. 
    151157 
    152158Probably the best approach is to keep all multiple versions of the 
  • 1.8.3/trunk/config.h.in

    r919 r1032  
    6464 
    6565#undef HAVE_SYS_EVENT_H 
     66 
     67#undef HAVE_SYS_UIO_H 
    6668 
    6769/* C99ish headers. The first two are really really nice to have. */ 
     
    166168#undef HAS_CRYPT 
    167169 
    168 #undef HAS_FPSETMASK 
    169  
    170 #undef HAS_FPSETROUND 
     170#undef HAVE_FPSETMASK 
     171 
     172#undef HAVE_FPSETROUND 
     173 
     174#undef HAVE_ISNORMAL 
    171175 
    172176#undef HAS_GAI_STRERROR 
     
    272276 
    273277#undef HAVE_KQUEUE 
     278 
     279#undef HAVE_VALLOC 
     280 
     281#undef HAVE_WRITEV 
    274282 
    275283/* Variables and defines */ 
  • 1.8.3/trunk/configure

    r919 r1032  
    78007800 
    78017801 
    7802 for ac_header in sys/un.h ieeefp.h sys/resource.h sys/event.h 
     7802 
     7803for ac_header in sys/un.h ieeefp.h sys/resource.h sys/event.h sys/uio.h 
    78037804do 
    78047805as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     
    1383613837fi 
    1383713838 
    13838 { echo "$as_me:$LINENO: checking for fpsetmask" >&5 
    13839 echo $ECHO_N "checking for fpsetmask... $ECHO_C" >&6; } 
    13840 if test "${ac_cv_func_fpsetmask+set}" = set; then 
     13839 
     13840 
     13841for ac_func in fpsetmask fpsetround 
     13842do 
     13843as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
     13844{ echo "$as_me:$LINENO: checking for $ac_func" >&5 
     13845echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 
     13846if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 
    1384113847  echo $ECHO_N "(cached) $ECHO_C" >&6 
    1384213848else 
     
    1384713853cat >>conftest.$ac_ext <<_ACEOF 
    1384813854/* end confdefs.h.  */ 
    13849 /* Define fpsetmask to an innocuous variant, in case <limits.h> declares fpsetmask
     13855/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func
    1385013856   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
    13851 #define fpsetmask innocuous_fpsetmask 
     13857#define $ac_func innocuous_$ac_func 
    1385213858 
    1385313859/* System header to define __stub macros and hopefully few prototypes, 
    13854     which can conflict with char fpsetmask (); below. 
     13860    which can conflict with char $ac_func (); below. 
    1385513861    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    1385613862    <limits.h> exists even on freestanding compilers.  */ 
     
    1386213868#endif 
    1386313869 
    13864 #undef fpsetmask 
     13870#undef $ac_func 
    1386513871 
    1386613872/* Override any GCC internal prototype to avoid an error. 
     
    1387013876extern "C" 
    1387113877#endif 
    13872 char fpsetmask (); 
     13878char $ac_func (); 
    1387313879/* The GNU C library defines this for functions which it implements 
    1387413880    to always fail with ENOSYS.  Some functions are actually named 
    1387513881    something starting with __ and the normal name is an alias.  */ 
    13876 #if defined __stub_fpsetmask || defined __stub___fpsetmask 
     13882#if defined __stub_$ac_func || defined __stub___$ac_func 
    1387713883choke me 
    1387813884#endif 
     
    1388113887main () 
    1388213888{ 
    13883 return fpsetmask (); 
     13889return $ac_func (); 
    1388413890  ; 
    1388513891  return 0; 
     
    1392013926  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    1392113927  (exit $ac_status); }; }; then 
    13922   ac_cv_func_fpsetmask=yes 
     13928  eval "$as_ac_var=yes" 
    1392313929else 
    1392413930  echo "$as_me: failed pro