📄 changelog
字号:
CHANGES:v1.5.3 2004/05/06 (2004/05/06) PS1 - use new default metaserver URL. (2004/05/06) PS1 - send "\r\n" instead of "\n" to web servers. (2003/06/21) PS1 - fixed bug #758320: segfault on terminal resize in daemon mode. (2003/06/21) PS1 - include config.h in defines.h (2003/06/02) PS1 - removed unused include file dlfcn.h. (2003/06/02) PS1 - To compile under OSX, added socklen_t substitute to defines.h. (2003/06/02) PS1 - To compile under gcc-3.1, removed 2 occurrences of a label at the end of a block. v1.5.2 2003/05/31 (2003/05/29) PS1 - removed multiline string constants to please gcc-3.3. (2003/02/08) PN1 - added forgotten fclose() in library.c:read_library_file(). (2003/01/12) PS1 - added drw() call to /update, /rebuild. (2002/12/12) PS1 - added timeouts to nap.c:makeact(). (2002/12/12) MDZ, PS1 - added user variable "identity" for setting a fake client id string, for fooling servers that refuse connections from nap clients. Usage e.g. -oidentity="WinMX 1.0". (2002/12/10) PS1 - renamed F_* preprocessor variables to NAP_* to avoid conflicts with fcntl.h. v1.5.1 2002/12/09 (2002/12/09) PS1 - added --noserver option to enter nap interactive mode without connecting to a server. (2002/12/08) PS1 - tweaked autoconfiguration to compile "out of the box" on solaris systems with ncurses. Also dropped autoconf support for curses, since it never worked anyway. (2002/12/08) PS1 - dropped obsolete scripts from distribution and userguide. (2002/12/08) PS1 - dropped sigpipe debug code in event.c:sfile(). (2002/12/08) PS1 - dropped support for "napster-style" meta-servers in nap.c:conn(), since these no longer seem to exist. Instead, if no port given, connect to port 8888 by default. (2002/12/08) PS1 - added "nomasq" user variable; if set, it prevents filename masquerading. (2002/12/08) PS1 - implemented filename masquerading. Instead of sending a full path name to the server, use something like /1/localpath/filename. This prevents leaking information about our shared path, such as our real username, to the world. New functions library.c:masquerade and unmasquerade. (2002/12/08) PS1 - moved ud_basename() from cmds.c to scmds.c, and elmiminated unnecessary calls to it in snacc and sget. (2002/12/07) PS1 - added USR1 signal to man page and userguide. (2002/12/07) PS1 - added new /search options: -x for excluding a keyword from the search, -d for limiting the duration in seconds, and -t for specifying a filetype among audio, video, text, image, application, mp3, or any. (2002/12/07) PS1 - added man page, based on that written by MDZ. (2002/12/07) PS1 - shared file list is now sent to the server in the background. (2002/12/07) PS1 - moved library handling code to a new source file library.c (2002/12/07) PS1 - turned off MD5 hashing by default. Since most servers do not use the hash anyway, it is a waste of time to compute them. Added a user variable "hash" which, if set, enables hashing. (2002/12/07) PS1 - added typecasts to match format strings ("%lu" etc). (2002/12/07) PS1 - added vasprintf to functions monitored by memwatch. (2002/12/07) PS1 - fixed checksum length to 300032 once and for all, eliminating the 299008 possibility. (2002/12/07) PS1 - changed library rebuilding code so it does not re-read file stats that are already known. This can vastly speed up "library building". (2002/12/06) PS1 - moved sources to src directory (2002/12/06) PS1 - fixed alias.c:loadsets() to allow arbitrary line length in config file. (2002/12/06) PS1 - event.c:gfile(): close socket as soon as download completes, rather than waiting for the remote client. (2002/12/06) PS1 - fixed memory bug in event.c:gfile() (task->lfn was used after it was freed). (2002/12/06) PS1 - replaced old cmds.c:upchan() function with new functions nextchan() and delchan(). (2002/12/06) PS1 - added missing free() to nap.c:set_defaults_interactive(). (2002/12/01) PS1 - changed getopt() behavior in cmds.c:dsearch() to not permute arguments. (2002/12/01) PS1 - added help messages for /conf, /reload, /sraw. (2002/12/01) PS1 - fixed bug in cmds.c:parseout() where strcpy was used for overlapping regions. (2002/12/01) PS1 - fixed Slavanap 2.3.0 incompatibility: removed whitespace at end of "search" command. Thanks to Michael Pritchard for figuring out what the problem was. (2002/08/28) PS1 - changed usage message for -s option to sv:port (2002/06/02) PS1 - removed unused code from cmds.c and timer.c. (2002/06/02) PS1 - fixed bug 552385, crash on some .ogg files. (2002/06/02) PS1 - renamed getline() to nap_getline() to avoid clash with the glibc function of the same name. (2002/06/02) PS1 - Added files missing.c/missing.h to supply some library functions if they are missing (including code from MVB). (2002/06/02) PS1 - changed autoconf to use config.h file. (2002/06/02) PS1 - Added autoconf tests for strcasestr and vasprintf. (2002/05/01) MVB - Fixed double quotes in /me command. (2002/04/16) PS1 - replaced buggy function vmsprintf by equivalent libc6 function vasprintf (fixes segfault on powerpc). Thanks to MDZ for help with finding and fixing this bug. (2002/04/15) MVB - Dropped MCURSES support. We (me and PS1) have no idea what it was supposed to do. (2002/03/30) PS1 - added autoconf tests for socklen_t and hstrerror() to suit cygwin and older libc5 systems. (2002/03/26) MVB - Created /unhotlist alias for /unnotify, for consistency. (2002/03/16) MVB - Documented /handler command a bit. (2002/03/13) MVB - Set SO_KEEPALIVE on most sockets. We will now get a timeout when a server or client silently disappears. (Although it may take an hour or longer, depending on your TCP/IP stack.) (2002/03/05) RPB - changed order of #include files to be less noisy on freebsd. v1.5.0 2002/03/02 (2002/03/02) PS1 - if file can't be moved to download directory, attempt to remove "incomplete" suffix anyway. (2002/03/02) PS1 - added C-l, C-p, C-n, C-v keybindings to dlul screen. (2002/03/01) MDZ - fixed bug that sometimes caused creation of .nap directory to fail - check return value of stat(). (2002/02/26) PS1 - changed message in dquit(). (2002/02/26) PS1 - added 'f' keybinding to dlul screen for force. (2002/02/26) PS1 - added http proxy support. User variable "proxy" holds proxy URL, e.g. http://proxy.mydomain.com/ (2002/02/26) PS1 - do not prompt user for password and email; just make them up. (2002/02/25) PS1 - Changed field names of search_t. Fixed "retry" command not to allow duplicate downloads. Changed 'P' command to act separately for uploads and downloads on dlul screen. (2002/02/25) PS1 - fixed status line scrolling and command history, added C-k and C-g key bindings, fixed non-printable character handling in getline.c. Edited dlul status messages. Did a -Wall cleanup. Fixed scrolling on dlul screen. Added 'o' and '\n' key bindings on dlul screen. (2002/02/24) PS1 - added error handling to dynamic string library, fixed vsnprintf bug. (2002/02/18) SMS - Generic modules dynstr.[ch] (growable strings) and getline.[ch] (display-independent readline-like functionality, uses dynstr) added (2002/02/18) SMS - Status line code modularized into status_line.[ch]; uses dynstr and getline (2002/02/18) SMS - Status line now scrolls by screenfulls instead of by character. (2002/02/18) SMS - Added download/upload monitor screen: up/down to scroll cursor, M-up and M-down to move between ul and dl sections, 'd' to delete task under cursor, 'r' to retry download under cursor, 'R' to retry all, 'P' to purgeup and purgedown. (2002/02/18) SMS - Added ability to enter a new search directly from results or dl/ul screen (type <space> to activate) (2002/02/18) SMS - Added '/' command to results and dl/ul screens; takes user back to the main screen and starts a new command (2002/02/18) SMS - Expanded screen switching keybindings: F1-F3, M-1 thru M-3, as well as <tab> to switch between the results and dl/ul screens. (2002/02/18) SMS - Status-line help text expanded to cover all new keybindings (2002/02/18) SMS - Added repeatable timed events (/repeat [min:sec] [cmd]) and a command to delete a timed event (/dtimer [num]) (2002/02/18) SMS - Fixed a bug in cmds.c:usage(). The strchr(help, '-') test was twigging on dashes in the usage text (such as "[-b>bitrate]"). Changed to search on strstr(help, " - ") instead. (2002/02/11) RPB - changed order of #include files to be less noisy on freebsd. (2002/02/11) SP1 - fixed a typo in the online help for "/search". v1.4.9 2002/02/09 (2002/01/30) PS1 - reversed the change of 2002/01/24: it turns out, the popular (but annoying) WinMX client does not conform to the napster protocol and always claims its upload limit is 0, even when it is not. Thus, we are forced to remotely queue the item anyway, as much as we'd rather not. v1.4.8 2002/01/28 (2002/01/28) PS1 - changed some occurrences of "fn" to "task->fn" in scmds.c:snget and such. Still probably need some more quotes. (2002/01/28) PS1 - mapped "autorestart" command line option to a user variable. (2002/01/28) PS1 - feature request 503989: if there is already a remotely queued item by a user, do not bother to reqeuest item; rather, remotely queue it immediately. (2002/01/28) PS1 - better help message for /pdown [filter]. (2002/01/27) DSE - use new napigator meta-server, since the old one went down. The new servers have a different URL and a different format; also there are two of them. This patch can read both the new and old formats, and it picks one of the two meta-servers randomly. (2002/01/24) PS1 - when receiving "queue limit" message from remote client, but their upload limit is 0, don't bother "remotely queueing" the message - just fail it immediately. (2001/12/14) PS1 - added SIGUSR1 signal handler which causes nap to reconnect to a server. (2001/12/14) MC1 - fixed a bug (or rather, worked around an ncurses bug?) where keys were not mapped properly after Ctrl-Z. (2001/12/05) PS1 - modified /fup and /fdown command to finger only once per user, if multiple up/downloads by the same user. (2001/12/05) MC1 - added /fup and /fdown commands to finger a user or range of users from the up- and download lists. (2001/12/03) PS1 - fixed horizontal scrolling of status line in search result screen. (2001/11/30) PS1, MC1 - fixed bug in ogg sharing code which messed up the shared library in some cases. v1.4.7 2001/11/11 (2001/11/10) PS1 - fixed open_url to work with virtual hosts. (2001/11/10) PS1 - changed the way news about new releases is displayed during startup: there will now be an option "don't prompt again". (2001/11/10) PS1 - fixed display of current channel name which used to show up too late. Fixed /part command to allow user to omit leading '#' on channel names. (2001/11/10) PS1 - changed the way -s flag is handled - this no longer sets nometa explicitly. (2001/11/10) PS1 - ignore SIGPIPE *before* connecting to server, as some servers can cause a broken pipe. (2001/11/10) PS1 - changed behavior of boolean user variables: now any non-zero number is "true", and 0 and non-numbers are "false" [previously, 1 = true, not 1 = false]. (2001/11/10) PS1 - added nvar_default call. (2001/11/10) PS1 - fixed display of lastlog command. (2001/11/10) PS1 - re-implemented main scroll in winio.c to be more memory efficient. Also added scrollsize user variable to limit the size of the main scroll; default is 10000 lines. Improved behavior of PgUp and PgDn keys. (2001/11/09) PS1 - added autopurgeup and autopurgedown variables, which work like autopurge, except for uploads and downloads separately. (2001/11/09) PS1 - improved timeout and interrupt while logging into a server. There are some servers which will accept a connection but then send no response to our login request. This used to cause nap to hang. (2001/11/08) PS1 - eliminated a segfault that resulted from a double free() in checkhotlist. (2001/11/08) PS1 - fixed bug where downloads would fail with
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -