Commit Graph

2972 Commits

Author SHA1 Message Date
Justin Palmer
8aad73f085 Assume code in any vendor directory should be ignored 2012-02-13 11:01:31 -08:00
leaf corcoran
8d0276d3c4 added detection for MoonScript language 2012-02-08 21:30:19 -08:00
eeue56
fe3e673a50 Added NetLogo support 2012-02-08 15:34:58 +00:00
Sylvestre Ledru
5b5ae20c5e Added detection for Scilab language 2012-02-08 15:25:30 +01:00
Joshua Peek
4ad921f176 Whitespace 2012-02-03 12:14:09 -06: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
Joshua Peek
c89339e036 No highlighting for Opa 2012-02-03 12:05:53 -06:00
Joshua Peek
9029673ea4 Merge pull request #109 from alokmenghrajani/detect-opa-language
Add detection for opa (http://www.opalang.org/).
2012-02-03 10:03:07 -08:00
Joshua Peek
f4b1109f19 Merge pull request #104 from earwig/mako-file-extension
Add .mako file extension for Mako
2012-02-03 10:02:29 -08:00
Joshua Peek
2aafd356b1 Merge pull request #108 from utkarshkukreti/bug/remove-rc-extension-from-rust-language
Remove rc extension from Rust language.
2012-02-03 10:02:00 -08:00
Rob Newman
c112bce09c Added detection for Python xpy files 2012-02-03 09:46:05 -08:00
Alok Menghrajani
a096e3df66 Add detection for opa (http://www.opalang.org/). 2012-01-30 17:42:09 -08:00
Utkarsh Kukreti
0e8f8e19e2 Remove rc extension from Rust language. 2012-01-25 20:46:35 +05:30
thorade
ce5402dd55 Added detection for Modelica language 2012-01-25 13:31:52 +01:00
Ben Kurtovic
c72013cb3c Add .mako file extension for Mako 2012-01-21 23:23:33 -05:00
Joshua Peek
7974d23444 Detect CoffeeScript with generated comment 2012-01-16 16:57:30 -06:00
Timur Batyrshin
7b3750bcc5 Added detection for Puppet manifests (http://docs.puppetlabs.com/) 2012-01-16 15:47:11 +04:00
dom96
97ca9090b8 Added .nimrod extension and type for the Nimrod programming language. 2011-12-27 17:06:23 +00:00
Humza
9a4ad1af48 Add osascript alias for Applescript 2011-12-27 10:08:56 -05:00
Joshua Peek
395a88aa97 Remove VS project file supression 2011-12-23 10:17:49 -06:00
Peter Lane
4edabb3b9e Added detection for the Fantom language 2011-12-16 23:36:04 +00:00
Sam Bisbee
a523400e20 Adding .plx to Perl - is used for Perl executables. 2011-12-15 13:57:08 -05:00
Joshua Peek
64cf369017 Sort 2011-12-15 10:01:07 -06:00
Corey Farwell
68a5753619 Added non-hidden shell run commands as filenames 2011-12-14 21:30:26 -08:00
Artur Dryomov
8261405b41 Highlight ".mk" files as Makefiles. 2011-12-14 19:35:45 +03:00
Tim Clem
70bc20ce12 Detect jquery-x.x for exclusion 2011-12-09 11:30:31 -08:00
Joshua Peek
9ffdec8a24 Merge pull request #94 from github/enhance-for-dotnet
Enhance exclusion list for .NET
2011-12-07 14:13:40 -08:00
Tim Clem
1acfe23347 Add jQuery validation plugin to the exclusions 2011-12-07 14:08:59 -08:00
Christophe Coevoet
d327e47929 Added the XLIFF extensions as XML 2011-12-07 23:03:30 +01: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
67fd84b36c Merge branch 'prevent-blob-loads' 2011-11-23 17:26:26 -08:00
Aman Gupta
0180a1ee2f skip vendored MathJax files 2011-11-23 12:35:09 -08:00
Aman Gupta
7cdee48bab handle missing blob mode 2011-11-23 03:00:18 -08:00
Aman Gupta
d2118d1471 only check for shebangs in executable files 2011-11-23 01:37:01 -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
Aman Gupta
9994ac3a0c only load blobs to check for <?php header for specific drupal file extensions 2011-11-23 00:50:44 -08:00
Aman Gupta
21488c84c3 delay calls to binary? in guess_language until viewable?, to avoid loading blobs for well known file extensions 2011-11-23 00:49:59 -08:00
Aman Gupta
bb4840ca3e viewable? should not load or binary check large blobs 2011-11-23 00:49:11 -08:00
Aman Gupta
4b9a1c297b bail fast on file extensions we recognize as binary 2011-11-23 00:32:14 -08:00
Suraj N. Kurapati
83423f3aaf languages.yml: support GNUmakefile and makefile
GNU make manpage says: "If  no  -f  option  is present,  make will look
for the makefiles GNUmakefile, makefile, and Makefile, in that order."
2011-11-22 23:50:45 -08:00
Gregory McWhirter
5e2b586914 Adding support for .sage file syntax highlighting (http://sagemath.org) 2011-11-22 10:08:19 -08:00
Joshua Peek
e4fe1d17e7 Add tests for Perl and Turning detection 2011-11-21 10:42:39 -06:00
Joshua Peek
0b5a265644 Cleanup whitespace 2011-11-21 10:20:19 -06:00
Joshua Peek
5e75de1992 Merge branch 'detect-turing-language' of https://github.com/Open-Turing-Project/linguist into Open-Turing-Project-detect-turing-language 2011-11-21 10:17:39 -06:00
Fredrik Leijon
1182d9d328 Detect Arduino 1.0
Arudino fixture for tests
2011-11-17 18:28:18 +01:00
Tristan Hume
5d4057324f Added Turing language detection 2011-11-16 18:55:55 -05:00
Eloy Duran
a576b8d3c8 Recognize CocoaPods documents as Ruby source files.
Examples:
* https://github.com/alloy/cocoapods/blob/master/examples/MacRubySample/Podfile
* https://github.com/alloy/cocoapods-specs/blob/master/SSToolkit/0.1.2/SSToolkit.podspec

Also sorted filenames in languages.yml.
2011-11-09 12:55:15 +01:00
Joshua Peek
4b8c1fb390 Sort extensions 2011-11-07 10:21:52 -06:00
Humza
2244025b71 More FORTRAN file extensions 2011-11-06 14:25:44 -05:00
Humza
1892a8261d Add 'emacs' alias for Emacs Lisp
Lets you use '#!/usr/bin/env emacs --script' shebang line.
2011-10-30 10:53:20 -03:00