fargroup / farmanager Goto Github PK
View Code? Open in Web Editor NEWFile and Archive Manager
Home Page: https://farmanager.com
License: BSD 3-Clause "New" or "Revised" License
File and Archive Manager
Home Page: https://farmanager.com
License: BSD 3-Clause "New" or "Revised" License
Just an idea.
It's a header-only C++ logging library with support fmtlib formatting.
Some of our translations are outdated and contain English strings here and there.
If you would like to help us translate those missing bits, please see the summary table below:
Notes:
lng
files contain the UI strings; hlf
files contain the context help pages (F1).Far???.lng
files from the distribution package can be transalted as well if that's more convenient to you.Is it possible to add row filtering in the folder/file history panel when typing partial name on the keyboard?
[Sorry for posting it here, but there seem to be no any other avenues.]
Is there any known issue with the farmanager.com
site? I cannot reach it (nor the forum) from the U.S.
>tracert farmanager.com
Tracing route to farmanager.com [93.174.73.204]
over a maximum of 30 hops:
1 4 ms 2 ms 1 ms Wireless_Broadband_Router.home [192.168.1.1]
2 12 ms 7 ms 7 ms ***
3 18 ms 8 ms 9 ms ***
4 10 ms 8 ms 9 ms ae3---0.cor02.sttl.wa.frontiernet.net [74.40.1.101]
5 8 ms 9 ms 8 ms ae1---0.cbr01.sttl.wa.frontiernet.net [74.40.5.126]
6 11 ms 9 ms 7 ms 10gigabitethernet9-9.core1.sea1.he.net [198.32.134.52]
7 65 ms 55 ms 68 ms 100ge4-2.core1.msp1.he.net [184.105.223.194]
8 52 ms 54 ms 55 ms 100ge13-1.core2.chi1.he.net [184.105.223.177]
9 71 ms 75 ms 70 ms 100ge16-1.core1.nyc4.he.net [184.105.223.162]
10 147 ms 146 ms 153 ms 100ge7-2.core1.lon2.he.net [72.52.92.165]
11 155 ms 154 ms 154 ms 195.66.225.227
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 199 ms 199 ms 199 ms c76-te4-2-vlan555.trunkmobile.com [78.25.76.242]
17 200 ms 200 ms 201 ms m9c76-RKN9-1-OUT-in.trunkmobile.ru [93.174.72.254]
18 199 ms 200 ms 199 ms m9c76-XE5-5-v166-gw.trunkmobile.ru [93.174.72.253]
19 * * * Request timed out.
20 * * * Request timed out.
21 * * * Request timed out.
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.
Trace complete.
The "list of selected files" (!&
) and "list of selected sort file names" (!&~
) has stopped working after b4ae95e.
Steps to reproduce:
*Select some files
*Press Ctrl+g
*Type echo !&
*Press Enter
Доброго дня. спасибо за программу, очень нравится.
Можно ли сделать билд для iOS операционной системы. В сети есть описание как упаковать программу для iOS, тогда возникает вопрос -- зачем заморачивать пользователя со всеми этими активностями, если можно попробовать сделать такую версию как часть процесса билда программы?
Right to Left languages (i.e. Hebrew, Arabic) on Windows don't show up correctly . so a word like "hello" shows up as "olleh". This has nothing to do with font but with bidirectional support . I hope it can be fixed in a future release.
More information:
http://www.unicode.org/reports/tr9/
https://github.com/fribidi/fribidi/
It would be great if Far had an option for either binary comparing or checksumming copied files against their sources.
For the copied files filesystem caching obviously must be disabled because otherwise you'll be comparing dirty caches against the source (if there's enough RAM to accommodate the source files), and you'll always receive a perfect match.
If I use Far:
I can't begin to use virtualenvwrapper-win in Far.
elif I use default cmd.exe terminal:
I can successful use virtualenvwrapper-win.
I run commands from virtualenvwrapper-win documentation.
Behavior in default cmd.exe:
D:\SashaPyromaDebugging>mkvirtualenv sashaenv
Using base prefix 'c:\\python36'
New python executable in C:\Users\SashaChernykh\Envs\sashaenv\Scripts\python.exe
Installing setuptools, pip, wheel…done.
(sashaenv) D:\SashaPyromaDebugging>workon sashaenv
(sashaenv) D:\SashaPyromaDebugging>toggleglobalsitepackages
Enabled global site-packages
(sashaenv) D:\SashaPyromaDebugging>toggleglobalsitepackages
Disabled global site-packages
Behavior in Far Manager:
D:\SashaPyromaDebugging>mkvirtualenv sashaenv
Using base prefix 'c:\\python36'
New python executable in C:\Users\SashaChernykh\Envs\sashaenv\Scripts\python.exe
Installing setuptools, pip, wheel…done.
D:\SashaPyromaDebugging>workon sashaenv
D:\SashaPyromaDebugging>toggleglobalsitepackages
You must have an active virtualenv to use this command.
I can't activate my virtualenv sashaenv
.
Thanks.
OS: Win7-64, Win10-64
Far64, build 5353, но похоже так было всегда.
Файл/каталог удаляется (F8) с subst-диска, но в RecycleBin ничего не появляется.
Все работает праввильно при доступе к оригинальному диску.
Как воспроизвести:
md c:\test
subst s: c:\test
FAR:
F9\Options\SystemSettings: проверить, что удаление в RecycleBin включено
Скопировать чего-либо в c:\test или в s:
Перейти в FAR на c:\test (не на s:)
F8: Файл удален
Windows: проверить RecycleBin, восстановить удаленное.
FAR: перейти на s: (не на c:\test)
F8: Файл удален
Windows: проверить RecycleBin: ОНО ТАМ НЕ ПОЯВИЛОСЬ !!!
Как пофиксать:
source\far\delete.cpp\ShellDelete::RemoveToRecycleBin() {
ConvertNameToFull(Name) заменить на ConvertNameToReal(Name);
}
According to this blog post Windows 10 version 1703 and later have possibility to allow symbolic links creation without elevation while in "Developer Mode". This is achieved through the CreateSymbolicLink
API's new flag: SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE
.
mklink utility and Git for Windows both support this. It would be very nice if the Far itself also has this feature.
Независимо от положения переключателя Options / Viewer settings / Save file position позиции в просмотренных файлах сохраняются на всё время сессии FAR'а.
Viewer.SaveViewerPos так же не оказывает влияния на поведение.
Такое поведение вызывает установленный (не сброшенный принудительно вручную) Options / Viewer settings / Save bookmarks (он же Viewer.SaveViewerShortPos).
ЗЫ. Я предлагаю оставлять эти флаги сброшенными в чистой дефолтной конфигурации. Дабы не писать «лишнего» на диск пользователя. И для редактора в том числе. Кому нужно, тот сам всё установит, сохранит, и экспортирует «на будущее».
I would often like to have a special symbol for the description of a file, like !.!
gives the long file name with extension, it might be possible to have !*
translate to the description of the current file. It can be just the empty string when there is none.
The following was the only position in the code which looks like it is performing these substitutions:
However, I did not find any reference to the MakePatternStr
function elsewhere, so I am not sure. Either way, it seems like the request can be easily implemented and if someone points me to the exact spot where the substitution is done, I'll gladly prepare a PR for this - but of course only if this change is welcome.
I've translated some plugins:
Align
AutoWrap
Brackets
After translating I have created 'Pull request', but any compliations trom 7-9 days has not included this files in builds (pulls: 99, 100, 101).
Can someone check what I have done wrong?
Здравствуйте
Часто в фаре приходится смотреть логи, которые пишутся в этот же момент. Было бы здорово, если бы
Спасибо.
I can't compile Far on AppVeyor https://ci.appveyor.com/project/techtonik/farmanager/build/1.0.5#L46
From build log I don't understand what feature of gcc 7.1.0
is used there?
Hi,
Cannot set the PATH variable.
SET PATH += c:\xxx\
ECHO %PATH%
This didn't help:
F9 -> Options -> System Settings -> [x] Automatic update of environment variables
It would be nice, if would be possible auto-wrap long lines.
If:
and/or:
Working without auto-wrap uncomfortable. I need to use Far alternatives.
For example, I wrote long command in terminal:
sfk replace Sasha-Black-description.html -pat "_css/Sasha-Black_../css/Sasha-Black/_" -yes
If I wrote this command in Clink or PowerShell mode of ConEmu, words from my command auto-wrap to new line:
If I wrote this command in Far mode of ConEmu:
I reproduce the problem in Far Manager without ConEmu.
Thanks.
Far 3.0.5261, plugin FarNet 5.2.14 + PowerShellFar 5.2.5
The following PowerShell scripts cause crashes.
z3-.ps1 shows one modal dialog and on its opening shows another modal dialog:
ps: .\z3-.ps1
$dialog1 = $Far.CreateDialog(1, 1, 52, 3)
$text1 = $dialog1.AddText(1, 1, 50, "")
$dialog1.add_Initialized({
$dialog2 = $Far.CreateDialog(1, 6, 52, 3)
$text2 = $dialog2.AddText(1, 1, 50, "")
$dialog2.Show()
})
$dialog1.Show()
z4-.ps1 opens two non modal dialogs:
ps: .\z3-.ps1
$dialog1 = $Far.CreateDialog(1, 1, 52, 3)
$text1 = $dialog1.AddText(1, 1, 50, "")
$dialog1.Open()
$dialog2 = $Far.CreateDialog(1, 6, 52, 3)
$text2 = $dialog2.AddText(1, 1, 50, "")
$dialog2.Open()
After d748f67 the view:
command doesn't display the progress window and freezes far on some occasions, especially if there is alot of content.
For example: view:<dir %windir% /s
I am using the latest stable FAR and in the default sorting by name in increasing order some files are not correctly ordered. For example the following file are ordered like this:
Names-171215144412006F65.log
Names-180501143336003EB5.log
Names-1711031741120076A5.log
I am probably missing something obvious here, but as far as I know (and how I expect this to work) is to order the files in ascending order, reading the name from left to right. In this case the first difference is 8
and so that file should be the last one. Same for the other two files: 2
is bigger than 1
but it appears above it.
Thank you for such a great app!
It would be nice, if Far Manager would update environment variables after restart as in native Windows console (cmd.exe).
At the time I need restart Windows, that get updated environment variables for new sessions.
I set any variable:
C:\Users\SashaChernykh>setx SASHAVAR 4147
SUCCESS: Specified value was saved.
I restart terminal → I print echo %SASHAVAR%
.
If terminal == native Windows console or Far Mode in ConsoleZ:
C:\Users\SashaChernykh>echo %SASHAVAR%
4147
Elif terminal == Far Manager or Far Mode of ConEmu:
C:\Users\SashaChernykh>echo %SASHAVAR%
%SASHAVAR%
I prefer ConEmu, not ConsoleZ, but ConEmu, unfortunately, doesn't support automatic refresh environment variables in new session at the time.
F9 → Options
→ Automatic Update of environment variables
:
Environment variables update for me without refresh in current session, but if I restart Far Manager, I get actual behavior, not expected.
I can't find this feature in existing plugins as EnvMan.
It would be nice, if would be possible update environment variables, if user run terminal in Far mode use different actions. For example, I run ConEmu in Far mode via:
Thanks.
I wonder if it is possible to abstract some parts of Far with https://grpc.io/docs/guides/ for incremental porting of Far to different platforms #3 and even reusing things done good on Linux in different languages (Rust, Go).
For example, I could run keyboard and mouse input loop natively in Linux and push events to Far running in Wine for processing.
Far 3.0 Build 5252
Не работает клавиша Backspace в командной строке.
Если ввести что-либо в командной строке, то уже невозможно ничего удалить. (Если обе панели видимы)
Если же закрыть панели по Ctrl+O, то Backspace просто возвращается на начальную позицию, но ничего не стирает.
Proposed by krokocat
on Far Manager Forum. Diff: FarRus.hlf.diff.txt. Also, translate to English.
Assign it to myself please.
Sorry if this was already reported/fixed in any of the russian language discussions.
Basically a serious RCE was discoverd in the ACE archive unpacking code, which can be triggered by simply opening an archive of this format in far.
https://research.checkpoint.com/extracting-code-execution-from-winrar/
Some help pages in file FarEng.hlf.m4 are copy-pasted from the Russian help file. I am going to translate them as time permits.
Много говорить не надо - и так всё видно :)
хелп берём к примеру из этого плагина - LUA File List lflist_ru.hlf (lflist_ru.hlf.zip). Файл кодирован в UTF-8, но BOM нет - получаем что видим. Перекодировка в редакторе с BOM устраняет явление, но перекодировать все плагины.:)
Ситуации сто лет в обед, у меня выплыла сегодня. Я думаю что возможным решением может быть добавление переключателя кодировки как у вьера/редактора - врядли кто перекодирует все UTF-8 хелпы в форму с BOM, да и говорят что "BOM это зло", но отсутствие сего "зла" вылезает такими "красотами".:)
I just discovered the cool ExcDump.dll
which I tried to test using <root>/misc/fexcept/execdump/test.cpp
. I changed the makefile_vc
and added this:
test: test_release_MT.exe test_debug_MT.exe
test_clean:
rm -f test_release_MT.* test_debug_MT.* $(OBJDIR)/test_release_MT.obj $(OBJDIR)/test_debug_MT.obj FStd_trap.log
COMPILE_TEST = $(CC) -Oy- -Ob0 -nologo -GS- -Zi -Fo$(OBJDIR)\\ -arch:IA32 -I. test/test.cpp
LINK_ARGS = -link $(XXLIB) -debug -incremental:no
test_release_MT.exe: test/test.cpp $(XXLIB) Makefile_vc
$(COMPILE_TEST) -MT -Fe./$@ $(LINK_ARGS)
copy $(WORKDIR)\$(NAME).dll .
test_debug_MT.exe: test/test.cpp $(XXLIB) Makefile_vc
$(COMPILE_TEST) -MTd -Fe./$@ $(LINK_ARGS)
copy $(WORKDIR)\$(NAME).dll .
But discovered that these choices did not generate an exception:
3. Generate stack overrun
4. Generate float math overflow (value / 0)
AFAICS from the dis-assembly of case '3'
this should overflow the stack.
What's going on here?
FAR 3.0.5200 x64 / Windows 10 v1607 x64
Опции Editor settings
/Cursor beyond end of line
и Persistent blocks
выключены
Создаём файл со следующим содержимым (cp1251):
Строка проверки
Не ноль
Очень длинная строка для копирования
Не ноль
Строка проверки
Ставим курсор в конец строки 3, нажимаем Ctrl-C
.
Перемещаем курсор стрелками вниз или вверх на последнюю или первую строку. Курсор устанавливается в позицию 8, которая затирает последнюю позицию из строки 3.
As you have implemented regex replace it would be useful to have feature as vim has.
http://vim.wikia.com/wiki/Delete_all_lines_containing_a_pattern
Probably it is possible even with current implementation but it is not clear to me how to achieve it.
I want to help Far group obtain a code signing certificate for the Far Manager binaries and installation package from CERTUM, I'm ready to donate €28.00. But there are some requirements for this certificate:
If you guys interested, please let me know. I believe this such an useful and popular application must have trusted certificate (CERTUM is in the Windows' trusted root certification authorities)
Far crashes trying to free up memory used to store Descript.ion file records, if descriptions were displayed at the panel provided by a plugin (which can handle Descript.ion files), regular file panels are not affected.
Bug is present at least for a year and can be reproduced with a last stable build:
Far Manager, version 3.0 (build 5225) x64
Crash happens at the following line:
Line 435 in 973a3da
It is not possible to reproduce the bug with any of default Far package plugins like ArcLite or NetBox, as both ignore Descript.ion files, but it is not complex to reproduce it with MultiArc plugin and 7-Zip archiver.
Steps to reproduce:
The @CodePageAuto
help page effectively says "Yes, Far will try to auto-detect code page." Not very useful.
Need to add more information, especially explain how the Codepages.CPMenuMode
and Codepages.NoAutoDetectCP
parameters in far:config
affect the auto-detect algorithm in the editor and viewer. Note: the Codepages.CPMenuMode
parameter is controlled by Ctrl+H
key combination in the Code pages
menu.
If command or application is running from current directory with full path longer than MAX_PATH chars using command line with arguments with relative paths then these relative paths couldn't be properly converted to full Win32 paths (using \\?\ prefix) since current directory is not set as expected. This issue occured because of using ShellExcecuteExW API.
Line 1002 in 94d0bb6
This code completely damaged working directory passed from FAR and then internal class member mentioned is used as lpCurrentDirectory parameter in call of CreateProcessW API from kernel32.dll. Thus current directory of child proccess (CurrentDirectory member of _RTL_USER_PROCESS_PARAMETERS structure pointed by ProcessParameters member of PEB structure) is set to wrong path.
Steps to reproduce:
Note for developers of applications which assumed to properly handle paths longer than MAX_PATH: do not use shell APIs that are limited to MAX_PATH (many if not even all of those which are using paths in parameters).
FarManager in ~20% of cases corrupts DI_FIXEDIT Mask value. It can be reproduced with a Release builds only.
Steps to reproduce:
In a normal case you should see the following dialog:
in the case problem take place, mask is replaced with one of checkbox labels:
To confirm that this is not a problem at plugin side, I've attached to a Far process with a Visual Studio and checked dialog items array plagin passes to Far. As you can see at the screenshot below, at first breakpoint at apiDialogInit method Item[3].Mask have valid '+9(999)-999-99-99' value, but at second breakpoint the value of (this->Items[3]).strMask is corrupted and equals to 'checkbox2'. So corruption took place while DialogItem to DialogItemEx conversion.
Btw. I wasn't able to set a second breakpoint with pdb file available at farmanager.com for the release v3.0.5354. Visual Studio told that sources at corresponding git tag v3.0.5354.738 are different. So I've finished a debbuging with a release build I've build myself with VS 2017 15.8.6.
b5107 Git-7889706a5 fresh glitches - run by the association lua: @ "! = !.!" test Lua script hello.lua:
local ret = far.Message ("Press any button", "Hello, Lua!", "& 1; & 2; & 3; & 4; & 5")
far.Message (ret <1 and "You cancelled the dialog"
or "You pressed the button" ..ret)
, we get the error message:
LuaMacro
cannot open \\? \F:\Developmer\Far30\ script\ "F:\Developmer\Far30\script\hello.lua: Invalid argument
and in b5107 Git-7889706a5 the script was run and worked out normally. It seems that the associations are broken. While spreading b5108 rather early ....
i can't download far
AAAAAAAAA what's a fuck!
При установленной галочке файлы укладываются ровными штабельками, без какой либо фрагментации (при наличии достаточного свободного места на диске).
При снятой же галке, FAR копирует файлы с поистине чудовищной фрагментацией, распихивая большие файлы (весом от нескольких до десятков гигабайт) по всем мыслимым и немыслимым закоулкам и закуткам диска.
Будет ли поправлено это дело в обозримом будущем?
It would be great if Far had an option to preserve directories timestamps while copying/moving directories.
Right now it's impossible and you have to use external applications for that (Total Commander, robocopy, etc.)
Нарвался случайно, ноги растут из b5082 Git-5075f3008 (проверено по коллекции билдов с b3000 по b5089) - в b5081 Git-5ae0d6df7 ошибки нет в b5082 Git-5075f3008 избирательно поломались ассоциации на F3/F4 и что интересно, для конкретных шаблонов имён файлов .
Внешне выглядит так - есть ассоциация Readme and descriptions на маски Readme.[t,w]xt,Descript.ion,File_Id.diz,[r]notes.[t,w]xt,readme.md
[x] Команда, выполняемая по Enter: view:"!=\!+!"
[x] Команда просмотра, выполняемая по F3: View:"!=\!+!"
[x] Команда просмотра, выполняемая по Alt+F3: "!=\!+!"
[x] Команда редактирования, выполняемая по F4: edit:"!=\!+!"
[x] Команда редактирования, выполняемая по Alt+F4: "!=\!+!"[/q]
и после b5082 Git-5075f3008 в архиве нельзя посмотреть или отредактировать всё, что попадает под сию маску. F3 "не работает" - на экране панели, по F4 просто дёргается экран, в %TMP% временные каталоги с распакованными файлами, но обращения к ним нет. По крайней мере я в Process Hacker v3.0.5596.1069 хендлов указывающих на них не обнаружил, в более ранних билдах - нет вопросов, начиная с данного коммита в списке их нет.
Воспроизведение элементарно - или руками выставить ассоциацию на этот набор имён, или импортировать из приложенного test.zip файл test.farconfig, а после попробовать посмотреть/отредактировать readme.txt/File_id.diz в этом же архиве.
P.S.
Интересно, а почему бяка вылезла именно на "readme."? Каким мёдом ей это слово намазано?
A good enough and distant enough goal for the 1st issue here.
скрин - https://i.imgur.com/7Fhdg3Y.png
ОС - Win 10 x64 1809 лицензия
падают 3.0.5354 и x64 и x86
3.0.5300 работает стабильно, а так же лет несколько (более 5 точно) до этого не наблюдал проблем с "дневными" сборками 3.*
updated так как крешится sqlite, привожу особенности настройки Far.exe.ini (которая много лет уже и используется):
since sqlite is crashing, I’ll quote Far.exe.ini settings (which has been used for many years):
UserProfileDir=%FARHOME%.profile
UserLocalProfileDir=%FARHOME%.user
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.