Changelog translation 04-20 Jan 2008

4 views
Skip to first unread message

Max Shirshin

unread,
Jan 19, 2008, 8:45:23 PM1/19/08
to fardeven
I'm back, sorry for long delay...
Here's the changelog, translated for your testing pleasure.

drkns 18.01.2008 23:48:39 +0200 - build 414

1. Wrapper:
- Changed the way to store and convert into each other the
structure arrays FarDialogItem and oldfar::FarDialogItem. Now
DM_GETDLGITEM and other messages that pass FarDialogItem are
(hopefully) processed without errors and leaks.

- Added SetFileApisToOEM(); to EXECUTE_FUNCTION/EXECUTE_FUNCTION_EX
macros (pluginA.cpp)

- added a "compatibility mode" - a possibility to set the FAR
version being returned in
ACTL_GETFARVERSION - it turned out that some plugins don't
understand that 1.80 > 1.70 :-)
It is taken from \software\far18\wrapper\version, REG_DWORD,
format is the same as in MAKEFARVERSION.
Only decrement is supported, from the actual version to 1.70.1.

2. Interface language was switched back to English sometimes.

3. Correction in plugin.hpp.

drkns 15.01.2008 19:50:26 +0200 - build 413

1. Wrapper:
- corrections in DM_LISTGETCURPOS and DM_GETSELECTION;
- MB_USEGLYPHCHARS wasn't needed in some places;
- other small fixes

2. In DialogItemEx, not all fields were initialized (in 1.7x this was
done by memset),
which could have caused crashes under certain circumstances.

3. A redundant increment of line counter in editor when a new string
is pasted.

4. gcc warnings.

svs 15.01.2008 14:44:11 +0300 - build 412

1. Mantis#0000425: Add support of FILE_ATTRIBUTE_OFFLINE attribute

2. Added FILE_ATTRIBUTE_VIRTUAL
For presentation purposes only. If needed, should be implemented
similarly to FILE_ATTRIBUTE_OFFLINE...
..something like ID_FF_VIRTUAL etc...
...if anyone can explain how that can be SEEN!

3. Small additions to syslog.cpp
+ IO_REPARSE_TAG_* in headers.hpp

4. Hotkeys didn't work with Russian input language (but they do work
with Alt).
See Dialog::IsKeyHighlighted()

drkns 14.01.2008 19:43:11 +0200 - build 411

1. Wrapper:
- from Tim Sobolev: DI_USERCONTROL is processed correctly;
- several open dialogs are processed more correctly;
- DM_LISTDELETE didn't work;
- when converting from OEM to Unicode, MB_USEGLYPHCHARS flag is
used.
- other small fixes

Zuz 12.01.2008 01:52:26 +0500 - build 410
1. More liberal requirements for access rights (Mantis#0000453).

2. In FindFiles::LookForString, libc API for file operations changed
to WIN32 API.

drkns 11.01.2008 11:12:03 +0200 - build 409

1. Wrapper:
- added ConvertNameToRealA.
- corrections in ConvertKeyBarTitlesA, FarMenuFnA and
FCTL_GET[ANOTHER]PANEL[SHORT]INFO.
- DN_* -> oldfar:DN_.
2. QuickView didn't work on a plugin panel.

svs 11.01.2008 11:48:41 +0300 - build 408

1. Mantis#0000456: ConvertNameToReal function doesn't work for
symlinks
correction

svs 09.01.2008 20:53:11 +0300 - build 407

1. Mantis#0000447: Buffer overrun in Edit:ProcessKey()
"patch for a patch"

svs 09.01.2008 19:54:42 +0300 - build 406

1. Mantis#0000456: ConvertNameToReal function doesn't work for
symlinks
ConvertNameToReal function doesn't work for symlinks, i.e.
returns garbage instead of a full path that follows symlinks (if
necessary)

What has been done:
1. In function ConvertNameToReal, processing of symlinks fixed;
2. Function ConvertNameToReal didn't expect nested symlinks and
returned the result after extracting the path of a trailing symlink
(AFAIK, the error comes from 1.7x branch, so the fix could be
backported there as well).

Added type conversion to int (GetBuffer has int as a parameter)

2. Mantis#0000455: Fix in GetWindowText

ts 07.01.2008 12:25:13 +0200 - build 405

1. Full information from old plugins is passed to OpenPluginInfo, the
corresponding functions were added to the wrapper.
2. Function ArrayAnsiToUnicode added to the wrapper, to convert an
array of strings to Unicode; the end of the array being marked with a
flag element; no need to provide the array size when deleting the
array with FreeArrayUnicode. It is recommended to use this function
wherever appropriate.
3. Fixed a debug build which was broken in 402

ts 07.01.2008 21:02:07 +0200 - build 404

1. Added functions OldKeyToKey and KeyToOldKey to wrap.cpp to convert
internal FAR keycodes from old to new format and vice versa.
2. Added keycode correction to KeyNameToKeyA and FarKeyToNameA
3. (Probably) imporved ECTL_PROCESSINPUT, ECTL_PROCESSKEY,
ECTL_READINPUT.
4. Temporary workaround for FarCharTableA.

t-rex 07.01.2008 08:31:08 +0200

1. Spacing unification in the wrapper, without a build.

ts 07.01.2008 06:45:38 +0200 - build 403

1. Fixed passing of flags in wrapper for FarStandardFunctions:
a. FarRecursiveSearchA
b. ProcessNameA
2. Function AnsiToUnicodeBin added to wrapper to convert a fixed
length buffer to Unicode (see UnicodeToAnsiBin).
3. In UnicodeToAnsiBin, an extra byte is allocated for a resulting
string to be compatible with old plugins that always expect a string
to end with \0 (e.g. in EditorGetString.StringText).
4. Logic of editor API access was changed in wrapper
(function FarEditorControlA); the following changes were made:
a. ECTL_SAVEFILE, ECTL_SETKEYBAR, ECTL_SETTITLE - completely.
b. ECTL_PROCESSINPUT, ECTL_PROCESSKEY, ECTL_READINPUT - temporary,
work in progress.
d. ECTL_SETPARAM - completely except for a workaround for
ESPT_CHARTABLE because FAR cannot process it.
For ESPT_GETWORDDIV command in FAR itself, it is
time to use Reserved2 to pass the length of an accepting buffer.
e. ECTL_SETSTRING - this comment: "The string being placed must be
in editor's encoding" was unclear, now we expect the string as ОЕМ (as
a result of ECTL_GETSTRING).

All editor's API calls are now working except ECTL_EDITORTOOEM and
ECTL_OEMTOEDITOR

Do not forget to set correct flags in wrapper, they often have
different values in the Unicode branch!

drkns 06.01.2008 14:57:04 +0200 - build 402

1. New pseudokeys MsWheelLeft and MsWheelRight - horizontal scroll
(for Vista and above).
MsHWheelDelta* parameters added to TechInfo#33.

svs 05.01.2008 19:19:19 +0300 - build 401

1. Similar to Mantis#0000414 "fixing" file handles in search and
viewer
2. Mantis#0000453: When searching files by contents, write permission
is requested (bug from 1.65...)

3. Small fix in registry.cpp::MkKeyName - RegMon doesn't like e.g.
"HKCU\\Console"


ts 05.01.2008 11:39:30 +0200 - build 400

1. Changes in wrapper messages handling for listbox and combobox.
Reply all
Reply to author
Forward
0 new messages