Skip to content

Releases: nasa/CCDD

CCDD Version 2.1.12

23 Jul 20:41
Compare
Choose a tag to compare
  • Added patch #07232024 which adds an integer cast to math expressions in tables cells and the macro table that include a macro and a division operator
  • Corrected a bug when restoring a database backup file when the current user is not listed in the DBU file's definition for the __users table

CCDD Version 2.1.11

02 Jul 13:20
Compare
Choose a tag to compare
  • Changed math expression handler to allow integer casts ('(int)')
  • Changed to allow expressions to result in floating point values (instead of forcing an integer). Note that expressions used as array indices must now be whole numbers (using the '(int)' cast if necessary)
  • Restored the sort arrows to table column headers
  • Corrected storing of the table export path in the backing store for JSON and CSV files
  • Removed exporting the prototype along with the instance table information for JSON and CSV files. This caused issues when attempting to import the file directly into the table since the prototype's information (being first in the file) would be used
  • Corrected an error in the database verification that incorrectly indicated non-existent variables in the __values table. The array definition variable path was not properly identified

Full Changelog: 2.1.10...2.1.11

CCDD Version 2.1.10

28 May 14:28
Compare
Choose a tag to compare

Changed the JTableHandler's pasteData() method to retain the primary key column values when replacing the entire contents of a table. When pasting data into a table, and the option to replace all of the existing table data is true, the entire table was deleted prior to pasting the new data. This included removal of the primary key column, which caused the TableEditorHandler's buildUpdates() method to treat the each row change as a deletion plus an addition since the primary key is used to match the changed rows. This deletion/addition sequence can cause table information to be lost (e.g., inherited fields, group associations, etc.)
Removed the call to updatePrimaryKeyIndices() in the TableEditorHandler's buildUpdates() method. This is not needed since the primary keys are retained when pasting. The method is not used, but is retained in the event a use case arises for it
Changed the DbTableCommandHandler modifyTableData() method so that it doesn't call the buildAndExecuteDeletionCommand() or buildAndExecuteAdditionCommand() methods for an instance table since only prototypes can have table rows deleted or added
Consolidated import code in the CommandLineHandler and corrected calls to the FileHandler's restoreDatabase() where the inputs were in the wrong order
Corrected the input order to restoreDatabaseFromJSONOrCSV() in the FileHandler's restoreDatabase() method
Removed duplicate code in the DbControlHandler's restoreDatabase() method
Changed the DbControlHandler's getRestoreNames() method to not append '_restored' to the database name if the database doesn't currently exist

CCDD Version 2.1.9

15 Apr 15:11
Compare
Choose a tag to compare
  • Corrected issue in script manager association table verification
  • Updated version and build date extraction from the jar file

CCDD Version 2.1.8

27 Mar 13:54
Compare
Choose a tag to compare
  • Corrected handling of macro searches when multiple macro names are involved
  • Updated version and build date extraction from the jar file

CCDD Version 2.1.7

22 Feb 15:28
Compare
Choose a tag to compare

Corrected an exception when starting with the GUI hidden

CCDD Version 2.1.6

30 Jan 19:55
Compare
Choose a tag to compare
  • Changed the JSON and CSV exports to eliminate array members that have no 'unique values; i.e., values that are not inherited from the array definition. This reduces the size of the export file(s). The JSON and CSV import methods automatically insert any 'missing' array members. Note that this mimics the behavior of EDS and XTCE export/import
  • Corrected JSON and CSV importing and exporting of application and telemetry scheduler data
  • Updated the XTCE export to include tags required by the schema (these 'extra' tags/fields are ignored by CCDD when importing). Also, certain name fields do not allow characters that are part of table paths and parameter names. The export operation converts these to a format accepted by the schema; when importing the reverse conversion is done to restore the paths/names. The CCDD XTCE export files successfully validate against the schema
  • Corrected a bug that prevented adding columns to a table type definition for larger databases
  • Changed the order in which table type column definition updates are applied (from additions, modifications, deletions to deletions, modifications, additions - this matches how table row changes are handled). Deletions must be made before modifications since otherwise, in certain circumstances, the deletions are handled as column name changes, resulting in database errors
  • Added default XTCE parameter values for command line export
  • Corrected an XTCE export parameter omission when exporting to multiple files in the file I/O handler
  • Removed the external XTCE export script hooks
  • The recent projects and recent tables menu items have been moved to sub-menus. This prevents a long name making the main menu extremely wide
  • Changed the Restore CSV and Restore JSON command behavior to mimic that of the Restore DBU command. This means that '_restored' is appended to the original project database name, and if the a database already exists with that name then a sequence number is also appended to make the name unique
  • When a script association is selected in the Script Manager dialog the table tree highlights the association's table(s). Formerly, the first reference to the table is highlighted (i.e., the prototype, even if the table also is a root). This is changed: For a root table, the table is highlighted in the Parents & Children portion of the table; the table is not highlighted in the Prototypes portion of the tree. If the table is only a prototype (not a root or child table) then the table is highlighted in the Prototypes portion of the table tree
  • Corrected the method for obtaining a list of selected tables, without the child tables, from a table tree
  • Corrected the wildcard pattern match to handle special characters
  • Made the path to the user's guide (accessible from the Help menu) a user-definable setting in the program Preferences dialog
  • Removed storing/retrieving the data table data field column names in CSV exports files
  • Updated the User's Guide

