Commit graph

825 commits

Author SHA1 Message Date
dependabot-preview[bot] bb6f2e1d68 Bump regex from 1.3.6 to 1.3.7
Bumps [regex](https://github.com/rust-lang/regex) from 1.3.6 to 1.3.7.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.3.6...regex-1.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 05:31:38 +00:00
dependabot-preview[bot] 3639efe5b7 Bump dashmap from 3.11.0 to 3.11.1
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/compare/v3.11.0...v3.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 05:09:20 +00:00
Lucas Menezes a98eda4f3c
Added Headache Program Language (#503) 2020-04-18 22:56:00 +02:00
Troels Henriksen 1a5c38dd7b
Add Futhark (#502) 2020-04-16 22:32:24 +02:00
Erin Power 5225f61d75 Add OpenType Feature File 2020-04-15 18:38:12 +02:00
XAMPPRocky 95405c623a
Don't make pre-releases when deploying 2020-04-14 19:56:59 +02:00
Erin Power c33dfe5749 Version bump to 11.1.0 and update dependencies 2020-04-14 01:14:37 +02:00
dependabot-preview[bot] 932c3ed943
Bump git2 from 0.13.0 to 0.13.2 (#499)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.0 to 0.13.2.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.13.0...0.13.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-14 01:07:45 +02:00
dependabot-preview[bot] 707c36d288
Bump parking_lot from 0.10.0 to 0.10.2 (#500)
Bumps [parking_lot](https://github.com/Amanieu/parking_lot) from 0.10.0 to 0.10.2.
- [Release notes](https://github.com/Amanieu/parking_lot/releases)
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.10.0...0.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-13 17:27:33 +02:00
dependabot-preview[bot] fcf679eab1
Bump dashmap from 3.10.0 to 3.11.0 (#497)
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/compare/v3.10.0...v3.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-11 14:51:33 +02:00
dependabot-preview[bot] ad77662158
Bump dashmap from 3.9.1 to 3.10.0 (#495)
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 3.9.1 to 3.10.0.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/compare/v3.9.1...v3.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-07 18:27:05 +02:00
dependabot-preview[bot] 31c03f1011 Bump serde from 1.0.105 to 1.0.106
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.105 to 1.0.106.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.105...v1.0.106)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 06:36:34 +00:00
dependabot-preview[bot] bb50208296 Bump serde_json from 1.0.50 to 1.0.51
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.50 to 1.0.51.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.50...v1.0.51)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 05:06:46 +00:00
Jiayu Liu cabc217640
fixing some minor typos within test strings (#493) 2020-04-03 18:17:19 +02:00
Erin Power c4a4734967 Fixed stats statistics and add test 2020-04-02 18:18:37 +02:00
Erin Power d438d8aadf Fixed total lines in individual stats being slightly inaccurate 2020-04-02 17:35:47 +02:00
Ivan Tham 38a6c96460
Check option in outer loop (#487)
* Check option in outer loop

Reduce the number of option checks by not distributing it at first.

* Restructure fs iterator
2020-04-02 10:45:11 +02:00
dependabot-preview[bot] 9f7a5f6b61 Bump dashmap from 3.9.0 to 3.9.1
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/compare/v3.9.0...v3.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-01 05:14:05 +00:00
dependabot-preview[bot] e0ceca1351 Bump serde_json from 1.0.48 to 1.0.50
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.48 to 1.0.50.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.48...v1.0.50)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 16:21:45 +00:00
XAMPPRocky e07223d64a
Fix dependabot triggering CI twice. 2020-03-30 17:36:07 +02:00
dependabot-preview[bot] 34c40f939b
Bump dashmap from 3.7.0 to 3.9.0 (#485)
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 3.7.0 to 3.9.0.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/compare/v3.7.0...v3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 12:12:39 +02:00
Ivan Tham 7d143f1c19
Fast exit parse_end_of_quote with ? operator (#486) 2020-03-30 10:46:33 +02:00
dependabot-preview[bot] 07d4759dd4
Bump ignore from 0.4.13 to 0.4.14 (#483)
Bumps [ignore](https://github.com/BurntSushi/ripgrep) from 0.4.13 to 0.4.14.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/ignore-0.4.13...ignore-0.4.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 08:08:53 +02:00
XAMPPRocky 8562963468
Update language_type.hbs.rs 2020-03-29 18:08:42 +02:00
XAMPPRocky 38f4727f07
Add single quotes syntax to Rust.
fixes #482
2020-03-29 09:56:33 +02:00
Ruben De Smet da8053c96e
Add Arduino support (#475)
* Add Arduino support

Fixes #474

* Add Arduino test file
2020-03-27 08:08:39 +01:00
Daniel Luque 337b7b4d8d
Adds support for Ren'Py scripting (#477) 2020-03-27 08:07:59 +01:00
Andy Georges 1425c670a7
feat: add support for the Pan DSL (#479) 2020-03-26 19:39:45 +01:00
dependabot-preview[bot] 4716517d48
Bump regex from 1.3.5 to 1.3.6 (#476)
Bumps [regex](https://github.com/rust-lang/regex) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.3.5...1.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-25 09:32:15 +01:00
solanav 5cf5bd235b
Fix shebang language detection (#471)
* Add property shebang_paths to languages.json

* Fix shebang detection bug

* Add from_file_extension and from_shebang_path to language detection

* Fix shebang function names and OR matching in hbs

* Small clarity fix

* Fix shebang env detection and from_shebang documentation

* Change from_shebang argument to be generic
2020-03-23 10:25:00 +01:00
dependabot-preview[bot] d0e9f75b23
Bump ignore from 0.4.12 to 0.4.13 (#473)
Bumps [ignore](https://github.com/BurntSushi/ripgrep) from 0.4.12 to 0.4.13.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/ignore-0.4.12...ignore-0.4.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-23 07:36:48 +01:00
Steve Lee 386cfce329
Updated README.md to reflect support languages (#470)
* List PowerShell as a supported language

* update README to names from languages.json
2020-03-22 18:52:51 +01:00
Albert Attard 3a1ffbb35f
Added an article (#469) 2020-03-22 11:35:48 +01:00
XAMPPRocky 7094fb234f
Update README.md 2020-03-21 22:36:51 +01:00
XAMPPRocky a3bf9d2470
Update README.md 2020-03-21 21:52:53 +01:00
XAMPPRocky 8571556bf4
Update README.md 2020-03-21 15:56:17 +01:00
Erin Power e3553a44f7 Version 11.0.0
**Added languages**

- @bwidawsk GNU Assembly, GDB Script
- @isker Dust, Apache Velocity
- @andreblanke FreeMarker

Thanks to some major internal refactoring, Tokei has received significant
performance improvements, and is now one of the fastest code counters across any
size of codebase. With Tokei 11 showing up to 40–60% faster results than tokei's
previous version. To showcase the improvements I've highlighted benchmarks
of counting five differently sized codebases. Redis (~220k lines), Rust (~16M
lines), and the Unreal Engine (~37.5M lines). In every one of these benchmarks
Tokei 11 performed the best by a noticeable margin.

*All benchmarks were done on a 15-inch MacBook Pro, with a 2.7GHz Intel Core i7
processor and 16GB 2133 MHz LPDDR3 RAM running macOS Catalina 10.15.3. Your
mileage may vary, All benchmarks were done using [hyperfine], using default
settings for all programs.*

[hyperfine]: https://github.com/sharkdp/hyperfine

 ### Tokei
**Note** This benchmark is not accurate due to `tokei` and `loc` both taking
less than 5ms to complete, there is a high degree of error between the times and
should mostly be considered equivalent. However it is included because it is
notable that `scc` takes nearly 3x as long to complete on smaller codebases
(~5k lines).
![Graph comparing programs running on the tokei source code](https://docs.google.com/spreadsheets/d/e/2PACX-1vRN2Um3G9Mn4Bg6UVWwgntsMy4faZMIP3EDjAfY5Y6Tav7T5z1TxVKmPu7wUNIpUSsSJDfCNH0SAKBB/pubchart?oid=1242634543&format=image)

 ### Redis
![Graph comparing programs running on the redis source code](https://docs.google.com/spreadsheets/d/e/2PACX-1vRN2Um3G9Mn4Bg6UVWwgntsMy4faZMIP3EDjAfY5Y6Tav7T5z1TxVKmPu7wUNIpUSsSJDfCNH0SAKBB/pubchart?oid=2009389097&format=image)

 ### Rust
![Graph comparing programs running on the rust source code](https://docs.google.com/spreadsheets/d/e/2PACX-1vRN2Um3G9Mn4Bg6UVWwgntsMy4faZMIP3EDjAfY5Y6Tav7T5z1TxVKmPu7wUNIpUSsSJDfCNH0SAKBB/pubchart?oid=424069399&format=image)

 ### Unreal
![Graph comparing programs running on the unreal source code](https://docs.google.com/spreadsheets/d/e/2PACX-1vRN2Um3G9Mn4Bg6UVWwgntsMy4faZMIP3EDjAfY5Y6Tav7T5z1TxVKmPu7wUNIpUSsSJDfCNH0SAKBB/pubchart?oid=439405321&format=image)
2020-03-21 14:44:01 +01:00
Erin Power 80584764d7 Remove old comparison document 2020-03-21 13:12:15 +01:00
Erin Power a8afa67057 Add parallel count heuristic 2020-03-21 13:12:15 +01:00
XAMPPRocky 2a3f735260
Set bash shell on windows. 2020-03-21 07:15:03 +01:00
XAMPPRocky 046482fd91
Remove 32bit Apple platforms 2020-03-21 07:12:18 +01:00
Erin Power cc6fc12490 Use thinLTO 2020-03-20 18:44:53 +01:00
Erin Power bdd1431a2c refactor SyntaxCounter to be concurrent, and share language information. 2020-03-20 18:44:53 +01:00
dependabot-preview[bot] 2e12cf6faa
Bump serde from 1.0.104 to 1.0.105 (#466)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.104...v1.0.105)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-19 10:18:25 +01:00
Erin Power 16008c93d8 update mailmap 2020-03-18 11:28:47 +01:00
XAMPPRocky 69ad12f964
Create .mailmap 2020-03-18 11:24:14 +01:00
XAMPPRocky c18712be71
Update CONTRIBUTING.md 2020-03-18 11:21:39 +01:00
Erin Power 12e47836b1 Remove base property, use AhoCorasick for searching 2020-03-18 05:55:54 +01:00
Erin Power f356d27ab2 Format JSON 2020-03-18 04:11:46 +01:00
Erin Power a536707b9e Use aho_corasick and fix escaping applying outside the string context. 2020-03-18 01:58:44 +01:00