Commit graph

44 commits

Author SHA1 Message Date
biwa
5c61600d0f Removed some debugging code 2021-12-26 15:36:00 +01:00
biwa
69a3194d69 Fixes for Mono in the ScriptEditorPanel 2021-12-26 13:21:54 +01:00
biwa
288de511e4 DECALDEF: fixed a bug where the drop down list of available decals was empty. Fixes #678 2021-12-26 13:11:00 +01:00
biwa
6cad9218f0 Script editor: Reverted to an old version of ScriptEditorPanel 2021-12-10 18:18:25 +01:00
biwa
a69141c3d0 Script editor: made the fix for #663 a bit cleaner 2021-12-10 18:13:16 +01:00
biwa
0945875bd6 Script editor: fixed a crash when opening the script editor. Fixes #663 2021-12-10 17:58:03 +01:00
biwa
5eb438e3ba
Add map scripting capabilities to UDB (#656)
Added map scripting capabilities to UDB (#656). Documentation at https://biwa.github.io/udbscript-docs/
2021-11-28 14:00:24 +01:00
Derek MacDonald
4b1e5d8e22
Avoid infinite recursion in script editor's Find/Replace All (#615) 2021-09-11 12:30:08 +02:00
Derek MacDonald
f693959df4
Unchanged script editor skips implicit save (#543)
Stop calling ScriptFileDocumentTab.RemoveTrailingWhitespace()
on a text editor that has unchanged text. This causes the
currently-opened map to be marked 'isChanged == true' when
nothing is modified.
2021-04-06 20:38:48 +02:00
biwa
6de1d10065 Script Editor: fixed a problem where folded blocks were unfolded unexpectedly when the script was saved. Fixes #392 2021-03-22 12:11:25 +01:00
Magnus Norddahl
160882a962 Fix null pointer that builds in Windows apparently didn't care about 2020-10-02 01:35:44 +02:00
Magnus Norddahl
61788e2be2 TabControlEX doesn't work with mono (why am I not surprised? xamarin, I want my money back!!) 2020-10-02 01:09:06 +02:00
Magnus Norddahl
b330e61512 Create a minimal text editor implementation for mono where scintilla isn't available 2020-10-02 00:20:23 +02:00
Magnus Norddahl
e390bce8f6 Find the exact Scintilla.NET API used by UDB and create a stub implementation so that it builds without 2020-09-30 03:34:11 +02:00
ZZYZX
7b5506363e Fixed F10 key focusing the menu on key release 2019-12-31 15:32:57 +02:00
ZZYZX
c00e2a8074 Fixed F10 key focusing the menu instead of opening the script editor as intended 2019-12-31 14:57:29 +02:00
ZZYZX
e092235262 Removed the remains of resource editing 2019-12-31 14:16:13 +02:00
ZZYZX
e61937c7b7 Removed the capability to open any file from the script editor 2019-12-31 13:18:39 +02:00
ZZYZX
12fd006c61 Removed dynamic resource reloading for resource writing 2019-12-29 16:38:53 +02:00
ZZYZX
8990cc57b0 Fixed code folding in script editor 2019-12-29 15:58:53 +02:00
ZZYZX
87f74cb9c3 Trashed embedded resource editing UI 2019-12-29 15:27:29 +02:00
ZZYZX
6419cc04b0 Merged OpenGL UDB dev branch 2019-12-24 19:49:43 +02:00
biwa
37c52b4d70 Code folding in the script editor works again. Fixes #115. 2019-12-24 15:58:20 +01:00
Magnus Norddahl
9f2c9e00d7 Add mono makefile 2019-08-29 16:30:49 +02:00
biwa
36361de889 - Fixed a bug where script compile errors were not shown under certain circumstances. Fixes #161. 2019-04-19 19:58:41 +02:00
jewalky
0b14bdeec1
GZDB native 64-bit binary support (PR#197 by StrikerMan780) 2018-04-14 16:55:21 +03:00
ZZYZX
6661ed44e3 Fixed: saving a script would reset scrolling to the top 2017-02-26 12:03:39 +02:00
ZZYZX
271df46f2a Added: script editor will now automatically trim trailing whitespace on save. 2017-02-20 07:07:44 +02:00
ZZYZX
123145085f Fixed: Find&Replace in Script Editor would go into an infinite loop if replacement contains the searched text 2017-02-13 03:02:14 +02:00
ZZYZX
a5a942c798 Fixed: lump saving in script editor after editing archive with SLADE.\n Fixed: checking for concurrent modification in script editor while trying to save the lump. 2017-01-21 03:14:21 +02:00
ZZYZX
a1dc4bb157 Internal: Remembered various ZScript operators for the future; Script Editor: fixed script type icons 2017-01-17 20:19:45 +02:00
ZZYZX
ebd7fb1a57 Upgrade to VS2015 (14.0) 2017-01-15 00:35:40 +02:00
m-x-d
a41058bef9 Fixed, Script Editor: bottom panel was not automatically expanded after adding a script error.
Fixed, Script Editor: in some cases extra indentation was added to the duplicated line when using "Duplicate Line" command.
Added, Script Editor: some editor comments were missing from ZDoom_DECORATE.cfg.
Fixed, Game Configurations: fixed a crash when overriding an existing linedef action definition by a one from a different category (this fixes Issue #1).
2017-01-07 23:53:13 +03:00
MaxED
45c3cbaae3 Added, Script Editor: added script configurations / auto-detection support for GAMEINFO, FONTDEFS and KEYCONF text lumps.
Fixed, "Open Map Options" and "Change Map" windows: fixed incorrect size of the items in the maps list when using high-DPI scaling.
Updated ZDoom_DECORATE.cfg and ZDoom_MAPINFO.cfg.
2016-12-12 12:35:18 +00:00
MaxED
b283fab795 Fixed, action arguments control: in some cases named script name was not displayed.
Fixed, Script Editor: Delete key was not working in the text editor (because it was hijacked by context menu action, which requires a selection to be active).
2016-12-10 21:33:59 +00:00
MaxED
88363a1a66 Added, Script Editor: added "Find usages" option (available in the "Search" menu, via text editor context menu, via Ctrl-Shift-F shortcut and in the "Find and Replace" window).
Added, Script Editor: double-clicking text resource tab header now shows the corresponding resource in the Resources tree.
Updated, Game configurations, UDMF: added several missing Thing renderstyles.
2016-12-08 12:10:43 +00:00
MaxED
5dd45ffdca Updated, Script Editor: redesigned "Find and Replace" window. It can now search/replace in all opened tabs and all detected text resources.
Fixed, Script Editor: resources list control was incorrectly positioned when using DPI scaling.
2016-12-02 13:45:03 +00:00
MaxED
a31c6b6652 Fixed, Script Editor: resources navigator was always loading the first WAD lump with matching name when trying to open any of several WAD lumps with matching names.
Reverted, Visual mode: looks like all additional cases of displaying sky hack added in r2755 were actually undefined engine behaviors, not the "proper" shy hack... Reverted implementation to the wiki definition of the sky hack.
2016-11-30 20:12:32 +00:00
MaxED
1523d06ee3 Updated, Visual mode: some cases when the sky hack must be applied were not handled.
Updated, Script editor: script editor was unable to show error location after double-clicking on it in the Warnings and Errors window when said location was inside of a WAD located in a PK3 file.
Updated, text lumps tracking: already parsed DECORATE/GLDEFS lumps are now added to the text lumps list even when DECORATE/GLDEFS parsing fails, allowing you to fix errors without the need to use external tools.
Fixed: in some cases the editor could stuck in an infinite loop when searching for wad lumps.
2016-11-28 20:01:47 +00:00
MaxED
18dc8cebba Fixed: in some cases only the last data (sprite/texture/patch etc.) range was detected in WADs.
Fixed, Script Editor: Cut/Copy/Paste/Undo/Redo keyboard shortcuts were handled incorrectly when quick search textbox was focused.
Fixed, Script Editor: Find next/Find previous quick search button actions were handled incorrectly.
Updated documentation.
2016-11-26 20:03:59 +00:00
MaxED
aecd017b19 Added, Errors and Warnings window: most of warnings/errors related to (G)ZDoom text lump parsing can now be double-clicked to show warning/error source in the Script Editor.
Fixed: some map format conversion errors were never displayed, because errors list was cleared after performing map conversion.
Fixed: 3d floor indicators in 2D modes were not updated after leaving Visual mode.
Fixed: some UDMF-only interface buttons were never removed after converting map format from UDMF.
2016-11-26 00:02:56 +00:00
MaxED
9553042c84 Added, Script Editor: unreferenced ACS files are now shown in the Resources list.
Added, Script Editor: MENUDEF and SBARINFO files/lumps are now shown in the Resources list.
Fixed, ACS handling: fixed a crash when trying to parse an #include file, when specified path was absolute.
2016-11-24 21:09:24 +00:00
MaxED
894279b4ba Added, Script Editor: added "Script Navigator" tab. It shows and allows to open text resources loaded by the editor.
WARNING: because of the large amount of added/modified code, bugs are possible, so backup your resources, save often and report bugs.
2016-11-24 11:55:11 +00:00
MaxED
5f2454230a Added script editor configurations for the most of ZDoom text lumps.
A minor code refactoring.
2016-11-04 09:48:51 +00:00