Commit Graph

21892 Commits

Author SHA1 Message Date
Adrian Panella
adb75f791c Create a cellrenderer with flag
Add utility CellRendererTextFlag which extends the
std renderer to allow to flag a cell with a color triangle
in the top right corner.
2019-10-06 18:34:06 +02:00
Adrian Panella
4b1ac6fa13 [budget] Add 'notes' functionality to engine
Add ability to save notes on each budget value (account/period).
2019-10-06 18:34:06 +02:00
Adrian Panella
b9bc1986f3 [budget] remove unused code/variables 2019-10-06 18:34:06 +02:00
Geert Janssens
fa66f0fa7f Drop comment referring to non-existing file 2019-10-06 18:31:20 +02:00
Geert Janssens
fa997b5f8e Fix depedency issue
This surfaced on the arch travis build
2019-10-06 18:31:20 +02:00
Geert Janssens
8dc0e65e56 CI - limit error output to failed tests only
Do so by rerunning these tests in verbose mode
Obviously that's only possible if ctest had already run
which is tested by evaluating the existence of
directory /build/Testing
2019-10-06 18:31:20 +02:00
John Ralls
43a47badad Merge branch 'maint' 2019-10-05 11:44:46 -07:00
John Ralls
badda88224 Clear, not empty.
Found by gcc when setting C++17 on master.
2019-10-05 11:44:09 -07:00
Christopher Lam
eb58bca7af Merge branch 'maint' 2019-10-03 13:27:16 +08:00
Christopher Lam
315bbb5d05 [test-stress-options] reinstate test empty book
d47e49c23 had disabled testing empty book in error.
2019-10-03 13:02:08 +08:00
Christopher Lam
d47e49c230 [test-stress-options] add budget to test book
the populated book has a budget. this enables more thorough testing of
budget reports.
2019-10-03 08:23:29 +08:00
Christopher Lam
c6195d6e7a [test-budget] centralize gnc:create-budget-and-transactions
it will be reused by test-stress-options
2019-10-03 08:23:29 +08:00
Christopher Lam
f015a96833 [budget] fixcrash: fix crasher for some periods
eg. the following combo would previously crash:
- periods from next to current
- use accumulated amounts
2019-10-03 08:23:29 +08:00
Christopher Lam
5d15fd41fd [budget] fixcrash: prevent crash if periods start > end
It's silly to input start-period > end-period. Nevertheless handle it
by swapping them instead of crashing. i.e. report budget periods from
end to start.
2019-10-03 08:23:29 +08:00
Christopher Lam
34c677d70d [budget-flow] fixcrash: exchange-fn needs to specify exchange date
because some exchange-fn *do* require date eg. pricedb-nearest. use
the period end-date for the exchange date.
2019-10-03 08:23:29 +08:00
Christopher Lam
3452c33cdf [budget-income-statement] define vars in formals
and use collector arithmetic
2019-10-03 08:23:29 +08:00
Christopher Lam
1dfd7c5547 [budget-income-statement] compact functions
neater.
2019-10-03 08:23:19 +08:00
Christopher Lam
992f657cc5 [test-budget] augment to test budget-income-statement.scm 2019-10-02 22:46:23 +08:00
Christopher Lam
0c65c41b32 guile: remove support for guile < 2.0 2019-10-02 19:55:50 +08:00
Geert Janssens
c59515f7b7 Revert unintended copy-paste error 2019-10-02 12:35:25 +02:00
Geert Janssens
0eb0b922d7 Python - remove 2.x only code paths 2019-10-02 12:35:25 +02:00
Ingo Haschler
3e8c9ad807 Partly fixes bug 667490. It implements the presentation of static optical TAN challenges (photoTAN and QR) inside the enter TAN dialogue. 2019-10-01 19:27:44 +02:00
Christopher Lam
8f1c82e875 [cash-flow] use collector arithmetic 2019-10-01 20:49:00 +08:00
Geert Janssens
4ffc8bbb8e Fix new guile tests to work properly on master 2019-09-30 19:37:22 +02:00
Christopher Lam
34bb47e23f [income-statement] compact functions 2019-10-01 00:21:46 +08:00
Christopher Lam
bf202d1461 [income-statement] use collector arithmetic, define vars in formals 2019-10-01 00:21:46 +08:00
Christopher Lam
621c857b6a [income-statement] remove dead code, compact function
column and balance were unused. compact function.
2019-09-30 23:36:59 +08:00
Christopher Lam
98be5c87a4 Merge branch 'maint' 2019-09-30 22:15:08 +08:00
Christopher Lam
2684e51dbf [reports][API] gnc:make-html-table-cell/min-width
A better version of 5aa59e0ce - new API call to create a table-cell
with min-width style attribute. Can be used by balsheet-pnl as
well.
2019-09-30 16:44:13 +08:00
Christopher Lam
72dc9bd301 [budget-income-statement] remove dead code
indent & tabbing are constants, refactor them out
2019-09-30 16:07:27 +08:00
Christopher Lam
545454e347 [income-statement] remove dead code
indent and tabbing are constant, refactor them out
2019-09-30 16:07:27 +08:00
Christopher Lam
18c79a8a6a [trial-balance] remove dead code 2019-09-30 16:07:27 +08:00
Christopher Lam
b481e2ea7b [budget-balance-sheet] remove dead code
indent and tabbing are constant, refactor them out
2019-09-30 16:07:27 +08:00
Christopher Lam
e579f6af56 [balance-sheet] remove dead code 2019-09-30 16:07:27 +08:00
Christopher Lam
c21d173c06 [equity-statement] remove dead code
* 'balance' in add-report-line was defined but never used
* capital/drawing accounts are not defined. remove.
2019-09-30 16:07:27 +08:00
Christopher Lam
99b5d79a44 [equity-statement] compact and rename to add-report-line 2019-09-30 16:07:27 +08:00
Christopher Lam
fd6b102f8e [equity-statement] compact functions 2019-09-30 16:07:27 +08:00
Christopher Lam
1da86a5fe4 [equity-statement] define vars in formals instead of set! 2019-09-30 16:07:27 +08:00
Christopher Lam
187d383385 [test-equity-statement] initial commit 2019-09-30 16:07:27 +08:00
Christian Stimming
82e9b14dc5 [aqbanking] Bug 797430: Avoid double init of gui
Patch by Mike Pieper. Thanks!

