Commit Graph

55 Commits

Author SHA1 Message Date
Abe Voelker
22db59d8c0 Improve .cls language detection 2012-03-21 11:21:55 -05: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
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
Jeff Beck
3dd06de711 Adding support to detect the difference between a Grails gsp and a Gosu gsp. 2011-08-29 11:31:39 -05:00
Gus Prevas
aaa14cfca6 add detection for Gosu 2011-08-04 20:50:29 -04:00
Paul Betts
0f1c9c48fa Suppress .NET XML Intellisense generated files 2011-08-03 12:09:36 -07:00
Jonathan "Duke" Leto
a4eb4738d7 Detect Parrot assembly and bytecode individually, and add some tests 2011-07-28 11:24:30 -07:00
Justin Marsh (:flaviusb)
836464542c Added detection for the Ioke language. 2011-07-29 01:28:48 +12:00
Lindsey Kuper
f2debbc687 First stab at adding support for Rust. 2011-07-15 08:55:15 -07:00
Alex Zimin
41dc2d027a Fixed typo on hello.n sample. 2011-07-08 12:08:32 +08:00
Alex Zimin
1af6112471 Detect Nemerle language 2011-07-08 12:03:11 +08:00
Joshua Peek
96a14e795b Merge branch 'detect-prolog' of https://github.com/tautologico/linguist into tautologico-detect-prolog
Conflicts:
	lib/linguist/blob_helper.rb
	test/test_blob.rb
2011-07-05 16:06:22 -05:00
Andrei Formiga
f4cfde45bd Included test files for .pl disambiguation 2011-07-05 18:01:44 -03:00
Rok Žlender
111ebe3c80 Identify php files by first line
Fixes #32
2011-07-05 09:43:48 -05:00
bilderbuchi
cc3692b320 Add simple test fixtures for Matlab. 2011-07-05 22:14:37 +08:00
Joshua Peek
aeef1d8f33 JS is minified if its average line length is greater than 100c
Fixes #27
2011-07-02 20:28:42 -05:00
Andreas Bolka
2707d1db67 Guess if .r is R or REBOL
.r is the default extension used widely for both, R and REBOL. This
patch attempts to guess if .r is a REBOL file by looking for the
following very common REBOL code fragments:

- `REBOL`
- `: func [`
- `make object! [`
- `context [`

If any of those is found in a .r file, it is identified as a REBOL file.
Otherwise the language for a .r file is R.

Signed-off-by: Andreas Bolka <a@bolka.at>
2011-06-29 01:42:50 +02:00
Joshua Peek
58e99aa5aa Test blank file 2011-06-28 09:26:35 -05:00
Joshua Peek
ebba204ba3 Check for multiline shebang script hacks
Fixes #8
2011-06-27 17:35:48 -05:00
Joshua Peek
1fc07145b8 Lower generated line limit to 500c 2011-06-08 10:52:42 -05:00
Joshua Peek
0d53e863df Remove blob fixture namespace 2011-06-07 10:32:23 -05:00
Joshua Peek
34a7889370 Illustrator files should be binary 2011-06-06 10:51:32 -05:00
Joshua Peek
60f958e733 Touch foo fixture 2011-06-02 12:42:38 -05:00
Joshua Peek
fb033b219c Touch defunkt fixture 2011-06-02 12:30:54 -05:00
Joshua Peek
beee499fdc Test nu shell 2011-06-01 22:42:17 -05:00
Joshua Peek
48250bf09c Test gas file 2011-06-01 11:35:16 -05:00
Joshua Peek
61bdd3deaf Guess .h language 2011-05-27 14:57:11 -05:00
Joshua Peek
817a234ab7 Reorder indexable checks to defer calling size 2011-05-27 14:28:37 -05:00