Joshua Peek
ebd6077cd7
Add wrap flag to text languages
2012-10-07 15:34:13 -05:00
Joshua Peek
04cc100fba
Rebuild samples db
2012-09-24 10:52:05 -05:00
Joshua Peek
31e33f99f2
Ensure lang is skipped on any binary file
2012-09-24 10:51:39 -05:00
Joshua Peek
d96dd473b8
Rebuild samples db
2012-09-24 10:12:18 -05:00
Joshua Peek
f9066ffb7b
Sort exts and filenames
2012-09-24 10:12:05 -05:00
Joshua Peek
945941d529
Update samples db
2012-09-24 10:07:58 -05:00
Justin Palmer
aa069a336f
add color to ecl language
2012-09-20 15:16:06 -07:00
Justin Palmer
662fc2ee9d
Merge remote-tracking branch 'rengolin/ecl'
2012-09-20 15:07:41 -07:00
Ryan Tomayko
887a050db9
Only search the first 4K chars for \r
2012-09-10 01:56:08 -07:00
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
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