Commit Graph

338 Commits

Author SHA1 Message Date
Andrei Formiga
b3e7065972 Added detection for Prolog and disambiguation for .pl files 2011-07-05 17:33:28 -03:00
Joshua Peek
aaed4ee1d4 Uncomment test 2011-07-05 09:45:20 -05:00
Rok Žlender
111ebe3c80 Identify php files by first line
Fixes #32
2011-07-05 09:43:48 -05:00
Joshua Peek
5ecc4421d7 Basic Matlab detection
Fixes #15
2011-07-05 09:34:33 -05:00
bilderbuchi
cc3692b320 Add simple test fixtures for Matlab. 2011-07-05 22:14:37 +08:00
Joshua Peek
074a77e649 Allow any enum to be passed to Repository for stat collecting
Fixes #28
2011-07-02 20:54:05 -05:00
Joshua Peek
aeef1d8f33 JS is minified if its average line length is greater than 100c
Fixes #27
2011-07-02 20:28:42 -05:00
Andreas Bolka
2707d1db67 Guess if .r is R or REBOL
.r is the default extension used widely for both, R and REBOL. This
patch attempts to guess if .r is a REBOL file by looking for the
following very common REBOL code fragments:

- `REBOL`
- `: func [`
- `make object! [`
- `context [`

If any of those is found in a .r file, it is identified as a REBOL file.
Otherwise the language for a .r file is R.

Signed-off-by: Andreas Bolka <a@bolka.at>
2011-06-29 01:42:50 +02:00
Joshua Peek
58e99aa5aa Test blank file 2011-06-28 09:26:35 -05:00
Joshua Peek
3513be30f9 Merge pull request #11 from horndude77/detect-lilypond-language
Detect lilypond language.
2011-06-28 07:11:30 -07:00
Konstantin Haase
4202a2a402 add support for Fancy 2011-06-28 15:04:57 +02:00
Jay Anderson
a5ff16c1dc Detect lilypond language. 2011-06-27 20:19:39 -07:00
Joshua Peek
ebba204ba3 Check for multiline shebang script hacks
Fixes #8
2011-06-27 17:35:48 -05:00
Joshua Peek
c504c4f55a Add test for Scribble 2011-06-27 14:55:15 -05:00
Joshua Peek
ddb629b63a Highlight .gradle files as Groovy 2011-06-25 13:50:41 -05:00
Joshua Peek
6f03cfc67c Assume utf8 when serving raw text blobs 2011-06-23 16:51:03 -05:00
Joshua Peek
69f4c9cc6e Rename major to common 2011-06-22 10:37:20 -05:00
Joshua Peek
a881cde6fd Add language groups 2011-06-22 10:07:37 -05:00
Joshua Peek
876265e8f3 Return nil if no Language if found 2011-06-18 21:49:02 -05:00
Joshua Peek
063bf21c66 Return nil if no Language is found 2011-06-18 20:57:58 -05:00
Joshua Peek
7c2a8874a3 Return nil if no Language is found 2011-06-18 20:45:49 -05:00
Joshua Peek
a75a57eb5e Make Language name finder case sensitive 2011-06-18 20:29:47 -05:00
Joshua Peek
80473e5849 Case-sensitive lexer name lookup 2011-06-18 20:19:34 -05:00
Joshua Peek
cfb952b867 Proper lexer casing 2011-06-18 20:19:10 -05:00
Joshua Peek
e8c09e91d5 Add find lexer by mimetype 2011-06-18 20:09:11 -05:00
Joshua Peek
4304d3858a Define legacy MiniD language for old search results 2011-06-16 09:55:36 -05:00
Joshua Peek
d827a807f7 Add rb alias to Ruby 2011-06-16 09:55:09 -05:00
Joshua Peek
53ef5c1b89 More language aliases tests 2011-06-16 09:54:51 -05:00
Joshua Peek
2bcae1e2d1 Add iWork mime types 2011-06-16 08:56:13 -05:00
Joshua Peek
5fe9701e50 Revert "Highlight SuperCollider as Smalltalk"
This reverts commit 6beb69167c.
2011-06-15 13:56:30 -05:00
Joshua Peek
6beb69167c Highlight SuperCollider as Smalltalk 2011-06-15 13:29:26 -05:00
Joshua Peek
09827c82bd Add Standard ML to languages 2011-06-15 12:54:29 -05:00
Joshua Peek
19e1064e82 Treat .cu files as .cpp 2011-06-15 12:39:41 -05:00
Joshua Peek
ccaf8639f0 Add mime type for SuperCollider 2011-06-15 12:21:29 -05:00
Joshua Peek
c1242a47ee Sort blob tests 2011-06-14 00:15:09 -05:00
Joshua Peek
46f0c8f4f0 Fix Groff extensions 2011-06-13 23:24:11 -05:00
Joshua Peek
dfceaf06be Consistent quotes 2011-06-13 22:56:51 -05:00
Joshua Peek
063c3a60fb Sort language tests 2011-06-13 22:55:01 -05:00
Joshua Peek
132067a201 Skip pygments tests if pygmentize isn't available 2011-06-13 22:06:08 -05:00
Joshua Peek
3339ab67be Sort and add some comments for mime type tests 2011-06-13 21:44:42 -05:00
Joshua Peek
5691d61b24 Add Nimrod langauge
Fixes #2
2011-06-13 17:35:17 -05:00
Joshua Peek
53af4ad8b5 Highlight OpenCL as C 2011-06-13 10:04:55 -05:00
Joshua Peek
19d10ec4ac Highlight Racket with scheme lexer 2011-06-12 18:32:42 -05:00
Joshua Peek
1fc07145b8 Lower generated line limit to 500c 2011-06-08 10:52:42 -05:00
Joshua Peek
fe525e8240 Add openoffice mime types 2011-06-08 09:27:08 -05:00
Joshua Peek
04e6a8133b Use same format as mime type lib 2011-06-08 09:17:20 -05:00
Joshua Peek
2cf7226196 Fix .pm extension 2011-06-08 08:32:19 -05:00
Joshua Peek
0d53e863df Remove blob fixture namespace 2011-06-07 10:32:23 -05:00
Joshua Peek
c7739119b3 Separate filename and extension configuration 2011-06-07 10:31:39 -05:00
Joshua Peek
0c45d67605 Add sliverlight mime types 2011-06-06 12:54:42 -05:00