3.1.2 beta 5

@sirjuddington sirjuddington released this Sep 11, 2017 · 57 commits to master since this release

General

  • Added new command line options:
    • -nosplash disables the splash window
    • -debug enables debugging info and log messages
  • Eternity port definition updates (thanks @Altazimuth)
  • Added GOG BFG Edition classic IWAD path detection
  • Improved console panel:
    • Now uses the same colours as the text editor
    • Log messages are coloured by type (eg. warnings - yellow)
  • Added 'View -> Toolbars' menu to main windows
  • Fixed a crash on exit in linux

Definition Parsing

  • Added basic ZMAPINFO parsing
    • DoomEdNums parsed from ZMAPINFO are now linked to DECORATE/ZScript classes
  • Improved DECORATE parsing, now properly supports inheritance
  • ZScript is now parsed from a configured (g)zdoom.pk3 file on startup and imported to the 'ZScript' text language
    • Added controls to browse for the pk3 on the base resource configuration panel
  • ZScript in open archives is parsed:
    • Used for thing type definitions in the map editor (same as DECORATE)
    • Imported to the ZScript text editor language (functions and class names only for now)

Resource Editor

  • Don't consider gfx modified if the offset is touched but not actually changed
  • Don't allow duplicate entry names in directory archives
  • Standalone entry tabs now correctly close if the entry is deleted from its parent archive (this could previously cause a crash if the entry tab was switched to after being deleted)
  • Fixed an issue where switching away from a modified entry would sometimes cause multiple save prompts to show
  • Fixed 'access is denied' error log spam while checking directory archives for changes on disk
  • Fixed potential crash on opening/playing HMI music entries
  • Fixed crash on loading certain wav entries (eg. TIRE in action2.wad)
  • Fixed multiple issues with the data grid entry panel:
    • Fixed string cells being filled with junk characters on being modified
    • Fixed cell modification for certain entry types (GENMIDI, PNAMES)
    • Fixed various crashes when trying to perform actions after all rows are removed
    • Modified cell colours are correctly updated after deleting/inserting rows

