Commit Graph

20544 Commits

Author SHA1 Message Date
Frank H. Ellenberger
ea978e288f Update my and Charles Days status 2018-11-06 08:18:22 +01:00
Geert Janssens
67174dd0b1 Prevent temporary editor files from being picked up for POTFILES.in generation
Aparently cmake's file glob also picks up hidden files and doesn't have
an easy way to avoid that.
2018-11-04 13:07:36 +01:00
Geert Janssens
2283df719a Drop code to work around gtk bug 326200 (bugzilla)
This bug has been fixed in 2006 and I have verified the version of gtk we
currently depend on carries this fix.
2018-11-04 12:45:53 +01:00
Frank H. Ellenberger
0467dd0b92 Fix several URLs in documentation parts
We have no longer svn, but 2 doxygen branches.
I don't remember, when Mailman moved from www to lists.
2018-11-03 10:15:19 +01:00
Frank H. Ellenberger
744101153d Replace a few hardcoded URLs by CMake vars
Additional fix a bug URL
2018-11-03 10:08:09 +01:00
Frank H. Ellenberger
51b96ec3e5 Update package URLS
We don't want bug mails to devel.
(missed port from autotools)
2018-11-03 05:39:02 +01:00
Frank H. Ellenberger
38abaf305a Add a translator comment about invoice title format 2018-11-02 23:16:52 +01:00
John Ralls
4b5ee84575 Work around strange struct tm initializer failure. 2018-11-02 13:44:09 -07:00
John Ralls
1c6fca9fca Remove emacs artifact from POTFILES.in. 2018-11-02 11:27:41 -07:00
John Ralls
0e723610f0 Bug 795080 - Some dates reset to 01/01/1970
The first fix for this bug handled structs tm with ambiguous times.
This one fixes the GncDate constructor when the time is ambiguous
because it's in the DST-change hour, using the same add 3 hours,
construct the LDT, and subtract the 3 hours from the result.

The string constructor handles only simple-offset HH:MM timezones and so
is immune to the bug.
2018-11-02 10:45:40 -07:00
Frank H. Ellenberger
19b3643abf PR #431: Update iso-4217-currencies.xml
add VES - Bolivar Soberano, minor updates of other VE currencies.

