Commit Graph

80 Commits

Author SHA1 Message Date
Arfon Smith
e70cd33323 Moving to fixtures 2014-09-17 08:37:00 -05:00
Joshua Peek
5521dd08a0 Move test fixtures to samples/ 2012-06-22 10:09:24 -05:00
Joshua Peek
540f2a0941 More matlab samples 2012-06-21 10:44:31 -05:00
Joshua Peek
4b9b8a5058 Remove matlab file with bogus keywords 2012-06-21 10:25:30 -05:00
Joshua Peek
a10e52a3c2 Revert removing some fixtures 2012-06-20 11:18:16 -05:00
Joshua Peek
6113e6d548 Remove ambiguous obj-c header example 2012-06-19 16:28:34 -05:00
Joshua Peek
4ea1e8aece Remove ambiguous c header example 2012-06-19 16:26:39 -05:00
Joshua Peek
fcd8c089dc Add some more c header examplesgst 2012-06-19 16:25:09 -05:00
Joshua Peek
79a473cf58 Add some more apex and openedge fixtures 2012-06-19 15:01:58 -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
8a9d8a15af Building an army 2012-06-08 15:46:39 -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
Ilya Grigorik
cb715e2092 add fixture file for Dart 2012-04-09 14:41:01 -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
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
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
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
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
David Rankin
8b3e1ce86d Added example Powershell files to the test fixtures folder 2012-02-15 19:44:14 +00:00
Joshua Peek
cb80982432 Revert "Merge pull request #107 from thorade/detect-modelica-language"
This reverts commit c1fc063974, reversing
changes made to c89339e036.

Conflicts:

        lib/linguist/languages.yml

Fixes #119
2012-02-15 10:11:09 -06:00
Sylvestre Ledru
5b5ae20c5e Added detection for Scilab language 2012-02-08 15:25:30 +01:00
Joshua Peek
c1fc063974 Merge pull request #107 from thorade/detect-modelica-language
Added detection for Modelica language
2012-02-03 10:09:37 -08:00
Alok Menghrajani
73efe37568 Fix test fixtures for opa and add some comments. 2012-02-01 18:03:06 -08:00
Alok Menghrajani
a096e3df66 Add detection for opa (http://www.opalang.org/). 2012-01-30 17:42:09 -08:00
thorade
ce5402dd55 Added detection for Modelica language 2012-01-25 13:31:52 +01:00
Joshua Peek
7974d23444 Detect CoffeeScript with generated comment 2012-01-16 16:57:30 -06:00
Aman Gupta
d2118d1471 only check for shebangs in executable files 2011-11-23 01:37:01 -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
5a584c095b Fix Haml and Sass grouping and highlighting 2011-09-16 13:54:10 -05:00
Joshua Peek
f9df8685b4 Add more test fixture files 2011-09-06 15:39:22 -05:00
Joshua Peek
562d110050 Fill in some missing fixtures 2011-08-30 17:11:56 -05:00
Jeff Beck
5c93120502 Fix for Ruby 1.8.7
Added a test to catch the case better
2011-08-29 12:21:46 -05:00