Commit Graph

358 Commits

Author SHA1 Message Date
Rob Newman
c112bce09c Added detection for Python xpy files 2012-02-03 09:46:05 -08: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
Calvin Walton
64a0193a3c Highlight ".vapi" files as Vala
.vapi files are vala interface definitions for external C libraries,
and use the same syntax as regular .vala files. Support highlighting them
as well.
2011-10-25 13:57:16 -03:00
Zameer Manji
936e49f50f Set filenames vimrc and gvimrc to be VimL. 2011-10-22 21:21:15 -03:00
Joshua Peek
ed5ddf720f Sort Tex extensions 2011-10-14 10:04:30 -05:00
maieul
cad9fbcdaa and ins too 2011-10-14 16:54:03 +02:00
maieul
c1f6f329cf .dtx files are also in tex language 2011-10-14 16:51:11 +02: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
Tom MacWright
873bc02ed3 Add bones suffix to JavaScript 2011-10-06 10:47:13 -04:00
Joshua Peek
6a2d84d422 Don't send blank attachment filename 2011-09-28 10:48:55 -05:00
Joshua Peek
6e03f954bc Large blobs should be binary 2011-09-28 10:14:46 -05:00
Joshua Peek
caa39a2bcf Use Charlock all the time for binary detection 2011-09-28 09:57:33 -05:00
Joshua Peek
615908ca85 Merge pull request #77 from robsimmons/master
Standard ML is actually a programming language... and it has a specific lexer now.
2011-09-27 08:19:13 -07:00
Joshua Peek
84df2aaa0a Encoding could still be nil 2011-09-27 10:18:44 -05:00
Joshua Peek
c6896d6338 Enable Verilog lexer 2011-09-26 11:31:24 -05:00