299 Commits

Author SHA1 Message Date
Mike Skalnik
041ab041ae Add binary & ascii STLs and OBJs 2013-01-17 14:15:01 -08:00
Naoki Orii
35e077ce86 Detect cython-generated files 2013-01-12 23:48:04 -05:00
Ted Nyman
c495d19540 Merge pull request #222 from tiwe-de/master
ignore Debian packaging
2013-01-08 04:23:17 -08:00
Joshua Peek
d92d208a45 Fix tests for pygments.rb 0.3.x 2012-10-07 15:39:02 -05:00
Ryan Tomayko
bda895eaae Test Mac Format detection and line splitting 2012-09-10 01:52:30 -07:00
Scott J. Goldman
e415a1351b When testing if a blob is indexable, check size first
Otherwise, charlock_holmes will allocate another large binary
buffer for testing the encoding, which is a problem if the binary
blob is many hundreds of MB large. It'll just fail and crash ruby.
2012-08-31 22:47:19 -07:00
Joshua Peek
64f3509222 Remove other mime type hacks 2012-08-20 11:29:22 -05:00
Joshua Peek
630dca515a Trim down mime type overrides that are old or now pushed upstream
Related #206
2012-08-20 11:11:42 -05:00
Timo Weingärtner
a572b467b4 testcase for 90f1ba9 2012-08-15 02:11:15 +03:00
Oxan van Leeuwen
0f006af583 Improve detection for ASP.NET validation jQuery plugins 2012-08-10 01:09:54 +02:00
Oxan van Leeuwen
2bbf92d5f8 Update vendor.yml to include jQuery UI 2012-08-10 01:04:29 +02:00
Joshua Peek
16a67cb852 Move shebang detection into classifier
Fixes #203
2012-08-03 15:07:36 -05:00
Joshua Peek
fbbaff09cd Stop treating text as a language 2012-08-03 13:55:51 -05:00
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