A 2.1.2 release was pushed 10 years after the last modification
timestamp on CVS [1]. Unfortunately, that means these changes were
effectively untracked by CVS. What's even worse, while some of the
changes are stylistic, others are non-trivial and there is no rationale
behind them.
This commit attempts to match this 2.1.2 release, while removing
trailing whitespaces and newlines in order to keep Git (and also myself)
happy.
Trailing whitespaces have been removed with:
while read f
do
sed -Ei 's/[[:space:]]+$//g' "$f"
done <<EOF
$(find . -iname '*.cpp' -o -iname '*.h')
EOF
Trailing newlines have been removed with:
while read f
do
sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' -- "$f"
done <<EOF
$(find . -iname '*.cpp' -o -iname '*.h')
EOF
[1]: https://sourceforge.net/projects/freesolid/files/FreeSOLID-2.1.2.zip/download
A CVS to Git conversion was made via the cvs2git tool [1], following the
documentation provided by SourceForge. [2]
These were the commands used to perform the conversion:
$ rsync -av rsync://freesolid.cvs.sourceforge.net/cvsroot/freesolid/\* cvs
$ cvs2git --blobfile=blob.dat --dumpfile=dump.dat \
--username=xavi --default-eol=native \
--encoding=utf8 --encoding=latin1 --fallback-encoding=ascii \
cvs/backup
$ mkdir new_git
$ git init new_git
$ cat blob.dat dump.dat | git --git-dir=new_git/.git fast-import
After the conversion, two directories were available: CVSROOT and
freesolid, where the latter included the project files. Therefore,
CVSROOT was filtered out with git-filter-repo [3], and the contents of
the freesolid directory were moved to the root directory:
$ git-filter-repo -f --path freesolid/
$ git mv -- freesolid/* .
[1]: https://www.mcs.anl.gov/~jacob/cvs2svn/cvs2git.html
[2]: https://sourceforge.net/p/forge/documentation/CVS/
[3]: https://github.com/newren/git-filter-repo
2025-01-26 23:01:03 +01:00
Renamed from freesolid/sample/ellipsoid.cpp (Browse further)