Commit Graph

80 Commits

Author SHA1 Message Date
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
Joshua Peek
972632b9db CoffeeScript JS guessing 2011-05-25 11:25:11 -05:00
Joshua Peek
d889887440 Detect minified JS 2011-05-24 14:16:05 -05:00
Joshua Peek
a69118bd17 Prefer extension over shebang 2011-05-21 17:41:43 -05:00
Joshua Peek
5edd3a02be Detect language from shebang script 2011-05-13 16:18:30 -05:00
Joshua Peek
0009cbab89 Basic blob tests 2011-05-13 12:43:16 -05:00