summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
Commit message (Collapse)AuthorAgeFilesLines
* prevent BM accidentally removed post notes (suggest by GeniusKiKi@PttCurrent)piaip2009-05-181-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4453 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add 'l' key for entering boards in boardlist.mhsin2009-01-141-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4427 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* No unread status for lines and folders in favoritesscw2008-11-231-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4423 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use general Vector_*.wens2008-06-151-5/+5
| | | | | | | 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
* - board: show vote limitation for VOTE_BOARDs.piaip2008-06-041-10/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4337 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: alert when replying to board fallbacks to reply-mail.piaip2008-05-161-1/+3
| | | | | | | | - board: prevent showing groups in 's' of boardlist. - register: fix too old/too young error string git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4312 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change 86400/... (seconds of day/month/...) to named constants.piaip2008-05-101-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4284 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: shrink search_board input textbox sizepiaip2008-04-291-1/+1
| | | | | | | | - menu: improve message - chat: check again permission git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4256 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Police should be able to enter BM boardspiaip2008-04-241-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4240 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix: guests should not get announce sub-op, and sub-op should not have BM ↵piaip2008-04-241-2/+2
| | | | | | permission. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4239 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (mail) more hints and check on auto-forward settingspiaip2008-04-221-1/+5
| | | | | | | - (board) hints on Ctrl-S to search for local boards git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4231 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code refine: use ANSI_REVERSE to replace ANSI_COLOR(7), more meaningful.piaip2008-04-221-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add 'search only for local boards' back in Ctrl-S.piaip2008-04-221-0/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4227 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine key processing of CR(C-M), LF(C-J), BS(C-H), BS2(0x7f)piaip2008-04-211-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - drop push_bottom warning in mailboxpiaip2008-04-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4214 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - notify BM for new b_config (edit board ctitle).piaip2008-04-201-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4212 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add 'top boards' in ZA selection.piaip2008-04-201-1/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4211 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board_config/edit_title (Bb): only log if user really changed title.piaip2008-04-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move 'B' (edit board title) to 'b' in board_config (i/I), and B now also ↵piaip2008-04-201-5/+24
| | | | | | | | | | activates board_config (B/i/I). This helps to work in compatible with M3 hotkeys. - add '_' key binding (M3) for push_bottom (^X now) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4209 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make ZA system complete.piaip2008-04-191-2/+10
| | | | | | | - elimiate minor warning git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** PASSWD CHANGE *** PLEASE READ UPDATING FOR DEFAILT INFORMATION.piaip2008-04-191-4/+1
| | | | | | | | | YOU NEED TO SHUTDOWN BBS TO PREPARE THIS CHANGE. - split justify to career and phone - prevent padding in structers that wil be written to disk git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4194 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) fix board parameterpiaip2008-04-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4190 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - give_money: message refinepiaip2008-04-181-13/+3
| | | | | | | - (internal) board: code and message refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4184 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) getans -> vanspiaip2008-04-171-8/+8
| | | | | | | - (internal) update license git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change API names to visio format: stand_title -> vs_hdr.piaip2008-04-151-4/+4
| | | | | | | - 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-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix loginview crash (having NULL entries)piaip2008-04-131-0/+3
| | | | | | | - make aligned comments as exp feature git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4159 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add aligned format of commentspiaip2008-04-131-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4158 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refine: change [200] to [PATHLEN], [STRLEN], or [ANSILINELEN].piaip2008-04-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: add group search for 's'.piaip2008-04-131-11/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4150 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: move cursor when leaving same board.piaip2008-04-131-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4149 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - visio: add vbar and varf, better l-r API.piaip2008-04-131-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4148 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) use new visio/vfooter() API to display footerspiaip2008-04-121-12/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: change 's' in board to do global search, more like other 's'.piaip2008-04-121-33/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4139 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (board) improve restriction display in board_configpiaip2008-04-031-24/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4071 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compiler warningspiaip2008-03-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4047 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (experimental) mask ip(fromhost): USE_MASKED_FROMHOSTpiaip2008-03-291-1/+4
| | | | | | | - board: make 'w' (save_brc) more user friendly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4039 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - expiring user after board set to hidden state.piaip2008-03-291-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4037 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix syntax for old c compiler.kcwu2008-03-271-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4029 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board_config: many people get confused about "one month", let's display ↵piaip2008-03-261-3/+7
| | | | | | "30 days" instead. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4021 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine board_config display (prevent garbage restriction display)piaip2008-03-251-4/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4019 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - BM should have permission, even over18. Also we prevent over18 BMs setting ↵piaip2008-03-101-6/+11
| | | | | | this property. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3983 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: 's' - remove the global search after empty input (because we cannot ↵piaip2008-03-081-2/+11
| | | | | | really enter board yet). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3979 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more: change 's' to 'select-board' instead of 'search'.piaip2008-03-061-4/+7
| | | | | | | - board:enable 'd' to remove myfav entries. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3971 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - message improve: mark for recommend restrictionpiaip2008-02-291-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3953 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - b_config: prompt fine-tune, reducing unnecessary messagespiaip2008-02-261-28/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3949 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - b_config: more detail hints on user post permission checkingpiaip2008-02-261-11/+14
| | | | | | | - bcache code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3948 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: comment on symlinkpiaip2008-02-211-0/+1
| | | | | | | - admin: code-refine for new admin regform validation. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3934 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: add more colors to hot-boardspiaip2008-02-041-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - dice: no longer supportedpiaip2008-02-041-3/+3
| | | | | | | | - pfterm: more safe check - board: output message finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3899 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: enable changing to MyFavorite in HotBoardspiaip2008-01-301-1/+1
| | | | | | | - bugfix: snprintf() on UNIX takes directly sizeof(buf) and always append NUL. Warning: Windows port will not output NUL if truncated. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3883 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: make cursor default position before .DIR.bottom articlespiaip2008-01-291-2/+4
| | | | | | | - board: yank shall not work outside myfavorite. 'addfav' should not work outside myfavorite. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3882 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: hinting on SYSOP permission update of setting emailpiaip2008-01-281-1/+1
| | | | | | | | | - register: improve new-account process - bbs: hints on hotkey change(H) - board/fav: make TAG bits more meaningful. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3876 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: revert back with traditional stylepiaip2008-01-261-3/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3871 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add iolimit() apipiaip2008-01-261-6/+16
| | | | | | | - board: remove the const name "MyFavFolder" git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3869 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise menu.c code.kcwu2008-01-261-4/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine limit edit sourcepiaip2008-01-081-13/+33
| | | | | | | - move M (maintain vote) to integrated board config git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3806 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow all non-guest user to use myfav (PERM_BASIC)piaip2007-12-281-200/+215
| | | | | | | - 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
* - grayout: API change, from [y,end) to [y,end]piaip2007-12-201-1/+1
| | | | | | | | - 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
* - general message update and optimizationpiaip2007-12-171-1/+1
| | | | | | | - change search_num() to getdata(), allow unified control git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - optimize big I formatting piaip2007-12-171-96/+83
| | | | | | | - disable mail pre-check permission until someone fix it git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move more BM management keys to integrated b_configpiaip2007-12-161-11/+186
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3696 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix b_config lines calculationpiaip2007-12-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3692 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* general message fix:piaip2007-12-161-8/+26
| | | | | | | | - report board postmask info in b_config - reduce message bar for pager status git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3690 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message fixpiaip2007-12-161-0/+1
| | | | | | | | | - screen: force dirty of ANSI escapes - bbs: isolate the process of making 'modification' to .DIR with recommends and edit_post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3685 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable cross-post requirement if AUTO_CPLOG onpiaip2007-12-151-8/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3684 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/+245
| | | | | | | | - 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
* - allow 5 digits in board selection, since Ptt1/2 are both having 10k+ piaip2007-12-051-67/+52
| | | | | | | boards git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3643 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** IMPORTANT CHANGE ***piaip2007-12-021-3/+5
| | | | | | | | | | | | BRC v3, supporting local modification THINK TWICE BEFORE YOU APPLY TO YOUR SYSTEM. BRC v3 will double size of BRC v2. BRC v3 can allow notifying changes of comment (recommend) system BRC v3 may cause more syscall activities than v2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3608 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: override fix r3600 (y fix)piaip2007-12-011-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3601 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: fix: (x,y) ordering error.piaip2007-12-011-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* General Update by PttSuggest:piaip2007-12-011-1/+11
| | | | | | | | | | | - '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-1/+3
| | | | | | | | * fix corner case of fav bug * code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous revisionvictor2007-09-291-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3580 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* grant some admin permission to tag boardvictor2007-09-291-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3579 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix r3571kcwu2007-09-251-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3578 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise code for entering board.kcwu2007-09-231-2/+50
| | | | | | | * fix board permission. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix error of handling empty nbrdvictor2007-09-221-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revise brc interface and its document.kcwu2007-06-121-8/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * rewrite namecomplete2. Avoid small allocation, e.g. linked list, kcwu2007-05-271-5/+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
* fix malloc(0) error when number of hotboard is 0.kcwu2006-09-171-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3418 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* short -> intvictor2006-08-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3396 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change brdnum from short to intvictor2006-07-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3388 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* convert .fav4.bakvictor2006-06-051-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3366 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* give a message if nothing foundvictor2006-05-191-7/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3359 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert ui: always show empty dir in favvictor2006-05-171-11/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3358 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* allow key '*' only in favvictor2006-04-171-4/+3
| | | | | | | rename functions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3348 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* actually that doesn't mean to list all boards..victor2006-04-121-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3345 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r4404@voyager: victor | 2006-04-09 15:17:05 +0800victor2006-04-091-1/+1
| | | | | | | | unnecessary to check permission here. (it makes the consistency between nbrd and fav.) those boards will be shown as hidden later. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3344 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r4403@voyager: victor | 2006-04-09 15:12:29 +0800victor2006-04-091-3/+6
| | | | | | | filter out the bad symlink git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3343 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r4402@voyager: victor | 2006-04-09 15:03:59 +0800victor2006-04-091-41/+47
| | | | | | | | fix some display problem of fav always give guests the whole board list git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a lot of assertions to ensure bid is in correct range when access via bid.kcwu2006-04-081-15/+62
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3341 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix unpaired brace in commentkcwu2006-04-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3326 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug, board class disappear because incorrect bsorted[] made by race ↵kcwu2006-04-081-1/+1
| | | | | | condition. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3325 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Confirm before removing boards from fav.scw2006-02-021-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3270 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Restrict the frequency of brc & fav write back request.scw2005-11-271-2/+9
| | | | | | | * Describe the key binding in help. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3251 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fav:victor2005-11-211-6/+1
| | | | | | | | | | remove unused and deprecated features return NULL if malloc(0) buildAnnounce: qsort takes pointer ... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3245 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 'w' in board list for favorite and brc write backscw2005-10-271-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3233 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BRD_OVER18 patch. see http://www.ticrf.org.tw for detailsin22005-10-271-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3231 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* namecomplete display improvementpiaip2005-09-261-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make 's' search_board in board-list work with this case:piaip2005-09-261-0/+4
| | | | | | | 2 boards with same prefix and user input for exactly the shorter one. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3209 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty formatpiaip2005-09-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3138 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the wrong conditionvictor2005-08-291-2/+2
| | | | | | | use fav root to store those adm tags git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3115 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert r3108, fix the problem by bound correction as moving fav instead.victor2005-08-291-5/+3
| | | | | | | (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-3/+5
| | | | | | | | | | | | | 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
* * fix crash when using 'i' to add board in my favoritescw2005-08-281-2/+1
| | | | | | * boundry check in move_in_folder() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3101 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@3097 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* skip invalid entry when fav_free.kcwu2005-08-281-0/+1
| | | | | | | comment bad code, insert fav in empty folder. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3091 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* SYSSUPERSUBOP can see board linkswens2005-08-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3029 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug for class menu.ptt2005-08-091-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3021 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fav.c: don't delete a fav entry implicitlyvictor2005-08-091-12/+12
| | | | | | | | board.c: make data flow analysis easier to compiler admin.c: pretty delete description git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3019 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add super sys support op (群組長)wens2005-08-081-2/+4
| | | | | | | HUGETLB doesn't need root git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3010 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msg format updatepiaip2005-08-061-5/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2997 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Large Terminal Rulespiaip2005-08-061-8/+9
| | | | | | | 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
* pretty formatpiaip2005-07-281-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2973 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix sig devide by zero bug,piaip2005-07-041-3/+3
| | | | | | | query user -> cuser.money git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: warning for **Xpiaip2005-07-031-7/+2
| | | | | | | | | board: category color update, thanks to ledia i'm not sure should we use 16 color or not, so let's stay in compatible mode first. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2879 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* misc update:piaip2005-07-031-2/+3
| | | | | | | | | | fix recent PttBug/PttSuggest request - bid prompt - tag display bug - category colors git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* also show the tag D to unknown boardvictor2005-06-301-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2876 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* s/版/板/in22005-06-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2869 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* solve Ticket #12piaip2005-06-181-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2847 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update myfav help and hotkeys and make things more reasonablepiaip2005-06-181-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2844 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better readability.in22005-06-141-36/+36
| | | | | | | | | real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update board notes behaviorpiaip2005-06-131-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* animated board notespiaip2005-06-121-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* myfav update:piaip2005-06-081-0/+15
| | | | | | | | (1) Auto subscription to new forum is tooooo annoying. (2) We need "inverse" selection of myfav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2802 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-081-41/+41
| | | | | | | | | First introduced by pmore, but this hard work (to transform all files to new style) is made by Rong-en Fan (rafan). Thanks! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a symbolic link can also be put in the Class's rootvictor2005-05-311-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2739 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't change lastposttime when it's not too strange.scw2005-05-311-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2738 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* do not allow removing a NULL entryvictor2005-04-211-7/+9
| | | | | | | reduce branch number git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2709 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. make tty_read more clear and reablepiaip2005-04-181-0/+1
| | | | | | | 2. hack to prevent ^W SIGSEGV when parent is incorrect. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use macro instead for class_bid recognitionvictor2005-04-181-16/+30
| | | | | | | put class_bid in file scope (board.c) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2696 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 'a' and 'i' in favorite list.scw2005-03-281-10/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2684 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Check if the board is already in fav list when addingscw2005-03-231-1/+4
| | | | | | | through 'i' or 'a' in favorite list. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2671 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* save about 500 bytes stackkcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2642 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-121-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add "cool down" feature for boards.wens2005-03-091-0/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* MALLOC & FREE should be pairedkcwu2005-02-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2561 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Complete groups as well as boards in m_board()scw2005-02-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2504 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * In generalnamecomplete(), complete as more as possible when space (' ')scw2005-02-051-7/+2
| | | | | | | | | | | | | | | 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
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-241-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cdoc finishedvictor2004-12-171-3/+3
| | | | | | | | 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
* shouldn't add 1 for this indexvictor2004-12-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2377 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* please use proper indent ...victor2004-12-121-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2375 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge ptt.linux againwens2004-12-111-27/+36
| | | | | | | | | | | WARNING! There are some major differences in SHM_t. All pointers storing offsets in SHM_t have been changed to indexes. When updating to this revision, please rebuild the whole tree and restart the entire BBS system (kill all users first, stop, and start). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* discard r2368 due to compilation failurein22004-12-061-36/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge ptt.linuxwens2004-12-051-27/+36
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2368 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some help pages are showed from filevictor2004-12-021-26/+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
* Move cursor to newly added board.scw2004-11-301-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2359 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Use testing and setting macros instead of accessing yank_flagscw2004-11-291-26/+74
| | | | | | | | | directly in board.c * Add 'a' and 'i' to add favorite directly in favorite mode. * Remove duplicated `const' qualifier. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2357 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong default checkingvictor2004-10-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2260 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add subscribed boards only when loginvictor2004-09-271-5/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2212 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix 1 make errorptt2004-09-231-1/+1
| | | | | | | | | | 2. add perm_nocitizen 3. add no reply for FILE_SOLVE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* PERM_BOARD could set boardin22004-09-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2203 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use correct type: size_t/int/long/pointerin22004-07-301-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-06-111-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2059 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some prints() with outs(),kcwu2004-06-101-9/+9
| | | | | | | | | | | | replace some outs() with outc(), replace some fprintf() with fputs(), and so on. for performance. and don't treat user input as format string. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use 'const' keyword to reduce 7904 bytes data segmentkcwu2004-06-041-1/+1
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no unread mark befor 'unknown'victor2004-05-181-34/+36
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2001 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert old show_brdlist for performance (to see if it caused the high load ↵victor2004-05-141-141/+84
| | | | | | recently) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1978 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* color fixvictor2004-05-131-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1975 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix board hilightingvictor2004-05-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1974 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a little bug of the output formatvictor2004-05-121-21/+35
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1958 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* newflagvictor2004-05-121-1/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1956 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* gcc 2.95 still not accept r1933in22004-05-091-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1934 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* compatable to gcc 2.95in22004-05-091-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1933 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freevictor2004-05-071-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1928 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refactor show_brdlist()victor2004-05-071-82/+123
| | | | | | | I hope these local variable wont cost too much @@; git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1927 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid SHM->bsorted[type][n] == NULLin22004-05-041-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1922 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid race condition at tag board->paste boardptt2004-05-021-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1917 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix childcountptt2004-04-281-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a little bug fixedptt2004-04-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reoragnize functions ptt2004-04-241-12/+11
| | | | | | | | | mprints, pprints -> mouts remove useless refresh, pressanykey(), sleep,... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typo of last updateptt2004-04-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1819 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix brd.firstchild errorptt2004-04-231-21/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1818 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* seg fault of board.cptt2004-04-231-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1817 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* segfault fixedptt2004-04-231-35/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1816 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless codesPtt.read@1812ptt2004-04-231-21/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1811 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial brc int New().scw2004-04-221-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1806 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-11/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* buggy fix for linuxptt2004-04-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1794 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refreshvictor2004-04-191-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1784 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add warningvictor2004-04-181-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1778 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* D: delete symlinkvictor2004-04-181-9/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1777 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottom bug fixedptt2004-04-151-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1762 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge from brc2 branch.scw2004-04-051-299/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1695 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check post perm on demandvictor2004-04-021-15/+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-13/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Correcting action about make brc_buf be malloc.scw2004-03-281-7/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1620 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix bug when .boardrc full.scw2004-03-281-28/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* leave board if brc_buf is not loadedin22004-03-271-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1614 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* delay init_brdbufin22004-03-271-6/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1613 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix fav subscriptionvictor2004-03-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1611 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix sorting error of hot boardvictor2004-03-181-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix memory leak, remove dirty hacking codevictor2004-03-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile errorvictor2004-03-121-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1590 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from victor.symbolic branchvictor2004-03-121-121/+161
| | | | | | | | | 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
* HOTBOARDCACHEin22004-03-101-5/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1584 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Try to reduce calls on memmove.scw2004-02-271-12/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing commitvictor2004-02-271-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't truncate immediatelyvictor2004-02-271-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1567 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* subscription should be perform after choice, move some code from board.c to ↵victor2004-02-221-65/+5
| | | | | | fav.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1559 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reduce file I/O on .boardrcscw2004-02-121-77/+102
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1529 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning before delete in favvictor2004-02-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1508 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* post_mask perm missingvictor2004-01-051-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1469 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix warningvictor2004-01-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1468 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 's' bugvictor2004-01-051-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1467 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Seperate cleanup() into two, cleanup() and clean_invisible().scw2004-01-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1465 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug 'v'victor2004-01-041-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* subop perm missingvictor2004-01-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change msgvictor2004-01-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1458 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show non-visible board in favvictor2004-01-041-35/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1457 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean up non-exist board if set SHM->cleanboardvictor2004-01-031-4/+0
| | | | | | | WARNING, SHM modified git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1452 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* M mbbsd/announce.cptt2003-12-291-4/+0
| | | | | | | | | | | | M mbbsd/bbs.c M mbbsd/read.c M mbbsd/cal.c M mbbsd/more.c M mbbsd/menu.c M mbbsd/board.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1438 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove some comment, add static modifier properlyvictor2003-12-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1434 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove fav branch, open new branch for big5<->gbvictor2003-11-271-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1373 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comfirm before remove a foldervictor2003-11-251-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1370 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dont comfirm, as beforevictor2003-11-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1368 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22003-11-221-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1365 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 't' for admin, add docs/fav4.txtvictor2003-11-221-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1364 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 't' for adminvictor2003-11-221-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1363 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 't' for adminvictor2003-11-221-23/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1361 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix unreadvictor2003-11-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix help pagevictor2003-11-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1358 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from fav4 brachesvictor2003-11-221-429/+274
| | | | 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-9/+4
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1333 ↵ptt2003-11-151-10/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug when enlarge the MAX_BOARDSvictor2003-11-141-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1332 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 許成功蓋victor2003-11-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1306 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warn before 'Z'victor2003-11-081-22/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1305 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1303 ↵ptt2003-11-061-0/+4
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1302 ↵ptt2003-11-061-1/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1301 ↵ptt2003-11-051-1/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1300 ↵ptt2003-11-051-0/+2
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove old featurnvictor2003-10-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1237 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. do not allow guest to add/subscribe fav.victor2003-09-281-2/+5
| | | | | | | 2. add 'K' to help page. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1203 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-09-071-28/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use NULL instead of (~ 0) in class linked-listin22003-08-121-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1092 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Fix the bug that sometime after reading old articles, the newer one will bein22003-08-061-34/+56
| | | | | | | | | | | | | 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-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1065 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug, to move fav outside the fav mode (thanks lihgong.bbs@ptt2)victor2003-07-031-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1001 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix '/' in fav modevictor2003-07-031-8/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugvictor2003-06-091-23/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@937 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit bugvictor2003-06-091-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@936 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add fav backup, cleanvictor2003-06-091-40/+49
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@935 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* limit nLinesvictor2003-05-031-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@820 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* implement favchangevictor2003-05-021-14/+11
| | | | | | | fix Ctrl('D') git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@819 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert to 1.123in22003-04-151-14/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@797 63ad8ddf-47c3-0310-b6dd-a9e9d9715204