Christopher Lam
a29c2db468
COSMETIC: amend strings in options
...
Use more precise and concise strings in Filter options.
2017-12-30 08:23:23 +11:00
Geert Janssens
bab266c307
Update POTEFILES.in
2017-12-29 16:49:30 +01:00
Geert Janssens
6774f1223f
Fix a few compile warnings-turned-errors
2017-12-29 16:49:11 +01:00
Geert Janssens
3f44552e36
Merge branch 'prices-in' of https://github.com/Bob-IT/gnucash into unstable
2017-12-29 16:29:46 +01:00
Robert Fewell
965685cc7f
Bug 616709 - Stop the delete button on the Account page
...
When editing editable text fields on the Account page, if you press the
delete key a 'delete account popup' would pop so these changes prevent
that by disabling / enabling the delete key binding.
2017-12-29 12:35:18 +00:00
Robert Fewell
bd9af4aed0
Set focus for invoice pages
...
If the sheet is read only then set the focus on the notes field else
set it to the sheet.
2017-12-29 11:26:32 +00:00
Robert Fewell
4ccc965e09
Add function to get whether sheet is read only
2017-12-29 11:26:32 +00:00
Robert Fewell
34c9ba0549
Make sure the tree view is the focus on an owner page
2017-12-29 11:26:32 +00:00
Robert Fewell
18fff9635f
Replace tabs with spaces for budget files
2017-12-29 11:26:32 +00:00
Robert Fewell
437a375692
ake sure the Account tree view has focus when budgets open
2017-12-29 11:26:32 +00:00
Robert Fewell
45a52a5d5e
Change tabs to spaces in gnc-html-webkit2.c
2017-12-29 11:26:32 +00:00
Robert Fewell
9191df2f58
Make sure the webkit widget has focus on report load
2017-12-29 11:26:32 +00:00
Robert Fewell
2f2d1b68ba
Replace tabs with spaces in a couple of source files
2017-12-29 11:26:32 +00:00
Robert Fewell
f00f7335b7
Make sure the sx tree view has focus on page load
2017-12-29 11:26:32 +00:00
Robert Fewell
13d5570b47
Make sure the sheet has focus in a register when opened
2017-12-29 11:26:32 +00:00
Robert Fewell
660ab62df9
Prevent the tab being the focus
2017-12-29 11:26:32 +00:00
Robert Fewell
2314a322d4
Make sure the tree view has focus on Account tree page load
2017-12-29 11:26:32 +00:00
John Ralls
26b82b56e0
Fix Travis 'dangling else' warning.
2017-12-27 06:32:54 -08:00
John Ralls
8ae330c804
Another attempt to make Travis's g++ happy about compiler warnings.
2017-12-26 21:38:59 -08:00
John Ralls
44fc5b0555
Fix CXX Flags for g++.
2017-12-26 18:23:09 -08:00
John Ralls
bbd2df6a3b
Bug 791848 - GC 2.6.x does not handle ISO dates introduced with GC 2.7.
...
Set a feature to prevent versions older that 2.6.20 from loading a
database from which they cannot read the dates. Ideally we would do this
only if the database is written to, but the current persistence design
includes committing back to the database during the load so the net
effect is that the flag would be set anyway.
2017-12-26 15:18:43 -08:00
John Ralls
91727525b9
Enforce -Werror on C++ files and fix resulting errors.
2017-12-26 15:18:43 -08:00
John Ralls
a6a46d7cdc
Test struct tm* returns from gnc_gmtime and gnc_localtime
...
To ensure that we don't crash for dereffing a nullptr.
2017-12-26 15:10:05 -08:00
John Ralls
82f1384c58
Fix autotools test setup for test-date-utilities.
2017-12-23 17:31:18 -08:00
John Ralls
40654cf50c
Fix picky gcc-7.2 complaint about a %d conversion not fitting in 3 bytes.
2017-12-23 17:17:48 -08:00
John Ralls
44c51f433b
Bug 791848 - GC 2.6.x does not handle ISO dates introduced with GC 2.7
...
Enable reading ISO-formatted dates, recognize GNC_FEATURE_SQLITE3_ISO_DATES.
2017-12-23 16:42:43 -08:00
John Ralls
a17bc85a02
Enable reading undelimited YYYYMMDDHHMMSS time strings.
...
For backwards compatibility with 2.4 and 2.6 SQLite3 databases.
2017-12-23 15:40:21 -08:00
Christopher Lam
aeb62724e5
REFACTOR: gnc-numeric not available in scheme anymore
2017-12-24 04:40:22 +08:00
Christopher Lam
e6dcc0cc1e
ENH: Optionally hide transactions
...
This will hide the subheadings and the transactional data, only rendering the subtotals.
May be useful e.g. for daily income and daily expense reports.
2017-12-24 00:13:39 +08:00
Christopher Lam
93b17214f3
ENH: Add 'daily subtotal strategy
...
This may be useful for 'total daily report'. e.g. total expenses per day. Perhaps more useful combined with 'hide transactional data' as the next commit.
2017-12-24 00:13:39 +08:00
Christopher Lam
1ea1bcb38e
ENH: Formalise Reconciliation Report as a new menu item.
...
This commit offers a new item with defaults appropriate for a reconcilation report.
2017-12-24 00:13:39 +08:00
Christopher Lam
7a5f2ed49b
ENH: Add indenting for main data and subheadings/subtotals
...
Adds between 0-2 empty columns to the left, depending on subtotal strategy.
Option toggle added to Sorting tab
2017-12-24 00:13:39 +08:00
Christopher Lam
408f609a58
ENH: Add sortkey Reconciled Status
...
Can be useful for reconcilation report.
2017-12-24 00:13:39 +08:00
Christopher Lam
3de3d3cc9a
ENH: Add debit/credit friendly names in subheading rendering
...
Also add UI to toggle friendly headers
2017-12-24 00:13:39 +08:00
Christopher Lam
139e2aa7f2
ENH: Add option to choose infobox display summary
...
Options are: always/never display, or display if no splits are matched or found
2017-12-24 00:13:39 +08:00
Christopher Lam
f2df1bd49c
COSMETIC: if grand-totals=#f then omit <hr>
...
I think <hr> and grand-total belong together because they share
the same style.
2017-12-24 00:13:39 +08:00
Christopher Lam
a81c348310
REFACTOR: remove 'renderer-key lookup symbol, simplify custom sorter
2017-12-24 00:13:39 +08:00
Christopher Lam
39dceb5534
REFACTOR: simplify num/t-num display code
2017-12-24 00:13:39 +08:00
Christopher Lam
005fdb5f43
REFACTOR: centralize left-cols to a vector-list
2017-12-24 00:13:39 +08:00
Christopher Lam
7b6ac3a077
ENH: if no Display/* selected, insert empty left-column
...
Previously, if user selected NO split header (eg Date
Description Memo etc) the report would display the data
columns, which means the subtotal would cause misalignment.
This commit ensures the columns are aligned when user
selects no split information. At least 1 left-column is
required to allow for subtotal headers and summaries within
the table.
2017-12-24 00:13:39 +08:00
Christopher Lam
230493f294
REFACTOR: simplify render-summary
...
it's the sole user of renderer-keys. access from *-get-info directly.
2017-12-24 00:13:39 +08:00
Christopher Lam
1ce2f3f6d8
REFACTOR: simplify do-rows-with-subtotals
2017-12-24 00:13:39 +08:00
Christopher Lam
7257675218
REFACTOR:bisect subtotal-get-info into primary/secondary
2017-12-24 00:13:39 +08:00
Christopher Lam
e2912d1b9c
REFACTOR: start refactor subtotal
2017-12-24 00:13:39 +08:00
Christopher Lam
00b2e76d35
BUGFIX: Reverse sign on display only
2017-12-24 00:13:39 +08:00
Christopher Lam
0854caba95
BUGFIX: Fix incorrect N_ and _ handling
2017-12-24 00:13:39 +08:00
Christopher Lam
c26af85e82
ENH: Upgrade Sign Reversal to use global preference by default
2017-12-24 00:13:39 +08:00
Christopher Lam
e8dc5c545d
REFACTOR: move calculated-cells to allow access from add-subtotal-row
...
This will negate the need to zip calculated cells to call add-subtotal-row.
Note git-diff seems to think lots of functions were moved - it's calculated-cells
that's been moved by a few lines so that it is accessible to add-subtotal-row.
Also rename a few keywords to better describe their use.
2017-12-24 00:13:39 +08:00
Christopher Lam
6f87138bce
ENH: 'original currency amt' now shows dual columns
2017-12-24 00:13:39 +08:00
Christopher Lam
2e06c8fc33
REFACTOR+ENH:Add common-currency mnemonic to header if enabled
...
This requires refactoring calculated cells to centralize
the headers and enable their modification.
2017-12-24 00:13:39 +08:00