summaryrefslogtreecommitdiffstats
path: root/mbbsd
Commit message (Collapse)AuthorAgeFilesLines
* avoid unnecessary linear scan if LOCK_THIS.kcwu2006-03-131-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3277 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* GO scoring and displaying on userlist.scw2006-03-125-19/+48
| | | | | | | !!!NOTE: shared memory changed!!! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3276 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sync birthday limit between user setting and registerscw2006-03-011-1/+1
| | | | | | | (remove least age limit) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3275 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Setting angel of a user to "-" means banned andscw2006-02-251-1/+2
| | | | | | | is accepted. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3274 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r3281@kcwu: kcwu | 2006-02-18 13:36:52 +0800kcwu2006-02-181-1/+10
| | | | | | | | update time variable in signal handler. Thanks to the notice from rafan. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3273 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r3280@kcwu: kcwu | 2006-02-18 13:33:14 +0800kcwu2006-02-181-3/+0
| | | | | | | remove unused code. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3272 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * comment strange getindex() behavior.kcwu2006-02-092-43/+74
| | | | | | | | | | * fix select_read() * don't incremental select if sr_mode = RE_MARK or RS_RECOMMEND * fix selection result repeating if timestamp match (or entry deleted?) * code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3271 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
* Fix r3267, board title disappear after setting boardsscw2006-01-221-12/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3269 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bbs.c message update to fix the situationscw2006-01-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3268 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some strncpy with strlcpy, or just strcpy if src is constvictor2006-01-1214-71/+53
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change the naming to fit the menu.ptt2006-01-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3266 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the register bugptt2006-01-052-5/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3265 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add time in the cancel-bad-post log.ptt2006-01-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3264 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a back slash '\' after Kong (special chinese character)ptt2006-01-041-2/+2
| | | | | | | | add break line for logfile git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3263 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add log for canceling bad post.ptt2006-01-041-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3262 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug for cancel postptt2006-01-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3261 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. add "cancel bad post" feature.ptt2006-01-045-5/+51
| | | | | | | | | 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
* fix typovictor2006-01-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3259 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix nonstandard syntax.victor2006-01-031-2/+4
| | | | | | | thanks yinyins.bbs@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3258 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* save IO from check mailptt2005-12-221-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3257 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Key "UP" at the first entry of article list work as key "END"scw2005-12-151-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3256 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitscw2005-12-141-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * recording bad post judgement made by BM on boardscw2005-12-141-2/+24
| | | | | | | | defined by BAD_POST_RECORD * post older than a week cannot be made bad post git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3254 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* security fix: users could forward hidden articles in board announcein22005-12-131-8/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3253 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix the procedures of FULLUPDATE, PARTUPDATE and DIRCHANGED.victor2005-12-052-49/+42
| | | | | | | Close ticket #39. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3252 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
* Allow banning user from using angel function.scw2005-11-271-2/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3250 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reverse r3247,r3248victor2005-11-222-7/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3249 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pass through directly if there's no board notevictor2005-11-221-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3248 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove deadc0de for deprecated featurevictor2005-11-212-15/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile errorvictor2005-11-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3246 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fav:victor2005-11-213-148/+17
| | | | | | | | | | 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
* Fix chc machine readable log board initial state.scw2005-11-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3244 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug:ptt2005-11-161-1/+1
| | | | | | | | purge utmp only after passwd_update(); git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3243 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug for new feature.ptt2005-11-163-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3242 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* PERMISSION can be changed even if the user is online.ptt2005-11-165-6/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add color to the violation messageptt2005-11-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3240 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix one typo.ptt2005-11-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3239 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add restriction to PERM_VIOLATELAWptt2005-11-153-11/+28
| | | | | | | | | | no chat no write no plan file git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3238 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only PERM_ACCOUNTS could SetUserin22005-10-284-12/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3236 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reject editing the symlink of board for security issue.in22005-10-281-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3234 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-275-3/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3231 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change "Court to Police Station"ptt2005-10-221-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3230 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* new police permission.ptt2005-10-223-3/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* single daemon for all portsin22005-10-211-16/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3228 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix status readwens2005-10-201-10/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3227 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check money only if one really wants to ordervictor2005-10-201-6/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3226 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add data and stack size display for linuxwens2005-10-181-0/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3225 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug about mailalertptt2005-10-141-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3224 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* changes mailalert to 1 bit only.ptt2005-10-136-13/+11
| | | | | | | | reserved other 7 trigers for updating current status on the fly when user is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move announce: it's still safe to add one more byte.piaip2005-10-131-1/+1
| | | | | | | | be careful if you want to add more since a hard-coded limit value of 9999 is already there. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3222 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a long feast that make statusbar unterminated (ANSI_RESET).piaip2005-10-112-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3221 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use strlcpy()in22005-10-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3219 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* try to fix the same "shift by 1" problemvictor2005-09-291-30/+37
| | | | | | | it's should be rewriten actually. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3218 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make check_cooldown work for recommendationpiaip2005-09-281-10/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3217 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* hide when debugsleeppiaip2005-09-281-3/+10
| | | | | | | try to prevent segv in waterball git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3216 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shift index by 1victor2005-09-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3215 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shift index by 1victor2005-09-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3214 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove another unused identvictor2005-09-261-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3213 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove things about ident which is useless nowvictor2005-09-263-21/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3212 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove the 2048 limitvictor2005-09-261-4/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3211 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* namecomplete display improvementpiaip2005-09-262-1/+2
| | | | 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-263-2/+6
| | | | | | | 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
* Declare xsin only when needed.wens2005-09-251-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3208 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix tag-ctrl(d) in mail menupiaip2005-09-251-1/+2
| | | | | | | (digest articles will not be deleted, and FILE_DIGEST is same to FILE_REPLIED) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3207 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log the modification of boardvictor2005-09-231-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3206 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* gomoku machine readable log reading fixscw2005-09-231-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prepare for connect6piaip2005-09-223-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3204 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong ordering argumentvictor2005-09-221-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3203 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no I should log elsewherevictor2005-09-221-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3202 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code clean up.kcwu2005-09-221-61/+58
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3201 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* additional information of loggingvictor2005-09-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3200 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* append a "." after the anonymous idvictor2005-09-221-1/+5
| | | | | | | log for ordering song git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3199 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce mywrite segv (hope so)piaip2005-09-211-3/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3198 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Revert r3196(as a workaround).mhsin2005-09-211-14/+18
| | | | | | | Really(hope so :p) solve bug in r3192. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3197 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* trial fix for r3192 when user input some non-exist number of sigfilepiaip2005-09-211-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3196 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose ver.cpiaip2005-09-201-5/+5
| | | | | | | pretty print for board-config (I) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3194 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* No mail alert for personal chess log scw2005-09-201-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3193 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Skip nonexistent signature files when "random signature" is chosen.in22005-09-191-5/+5
| | | | | | | by mhsin git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3192 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change bsmtp's prototype since ``method'' is not usedvictor2005-09-186-26/+30
| | | | | | | try to make the temporary, outgoing mail unique git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3191 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* allow setting go chess country on new boardscw2005-09-181-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ticket #10piaip2005-09-181-2/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3188 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no default option :pvictor2005-09-181-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3187 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* default to ordervictor2005-09-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3186 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty format of name-complete,piaip2005-09-183-3/+13
| | | | | | | try to make 't'(tag) light refresh, git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3185 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ticket #40piaip2005-09-181-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3184 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove default optionpiaip2005-09-171-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3183 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fixed FILE_REPLIED: ent was used as a temp bufferpiaip2005-09-172-3/+12
| | | | | | | for curredit in mail_reply. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3182 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make recommendation ip log optional, piaip2005-09-172-29/+48
| | | | | | | toggled by BMs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3181 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix FILE_REPLIED, in board reply modepiaip2005-09-171-1/+1
| | | | | | | | we should check direct, not ent. this bug made FILE_DIGEST appear on board-reply. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3180 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix mail_reply(0, fhdr, 0); caused segv due to mail +r flag,piaip2005-09-162-2/+4
| | | | | | | and make DEBUGSLEEP mode more robust (hope so) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3179 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose msg and skip multilogin check for debugsleepingpiaip2005-09-163-5/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3178 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make textlen an optionpiaip2005-09-151-4/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3177 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous N fixes again... orzpiaip2005-09-151-9/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix again: touch file record.piaip2005-09-151-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous patch, logic errorpiaip2005-09-151-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous offset-by-one errorpiaip2005-09-151-1/+2
| | | | | | | | | --This line, afind those below, will be ignored-- M mbbsd/bbs.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* real main text editing.piaip2005-09-153-14/+104
| | | | | | | recommendation/comments are not modifiable now. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3172 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* match current user behaviorpiaip2005-09-151-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3171 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* default recommendation is now (add comment only).piaip2005-09-151-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3170 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add support to "mark mail as replied"piaip2005-09-151-2/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make cplog compatiblepiaip2005-09-151-6/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3168 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* new recommendation style: (#undef GUESTRECOMMEND)piaip2005-09-151-21/+48
| | | | | | | | | | record date/time. IP is omitted because article owner may modify it. If guest is allowed to recommend, then use old style recommendation log to keep IP info. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix "phone and career lost after modifying email" problemscw2005-09-121-12/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3160 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* customizing anonymous's name while ordering a songvictor2005-09-122-64/+41
| | | | | | | change ui git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3159 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* GO chess replay implementedscw2005-09-113-8/+177
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3155 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* GO convertion to chess frameworkscw2005-09-117-1396/+912
| | | | | | | | | | | | | | * 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
* update reg queue idpiaip2005-09-102-21/+34
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3150 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msg updatespiaip2005-09-103-20/+40
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3149 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* catch SIGXCPU for debug.piaip.automake@3147kcwu2005-09-101-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3147 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* try to make FILE_MULTI work, (ref: #221/#220)piaip2005-09-091-3/+0
| | | | | | | | | hmmm, after almost three thousands of patchsets, finally it may work now ... (hope so, not really tried, and i don't care actually) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comments warn the bad code without error handling.kcwu2005-09-093-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3145 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty output of human readable chess log.kcwu2005-09-091-13/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3144 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* name complete did not check invalid input.piaip2005-09-092-2/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3143 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* permspiaip2005-09-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3142 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* name complete enhancedpiaip2005-09-083-47/+86
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3140 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pager=waterball made readablepiaip2005-09-085-26/+57
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3139 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty formatpiaip2005-09-083-20/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3138 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some debug codes were checked in accidentally in last patchset (r3136).piaip2005-09-082-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3137 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wide terminal rules.piaip2005-09-084-36/+85
| | | | | | | This time we have userlist and mailbox support. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3136 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix typo in previous patchpiaip2005-09-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3135 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help compatible with traditional C.piaip2005-09-071-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3134 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose message when login.piaip2005-09-073-11/+73
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3133 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comments on a bug of re-registerationvictor2005-09-051-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3132 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* why \0 for mail menu? not sure...piaip2005-09-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* announce tag-copy-paste pasted more by one bug.piaip2005-09-041-0/+4
| | | | | | | | | | (tag, c, p instead of tag, z, p will reproduce this.) Ref: ptt2 pttbug#926. thanks to rafan. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3130 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly call by referencevictor2005-09-041-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3129 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* partially fix #35piaip2005-09-042-8/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3128 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix last commit: time calculating considered "counting mode"scw2005-09-041-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3127 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * help message update: 'p' means "tie request" as well as passscw2005-09-031-6/+17
| | | | | | | * opposite alive check at begin * time limit calculating way changed (Chinese chess rule) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3126 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Gomoku log read errorscw2005-09-022-10/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3125 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine chess framework IO routinesscw2005-09-021-19/+24
| | | | | | | * don't write data to user socket when there is no opposite git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3124 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * chc machine-readable log reflectedscw2005-09-012-2/+4
| | | | | | * chc replaying put red on bottom git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3123 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allowing undo when playing chess personallyscw2005-09-011-2/+22
| | | | | | * message enhenced git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3122 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* as 3085in22005-09-011-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3121 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dirty fix memory corruption because additional choice during voting.kcwu2005-08-301-13/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3120 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chc replay display problemscw2005-08-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3119 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r3116, I mean `mateid.' Thanks kcwu.scw2005-08-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3118 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warn user if file is unable to open.kcwu2005-08-301-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3117 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent from search_ulist_userid() returning NULLscw2005-08-291-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3116 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the wrong conditionvictor2005-08-292-4/+4
| | | | | | | use fav root to store those adm tags git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3115 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log crash events in signal handler.kcwu2005-08-291-16/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3114 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* gomoku log read problemscw2005-08-291-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3113 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitvictor2005-08-291-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3112 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert r3108, fix the problem by bound correction as moving fav instead.victor2005-08-292-24/+19
| | | | | | | (the problem still exists potentially.) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3111 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* write '[Result "*"]' for unknown status chc logscw2005-08-291-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3110 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chc machine readable log updatescw2005-08-291-10/+15
| | | | | | | * fix playing date * show result only when the game was completed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3109 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicit fav entrancevictor2005-08-282-10/+20
| | | | | | | | | | | | | 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 last commitscw2005-08-281-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3107 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* try using userec_t to initialize ChessUser when failed to get userinfo_tscw2005-08-283-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3106 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess functions:scw2005-08-285-27/+314
| | | | | | | | | | | * 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
* clear cuser on failed login to avoid gaining permissionsscw2005-08-281-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3104 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Complete last commitscw2005-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3103 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* angel caller may not login yet.kcwu2005-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3102 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix crash when using 'i' to add board in my favoritescw2005-08-282-4/+5
| | | | | | * boundry check in move_in_folder() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3101 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix memory leakvictor2005-08-281-4/+2
| | | | | | | make sure malloc get memory git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3100 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pass arguments only if they really need.kcwu2005-08-281-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3099 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* distinguish functions that need item or not, and allow the latter in empty ↵kcwu2005-08-284-192/+197
| | | | | | itemlist. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3097 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix: don't do anything if itemlist is empty, otherwise it may corrupt memory.kcwu2005-08-281-5/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3096 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment bad code.kcwu2005-08-281-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3095 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix top_of_win problem in block_delete().kcwu2005-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3094 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment bad code.kcwu2005-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3093 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit.kcwu2005-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3092 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* skip invalid entry when fav_free.kcwu2005-08-282-2/+7
| | | | | | | comment bad code, insert fav in empty folder. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3091 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix heap corrupted because screen resize.kcwu2005-08-281-10/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3090 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix heap corrupted because screen resize.kcwu2005-08-271-9/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3089 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix off-by-one bug.kcwu2005-08-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3088 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix off-by-one bug.kcwu2005-08-271-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3087 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment how join() works.kcwu2005-08-271-51/+54
| | | | | | | | fix allocation problem of join(). fix top_of_win has been free'd if user hit backspace key in top_of_win line. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3086 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* do not pass two same pointers into setadir()in22005-08-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3085 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate more compiler warningspiaip2005-08-256-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3083 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate compiler warnings (mostly signed/unsigned)piaip2005-08-255-14/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3082 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Big E (re-edit_post) enhanced:piaip2005-08-251-2/+54
| | | | | | | | - remove unsaved temp file (hope so) - check if file was modified git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3081 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - dbcs conf should only appear when dbcs-aware compiled in.piaip2005-08-242-1/+5
| | | | | | | - in vedit (output '*' instead of ESC) ANSI commands should always use real outs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3080 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* forget to reset countervictor2005-08-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3079 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing type checkingvictor2005-08-242-2/+5
| | | | | | | fix mis-calculated fav_number git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3078 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing the type checkingvictor2005-08-241-10/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3077 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix buffer overflow.kcwu2005-08-231-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3076 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix buffer overflow.kcwu2005-08-231-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3075 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set*() family functions all assume buffer size = PATHLEN, to prevent buffer ↵kcwu2005-08-239-75/+77
| | | | | | | | | overflow. do some s/256/PATHLEN/. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3074 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
* Fix SIGABRT when watching chc.scw2005-08-221-6/+7
| | | | | | | | Thanks to blackmajisha.bbs@ptt.cc and AMONAMON.bbs@ptt.cc for helping locating problem. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3072 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * chess country includes GO nowscw2005-08-212-2/+2
| | | | | | * fix warning in gomo.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3070 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move cursor to where opposite play in gomoku.scw2005-08-211-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3069 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add_io(0, 0) before reading data from user when playing chessscw2005-08-201-3/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3067 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wrong winner on rule-violating step.scw2005-08-203-9/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3066 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* get rid of linear search in getindexptt2005-08-192-28/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3065 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix compile error isnumber -> isdigitptt2005-08-192-2/+2
| | | | | | | 2. let old sysop can use 'H' to coak git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3064 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show Welcome_login just after correctly loginingin22005-08-191-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3062 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* also block shell_login when OVERLOADBLOCKFDS.in22005-08-181-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3061 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code cleanup.kcwu2005-08-181-11/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3059 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't move two steps when client is dbcs-awared.scw2005-08-181-0/+21
| | | | | | | (don't know if this is a good solution) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3058 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: skip 1st animation control seq.piaip2005-08-181-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3057 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Equivalent config file updatespiaip2005-08-183-27/+27
| | | | | | | | - 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
* chess photo not found problemscw2005-08-171-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r133@scwnb: bbsadm | 2005-08-17 22:46:26 +0800scw2005-08-171-0/+1
| | | | | | | Chess help info updated for undo git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3054 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess undoscw2005-08-171-26/+91
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove unused global variable and add const-ness in var.cscw2005-08-171-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3052 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen_backup() & screen_restore() update:scw2005-08-176-80/+55
| | | | | | | | | * 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
* NO_GUEST_ACCOUNT_REG. thanks rafan.in22005-08-161-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3048 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce memory usage by 70 bytes per user.victor2005-08-162-20/+36
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3047 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* include/common.h, mbbsd/friend.c: check buffer sizevictor2005-08-162-16/+15
| | | | | | | | include/fpg.h: highlight the bug mbbsd/talk.c: change that odd time_t worked as a boolean to int git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3046 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert r3039, now we log after the reasonvictor2005-08-161-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3044 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Crash when calling angel, fix r3038scw2005-08-161-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3043 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move cursor to center of the play board in gomokuscw2005-08-161-0/+3
| | | | | | | at the begining of the game. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3041 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check buffer sizevictor2005-08-151-6/+7
| | | | | | | reduce computation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3040 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove deadc0devictor2005-08-152-11/+1
| | | | | | | additional log to file system git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3039 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen-resize awareness between screen_backup() and screen_restore().victor2005-08-155-36/+49
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3038 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* gomoku and go logging updatescw2005-08-153-9/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3037 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Gomoku convertion to chess.c frameworkscw2005-08-156-787/+541
| | | | | | | | | | | | | | | * 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 crash when logging a tied chc gamescw2005-08-132-9/+20
| | | | | | | * confirming tying request in chess games git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3034 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug:victor2005-08-132-18/+33
| | | | | | | 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-132-31/+21
| | | | | | | | 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
* remove interface to ``train schedule information service''victor2005-08-133-159/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix case-sensitive crossposting problem.scw2005-08-131-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3030 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
* integrate two giving-money codevictor2005-08-122-28/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3028 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove real escapes (\033) from sourcepiaip2005-08-113-21/+54
| | | | | | | better AYT and report struct size in debug mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3025 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty formatvictor2005-08-111-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3024 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix chc watching SEGV bugscw2005-08-102-10/+11
| | | | | | | * chc.[ch] and chess.[ch] code clean up git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3022 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
* fix last commit Orzvictor2005-08-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fav.c: don't delete a fav entry implicitlyvictor2005-08-093-20/+18
| | | | | | | | 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
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3018 ↵scw2005-08-091-5/+5
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix r3015.scw2005-08-092-11/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3017 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Correcting chc losing number when playing.scw2005-08-091-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3015 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use REDDOWN() macro to indicate chessboard flipping status.kcwu2005-08-091-11/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix non-big5 typo in r3012piaip2005-08-093-19/+35
| | | | | | | and make locking more solid git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3013 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. let is unable to use gamble command if the board is under violation.ptt2005-08-081-0/+11
| | | | | | | 2. unable to open ticket while the CPU loading is high. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3012 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add proto, msg pretty print, misc updatepiaip2005-08-081-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3011 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add super sys support op (群組長)wens2005-08-085-9/+16
| | | | | | | HUGETLB doesn't need root git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3010 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix chess internal coordinate. kcwu2005-08-082-101/+111
| | | | | | !! NOTE !!, not compatible with older revision. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3009 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msg pretty printpiaip2005-08-083-14/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3008 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix race condition of user registeration (as well as while restoring avictor2005-08-082-41/+29
| | | | | | | | | | | | | | | backed-up account): Procoess A Process B ====================== ===================== uid = searchuser("") uid = searchuser("") setuserid(uid, userid) setuserid(uid, userid) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3007 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* No more colorful title for gomoku log on board.scw2005-08-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3006 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix talk requesting id display problem.scw2005-08-081-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3005 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use ``void (*)(int)'' instead of ``sighandler_t'' since FreeBSDscw2005-08-081-1/+1
| | | | | | | use sig_t instead of sighandler_t. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3004 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix chess watching backward one step bugscw2005-08-081-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3003 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New chess frameworkscw2005-08-085-1039/+1611
| | | | | | | | | | | | | * 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
* msgs updatespiaip2005-08-072-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3001 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Revision 3000piaip2005-08-062-5/+50
| | | | | | | - sync with ptt1 local modified source git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article money system upgrade againpiaip2005-08-063-22/+20
| | | | | | | now fully works(hope so). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2999 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article money issue updatespiaip2005-08-063-50/+63
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2998 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-0612-87/+201
| | | | | | | 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-0613-83/+155
| | | | | | | | | | | | | - 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
* fix incremental search bug.ptt2005-08-061-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2994 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* various money related fixpiaip2005-08-065-16/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2993 63ad8ddf-47c3-0310-b6dd-a9e9d9715204