CVS log for src/games/gomoku/pickmove.c
Up to [cvs.NetBSD.org] / src / games / gomoku
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun May 29 22:03:29 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
HEAD
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +52 -38
lines
gomoku: clean up variable names, add empty lines
No binary change.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun May 29 21:47:12 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +20 -29
lines
gomoku: clean up color handling in 'pickmove'
Instead of searching for the best black and white moves, search instead
for our and their best moves. This makes the code simpler and more
uniform, as the strategy is the same for Black and White.
No functional change.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun May 29 21:38:36 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +19 -17
lines
gomoku: clean up 'pickmove' stylistically
No functional change.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun May 29 21:02:37 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +12 -12
lines
gomoku: migrate remaining functions to type player_color
No functional change.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun May 29 18:25:39 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +18 -28
lines
gomoku: clean up overlap info in 'checkframes'
In 2009, GCC had complained that the overlap_info might only be
partially filled. All possible code paths are sane though, so that was
probably a bug in GCC.
Remove the comment and the unnecessary initialization, rename the
variable since it doesn't match its behavior anymore. Sync nearby
comments with reality; there is no array anywhere near.
No functional change.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun May 29 18:05:25 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +8 -8
lines
gomoku: do not scan the upper border for combos
Adding the '+ 1' to the row coordinate added an offset of 20, while the
intended offset was 1.
No functional change, just a bit faster.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun May 29 17:01:42 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +21 -22
lines
gomoku: refine the type of some functions and variables
Assisted by WARNS=6. At that level, there are several warnings about
type conversion between small integer types that would only clutter the
code, therefore stay at WARNS=5. Same for lint's -aa option.
No functional change.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun May 29 15:31:12 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +10 -10
lines
gomoku: add type player_color
No functional change.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun May 29 15:16:11 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +6 -6
lines
gomoku: use unsigned integers for bit sets
As all access to the bit sets happens through the unsigned spot_index
type, drop the type casts in the macros.
No functional change on 2s complement machines.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun May 29 14:37:44 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +28 -28
lines
gomoku: don't use 'i' as special-purpose variable name
No binary change.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun May 29 14:01:57 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
gomoku: consistently name the offset of a spot in a frame 'off'
Leave 'i' for general purpose loops.
No functional change.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun May 29 13:49:10 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -4
lines
gomoku: add data type for one of the 4 directions of a frame
No functional change.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun May 29 12:44:17 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +10 -10
lines
gomoku: clean up four_in_a_row
No functional change.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun May 29 12:20:07 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +21 -14
lines
gomoku: extract quick_check from scanframes
No functional change.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun May 29 11:36:12 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +10 -9
lines
gomoku: use proper types when indexing 'board' and 'frames'
No functional change.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun May 29 10:37:21 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3
lines
gomoku: turn spotstr.s_frame into a frame index
Most calculations are done on the frame index, not the pointer. This
avoids dealing with ptrdiff_t conversion to int.
Changing the type of s_frame changes the size of struct spotstr, it is
now 56 bytes on LP64 and 48 bytes on ILP32, neither of which is a power
of two. Remove the dummy padding since compilers no longer generate
division instructions for divisions by small integer constants, so that
optimization is no longer necessary.
No functional change.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun May 29 10:06:43 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +8 -7
lines
gomoku: document where to fix the unnecessarily long thinking time
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun May 29 01:17:55 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +30 -30
lines
gomoku: migrate pickmove to use spot_index instead of pointers
Using spot_index instead of pointers leads to simpler code since there
is no need to deal with conversion from ptrdiff_t to spot_index.
No functional change.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun May 29 00:38:26 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +19 -20
lines
gomoku: migrate spot_index from int to unsigned short
This matches the type of 'intersect'.
No functional change.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun May 29 00:12:11 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +31 -31
lines
gomoku: use consistent variable names
Previously, the name 's' was used for the index of a spot on the board,
as well as for the value of a combo, and for a few other purposes. Use
different names and mark the spot indexes using a custom type.
No binary change.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat May 28 21:48:21 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -5
lines
gomoku: use unsigned arithmetic for bitboard
No functional change.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat May 28 08:19:18 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4
lines
gomoku: group movelog and nmoves into a game struct
No functional change.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri May 27 23:10:54 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +44 -47
lines
gomoku: reduce scope of local variables
No binary change.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri May 27 19:59:56 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +13 -13
lines
gomoku: replace 1-based movenum with 0-based nmoves
No functional change, not even the TIE that is wrongly announced when
the very last spot on the board is yet to be filled by Black. Even
without this off-by-one error, it could be that filling the very last
spot completes a frame, so that code has been wrong all the time.
In practical terms, this situation only arises when the human player is
unconcentrated or the computer player has a bad strategy. The latter
may well be, as the computer moves in the (boring) endgame are not
directed towards winning -- they fill irrelevant spots before relevant
ones.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri May 27 19:30:56 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +14 -15
lines
gomoku: split local variable into separate variables
No binary change.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun May 22 10:45:02 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +7 -2
lines
gomoku: document a missed immediate win
No binary change.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat May 21 16:39:14 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +46 -46
lines
gomoku: provide readable names for c.a and c.b
No binary change.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat May 21 15:11:24 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -4
lines
gomoku: inline macro MAXCOMBO
The name of the macro was not descriptive enough, the other constants in
bdinit also don't have names.
No binary change.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat May 21 10:01:49 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -2
lines
gomoku: prevent thinking for too long
At search depth 9, picking a move takes about a minute on modern
hardware, which is enough for casual game play. Even then, gomoku does
not always find the perfect move, so investing that much time seems
questionable. Limiting the search depth also puts an upper bound on the
memory usage, which is quite high with 150 MB.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri May 20 19:30:17 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +12 -12
lines
gomoku: fix spelling and grammar in comments
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu May 19 23:12:40 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -17
lines
gomoku: remove unused function 'list_eq'
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu May 19 22:29:36 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +13 -13
lines
gomoku: use NULL instead of more verbose null pointer
No binary change.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu May 19 22:19:18 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -8
lines
gomoku: clean up version control sections
Lint can handle these definitions, and the '#if 0' is redundant.
No functional change.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu May 19 18:58:59 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3
lines
gomoku: de-obfuscate screen coordinate calculation
Modern compilers optimize linear integer arithmetic, so there is no
reason to use strange or misleading formulas.
Replace several magic numbers with proper formulas.
No binary change.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed May 18 22:30:19 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +20 -24
lines
gomoku: reduce scope of 'for' loop variables
No binary change.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon May 16 21:48:45 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +9 -9
lines
gomoku: enable lint's strict bool mode
No functional change.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon May 16 21:35:39 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +15 -14
lines
gomoku: fix most lint warnings in -DDEBUG mode
No binary change.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon May 16 21:02:18 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +8 -3
lines
gomoku: allow combination of WARNS=6 and -DDEBUG
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon May 16 20:57:01 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +54 -52
lines
gomoku: prepare lint's strict bool mode
No binary change.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon May 16 19:55:58 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +23 -23
lines
gomoku: fix lint warnings
Most warnings were about implicit conversions from ptrdiff_t to int; add
explicit cast for them, as they are far from overflowing int.
The casts from one pointer type to 'struct combostr **' were indeed
suspicious. In these cases, a single region of memory is allocated to
store two objects of different type, without declaring a struct type for
their combination. The second object is an array of variable size.
No binary change.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon May 16 19:20:25 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +19 -34
lines
gomoku: condense code to decide which spot is better
The comments in the conditions only serve to align the expressions, to
allow humans to check that they correspond.
No functional change.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun May 15 22:41:51 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +11 -6
lines
gomoku: remove write-only members from overlap_info
Since overlap_info is only used in pickmove.c, move it there.
No functional change. In particular, in the middle of a game, gomoku
still tends to fall into analysis paralysis, thinking about the best
move for more than 3 minutes on modern hardware. Since the algorithm is
basically unchanged since the 1990s, it must have been a long waiting
time back then, probably an hour per move.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun May 15 22:18:36 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -8
lines
gomoku: remove column macros
Of the 19 macros, only 3 were actually used. Replace their uses with
expressions based on the board size. It's a small step to making the
board size adjustable. There are still other places using hard-coded
numbers.
No binary change.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun May 15 22:08:05 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +40 -40
lines
gomoku: remove redundant parentheses around return values
No binary change.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun May 15 22:00:11 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +39 -38
lines
gomoku: apply some style fixes towards KNF
There are still parts of the code that use an indentation level of 4
instead of the usual 8. Fixing that right now would introduce more
unnatural line breaks, so defer that until later.
No binary change.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat May 14 16:21:04 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -5
lines
gomoku: clean up unused code and lint warnings
No binary change.
Revision 1.20.12.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:00:23 2014 UTC (10 years, 6 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.20.12.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.12.1: +3 -4
lines
Rebase to HEAD as of a few days ago.
Revision 1.20.6.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:36:22 2014 UTC (10 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.20.6.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.6.1: +3 -4
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Oct 19 17:23:08 2013 UTC (11 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -4
lines
fix unused variable warnings
Revision 1.20.12.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 02:58:48 2012 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +15 -6
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.20.6.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 18:58:22 2012 UTC (12 years, 3 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +15 -6
lines
sync with head
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Oct 13 20:57:35 2012 UTC (12 years, 4 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
agc-symver-base,
agc-symver
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +15 -6
lines
Pass -Wstrict-overflow... mostly.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Mar 29 05:16:08 2010 UTC (14 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache,
tls-maxphys
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -6
lines
remove #ifdef SVR4
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Aug 12 06:19:17 2009 UTC (15 years, 6 months ago) by dholland
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +48 -26
lines
sprinkle static
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Jun 4 07:01:16 2009 UTC (15 years, 8 months ago) by dholland
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +8 -8
lines
Rectify non-compiling code that appears when DEBUG is defined.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jun 4 06:41:50 2009 UTC (15 years, 8 months ago) by dholland
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +45 -34
lines
Remove remaining references to sprintf.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Jun 4 06:27:47 2009 UTC (15 years, 8 months ago) by dholland
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +23 -36
lines
Make a couple of the logging/printing functions printf-alikes. This removes
most of the calls to sprintf.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jun 4 05:43:29 2009 UTC (15 years, 8 months ago) by dholland
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +36 -36
lines
Increase spending on vowels. No object file diffs.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jun 4 05:27:04 2009 UTC (15 years, 8 months ago) by dholland
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +19 -52
lines
ANSIfy function declarations.x
Revision 1.11.22.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:25:42 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.11.22.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.22.1: +6 -6
lines
sync with HEAD
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jan 28 07:01:01 2008 UTC (17 years ago) by dholland
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
mjf-devfs2,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-armv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -6
lines
build with WARNS=4
Revision 1.11.22.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:30:49 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
sync with HEAD
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Dec 15 19:44:40 2007 UTC (17 years, 2 months ago) by perry
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
convert __attribute__s to applicable cdefs.h macros
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jan 27 20:26:20 2004 UTC (21 years ago) by jsm
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: matt-armv6
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
Include <limits.h> instead of <machine/limits.h>.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Aug 7 09:37:17 2003 UTC (21 years, 6 months ago) by agc
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -7
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Sep 18 19:38:51 1999 UTC (25 years, 5 months ago) by jsm
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl,
fvdl_fs64_base,
comdex-fall-1999-base,
comdex-fall-1999
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4
lines
Fix -Wsign-compare warnings.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Sep 9 17:27:58 1999 UTC (25 years, 5 months ago) by jsm
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +8 -2
lines
Check for failure of malloc() and calloc() at various places in the games.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Sep 8 21:45:27 1999 UTC (25 years, 5 months ago) by jsm
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
Add `__noreturn__' and `__unused__' attributes where appropriate to
the games.
This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).
Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082. Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Sep 8 21:17:49 1999 UTC (25 years, 5 months ago) by jsm
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Oct 10 13:36:06 1997 UTC (27 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +60 -41
lines
WARNSify
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jan 3 01:35:30 1997 UTC (28 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
fix NetBSD RCS ID headers
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jan 3 01:16:05 1997 UTC (28 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -2
lines
include string.h and stdlib.h for prototypes, as appropriate
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Dec 28 18:57:04 1996 UTC (28 years, 1 month ago) by tls
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -0
lines
add gomoku game, from 4.4BSD-Lite2
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Dec 28 18:44:55 1996 UTC (28 years, 1 month ago) by tls
Branches: CSRG
CVS tags: lite-2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
Import of 4.4BSD-Lite2 source
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Dec 28 18:44:55 1996 UTC (28 years, 1 month ago) by tls
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>