Arfon Smith
c26382301c
Merge branch 'master' into 1132-local
...
Conflicts:
lib/linguist/samples.json
2014-06-20 10:12:04 +01:00
Gusakov Nikita
1b7f26091c
Added generated rule for Zephir language
2014-06-16 19:20:43 +04:00
James Dennes
625bed8fca
Add failing test for vendored Octicons
2014-06-15 16:19:59 +02:00
Brian Lopez
e17ebec098
Bump charlock to 0.7.3
...
This version includes a fix for the encoding lookup table for some
encoding aliases in the ICU detection API
2014-06-07 15:25:44 -05:00
Brian Lopez
42c68f21d1
test ruby_encoding
2014-06-04 15:59:42 -05:00
Arfon Smith
09c234ec26
Merge pull request #1190 from Madsn/patch-1
...
Add html5shiv to vendor.yml
2014-06-04 10:30:03 -05:00
Andy Lindeman
aa5a94cc3e
Handle case where newline chars don't transcode to detected encoding
...
We've seen cases where binary files are detected as encodings such as
ISO-8859-8-I. This usually happens when the binary files are short, so
while the detector is mistaken, there is also not very much data for use
in the detection algorithm in the first place so it's understandable
that the detector was wrong.
In these cases, the code to convert ASCII newline characters to
encodings such as ISO-8859-8-I fails because there is no conversion
between them.
We now simply assume that the data is all one line in those cases. In
reality the data is binary, but this obviously difficult to detect
reliably.
2014-06-03 12:26:23 -04:00
Andy Lindeman
09a33f8daa
Takes a different approach
2014-05-21 15:11:06 -04:00
Andy Lindeman
85efbde3f7
Counts the number of lines correctly for files with certain multibyte encodings
2014-05-21 13:36:39 -04:00
Mikkel Madsen
91877056fb
Extend vendor test for html5shiv
2014-05-13 09:00:43 +02:00
alflanagan
297ef6195d
Added modernizr.js to vendor files list, added tests
2014-05-08 21:02:00 -04:00
Arfon Smith
0a54df3a12
Merge branch 'master' into 950
...
Conflicts:
lib/linguist/languages.yml
2014-05-04 19:46:20 -05:00
Arfon Smith
87bfe3657a
Merge branch 'master' into 985
...
Conflicts:
lib/linguist/languages.yml
2014-05-04 09:04:28 -05:00
Arfon Smith
f103306e91
Merge branch 'master' into 972
...
Conflicts:
lib/linguist/vendor.yml
2014-05-03 18:38:23 -05:00
Anthony Ramine
2d82071103
Delete primary_extension from language data
...
The language attribute is still maintained as the first extension found.
This allows Mercury to be properly detected by Linguist, as per #748 .
2014-05-01 21:35:49 +02:00
Arfon Smith
3dc11186a1
Updating JS colour to be a little softer
2014-04-26 19:55:17 -05:00
Arfon Smith
cec5942d6b
Removing extra .
2014-04-22 22:09:30 -05:00
Arfon Smith
152e3ace99
Adding all_extensions method to Language
2014-04-22 16:56:27 -05:00
Arfon Smith
64b6f18e66
Adding debugging for failed assertions
2014-04-22 16:53:42 -05:00
Arfon Smith
be1003648a
Removing pry
2014-04-22 15:48:57 -05:00
Arfon Smith
536800f9f5
Towards testing for presence of sample files
2014-04-22 15:47:49 -05:00
Rick Bradley
40f4c49ba9
Merge pull request #879 from zilverline/master
...
Legit. Merging.
Thanks for the bugfix, @s0meone!
2014-04-21 09:04:22 -07:00
Arfon Smith
9562b8ad3d
Merge pull request #969 from pchaigno/aspectj
...
Support of AspectJ language
2014-04-21 10:14:27 -05:00
Arfon Smith
19a67c07fe
Merge branch 'master' into 979
2014-04-21 09:59:18 -05:00
Ted Nyman
2e731a1084
Merge pull request #978 from cronycle/master
...
added VCR Cassette to the 'generated' list so they get suppressed
2014-03-13 14:37:25 -07:00
Max Ogden
54c1d7c9d9
update improved javascript color in test_language
2014-03-06 23:38:59 -08:00
Nayeem Syed
210ca9a86f
added VCR Cassette to the 'generated' list so they get suppressed
2014-03-06 12:00:54 +00:00
Albert Lyu
a2690b7dac
Add D3.js to the vendored list
...
Followed the commit pattern of a3e1420476
2014-02-26 13:07:20 -06:00
Paul Chaignon
ee370cbf43
Support of AspectJ language
2014-02-25 11:22:28 +01:00
Miro Bezjak
92e1b1eb40
Add gradle wrapper files to vendor.yml
2014-02-21 11:27:47 +01:00
Dave Hughes
e2b1fe3641
Amend tests to ensure SQL *is* searchable
2014-02-17 01:11:23 +00:00
Paul Chaignon
f78ce5389e
Support of the .ecl file extension for Prolog.
2014-02-01 15:47:51 +01:00
Lars Brinkhoff
39a9c768c8
Add heuristics for '.cl'.
2014-01-28 09:20:26 +01:00
ruben2020
f5a6f20af0
renamed Qt translation ts file to have XML ext and updated test_heuristics.rb
2014-01-04 23:14:58 +08:00
ruben2020
76ee294c29
Removing second ts from languages.yml, but adding to test code for heuristics
2014-01-04 23:01:17 +08:00
Ted Nyman
cd6c315fc8
Merge pull request #783 from jimhester/master
...
Add r alias
2014-01-02 18:55:10 -08:00
Jim Hester
7ad99baf32
Add check for R alias
2014-01-02 13:39:19 -05:00
Daniel van Hoesel
83a742621f
Do not reset options when calling highlight
2013-12-31 13:44:19 +01:00
Arfon Smith
800d26cdad
Adding Perl heuristic (and fixing up Prolog)
2013-12-29 19:22:31 -08:00
Ted Nyman
b498d51889
Add another breakdown_by_file assertion
2013-12-28 19:45:40 -08:00
Ted Nyman
001068ec75
Add test for language breakdown
2013-12-28 19:29:55 -08:00
Ted Nyman
f7b7a89709
Start towards pl heuristics
2013-12-28 18:06:04 -08:00
Ted Nyman
cdde9096da
More test_markup
2013-12-26 19:36:27 -08:00
Ted Nyman
2cb2194686
Add test_prose
2013-12-26 19:35:19 -08:00
Nate Brennand
a3e1420476
add AngularJS to the vendored list
2013-12-24 02:05:10 -08:00
Wade Tandy
582daf273a
Add vendor patterns for bower_components files
...
Adds Bower Component files to the vendored files list. This
uses the `bower_components` directory, which is the standard set by the
Bower package manager.
2013-12-23 21:36:55 -05:00
Arfon Smith
0f42d35f29
Merge branch 'pr/678' into add_crystal
...
Conflicts:
lib/linguist/languages.yml
2013-12-23 14:58:35 -06:00
Arfon Smith
1ab8c8da53
Merge branch 'pr/804' into postscript_support
...
Conflicts:
lib/linguist/generated.rb
2013-12-23 14:25:33 -06:00
Arfon Smith
300d47b36b
Regenerating samples.json and bringing C++ heuristic test up to date
2013-12-22 19:27:14 -06:00
Arfon Smith
e4d381d81c
Merge branch 'master' into cpp_heuristic
...
Conflicts:
lib/linguist/samples.json
2013-12-22 19:25:01 -06:00