Max Horn
1bd935b2b4
Set 'lexer: GAP' for GAP
...
My Pygments patch adding support for GAP was merged in April, and I
verified that it is live on GitHub.
2014-11-20 12:47:15 -07:00
Brandon Keepers
231ad86176
sync cached gems
2014-11-20 08:51:56 -05:00
Vicent Marti
bce31e8b51
Merge pull request #1747 from github/cut-release-v4.0.2
...
Cut release v4.0.2
v4.0.2
2014-11-19 18:12:07 +01:00
Adam Roben
011c654c2a
Bump version to v4.0.2
2014-11-19 12:08:49 -05:00
Adam Roben
2457b52658
Update grammars.yml
2014-11-19 12:08:43 -05:00
Arfon Smith
a3adaa6a7b
Merge pull request #1745 from github/f-case
...
Fix failures on case-insensitive filesystem
2014-11-19 07:04:58 -06:00
Brandon Keepers
a6f168d1ac
Rename file to avoid case-insensitive collision
2014-11-18 23:22:10 -05:00
Arfon Smith
f792029a20
Merge pull request #1743 from github/codemirror
...
Codemirror should be considered vendored
2014-11-18 20:02:12 -06:00
Arfon Smith
2a5dd5b224
Adding test for codemirror
2014-11-18 19:34:41 -06:00
Martín Gaitán
fb7dcfd62d
Exclude codemirror
...
An example of a wrong detection due to codemirror is my project. https://github.com/mgaitan/waliki
2014-11-18 20:17:15 -03:00
Brandon Keepers
719f6e876b
Merge pull request #1732 from github/filename-matches-multiple-langages
...
Require samples if filename matches multiple languages
2014-11-18 16:31:19 -05:00
Brandon Keepers
8724dc8ccc
Merge pull request #889 from larsbrinkhoff/fortran
...
FIX: .f misidentified as Fortran
2014-11-18 16:05:23 -05:00
Brandon Keepers
63f9d0bdeb
Add Gemfile.lock sample
...
Gemfile.lock should not actually get classified as Ruby, but we can fix that in another PR.
2014-11-18 15:36:42 -05:00
Brandon Keepers
d7fd12cb32
Remove deprecated method
2014-11-18 15:19:23 -05:00
Brandon Keepers
850ab6dedb
#all_extensions already includes primary extension
2014-11-18 15:10:07 -05:00
Brandon Keepers
b20fa497b9
typo
2014-11-18 15:07:36 -05:00
Brandon Keepers
1abc7ee2ef
remove unused assertion
2014-11-18 15:04:12 -05:00
Brandon Keepers
d7a032afcd
Symlink ant.xml to build.xml
...
We require samples for explicitly defined filenames that matches multiple languages. This is generally a good thing, but in this case they will be identical.
2014-11-18 15:02:59 -05:00
Brandon Keepers
587c764950
Avoid shadowing variable name
2014-11-18 14:57:39 -05:00
Brandon Keepers
1abbcb6435
Update comment
2014-11-18 14:57:32 -05:00
Brandon Keepers
17f3d7005a
Make missing sample failure message similar
2014-11-18 14:55:15 -05:00
Brandon Keepers
ac59620728
Remove blank extensions property
2014-11-18 14:48:43 -05:00
Brandon Keepers
ba8b55391d
Fix sample tests
2014-11-18 14:48:21 -05:00
Lars Brinkhoff
03c1e725ce
Add Forth extensions .f and .for; add heuristics for Forth and FORTRAN.
2014-11-18 20:21:19 +01:00
Lars Brinkhoff
4cefaf2808
Add FORTRAN and Forth samples.
2014-11-18 20:12:39 +01:00
Brandon Keepers
757801e32f
Merge remote-tracking branch 'origin/master' into filename-matches-multiple-langages
...
* origin/master:
Allow mime-types 2.x to be used with Linguist
Upgrade to rugged 0.22.0b1
Mention that languages need to be quite popular
fix vendor/cache
Gemfile.lock is nolonger considered generated
Tests for BlobHelper#empty?
remove reference to empty.js
Remove more empty samples
Bail earlier if the file is empty.
Moving comments
Use heuristics earlier to inform the rest of the classification process
Removing inconsistency of `find_by_heuristics` (was sometimes returning nil and sometimes returning and empty array)
Removing unused array of candidate languages.
Reworking most heuristics to only return one match
2014-11-18 14:09:15 -05:00
Brandon Keepers
749ea2a580
Merge pull request #1734 from github/just-filenames
...
Removing extensions when they should be filenames
2014-11-18 14:01:57 -05:00
Adam Roben
dc373fb51f
Merge pull request #1737 from github/relax-mime-types
...
Allow mime-types 2.x to be used with Linguist
2014-11-18 11:47:35 -05:00
Arfon Smith
0443c4db2d
Merge pull request #1674 from github/rework-heuristics
...
Rework heuristics
2014-11-18 10:43:01 -06:00
Adam Roben
d699ba3a98
Allow mime-types 2.x to be used with Linguist
...
The API is compatible for our purposes, and this allows Linguist to be
used in apps that pull in newer versions of mime-types through other
gems.
2014-11-18 10:46:04 -05:00
Adam Roben
92d2782ceb
Merge pull request #1738 from github/update-rugged
...
Upgrade to rugged 0.22.0b1
2014-11-18 10:45:38 -05:00
Adam Roben
e76ebb1a74
Upgrade to rugged 0.22.0b1
...
0.21.2 was just released but doesn't contain the Repository::Attributes
code we depend on. 0.22.0b1 has this code.
2014-11-18 10:40:37 -05:00
Arfon Smith
cacde403c0
Merge pull request #1736 from github/aroben-patch-1
...
Mention that languages need to be quite popular
2014-11-18 08:07:51 -06:00
Adam Roben
906b0ee30e
Mention that languages need to be quite popular
...
The precedent seems to be "hundreds of repos".
2014-11-18 08:48:00 -05:00
Brandon Keepers
cd7549390e
Extensions aren't actually required
2014-11-17 20:00:09 -05:00
Brandon Keepers
f30cab30f4
fix vendor/cache
2014-11-17 19:42:22 -05:00
Brandon Keepers
63c83d014b
Fix errors from pedantic test
2014-11-17 18:53:14 -05:00
Brandon Keepers
b8e426d3a3
Make pedantic test actually pedantic
...
What do you call someone that thinks they are pedantic but actually
aren’t? All the crazy custom parsing in this test was making so it
wasn’t actually doing anything.
2014-11-17 18:52:53 -05:00
Arfon Smith
c5344da2ba
Removing extensions when they should be filenames
2014-11-17 16:44:39 -06:00
Arfon Smith
7606a70bb8
Merge pull request #1733 from github/gemfile-lock-not-generated
...
Gemfile.lock is nolonger considered generated
2014-11-17 16:35:07 -06:00
Arfon Smith
7d850d7c09
Gemfile.lock is nolonger considered generated
2014-11-17 16:31:47 -06:00
Arfon Smith
c1b704075e
Adding sample pom.xml files
2014-11-17 16:25:03 -06:00
Brandon Keepers
07a6411a75
Link to contributing docs
2014-11-17 16:30:39 -05:00
Brandon Keepers
b32bc5ef47
require samples if filename matches multiple languages
2014-11-17 16:18:56 -05:00
Adam Roben
f2c9581bac
Merge pull request #1730 from github/more-docs
...
Add CONTRIBUTING.md
2014-11-17 15:28:32 -05:00
Adam Roben
59e5ba351c
Mention that grammars should be licensed
2014-11-17 15:14:36 -05:00
Adam Roben
a8a710f863
Add a link to CONTRIBUTING.md from the README
2014-11-17 15:10:09 -05:00
Adam Roben
f603b731a9
Add CONTRIBUTING.md
...
This document tries to explain how to file various common kinds of bug
reports or enhancements.
2014-11-17 15:05:33 -05:00
Adam Roben
970953ca12
Merge pull request #1727 from pchaigno/lexer-inform7
...
Lexer for Inform 7
2014-11-17 14:45:46 -05:00
Vicent Marti
7cf6372519
Version 4.0.1
2014-11-17 18:09:26 +01:00