Commit Graph

1294 Commits

Author SHA1 Message Date
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 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
Joshua Peek 49c15bde94 Merge pull request #93 from stof/patch-1
Added the XLIFF extensions as XML
2011-12-07 14:07:09 -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
Paul Betts 1c0b782606 Merge pull request #92 from sunaku/patch-1
languages.yml: support GNUmakefile and makefile
2011-11-23 00:15:31 -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
Joshua Peek e445438333 Merge pull request #91 from gsmcwhirter/detect-sage
Adding support for .sage file syntax highlighting
2011-11-22 10:15:16 -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 df1b8e3d7f Merge branch 'Open-Turing-Project-detect-turing-language' 2011-11-21 10:43:18 -06: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
Joshua Peek 65867bed18 Merge pull request #89 from FredrikL/detect-arduino
Detect Arduino 1.0
2011-11-17 09:46:49 -08: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
Joshua Peek 2e653dda2f before_install for like the 3rd time 2011-11-09 12:25:35 -06:00
Joshua Peek 14dfe6e232 Move before_script up 2011-11-09 12:23:27 -06:00
Joshua Peek 10345a2414 before_script 2011-11-09 12:20:19 -06:00
Joshua Peek 2cbb8bc373 try without quotes 2011-11-09 12:18:12 -06:00
Joshua Peek 9a2dc66068 Kill whitespace 2011-11-09 12:03:43 -06:00
Joshua Peek 1276b2ee15 yes to all 2011-11-09 12:02:13 -06:00
Joshua Peek 479c366860 before_install 2011-11-09 12:01:12 -06:00
Joshua Peek 21e0f86b68 one line 2011-11-09 11:59:54 -06:00
Joshua Peek e83033e9cf sudo 2011-11-09 11:56:28 -06:00
Joshua Peek 5603b60c75 Merge pull request #88 from alloy/detect-CocoaPods-documents
Detect CocoaPods documents
2011-11-09 07:26:49 -08:00
Eloy Duran d70e8272d8 Add note to README about errors when the CharlockHolmes gem isn't installed correctly. 2011-11-09 12:56:19 +01: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
Joshua Peek 665da85bf1 Merge pull request #87 from secondplanet/patch-3
More FORTRAN file extensions
2011-11-06 11:38:02 -08:00
Joshua Peek 4bb8143314 Merge pull request #86 from secondplanet/patch-2
Add missing alias tests
2011-11-06 11:37:48 -08:00
Humza 2244025b71 More FORTRAN file extensions 2011-11-06 14:25:44 -05:00
Humza c73689ee0c Add missing alias tests 2011-11-06 14:18:30 -05:00
Joshua Peek 6df265e04a Merge pull request #85 from secondplanet/patch-1
Add 'emacs' alias for Emacs Lisp
2011-10-30 10:00:07 -07: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
Joshua Peek ce3a3a024d Merge pull request #84 from kepstin/master
Highlight ".vapi" files as Vala
2011-10-25 10:04:51 -07: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
Joshua Peek 23ced26140 Merge pull request #83 from zmanji/patch-1
Set filenames `vimrc` and `gvimrc` to be VimL.
2011-10-24 07:03:12 -07:00
Zameer Manji 936e49f50f Set filenames vimrc and gvimrc to be VimL. 2011-10-22 21:21:15 -03:00