Joshua Peek
395a88aa97
Remove VS project file supression
2011-12-23 10:17:49 -06:00
Tim Clem
70bc20ce12
Detect jquery-x.x for exclusion
2011-12-09 11:30:31 -08:00
Tim Clem
08620f4293
Get rid of the extra whitespace
2011-12-07 14:13:26 -08:00
Tim Clem
1acfe23347
Add jQuery validation plugin to the exclusions
2011-12-07 14:08:59 -08:00
Tim Clem
446f53be70
Improve language stats for .net projects
...
This excludes some common js used in many .net project so that they
don't show up in language stats. Things exlude now include:
- Visual Studio intellisense js files
- Microsoft's Ajax and Validation js
- Anything in the NuGet packages directory
2011-12-07 13:57:50 -08:00
Aman Gupta
61a59c8e84
avoid load_blob and shebang check on files with extensions
...
previously, any file with an unrecognized file extension was loaded to
check for a shebang. now, this only occurs if the file has a generic
name with no file extension (like ./script)
it is possible this will no longer match certain scripts with esoteric
extensions (if we find these we can add them to the shebang_extname?
method). however, most common script extensions (.sh, .rb, .pl, etc)
will continue to work since the file extension takes precedence over the
shebang line.
2011-11-23 00:54:40 -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
e562369110
Skip colorizing minified js
2011-10-10 11:29:58 -05:00
Joshua Peek
8c135a9eff
Serve actual content-type, not simplified
2011-10-06 18:04:29 -04:00
Joshua Peek
6e03f954bc
Large blobs should be binary
2011-09-28 10:14:46 -05:00
Joshua Peek
0175681a4a
Fix bad fixture
2011-09-27 10:16:41 -05:00
Michael Maclean
29c413366e
Add test for WAF to test_vendored
2011-09-21 17:07:47 +02:00
Joshua Peek
5a584c095b
Fix Haml and Sass grouping and highlighting
2011-09-16 13:54:10 -05:00
Joshua Peek
7ed26bfcf3
Use charlock to detect binary blobs
2011-09-06 19:58:29 -05:00
Joshua Peek
1863b53e5c
Merge branch 'master' of github.com:github/linguist
2011-09-06 15:39:35 -05:00
Joshua Peek
f9df8685b4
Add more test fixture files
2011-09-06 15:39:22 -05:00
Anthony
37560f4f60
Add test for the AutoHotkey language.
2011-09-01 16:38:17 -03:00
Joshua Peek
350465d84d
Fix groovy regexp warning
2011-08-30 14:29:18 -05:00
Joshua Peek
a733ba819e
Merge pull request #68 from github/pygments.rb
...
Replace Lexer with Pygments::Lexer
2011-08-30 11:57:31 -07: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
Joshua Peek
0864b9847f
Replace Lexer with Pygments::Lexer
2011-08-23 12:41:06 -05:00
Joshua Peek
bb11317546
Switch to Pygments.rb
2011-08-22 10:55:39 -05:00
Joshua Peek
7280dec280
Ensure pbc is treated as binary
2011-08-10 22:37:41 -07: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
03b948a182
Remove parrot bytecode as a separate language, as well as deprecated/redundant keys in languages.yml and put PIR+PASM in the Parrot group
2011-07-28 16:41:41 -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
Joris den Ouden
d0824ee3b2
Detect Visual Studio project files, solution files and resource files as generated
2011-07-26 20:00:35 +02:00
Lindsey Kuper
f2debbc687
First stab at adding support for Rust.
2011-07-15 08:55:15 -07:00
Alex Zimin
67a2c47783
fix broken indent
2011-07-09 00:31:28 +08:00
Alex Zimin
8d5232be6b
Merge remote-tracking branch 'forkorigin/master' into detect-nemerle-language
...
Conflicts:
lib/linguist/mimes.yml
test/test_blob.rb
2011-07-09 00:16:19 +08:00
Alex Zimin
1af6112471
Detect Nemerle language
2011-07-08 12:03:11 +08:00
Joshua Peek
d886722de5
Ensure scheme extensions are treated as plain text
2011-07-07 10:47:58 -05:00
Vladimir Panteleev
841cb9a28f
Add test for .dpr / Delphi
2011-07-06 06:45:05 -07:00
softprops
29dc47dfb7
Merge branch 'master' of git://github.com/github/linguist into detect-sbt-as-scala-lang
2011-07-05 22:21:29 -04:00
softprops
3e93fe091f
sbt build files
2011-07-05 22:18:16 -04: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
b3e7065972
Added detection for Prolog and disambiguation for .pl files
2011-07-05 17:33:28 -03:00
Joshua Peek
aaed4ee1d4
Uncomment test
2011-07-05 09:45:20 -05:00
Rok Žlender
111ebe3c80
Identify php files by first line
...
Fixes #32
2011-07-05 09:43:48 -05:00
Joshua Peek
5ecc4421d7
Basic Matlab detection
...
Fixes #15
2011-07-05 09:34:33 -05: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
c504c4f55a
Add test for Scribble
2011-06-27 14:55:15 -05:00
Joshua Peek
ddb629b63a
Highlight .gradle files as Groovy
2011-06-25 13:50:41 -05:00