ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/shstr.C
Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Wed Dec 5 22:14:02 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
*** empty log message ***

Revision 1.56 - (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.55: +1 -1 lines
Diff to previous 1.55
some bugfixes

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

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sun Nov 25 02:17:31 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.53: +3 -4 lines
Diff to previous 1.53
*** empty log message ***

Revision 1.53 - (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.52: +1 -0 lines
Diff to previous 1.52
copyright update 2018

Revision 1.52 - (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.51: +4 -3 lines
Diff to previous 1.51
*** empty log message ***

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Fri Nov 18 04:44:13 2016 UTC (7 years, 5 months ago) by root
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50
*** empty log message ***

Revision 1.50 - (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.49: +1 -1 lines
Diff to previous 1.49
copyright update 2016

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

Revision 1.48 - (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.47: +1 -1 lines
Diff to previous 1.47
update copyrights to 2012

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Fri Jun 3 08:36:45 2011 UTC (12 years, 11 months ago) by elmex
Branch: MAIN
Changes since 1.46: +1 -0 lines
Diff to previous 1.46
commited fix for freed_map initialisation order.

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

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Aug 28 23:49:03 2010 UTC (13 years, 8 months ago) by root
Branch: MAIN
Changes since 1.44: +9 -0 lines
Diff to previous 1.44
refactor, allow 0 substring

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 00:36:51 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.43: +0 -1 lines
Diff to previous 1.43
*** empty log message ***

Revision 1.43 - (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.42: +1 -1 lines
Diff to previous 1.42
update copyright for up to 2010

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Tue Nov 10 04:38:45 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_92, rel-2_93
Changes since 1.41: +1 -0 lines
Diff to previous 1.41
material overhaul

Revision 1.41 - (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.40: +8 -5 lines
Diff to previous 1.40
store hash in shstr

Revision 1.40 - (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.39: +0 -21 lines
Diff to previous 1.39
agpl reorganisation

Revision 1.39 - (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, rel-2_82
Changes since 1.38: +7 -6 lines
Diff to previous 1.38
clarify license

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

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 16:05:12 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
rmeove most shstr-strcmps

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 11:41:17 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.35: +3 -1 lines
Diff to previous 1.35
*** empty log message ***

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 18:29:44 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.34: +1 -4 lines
Diff to previous 1.34
i am so stupid - reverted

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 18:25:12 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.33: +4 -1 lines
Diff to previous 1.33
avoid dynamic intialisation for constant shstrings, also keep those out of the hash

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 18:07:41 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.32: +6 -17 lines
Diff to previous 1.32
further optimisations

Revision 1.32 - (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.31: +7 -6 lines
Diff to previous 1.31
refactoring of shstr classe,s new shstr_tmp, lots of minor rewriting

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Tue Jul 29 02:00:55 2008 UTC (15 years, 9 months ago) by root
Branch: MAIN
CVS Tags: rel-2_61, rel-2_7, rel-2_71, rel-2_72, rel-2_73, rel-2_74
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
4.3

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat May 3 11:14:50 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_53, rel-2_54, rel-2_55, rel-2_56, rel-2_6
Changes since 1.29: +2 -0 lines
Diff to previous 1.29
kv rewrite

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Fri Apr 11 21:09:52 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-2_5, rel-2_52
Changes since 1.28: +7 -1 lines
Diff to previous 1.28
*** empty log message ***

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

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Oct 22 05:46:44 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_3
Changes since 1.26: +0 -1 lines
Diff to previous 1.26
*** empty log message ***

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue Oct 16 05:34:24 2007 UTC (16 years, 7 months ago) by root
Branch: MAIN
Changes since 1.25: +6 -0 lines
Diff to previous 1.25
add slice and shstr statistics

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Tue Jul 10 05:51:37 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2
Changes since 1.24: +5 -3 lines
Diff to previous 1.24
- 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.24 - (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.23: +11 -12 lines
Diff to previous 1.23
- 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.23 - (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.22: +19 -19 lines
Diff to previous 1.22
update copyrights in common/*.C and util/*.C

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

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 15:41:26 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20
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.20 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 18:13:01 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.19: +3 -3 lines
Diff to previous 1.19
presuppose iso c++0x

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Wed Sep 13 23:39:27 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.18: +0 -4 lines
Diff to previous 1.18
*** empty log message ***

Revision 1.18 - (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.17: +2 -2 lines
Diff to previous 1.17
make use of slice_allocator and inline zero_initialised

Revision 1.17 - (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.16: +11 -5 lines
Diff to previous 1.16
- improve assign to prepend "..."
- make more use of assign
- implement op->debug_desc() and make some more use of it

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 00:53:56 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.15: +9 -16 lines
Diff to previous 1.15
introducing skillinc.h

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

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 23:33:28 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.13: +3 -0 lines
Diff to previous 1.13
- 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.13 - (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.12: +30 -21 lines
Diff to previous 1.12
indent

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Thu Sep 7 07:52:58 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.11: +0 -2 lines
Diff to previous 1.11
*** empty log message ***

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Sep 5 19:20:16 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
use slice allocator for shstr

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Sep 5 19:18:04 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.9: +7 -3 lines
Diff to previous 1.9
use slice allocator for shstr

Revision 1.9 - (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.8: +2 -36 lines
Diff to previous 1.8
*** empty log message ***

Revision 1.8 - (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.7: +4 -1 lines
Diff to previous 1.7
Changes...

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

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

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 11:37:25 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +6 -3 lines
Diff to previous 1.5
final cleanups

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 09:00:05 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +47 -12 lines
Diff to previous 1.4
everything seems to work so far

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 08:05:39 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +7 -3 lines
Diff to previous 1.3
for some unexplicable reasons, it seems to run after fixing the obvious errors

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: +61 -373 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: +138 -138 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