Joshua Peek
6ac9138aed
Remove pathname
...
Closes #207
2012-07-23 16:50:30 -05:00
Joshua Peek
7b6caa0f6c
Rename samples subdirectories
2012-07-23 15:52:49 -05:00
Joshua Peek
80e8ee7ce6
Rename Sample -> Samples
2012-07-23 13:15:27 -05:00
Joshua Peek
eb2c07e511
Sample returns simple hash objects
2012-07-20 16:17:37 -05:00
Joshua Peek
5521dd08a0
Move test fixtures to samples/
2012-06-22 10:09:24 -05:00
Joshua Peek
ecb2397e59
Merge branch 'master' into bayesian
2012-06-19 11:43:48 -05:00
Michael Ficarra
93d0611b4e
accidental hard tabs
2012-06-19 11:30:39 -05:00
Michael Ficarra
11166911dc
Recognise that PEG.js-generated parsers are in fact generated
2012-06-19 11:18:51 -05:00
Joshua Peek
0172623061
Add sample gathering class
2012-06-08 13:51:49 -05:00
Joshua Peek
4df3199818
Reorg test fixtures
2012-06-07 12:17:24 -05:00
Rob Sanheim
1c7b8ebe71
Make colorize safer:
...
- don't try to colorize blobs that have a high ratio of
long lines -- these are most likely minified files or something else
strange that will blow up Pygments.rb
- re github/github#3938
2012-05-21 11:33:01 -05:00
Joshua Peek
285c9b4c60
Fix xslt mime type
2012-05-09 10:59:00 -05:00
Joshua Peek
35fe44549e
Fix empty .m file
2012-05-09 09:52:14 -05:00
Andrew D. Horchler
354e1fc85e
More robust heuristics for .m files and 3 new Matlab tests. Support for Obj-C detection fully intact; all tests pass. Detection of Obj-C keywords @implementation, @property, @interface, and @synthesize removed to avoid possible conflicts with user-created Matlab function handles. Only @end is needed, which is not valid in Matlab. Matlab class files supported. Comments preceded by whitespace detected for Obj-C and Matlab.
...
Signed-off-by: Andrew D. Horchler <adh9@case.edu >
2012-05-08 18:31:18 -04:00
Daniel Micay
be42a8411b
add detection for Arch Linux PKGBUILDs
2012-05-08 07:39:48 -04:00
Joshua Peek
b618539c8b
Ensure ext/ dir isn't ignored
2012-05-05 21:39:41 -05:00
Vicent Martí
d1297f626e
Update tests accordingly
2012-04-29 16:05:30 -07:00
Ilya Grigorik
a3dc9fb138
add detection for Dart
2012-04-09 14:38:43 -07:00
Patrick O'Leary
4f0b457287
Updated Julia language with lexer and added tests
2012-04-04 21:28:29 -05:00
Martin d'Allens
dc145ff715
Set lexer for VHDL language.
...
Conflicts:
test/test_blob.rb
2012-03-28 11:37:25 -05:00
Joshua Peek
791761b19f
kt extension is real now
2012-03-28 11:25:36 -05:00
Joshua Peek
39bb301a0e
Merge pull request #142 from jaxzin/detect-tea
...
Added detection of the Tea language.
2012-03-28 09:16:40 -07:00
Joshua Peek
4c0a8b1ccf
Ensure our custom mime types override mime-types lib
2012-03-28 10:22:32 -05:00
Abe Voelker
22db59d8c0
Improve .cls language detection
2012-03-21 11:21:55 -05:00
Brian R. Jackson
a8660ea80f
Added detection of the Tea language.
2012-03-19 17:36:23 -04:00
Joshua Peek
777f5a3b87
Revert "Merge pull request #129 from jaxzin/detect-tea"
...
This reverts commit 79f16caeb2 , reversing
changes made to 087205893f .
No "Tea" lexer
2012-03-19 14:59:59 -05:00
Brian R. Jackson
26263bc288
Merging github/master 0872058
2012-03-19 15:54:24 -04:00
Brian R. Jackson
5357d283b4
Switch to Tea lexer which is available in Pygments 1.5.
2012-03-10 20:59:58 -05:00
Abe Voelker
d32c9e88b4
Add support for OpenEdge ABL language
2012-03-05 08:58:19 -06:00
Joshua Peek
eeea42d67b
Merge pull request #112 from sylvestre/master
...
Support of the Scilab language
2012-03-05 06:08:55 -08:00
Joshua Peek
d80ee601ed
Merge pull request #125 from abevoelker/detect-coq-language
...
Add detection for the Coq language - fixes #116
2012-03-05 06:03:23 -08:00
Paulo Moura
66496fcde5
Added detection for the new Logtalk language
2012-03-02 20:26:27 +00:00
Brian R. Jackson
842b507aca
Added detection for Tea templates, see http://teatrove.org
...
Uses the Java Server Page lexer (closest match) until a Tea lexer is added to Pygments.
https://bitbucket.org/birkenfeld/pygments-main/pull-request/56
2012-02-25 00:55:00 -05:00
Abe Voelker
daef609f5f
Add detection for the Coq language - fixes #116
2012-02-17 10:50:21 -06:00
Joshua Peek
101676d90b
Gemfile.locks are generated
2012-02-15 15:59:06 -06:00
Sylvestre Ledru
5b5ae20c5e
Added detection for Scilab language
2012-02-08 15:25:30 +01:00
Joshua Peek
7974d23444
Detect CoffeeScript with generated comment
2012-01-16 16:57:30 -06:00
Joshua Peek
395a88aa97
Remove VS project file supression
2011-12-23 10:17:49 -06:00
Tim Clem
70bc20ce12
Detect jquery-x.x for exclusion
2011-12-09 11:30:31 -08:00
Tim Clem
08620f4293
Get rid of the extra whitespace
2011-12-07 14:13:26 -08:00
Tim Clem
1acfe23347
Add jQuery validation plugin to the exclusions
2011-12-07 14:08:59 -08:00
Tim Clem
446f53be70
Improve language stats for .net projects
...
This excludes some common js used in many .net project so that they
don't show up in language stats. Things exlude now include:
- Visual Studio intellisense js files
- Microsoft's Ajax and Validation js
- Anything in the NuGet packages directory
2011-12-07 13:57:50 -08:00
Aman Gupta
61a59c8e84
avoid load_blob and shebang check on files with extensions
...
previously, any file with an unrecognized file extension was loaded to
check for a shebang. now, this only occurs if the file has a generic
name with no file extension (like ./script)
it is possible this will no longer match certain scripts with esoteric
extensions (if we find these we can add them to the shebang_extname?
method). however, most common script extensions (.sh, .rb, .pl, etc)
will continue to work since the file extension takes precedence over the
shebang line.
2011-11-23 00:54:40 -08:00
Joshua Peek
e4fe1d17e7
Add tests for Perl and Turning detection
2011-11-21 10:42:39 -06:00
Fredrik Leijon
1182d9d328
Detect Arduino 1.0
...
Arudino fixture for tests
2011-11-17 18:28:18 +01:00
Joshua Peek
e562369110
Skip colorizing minified js
2011-10-10 11:29:58 -05:00
Joshua Peek
8c135a9eff
Serve actual content-type, not simplified
2011-10-06 18:04:29 -04:00
Joshua Peek
6e03f954bc
Large blobs should be binary
2011-09-28 10:14:46 -05:00
Joshua Peek
0175681a4a
Fix bad fixture
2011-09-27 10:16:41 -05:00
Michael Maclean
29c413366e
Add test for WAF to test_vendored
2011-09-21 17:07:47 +02:00