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
Adam Roben
4e4a18c71a
Classify CSS as a markup language
...
It was the only language in Language.detectable_markup that wasn't
actually classified as "markup".
2015-02-10 14:08:58 -05:00
Lars Brinkhoff
9a2f2c1fb2
Tweak heuristic for free-form Fortran.
2015-02-10 20:06:00 +01:00
Adam Roben
b2ee2cc7b8
Detect all markup languages when computing language statistics
...
Originally, only "programming" languages were included in repository
language statistics. In 33ebee0f6a we
started detecting a few selected "markup" languages as well. We didn't
include all "markup" languages because at the time formats like Markdown
and AsciiDoc were labeled as "markup" languages, and we thought that
including those prose (i.e., non-code) languages in repository
statistics on github.com was misleading for repositories that are
largely about code but also contain a lot of documentation (e.g.,
rails/rails).
This hand-picked set of whitelisted "markup" languages can cause strange
categorization for some repositories. For example, it includes CSS (and
some variants) but not HTML. This results in repositories that contain
the source code for a static website being classified as either a
JavaScript (programming) or CSS (markup) repository, with no mention of
HTML anywhere.
Fast-forward to today, and prose languages are no longer "markup"
languages; they're now "prose" languages. So now we can include all
"markup" languages in repository language statistics without worrying
about undesirable effects for documentation-heavy repositories.
2015-02-10 13:39:42 -05:00
Paul Chaignon
665f9ee5b5
Merge branch 'master' into new-grammars
2015-02-09 23:19:37 +01:00
Brandon Keepers
bdc724d548
Detect "use 5.xxx" as Perl
2015-02-09 10:19:36 -05:00
David Pyke Le Brun
5e9bb67d10
temporary add grammer to whitelist until license gets added
2015-02-09 14:27:14 +00:00
David Pyke Le Brun
e969172543
recode heuristic to use existing style. add additional sample
2015-02-09 14:16:25 +00:00
David Pyke Le Brun
f570260dfe
Merge remote-tracking branch 'upstream/master' into plsql
...
Conflicts:
.gitmodules
2015-02-09 12:04:21 +00:00
David Pyke Le Brun
7ecf65551e
re-add oracle grammer module using https
2015-02-09 11:58:50 +00:00
Paul Chaignon
0019abe5e7
Opal grammar from Sublime Text package
2015-02-08 11:45:54 +01:00
Paul Chaignon
30d2883436
Grammar for PogoScript from TextMate bundle
2015-02-08 11:44:11 +01:00
Paul Chaignon
cc5881dca2
Grammar for Propeller Spin from Sublime Text package
2015-02-08 11:20:40 +01:00
Paul Chaignon
d17f5dfd9e
Papyrus grammar from Sublime Text package
2015-02-08 11:14:18 +01:00
Paul Chaignon
4c037c644f
Grammar for GAP from TextMate bundle
2015-02-08 10:43:45 +01:00
Paul Chaignon
a08f0da30d
Grammar for Mediawiki from TextMate bundle
2015-02-07 19:58:49 +01:00
Arfon Smith
654cfd7a47
Merge pull request #2078 from pchaigno/innosetup-grammar
...
Grammar for Inno Setup
2015-02-07 10:46:11 -06:00
Arfon Smith
4543c7a0b3
Use the shebang strategy first
2015-02-07 08:47:17 -06:00
Paul Chaignon
41e1b7bd4e
Detection by extension made case-insensitive
2015-02-06 22:14:22 +01:00
Arfon Smith
201b0ba53c
Making modelines case-insensitive
2015-02-06 08:41:37 -06:00
David Pyke Le Brun
3e54d6651c
update of old PL/SQL PLpgSQL and SQLPL patch based on current version
...
see [linguist] add support for oracle PLSQL (#1003 )
2015-02-06 13:36:40 +00:00
Park Hyunwoo
6ca149de1d
Missing whitespace
2015-02-05 10:27:14 +09:00
Paul Chaignon
2e76ce740e
Grammar for Inno Setup from Sublime Text package
2015-02-04 21:28:36 +01:00
Arfon Smith
d49701f470
Merge pull request #2071 from pchaigno/new-grammars
...
Grammars for 6 languages
2015-02-04 14:14:54 -06:00
Arfon Smith
b8f3078966
Bumping version to v4.3.1
2015-02-04 08:31:36 -06:00
Lars Brinkhoff
2077fa3837
'Text' doesn't qualify as a valid modeline language.
2015-02-04 08:20:19 +01:00
Edmundo Ruiz
eaa03e15ed
Improved Heuristics for .asc files.
2015-02-03 21:09:32 -08:00
Lars Brinkhoff
3a1b17f1f9
Add .4TH Forth extension.
2015-02-03 13:04:06 +01:00
Paul Chaignon
9fe9bf617f
Grammar for eC from TextMate bundle
2015-02-03 12:52:35 +01:00
Edmundo Ruiz
9fa7adaa61
#1638 New heuristics to distinguish between AsciiDoc, AGS Script, and Public Key.
2015-02-03 00:43:53 -08:00
Paul Chaignon
8f70604466
Grammar for Ox from Sublime Text package
2015-02-02 21:50:49 +01:00
Paul Chaignon
2044e191a2
Grammar for Grace from TextMate bundle
2015-02-02 21:48:27 +01:00
Paul Chaignon
8fe9ec0521
Grammar for G-Code from Sublime Text package
2015-02-02 21:37:24 +01:00
Paul Chaignon
034e510ba5
Grammar for TXL from Sublime Text package
2015-02-02 21:24:22 +01:00
Paul Chaignon
36a0d760e9
Grammar for J from Sublime Text package
2015-02-01 21:52:24 +01:00
Paul Chaignon
6e9dc2339d
Grammar for Golo from Sublime Text package
2015-02-01 21:41:22 +01:00
Paul Chaignon
3864e712ef
Grammar for GDScript from Sublime Text package
2015-02-01 21:37:07 +01:00
Paul Chaignon
8376f1e4a4
Grammar for Creole from Sublime Text package
2015-02-01 21:34:10 +01:00
Paul Chaignon
1b0fd752d3
Grammar for CLIPS from Sublime Text package
2015-02-01 21:29:03 +01:00