Uwe Seimet
2e943279ed
Removed duplicate command
2021-08-30 11:20:07 +02:00
Uwe Seimet
0677b9f9bf
SASI Format opcode is 0x06, not 0x04 (see comment in code)
2021-08-30 11:09:17 +02:00
Uwe Seimet
c5240e62e1
Use unscoped enums for commands
2021-08-30 10:41:37 +02:00
Uwe Seimet
b2670f9fbc
Removed unused structures, code and type cleanup
2021-08-30 09:56:22 +02:00
Daniel Markstedt
436e54d83c
Improve and fix bugs with saving&loading configuration files for rascsi-web ( #218 )
...
* Translate code commends into English, removing redundant ones
* - Translated all remaining Japanese code comments in src/raspberrypi/ to English, with the exception of cfilesystem.cpp|h
- Removed some redundant comments where the context is obvious from the
code
- Fixed a few typos and mistakes
* - Store only file path and name to configuration csv
- Strip known non-file path strings when reading configuration csv (backwards compatibility)
- Validate SCSI ID before attempting to attach a device
* Add comment and TODO
* Partial translation of cfilesystem.h
* Move csv read/write logic into file_cmd.py
* Load default.csv on rascsi-web startup
* Add rudimentary error handling to config loading/saving
* Implement a delete configuration csv file feature. Also rename the delete_image method to delete_file and made it take the full file patch as argument to be consistent with other file operation methods.
* Catch the exception when attempting to exclude SCSI id that is already in use from a list of valid SCSI ids
* Fix error handling when failing to open a csv file for read or write
2021-08-30 08:47:36 +02:00
Uwe Seimet
8fc8531b5b
Updated error message
2021-08-29 18:58:10 +02:00
Uwe Seimet
67d73da898
Fixed issue with missing method in old Raspberry Pi OS protobuf implementation
2021-08-29 16:52:43 +02:00
Uwe Seimet
502b19bfb2
Improved block size check
2021-08-29 16:45:12 +02:00
Uwe Seimet
5ed6673429
Sort devices list by ID *and unit*
2021-08-29 16:18:25 +02:00
Uwe Seimet
665ad92b2c
Cleaned list handling
2021-08-29 16:09:21 +02:00
Uwe Seimet
d099f31ccb
Fixed typo
2021-08-29 15:30:40 +02:00
Uwe Seimet
27225acbce
Comment update
2021-08-29 15:30:03 +02:00
Uwe Seimet
5b9df8c1d5
Updated rasctl server info message
2021-08-29 14:55:18 +02:00
Uwe Seimet
91fd46b65e
Save list of files in use before dry-run
2021-08-29 14:41:37 +02:00
Uwe Seimet
5308a6e74d
Reject inserting a medium when there is already a medium present (eject first)
2021-08-29 14:13:34 +02:00
Uwe Seimet
d0eb629343
Comment update
2021-08-29 13:57:36 +02:00
Uwe Seimet
f67c62e810
Renaming
2021-08-29 13:55:41 +02:00
Uwe Seimet
9ff21626da
Improved handling of MO capacities
2021-08-29 13:51:31 +02:00
Uwe Seimet
49211fda68
Updated rasctl server information output
2021-08-29 08:33:32 +02:00
Uwe Seimet
3a1aaaf68b
Moved initialization code
2021-08-29 08:31:57 +02:00
Uwe Seimet
1a615a6c6f
Pass interface list to ctapdriver when creating bridge
2021-08-29 08:27:35 +02:00
Uwe Seimet
f8ea684a5c
Interface comment update
2021-08-28 19:07:52 +02:00
Uwe Seimet
5d9c97d676
More error handing improvements
2021-08-28 15:26:31 +02:00
Uwe Seimet
481dcfd064
Improved DeviceFactory error handling
2021-08-28 15:17:32 +02:00
Uwe Seimet
93f980fd60
Names of removable media drives must be constant and not contain the capacity
2021-08-28 15:06:53 +02:00
Uwe Seimet
1755c7e2f8
Comment update
2021-08-28 14:57:57 +02:00
Uwe Seimet
b68b19a875
Updated error message
2021-08-28 14:52:29 +02:00
Uwe Seimet
528f9620e3
Removed magic constant
2021-08-28 14:40:39 +02:00
Uwe Seimet
095157ccbe
Made some error messages more concise
2021-08-28 14:34:58 +02:00
Uwe Seimet
b9633ea46f
Logging update
2021-08-28 14:04:05 +02:00
Uwe Seimet
cfd88e9ed2
default_image_folder cannot be an empty string, removed obsolete check
2021-08-28 13:58:00 +02:00
Uwe Seimet
27136d7c20
Use protobuf::Messsge instead of protobuf::MessageLite
2021-08-28 12:00:11 +02:00
Uwe Seimet
d6f7b491cf
Renaming
2021-08-28 11:31:22 +02:00
Uwe Seimet
bbc55c38c0
Renamed protobuf interface method
2021-08-28 11:28:42 +02:00
Uwe Seimet
4dd2f58853
Removed typedef
2021-08-28 08:35:49 +02:00
Uwe Seimet
7191364c88
Improved error message if ID is already in use
2021-08-28 08:34:50 +02:00
Uwe Seimet
8571a5c735
Updated block size handling
2021-08-27 23:27:34 +02:00
Uwe Seimet
72b2ba93ff
protobuf interface has to return block only if it is configurable
2021-08-27 23:22:09 +02:00
Uwe Seimet
afe10cba78
Updated logging
2021-08-27 23:08:59 +02:00
Uwe Seimet
45ccfa25d7
Updated rasctl server info output
2021-08-27 20:20:53 +02:00
Uwe Seimet
e1e451aee3
Simplified protobuf interface
2021-08-27 19:16:56 +02:00
Uwe Seimet
929ff22980
Updated protobuf interface to signal parameter support
2021-08-27 18:26:05 +02:00
Uwe Seimet
5d207f7aca
Updated capacity calculation
2021-08-27 18:11:02 +02:00
Uwe Seimet
8a3572c030
Comment update
2021-08-27 10:54:05 +02:00
Uwe Seimet
a311ab395b
Comment update
2021-08-27 10:52:01 +02:00
Uwe Seimet
6c316ef6ab
Added special rule for testing on x86 PCs
2021-08-27 09:35:14 +02:00
Uwe Seimet
6fa5d86786
Removed unused typedefs
2021-08-27 09:16:04 +02:00
Uwe Seimet
26cd993557
Comment update
2021-08-27 09:08:39 +02:00
Daniel Markstedt
6bd45346f3
Translated code comments into English, removing some redundant ones in the process, plus fixing typos ( #215 )
...
* Translate code commends into English, removing redundant ones
* - Translated all remaining Japanese code comments in src/raspberrypi/ to English, with the exception of cfilesystem.cpp|h
- Removed some redundant comments where the context is obvious from the
code
- Fixed a few typos and mistakes
2021-08-27 09:02:43 +02:00
Uwe Seimet
497d1edb89
Added special rule for testing on x86 PCs
2021-08-27 00:14:05 +02:00