Page 13 of 17

Re: FarNet — .NET Far API and .NET module manager

Posted: Wed 01 Feb, 2012 20:35
by NightRoman

Latest post of the previous page:

http://code.google.com/p/farnet/

= 5.0.7 =

Requires Far 3.0.2428 (DrKnS fixed potential mouse issues).

*) [ShiftF9] in plugin menus
- Configuration actions are called only for items having the Config flag set.
For all other FarNet module plugin items the FarNet configuration is opened.

*) Keyboard methods
- More key combination helpers: IsAltShift(), IsCtrlAlt(), IsCtrlShift().

*) Module settings
- Temp files are used to minimize chances of data corruption. It is almost safe
to write settings in other threads while the main crashes, Far closes, and etc.
The last change can be lost but previous settings should survive.

*) Editor
- Drawer API is more PowerShell friendly.

*) Misc
- IFar.Dialog without hacks.

Re: FarNet — .NET Far API and .NET module manager

Posted: Thu 02 Feb, 2012 19:08
by NightRoman
http://code.google.com/p/farnet/

= 5.0.8 =

*) Editors
- New method ILine.MatchCaret() for getting current words easier.
- Simpler and yet more flexible and PowerShell friendly drawers.

Re: FarNet — .NET Far API and .NET module manager

Posted: Tue 07 Feb, 2012 09:22
by NightRoman
http://code.google.com/p/farnet/

= 5.0.9 =

Use Far 3.0.2442+ (new editor drawing and change events).

Centralized editor drawer infrastructure (UI and API). ModuleDrawer is the new
type of module item classes (which implement various module actions/intents).
IModuleDrawer is its runtime proxy object.

As a result, FarNet provides UI for managing drawers and their common settings.
Module drawer developers should not care of:
- How to turn a drawer on and off.
- How to turn it on automatically for some files.
- How to allow users to configure drawer color priorities.

*) UI changes
- Removed "..." from FarNet menu items (update your macros with Menu.Select).
- F11 | FarNet | Drawers - show all drawers + allow turning them on and off.
- F9 | Options | Plugin configuration | FarNet | Drawers - common configuration
properties of drawers:
-- Mask - file mask used to use a drawer automatically (empty = disabled)
-- Priority - drawer color priority

*) API changes
- New types ModuleDrawer, ModuleDrawerEventArgs, IModuleDrawer,
EditorChangeKind, EditorChangedEventArgs.
- New members IModuleManager.RegisterDrawer, IEditor.AddDrawer/RemoveDrawer,
IEditor.Changed.
- Old drawer methods were removed.
- Replaced GetModuleCommand and GetModuleTool with GetModuleAction. The new
method gets all module actions including commands, drawers, editors, tools.

Re: FarNet — .NET Far API and .NET module manager

Posted: Tue 07 Feb, 2012 19:27
by NightRoman
http://code.google.com/p/farnet/

= 5.0.10 =

*) Editor
- Removed EditorRedrawingEventArgs; null is now passed in the Redrawing event.
- Fixed: drawers should be created one per editor, not session.
- Minor tweaks related to recent editor API changes.

Re: FarNet — .NET Far API and .NET module manager

Posted: Sun 12 Feb, 2012 14:37
by NightRoman
http://code.google.com/p/farnet/

= 5.0.11 =

*) Adapted for Far 3.0.2450 dialog API changes.
*) A few tweaks on getting data from Far.
*) Fixed IAnyEditor.WordDiv.

Re: FarNet — .NET Far API and .NET module manager

Posted: Tue 14 Feb, 2012 19:26
by NightRoman
http://code.google.com/p/farnet/

= 5.0.12 =

Requires Far 3.0.2458 (API changes)

* ModuleCommandEventArgs
- Replaced MacroArea with IsMacro. For MacroArea use IFar.MacroArea.
- Command is read only.

Re: FarNet — .NET Far API and .NET module manager

Posted: Wed 15 Feb, 2012 16:38
by NightRoman
http://code.google.com/p/farnet/

= 5.0.13 =

Far 3.0.2460 (API changes)

Re: FarNet — .NET Far API and .NET module manager

Posted: Sun 19 Feb, 2012 16:33
by NightRoman
http://code.google.com/p/farnet/

= 5.0.14 =

* Fixed
- A bug in the Drawers config menu.
- Minor defects in the Tools config menu.

Re: FarNet — .NET Far API and .NET module manager

