Commit Graph

16907 Commits

Author SHA1 Message Date
gnucash-dev
b7b8f6f5a7 To fix build error: ISO C90 forbids mixed declarations and code 2015-03-04 15:25:15 -08:00
Geert Janssens
39849b8a60 Stop checking for F::Q dependencies
The list of checks was partly obsolete and incomplete anyway.
Instead assume if F::Q was installed so are its dependencies.
Both cpan and ppm installs take care of this properly. Those
are the only two installation methods we always recommend.
2015-03-04 15:26:39 +01:00
Mike Alexander
56441bd8c7 Fix an error in 906ed1fe found by clang:
error: logical not is only applied to the left hand side of this comparison
2015-03-03 21:28:24 -05:00
Mike Alexander
f5c15214a3 Merge branch 'maint' 2015-03-03 21:27:14 -05:00
Mike Alexander
8728603926 Bug 745354: Enhance the Find Transactions dialog
Make it possible to define search criteria that consist of multiple terms
anded or ored together.  Use this to define a new criterion to look for specified
text in any of the Description, Notes, or Memo fields.
2015-03-03 21:22:53 -05:00
Alex Aycinena
906ed1fe26 Book-Currency Feature step 2
Store the book-currency in the book KVP. The changes made are:

     libqof/qof/qofbookslots.h - define a Book Currency option in addition to
         the Currency Accounting Method option previously defined
     libqof/qof/qofbook.cpp & .h - define function to get book-currency and add
         gobject properties accordingly
     libqof/qof/test/test-qofbook.c - add to test function for book-currency
         accounting method to also test for a specified book-currency
2015-02-28 16:39:34 -08:00
Geert Janssens
6cf3e379ff Remove absolute paths in es.po
They got in as a unintended side effect of running
make pot
in an out-of-tree build environment
2015-02-27 13:04:11 +01:00
Alex Aycinena
e814221efc Merge branch 'maint' 2015-02-23 18:26:47 -08:00
Alex Aycinena
80705551ae Correct the number field displayed in the reconcile window to correspond with the source specified in File->Options. 2015-02-23 18:04:50 -08:00
Mike Alexander
e9972be932 Fix some bugs found by SWIG version 3.0.5.
Prior to version 3.0.3 SWIG silently ignored invalid preprocessor directives.
See <https://github.com/swig/swig/issues/217>
2015-02-23 18:52:43 -05:00
Geert Janssens
207c01453e Bug 723409 - Incorrect symbol for Turkish lira 2015-02-23 22:57:25 +01:00
Geert Janssens
de34215ef8 Merge branch 'maint' 2015-02-23 00:40:57 +01:00
Geert Janssens
de8d4c801f Add some verbosity to scrubbing
This gives the user a primitive way to track progress for long
running Check & Repair actions by adding
--log gnc.engine.scrub=info to the command line options
2015-02-23 00:29:06 +01:00
Geert Janssens
118615d738 Merge branch 'maint'
* Remove build and run of no-longer-existant intl-scm/guile-strings.
* Bug 743807 Wrong date value being used.
* Bug 743807 Stops critical error messages.
* Bug 727466 - The symbol of CNY changed to 元
* Remove explicit install of Finance::Quote dependencies.
* Updated Danish translation. From the translation project.
* Bug 649933 - Creating cash flow report takes a long time
* Bug 733685 - Fancy Date Format doesn't stick
* Fix potential infinite loop in business lot scrubbing
* Add scrubbing function to recover dangling lot links and payments
2015-02-22 20:23:23 +01:00
Robert Fewell
652f1f5ff7 Bug 738462 Fixes Report Scheme error.
Add missing enum entries for new search types and missing
argument to changed function xaccQueryAddDescriptionMatch.
2015-02-22 20:17:19 +01:00
Geert Janssens
208cf514f3 Add scrubbing function to recover dangling lot links and payments 2015-02-22 12:32:12 +01:00
Geert Janssens
8136d7ba3f Fix potential infinite loop in business lot scrubbing 2015-02-22 12:32:12 +01:00
Geert Janssens
01170e664c Bug 733685 - Fancy Date Format doesn't stick 2015-02-11 17:21:13 +01:00
Geert Janssens
d4e5bdc354 Bug 737171 - After account creation wizard and saving, empty account window is shown 2015-02-11 10:35:05 +01:00
Mike
8900af27ce Bug 649933 - Creating cash flow report takes a long time
The progress bar seems to induce a non-neglectable performance hit
on OS X and possibly Windows as well. This patch reduces the update
frequency of the progress bar.
2015-02-10 19:50:33 +01:00
Geert Janssens
629bce126b Updated Danish translation. From the translation project. 2015-02-09 22:19:43 +01:00
Alex Aycinena
b22c6b6eb9 Book-Currency Feature step 1
The changes made are:

     libqof/qof/qofbookslots.h - define Currency Accounting Method option; keep
         the current Trading Accounts option (in order to read prior files)
     libqof/qof/qofbook.cpp & .h - define function to determine if book uses
         book-currency, modify function to determine if book uses trading
         accounts and add gobject properties accordingly
     libqof/qof/test/test-qofbook.c - define test function to determine if book
         uses book-currency and modify test function for trading accounts
     engine/test/utest-Split.cpp - modify test function for trading accounts
         to use new "currency-accounting" and "trading" book properties
     engine/test/utest-Transaction.c - modify test function for trading accounts
         to use new "currency-accounting" and "trading" book properties
