Two preferences were being used heavily in the drawing of the register
so it makes sense for them to be saved in the split_register structure
so they can be easily be referenced.
transaction number or split action (requires at least GnuCash 2.5.0)
Strip leading delimiters from KVP keys when reading them from the
database. Leading delimiters are incorrectly included in databases
created with GnuCash 2.6.x.
Move the get text height function which is the basis of the cell height
to the start of the draw procedure so highlight area can be computed
correctly.
Move the CSS settings file to a location based on XDG_CONFIG_HOME which
is OS dependant but with slight changes for Windows and OS X.
- Windows: CSIDL_APPDATA/Gnucash
- OS X: $HOME/Application Support/Gnucash
- Linux: $XDG_CONFIG_HOME/gnucash (or the default $HOME/.config/gnucash)
+ Specified metadata license
+ Added required nametag
+ Added required project license
+ Added required summary
+ Changed urls to https
+ Fixed screenshot tags
+ Added category
+ Added url for bugtracker, faq, help, donation and translate
I have not removed the current underscore prefixes as you may want to migrate from the deprecated intltool to modern gettext before doing so. Relevant information:
- https://blogs.gnome.org/mclasen/2016/07/21/using-modern-gettext/
- https://wiki.gnome.org/MigratingFromIntltoolToGettext
I opted for this temporary script to be able to print a message while compiling
as glib-compile-schemas is totally silent. Turns out printing the message can equally
be done directly in the install command.
This commit only improves the comments for
both reports, and uses gnc:error calls as
advised. The reordering in GST Report now
reflects the logical transformation of a
split into column amount.
This commit rewrites income-gst-statement.scm to be a derivation
of transaction.scm, modifying the options database and passing
custom arguments to the trep-renderer.
This should hopefully reduce risk of errors.
This commit adds 2 additional helper calls, primarily useful for
derived reports.
gnc:option-make-internal! will hide an existing option. e.g.
a derived report can set the value for a Display/* option and
hide it from the user.
gnc:unregister-option will unregister option. This is primarily
useful for derived options e.g. another report copies from
transaction.scm and removes some options and recreates them with
different parameters.
For example, unregister existing option from section "Accounts"
name "Accounts", and recreate with different parameters e.g.
limited account types.
This merges the initial 'no-account' warning and the
'no-account-after-filtering' warning. This reduces
the number of strings required.
The user can select some accounts, set an account name
filter which produces no accounts, and will see a
blank report with the gnc:render-options-changed
confirming that options were set, and the blank
filter is caused by the filter.
Example: http://i.imgur.com/eqq1Bpa.png
Previously in dual-subtotal columns, the dual-subtotal would
attempt to print all commodities in the row. This meant
if user chose common-currency thereby triggering additional
commodities, the dual-subtotal would attempt to add amounts
in other commodities which would be 0, and display the 0
amount. This commit will modify the the dual-subtotal strategy
to only add column where a value actually exists.
This commit is a continuation of previous TR enhancement
(multiple data columns) where I have now understood how
to disable these $0 amounts in subtotals.
From: http://i.imgur.com/sqAHsPQ.png
To: http://i.imgur.com/n0R7xeV.png
This commit will change (infobox) to a general-purpose
renderer for "all options changed by user" in options.scm
and can be inserted into any report. It reduces the
number of strings required.