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
Paul Chaignon
1356d4e579
Remove heuristic rules for .mm files
2014-11-17 19:20:45 -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
Brandon Keepers
6c106b88c0
Avoid using singular #extension
2014-11-17 15:47:21 -05:00
Adam Roben
f2c9581bac
Merge pull request #1730 from github/more-docs
...
Add CONTRIBUTING.md
2014-11-17 15:28:32 -05:00
Brandon Keepers
c46667581d
Use the first extension with languages defined
2014-11-17 15:15:39 -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
Brandon Keepers
3ca872cea8
Support for multiple file extension segments
2014-11-17 14:54:22 -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