Commit Graph

  • 1de57e33d7 OpenGL3: Make VertexType reference and not store the attribute list numzero 2023-10-07 20:30:18 +0300
  • 9a6d3300ee OpenGL3: Fix noexcept mismatch numzero 2023-10-07 19:57:40 +0300
  • 4cb5404a97 Please, macOS? #249 Gregor Parzefall 2023-10-07 15:01:59 +0200
  • 39041aceba C.UTF-8 Gregor Parzefall 2023-10-07 14:50:06 +0200
  • f06347c8b7 Load top-down bmp images correctly Previously we handled all sizes as unsigned, but Windows BMP files can have negative height to signal top-down images. No clue about left-right (would be trivial to swap as well, but found no info so far if that would be correct) cutealien 2023-10-05 21:04:55 +0000
  • 69622fe641 To be reverted: Disable OpenGL3 by default to verify that my changes pass the CI Gregor Parzefall 2023-10-05 17:56:08 +0200
  • 3d7729bf8d Fix character encoding conversion issues Gregor Parzefall 2023-10-05 17:55:55 +0200
  • 7dc738ad8f Unify documentation between IOSOperator and COSOperator Gregor Parzefall 2023-10-05 17:52:58 +0200
  • 5b2f1927d0
    Revert #225 (d98dc90b38) Gregor Parzefall 2023-10-04 23:29:59 +0200
  • 6ef6cf928f Revert #225 (d98dc90b38) #247 Gregor Parzefall 2023-10-04 15:56:24 +0200
  • 9954667c45
    Cleanup line endings (#245) Vitaliy 2023-10-03 21:37:00 +0300
  • fd0cc39af5 Cleanup line endings #245 numzero 2023-10-03 21:08:42 +0300
  • 099f83c023 Fix compiler warning in COBJMeshFileLoader Caused by recent patches for 1.8 - which still had different parameter types in IReadFile::read cutealien 2023-10-03 15:55:45 +0000
  • 857c75f37d Merging r6555 from branch releases/1.8 to trunk - Fixing buffer ovverread in CXMeshFileLoader (sfan5 patch) cutealien 2023-10-03 15:21:39 +0000
  • b6e9202272 Merging r6551 through r6553 from branch releases/1.8 to trunk All about bounds checks and preventing buffer overruns in b3d and obj files based on sfan5 patches for Minetest cutealien 2023-10-03 15:08:40 +0000
  • b93dac3ee1 Merging r6547 from branch releases/1.8 to trunk Just updating changes.txt (stuff got backported, so changes are now mentioned in 1.8.6 instead of 1.9) cutealien 2023-10-03 12:56:33 +0000
  • 7fd0f2b1fb COBJMeshFileLoader: Avoid memory leak when handling files with invalid vertex indices Thanks @sfan5 for report and patch Was part of the Minetest commit 80e1609 patch which was applied earlier (couldn't apply this with the rest as the rest could be fixed in Irrlicht 1.8, while this one is about new Irrlicht 1.9 code) cutealien 2023-10-02 21:49:08 +0000
  • 5a6e8c9d65 Merging r6522 through r6546 from branch releases/1.8 to trunk - Fixing buffer overflows in bmp and obj loaders - Fixed loading of rle4 encoded bmp images cutealien 2023-10-02 21:42:40 +0000
  • ea1b58387e
    ComboBox API additions for minetest#13814 Gregor Parzefall 2023-09-30 16:46:30 +0200
  • 64d0374c22 nullptr #241 Gregor Parzefall 2023-09-29 18:25:57 +0200
  • d767d27ca8 CXMeshFileLoader: revise error checking sfan5 2023-09-18 21:40:13 +0200
  • 6f4f7c4d75 CXMeshFileLoader: fix buffer overreads with text format sfan5 2023-09-18 21:39:56 +0200
  • 103ab16679 CB3DMeshFileLoader: fix string read primitive sfan5 2023-09-18 22:32:05 +0200
  • 64688f4490 CB3DMeshFileLoader: add some bounds checks sfan5 2023-09-18 19:41:58 +0200
  • 827710f74a COBJMeshFileLoader: properly check indices sfan5 2023-09-18 22:08:55 +0200
  • 80e160935d COBJMeshFileLoader: fix buffer overruns sfan5 2023-09-18 19:27:28 +0200
  • 4506d23dc3 CImageLoaderBMP: add bound checks to RLE decompression sfan5 2023-09-18 15:17:46 +0200
  • 028cb8dbed CImageLoaderBMP: check bitmap data against required size sfan5 2023-09-18 15:17:14 +0200
  • a5c9945bb8 CImageLoaderBMP: fix palette overreads sfan5 2023-09-18 15:16:26 +0200
  • 13898ccb28 CXMeshFileLoader: revise error checking #237 sfan5 2023-09-18 21:40:13 +0200
  • 2a73252185 CXMeshFileLoader: fix buffer overreads with text format sfan5 2023-09-18 21:39:56 +0200
  • 2f43dc72c1 CB3DMeshFileLoader: fix string read primitive sfan5 2023-09-18 22:32:05 +0200
  • c1ed0cf98b CB3DMeshFileLoader: add some bounds checks sfan5 2023-09-18 19:41:58 +0200
  • a7844e27ee COBJMeshFileLoader: properly check indices sfan5 2023-09-18 22:08:55 +0200
  • e411c3e1a5 COBJMeshFileLoader: fix buffer overruns sfan5 2023-09-18 19:27:28 +0200
  • 606c011935 CImageLoaderBMP: add bound checks to RLE decompression sfan5 2023-09-18 15:17:46 +0200
  • 530d49f410 CImageLoaderBMP: check bitmap data against required size sfan5 2023-09-18 15:17:14 +0200
  • 1b9dd5278c CImageLoaderBMP: fix palette overreads sfan5 2023-09-18 15:16:26 +0200
  • cd70803500 Add warning about rotateXZBy using right handed rotation Rest of Irrlicht is using left-handed rotatations. But 2d vector rotations all uses ccw which is kinda the same direction as this one if you consider those as rotations around Y, so I guess that was maybe the reason back then. cutealien 2023-09-26 21:31:35 +0000
  • b6cef7515b TGA loader: Fix buffer underflows in the RLE decompressor #243 numzero 2023-09-26 23:03:33 +0300
  • a8b4ef0272 TGA loader: Fix buffer overflows in the RLE decompressor numzero 2023-09-26 23:02:25 +0300
  • 1be6f3833e TGA loader: Use std::vector for image data numzero 2023-09-26 23:12:59 +0300
  • 7be8c50744 TGA loader: Make sure the entire image is read numzero 2023-09-26 22:43:45 +0300
  • 52078527e0 TGA loader: Avoid potential s32 overflow with very large images numzero 2023-09-26 22:12:25 +0300
  • 38b0b66ffe TGA loader: Preallocate 256-entry palette to avoid out-of-bounds access numzero 2023-09-26 22:11:49 +0300
  • cfb73d07d7 Remove more obsolete files numzero 2023-09-23 11:09:39 +0300
  • 87f7cf3438 Drop unused resource script numzero 2023-09-23 11:00:33 +0300
  • ebe4fd0a59 Refer to the origins in README numzero 2023-09-23 09:57:58 +0300
  • fc7e3f2dff Move license to the root numzero 2023-09-20 22:45:08 +0300
  • b0a070d980 Drop Irrlicht icon numzero 2023-09-20 22:44:50 +0300
  • d9216362ec Drop obsolete docs numzero 2023-09-20 22:44:43 +0300
  • 298623541b Fix number overflows in TGA loader causing crashes Image size calculation could overflow s32 in one place (but not others where it was done correct), which first lead to wrong amount of memory getting allocated for image data and later crash in the CColorConverter. Thanks @sfan5 for his fuzzing tests @https://github.com/minetest/irrlicht/issues/236 and @erlehmann for passing them on: https://irrlicht.sourceforge.io/forum/viewtopic.php?t=52925 Also updating changes.txt with TGA loader changes from this and previous commits. cutealien 2023-09-23 19:01:01 +0000
  • 9f48103263 Fix crash caused by memory overwriting in TGA loader caused by bad RLE data From sfan5's fuzzing test reported in Minetest here: https://github.com/minetest/irrlicht/issues/236 Was missing test if it writes beyond allocated memory which can be triggered by TGA's which lie in their RLE data. cutealien 2023-09-23 18:33:46 +0000
  • 74d3a9967f TGA images with palettes in 24 or 32 bit now create 32 bit images Was creating 16-bit images for those before. Could also support 24-bit images, but either we need another convert function or another palette for that (the 16 and 32 bit both work with 32 bit palettes, the 24 bit conversion function only with 24 bit palettes) cutealien 2023-09-23 17:08:43 +0000
  • 811a9f3463 Fix TGA's with bad palette colors reading from behind palette memory TGA's can claim to use less palette colors than they later do. We only support 8-bit palettes, so to make this safer lets just always allocate at least 256 bytes. Thanks @erlehmann for report and testcase: https://irrlicht.sourceforge.io/forum/viewtopic.php?p=307191 Based on Minetest bug report: https://github.com/minetest/irrlicht/issues/236 cutealien 2023-09-23 16:34:42 +0000
  • e81038237b Add some comment that camera FOV is vertical Parameter already called fovy, but shouldn't hurt to mention it twice cutealien 2023-09-23 14:24:36 +0000
  • 36aab4308c Remove more obsolete files #240 numzero 2023-09-23 11:09:39 +0300
  • 26dec71d9f Drop unused resource script numzero 2023-09-23 11:00:33 +0300
  • bbe8856466 Refer to the origins in README numzero 2023-09-23 09:57:58 +0300
  • 7ff82528f3 Unify matrix4::buildProjectionMatrixPerspectiveFov functions We had 4 near identical functions, those now all call buildProjectionMatrixPerspectiveFov They were a bit hard to check for errors otherwise. Especially with the tiny confusing non-differences like one using (a-b) and other -(b-a) Also new one uses matrix template parameter in case someone needs for example a high-precision matrix. cutealien 2023-09-22 16:06:40 +0000
  • 26237d5067 ComboBox API improvements Gregor Parzefall 2023-09-22 16:57:20 +0200
  • 0578c668b3 Ignore EHM_NEVER for index buffers #234 Caleb Butler 2023-09-21 19:27:28 -0400
  • fbc28719a2 Handle EHM_NEVER correctly Caleb Butler 2023-09-21 18:43:51 -0400
  • b92c2b3bcf Replace uintptr_t in beginDraw with void* Caleb Butler 2023-09-21 18:37:48 -0400
  • bcf7b9ba8f Move license to the root numzero 2023-09-20 22:45:08 +0300
  • af867be5a9 Drop Irrlicht icon numzero 2023-09-20 22:44:50 +0300
  • 7ff1379319 Drop obsolete docs numzero 2023-09-20 22:44:43 +0300
  • d8a21cb25f Drop unused CIndexBuffer numzero 2023-09-20 21:02:16 +0300
  • 9c54d927b9 Drop unused CVertexBuffer numzero 2023-09-20 20:45:35 +0300
  • 5bcb5f8ca1 Drop unused CIndexBuffer #238 numzero 2023-09-20 21:02:16 +0300
  • 32fb6c3b8e Drop unused CVertexBuffer numzero 2023-09-20 20:45:35 +0300
  • 275e152523 v2 afl sfan5 2023-09-18 17:13:32 +0200
  • 4ca90e3dfd afl-fuzz sfan5 2023-09-17 23:40:31 +0200
  • 343d98b297 Remove UseGlobalVBO global variable Caleb Butler 2023-09-17 16:55:01 -0400
  • b89455f385 Build OpenGL3 by default numzero 2023-07-02 21:35:58 +0300
  • 6a5fceb8fd Hide OpenGL3 behind SDL2 (it won’t build otherwise anyway) numzero 2023-07-02 21:35:11 +0300
  • 0b9ee5884f Fix Android build after #231 Gregor Parzefall 2023-09-17 20:28:53 +0200
  • 766c02dd64 Fix Android build after #231 #235 Gregor Parzefall 2023-09-17 20:28:53 +0200
  • ed437a9bb5 Add comments explaining removing certain things Caleb Butler 2023-09-13 11:28:58 -0400
  • 326107d6fa Clean up beginDraw function Caleb Butler 2023-09-13 11:25:00 -0400
  • 7ab402323a Add minor optimizations Caleb Butler 2023-09-11 12:02:52 -0400
  • d10260e619 Fix Graphical Glitches in drawHardwareBuffer Caleb Butler 2023-09-11 11:39:09 -0400
  • fd9e8b9cfe Made the Core Profile render a little more Caleb Butler 2023-09-11 08:38:57 -0400
  • 251ac04227 Switch to Core OpenGL 3.3 Profile Caleb Butler 2023-09-10 23:59:29 -0400
  • 679dfd3343 Fix CNullDriver::removeTexture() segfault sfan5 2023-09-13 14:40:39 +0200
  • f9d7a632f5 CI: Add MinGW builds with SDL sfan5 2023-09-13 13:17:24 +0200
  • dc43583a2c CI: Merge 32- and 64-bit MinGW builds numzero 2023-07-02 22:21:47 +0300
  • 03fd4ff533 Remove unused IVideoDriver::getTextureByIndex and IVideoDriver::renameTexture Desour 2023-09-13 11:20:51 +0200
  • b7292226b4 Remove the unnecessary sort in CNullDriver::addTexture Desour 2023-09-13 11:26:14 +0200
  • 5a3be030f6 Remove unused IVideoDriver::getTextureByIndex and IVideoDriver::renameTexture #233 Desour 2023-09-13 11:20:51 +0200
  • 7298b46504 Use binary search in CNullDriver::removeTexture() sfan5 2023-09-13 12:33:50 +0200
  • 9c0c7ee091 Remove the unnecessary sort in CNullDriver::addTexture Desour 2023-09-13 11:26:14 +0200
  • 79d6563859 Fix compiling for Debug mode #232 Caleb Butler 2023-09-11 19:53:16 -0400
  • 3ed89a173a Change compiling minorly; assert the core profile Caleb Butler 2023-09-11 16:24:23 -0400
  • e30367ffbd Separate OGLES2 Driver from libGL Caleb Butler 2023-09-11 14:53:24 -0400
  • d37f39db74 Decoupled OpenGL 3 Driver from libGL linkage Caleb Butler 2023-09-11 14:45:09 -0400
  • f7e6261dbf Add minor optimizations Caleb Butler 2023-09-11 12:02:52 -0400
  • 25ef1849aa Fix Graphical Glitches in drawHardwareBuffer Caleb Butler 2023-09-11 11:39:09 -0400
  • a225ebc701 Made the Core Profile render a little more Caleb Butler 2023-09-11 08:38:57 -0400
  • ad6b95860f Switch to Core OpenGL 3.3 Profile Caleb Butler 2023-09-10 23:59:29 -0400