ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/shstr.h
Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Wed Dec 5 22:09:21 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.46: +6 -0 lines
Diff to previous 1.46
d'oh, i nuked the copy constructor

Revision 1.46 - (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.45: +0 -6 lines
Diff to previous 1.45
*** empty log message ***

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

Revision 1.44 - (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.43: +2 -2 lines
Diff to previous 1.43
*** empty log message ***

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

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

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

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

Revision 1.39 - (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.38: +1 -4 lines
Diff to previous 1.38
refactor, allow 0 substring

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

Revision 1.37 - (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.36: +1 -1 lines
Diff to previous 1.36
material overhaul

Revision 1.36 - (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.35: +13 -1 lines
Diff to previous 1.35
store hash in shstr

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 13:45:28 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_90
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
remove or document dead code

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Tue Nov 3 23:44:21 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33
tighten copyright statements for files containing no gpl code whatsoever anymore

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

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 20:49:48 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.31: +3 -0 lines
Diff to previous 1.31
slim down perl interface

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 19:42:43 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
*** empty log message ***

Revision 1.30 - (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.29: +2 -2 lines
Diff to previous 1.29
rmeove most shstr-strcmps

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 15:43:34 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28
eradictae strstr when contains is meant

Revision 1.28 - (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.27: +20 -5 lines
Diff to previous 1.27
*** empty log message ***

Revision 1.27 - (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.26: +1 -9 lines
Diff to previous 1.26
i am so stupid - reverted

Revision 1.26 - (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.25: +17 -2 lines
Diff to previous 1.25
avoid dynamic intialisation for constant shstrings, also keep those out of the hash

Revision 1.25 - (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.24: +16 -15 lines
Diff to previous 1.24
further optimisations

Revision 1.24 - (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.23: +105 -70 lines
Diff to previous 1.23
refactoring of shstr classe,s new shstr_tmp, lots of minor rewriting

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

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Tue May 6 16:55:26 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, rel-2_72, rel-2_73
Changes since 1.21: +1 -1 lines
Diff to previous 1.21
update copyright

Revision 1.21 - (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
Changes since 1.20: +2 -0 lines
Diff to previous 1.20
kv rewrite

Revision 1.20 - (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, rel-2_4, rel-2_41, rel-2_42, rel-2_43, rel-2_5, rel-2_52
Changes since 1.19: +4 -4 lines
Diff to previous 1.19
update copyrights and other minor stuff to deliantra

Revision 1.19 - (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.18: +2 -0 lines
Diff to previous 1.18
add slice and shstr statistics

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Tue Jul 10 05:51:38 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2
Changes since 1.17: +3 -1 lines
Diff to previous 1.17
- 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.17 - (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.16: +11 -12 lines
Diff to previous 1.16
- 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.16 - (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.15: +22 -0 lines
Diff to previous 1.15
- update copyrights in .h files, where applicable
- rename preprocess to genkeywords

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon May 14 21:52:32 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.14: +8 -0 lines
Diff to previous 1.14
*** empty log message ***

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Apr 23 16:07:00 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
add ostream << operator to for shstr

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Apr 23 15:27:46 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.12: +8 -0 lines
Diff to previous 1.12
add ostream << operator to for shstr

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 02:07:40 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.11: +12 -0 lines
Diff to previous 1.11
remove many strcmps on shstr, added fast strcmp wrapper that only etsts for inequality

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 21:16:12 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +6 -0 lines
Diff to previous 1.10
cleanup

Revision 1.10 - (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.9: +26 -3 lines
Diff to previous 1.9
- introduce shstr_cmp for mass comparisons to shstr and make use of it
- introduce assign utility function to replace strncpy

Revision 1.9 - (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.8: +2 -2 lines
Diff to previous 1.8
Changes...

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

Revision 1.8 - (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.7: +22 -11 lines
Diff to previous 1.7
use alternative shstr representation, might or might not be faster, but does save code

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

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 07:57:56 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
*** empty log message ***

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:41 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +75 -89 lines
Diff to previous 1.4
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.4 - (view) (download) (annotate) - [select for diffs]
Thu Aug 31 17:54:14 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +15 -0 lines
Diff to previous 1.3
rewrote object serialiser, parser is next

Revision 1.3 - (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.2: +2 -2 lines
Diff to previous 1.2
expand initial tabs to spaces

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 23:36:32 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.1: +16 -0 lines
Diff to previous 1.1
intermediate check-in, per-object events work

Revision 1.1.1.1 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Fri Feb 3 07:12:50 2006 UTC (18 years, 3 months ago) by root
Branch: UPSTREAM
CVS Tags: LAST_C_VERSION, UPSTREAM_2006_02_03, UPSTREAM_2006_02_22, UPSTREAM_2006_03_15, difficulty_fix_merge_060810_2300
Branch point for: difficulty_fix
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.47
initial import

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Feb 3 07:12:50 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
Branch point for: UPSTREAM
Initial revision

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