Victor Zverovich
13eb7c796e
Remove .dat, .mod and .run AMPL extensions as they are ambiguous
...
As discussed in #2073 adding these extensions will require more work
to avoid incorrect language detection.
2015-02-25 12:59:23 -08:00
Victor Zverovich
407dbbb7fb
Mark AMPL with tm_scope: none because it doesn't have grammar info
2015-02-25 12:54:31 -08:00
Victor Zverovich
0bccf97d16
Add support for the AMPL modeling and script language
2015-02-25 12:54:31 -08:00
Lars Brinkhoff
2b25bb6d1c
Add MUF language - Multi-user Forth.
2015-02-25 19:29:57 +01:00
Lars Brinkhoff
e791a71566
Add DTrace and Makefile dependency includes.
...
Sample file mpq.d by Georg Lukas; license GPL 2.
Sample file counts.d by Kate Turner; public domain.
Sample file javascript-race.d by unknown; license MPL 1.1/GPL 2.0/LGPL 2.1.
Sample file probes.d by momjian; license TBD.
2015-02-25 19:29:56 +01:00
Brandon Wamboldt
71e0e2bc8e
Use actual VCL syntax highlighting
2015-02-24 17:54:23 -08:00
Charlie Somerville
fd7633518f
add instrumentation to detection and classification
2015-02-25 12:34:07 +11:00
Garen Torikian
04252c28f2
Merge pull request #2153 from github/enforce-type
...
Test that languages have a type
2015-02-24 13:34:22 -08:00
Arfon Smith
94be1ab277
documentation? should use path too
2015-02-24 15:20:58 -06:00
Arfon Smith
8561f2a6b0
Merge branch 'master' into revert-2014-revert-1976-path-for-fileblob
...
Conflicts:
lib/linguist/version.rb
2015-02-24 14:54:14 -06:00
Arfon Smith
2bd050657d
Merge pull request #2151 from soonhokong/master
...
add support for Lean Theorem Prover
2015-02-24 14:34:59 -06:00
Arfon Smith
c7d8f39ad8
Merge pull request #2158 from github/overrides-should-support-aliases-too
...
Finding by alias too.
2015-02-24 14:32:21 -06:00
Arfon Smith
ad4b5bdc16
Merge pull request #2157 from hoosierEE/master
...
Add a color code for J language to languages.yml.
2015-02-24 14:31:53 -06:00
Arfon Smith
ef5eff45aa
Merge pull request #2152 from pchaigno/generated-go
...
Detect Go files generated by Protocol Buffers
2015-02-24 14:30:37 -06:00
Arfon Smith
29192e8d5f
Finding by alias too.
2015-02-24 14:10:41 -06:00
Soonho Kong
c2e894c48c
add ace-mode support for Lean
2015-02-24 14:45:15 -05:00
Alex Shroyer
2cc6e5bfe6
Update languages.yml
...
Add a color for J language. This color is the average of the colors of the [J wiki icon](http://www.jsoftware.com/jwiki/moin_static194/common/jwlogo.png ).
2015-02-24 10:58:33 -05:00
Soonho Kong
2d15ea54cb
add support for Lean Theorem Prover
2015-02-23 11:32:22 -05:00
Paul Chaignon
e592381a54
Support for .pro INI files (KiCad project files)
...
Update the heuristic for .pro to include both INI and QMake files
Fixes #2116
2015-02-22 19:33:06 +01:00
Garen Torikian
507d191d7d
Add missing types
2015-02-22 10:27:24 -08:00
Paul Chaignon
2ca5868610
Detect Go files generated by Protocol Buffers
2015-02-22 10:50:47 +01:00
Paul Chaignon
53d020f7b0
tcc interpreter for C
2015-02-21 17:10:43 +01:00
Adam Roben
7bbb3da010
Bump version to 4.4.2
2015-02-20 15:00:42 -05:00
Adam Roben
80f72a5093
Classify the .google_apis/ directory as vendored
...
This is used in Android projects that use certain Google SDKs to store
the SDKs locally.
2015-02-20 10:36:47 -05:00
Adam Roben
df552c241e
Classify XML as a data language
...
While XML is technically a markup language, in the majority of cases it
is just a serialization format for a tool (e.g., project files for IDEs)
rather than hand-authored markup. As such it isn't really useful to
include it in repository language statistics. A C# project doesn't
really care whether Visual Studio uses XML, JSON, or some other format
to serialize its project files, for example.
2015-02-20 10:30:44 -05:00
Adam Roben
9e020dd15d
Classify "documentation/" directories (lowercase) as documentation
...
This is used in repositories like jashkenas/coffeescript.
2015-02-20 10:24:59 -05:00
Adam Roben
c7c0c30ecf
Classify javadoc/ directories as documentation
2015-02-20 10:24:38 -05:00
Adam Roben
60deead669
Add a couple more documentation patterns
...
These are used in repositories like jashkenas/coffeescript and
tj/git-extras.
2015-02-20 09:53:07 -05:00
Adam Roben
12c22d0311
Bump version to 4.4.1
2015-02-19 16:56:20 -05:00
Brandon Keepers
6c41bfa44d
Merge pull request #2118 from xbony2/patch-1
...
Made assembly color more noticeable
2015-02-18 11:51:57 +13:00
Brandon Keepers
d54bcc85e7
Merge pull request #2119 from pchaigno/new-grammars
...
Grammars for 4 languages
2015-02-18 11:39:13 +13:00
Brahn Partridge
b609f24bbc
added ace_mode
2015-02-17 13:09:00 +01:00
Brahn Partridge
83b03df98b
Merge branch 'master' of https://github.com/github/linguist
...
Conflicts:
grammars.yml
2015-02-17 12:56:19 +01:00
Arfon Smith
7fd720bf39
Merge branch 'master' into ascii
2015-02-16 11:18:31 -08:00
Arfon Smith
e10558e444
Fall back to classifier
2015-02-16 11:14:40 -08:00
Paul Chaignon
651d863069
Grammar for PigLatin from Sublime Text package
2015-02-15 17:45:25 +01:00
Paul Chaignon
a3c595a4a9
Grammar for AsciiDoc from TextMate bundle
2015-02-15 17:30:19 +01:00
Paul Chaignon
7660714a9e
Stylus grammar from Sublime Text package
2015-02-15 17:24:56 +01:00
Paul Chaignon
71002dfb65
Grammar for BrightScript from TextMate bundle
2015-02-15 17:16:10 +01:00
xbony2
013cfdcdaf
Made assembly color more noticeable
2015-02-15 11:12:40 -05:00
Adam Roben
5ad6add91e
Bump version to 4.4.0
2015-02-13 16:44:10 -05:00
Adam Roben
2f5b49f4ae
Merge pull request #2097 from github/detect-all-markup
...
Detect all markup languages when computing language statistics
2015-02-13 16:43:41 -05:00
Adam Roben
353479fe72
Add a color for HTML
...
Courtesy of @fabianperez and the HTML5 logo.
2015-02-13 16:20:14 -05:00
Adam Roben
8d2dd55c94
Categorize INSTALL files as documentation too
2015-02-13 14:30:44 -05:00
Adam Roben
6a86e8ea97
Add BlobHelper#include_in_language_stats?
...
This just extracts some logic from Repository#compute_stats and makes it
testable.
2015-02-13 14:27:20 -05:00
Adam Roben
a817d95d6c
Fix CSS/SVG grammar names
2015-02-13 11:57:21 -05:00
Adam Roben
066052ddd2
Exclude documentation files from language statistics
...
Documentation is an important part of a software project but is not
generally thought of as part of the code for that project. Repository
language statistics are used to quantify the project's code, so it makes
sense to exclude documentation from those computations.
Documentation files are recognized similarly to vendored files.
lib/linguist/documentation.yml contains regular expressions to match
common names for documentation files. A new linguist-documentation Git
attribute can be used to override those conventions.
2015-02-12 10:20:47 -05:00
Lars Brinkhoff
d673010420
Add .nasm extension for Assembly files.
...
Sample file by Chris Hinsley.
2015-02-12 08:24:44 +01:00
Arfon Smith
fffd1b986d
Merge pull request #2085 from github/shebang-first
...
Shebang first
2015-02-11 16:00:25 -06:00
Adam Roben
e0c1107a25
Classify SVG files as data
...
This keeps SVG files (which are really just images, even though they
happen to be represented as text) out of repository language statistics.
2015-02-10 15:36:08 -05:00