1
0
mirror of https://github.com/chylex/Code-Statistics.git synced 2024-11-25 06:42:45 +01:00
Commit Graph

450 Commits

Author SHA1 Message Date
899ab4516e Do minor refactoring (convert JavaFileInfo to class, rename ProcessCodeFile) 2016-02-21 22:53:01 +01:00
b1cd99d9f8 Fix new lines in debug form textbox 2016-02-21 16:18:57 +01:00
f3e590bc10 Update debug form (manual editing, load original file contents) 2016-02-21 15:59:42 +01:00
d5b589fbcb Change method signature of PrepareFiileContents to use string instead of File 2016-02-21 15:59:21 +01:00
e84c84d3d9 Remove old JavaParserTests unit test class 2016-02-21 11:50:32 +01:00
eb68401d6c Remove or comment out most old and unused Java handling classes 2016-02-21 00:18:15 +01:00
652b78dc0f Address a couple concerns from static code analysis 2016-02-20 23:46:17 +01:00
f9c982f8cc Fix debug form textbox font to use Courier New 2016-02-20 23:34:22 +01:00
8e3c3bc6ae Decrease size of tabs in the debug form textbox 2016-02-20 23:31:56 +01:00
97380fd625 Add a button to open the project debug form 2016-02-20 23:15:39 +01:00
ddac05ad5a Add a debug form that shows processed code file contents 2016-02-20 23:15:16 +01:00
49596be234 Add AbstractLanguageFileHandler.PrepareFileContents and implement in existing handlers 2016-02-20 23:15:00 +01:00
2950aaa653 Add JavaParseUtils with basic java code file processing using regex 2016-02-20 23:14:35 +01:00
f468c1c813 Make searchData in Project public 2016-02-20 22:58:33 +01:00
c33fa48377 Use IOUtils.IsDirectory in FileSearch 2016-02-20 15:39:57 +01:00
21e5bc5320 Include the root path in FileSearchData for future use 2016-02-20 15:39:29 +01:00
da15893b34 Add IOUtils with file/directory related functions (+unit tests) 2016-02-20 15:39:02 +01:00
1ba4bed9d2 Change File.Contents to a single string instead of a string array 2016-02-19 21:27:58 +01:00
76c737267f Add ParseUtilsTests with a test for CountCharacters 2016-02-19 16:23:11 +01:00
feff908b70 Add argument check to ParseUtils.CountCharacters 2016-02-19 16:22:52 +01:00
903e3bd65f Add a FirstChanceException handler for debugging 2016-02-19 15:57:52 +01:00
3656b240c9 Add essential Java handling classes 2016-02-19 15:57:12 +01:00
efad2b0b44 Work on language file handler (max/avg values, top file lists) 2016-02-19 15:56:35 +01:00
f7b49c924e Update the template (formatting and style fixes, Java file count) 2016-02-19 15:54:59 +01:00
08180e422b Create a new ParseUtils class with methods specific to code 2016-02-19 15:54:30 +01:00
606d742097 Rename ParseUtilsTests to StringUtilsTests 2016-02-19 15:53:57 +01:00
71f7e0818d Rename ParseUtils to StringUtils, since it consists of very general methods 2016-02-19 15:46:54 +01:00
3836c3a6b6 Rename Variables.ArrayAdapter.ToString to ToStringFormat 2016-02-19 13:08:47 +01:00
2750f542a4 Fix number formatting for array variables 2016-02-19 13:07:57 +01:00
2fbd8bc90c Add formatting capabilities to AnonymousDictionary<string,string> 2016-02-19 13:07:45 +01:00
710a17e4ce Add TopElementList collection that only stores N largest elements using a custom Comparison object 2016-02-18 23:26:55 +01:00
aca6c9d62e Add FileIntValue struct to assign numbers to files 2016-02-18 23:24:47 +01:00
50ae10443a Add IFileHandler.FinalizeProject to run after all files are processed 2016-02-18 22:21:54 +01:00
f2715d25b9 Add extension utility class for special int variable handling 2016-02-18 22:21:21 +01:00
b4c4ed8e55 Fix int variable formatting when using Variables.SetVariable 2016-02-18 22:04:42 +01:00
3adc7d29fa Move ParseUtils to Handling/Utils namespace 2016-02-18 21:57:10 +01:00
3a567abdaf Convert array sorter to Comparison<T> and update AssetHandler to use new methods 2016-02-18 18:55:37 +01:00
67f4e6c88c Improve support for int values in Variables 2016-02-18 13:48:57 +01:00
73f7c5918a Add total line and character count with minor refactorings to language handlers 2016-02-18 02:50:58 +01:00
7f70f8e8f0 Allow spaces in token matches 2016-02-18 02:48:58 +01:00
5e38e35d69 Update File class to cache contents into a string array 2016-02-18 02:43:39 +01:00
a553299f74 Add custom int variable formatting (separate thousands with spaces) 2016-02-18 02:43:14 +01:00
57999de0f4 Update template to have default project name and replace non-digit chars before parseInt 2016-02-18 02:42:50 +01:00
88d19b717b Add an amount param to Variables.Increment 2016-02-18 02:34:47 +01:00
6046cb079e Remove old Java tab classes 2016-02-18 02:18:09 +01:00
9785106808 Tweak the progress bar animation workaround to look better 2016-02-17 23:55:14 +01:00
bce5c1a1bf Reimplement asset type counting and sorting 2016-02-17 23:49:06 +01:00
3d5e3f825f Use invariant culture in Variables.SetVariable/Increment 2016-02-17 23:46:27 +01:00
367c7c194e Add array sorting capability to Variables 2016-02-17 23:38:51 +01:00
6c98183c59 Add variable update to array adapter and add safeguard for anon string,string dict typecasting 2016-02-17 23:24:31 +01:00