Changelog translation 13 Mar-28 Mar

6 views
Skip to first unread message

Max Shirshin

unread,
Mar 27, 2008, 7:01:25 PM3/27/08
to fardeven
I beg your pardon for so long a silence; here is the translation at
last.

svs 27.03.2008 18:03:22 +0300 - build 463

1. Macro: added new macro area "Consts" to store named constants.
Constants should reside in the "KeyMacros\Consts" registry branch.
Syntax is similar to "Vars", e.g.
Code:
KeyMacros\Consts
"StringName":REG_SZ
"IntName":REG_DWORD
Constants may have any name that begins with a letter...
Such constants as "ShiftIns" cannot be created (although
"ShiftIns1" is syntactically a correct name)

Here is a working example using FIB_PASSWORD constant.

[HKEY_CURRENT_USER\Software\Far\KeyMacros\Consts]
"FIB_PASSWORD"=dword:00000002
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Editor\CtrlP]
"Sequence"="%s=prompt(\"Password\",\"Input password:
\",FIB_PASSWORD); $Text %s"
"DisableOutput"=dword:00000001

FAR reads constants upon startup and stores them in glbConstTable.
Constants can be checked for existence with checkMacroConst()

2. Changes in varLook. Previously, it always added a variable, even
when ins = 0 was passed. Its error parameter is also removed; instead,
function returns a pointer or NULL. Because of this, some changes were
made to the macro execution.

drkns 26.03.2008 10:19:23 +0200 - build 462

1. Mantis#0000510: FarDialogEvent.Result type should be PLONG_PTR, not
LONG_PTR.
Result remains LONG_PTR, but now contains the actual value, not a
pointer to it.
I hope it wasn't used in any of the plugins...:)

t-rex 25.03.2008 23:41:53 +0200 - build 461

1. Editor::GoToLine optimization, it was badly needed

t-rex 25.03.2008 21:25:42 +0200 - build 460

1. Mantis#499: Invalid file handle used in ShellCopy::ShellCopyFile().

2. Mantis#395: Crash in UnicodeString::Format().

3. Wild mix of spaces and tabs in panel.cpp.

4. From Denis Kosy Mantis#505: Strings weren't cut in some VMenu.

5. syntax.cpp: didn't build in VC8 (at least).

svs 25.03.2008 21:51:35 +0300 - build 459

1. Macro: added Editor.RealPos - current position in the editor
regardless of the tabulation size

2. Macro: function S=prompt("Title"[,"Prompt"[,flags[, "Src"[,
"History"]]]])
Mantis#0000512: N = prompt(Title, Text, Flags)
See description in the Encyclopedia

svs 25.03.2008 18:34:01 +0300 - build 458

1. Corrections in panel.SetPath and optional parameters

svs 25.03.2008 16:54:07 +0300 - build 457

1. XXX::SetCurDir - function returns BOOL depending on the result

2. Macro: Added function -
N=panel.SetPath(panelType,pathName[,fileName])
Sets pathName directory on the panel, optionally accepts file
object name (for cursor, like in panel.SetPos)

3. Macro engine updated to match the 1.7x functionality:
a) added missing functions and operators
N=Menu.Select(S[,N])
N=mod(a,b) == a % b
S=replace(sS,sF,sR[,Count])

б) operation precedence set:

Unary (R->L): ! ~ -
Binary arithmetical: * /
Binary arithmetical: + -
Shift: << >>
Comparison: < <= > >=
Comparison: == !=
Bitwise: &
Bitwise: ^
Bitwise: |
Logical: &&
Logical: ||


4. Some macro functions accept optional parameters
S=itoa(N[,radix]) - if radix is not provided, 10 assumed
N=Menu.Select(S[,N]) - N assumed to be 0
N=panel.SetPath(panelType,pathName[,fileName]) - empty string
here
S=replace(Str,Find,Replace[,Cnt]) - Cnt=0 => infinite
S=substr(S,N1[,N2]) - to the end of a string
+ msgbox - last parameter (flags) may be skipped, 0 assumed

For this purpose, oParam parameter is added to the __TMacroFunction
structure.
In the interface, parameters can be skipped, they are filled in by
PushInt(0) in the code

drkns 25.03.2008 07:15:18 +0200 - build 456

1. Mantis#0000004: DI_EDIT in Message for fields containing file
names.
Message now works smarter: if a string is too long to fit, it is
being but into DI_EDIT, otherwise the old behavior is retained.
This allowed for removal of TruncPathStr when Message is called.

2. Mantis#0000080: Moving of a symbolic link to another disk.

zg 25.03.2008 02:15:01 +0200 - build 455

1. With TabSize=1, ShiftTab at the beginning of the string resulted in
a negative value for the current column.

t-rex 22.03.2008 21:33:34 +0200 - build 454

1. DM_LISTINSERT didn't return a value as described in the
Encyclopedia