2015-02-09 12:52:29 -08:00
John Ralls
bdc9b95a3c Remove explicit install of Finance::Quote dependencies.
CPAN correctly handles dependencies, and the ones installed here were
a tiny fraction -- and in a couple of cases obsolete.
2015-02-09 09:53:42 -08:00
John Ralls
9c8405da14 Update status on automake bug 13928. 2015-02-09 08:48:48 -08:00
Geert Janssens
d802733c00 Bug 727466 - The symbol of CNY changed to 元
To disambiguate with the same symbol used for the Japanese Yen,
add a prefix to both currencies: JP¥ and CN¥.
2015-02-07 17:42:49 +01:00
Geert Janssens
b13d80b324 Bug 727466 - The symbol of CNY changed to 元 2015-02-07 17:35:54 +01:00
Geert Janssens
8f717691b7 Bug 122895 - general ledger should be named journal 2015-02-07 16:34:06 +01:00
Robert Fewell
7bddcd95b0 Bug 743807 Stops critical error messages.
As you type a date into the calendar widget it tries to make a GDate
with the current year and month, if you are typing 31/ in February
you get a critical error in the trace file. This patch adds a test
for a valid date before proceeding.
2015-02-07 15:19:31 +01:00
Robert Fewell
068fc3567d Bug 743807 Wrong date value being used.
In get_filter_times, the start_date_today was being tested instead of
the end_date_today, corrected. Also corrected the default option for
end date to match start date.
2015-02-07 15:19:31 +01:00
Robert Fewell
51ebdcc51e Bug 738462 - Consolidate to/from fields in import.
To make it easier to understand, this patch consolidates the three to/from
field combinations to three single fields.
2015-02-07 14:57:16 +01:00
Robert Fewell
b0c6abb2df Bug 738462 - Consolidate to/from fields in export.
To make it easier to understand, this patch consolidates the three to/from
field combinations to three single fields.
2015-02-07 14:57:16 +01:00
Robert Fewell
69659a1e52 Bug 738462 Part 3 - Fixed format Transaction Import.
This patch adds the ability to import Transactions from the Export
asssitant. Duplicate transactions are checked for based on date,
account, description, notes, number and value.
2015-02-07 14:57:15 +01:00
Robert Fewell
eadd8bd4aa Bug 343227 Summary bar alignment patch.
This patch aligns the text in the account summary bar so all text
is inline. The bar is split into three and each part is aligned
centraly and on the popup it is aligned to the left.
2015-02-07 13:05:02 +01:00
John Ralls
ac63d3a1ae Remove build and run of no-longer-existant intl-scm/guile-strings. 2015-02-02 12:54:42 -08:00
Geert Janssens
f6ecfc0b46 Remove superfluous sort that slipped in via the last merge from maint 2015-01-31 18:50:47 +01:00
Geert Janssens
e1c7d9d1b9 Merge branch 'maint'
- Bug 731889 - guile 2 exports different autoconf macros than what is expected
- Bug 742624 - [patch] Scheduled Transaction Editor results in immediate segfault
- Numeric values with more than commodity smallest fraction get silently dropped.
- Bug 721196 - Use a regex for checking for a valid numeric value.
- Bug 727647 - "gncInvoiceGetTotal" is not read-only function?
- Bug 743609 - Add configure options to disable libsecret detection
- Switch from guile to xml to manage our iso-currencies source file
- Rewrite gnc-test-env in perl
- Bug 619899 - Use normal gettext or intltool toolchain also for scm files

