Commit Graph

3491 Commits

Author SHA1 Message Date
Visgean Skeloru
9903edf3b2 + .wsgi extension - containing python code 2011-07-13 07:05:00 -07:00
Alex Zimin
8d5232be6b Merge remote-tracking branch 'forkorigin/master' into detect-nemerle-language
Conflicts:
	lib/linguist/mimes.yml
	test/test_blob.rb
2011-07-09 00:16:19 +08:00
Alex Zimin
1af6112471 Detect Nemerle language 2011-07-08 12:03:11 +08:00
Joshua Peek
e56f04bc81 Mark Matlab as programming 2011-07-07 11:06:57 -05:00
Joshua Peek
bb8244a33e Merge branch 'master' of github.com:github/linguist 2011-07-07 10:48:25 -05:00
Joshua Peek
d886722de5 Ensure scheme extensions are treated as plain text 2011-07-07 10:47:58 -05:00
Andreas Bolka
3185c66518 REBOL is a programming language
Signed-off-by: Andreas Bolka <a@bolka.at>
2011-07-06 17:39:50 +02:00
Joshua Peek
61022a3a30 Tex is markup 2011-07-06 10:20:52 -05:00
Joshua Peek
04179de2f6 Note where tests are 2011-07-06 10:18:01 -05:00
Joshua Peek
10a39fc09e Don't index python traceback 2011-07-06 10:04:46 -05:00
Joshua Peek
be58fc4f7f data type 2011-07-06 10:03:34 -05:00
Joshua Peek
86be463cd9 Mark JSON as not searchable 2011-07-06 09:58:08 -05:00
Joshua Peek
d3a3358402 Fix instance methods check on 1.9 2011-07-06 09:20:17 -05:00
Vladimir Panteleev
203326b613 Add .dpr (Delphi project) to Delphi extensions 2011-07-06 03:38:34 -07:00
softprops
29dc47dfb7 Merge branch 'master' of git://github.com/github/linguist into detect-sbt-as-scala-lang 2011-07-05 22:21:29 -04:00
softprops
3e93fe091f sbt build files 2011-07-05 22:18:16 -04:00
Joshua Peek
daf9f79e89 *Mark*up 2011-07-05 19:17:24 -07:00
Joshua Peek
8f46cd0748 Try to classify language types 2011-07-05 20:48:06 -05:00
Joshua Peek
6611f174e5 Dispatch to ambiguous language guess method 2011-07-05 20:11:07 -05:00
Joshua Peek
32dfa5a2dd .h is ambiguous 2011-07-05 19:56:29 -05:00
Joshua Peek
1e453a22b5 Be explicit about ambiguous extensions 2011-07-05 19:51:54 -05:00
Joshua Peek
d984640546 Merge pull request #35 from github/pygments-new-lines
Preserve new lines for syntax highlighting
2011-07-05 14:47:03 -07:00
Joshua Peek
96a14e795b Merge branch 'detect-prolog' of https://github.com/tautologico/linguist into tautologico-detect-prolog
Conflicts:
	lib/linguist/blob_helper.rb
	test/test_blob.rb
2011-07-05 16:06:22 -05:00
Joshua Peek
4a18078c5d Remove duplicate .bash extension 2011-07-05 15:59:01 -05:00
Joshua Peek
93330c5be3 Preserve new lines for syntax highlighting 2011-07-05 15:50:33 -05:00
Bryce "BonzoESC" Kerley
e3d0028ff3 Added .zsh and .bash extensions to the Shell language definition. 2011-07-05 13:43:11 -07:00
Andrei Formiga
b3e7065972 Added detection for Prolog and disambiguation for .pl files 2011-07-05 17:33:28 -03: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
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
18fc137c96 Merge pull request #29 from supahgreg/addJSMextension
Added .JSM (JavaScript Module) to JavaScript's extension list.
2011-07-02 18:29:15 -07: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
Christopher Manning
fe2f26d02e Quote extension to prevent yaml from incorrectly casting the values
Fixes #26
2011-07-02 20:09:40 -05:00
supahgreg
dcb1bdba92 Added .JSM (JavaScript Module) to JavaScript's extension list. 2011-07-02 20:07:53 -05:00
Joshua Peek
7f6494be1a Simpler lexer yaml format
Fixes #25
2011-07-02 20:07:34 -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
521bb9b9b2 major should only be set by staff 2011-06-28 11:26:42 -07:00
Joshua Peek
58e99aa5aa Test blank file 2011-06-28 09:26:35 -05:00
Joshua Peek
0576f1742f Merge pull request #14 from jtyost2/patch-1
Edited PHP extensions, added .ctp for CakePHP projects.
2011-06-28 07:13:11 -07:00
Joshua Peek
a527bf83b0 Merge pull request #13 from meh/master
Add .rbuild as Ruby extension
2011-06-28 07:12:28 -07:00
Joshua Peek
e1a446d245 Not major yet 2011-06-28 09:11:58 -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
Joshua Peek
98badaeed2 Fancy lexer can be implicit 2011-06-28 09:10:50 -05:00
Konstantin Haase
4202a2a402 add support for Fancy 2011-06-28 15:04:57 +02:00
Justin Yost
ee432993cb Edited PHP extensions, added .ctp for CakePHP projects. 2011-06-27 23:25:26 -07:00
meh
934cfaf944 Add .rbuild as Ruby extension 2011-06-28 07:52:55 +02:00
Jay Anderson
cf70cd7eb3 Move LilyPond after LLVM. 2011-06-27 21:48:55 -07:00
Jay Anderson
59ed20e153 Alphabetical order. 2011-06-27 21:45:44 -07:00
Jay Anderson
a5ff16c1dc Detect lilypond language. 2011-06-27 20:19:39 -07:00
Carlos Galdino
176aad0259 fixing typo 2011-06-27 20:47:44 -03:00