Mihai Parparita
6c98bbf02c
Detect source files generated by the Protocol Buffer compiler
2013-04-16 22:14:50 -07:00
Yaroslav Shirokov
b68732f0c7
Add detection for CSV
2013-04-04 14:01:09 -07:00
Garen Torikian
4148ff1c29
Add PDF detection
2013-03-25 15:45:58 -07:00
Ted Nyman
96d29b7662
Vendor test/fixtures
2013-03-12 01:06:26 -07:00
Ted Nyman
da51510597
Nix this generated check for now
2013-03-06 15:28:55 -08:00
Ted Nyman
d5bfe40f37
Fix deprecation warning
2013-03-06 14:47:01 -08:00
Pascal Borreli
70eafb2ffc
Fixed typos
2013-03-03 21:26:31 +00:00
Mike Skalnik
5ea039a74e
Remove OBJ files as support solids
2013-02-26 14:00:29 -08:00
Ted Nyman
6e82d2a689
Merge pull request #354 from mrorii/master
...
Detect Cython-generated C/C++ files
2013-02-25 17:11:17 -08:00
PulsarBlow
dc9ad22ec4
TypeScript language support
...
Signed-off-by: PulsarBlow <pulsarblow@gmail.com >
2013-02-23 23:40:40 +01:00
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
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