ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/freezethaw.C
Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Wed Dec 5 19:03:27 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.48: +2 -2 lines
Diff to previous 1.48
some bugfixes

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

Revision 1.47 - (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.46: +1 -1 lines
Diff to previous 1.46
copyright update 2016

Revision 1.46 - (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.45: +5 -5 lines
Diff to previous 1.45
trailing space removal

Revision 1.45 - (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.44: +1 -1 lines
Diff to previous 1.44
update copyrights to 2012

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

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Fri May 21 00:31:14 2010 UTC (13 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.42: +39 -35 lines
Diff to previous 1.42
*** empty log message ***

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

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Wed Apr 28 20:51:58 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.40: +10 -10 lines
Diff to previous 1.40
move resource files to arch

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

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 06:05:52 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.38: +15 -0 lines
Diff to previous 1.38
attackmess parser/file format change

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 04:56:47 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.37: +6 -4 lines
Diff to previous 1.37
raramraramraram

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 04:18:09 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.36: +52 -31 lines
Diff to previous 1.36
riddify us of fgets

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

Revision 1.35 - (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.34: +2 -4 lines
Diff to previous 1.34
redesigned freezer API

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sun Nov 8 00:01:34 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.33: +3 -5 lines
Diff to previous 1.33
d'oh

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

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Tue Apr 1 19:50:40 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-2_43, rel-2_5, rel-2_52, rel-2_53, 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, rel-2_74, rel-2_75, rel-2_76, rel-2_77, rel-2_78, rel-2_79, rel-2_80
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
tuning, glibc-bugworkaround

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sun Jan 13 12:14:52 2008 UTC (16 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_4, rel-2_41, rel-2_42
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
avoid const warning... :(

Revision 1.30 - (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
Changes since 1.29: +4 -4 lines
Diff to previous 1.29
update copyrights and other minor stuff to deliantra

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Sep 10 17:24:36 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2, rel-2_3
Changes since 1.28: +4 -7 lines
Diff to previous 1.28
- rename world to world-precomposed (mostly), which is 100% optional
  for the server operation
- rename world-overlay to world (mostly), as to not lie about map paths
- disable the skip_block thingy again, its harmful
- better bdb support

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Sep 10 12:44:07 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
Changes since 1.27: +9 -3 lines
Diff to previous 1.27
- implement tag keyword but do not use it yet
- skip_block now skips known types of sub-blocks
- print the decoded filename if possible

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Thu Sep 6 06:53:09 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
Changes since 1.26: +1 -0 lines
Diff to previous 1.26
*** empty log message ***

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Wed Sep 5 06:13:08 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25
important bugfix to re-enable custom attributes

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Tue Sep 4 05:43:22 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
Changes since 1.24: +40 -0 lines
Diff to previous 1.24
- implemented ref/deref "framework" that allows one to create
  semipersistent references and dereference them later
  (works only for players right now).
- (partially) expose freezer and thawer to perl.
- thawers now do next() automatically after instantiating.
- allow the thawer to record delayed dereference requests to be
  resolved, well, later (should be a different class actually
  but lets stay realistic).
- use thawers when loading maps and players and resolve delayed
  derefs after loading them before activating them.
- serialise io for no good reason.

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Wed Aug 1 20:07:06 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.23: +11 -1 lines
Diff to previous 1.23
parser warnings

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Tue Jul 24 20:06:23 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
typo

Revision 1.22 - (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.21: +10 -11 lines
Diff to previous 1.21
- 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.21 - (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.20: +19 -21 lines
Diff to previous 1.20
update copyrights in server/*.C

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sun May 27 23:14:37 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.19: +2 -0 lines
Diff to previous 1.19
remove remainign compatibility cruft

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sat May 26 15:44:08 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.18: +3 -29 lines
Diff to previous 1.18
- 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.18 - (view) (download) (annotate) - [select for diffs]
Mon Apr 30 05:54:14 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.17: +0 -2 lines
Diff to previous 1.17
works a tad better

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Apr 23 18:09:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
- 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.16 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 10:14:26 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.15: +12 -3 lines
Diff to previous 1.15
- rewrite treasure parser to new framework just for fun.
- actually call load_treasures again.
- fix bugs.

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu Apr 5 13:44:31 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14
rename <player>.pl to playerdata, fix error messages in freezethaw

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Fri Mar 2 10:15:40 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.13: +1 -0 lines
Diff to previous 1.13
some tiny cleanups and moving of non-time-critical commands into perl

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 19:32:59 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12
ohne worte

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

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Fri Feb 16 19:43:41 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10
- identified random memory corrutpion bug
- fixed most likely cause for bug above
- rewrote object loader etc. into a simple one-line lookahead
  parser.
- rewrote/cleaned up archetype, treasure, artifact, formula parser.
- some optimisations / cleanups

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 21:07:49 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.9: +47 -29 lines
Diff to previous 1.9
- use a simpler, less fancy loader base design (basically a one-line-lookahead
  top-down parser).

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Feb 1 19:17:03 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
goof

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Feb 1 19:15:39 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.7: +47 -2 lines
Diff to previous 1.7
- improve error messages from object_thawer to incldue line numbers
- provide geenric parse error handler
- finish basic design of generic object loader
- implement generic regions loader
- use it to load regions:
  loader_region loader;
  if (!loader.load (filename))
    error;
- regions should now be the very first filetype that could be reloaded at runtime

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Jan 23 03:56:45 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.6: +0 -4 lines
Diff to previous 1.6
I knew there was an explanation

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Jan 14 02:00:37 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.5: +7 -5 lines
Diff to previous 1.5
- introduce cf::attachable::thawer_merge, allowing classes
  to overwrite what happens when two objects get merged.
- protect some extension data with it
- make unlink_save blocking, so we do not get needless reset loops
  because of slow disk response.

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 21:32:42 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
- added $cf::WAIT_FOR_TICK*
- tuned map-scheduler and player-scheduler
- added $op->inv_recursive
- added objects_size/objects($index) and actives_size/actives($index)
  for access to the object and actives vector.
- more robust player loader
- removed _perl_data attribute support
- SIGINT/TERM/HUP are now safe as they are handled synchronously.
- replaced LOOK_OBJ by client_visible
- cleanups

Revision 1.4 - (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.3: +37 -18 lines
Diff to previous 1.3
""

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 20:32:30 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.2: +1 -3 lines
Diff to previous 1.2
fix some bugs

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 14:34:10 2006 UTC (17 years, 4 months ago) by elmex
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1
fixed a crash in object_freezer::as_string (), where too many items were popped
from the perl stack.

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 10:16:11 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
preliminary snapshot check-in, DO NOT USE IN PRODUCTION SYSTEMS
See the Changes file for details

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