Arfon Smith
55432774c7
Merge pull request #1795 from github/mercury-vendor
...
Removing Mercury directory from vendor.yml
2014-11-30 08:00:36 -06:00
Arfon Smith
ca76802ee4
Removing Mercury directory from vendor.yml
2014-11-30 07:55:55 -06:00
Gerwin Klein
cec54837bc
add language grammar for Isabelle theorem prover
2014-11-30 17:17:13 +11:00
Arfon Smith
e0c35b0665
Merge pull request #1706 from pchaigno/mm-xml
...
Add .mm as an XML extension with heuristic rule
2014-11-29 23:07:58 -06:00
Brandon Keepers
865980b8f7
Merge pull request #1791 from pchaigno/remove-old-heuristic
...
Remove old test forgotten in #1788
2014-11-29 12:32:28 -06:00
Paul Chaignon
9367a4797f
Remove old test forgotten in #1788
2014-11-28 23:14:17 -05:00
Paul Chaignon
4ed58c743d
Support for gradle files
2014-11-28 23:00:35 -05:00
Arfon Smith
cfd95360cb
Merge pull request #1627 from github/1036-local
...
Disambiguate C, C++, Objective-C
2014-11-28 18:05:16 -06:00
Brandon Keepers
22144e79d3
Merge pull request #1787 from github/move-shebang
...
Move shebang (updated)
2014-11-28 18:02:04 -06:00
Brandon Keepers
3acbf06beb
Merge pull request #1788 from github/refactor-heuristics
...
Refactor heuristics (updated)
2014-11-28 17:59:43 -06:00
Brandon Keepers
7b41346db8
Merge branch 'refactor-heuristics' into 1036-local
...
* refactor-heuristics: (43 commits)
update docs
Clean up heuristic logic
Allow disambiguate to return an Array
Rename .create to .disambiguate
docs
Remove inactive heuristics
Refactor heuristics
Not going back
docs
Move call method into existing Classifier class
Try strategies until one language is returned
Remove unneded empty blob check
Add F# and GLSL samples. Add Forth and GLSL extension .fs. Add heuristic to disambiguate between F#, Forth, and GLSL.
byebug requires ruby 2.0
Remove test for removed extension
Fix typo in test
add rake interpreter
add python3 interpreter
Remove old wrong_shebang.rb sample
Add byebug
...
Conflicts:
lib/linguist/heuristics.rb
test/test_heuristics.rb
2014-11-28 17:58:00 -06:00
Brandon Keepers
878b321b89
Merge remote-tracking branch 'origin/master' into move-shebang
...
* origin/master:
Tweak docs
2014-11-28 17:41:10 -06:00
Brandon Keepers
a903123cb8
Merge pull request #1663 from github/strategies
...
Refactor detection into strategies
2014-11-28 17:40:12 -06:00
Brandon Keepers
577fb95384
Tweak docs
2014-11-28 17:36:14 -06:00
Brandon Keepers
770a1d4553
update docs
2014-11-28 17:07:15 -06:00
Brandon Keepers
c038b51941
Clean up heuristic logic
2014-11-28 17:03:01 -06:00
Brandon Keepers
4bebcef6ef
Allow disambiguate to return an Array
2014-11-28 16:55:00 -06:00
Jorge Bucaran
d4888098e5
Add source.fish scope reference.
2014-11-29 07:39:19 +09:00
Jorge Bucaran
a349daeaeb
Add fish tmBundle source.
2014-11-29 07:38:00 +09:00
Brandon Keepers
b8685103d0
Rename .create to .disambiguate
2014-11-28 14:41:52 -06:00
Brandon Keepers
26d789612b
docs
2014-11-28 14:40:02 -06:00
Garen Torikian
7a57a0b594
What is this, Lisp?
2014-11-28 12:35:42 -08:00
Garen Torikian
66eabd8bdc
Prefer Yajl.load
2014-11-28 12:34:02 -08:00
Garen Torikian
be82b55408
Simplify rescue catching
2014-11-28 12:33:43 -08:00
Garen Torikian
526ca1761a
This require is no longer used
2014-11-28 12:33:37 -08:00
Brandon Keepers
10de952ed6
Remove Linguist.interpreter_from_shebang
2014-11-28 14:14:40 -06:00
Brandon Keepers
2517650ecb
Fix shebang without path
2014-11-28 14:14:10 -06:00
Brandon Keepers
47b739527a
Treat lines as enumerator and not array
2014-11-28 13:55:55 -06:00
Garen Torikian
8655d966ad
Make corrections from a bade merge resolution
2014-11-28 11:50:46 -08:00
Garen Torikian
3fb4973aab
Add missing ace_modes (introduced from master)
2014-11-28 11:48:39 -08:00
Garen Torikian
1d4149168d
Add Rake task to fetch ace_modes, and skip test if there's no internet
2014-11-28 11:48:26 -08:00
Garen Torikian
26ab33754f
Merge master
2014-11-28 11:04:53 -08:00
Brandon Keepers
88f08803ee
require shebang when building samples
2014-11-28 12:34:41 -06:00
Brandon Keepers
c05717d15c
docs
2014-11-28 12:27:48 -06:00
Brandon Keepers
bc66f558b9
Remove inactive heuristics
...
We can add these back when we’re ready to enable them.
2014-11-28 12:17:52 -06:00
Antoine Paris
71e1bd9af2
Misspelling correction
2014-11-28 17:42:54 +01:00
Antoine Paris
57b0739219
Add some examples for Oz
2014-11-28 17:40:49 +01:00
Antoine Paris
d60241cc86
Add grammar for Oz
2014-11-28 17:28:22 +01:00
Antoine Paris
d725e8e385
Add Oz to languages.yml
2014-11-28 17:16:32 +01:00
Brandon Keepers
034cb25099
Refactor heuristics
2014-11-28 09:43:59 -06:00
Brandon Keepers
fbc0947420
Not going back
2014-11-28 08:14:30 -06:00
Brandon Keepers
9020d7c044
Deprecate find_by_shebang
...
This class doesn’t need to know about shebangs.
2014-11-27 13:18:51 -05:00
Brandon Keepers
ffe2ccf1f6
Don't bother creating an instance
2014-11-27 13:17:28 -05:00
Brandon Keepers
434ab9f2c0
Add tests for shebangs
2014-11-27 13:09:05 -05:00
Brandon Keepers
cd3defda42
Simplify shebang detection
2014-11-27 12:44:55 -05:00
Brandon Keepers
fd85f7f112
consolidate shebang logic
2014-11-27 12:18:23 -05:00
Brandon Keepers
e42ccf0d82
docs
2014-11-27 11:40:48 -05:00
Brandon Keepers
bf4baff363
Move call method into existing Classifier class
2014-11-27 11:29:38 -05:00
Brandon Keepers
c1a9737313
Try strategies until one language is returned
2014-11-27 11:12:47 -05:00
Brandon Keepers
a4081498f8
Remove unneded empty blob check
2014-11-27 10:55:03 -05:00