Commit Graph
100 Commits
Author SHA1 Message Date
aksdb c8ef2ccf68 🐛 Free the animation data provider on shutdown
The manager released every provider except the animation data
provider, leaking its file stream and the whole animation table.
2026-11-15 22:06:50 +01:00
aksdb 23f323bee1 🐛 Create the texture save buffer for streamed textures
Textures loaded from file never had their buffer allocated, so any
save attempt crashed with an access violation.
2026-11-15 22:06:50 +01:00
aksdb ae9136d53a 🐛 Free the art decode buffer on malformed data
The constructor leaked its temporary stream whenever a decode
operation raised, for example on truncated or corrupt art data.
2026-11-15 22:06:50 +01:00
aksdb c1967a8a41 🐛 Fix art encoder writing corrupted images
The static RLE encoder read 16-bit pixels from the 32-bit working
image with a 16-bit stride, garbling every pixel and testing a green
channel bit as the visibility flag. The land encoder shifted every
diamond row to a constant or double-stride column. Both matched the
decoder on load and produced scrambled art on save. Also frees the
conversion image on the early exit paths.
2026-11-15 22:06:50 +01:00
aksdb c1f5215fb4 🐛 Stop linked list delete from storing a disposed node
Delete continued the loop with a dangling previous-node pointer after
disposing the matched entry. It now returns after the first match,
which is the behavior all callers rely on.
2026-11-15 22:06:50 +01:00
aksdb e527149f63 🐛 Check node type before treating XML children as text
Reading or updating a value whose first child was a comment or CDATA
node crashed with a failed class cast.
2026-11-15 22:06:50 +01:00
aksdb 39045b76c1 🐛 Fall back to default on invalid boolean config values
ReadBoolean raised an exception on malformed XML text instead of
using the supplied default.
2026-11-15 22:06:50 +01:00
aksdb 5e92d58a6e 🐛 Fix buffered stream flush losing data
Flush sized the base stream from its own overridden size, which
delegates to the base stream, so appended data was truncated or the
copy failed. Flushing a reader would have wiped the file; the reader
writes through immediately and needs no flush. Write now also
propagates short writes from the base stream.
2026-11-15 22:06:50 +01:00
aksdb 2bffd2204b 🐛 Guard fixed-length stream reads against short data
ReadStringFixed returned uninitialized memory on short reads and
crashed on negative lengths from untrusted input.
2026-11-15 22:06:50 +01:00
aksdb 1498437e26 🐛 Validate fifo stream bounds and locking
Seek accepted positions outside the queue, allowing reads before the
buffer, and negative counts reached Move with garbage sizes. Writing
to a locked stream silently dropped the lock window instead of
failing, which corrupts packet parsing.
2026-11-15 22:06:50 +01:00
aksdb a25c8296de ⚡ Pad fixed-length strings in one step
WriteStringFixed grew the string one character at a time, which is
quadratic in the target length.
2026-11-15 22:06:50 +01:00
aksdb 585fd92611 🐛 Fix out-of-bounds reads in stream string readers
The null and wide-string readers tested the terminator before the
bounds check, peeked one character past the window, and used a
lock-relative position against the absolute memory base. They also
advanced past a terminator that was never read, desyncing the parser
on malformed input. Reworked them to stay in bounds and to build the
result in linear time.
2026-11-15 22:06:50 +01:00
aksdb f381647149 🐛 Repair cache invariant after stores
StoreID left the last-entry pointer on the final node, so two
consecutive stores without an intervening query nil-dereferenced.
2026-11-15 22:06:50 +01:00
aksdb 4108ed5900 🐛 Fix cache last-entry corruption on hits
QueryID set the last-entry pointer to the moved node on every hit,
breaking the pointer-to-second-to-last invariant. StoreID then
orphaned tail entries, leaking cached objects and crashing on cache
destruction.
2026-11-15 22:06:50 +01:00
aksdb 98bfbd7b11 🐛 Reject cache manager sizes below 2
A size of 0 or 1 left the internal last-entry pointer nil, crashing on
the first store operation.
2026-11-15 22:01:27 +01:00
aksdb 3f47eba2da 🚨 Fix UfrmLogin not compiling 2024-11-03 16:32:35 +01:00
aksdb 4d92724f4e ✨ Support QT6 2024-11-03 16:32:09 +01:00
aksdb 23b4ebe214 🔨 Add project group 2024-11-03 16:31:41 +01:00
aksdb 3b6b8b6eb3 🚨 Fix cedserver paths 2024-11-03 16:31:17 +01:00
aksdb 27cf279503 🚨 Fix UfrmLargeScaleCommand not compiling 2024-11-03 16:31:04 +01:00
aksdb 955edf8a77 🐛 Fix moving of items freeing the item in the process
continuous-integration/drone/push Build is passing
2022-10-16 17:27:18 +02:00
aksdb 9638bb3fe2 👷 Add win64 build config 2022-10-16 17:26:55 +02:00
aksdb 7be5c8ca7f 👷 Update lazarus in builder
continuous-integration/drone Build is passing
2022-10-16 12:08:55 +02:00
aksdb e0eee2c023 👷 Upload snapshots
continuous-integration/drone/push Build is passing
2022-08-14 20:00:05 +02:00
aksdb 816017d4f1 👷 Add CI pipeline
continuous-integration/drone/push Build is passing
2022-08-13 11:50:48 +02:00
aksdb 6aa6496429 ⚡️ Speed up preview rendering 2022-07-20 20:22:42 +02:00
aksdb 9f66004c44 🐛 Fix invalid Z range on load 2022-07-20 20:22:29 +02:00
aksdb b83c5f4b2d 🚸 Lock actions during placement 2022-07-20 19:29:55 +02:00
aksdb 54e7209c8d ✨ Finish placement as per preview 2022-07-20 19:23:31 +02:00
aksdb 1753c38eea 🚧 Preview design placement 2022-07-20 18:54:00 +02:00
aksdb cd983844fa 🔇 Remove debug log 2022-07-19 20:11:08 +02:00
aksdb 7a67e62398 ✨ Draw UOA designs 2022-07-19 20:09:24 +02:00
aksdb 0e5cb1b48b ✨ Load and list UOA designs 2022-07-19 18:24:03 +02:00
aksdb d75a85d269 🚧 Implement actions as objects 2022-05-29 11:46:22 +02:00
aksdb dc36f0b09c 💄 Fix more form layouts 2022-05-22 15:51:56 +02:00
aksdb 97c8270b38 🐛 Fix Undo handling 2022-05-22 11:27:27 +02:00
aksdb dfef4d3556 🔧 Increase caches to accommodate larger resolutions 2022-05-08 18:42:01 +02:00
aksdb d30f01ac64 ⬆️ Update Vampyre Imaging lib 2022-05-08 10:47:53 +02:00
aksdb 5e47564252 💄 Enable UI scaling 2022-05-07 11:59:04 +02:00
aksdb 900603dd00 📝 Update the README 2022-05-07 11:00:51 +02:00
aksdb da7bf2e3c5 🙈 Update ignore file 2022-05-07 10:51:52 +02:00
aksdb 1bfbc2e11e ⬆️ Update to Lazarus 2.2 and FreePascal 3.2.2 2022-05-07 10:51:52 +02:00
aksdb 39280f927b * Fixed drop down toolbar buttons to correct their state
* Added terrain grid (ported from CentrED+; Thanks to StaticZ!)
2015-05-17 12:39:57 +02:00
aksdb 1ddaee39d5 * Removed heContrns dependency (replaced by fgl ... again) 2015-05-13 19:09:41 +02:00
aksdb d334728b6c * Fixed memory corruption in frmMain (caused by heContrns)
* Added range selection to frmBoundaries
2015-05-13 19:02:33 +02:00
aksdb 609ff53253 * Added X/Y boundaries 2015-05-11 19:30:23 +02:00
aksdb ffd0cc1028 * Added advanced statics filter (thanks to StaticZ) 2015-05-10 19:48:52 +02:00
aksdb 699fb78d72 * Fixed build modes
* Fixed windows build (RT_RCDATA was missing)
2015-05-10 18:45:06 +02:00
aksdb 484bd5523f * Migrated resources from custom resource manager to windows/lazarus resources (requires windres now!)
* Bumped version to 0.7
2015-05-10 18:20:40 +02:00
aksdb f3f5d12c2f * Added colored lights (thanks to StaticZ :-)) 2015-05-10 11:42:05 +02:00
aksdb 937cfb6323 Added tag 0.6.3 for changeset 3bf040abc031 2015-05-01 11:43:36 +02:00
aksdb e29f69a1a9 Added tag 0.6.2 for changeset 6bda4a5123d7 2015-05-01 11:43:23 +02:00
aksdb 91f3aadb82 * Updated to Lazarus 1.5 2015-05-01 11:42:50 +02:00
aksdb 2e3dd53eeb * Also add Build modes for cedserver
* Fixed widget sets in new debug build modes
2014-03-09 16:55:28 +01:00
aksdb 8085639c30 * Added debug build modes 2014-03-09 16:49:54 +01:00
aksdb 7271fcbabc * Removed obsolete file 2013-11-28 17:27:11 +01:00
aksdb 8f5c141705 * More build mode cleanup
* Directory cleanup and restructuring
2013-11-27 20:58:01 +01:00
aksdb d0557ab86f * More UMapManagement 2013-11-27 20:15:33 +01:00
aksdb b9a45bf43b * Enhanced UXmlHelper (enumerator)
* Added UMapManagement
* Fixed TCPServer to allow address reuse
2013-11-23 20:41:20 +01:00
aksdb 1791fd7494 * Clean up build modes 2013-11-27 18:25:00 +01:00
aksdb 829a604c30 * Added password change support (references #95)
* Fixed 64bit support
* Repaired line endings
* Bumped protocol version
2013-11-20 18:12:52 +01:00
aksdb 9676549ac3 * Updated Vampyre Imaging Lib
* Fixed heContrs compilation
* Fixed region editing in frmLargeScaleCommand and frmRegionControl
* Fixed control alignment in frmMain
2013-11-03 14:12:48 +01:00
aksdb 4a5a835afd * Bumped version
* Updated changelog
* Updated installer
2012-01-14 18:21:40 +01:00
aksdb 5ac13430be * Fixed possible range overflow 2012-01-14 18:09:07 +01:00
aksdb 940e81f123 * Replaced fgl with heContnrs
* Fixed behavior of the undo packet list (fixes #88)
2012-01-14 17:58:59 +01:00
aksdb aa37b1cf1d * Bumped version
* Updated copyright
* Read copyright from resource
* Removed obsolete lines from version.inc
2012-01-07 17:23:07 +01:00
aksdb 811d91cc8a * Refactored tiledata cloning
* Added support for new tiledata format (from the High Seas expansion)
2012-01-07 13:48:59 +01:00
aksdb 88e18b7659 * Fixed compilation with current Lazarus/LCL 2011-12-03 18:48:15 +01:00
aksdb 395c8fbe96 * Fixed TfrmHueSettings not freeing the preset doc 2011-10-03 20:32:46 +02:00
aksdb d2f7bdc54f - Fixed align of the Random checkbox on frmHueSettings 2011-04-01 18:02:38 +02:00
aksdb 5c3a8740c1 - Fixed more range violations (fixes #82) 2011-03-31 22:39:00 +02:00
aksdb abe62e13b8 - Changed the hue change mechanic (store the info in the ScreenBuffer instead of a separate list) (refs #66) 2011-03-30 20:52:24 +02:00
aksdb 4c76aafe47 - Fixed loading of hue presets
- Fixed random pane sliding out of the main window
2011-03-29 22:57:11 +02:00
aksdb 086e6dbb7b - Fixed some range violations 2011-03-29 22:04:39 +02:00
aksdb bfe71ae93f - Store used (random) hues for consistent behavior on commit (refs #66) 2011-03-29 21:51:17 +02:00
aksdb 4b5cf332ca - Changed versions to be read from the resource stream 2011-03-26 22:13:57 +01:00
aksdb de33600726 - Added hints to the "Restriction" column in the account list
- Reset the sorting when the list content changes
2011-03-26 12:29:31 +01:00
aksdb 977e53085a - Added more info to the account list (fixes #78) 2011-03-24 22:19:11 +01:00
aksdb be11f61111 - Implemented account list sorting (fixes #79) 2011-03-24 21:57:23 +01:00
aksdb b1be3a22de - Cleanup project file 2011-03-24 21:56:58 +01:00
aksdb 8bebb92300 - Added saving and loading of hue presets (refs #66) 2011-03-16 19:42:55 +01:00
aksdb 2a9598452b - Added reading and writing of RandomHuePresets (refs #66) 2011-03-12 23:46:57 +01:00
aksdb fd4155a45b - Added Drag&Drop for random hue list (refs #66) 2011-03-12 22:58:54 +01:00
aksdb ae720d1931 - Added manifest for Windows build 2011-03-12 22:13:26 +01:00
aksdb 87e4edffa5 - Fixed display of the current hue in the Draw settings dialog 2011-03-12 17:56:53 +01:00
aksdb 34e723db75 - Use the new GetHue method to draw hues (refs #66) 2011-03-12 17:49:08 +01:00
aksdb 6317841c9c - Added UI for random Hue (refs #66) 2011-03-12 17:11:46 +01:00
aksdb a309caa235 - Updated Project Files
- Fixed frmLargeScaleCommand for recent LCL changes
2011-02-04 23:37:06 +01:00
aksdb d158c28452 - Added build modes
- Fixed Login Form layout
- Fixed compilation with FPC 2.5.1
2010-12-25 14:43:17 +01:00
aksdb 49599fdcf4 - Added hgeol
- Fixed repository side eol to be LF
2010-07-25 00:18:54 +02:00
aksdb 0d84ac4b5d - Fixed compilation with recent Lazarus versions 2010-06-11 13:36:45 +02:00
aksdb 6edee941ee - Fixed filter window to invalidate the current filters on delete/clear 2009-12-28 16:40:37 +01:00
aksdb 5f76073b39 Added tag 0.6.1 for changeset c8f14a3d46ee 2009-12-24 19:16:16 +01:00
aksdb 03b9097465 - Bumped version to 0.6.1
- Added silk icon reference to the about dialog
2009-12-24 16:34:29 +01:00
aksdb d461774816 - Added optional highlight for (un)walkable tiles
- Fixed lightmanager to draw in the correct color
- Fixed TMapBlock and TStaticBlock to correctly initialize itself as "unchanged"
- Cleanup in the server project
2009-12-24 15:49:15 +01:00
aksdb f2764e928e - Added option to set the render background to white (fixes #59) 2009-12-23 20:54:56 +01:00
aksdb 46d045a46b - Fixed frmLightLevel to repaint the game window (when the slider changes) 2009-12-23 17:12:58 +01:00
aksdb 8332241ab7 - Removed sorting debug data from TfrmMain 2009-12-23 16:44:50 +01:00
aksdb 0eac70ec86 - Removed CentrED.rc from version tracking 2009-12-23 16:40:34 +01:00
aksdb cf4c155858 - Changed TWorldItem and TWorldBlock Change-tracking
- Reverted TStaticItem.UpdatePriorities
- Fixed vdtTiles' HintCanvas to use the desired font when drawing
- Fixed UpdateFilter to no longer call ForceUpdateCurrentTile
- Several code cleanups
2009-12-23 16:39:24 +01:00