Joshua Peek
8a9d8a15af
Building an army
2012-06-08 15:46:39 -05:00
Joshua Peek
6f6dd8bc38
Improve tokenizing sgml tags
2012-06-08 14:46:16 -05:00
Joshua Peek
9ecab364d1
Dump classifier results
2012-06-08 14:13:26 -05:00
Joshua Peek
0172623061
Add sample gathering class
2012-06-08 13:51:49 -05:00
Joshua Peek
e0c777d995
Fix test name
2012-06-08 13:43:37 -05:00
Joshua Peek
f747b49347
Add simple classifier
2012-06-07 17:10:28 -05:00
Joshua Peek
e0cbe815a3
Add basic Tokenizer
2012-06-07 14:55:11 -05:00
Joshua Peek
4df3199818
Reorg test fixtures
2012-06-07 12:17:24 -05:00
Joshua Peek
a708993388
Ensure all languages have unique primary extensions
2012-06-07 10:29:19 -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
2cbf428176
Use XSLT lexer
2012-05-09 10:41:11 -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
aa7c8497b1
Merge pull request #151 from aseemk/streamlinejs-support
...
Add ._js & ._coffee extensions for Streamline.js.
2012-05-07 19:44:14 -07: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
Joshua Peek
c3d6fc5af8
Colors!
2012-04-19 17:25:16 -05:00
Ilya Grigorik
cb715e2092
add fixture file for Dart
2012-04-09 14:41:01 -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
Aseem Kishore
17adccc844
Regression fix: ensure .coffee is primary ext.
...
(The primary extension by default is the first extension, but the extensions
need to be in alphabetical order, and _coffee comes before coffee.)
2012-04-03 14:56:11 -04:00
Aseem Kishore
54e81dd8fb
Add ._js & ._coffee extensions for Streamline.js.
...
Streamline.js by Bruno Jouhier (@Sage) is a library/tool that lets you write
synchronous-looking JavaScript/CoffeeScript, and have it compile to Node-style
asynchronous JavasScript/CoffeeScript. (It's amazing and super elegant.)
https://github.com/Sage/streamlinejs
From the start, Streamline was designed to be exactly JavaScript/CoffeeScript,
so that it works with existing editors and tools. No new keywords or syntax --
it simply reserves `_` as a function parameter name.
Streamline files have thus kept `.js` and `.coffee` as extensions, so that no
changes need to be made to tools; Streamline has just used the convention of
ending file basenames with `_`, like `foo_.js` or `foo_.coffee`.
Unfortunately, to get the most optimal Node.js integration, with on-the-fly
compilation (like CoffeeScript), files now need to have their own extension.
So Bruno has decided to make `._js` and `._coffee` the extensions of choice.
The good news is that the language is still exactly JavaScript/CoffeeScript;
it's only the extension that's changed. It's simple to add these extensions
into our editors, but I'm wondering if we can add this to GitHub too. =)
This change is super simple and shouldn't affect any other language, so I hope
you guys are open to it. Thanks for your consideration!
2012-04-02 19:56:28 -04:00
Joshua Peek
19f2ee40a5
New lexers in 1.5
2012-03-28 11:40:14 -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
61d2e8c383
Merge pull request #140 from jstrachan/detect-kotlin-language
...
Added detection for the Kotlin language
2012-03-28 09:21:19 -07: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
9d983b64b0
Fix tests
2012-03-28 11:03:22 -05:00
Joshua Peek
4c0a8b1ccf
Ensure our custom mime types override mime-types lib
2012-03-28 10:22:32 -05:00
Joshua Peek
bda27c8b72
Correct mime type test
2012-03-28 09:44:24 -05:00
Joshua Peek
3b7b2020d2
State Ace compatible languages
2012-03-23 13:50:29 -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
Joshua Peek
087205893f
Fix name escaping
2012-03-19 09:35:46 -05:00
Brian R. Jackson
5357d283b4
Switch to Tea lexer which is available in Pygments 1.5.
2012-03-10 20:59:58 -05:00
James Strachan
3e1b1979ed
Added detection for the Kotlin language
2012-03-05 16:10:42 +00: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
cc7205b9aa
Merge pull request #122 from rankida/detect-powershell
...
Added Windows Powershell detection
2012-03-05 06:04:36 -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
46a6f319f0
Logtalk test file
2012-03-02 21:06:02 +00: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
David Rankin
8b3e1ce86d
Added example Powershell files to the test fixtures folder
2012-02-15 19:44:14 +00:00