Commit Graph

15891 Commits

Author SHA1 Message Date
John Ralls
321a159af2 Fix broken test-backend-dbi with libdbi 0.9.
Segfaulted for an uninitialized dbi_instance.
2014-08-07 10:12:52 -07:00
Mike Evans
b465fef9ac Bug 734183 - Set all of the denominators correctly on the currency values. 2014-08-07 16:00:38 +01:00
Mike Evans
56af86c0a2 Bill invoice importer crashing when invoice has multiple lines.
Move the final g_free(s) outside the while loop.
2014-08-07 15:39:59 +01:00
Michalis Kamprianis
edad186789 Bug 120199 - Incorrect sort order in "Sort by Statement Date"
modified:   src/gnome/gtkbuilder/gnc-plugin-page-register.glade
2014-08-02 11:24:06 +02:00
Geert Janssens
11698f4824 Revert "Bug #622778 Miscalculation in cashflow reports - Step 01"
This reverts commit 77340591a9.
See bug 622778 and bug 722140 for more details.
2014-08-01 11:59:12 +02:00
Geert Janssens
66dd0cc7c8 Revert "Bug #622778 Miscalculation in cashflow reports - Step 02"
This reverts commit 8a95c0f0b7.
See bug 622778 and bug 722140 for more details.
2014-08-01 11:58:51 +02:00
Geert Janssens
f086c18714 Revert "Bug #622778 Miscalculation in cashflow reports - Step 03"
This reverts commit 77ff603655.
See bug 622778 and bug 722140 for more details.
2014-08-01 11:38:03 +02:00
Geert Janssens
f0abc2c014 Revert "Round properly when computing fraction of the transaction's value due to a given split."
This reverts commit d339141394.
See bug 622778 and bug 722140 for more details.
2014-08-01 11:37:20 +02:00
Geert Janssens
f34c4e0f2f Revert "The cash flow report should ignore splits in trading accounts."
This reverts commit 15e9bde7c3.
See bug 622778 and 722140 for more details.
2014-08-01 11:35:47 +02:00
Erik Johansson
13ef7eec6e Update Swedish translation
Copied from the Translation Project
2014-08-01 10:36:29 +02:00
Mike Alexander
359327e942 Bug 733107: Search for reconcile status doesn't work right. 2014-07-13 22:50:12 -04:00
Geert Janssens
2952df937c Drop packaging/win32
Windows build specifics are now handled in gnucash-on-windows repository
2014-07-01 22:16:37 +02:00
Geert Janssens
17ed25229f First unit test for gncEntry and fix first bug it revealed 2014-06-21 23:39:50 +02:00
Geert Janssens
031943c565 Fix whitespace 2014-06-21 23:19:36 +02:00
Geert Janssens
f2ffaf23ae Revert "Bug726674-BudgetReverseSignSupport"
This patch got pushed by accident before it was ready to be committed.
This reverts commit 247f086703.
2014-06-21 15:17:42 +02:00
Geert Janssens
2182746baf Bug 723442 - Report Options - Report Name too short 2014-06-10 13:40:28 +02:00
Carsten Rinke
247f086703 Bug726674-BudgetReverseSignSupport 2014-06-09 20:56:49 +02:00
Michalis Kamprianis
8e56cc88c0 Bug 719457 - Template for Home Mortgage Loan isn't properly nested.
modified:   accounts/C/acctchrt_full.gnucash-xea
	modified:   accounts/en_GB/acctchrt_full.gnucash-xea
	modified:   accounts/ja/acctchrt_homeloan.gnucash-xea
	modified:   accounts/ja/acctchrt_otherloan.gnucash-xea
	modified:   accounts/ja/acctchrt_retiremt.gnucash-xea
	modified:   accounts/ja/acctchrt_spouseretire.gnucash-xea
	modified:   accounts/ko/acctchrt_homeloan.gnucash-xea
	modified:   accounts/ko/acctchrt_otherloan.gnucash-xea
	modified:   accounts/ko/acctchrt_retiremt.gnucash-xea
	modified:   accounts/ko/acctchrt_spouseretire.gnucash-xea
	modified:   accounts/lv/acctchrt_full.gnucash-xea
	modified:   accounts/lv/acctchrt_homeloan.gnucash-xea
	modified:   accounts/lv/acctchrt_retiremt.gnucash-xea
	modified:   accounts/lv/acctchrt_spouseretire.gnucash-xea
	modified:   accounts/nl/acctchrt_full.gnucash-xea
	modified:   accounts/pl/acctchrt_full.gnucash-xea
	modified:   accounts/pl/acctchrt_homeloan.gnucash-xea
	modified:   accounts/pl/acctchrt_otherloan.gnucash-xea
	modified:   accounts/pl/acctchrt_retiremt.gnucash-xea
	modified:   accounts/pl/acctchrt_spouseretire.gnucash-xea
	modified:   accounts/ru/acctchrt_homeloan.gnucash-xea
	modified:   accounts/tr_TR/acctchrt_homeloan.gnucash-xea
	modified:   accounts/zh_CN/acctchrt_full.gnucash-xea
	modified:   accounts/zh_CN/acctchrt_homeloan.gnucash-xea
	modified:   accounts/zh_CN/acctchrt_otherloan.gnucash-xea
	modified:   accounts/zh_CN/acctchrt_retiremt.gnucash-xea
	modified:   accounts/zh_CN/acctchrt_spouseretire.gnucash-xea
