Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some new options to distinguish date and title, +American spelling of color #105

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
acc9b43
New CL options to customize title independent of date
Olliebrown Apr 29, 2017
07250b9
Added CL option aliases for American spelling of color
Olliebrown Apr 29, 2017
c16ac0a
Updated README to document new command line options.
Olliebrown Apr 29, 2017
6602875
Merge remote-tracking branch 'upstream/master'
Olliebrown Dec 5, 2017
9b6d252
Added error message if the caption file isn't found.
acaudwell Dec 13, 2017
cbd0a01
Fixed building with GLM 0.9.9.
acaudwell Feb 9, 2018
c90512f
Clarify that file filters are apply to the full path of the file.
acaudwell Feb 13, 2018
c826856
Added error if you try to build with GLM 0.9.9.
acaudwell Feb 20, 2018
5035a61
Use built-in GLM version to fix compatibility issues (dependency remo…
acaudwell Mar 20, 2018
51da891
Re-add GLM check to look for src/core/glm/glm/glm.hpp.
acaudwell Mar 20, 2018
43571a3
Added --init to help make sure the glm submodule gets checked out.
acaudwell Mar 21, 2018
712fd4e
Use double rather than single quotes as they are more widely compatible.
acaudwell Mar 21, 2018
8c91599
Updated boost macros.
acaudwell Mar 21, 2018
6eee8eb
Added option to build against the system copy of GLM.
acaudwell Mar 22, 2018
939a576
Mention --with-glm configure option.
acaudwell Mar 27, 2018
9ed7528
Fixed spelling of Debian.
acaudwell Mar 27, 2018
bf782c0
Clarify GLM version compatibility.
acaudwell Mar 27, 2018
db5ccda
Make code compatible with the current GLM master branch.
acaudwell Mar 28, 2018
25d07b8
Remove GLM work around as it is no longer needed.
acaudwell Apr 2, 2018
997531a
Fix command synopsis to use normal manual-page command syntax.
eric-s-raymond Jun 2, 2018
5fe6bec
Fixed compatibility with GLM 0.9.9.0.
acaudwell Jun 13, 2018
81cd3e6
Made command line synopsis consistent.
acaudwell Jun 13, 2018
ad5a926
Fixed a bug in the log file format detection affecting custom logs.
acaudwell Sep 17, 2018
74e8bee
Added no-time-travel to the configuration
SmallLars Sep 14, 2018
21f09b0
Added ChangeLog and man page entries for --no-time-travel.
acaudwell Sep 18, 2018
47ea2aa
Use lasttime for no-time-travel instead of currtime.
acaudwell Sep 18, 2018
ed284ba
Added dir-name-position to the configuration
SmallLars Sep 17, 2018
5b24e44
Don't allow dir-name-position to be 0.0 as it doesn't make sense.
acaudwell Sep 20, 2018
ae7bde2
Added file-extension-fallback to the configuration.
SmallLars Sep 9, 2018
43c6477
Add user-show-filter
Dec 5, 2017
1d70fd0
Documented user-show-filter option.
acaudwell Sep 25, 2018
0a0bfd7
Removed unused tagfilemap left over from when picking was used for se…
acaudwell Sep 27, 2018
d6afc4f
Fixed Mercurial parser missing entries due to a buffering bug.
acaudwell Sep 27, 2018
ebf158b
Fixed file removal being cancelled by an action with an earlier times…
acaudwell Sep 30, 2018
71057b8
Removed some functions that didn't do anything.
acaudwell Oct 1, 2018
55fe062
Right mouse button rotation now pivots around the camera.
acaudwell Oct 2, 2018
2dc7de4
Updated core module.
acaudwell Oct 3, 2018
7bb7eae
New CL options to customize title independent of date
Olliebrown Apr 29, 2017
8c5284f
Updating submodule revision
Olliebrown Dec 6, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
0.50:
* Right mouse button rotation now pivots around the camera.
* Added --no-time-travel option (Lars Schmertmann).
* Added --dir-name-position option (Lars Schmertmann).
* Added --file-extension-fallback option (Lars Schmertmann).
* Added --user-show-filter option (Victor Lopez).
* Fixed a bug in the Mercurial log parser that caused changes to be missed.
* Fixed file removal being cancelled by an action with an earlier timestamp.
* Fixed a bug in the log file format detection that could result in the wrong
first entry being displayed for a custom log.

0.49:
* Fixed compatibility with GLM 0.9.9.0.

0.48:
* Can now generate logs from git sub module directories.

Expand Down
6 changes: 2 additions & 4 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ Optional:

SDL Image 2.0 needs to have been built with support PNG and JPEG images.

GLM is a header only library that you can get from http://glm.g-truc.net/ if your distribution does not include it.

2. Building
===========

Expand Down Expand Up @@ -65,8 +63,8 @@ If you already have these fonts, you can configure Gource to use them with:

./configure --enable-ttf-font-dir=/path/to/freefont/

Gource includes a copy of the TinyXML library. To make Gource build against
the system library of TinyXML use:
Gource includes a copy of TinyXML. To build against the system version of the
library use:

./configure --with-tinyxml

57 changes: 41 additions & 16 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ card to run.
3. Using Gource
===============

gource <options> <path>
gource [options] [path]

options:

Expand Down Expand Up @@ -66,7 +66,7 @@ options:
--transparent
Make the background transparent. Only really useful for screenshots.

--start-date 'YYYY-MM-DD hh:mm:ss +tz'
--start-date "YYYY-MM-DD hh:mm:ss +tz"
Start with the first entry after the supplied date and optional time.

If a time zone offset isn't specified the local time zone is used.
Expand All @@ -77,7 +77,7 @@ options:
"2012-06-30 12:00"
"2012-06-30 12:00:00 +12"

--stop-date 'YYYY-MM-DD hh:mm:ss +tz'
--stop-date "YYYY-MM-DD hh:mm:ss +tz"
Stop after the last entry prior to the supplied date and optional time.

Uses the same format as --start-date.
Expand Down Expand Up @@ -106,6 +106,9 @@ options:
--realtime
Realtime playback speed.

--no-time-travel
Use the time of the last commit if the time of a commit is in the past.

-c, --time-scale SCALE
Change simulation time scale.

Expand All @@ -116,7 +119,7 @@ options:
-e, --elasticity FLOAT
Elasticity of nodes.

-b, --background-colour FFFFFF
-b, --background, --background-colour, --background-color FFFFFF
Background colour in hex.

--background-image IMAGE
Expand All @@ -134,9 +137,21 @@ options:
--font-size SIZE
Font size used by the date and title.

--font-colour FFFFFF
--title-size SIZE
Font size used by just the title.

--font-colour, --font-color FFFFFF
Font colour used by the date and title in hex.

--title-colour, --title-color FFFFFF
Font colour used by just the title in hex.

--date-height-pad VALUE
Value to add to the y position of the date.

--title-height-pad VALUE
Value to add to the y position of the title.

--key
Show file extension key.

Expand Down Expand Up @@ -166,44 +181,54 @@ options:
--highlight-users
Highlight the names of all users.

--highlight-colour FFFFFF
--highlight-colour, --highlight-color FFFFFF
Font colour for highlighted users in hex.

--selection-colour FFFFFF
--selection-colour, --selection-color FFFFFF
Font colour for selected users and files.

--filename-colour FFFFFF
--filename-colour, --filename-color FFFFFF
Font colour for filenames.

--dir-colour FFFFFF
--dir-colour, --dir-color FFFFFF
Font colour for directories.

--dir-name-depth DEPTH
Draw names of directories down to a specific depth in the tree.

--dir-name-position FLOAT
Position along edge of the directory name
(between 0.1 and 1.0, default is 0.5).

--filename-time SECONDS
Duration to keep filenames on screen (>= 2.0).

--file-extensions
Show filename extensions only.

--file-extension-fallback
Use filename as extension if the extension is missing or empty.

--file-filter REGEX
Filter out any files matching a specified regular expression.
Filter out file paths matching the specified regular expression.

--file-show-filter REGEX
Show only files matching this regular expression.
Show only file paths matching the specified regular expression.

--user-filter REGEX
Filter out any users matching a specified regular expression.
Filter usernames matching the specified regular expression.

--user-show-filter REGEX
Show only usernames matching the specified regular expression.

--user-image-dir DIRECTORY
Directory containing .jpg or .png images of users
(eg 'Full Name.png') to use as avatars.
(eg "Full Name.png") to use as avatars.

--default-user-image IMAGE
Path of .jpg or .png to use as the default user image.

--colour-images
--colour-images, --color-images
Colourize user images.

--crop AXIS
Expand Down Expand Up @@ -264,7 +289,7 @@ options:
users - user avatars
usernames - names of users

Separate multiple elements with commas (eg 'mouse,progress')
Separate multiple elements with commas (eg "mouse,progress")

--hash-seed SEED
Change the seed of hash function.
Expand All @@ -275,7 +300,7 @@ options:
--caption-size SIZE
Caption size.

--caption-colour FFFFFF
--caption-colour, --caption-color FFFFFF
Caption colour in hex.

--caption-duration SECONDS
Expand Down
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if (autoreconf -f -i) ; then
echo "Initializing submodules..."
if (git submodule init) ; then
echo "Updating submodules..."
if (git submodule update) ; then
if (git submodule update --init --recursive) ; then
echo "Run './configure && make' to continue."
else
echo "Error: could not update submodules!"
Expand Down
7 changes: 3 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

AC_PREREQ(2.61)

AC_INIT(Gource, 0.48, [[email protected]])
AC_INIT(Gource, 0.50, [[email protected]])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_SRCDIR([src/main.h])
AM_INIT_AUTOMAKE([dist-bzip2 foreign subdir-objects])
Expand Down Expand Up @@ -53,14 +53,13 @@ AX_BOOST_FILESYSTEM
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
LIBS="$LIBS $BOOST_SYSTEM_LIB $BOOST_FILESYSTEM_LIB"

#GLM
AC_CHECK_HEADER([glm/glm.hpp],, AC_MSG_ERROR(GLM headers are required. Please see INSTALL))

#see if ttf-font-dir option is enabled
AC_ARG_ENABLE(ttf-font-dir,[AS_HELP_STRING([--enable-ttf-font-dir=DIR],[directory containing GNU FreeFont TTF fonts])],[gourcefontdir="$enableval"],[gourcefontdir=""])
AM_CONDITIONAL([FONTDIR], [test "x$gourcefontdir" != "x"])
AC_SUBST(gourcefontdir)

#GLM
AC_CHECK_HEADER([glm/glm.hpp],, AC_MSG_ERROR(GLM headers are required. Please see INSTALL))

#see if building against system TinyXML library
use_tinyxml_system_library=no
Expand Down
28 changes: 20 additions & 8 deletions data/gource.1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Gource - a software version control visualization
.SH SYNOPSIS
\fIgource\fR
<options> <path>
[options] [path]
.SH DESCRIPTION
\fIgource\fR is an OpenGL-based 3D visualisation tool for source control repositories.

Expand Down Expand Up @@ -36,7 +36,7 @@ Frameless window.
\fB\-\-transparent\fR
Make the background transparent. Only really useful for screenshots.
.TP
\fB\-\-start\-date 'YYYY\-MM\-DD hh:mm:ss +tz'\fR
\fB\-\-start\-date "YYYY\-MM\-DD hh:mm:ss +tz"\fR
Start with the first entry after the supplied date and optional time.

If a time zone offset isn't specified the local time zone is used.
Expand All @@ -47,7 +47,7 @@ Example accepted formats:
"2012-06-30 12:00"
"2012-06-30 12:00:00 +12"
.TP
\fB\-\-stop\-date 'YYYY\-MM\-DD hh:mm:ss +tz'\fR
\fB\-\-stop\-date "YYYY\-MM\-DD hh:mm:ss +tz"\fR
Stop at the last entry prior to the supplied date and optional time.

Uses the same format as \-\-start\-date.
Expand Down Expand Up @@ -76,6 +76,9 @@ Speed of simulation in seconds per day.
\fB\-\-realtime\fR
Realtime playback speed.
.TP
\fB\-\-no\-time\-travel\fR
Use the time of the last commit if the time of a commit is in the past.
.TP
\fB\-c, \-\-time\-scale SCALE\fR
Change simulation time scale.
.TP
Expand Down Expand Up @@ -148,23 +151,32 @@ Font colour for directories.
\fB\-\-dir\-name\-depth DEPTH\fR
Draw names of directories down to a specific depth in the tree.
.TP
\fB\-\-dir\-name\-position FLOAT
Position along edge of the directory name (between 0.1 and 1.0, default is 0.5).
.TP
\fB\-\-filename\-time SECONDS\fR
Duration to keep filenames on screen (>= 2.0).
.TP
\fB\-\-file\-extensions\fR
Show filename extensions only.
.TP
\fB\-\-file\-extension\-fallback\fR
Use filename as extension if the extension is missing or empty.
.TP
\fB\-\-file\-filter REGEX\fR
Filter out any files matching a specified regular expression.
Filter out file paths matching the specified regular expression.
.TP
\fB\-\-file\-show\-filter REGEX\fR
Show only files matching this regular expression.
Show only file paths matching the specified regular expression.
.TP
\fB\-\-user\-filter REGEX\fR
Filter out any usernames matching a specified regular expression.
Filter usernames matching the specified regular expression.
.TP
\fB\-\-user\-show\-filter REGEX\fR
Show only usernames matching the specified regular expression.
.TP
\fB\-\-user\-image\-dir DIRECTORY\fR
Directory containing .jpg or .png images of users (eg 'Full Name.png') to use as avatars.
Directory containing .jpg or .png images of users (eg "Full Name.png") to use as avatars.
.TP
\fB\-\-default\-user\-image IMAGE\fR
Path of .jpg to use as the default user image.
Expand Down Expand Up @@ -226,7 +238,7 @@ Hide one or more display elements from the list below:
users \- user avatars
usernames \- names of users

Separate multiple elements with commas (eg 'mouse,progress')
Separate multiple elements with commas (eg "mouse,progress")

.TP
\fB\-\-hash\-seed SEED\fR
Expand Down
Loading