If qof_book_destroy is called on a QofBook* freshly created with
qof_book_new (usually because it was used to create a session that now
must be destroyed) it would try to empty the non-existent hash tables,
crashing.
This patch adds a “Run” command to the “Scheduled Transactions” tab to allow users to select the scheduled transactions to be included in a “Since Last Run…” window. If there are no instances of a selected transaction triggered by today’s date, the next instance is triggered.
The register does not need to know about the dialog action widgets so
create a new structure for the dialog and store them there. Only keep
the state in the 'FilterData' structure.
The register does not need to know about the dialog action widgets so
create a new structure for the dialog and store them there. Only keep
the state in the 'SortData' structure.
If the page visible is the last page, as they are closed the focus is
passed to the previous page and results in that register being
refreshed before that page is closed. If the visible page was the first
in the list this does not happen.
Retrieve the status of 'window_quitting' from the main window and
add it as a condition for setting focus and subsequent page refresh.
With the General Journal saved to show all and sort by 'Date of Entry',
when restoring the page it was only showing the default number of days
which is 30. This was down to the query being updated but the register
was not refreshed, possibly stemming from the change to defer
refreshing pages that are not visible.
This change stops any page refresh when page is being created or
restored till when the page is in focus.
Implement the toggle of the Enabled box on the Scheduled Transactions list including use of the spacebar to toggle the Enabled box when the Enabled column is visible. Also, added use of the Name column as the secondary column sort for all the other columns.
- Maintained C-API linkage to exported functions in libgnc-html
- changed SWIG generated file to C++
- Added "noexcept" attribute to the C-APIs
gnc-html: more in-depth C++ conversion
- typedef -> using
- NULL -> nullptr
- moved variable declarations to their
initial assignments where appropriate
- fixed a couple cases where early returns
would leak memory
- sscanf, snprintf, strchr -> std:: versions
- converted to std::string_view for parsing loops
- used range-based for loops for string parsing
- used auto for modified functions
- minor cleanup of dead code and whitespave issues