Commit Graph

275 Commits

Author SHA1 Message Date
Alfredo Beaumont
29cbadf9c5
Merge pull request #134 from abeaumont/fix/check-empty-filenames
Fix crash by checking for empty filenames
2017-12-12 10:34:31 +01:00
Alfredo Beaumont
c590beb039 common: Return nil on empty filenames
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-12-07 16:45:19 +01:00
Alfredo Beaumont
a7cfa65953 tests: Add testcases for empty filenames
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-12-07 16:42:02 +01:00
Juanjo Alvarez Martinez
97be58ff4a
Merge pull request #133 from juanjux/feature/compiled_osxcross
Use a precompiled package for osxcross for CI.
2017-11-21 16:03:58 +01:00
Juanjo Alvarez
bb027340fb
Use a precompiled package for osxcross for CI.
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
2017-11-21 15:29:36 +01:00
Alfredo Beaumont
acaf8f3d38
Merge pull request #131 from abeaumont/fix/bump-enry-java-version
enry-java: Bump version to 1.6.1
2017-11-10 13:17:23 +01:00
Alfredo Beaumont
7c00dc5480 enry-java: Bump version to 1.6.1
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-11-10 13:15:56 +01:00
Alfredo Beaumont
c256de15c1
Merge pull request #130 from mcarmonaa/fix/get-header-footer
Fixing getHeaderAndFooter issues
2017-11-10 09:37:39 +01:00
Manuel Carmona
0984e07415 use of go 1.9.x in travis
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
2017-11-08 14:41:31 +01:00
Manuel Carmona
5dad184af0 check for empty content in getHeaderAndFooter function
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
2017-11-08 14:41:31 +01:00
Manuel Carmona
8ddce8bc4b Added cases with nil and empty content to TestGetLanguagesByModeline
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
2017-11-08 14:41:31 +01:00
Manuel Carmona
f6649550f0 fixed test for GetLanguagesByShebang function
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
2017-11-08 14:41:31 +01:00
Manuel Carmona
da7dbb7211 synchronized data/ directory
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
2017-11-08 14:41:31 +01:00
Alfredo Beaumont
ce5adee8ab Merge pull request #113 from vmarkovtsev/master
Use rubex for faster regular expressions
2017-10-26 18:03:43 +02:00
Vadim Markovtsev
b66d54eaec Do not run Travis jobs with ONIGUMURA by default
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:47:52 +02:00
Alfredo Beaumont
b92be473c4 Merge pull request #114 from vmarkovtsev/patch-2
Add the external test linguist dir from env var
2017-10-26 17:08:58 +02:00
Vadim Markovtsev
8eb17ebd11 Improve the Makefile
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
db0e1e0d71 Fix readme flaws
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
52ab47de4d Add the readme
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
b087f85697 Add two-engine tests
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
e8d150c4fd Add optional activation of rubex/onigumura
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
a66154b7eb Make tokenizer regexps work under rubex
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
09d6add804 Fix review
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:02:58 +02:00
Vadim Markovtsev
c97a180da5 Fix review suggestions
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 15:51:02 +02:00
Alfredo Beaumont
91c074ea1d Merge pull request #127 from setekhid/master
make IsDotFile do not treat '.' as true
2017-10-18 12:49:43 +02:00
Alfredo Beaumont
0c9a81b5cb Merge pull request #128 from abeaumont/feature/add-dco
legal: Add DCO
2017-10-18 10:53:55 +02:00
Alfredo Beaumont
247e7cf378 legal: Add DCO
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-10-18 10:52:29 +02:00
Huitse Tai
a786f6175e patch IsDotFile function compatible with both '.' and '..'
Signed-off-by: Huitse Tai <geb.1989@gmail.com>
2017-10-18 12:50:33 +08:00
Huitse Tai
887bc6a4be make IsDotFile do not treat '.' as true
Signed-off-by: Huitse Tai <geb.1989@gmail.com>
2017-10-18 12:18:52 +08:00
Alfredo Beaumont
c2ec7add03 Merge pull request #126 from dpordomingo/shared-folder-rename
Rename .shared folder
2017-10-17 10:40:42 +02:00
David Pordomingo
eb0817ad9a
Use .docsrv-resources instead of .shared foldername to avoid problems with Travis and sbt
Signed-off-by: David Pordomingo <David.Pordomingo.F@gmail.com>
2017-10-17 07:07:08 +02:00
Alfredo Beaumont
7be1324529 Merge pull request #125 from abeaumont/feature/bump-enry-java-version
enry-java: Bump version to 1.5.2
2017-10-16 16:32:23 +02:00
Alfredo Beaumont
f3aafaf1e0 enry-java: Bump version to 1.5.2
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-10-16 16:31:25 +02:00
Alfredo Beaumont
1c163c5dae Merge pull request #124 from dpordomingo/docsrv
Implement Docsrv
2017-10-16 16:19:42 +02:00
David Pordomingo
54de51acf7
Cleanup
Signed-off-by: David Pordomingo <David.Pordomingo.F@gmail.com>
2017-10-16 15:47:11 +02:00
David Pordomingo
ca5f3d9fd6
Implement docsrv
Signed-off-by: David Pordomingo <David.Pordomingo.F@gmail.com>
2017-10-16 08:40:51 +02:00
Alfredo Beaumont
c73f347afa Merge pull request #123 from abeaumont/feature/bump-java-artifact-version
java: Bump enry-java version to 1.5.1
2017-10-05 16:41:02 +02:00
Alfredo Beaumont
e97299ec08 java: Bump enry-java version to 1.5.1 2017-10-05 16:28:46 +02:00
Alfredo Beaumont
59b2393d28 Merge pull request #122 from abeaumont/feature/enry-java-maven-central-instructions
enry-java: Add instructions to include enry-java as a dependency.
2017-10-05 16:24:59 +02:00
Alfredo Beaumont
f710460ae4 docs: Replace enry-java version literal by a variable.
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-10-05 15:37:09 +02:00
Alfredo Beaumont
e2a58f0984 enry-java: Add instructions to include enry-java as a dependency.
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-10-05 10:22:41 +02:00
Alfredo Beaumont
ac3b1316c4 Merge pull request #121 from abeaumont/feature/improve-name-explanation
docs: Improve explanation of the origin of the name.
2017-10-04 18:07:34 +02:00
Alfredo Beaumont
241f4454c4 docs: Improve explanation of the origin of the name.
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-10-04 17:48:13 +02:00
Alfredo Beaumont
1d9702d98e Merge pull request #120 from juanjux/fix/readme_grammar
Grammar and style changes.
2017-10-04 17:45:29 +02:00
Juanjo Alvarez
71b516a7bd
tmp
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
2017-10-04 17:25:03 +02:00
Juanjo Alvarez
6b2c55abb2
Grammar and style changes.
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
2017-10-04 17:25:01 +02:00
Alfredo Beaumont
8069f1b32e Merge pull request #119 from abeaumont/feature/improve-readme
docs: Some README fixes
2017-10-04 17:05:12 +02:00
Alfredo Beaumont
9caa35ac2e docs: Some README fixes
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-10-04 16:53:26 +02:00
Alfredo Beaumont
1324e52107 Merge pull request #118 from abeaumont/feature/sync-with-linguist
data: Sync with linguist
2017-10-04 16:48:28 +02:00
Alfredo Beaumont
fd25e6d201 data: Sync with linguist
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-10-04 16:26:56 +02:00