ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/dynbuf.C
Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Tue May 10 11:02:56 2022 UTC (2 years ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.39: +3 -1 lines
Diff to previous 1.39
*** empty log message ***

Revision 1.39 - (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.38: +5 -5 lines
Diff to previous 1.38
some bugfixes

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

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

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

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

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

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Tue Oct 26 05:30:05 2010 UTC (13 years, 6 months ago) by root
Branch: MAIN
Changes since 1.32: +1 -0 lines
Diff to previous 1.32
doh

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Oct 25 11:35:15 2010 UTC (13 years, 6 months ago) by root
Branch: MAIN
Changes since 1.31: +0 -1 lines
Diff to previous 1.31
*** empty log message ***

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

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Wed Nov 11 23:27:57 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_92, rel-2_93
Changes since 1.29: +15 -8 lines
Diff to previous 1.29
redesigned freezer API

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Wed Nov 11 03:52:45 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.28: +5 -6 lines
Diff to previous 1.28
fix icecube thawing bug

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 13:03:34 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_90
Changes since 1.27: +2 -2 lines
Diff to previous 1.27
make effectively static symbols actually static, part 2

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Wed Nov 4 00:08:44 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
*** empty log message ***

Revision 1.26 - (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.25: +28 -3 lines
Diff to previous 1.25
*** empty log message ***

Revision 1.25 - (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.24: +1 -1 lines
Diff to previous 1.24
get rid of HUGE_BUF

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

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Thu Sep 11 21:36:07 2008 UTC (15 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_71, rel-2_72, rel-2_73, rel-2_74, rel-2_75, rel-2_76, rel-2_77, rel-2_78, rel-2_79, rel-2_80
Changes since 1.22: +8 -6 lines
Diff to previous 1.22
*** empty log message ***

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Mon Sep 8 11:27:25 2008 UTC (15 years, 8 months ago) by root
Branch: MAIN
Changes since 1.21: +2 -0 lines
Diff to previous 1.21
*** empty log message ***

Revision 1.21 - (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
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
update copyright

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 19:43:27 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, rel-2_53
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]
Sun Oct 21 00:14:53 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_3
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
fix disastruous bug triggering crashes with long texts

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Thu Aug 16 06:36:56 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2
Changes since 1.17: +13 -7 lines
Diff to previous 1.17
first, untested, try at spicing up the message system

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue Jul 10 05:51:38 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.16: +79 -44 lines
Diff to previous 1.16
- 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.16 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:20 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.15: +10 -11 lines
Diff to previous 1.15
- 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.15 - (view) (download) (annotate) - [select for diffs]
Mon May 28 21:28:36 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.14: +22 -0 lines
Diff to previous 1.14
update copyrights in server/*.C

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sun May 27 23:49:49 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13
more ยต-opts

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun May 27 23:22:29 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12
minor cleanups/optimisations

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sun May 27 22:57:43 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.11: +1 -9 lines
Diff to previous 1.11
do not generate the - sign twice...

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat May 26 15:44:08 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.10: +131 -49 lines
Diff to previous 1.10
- 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.10 - (view) (download) (annotate) - [select for diffs]
Thu May 3 09:26:45 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.9: +21 -9 lines
Diff to previous 1.9
only allow one range weapon to be applied at any one time, some dynbuf fixes

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Apr 30 17:39:58 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8
better dynbuf, some bugfixes, just goofign around, still broken

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Apr 23 18:21:54 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.7: +10 -7 lines
Diff to previous 1.7
use g_slice for dynbufs

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon Apr 23 18:09:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.6: +40 -2 lines
Diff to previous 1.6
- 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.6 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 08:54:59 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.5: +0 -8 lines
Diff to previous 1.5
replace update_ob_speed by ->set_speed

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 15:59:57 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +37 -26 lines
Diff to previous 1.4
indent

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Sep 2 16:37:58 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +23 -14 lines
Diff to previous 1.3
never, ever optimise if you don't need to

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Sep 1 21:39:59 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
fix bad, bad bug

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Sep 1 13:58:07 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.1: +19 -7 lines
Diff to previous 1.1
portability fix

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Thu Aug 31 18:05:03 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