Ryan Tomayko
2e49c06f47
Handle ✨ Mac Format ✨ when splitting lines
2012-09-10 01:05:48 -07:00
Scott J. Goldman
04394750e7
When testing if a blob is safe to colorize, check size first
...
Similar to e415a13
2012-09-02 00:08:37 -07:00
Scott J. Goldman
e415a1351b
When testing if a blob is indexable, check size first
...
Otherwise, charlock_holmes will allocate another large binary
buffer for testing the encoding, which is a problem if the binary
blob is many hundreds of MB large. It'll just fail and crash ruby.
2012-08-31 22:47:19 -07:00
Joao Azevedo
1f55f01fa9
Add Shell sample
2012-08-28 18:01:46 +01:00
Joshua Peek
458890b4b9
Add C++ sample
2012-08-27 11:33:28 -05:00
Joshua Peek
89267f792d
Rebuild samples db
2012-08-27 11:30:44 -05:00
Joshua Peek
b183fcca05
Only read up to 100KB
2012-08-27 11:30:38 -05:00
Joshua Peek
684a57dbc0
Add another C sample
2012-08-27 11:21:57 -05:00
Joshua Peek
400086a5c8
Add more C samples
...
Closes #237
2012-08-23 13:38:16 -05:00
Joshua Peek
cfe496e9fc
Drop mime type module
...
Closes #206
2012-08-20 11:40:32 -05:00
Joshua Peek
b85aeaad3e
Inline mime type lookup into blob helper
2012-08-20 11:33:16 -05:00
Joshua Peek
64f3509222
Remove other mime type hacks
2012-08-20 11:29:22 -05:00
Joshua Peek
f8df871d85
Only double check binary mime type when lazy loading blob
2012-08-20 11:20:37 -05:00
Joshua Peek
620150d188
Only double check with binary mime type when lazy loading blob
2012-08-20 11:14:45 -05:00
Joshua Peek
630dca515a
Trim down mime type overrides that are old or now pushed upstream
...
Related #206
2012-08-20 11:11:42 -05:00
Joshua Peek
d2de997fcc
Add more Prolog samples
...
Closes #233
2012-08-20 10:48:36 -05:00
Joshua Peek
34aaab19b2
Rebuild samples db
2012-08-20 10:34:37 -05:00
Joshua Peek
220108857c
Skip emiting comment tokens
2012-08-20 10:34:07 -05:00
Steve Piercy
31d6b110d2
Add more samples with listed extensions. Remove extension specification. Clarify comments at top of languages.yml.
2012-08-19 16:49:20 -07:00
Steve Piercy
29a0db402c
Lasso lexer name added
2012-08-19 06:47:02 -07:00
Steve Piercy
21a7fe9f12
Lasso extentions sorted
2012-08-19 06:40:15 -07:00
Steve Piercy
3b558db518
adding Lasso language and sample files
2012-08-19 06:29:16 -07:00
Joshua Peek
657adaabec
Add more C++ samples
...
Closes #225
2012-08-15 11:57:55 -07:00
Joshua Peek
866e446dbe
Rebuild samples db
2012-08-13 18:17:47 -07:00
Joshua Peek
dbb089f610
Fix nil data passed to generated
2012-08-07 10:39:08 -05:00
Joshua Peek
a35fa88f50
Add more applescript samples
2012-08-06 10:22:38 -05:00
Joshua Peek
a13f246e4f
Update samples db
2012-08-06 09:54:40 -05:00
Karsten Silkenbäumer
b6a7b41783
Change primary extension for applescript
2012-08-05 23:51:24 +02:00
Karsten Silkenbäumer
704a3e03d6
Add type programming to applescript
2012-08-05 23:48:26 +02:00
Joshua Peek
047d23862e
Still index .txt
2012-08-03 16:34:53 -05:00
Joshua Peek
804e23e995
Extract seperate language detection method
2012-08-03 16:03:06 -05:00
Joshua Peek
41b7d13aa7
Extract generated blob check into its own module
2012-08-03 15:47:50 -05:00
Joshua Peek
4531103033
Forgot to move hidden samples to the correct dir
2012-08-03 15:25:38 -05:00
Joshua Peek
16a67cb852
Move shebang detection into classifier
...
Fixes #203
2012-08-03 15:07:36 -05:00
Joshua Peek
fbbaff09cd
Stop treating text as a language
2012-08-03 13:55:51 -05:00
Joshua Peek
6014bd015e
Change find_by_filename api to return all matching languages
2012-08-03 13:53:12 -05:00
Joshua Peek
22efcf7aff
Update samples db
2012-07-24 11:51:37 -05:00
Joshua Peek
e5d302459f
Fix tokenzing empty strings
2012-07-24 11:49:29 -05:00
Joshua Peek
7aac87681b
Add brackets to tokens
2012-07-24 11:28:46 -05:00
Joshua Peek
53300ca581
Add brackets to tokens
2012-07-24 11:28:27 -05:00
Joshua Peek
52833b58d5
Rebuild samples db
2012-07-24 11:23:42 -05:00
Joshua Peek
f5705eaf38
Parse float tokens
2012-07-24 11:23:06 -05:00
Joshua Peek
e2a91bba3e
json extension is provided by samples
2012-07-24 11:12:57 -05:00
Joshua Peek
be1340bafc
Add a few more json samples
2012-07-24 11:12:33 -05:00
Joshua Peek
9777798cf7
Move max json into json samples
2012-07-24 11:10:57 -05:00
Joshua Peek
b7c4d96e5f
Max extensions are already covered by samples
2012-07-24 11:05:08 -05:00
Joshua Peek
e816a0a1b1
Update samples db
2012-07-24 11:04:24 -05:00
Joshua Peek
059f661eb6
Rename Max/MSP to Max
2012-07-24 11:03:09 -05:00
Nicolas Danet
9f782fc261
Update lib/linguist/languages.yml
2012-07-24 12:25:03 +03:00
Nicolas Danet
5c2bdfd733
Add extensions for Max/MSP
2012-07-24 09:03:06 +03:00