📄 changelog
字号:
(2001/04/20) PS1 - added user variables "connecttimeout" and "newstimeout" which specify how patient nap will be while connecting to a server, and while looking for news about itself. This can alleviate problems with non-responsive servers (because after timing out, nap will move on to the next server on the list). (2001/04/20) PS1 - disallowed downloads from self on result screen - such downloads led to a race condition. (2001/04/19) PS1 - added sorting function to result screen. (2001/04/19) PS1 - removed redundant "num" field from search results. (2001/04/19) PS1 - cleaned up screen switching code, removing some segfaults along the way. (2001/04/19) PS1 - redesigned command history in main screen (2001/04/19) PS1 - removed dependency on endianness in sendpack and recvpack.v1.4.4-ps8 2001/04/19 (2001/04/18) PS1 - improved debugging output (2001/04/18) PS1 - make sure turds are removed on "/quit yes". (2001/04/18) PS1 - made dynamically loaded user library support optional - this is now disabled unless USERCMDS is defined (2001/04/18) PV1 - in dynamically loaded user library code, prefix symbols with "_" on a.out systems, but not on ELF ones. (2001/04/17) PS1 - changed the checksum to include the size of the mp3 data, rather than the file size. This conforms more closely to what the official Napster clients do. (2001/04/17) PS1 - fixed two segfaults - one when pressing Ctrl-T while not on a channel, the other when window too narrow while on a channel. (2001/04/17) PS1 - fixed a cursor positioning bug. (2001/04/17) PS1 - added "turdsize" variable. Any incomplete file of up to this many bytes will be considered a "turd" and removed. (2001/04/17) PS1 - added "incomplete" directory for files that are downloading but not yet complete. Such files will also have the suffix ".incomplete". The suffix is removed, and the file moved to the "download" directory, only if it has been completed. (2001/04/17) PS1 - added Makedist and rpm.spec.in to the distribution. (2001/04/16) PS1 - fixed a bug where the input field of the main screen was not always redrawn after a command.v1.4.4-ps7 2001/04/16 (2001/04/15) PS1 - nap now checks online for new releases and alerts the user to upgrade. This can be turned off with nonews=1. (2001/04/15) PS1 - fixed the /tquit command - it now actually works. Its effect can be undone with /reconnect. (2001/04/15) PS1 - fixed up return values of user commands, and removed some potential segfaults. (2001/04/15) PS1 - do not create a download list entry if local file cannot be opened. (2001/04/15) PS1 - moved hotlist file to home directory. (2001/04/14) PS1 - fixed Ctrl-C so that it can break a nested loop (2001/04/14) PS1 - made /loadalias, /alias, and /unalias more flexible. It is now possible to re-define an alias without first deleting it, and /loadalias will no longer create duplicates. (2001/04/14) PS1 - added "savepass" option, which, if set, causes nap to store passwords in the config file. (2001/04/13) PS1 - reorganized sources - spun off event.c from nap.c (2001/04/13) PS1 - added some keybindings to main window: Ctrl-A and Ctrl-E for beginning and end of line, Ctrl-K for kill after point, Ctrl-D for delete at point, Ctrl-N for PgDn, Ctrl-P for PgUp, Meta-DEL for deleting word before point. (2001/04/13) PS1 - fixed Ctrl-L (screen refresh) so that it really redraws the entire screen from scratch. (2001/04/13) PS1 - added a check to prevent duplicate uploads of items already in the upload list. (2001/04/13) PS1 - replace double quotes by single quotes when chatting, since double quotes confuse napster (2001/04/13) PS1 - the user variable "autoreply" can now be set to a string which will be used as an automatic reply to messages from remote users. This may be useful when running non-interactively. (2001/04/13) PS1 - added --nobuild option to prevent building the library. (2001/04/13) PS1 - all user variables can now be set on the command line with the --option option. (2001/04/13) PS1 - fixed bug which prevented password from config file from being be used. (2001/04/13) PS1 - made IP address resolution independent of endianness and word size. (2001/04/12) PV1 - code cleanup; deleted some unused variables, fixed #includes, as reported by -Wall.v1.4.4-ps6 2001/04/12 (2001/04/12) PS1 - fixed bug which prevented config file from being created.v1.4.4-ps5 2001/04/12 (2001/04/12) PS1 - fixed an old bug which caused nap to freeze sometimes when switching back and forth between main screen and result screen with F1/F2. (2001/04/11) NBL - fixed some bugs in optional queueing code. (2001/04/11) PS1 - removed lists.c and fixed some bugs regarding hotlists. (2001/04/11) PS1 - added /loadchannels and /savechannels commands (2001/04/11) PS1 - fixed bug which starved user input and server during an upload (2001/04/10) PS1 - changed library file format to allow nap to automatically rebuild the library when necessary on startup. (2001/04/10) PS1 - closed security loophole which allowed remote clients to access non-shared files. (2001/04/10) PS1 - better error messages for "newbie" errors - suggest starting commands with "/", and using /help. (2001/04/10) PS1 - unified the concepts of user variables, command line options, and config file options. Create config file if none exists.v1.4.4-ps4 2001/04/09 (2001/04/09) PS1 - fixed fatal bug in v1.4.4-ps3 which prevented all uploads. Immediate bugfix release. (2001/04/07) PS1 - started matching command line parameters with user-settable variables. (2001/04/07) PS1 - reorganized sources - spun off winio.c from nap.c (2001/04/07) PS1 - improved resizing behavior of main and results screens, fixing some segfaults along the way. (2001/04/07) PS1 - automatically scroll to bottom on output on main screen. This can be turned off by /set noscroll 1. (2001/04/07) PS1 - added control over information that appears on result screen: new keys 'a', 'b', 'l', 'm', 'f', 'u', 's', 'p'. Also changed behavior of PgUp and PgDn keys. (2001/04/07) PS1 - changed behavior of md5 hash to conform to that of other clients. (2001/04/07) PS1 - fixed ID3 sharing bugs (#211841) - the ID3 header size was calculated incorrectly in some cases.v1.4.4-ps3 2001/04/04 (2001/03/30) NBL - added functions that respond to 609 (0x261) "accept failed" and 620 (0x26c) "queue limit reached" messages from server. Currently also only accessible via preprocessor flag QUEUE. (2001/03/30) NBL - /pdown shows which clients are firewalled (2001/03/30) NBL - additional error reporting, and additional comments in code; reorganized packet codes (2001/03/30) NBL - pressing 'u' on an item in the search results screen will show nickname of user offering the item (2001/03/30) NBL - fixed bug in numbering of results if "/set noresultscreen 1" (2001/03/30) NBL - fixed "percentage completed" calculation in case of a "resume". It now shows the percentage of the total file. (2001/03/30) NBL - added ability to queue downloads. Download only one file per user at a time, but automatically start the next one when one finishes. Also added /forceq command to deal with stuck queue items. (Experimental - define preprocessor flag QUEUE to include this patch). (2001/03/30) NBL - fixed ID3 download bug (2001/04/03) PS1 - removed static up/download limits (2001/04/02) PS1 - renamed "maxusers" as "maxuploads" (2001/03/28) PS1 - added User Guide (2001/03/27) PS1 - added RPM distribution (2001/03/26) PS1 - experimental list macros (2001/03/26) PS1 - disallow concurrent uploads of same file by same user. This was the cause of unexpected segfaults. (2001/03/26) PS1 - close some files that were left open v1.4.4-ps-2 2001/03/24 (2001/03/12) GT1 - OpenBSD patches: updated getopt, made configure check for curses, and include <netinet/in.h> under OpenBSD. Nap should now compile "out of the box" on OpenBSD.v1.4.4-ps-1 2001/02/28 (2001/02/28) PS1 - problem: if the specified port is busy, nap goes into firewall mode. fix: allow user to specify a port range, rather than just a single port. By default, use ports 6699-6799. (2001/02/27) PS1 - fixed bug #214363: /d command takes (n-x) instead of x as arg (2001/02/27) PS1 - fixed bug #215003, single file can't be downloaded by hitting return (2001/02/26) PS1 - applied modified patch #401946 by Ville Aikas: fix bug #116254, segmentation fault (2001/02/26) PS1 - applied modified patch #403468 by christoph hebeisen: use 32-bit integer type for host addresses (improved: use configure script to figure out which type to use) (2001/02/26) PS1 - applied modified patch #403480 by Anonymous: display total count of mp3's in search or browse screen (2001/02/26) PS1 - fixed null pointer bug in nap.cv1.4.4-ps-0 2001/02/24 (2001/02/24) PS1 - renamed config file to .napconf, since .naprc was already taken. (2001/02/24) PS1 - fixed bug in config file handling: now only complain about non-existing file if the filename was explicitly given (2001/01/28) PS1 - fixed many memory leaks in nap.c, coming from excessive use of malloc for character arrays. Replaced these by stack-allocated arrays where possible. (2001/01/28) PS1 - fixed bug where uploads and downloads were deleted by their username and filename fields: this sometimes caused the wrong one to be deleted if some user requested two copies of the same file, resulting in a segmentation fault. (2001/01/28) PS1 - fixed several instances where members of a struct were accessed after the struct was free()d. (2001/01/27) PS1 - added the ability to give multiple --server options, and remember servers given for later /reconnect commands. Also, if more than one server is given, we go through the list in trying to connect, even if no -r option is given. The -r option then causes us to cycle back to the beginning of the list (leading to an infinite loop). (2001/01/27) PS1 - added an --autorestart option which automatically reconnects to a server when the connection was lost. This is useful when running in --daemon mode, since the Napster server usually disconnects after a day or so. (2001/01/27) PS1 - Print IP address and port of server whenever a connection to a server is established. This is useful for debugging in --daemon mode, since we can log this info to a file. We can then log into the same server and try to establish a connection to the client being debugged. (2001/01/20) PS1 - added POSIX-style long options. (2001/01/20) PS1 - added --version option to check version of nap without running it. (2001/01/20) PS1 - added --daemon option to run quietly without user interface. This will allow users to share their files by running nap in the background as a "nohup" process. (2001/01/20) PS1 - look for config and library files in user's home directory, rather than current directory. Also, renamed these files more discreetly as .naprc and .nap_shared. (2001/01/20) PS1 - improved certain error messages by printing more specific information. (2001/01/20) PS1 - added --user, --pass, --email, --upload, --download, --dataport, --connection, --maxusers options to override settings in config file. (2001/01/20) PS1 - handle missing config file or missing values by prompting user or guessing a default, rather than by giving up. (2001/01/20) PS1 - allow more flexible format for config file: allow blank lines, and whitespace at beginning and end of line, and before and after '='. Do not quit on ill-formed lines. (2001/01/20) PS1 - fixed a security bug (string format attack): calls to sendpack(a, b, c), where c is not a constant string, must be replaced by sendpack(a, b, "%s", c). This is because in some contexts, c may contain arbitrary data (such as filenames), and by embedding '%' characters in c, a cracker could gain access to any data on this process's evaluation stack, including passwords etc. I found this bug in a posting by gregory duchemin <c3rb3r@HOTMAIL.COM> to BUGTRAQ@SECURITYFOCUS.COM, archived at http://www.shmoo.com/mail/bugtraq/sep00/msg00942.shtml.v1.4.4 2000/09/08 no ChangeLog available past this point.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -