John Gardner
99ad2368b0
Add ISC to license whitelist
...
Add ISC to license whitelist
2016-03-31 09:19:30 -07:00
John Gardner
24b368a30c
Add ".es" to recognised ECMAScript extensions
...
* Add ".es" to recognised JavaScript extensions
* Add heuristic to differentiate Erlang from ECMAScript
* Add test-case for .es heuristic
2016-03-29 13:36:13 -06:00
James Ko
c7868a95bc
Merge pull request #2902 from jamesqo/patch-2
...
Add App.config + NuGet.config to the XML file list
2016-03-23 20:11:36 -06:00
Paul Chaignon
270fa8f5d3
Merge pull request #2894 from pchaigno/fix-warnings
...
Fix warnings
2016-03-19 20:42:32 -06:00
Arfon Smith
1a11664239
Adding sublimeassembly to license whitelist.
2016-03-18 20:24:06 -06:00
Arfon Smith
5b9ea4a78f
Updating grammar checks to ensure license compliance
2016-03-18 16:47:34 -06:00
Arfon Smith
b72c4d4400
Fix Ruby deprecation warning
2016-03-18 16:47:09 -06:00
Arfon Smith
92904efd45
Fixing Ruby warning
2016-03-18 16:19:35 -06:00
Arfon Smith
1efd4c83f9
Merge pull request #2341 from github/api-changes
...
Move Linguist::Language.detect to Linguist.detect
2016-03-16 21:15:50 -06:00
Paul Chaignon
faec60188f
Tests for .sql heuristic rules
2016-03-12 11:04:53 +01:00
Lars Brinkhoff
6f8a7d1070
Exclude 'filenames' from all_fixtures.
2016-03-09 13:28:00 +01:00
Jesse Glick
ca4ea03828
Recognizing Jenkinsfile as Groovy source.
2016-03-03 19:15:09 -05:00
Arfon Smith
57f5a3e780
Merge pull request #2831 from FarbodSalamat-Zadeh/patch-1
...
Add CSV as data type to languages.yml
2016-02-27 15:54:44 -07:00
Farbod Salamat-Zadeh
3be007526c
Fix fixture_blob("Data/cars.csv")
...
Changes `fixture_blob("Data/cars.csv")` to `sample_blob("CSV/cars.csv")`
2016-02-27 15:30:22 +00:00
Farbod Salamat-Zadeh
9bfbd0550c
Move cars.csv from test/fixtures/Data to samples/CSV
2016-02-27 14:32:50 +00:00
Abigail
721e5b4656
Add detection of GrammarKit-generated files
...
GrammarKit is a plugin by JetBrains for creating custom language plugins
for JetBrains IDEs (such as IntelliJ, RubyMine, CLion and more). It
defines a BNF parser language which can be used to generate a parser in
Java, and it also integrates JFLex for generating a lexer in Java.
Both of these generated Java files can be recognised by a comment on the
first line of the file, and so classifying them as generated is trivial.
2016-01-28 11:47:33 +00:00
Arfon Smith
c066867d59
Merge pull request #2812 from chrisarcand/improved-vim-modeline-detection
...
Improved vim modeline detection
2016-01-21 20:12:26 -05:00
Arfon Smith
94de431aa5
Merge pull request #2811 from pchaigno/pod-heuristic
...
Heuristic for Pod vs. Perl
2016-01-18 07:59:47 -05:00
Paul Chaignon
52938f6dbf
Test submodules are using HTTPS links
2016-01-17 18:14:51 +01:00
chrisarcand
d87fad649c
Improved vim modeline detection
...
TLDR: This greatly increases the flexibility of vim modeline detection
to manually set the language of a file.
In vim there are two forms of modelines:
[text]{white}{vi:|vim:|ex:}[white]{options}
examples: 'vim: syntax=perl', 'ex: filetype=ruby'
-and-
[text]{white}{vi:|vim:|Vim:|ex:}[white]se[t] {options}:[text]
examples: 'vim set syntax=perl:', 'Vim: se ft=ruby:'
As you can see, there are many combinations. These changes should allow
most combinations to be used. The two most important additions are the
use of the keyword 'syntax', as well as the addition of the first form
(you now no longer need to use the keyword 'set' with a colon at the end).
The use of first form with 'syntax' is very, very common across GitHub:
https://github.com/search?l=ruby&q=vim%3A+syntax%3D&ref=searchresults&type=Code&utf8=%E2%9C%93
2016-01-16 08:57:20 -05:00
Paul Chaignon
d8666e5309
Heuristic for Pod vs. Perl
...
.pod files classified as Pod if they contain any Pod syntax
2016-01-16 11:21:26 +01:00
Arfon Smith
d081f687b0
Merge branch 'master' into licensee-6
2015-11-10 09:34:39 +00:00
Dan Buch
d7b2826113
Add SuperCollider grammar
...
plus a few minor language support updates including:
- recognize `sclang` and `scsynth` interpreters
- set `tm_scope: source.supercollider`
- reorder extensions so that `.sc` is primary
2015-11-08 06:28:14 -05:00
Arfon Smith
317219e479
Merge branch 'master' into licensee-6
2015-10-21 08:51:10 +01:00
Arfon Smith
e0c97f97ba
Merge branch 'master' into memory_blob
2015-10-20 12:36:26 +01:00
Brandon Keepers
9d865ec018
license of factor grammar is now detected properly
2015-10-16 15:16:04 -04:00
Brandon Keepers
8b01e3dead
Upgrade to licensee 6.0.0b1
2015-10-16 15:15:34 -04:00
Arfon Smith
500ce0959a
Merge branch 'master' into memory_blob
2015-10-12 09:49:22 +01:00
Jared Kuolt
5ff580df0a
Support for files generated by Racc.
...
This changeset includes a sample racc file from [this auto-generated
file](44e9bf0440/lib/rjson/parser.rb )
(MIT-licensed).
[Racc](https://github.com/tenderlove/racc ) Racc is an LALR(1) parser
generator. It is written in Ruby itself, and generates ruby programs.
2015-10-09 16:20:59 -07:00
Ingo Blechschmidt
040af5dad2
Clarify that only nonprimary extensions should be sorted
2015-09-25 19:23:06 +02:00
Paul Chaignon
213cf322f5
Merge branch 'master' into blob_in_memory
2015-09-04 00:55:39 +02:00
Arfon Smith
580cfce7fb
Adding support for generated overrides
2015-09-03 14:39:27 +01:00
Arfon Smith
9775820398
Merge pull request #2591 from jtbandes/master
...
Vendored definitions for Xcode-related files
2015-09-01 18:53:08 +01:00
Lars Brinkhoff
e4f5c0066a
Add checks to keep heuristics alphabetised.
2015-09-01 08:21:34 +02:00
Lars Brinkhoff
dd8eaf2893
Alphabetise heuristics.
2015-08-31 08:53:51 +02:00
Ben Balter
7c3e265033
also add help for unapproved licenses
2015-08-26 12:31:29 -04:00
Ben Balter
c9e43804d6
add some help text to license test
2015-08-26 09:26:04 -04:00
Jacob Bandes-Storch
a2ca886510
Vendored definitions for Xcode-related files
2015-08-25 23:42:20 -07:00
Paul Chaignon
e6b4428614
Tests for new vendored files
2015-08-21 12:24:04 +02:00
Paul Chaignon
4e6e69833d
Test for new CodeMirror regexp
2015-08-21 12:15:17 +02:00
Ben Balter
d1f90d61c5
Merge branch 'master' into licensee
2015-08-20 15:25:15 -04:00
Ben Balter
62a0faa729
let us
2015-08-20 12:23:52 -04:00
Ben Balter
fbb3ab2292
batch license test output
2015-08-20 11:38:31 -04:00
Arfon Smith
a74f3b3e46
Adding Perl/Perl6 heuristic for '.t'
2015-08-20 10:16:52 +01:00
Paul Chaignon
7d91e4959a
Dissociate ECLiPSe from Prolog
...
ECLiPSe syntax is slightly different from Prolog syntax
ECLiPSe is in the Prolog group so it will only be highlighted differently
2015-08-19 20:56:14 +02:00
Ben Balter
fd9ce2d1cf
use licensee to classify submodule licenses
2015-08-19 12:54:21 -04:00
Paul Chaignon
2c2b37bec3
Reorganize tests
...
Rename test_memory_blob.rb to test_blob.rb for consistence with last commit
2015-08-19 18:07:42 +02:00
Paul Chaignon
c777f2d388
Merge branch 'master' into blob_in_memory
2015-08-19 18:02:31 +02:00
Paul Chaignon
eca10056a8
Rename MemoryBlob to Blob
2015-08-19 17:29:35 +02:00
Paul Chaignon
6226a46988
Recognize the Mozilla Public License for grammars
2015-08-13 17:35:01 +02:00