ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/util.h
Revision 1.133 - (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.132: +2 -2 lines
Diff to previous 1.132
*** empty log message ***

Revision 1.132 - (view) (download) (annotate) - [select for diffs]
Thu Dec 20 04:40:15 2018 UTC (5 years, 4 months ago) by root
Branch: MAIN
Changes since 1.131: +16 -38 lines
Diff to previous 1.131
c++11ification of allocator

Revision 1.131 - (view) (download) (annotate) - [select for diffs]
Wed Dec 5 21:18:37 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.130: +2 -2 lines
Diff to previous 1.130
nuke compiler.h

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

Revision 1.129 - (view) (download) (annotate) - [select for diffs]
Sat Dec 1 20:22:13 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.128: +0 -14 lines
Diff to previous 1.128
slight cleanup

Revision 1.128 - (view) (download) (annotate) - [select for diffs]
Tue Nov 27 18:47:35 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.127: +4 -0 lines
Diff to previous 1.127
*** empty log message ***

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

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

Revision 1.125 - (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.124: +11 -11 lines
Diff to previous 1.124
*** empty log message ***

Revision 1.124 - (view) (download) (annotate) - [select for diffs]
Fri Nov 18 20:20:05 2016 UTC (7 years, 5 months ago) by root
Branch: MAIN
Changes since 1.123: +1 -1 lines
Diff to previous 1.123
*** empty log message ***

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

Revision 1.122 - (view) (download) (annotate) - [select for diffs]
Mon Nov 12 02:39:51 2012 UTC (11 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-3_1
Changes since 1.121: +5 -5 lines
Diff to previous 1.121
*** empty log message ***

Revision 1.121 - (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.120: +13 -6 lines
Diff to previous 1.120
*** empty log message ***

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

Revision 1.119 - (view) (download) (annotate) - [select for diffs]
Thu Jan 26 19:01:22 2012 UTC (12 years, 3 months ago) by root
Branch: MAIN
Changes since 1.118: +2 -2 lines
Diff to previous 1.118
*** empty log message ***

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

Revision 1.117 - (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.116: +57 -1 lines
Diff to previous 1.116
*** empty log message ***

Revision 1.116 - (view) (download) (annotate) - [select for diffs]
Sat Dec 31 06:18:01 2011 UTC (12 years, 4 months ago) by root
Branch: MAIN
Changes since 1.115: +2 -2 lines
Diff to previous 1.115
big min/max type change

Revision 1.115 - (view) (download) (annotate) - [select for diffs]
Tue Apr 26 14:41:36 2011 UTC (13 years ago) by root
Branch: MAIN
Changes since 1.114: +20 -0 lines
Diff to previous 1.114
*** empty log message ***

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

Revision 1.113 - (view) (download) (annotate) - [select for diffs]
Fri Apr 22 02:03:11 2011 UTC (13 years ago) by root
Branch: MAIN
Changes since 1.112: +1 -0 lines
Diff to previous 1.112
move gridmap to arch, refactor cf.pm a bit

Revision 1.112 - (view) (download) (annotate) - [select for diffs]
Tue Jul 6 20:15:13 2010 UTC (13 years, 10 months ago) by root
Branch: MAIN
Changes since 1.111: +2 -1 lines
Diff to previous 1.111
try better mixing for fnv1a

Revision 1.111 - (view) (download) (annotate) - [select for diffs]
Tue Jul 6 20:00:46 2010 UTC (13 years, 10 months ago) by root
Branch: MAIN
Changes since 1.110: +68 -0 lines
Diff to previous 1.110
move layout stuff to it's own include file

Revision 1.110 - (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.109: +0 -83 lines
Diff to previous 1.109
*** empty log message ***

Revision 1.109 - (view) (download) (annotate) - [select for diffs]
Tue Jun 29 16:52:53 2010 UTC (13 years, 10 months ago) by root
Branch: MAIN
Changes since 1.108: +1 -1 lines
Diff to previous 1.108
*** empty log message ***

Revision 1.108 - (view) (download) (annotate) - [select for diffs]
Wed May 26 19:11:43 2010 UTC (13 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.107: +1 -1 lines
Diff to previous 1.107
prot to c89 + extensions

Revision 1.107 - (view) (download) (annotate) - [select for diffs]
Sun May 2 14:46:56 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.106: +1 -1 lines
Diff to previous 1.106
d'oh

Revision 1.106 - (view) (download) (annotate) - [select for diffs]
Sun May 2 11:23:51 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.105: +3 -3 lines
Diff to previous 1.105
unapply keyless containers

Revision 1.105 - (view) (download) (annotate) - [select for diffs]
Fri Apr 30 20:43:18 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.104: +10 -4 lines
Diff to previous 1.104
indent

Revision 1.104 - (view) (download) (annotate) - [select for diffs]
Thu Apr 29 21:21:34 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.103: +1 -1 lines
Diff to previous 1.103
better 'luck' implementation, hopefully

Revision 1.103 - (view) (download) (annotate) - [select for diffs]
Thu Apr 29 15:49:04 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.102: +5 -1 lines
Diff to previous 1.102
indent

Revision 1.102 - (view) (download) (annotate) - [select for diffs]
Thu Apr 29 12:24:04 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.101: +1 -0 lines
Diff to previous 1.101
correctly flag parse errors for materials

Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Wed Apr 28 19:49:50 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.100: +9 -0 lines
Diff to previous 1.100
less MAX_BUF, more object_thawer dir/file convenience

Revision 1.100 - (view) (download) (annotate) - [select for diffs]
Thu Apr 22 13:01:58 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.99: +2 -1 lines
Diff to previous 1.99
*** empty log message ***

Revision 1.99 - (view) (download) (annotate) - [select for diffs]
Fri Apr 9 02:45:16 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.98: +3 -0 lines
Diff to previous 1.98
indent

Revision 1.98 - (view) (download) (annotate) - [select for diffs]
Fri Apr 2 03:41:24 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97
preliminary check-in with dbeugging code

Revision 1.97 - (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.96: +1 -1 lines
Diff to previous 1.96
update copyright for up to 2010

Revision 1.96 - (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.95: +14 -0 lines
Diff to previous 1.95
fix icecube thawing bug

Revision 1.95 - (view) (download) (annotate) - [select for diffs]
Tue Nov 10 00:01:31 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.94: +34 -30 lines
Diff to previous 1.94
store hash in shstr

Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Sun Nov 8 16:13:45 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.93: +1 -1 lines
Diff to previous 1.93
optimisations, cache volume/nrof in mapspace

Revision 1.93 - (view) (download) (annotate) - [select for diffs]
Sat Nov 7 18:30:05 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.92: +3 -23 lines
Diff to previous 1.92
lots of cleanups

Revision 1.92 - (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, rel-2_90
Changes since 1.91: +14 -0 lines
Diff to previous 1.91
*** empty log message ***

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

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

Revision 1.89 - (view) (download) (annotate) - [select for diffs]
Sun Oct 11 01:35:52 2009 UTC (14 years, 7 months ago) by sf-marcmagus
Branch: MAIN
Changes since 1.88: +3 -0 lines
Diff to previous 1.88
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.88 - (view) (download) (annotate) - [select for diffs]
Tue May 5 04:51:56 2009 UTC (15 years ago) by root
Branch: MAIN
CVS Tags: rel-2_79, rel-2_80
Changes since 1.87: +15 -3 lines
Diff to previous 1.87
adjust los lightness a bit

Revision 1.87 - (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
Changes since 1.86: +4 -3 lines
Diff to previous 1.86
*** empty log message ***

Revision 1.86 - (view) (download) (annotate) - [select for diffs]
Sat Jan 3 01:04:19 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_75
Changes since 1.85: +1 -0 lines
Diff to previous 1.85
*** empty log message ***

Revision 1.85 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 20:49:48 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.84: +2 -0 lines
Diff to previous 1.84
slim down perl interface

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

Revision 1.83 - (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.82: +37 -5 lines
Diff to previous 1.82
*** empty log message ***

Revision 1.82 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 02:33:32 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_74
Changes since 1.81: +3 -3 lines
Diff to previous 1.81
optimise rng for powers of two

Revision 1.81 - (view) (download) (annotate) - [select for diffs]
Fri Dec 26 10:36:42 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.80: +1 -1 lines
Diff to previous 1.80
*** empty log message ***

Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Tue Dec 23 01:51:28 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79
rmeove the last remnants of the weather code

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Fri Dec 19 22:47:29 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.78: +11 -0 lines
Diff to previous 1.78
new los code

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 03:48:19 2008 UTC (15 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_72, rel-2_73
Changes since 1.77: +28 -1 lines
Diff to previous 1.77
*** empty log message ***

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Thu May 8 14:20:19 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_54, rel-2_55, rel-2_56, rel-2_6, rel-2_61, rel-2_7, rel-2_71
Changes since 1.76: +1 -1 lines
Diff to previous 1.76
*** empty log message ***

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Thu May 8 11:39:23 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.75: +1 -1 lines
Diff to previous 1.75
*** empty log message ***

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Tue May 6 16:55:26 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.74: +1 -1 lines
Diff to previous 1.74
update copyright

Revision 1.74 - (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
Changes since 1.73: +1 -1 lines
Diff to previous 1.73
lotsa

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Sat May 3 11:14:50 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.72: +29 -0 lines
Diff to previous 1.72
kv rewrite

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Wed Apr 30 16:26:28 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.71: +8 -0 lines
Diff to previous 1.71
goof

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Sun Apr 20 06:20:38 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_52
Changes since 1.70: +1 -1 lines
Diff to previous 1.70
*** empty log message ***

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Sun Apr 20 05:24:55 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.69: +4 -2 lines
Diff to previous 1.69
- implement archetype gc
- implement "proper" refcounting for arches
- serialise resource file loads
- implement memory poisoning
- minor cleanups

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Fri Apr 18 23:43:59 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.68: +1 -1 lines
Diff to previous 1.68
*** empty log message ***

Revision 1.68 - (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.67: +10 -3 lines
Diff to previous 1.67
better logging, remove cruft

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

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

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

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Mon Mar 24 20:39:34 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63
try 5.10.0 and 5.8.8

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Sat Mar 15 13:52:38 2008 UTC (16 years, 2 months ago) by root
Branch: MAIN
Changes since 1.62: +3 -0 lines
Diff to previous 1.62
more const correctness and 5.10 gartituous breakage, sigh

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

Revision 1.61 - (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.60: +1 -1 lines
Diff to previous 1.60
*** empty log message ***

Revision 1.60 - (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.59: +10 -0 lines
Diff to previous 1.59
add some primitive memory debugging

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sun Dec 16 02:50:33 2007 UTC (16 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_4
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
*** empty log message ***

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

Revision 1.57 - (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.56: +7 -0 lines
Diff to previous 1.56
add slice and shstr statistics

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sun Sep 9 06:25:46 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2
Changes since 1.55: +1 -0 lines
Diff to previous 1.55
- nuke objects crossing map borders on save. bad luck.

Revision 1.55 - (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.54: +2 -2 lines
Diff to previous 1.54
first, untested, try at spicing up the message system

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Mon Aug 6 10:54:12 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.53: +41 -8 lines
Diff to previous 1.53
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.53 - (view) (download) (annotate) - [select for diffs]
Fri Jul 13 15:54:40 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.52: +6 -1 lines
Diff to previous 1.52
- make attachable destructors protected (maybe they should be private...)
- provide push_back for object vectors.
- regions are now attachables, so manage their refcounts properly.

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Wed Jul 11 12:29:06 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51
*** empty log message ***

Revision 1.51 - (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.50: +11 -12 lines
Diff to previous 1.50
- 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.50 - (view) (download) (annotate) - [select for diffs]
Sun Jun 24 00:33:54 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.49: +11 -9 lines
Diff to previous 1.49
- pippijn unknowingly inspired the idea of documenting the
  type of the objetc_vector_index explicitly.
- pippijn spotted a typoe, to, go figure!

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 13:04:00 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.48: +17 -3 lines
Diff to previous 1.48
- archetype is now a subclass of object.
- store archetypes in an object_vector.
- use a different startegy for archetype loading
  (reloading is MOST CERTAINLY broken).

Revision 1.48 - (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.47: +15 -1 lines
Diff to previous 1.47
rename arch->name to arch->archname for preparation of subclassing object

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Sat Jun 2 03:48:29 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.46: +5 -1 lines
Diff to previous 1.46
g++ finally got decltype

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Mon May 28 21:15:56 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.45: +22 -0 lines
Diff to previous 1.45
- update copyrights in .h files, where applicable
- rename preprocess to genkeywords

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat May 26 15:44:05 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.44: +12 -2 lines
Diff to previous 1.44
- restore after combined mainboard+harddisk crash
- cleanup/fixes for 2.1 release
- fix invoke to actually do work
- refactor invoke shortcuts, gcc cannot inline
  varargs functions.
- optimised invoke to 4-5 insns in the common case.
- optimised (For no good reason) the int-to-ascii
  conversions of dynbuf_text into division-less and
  branchless code (of which I am pretty proud).
- actually move players to their savebed when they did
  not use one and the map has been reste in the meantime.
  does not kill (yet) when too long.
- enter_map is now handled completely in perl.
- goto is now using generation counting to ensure that only the
  most-recently-issues goto will succeed.
- make some heavy use of __builtin_expect to streamline
  rare callbacks even more.
- optimised thawer.

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Fri May 11 08:00:00 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.43: +7 -0 lines
Diff to previous 1.43
- introduce a notion of cpu load average within the server
- use it to more gracefully increase swap intervals in the map-scheduler
- add clip and lerp utility functions.

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Apr 23 18:09:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.42: +3 -0 lines
Diff to previous 1.42
- 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.42 - (view) (download) (annotate) - [select for diffs]
Sat Apr 21 23:03:54 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.41: +6 -6 lines
Diff to previous 1.41
- rely on new stability for further cleanups and minor improvements

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sat Apr 21 22:57:16 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40
- 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.40 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 15:41:27 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39
replace AUTODECL by auto. this is the first time in my life, I think, that I redefined a keyword - fortunately only with arguments

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 12:28:16 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
nano-cleanups

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 18:09:34 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.37: +9 -3 lines
Diff to previous 1.37
- the damn rotate shift checksum just failed on me
- add crc32 and use it for bmaps_checksum (probably also for images).

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 15:43:36 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.36: +39 -0 lines
Diff to previous 1.36
- useless ยต-opts
- use maximum norm in get_rangevector (a bit, should use more)

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

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 22:47:57 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.34: +5 -3 lines
Diff to previous 1.34
*** empty log message ***

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

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

Revision 1.32 - (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.31: +37 -6 lines
Diff to previous 1.31
just experimenting

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

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 01:50:33 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29
testing helps

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 01:39:42 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.28: +10 -0 lines
Diff to previous 1.28
more micro-optimisation, use idistance, min is faster than MIN

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 01:25:41 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.27: +31 -0 lines
Diff to previous 1.27
- faster implementation for isqrt
- add fast idistance approximation

now find_dir_2 has moved to the top of the profiling output for
mlab/cwdccastleofmarquis3, followed by get_rangevector, hit_map
and ok_to_put_more.

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 00:40:49 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.26: +8 -0 lines
Diff to previous 1.26
- micro-optimised hit_map and ok_to_put_more, this
  immensely helped reduce load on dense maps.
- introduced xy_normalise, which is imho a saner interface
  and much faster than get_map_flags so should be used
  in new code (and time-critical code).

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 02:39:14 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.25: +45 -2 lines
Diff to previous 1.25
""

Revision 1.25 - (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.24: +7 -2 lines
Diff to previous 1.24
preliminary snapshot check-in, DO NOT USE IN PRODUCTION SYSTEMS
See the Changes file for details

Revision 1.24 - (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.23: +3 -16 lines
Diff to previous 1.23
- 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.23 - (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.22: +1 -1 lines
Diff to previous 1.22
- 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.22 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 06:21:02 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.21: +4 -0 lines
Diff to previous 1.21
- improved login code
- removed some cruft code and (finally), the player_pod hack

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 06:12:36 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.20: +4 -0 lines
Diff to previous 1.20
- made client a first-class crossfire-perl object
  (its attachable), but perl support is missing.
- added some client events
- fixed reply not working after logout

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

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Dec 17 19:07:23 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
thats the crash bug

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

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 03:08:26 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.16: +12 -5 lines
Diff to previous 1.16
- 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.16 - (view) (download) (annotate) - [select for diffs]
Fri Nov 17 19:40:54 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.15: +8 -1 lines
Diff to previous 1.15
* remove arch.h
* use refcounting for archetypes
* cleanup
* strat of generic garbage collector

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 13:11:20 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14
*** empty log message ***

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 18:13:02 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.13: +3 -0 lines
Diff to previous 1.13
presuppose iso c++0x

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 00:07:15 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12
reenable shstr gc, fix bug bad bug in allocator

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

Revision 1.11 - (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.10: +91 -7 lines
Diff to previous 1.10
make use of slice_allocator and inline zero_initialised

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

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 18:15:34 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.8: +9 -0 lines
Diff to previous 1.8
- introduce shstr_cmp for mass comparisons to shstr and make use of it
- introduce assign utility function to replace strncpy

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 23:33:30 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.7: +6 -0 lines
Diff to previous 1.7
- temporarily disabled shstr garbage collection
- use sint64 instead of uint64 in shop code
- implement fully recursive item iterator for object
- add some utility functions

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 20:28:37 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.6: +40 -0 lines
Diff to previous 1.6
implement owner pointer using refcounted refptr templates

Revision 1.6 - (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.5: +22 -0 lines
Diff to previous 1.5
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.5 - (view) (download) (annotate) - [select for diffs]
Thu Sep 7 20:03:20 2006 UTC (17 years, 8 months ago) by pippijn
Branch: MAIN
Changes since 1.4: +0 -1 lines
Diff to previous 1.4
Entirely removed cfpython.

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 17:16:19 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +35 -0 lines
Diff to previous 1.3
*** empty log message ***

Revision 1.3 - (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.2: +2 -0 lines
Diff to previous 1.2
Changes...

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

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 23:33:01 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.1: +6 -0 lines
Diff to previous 1.1
use alternative shstr representation, might or might not be faster, but does save code

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sat Sep 2 22:57:55 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
*** empty log message ***

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