2014-06-09 20:21:56 +02:00
Christoph Holtermann
2c955a4713 Some adjustments, new IPython version 2014-06-09 20:13:06 +02:00
John Ralls
2c910ed1bb Fix signed int overflow warning. 2014-06-09 08:34:20 -07:00
John Ralls
8d723f1b1e double_to_gnc_numeric: Return overflow error immediately on invalid input.
Which is either nan or outside the range that gnc_numeric supports.
Also extend the powten array to support the full range of gnc_numeric.
2014-06-08 13:48:06 -07:00
John Ralls
0fc71ed4c7 Use more significant digits for SX function returns.
gnc_sxed_check_consistent() was failing to balance mortgage payments with
large payments or small interest amounts because of rounding errors with
only 6 significant digits. Using 18 causes values < 1 to overflow, so I
compromised on 12.

Also log an error and return NULL if there's an overflow, since the value
won't be useful.
2014-06-08 13:48:06 -07:00
John Ralls
8c89c1357e 725366 - Formula Parsing Error with Scheduled Mortgage Transactions
Clamp per to nper so that the random value from gnc_sxed_check_consistent
doesn't create overflows with ridiculous values.
2014-06-08 13:48:06 -07:00
Christoph Holtermann
840feccbf7 Python bindings - no instance necessary anymore 2014-06-06 16:51:43 +02:00
Carsten Rinke
88bfbb19a0 Bug 720934 - Barcharts with many data points have overlapping x-axis labels
Use jqplot.cursor.js (enanbles zooming) and jqplot.dateAxisRenderer.js instead of jqplot.categoryAxisRenderer.js
2014-06-06 16:51:42 +02:00
Jeff Earickson
549ede1168 New/revised version of the Brazilian Portuguese translation file, For version 2.6.3. Translator: Miguel Rozsas <miguel@rozsas.eng.br> 2014-06-06 16:51:42 +02:00
John Ralls
c9c498a85c Fix broken build on 64-bit systems
Where G_GUINT64_FORMAT is %ld, so GCC complains about long long.
2014-06-05 13:15:52 -07:00
John Ralls
8ac8c70cf1 722200 - configure script does not pick the correct am_cv_scanf version
Wrap SCANF_FOO_CHECK calls with CFLAGs including -Wall -Werror so
that the tests fail to compile and %lld fails as it does during the
build.
2014-06-03 11:18:39 -07:00
John Ralls
c5de3a9c46 Fix broken win32 build; MinGW needs our strptime. 2014-06-02 17:38:49 -07:00
John Ralls
b08799314e 722200 - configure script does not pick the correct am_cv_scanf version
Different tack: Use G_GUINT64_FORMAT in guid.c instead of messing with
defining __USE_MINGW_ANSI_STDIO
2014-06-02 16:46:47 -07:00
John Ralls
33c4facfc7 Revert "722200 - configure script does not pick the correct am_cv_scanf version"
This reverts commit f9548652de.
2014-06-02 13:41:00 -07:00
John Ralls
dbd8a5638c Revert "722200 - configure script does not pick the correct am_cv_scanf version"
This reverts commit f3e76fb9df.
2014-06-02 13:40:26 -07:00
Mike Evans
620114af49 Merge branch 'maint' of https://github.com/Gnucash/gnucash into maint 2014-06-02 17:22:29 +01:00
John Ralls
f3e76fb9df 722200 - configure script does not pick the correct am_cv_scanf version
Add -Wall -Werror to CFLAGS to try to force failure.
2014-06-02 17:21:34 +01:00
Mike Evans
72911a7caa Add some date format checking and make sure generated dates are the
correct user selected format, not always locale format.
2014-06-02 17:13:32 +01:00
Mike Evans
5336a43118 Relax requirements for booleans in invoice line.
Accept 'y' as well as 'yes', 't' as well as true.
2014-06-02 13:15:09 +01:00
John Ralls
8a45ce41bc 722200 - configure script does not pick the correct am_cv_scanf version
Add -Wall -Werror to CFLAGS to try to force failure.
2014-06-01 11:39:31 -07:00
Mike Evans
7c003f23e4 Bug 730255 - Python bindings: Assigns bill entries to non-existant invoice.
Add type checking to ensure entry type matches invoice (or bill) type.
2014-06-01 13:27:07 +01:00
Mike Evans
d85725c080 Python bindings. Add function gncVendorNextID, complementary to
gncCustomerNextID.
2014-06-01 11:09:49 +01:00
John Ralls
f9548652de 722200 - configure script does not pick the correct am_cv_scanf version
On 64-bit Windows system.

