Commit Graph

15855 Commits

Author SHA1 Message Date
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
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
Geert Janssens
3cd2fc5653 Bug 610202 - gnucash silently closes when no X11/$DISPLAY is present 2014-05-19 21:37:10 +02:00
Dmitry Pavlov
25d9b420c6 added context to ambigous i18n keys for scheduled transaction add/edit dialog 2014-05-19 21:02:19 +04:00
Mike Alexander
15e9bde7c3 The cash flow report should ignore splits in trading accounts. 2014-05-13 22:45:25 -04:00
Simon Arlott
dcbeba9ec3 Bug 699687 - Add a configuration option to not display "since last run" window when opening a file 2014-05-13 17:12:01 +02:00
Geert Janssens
eeb48d632f Fix regression in invoice pre-payments
It was no longer possible to enter pre-payments as of 2.6.2
2014-05-13 12:31:17 +02:00
Michalis Kamprianis
b988205382 Bug 692249 - Add Help button in Custom Reports dialog box
modified:   src/gnome-utils/gnc-ui.h
	modified:   src/report/report-gnome/dialog-custom-report.c
	modified:   src/report/report-gnome/dialog-custom-report.glade
2014-05-13 12:02:06 +02:00
Geert Janssens
2795971935 Avoid defining the same translatable string twice 2014-05-13 12:02:06 +02:00
Michalis Kamprianis
fb3d6274f5 Bug 729157 Bill Term discount days are allowed to be more than due days
Fixed function verify_term_ok to check that discount days are no more
(or later) than due days

	modified:   src/business/business-gnome/dialog-billterms.c
2014-05-13 12:01:57 +02:00
Geert Janssens
c70dde75a5 Bug 688965 - Page Up, Page Down keys cause GnuCash to hang 2014-05-09 11:38:35 +02:00
Geert Janssens
8314d960b4 Fix document type dispay for credit notes on owner report 2014-05-08 21:10:17 +02:00
Amm
825b3d3caf Better period totals formatting
This fixes formatting of period totals and makes it more informative and clear.

Also changes string "Payment, thank you" to just "Payment".
2014-05-08 20:08:31 +02:00
Mike Alexander
7f746724fe Don't nest AC_MSG_CHECKING calls, it produces confuing output. 2014-05-05 16:30:30 -04:00
Colin
cc41107269 Fix crash initialising dbi if libdbi version >= 0.9.0 2014-05-05 21:56:57 +02:00
Geert Janssens
d702c92d63 Revert "Fix crash with libdib >= 0.9.0"
This reverts commit 6695f6c660.
2014-05-05 21:55:24 +02:00
Geert Janssens
9e5d613257 Bug 729497 - Saved Report Configuration selection window resize 2014-05-05 21:42:40 +02:00
Geert Janssens
6695f6c660 Fix crash with libdib >= 0.9.0
Based on a patch provided by Colin Law
2014-05-05 17:55:30 +02:00
Mike Alexander
8c21aff5e1 Better test for conflict between optimization and FORTIFY_SOURCE 2014-05-02 18:07:43 -04:00
Geert Janssens
ca48086287 Add _FORTIFY_SOURCE directive only when compiling with optimization enabled 2014-05-02 15:55:48 +02:00
Jeff Earickson
08c59b58d9 The Dogri language in Devanagari Script. 2014-04-30 16:19:40 +02:00
Jeff Earickson
9ab3cccadf Addition of the Dogri language (doi) to LINGUAS 2014-04-30 16:19:39 +02:00
Jeff Earickson
ef5356942d Addition of the Bodo language translation file, in Devanagari script 2014-04-30 16:19:39 +02:00
Jeff Earickson
7b16320f25 Addition of the Bodo language (brx) in Devanagari Script. 2014-04-30 16:17:03 +02:00
Geert Janssens
c4bbd14587 Revert error on warning default when building from svn 2014-04-28 18:44:46 +02:00
Gary Bilkus
7c0074a1c3 Win32: Fix problem in gnc-split-reg.h caused by earlier preprocessor define of DELETE etc 2014-04-28 14:58:01 +02:00
Gary Bilkus
06e7199bda Win32: Fix configure.ac to cope with new gcc not understanding no-undefined flag 2014-04-28 14:57:38 +02:00
Mike Alexander
2c4463e77f Ignore SIGTTOU while importing Python console class.
Importing it causes this signal to be sent and if GnuCash is running
in the background it hangs.
2014-04-27 16:26:13 -04:00
Mike Alexander
4ec1f6b724 Fix code that customizes parameters for specific gcc versions
to agree with the comments.
2014-04-27 16:25:51 -04:00
Geert Janssens
fb8018b374 Additional changes to column calculations
- Add some comments to remember why this was done
- Fix one error in the code
2014-04-26 18:27:45 +02:00
Amish
65e8e3b11d calculate num-columns-required correctly
This fix, calculates num-columns-required correctly based on which columns are used/not-used/merged. Earlier code did not consider merged columns.

Effectively with this fix, when you print report, on average it saves 2-3 pages per 12-15 pages.
2014-04-26 17:54:20 +02:00
Geert Janssens
95e12216bf Fix price quotes after removal of yahoo-get-historical-quotes 2014-04-26 11:31:33 +02:00
Michalis Kamprianis
c2c72eaaa2 Minor corrections
correction in version number in NEWS history re 2.6.3 and 2.6.2
deletion of duplicate lines in src/engine/gnc-commodity.c

	modified:   NEWS
	modified:   src/engine/gnc-commodity.c
2014-04-25 16:35:44 +02:00
Moritz Lipp
540956546e Use libsecret if available
This patch provides libsecret [1] support to gnucash since gnome-keyring has
been deprecated. It will check for an installed libsecret version and will use
it in favor of gnome-keyring.

Since it is not recommended to use SECRET_SCHEMA_COMPAT_NETWORK for new uses, it
uses its own defined scheme to store the credentials. Therefore passwords that
have been stored in the network schema are migrated to the new schema by trying
to access them with the old schema and storing them again in the new one.
2014-04-24 22:10:53 +02:00
Geert Janssens
171ac3de90 Prevent older gnucash versions from opening a data file if previously unhandled kvps are used
Prior to gnucash 26.4 with kvps for address, entry, job and taxtable objects
were not handled properly (but not in use either).
This patch will prevent any older version of gnucash to open a data file if a newer
version has written any of the above kvps.

A follow up on bug 728841
2014-04-24 12:11:20 +02:00
Michalis Kamprianis
f0e42a005f Bug 728841 - XML backend does not always store KVP slots
add appropriate code for slot handling in the relevant subclasses

	modified:   src/backend/xml/gnc-address-xml-v2.c
	modified:   src/backend/xml/gnc-entry-xml-v2.c
	modified:   src/backend/xml/gnc-job-xml-v2.c
	modified:   src/backend/xml/gnc-order-xml-v2.c
	modified:   src/backend/xml/gnc-tax-table-xml-v2.c
2014-04-24 11:10:55 +02:00
Geert Janssens
25256c1ba7 Remove unused function yahoo-get-historical-quotes
This gets rid of the dependency on guile-www as well
2014-04-24 11:10:55 +02:00
Jeff Earickson
dcd0cc7720 Gnucash translation into Konkani, shown in Latin script. 2014-04-23 17:46:54 +02:00