Posted: Sat 25 Feb, 2012 10:18
by NightRoman
http://code.google.com/p/farnet/downloads/list

= 5.0.15 =

Far 3.0.2479 (settings API)

* About
- Replaced "Readme.txt" with "About-FarNet.htm" which is generated from the
same source as "FarNetMan.hlf".

* Far settings
- Added IFar.GetSetting()
- Removed IFar.Confirmations, use GetSetting().
- Removed IAnyEditor.WordDiv, use GetSetting().

* UI
- Removed "the" from the Panels menu items. New names: "Push/Shelve panel",
"Close panel". Macros with old names should be updated.

Re: FarNet — .NET Far API and .NET module manager

Posted: Sat 03 Mar, 2012 19:08
by NightRoman
http://code.google.com/p/farnet/downloads/list

= 5.0.16 =

Far 3.0.2516 (new file mask API)

Module configuration
- Masks support all Far features including useful <groups>.
- Masks are checked for validity on various input.
- Empty masks in config exclude all files.
- Internal refactoring.

IFar
- Renamed MatchPattern -> IsMaskMatch. It uses Far API.
- Added IsMaskValid() checks a mask for validity.

Editor
- Renamed StackBookmark -> SessionBookmark (a la Far).

Panel
- New property CodePage in GetContentEventArgs.
- Disabled history on view/edit items via temp files.

Re: FarNet — .NET Far API and .NET module manager

Posted: Sun 11 Mar, 2012 15:27
by NightRoman
http://code.google.com/p/farnet/downloads/list

= 5.0.17 =

IEditor
- SelectedLines excludes the last line of the selection area if nothing is
actually selected there. This convention seems to be effective in practice.

Re: FarNet — .NET Far API and .NET module manager

Posted: Sun 18 Mar, 2012 15:03
by NightRoman
http://code.google.com/p/farnet/downloads/list

= 5.0.18 =

Module commands in macros with Plugin.Call()
- Swapped the roles of leading colons - `:` is for async jobs, any area, opens
all but panels, `::` is for async steps, areas with the plugin menu, opens all.
`::` is deprecated and may be removed soon, Plugin.Prefix() will replace it.

FarSetting
- New setting groups.

IWindow
- New property IsModal.

Re: FarNet — .NET Far API and .NET module manager

Posted: Mon 26 Mar, 2012 00:56
by NightRoman

Re: FarNet — .NET Far API and .NET module manager

Posted: Thu 29 Mar, 2012 18:22
by NightRoman
http://code.google.com/p/farnet/downloads/list

= 5.0.20 =

Use Far 3.0.2578.
Fixed return value of Plugin.Call().

Re: FarNet — .NET Far API and .NET module manager

Posted: Mon 02 Apr, 2012 06:43
by NightRoman
http://code.google.com/p/farnet/downloads/list

= 5.0.21 =

Use Far 3.0.2581.

Fixed incorrect flag on panel view operations (from MaximKat).

FarNet panels for now do not use OPIF_SHORTCUT, so that their paths do not go
to history and do not clatter it. It is not yet clear how this mechanism will
work in FarNet. To be continued.

New panel property IsNavigation ~ PFLAGS_SHORTCUT & OPIF_SHORTCUT in Far API.
It is always false for FarNet panels (see above). Not sure about this flag,
consider this as experimental.

Re: FarNet — .NET Far API and .NET module manager

Posted: Tue 03 Apr, 2012 15:35
by NightRoman
http://code.google.com/p/farnet/downloads/list

= 5.0.22 =

Module panels. For exporting files (F5/F6) from a module panel to a native file
or plugin panel it is enough to implement GetContent(). Files with good names
are copied fine. A user is prompted to correct bad names in interactive mode.
Bad names are ignored in batch mode. Possible duplicates are not treated, the
last file wins.

NOTES:
* Still, consider to use ExportFiles (more power, control, flexibility).
* F6 works like F5 in new "lazy" scenarios, to be continued.

Re: FarNet — .NET Far API and .NET module manager

Posted: Wed 04 Apr, 2012 16:15
by NightRoman
http://code.google.com/p/farnet/downloads/list

= 5.0.23 =

5.0.22 continued

* Move (F6) deletes successfully copied files if an explorer can DeleteFiles.

* Bad names are silently ignored if the target is a plugin because Far does not
know about names possibly corrected by a user. This is especially important on
move: not completely processed files should not be deleted.