Test for need of and if needed define __USE_MINGW_ANSI_STDIO
2014-05-31 09:23:16 -07:00
John Ralls
1f303f7b81 More fix-ups for the renumber subaccounts dialog.
Add more invariant checks for safety.
Suppress the '-' in the account-number format if the prefix is empty.
Set the value for the interval GtkSpinButton so that it won't be 0 on startup.
Fix the step-increment and page-increment property names in the builder file
so that they have an effect.
2014-05-27 14:19:47 -07:00
John Ralls
7daad042d0 Bug 725054 - Re-numbering sub accounts crashes the program
g_strdup_printf ("%s-%0*d", prefix, num_digits, interval) calls malloc()
with the number of required characters, which includes num_digits characters
for the numeric. If the interval is 0, log10(num_children * interval) is
log10(0), which returns NAN (not a number), which when cast to size_t is
MAXINT. That generates a malloc error, which crashes GnuCash.

So don't let the interval be 0.
2014-05-27 14:19:47 -07:00
John Ralls
75114b7c62 Bug 728717 - Ubuntu 14.04 - GNUcash crashes on close
Root cause is initializing twice with a static dbi_instance. Prevent
that.
2014-05-26 13:41:49 -07:00
Mike Alexander
f8139efad1 Always use the price we display to calculate the current value of an account. 2014-05-25 19:09:32 -04:00
Michalis Kamprianis
985fecb032 Bug 719457 - Template for Home Mortgage Loan isn't properly nested.
Several account templates containted accounts with two parents, resulting to incorrect nesting.

	modified:   accounts/C/acctchrt_homeloan.gnucash-xea
	modified:   accounts/C/acctchrt_otherloan.gnucash-xea
	modified:   accounts/C/acctchrt_retiremt.gnucash-xea
	modified:   accounts/C/acctchrt_spouseretire.gnucash-xea
	modified:   accounts/en_GB/acctchrt_homeloan.gnucash-xea
	modified:   accounts/en_GB/acctchrt_otherloan.gnucash-xea
	modified:   accounts/en_GB/acctchrt_retiremt.gnucash-xea
	modified:   accounts/en_GB/acctchrt_spouseretire.gnucash-xea
2014-05-20 23:22:51 +02:00
Frédéric Perrin
733e6e91da Bug 723145 - Currency display does not respect locale
Use the system-provided symbol for the locale currency
2014-05-20 16:18:21 +02:00
Michalis Kamprianis
1992e5fb1f Bug 728103 - Invoice opened does not contain the Job under circumstances
corrected the saving of the page, so that it mentions the Job as
the owner if there is a job, instead of the customer or the vendor.

	modified:   src/business/business-gnome/dialog-invoice.c
2014-05-20 12:47:03 +02:00
Michalis Kamprianis
e1a5889b45 Bug 509263 Since Last Run dialog won't allow resizing of Status column
Added resizable=true in the column definition

	modified:   src/gnome/dialog-sx-since-last-run.c
2014-05-20 12:30:54 +02:00
Geert Janssens
5af8d2318d Backport John's fix for a truly ancient bug 2014-05-20 10:31:12 +02:00
Geert Janssens
c742110c11 Merge branch 'scheduled_tx_i18n_prefix' of https://github.com/zeldigas/gnucash into maint 2014-05-20 10:05:29 +02:00