Text Editor

  • Various improvements to call tips:
    • Use the 'type' colour for types
    • Show the function context (eg. the class or namespace the function belongs to)
    • Show default parameter values where applicable
    • Show (some) ZScript function qualifiers
    • Show all function contexts in hover call tips
    • Show if the function is deprecated (and the deprecated version)
  • The case_sensitive option for text languages now actually works
  • Improvements to word match highlighting:
    • Added a delay before highlighting the word under the cursor
    • Use the selection for matching if there is one
  • Fixed the 'Jump To' dropdown refreshing more often than needed
  • Text language definitions can now define words as block start/end delimiters, lua language now supports code folding
  • Improved text modification checking
  • Added more customisation options:
    • 'Extra Line Height' setting to increase line height
    • 'Indent With Spaces' option
    • 'Show Whitespace' option
  • Fixed slowness with brace matching enabled in windows
  • Improved lexer for ZScript that won't highlight function names if they aren't followed by (

Scripting

  • Text editors in the script manager window now have full functionality (find+replace, go to line, folding etc.)
  • Added the ability to create and edit different types of editor scripts in the script manager window:
    • Custom scripts - simple scripts that can be run via the script manager
    • Archive scripts - scripts that must contain an execute function taking in an Archive, which will be run on the current archive. Can be run via the 'Archive -> Run Script' menu
    • Entry scripts - scripts that must contain an execute function taking in an array of ArchiveEntry, which will be run on the currently selected entries. Can be run via the 'Entry -> Run Script' menu or the entry context menu
    • Map scripts - scripts that must contain an execute function taking in a Map, which will be run on the current map. Can be run via the 'Tools -> Run Script' menu in the map editor
  • Added ability to view scripting docs in a tab (in menu 'View -> Documentation')

Map Editor

  • Unlock the mouse cursor when the map editor window is closed via keyboard (alt+f4)
  • Significant performance improvements for large maps with ZDoom specials
  • Added line angle display to line info overlay (thanks @Dethernal)
  • Fixed some potential crashes on entering 3d mode
  • Fixed crashes on (re)opening the map editor in certain situations

3.1.2 beta 4

@sirjuddington sirjuddington released this Aug 2, 2017 · 118 commits to master since this release

Resource Editor

  • Don't proceed with deleting the entry if esc or close is pressed on the 'delete entry' confirmation dialog

Scripting

  • Fixed crash on opening the script manager window for the first time
  • Fixed MapEditor enums not working correctly

3.1.2 beta 3

@sirjuddington sirjuddington released this Jul 31, 2017 · 123 commits to master since this release

New Scripting Feature
This beta introduces a fairly major new feature - scripting. This allows lua scripts to be written that can interact with SLADE and perform various functions. Some documentation for the types and functions that are available in scripts can be found here: http://slade.mancubus.net/docs/scripting (the examples are a good place to start and see some things that are possible). As the docs page says, this feature is still pretty WIP - I'd like to add a fair bit more functionality to it, and existing API details may change before 3.1.2 is released.

  • Added ability to run lua scripts to perform various functions in SLADE
  • Added a new 'Script Manager' window for writing/running SLADE editor scripts. Available in the 'Tools' menu
  • Added script console command to run a lua script. Arguments are concatenated and separated by spaces, to allow entering something like: script App.logMessage('This is a log message')
  • Added ability to define 'Archive' scripts. These are added under the 'Archive -> Scripts' menu, selecting one will run the execute function in the script, passing it the current archive. Custom archive scripts can be put in the <user slade3 dir>/scripts/archive folder on disk (ability to create them in the script manager will come in the next beta)

General

  • Added an option to control the behaviour of the directory archive external changes check:
    • Always ignore changes
    • Always apply changes
    • Ask (previous behaviour)
  • The 'Run' button in the run dialog is now the default button (so pressing enter will activate it)
  • Updated the start page with a new look and layout, including some other new features:
    • Shows the latest news post from the website if an internet connection is available
    • Optional dark theme (Preferences -> Interface), which also applies to the online documentation
    • The 'Update Available' alert will show on the start page if it is open
    • Added 'View -> Start Page' menu item to the main window to show (or reopen) the start page
  • Fixed a potential crash if timidity fails to launch

Resource Editor

  • Fixed a potential crash when sorting the entry list

Text Editor

  • Added keybinds to comment and uncomment code (thanks @crisisinaptica)
    • Ctrl+/ will comment out the current or selected lines with line comments (eg. //), or uncomment them if they are already commented out
    • Ctrl+Shift+/ works as above, but uses block comments (eg. /* */)
  • . is no longer counted as a 'word' character, so eg. double clicking to select a word will stop at any . rather than including it

Map Editor

  • Fixed issues with certain mouse actions not working when the map view lost focus
  • Fixed a possible crash when deleting map objects/structures
  • Fixed a possible crash when closing the map editor
  • Fixed issues with 3d mode on MacOS with high-DPI displays (thanks @alexey-lysiuk)
  • Fixed line flags in UDMF not using the correct names

3.1.2 beta 2

@sirjuddington sirjuddington released this Jun 6, 2017 · 187 commits to master since this release

General

  • Translations now work on truecolour images
  • Added support for SiN archives
  • Fixed an issue in the configuration files preventing some text entry formats being correctly detected
  • Fixed crashing on exit
  • Updated ZDoom UDMF configuration with new properties
  • Various minor tweaks, fixes and improvements

Resource Editor

  • Fixed the sector and sidedef counts not resetting in the map preview
  • Fixed duplicate 'save changes' prompts when clicking away from a modified entry in linux

Texture Editor

  • Fixed a crash when removing a patch from the patch table

Map Editor

  • The shape draw options should now show up again during shape drawing
  • Fixed a potential crash upon entering 3d mode
  • Fixed 'Quick Thing Angle' feature spamming undo steps

3.1.2 beta 1

@sirjuddington sirjuddington released this May 24, 2017 · 216 commits to master since this release

General

  • New and updated Eternity engine configurations (thanks @Altazimuth)
  • Various speed improvements (thanks @Monsterovich and @anotak)
  • Added support for vanilla-compatible tall gfx patches
  • Lots of refactoring and changes under the hood to fix some long standing bugs and improve maintainability - will likely introduce new issues too but that's what beta releases are for
  • Various minor UI tweaks and improvements
  • (Very) Many other minor improvements and fixes

Resource Editor

  • Added basic pixel-editing tools in the gfx editor
    • Multpile painting modes: draw, erase, translate
    • Various brush shape presets, including dithered patterns
  • Added new Palette Gradient tool (thanks @jmickle66666666)
  • Added new Crop Gfx tool
  • Palette colours can now be used in colourise/tint/translate tools (right click colour boxes for palette colour selection)
  • Improvements to the gfx translation tool:
    • Colourise and tint effects can now be used in colour remap
    • Added a checkbox so that the translation string only reports palette ranges, regardless of which translation types are used
  • Added metadata display for most audio types

Texture Editor

  • Added filter text box to texture list

Text Editor

  • Added code folding feature, can fold code blocks (eg. between { and }), preprocessor blocks (eg. #region/#endregion) and comment blocks.
  • Added option to override the text editor font globally (rather than using what is defined in the style)
  • Added a simple preview to the text editor styles preferences page
  • Moved everything from the bottom TextEntryPanel toolbar to a new 'Text' entry menu (word wrap, jump to, find+replace)
  • Indent guides and right margin line colours are now configurable
  • Revamped the Find+Replace feature:
    • Is now a panel that pops up below the text editor, so it doesn't get in the way of the text like the old dialog did
    • 'Find Previous' button
    • Extra matching options - match start of word, regular expression (isn't 'real' regex, but scintilla's version of it), and backslash expressions
    • Can press enter while the find text is highlighted to find next (also shift+enter to find previous)
    • When activated, the find text will be populated by either the current selection or the word under the cursor, and the 'find' text box will be focused and selected
  • Added 'Jump to Line #' feature
  • Vastly improved calltips:
    • No longer look like something straight out of windows 95
    • (Optionally) colourise function name and parameter types
    • (Optionally) dim function parameters that are optional
    • Limit width of calltips and split to multiple lines so they are less lilely to extend off the screen (they still can, though)
    • Pressing escape while a calltip is open will close it
    • Pressing up/down while a calltip with multiple function parameter sets is open will cycle through the sets (can also click on the up/down arrows as before)
    • Corrected some issues where calltips would hang around when they shouldn't or not show up when they should
    • Added ability to define function descriptions, which will show up in calltips
    • Changed function config behaviour to override a previously defined function if another with the same name is encountered, rather than adding the new args as a set (so no more 2x identical arg sets for ACS_Execute, etc.)
  • Comment, preprocessor and block start/end tokens are now configurable via TextLanguage
  • Allow more word lists to be defined for syntax highlighting (added 'Type' and 'Property' word lists configurable via TextLanguage, in addition to the existing keyword/constant/function lists)
  • Changed the 'Jump To' option/dialog to an auto-updating dropdown that is always showing on the top toolbar
  • Added (optional) highlighting of all occurrences of the word under the cursor
  • Added (optional) highlight for current line
  • Added new styles for 'Comment (Doc)', 'Type', 'Property', 'Word Match' and 'Current Line'
  • Created new SLADE default colour sets (light and dark) and an additional 'Material' colour set
  • Fixed refresh issues with multi-line brace matching in windows
  • Fixed text editor stealing focus from other controls (most noticeable in text controls - the cursor would show up in the wrong spot)

Map Editor

  • String args are now shown in the info overlay
  • Added Z height changes for things. Ctrl+mousewheel will change thing height, floor/ceiling heights, and wall vertical offsets.
  • Added floodfill. This pastes the texture to every adjacent texture. Default key is shift+middle click because that's the key in DB2/GZDB(BF), and because it's consistent with shift+left click for flood-select.
    • Because of that, default key for simple paste texture has been changed to ctrl+middle click.
  • Added new map checks:
    • Check for missing tagged objects
    • Check for unknown line and thing specials
    • Check for unknown sector types
    • Check for obsolete things
  • Added new 'Special Presets' feature for hexen and UDMF format maps - select from a list of pre-defined specials (currently generated from ZDoom's XLAT) for quickly setting args and activation trigger flags (custom presets support coming in a later beta)

3.1.1.5

@sirjuddington sirjuddington released this Jan 17, 2017 · 10 commits to stable since this release

General

  • Added an option to always show acc compiler output, even on success
  • Various updates to game and language configurations (thanks @Blue-Shadow)

Resource Editor

  • Added a button to clear the entry list filter
  • Fixed some issues when importing a palette from a png
  • Fixed some potential crashes when loading corrupted doom gfx entries
  • Fixed some issues with converting to doom flat format

Texture Editor

  • Patch and texture operations should now work on the correct item when the texture or patch list is sorted
  • Fixed png alpha channel being ignored for CopyAlpha/Overlay patches

Map Editor

  • Added the option not to build nodes when saving a map (select "Don't build nodes" as the node builder)
  • Fixed a potential crash when building nodes

3.1.1.4

@sirjuddington sirjuddington released this Sep 26, 2016 · 25 commits to stable since this release

General

  • Fixed a crash when opening the texture/thing browser window on OSX (and sometimes on Windows)
  • Various updates to game and language configurations (thanks @Blue-Shadow)

Resource Editor

  • Fixed a crash on 'Open Map in Doom Builder 2' with no base resource selected
  • Fixed a crash when performing an entry sort with subdirectories selected

Texture Editor

  • Fixed a crash when undoing a texture delete

Map Editor

  • Added (view) support for wall/flat textures with full paths (thanks @Talon1024)
  • Added an option to enable/disable automatic x-offset calculation when splitting map lines (enabled by default)
  • Fixed an issue where the map editor would lose focus after building nodes
  • Fixed a crash when attempting to set a nonexistant side or sector
  • Fixed a crash when performing 'toggle upper/lower unpegged' in 3d mode with nothing selected or highlighted
  • Fixed a possible crash when compiling ACS
  • Fixed a possible crash when entering 3d mode with things selected

3.1.1.3

@sirjuddington sirjuddington released this Jul 25, 2016 · 53 commits to stable since this release

General

  • Added BCC to compiler choices (thanks @Monsterovich)
  • Only export acs resources from the current archive when compiling (thanks @Monsterovich)
  • Browser window sizes and positions are now remembered on reopening (and between sessions)
  • Improved the crash dialog with the ability to directly send a crash report

OSX

  • Improved mouselook performance in 3d mode
  • Improved touchpad zooming sensitivity
  • Texture dropdowns on the line and sector properties dialogs now work the same as in Windows/Linux
  • Fixed an issue with the main window becoming stuck underneath the top menu bar

Linux

  • PgUp/PgDown in the entry list will now correctly refresh the entry panel content

Resource Editor

  • If an entry is open in its own tab, switch to the tab when it is selected in the entry list (thanks @Monsterovich)
  • Fixed a crash on undo/redo of a file import
  • Fixed acs script compilation overwriting the script file if it was in the acs (library) namespace
  • Fixed an issue where a gfx offset would not save if it was still highlighted when 'save' was clicked

Texture Editor

  • Enclose TEXTURES texture and patch names with double quotes when saving (stops ZDoom complaining about textures with a - in the name)

Map Editor

  • Show all textures in texture dropdowns if the current texture is -
  • DECORATE #include paths without enclosing double quotes are now loaded correctly
  • Allow full integer thing/special args in UDMF format maps (eg. args over 255 or negative values)
  • Fixed an issue with sector creation sometimes creating an invalid sector (thanks @eevee)
  • Fixed an issue where drawing a circle/ellipse with shape draw would sometimes create zero-length lines

3.1.1.2

@sirjuddington sirjuddington released this Jun 6, 2016 · 73 commits to stable since this release

General

  • Updated to wxWidgets 3.1.0 for windows builds
  • ZDoom language configuration update (thanks @Blue-Shadow)

Resource Editor

  • A minor improvement to the 'Save Map Image' feature
  • Fixed a crash when deleting a subdirectory outside SLADE (thanks @eevee)

Texture Editor

  • Fixed incorrect texture/patch names showing when the texture/patch list was sorted
  • Added support (recognition only) for ZDoom built-in TEXTURES palette translations

Map Editor

  • Added a button to export map check results to a text file
  • Added new 'Run Map from Here' feature for 2d and 3d modes
    • In 2d mode, right click and select 'Run Map from Here' to run the map with the player start moved to the cursor position
    • Added a checkbox to the run map dialog which will move the player start to the 3d mode camera position when running the map
  • Focus the 'Run' button by default on the run map/archive dialog
  • Checkboxes are now shown for line side boolean properties
  • When pasting map architecture, the appropriate line flags are set (the two-sided flag is important)
  • Should now be better at not creating an unnecessary sector within a closed void (thanks @eevee)
  • Raise the map editor window when opening a map
  • Only copy the previous type and angle when creating a new thing, not every property
  • Normalise thing info overlay sprite size if it's bigger than 128x128 (thanks @Monsterovich)
  • Fixed incorrect vertex height slopes when a height property is not set
  • Fixed rendering of flats with both scaling and panning (thanks @eevee)
  • Fixed erroneous double-change of a side's light level (thanks @eevee)
  • Fixed status message when shift-selecting (thanks @eevee)
  • Fixed undoing "paste sector properties", and possibly others (thanks @eevee)
  • Fixed possible crash when entering 3d mode with a mipmapped texture filter set

3.1.1.1

@sirjuddington sirjuddington released this Mar 9, 2016 · 105 commits to stable since this release

General

  • Shortcut keys now always show on context menus
  • Fixed an issue with zip archives sometimes getting mixed-up entry data after saving
  • Fixed a potential crash when saving large wad files on 32bit or low-RAM systems
  • Fixed some minor issues with the text editor:
    • Fixed refresh issues with multi-line brace matching in windows
    • Fixed text editor stealing focus from other controls (was most noticeable in other text controls - the cursor would show up in the wrong spot, or not at all)

OSX

  • Fixed an issue where a sound alert would play on most keypresses in the map editor

Resource Editor

  • Keep folders at the top of the entry list when sorting
  • Sorting the entry list by size will now also sort folders by the number of items they contain
  • Fixed crash when deleting an entry while the entry list was sorted by size

Map Editor

  • Changed the minimum number of sides for 'Ellipse' shape drawing to 3
  • Fixed a crash when opening any map with slopes
  • Fixed a crash that could happen when opening a map with pathed things in certain situations
  • Fixed potential crashes that could happen when closing a map within a pk3
  • Fixed an issue where the line highlight would be lost when mouse panning during tag edit