2. Some fixes to prevent potential bugs.

svs 20.03.2008 18:22:21 +0300 - build 453

1. Added Disable color for the previous build, and menu items in color
settings were renamed
Now the FAR's palette size = 0x7F bytes

2. In History/Combobox, arrows were displayed using the menu color;
added VMENU_COMBOBOX flag


svs 17.03.2008 20:23:22 +0300 - build 452

1. Mantis#0000498 - Screen scrolling arrows colors for Menu/Listbox/
Combobox
The following colors added for arrows:
COL_DIALOGLISTARROWS,
COL_DIALOGLISTARROWSSELECTED,
COL_DIALOGCOMBOARROWS,
COL_DIALOGCOMBOARROWSSELECTED,
COL_WARNDIALOGLISTARROWS,
COL_WARNDIALOGLISTARROWSSELECTED,
COL_WARNDIALOGCOMBOARROWS,
COL_WARNDIALOGCOMBOARROWSSELECTED,
COL_MENUARROWS,
COL_MENUARROWSSELECTED,

2. Final fixes for '>' - removed redundant code that counted length of
a new string, and added some optimizations.

3. Macros depended on a keyboard layout

drkns 17.03.2008 07:36:28 +0200 - build 451

1. Correction for drawing '>' when scrolling VMenu.

t-rex 16.03.2008 23:39:26 +0200 - build 450

From Denis Kosy:

1. Mantis#497: Strings with file masks are being cut at position
60/78.
Because scrolling mode is now always enabled (ex-CtrlN), string
doesn't need to be cut anymore

t-rex 15.03.2008 19:49:48 +0200 - build 449

From Alexey Samlyukov:

1. math error when drawing '>' (for long strings in menu items).

t-rex 15.03.2008 17:47:09 +0200 - build 448

1. Mantis#87: Copying and hard links.

svs 15.03.2008 17:48:39 +0300 - build 447

1. Ctrl-N removed for lists (http://forum.farmanager.com/viewtopic.php?
f=3&t=3130)

drkns 15.03.2008 15:53:04 +0200 - build 446

1. Mantis#0000222: Incorrect processing of data streams tied to
directories.
Streams themselves didn't cause any problems, but processing paths
like "\\?\c:\" и "\\?\Volume{GUID}\" did.
A couple of fixes in the code where such paths were used.

t-rex 15.03.2008 13:41:32 +0200 - build 445

1. Mantis#467: Cannot switch to a plugin panel; incorrect panel
elements.
Fixed, but cannot understand anything :)

t-rex 14.03.2008 19:16:30 +0200 - build 666-666/3

1. Mantis#458: From the folder history, plugin having 1-letter prefix
is run

t-rex 14.03.2008 17:23:28 +0200 - build 443

1. Mantis#463: Current process folder is not updated from the user
menu, and it doesn't correspond to the active panel.
First, user menu switched folders on its own account, although that
was not needed; second, a redundant AI was restoring the path. I
simply removed everything like that.

2. From Denis Kosy: Mantis#493: Execute broken.

3. From Alexey Samlyukov: "" -> L"" в hilight.cpp.

svs 14.03.2008 00:18:12 +0300 - build 442

1. Bug in UserMenu.
а) UserMenu is empty.
- F2
- AltF4
- paste from clipboard in the editor, or add manually
- F2
- Esc
Menu is still empty
б) UserMenu is not empty.
- F2
- AltF4
- input "incorrect Unicode" in the editor
Solution.
When UserMenu is opened, in the built-in editor we set Unicode as
the current code page, without any autodetection.

2. If a TTF font is set for the console, symbols that point to a
submenu in UserMenu are displayed as empty squares.
usermenu.cpp::SubMenuSymbol[1] ==> Unicode symbol 0x25BA.

drkns 13.03.2008 19:18:08 +0200 - build 441

1. Mantis#0000462: !=\ changed behavior
2. Mantis#0000469: Incorrect message "Filename length exceeds system
limitations"

3. Buffer overflow in ConvertNameToReal()

4. Macro: in [panel.]fattr|fexist, * and ? weren't substituted.

5. In UserMenu, MainMenu and in the Search window, arrow keys on the
main and numpad keyboard behaved differently.

t-rex 13.03.2008 15:00:43 +0200 - build 440

From Denis Kosy:

1. Mantis#492: FindFile results window is losing data.

svs 13.03.2008 14:20:19 +0300 - build 439

1. From Denis Kosy: Mantis#0000491: macro panel.fexist doesn't work.

t-rex 12.03.2008 23:55:03 +0200 - build 438

1. From Alexey Samlyukov: wrapper: Unlike in 1.7.x, FarInputBoxA was
setting DestText even if a dialog was canceled.

2. Copying (and similar operations) didn't work with plugins that have
OPIF_REALNAMES set (e.g. TmpPanel).
Reply all
Reply to author
Forward
0 new messages