Changesets: DarkRadiant
master be4161a6 13.08.2022 19:53 Details Diff |
0006031: More unit tests, harden the parser against some ill-formed def token sequences |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
mod - test/DefBlockSyntaxParser.cpp | Diff File | ||
master a6f3a221 13.08.2022 19:35 Details Diff |
0006031: Make the DefBlockSyntaxTokeniserFunc::_state field a variable, it has always been re-initialised between calls anyway. |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
master 0a234c9f 13.08.2022 07:59 Details Diff |
0006031: Change a few assertions in the MaterialExport tests which were tailored to the old algorithm that replaced the entire decl including the whitespace and comments outside the braced block. |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
mod - test/MaterialExport.cpp | Diff File | ||
master 3f14603d 13.08.2022 07:52 Details Diff |
0006031: Code cleanup, remove the regex-based SpliceHelper. |
Affected Issues 0006031 |
|
rm - libs/decl/SpliceHelper.h | Diff | ||
mod - radiantcore/decl/DeclarationManager.cpp | Diff File | ||
mod - tools/msvc/libs.vcxproj | Diff File | ||
mod - tools/msvc/libs.vcxproj.filters | Diff File | ||
master a7b73980 13.08.2022 07:48 Details Diff |
0006031: Migrate DeclarationManager::saveDeclaration to manipulate the DefSyntaxTree instead of messing with regexes |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
mod - radiantcore/decl/DeclarationManager.cpp | Diff File | ||
master 034e0f46 13.08.2022 07:03 Details Diff |
0006031: Introduce DefSyntaxTree::foreachBlock to reduce duplicated boilerplate code at the client side |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
mod - test/DeclManager.cpp | Diff File | ||
mod - test/DefBlockSyntaxParser.cpp | Diff File | ||
mod - test/Particles.cpp | Diff File | ||
master d8162d2a 13.08.2022 06:38 Details Diff |
0006031: Turns out the DefBlockTokeniser can be removed |
Affected Issues 0006031 |
|
rm - libs/parser/DefBlockTokeniser.h | Diff | ||
mod - test/DefTokenisers.cpp | Diff File | ||
mod - tools/msvc/libs.vcxproj | Diff File | ||
mod - tools/msvc/libs.vcxproj.filters | Diff File | ||
master 8ace9e39 13.08.2022 06:33 Details Diff |
0006031: Migrate DefBlockTokeniser test cases to the DefBlockSyntaxParser test fixture |
Affected Issues 0006031 |
|
mod - test/DeclManager.cpp | Diff File | ||
mod - test/DefBlockSyntaxParser.cpp | Diff File | ||
master fd8bef54 13.08.2022 06:14 Details Diff |
0006031: Migrate particle tests to use the DefBlockSyntaxParser to check the file contents |
Affected Issues 0006031 |
|
mod - test/Particles.cpp | Diff File | ||
defparser 30358653 13.08.2022 05:47 Details Diff |
0006031: Remove a .darkradiant file in another unit test that used to stick around after a full test run. |
Affected Issues 0006031 |
|
mod - test/EntityClass.cpp | Diff File | ||
defparser 95b34708 13.08.2022 05:41 Details Diff |
0006031: Declaration Manager is creating a .bak file before removing a decl from the target path. |
Affected Issues 0006031 |
|
mod - libs/os/file.h | Diff File | ||
mod - libs/stream/ExportStream.h | Diff File | ||
mod - radiantcore/decl/DeclarationManager.cpp | Diff File | ||
mod - test/DeclManager.cpp | Diff File | ||
defparser 322ffce4 13.08.2022 05:13 Details Diff |
0006031: Material Editor is now offering a button to remove the selected material |
Affected Issues 0006031 |
|
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - install/ui/materialeditor.xrc | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.h | Diff File | ||
defparser 9308ace6 13.08.2022 04:46 Details Diff |
0006031: Lead-in comments of deleted blocks are now removed along with it |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
mod - radiantcore/decl/DeclarationManager.cpp | Diff File | ||
mod - test/DeclManager.cpp | Diff File | ||
mod - test/resources/tdm/testdecls/removal_tests.decl | Diff File | ||
defparser 9b7ac576 12.08.2022 19:30 Details Diff |
0006031: Remove the declaration from physical decl files by manipulating the parsed syntax tree. |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
mod - radiantcore/decl/DeclarationManager.cpp | Diff File | ||
defparser ccdd03b8 12.08.2022 19:13 Details Diff |
0006031: Remove old code in DeclarationFolderParser |
Affected Issues 0006031 |
|
mod - radiantcore/decl/DeclarationFolderParser.cpp | Diff File | ||
defparser 33e7da46 12.08.2022 18:43 Details Diff |
0006031: Update the DeclarationFolderParser to use the DefBlockSyntaxParser to load the decl files. For that I had to write an iterator adapter supporting the peek() method needed for the specific DefBlockSyntaxTokeniserFunc implementation. Since std::istream has a peek() method we can expose that in a special iterator adapter. Pretty convoluted altogether, but the client code is looking nice. |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
mod - radiantcore/decl/DeclarationFolderParser.cpp | Diff File | ||
mod - test/DefBlockSyntaxParser.cpp | Diff File | ||
defparser c479e990 12.08.2022 16:32 Details Diff |
0006031: Introduce parser specialisations for std::stream and const std::string, using traits to reduce code duplication. Extend unit tests. |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
mod - test/DefBlockSyntaxParser.cpp | Diff File | ||
defparser 2f6dfe2e 12.08.2022 14:33 Details Diff |
0006031: Extend the unit tests to cover def, particles, material types |
Affected Issues 0006031 |
|
mod - test/DefBlockSyntaxParser.cpp | Diff File | ||
defparser 15aa2867 12.08.2022 14:27 Details Diff |
0006031: It's possible now to parse a decl file into a syntax tree and reconstruct the source text, byte-perfect. |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
mod - test/DefBlockSyntaxParser.cpp | Diff File | ||
mod - test/resources/tdm/testdecls/removal_tests.decl | Diff File | ||
defparser e6c53422 12.08.2022 11:03 Details Diff |
0006031: Add test assuming that a parsed syntax tree can be converted back to the exact source string it has been parsed from. |
Affected Issues 0006031 |
|
mod - test/DefBlockSyntaxParser.cpp | Diff File | ||
mod - test/algorithm/FileUtils.h | Diff File | ||
defparser e530be60 12.08.2022 06:54 Details Diff |
0006031: More block tokeniser unit tests. Fix parsing when encountering control characters within a quoted string within a block |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
mod - test/DefBlockSyntaxParser.cpp | Diff File | ||
defparser b0595bdd 12.08.2022 06:13 Details Diff |
0006031: Start implementing the block tokeniser func |
Affected Issues 0006031 |
|
mod - libs/parser/DefBlockSyntaxParser.h | Diff File | ||
mod - test/DefBlockSyntaxParser.cpp | Diff File | ||
master 73820959 10.08.2022 19:38 Details Diff |
0000401: Patch/Insert options disabled without selection |
Affected Issues 0000410 |
|
mod - install/menu.xml | Diff File | ||
mod - radiantcore/patch/PatchModule.cpp | Diff File | ||
mod - radiantcore/patch/algorithm/General.cpp | Diff File | ||
mod - radiantcore/patch/algorithm/General.h | Diff File | ||
mod - radiantcore/selection/algorithm/Patch.cpp | Diff File | ||
mod - radiantcore/selection/algorithm/Patch.h | Diff File | ||
master 032f59e3 10.08.2022 19:10 Details Diff |
0000401: Weld Patches disabled without selection |
Affected Issues 0000410 |
|
mod - libs/selectionlib.h | Diff File | ||
mod - radiantcore/patch/PatchModule.cpp | Diff File | ||
master ca5609ce 10.08.2022 19:02 Details Diff |
0000401: Stitch Patch Textures disabled without selection |
Affected Issues 0000410 |
|
mod - libs/selectionlib.h | Diff File | ||
mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
mod - radiantcore/brush/BrushModule.cpp | Diff File | ||
mod - radiantcore/brush/csg/CSG.cpp | Diff File | ||
mod - radiantcore/clipper/Clipper.cpp | Diff File | ||
mod - radiantcore/patch/PatchModule.cpp | Diff File |