Filters

Here you can discuss about your favorite plug-in.
vodek
Posts: 31
Joined: Sat 12 May, 2012 09:29
Has thanked: 4 times

Filters

Post by vodek »

Latest post of the previous page:

Last edited by HaRT on Fri 13 Nov, 2020 12:08, edited 1 time in total.
Reason: Hidden offtopic
vodek
Posts: 31
Joined: Sat 12 May, 2012 09:29
Has thanked: 4 times

Filters

Post by vodek »

Once again with color pictures. The reason for the update error is the "hidden" attribute!
The "hidden" attribute is present:


The "hidden" attribute is missing:
Last edited by vodek on Fri 13 Nov, 2020 11:39, edited 1 time in total.
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

Filters

Post by DrKnS »

vodek, plugins are not forbidden from having hidden files.
Renewal's inability to process hidden files is its own issue and not a reason to force the world to comply.
Please report and discuss renewal issues in the appropriate topic.
vodek
Posts: 31
Joined: Sat 12 May, 2012 09:29
Has thanked: 4 times

Filters

Post by vodek »

Last edited by HaRT on Fri 13 Nov, 2020 20:16, edited 1 time in total.
Reason: Hid offtopic
skipik
Posts: 318
Joined: Wed 03 Jun, 2015 15:24
Has thanked: 67 times
Been thanked: 29 times

Filters

Post by skipik »

pepak, something is broken with the macros (or the plugin) on the latest 0.7.0.586 version, I always get this

after F5 on a HTML file in the far editor, everything works fine in my old back up copy with 0.5.0.534 and far 3.0.5656.0 for example.
P.S. Far 3.0.5725 x64
Last edited by skipik on Sun 10 Jan, 2021 08:00, edited 2 times in total.
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Filters

Post by pepak »

Interesting. It works fine for me, but only in my normal profile. Even with version 5716 which I am using now it will stop working if I delete the profile and then restore the macro file. But only if I use the macro - if I run the plugin manually (F11 -> Filters -> HTML), it works just fine. And the same is true for the other filters, too. I'll try to find what's wrong, but it may take some time.
Last edited by pepak on Sun 10 Jan, 2021 10:38, edited 2 times in total.
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Filters

Post by pepak »

Nevermind, I have the culprit - if you start with a new profile (or if you delete the plugin's configuration file), it will default to AutoSelect having an empty filemask. If you change that mask to *.*, then F5 will start working. I will need to fix it so that AutoSelect works "out of the box", but for the moment, the workaround is very simple - just change the filter's configuration.
User avatar
HaRT
Moderator
Posts: 10806
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 220 times
Been thanked: 357 times

Filters

Post by HaRT »

Starting with build 5788, there are when the External Filter editing dialog is shown (both from the plug-in configuration and from an editor). @DrKnS, any ideas? (I can explain how to get to this dialog.)
Фар есть инструмент, а не нянька. © 2009 DrKnS
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

Filters

Post by DrKnS »

@HaRT

Expected:
 
image.png

Actual:
 
image.png
 
I hope it's obvious enough.
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Filters

Post by pepak »

I think I see the cause of the error. I will test it out tomorrow, no time to do it today.
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Filters

Post by pepak »

Version 0.08
  • Removed SHA1-based signatures from my DLLs as SHA1 is no longer being supported by timestamping servers.
  • Fixed incorrect drawing of filter editor dialogs in FAR versions 5788 and newer.
  • Fixed autofilter (from the .lua script) to work even if no configuration of the plugin has been done (e.g. immediately after adding the plugin to FAR).
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Filters

Post by pepak »

Version 0.09
  • Minor fixes in the plugin's framework.
  • Cleaned up the source code.
Download
User avatar
HaRT
Moderator
Posts: 10806
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 220 times
Been thanked: 357 times

Filters

Post by HaRT »

I noticed a twofold unpleasant behavior when merely invoking the plug-in's filters menu:
1. Open a (non-empty) file in editor, make a selection in a top-down manner.
2. Note the current line and column, invoke the plug-in's filter selection menu, note the current line and column again.
Expected: the current line and column (and text scroll position) do not change.
Actual: the caret jumps to the selection beginning (and the text might scroll) — this was in version 0.08 too.
3. Cancel the menu.
Expected: the selection is intact.
Actual: the selection is cleared — this is new to version 0.09.

Far Manager, version 3.0.6099.0 x86 (in case it matters)

P.S.
Both https://www.pepak.net and https://forum.pepak.net sites mentioned in multiple plugin documentation files refuse connections.
Last edited by HaRT on Thu 04 May, 2023 23:58, edited 1 time in total.
Reason: Added the postscript
Фар есть инструмент, а не нянька. © 2009 DrKnS
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Filters

Post by pepak »

Behavior - reproduced, will check what's causing it.

Web - should be fine now.
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Filters

Post by pepak »

Version 0.10
  • Added the support for decoding URL-encoded strings.
  • If a block was selected on the plugin's execution, the cursor would be moved to the beginning of the block even if no further action was taken (e.g. by closing the filter selection dialog by ESCAPE).
  • If a block was selected on the plugin's execution, the block would be removed even if no further action was taken (e.g. by closing the filter selection dialog by ESCAPE).
  • Updated the plugin's framework.
Download
User avatar
HaRT
Moderator
Posts: 10806
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 220 times
Been thanked: 357 times

Filters

Post by HaRT »

pepak wrote: Mon 08 May, 2023 07:27Version 0.10
Thanks for the fixes and for the URL decoding filter.
Фар есть инструмент, а не нянька. © 2009 DrKnS
Post Reply

Return to “General Plug-In Discussions”