This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Nolimips, a MIPS simulator with infinitely many registers".
The branch master has been updated
via 81bf8323f62695c773a7055017d36c9b584feb47 (commit)
via 55416eee82780975dcbea4f3a929a8adcdcf99ad (commit)
via ff5ce5b15532948717df99e4c3e2872bf8acb552 (commit)
via cef56452fce165ac4770410552c70abb89612fe0 (commit)
via acc59f3da99130b76215a2289b04ec7fcbf8bc00 (commit)
via f0ce61e5f17dd9a7853071a946b8ddda877e55f7 (commit)
via a3d879cd9d376ac0e839cc4bdb2e44e2cdfea5b6 (commit)
via fb32fd0c402c671fdecb645434f89d87edab0414 (commit)
via 89bbed904ef20279d269d2cd27fdf43f8b4c1d62 (commit)
from fb8a6d4adfd97265f6c298851a50ef0d6a78a771 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
81bf832 Add a target to install Nolimips' documentation on the Web.
55416ee Change Nolimips' bug report e-mail address.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 73 +++++++++++
Makefile.am | 3 +
build-aux/Makefile.am | 4 +-
build-aux/bin/bison++.in | 296 ++++++++++++++++++++++++++++++++++++++++++
build-aux/bin/fuse-switch | 168 ++++++++++++++++++++++++
build-aux/bin/move-if-change | 79 +++++++++++
build-aux/bison++.in | 128 ------------------
build-aux/move-if-change | 18 ---
configure.ac | 4 +-
doc/Makefile.am | 8 +
src/parse/Makefile.am | 36 +++--
11 files changed, 653 insertions(+), 164 deletions(-)
create mode 100755 build-aux/bin/bison++.in
create mode 100755 build-aux/bin/fuse-switch
create mode 100755 build-aux/bin/move-if-change
delete mode 100755 build-aux/bison++.in
delete mode 100755 build-aux/move-if-change
hooks/post-receive
--
Nolimips, a MIPS simulator with infinitely many registers
* build-aux/bin/move-if-change: Sync with Urbi.
Signed-off-by: Roland Levillain <roland(a)lrde.epita.fr>
---
ChangeLog | 6 +++
build-aux/bin/move-if-change | 81 +++++++++++++++++++++++++++++++++++++----
2 files changed, 79 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c301274..540c335 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-17 Akim Demaille <demaille(a)gostai.com>
+
+ move-if-change: in colors (no 3d available).
+
+ * build-aux/bin/move-if-change: Sync with Urbi.
+
2011-01-29 Akim Demaille <demaille(a)gostai.com>
build-aux: build-aux/bin.
diff --git a/build-aux/bin/move-if-change b/build-aux/bin/move-if-change
index 5df5330..985fbb8 100755
--- a/build-aux/bin/move-if-change
+++ b/build-aux/bin/move-if-change
@@ -1,14 +1,79 @@
#!/bin/sh
+
# Like mv $1 $2, but if the files are the same, just delete $1.
# Status is 0 if $2 is changed, 1 otherwise.
-if test -r "$2"; then
- if cmp -s "$1" "$2"; then
- echo >&2 "$2 is unchanged"
- rm -f "$1"
- else
- mv -f "$1" "$2"
- fi
+usage ()
+{
+ cat <<EOF
+usage: $0 [OPTION...] SOURCE DESTINATION
+
+Rename SOURCE as DESTINATION, but preserve the timestamps of
+DESTINATION if SOURCE and DESTINATION have equal contents.
+
+Options:
+ -c, --color display the diffs in color if colordiff is available
+ -h, --help display this message and exit
+ -I, --ignore-matching-lines REGEXP
+ ignore differences in lines matching REGEXP
+ -s, --silent do not report anything
+ -v, --verbose display the diffs
+EOF
+ exit 0
+}
+
+diff=diff
+diffflags=-u
+verbose=false
+
+while test $# != 0
+do
+ case $1 in
+ (-c|--color)
+ # The Emacs shell and compilation-mode are really bad at
+ # displaying colors.
+ if (colordiff --version) >/dev/null 2>&1 \
+ && test -z "$INSIDE_EMACS"; then
+ diff=colordiff
+ fi
+ ;;
+
+ (-h|--help)
+ usage ;;
+
+ (-I|--ignore-matching-lines)
+ shift
+ diffflags="$diffflags -I $1";;
+
+ (-s|--silent)
+ verbose=false;;
+
+ (-v|--verbose)
+ verbose=true;;
+
+ (*)
+ if test -z "$new"; then
+ new=$1
+ else
+ old=$1
+ fi
+ ;;
+ esac
+ shift
+done
+
+if $verbose; then
+ exec 5>&1
else
- mv -f "$1" "$2"
+ exec 5>/dev/null
+fi
+
+if test -r "$old" && $diff $diffflags "$old" "$new" >&5; then
+ echo >&5 "$old is unchanged"
+ # The file might have actually changed, but changes that are
+ # ignored. In that case, we want the latest contents, but the
+ # oldest time stamp. Since mv preserves time stamps, just set the
+ # time stamps of the new one to that of the old one.
+ touch -r "$old" "$new"
fi
+mv -f "$new" "$old"
--
1.7.2.5
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Nolimips, a MIPS simulator with infinitely many registers".
The branch update-build-aux has been created
at ff5ce5b15532948717df99e4c3e2872bf8acb552 (commit)
- Log -----------------------------------------------------------------
ff5ce5b build-aux: update tools
cef5645 Distribute build-aux/bin/fuse-switch.
acc59f3 build-aux/bin/bison++.in: Remove `set -x'.
f0ce61e maint: upgrade bison++.
a3d879c move-if-change: in colors (no 3d available).
fb32fd0 build-aux: build-aux/bin.
89bbed9 Formatting changes
-----------------------------------------------------------------------
hooks/post-receive
--
Nolimips, a MIPS simulator with infinitely many registers
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Nolimips, a MIPS simulator with infinitely many registers".
The branch master has been updated
via fb8a6d4adfd97265f6c298851a50ef0d6a78a771 (commit)
via f084c326c810013540100ca5dcd9982e128bdbb4 (commit)
from 0703bb7c2526372c01f09e92709c768a961a51b6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
fb8a6d4 .gitignore: Ignore more files.
f084c32 Fix the generation of the parser.
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 2 ++
ChangeLog | 7 +++++++
src/parse/asm-parse.yy.gen.py | 3 ++-
3 files changed, 11 insertions(+), 1 deletions(-)
hooks/post-receive
--
Nolimips, a MIPS simulator with infinitely many registers