summaryrefslogtreecommitdiffstats
path: root/include/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* Post and money update:scw2008-11-161-0/+1
| | | | | | | | * no money for posts on boards without BM * BM and self deleting posts decrease number of posts regardless of login git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move stamp* to common library, with weak symbolswens2008-06-191-3/+0
| | | | | | | | Remove stamplink Header file cleanup git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Rewrite namecomplete2 using visio APIwens2008-06-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4375 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add const modifierwens2008-06-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove unused code.wens2008-06-161-9/+0
| | | | | | | Use visio API to display prompt. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4372 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ToggleNameList like function for Vectorwens2008-06-161-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4361 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use general Vector_*.wens2008-06-151-1/+1
| | | | | | | include/proto.h in last commit should be in this one :( git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4359 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove declarations.wens2008-06-151-5/+0
| | | | | | | Add extern. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4358 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* partial fix dietlibc supplemental librarywens2008-06-131-11/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4352 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move BBS non-related functions to independent librarywens2008-06-131-11/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4350 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve reg-email check procedure and error messagepiaip2008-06-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent wrong email test on multiple '@'s.piaip2008-06-041-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4336 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change 86400/... (seconds of day/month/...) to named constants.piaip2008-05-101-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4284 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve give_money process and red_envelop writing procedure.piaip2008-05-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4277 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refine: separate inner_send APIpiaip2008-05-071-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4276 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix: guests should not get announce sub-op, and sub-op should not have BM ↵piaip2008-04-241-1/+0
| | | | | | permission. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4239 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) refine visio callback piaip2008-04-241-1/+0
| | | | | | | - (internal) move utility function to name.c, prepare for isolation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4238 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - ZA: simple workaround to prevent Ctrl-U re-entrant issuepiaip2008-04-231-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4237 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add 'top boards' in ZA selection.piaip2008-04-201-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4211 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make ZA system complete.piaip2008-04-191-0/+4
| | | | | | | - elimiate minor warning git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable large terminal for menu and menu_movie.piaip2008-04-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4200 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) export osdep from cmsys, fixing bbsctl linking errorpiaip2008-04-191-6/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4196 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) getans -> vanspiaip2008-04-171-2/+0
| | | | | | | - (internal) update license git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) visio: add vgetspiaip2008-04-171-5/+8
| | | | | | | | - (internal) add key name KEY_BS2 - (internal) move getDBCSstatus to DBCS_Status git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change sender address of auto forward to forwarder, to prevent confusion ↵piaip2008-04-161-1/+1
| | | | | | | | | caused by incorrect forward settings. - (internal) change bsmtp to allow assigning from address git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) migrate more code to visio API.piaip2008-04-151-6/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4168 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change API names to visio format: stand_title -> vs_hdr.piaip2008-04-151-3/+0
| | | | | | | - mouts -> (curses style) mvouts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refine - improving visio systempiaip2008-04-151-10/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add calendar in login viewpiaip2008-04-131-2/+2
| | | | | | | | - add color help in calendar help - change param of more path to const git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4157 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: move cursor when leaving same board.piaip2008-04-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4149 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (internal code refine)piaip2008-04-121-9/+3
| | | | | | | | - drop deprecated EDIT_ITEM, standout(), standend() - replace outmsglr() with vfooter(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4147 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: fix incorrect display position for ESC_STAR variables in vertical ↵piaip2008-04-121-1/+2
| | | | | | | | | scrolling. - pmore: put sample expand_esc_star into source for better porting. #define HAVE_EXPAND_ESC_STAR to define your own. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4135 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) vedit should not change input parameter.piaip2008-04-101-2/+2
| | | | | | | - (internal) prepare to disable mail auto forwarding git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4127 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - restrict VIOLATE_LAW cross-postingpiaip2008-04-091-0/+1
| | | | | | | - add owner/delete in SAFEDEL title as log git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4118 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change Ptt_prints to better function: expand_esc_starpiaip2008-04-091-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4108 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) add some Maple-3 API interface to help portingpiaip2008-04-081-7/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4099 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - regform: enable kick-out mechanism for regform systempiaip2008-04-041-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4078 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - support anonymous commenting for angel system (use with caution - define ↵piaip2008-04-031-1/+1
| | | | | | ANGEL_ANONYMOUS_COMMENT to enable) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4073 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change mail/log to specific API.piaip2008-04-031-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4070 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - angel: allow user to call paged rejnew angel in hh mode, even if angel has ↵piaip2008-04-031-1/+3
| | | | | | not really replied. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4069 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - angel system: extend pager modes to 3 types (accept, reject new, reject all)piaip2008-04-021-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4064 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - logging regform validation results to specific board (BN_ID_RECORD)piaip2008-04-011-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4058 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) enable building utmpserverpiaip2008-03-311-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - drop angel_reject features (requested from okcool@ptt)piaip2008-03-311-3/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4050 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make regform2 complete by upgrading scripts.piaip2008-03-291-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4035 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) move UTIL_C API from mbbsd/stuff to cmbbs.piaip2008-03-271-20/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) moving more bbs-independent code to utility library.piaip2008-03-261-10/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4023 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) drop deprecated old OS support. focus on modern Linux/FreeBSD now.piaip2008-03-261-27/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix user over18 display in admin's user_display.piaip2008-03-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - removed indict, because there's no any reason to keep those out-dated data.piaip2008-03-111-4/+0
| | | | | | | | - removed MRT map because it is not a real 'search' tool. - removed 'search' in P menu because there is no useful stuff in it. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3990 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: Regform2 API prototype (for concurrent registration form ↵piaip2008-03-081-2/+6
| | | | | | | | | | validation) [not applied yet] - file/passwd/assess: API finetune - menu: menu item finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3975 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user/chicken: enable sysop toggle chicken-deathpiaip2008-03-061-2/+2
| | | | | | | - mail: UI message finetune, prevent 'mail-folder' for non-authorized users git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: enable PK with new mmap stylepiaip2008-03-061-0/+1
| | | | | | | - userec_t: comments for deprecated chicken data git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3969 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: move chicken data to user directory, with mmap based synchronization.piaip2008-03-061-7/+7
| | | | | | | | - WARNING: PLEASE RUN upgrade/r3968_chicken.c TO MIGRATE USER CHICKEN DATA. - YOU NEED TO RESTART BBS FOR THIS PATCH. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - 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