Commit Graph

64 Commits

Author SHA1 Message Date
scoobybejesus 941f51bcb7 Improved performance of get_mvmts_in_ar(). Also changed the name. Also corrected the logic. Also double-checked its logic was appropriate in all the places it is called. Also documented it. 2019-09-24 22:31:18 -04:00
scoobybejesus 6f71d3a789 Passed ref to String and Enum instead of multi-field struct. 2019-09-24 19:43:53 -04:00
scoobybejesus 0edfa81f2f Substituted Vec::with_capacity() where able. 2019-09-24 12:02:22 -04:00
scoobybejesus 3485e26f3d Clarified user_memo. Created auto_memo impl for Transaction. 2019-09-23 20:00:27 -04:00
scoobybejesus 4bbab2b04e Removed dead code. 2019-09-22 22:24:42 -04:00
scoobybejesus 281cc6c3ad Removed process::exit() in favor of recovery. 2019-09-22 11:29:18 -04:00
scoobybejesus 6440f0e47f Inv_costing_method arg now passed through wizard. Related refactoring. 2019-09-22 11:20:16 -04:00
scoobybejesus ea0c42089f Cleaned up import_accounts(). 2019-09-22 02:05:51 -04:00
scoobybejesus 89cec47bac Merged wizard branch which pulled wizard() and skip_wizard() from main(). 2019-09-22 01:49:07 -04:00
scoobybejesus 2e843db058 Corrected report descriptions. 2019-09-21 23:31:46 -04:00
scoobybejesus 2351db6838 Limited public visibility of certain fn's to within the crate only. 2019-09-21 23:26:55 -04:00
scoobybejesus b5633ccb56 Moved LK fn as Txn impl. Resolves #41. 2019-09-21 21:25:55 -04:00
scoobybejesus b5cc8a857b Removed now-incorrect comments. Resolves #38. Also see 8c62211b for where proceeds were set to the reverse of cost basis. 2019-09-21 21:06:37 -04:00
scoobybejesus 1eb62f58aa Improved documentation. 2019-09-21 18:11:26 -04:00
scoobybejesus b14eb2c458 Minor updates. 2019-09-21 15:10:25 -04:00
scoobybejesus 05ff0562de Populated InputFile_CSV.md. 2019-09-21 14:56:43 -04:00
scoobybejesus c1af0b15f1 Linked to new InputFile description doc. 2019-09-21 14:45:37 -04:00
scoobybejesus 2f12e8dfcd Improved documentation. 2019-09-21 14:41:11 -04:00
scoobybejesus 8c62211b64 Merged dg2 branch which tracked changed related to preserving historical cost basis and proceeds that are changed as a result of like-kind treatment. 2019-09-21 13:57:16 -04:00
scoobybejesus 46b764df3a To change the name to drop the -rs. 2019-09-20 20:27:13 -04:00
scoobybejesus 5c5a0bb67a Added two new txt account reports. 2019-09-10 22:49:18 -04:00
scoobybejesus 530ebfeb35 Added report for printing account activity (lot detail) to txt file and related items. 2019-09-10 22:20:16 -04:00
scoobybejesus e44c53c8f5 Updated examples doc. 2019-09-04 22:53:16 -04:00
scoobybejesus 97199c819b Updated README. 2019-09-04 22:42:19 -04:00
scoobybejesus 093224f779 Minor refactoring. Deleted dead code. Commented unused code. 2019-09-02 23:49:18 -04:00
scoobybejesus bfa13f1aa0 Created/fixed detailed txn by mvmt report function. Resolves #33. 2019-09-01 21:47:42 -04:00
scoobybejesus 486372af15 Refactored to remove code duplication. Related to #32. 2019-09-01 20:10:23 -04:00
scoobybejesus cf400799bb Protects from crash if user enters ~ for home dir. Temporary solution for #32. 2019-09-01 14:38:32 -04:00
scoobybejesus 5cd3be3043 Updated README. 2019-09-01 00:49:00 -04:00
scoobybejesus 3282fcc896 Added example files and a document describing usage and reading reports. Resolves #26. 2019-09-01 00:28:17 -04:00
scoobybejesus b91488f034 Removed Cargo.lock from repo. 2019-08-30 19:27:17 -04:00
scoobybejesus 5b2bd175c4 Removed unneeded muts. Resolves #30. 2019-08-30 18:29:47 -04:00
scoobybejesus 4212c94170 Fixed redundant use stmt, and made to match with existing conventions. Resolves #31. 2019-08-30 18:28:21 -04:00
scoobybejesus 5c61353cf0 Changed Box<Erro> to Box<dyn Error>. Resolves #29. 2019-08-30 18:25:14 -04:00
scoobybejesus f1e9a7f418 Updated README. 2019-08-29 22:51:33 -04:00
scoobybejesus d7eba6264a Updated README. 2019-08-29 22:45:48 -04:00
scoobybejesus 4e29b69d7e Added/improved error handling. 2019-08-28 23:22:48 -04:00
scoobybejesus 66f166d0af Improved error handling in main. Resolves #25. 2019-08-28 23:00:44 -04:00
scoobybejesus ff52fac130 Added error handling. Started with impl Transaction TxType, but it would have been quite verbose to not return more result types in other parts of the code, so did that as well. Resolves #18. 2019-08-28 10:05:42 -04:00
scoobybejesus 71a51e83a7 Removed unused code. 2019-08-27 22:54:41 -04:00
scoobybejesus 4b53a928b9 Removed verbosity by removing println's from error handling. 2019-08-27 22:44:20 -04:00
scoobybejesus 2f9b41e7e1 Updated README. 2019-08-27 22:33:06 -04:00
scoobybejesus b73552057d Added remaining error handling (result types) throughout core_functions. Made another tertiary change or two related to error handling. Resolves #27. 2019-08-27 19:08:03 -04:00
scoobybejesus 067baa26e6 Merge changes from upstream. 2019-08-27 18:40:02 -04:00
scoobybejesus 9b3eb053b2 Error handling. Returned errors if CSV import failed. Resolves #14. 2019-08-27 18:36:59 -04:00
scoobybejesus 048bba801d
Provided clarity on the code's purpose 2019-08-26 14:08:00 -04:00
scoobybejesus 29866eef35
Change txns in README to be slightly more understandable 2019-08-26 13:52:44 -04:00
scoobybejesus 5ef4228acd
Grammar 2019-08-26 11:16:47 -04:00
scoobybejesus c9c663bf3d Clarified path of resulting binary of cargo run. 2019-08-26 00:09:22 -04:00
scoobybejesus 4339d27bb6 Fixed RLS build-related error: Could not compile .process didn't exit successfully. VS Code has RLS support again. Sheesh. 2019-08-26 00:00:00 -04:00