Analytica 4.4 beta Release Notes/Changes in 4.4.0.12


This page lists fixes in beta build 4.4.0.12 since the previous beta build 4.4.0.9. For major enhancements since 4.3, see What's new in Analytica 4.4?.

Clipboard (Copy/Paste)

  • Removed PNG type with transparent background from clipboard (experiment in built 4.4.0.9). Windows GDI+ does not handle transparent backgrounds well, many things didn't look good, so we include the background color always.
  • Fixed a case where garbage cell data sometimes pasted from Excel.
  • Fixed a problem where node colors were altered when they were pasted.
  • copy/pasting of several esoteric data types from one variable to an edit table in the same Analytica works better. Things like handles, references, LP/QP terms, pictures, comparison terms.
  • Improved awareness of when quotes should be omitted or included when pasting textual values between Analytica views.
  • Copy diagram image (or node images) would not capture the image with identifiers when the Show by identifiers was set.

Diagrams

  • Fixed cases where balloons would persist despite having left the window.
  • Dragging of nodes interrupted by balloon hover.
  • Removed the anachronism "Set Diagram Size" from the right-mouse context menu.
  • Restored cross hatching of input or alias nodes when the original is cut but still on clipboard.
  • The initial diagram window for a new model started a bit too far left, so that the left boundary was outside the desk window.

Engine

  • Fixed a potential memory leak that could occur when a stack overflow condition occurs.
  • Improved robustness of stack overflow handling, including fixing cases that could cause crashes.
  • The Iterate function now accepts named parameters.

Example Models

  • Updated example models that still had the anachronistic PICT format (from the old Mac days) to use modern PNG image formats. PICT is the one format that ACP does not support, so this allows these models to display their images when uploaded to ACP.
  • The Newton Raphson example model was updated to use the Iterate function, rather than the Dynamic function.

Excel Spreadsheet Functions

Unfortunately, Excel 2010 has introduced numerous bugs into its COM API support, which impact the Analytica Spreadsheet functions. This build contains numerous enhancements to work around these Excel bugs to make the spreadsheet functions more robust.

  • When saving a workbook via SpreadsheetSave, Excel 2010 would set its visibility flag to hidden. Then, when you loaded it into Excel, it would appear you were staring at a blank spreadsheet (but it would open fine in Open Office, and other Spreadsheet functions would read the data as if it were there). From Excel, you would need to go to the View Tab and select Unhide to see anything. SpreadsheetSave now momentarily sets the visibility flag to unhidden before saving.
  • Another Excel 2010 but is that when the visibility flag is toggled, a background EXCEL.EXE process fails to terminate when all references to a workbook are released. This would cause the Excel.exe process to linger on Task manager even after you closed your Analytica model. As a work around, when Analytica releases a workbook, it checks whether the spreadsheet is being viewed from an Excel graphical user interface. If not, it closes it, which then allows the Excel.exe process to terminate as it should.
  • If a workbook instance is exogenously terminated after SpreadsheetOpen has established a connection to it, errors (like The object invoked has disconnected from its clients or The RPC server is unavailable) would occur the next time you tried to evaluate a spreadsheet function on the workbook. Exogenous termination could be the result of a bug in Excel 2010 that terminates the workbook when it is closed by the user from the graphical user interface even when an external application holds a reference to it, or when the Excel.exe background process is killed from task manager. Now it can also occur as a result of the previous bullet if two different Analytica processes are simultaneously using the same Excel workbook. Now, when this connection is broken, when you attempt to evaluate a spreadsheet function it will attempt to re-establish a connection, which usually means launching an instance of Excel again in the background.

Expression Assist

  • Autocomplete would linger, often after backspacing over the first character of an identifier, and act as if first character of the identifier still existed.
  • Parameter help for Var..Do and related declarations improved.

File Saving/Loading

  • When a legacy (4.3 or earlier) model is loaded into 4.4, the "do not use ClearType fonts" flag should become set. This causes the same fonts to be used for node titles as in 4.3, so that work breaks occur at the same places. In one model submitted, this flag did not get set as it should have, so we fixed this case. We do recommend that you switch over to ClearType fonts (Diagram→Set Diagram Style... from the top-level model diagram) -- it looks better and several improved functionalities are only available when ClearType fonts are on -- but you will likely need to adjust some nodes due to altered work wrapping.
  • The images of diagrams produced by File→Export... were often quite ugly, with splotchy fonts and lines. These now look much better.
  • When an identifier collision occurs with a UDF when adding a module, and one UDF is renamed, it would lose its parameters attribute.

Object Window

  • When editing a definition (or any other text field) before any other change has been made since the model was last saved, the Save option would be disabled, even though you've made edits in the field being edited.

Preferences

  • The Use Excel date origin preference was using the wrong date offset in the previous 4.4 beta builds. Note: When loading a model from a previous build with Use Excel date origin set, you must un-check and re-check the preference box for the changes to take hold.

Printing

  • Stray buttons and stray rectangles were visible on an Object Window's Print Preview.
  • Several problems fixed with printout when a scaling percentage was used.
  • Fixed an intermittent crash when previewing an Object Window.

Typescript

  • The time required to print stuff to the typescript window is dramatically faster.

Windows Management

  • Minimizing of windows was not functioning in 4.4.0.9

ADE

  • The ADE installer now adds a folder to the Start Menu with shortcuts to the manuals, to AdeTest, and to the register component (i.e., ADE.EXE /RegServer).
  • The AdeTest application is now configured to compile a 32-bit executable or 64-bit executable, and the 32-bit or 64-bit AdeTest.exe is included with the corresponding installer. This allows the New ADEW.CAEngine button to work when you install 32-bit ADE on a 64-bit Windows platform.
  • CAObject::ResultTable with CAObject::ResultType=3 (PDF) picks up KDE Smoothness settings when the variable is set to use Kernel Density Smoothing.
  • When running ADE on web servers, some security issues may arise. For example, should the use of RunConsoleProcess be allowed at all? If anonymous end-users are uploading their own models, then maybe you'll want to disable this. Perhaps you'd like to make it impossible to call DbWrite from a variable that contains an input node, so as to prevent a malicious SQL-injection attack. Security can be configured on a function-by-function basis by modifying the Analytica.ini file. Comments present in that file provide the details.
  • Uninstall of Analytica 32-bit removed the TypeLib registry settings for Analytica 64-bit.
Comments


You are not allowed to post comments.