Releases: brandoncomputer/powershell-designer
2.6.3 5/28/2024
Install-Module powershell-designer
2.6.3 5/28/2024
Made controls.xml project dependent.
Fixed minor issue with newProject tracking.
New and Open Project now clear function checkboxes at the beginning of the function.
~~_Improvement to ConvertFrom-WinFormsXML_~~
(Pipline error, publish does not include this improvement, will be included in 2.6.4)
(Actually, it was included as functions-Dragonfaery.psm1, replace functions.psm1 with this file)
Added XAMLExpress example.
Added WPF Window Fuse example.
Resolved issue with responsiveness of editor when not typing.
This did disable the 'hyperlink' action of functions and dot clicking for autocomplete popview.
This fixed #21 somehow, although I don't know how they were related.
2.6.2 5/27/2024
Install-Module PowerShell-Designer
Fixed #20 Assembly information only saved for the last imported control in controls.xml
Added automatic add of function dependencies when a function is typed in the code editor (less manual checking),
code hint to Events form active title bar for known commands,
jumps to funciton in checked list box when selected which in turns displays help.
Fixed Events form scrollform code to prevent maximize, which creates a visual discrepency when looking for hints.
This was the original intended behavior of the window.
(As a bonus side effects, we can now 'peek' the form window when it's maximized as well,
and the form window can no longer be accidently maximized via ctrl+tab)
Cleaned up code a little (orphaned code removal)
Shuffled Zoom controls. Corrected zoom tooltips.
Corrected issue where move buttons did not update after property grid changes.
Window Spy example / created example folder structure
2.6.1 5/26/2024
Install-Module PowerShell-Designer
Tidied up MainForm event enumeration
Fixed #18 PowerShell 7 Hotkeys Problem
Fixed #19 Install Upgrade process confusion. Had to sacrifice ease of customization.
Fixed #17 Parentless Controls not working as intended
Improved support for imported DLL's, including WebView2
Changed autocomplete to list view, because the parentless controls have few properties and wrecked the smallicon layout.
Other minor GUI Changes
2.6.0 5/11/2024 - 5/25/2024
Install-Module Powershell-Designer
Please delete designer.fbs, functions folder and designer folder in Documents\PowerShell Designer before upgrading
-Note: Several internal iterations have passed.
Added Methods List/Double Click sends method to code editor
Changed location of Events List
Changed the way the views work, Functions is now a primary view.
TreeView double click now sends object variable reference to the code editor
Added Inject button to property grid that inserts the current property into the code editor.
Improved cursor indicator for control drag and drop to form.
Improved support for ListView
Change Events and Methods box to ListView from ListBox to improve use of whitespace.
Minor visual changes.
Added Code Completion PopMenu
Bookmarks
Zoom
The command 'powershell-designer' now launches the user modified version of Designer.psm1 rather than the version in the module directory.
Further updates to FastColoredTextBox control to support PowerShell. Check the sister repo for changes.
Added form imports. Renamed all of the WPF functions.
Added Generate formless.
Minor change to Show-Form (got rid of appplication runspace call)
Import Control added for usercontrols. NOTE: Does not work on Add-Type controls like WebView2. Creates Controls.xml in Functions folder.
(Temporarily?) Removed parentless controls due to bug.
2.4.6 5/10/2024
install-module powershell-designer
2.3.9 5/10/2024
Fixed breaking change &'s to view change function. #13
2.4.0 5/10/2024
Button3 test button removal.
2.4.1 5/10/2024
ShowItemToolTips. Got ToolTips working properly. Removed "Poor mans tooltips"
2.4.2 5/10/2024
Fixed typo preventing some tooltip changes.
2.4.3 5/10/2024
Further fixes to ChangeView. Several false commits/releases today. Apologies.
Trying to make this the last day on this.
2.4.4 5/10/2024
Hide console window.
Changes to New Project and Open Project #14
Changes to Load Functions in PowerShell and to Run Script File #15
2.4.5 5/10/2024
Set-ActiveWindow #16
2.4.6 5/10/2024
Undid MDI Style changes, they didn't flow well/invalid
Checks for debug mode before hiding console window.
2.3.8
install-module powershell-designer
2.1.9 #3.0.0# 4/19/2024 - 4/20/2024
In a bit of a mad dash, I've refactored script output and I've added abstract syntax tree parsing and a function reference.
Outputted scripts have the same functionality as before but are using a different system.
The console window is no longer hidden when running your script.
You can easily add your functions into the region 'Custom Functions' and they will show up in the GUI, you can then select them and save them with your projects.
This will partially break previous projects.
To fix, open your old project, navigate to the Functions tab and click the first Seven functions listed.
Save your project. Done.
2.2.0 4/20/2024 - 4/21/2024
Fixed 'partually breaks previous projects'. Demoted Semantic Version. Added a metric s-ton of custom functions, a refactor of Visual DialogShell
Fixed Timers. Fixed AST injection issues. Established custom function dependency check system.
Forms created are now custom objects [vdsForm] that support hot keys. See previous version of this program if that upsets you. References to this custom Object are simply 'Object' so it is cross compatible with Systems.Windows.Forms.Form
NOTE: Considering renaming to "Visual Designer Shell", that's what this is in my mind already. This is to honor the codebase from which the custom functions are derived, which in turn honors Julian Moss, the creator of Visual DialogScript.
NOTE: A serious refactor is needed to eliminate abstract references to objects in Designer.ps1 and to conform to my current style guide standards. This may or may not be performed.
2.2.1 4/21/2024
Moved custom function (execution) into user customizable file. Moved dependency function (execution) into user customizable file. Theses files are in Documents\PowerShell Designer\functions.
Changed AST code a bit to parse the external function file instead of the modules own script base.
Added parameter label for displaying options for each custom function instead of injecting them into FastText
2.2.2 4/22/2024
Changed functions.ps1 to functions.psm1 so it can be imported as a module and commands such as get-help may be used to learn more about functions.
Changed $lst_Functions.add_Click to $lst_Functions.add_SelectedIndexChanged
Chanced parameter label to TextBox. Did some string tricks to format it properly for display. Enabled on purpose for copy/paste/scroll.
Changed Function hotkeys around a little. Added a menu item to load functions.psm1 into PowerShell for testing (F7). Added F8 for generating script file.
Function CheckListBox DoubleClick now injects function into FastText window and checks the item
Events.ps1 is no longer dot sourced. Changed text to just "Run Script File" and canceled the save to Events.ps1
Fixed custom function Get-Arctangent
2.2.3 4/23/2024
Further GUI improvements, images in menus, main window icon
Turned off hide console for Designer.ps1
In my FastText github repository brandoncomputer, lots of updates to FastColoredTextBox.dll
Not sure what else I might have done... don't be surprised if these comments don't line up with the diffs.
2.2.4 4/25/2024
Abstacted initial funcitons calls to module import, which allows us to call get-command instead of invoking AST parsing for function information after functions are loaded into lst_functions
Added all commands from Microsoft.PowerShell.Utility into the funciton checked list box
Fixed typos in Dependencies.ps1 - typos cause the program to crash. Add custom functions and dependencies carefully.
Note: Remember, if a Function isn't checked, it will not export to your script.
Began adding a toolstrip.
2.2.5a(lpha) 4/26/2024
Partial incomplete refactor to format code (bookmarkFormatRefactor), eliminate orphaned code eliminate abstract references and perform toolstrip codeout
Runspace refactor to match standard outputs
(Re)Added STA (Single Thread Aparment) to this refactor and user script outputs
Fixed bug with SMOVE buttions where on some configuratons they would appear above the top of the form this will cause some displays/configs to show them lower than they should be. This only occurs on-click.
Began new toolstrip GUI element, incomplete.
2.2.6a 4/28/2024
Completed GUI coding.
Begain alphabetically sorting functions, they have to be resorted in the module, which is a grind.
Various message box to statusbar changes, added exit question so people are less likely to lose work
Finished function alpha sorting
Other minor changes.
Users again should remove Documents\PowerShell Designer\funcitons folder before upgrading.
2.2.7 4/29/2024
Fixed encoding issues causing non-latin based languages to not display (#7)
Added feature to open FBS file with argument passed to script (#8)
Decided Designer.ps1 will require a 'loose refactor' for legibility.
Completed style (loose) refactor.
2.2.8 4/30/2024
VDS style alias's added to functions.
Very minor changes. Changed Set-Hotkey to Add-Hotkey.
Added Microsoft.PowerShell.Management to function list and dependencies.
Considering unchecking imported functions, part of me says 'check, because they can be used without export',
the other part of me says 'uncheck, because they take up space in the xml data'.
This is a release candidate.
2.2.9rc 5/1/2024
Found bug (Issue #9) related to module differences between 5.1 and 7x PowerShell and function dependencies script.
Due to this bug, we are switching to 'unchecked' for standard modules, although I also error trapped the problem quite a bit as well.
Moved powershell module load into function checklistbox to the Dependencies.ps1 script, so that more modules can easily be added by the end user.
Logged issue #10, fixed issue #10 (Shortcuts)
2.3.0rc 5/2/2024
Fixed IsMDIContainer trouble by adding IsMDIContainer as an option in the tag and interception of the xml upon output generation. Ends up it was #1 'willfix'.
This software can now edit itself. Slight restructure of code due to being generated from PowerShell Designer itself.
Designer.fbs and events.ps1 now editable from within the software
Fixed issue #11 regarding $PSScriptRoot by having the core powershell-designer.psm1 handle that standup.
Designer.fbs and dependencies copied to Documents\PowerShell Designer
2.3.1 5/3/2024
Added Microsoft.PowerShell.Core to function list and dependencies.
Updated FastColoredText.dll. Please see that repository for diffs and details, but I added statements and the Core module as class words and got rid of maroon coloring for variable objects.
Changed location of Designer.ps1 and Events.ps1 and update core module to reflect.
If you are a regex expert and want to help me with something, kindly reply to the issue called "Regex expert needed"
In either this or the last revision added file switch to process a file argument to all scripts are are compiled with the software.
Fixed Assert-List LoadFile
Added 'Finds' Tab for navigating files.
Moved functions to functions subdirectory in module root.
2.3.2 5/4/2024
'Find and Replace' and 'Find' window are now child windows (through API calls). Positioned windows.
Change to Find behavior, no longer notifies when last result is reached wontfix.
Find List DoubleClick searches for result twice, so the list should only be used for unique strings. Wontfix
2.3.3 5/5/2024
Added vertical folding line marks. Minor code cleanup.
Changed FastText backcolor.
Got rid of common edit shortcuts, they are still there, but unlabled. If I label them, then they override those shortcuts for the find and replace windows and elsewhere.
Fixed regex for multiline comments
Changes to FastColoredTextBox.dll, https://github.com/brandoncomputer/FastColoredTextBox
2.3.4 5/6/2024
Highlight syntax refresh no longer happens on click for multiline comments, added check for typing timer.
Added references to Designer.fbs project (checked boxes in functions and event references) - this wasn't 100% needed for this software, but it is a best practice regardless - your software might not work if you don't
check the boxes and make the selections to include the needed references, and I want this to be a good example.
Now copies finds.txt to designer project directory.
Upgraded Selenium Functions from Selenium 3 to Selenium 4 syntax
2.3.5 5/7/2024
Implemented drag and drop from the control selection
Tweaking of position buttons for controls
Added Move-Cursor
2.3.6rc 5/8/2024
Exposed macro functions
Readded shortcut labels w/o setting keys
Set-Types now autoloads in the load module to console command
"Poor mans tooltips"
Got rid of notifications on common error popups adding controls so the user may try again without a nag screen.
Made debugger ontop and labeled it, because I kept forgetting to close them.
Updated FastColoredTextBox to include Move-Cursor
Added resize notifiers to status bar
2.3.7 5/9/2024
Changed menu RenderMode to professional.
Added Alt ...
2.1.7
install-module powershell-designer
2.1.4 4/26/2022
Fixed double file dialog for icons, images
Fixed WebBrowser control
Fixed bug with direct control selection (accidental code delete in 2.1.3, restored)
More control resize math for when client is maximized.
Removed some problem attributes from export (image attributes) that are handled programmatically
Added image import on solution open.
2.1.5 4/27/2022
Fixed bug with Powershell 7 not loading saved images.
Added 'region Images' for collecting applied images and icons.
2.1.6 4/28/2022
Removed HScrollBar and VScrollBar due to support issues with DPI Scaling (these can still be added programmatically within 'events', if so multiply Width by $tscale for HScrollBar but exclude width, and the opposite is true for VScrollBar).
Fixed minor bug involving ToolStripProgressBar sizing (Set AutoSize to False to save the size of this element)
Fixed minor bug involving ToolStripSeparator
Fixed bug loading projects with ImageScalingSize and MinimumSize attributes.
2.1.7 4/29/2022
Changed several message box dialogs to status bar label updates with timer instances.
2.1.3
Install-Module -Name powershell-designer
powershell-designer
2.1.2 4/24/2022
Added FormName to FormText on New Project.
Added a try-catch for loading FastColoredTextBox that should cause the script to be portable.
2.1.3 4/25/2022
Added warning concerning item collections in the property grid.
Seperated edit and control menu.
Fixed bug with timers causing them to not be initialized.
Changed behavior of Paste Control to 'slick' to top node upon paste failure.
Added image and icon embedding.
Removed toolstrip due to buggy behavior. Toolstrip is now an alias for MenuStrip.
2.1.1
Install-Module -Name powershell-designer
powershell-designer
2.1.1 4/22/2022
Reverted ctscale back to tscale due to cross compatibility issues.
Refactored versioning. This (tscale) is no longer considered a breaking change, since it impacts no known published scripts.
Added AutoNaming and AutoTexting controls by control type.
2.1.0
Install-Module -Name powershell-designer
powershell-designer
2.1.0 4/21/2022
Changed tscale variable to ctscale for dialogshell compatibility. Call to variable in resize events must be updated to ctscale
Here there be math involving scaling.
DPIScale is now default mode for editing.
DPIScale and VisualStyle are now defaults for new projects.
Added status bar advising of $ctscale stuff.