Christopher Lam
c6195d6e7a
[test-budget] centralize gnc:create-budget-and-transactions
...
it will be reused by test-stress-options
7 years ago
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
7 years ago
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.
7 years ago
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.
7 years ago
Christopher Lam
3452c33cdf
[budget-income-statement] define vars in formals
...
and use collector arithmetic
7 years ago
Christopher Lam
1dfd7c5547
[budget-income-statement] compact functions
...
neater.
7 years ago
Christopher Lam
992f657cc5
[test-budget] augment to test budget-income-statement.scm
7 years ago
Christopher Lam
8f1c82e875
[cash-flow] use collector arithmetic
7 years ago
Christopher Lam
34bb47e23f
[income-statement] compact functions
7 years ago
Christopher Lam
bf202d1461
[income-statement] use collector arithmetic, define vars in formals
7 years ago
Christopher Lam
621c857b6a
[income-statement] remove dead code, compact function
...
column and balance were unused. compact function.
7 years ago
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.
7 years ago
Christopher Lam
72dc9bd301
[budget-income-statement] remove dead code
...
indent & tabbing are constants, refactor them out
7 years ago
Christopher Lam
545454e347
[income-statement] remove dead code
...
indent and tabbing are constant, refactor them out
7 years ago
Christopher Lam
18c79a8a6a
[trial-balance] remove dead code
7 years ago
Christopher Lam
b481e2ea7b
[budget-balance-sheet] remove dead code
...
indent and tabbing are constant, refactor them out
7 years ago
Christopher Lam
e579f6af56
[balance-sheet] remove dead code
7 years ago
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.
7 years ago
Christopher Lam
99b5d79a44
[equity-statement] compact and rename to add-report-line
7 years ago
Christopher Lam
fd6b102f8e
[equity-statement] compact functions
7 years ago
Christopher Lam
1da86a5fe4
[equity-statement] define vars in formals instead of set!
7 years ago
Christopher Lam
187d383385
[test-equity-statement] initial commit
7 years ago
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.
7 years ago
Christian Stimming
bb4aa19a3d
[i18n] German translation update
...
Total: 5330 translated, 5 fuzzy, 23 untranslated.
7 years ago
Christopher Lam
307ca4e27d
[equity-statement] compact functions and use collector arithmetic
7 years ago
Christopher Lam
5aa59e0ce1
[reports] eradicate gtkhtml hacks
...
string of was used to widen cell to a minimum of 60px. use
min-width style attribute instead.
7 years ago
Christopher Lam
607fd6ff9b
[equity-statement] compact unrealized gain calculator
7 years ago
Christopher Lam
1acbc0c1ec
[balance-sheet] further compact, untabify
7 years ago
Christopher Lam
90d83e076c
[balance-sheet] compact functions
7 years ago
Christopher Lam
dad5961b51
[balance-sheet] define vars in formals rather than set!
7 years ago
Christopher Lam
80296a3c8a
[balance-sheet] use collector arithmetic
7 years ago
Christopher Lam
aae1143e34
[budget-income-statement] compact functions
7 years ago
Christopher Lam
08b1ee3711
[budget-balance-sheet] remove dead code, use collector arithmetic
7 years ago
Robert Fewell
1be9bfbf01
Bug 797397 - Import Map Editor, Ctrl-A with filter
...
If you use a filter and then use Ctrl-A to select all rows for deletion
all entries are deleted. This is due to the use of a tree store and the
Ctrl-A selecting the parent rows also.
To fix this a tree view 'select' function is used that does not allow
the parent rows to be selected with a filter.
7 years ago
Frank H. Ellenberger
ca01ce1700
Add a translator comment in csv price import
7 years ago
Frank H. Ellenberger
8fbf4cd0ec
merge recent gnucash.pot into hr.po
...
5354 translated messages, 3 fuzzy translations.
7 years ago
milotype
d28ed1f7e3
Update hr.po file with 3.7 pot-file
...
update and some corrections
7 years ago
Christopher Lam
22cdd237f1
[test-portfolios] initial commit
...
1.1.1980 seed $10,000
1.2.1980 buy 1 AAPL @ $100
1.3.1980 buy 1 AAPL @ $200
1.5.1980 sell 1 AAPL @ $400, FIFO capgain = $300, less $10 fee
1.10.1980 1:10 stock split 1 to 10 AAPL, price now $40
1.11.1980 1:10 stock split 10 to 100 AAPL, price now $4
1.12.1980 3:1 stock split 100 to 33 AAPL, price now $12;
cash-in-lieu for 1/3 AAPL = $4
tests both portfolio.scm and advanced-portfolio.csm
tests report output using average/fifo/lifo
pending: DRP etc
7 years ago
Christopher Lam
298724dd93
[portfolio] there's no report-currency. use currency.
7 years ago
Robert Fewell
ee260d8e3a
Bug 797416 - Enter key does not move to blank tx or next line
...
Caused by a previous commit that did not allow for just pressing the
enter key without changes to move to the next transaction. This was
part of a change to stop being asked to create a new account many times
when the transfer cell had been changed and declining it. To fix this
when gnc_split_reg_record returns false, test for the current cursor
changed flag being not set to proceed to do the move.
7 years ago
Christopher Lam
9832fa397a
[window-report] show backtrace when report crashes
...
* exposes a SCM string last-captured-error containing last backtrace
* when rendering report-crash window, include it
7 years ago
Christopher Lam
a259ba4a3e
[utilities] move gnc:html-string-sanitize to utilities.scm
7 years ago
Christopher Lam
1a6314e108
[account-summary] tag col headers properly to fix formatting
...
With this commit the col headers are now properly formatted. Change
tests because the tag is now th instead of td therefore sxml (looking
for td) can't find them anymore.
7 years ago
Christopher Lam
3a24468155
[account-summary] cleanup
...
* shorten identifier names
* compact functions
* use eq? as appropriate instead of equal? when comparing symbols
* omit splitting up and recombining accounts
* minimise use of set! and define vars in let* formals
* instead of (if pred? (begin ...)) use (when pred? ...)
* use efficient gnc:accounts-and-all-descendants
7 years ago
Christopher Lam
67fa04adbd
[account-summary] *reindent/untabify/delete-trailing-whitespace*
7 years ago
Christopher Lam
594822f043
[account-summary] merge in sx-summary.scm
...
* remove sx-summary.scm and merge into account-summary.scm
* modify test-account.scm
7 years ago
Christopher Lam
cda11dbd6f
[test-account-summary] initial commit
7 years ago
Christopher Lam
24393b6f5c
[utilities] fix comment use official gnu mail archive
7 years ago
Christopher Lam
496ca94a98
[reports] use new API gnc:collector+ and gnc:collector-
7 years ago
Christopher Lam
f72df3e1bc
[report-utilities] gnc:account-get-balances-at-dates: use quicksort
...
stable-sort! is slower than quicksort.
7 years ago