Commit Graph

807 Commits

Author SHA1 Message Date
Joshua Peek
9250d46b5b Linguist 2.1.0 v2.1.0 2012-07-23 16:54:21 -05:00
Joshua Peek
6ac9138aed Remove pathname
Closes #207
2012-07-23 16:50:30 -05:00
Joshua Peek
bacfd4e832 Fix test task 2012-07-23 16:40:16 -05:00
Joshua Peek
840f6e44d9 Update samples db 2012-07-23 16:24:16 -05:00
Joshua Peek
8a933105fb Fix ruby dir 2012-07-23 16:22:28 -05:00
Joshua Peek
8535c17d98 Merge branch 'rabl' of https://github.com/remiprev/linguist into remiprev-rabl 2012-07-23 16:22:02 -05:00
Joshua Peek
fca6a9a9e1 Fix md5 nesting 2012-07-23 16:19:56 -05:00
Joshua Peek
a81105d987 Always rebuild samples 2012-07-23 16:05:20 -05:00
Joshua Peek
12d2e2ec74 Switch to json for samples db 2012-07-23 16:02:14 -05:00
Joshua Peek
f44b31148a Remove unused var 2012-07-23 15:53:32 -05:00
Joshua Peek
7b6caa0f6c Rename samples subdirectories 2012-07-23 15:52:49 -05:00
Joshua Peek
314f0e4852 Use simple yaml dump for now 2012-07-23 15:05:08 -05:00
Joshua Peek
afedf2557d Store extnames in samples.yml 2012-07-23 15:00:42 -05:00
Rémi Prévost
5497bbbd2b Add sample rabl file 2012-07-23 15:37:13 -04:00
Joshua Peek
5cda67530d Seperate test file for samples 2012-07-23 13:55:30 -05:00
Joshua Peek
447aef2183 Don't set DATA const if samples db is missing 2012-07-23 13:51:46 -05:00
Joshua Peek
6842044b52 Store md5 in samples db 2012-07-23 13:50:35 -05:00
Joshua Peek
bf944f6d1a Make classify a function on the Classifier 2012-07-23 13:47:15 -05:00
Joshua Peek
b9779e805e Move outdated check to samples 2012-07-23 13:21:30 -05:00
Joshua Peek
80e8ee7ce6 Rename Sample -> Samples 2012-07-23 13:15:27 -05:00
Joshua Peek
0c9a947f39 Load classifer db into sample data hash 2012-07-23 13:13:52 -05:00
Joshua Peek
97ae7c1a11 Move classifer db to samples.yml 2012-07-23 13:05:08 -05:00
Joshua Peek
3172bf5b46 Remove gc for now 2012-07-23 12:23:20 -05:00
Joshua Peek
5b28336d56 Move db verification into tests 2012-07-23 12:21:26 -05:00
Joshua Peek
b7f58d96cb Compare md5s of dbs 2012-07-23 12:17:32 -05:00
Joshua Peek
d6fb95b06f Add nested md5 digest 2012-07-23 12:13:08 -05:00
Joshua Peek
db88e143ba Dump classifier as plain hash 2012-07-23 11:21:55 -05:00
Joshua Peek
817e3cb946 Clobber before generating classifier 2012-07-23 11:19:33 -05:00
Joshua Peek
95c0985952 Drop defaults in classifier hash 2012-07-23 10:46:54 -05:00
Joshua Peek
13dbd76e94 Merge branch 'jeanlouisboudart-easyant' 2012-07-21 09:40:46 -05:00
Joshua Peek
8ecf2ad322 Update classifier db 2012-07-21 09:40:37 -05:00
Joshua Peek
d23ab8dcda Revert "Add easyant files support to syntax highlighting .ant and .ivy files are both XML"
This reverts commit 0b98354638.
2012-07-21 09:39:51 -05:00
Jean-Louis Boudart
1027047bc7 Add easyant sample files 2012-07-21 14:21:16 +02:00
Jean-Louis Boudart
0b98354638 Add easyant files support to syntax highlighting .ant and .ivy files are both XML 2012-07-21 14:21:03 +02:00
Joshua Peek
36da52e383 Move specific filename samples into their own dir 2012-07-20 17:20:45 -05:00
Joshua Peek
5a5d334999 Use implied extensions from samples 2012-07-20 17:07:08 -05:00
Joshua Peek
144655f2c5 Require explicit primary_extension 2012-07-20 16:54:49 -05:00
Joshua Peek
a775b00d9d Load extensions from samples 2012-07-20 16:37:46 -05:00
Joshua Peek
eb2c07e511 Sample returns simple hash objects 2012-07-20 16:17:37 -05:00
Joshua Peek
ee0ffa0516 Fix sample training 2012-07-20 15:56:16 -05:00
Joshua Peek
f461150eea Fix classifier test task 2012-07-20 15:54:41 -05:00
Joshua Peek
7292bdc180 Change Classifier to accept language name Strings 2012-07-20 15:52:27 -05:00
Joshua Peek
bc84a98b54 Set unused var to _ 2012-07-20 15:43:23 -05:00
Joshua Peek
e58f268258 Associate .module with drupal php 2012-07-20 15:42:21 -05:00
Joshua Peek
bbc5225086 Pending samples work now 2012-07-20 15:36:48 -05:00
Joshua Peek
0867e7b69b Remove old language disambiguation functions 2012-07-20 15:30:53 -05:00
Joshua Peek
2637d8dc55 Add tokenize helper to Tokenize class 2012-07-20 15:14:58 -05:00
Joshua Peek
79be8b8c67 Set unused var to _ 2012-07-20 15:07:19 -05:00
Joshua Peek
3f391c8694 Update classifier db 2012-07-20 15:06:45 -05:00
Joshua Peek
175d4244c2 Extract single and multi line comment parser 2012-07-20 15:06:21 -05:00