ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/holofile.c
Revision 3.58 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 23:34:00 2008 UTC (14 years, 5 months ago) by greg
Branch: MAIN
CVS Tags: rad4R0
Changes since 3.57: +4 -4 lines
Diff to previous 3.57
Updated a few constants to account for faster machines with more memory

Revision 3.57 - (view) (download) (annotate) - [select for diffs]
Thu Sep 9 01:41:21 2004 UTC (18 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad3R6, rad3R6P1, rad3R7P1, rad3R7P2, rad3R8, rad3R9
Changes since 3.56: +7 -6 lines
Diff to previous 3.56
Reduced frequency of fragmentation checks and improved logic

Revision 3.56 - (view) (download) (annotate) - [select for diffs]
Thu Sep 9 01:06:19 2004 UTC (18 years, 8 months ago) by greg
Branch: MAIN
Changes since 3.55: +7 -10 lines
Diff to previous 3.55
Got rid of silly cost-cutting (and corner-cutting) in hdfiluse()

Revision 3.55 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 11:21:55 2004 UTC (19 years, 5 months ago) by schorsch
Branch: MAIN
Changes since 3.54: +132 -87 lines
Diff to previous 3.54
Ansification and prototypes.

Revision 3.54 - (view) (download) (annotate) - [select for diffs]
Wed Oct 22 02:06:34 2003 UTC (19 years, 7 months ago) by greg
Branch: MAIN
Changes since 3.53: +3 -3 lines
Diff to previous 3.53
Fewer complaints if "platform.h" precedes "standard.h"

Revision 3.53 - (view) (download) (annotate) - [select for diffs]
Mon Oct 20 16:01:55 2003 UTC (19 years, 7 months ago) by greg
Branch: MAIN
Changes since 3.52: +17 -13 lines
Diff to previous 3.52
Included "platform.h" wherever lseek() was called

Revision 3.52 - (view) (download) (annotate) - [select for diffs]
Sun Jul 27 22:12:02 2003 UTC (19 years, 10 months ago) by schorsch
Branch: MAIN
Changes since 3.51: +9 -8 lines
Diff to previous 3.51
Added grouping parens to reduce ambiguity warnings.

Revision 3.51 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 22:30:18 2003 UTC (19 years, 10 months ago) by schorsch
Branch: MAIN
Changes since 3.50: +7 -7 lines
Diff to previous 3.50
Eliminated copystruct() macro, which is unnecessary in ANSI.
Reduced ambiguity warnings for nested if/if/else clauses.

Revision 3.50 - (view) (download) (annotate) - [select for diffs]
Mon Jul 7 17:21:50 2003 UTC (19 years, 10 months ago) by greg
Branch: MAIN
Changes since 3.49: +2 -2 lines
Diff to previous 3.49
Compile fixes noticed on Compaq

Revision 3.49 - (view) (download) (annotate) - [select for diffs]
Mon Jun 30 14:59:11 2003 UTC (19 years, 11 months ago) by schorsch
Branch: MAIN
Changes since 3.48: +11 -7 lines
Diff to previous 3.48
Replaced most outdated BSD function calls with their posix equivalents, and cleaned up a few other platform dependencies.

Revision 3.48 - (view) (download) (annotate) - [select for diffs]
Fri Jun 20 00:25:49 2003 UTC (19 years, 11 months ago) by greg
Branch: MAIN
Changes since 3.47: +4 -4 lines
Diff to previous 3.47
Changed instances of "int4" to "int32" and "int2" to "int16"

Revision 3.47 - (view) (download) (annotate) - [select for diffs]
Fri Jun 13 15:27:04 2003 UTC (19 years, 11 months ago) by greg
Branch: MAIN
Changes since 3.46: +11 -11 lines
Diff to previous 3.46
Type fixing to lseek() call

Revision 3.46 - (view) (download) (annotate) - [select for diffs]
Thu May 29 16:26:21 2003 UTC (20 years ago) by greg
Branch: MAIN
Changes since 3.45: +18 -18 lines
Diff to previous 3.45
Changed beam offset from long to off_t, so holodecks can grow to max. length

Revision 3.45 - (view) (download) (annotate) - [select for diffs]
Thu May 15 05:13:35 2003 UTC (20 years ago) by greg
Branch: MAIN
Changes since 3.44: +3 -3 lines
Diff to previous 3.44
Eliminated -DBIGMEM define, since we always used it in makeall

Revision 3.44 - (view) (download) (annotate) - [select for diffs]
Tue May 13 17:58:33 2003 UTC (20 years ago) by greg
Branch: MAIN
Changes since 3.43: +6 -6 lines
Diff to previous 3.43
Changed (char *) casts for memory copies to (void *) and other fixes

Revision 3.43 - (view) (download) (annotate) - [select for diffs]
Wed Apr 23 00:52:33 2003 UTC (20 years, 1 month ago) by greg
Branch: MAIN
Changes since 3.42: +2 -2 lines
Diff to previous 3.42
Added (void *) cast to realloc calls

Revision 3.42 - (view) (download) (annotate) - [select for diffs]
Sat Feb 22 02:07:24 2003 UTC (20 years, 3 months ago) by greg
Branch: MAIN
CVS Tags: rad3R5
Changes since 3.41: +20 -23 lines
Diff to previous 3.41
Changes and check-in for 3.5 release
Includes new source files and modifications not recorded for many years
See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release

Revision 3.41 - (view) (download) (annotate) - [select for diffs]
Thu Aug 5 15:53:09 1999 UTC (23 years, 9 months ago) by gwlarson
Branch: MAIN
Changes since 3.40: +26 -11 lines
Diff to previous 3.40
added -r option for read-only holodecks

Revision 3.40 - (view) (download) (annotate) - [select for diffs]
Fri Mar 12 09:37:48 1999 UTC (24 years, 2 months ago) by gwlarson
Branch: MAIN
Changes since 3.39: +34 -0 lines
Diff to previous 3.39
moved hdalloc() from holo.c to holofile.c

Revision 3.39 - (view) (download) (annotate) - [select for diffs]
Tue Mar 9 08:40:11 1999 UTC (24 years, 2 months ago) by gwlarson
Branch: MAIN
Changes since 3.38: +12 -10 lines
Diff to previous 3.38
changed default fragment handling flags
fixed problem with inconsistent directory updating

Revision 3.38 - (view) (download) (annotate) - [select for diffs]
Thu Feb 25 13:25:38 1999 UTC (24 years, 3 months ago) by gwlarson
Branch: MAIN
Changes since 3.37: +2 -2 lines
Diff to previous 3.37
reduced default cache size

Revision 3.37 - (view) (download) (annotate) - [select for diffs]
Wed Feb 10 17:09:20 1999 UTC (24 years, 3 months ago) by gwlarson
Branch: MAIN
Changes since 3.36: +4 -5 lines
Diff to previous 3.36
changed markdirty() to hdmarkdirty() to avoid naming conflicts

Revision 3.36 - (view) (download) (annotate) - [select for diffs]
Mon Feb 1 09:56:18 1999 UTC (24 years, 4 months ago) by gwlarson
Branch: MAIN
Changes since 3.35: +7 -0 lines
Diff to previous 3.35
made caching code slightly more efficient

Revision 3.35 - (view) (download) (annotate) - [select for diffs]
Mon Jan 25 09:58:41 1999 UTC (24 years, 4 months ago) by gwlarson
Branch: MAIN
Changes since 3.34: +5 -1 lines
Diff to previous 3.34
changed default CACHESIZE based on BIGMEM macro

Revision 3.34 - (view) (download) (annotate) - [select for diffs]
Tue Jan 19 10:08:34 1999 UTC (24 years, 4 months ago) by gwlarson
Branch: MAIN
Changes since 3.33: +4 -2 lines
Diff to previous 3.33
fixed occupied disk sample accounting in biglob(hp)->nrd

Revision 3.33 - (view) (download) (annotate) - [select for diffs]
Sat Jan 9 09:16:14 1999 UTC (24 years, 4 months ago) by gwlarson
Branch: MAIN
Changes since 3.32: +13 -14 lines
Diff to previous 3.32
changed to first-fit algorithm in hdallocfrag()

Revision 3.32 - (view) (download) (annotate) - [select for diffs]
Thu Jan 7 22:04:49 1999 UTC (24 years, 4 months ago) by gwlarson
Branch: MAIN
Changes since 3.31: +72 -48 lines
Diff to previous 3.31
created hdfragflags variable for controlling fragment deallocation
added "chunky" sorting mode to rholo to decrease file fragmentation problems

Revision 3.31 - (view) (download) (annotate) - [select for diffs]
Wed Dec 30 11:30:04 1998 UTC (24 years, 5 months ago) by gwlarson
Branch: MAIN
Changes since 3.30: +9 -6 lines
Diff to previous 3.30
made it so we don't toss off large fragment for smaller one
fixed accumulation of empty fragments when maximum list size reached

Revision 3.30 - (view) (download) (annotate) - [select for diffs]
Thu Dec 10 10:45:02 1998 UTC (24 years, 5 months ago) by gwlarson
Branch: MAIN
Changes since 3.29: +1 -1 lines
Diff to previous 3.29
reduced size of fragment list to speed hdflush() calls

Revision 3.29 - (view) (download) (annotate) - [select for diffs]
Wed Nov 11 10:56:07 1998 UTC (24 years, 6 months ago) by gwlarson
Branch: MAIN
Changes since 3.28: +20 -13 lines
Diff to previous 3.28
modified markdirty() to ensure that no gap is smaller than BUFSIZ*4

Revision 3.28 - (view) (download) (annotate) - [select for diffs]
Mon Nov 9 17:10:53 1998 UTC (24 years, 6 months ago) by gwlarson
Branch: MAIN
Changes since 3.27: +65 -25 lines
Diff to previous 3.27
changed section directory code to write in segments

Revision 3.27 - (view) (download) (annotate) - [select for diffs]
Wed Nov 4 16:44:16 1998 UTC (24 years, 7 months ago) by gwlarson
Branch: MAIN
Changes since 3.26: +3 -2 lines
Diff to previous 3.26
bug fixes in hdinit() and hddone()

Revision 3.26 - (view) (download) (annotate) - [select for diffs]
Fri Sep 18 16:47:27 1998 UTC (24 years, 8 months ago) by gwlarson
Branch: MAIN
Changes since 3.25: +40 -24 lines
Diff to previous 3.25
added recovery from memory allocation errors

Revision 3.25 - (view) (download) (annotate) - [select for diffs]
Fri Sep 18 13:51:01 1998 UTC (24 years, 8 months ago) by gwlarson
Branch: MAIN
Changes since 3.24: +15 -5 lines
Diff to previous 3.24
added debugging statement to track hdfreecache() performance

Revision 3.24 - (view) (download) (annotate) - [select for diffs]
Tue Sep 15 14:26:23 1998 UTC (24 years, 8 months ago) by gwlarson
Branch: MAIN
Changes since 3.23: +2 -0 lines
Diff to previous 3.23
free fragment list in hddone(NULL) call

Revision 3.23 - (view) (download) (annotate) - [select for diffs]
Wed Aug 12 17:53:59 1998 UTC (24 years, 9 months ago) by gwlarson
Branch: MAIN
Changes since 3.22: +4 -4 lines
Diff to previous 3.22
changed parameters to function passed to hdloadbeams()

Revision 3.22 - (view) (download) (annotate) - [select for diffs]
Thu Feb 12 16:30:04 1998 UTC (25 years, 3 months ago) by gwlarson
Branch: MAIN
Changes since 3.21: +11 -4 lines
Diff to previous 3.21
added warning for truncated sections

Revision 3.21 - (view) (download) (annotate) - [select for diffs]
Wed Jan 7 17:31:00 1998 UTC (25 years, 4 months ago) by gregl
Branch: MAIN
Changes since 3.20: +3 -3 lines
Diff to previous 3.20
parameter tuning -- doubled FREEBEAMS

Revision 3.20 - (view) (download) (annotate) - [select for diffs]
Mon Jan 5 16:45:24 1998 UTC (25 years, 4 months ago) by gregl
Branch: MAIN
Changes since 3.19: +2 -2 lines
Diff to previous 3.19
changed dirty holodeck to just a warning

Revision 3.19 - (view) (download) (annotate) - [select for diffs]
Sun Jan 4 12:32:53 1998 UTC (25 years, 5 months ago) by gregl
Branch: MAIN
Changes since 3.18: +109 -80 lines
Diff to previous 3.18
took fragment resource management out of hdsyncbeam()

Revision 3.18 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 16:40:38 1998 UTC (25 years, 5 months ago) by gregl
Branch: MAIN
Changes since 3.17: +2 -5 lines
Diff to previous 3.17
changed hdsync() call before error() in hdsyncbeam()

Revision 3.17 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 13:00:14 1998 UTC (25 years, 5 months ago) by gregl
Branch: MAIN
Changes since 3.16: +23 -14 lines
Diff to previous 3.16
increased interactive update rate with periodic display flushing

Revision 3.16 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 11:35:39 1997 UTC (25 years, 5 months ago) by gregl
Branch: MAIN
Changes since 3.15: +41 -38 lines
Diff to previous 3.15
more minor improvements to hdsyncbeam()

Revision 3.15 - (view) (download) (annotate) - [select for diffs]
Mon Dec 29 15:17:45 1997 UTC (25 years, 5 months ago) by gregl
Branch: MAIN
Changes since 3.14: +44 -42 lines
Diff to previous 3.14
slight efficiency improvement in fragment code of hdsyncbeam()

Revision 3.14 - (view) (download) (annotate) - [select for diffs]
Thu Dec 18 15:12:23 1997 UTC (25 years, 5 months ago) by gregl
Branch: MAIN
Changes since 3.13: +90 -34 lines
Diff to previous 3.13
wrote hdloadbeams() routine to load many beams at once

Revision 3.13 - (view) (download) (annotate) - [select for diffs]
Fri Dec 12 21:29:34 1997 UTC (25 years, 5 months ago) by gregl
Branch: MAIN
Changes since 3.12: +22 -12 lines
Diff to previous 3.12
made recovery from file write errors more robust

Revision 3.12 - (view) (download) (annotate) - [select for diffs]
Fri Dec 12 19:52:31 1997 UTC (25 years, 5 months ago) by gregl
Branch: MAIN
Changes since 3.11: +25 -12 lines
Diff to previous 3.11
modified hdsync() to optionally sync all unflushed beams

Revision 3.11 - (view) (download) (annotate) - [select for diffs]
Thu Dec 11 19:57:58 1997 UTC (25 years, 5 months ago) by gregl
Branch: MAIN
Changes since 3.10: +30 -25 lines
Diff to previous 3.10
made beam writing safer in the event of signals

Revision 3.10 - (view) (download) (annotate) - [select for diffs]
Thu Dec 11 11:29:35 1997 UTC (25 years, 5 months ago) by gregl
Branch: MAIN
Changes since 3.9: +45 -3 lines
Diff to previous 3.9
added function to delete beams and clobber holodecks

Revision 3.9 - (view) (download) (annotate) - [select for diffs]
Thu Dec 11 09:35:58 1997 UTC (25 years, 5 months ago) by gregl
Branch: MAIN
Changes since 3.8: +5 -1 lines
Diff to previous 3.8
added preventative measure following write error in hdfreebeam()

Revision 3.8 - (view) (download) (annotate) - [select for diffs]
Tue Nov 11 11:31:54 1997 UTC (25 years, 6 months ago) by gregl
Branch: MAIN
Changes since 3.7: +20 -1 lines
Diff to previous 3.7
made file length testing more efficient

Revision 3.7 - (view) (download) (annotate) - [select for diffs]
Thu Nov 6 09:50:12 1997 UTC (25 years, 6 months ago) by gregl
Branch: MAIN
Changes since 3.6: +2 -2 lines
Diff to previous 3.6
undefined MAXFRAG

Revision 3.6 - (view) (download) (annotate) - [select for diffs]
Thu Nov 6 09:37:04 1997 UTC (25 years, 6 months ago) by gregl
Branch: MAIN
Changes since 3.5: +24 -1 lines
Diff to previous 3.5
added marking and detection of inconsistent holodeck files

Revision 3.5 - (view) (download) (annotate) - [select for diffs]
Wed Nov 5 17:28:49 1997 UTC (25 years, 6 months ago) by gregl
Branch: MAIN
Changes since 3.4: +9 -10 lines
Diff to previous 3.4
changed some constants related to paging

Revision 3.4 - (view) (download) (annotate) - [select for diffs]
Tue Nov 4 10:42:03 1997 UTC (25 years, 7 months ago) by gregl
Branch: MAIN
Changes since 3.3: +53 -30 lines
Diff to previous 3.3
dynamically allocate fragment lists

Revision 3.3 - (view) (download) (annotate) - [select for diffs]
Mon Nov 3 13:40:22 1997 UTC (25 years, 7 months ago) by gregl
Branch: MAIN
Changes since 3.2: +11 -7 lines
Diff to previous 3.2
bug fixes in hdgetbi()

Revision 3.2 - (view) (download) (annotate) - [select for diffs]
Fri Oct 31 15:48:32 1997 UTC (25 years, 7 months ago) by gregl
Branch: MAIN
Changes since 3.1: +20 -17 lines
Diff to previous 3.1
initial bug fixes (hdgetbi)

Revision 3.1 - (view) (download) (annotate) - [select for diffs]
Fri Oct 31 10:23:29 1997 UTC (25 years, 7 months ago) by gregl
Branch: MAIN
Initial revision

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rad4R0: (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