summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Giel van Schijndel [Sun, 27 Jun 2010 14:57:32 +0000]
Bump version to 0.3
Signed-off-by: Giel van Schijndel <me@mortis.eu>
Giel van Schijndel [Sun, 27 Jun 2010 14:31:49 +0000]
Add a new option: exclude_files
This option will prevent files matching any of the given glob patterns
from being included in the taglist.
Signed-off-by: Giel van Schijndel <me@mortis.eu>
Christoph Trassl [Thu, 13 May 2010 22:51:24 +0000]
Handle moved files correctly
Moved files ('svn mv') where not handled properly. The move target
would be correctly added to the taglist, the move source, however,
wouldn't be removed from the taglist.
Signed-off-by: Christoph Trassl <christoph@trassl.net>
Signed-off-by: Giel van Schijndel <me@mortis.eu>
Giel van Schijndel [Fri, 21 May 2010 18:45:43 +0000]
Include the commit date in the version number for non-tagged commits
Signed-off-by: Giel van Schijndel <me@mortis.eu>
Giel van Schijndel [Fri, 21 May 2010 18:03:21 +0000]
Bugfix: infinitely required env upgrade at rev 0
Apparently Trac's CachedRepository considers Subversion revision number
0 (zero) not to be a revision and converts it into None. This ruined
our ability to detect a non-existent tags cache.
This commit fixes this by bypassing the cache when revision None is
returned.
Signed-off-by: Giel van Schijndel <me@mortis.eu>
Reported-by: Ingo Weidauer <ingo@weidauer.info>
Giel van Schijndel [Mon, 17 May 2010 11:01:09 +0000]
Add myself to the list of copyright owners
Signed-off-by: Giel van Schijndel <me@mortis.eu>
Giel van Schijndel [Mon, 17 May 2010 11:00:43 +0000]
Wrap lines of the copyright license at 72 columns
Signed-off-by: Giel van Schijndel <me@mortis.eu>
Giel van Schijndel [Mon, 17 May 2010 10:59:00 +0000]
Remove the reference to <ORGANIZATION> from the copyright license
Signed-off-by: Giel van Schijndel <me@mortis.eu>
Giel van Schijndel [Wed, 21 Apr 2010 18:33:06 +0000]
Explicitly fetch files from the most recent revision
Git doesn't have a concept of the "last" revision (due to its explicit
branches support), thus TracGit's get_node() function cannot default to
fetching from the last revision. This meant that, combined with
TracGit, no files where being parsed for tags previously.
This patch should enable usage of CodeTags in combination with TracGit.
Signed-off-by: Giel van Schijndel <me@mortis.eu>
Reported-by: Renato Alves <rjalves@igc.gulbenkian.pt>
Giel van Schijndel [Sun, 29 Mar 2009 17:32:59 +0000]
Bump version to 0.2
Giel van Schijndel [Sun, 29 Mar 2009 17:25:19 +0000]
Add a ChangeLog with entries for 0.1
Giel van Schijndel [Sun, 29 Mar 2009 17:23:55 +0000]
Add David Hrbáč to the AUTHORS list
Giel van Schijndel [Sun, 29 Mar 2009 14:44:58 +0000]
Treate empty configuration lists as such
Make sure not to turn empty configuration list options into a list with
a single empty string in it.
This prevents a problem with the default value for exclude_folders
containing an empty string. This empty string matches the root directory
(which happens not to have a name, i.e. ""), thus preventing all files
from being matched.
David Hrbáč [Thu, 19 Mar 2009 10:01:13 +0000]
Allow scanning of Unicode files
Properly deal with Unicode files (e.g. UTF-8) by adding a configuration
option ('enable_unicode') to scan using Unicode strings. This option is
set to True by default.
Giel van Schijndel [Wed, 11 Feb 2009 15:17:42 +0000]
Use Genshi instead of ClearSilver on Trac 0.11+
Giel van Schijndel [Wed, 11 Feb 2009 14:05:21 +0000]
Revert "Skip binary files"
This reverts commit
148a729e904fb3b77e69545a652ea2d47fc400e6.
This was only a performance optimisation and I suspect it to be
introduce bugs. So sacrifice the (unconfirmed and unmeasured)
performance gain for correctness.
Giel van Schijndel [Wed, 11 Feb 2009 13:51:58 +0000]
Don't just assume Python is installed in /usr/bin/
Don't assume that Python is installed in /usr/bin/ as it can be located
in /usr/local/bin/ as well for example. Instead rely on /usr/bin/env to
utilize $PATH to start Python properly.
Giel van Schijndel [Wed, 11 Feb 2009 13:50:04 +0000]
Bugfix: make sure to *always* create a cache
Giel van Schijndel [Sat, 27 Dec 2008 15:30:52 +0000]
Don't print to stdout to prevent problems with mod_wsgi
Giel van Schijndel [Mon, 8 Dec 2008 15:25:16 +0000]
Skip binary files
Before splitting a file into a list of its lines check whether its
binary. If it is skip that file when scanning for new tags.
Giel van Schijndel [Sat, 29 Nov 2008 13:48:48 +0000]
Use pickle protocol 0 (ASCII) for storing the cached revision
This allows people to use a text editor to find out what the latest
cached revision number is.
Giel van Schijndel [Wed, 26 Nov 2008 00:17:07 +0000]
Bugfix: don't perform any HTML rendering when upgrading the environment
* Move the updating of the tag cache out into a separate function:
update_cache
* Call this function (instead of get_taglist, which prepares for HTML
rendering as well) in upgrade_environment()
Giel van Schijndel [Tue, 25 Nov 2008 23:33:24 +0000]
Optimisation: skip directories that don't need to be scanned or aren't parents of those that need to be
Giel van Schijndel [Tue, 25 Nov 2008 22:58:29 +0000]
Optimisation: skip all subdirectories and files of excluded folders
Giel van Schijndel [Sun, 23 Nov 2008 15:15:59 +0000]
Make checking of the scan_files config option more explicit
Giel van Schijndel [Sat, 22 Nov 2008 23:22:24 +0000]
Remove generated files
Giel van Schijndel [Sat, 22 Nov 2008 22:38:10 +0000]
Bugfix: prevent exclusion of ''all'' files by default
Giel van Schijndel [Sat, 22 Nov 2008 15:42:41 +0000]
Make sure that the initial generation of codetags cache happens in "trac-admin upgrade"
Giel van Schijndel [Sat, 22 Nov 2008 15:21:58 +0000]
Add some package info to the egg's data
Giel van Schijndel [Sat, 22 Nov 2008 15:06:40 +0000]
Giel van Schijndel [Sat, 22 Nov 2008 15:02:05 +0000]
Make setup.py executable
Greg Sadetsky [Sat, 22 Nov 2008 14:36:17 +0000]
Add a new option 'exclude_folders' to exclude paths from being searched
Greg Sadetsky [Sat, 22 Nov 2008 14:27:16 +0000]
Bugfix: didn't handle deleted files and files that lost all tags properly
In get_new_tags() we would attempt to access all changed files
regardless of whether they still exist or not (i.e. they might have been
removed). Fix this by adding an empty file node in that case (instead of
dying at an exception).
Additionally if we didn't find any tags at all in a changed file make
sure to add an empty file node as well, because the revision might have
just removed the tags.
In get_taglist remove all files from the cache that have been changed
but don't have any tags in them (this includes removed files and files
in which all tags have been removed).
Greg Sadetsky [Sat, 22 Nov 2008 14:05:37 +0000]
Wrap the code to check whether a path is valid in a function
Giel van Schijndel [Sat, 22 Nov 2008 14:05:04 +0000]
Lets add myself to the AUTHORS file as well ;-)
Giel van Schijndel [Thu, 24 Apr 2008 22:32:05 +0000]
Only match whole words: thus match the word's boundaries as well (regex '\b')
Giel van Schijndel [Thu, 24 Apr 2008 22:17:18 +0000]
Add license (BSD) & authors
Giel van Schijndel [Thu, 24 Apr 2008 21:40:32 +0000]
Initial import