History log of /openbsd-current/usr.bin/rcs/rcs.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.19 21-May-2024 jsg

remove prototypes with no matching function and externs with no var
partly checked by millert@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.18 29-Aug-2017 otto

kill const and string artithmetic related warnings; ok millert@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.17 09-May-2016 schwarze

Implement Mdocdate keyword substitution.
In particular, this stops rcsdiff(1) and CVSweb from showing
wrong Mdocdate lines in diffs.
Problem originally reported by tj@.
OK tobias@ otto@ millert@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.16 03-Jun-2013 jcs

properly handle commitid tokens found in rcs files

ok deraadt


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.15 06-Jul-2011 nicm

Replace the keyword expansion code with a faster, more readable version
which additionally also supports $Log$ and $Locker. Written by Joerg
Sonnenberger and tweaked by me.

ok ray


# 1.14 20-May-2011 nicm

Remove a bunch of unused functions, from Michael W Bombardieri.

ok ray


Revision tags: OPENBSD_4_9_BASE
# 1.13 20-Oct-2010 tobias

Remove the need for rp_file in parser structure, instead keep only one
FILE pointer in RCSFILE. This fixes some ugliness in closing an
fdopen()ed FILE and its underlying file descriptor.

Notified by Joerg Sonnenberger <joerg at britannica dot bec to de>

discussed with and ok nicm


# 1.12 05-Oct-2010 tobias

Zapped unused function rcs_tag_resolve.

ok xsa


# 1.11 05-Oct-2010 tobias

rcs_state_check must check for more invalid characters than just space.

ok nicm


# 1.10 31-Aug-2010 tobias

Removed ra_uid, which was supposed to save the uid of a delta's author.
Is not used and not useful.

ok xsa, zinovik


Revision tags: OPENBSD_4_8_BASE
# 1.9 23-Jul-2010 ray

Reduce variable/function name and whitespace differences between
cvs/rcs.

OK xsa zinovik


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.8 02-Feb-2008 xsa

From src/usr.bin/cvs:

> add changed lines support to log and rlog (the + and - stuff)
> from Pierre Riteau;


# 1.7 31-Jan-2008 tobias

Revert last patch and add this magic branch number only during
output, this way we don't have to hassle in our internal brach handling.

OK joris@


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.6 27-Feb-2007 xsa

As done in OpenCVS, general includes cleanup sweep. OK otto@.


Revision tags: OPENBSD_4_0_BASE
# 1.5 03-Jun-2006 niallo

- correctly handle binary files; say bye bye to using c strings for deltatexts.

"slap it in" joris@


# 1.4 27-May-2006 ray

Rename RCSFILE.fd to RCSFILE.rf_fd, plus minor spacing nits. No
binary change.

OK xsa@


# 1.3 11-May-2006 xsa

first round of rcs_write() cleanup; prodded by joris@; input/OK ray@.


# 1.2 26-Apr-2006 joris

prevent file races by obtaining an fd for the RCS file and
do our operations on that, this is safe and guarantees we
can operate on the file until we close(2) it.

a fix is coming for the remaining races in our diff code.
okay niallo@ and ray@


# 1.1 26-Apr-2006 joris

fork our code we shared between openrcs/cvs into the openrcs dir.

this was starting to become inhuman to maintain without
ugly ugly hacks in the shared code, and it will be easier
to make specific changes for openrcs without touching the
soon-to-be-replaced opencvs code.


Revision tags: OPENBSD_6_2_BASE
# 1.18 29-Aug-2017 otto

kill const and string artithmetic related warnings; ok millert@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.17 09-May-2016 schwarze

Implement Mdocdate keyword substitution.
In particular, this stops rcsdiff(1) and CVSweb from showing
wrong Mdocdate lines in diffs.
Problem originally reported by tj@.
OK tobias@ otto@ millert@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.16 03-Jun-2013 jcs

properly handle commitid tokens found in rcs files

ok deraadt


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.15 06-Jul-2011 nicm

Replace the keyword expansion code with a faster, more readable version
which additionally also supports $Log$ and $Locker. Written by Joerg
Sonnenberger and tweaked by me.

ok ray


# 1.14 20-May-2011 nicm

Remove a bunch of unused functions, from Michael W Bombardieri.

ok ray


Revision tags: OPENBSD_4_9_BASE
# 1.13 20-Oct-2010 tobias

Remove the need for rp_file in parser structure, instead keep only one
FILE pointer in RCSFILE. This fixes some ugliness in closing an
fdopen()ed FILE and its underlying file descriptor.

Notified by Joerg Sonnenberger <joerg at britannica dot bec to de>

discussed with and ok nicm


# 1.12 05-Oct-2010 tobias

Zapped unused function rcs_tag_resolve.

ok xsa


# 1.11 05-Oct-2010 tobias

rcs_state_check must check for more invalid characters than just space.

ok nicm


# 1.10 31-Aug-2010 tobias

Removed ra_uid, which was supposed to save the uid of a delta's author.
Is not used and not useful.

ok xsa, zinovik


Revision tags: OPENBSD_4_8_BASE
# 1.9 23-Jul-2010 ray

Reduce variable/function name and whitespace differences between
cvs/rcs.

OK xsa zinovik


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.8 02-Feb-2008 xsa

From src/usr.bin/cvs:

> add changed lines support to log and rlog (the + and - stuff)
> from Pierre Riteau;


# 1.7 31-Jan-2008 tobias

Revert last patch and add this magic branch number only during
output, this way we don't have to hassle in our internal brach handling.

OK joris@


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.6 27-Feb-2007 xsa

As done in OpenCVS, general includes cleanup sweep. OK otto@.


Revision tags: OPENBSD_4_0_BASE
# 1.5 03-Jun-2006 niallo

- correctly handle binary files; say bye bye to using c strings for deltatexts.

"slap it in" joris@


# 1.4 27-May-2006 ray

Rename RCSFILE.fd to RCSFILE.rf_fd, plus minor spacing nits. No
binary change.

OK xsa@


# 1.3 11-May-2006 xsa

first round of rcs_write() cleanup; prodded by joris@; input/OK ray@.


# 1.2 26-Apr-2006 joris

prevent file races by obtaining an fd for the RCS file and
do our operations on that, this is safe and guarantees we
can operate on the file until we close(2) it.

a fix is coming for the remaining races in our diff code.
okay niallo@ and ray@


# 1.1 26-Apr-2006 joris

fork our code we shared between openrcs/cvs into the openrcs dir.

this was starting to become inhuman to maintain without
ugly ugly hacks in the shared code, and it will be easier
to make specific changes for openrcs without touching the
soon-to-be-replaced opencvs code.