Commit Graph

327 Commits

Author SHA1 Message Date
szymon
8d5740af80 moved saveAll call into the call method of ExecutableBackup and then submitting it to server to execute. my hope is to help with #81 while still repairing #81. Also solved #125 2023-09-10 22:04:34 +02:00
szymon
1eb407338d moved save call to the synchronous part. Still have to figure out how to deal with #81..... 2023-09-10 00:39:52 +02:00
szymon
354c83f314 repaired #130. 2023-09-10 00:21:34 +02:00
Szum123321
04533f89fd
Merge pull request #121 from Szum123321/validate_backups_research_1
Validate backups research 1
2023-06-08 23:04:54 +02:00
Szum123321
3e1fe9f655 forgot to remove debug, 1.20 final toolchain update 2023-06-08 23:02:19 +02:00
Szum123321
d32b3e8f0c repaired if condition causing crashes on windows 2023-06-08 22:57:18 +02:00
Szum123321
8d3dd3f012 added filename to Exceptions thrown by HashingInputStream 2023-06-08 22:56:22 +02:00
Szum123321
c1bd31aec5 repaired windows crash 2023-06-08 22:23:00 +02:00
Szum123321
955fbd0f83
Merge pull request #120 from Szum123321/validate_backups_research_1
Validate backups research 1
2023-06-04 11:56:20 +02:00
Szum123321
4b4d42cda6 final prod version fo 1.20 2023-06-04 11:54:36 +02:00
Szum123321
bb34166ba3 unretireing bzip lzma 2023-05-12 18:52:52 +02:00
Szum123321
1e70d605f1 removed unused imports 2023-05-12 18:48:58 +02:00
Szum123321
be20e2b17a some cleanup 2023-05-12 18:47:54 +02:00
Szum123321
41934c32cf FileTreeHashBuilder::update now also takes the number of bytes as an argument. I/OHashingStreams count no. of bytes written. 2023-05-12 18:36:39 +02:00
Szum123321
b9af3b3777 YYYYEEEEEEEEEEEEEEEEEEe I finally debugged the hash!!!!!
The problem was due to an error in usage o FileTreeHashBuilder during unpacking.
2023-05-10 23:43:55 +02:00
Szum123321
fe9f9f3e0d 1.20 snapshot update 2023-05-10 08:56:37 +02:00
Szum123321
6782c4fe5f Merged BackuContext, MakeBackupRunnable, MakeBackupRunnableFactory into ExecutableBackup 2023-05-10 08:55:54 +02:00
Szum123321
27d6d68e97 moved catch incrementing into hash builder 2023-03-09 21:46:25 +01:00
Szum123321
9ffaff1a2d formatting 2023-03-09 21:18:56 +01:00
Szum123321
cf3078259b bugfixes 2022-12-27 15:35:03 +01:00
Szum123321
7d31e6710c repaired hash & added tests 2022-12-27 13:31:23 +01:00
Szum123321
97c607f9b2 formatting&spelling 2022-12-20 00:48:20 +01:00
Szum123321
ed9c9a16fc moved name hashing to streams 2022-12-20 00:47:57 +01:00
Szum123321
9b3b908d0a removed redundant counter 2022-12-20 00:46:46 +01:00
Szum123321
663089a7a3 improved naming 2022-12-20 00:46:03 +01:00
Szum123321
cffc659001 don't re-pack Textile data 2022-12-01 07:45:57 +01:00
Szum123321
3af7d75042 changed built fle names and moved errorErrorHandlingMode to the end of config, so it appears as far down as possible 2022-11-29 22:43:16 +01:00
Szum123321
458ab01822 potential bug repair 2022-11-29 22:35:15 +01:00
Szum123321
c2048c5039 ehhhhhhhh 2022-11-29 22:35:06 +01:00
Szum123321
19cfb3cb27 finalized verification code 2022-11-29 22:34:47 +01:00
Szum123321
5f1706eed3 added game&mod version to the status file 2022-11-29 22:34:02 +01:00
Szum123321
472aeda184 improved comments and formatting 2022-11-29 22:31:04 +01:00
Szum123321
8385044154 typos 2022-11-29 15:06:30 +01:00
Szum123321
4622f3fd0d all works now*. more debugging still needed. 2022-11-29 15:05:51 +01:00
Szum123321
86ae95b02e Added mod version info to metadata 2022-11-29 00:55:41 +01:00
Szum123321
2efe112157 Repaired race condition with ParallelZip. Hashing now works! 2022-11-29 00:55:18 +01:00
Szum123321
5367a00cdc individual file hashing works. filetree still fails 2022-11-28 19:43:30 +01:00
Szum123321
2053df7311 debugging in progress... 2022-11-28 18:53:55 +01:00
Szum123321
993d6359ad typos 2022-11-27 23:20:05 +01:00
Szum123321
7734c16e06 those didnt work 2022-11-27 23:19:37 +01:00
Szum123321
febbb95b97 A bit of cleanup of BalticHash. Added wip simd version 2022-11-27 23:12:25 +01:00
Szum123321
300fe18b10 Added support of virtual file (in this case textile_status.data). 2022-11-27 23:11:41 +01:00
Szum123321
d871fc14cb moved hash-related stuff core.digest package. Renamed XorSeaHash to BalticHash :). 2022-11-27 23:09:21 +01:00
Szum123321
2f96f7728e Updated all copyright headers 2022-11-27 23:04:21 +01:00
Szum123321
c040d05bd8 Added toString method to CompressionStatus, version bump to 3.0.0-a, few small tweaks 2022-11-27 13:58:45 +01:00
Szum123321
afe9c8d051 Removed redundant BufferStreams and LivingServer subsystem 2022-11-27 13:57:02 +01:00
Szum123321
f6cd361fff Selected hashing algorithm. It's a custom job which merges SeaHash with Xoroshift64*. Should be fast and correct enough to for this use case. hope I will be able to speed it up with SIMD, as java is scheduled to soon include Vector API (a part of project Panama) 2022-11-27 13:55:34 +01:00
Szum123321
9c37affacd Backup integrity is now checked 2022-11-25 14:00:18 +01:00
Szum123321
dbb9a71749 Moved around error handling. LocalDateTime is now passed with BackupContext. Replaced equals method with matches in ParallelZipCompressor.SimpleStackTraceElement to avert warning. 2022-11-25 09:54:44 +01:00
Szum123321
4007d8f86d Do I really need hashes? idk.... Either way it has to get ugly before it gets beautiful ... I think 2022-11-24 00:38:55 +01:00