PowerShellFar — Windows PowerShell host for Far Manager

Анонсы новых плагинов. Обсуждение плагинов ведется ниже.
User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Sat 07 May, 2011 17:42

Latest post of the previous page:

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.4.12 =

*) Meta class
- Cache of scripts created from strings (better performance on searches).

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Tue 24 May, 2011 08:03

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.4.13 =
= 4.4.14 =

### Moving from registry to user profile directories

*) Settings
Main persistent settings are storted in a file and modified in the standard
module settings panel opened from the new FarNet menu .NET \ Settings...

The settings should be migrated manually. Old registry data can be removed.

The file, just in case (but use the settings panel to view/edit), is:
%APPDATA%\Far Manager\FarNet\PowerShellFar\Settings.binary

*) Command history is now in the file:
%LOCALAPPDATA%\Far Manager\FarNet\PowerShellFar\PowerShellFarHistory.log

How to export the old history: go to that directory and invoke two commands:
>: $key = Get-Item HKCU:\Software\Far2\Plugins\FarNet.Modules\PowerShellFar.dll\CommandHistory
>: $key.GetValueNames() | Sort-Object | %{ $key.GetValue($_) } | Set-Content PowerShellFarHistory.log -Encoding UTF8

Export-FarSettings.ps1 and Import-FarSettings.ps1 do not care of old registry
key data. The key should be removed manually after exporting data to the file.
Also, Import-FarSettings.ps1 does not care of Vessel data, the latest version
of Vessel uses new FarNet settings engine.

*) $Psf
- Removed AppData. Use $Psf.Manager.GetFolderPath().
- Removed ShowSettings() and the dialog (the settings panel is used instead).

### Other changes

*) TabExpansion.ps1
- Fixed attempt to add a dupe key to the type cache.

*) Test-Panel-.ps1
- Removed obsolete KeyPressing event code.

*) 4.4.14
Technical build for FarNet 4.4.14

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Sun 29 May, 2011 15:05

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.4.15 =

*) Housekeeping
- Updated for FarNet changes in IFar.Post*() methods.
- Code cleanup.

*) Data panels
- Fixed issues on invalid sort/filter user expressions.

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Tue 31 May, 2011 02:16

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.4.16 =

*) Technical build for FarNet
*) "PowerShellFar.cfg" is not used by FarNet and removed from the module.

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Sun 05 Jun, 2011 14:26

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.4.17 =

*) Connect-SQLite-.ps1
- Use the latest ADO.NET provider from http://system.data.sqlite.org
- Foreign keys are enabled by connection strings, not by pragmas.

*) PowerShell.hrc
- Fix: '' in here-strings @'..''..'@ should not be treated as escaped '.

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Sun 19 Jun, 2011 13:16

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.4.18 =

*) TabExpansion
- Improved performance of building the cache for type/namespace expansion
- Added try/catch of assembly access exceptions (e.g. dynamic assemblies)
- Other tweaks

*) Invoking a script from the editor by [F5]
As usual it sets the current directory and location to the script directory.
Now it also restores them after work. Otherwise, with no ASCII plugins, the
current directory was changing and locking its parent directories.

*) Panel-Job-.ps1 ([F3], [CtrlQ])
Job errors, if any, are shown in the message box separately. Then the job
output is shown. (It used to show the first error and no output at all).
Test-Panel-Job-.ps1 - the first job makes a demo error to show this.

*) Start-MSBuild-.ps1
Save and restores last used options for each project file. Data are stored in
the local file Start-MSBuild-.ps1.clixml.

*) Bugs
Fixed null-ref issues on opening the error list from the PSF menu. There are
errors with null invocation info, e.g. errors received from PS jobs.

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Tue 21 Jun, 2011 08:31

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.4.19 =

Technical build for FarNet 4.4.19

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Fri 24 Jun, 2011 06:36

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.4.20 =

*) Initialize-Test-.ps1
Changed the way of choosing and initializing the database provider for testing.
It allows to work with available but not registered SQLite, for example.

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Mon 27 Jun, 2011 07:36

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.4.21 =

