Brandon Keepers
ba8b55391d
Fix sample tests
2014-11-18 14:48:21 -05: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
Paul Chaignon
1d381233e0
Update tm_scope to match case used in Sublime-Inform
2014-11-17 11:19:23 -05:00
Paul Chaignon
6f0c24b90b
Remove grammar for Inform 6
2014-11-17 10:56:38 -05:00
Brandon Keepers
f29c172267
Merge pull request #1726 from github/makefile-tests
...
Fix tests for Makefile change
2014-11-17 10:52:39 -05:00
Paul Chaignon
e9c5598254
Add lexer for Inform 7 using download-grammars script
2014-11-17 10:50:03 -05:00
Adam Roben
dd5728a441
Merge pull request #1728 from github/new-pike-url
...
Update the URL for the source.pike grammar
2014-11-17 10:45:48 -05:00
Adam Roben
ec1d77c32e
Update the URL for the source.pike grammar
...
It's now hosted on GitHub and has a clearer license.
2014-11-17 10:43:36 -05:00
Paul Chaignon
40887930f9
Lexer for Inform 7
2014-11-17 09:41:35 -05:00
Brandon Keepers
6bf8243014
Fix tests for Makefile change
2014-11-17 08:15:17 -05:00
Brandon Keepers
419805ce9f
Merge pull request #1724 from pchaigno/make-type
...
Programming type for Makefile
2014-11-16 23:17:30 -05:00
Paul Chaignon
81089416a2
Makefile set to programming type
2014-11-16 23:13:31 -05:00
Vicent Marti
efc7799960
Clojure grammar from Atom
2014-11-16 18:29:58 +01:00
Vicent Marti
fcbef97e39
Typo in README
2014-11-16 14:42:56 +01:00
Vicent Marti
8beef260da
Merge pull request #1722 from github/vmg/grammar-fixes
...
Misc. grammar fixes
2014-11-16 14:41:40 +01:00
Vicent Marti
618a5b62ee
Revert the changes in download-grammars
2014-11-16 14:40:48 +01:00
Vicent Marti
c579924485
DOCS
2014-11-16 14:25:11 +01:00
Vicent Marti
9b9fadfa19
Use a Racket grammar for Racket
2014-11-16 13:47:19 +01:00
Vicent Marti
daf64010f9
Merge pull request #1714 from github/vmg/new-languages
...
Some new TM powered languages
2014-11-14 20:24:21 +01:00
Vicent Marti
f0bd24f810
DOT was already a thing
2014-11-14 19:20:47 +01:00
Vicent Marti
5969a8b679
More samples
2014-11-14 19:18:43 +01:00
Vicent Marti
6b3ba29558
Reindent
2014-11-14 19:11:11 +01:00
Vicent Marti
f217047ac0
Rename
2014-11-14 19:06:41 +01:00
Vicent Marti
935c852364
Add Dockerfile sample
2014-11-14 19:05:42 +01:00
Vicent Marti
9e28965259
Rename Dockerfile
2014-11-14 19:04:11 +01:00
Vicent Marti
a829f3143a
Add DOT sample
2014-11-14 19:04:06 +01:00