Explanation for why this is necessary: The previous (old) behaviour
changed in 62f7aa66. Before this commit (or when AQBANKING6 is not
set) it calls AB_JobSepaTransfer_new. For AQBANKING6 it calls
AB_Transaction_new. AB_Transaction_new is not using gui. Therefore
gui->state stays on INIT, while before it made several status changes
(=> RUNNING, FINISHED, HIDDEN). On second call to gnc_GWEN_Gui_get it
checks the state and finds it still in INIT which seems to be wrong.

So the right fix is to either use gui in AB_Transaction_new or to
remove first allocation, which is done here.
2019-09-29 21:58:42 +02:00
Christian Stimming
bb4aa19a3d [i18n] German translation update
Total: 5330 translated, 5 fuzzy, 23 untranslated.
2019-09-29 21:45:18 +02:00
Christopher Lam
ae3bb98925 Merge branch 'maint' 2019-09-29 18:58:08 +08:00
Christopher Lam
307ca4e27d [equity-statement] compact functions and use collector arithmetic 2019-09-29 18:36:25 +08:00
Christopher Lam
5aa59e0ce1 [reports] eradicate gtkhtml hacks
string of &nbsp; was used to widen cell to a minimum of 60px. use
min-width style attribute instead.
2019-09-29 18:28:59 +08:00
Christopher Lam
607fd6ff9b [equity-statement] compact unrealized gain calculator 2019-09-29 18:28:59 +08:00
Christopher Lam
1acbc0c1ec [balance-sheet] further compact, untabify 2019-09-29 17:51:21 +08:00
Christopher Lam
90d83e076c [balance-sheet] compact functions 2019-09-29 17:15:36 +08:00
Christopher Lam
dad5961b51 [balance-sheet] define vars in formals rather than set! 2019-09-29 17:15:36 +08:00
Christopher Lam
80296a3c8a [balance-sheet] use collector arithmetic 2019-09-29 16:41:07 +08:00
Christopher Lam
d590ba79e1 Merge branch 'maint' 2019-09-29 14:15:37 +08:00