Please enable JavaScript to view this site.

A-Shell 6.5 Development Notes

Navigation: Notes by Version and Date

1734 — 13 July 2023

Scroll Prev Top Next More

1734.5

Fix

Compiler edit 1028: correct problem with spurious errors caused by appearance of keywords in DEFXCALL parameter lists. Bug introduced in  edit 1020.

1734.4.1

Fix

XCALL JSON: opcode 1, convert JSON to ordmap, was omitting null and boolean values from the output.

1734.4.2

Fix

Compiler edit 1027:  Transclude statement was treating spaces after the second comma (separating the TCF spec from the section name) as significant, almost certainly causing it to abort with a section not found error.

1734.3.1

Fix

Ordered map: correct problem introduced in 1734.1 which was resulting in ordered maps corruption during parameter passing.

1734.2.1

EIR

XTREE/INFLD: set matching (e.g. SETDEF, ListX, CellListX) now treats the double-quote character (") as any other character, hopefully making it easier to support descriptions with matched or unmatched embedded quotes, e.g. ...,RUL,6" ruler,...

1734.2.2

EIR

XTREE: the ctitle field in the coldef parameter now recognizes HTML-style escaped characters, i.e. %xx where xx is value from 00-ff (hex). This is mainly a convenience for specifying hard breaks within a header or footer without having to resort to concatenating a chr(13) into the coldef string. For example, "1~20~Happy%0d~Hour~S~..." may be more convenient to code than "1~20~Happy"+chr(13)+"Hour~S~...". Note that a % not followed by two hex digits is treated as is; you can also use %% to indicate a literal %.

1734.2.3

Fix

MX_USRIO: opcode 0 was failing to find the specified module by name if it was in the very first position in the module cache. It now logs a detailed trace to ashlog in the case of failure.

1734.1.1

Fix

.MINROW(): if the grid contains elements with negative row numbers, .MINROW() now returns the numerically smallest row (as expected). Previously it returned the largest negative row number. In other words, if the grid contained rows -1 thru -5, .MINROW() now returns -5 but previously returned -1.

1734.1.2

Fix

GRIDMAP: assignment statements to a gridmap(int;varstr;varstr) were creating malformed keys, causing downstream failures with key lookup and iteration. Note: problem did not affect INPUT CSV or SQLOP_FETCH_GRIDMAP or gridmap(int;int;varstr).

1734.1.3

Fix

GRIDMAP: global gridmaps passed by reference to xcalls (such as SQL) were not being recognized as such. It was only when the gridmap was first passed to a function.

1734.0.1

EIR

ASQL: new flag FETCH_MAXLENS (&h0200) causes SQLOP_FETCH_GRID to return an extra row (indexed as row 0) containing the actual maximum string representation lengths within each column of the query results. This is intended to be helpful when configuring display parameters for the grid (e.g. XTREE, CSV2XL) and/or for building a custom DYNSTRUCT mapping.

Note that the feature does not require a corresponding update to the libashmysql or libashodbc connector, but SQLOP_FETCH_GRID requires version 1.6+.

1734.0.2

Fix

Re-do the 1733.2 READ DATA bug fix to eliminate the problem of unexpected truncation of fields containing double quotes. The extra quote characters were being counted against the target field maximum length even though they weren't being copied to the target.