Commit Graph

15 Commits

Author SHA1 Message Date
Oleksandr Kozachuk 122aeaf75b Refactor read_password function to take just the name as argument, not the prompt. 2023-01-07 13:40:00 +01:00
Oleksandr Kozachuk 54c2c0e5a1 Store pass command without password to history. 2023-01-07 13:18:39 +01:00
Oleksandr Kozachuk 2b56aed28e Refactor history handling: store only save and usefull commands, save them in LKEval state, do not safe pass command into history. 2023-01-07 13:16:47 +01:00
Oleksandr Kozachuk 4ee1d38be7 pass command accepts now optionally the password from command line, instead of stdin. 2023-01-07 12:06:41 +01:00
Oleksandr Kozachuk 77f7db7dec Add possibility to add input instead of calling readline. 2023-01-06 17:13:42 +01:00
Oleksandr Kozachuk e9dba54750 Develop wasm support further. 2023-01-06 16:16:04 +01:00
Oleksandr Kozachuk 3416ea96ae Remove deadlock_detection feature from parking_lot, because it is incompatible with wasm32 2023-01-06 15:27:58 +01:00
Oleksandr Kozachuk 127f386e35 Fix compilation and tests. 2023-01-06 15:08:52 +01:00
Oleksandr Kozachuk 6f78130fab Rename command "leave" to "keep", sounds more appropreate. 2023-01-06 14:53:08 +01:00
Oleksandr Kozachuk 538a32a471 Switch from Rc<RefCell> to Arc<Mutex<T>> or Arc<ReentrantMutex<RefCell<T>>>. 2023-01-06 13:12:58 +01:00
Oleksandr Kozachuk a2978c1230 Fix printing correct password and reading master password. 2023-01-05 15:25:08 +01:00
Oleksandr Kozachuk fd3914dacb Renamed the dump command to save, added command dump to dump the db to stdout. 2023-01-03 11:58:48 +01:00
Oleksandr Kozachuk 69f65a5be0 Make helwasm compilable for wasm32-unknown-unknown target. 2023-01-01 19:46:14 +01:00
Oleksandr Kozachuk 7563645518 Fix tests, move rpassword usage to utils.rs to implement something different for wasm. 2023-01-01 19:04:56 +01:00
Oleksandr Kozachuk eced302282 Split project into three workspaces: hel (the library), helcli (the tool) and helwasm (the wasm code). Move wasm incompatible code to extra modules in utils.rs to be implementable separately for wasm. 2023-01-01 18:50:16 +01:00