Merge branch 'patch-1' of https://github.com/rcalpha/gnucash into maint
2018-11-02 02:02:00 +01:00
Frank H. Ellenberger
204d6864c0 merge current messages in fr.po
3961 translated messages, 892 fuzzy translations, 390 untranslated
messages.
2018-11-02 01:20:21 +01:00
Frank H. Ellenberger
8625fe6500 Minor fixes of PR #429
Fix Language and Plural-Forms tags
2018-11-01 20:51:13 +01:00
Frank H. Ellenberger
f350c4ad58 PR #429: French translation update
Merge branch 'maint' of https://github.com/YBSLE/gnucash into maint
2018-11-01 20:31:30 +01:00
Ruben Cheng
36e430c8ba
Update iso-4217-currencies.xml
*) Fix VEB and VEF local-symbol
*) Add new currency for Venezuela (VES - Bolivar Soberano) since August 20th 2018
This is related to Bug 796927
2018-10-31 23:23:02 -04:00
David Thomas
c63cc0b5a0 2 new "Tips of the Day"
https://lists.gnucash.org/pipermail/gnucash-user/2018-October/080525.html
2018-11-01 01:50:21 +01:00
Frank H. Ellenberger
046b4e61a1 Add mailinglist address to translator-credits 2018-10-31 00:08:34 +01:00
John Ralls
5e426aa935 gcc-4.8 seems to dislike a space between # and cmakedefine. 2018-10-29 15:35:35 -07:00
John Ralls
f93310426d Fix WORDS_BIGENDIAN setting in config.h. 2018-10-29 14:28:47 -07:00
John Ralls
263c5a40ea Merge Chris Lam's 'maint-scheme-progress' into maint. 2018-10-29 13:06:25 -07:00
John Ralls
105ea8e952 Merge Chris Lam's 'maint-category-barchart' into maint. 2018-10-29 12:15:41 -07:00
John Ralls
f6fb1101bd Add bcrypt.lib to engine build flags on Windows < 10.
Seems not to be required on Win10.
2018-10-29 11:27:16 -07:00
John Ralls
917aadf950 Bug 796875 - Unable to use arrow keys to advance past...
pre-filled text in register, and
Bug 796883 - Register is misinterpreting CTRL ALT keys
This also reverts commit bfa6cd52e8.
2018-10-28 21:14:47 -07:00
Christopher Lam
cef574affe [category-barchart] remove old expensive function 2018-10-29 09:12:55 +08:00
Christopher Lam
af5fb0dde5 [category-barchart] remove datelist->stringlist 2018-10-29 09:12:55 +08:00
Christopher Lam
de343aac3d [category-barchart] optimize (account->balance-list)
1. Modify dates-list definition
  instead of either (list date0 date1 date) or
  (list (list start0 end0 '())
        (list start1 end1 '()) ...)
  it now is a list-of-dates (list date0 date1 date2)

2. Pre-generate account-balances using dates-list.
   account-balances-alist is an alist-of-balances

3. Use the pre-generated account-balance-alist instead of
   calling (get-balance) to obtain balances. This
   bypasses (get-balance) which calls a very expensive query-based
   functions for every *account* and *date-interval*
2018-10-29 09:12:50 +08:00
Christopher Lam
d8b8c197bc [category-barchart] use (or-map) in (not-all-zeros) 2018-10-29 09:11:54 +08:00
Christopher Lam
9a179f8293 [category-barchart] remove monetary->double
doubles are not necessary for charts.
2018-10-29 09:11:43 +08:00
Christopher Lam
4091ea8ea9 [category-barchart] rewrite monetary+ using commodity collector
This is neater. Split into 2 functions, both of which are useful

(monetaries-add . monetaries)
add different gnc-monetary objects into a gnc-commodity-collector

(monetaries+ . monetaries)
special case for above whereby all monetaries are expected to be in
one currency only -- convert gnc-commodity-collector to monetary
2018-10-29 09:07:46 +08:00
Christopher Lam
d318fff9a5 [category-barchart] remove old gnc-numeric methods 2018-10-29 09:03:43 +08:00
Christopher Lam
952ac9c7f4 [category-barchart] compact functions 2018-10-29 09:03:43 +08:00
Christopher Lam
f27ea2d4bc [category-barchart] *reindent/untabify/delete-trailing-whitespace* 2018-10-29 09:03:43 +08:00
Christopher Lam
6c59cd15cd [category-barchart] Deoptimize category-barchart
This aims to partially undo commit 8aed5c3f66, and removes dependency
unto collectors and report-collectors.
2018-10-29 09:03:43 +08:00
Christopher Lam
c13f076a33 [report-utilities] modify gnc-account-get-balances-at-dates
instead of returning a list of numbers e.g. (list 200 400 600), return
a list of gnc-monetary objects (list $200 $400 $600) to be more
meaningful.
2018-10-29 09:03:43 +08:00
Christopher Lam
1444a58c0e [report-utilities] upgrade (gnc:account-get-balances-at-dates)
(gnc:account-get-balances-at-dates) is upgraded to
report-utilities. this function is slightly different to its
single-account counterpart because it does not retrieve subaccount
amounts.
2018-10-29 09:03:43 +08:00
Christopher Lam
c94db1ac34 [report-utilities] deprecate flawed function.
I think this (gnc:account-get-balance-at-date) is flawed in sub-acct handling.
Consider account structure:
Assets [USD] - bal=$0
   Bank [USD] - bal=$100
   Broker [USD] - bal=$200
      Cash [USD] - bal=$800
      Funds [FUND] - bal=3 FUND @ $1000 each = $3000
- Calling (gnc:account-get-balance-at-date BANK TODAY #f) returns 100
- Calling (gnc:account-get-balance-at-date BROKER TODAY #f) returns 200
- Calling (gnc:account-get-balance-at-date BROKER TODAY #t) returns 1000
  this is because although it counts all subaccounts bal $200 + $800 + 3FUND,
  it retrieves the parent account commodity USD $1000 only.
It needs to be deprecated.
2018-10-29 09:03:25 +08:00
John Ralls
ab1070ebca Adjust no-register CXXFlag.
To account for different flag on some versions of Clang.
2018-10-28 13:23:38 -07:00
Christopher Lam
b59e209618 [test-extras] gnc-pricedb-create skips if commodity = currency 2018-10-28 09:09:03 +08:00
Christopher Lam
d0bbb5a2a8 [report-utilities] deprecate gnc:account-get-balance-at-date.
I think (gnc:account-get-balance-at-date) is flawed. It is actually
unused, so, it should be safe to remove. It needs to be deprecated.
Reports use xaccAccountGetBalanceAsOfDate instead, which does not
retrieve sub-acct balances.

I think this (gnc:account-get-balance-at-date) is flawed in sub-acct handling.
Consider account structure:
Assets [USD] - bal=$0
   Bank [USD] - bal=$100
   Broker [USD] - bal=$200
      Cash [USD] - bal=$800
      Funds [FUND] - bal=3 FUND @ $1000 each = $3000

- Calling (gnc:account-get-balance-at-date BANK TODAY #f) returns 100
- Calling (gnc:account-get-balance-at-date BROKER TODAY #f) returns 200
- Calling (gnc:account-get-balance-at-date BROKER TODAY #t) returns 1000
  this is because although it counts all subaccounts bal $200 + $800 + 3FUND,
  it retrieves the parent account commodity USD $1000 only.
2018-10-28 09:09:03 +08:00
Christopher Lam
0fc84ddbcb Bug 796914 - Customer Summary is giving error
Bugfix. div/0 was not producing an error previously. This is probably
caused by changes to gnc_numeric_div.
2018-10-28 09:09:03 +08:00
Christopher Lam
a603ea3380 [invoice] bugfix img url must have file:/// prefix 2018-10-28 09:09:03 +08:00
Christopher Lam
a832600182 [test-transaction] test for display/enable links? feature 2018-10-28 09:09:03 +08:00
Christopher Lam
f1e8de6886 [transaction] add option Display/Enable links to toggle hyperlinks
This option is often requested.
2018-10-28 09:09:03 +08:00
yo
3d9628746e French translation update 2018-10-26 17:18:22 +02:00
yo
541e5ff117 French translation update 2018-10-25 14:05:51 +02:00
Frank H. Ellenberger
dddc278851 Bug 775580 - Inaccurate information provided for "Common Accounts" ...
when using "New Account Hierarchy Setup"

Suggestion by Dr. David Kirkby
applied to all english and german common templates
2018-10-23 00:00:32 +02:00
John Ralls
45097001aa Uncomment the deb-src urls in /etc/apt/sources.list in the Ubuntu docker. 2018-10-19 10:58:29 -07:00
John Ralls
15cd3596a9 Fix docker command from previous. 2018-10-19 10:29:57 -07:00
John Ralls
24cf5a206b Cat the ubuntu sources.list to see why apt-get is failing. 2018-10-19 09:52:54 -07:00
Frank H. Ellenberger
b80e5d04c6 Fix translation of button labels
reported as section 2 of
https://lists.gnucash.org/pipermail/gnucash-de/2018-October/010480.html
2018-10-18 22:52:03 +02:00