Please enable JavaScript to view this site.

A-Shell 6.5 Development Notes

Navigation: Notes by Version and Date > 2022

1717 — 04 Aug 2022

Scroll Prev Top Next More

 

1717.15

Fix

Process exit code: A-Shell was failing to reset its own process exitcode after some system calls the might set it, resulting in a non-zero exitcode in some cases where it should have been zero. This would only be noticeable if you were testing the exitcode after running A-Shell as a background command within a script of some kind.

1717.14.1

Fix

Compiler edit 998:

• The /CI (case insensitive) option was affecting DEFINEd literal strings. This bug was introduced in edit 994).

• Symbol definitions passed in via the /C: switch were being lost if the      program was too big for the specified options, leading to an automatic      compilation restart with the /A or /AV switches activated.

1717.14.21

Fix

MX_DYNSTRUCT (DYNOP_INFO): the order of subscripts in a multi-dimensioned arrays was reversed in to the returned ST_FLDDEF structure.

1717.13

 

Compiler edit 997: internal code refinements.

1717.12

Fix

Compiler edit 996: fix crash related to embedded defstructs.

1717.11

Fix

AUI refinement: when a dialog is created with MBST_CENTER option (center dialog on parent), if the parent is minimized, the dialog gets centered on the current desktop instead. Previously it was ending up stuck in one of the corners.

1717.10

Fix

BINDSTRUCT / MX_DYNSTRUCT: Close a loophole in which an MX_DYSTRUCT call to retrieve structure information by name would return a status -9 (unable to locate named structure definition) after a prior call to retrieve structure information by instance succeeded.

1717.9.1

Fix

TCPX.SBR: The TCPOP_CHECK and TCPOP_CHKQTY calls were returning zero rather than a valid "not connected" error when the remote side had in fact disconnected. Problem was introduced in 1712.1.

1717.9.2

Fix

ASQL ODBC: Some variations of the SQLOP_FETCH_ROW operation were failing to clear the target variable when fetching a NULL field, resulting in erroneous values which were left over from whatever was previously retrieved into that variable. Note that NULL fields are treated equivalently to "" when fetched into variables. Fix is in the external LIBASHODBC library verison 1.5.116. Problem did not affect the MySQL connector.

1717.8

Fix

ATE: close window for stack overflow error after 2000+ AG_FUNCx calls in succession.

1717.7.1

EIR

DYNLIB refinement: add a level of fail-safe protection against certain kinds of memory corruption resulting from calls into external routines with incorrect signatures.

1717.7.2

New

ASHNET function requests a Google API access token based on a private key.

1717.6

Fix

XTREE: in the absence of an explicit sort order, setting and then clearing an auto-filter was causing the display order to reverse.

1717.5.1

EIR

ASHNET library fixes/enhancements (edits 179-181), mostly motivated by Google Drive requirements.

1717.5.2

EIR

PRTXLS 2.1(218): made improvements to the column separation logic. Columns with only one space of separation are now more reliably separated. Also close a crash loophole.

1717.4.1

EIR

Refinements to DEFALIAS, compiler edit 994:

•   ++IFLBL / ++IFNLBL now recognize DEFALIAS'd function and procedure labels, acting based on the existence of the target function / procedure (and not the existence of the DEFALIAS definition).

•   ++IFDEF / ++IFNDEF now treat DEFALIAS definitions as they would symbols defined via DEFINE statements.

•   UNDEF now works on DEFALIAS definitions.

1717.4.2

Fix

Compiler edit 995: the existence of a ++ directive within the text following a
++MESSAGE or ++ERROR directive was in some cases confusing the compiler as to conditional compilation state.

1717.3

Fix

XTREE was in some cases reporting a "XTREE Diff Unpack Error" in the ashlog that wasn't really an error.

1717.2

Fix

Using the last slot in the memory handle table for an ordered map or dynamic array was triggering a false Basic error #3 (out of memory) when the array was accessed. Note that the global memory table gets auto-expanded as needed, but starts with at least 500 slots.

1717.1

Fix

The following directory-scanning wildcard-supported LIT commands have been updated to patch a very old bug which would result in the directory listing being duplicated if there were consecutive DEVICE statements for the same device—i.e. one normal DEVICE definition and one or more PPN-specific definitions:

DIR.LIT 3.4(172)

COPY.LIT 3.4(147)

MOVE.LIT 3.4(147)

ERASE.LIT 3.4(137)

PRINT.LIT 3.4(137)

SUBMIT2.LIT 4.0(207)

HEAD.LIT 3.4(107)

TAIL.LIT 3.4(107)

 

1717.0.1

 

Roll-up / consolidation of patches 1716.1-1716.9

1717.0.2

Fix

ASQL refinement: the info2 field within the CMDHDR structure is now properly scaled when the application is using a non-zero SCALE factor. Previously results were coming back down-scaled, e.g. 0.02 instead of 2.

1717.0.3

Fix

XTREE: the checkbox style of filter was incorrectly handling a filter selection of the form AA-BBBBB as if it was a range (from AA to BBBBB) rather than a literal string.

1717.0.4

Fix

XTREE bug fix / refinement: the routine is now more tolerant of raw data structures—i.e. where the data array parameter is actually just a scalar X parameter—even when there are no nulls to mark the ends of rows.

1717.0.5

Fix

AXL enhancement: support for LIBXL verson 4.x. Note: if using LIBXL64.BSI, download the latest LIBXL64.BSI (202+) and recompile any affected programs.