Resolved conflicts:
	make-gnucash-potfiles.in
	po/POTFILES.in
	po/POTFILES.skip
	src/backend/dbi/test/Makefile.am
2015-01-31 18:37:41 +01:00
Geert Janssens
785c6d621b Bug 731889 - guile 2 exports different autoconf macros than what is expected
Check for the now required ltdl.h and bail out if not found
2015-01-31 14:33:33 +01:00
John Ralls
b3781c16d0 Bug 731889 - guile 2 exports different autoconf macros than what is expected
Replace the autogen-sh time configuration which doesn't really work
correctly by making a local interpreter which links whichever library
pkg-config finds.

Also makes Guile-2.0 the default by looking for it first.
2015-01-31 14:31:19 +01:00
Geert Janssens
c312b865d1 Bug 619899 - Use normal gettext or intltool toolchain also for scm files 2015-01-31 13:21:52 +01:00
Geert Janssens
48b30271e0 Rewrite gnc-test-env in perl
This eliminates another guile dependency in the build chain

Conflicts:
	src/backend/dbi/test/Makefile.am
2015-01-31 08:19:26 +01:00
Geert Janssens
87520cdde4 Switch from guile to xml to manage our iso-currencies source file 2015-01-31 08:16:32 +01:00
Geert Janssens
7581436e79 Bug 743609 - Add configure options to disable libsecret detection 2015-01-29 17:55:23 +01:00
Robert Fewell
13303eb38e Remove Account Tree filter as not really required.
By removing the filter options it makes it much easier to select
different types of accounts for export at the same time.

https://bugzilla.gnome.org/show_bug.cgi?id=739188
2015-01-28 18:51:16 +01:00
Geert Janssens
483091e996 Fix small spelling error 2015-01-28 18:33:15 +01:00
Robert Fewell
2233736265 Bug 738462 Part 2 - Change CSV Transaction Export.
Add a couple of fields to CSV Export that make the import easier
and remove duplicate transactions.
2015-01-28 17:42:23 +01:00
Robert Fewell
e12c7f7514 Bug 738462 Part 1 - Add search for strings equal.
Add the ability to search for strings that are equal in queries.
2015-01-28 17:42:22 +01:00
Geert Janssens
0ff9eba94f Bug 727647 - "gncInvoiceGetTotal" is not read-only function?
The root cause is in gncRecomputeValues. This function
only alters runtime cached values so it should not
trigger a book dirty action (mark_entry).
2015-01-28 17:00:21 +01:00
Mike Evans
5e60a23400 Bug 721196 - Use a regex for checking for a valid numeric value.
Just testing for an empty field will miss the cases where there are
spaces or decimal separators present.
2015-01-25 11:14:53 +00:00
Mike Evans
564b987457 Numeric values with more than commodity smallest fraction get silently dropped.
If there are more DPs than the commodity smallest fraction they get
lost when calling gnc_numeric_convert().  Removed the call.
2015-01-25 11:08:05 +00:00
Geert Janssens
2494bfc63f Bug 742624 - [patch] Scheduled Transaction Editor results in immediate segfault 2015-01-24 17:33:39 +01:00