summaryrefslogtreecommitdiffstats
path: root/mbbsd
Commit message (Collapse)AuthorAgeFilesLines
...
* incremental upgrade support (currently DBCSAWARE only)piaip2005-06-091-0/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2814 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: backward method update.piaip2005-06-091-33/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2813 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: more verbose status line, and new rawmodespiaip2005-06-091-8/+74
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2812 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix getdata with dbcs_aware bugpiaip2005-06-091-4/+25
| | | | | | | | | --This line, and those beflow, will be ignored-- M mbbsd/io.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2811 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* io.c: revised keyseqpiaip2005-06-093-12/+27
| | | | | | | user/pmore: general update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2810 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug mode: raw key escape codes checkerpiaip2005-06-092-5/+98
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2809 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* redraw everything fix, and update ve help filespiaip2005-06-081-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2808 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* towards new experience: Fn Key Bindings, a trial.piaip2005-06-082-9/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2807 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make new seq parser more robustpiaip2005-06-081-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2806 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New VT100/220 Escape Sequence Parser,piaip2005-06-081-11/+80
| | | | | | | supporting F1~F12 and S-TAB. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2805 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate warningspiaip2005-06-082-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2804 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New DBCS aware: detecting and reversed default valuepiaip2005-06-084-20/+125
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2803 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* myfav update:piaip2005-06-082-1/+16
| | | | | | | | (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
* take look at num_in_buf.piaip2005-06-081-1/+38
| | | | | | | | | | I can't believe that this bug has been existed for at least 3 years more, since the first revision of SVN. (see r1, 03/07/2002) Nobody even noticed that!? git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2801 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: goto made more reasonablepiaip2005-06-081-9/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2800 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: update goto and dbcs wrap method and commentspiaip2005-06-081-25/+48
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* apply ansi system to more filespiaip2005-06-085-26/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate warning messagespiaip2005-06-085-6/+10
| | | | | | | and make rawmode in edit.c more suitable for dbcs aware mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2797 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-0839-625/+655
| | | | | | | | | 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
* bug fix for dbcs aware vepiaip2005-06-081-4/+4
| | | | | | | by Michael Hsin (mhsin), thanks! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2795 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: ascii movie: linux specific fixpiaip2005-06-081-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2794 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: ascii movie, compat24 mode fixpiaip2005-06-081-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2793 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* user customization: should be case insensitivepiaip2005-06-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2792 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore bbs movie: world timeline synchronization modelpiaip2005-06-081-64/+124
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2791 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reorder UI to help user customize easily.piaip2005-06-072-23/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2790 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dbcs_aware: can be toggled.piaip2005-06-074-10/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2789 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2723 - I'm also an idiot ><piaip2005-06-071-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2788 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: some old compilers does not allow variables declared inpiaip2005-06-071-9/+10
| | | | | | | C++ flavor (outside block entry). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2787 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: update some keybinding due to user requestpiaip2005-06-071-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2786 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: make wrapmode navigation more accurate when goBottom.piaip2005-06-071-1/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2784 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: speed uppiaip2005-06-071-13/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Since we declared ANSILINELEN as a value which ispiaip2005-06-071-3/+5
| | | | | | | | larger than an unsigned byte, we should increase counters then they can match its value. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2782 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* DBCS Aware for getdata and edit.piaip2005-06-072-8/+163
| | | | | | | Thanks to Michael Hsin (mhsin) for his patching edit. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2781 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: prepare for optimizepiaip2005-06-071-19/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2780 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* format update according to user habitspiaip2005-06-061-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2779 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: fix last patch which has a typo.piaip2005-06-061-23/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2778 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: update wide navigation behavior to be more reasonablepiaip2005-06-061-24/+76
| | | | | | | | more docs and better search git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2777 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: playmode nav updatepiaip2005-06-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2776 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: friend counters not initialized.piaip2005-06-061-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2775 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remember last sort methodpiaip2005-06-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2774 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: ascii art movie: compat24 modepiaip2005-06-061-9/+53
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2773 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: left-right widenav: make hotkeys more readable.piaip2005-06-061-5/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2772 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: left-right wide navigationpiaip2005-06-061-37/+95
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2771 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: movie play mode behavior updatepiaip2005-06-061-5/+26
| | | | | | | and it is now stable enough to be changed to default option. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2770 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: play old ascii art moviepiaip2005-06-051-8/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2769 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: re-entrant support (little hack)piaip2005-06-051-63/+309
| | | | | | | New Feature: Ascii Art Movie Support git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2768 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make mailbox-ful warning msg more meaning fulpiaip2005-06-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2767 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: workaround for poor terminal systemspiaip2005-06-051-13/+66
| | | | | | | which cannot understand ANSI escapes. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2766 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: compromised to work with SEP_WRAP(SEP_OLD) more,piaip2005-06-051-10/+36
| | | | | | | update line number calculation. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2765 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: piaip2005-06-051-46/+128
| | | | | | | | | fix command hotkeys, new seperator mode, dbcs friendly wrap. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2764 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: workaround with wrap-1-line issue for old seperator mode piaip2005-06-051-2/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2763 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: fix line calculationpiaip2005-06-041-5/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2762 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: fixed ansi display with long linespiaip2005-06-041-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2761 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: workaround for full term-width articles.piaip2005-06-041-3/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2760 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: more update on traditional modepiaip2005-06-041-92/+110
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2759 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: post fix to make it more like old pager.piaip2005-06-041-1/+6
| | | | | | | for promptend behavior. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2758 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: updates after applied on a real environment(ptt2) for a short time.piaip2005-06-041-9/+26
| | | | | | | | give wrapped lines a chance to use indicator's space to prevent wrapping. and indicators can now be disabled git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2757 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: a ready-for-work version.piaip2005-06-041-14/+72
| | | | | | | | now supports all basic features and can fully simulate traditional 'more' ui. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2756 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: wrap support, finallypiaip2005-06-041-82/+234
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2755 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: new header scanner (clean and robust)piaip2005-06-041-150/+252
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2754 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: workarounds for scrolling because piaip2005-06-041-82/+156
| | | | | | | | clrtoeol() failed with ANSI codes. Code revised. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2753 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: moving towards stable, misc fixpiaip2005-06-031-34/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2752 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: formatting issuespiaip2005-06-032-12/+23
| | | | | | | talk.c: fixed more buffer bug. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2751 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: workarounds for fulfilled buffer scrolling bugpiaip2005-06-031-50/+77
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2750 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (pmore) fixed scroll issues for new status linepiaip2005-06-032-17/+49
| | | | | | | (mbbsd) fixed initial welcomemsg forgot to clear buffer git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2749 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: new status barpiaip2005-06-031-10/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2748 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set svn prop (keywords)piaip2005-06-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2747 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set svn propspiaip2005-06-031-10/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2746 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (fix r2742) there was no typo in users.cpiaip2005-06-032-1/+15
| | | | | | | (pmore) fix search display bug in scroll mode(should be refreshed) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2745 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: support Ptt_Printspiaip2005-06-031-8/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2744 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: speed up by supporting scroll/rscroll.piaip2005-06-032-38/+99
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2743 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove rarely used function block_shift_left and block_shift_right,victor2005-06-032-57/+3
| | | | | | | | which causes buffer overflow. Fix typo in user.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2742 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: piaip's new more (pager).piaip2005-06-033-1/+781
| | | | | | | | This is a whole new design to replace old buggy more.c Better searching, unlimited filelength, clean code, ... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2741 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce one strlen()victor2005-05-311-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2740 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
* anti id spammerpiaip2005-05-291-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2737 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Calculate chicken age AFTER buying or recovering.scw2005-05-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2736 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use new cooldown interface in mailwens2005-05-241-6/+2
| | | | | | | make compiler happy git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2735 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix wrong prototype for r2732scw2005-05-241-0/+4
| | | | | | | | | * fix link error without defining USE_COOLDOWN * clean flag in curredit after replying (thanks peter53.bbs@ptt2.cc) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2733 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some idiots just set themselves as auto-forward receiverpiaip2005-05-242-11/+11
| | | | | | | | | and still don't know what does that mean, complaining on SYSOP. althogh the situation of forward loop (a->b->a) is not solved yet, it's good enough now to prevent level 1 idiots. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2732 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* memory leak: forgot a static! thanks to kcwupiaip2005-05-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2731 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: the condition to find author when reply kcwu2005-05-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2730 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: number of bfriend in userlistin22005-05-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2729 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dynamically change the limitation of waterpost according to the number of users.ptt2005-05-191-5/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2728 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reset TagBoard and TagNum when Ctrl('T')kcwu2005-05-181-0/+9
| | | | | | | informed by ledia@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2727 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Registeration, let's go English.piaip2005-05-161-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2723 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Cooldown does not prevent SYSOPs & BMs from seeing number of users in ↵wens2005-05-161-1/+1
| | | | | | current board. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2722 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* seGga's suggestion: ptt2005-05-111-10/+12
| | | | | | | | in categories of badpost the default is cancel. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2720 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix typoptt2005-05-071-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2719 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no_water_post only for nuser>50.ptt2005-05-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2718 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* corrected typosptt2005-05-073-48/+55
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.kick people before give them ticket.ptt2005-05-063-31/+58
| | | | | | | | | | 2.set bad post -> 1 hour can't post. 3.maxiam 9 post whin 3 min. 4.one ticket for every 5 bad post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2716 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* when reply, top_line must be fixed again.piaip2005-04-261-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2715 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fixed vedit crash issues when long lines caused split()piaip2005-04-262-43/+70
| | | | | | | | being called frequently. also update previous patch (typo). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2714 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* workarounds to eliminate bugs: weather out of date,piaip2005-04-262-1/+5
| | | | | | | viewpostmoney does not work with FILE_BOTTOM. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2713 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't save user data if shm corruptedkcwu2005-04-232-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2712 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* give a warning if too many subscribed favorites is added at the same timevictor2005-04-232-8/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2711 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strict value checkingvictor2005-04-221-7/+44
| | | | | | | write to disk only if fav is dirty git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2710 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* do not allow removing a NULL entryvictor2005-04-212-7/+11
| | | | | | | reduce branch number git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2709 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous checkin (wrong diff).piaip2005-04-211-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2708 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix sigsegv when user reading articles in man and crossed pagespiaip2005-04-211-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2707 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* buffer overflow: file path [64] is too small!piaip2005-04-216-12/+10
| | | | | | | use PATHLEN instead. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2706 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change the default number of buying mailbox to 1kcwu2005-04-211-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2705 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make it more clear to prevent accidents.piaip2005-04-201-6/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2704 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (edit) same bug to quote.piaip2005-04-202-2/+7
| | | | | | | we should adjust (first) line if template files were read. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2703 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add NOFLOODING on utmpserverin22005-04-201-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: remove an unnecessary decreasevictor2005-04-201-4/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2700 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix buffer overflowvictor2005-04-201-4/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2699 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add assertion. deallocate resources.kcwu2005-04-201-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. make tty_read more clear and reablepiaip2005-04-184-14/+10
| | | | | | | 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-183-22/+39
| | | | | | | put class_bid in file scope (board.c) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2696 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* discard 2521 due to some unknown memory problems.in22005-04-182-15/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2695 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* array index off by 1 bugkcwu2005-04-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2694 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* enabled 8 bit connection by default for most piaip2005-04-091-25/+39
| | | | | | | | traditional telnet clients like FreeBSD's. more robust telnet opt negotiation state machine. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a patch to fix bug caused by changes of igetch()'s behavior piaip2005-04-092-11/+22
| | | | | | | | which was introduced in r2690. (cpu freaks out on chatroom/chess [I_OTHERDATA]) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2692 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* "Bye-Bye Flying Horse" patchpiaip2005-04-083-182/+360
| | | | | | | | | | - a robust and clean TELNET protocol implementation - fixed hz lib (autoconvert) utf8 buffer overflow exploit - enabled term resizing in runtime, and even AYT! - eliminated the flying-horse delay in connecting stage git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2691 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* handle telnet protocol and enable NAWS (resize terminal) capability.in22005-04-084-41/+116
| | | | | | | | SKIP_TELNET_CONTROL_SIGNAL can be disabled now. by piaip git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2690 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong socket option typestable.rc@2687victor2005-04-051-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2687 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
* more statistickcwu2005-03-272-0/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2681 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix condition of friend test to avoid lookup filekcwu2005-03-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dead code. its key has been overrided.kcwu2005-03-271-85/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2677 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show message to tell user crashkcwu2005-03-271-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2674 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* long screen support at login.in22005-03-251-4/+37
| | | | | | | thanks piaip. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2673 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
* avoid to use c99 syntaxkcwu2005-03-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2670 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile errorkcwu2005-03-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2667 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment on bad codekcwu2005-03-191-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2661 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unused variable.kcwu2005-03-191-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2659 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Backup screen without hole. Save 8~11kb for normal user.kcwu2005-03-192-4/+8
| | | | | | | This one is missed in r2314. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2658 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* const qualifierkcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2656 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace strcat with strlcatkcwu2005-03-191-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2655 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: always clear quote_file after use. (esp. cancel)kcwu2005-03-191-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2654 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* statistic for user's first login todaykcwu2005-03-191-3/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2653 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* localtime() may destory its return buffer after second callkcwu2005-03-191-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2652 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* statistickcwu2005-03-1910-0/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2651 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* label mbbsd in minute precisionkcwu2005-03-191-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2650 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* currboard is constant pointerkcwu2005-03-193-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2644 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't call system() in simple casekcwu2005-03-192-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2643 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* save about 500 bytes stackkcwu2005-03-193-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2642 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* all use same same of io bufferkcwu2005-03-191-6/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2641 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dead codekcwu2005-03-196-115/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment on bad codekcwu2005-03-191-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2639 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refactor post articlekcwu2005-03-192-82/+36
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2637 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* less hard coded path/string.kcwu2005-03-1910-24/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2634 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-1939-341/+346
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't display board users on userlist in case of cooldownwens2005-03-191-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2631 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove display of board users when cool downptt2005-03-191-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2630 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug for r2580in22005-03-162-18/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2629 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning: searchuser() getuser() API change, don't change query string ↵kcwu2005-03-1512-40/+41
| | | | | | implicitly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* user defined show 壽星 or notin22005-03-152-23/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2626 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change the display of L+M. It become '!' ptt2005-03-151-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2625 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of reading buffervictor2005-03-142-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2624 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove 壽星 (prevent violating 個人資料保護法)in22005-03-143-4/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2623 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bugfix: some user will always stay in friends' friend list after logoutkcwu2005-03-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2620 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only articles with S and M flags could not be pushed.in22005-03-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2613in22005-03-132-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2618 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: if user disconnected during login, goodpost will be reseted to 0.kcwu2005-03-131-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2615 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use Copy() instead Link() for most casesin22005-03-133-45/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2613 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix dark screen bugptt2005-03-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2612 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* solved what DonaldLam said about allpost problemptt2005-03-131-29/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2611 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ld --sort-common, reduce bss section align overhead about 300~400 byteskcwu2005-03-121-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2610 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unused global variableskcwu2005-03-121-4/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2609 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable into local, 587 byteskcwu2005-03-126-51/+65
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable into localkcwu2005-03-121-10/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2606 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chicken aging problem: don't use other's age in calculationkcwu2005-03-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2605 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r2623@m722: kcwu | 2005-03-12 20:21:28 +0800kcwu2005-03-121-5/+13
| | | | | | | split long lines git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2604 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r2622@m722: kcwu | 2005-03-12 20:11:10 +0800kcwu2005-03-121-136/+145
| | | | | | | move global variables into local, 282 bytes git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2603 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable into localkcwu2005-03-121-195/+219
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move 76 bytes global variable into localkcwu2005-03-121-161/+157
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2601 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move 232 bytes from data section to rodata sectionkcwu2005-03-127-42/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix XXXin22005-03-121-6/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2599 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add comment about WYchuang@ptt's suggestionkcwu2005-03-121-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2598 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove "proverb" function, which doesn't work for a long timekcwu2005-03-123-41/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2597 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable xuser into local, save 512 bytes.kcwu2005-03-1216-46/+59
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable into local, save another 414 byteskcwu2005-03-121-137/+141
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2595 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-1237-211/+216
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable to local, save another 536 byteskcwu2005-03-123-43/+59
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2591 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* symlink(src, dst) instead of symlink(dst, src)in22005-03-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2590 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bad codekcwu2005-03-101-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2589 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r2586@m722: kcwu | 2005-03-10 18:01:58 +0800kcwu2005-03-101-1/+3
| | | | | | | don't forget to fclose() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2588 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugwens2005-03-101-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2587 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* No talk/chess request allowed when watching Chinese chess.scw2005-03-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix alignment and permission problems when USE_HUGETLB.in22005-03-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2583 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add "cool down" feature for boards.wens2005-03-094-0/+108
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add support for hugetblpage of Linux 2.6wens2005-03-081-1/+5
| | | | | | | do not use this if you do not know what this is git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove personal ident for registration.in22005-03-082-76/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2580 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugwens2005-03-062-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2578 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't delete password trial by default.kcwu2005-03-061-1/+1
| | | | | | | suggest by dale@ptt, patch by ledia@ptt2. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2577 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use domain_name_query.cidr instead domain_name_queryin22005-03-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2576 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitwens2005-03-032-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2575 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Post limits do not apply to BMs and SYSOPswens2005-03-032-8/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add regtime to post & vote limitswens2005-03-033-16/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2573 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugs in revision 2570victor2005-03-031-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2572 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show a message for hidden password inputin22005-03-031-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dietlibc friendlywens2005-03-031-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2570 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning free: "static" should be in front of "const"kcwu2005-03-039-25/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* able to choose ip to bindwens2005-03-021-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typokcwu2005-03-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2567 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix message typokcwu2005-02-281-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2565 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add code question commentkcwu2005-02-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2564 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: fix the potential of char overflowkcwu2005-02-281-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2563 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce system callkcwu2005-02-281-13/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2562 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
* fix last commitkcwu2005-02-281-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix illegal top_of_win, and add comment on oldcurrlinevictor2005-02-271-1/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2558 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix mem leakvictor2005-02-271-30/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2557 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reenable Chinese chess watching.scw2005-02-262-17/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2556 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce number of system callkcwu2005-02-261-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2554 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce some hundred of system call for each logoutkcwu2005-02-261-14/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2553 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix HASH_BITS checking condition.kcwu2005-02-261-3/+4
| | | | | | | suggest to use bigger value if MAX_USERS is quite large. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2550 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use fnv hash function for all hash.kcwu2005-02-266-37/+30
| | | | | | | | | | | * add version field in SHM. * clean up & reorder SHM, add gaps between arrays. * enlarge USHM_SIZE. * remove unused shmsweep.c. * WARNING, you need to stop bbs and clean old shm before run this revision. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2549 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of buffer pastingvictor2005-02-251-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2548 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 'internal error' when deleting articles from other sites.in22005-02-251-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2546 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* defer fav_load() to choose_board() if the user didn't subscribe new boards.kcwu2005-02-251-4/+6
| | | | | | | don't know it will save memory or not. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2545 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* import FNV hash function.kcwu2005-02-251-18/+43
| | | | | | | rewrite getkeep() for memory saving git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2544 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* system() should not be therevictor2005-02-251-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2543 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing commit for 2541in22005-02-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add Account Registration (PERM_REG) for registration.in22005-02-253-10/+14
| | | | | | | remove PERM_SMG. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2541 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dynamic allocate TagList[], save 2kb memory.kcwu2005-02-252-8/+9
| | | | | | | (only 0.2% online users use it) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2540 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use only single malloc in initsetproctitle()kcwu2005-02-251-3/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2538 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only users with PERM_LOGINOK instead of PERM_BASIC couldin22005-02-242-2/+2
| | | | | | | mail or forward articles. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2537 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freekcwu2005-02-241-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2536 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix dietlibc supportkcwu2005-02-242-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2535 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add dietlibc support, reduced 16kb memory usage on linux x86_64.kcwu2005-02-247-13/+751
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use libdes crypt() to save lots of memory, more than 100kb!kcwu2005-02-242-2/+45
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2530 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* import crypt.c taken from ssh 1.2.33kcwu2005-02-241-0/+604
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2529 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid use math library (-lm).kcwu2005-02-243-5/+132
| | | | | | | sanity check for result of elo rating git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2528 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log outcome of chess playingkcwu2005-02-241-0/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2527 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mallopt optionvictor2005-02-202-13/+36
| | | | | | | reduce two static array git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2524 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* s/#ifdef/#if/victor2005-02-192-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2523 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* define FOREIGN_REG to allow foreigner's registrationvictor2005-02-192-4/+8
| | | | | | | define FOREIGN_REG_DAY to limit their deadline to get the right of stay git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2522 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* in CRITICAL_MEMORY, alloc water[] when it's needed.in22005-02-192-2/+16
| | | | | | | save many memory for most users. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2521 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* background load bottom after sort_bcache() or damage whole system,in22005-02-181-6/+14
| | | | | | | especially sites with large number of boards or slow hdds. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2519 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* showplans() does not always called after getuser() so that it shouldscw2005-02-181-0/+3
| | | | | | | update xuser itself. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2518 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix domenu's bugvictor2005-02-182-8/+20
| | | | | | | limit some function to permission PERM_LOGINOK git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2517 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix broadcast conditionkcwu2005-02-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2516 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing #ifdef/endif pairvictor2005-02-162-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2515 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix KEY_END's bug in ansimodevictor2005-02-161-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2514 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix block cutting's problem (free an freed pointer, oldcurrline)victor2005-02-161-11/+24
| | | | | | | remove never used code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2513 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix setperm's bug, check NULL condition first in set_attrvictor2005-02-152-9/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2512 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the fault while buying ex-email.ptt2005-02-142-7/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2511 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* commit local change of {read,write}_favrec, which solved the problem of ↵victor2005-02-142-8/+44
| | | | | | pointer size in 32 and 64-bit arch git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2509 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2499 in _BBS_UTIL_C_ mode.in22005-02-131-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2507 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Complete groups as well as boards in m_board()scw2005-02-123-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2504 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix quoting and file editing bug.scw2005-02-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2503 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Strip escape sequences and spaces in country name when playing gomoku.scw2005-02-121-2/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2502 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show a warning message if SYSOP enters a hidden boardin22005-02-121-0/+7
| | | | | | | and s/he is not in its board friend list. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2501 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add comment for hbflcheck()in22005-02-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2500 63ad8ddf-47c3-0310-b6dd-a9e9d9715204