Commit Graph

16253 Commits

Author SHA1 Message Date
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
Christoph Holtermann
3fc6239539 Some adjustments, new IPython version 2014-05-29 23:59:40 +02:00
Christoph Holtermann
ec98be5b90 no instance necessary anymore 2014-05-29 23:44:36 +02: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
81fb773856 Merge branch 'maint' 2014-05-25 19:10:03 -04: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
Geert Janssens
cac3b5c215 Rename xaccAccountGetNrSplits to xaccAccountCountSplits for api consistency 2014-05-20 16:21:09 +02:00
Michalis Kamprianis
e76ba2a0f0 Bug 541541 - RFE: auto-hide unused accounts
Add a checkbox on Filter by -> Others to show (default)
or hide accounts that don't have any transactions.
If an account does not have any transactions, but it's children do
it will still be shown (unlike the zero total amount).
2014-05-20 16:21:08 +02:00
Geert Janssens
1a967e46db Merge branch 'maint'
* Bug 610202 - gnucash silently closes when no X11/$DISPLAY is present
* added context to ambigous i18n keys for scheduled transaction add/edit dialog
* Bug 509263 Since Last Run dialog won't allow resizing of Status column
* Bug 728103 - Invoice opened does not contain the Job under circumstances
* Bug 723145 - Currency display does not respect locale
2014-05-20 16:20:16 +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
John Ralls
eabaee8eb5 A truly ancient bug, discovered with an Xcode-5.1 compiler warning. 2014-05-19 16:07:26 -07: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
John Ralls
6e62ce9938 Allow building for mac integration with gcc-4.8 2014-05-18 17:40:35 -07:00
Mike Evans
de1de4f0a2 Python bindings. Add function gncVendorNextID, complementary to
gncCustomerNextID.
2014-05-15 14:27:27 +01:00
Mike Alexander
afe7692293 Merge branch 'maint' 2014-05-13 22:46:40 -04:00
Mike Alexander
15e9bde7c3 The cash flow report should ignore splits in trading accounts. 2014-05-13 22:45:25 -04:00
Michalis Kamprianis
93e58f3087 Bug 728136 - Rate in Job
Added rate in job for automatic filling in price in customer invoices and vendor bills.

	modified:   src/business/business-gnome/dialog-job.c
	modified:   src/business/business-gnome/gtkbuilder/dialog-job.glade
	modified:   src/business/business-ledger/gncEntryLedgerLoad.c
	modified:   src/engine/gncJob.c
	modified:   src/engine/gncJob.h
	modified:   src/engine/test/test-job.c
2014-05-13 17:27:30 +02: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
f89e0c0468 Merge branch 'maint'
* Bug 688965 - Page Up, Page Down keys cause GnuCash to hang
* Bug 729157 Bill Term discount days are allowed to be more than due days
* Bug 692249 - Add Help button in Custom Reports dialog box
* Fix regression in invoice pre-payments
2014-05-13 12:33:14 +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
John Ralls
71c31ccf2a Replace glib 2.34-or-later g_list_copy_deep
Fixes Win32 build issue, where we're using 2.28
2014-05-08 21:05:05 -04:00
Geert Janssens
c4a18ae2dd Merge branch 'maint'
* Fix document type dispay for credit notes on owner report
2014-05-08 21:11:55 +02:00
Geert Janssens
8314d960b4 Fix document type dispay for credit notes on owner report 2014-05-08 21:10:17 +02:00
Geert Janssens
6ed47c64f9 Fix sign for credit notes on owner report 2014-05-08 20:59:22 +02:00
Amm
50e72f1d18 Add sale and tax columns
A patch to add support for "Sale" and "Tax" columns in report.
Columns are optional and set to false (#f) by default.
2014-05-08 20:25:05 +02:00
Geert Janssens
1fff5ca974 Merge branch 'maint'
* Owner report - better totals formatting, contributed by Amm
2014-05-08 20:22:54 +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
232f4adc70 Update the XCode project for C++ changes 2014-05-07 16:32:05 -04:00