Christopher Lam
d0f50b5228
[html-style-sheet] combine 2 similar functions
2020-07-12 13:10:16 +08:00
Christopher Lam
ab7e213c30
[html-style-sheet] use srfi-9 records for <html-style-sheet-template> and <html-style-sheet>
2020-07-12 13:10:16 +08:00
Christopher Lam
7dfbc436b9
[html-style-info] use srfi-9 records for <html-style-table>
2020-07-12 13:10:16 +08:00
John Ralls
86f7e33291
Bug 797827 - 4.0.1 gnucash-cli seg faults on macOS Catalina
...
The string references in Gnucash::run_report's run_report_args were
getting corrupted so either a NULL or invalid filename was passed on
to the backend. Forcing a copy into run_report_args protects the
values and allows the report to run.
2020-07-11 17:03:54 -07:00
John Ralls
6ec36dd02b
Bug 797831 - Printer not found
...
Tell Gtk the root prefix to search for loadable modules.
Also tell GIO to silence a warning.
2020-07-11 13:17:31 -07:00
John Ralls
35a64ffaf8
Let override AppleLanguages on Macs.
2020-07-11 09:31:44 -07:00
Christopher Lam
c87870f9d0
[html-style-info] use srfi-9 records for <html-data-style-info>
2020-07-12 00:13:12 +08:00
Christopher Lam
b69d3fe38a
[html-style-info] use srfi-9 records for <html-markup-style-info>
2020-07-12 00:12:59 +08:00
Christopher Lam
a6ac9b748c
[html-document] use srfi-9 records for <html-object>
2020-07-11 23:55:03 +08:00
Christopher Lam
738c04fe26
[html-document] use srfi-9 records for <html-document>
2020-07-11 23:55:03 +08:00
Christopher Lam
c65d0ef1c3
[html-chart] use srfi-9 records for <html-chart>
2020-07-11 23:55:03 +08:00
Christopher Lam
309539b80e
[report-core] use srfi-9 records for <report>
2020-07-11 22:43:08 +08:00
Christopher Lam
916bdc2a02
[report-core] use srfi-9 records for <report-template>
2020-07-11 22:32:12 +08:00
Christopher Lam
90c8a1e3c2
[balsheet-eg] remove unused functions
2020-07-11 19:26:34 +08:00
Christopher Lam
76fdbfc5fc
[balsheet-eg] modernize accrec to use srfi-9 record
2020-07-11 19:26:34 +08:00
Christopher Lam
66c7a0744c
[eguile reports] eradicate pythonic for loops, use for-each instead
...
this syntax is pythonic rather than lispy, is not recognized by code
highlighters, and is not necessary to seasoned schemers.
2020-07-11 18:18:59 +08:00
Christopher Lam
17727a7b77
Bug 797840 - Regression: Invoices printed to PDF generate an extra blank page
...
height was set as 100vh to ensure charts would fill the viewport. this
causes extra blank page in PDF exports. modify css to unset height for
@media print.
2020-07-11 13:02:22 +08:00
Christopher Lam
58a08a0125
typo fix edd7efd95
book->!book bail out
2020-07-11 12:48:46 +08:00
Frank H. Ellenberger
ae04d6715c
Merge PR #752 into maint
2020-07-11 02:40:06 +02:00
John Ralls
edd7efd951
Bug 797853 - Crash on 'Save As' in MacOS Mojave and Gnucash 4
...
Check and handle null books throughout GnuCash. Tests are left alone
because they should fail if there's no book.
2020-07-10 15:54:17 -07:00
Frank H. Ellenberger
1f95d3a711
Merge PR #751 into maint
2020-07-11 00:28:46 +02:00
Giuseppe Foti
c1ac144bc4
L10N 🇮🇹 5551 messaggi tradotti.
2020-07-10 23:42:30 +02:00
John Ralls
c04806f88e
Bug 797843 - Quickfill broken with Cyrillic input language
...
gnc_table_modify_update needs new_text_len in bytes rather than
characters.
2020-07-10 14:22:57 -07:00
milotype
b76f256318
Croatian correction of 3 errors
2020-07-10 23:19:47 +02:00
milotype
62b997425f
Updated Croatian (hr) translation
...
Updated Croatian (hr) translation with "gnucash-4.0.pot" file from http://translationproject.org/domain/gnucash.html
2020-07-10 18:03:19 +02:00
Christopher Lam
ebb462d06d
[account.cpp] prevent crash in gnc_account_get_currency_or_parent
...
if the *account argument is NULL, it is not reasonable to have a
g_assert crash. Passing NULL account returns NULL commodity instead.
2020-07-09 22:19:29 +08:00
Christopher Lam
a59d91a94b
CMakeLists: mark deprecation of .scm files
2020-07-09 21:20:13 +08:00
Christopher Lam
ea56ceddfa
[lot-viewer] lot accumulator uses hashtable avoiding O(N^2)
...
IIUC hash-table makes it O(NlogN)
2020-07-08 15:06:15 +08:00
John Ralls
09e523c087
Merge branch 'maint'
2020-07-07 14:41:26 -07:00
Christopher Lam
029653e388
[eguile-utilities] fmtnumeric displays decimal instead of fraction
...
previously fmtnumeric would convert gnc_numeric to double. simplifying
the code had omitted this conversion, and exact fractions were
rendered. ensure decimal is rendered.
2020-07-07 13:36:54 -07:00
John Ralls
0e0c27f80f
Bug 797850 - Account register credit/debit column headings untranslated
...
Plus make the former globals static.
2020-07-07 12:33:38 -07:00
John Ralls
1935cdc681
Add python/deprecation.py to POTFILES.
2020-07-07 12:33:29 -07:00
John Ralls
b0b238958e
Merge Christoph Holtermann's 'python-sessionOpenMode' into master.
2020-07-06 12:45:07 -07:00
John Ralls
4ee573e23a
Link with libm.so on those platforms that require it.
2020-07-06 12:30:37 -07:00
John Ralls
43749a9495
Merge Jean Laroche's 'bug_797825_ofx_invest_crash' onto master.
2020-07-05 11:21:34 -07:00
Frank H. Ellenberger
5bf009a9b5
I18N: update LINGUAS
...
TP has no longer an az team, all NEW_LINGUAS were reported.
2020-07-05 19:34:01 +02:00
c-holtermann
22f91c407e
use same order in comment as in definition of SessionOpenMode enum
2020-07-04 22:26:35 +02:00
c-holtermann
40cfb70fb7
fix SessionOpenMode explanation for SESSION_NORMAL_OPEN
2020-07-04 22:22:16 +02:00
c-holtermann
e23bf0bc1c
fix SessionOpenMode explanation for SESSION_NEW_OVERWRITE
2020-07-04 22:16:13 +02:00
Christopher Lam
1acd2beacb
[account-piecharts] round account->balance to report-currency SCU
2020-07-04 21:11:43 +08:00
Christopher Lam
207616ab13
Merge branch 'master-no-coll-rounding' #740
2020-07-04 13:09:24 +08:00
YOSHINO Yoshihito
95b552fa50
L12N:ja: Update from translation project
...
4861 translated messages, 373 fuzzy translations, 317 untranslated
messages.
2020-07-03 02:46:00 +02:00
Christopher Lam
602161ff83
Merge branch 'master-797828'
2020-07-02 08:19:33 +08:00
jean
79fdcf2f71
Remove created commodities code as it does nothing
2020-07-01 12:33:54 -07:00
Christopher Lam
cf5aa925f9
Bug 797828 - Budget Barchart was not upgraded
...
* upgrade to html-chart
* use period start/end instead of date start/end
2020-07-01 21:14:19 +08:00
Christopher Lam
948a9a293c
Bug 797835 - Zero Crossing in 4.0 that wasn't in 3.10
2020-07-01 19:44:11 +08:00
Christopher Lam
24add7b1f3
[balsheet-pnl] remove monetary-less
2020-06-30 23:09:19 +08:00
Christopher Lam
7d02897dd2
Bug 797830 - Expense over time has extra empty row
...
This is a *subtle* bug.
1. dates-list is the list of report-dates at periodic intervals
2. if an interval report (i.e. inc/exp) is chosen, we want to omit the
last one, because the report analyses changes in value between
adjacent dates.
3. dates-list was appropriately redefined to be 1 element shorter than
the original dates-list.
4. date-string-list (for display labels) was meant to pick up the
shorter dates-list, formatted via qof-print-date.
Unfortunately the let statement had defined both dates-list and
date-string-list at the same time, therefore date-string-list did not
pick up the redefined dates-list. Using let* instead means it uses the
shorter dates-list, and omits the last element as intended for display.
2020-06-30 21:51:34 +08:00
Christopher Lam
fdc2238192
[budget-barchart] reindent/delete-trailing-whitespace/untabify
2020-06-30 17:51:08 +08:00
Christopher Lam
2610b5f57f
[advanced-portfolio] fix report warnings flags
...
the flags warn-no-price and warn-price-dirty are report-specific
warnings to flag price difficulties. these warnings must now be
recorded in table-add-stock-rows because they are not accessible
globally.
2020-06-29 21:09:33 +08:00