http://code.google.com/p/farnet/
= 4.0.0 =
ANNOUNCEMENT
From now on FarNet 4.x is for Far 2.x. FarNet 3.x is officially not supported.
Theoretically it is possible to use both FarNet 3.x and 4.x in Far 2.x at the
same time but this scenario is not supported, not tested and not recommended.
This is the first and mostly technical phase of transition from Far 1.x to 2.x.
Next FarNet version will use new Far API more effectively.
INSTALLATION
If you did not use FarNet 3.x in Far 2.x then simply do what Readme.txt says;
do read it again even if you read it before: some default names are changed.
If you use or used FarNet 3.x in Far 2.x then do in this order:
1) Remove all(!) installed files of FarNet and .NET plugins.
2) If you want to migrate old settings then rename in the registry:
HKEY_CURRENT_USER\Software\Far2\PluginHotkeys:
rename key "Plugins/FAR.NET/FarNetPlugin.dll" into "Plugins/FarNet/FarNetMan.dll"
HKEY_CURRENT_USER\Software\Far2\Plugins:
rename key "FAR.NET" info "FarNet"
3) Install FarNet, see Readme.txt for instructions.
4) Install new FarNet plugins, e.g. PowerShellFar 2.x
5) If you have your own FarNet plugins rebuild them with new FarNet.
BREAKING CHANGES (MAJOR)
*) You have to change dependency from FarNetInt.dll to FarNet.dll and rename
namespace FarManager into FarNet.
*) Removed property Targeted from panels, use new property SelectedFiles.
*) Removed property IFile.IsSelected. Originally it was introduced "a la FAR
API", but in fact it is not fit well to FarNet concept and planned evolution.
*) IViewer, IEditor - boolean property EnableSwitch is replaced with Switching
with 3 states: Auto(default), Enabled and Disabled.
BREAKING CHANGES (MINOR)
A few renamings for better consistency, discoverability and English, too.
*) IPanel:
Current -> CurrentFile
Contents -> ShownFiles
Selected -> SelectedFiles
*) All names *PanelPlugin* renamed into *PluginPanel*, e.g. new names are:
IPluginPanel, IPluginPanelInfo, CreatePluginPanel() and etc.
*) IPluginPanel.Another -> AnotherPanel
*) MessageOptions -> MsgOptions (to conform with IFar.Msg())
*) KeyCode constants:
- all names now are the same as FAR macro key names
- Ctrl, Alt, Shift moved to another type: KeyMode
*) VKeyCode constants:
- Ctrl, Alt, Shift moved to another type: VKeyMode
OTHER CHANGES
*) Do not use new properties CodePage in IEditor and IViewer, they are added,
but it turned out that FAR does not use them yet