ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/utils.C
Revision 1.110 - (view) (download) (annotate) - [select for diffs]
Sat Oct 8 21:54:05 2022 UTC (19 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.109: +11 -4 lines
Diff to previous 1.109
*** empty log message ***

Revision 1.109 - (view) (download) (annotate) - [select for diffs]
Wed Dec 5 19:03:26 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.108: +1 -1 lines
Diff to previous 1.108
some bugfixes

Revision 1.108 - (view) (download) (annotate) - [select for diffs]
Sat Nov 17 23:40:00 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.107: +1 -0 lines
Diff to previous 1.107
copyright update 2018

Revision 1.107 - (view) (download) (annotate) - [select for diffs]
Sat Nov 17 23:33:17 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.106: +0 -17 lines
Diff to previous 1.106
*** empty log message ***

Revision 1.106 - (view) (download) (annotate) - [select for diffs]
Wed Nov 14 22:52:13 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105
*** empty log message ***

Revision 1.105 - (view) (download) (annotate) - [select for diffs]
Thu Jan 19 21:51:43 2017 UTC (7 years, 3 months ago) by root
Branch: MAIN
Changes since 1.104: +1 -1 lines
Diff to previous 1.104
*** empty log message ***

Revision 1.104 - (view) (download) (annotate) - [select for diffs]
Wed Nov 16 23:41:59 2016 UTC (7 years, 5 months ago) by root
Branch: MAIN
Changes since 1.103: +1 -1 lines
Diff to previous 1.103
copyright update 2016

Revision 1.103 - (view) (download) (annotate) - [select for diffs]
Mon Dec 17 02:07:15 2012 UTC (11 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-3_1
Changes since 1.102: +3 -0 lines
Diff to previous 1.102
sigfpe handling

Revision 1.102 - (view) (download) (annotate) - [select for diffs]
Sun Nov 11 01:27:44 2012 UTC (11 years, 6 months ago) by root
Branch: MAIN
Changes since 1.101: +11 -2 lines
Diff to previous 1.101
*** empty log message ***

Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Mon Oct 29 23:55:52 2012 UTC (11 years, 6 months ago) by root
Branch: MAIN
Changes since 1.100: +5 -5 lines
Diff to previous 1.100
trailing space removal

Revision 1.100 - (view) (download) (annotate) - [select for diffs]
Tue Jan 3 11:25:31 2012 UTC (12 years, 4 months ago) by root
Branch: MAIN
Changes since 1.99: +1 -1 lines
Diff to previous 1.99
update copyrights to 2012

Revision 1.99 - (view) (download) (annotate) - [select for diffs]
Tue Jan 3 11:23:41 2012 UTC (12 years, 4 months ago) by root
Branch: MAIN
Changes since 1.98: +41 -7 lines
Diff to previous 1.98
*** empty log message ***

Revision 1.98 - (view) (download) (annotate) - [select for diffs]
Sat Apr 23 04:56:47 2011 UTC (13 years ago) by root
Branch: MAIN
Changes since 1.97: +1 -1 lines
Diff to previous 1.97
update copyright to 2011

Revision 1.97 - (view) (download) (annotate) - [select for diffs]
Fri Jul 2 02:00:47 2010 UTC (13 years, 10 months ago) by root
Branch: MAIN
Changes since 1.96: +0 -42 lines
Diff to previous 1.96
*** empty log message ***

Revision 1.96 - (view) (download) (annotate) - [select for diffs]
Mon Apr 5 20:33:13 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.95: +6 -1 lines
Diff to previous 1.95
fix get_levelnumber and rename it to ordinal, also allow more format buffers

Revision 1.95 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 01:04:44 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.94: +1 -1 lines
Diff to previous 1.94
update copyright for up to 2010

Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Wed Nov 11 03:52:44 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_92, rel-2_93
Changes since 1.93: +17 -0 lines
Diff to previous 1.93
fix icecube thawing bug

Revision 1.93 - (view) (download) (annotate) - [select for diffs]
Wed Nov 4 00:02:48 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_90
Changes since 1.92: +1 -328 lines
Diff to previous 1.92
agpl reorganisation

Revision 1.92 - (view) (download) (annotate) - [select for diffs]
Tue Nov 3 23:18:23 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.91: +1 -1 lines
Diff to previous 1.91
clarify 100% agpl files

Revision 1.91 - (view) (download) (annotate) - [select for diffs]
Tue Oct 20 05:57:08 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_82
Changes since 1.90: +0 -39 lines
Diff to previous 1.90
*** empty log message ***

Revision 1.90 - (view) (download) (annotate) - [select for diffs]
Thu Oct 15 21:09:32 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.89: +10 -6 lines
Diff to previous 1.89
get rid of HUGE_BUF

Revision 1.89 - (view) (download) (annotate) - [select for diffs]
Mon Oct 12 14:00:57 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_81
Changes since 1.88: +7 -6 lines
Diff to previous 1.88
clarify license

Revision 1.88 - (view) (download) (annotate) - [select for diffs]
Sun Oct 11 05:31:54 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.87: +2 -1 lines
Diff to previous 1.87
*** empty log message ***

Revision 1.87 - (view) (download) (annotate) - [select for diffs]
Sun Oct 11 01:35:53 2009 UTC (14 years, 7 months ago) by sf-marcmagus
Branch: MAIN
Changes since 1.86: +22 -0 lines
Diff to previous 1.86
Fix exploit where books inscribed or marking runes created by players could
contain special text such as "@match" or "@eval" which would allow them to
execute arbitrary code.

Revision 1.86 - (view) (download) (annotate) - [select for diffs]
Mon Jan 12 03:40:21 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_76, rel-2_77, rel-2_78, rel-2_79, rel-2_80
Changes since 1.85: +13 -8 lines
Diff to previous 1.85
*** empty log message ***

Revision 1.85 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 17:35:37 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_75
Changes since 1.84: +1 -1 lines
Diff to previous 1.84
refactoring of shstr classe,s new shstr_tmp, lots of minor rewriting

Revision 1.84 - (view) (download) (annotate) - [select for diffs]
Tue Dec 30 07:24:16 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.83: +9 -4 lines
Diff to previous 1.83
*** empty log message ***

Revision 1.83 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 06:59:26 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_74
Changes since 1.82: +11 -11 lines
Diff to previous 1.82
smell, remove gcfclient support, material fixes, cfpod parse fixes, refactoring

Revision 1.82 - (view) (download) (annotate) - [select for diffs]
Thu Sep 11 12:43:17 2008 UTC (15 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_71, rel-2_72, rel-2_73
Changes since 1.81: +0 -2 lines
Diff to previous 1.81
*** empty log message ***

Revision 1.81 - (view) (download) (annotate) - [select for diffs]
Wed Sep 10 21:29:39 2008 UTC (15 years, 8 months ago) by root
Branch: MAIN
Changes since 1.80: +15 -0 lines
Diff to previous 1.80
be more persistent about coredumps

Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Wed Sep 10 18:18:10 2008 UTC (15 years, 8 months ago) by root
Branch: MAIN
Changes since 1.79: +3 -1 lines
Diff to previous 1.79
*** empty log message ***

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Sat Aug 30 05:19:03 2008 UTC (15 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_7
Changes since 1.78: +17 -0 lines
Diff to previous 1.78
*** empty log message ***

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Fri May 16 17:09:38 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_55, rel-2_56, rel-2_6, rel-2_61
Changes since 1.77: +13 -23 lines
Diff to previous 1.77
*** empty log message ***

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Sun May 4 14:12:37 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_53, rel-2_54
Changes since 1.76: +1 -1 lines
Diff to previous 1.76
lotsa

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Mon Apr 21 23:35:24 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_52
Changes since 1.75: +0 -1 lines
Diff to previous 1.75
- fix weight/pickup bugs, visible_to
- do more automatic nrof/weight updates
- kill funcpoint.h

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Tue Apr 15 03:16:02 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-2_5
Changes since 1.74: +12 -1 lines
Diff to previous 1.74
better logging, remove cruft

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Fri Apr 11 21:09:52 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.73: +12 -13 lines
Diff to previous 1.73
*** empty log message ***

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Wed Apr 2 11:13:53 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-2_43
Changes since 1.72: +12 -0 lines
Diff to previous 1.72
*** empty log message ***

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Tue Apr 1 19:50:36 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71
tuning, glibc-bugworkaround

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Fri Feb 1 15:54:07 2008 UTC (16 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_42
Changes since 1.70: +1 -1 lines
Diff to previous 1.70
*** empty log message ***

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Fri Jan 25 18:09:23 2008 UTC (16 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_41
Changes since 1.69: +1 -1 lines
Diff to previous 1.69
*** empty log message ***

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Tue Jan 22 15:53:01 2008 UTC (16 years, 3 months ago) by root
Branch: MAIN
Changes since 1.68: +40 -0 lines
Diff to previous 1.68
add some primitive memory debugging

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 19:43:24 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_32, rel-2_4
Changes since 1.67: +4 -4 lines
Diff to previous 1.67
update copyrights and other minor stuff to deliantra

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Tue Oct 16 05:34:24 2007 UTC (16 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_3
Changes since 1.66: +2 -1 lines
Diff to previous 1.66
add slice and shstr statistics

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Sun Sep 9 06:56:10 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2
Changes since 1.65: +0 -9 lines
Diff to previous 1.65
*** empty log message ***

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Thu Aug 16 06:36:56 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.64: +9 -30 lines
Diff to previous 1.64
first, untested, try at spicing up the message system

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Fri Aug 10 11:02:44 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.63: +0 -2 lines
Diff to previous 1.63
indent

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Mon Aug 6 10:54:11 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.62: +10 -0 lines
Diff to previous 1.62
rather uncertain optimisation.. trying to take advantage of cmov instructions
if refptr.

a = b before:

     510:       48 8b 16                mov    (%rsi),%rdx
     513:       48 85 d2                test   %rdx,%rdx
     516:       75 0c                   jne    524 <xyzzy(refptr<object>, refptr<object>)+0x14>
     518:       48 8b 07                mov    (%rdi),%rax
     51b:       48 85 c0                test   %rax,%rax
     51e:       75 09                   jne    529 <xyzzy(refptr<object>, refptr<object>)+0x19>
     520:       48 89 17                mov    %rdx,(%rdi)
     523:       c3                      retq
     524:       ff 42 08                incl   0x8(%rdx)
     527:       eb ef                   jmp    518 <xyzzy(refptr<object>, refptr<object>)+0x8>
     529:       ff 48 08                decl   0x8(%rax)
     52c:       0f 1f 40 00             nopl   0x0(%rax)
     530:       eb ee                   jmp    520 <xyzzy(refptr<object>, refptr<object>)+0x10>

a = b after:

     141:       4c 8b 0f                mov    (%rdi),%r9
     144:       ba 00 00 00 00          mov    $0x0,%edx
     149:       4d 8d 41 08             lea    0x8(%r9),%r8
     14d:       4d 85 c9                test   %r9,%r9
     150:       4c 0f 44 c2             cmove  %rdx,%r8
     154:       41 ff 08                decl   (%r8)
     157:       48 8b 06                mov    (%rsi),%rax
     15a:       48 8d 48 08             lea    0x8(%rax),%rcx
     15e:       48 85 c0                test   %rax,%rax
     161:       48 89 07                mov    %rax,(%rdi)
     164:       48 0f 45 d1             cmovne %rcx,%rdx
     168:       ff 02                   incl   (%rdx)
     16a:       c3                      retq

note no jumps but larger codeside (1.7kb net increase).

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Tue Jul 10 07:31:20 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61
return 0 from name_to_material for unknown materials, to avoid unknown material message

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Tue Jul 10 05:51:37 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.60: +11 -36 lines
Diff to previous 1.60
- improve dynbuf implementation further
- save now saves shstrs longer than HUGE_BUF, lets fix any brokenness remaining
  in the server...
- converted most describe_*-functions to dynbuf_text, making them likely
  faster (or maybe slower), while removing any hardcoded length limit.
- memory allocated for static dynbuf's is not being returned ever (at least
  not the initial chunk, maybe fix this?)
- implement framework for predeclared const shstrs for comparison purposes
  (shstrinc.h).
- enabled and enforced new material code.
- implement hack to clean up book titles.
- increases HUGE_BUF to 10240, to be similar to mac network packet size.

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:18 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.59: +11 -12 lines
Diff to previous 1.59
- upgrade crossfire trt to the GPL version 3 (hopefully correctly).
- add a single file covered by the GNU Affero General Public License
  (which is not yet released, so I used the current draft, which is
  legally a bit wavy, but its likely better than nothing as it expresses
  direct intent by the authors, and we can upgrade as soon as it has been
  released).
  * this should ensure availability of source code for the server at least
    and hopefully also archetypes and maps even when modified versions
    are not being distributed, in accordance of section 13 of the agplv3.

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Thu Jun 7 19:12:22 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.58: +0 -68 lines
Diff to previous 1.58
- new map header boolean "no_reset 1" to deny reset.
- allow reset of per-player maps, effectviely implementing
  player-private dungeons.
- re-enabled reset-on-load feature again.
- remove fail-safe mechanism that prevented per-player maps from
  being reset. keep your fingers crossed.
- fixed two bugs in archetype finding (archname vs. object name).
- singularities no longer crash the server but will log a backtrace
  now as they are really are fatal.

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 12:19:08 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57
rename arch->name to arch->archname for preparation of subclassing object

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Mon May 28 21:21:40 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.56: +17 -17 lines
Diff to previous 1.56
update copyrights in common/*.C and util/*.C

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Thu May 17 21:32:08 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.55: +1 -1 lines
Diff to previous 1.55
- prepare common/ for head_ => head change
- add some copyrights for files where they were missing

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Sat Apr 28 21:34:37 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.54: +15 -16 lines
Diff to previous 1.54
cleanup

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Fri Apr 27 20:06:37 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53
fucking naming conventiosn

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Fri Apr 27 19:53:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52
instrument random_roll with new logBacktrace and pray that it works

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Fri Apr 27 14:41:37 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.51: +3 -0 lines
Diff to previous 1.51
we get ever more nifty

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Mon Apr 23 18:09:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.50: +36 -0 lines
Diff to previous 1.50
- add format utility function.
- split dynbuf into dynbuf and dynbuf_text.
- use dynbuf_text for examine strings instead of
  outputting each line seperately. tried to use stringstreams
  but they add insane overheads (as does std::string, but less so).

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sat Apr 21 23:03:54 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49
- rely on new stability for further cleanups and minor improvements

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sat Apr 21 22:57:15 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.48: +6 -6 lines
Diff to previous 1.48
- fix tausworthe generator initialisation (no big deal)
- use numerically more correct multiplication instead
  of remainder. this has surprisingly good consequences
  (which I originally didn't expect):
  - the generated code is smaller and faster
  - gcc optimises the 64 bit arithmetic extremely well on 32 bit archs.
  - behaviour for negative and zero arguments (both illegal) is
    pretty well-behaved.

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 18:09:33 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.47: +58 -0 lines
Diff to previous 1.47
- the damn rotate shift checksum just failed on me
- add crc32 and use it for bmaps_checksum (probably also for images).

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Wed Feb 7 02:04:46 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.46: +10 -17 lines
Diff to previous 1.46
rework material code in preparation for nuking object->materials, also add some useful object methods in preparation of the mapspace limiting

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 01:47:22 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.45: +2 -1 lines
Diff to previous 1.45
fix dead code to confuse me less

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Jan 27 02:19:36 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.44: +12 -15 lines
Diff to previous 1.44
- experimentall.y determine minimum random map size (12)
- harden random map generator by stresstesting
- reduced codesize while increasing readability (RANDOM => rndm)
- fixed a likely unimportant bug in random_roll64
- possibly broke lots of code

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Thu Jan 25 03:54:44 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.43: +4 -0 lines
Diff to previous 1.43
added checkrusage extension

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 22:24:10 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.42: +4 -4 lines
Diff to previous 1.42
fix random number generator seeding

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 15:15:49 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.41: +16 -2 lines
Diff to previous 1.41
- goofing around with my skills (overoptimisation to learn something)

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 22:19:59 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.40: +13 -24 lines
Diff to previous 1.40
RANDOM was broken due to signedness issues, also rewrote random_roll, no longer uses luck, but should

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 19:32:37 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.39: +24 -20 lines
Diff to previous 1.39
just experimenting

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 21:06:18 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.38: +22 -22 lines
Diff to previous 1.38
comments

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 02:42:15 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37
sigh

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 02:39:40 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.36: +18 -2 lines
Diff to previous 1.36
- fix crash bug
- better fork & abort (untested)

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Sat Jan 6 14:42:29 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.35: +1 -0 lines
Diff to previous 1.35
added some copyrights

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 13:31:46 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.34: +60 -58 lines
Diff to previous 1.34
this is close to working

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 12:28:46 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.33: +21 -28 lines
Diff to previous 1.33
set original flag so decay object doesn't go wild

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 18:10:40 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
- style maps need very special treatment
- cf has a nonzero chance of crashing in a random map

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 10:16:10 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.31: +23 -9 lines
Diff to previous 1.31
preliminary snapshot check-in, DO NOT USE IN PRODUCTION SYSTEMS
See the Changes file for details

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 14:54:44 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
the big rename

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 14:43:23 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
interim.checkin

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 11:25:49 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.28: +0 -19 lines
Diff to previous 1.28
- small, but subtle, rewrite of object management
- perl will now keep attachable objects alive
- objects are now refcounted
- refcouts need to be tested explicitly (refcnt_chk)
- explicit destroy is required current
- explicit destroy asks "nicely" for the object to self destruct, if possible
- refcounts will be used during mortal killing
- minor bugfixes, optimisations etc.
- some former hacks removed.

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 16:05:19 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.27: +3 -1 lines
Diff to previous 1.27
- made refcounted use a virtual destructor (codesize enlargement ~5k),
  in preparation for correctly refcounted objects with definite lifetime
  on both perl and c sides.

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 09:14:21 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 03:00:02 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.25: +16 -12 lines
Diff to previous 1.25
ooification

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Dec 17 23:10:34 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.24: +6 -6 lines
Diff to previous 1.24
another bug, do some adjustments to coredumping 'algorithm'

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 21:40:26 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.23: +4 -1 lines
Diff to previous 1.23
- clean up some code
- fix some possible (minor) bugs
- use a bitset for anims_sent
- fix a memory leak
- removed dead code

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 03:08:25 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.22: +22 -4 lines
Diff to previous 1.22
- socket i/o is completely asynchronous now
- some command sare handled immediately
- others (most palying related commands) are queued
  for later (as of now synchronous) processing
- specifying a max queue length (in seconds) is possible, but disabled
- also add some syntax sugar for network code

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Tue Dec 12 21:39:56 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.21: +1 -4 lines
Diff to previous 1.21
- more ooficiation
- removed now superfluous remove calls

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Tue Dec 12 20:53:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
replace some function- by method-calls

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 21:32:16 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
- simplify headerfiles (this is the 21st century)
- remove long long hacks for printf etc.

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 21:06:58 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
lld -> I64_PFd

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 19:46:46 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.17: +0 -4 lines
Diff to previous 1.17
removed #ifn?def WIN32 from all files

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Fri Nov 17 19:40:53 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.16: +18 -0 lines
Diff to previous 1.16
* remove arch.h
* use refcounting for archetypes
* cleanup
* strat of generic garbage collector

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:24:12 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
mapstruct => maptile
removed many ytypedefs in favor of structure tags

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 22:34:00 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14
indent

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 01:34:41 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.13: +2 -0 lines
Diff to previous 1.13
*** empty log message ***

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 21:10:31 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.12: +5 -15 lines
Diff to previous 1.12
tuning

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 20:55:40 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.11: +9 -30 lines
Diff to previous 1.11
make use of slice_allocator and inline zero_initialised

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 19:20:06 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +28 -1 lines
Diff to previous 1.10
- improve assign to prepend "..."
- make more use of assign
- implement op->debug_desc() and make some more use of it

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 01:16:20 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.9: +12 -9 lines
Diff to previous 1.9
fix perl class for archetype, never free once-allocated objects, or destruct
them, there are too many long-lived references (and refcount doesn't help,
likely because it isn't correctly being incremented/decremented).

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 16:00:23 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.8: +370 -305 lines
Diff to previous 1.8
indent

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sat Sep 9 21:48:28 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.7: +5 -1 lines
Diff to previous 1.7
fix a few ugly pod-constructs on non-pod objects, and a few newly introduced bugs

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri Sep 8 17:34:02 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.6: +1 -4 lines
Diff to previous 1.6
genaccess, take three

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Fri Sep 8 16:51:43 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5
generic accessors, take one

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Sep 7 09:37:12 2006 UTC (17 years, 8 months ago) by pippijn
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4
Cleaned up code a little.

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 11:07:59 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +18 -6 lines
Diff to previous 1.3
Changes...

- alternative shstr representation, saves code
- use glibs splice memory allocator (seems slower)
- use simpler memory/lifetime management for objects, no recycling

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:40 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.2: +19 -3 lines
Diff to previous 1.2
THIS CODE WILL NOT COMPILE
use the STABLE tag instead.

- major changes in object lifetime and memory management
- replaced manual refcounting by shstr class
- removed quest system
- many optimisations
- major changes

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 08:01:36 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.1: +176 -176 lines
Diff to previous 1.1
expand initial tabs to spaces

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:01 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a