Commit graph

223 commits

Author SHA1 Message Date
David Tolnay d8c77fa5f6 Update to serde_json 0.8.4 (#85) 2016-12-08 23:31:35 +00:00
Tuncer Ayaz 698e79aa15 Differentiate between bash and sh (#84)
It is more accurate to not consider bash and sh to be the same.  Bash is
a superset of sh. Same goes for tcsh, zsh, fish, rc, es, etc.
2016-12-04 20:58:48 +00:00
Aaron Power ca9d1926fe Fixed serialisation features 2016-12-03 13:22:56 +00:00
GungnirInd 05104778b1 Add GDScript support (#81)
* Add GDScript support

* Improved GDScript support

Fixed name capitalization, added quotes section
2016-11-30 20:46:55 +00:00
Aaron Power ce1cae2178 Update README.md 2016-11-28 12:26:11 +00:00
Aaron Power b0ed88636e Update README.md 2016-11-28 08:14:47 +00:00
Aaron Power c659808897 Added CI from rust-everywhere 2016-11-28 08:10:05 +00:00
Aaron Power bf304dd8eb Fix for languages with no single line comments panicing 2016-11-27 18:13:30 +00:00
Aaron Power 02c8ebe122 Version bump 2016-11-27 17:54:46 +00:00
Aaron Power f732e7cb0d Implemented fix for Sender never dropping Special thanks to: mbrubeck 2016-11-27 17:54:08 +00:00
Aaron Power a0b12fc4a2 included build file 2016-11-27 16:35:33 +00:00
Aaron Power 9c0e7a204f Version bump, updated README, and CHANGELOG 2016-11-27 16:24:41 +00:00
Aaron Power 913752de0c Switched to using ignore, more parallelisation 2016-11-27 15:57:22 +00:00
Aaronepower a72121f67b Added heuristics 2016-11-26 16:33:28 +00:00
Łukasz Jan Niemier 04f6e1e3e4 Add Elixir support (#78) 2016-11-26 15:36:15 +00:00
Michael Bryan ed4f89816d Exit gracefully instead of panicking when using a feature that isn't compiled in (#77)
* fix: Exit gracefully instead of panicking when trying to use features

* removed an unnecessary empty line

* Added logging of any errors encountered writing to stderr.
2016-11-26 14:19:52 +00:00
Mack Stump 24fec6788f Only add regular files to path list (#75)
* only add regular files to path list

This fixes multiple issues. Before this commit, a directory with
a known file extension in its name would be added to the list of
"files" to open and read from. Another issue occurred with broken
symbolic links being added to the files list.

* add test to ensure directories not treated as file

* replace `unwrap()` with `rs_error!`
2016-11-15 22:09:10 +00:00
Aaron Power 8f028b7aac updated docs link to docs.rs 2016-10-27 11:59:56 +01:00
Aaronepower 9699db777e Version bump 2016-10-27 00:56:18 +01:00
Aaronepower 5fab02a76d Simplified language definitions. 2016-10-27 00:55:22 +01:00
Liigo Zhuang f0287837b3 Added long verbose arg name (#74) 2016-10-21 19:56:33 +00:00
not-fl3 94ac1f6f2c Added support for elm (#71) 2016-10-15 16:32:35 +00:00
Sven-Hendrik Haase d98133347e Added GLSL support (#72) 2016-10-15 15:47:59 +00:00
Gabriel Ebner 9faa8d4210 Add support for lean, and fixed single comment regression (#70)
* Add Lean

* Handle single-line comments inside multi-line ones.
2016-09-29 23:42:31 +01:00
Aaron Power 5ced28ab86 fixed regression where lines and files weren't being sorted 2016-09-26 14:57:25 +01:00
llogiq 2fffe17787 pulled two if statements together and removed one needless reference (#69) 2016-09-22 18:59:13 +01:00
Xavier Payn 0b7a2493b6 add .pm to Perl extensions (#66) 2016-09-21 10:18:52 +01:00
Corentin Henry c9ca419b71 support tcl (#64) 2016-09-21 01:44:07 +01:00
Aaron Power 86c4517977 Update CHANGELOG.md 2016-09-20 23:20:42 +01:00
Aaron Power f73091587b Update README.md 2016-09-20 23:15:47 +01:00
Aaronepower 3c3da8f8f3 fixed typo in cargo.toml 2016-09-20 22:59:45 +01:00
Aaronepower 073c64fc72 updated cargo.lock 2016-09-20 22:57:35 +01:00
Aaron Power 4541d2f394 Version bump, and updated changelog 2016-09-20 22:57:34 +01:00
Aaronepower 1839132aa5 Changed logging behaviour based on feedback. 2016-09-20 22:26:25 +01:00
Aaronepower 2e5c46d71a Enabled logging, using log & env_logger. Fixes #54 2016-09-20 21:49:47 +01:00
Aaronepower 9ec7499a2d Added encoding dependency, so now tokei can handle all files that encoding supports, fixes #53 2016-09-17 22:45:37 +01:00
Matthew Williamson 3f5fb6ca11 Fixes issue #52 (#61)
Modification on comments:
Batch - Add ::
Lisp - Comments can be nested (www.rosettacode.org/wiki/Comments#Common_Lisp)
Python - Reverted to hash, based on comment thread from pull #59 as
string has a return value

Changes to the quotes
Assembly - Uses ' ' or " "
Bash - Uses ' ' or " "
Batch - They don't use quotes for strings
Cold Fusion - Uses ' ' or " "
D - Uses " " or
Dart - Uses " " or ' ' or """ """ or ''' '''
Forth - Uses " " but new, doesn't have a preset
Fortrans - Use " " or ' '
Idris - Uses " " or """ """
Julia - Uses " " or """ """
Kotlin - Uses " " or """ """
Moustache - Uses " " or ' '
Nim - Uses " " or """ """
Pascal - Uses ' '
Perl - Uses " " or ' '
Php - Uses " " or ' '
Python - Uses " " or ' ' or """ """ or ''' '''
Ruby - Uses " " or ' '
Sass - Uses " " or ' '
Sql - Uses ' '
Toml - Uses " " or ' ' or """ """ or ''' '''
Typescript - Uses " " or ' ' or
Vimscript - Uses " " or ' '
Yaml - Uses " " or ' '
Zsh - Uses " " or ' '
2016-09-11 12:15:29 +01:00
Matthew Williamson d13af4d177 Made a series of modifications to the languages comments: (#59)
* Made a series of modifications to the comments:

	Clojure - Removed #
	Forth   - ( Comment) style comments need a space after the opening paren
	Haskell - Has nested comments
        Idris - Has nested comments
	Jai     - Has nested block comments
	Julia   - Has nested block comments
	Kotlin  - Has nested block comments
	Pascal  - Pascal should be multiline from { or (* to } or *)
	Perl    - Perl5 and earlier for multiline comments need =pod to =cut.
	Python  - Python can use """ or ''' for comments
	Swift   - Has nested block comments
2016-09-10 18:57:43 +01:00
Aaronepower 5f86629e17 fixes #57 2016-09-10 11:15:49 +01:00
Aaronepower 0da50fc544 fixes #58 2016-09-10 11:11:28 +01:00
Aaron Power dc1fe7bf1f Support lossy over strict utf8 2016-09-09 14:34:42 +01:00
Liigo Zhuang df2689a2d5 Avoid panicking on non-character-boundary inside string slice (#56)
Fixes #55
2016-09-09 07:38:59 +01:00
Aaronepower bfc80d5b69 fixed regression, moved to tempdir for testing. 2016-09-08 20:52:11 +01:00
Aaron Power e2b7328275 add hex ihex rst 2016-08-30 17:54:45 +01:00
Aaron Power 88bc1935c8 Added Asp, Asp.NET, Assmebly extension, Razor 2016-08-23 09:10:50 +01:00
Aaronepower 704e47a01a updated changelog 2016-08-21 20:45:13 +01:00
Aaronepower 2b75021a8d Merge branch 'tune-up' 2016-08-21 20:29:44 +01:00
Aaronepower 68c62f8dc2 4.2.0 fixes #51 2016-08-21 20:24:00 +01:00
Aaron Power e1a4529e2d Implmented stack based functionality 2016-08-16 17:35:22 +01:00
Aaronepower e2d3de4a2e half completed rework of handling multilines 2016-08-16 00:34:58 +01:00