CCDD Version 2.1.5

07 Dec 18:36
Compare
Choose a tag to compare
  • Added a progress dialog when exporting tables
  • Updated the XTCE import/export code to the latest XTCE schema (version 1.2)
  • Updated the EDS import/export code to the latest EDS schema (2020 version)
  • Added script data access method to get the script description
  • Corrected insertion of a row into a table when the insertion point is at an array definition
  • Corrected a bug with the Verify command's duplicate __values table row removal that deleted all of the duplicate rows, instead of leaving one
  • Corrected an exception condition when adding a new column definition to a table type and the new row makes the type a structure table type
  • Changed the CcddJtableHandler table header renderer to set the font size outside the getTableCellRendererComponent method (which caused an infinite loop)
  • Added a second progress bar to the import dialog. The upper one shows the file being processed, and the lower one shows the table being created
  • Corrected bugs in the table tree handler:
  • The exception condition that occurs when "Filter by group" is selected, then "Filter by type" is selected, then "Filter by type" is deselected
  • The incorrect filtering when both "Filter by group" and "Filter by type" are selected (result also differs based on which filter is selected first)
  • Corrected an exception if the enter key is pressed when an empty combo box is being edited
  • Added the Tab key as a method to move to the next table cell and initiate editing, similar to the Enter key. The difference is that if editing is not active in the current cell then the next cell is selected and editing initiated
  • Corrected loss of cell focus when a cell is altered and the Escape key is pressed (ending editing). The cell now retains focus
  • Changed the data type combo box cell editor for rows with enumerations to use the CombBoxCellEditor; this allows selection via arrow and Enter keys
  • Corrected regular expression used during C header import
  • Corrected array variable creation during C header import
  • Corrected a null pointer exception when attempting to insert a macro into a non-structure table cell
  • Changed CcddTableTypeHandler.getVisibleColumnIndex() to return -1 if the column doesn't exist
  • Added method to collect prototype tables by table type name (versus just the type). When updating an input type the list by type returns tables that do not apply
  • Corrected a bug in the telemetry scheduler file output for the number of columns output
  • Changed so that rate parameters are determined prior to building the internal postgreSQL functions

CCDD version 2.1.4

06 Jul 14:51
Compare
Choose a tag to compare
  • Corrected highlighting of matching search text in data tables when using the find/replace dialog
  • Corrected scrolling a data table to a specified cell (for example, when using the find/replace dialog)
  • Corrected a table export bug that caused XTCE exports to throw an exception
  • Corrected a bug that resulted in mis-ordering of the table paths when getting the list of paths from a table tree. This affected the order that table data was loaded when executing a script
  • Improved halting script execution. The application could hang when exiting if a script had been halted. Attempts to re-run a script could result in no activity occurring. The correction eliminates both of these issues
  • Removed ability to backup and rename a project at the same time
  • Changed font scale factor to show the trailing decimal zero for whole numbers
  • Corrected initial vertical sizing of file chooser dialogs when scaling is enabled in Linux (using gsettings set org.gnome.desktop.interface scaling-factor 2). Lower portions of the dialogs are now displayed without having to manually resize the dialog
  • Changed how array data is treated when importing tables. Import were required to include all array member rows in addition to the array's definition; with this update it's possible to include just the array definition

CCDD version 2.1.3

18 May 12:05
Compare
Choose a tag to compare
  • Added the row number column to the data field table SQL UPDATE and INSERT commands. This keeps the fields in the correct order
  • Updated the default Enum size data field to accept INTEGER inputs only
  • Added check to the table cell validation to prevent entering an array member (a variable name with a square bracket character) directly into a variable name column
  • Changed the CSV hander fieldColumnNames array size (value didn't account for the row number column)
  • Updated CSV table definition import in importTableDefinitions()
  • Changed to clear StringBuilders using setLength(0) (speed improvement)
  • Updated the C header conversion to include array member rows. A parent component is now required in the convertFile method in case the GUI is hidden
  • Corrected the JSON and CSV import preparation method so that only a call to delete prototype (versus prototype and child) tables is made when the option to delete non-existent tables is selected
  • Getting the rate parameters from the database has been separated from the rate handler constructor. If an error occurs retrieving the rate parameters an exception is thrown since the database table handler has not been fully initialized
  • Corrected storeRateParameters so that the initial (integer) parameter is converted to a string when creating the StringBuilder
  • Corrected isFieldInformationChanged so that it returns true if a difference is detected
  • A question dialog outputs only the message if program output is redirected. If a button panel is provided then the last button is automatically selected
  • Changed the primary key column definition to accept 0, and not just positive integers. A patch is implemented that allows the user to update existing projects
  • Corrected a bug that removed cell selection and focus with one or more rows were moved in a table with hidden array members
  • Altered the patch handler to accept three stages of patch implementation
  • Removed sorting of the issues found during project verification. The sorting adversely affected implementation of the fixes
  • Corrected a bug in the Py4J gateway server class that prevented Jython from loading when Py4J wasn't present