Skip to content

Commit

Permalink
v1.26
Browse files Browse the repository at this point in the history
- updated for new machine build (dependencies)
  • Loading branch information
RickStrahl committed Feb 4, 2021
1 parent ec3007e commit 96b58e4
Show file tree
Hide file tree
Showing 13 changed files with 74 additions and 68 deletions.
84 changes: 37 additions & 47 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,83 +4,73 @@
[![Chocolatey](https://img.shields.io/chocolatey/dt/markdownmonster.svg)](https://chocolatey.org/packages/MarkdownMonster)
[![Web Site](https://img.shields.io/badge/Markdown_Monster-WebSite-blue.svg)](https://markdownmonster.west-wind.com)

### 1.25.16
<small>January 12, 2021</small>
### 1.26
<small>February 4, 2020</small>

* **Chromium Previewer Browser Addin**
Added a built-in addin that can toggle between the native IE based preview browser and a new WebView2 based Edge Chromium Preview browser. This addin provides better compatibility with common browsers and allows support for some related technologies like Mermaid Charts to render natively.

* **Folder Browser Find Files Search Box**
Changed the Find Files Search Box to be always visible in the Folder browser above the browser instead of an explicit dropdown panel. This search finds and filters by file name in the tree and shows a tree based match filter. The search box sits above the directory tree is now always visible and accessible via Ctrl-F from within the browser. You can optionally specify to search in sub folders.

* **Update Find in Files to Incremental Search**
Change the Find in Files sidebar to use live searching instead of using an explicit Search button. Better handle results display and navigation in the result view.

* **Updated Find in Files Operation**
Find in Files searches content inside of files to find matching content. The result displays a straight list with match counts for the files. Selected files are opened in the editor with the search term selected in the Find box (and Replace box if you specify Replace text).

* **Fix: Theme Switching Issues**
Fixed bug that would crash MM when switching themes in MM Multi-Window mode. Also fixed timeout delay for forcing a restart after theme switching which previously would launch the updated instance too quickly and so fail to load in Single Use mode.

* **Fix: Various Open In Explorer Operations**
Fixed various **Open In Explorer** operations where folders would not open properly in Explorer when the path contained inconsistent path delimiters. This broken in the Git Explorer as well as manually entered mixed paths.

* **Fix: Preview to Editor Sync**
Preview to Editor sync was not working correctly due to an omission check.

* **Fix: Chromium Previewer Addin ScrollSync**
Fixed scroll issue in the WebView2 control interop that would cause scroll failures when scrolling the preview and trying to sync the editor. Fixed with non-cached interop object instances to avoid potential operational overlap (WebView2 bug).

* **Fix: mmCli Html Package Exports**
Fix issue where HTML self-contained Package exports were failing due to an assembly binding error. Added `.config` file to ensure correct bindings are used.

* **Update Open Document Change Detection**
Updated logic to handle change detection on open documents. When documents are open and unchanged, the document is immediately updated with changes from disk. If the open document has changes and the underlying document changes, nothing happens until you save. A new dialog allows you to choose between your version, their version or to run the configure Git Diff tool to compare versions and merge changes.

### 1.25.15
<small>January 5th, 2021</small>
* **Add PDF Page Sizes to Save To PDF**
Added all additional supported PDF print formats to the paper type dropdown on the PDF Export dialog. Adds all Ax and Bx types as well as various named types.

* **Favorites Click Behavior Update**
Favorite clicks now open documents initially in preview mode until you type into the editor. Preview mode documents close as soon as another tab is opened or accessed. This behavior is now the same as the main folder browser. Double clicking forces the opened document to be a permanently open document. Unlike the folder browser, a single click forces the cursor into the Favorite document selected.

* **Update Find in Files to Incremental Search**
Change the Find in Files sidebar to use live searching instead of using an explicit Search button. Better handle results display and navigation in the result view.
* **[Markdown Monster Web Server Enhancements](https://markdownmonster.west-wind.com/docs/_5s1009yx1.htm)**
Markdown Monster includes a local Web server that can now be used to open new or existing documents and retrieve document content from the active document. Added support for retrieving the active document's content. Added Web page examples that interact with Markdown Monster. There are also new `-startwebserver` and `-stopwebserver` flags to start and stop the Web server to ensure that the local server is running. Added Web Browser HTML samples in `SampleDocuments\BrowserIntegration` that demonstrate how to interact with MM from a Web page.

* **Update Mermaid Rendering in the Preview**
Mermaid support in MM has always been minimal since it uses the Internet Explorer engine for the preview pane. Mermaid recently removed their already terrible support for IE completely, so MM now renders a placeholder rather than the Mermaid chart in the default (IE based) previewer. The placeholder includes a clickable link that opens your default browser and displays the document containing the diagram and navigates to the Id of the mermaid diagram. Note in the Chromium addin previewer, Mermaid charts are properly rendered inline.


* **Fix: Preview Refresh for Ctrl-key operations**
Fix issue where some common ctrl-key operations (ctrl-z, ctrl-x etc.) would not immediately update the preview until manual key entry into the editor is performed. Changed operation that the `ctrl` key now triggers a preview refresh for all ctrl-key operations. This also means that the `ctrl` key becomes the effective 'immediate refresh' key that you can use to force a preview refresh even when no preview sync is in use.

* **Fix: Weblog YAML Parsing for customFields**
Fix bug where an empty `customFields` value would cause the Weblog Entry to not pre-load values back into the Weblog Publish dialog for repeated publishing. Fixed issue and changed defaults to not render empty field in the first place.

### 1.25.14
<small>December 28th, 2020</small>

* **Update Open Document Change Detection**
Updated logic to handle change detection on open documents. When documents are open and unchanged, the document is immediately updated with changes from disk. If the open document has changes and the underlying document changes, nothing happens until you save. A new dialog allows you to choose between your version, their version or to run the configure Git Diff tool to compare versions and merge changes.

* **Add PDF Page Sizes to Save To PDF**
Added all additional supported PDF print formats to the paper type dropdown on the PDF Export dialog. Adds all Ax and Bx types as well as various named types.

* **Chromium Previewer Updates**
There have been a number of updates to the Chromium Previewer Addin to improve stability and performance.
*Unfortunately, there are a few issues in the current version of the WebView2 runtime (.644) that affect preview->editor sync, and that are fixed in preview versions that are not available yet for GA downloads. These issues will be fixed as soon as a newer runtime becomes available.*

* **Fix: Links in Headers for Document Outline**
Fix bug where links in headers where showing incorrectly in the Document viewer. Fix parses links and retrieves the text properly for display in the Document Outline. Also fixed in the TOC embedding logic.

* **Fix: Blog Post MetaData**
Fixed a regression in posting to a blog where server generated values on new posts - the PermaLink and FeaturedImageUrl - were not updated in the meta data. These values are now updated and written back into the FrontMatter meta data again. Fix bug where PostId was not updating in captured meta data after posting.

### 1.25.12
<small>December 5th, 2020</small>
* **Fix: Split View Editor Styling**
Fix bug where split view would not open with the same styling as the main view if the theme was not the default theme.

* **Chromium Previewer Browser Addin (Preview)**
Added a built-in addin that can toggle between the native IE based preview browser and a new WebView2 based Edge Chromium Preview browser. This addin provides better compatibility with common browsers and allows support for some related technologies like Mermaid Charts to render natively.
* **Fix: Theme Switching Issues**
Fixed bug that would crash MM when switching themes in MM Multi-Window mode. Also fixed timeout delay for forcing a restart after theme switching which previously would launch the updated instance too quickly and so fail to load in Single Use mode.

* **Update Mermaid Rendering in the Preview**
Mermaid support in MM has always been minimal since it uses the Internet Explorer engine for the preview pane. Mermaid recently removed their already terrible support for IE completely, so MM now renders a placeholder rather than the Mermaid chart in the default (IE based) previewer. The placeholder includes a clickable link that opens your default browser and displays the document containing the diagram and navigates to the Id of the mermaid diagram. Note in the Chromium addin previewer, Mermaid charts are properly rendered inline.
* **Fix: Various Open In Explorer Operations**
Fixed various **Open In Explorer** operations where folders would not open properly in Explorer when the path contained inconsistent path delimiters. This broken in the Git Explorer as well as manually entered mixed paths.

* **[Markdown Monster Web Server Enhancements](https://markdownmonster.west-wind.com/docs/_5s1009yx1.htm)**
Markdown Monster includes a local Web server that can now be used to open new or existing documents and retrieve document content from the active document. Added support for retrieving the active document's content. Added Web page examples that interact with Markdown Monster. There are also new `-startwebserver` and `-stopwebserver` flags to start and stop the Web server to ensure that the local server is running. Added Web Browser HTML samples in `SampleDocuments\BrowserIntegration` that demonstrate how to interact with MM from a Web page.
* **Fix: Preview to Editor Sync**
Preview to Editor sync was not working correctly due to an omission check.

### 1.25.6
<small>November 19, 2020</small>
* **Fix: Chromium Previewer Addin ScrollSync**
Fixed scroll issue in the WebView2 control interop that would cause scroll failures when scrolling the preview and trying to sync the editor. Fixed with non-cached interop object instances to avoid potential operational overlap (WebView2 bug).

* **Fix: Blog Post MetaData**
Fixed a regression in posting to a blog where server generated values on new posts - the PermaLink and FeaturedImageUrl - were not updated in the meta data. These values are now updated and written back into the FrontMatter meta data again. Fix bug where PostId was not updating in captured meta data after posting.
* **Fix: mmCli Html Package Exports**
Fix issue where HTML self-contained Package exports were failing due to an assembly binding error. Added `.config` file to ensure correct bindings are used.

* **Fix: Split View Editor Styling**
Fix bug where split view would not open with the same styling as the main view if the theme was not the default theme.
* **Fix: mmCli Relative File Paths**
Fix file path translation for relative paths.

* **Fix: Jekyll Publish Flag**
When publishing to a Jekyll flag, fix the publish flag to correctly set the publish status as published or hidden.

### 1.25
<small>November 12, 2020</small>
Expand Down
3 changes: 2 additions & 1 deletion Install/Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ out-file -filepath ".\Distribution\wkhtmltopdf.exe.ignore" -inputobject ""
# Create the installer
"Running Inno Setup..."
# & "C:\Program Files (x86)\Inno Setup 5\iscc.exe" "MarkdownMonster.iss"
& "c:\users\rstrahl\appdata\local\programs\inno setup 6\iscc.exe" "MarkdownMonster.iss"
# & "c:\users\rstrahl\appdata\local\programs\inno setup 6\iscc.exe" "MarkdownMonster.iss"
& "C:\Program Files (x86)\Inno Setup 6\iscc.exe" "MarkdownMonster.iss"

"Signing the main EXE..."
& ".\signtool.exe" sign /v /n "West Wind Technologies" /tr "http://timestamp.digicert.com" /td SHA256 /fd SHA256 ".\Builds\CurrentRelease\MarkdownMonsterSetup.exe"
Expand Down
8 changes: 4 additions & 4 deletions Install/Builds/CurrentRelease/MarkdownMonster_Version.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<VersionInfo>
<Version>1.25.16.2</Version>
<PreviewVersion>1.25.16.2</PreviewVersion>
<ReleaseDate>January 28, 2021</ReleaseDate>
<Title>Markdown Monster 1.25.16.2 is now available</Title>
<Version>1.26</Version>
<PreviewVersion>1.26</PreviewVersion>
<ReleaseDate>February 4, 2021</ReleaseDate>
<Title>Markdown Monster 1.26 is now available</Title>
<Detail>
Recent updates add Project Support, Find in Files, Open in New Window, Drag and Drop between Instances, Improved Favorites and Git Integration and much more.

Expand Down
4 changes: 2 additions & 2 deletions Install/Chocolatey.Portable/markdownmonster.portable.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>MarkdownMonster.Portable</id>
<version>1.25.16</version>
<version>1.26</version>
<title>Markdown Monster Portable Install</title>
<authors>Rick Strahl, West Wind Technologies</authors>
<owners>West Wind Technologies</owners>
Expand All @@ -12,7 +12,7 @@
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>Markdown Monster is an easy to use and extensible Markdown Editor and Viewer and Weblog Publisher by West Wind Technologies.

This portable install doesn't run an installer and is self-contained in its install folder and doesn't require admin mode to install.
This portable installation doesn't run an installer, doesn't require admin mode and is self-contained in its install folder and saves settings in a `PortableSettings` folder in the install folder (more info on [Portable Installation](https://markdownmonster.west-wind.com/docs/_4t90rhfy9.htm)).

Markdown Monster sports syntax colored editing of Markdown text, inline spell checking, live, synced HTML preview, embedding, dragging and pasting of images, code, links and Emoji and has built-in support for screen captures. There is support for text snippet expansion and C# script execution to automate and extend Markdown Monster. But above all the editor's goal is to get out of your way and let you focus on your content creation, and provide you with tools to get your job done efficiently.

Expand Down
2 changes: 1 addition & 1 deletion Install/Chocolatey/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

cd "$PSScriptRoot"

$release="v1.25"
$release="v1.26"
$releasePath = "C:\projects\MarkdownMonsterAddins\MarkdownMonsterReleases\$release"

#$file = "MarkdownMonsterSetup-0.55.exe"
Expand Down
Binary file modified Install/Chocolatey/markdownmonster.nuspec
Binary file not shown.
4 changes: 2 additions & 2 deletions Install/Chocolatey/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$packageName = 'markdownmonster'
$fileType = 'exe'
$url = 'https://github.com/RickStrahl/MarkdownMonsterReleases/raw/master/v1.25/MarkdownMonsterSetup-1.25.16.exe'
$url = 'https://github.com/RickStrahl/MarkdownMonsterReleases/raw/master/v1.26/MarkdownMonsterSetup-1.26.exe'

$silentArgs = '/VERYSILENT'
$validExitCodes = @(0)

Install-ChocolateyPackage "$packageName" "$fileType" "$silentArgs" "$url" -validExitCodes $validExitCodes -checksum "73E844FEAA0F10BD905B28989BF365C2E1434A751160D1D6E991A9AF15814502" -checksumType "sha256"
Install-ChocolateyPackage "$packageName" "$fileType" "$silentArgs" "$url" -validExitCodes $validExitCodes -checksum "7C3C13106A64C4D7C3DA1A3F44E21ECAB0B3C283257566ED0685107B93B1D239" -checksumType "sha256"
14 changes: 8 additions & 6 deletions Install/Upload.ps1
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# param([string]$uid = "uid", [string]$pwd = "")

$curlexe = "~\OneDrive\utl\curl.exe"

Set-ExecutionPolicy Bypass -Scope CurrentUser


# Credential set with:
# Get-Credential | Export-CliXml -Path .\FtpCredential.xml
#Get-Credential | Export-CliXml -Path .\FtpCredential.xml
$credential = Import-Clixml -Path .\FtpCredential.xml
if( $null -ne $credential)
{
Expand All @@ -22,8 +24,8 @@ $pwd = [Runtime.InteropServices.Marshal]::PtrToStringAuto(

if(!$pwd) {Exit;}

c:\utl\curl.exe -T ".\Builds\CurrentRelease\MarkdownMonsterSetup.exe" "ftps://west-wind.com/Westwind_sysroot/Ftp/Files/" -u ${uid}:${pwd} -k
c:\utl\curl.exe -T ".\Builds\CurrentRelease\MarkdownMonster_Version.xml" "ftps://west-wind.com/Westwind_sysroot/Ftp/Files/" -u ${uid}:${pwd} -k
c:\utl\curl.exe -T ".\Builds\CurrentRelease\MarkdownMonsterSetup.zip" "ftps://west-wind.com/Westwind_sysroot/Ftp/Files/" -u ${uid}:${pwd} -k
c:\utl\curl.exe -T ".\Builds\CurrentRelease\MarkdownMonsterPortable.zip" "ftps://west-wind.com/Westwind_sysroot/Ftp/Files/" -u ${uid}:${pwd} -k
c:\utl\curl.exe -T ".\Builds\CurrentRelease\MarkdownMonsterSetup.exe" "ftps://west-wind.com/Westwind_sysroot/Ftp/Files/MarkdownMonsterSetup_Latest.exe" -u ${uid}:${pwd} -k
& $curlexe -T ".\Builds\CurrentRelease\MarkdownMonsterSetup.exe" "ftps://west-wind.com/Westwind_sysroot/Ftp/Files/" -u ${uid}:${pwd} -k
& $curlexe -T ".\Builds\CurrentRelease\MarkdownMonster_Version.xml" "ftps://west-wind.com/Westwind_sysroot/Ftp/Files/" -u ${uid}:${pwd} -k
& $curlexe -T ".\Builds\CurrentRelease\MarkdownMonsterSetup.zip" "ftps://west-wind.com/Westwind_sysroot/Ftp/Files/" -u ${uid}:${pwd} -k
& $curlexe -T ".\Builds\CurrentRelease\MarkdownMonsterPortable.zip" "ftps://west-wind.com/Westwind_sysroot/Ftp/Files/" -u ${uid}:${pwd} -k
& $curlexe -T ".\Builds\CurrentRelease\MarkdownMonsterSetup.exe" "ftps://west-wind.com/Westwind_sysroot/Ftp/Files/MarkdownMonsterSetup_Latest.exe" -u ${uid}:${pwd} -k
2 changes: 1 addition & 1 deletion MarkdownMonster/MarkdownMonster.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<UseWPF>true</UseWPF>
<TargetFramework>net472</TargetFramework>

<Version>1.25.16.2</Version>
<Version>1.26</Version>
<AssemblyName>MarkdownMonster</AssemblyName>
<Product>Markdown Monster</Product>
<Authors>Rick Strahl, West Wind Technologies</Authors>
Expand Down
4 changes: 2 additions & 2 deletions Support/MarkdownMonsterLauncher/mm/mm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<Version>1.25</Version>
<Version>1.26</Version>
<TargetFramework>net472</TargetFramework>

<Product>Markdown Monster</Product>
<Authors>Rick Strahl, West Wind Technologies</Authors>
<Company>West Wind Technologies</Company>
<Copyright>West Wind Technologies, 2016-2020</Copyright>
<Copyright>West Wind Technologies, 2016-2021</Copyright>
<Description>Markdown Monster Quick Launcher</Description>

<ApplicationIcon>MarkdownMonster.ico</ApplicationIcon>
Expand Down
7 changes: 7 additions & 0 deletions Support/mmcli/CommandLine/HtmlConversionCommandLineParser.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System;
using System.IO;
using System.Reflection;

namespace mmcli.CommandLine
{
Expand Down Expand Up @@ -52,6 +54,11 @@ public override void Parse()
HtmlRenderMode = ParseStringParameterSwitch("-rm") ?? ParseStringParameterSwitch("--rendermode");
OpenOutputFile = ParseParameterSwitch("-open");
Theme = ParseStringParameterSwitch("--theme");

if (!string.IsNullOrEmpty(InputFile))
InputFile = Path.GetFullPath(InputFile);
if(!string.IsNullOrEmpty(OutputFile))
InputFile = Path.GetFullPath(OutputFile);
}

}
Expand Down
6 changes: 6 additions & 0 deletions Support/mmcli/CommandLine/MarkdownToPdfCommandLineParser.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.IO;
using MarkdownMonster;

namespace mmcli.CommandLine
Expand Down Expand Up @@ -79,6 +80,11 @@ public override void Parse()
Orientation = orientation;
}


if (!string.IsNullOrEmpty(InputFile))
InputFile = Path.GetFullPath(InputFile);
if(!string.IsNullOrEmpty(OutputFile))
InputFile = Path.GetFullPath(OutputFile);
}

}
Expand Down
4 changes: 2 additions & 2 deletions Support/mmcli/mmcli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<Version>1.25</Version>
<Version>1.26</Version>
<TargetFramework>net472</TargetFramework>

<Product>Markdown Monster</Product>
<Authors>Rick Strahl, West Wind Technologies</Authors>
<Company>West Wind Technologies</Company>
<Copyright>West Wind Technologies, 2016-2020</Copyright>
<Copyright>West Wind Technologies, 2016-2021</Copyright>
<Description>Markdown Monster CLI to automate a number of tasks from the command line.</Description>

<ApplicationIcon>MarkdownMonster.ico</ApplicationIcon>
Expand Down

0 comments on commit 96b58e4

Please sign in to comment.