Technical build for FarNet 4.4.21

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Wed 06 Jul, 2011 06:51

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.5.0 =

The module is built for .NET 3.5, just like FarNet 4.5.0.
A few new 3.5 features are used internally.

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Mon 12 Sep, 2011 06:05

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.5.1 =

*) Built-in cmdlets help
- Fixed cmdlet HelpFile properties and related Get-Help problems.
- `Get-Help`, `help`, `man` commands work with Far cmdlets just fine.
- Removed workarounds `Get-FarHelp` and `help` from the internal profile.

*) Popup-style list code names: replaced all `Intelli` with `Popup`.

*) New-FarItem cmdlet does not accept pipeline input now.

*) PowerShell.hrc for Colorer
- Changed processing of '.' symbols.
- Doc-comments are supported in line comments, too (as in block comments).
- `task` is processed as `function` (including outlined list). It is not a
PowerShell feature but it is really handy with `Invoke-Build` or `psake`:
https://github.com/nightroman/Invoke-Build
https://github.com/JamesKovacs/psake

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Tue 13 Dec, 2011 04:20

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.6.0 =

Changes for PowerShell V3 CTP2. Adapted most of features. PSF should work in
both V2 and V3. But some advanced scenarios may not work in V3 (yet) or may
work differently. NOTE: it does not mean that use of V3 CTP2 is recommended.
But it is possible.

*) Scripts called by PSF
Breaking change. Calling conventions changed. V3 CTP2 does not allow use of
$this as it used to be in V2. Thus, instead of setting automatic variables
$this and $_ before calling scripts PSF sends these data as arguments. All
scripts should either use $args[0] instead of $this and $args[1] instead of $_
or use param($x, $y), for example, "param($this, $_)" added as the first script
line lets to keep scripts using $this and $_ not changed.

*) Use of $$ is deprecated
The easy to type variable $$ works funny in PowerShell V3. A bug or not, PSF
scripts do not use this variable now.

*) Member panel
Properties that throw exceptions on getting values are now included with values
like "<ERROR: exception message>".

*) Cmdlet Assert-Far
It used to require exactly Boolean values. Let's keep it simple, any type is
fine, just like for 'if'. It is checked now as LanguagePrimitives.IsTrue().

*) Renamed scripts
Connect-Mdb-.ps1 -> Connect-MSAccess-.ps1
Connect-Sdf-.ps1 -> Connect-SqlCompact-.ps1

*) Cosmetic changes in scripts.

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Sun 01 Jan, 2012 20:34

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 4.6.1 =

This is probably the last build for Far 2. Minor fixes in scripts and help.
Update-FarManager.ps1 updates Far 3 by default.

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Mon 09 Jan, 2012 07:08

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.0 =

This version is designed for Far Manager 3 + FarNet 5.

There are breaking changes and some scripts have to be updated. See FarNet
history for details and new FarNet API documentation.

Some PSF features were removed (forever or not may depend on the feedback):
- FarMacro module and its cmdlets (*-FarMacro).
- Far history is not supported by scripts.

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Tue 10 Jan, 2012 07:27

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.1 =

Technical build for FarNet 5.0.1.

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Wed 11 Jan, 2012 08:14

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.2 =

- Fixed Edit-FarDescription-.ps1

User avatar
NightRoman
Posts: 5911
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 10 times
Been thanked: 11 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman » Sat 14 Jan, 2012 11:40

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.3 =

*) Debugging
Script breakpoints are highlighted in the script editor. Note: breakpoints are
not updated when scripts change. To be continued, hopefully with this:
http://bugs.farmanager.com/view.php?id=1981

*) Scripts
- New Test-EditorDrawer-.ps1 (enjoy colors in PSF, too!)
- New Show-EditorColor-.ps1 (dumps current editor colors)
- Updated Show-KeyMap.ps1 for Far 3.0.2366 + new formatting.

*) Removed scripts designed for Far2:
- Start-Far.ps1
- Export-FarSettings.ps1
- Import-FarSettings.ps1.

Post Reply

Return to “Анонсы новых плагинов”