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
Arfon Smith
8d20c1fb59
More inclusive documentation matches for License and Readme files
2015-08-11 09:39:41 +01:00
Arfon Smith
9a1abf0c49
Merge branch 'master' into reworking-documentation-paths
2015-08-11 09:10:08 +01:00
Arfon Smith
997c0fca10
Catching one more edge case
2015-08-11 06:48:54 +01:00
Arfon Smith
851c93a1f7
Don't blow up if empty string/nil passed to alias methods
2015-08-10 22:07:28 +01:00
Ammar Askar
4650368bc2
Make regex for vim modeline more lenient
...
This change allows the filetype/language to be retrieved from more complex vim modelines. The current regex strictly allows a set line which contains only the filetype/ft parameter and nothing else
2015-08-10 00:42:14 -05:00
Arfon Smith
5d5550c48b
Moving vendored definitions to documentation
2015-08-07 10:42:31 +01:00
Arfon Smith
fd570d906a
Adding examples path to documentation.yml
2015-08-07 10:35:18 +01:00
Arfon Smith
deab0662f9
Merge pull request #2447 from Ryman/rustup
...
Split on comma in language name if no match is found
2015-08-07 10:28:21 +01:00
Arfon Smith
6b283068a9
Adding back R/Rebol heuristics
2015-08-04 12:20:15 +01:00
Arfon Smith
208ec3906f
Fixing up some new heuristics
2015-08-04 12:06:41 +01:00
Arfon Smith
84d4fccb4d
Merge pull request #2441 from pchaigno/associate-heuristic-with-extension
...
Associate heuristic rules with file extensions
2015-08-04 12:00:47 +01:00
Arfon Smith
90a293727d
Merge branch 'master' into more-encompassing-number-skips
2015-07-29 13:54:51 +01:00
Paul Chaignon
8917f1a91a
MemoryBlob class: wrapper around the content of a file
...
Makes it possible to detect the language of a snippet of code
without having an actual file on disk
Will allow github-markup to use Linguist without restricting its API
2015-07-12 20:28:42 +02:00
Paul Chaignon
e688c865bc
Merge branch 'master' into associate-heuristic-with-extension
2015-07-04 22:48:06 +02:00
Arfon Smith
21e97cc65c
Merge pull request #2170 from pchaigno/mod-extension
...
.mod extension
2015-07-04 20:57:40 +01:00
Paul Chaignon
8c54f68040
Fix conflicts from merging master into 'mod-extension'
2015-07-04 18:01:56 +02:00
Arfon Smith
117735ffb9
Merge pull request #2179 from pchaigno/symlinks
...
Ignore symbolic links
2015-07-04 16:57:43 +01:00
Drew Crawford
8845b266de
Adding some more vendered expressions
...
* `Vendor/`, the capitalized path
* Crashlytics, a common iOS framework
* Fabric, a common iOS framework
2015-06-17 21:25:54 -05:00
Kevin Butler
3180c5d554
Allow delimiting by comma in the language name
2015-06-10 15:37:31 +01:00
Paul Chaignon
be122ca1a5
Fix test for Perl heuristic
...
Improve heuristic rule for Perl6
Separate heuristic rules for .pl (with Prolog) and .pm (without Prolog)
2015-06-06 19:55:04 +02:00
Paul Chaignon
e811021806
Fix tests to use the correct extension in heuristic rules
...
Extand a few tests where only one file was tested for a language
2015-06-06 18:27:59 +02:00
Arfon Smith
f380aa2e5e
Merge pull request #2426 from tamird/generated-go-bindata
...
Detect Go files generated by go-bindata
2015-05-31 15:53:49 +02:00
Tamir Duberstein
d17222ec91
Detect Go files generated by go-bindata
2015-05-28 11:03:36 -04:00
Tamir Duberstein
a1ea55d006
Trim whitespace
2015-05-28 11:03:36 -04:00
Tamir Duberstein
f32b7bb978
Fix duplicate key warning
2015-05-28 11:03:36 -04:00
Evgenii Neumerzhitckii
a1e8fc4f97
Treat Carthage path as vendored
2015-05-23 21:54:25 +10:00
Arfon Smith
5ff0d488d2
Merge pull request #2392 from vighnesh1987/apache-thrift
...
Add Apache thrift support to generated? check
2015-05-20 12:43:55 -05:00
Vighnesh Rege
90b59876d0
Added extension restrictions
2015-05-13 23:20:51 -07:00
Arfon Smith
da7d019df3
Merge pull request #2388 from mephaust/add-unity3d
...
Add Unity3D Asset and Metadata files
2015-05-13 16:02:30 -05:00
Arfon Smith
2fac182a90
Improving Vim modeline regex
2015-05-12 16:49:14 -05:00
Vighnesh Rege
6d2aa601cd
Added tests
2015-05-12 12:53:59 -07:00
Paul Handly
7631db2183
Treat Unity3D metadata as an asset
2015-05-10 18:19:34 -04:00
Paul Handly
da5bc18d64
Add Unity3D Metadata files as generated
2015-05-10 18:19:33 -04:00
Paul Chaignon
af5e799a45
Merge branch 'master' into mod-extension
2015-04-22 21:14:24 +02:00
Lars Brinkhoff
e018b4322e
Improve .asc heuristic for Public Key.
2015-04-21 10:10:27 +02:00
Paul Chaignon
e073e91d62
Detect GFortran module files as generated
2015-04-19 16:56:38 +02:00
Paul Chaignon
da9bda0e27
Detect KiCAD module files as generated
2015-04-19 16:19:52 +02:00
Brandon Keepers
924fddf698
Move Linguist::Language.detect to Linguist.detect
2015-04-17 14:56:08 +12:00