summaryrefslogtreecommitdiffstats
path: root/include/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* - unify give_money in both userlist/g and menu/g.piaip2008-02-261-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3951 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - b_config: more detail hints on user post permission checkingpiaip2008-02-261-0/+1
| | | | | | | - bcache code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3948 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: (exp) new admin interface for regform validation (page mode)piaip2008-02-201-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3931 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add dashc() for file create timepiaip2008-02-101-1/+0
| | | | | | | - remove unused structure git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3907 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change over18 calculation as standalone function, in order user changed ↵piaip2008-01-311-0/+1
| | | | | | birthday. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise passwd_apply() api, prevent use global variable to pass data.kcwu2008-01-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3859 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: add title for AID displaypiaip2008-01-141-10/+12
| | | | | | | | | | - xyz: prevent mmap crash for note_ans - pfterm/screen: add getyx_ansi - fav: add ASKBOARD to new account default favs - record: add setaidfile() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable ncurses 'typeahead' APIpiaip2008-01-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add new toc display/compatibility warning and 0.113 APIpiaip2008-01-101-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3815 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - terminal: add newwin()piaip2008-01-101-0/+2
| | | | | | | - pfterm: fix some bounadry checkings of x range git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3812 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - term: add doupdate() to force refresh even if input queue is not emptypiaip2008-01-071-0/+1
| | | | | | | | - menu: disable talk/chat for non-reg-ok user - bbslua: change bbs.refresh() to doupdate() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3804 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fixed: peek_input keeps waiting for new input. (due to buf control)piaip2008-01-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add more APIpiaip2008-01-061-0/+1
| | | | | | | | - cache: add getutmpmode() - othellow: quick exit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - io: add more control APIpiaip2008-01-051-0/+3
| | | | | | | - bbslua: enable system break git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3788 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - BBS-Lua project: Extend BBS by Lua scripting language.piaip2008-01-041-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3786 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use emaildb interface in user registerwens2008-01-021-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3774 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make Test as macro namepiaip2008-01-021-0/+6
| | | | | | | - general message update and finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3770 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix announce crash bugs (reason: entering a_menu may have different board piaip2007-12-291-1/+1
| | | | | | | than currbid/currboard.) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3754 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow all non-guest user to use myfav (PERM_BASIC)piaip2007-12-281-0/+1
| | | | | | | - add GLOBAL_NEWBIE and GLOBAL_SYSOP to default fav (for new registered user, not empty fav) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3748 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add outstr() to output complete (DBCS-aware) non-ANSI string ↵piaip2007-12-211-1/+2
| | | | | | (non-functional in old screen but works in pfterm) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3719 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change screen APIs to ncurses-like namespiaip2007-12-211-17/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - grayout: API change, from [y,end) to [y,end]piaip2007-12-201-2/+2
| | | | | | | | - feature names change: now HAVE_GRAYOUT - edit ask() changed to vmsg to prevent standout() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3713 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - isolate low level termial i/o api calls, prepare for pfterm piaip2007-12-191-24/+19
| | | | | | | (piaip's flat terminal system) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3710 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - exp: edit/upload now enabled for special boardspiaip2007-12-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3707 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Enhanced AID query UI.mhsin2007-12-171-5/+9
| | | | | | | * Use aidu_t(uint64_t) for AIDus. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3703 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add "fix aloha" for userspiaip2007-12-171-0/+1
| | | | | | | - general message finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Add Article IDentification System(AIDS)mhsin2007-12-171-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3700 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prepare for text-only editingpiaip2007-12-161-0/+1
| | | | | | | - message update for modified post git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3694 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - unify processing clock variable 'now'piaip2007-12-151-0/+1
| | | | | | | - pmore: support time refresh git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3683 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - isolate telnet protocol. moved from mbbsd.cpiaip2007-12-131-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * extract common functions as library.kcwu2007-12-121-41/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3673 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise codekcwu2007-12-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3670 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (msg) fix backslash in stringpiaip2007-12-111-0/+1
| | | | | | | | - hints recommending in non-conditional .DIR - move b_config from bbs.c to board.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3668 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - search: must update SR name to match new DBCS aware searchpiaip2007-12-111-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3663 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen: add grayout systempiaip2007-12-051-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3637 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BRC v3 API changepiaip2007-12-021-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3615 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - sync ptt2 local modification piaip2007-12-011-0/+1
| | | | | | | | - refine post/vote restriction magic code - color in making recommend git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3603 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add move_ansi() to support moving to lines with prior ANSI code.piaip2007-12-011-0/+2
| | | | | | | - general improvement git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* General Update by PttSuggest:piaip2007-12-011-0/+1
| | | | | | | | | | | - 'w' in mail can msg - author in mail header will highlight if online - recommendation message fix - ignore empty input for login - better prompt for empty fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3599 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * save memory, NameList is more like STL's vector nowkcwu2007-10-171-0/+1
| | | | | | | | * fix corner case of fav bug * code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * eliminate warnings according to lxb's commit on pttbbslitekcwu2007-10-011-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise code for entering board.kcwu2007-09-231-0/+1
| | | | | | | * fix board permission. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revise brc interface and its document.kcwu2007-06-121-6/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix last commit -- forgot to check in header file modificationscw2007-05-301-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3524 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * rewrite namecomplete2. Avoid small allocation, e.g. linked list, kcwu2007-05-271-0/+6
| | | | | | | | since some allocator, e.g. dielibc, may not return memory to OS. This saves about 1gb memory for ptt. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3517 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* horoscope flavor birthday cardvictor2007-04-161-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3503 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the bug of the cost of deleting postptt2007-01-181-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* header file changes for the last commitptt2007-01-111-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3472 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug.ptt2007-01-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3467 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix a bug that files' stamp in the same board are not in order.ptt2007-01-071-1/+1
| | | | | | | | | 2. delete user's posts when the id is deleted git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3466 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Automatically delete cross postptt2007-01-061-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Ptt_prints prototype changed, length of input string should be givenvictor2006-12-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missed file in last commitwens2006-10-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3437 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * police logswens2006-09-281-0/+1
| | | | | | | | | * lock article confirmation * change permission of police actions (BMs are not allowed) * remove police info from lock article git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3432 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allocate water[] on demend. Saved about 4400 bytes.kcwu2006-09-171-0/+1
| | | | | | | Only 4%~5% online user of ptt use this feature. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reject bad ips, including tor and bbsnetin22006-06-181-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3373 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use int instead short for bid in favvictor2006-06-041-9/+9
| | | | | | | | Note that fav structure is updated, which will be converted in runtime. (New fav will be $USERHOME/.fav) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3364 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: delete a user called USER from user list also removes others called ↵victor2006-05-171-1/+0
| | | | | | USERetc git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3356 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a simple help page to calendarvictor2006-05-041-0/+1
| | | | | | | take the format of 19XX instead of XX git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3353 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix r3348scw2006-04-241-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3350 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verify userid when sethome path.kcwu2006-03-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3308 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Warning, API semantic changes.kcwu2006-03-231-0/+1
| | | | | | | searchuser() rejects empty userid. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid C++ keywords to make include files C++ friendly.kcwu2006-03-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3279 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. add "cancel bad post" feature.ptt2006-01-041-0/+1
| | | | | | | | | 2. fix bad the bug that user won't get bad post when he is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3260 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* PERMISSION can be changed even if the user is online.ptt2005-11-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add restriction to PERM_VIOLATELAWptt2005-11-151-1/+3
| | | | | | | | | | no chat no write no plan file git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3238 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change bsmtp's prototype since ``method'' is not usedvictor2005-09-181-1/+1
| | | | | | | try to make the temporary, outgoing mail unique git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3191 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* real main text editing.piaip2005-09-151-0/+2
| | | | | | | recommendation/comments are not modifiable now. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3172 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add support to "mark mail as replied"piaip2005-09-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* GO convertion to chess frameworkscw2005-09-111-2/+5
| | | | | | | | | | | | | | * versus, personal and watching all work chess.c framework update * "pass" and "tie request" are distinguished * chess-specific key binding * post-game processing !!!NOTE!!! Chess protocals are NOT backward compatible RESTART WHOLE system to ensure correctness git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous patch.piaip2005-09-081-1/+1
| | | | | | | | and enable pmore as default pager. it's stable enough. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3141 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* partially fix #35piaip2005-09-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3128 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert r3108, fix the problem by bound correction as moving fav instead.victor2005-08-291-2/+0
| | | | | | | (the problem still exists potentially.) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3111 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicit fav entrancevictor2005-08-281-0/+2
| | | | | | | | | | | | | description: 1. A user enters Class of the main menu. Now fav is loaded, and fav_stack[0] is fav root. 2. Go some dir, press 'y'. fav_stack[0] != NULL, so the user WAS in fav tree. 3. press 'a' or 'i' can break the program. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3108 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess functions:scw2005-08-281-0/+2
| | | | | | | | | | | * chc machine readable log - http://www.elephantbase.net/protocol/cchess_pgn.htm - http://www.elephantbase.net/protocol/cchess_move.htm * chc and gomoku replay work * key binding 'z' in pmore() for chess replay * avoid crash when watching (the watchee's mateid is empty) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3105 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* distinguish functions that need item or not, and allow the latter in empty ↵kcwu2005-08-281-1/+1
| | | | | | itemlist. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3098 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' keyword.kcwu2005-08-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3073 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Equivalent config file updatespiaip2005-08-181-2/+1
| | | | | | | | - little/big endian is useless. - DBCSAWARE_* now merged into DBCSAWARE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3056 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen_backup() & screen_restore() update:scw2005-08-171-3/+2
| | | | | | | | | * automatic allocate memory, save cursor location and backup * automatic restore screen, cursor location and free memory * works on screen lessening * no more crash on screen enlarged git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce memory usage by 70 bytes per user.victor2005-08-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3047 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen-resize awareness between screen_backup() and screen_restore().victor2005-08-151-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3038 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Gomoku convertion to chess.c frameworkscw2005-08-151-1/+4
| | | | | | | | | | | | | | | * versus, watching and personal playing * undo function removed due to the restriction of the framework currently chess.c framework update * resign confirm * invited peer can be watched !!!NOTE!!! Gomoku protocal not backward compatible RESTART WHOLE system to ensure correctness git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3036 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug:victor2005-08-131-0/+1
| | | | | | | user's home will not be created after retrieving from backup git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3033 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrate kill-user's codevictor2005-08-131-1/+1
| | | | | | | | bug killed: somethings a new user will be alohaed by friends of previous owner of the same id. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3032 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrate two giving-money codevictor2005-08-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3028 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add proto, msg pretty print, misc updatepiaip2005-08-081-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3011 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New chess frameworkscw2005-08-081-1/+2
| | | | | | | | | | | | | * Provides common parts of all chess games * Chinese chess fully ported * Improved watching * Leaving possibility to implement replaying !!!NOTE!!! Protocal not backward compatible, STOP ALL clients before upgrade. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3002 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article money issue updatespiaip2005-08-061-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2998 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Large Terminal Rulespiaip2005-08-061-0/+2
| | | | | | | New api: *lr family calls are used to pad and fir terminal width. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* large terminal rules.piaip2005-08-061-3/+3
| | | | | | | | | | | | | - vmsg with formats is now vmsgf. - deprecates vmsg_lines = i hope changes in admin does not make trouble because the old way looks like a mess within my terminal. - pending issue: = pressanykey_or_callangel is in oldway = showtitle, msg_seperator, and others should also be fixed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ticket#31, both implemented.piaip2005-07-221-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2937 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2923, proto updatepiaip2005-07-091-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2924 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change to fit bit64 for sob importptt2005-07-081-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2922 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* also fix prototypevictor2005-07-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2918 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* proto update orzpiaip2005-07-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2909 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - multi-signature browsing modepiaip2005-07-031-1/+1
| | | | | | | - song order: quick abort git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Security Updatepiaip2005-07-031-0/+1
| | | | | | | | | | | | (1) **s (Ptt_prints): Only information can be queried by others will be revealed. i.e., **b(birthday), **u(utmp number) will be removed **m(money) will show level messages instead of real number (2) Reply will show as **X instead of converted message (3) Ansi (^V) mode in editor will display as **X. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2878 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. patch of defining BBSENAMEptt2005-06-221-1/+0
| | | | | | | | | | | | 2. chage log format for red envelope 3. remove unused function give_money_log 4. add log for deleting a post. (who delete it) 5. add log for changing basic permission. 6. add log for changing user's password and mail to notify user and witnesses. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better readability.in22005-06-141-1/+1
| | | | | | | | | real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug that END usually gets "no articles" in ALLPOST.piaip2005-06-141-0/+1
| | | | | | | read.c: add HOME to 1st article. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2839 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New DBCS aware: detecting and reversed default valuepiaip2005-06-081-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2803 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: speed up by supporting scroll/rscroll.piaip2005-06-031-7/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2743 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: piaip's new more (pager).piaip2005-06-031-1/+10
| | | | | | | | This is a whole new design to replace old buggy more.c Better searching, unlimited filelength, clean code, ... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2741 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use new cooldown interface in mailwens2005-05-241-0/+3
| | | | | | | make compiler happy git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2735 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix wrong prototype for r2732scw2005-05-241-1/+1
| | | | | | | | | * fix link error without defining USE_COOLDOWN * clean flag in curredit after replying (thanks peter53.bbs@ptt2.cc) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2733 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.kick people before give them ticket.ptt2005-05-061-1/+4
| | | | | | | | | | 2.set bad post -> 1 hour can't post. 3.maxiam 9 post whin 3 min. 4.one ticket for every 5 bad post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2716 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* give a warning if too many subscribed favorites is added at the same timevictor2005-04-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2711 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use macro instead for class_bid recognitionvictor2005-04-181-1/+1
| | | | | | | put class_bid in file scope (board.c) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2696 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* "Bye-Bye Flying Horse" patchpiaip2005-04-081-0/+1
| | | | | | | | | | - a robust and clean TELNET protocol implementation - fixed hz lib (autoconvert) utf8 buffer overflow exploit - enabled term resizing in runtime, and even AYT! - eliminated the flying-horse delay in connecting stage git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2691 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* handle telnet protocol and enable NAWS (resize terminal) capability.in22005-04-081-0/+1
| | | | | | | | SKIP_TELNET_CONTROL_SIGNAL can be disabled now. by piaip git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2690 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile errorkcwu2005-03-201-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2668 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* const qualifierkcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2656 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-146/+146
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning: searchuser() getuser() API change, don't change query string ↵kcwu2005-03-151-1/+1
| | | | | | implicitly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* forget commit this filekcwu2005-03-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2608 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove "proverb" function, which doesn't work for a long timekcwu2005-03-121-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2597 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable xuser into local, save 512 bytes.kcwu2005-03-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable to local, save another 536 byteskcwu2005-03-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2591 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add "cool down" feature for boards.wens2005-03-091-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* able to choose ip to bindwens2005-03-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix dietlibc supportkcwu2005-02-241-0/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2535 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Complete groups as well as boards in m_board()scw2005-02-121-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2504 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from branches/victor.editkcwu2005-02-101-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2488 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace strstr_lower(), which cause buffer overflow with strcasestr()kcwu2005-02-061-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2474 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * In generalnamecomplete(), complete as more as possible when space (' ')scw2005-02-051-2/+14
| | | | | | | | | | | | | | | is pressed. (As what <tab> does in most shell) * In all three completing functions (namecomplete, usercomplete and generalnamecomplete), return null string instead of partial matched name which makes users able to talk/annoy those they are not supposed to talk to (admins or cloaks). * Type of parameters of generalnamecomplete has typedefed and should be clearer. * New macro CompleteBoard and CompleteOnlineUser are defined since most of the usage of generalnamecomplete are the same. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2468 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Missing commit.scw2005-01-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2448 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add TIMET64 for both 4 or 8 bytes time_tin22005-01-271-3/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2438 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use ctime4 for compat on x86_64wens2005-01-251-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-241-14/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Refactoring screen.c and adding function GetCurrentLine().scw2005-01-211-0/+1
| | | | | | | Adding redoscr() and use it in gomoku to reduce refresh size. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2418 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix missing initialization (default is insert mode)victor2005-01-191-1/+1
| | | | | | | fix possible error about anonymous mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* implement basic cp(1), fix "/bin/cp: Argument list too long."victor2005-01-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2393 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add post limits for BM.wens2005-01-071-1/+1
| | | | | | | | rename "do_votelimitedit" to "do_limitedit". rename "zerovotelimit.c" to "zero_limits.c". git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2388 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22005-01-061-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2387 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cdoc finishedvictor2004-12-171-1/+0
| | | | | | | | comments for brc.c, fav.c do not allow a board to be added twice in fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some help pages are showed from filevictor2004-12-021-0/+1
| | | | | | | | more comments remove dirty hack in fav.c since it's safe now git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* added vote board limits for BM using key 'C'wens2004-11-201-0/+1
| | | | | | | fixed no mail alert when replying to board and mail git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unneseccery barrier of poll closingvictor2004-11-181-1/+1
| | | | | | | | remove convertion from old style filename of vote system FIXME comment in assess git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2338 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix file_delete_lineptt.linux@2330ptt2004-11-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2330 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* someone forget commit the change of header files.ptt2004-11-171-1/+1
| | | | | | | int file_delete_line(char *file, char *string, char case_sensitive); git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2329 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Backup screen without hole. Save 8~11kb for normal user.kcwu2004-11-061-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2314 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* feature for SOB users to import accountptt2004-10-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2285 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* modify merge bbs for SOB's boardsptt2004-10-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2281 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* WARNINGvictor2004-10-231-0/+1
| | | | | | | | | revise userec_t structure (enlarge numpost, numlogins, and add column "version") provide util/passwdconverter to help the convertion git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2273 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strip none-big5 char in user's nickkcwu2004-10-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2257 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitkcwu2004-10-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2256 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* trip IAC char in user's nickkcwu2004-10-161-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add __attribute__((__noreturn__)) for the abort functions.scw2004-10-121-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2243 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: when deleting an user, the aloha record won't be deleted.victor2004-09-201-0/+7
| | | | | | | add file: file.c, move some useful subroutine out of friend.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from branch victor.solarisvictor2004-09-101-2/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix chc bug, but still buggyvictor2004-09-091-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2184 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* domain_name_query is changed to cidr formatvictor2004-09-031-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add 'const' qualifiers on functions in stuff.c.scw2004-08-291-12/+12
| | | | | | | Also fix changing of prototypes in r2174. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess country basic things constructing.scw2004-08-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2157in22004-08-051-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2159 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use correct type: size_t/int/long/pointerin22004-07-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use int instead of longin22004-07-301-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* GO game merged from FPG.scw2004-07-041-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2113 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge the branch from ptt.fpgptt2004-07-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2110 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reverting revision 2098 and 2100. These make kernel panic due to out of swap.scw2004-06-291-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2101 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix some compile warning and make error.scw2004-06-291-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2099 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge bbs merge moduleptt.fpg@2092ptt2004-06-261-0/+7
| | | | | | | | usage: make -D BBSMERGE to enable this module git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2091 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. use setupmailusage instead touchmailusageptt2004-06-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2089 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add function define in proto.h to avoid warningptt2004-06-261-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2088 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Angel leaving message.scw2004-06-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2079 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* anonymous posting in innin22004-06-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2069 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-06-111-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2059 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* tell gcc to check formating stringkcwu2004-06-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2057 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strcasestr() is OS dependent functionkcwu2004-06-041-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2052 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix compile error.scw2004-06-041-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2050 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use 'const' keyword to reduce 7904 bytes data segmentkcwu2004-06-041-5/+5
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove prototypes of not exist functionskcwu2004-06-041-42/+4
| | | | | | | use static keyword for local function git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2048 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* discard 1998in22004-05-241-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2019 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge from scw.angel.scw2004-05-241-3/+13
| | | | | | | | *NOTE* Before running this revision, please read PttCurrent board at telnet://ptt.cc or http://scwg.wiki.ptt.cc/-Angel git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add stampfilefd() to avoid race conditionin22004-05-171-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1998 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* in log_file(), use LOG_VF if need to vfprintf().in22004-05-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* safe_delete won't happen when mode_digestptt2004-05-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1918 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update getindex to binary searchptt2004-05-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1903 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update the functionsptt2004-04-301-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1902 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* getindex !!ptt2004-04-301-1/+1
| | | | | | | bad function! cost a lot of io git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change log_file() log_user()ptt2004-04-301-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1890 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* getans -> getdataptt2004-04-291-0/+1
| | | | | | | | getkey -> vmsg_lines git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use old getans()in22004-04-281-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1882 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* modify a little for vmsgptt2004-04-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* two moutsptt2004-04-241-0/+1
| | | | | | | clean one mouts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reoragnize functions ptt2004-04-241-1/+0
| | | | | | | | | mprints, pprints -> mouts remove useless refresh, pressanykey(), sleep,... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless functionsptt2004-04-231-3/+4
| | | | | | | integrate similiar functions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-14/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freevictor2004-04-181-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1779 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for icc 8.0in22004-04-161-166/+166
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1774 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottomptt2004-04-081-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1729 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push_bottomptt2004-04-081-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1719 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd change backptt2004-04-071-3/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1715 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottomptt2004-04-061-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge from brc2 branch.scw2004-04-051-6/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1695 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from outtacache branchin22004-04-041-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1689 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check post perm on demandvictor2004-04-021-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1667 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mmap to cuser get ride of passwd_updateptt2004-03-311-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd update debugptt2004-03-301-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1636 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* faster passwd by lower the lseek.ptt2004-03-301-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix bug when .boardrc full.scw2004-03-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* simplfy append_recordptt2004-03-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1606 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile errorvictor2004-03-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1590 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from victor.symbolic branchvictor2004-03-121-1/+3
| | | | | | | | | symbolic link to board rename something might cause misunderstanding git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1589 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1586 ↵ptt2004-03-121-0/+2
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freevictor2004-02-221-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* subscription should be perform after choice, move some code from board.c to ↵victor2004-02-221-0/+1
| | | | | | fav.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1559 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* SAFE_ARTICLE_DELETE for 'D'in22004-02-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reduce file I/O on .boardrcscw2004-02-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1529 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-02-091-4/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1520 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rm SUPPORT_GB codevictor2004-01-091-3/+1
| | | | | | | | mv protos to convert.c rename Jaky_outs git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1476 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Make the prototype the same as in library.scw2004-01-081-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Missing commit.scw2004-01-051-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1466 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show non-visible board in favvictor2004-01-041-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1457 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* support utf8 convertion, but still buggyvictor2004-01-031-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1456 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove some comment, add static modifier properlyvictor2003-12-251-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1434 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Rewrite strip_ansi() (also move from vote.c to io.c).scw2003-12-241-1/+1
| | | | | | | | Using STRIP_ALL instead of 0 when calling strip_ansi. Fix some buffer overflow problem. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for SAFE_ARTICLE_DELETEin22003-12-151-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1408 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use open() instead of fopen() in log_file()in22003-12-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1405 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22003-12-041-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1395 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge gb branch backvictor2003-11-281-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 't' for admin, add docs/fav4.txtvictor2003-11-221-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1364 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 't' for adminvictor2003-11-221-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1362 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from fav4 brachesvictor2003-11-221-0/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1356 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1336 ↵ptt2003-11-151-0/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1333 ↵ptt2003-11-151-0/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move violate out to bbs.cvictor2003-10-291-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1275 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* completed assessvictor2003-10-161-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1251 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. add feature assessment of article and salevictor2003-10-141-0/+7
| | | | | | | 2. add file pttbbs/util/cleanshm.c to help clean unused var in PASSWD git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use bsearch in login_friend_online()in22003-10-051-0/+2
| | | | | | | | | | save cpu but increase SHM_t (sizeof(short) * MAX_ACTIVE) bytes WARNING: SHM_t has been changed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1212 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1195 ↵(no author)2003-09-221-1/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from my branchvictor2003-09-091-4/+4
| | | | | | | | | merge chc_*.c to chc.c merge gomo1.c into gomo.c add new feature to chc git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1171 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge chc from my branchvictor2003-09-091-17/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1170 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-09-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add get_record_keep().(no author)2003-09-041-0/+1
| | | | | | | | we don't need to open/close the same file every time in title search mode. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1155 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from my branchvictor2003-08-221-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1125 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Fix the bug that sometime after reading old articles, the newer one will bein22003-08-061-4/+4
| | | | | | | | | | | | | set unread. * Remove global variablt brc_name from bourd.c. * Change prototypes of brc_unread, brc_initial, and brc_addlist. Add const modifier. * Add commants in brc_* funtions. by scw git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1085 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from MergeCachein22003-07-201-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1065 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* random signaturevictor2003-07-171-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1056 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* blog supportin22003-05-261-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@903 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* :pbbs2003-05-201-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* search_ulist_userid()bbs2003-05-201-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22003-05-181-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@864 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2003-05-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@857 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for ���L�����o��in22003-04-281-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@811 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* CRITICAL_MEMORYin22003-03-261-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@712 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* MRT mapvictor2003-02-121-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@660 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* critical memory usagein22003-01-191-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* free namelist after using immediatelykcwu2003-01-171-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@624 63ad8ddf-47c3-0310-b6dd-a9e9d9715204