Commit Graph

  • a6388919a5 Copy geometry calculation implementation from original minivhd shermp 2019-06-09 16:24:12 +12:00
  • 596b494b60 Create geometry struct and change functions to use it shermp 2019-06-09 16:16:00 +12:00
  • 9e233042e1 Add block struct and close implementation shermp 2019-06-09 16:04:42 +12:00
  • 0448009a2b Implement initial close function shermp 2019-06-09 15:04:12 +12:00
  • 51f155d73e Fix VHD reading errors shermp 2019-06-09 15:02:31 +12:00
  • e5be9944ed Implement initial test prog, and fix header shermp 2019-06-09 14:52:07 +12:00
  • d0798bdd75 Add simple test program shermp 2019-06-09 14:19:43 +12:00
  • 5aac26c8b9 Move files to 'src' directory shermp 2019-06-09 14:09:09 +12:00
  • 106be5bb00 Add checksum validation shermp 2019-06-09 14:03:37 +12:00
  • 0e877d1ec7 Added error types shermp 2019-06-09 13:41:22 +12:00
  • 67bf1af5ae Basic VHD open functionality shermp 2019-06-09 12:55:45 +12:00
  • 3e7fd76684 Initial v2 headers shermp 2019-06-09 09:26:44 +12:00
  • 940703ab97 Added differencing VHD creation shermp 2019-04-22 15:45:44 +12:00
  • 9dc353b2fe Doh... No wonder Windows was complaining! shermp 2019-04-22 15:30:55 +12:00
  • 8b3de7239e Convert char arrays to string literals shermp 2019-04-12 10:01:48 +12:00
  • 96d4f89e41 Added UUID verification for differencing VHD's shermp 2019-04-11 00:36:26 +12:00
  • 4899af9e7b Fixed string encoding (at least for Win) shermp 2019-04-10 23:41:58 +12:00
  • 9db04085b4 Modified checksum generation shermp 2019-04-10 23:41:30 +12:00
  • 7bb894eb0d Create cross platform fopen() wrapper shermp 2019-04-10 22:25:29 +12:00
  • 3271c06c05 Rename vhdstrenc shermp 2019-04-10 21:26:25 +12:00
  • 3130a1814a Oops, double void pointers don't work shermp 2019-04-10 21:14:49 +12:00
  • a434094923 Finish vhd_load_parent() changes for encoding shermp 2019-04-10 20:43:19 +12:00
  • c501ab8157 Fixed memcpy bug shermp 2019-04-10 20:34:37 +12:00
  • 794b8367d0 Add comments to vhdstrenc.h shermp 2019-04-10 20:33:08 +12:00
  • 6e7d650d2c Use system libraries for path string encoding shermp 2019-04-10 20:21:25 +12:00
  • 9a77d893b9 Makes more sense for that to be outside the conditional shermp 2019-01-03 12:01:00 +13:00
  • d314b5ee70 Implement differencing VHD support in vhd_format_sectors shermp 2019-01-03 09:34:59 +13:00
  • 47fa861bab Minimize writes to sector bitmap shermp 2019-01-03 09:19:16 +13:00
  • 88981431a6 Sector bitmap handling for sparse VHD's as well shermp 2019-01-03 09:10:23 +13:00
  • f060efa24c Let's pretend those sector bitmap macros weren't horribly broken shermp 2019-01-02 17:19:42 +13:00
  • 8f45a52fca Make sure we are reading the sector bitmap shermp 2019-01-02 17:12:17 +13:00
  • cbdd3ba21f Merge pull request #2 from sards3/diff-v3 Sherman Perry 2018-12-28 23:34:29 +13:00
  • c52ec9e9de Fix some tabs/spaces whitespace issues. sards3 2018-12-28 02:05:38 -06:00
  • d1e8f96a99 Fix bug in vhd_read_sectors(). sards3 2018-12-28 02:00:28 -06:00
  • 9d7247bba6 Fixed segfault shermp 2018-12-24 19:29:25 +13:00
  • 90d5f8a34d simple change to update vhd_check_validity. shermp 2018-12-24 18:41:26 +13:00
  • 90c2ce76db Added differencing read/write code shermp 2018-12-24 18:39:51 +13:00
  • 79ba37541b Add more code from diff-v2 shermp 2018-12-24 18:18:37 +13:00
  • 9c631380fd It helps to open binary files in binary mode... shermp 2018-12-24 18:08:31 +13:00
  • 2474bd5ce8 Add load parent function from diff-v2 shermp 2018-12-24 18:05:58 +13:00
  • 1885dc5068 Make changes to support differencing disks shermp 2018-12-24 18:02:39 +13:00
  • 9f8962eb7e Add cwalk and vhdstrenc from attempt two... shermp 2018-12-24 17:24:08 +13:00
  • c9567ee88e Merge pull request #1 from shermp/rw-simplify Sherman Perry 2018-12-24 17:10:08 +13:00
  • 6ffcdd56de Use off64_t type where appropriate shermp 2018-12-24 16:46:40 +13:00
  • 719fdb27d8 Added VHD filesize check shermp 2018-12-24 00:11:01 +13:00
  • acfa1a0936 Init that buffer to keep Valgrind happy shermp 2018-12-23 20:26:31 +13:00
  • fac6eb2b69 Optimise block creation shermp 2018-12-23 16:55:43 +13:00
  • 4b57ebfe3e centralise some buffers shermp 2018-12-23 15:38:28 +13:00
  • ed301f6b65 Removed redundant variable declaration and init shermp 2018-12-23 15:21:20 +13:00
  • f5bf27ca0f Simplify format sectors shermp 2018-12-23 15:13:26 +13:00
  • 809d7412a6 Simplify VHD write shermp 2018-12-23 14:52:23 +13:00
  • d5f07def65 Small optimisation shermp 2018-12-23 13:23:34 +13:00
  • ca64530cf1 Replace off64_t with uint64_t shermp 2018-12-23 12:14:21 +13:00
  • cf5a7e06b2 Simplify read sectors shermp 2018-12-23 12:13:32 +13:00
  • 2dad9a3074 Removed unused variable shermp 2018-11-26 18:06:02 +13:00
  • 6d68912678 Code formatting changes shermp 2018-11-26 16:57:29 +13:00
  • 8747019ef3 Reworked VHD creation to avoid large stack allocation shermp 2018-11-26 16:56:49 +13:00
  • 5bf86bff03 Re-added braces for extra safety shermp 2018-11-26 11:18:37 +13:00
  • 9a62d78d77 Removed differencing remnant shermp 2018-11-15 14:20:53 +13:00
  • ff6d78bb13 Remove PCem specific limits shermp 2018-11-15 14:02:38 +13:00
  • d9ab4482c5 Added more header documentation shermp 2018-11-15 13:24:49 +13:00
  • 46b592adf4 Remove leftover differencing code, header fixes shermp 2018-11-15 12:23:27 +13:00
  • 4291b16936 More comments shermp 2018-08-14 21:55:35 +12:00
  • 9fbdcf26a0 Refine header, remove raw struct definitions to C file. shermp 2018-08-14 21:53:38 +12:00
  • c5f1a69461 Removed redundant offset defines shermp 2018-08-14 21:34:49 +12:00
  • 7c9ed23471 Initial differencing code. Switched to pragma pack() shermp 2018-08-14 21:33:47 +12:00
  • a9cc68eb02 Update README.md Sherman Perry 2018-08-14 11:51:27 +12:00
  • a31818803b Renamed LICENSE to COPYING shermp 2018-07-09 17:07:27 +12:00
  • 9a722aa194 Initial Commit from PCem sources shermp 2018-07-09 16:57:59 +12:00
  • ffda5c71f3 Initial commit Sherman Perry 2018-07-09 16:49:35 +12:00