=========================================================================== A-Shell Development Notes Version 5.1.1130.3 (05 November 2008) =========================================================================== 1. --- File > Save dialog locations were not right when explicit -o specified. 2. --- Clicking on the copyright message now dismisses it. Also, fix ATE problem with two copies of the Copyright message dialog being active at once (one local, one initiated by the server), leading to a situation where one wouldn't go away. 3. --- MIAMEX, MX_PWCRYPT enhancement: optional type argument allows you to create the original 7-bit style password encryption used by earlier versions of ATE, in addition to the newer 8-bit style. The two types of encrypted passwords can be distinguished by the first byte - chr(1) indicates type 1 (7 bit), while chr(2) indicates type 2 (8 bit). xcall MIAMEX, MX_PWCRYPT, CLEARPW$, CRYPTPW$ {,TYPE} By default it uses type 2. =========================================================================== A-Shell Development Notes Version 5.1.1130.1 (03 November 2008) =========================================================================== 1. --- New AUI_CONTROL / AUI_MENU option: The control click event can now call an SBX by setting the MBF_CMDLIN flag and setting the CMD string to: SBX:sbxnam,arg1,arg2,...argN Note that other than the "SBX:", this is essentially equivalent to the XFUNC syntax, but unlike XFUNC, the return value of the SBX is ignored. Also note that the current state of A-Shell or ATE is suspended while waiting for the SBX to return, so it is probably only a good idea to use this with modal functions that are reasonably limited in scope. (Using it to launch an entire application, which in turn may get nested by subsequent launches is likely to burn up a lot of stack space; using the traditional CMD = "$ASHELL ..." to launch a new instance would be preferable in that case. 2. --- Minor ATE cleanup: - Eliminate a spurious demo licensing message during connection profile editing. - Changing the top and bottom status line options on the connection properties dialog now takes effect immediately. =========================================================================== A-Shell Development Notes Version 5.1.1130.0 (02 November 2008) =========================================================================== 1. --- New XCALL HTTP (Windows only) to handle various kinds of HTTP requests: XCALL HTTP, OP, STATUS, FLAGS, URL, REQUEST, RESPONSE Where OP [num, in]: 1 (XHTTPOP_REQ) = general HTTP request STATUS [signed num, out] 0 = ok (for simple functions) >0 = response code returned from HTTP server (generally means that operation succeeded in communicating with the server; whether that represents an unqualified success will depend on the application and the body of the response.) <0 = Operational errors (see ASHINC:HTTP.DEF HTTPERR_xxx) FLAGS [num, in] sum of options flags (see ASHINC:HTTP.DEF XHTTPF_xxx) define XHTTPF_SSL = &h0001 ! use SSL define XHTTPF_REQPOST = &h0002 ! tells upload routine to use POST format define XHTTPF_REQUPLOAD = &h0004 ! uplaod files (variation of POST) define XHTTPF_REQHEAD = &h0008 ! Makes the request a HEAD request define XHTTPF_REQXML = &h0010 ! Makes the request a POST using text/xml content define XHTTPF_REQGET = &h0020 ! Simple GET (text of HTML page) define XHTTPF_REQPUT = &h0040 ! Simple PUT define XHTTPF_DOWNLOAD = &h0080 ! Download a file define XHTTPF_FILEREQ = &h0100 ! request arg is a filespec (or list of) not a string define XHTTPF_FILERESP = &h0200 ! response arg is a filespec not a buffer define XHTTPF_DEBUG = &h0400 ! outputs copy of generated request to DEBUG.REQ define XHTTPF_HDRBODY = &h0800 ! parse file into headers (added individually) and body define XHTTPF_PARMBODY = &h1000 ! like HDRBODY but use AddParam instead of AddHeader define XHTTPF_SETFROMURL= &h2000 ! Extract path and form info from URL define XHTTPF_FORCEXFR = &h4000 ! File parms are server-relative; xfer to PC URL [str, in] Fully qualified URL, with optional path and/or {:port}. Eg: "http://www.microsabio.net/dist/51dev/temphold/junk.zip" "https://www.paypal.com" "http://someserver.com/some/path:10080" REQUEST$ [str, in] Contains content of the request, for operations that require it, such as uploading files, POST, etc. Depending on XHTTPF_FILEREQ flag, may be a string buffer or a filespec (preferably native). For the XHTTPF_REQUPLOAD option, can be a list of filespecs with semi-colon delimiter. Note that some options only work with file mode, while some may only work with string mode. RESPONSE$ [str, in/out] Body of the response. Depending on XHTTPF_FILERESP, it is the filespec (preferably native) of a file, or a string buffer to return the response in. For errors that return STATUS<0, it may contain debugging text about the error rather than the actual response. Notes: If intending to routine this via ATE from a UNIX server, you should stick with the file mode. =========================================================================== A-Shell Development Notes Version 5.1.1129.2 (31 October 2008) =========================================================================== 1. --- XTREE bug fix: date columns would only sort in one direction. Was broken in 5.1.1126.0 (while "improving" the support for flexible date/time formats). =========================================================================== A-Shell Development Notes Version 5.1.1129.1 (30 October 2008) =========================================================================== 1. --- ATE enhancements: Support new ATE profile emulation-related option: Top / Bottom Status Disable field attributes (OPTIONS=NOFLDATTR) No space attributes (OPTIONS=NOSPACEATTR) Caps lock Tokenize GUI text (OPTIONS=GUI_SPC_IND) =========================================================================== A-Shell Development Notes Version 5.1.1129.0 (28 October 2008) =========================================================================== 1. --- Compiler/language enhancement: ++PRAGMA FORCE_FSPEC Similar to FORCE_EXT , this pragma allows you to change the name of the output file generated by the compilation. The name you specify may optionally contain an extension (in which case it overrides the extension previously established by default or by prior pragmas), and it may be in native or AMOS format. It may also contain "%s" to indicate the simple name of the current source file. (This allows you to use a common pragma, perhaps via a ++include, which specifies an alternate location for the run file.) Note that in all cases the filespec should be quoted. Examples: ++PRAGMA FORCE_FSPEC "fred" ++PRAGMA FORCE_FSPEC "BAS:MYNAME.RRR" ++PRAGMA FORCE_FSPEC "/vm/miame/run/abcdef" ++PRAGMA FORCE_FSPEC "NEWRUN:%s" 2. --- Compiler/language enhancement: ++PRAGMA FORCE_OLD_ISAM This is the equivalent of /I, causing the compiler to assume ISAM 1.x for OPEN statements that are otherwise ambiguous. Unlike /I, it can be turned on and off for different sections of the source code. Example: ++PRAGMA FORCE_OLD_ISAM "TRUE" 3. --- Compiler/language enhancement: ++PRAGMA FORCE_IEEE This forces an floating point variable which does not have an explicit size to be treated as F,8 (rather than F,6). Also requires /X:1 or higher. 4. --- Compiler enhancement: RETURN within a Function or Procedure is now flagged as an error, unless there was a prior CALL