~mnordhoff/loggerhead/guess_lexer_1k

  • Committer: Matt Nordhoff
  • Date: 2009-03-06 13:19:38 UTC
  • Revision ID: mnordhoff@mattnordhoff.com-20090306131938-roexw3he9snqfa35
Only pass the first 1 KB of the file to Pygments's guess_lexer.

Mercurial's syntax highlighting extension did this because the function seemed to have exponential performance. I don't know if that's still the case.
Filename Latest Rev Last Changed Committer Comment Size
..
loggerhead 1 17 years ago Robey Pointer initial checkin Diff
.bzrignore 266.1.2 15 years ago Michael Hudson convert tests to TestCaseWithTransport subclasses 95 bytes Diff Download File
COPYING.txt 183.2.1 15 years ago John Arbash Meinel Add Copyright information to most files. Fix the 17.5 KB Diff Download File
loggerhead.conf.example 128.13.48 15 years ago Martin Albisetti Merged from trunk, resolved billions of conflicts 2.8 KB Diff Download File
File loggerheadd 245.1.1 15 years ago Tom Haddon Allow the script to run as root or another user, b 2.5 KB Diff Download File
Makefile 140.1.1 16 years ago Michael Hudson add do nothing check target 178 bytes Diff Download File
MANIFEST.in 165 15 years ago Martin Albisetti * Remove homepage * Remove release tarballs * R 86 bytes Diff Download File
NEWS 292 15 years ago Michael Hudson some NEWS 9.4 KB Diff Download File
README.txt 277 15 years ago Michael Hudson * make example Apache stanza more correct with how 3.8 KB Diff Download File
File serve-branches 277 15 years ago Michael Hudson * make example Apache stanza more correct with how 5.8 KB Diff Download File
serve-branches.1 217.1.8 15 years ago Guillermo Gonzalez * merge with trunk (resolve conflicts in NEWS and 1.1 KB Diff Download File
setup.py 245 15 years ago Martin Albisetti Fixed setup to install YUI 3.4 KB Diff Download File
File start-loggerhead 270.1.1 15 years ago Michael Hudson defer loading of plugins until after we've set up 4.8 KB Diff Download File
start-loggerhead.1 197.1.6 15 years ago Jelmer Vernooij add --log-folder option. 1 KB Diff Download File
File stop-loggerhead 230.1.1 15 years ago Steve 'Ashcrow' Milner Updated to follow pep8. 1.5 KB Diff Download File
stop-loggerhead.1 197.1.7 15 years ago Jelmer Vernooij Add --pidfile option to stop-loggerhead. 654 bytes Diff Download File