Page 19 of 20

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Tue 01 Apr, 2014 07:23
by NightRoman

Latest post of the previous page:

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar

= 5.0.71 =

Command line and box: enabled path completion in both.

Menu "Errors": replaced \r\n\t in messages with spaces.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sun 06 Apr, 2014 14:29
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar

= 5.0.72 =

As far as Mantis#2635 is not going to be fixed, implemented a kludge.

NEW UPDATE TOOLS

Update-FarPackage.ps1 is replaced with the module FarPackage:
FarNet\Modules\PowerShellFar\Modules\FarPackage
See about_FarPackage.help.txt there.

Instead of one script with many not trivial parameters and rules these four
commands with simple parameters are used:

* Install-FarPackage - installs/updates one package from web
* Restore-FarPackage - installs one package from a file
* Update-FarPackage - updates all installed packages
* Uninstall-FarPackage - removes one installed package

Intermediate unpacked directories "<PackageID>.<version>" are not used, you do
not have to clean after updates. Files are extracted from packages directly to
destinations.

Some packages slightly changed their structure, e.g. FarNet and PowerShellFar
moved information files to other directories.

If somebody wants some files to be excluded on unpacking we can support, say, a
file "Update.Exclude.txt" with relative paths and file masks to be excluded.
Think, suggest.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sun 13 Apr, 2014 07:08
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar

= 5.0.73 =

STOPPING COMMANDS ON USER INPUT

In MS PS console [CtrlC] stops all commands on user input, i.e. on read host,
prompt for choice, etc. The same ability is added to PSF. But in PSF [Esc] is
used instead in various prompts. Unlike in PS, it also asks a user to confirm.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Tue 15 Apr, 2014 05:38
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar

= 5.0.74 =

Continued. [Esc] is for stopping in prompts for Type[] arguments as well.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Wed 04 Jun, 2014 19:08
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.3872
FarNet 5.0.50

= 5.0.75 =

Reindent-Selection-.ps1 - fixed for ExpandTabs mode

Update-FarManager.ps1 can remove some more not used files after updates.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sun 22 Jun, 2014 05:41
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.3872
FarNet 5.0.50

= 5.0.76 =

Editor console & history: redraw on inserting commands from history.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Tue 01 Jul, 2014 06:23
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.3872
FarNet 5.0.51

= 5.0.77 =

PowerExplorer.Functions: SetText and SetFile are set automatically if AsSetText
and AsSetFile are assigned.

Panel-Mongo-.ps1: Can view [F3] and edit [F4] and save documents as JSON.
[F5] copies JSON to disk (not from).

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Tue 12 Aug, 2014 06:15
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4045
FarNet 5.0.55

= 5.0.78 =

Adapted for Far 3.0.4042 (new "Desktop" window).

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sat 18 Oct, 2014 02:16
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4138
FarNet 5.0.58

= 5.0.79 =

Adapted for Far 3.0.4138

PowerShellFar — Windows PowerShell host for Far Manager

Posted: Mon 02 Mar, 2015 20:33
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.80 =

Show-History-.ps1
Removed work around unwanted Far messages on setting missing directories.

PowerShellFar — Windows PowerShell host for Far Manager

Posted: Mon 16 Mar, 2015 07:36
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.81 =

Update-FarManager.ps1
7za (standalone) is used instead of 7z (installed with 7-zip). If you do not
have 7za then define an alias to existing 7z.exe before calling the script:
> Set-Alias 7za <path>\7z.exe
> Update-FarManager.ps1 ...

Profile-Remote.ps1
The profile was expected on a remote machine (incorrect). Now it is read on the
current machine (correct) and then this code is invoked in a remote workspace.

Minor changes due to migration to GitHub, mostly in the documentation.

PowerShellFar — Windows PowerShell host for Far Manager

Posted: Tue 17 Mar, 2015 07:41
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.82 =

Migration to GitHub. Some git commands are not friendly to "!" characters.
So the recommended stepper script suffix now is "..ps1". Renamed tests:
- Test-Dialog!.ps1 -> Test-Dialog..ps1
- Test-Stepper!.ps1 -> Test-Stepper..ps1

PowerShellFar — Windows PowerShell host for Far Manager

Posted: Mon 23 Mar, 2015 07:28
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.83 =

Assert-Far: Refactoring and slightly changed logic. Special processing of
Conditions defined as a script block. See:
ps: help Assert-Far -full

Migration to GitHub: updated links.

PowerShellFar — Windows PowerShell host for Far Manager

Posted: Wed 06 May, 2015 05:59
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.84 =

Open-FarEditor, New-FarEditor, Open-FarViewer, and New-FarViewer resolve
relative input paths using the current PowerShell location.

PowerShellFar — Windows PowerShell host for Far Manager

Posted: Mon 01 Jun, 2015 07:03
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.85 =

TabExpansion takes the prefix "ps:" into account not only in the command line
but also in dialogs (needed for user menu, apply command, file associations).

Search-Regex-.ps1: The parameter Options accepts some shortcuts:
sm: SimpleMatch, ww: WholeWord, etc.

PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sat 21 Nov, 2015 06:46
by NightRoman
NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.86 =

Tree panel:
- Default panel view without description column
- Folder tree: better error message at Cert:\

TabExpansionProfile.ps1: fixed completer for git 2.5+

Test-Job-.ps1: adapted for PS v5