Commit Graph

1961 Commits

Author SHA1 Message Date
James Seibel f3a83addd4 Add a todo comment to ClientApi 2023-10-07 21:29:32 -05:00
James Seibel 28649f4287 Replace Insert/Update SQL scripts with preparedStatements
necessary for inserting large BLOB data
2023-10-07 20:16:11 -05:00
James Seibel 1a5bd288c8 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-10-07 18:50:59 -05:00
James Seibel 94f1d99672 minor FullDataMetaFile comment update 2023-10-07 18:50:30 -05:00
James Seibel bf62ecff0b Improve metaDataFile saving logic 2023-10-07 17:00:01 -05:00
James Seibel 974cd95867 revert accidental GLProxy PROFILE change 2023-10-07 16:21:47 -05:00
James Seibel edaee7edd2 Add missing Full Data error logging 2023-10-07 16:11:06 -05:00
James Seibel 526f483bfb Move data source meta data from the compressed binary into DB columns 2023-10-07 16:10:16 -05:00
James Seibel 444090ed39 Convert DataSource ID from an int to a string
Since everything will be stored in a database binary space constraints aren't as big of a concern
2023-10-07 16:07:15 -05:00
James Seibel e0d25fdd88 Improve logging for failed DB queries 2023-10-07 15:53:07 -05:00
James Seibel 4ddfb8342d Fix a DB issue with parsing short, byte, and long values 2023-10-07 15:51:27 -05:00
James Seibel 8f0c820c09 Rename BaseMetaData.dataLevel -> dataDetailLevel 2023-10-06 22:23:40 -05:00
James Seibel bbcf1d0071 Fix abstractDhRepo on Forge 2023-10-06 22:12:37 -05:00
James Seibel ece2fc5e6a Fix DatabaseUpdater on Forge 2023-10-06 22:12:26 -05:00
James Seibel 513fc4c686 fix incorrect DhRepo closing 2023-10-06 07:25:30 -05:00
coolGi 417cf0a891 Used .renameTo instead of .canWrite to check if file is unlocked 2023-10-06 18:02:28 +10:30
coolGi 820683783b Changed name to DeleteOnUnlock 2023-10-06 17:24:31 +10:30
coolGi ffb1ce4355 Fixed (hopefully) updater on Windows 2023-10-06 17:23:14 +10:30
coolGi 1bea96b050 Temporary fix for windows file locking 2023-10-06 16:26:39 +10:30
James Seibel 3231a2df3e update Schema table and allow for multiple statements in update scripts 2023-10-05 20:52:16 -05:00
James Seibel 756af2bec4 save AbstractMetaDataRepo byte arrays to the database as binary 2023-10-05 19:10:42 -05:00
James Seibel bbaea5e614 Remove unneeded code from AbstractDhRepo and refactor 2023-10-05 19:07:48 -05:00
coolGi 18ed2e7eee Disabled updating to the same commit 2023-10-05 13:12:35 +10:30
coolGi f45a4b8d62 Seeing if this will fix DH auto-updates on windows 2023-10-05 13:09:42 +10:30
James Seibel f0238dc4ea Remove references to old DH files and allow sub-dim matching to work with the database 2023-10-04 18:18:09 -05:00
James Seibel 6011a16e11 rename and comment GeneratedFullDataFileHandler variable 2023-10-04 07:49:43 -05:00
James Seibel 5c6302edbd re-enable genFullDataFileHandler.fireOnGenPosSuccessListeners() 2023-10-04 07:41:56 -05:00
James Seibel 0e57870ba9 Fix world gen not allowing down sampling 2023-10-04 07:41:36 -05:00
James Seibel cd55659331 remove "lod" from ILodRenderSourceProvider
to bring it inline with IFullDataSourceProvider
2023-10-03 18:23:24 -05:00
James Seibel 2516ba5524 Replace the loose file system with Sqlite 2023-10-03 18:21:35 -05:00
coolGi f81b453c39 Removed test main function 2023-10-03 23:01:25 +10:30
coolGi e966d40ae2 Fixed jar reference with spaces in path 2023-10-03 22:48:04 +10:30
James Seibel 57c5c618f9 Add DhRepo.deleteByPrimaryKey() 2023-10-03 07:08:36 -05:00
James Seibel 30cf937539 Add Repo.exists() 2023-10-02 21:43:36 -05:00
James Seibel d1df845e79 Replace repo query with queryDictionary and improve auto update error checking 2023-10-02 21:24:41 -05:00
coolGi 877b0dae25 Revert "Fix option and changelog button missing backgrounds"
This reverts commit 5fb79325ce.
2023-10-03 12:44:36 +10:30
James Seibel 1ec06fa94e Add database auto updating 2023-10-02 19:54:43 -05:00
James Seibel 94b2b63767 git ignore sqlite databases 2023-10-02 19:37:54 -05:00
James Seibel 65751b0abd Temporary fix for world gen queue concurrency null pointer 2023-10-02 07:39:07 -05:00
James Seibel df859bd9fc Add automatic sql scripts to AbstractRepo 2023-10-02 07:35:23 -05:00
James Seibel 05349beb8d Add Sqlite delete DTO 2023-10-02 07:16:42 -05:00
coolGi b18fcb5815 Fixed updater on 1.20.2 2023-10-02 14:16:08 +10:30
coolGi 9b183aba93 Fixed strings not using string's "equals" function 2023-10-02 13:19:20 +10:30
coolGi d9e3293cf3 Added extra safety checks to nightly updater 2023-10-02 11:35:06 +10:30
James Seibel ebef91601e add basic sqlite and unit tests 2023-09-30 15:25:35 -05:00
James Seibel fb424aadb6 Add commented out LodQuadTree debug code 2023-09-30 09:34:57 -05:00
James Seibel d15eba1185 Fix multiplayer similarity percent 2023-09-29 23:17:32 -05:00
James Seibel 03d2d0c3a2 move IChunkWrapper.setUseDhLighting into DhLightingEngine 2023-09-29 23:17:10 -05:00
James Seibel b0f1a6e70d Refactor and comment 2023-09-29 22:42:01 -05:00
James Seibel ee24bd0881 minor worldGenQueue method rename 2023-09-28 07:24:25 -05:00