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

431 Commits

Author SHA1 Message Date
85eceaa4cf Update About document and add ReadMe button to the form 2016-03-05 14:00:20 +01:00
00d2374e28 Add Help button to AboutForm and replacement tokens to the About document 2016-03-05 13:34:27 +01:00
fe53ff4fee Add a WIP About screen 2016-03-04 01:21:20 +01:00
b1f798399d Change how GitHub canceling and disposing is handled 2016-03-03 21:59:24 +01:00
af5d4ab29b Fix removed ProjectLoadForm progress bar style setting 2016-03-03 21:46:44 +01:00
7b7bcc2a5c Add GitHub repo existence check and move remaining GitHub texts to Lang 2016-03-03 21:35:09 +01:00
da016f8807 Move GitHubForm strings to Lang and add a Loading... entry when loading branch list 2016-03-03 20:31:01 +01:00
b111a6e4ac Fix ProjectLoadForm download progress bar freaking out when downloading GitHub repo 2016-03-03 20:30:01 +01:00
7e0f82e356 Redesign GitHubForm with automatic and fixed branch listing, and textbox focus 2016-03-03 13:21:07 +01:00
8925755d9e Fix and improve GitHub repo matching, add DefaultBranch constant 2016-03-03 13:20:29 +01:00
29b02a0aa6 Add -nogui program argument support to ProjectLoadForm and GitHubForm 2016-03-02 12:46:12 +01:00
a0ee24fb27 Fix Project & FileSearch task chaining 2016-03-02 12:41:07 +01:00
e3d345efd6 Add basic exception handling to FileSearch and Project tasks 2016-03-02 11:49:57 +01:00
c37734c0ba Update Release build settings and make App.config embedded in the assembly 2016-03-01 23:32:06 +01:00
f7ee507658 Work on template debugging (fix variables, thread exception, tweak UI) 2016-03-01 23:29:05 +01:00
f097a070a1 Add template file watcher for template debugging 2016-03-01 23:09:45 +01:00
eb3d59193e Fix dummy input handling in FileSearch 2016-03-01 23:08:28 +01:00
55ea9c9761 Fix Lang params, input type program arg handling, Open Output button size 2016-03-01 22:54:21 +01:00
04c4896359 Generate HTML output immediately after processing the project 2016-03-01 22:51:16 +01:00
04351feb89 Fix DummyInputMethod not being added to csproj file 2016-03-01 22:50:33 +01:00
159b483bfc Add support for input methods in program arguments 2016-03-01 22:24:35 +01:00
739670efc9 Work on input methods (archive drag & drop, GitHub refactoring) 2016-03-01 22:04:52 +01:00
ad732da243 Add IOUtils.CheckExtension for safe ext checking 2016-03-01 22:01:26 +01:00
1e96d2090c Add Variables.Dummy 2016-03-01 20:00:58 +01:00
dc11f8bd56 Work on program arguments, including GitHub repo validation 2016-03-01 19:39:41 +01:00
77e3b32240 Work on behavior (program arguments, missing lang keys) 2016-03-01 19:02:12 +01:00
137cc20a40 Add program argument validation and error handling 2016-03-01 18:50:10 +01:00
6c6b39ac83 Add parameters to Lang 2016-03-01 18:30:49 +01:00
5c1c6f6f41 Add template file to ProgramConfiguration 2016-02-29 21:04:32 +01:00
f07017187d Add ProgramConfiguration with output file path handling 2016-02-29 20:36:35 +01:00
b08d510da5 Disable GitHub WebClient proxy to speed up requests 2016-02-29 20:19:42 +01:00
5c88e51a79 Improve ProjectLoadForm progress bar handling and have marquee for unknown GitHub DL size 2016-02-29 19:59:13 +01:00
9b9a8ac8f1 Move default template into a Resources namespace and embed it into the assembly 2016-02-29 16:32:32 +01:00
c1d15be2dd Tweak debugger breakpoint in JavaCodeParser 2016-02-29 13:53:38 +01:00
cb7e55e1bb Add zip archive extraction input method 2016-02-29 13:53:17 +01:00
234eb3e8a0 Fix Java string characters inside comments 2016-02-29 13:52:32 +01:00
afc68a5450 Move MultiFolderDialog and ZipArchive to a different namespace 2016-02-29 13:26:43 +01:00
19ef6c5dee Add safeguards to GitHubForm (disposing GitHub instance, null check for branch list) 2016-02-29 11:47:15 +01:00
90afda6d7a Remove ZipArchive disposal from ExtractAsync 2016-02-29 03:06:39 +01:00
4e4d8eed1f Delete downloaded archives from GitHub 2016-02-29 01:44:47 +01:00
51b4cbdf4b Add IOUtils.CleanupTemporaryDirectory and change the directory name 2016-02-29 01:44:33 +01:00
b2098e76e6 Add ZipArchive cancellation and GitHub repo extraction 2016-02-29 01:19:30 +01:00
8bfefab568 Rename ZipExtraction to ZipArchive and make it public 2016-02-29 01:01:43 +01:00
42097a454f Add IOUtils.CreateTemporaryDirectory 2016-02-29 00:46:39 +01:00
feeb31519c Add a WIP ZipExtraction class 2016-02-28 22:58:43 +01:00
9a205f2600 Add missing GitHubForm classes to csproj file 2016-02-28 22:58:26 +01:00
cba89fc070 Work on GitHub (branch list, repo download, basic form) 2016-02-28 22:24:01 +01:00
1693f300bd Add IInputMethod.CancelProcess 2016-02-28 22:22:26 +01:00
44281c6b9b Fix ProjectLoadForm.UpdateCallbacks labels and add progress bar marquee support 2016-02-28 22:06:29 +01:00
db29887ce1 Replace FileSearch.OnReady with ProjectLoadForm.UpdateCallbacks 2016-02-28 21:55:50 +01:00
2e43553228 Move InvokeOnUIThread into a static extension class 2016-02-28 20:44:43 +01:00
b39cb659ff Add InvokeOnUIThread for easier handling of threaded UI updates 2016-02-28 16:37:46 +01:00
56b903dab8 Disable AllowDrop in ProjectLoadForm 2016-02-28 16:18:05 +01:00
72264011d3 Make input related classes and structs public 2016-02-28 15:54:56 +01:00
cc98ca7372 Rework input by adding IInputMethod implemented by FileSearch and updating forms 2016-02-28 15:51:42 +01:00
2682ed98bb Add basic GitHub repository downloader class 2016-02-28 15:47:01 +01:00
afd99bafe8 Move MultiFolderDialog to Input/Methods namespace 2016-02-28 14:51:38 +01:00
49470ca6f4 Fix Java static{ skipping the bracket, method generics, and update debugging 2016-02-28 14:24:45 +01:00
8ac8d3363f Fix Java static{ block, type annotations, extra semicolon handling, default interface methods 2016-02-28 14:04:54 +01:00
82767aaaa4 Add Java identifier statistics and lists 2016-02-28 13:35:49 +01:00
466c7dfaa2 Add Java TypeIdentifier for easier identifier handling 2016-02-28 13:33:44 +01:00
5722acbb09 Remove unused 'using' directives and redundant field initialization 2016-02-27 15:36:44 +01:00
a2e8e80050 Remove unused Triple struct 2016-02-27 15:32:14 +01:00
02a4f7bd92 Provide Equals, GetHashCode, and equality operators in Java TypeOf 2016-02-27 15:23:42 +01:00
108b2558bb Add CLSCompliant attribute to the assembly 2016-02-27 15:08:46 +01:00
dbaea6ed45 Move language keys out of form designer files 2016-02-26 06:12:41 +01:00
014df3d2ea Add per-file variable debugger to ProjectDebugForm 2016-02-26 06:10:10 +01:00
8527e491d9 Fix handling of Java primitive arrays 2016-02-26 05:48:18 +01:00
e292f3afb9 Add ^n token to CodeParser.SkipIfMatch 2016-02-26 05:48:02 +01:00
6186b6f043 Fix Java throws declaration detection and Enum semicolon handling 2016-02-26 05:42:48 +01:00
dbde7ab6b3 Add startIndex safeguard to CodeParser.SubstrIndex 2016-02-26 05:20:58 +01:00
72ad3ec8d0 Add Java enum value reading 2016-02-26 04:58:58 +01:00
4b9d051c9c Fix wrong character in JavaCodeParser.ReadMethodParameterList 2016-02-26 04:52:50 +01:00
fa319481a1 Fix JavaCodeParser.ReadMethodParameterList not working with multiple params 2016-02-25 15:58:25 +01:00
ece021a931 Add Field parsing to JavaCodeParser and tweak ReadMethodParameterList 2016-02-25 15:56:29 +01:00
f1c9dcca3b Fix handling of abstract/interface methods with no body in JavaCodeParser 2016-02-25 15:18:20 +01:00
6ea82e135d Add temporary skip to Java Enum type handling 2016-02-25 13:52:54 +01:00
44bd0d78b2 Add Method reading (including constructors and initializers) to JavaCodeParser 2016-02-25 13:52:41 +01:00
28ece26e99 Add JavaCodeParser.SkipTypeArrayAndGenerics to skip <>[] and use in ReadTypeOf 2016-02-25 13:51:50 +01:00
cec14a9d8e Add TypeData class to Java Type for storing declaration type specific data 2016-02-25 13:50:26 +01:00
d147819a84 Add TypeOf.AsSimpleType 2016-02-25 13:50:03 +01:00
4b43f8cf2b Fix compile error in TypeOf 2016-02-25 13:09:33 +01:00
ff617bde6a Add JavaCodeParser.ReadTypeOf for return/field type reading 2016-02-25 11:37:05 +01:00
771a7aeb45 Add Java TypeOf struct and use it for return/parameter types 2016-02-25 10:50:20 +01:00
660839eac8 Add skeletons of Java Field and Method classes 2016-02-24 19:38:38 +01:00
6f8be73787 Add JavaCodeParser.ReadPrimitive 2016-02-24 19:29:03 +01:00
5a1417532d Make sure to handle special formatting in Java package declarations 2016-02-24 19:23:25 +01:00
6a0d8607c3 Add JavaCodeParser.ReadToIfBalanced with unit tests 2016-02-24 18:37:28 +01:00
f0daf254b5 Add JavaCodeParser.SkipToIfBalanced with unit tests 2016-02-24 18:15:25 +01:00
6158a62c18 Remove outdated JavaParser class 2016-02-24 16:54:45 +01:00
990bdfdc72 Add Java Primitives enum 2016-02-24 16:50:11 +01:00
45d951080e Address globalization - add Lang class and missing culture info 2016-02-24 16:04:13 +01:00
ecb01cb4f5 Change some code to stop "possible mistaken empty statement" warning 2016-02-24 14:50:37 +01:00
f3e15ee342 Add File.ToString for easier debugging 2016-02-24 14:45:35 +01:00
389e8562b9 Fix Variables to use a HashSet for flags instead of a List 2016-02-24 13:50:32 +01:00
566c29c2b8 Add a debug breakpoint button to ProjectLoadForm 2016-02-24 13:49:24 +01:00
76a575a08d Work on Java Type contents reading (nested types) 2016-02-24 13:37:31 +01:00
4984e5f4b5 Fix spelling and rename skip-read methods in JavaCodeParser 2016-02-24 12:54:11 +01:00
7eb75efb2b Add Java Type statistics into output 2016-02-24 02:44:14 +01:00
6197b4b2cc Move a bunch of Java parsing methods to the parser class from JavaState 2016-02-24 02:44:02 +01:00
3f42cfcf6d Add Java Type reading to JavaState and update the Type class to be a Member 2016-02-24 02:00:55 +01:00
699b32b8d6 Add Java Member class and annotation & modifier list reading methods 2016-02-24 02:00:18 +01:00
cac64aaadf Add a Java Type class and declaration type reading 2016-02-23 22:39:16 +01:00
81802c26d3 Remove out parameter in JavaParseUtils.ReadStruct 2016-02-23 22:36:25 +01:00
2ec8a85f84 Work on Java modifiers (reading, add properties, make the classes public) 2016-02-23 20:28:22 +01:00
8e5b416ab3 Add JavaParseUtils.ReadStructList for reading lists of elements in Java code 2016-02-23 20:27:06 +01:00
bd9dcf3920 Rename ImportStatement to Import 2016-02-23 18:20:40 +01:00
f07178749b Add Java Modifiers enum 2016-02-23 18:20:15 +01:00
c2f1c78247 Add getters to BiDictionary 2016-02-23 18:01:15 +01:00
94eb8a93f2 Add BiDictionary collection 2016-02-23 17:59:20 +01:00
205d201a9c Move JavaCharacters and JavaParseUtils to Java.Utils namespace 2016-02-23 17:40:46 +01:00
08bbe5e583 Add .jav extension as a Java code file 2016-02-23 17:19:39 +01:00
f5caac32e0 Add Java import parsing and stats 2016-02-23 16:52:38 +01:00
6f4e08548f Fix Java package reading (add count to output, skip semicolon) 2016-02-23 16:34:26 +01:00
32daad3651 Add CodeParser.ReadToSkip and update CodeParser unit tests 2016-02-23 16:33:45 +01:00
7186fec76d Work on Java parsing (fix unused PrepareCodeFile, add package count) 2016-02-23 16:23:38 +01:00
d709da2545 Override Equals, hash code, equality operators in Java Annotation struct 2016-02-23 16:11:34 +01:00
f316ae6e34 Move Java space skipping to JavaState from JavaCodeParser 2016-02-23 15:41:28 +01:00
0d1de755c2 Override Clone in JavaCodeParser 2016-02-23 15:41:08 +01:00
fd2cd9de3b Remove unused references 2016-02-23 15:40:18 +01:00
a9800c8a48 Implement package declaration reading in Java files 2016-02-23 14:54:02 +01:00
5989531bd6 Add CodeParser.ReadTo with unit tests 2016-02-23 14:46:30 +01:00
48823c2ece Add CodeParser.SkipIfMatch with unit tests 2016-02-23 14:35:24 +01:00
b7055cee67 Rename SkipBlockGet to ReadBlock and NextIdentifier to ReadIdentifier 2016-02-22 23:03:57 +01:00
ab6594776a Remove unused JavaParseUtils 2016-02-22 23:02:34 +01:00
cc97f3938e Push current status of Java parsing (unfinished package reading, string.Empty tweak) 2016-02-22 17:21:24 +01:00
aca1a447b5 Add JavaCodeParser.ReadAnnotation with unit tests 2016-02-22 16:52:20 +01:00
6ca477d7da Add JavaCodeParser.ReadFullTypeName 2016-02-22 16:51:20 +01:00
a22252a0ed Add Java element structs - Annotation & ImportStatement 2016-02-22 16:43:28 +01:00
118977a57c Add JavaParseUtils.FullToSimpleName with unit tests 2016-02-22 16:40:14 +01:00
9502461ba2 Add a basic skeleton for JavaCodeParser class to handle java code files 2016-02-22 14:36:53 +01:00
fc2fe08fef Add JavaCharacters.IsNotReservedWord and IsWhiteSpace (replace IsValidIdentifier) 2016-02-22 14:36:06 +01:00
b39c6ded32 Add identifier reading to CodeParser with unit tests 2016-02-22 13:53:28 +01:00
5912301e06 Add documentation and unit tests for CodeParser.Clone 2016-02-22 13:45:24 +01:00
56fae34448 Add public CodeParser cloning, fix SubstrIndex again, add Skip 2016-02-22 13:26:06 +01:00
61138391d9 Prepare CodeParser for being extended 2016-02-22 13:11:41 +01:00
21519be744 Improve unit tests for CodeParser and fix a block reading cursor index bug 2016-02-22 13:10:01 +01:00
0decbbfec3 Add a basic CodeParser class for code navigation plus unit tests 2016-02-22 02:03:02 +01:00
1bc30401f1 Add a WIP JavaCharacters class with identifier characters 2016-02-21 23:28:04 +01:00
599f644a87 Add CharacterRangeSet with unit tests 2016-02-21 23:00:10 +01:00
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
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