Commit Graph

16878 Commits

Author SHA1 Message Date
Mike Evans
e43e30d039 Change from deprecated gncEntrySetDate to gncEntrySetDateGDate.
Again.
2017-05-21 15:49:30 +01:00
Mike Evans
9591c52bf5 Revert "Change from deprecated gncEntrySetDate to gncEntrySetDateGDate."
Oops, more work required.

This reverts commit 78565f7939.
2017-05-21 15:38:51 +01:00
Mike Evans
78565f7939 Change from deprecated gncEntrySetDate to gncEntrySetDateGDate.
Should gncEntrySetDateEntered() similarly be deprecated?
2017-05-21 15:23:25 +01:00
Mike Evans
3e9716626f Correct a typo. 2017-05-19 08:03:12 +01:00
Mike Evans
5df97ba2a5 Use correct column for entry date.
The date opened will be set to today if that column is blank.
2017-05-18 19:27:47 +01:00
Bert
178013bf9d Bug 776396 - Foreign currency reports, amounts are not aligned correctly
Bug 776396 - Foreign currency reports, amounts are not aligned correctly

This commit will improve the styling of the table element used
for foreign currencies in the Balance sheet report so they
end up aligned with the other currencies.
2017-05-13 15:46:07 +02:00
fell
efaeb99ff1 Add XSU to iso-4217-currencies
The future common currency of south america?
2017-05-06 23:47:11 +02:00
Geert Janssens
9087418f81 Drop ifdeffed out code block 2017-05-03 18:08:37 +02:00
Geert Janssens
c5ef629fdc Bug 781634 - Alert on missing account currency when opening account 2017-05-03 18:08:37 +02:00
John Ralls
582edc1b31 CMakeLists.txt: Remove Apple architecture settings.
Those should be passed in as part of CFLAGS/CXXFLAGS.
2017-04-29 17:53:10 -07:00
John Ralls
e79d9b5cba Updated ar.po from ashalash@msn.com
After removing duplicate translator email addresses and reference to the
Translation Project's Arabic team.
2017-04-29 17:53:10 -07:00
fell
2206f0a518 Fix wrong displayed position of the verbose flag in gnc-fq-dump 2017-04-29 01:27:55 +02:00
John Ralls
82c9367503 Merge branch 'PR140' into maint 2017-04-16 16:59:35 -07:00
John Ralls
81fa7d76c4 Adjust CMAKE_C_FLAGS for better release/debug behavior. 2017-04-15 10:26:52 -05:00
John Ralls
aa6854fb1b Use the Mac Locale to find the account templates only when building with quartz. 2017-04-10 15:23:25 -07:00
Mike Alexander
ce83251bd0 Fix a minor typo. 2017-04-10 01:53:04 -04:00
Mike Alexander
a2687bcbe3 Fix the SWIG Guile wrapping of functions that have a "struct tm" parameter.
The biggest problem was that a pointer to an out of scope struct tm was
passed to the wrapped function.  With opt level 2, clang doesn't bother
setting the contents of the struct since it goes out of scope without being
used.  This caused the transaction report to never report anything since
the start and end times it got were ridiculous.

Also most functions that take a struct tm pointer can change the contents
of the struct (if only to normalize it) so pass the new values back to Scheme.

Finally all calls to gnc_localtime and gnc_gmtime from Scheme leaked a struct tm
and calling gnc_tm_free from Scheme is a really bad idea so don't wrap it.
2017-04-09 16:25:45 -04:00
John Ralls
e20009a08d Save Changes Bug 780889 - Split-register transactions result in invalid...
price:type "transaction".

Add 'transaction' to the schema and document it in gnc-pricedb.h.
2017-04-03 21:16:43 -07:00
John Ralls
844a6db32b Bug 780845 - link in github repo README file needs correction/editing 2017-04-02 09:22:16 -07:00
John Ralls
f9d23de8c0 Merge Ueli Neiderer's swift-transactiontxt branch into maint. 2017-03-30 12:42:59 -07:00
Ueli Niederer
768df3b709 Obey GNUcash coding style
Corrected brace position.
2017-03-30 12:39:37 -07:00
Ueli Niederer
448d97553f Added a preference to control import behaivour of transaction text
In order to allow to revert the newly introduced behaviour of putting
transaction text in front of the extracted purpose, the feature can now
be disabled through the preferences dialog.
2017-03-30 12:39:37 -07:00
Ueli Niederer
0ad94ddcc0 Including the transaction text into the purpose text
Some banks include additional purpose information for a transaction in
non-swift-section 17 (aka transaction text). If available, this
transaction text is put in front of the other purpose texts to provide
full transaction information.

While the final solution is still under discussion. This change is a
first low-impact implementation backported and distilled from the work
discussed in gnucash/gnucash#139.
2017-03-30 12:39:37 -07:00
John Ralls
509ce16add Release 2.6.16 2017-03-25 17:23:18 -07:00
John Ralls
3109fc5cc4 Reduce the gate on get_random_gnc_numeric.
Fixing Bug 779217 increased the maximum denominator by 10, and that led
to overflows when converting large numbers' denominators from 100 to the
new max.
2017-03-25 17:15:37 -07:00
John Ralls
a4ea79122d Update translations ca, nl, and sr from the translation project. 2017-03-25 15:39:04 -07:00
John Ralls
3367e191c8 Bug 670731 - Future Value not working with Loan Scheduled transaction
Correct the cell save routine so that the "numeric" kvp is correctly
overwritten in all instances when an edit changes its value for both
credit and debit splits. The both part is accomplished by extracting the
overwrite function.

Also provide a scrub to correct all of the incorrect files.
Unfortunately the necessary calculation function is in app-utils so
running the scrub from the backend as usual isn't possible, so we run it
from gnc_post_file_open in gnome-utils/gnc-file.c instead.
2017-03-24 16:39:30 -07:00
fell
61bce18276 Update of de.po
4617 translated messages, 17 fuzzy translations, 46 untranslated
messages.
2017-03-24 06:17:52 +01:00
fell
c3c40cd9da update de.po
4598 translated messages, 33 fuzzy translations, 49 untranslated
messages.
2017-03-24 04:50:49 +01:00
fell
024e7d97ed Use "Billing Information" as in other biz modules 2017-03-24 04:50:48 +01:00
John Ralls
41a346cbd8 Bug 776247 - PriceEditor thinks Currency XXX is an actual currency...
and tries to retrieve prices for it.

Add check for "XXX" mnemonic when filtering the currency list.
2017-03-23 13:44:05 -07:00
fell
1cbb25dab3 Fix a typo in my last commit 2017-03-23 21:38:52 +01:00
fell
c1aa562690 Exlpain "Blank Transaction" to translators 2017-03-23 21:32:20 +01:00
Geert Janssens
6f3f3bb821 Align a help string in two different files for easier translation 2017-03-23 20:48:58 +01:00
Geert Janssens
3f42569541 Disable tests when minimum glib2 requirement is not met
These tests use g_assert_true which is available as of glib2 2.38 only.
2017-03-23 17:46:20 +01:00
Geert Janssens
a63a4d5e8a Bug 739571 - Small fixups for previous commits
- cleanup whitespace
- add import-pending-matches.c to POTFILES.in
- convert asserts into g_return(_val)_if_fail
- handle the case where no matches are found (which can happen at least in the csv importer and I suspect in the OFX importer as well)
2017-03-22 22:04:17 +01:00
Jesse Olmer
9f3ad55104 Bug 739571 - Matching imported transactions doesn't indicate previously matched entries
Track pending matches from the current import and display this information in
the match picker.

Conflicts:
	src/import-export/gschemas/org.gnucash.dialogs.import.generic.gschema.xml.in.in
	src/import-export/import-match-picker.c

https://bugzilla.gnome.org/show_bug.cgi?id=739571
2017-03-22 22:04:01 +01:00
Jesse Olmer
082d0f305b Bug 739571 - Matching imported transactions doesn't indicate previously matched entries
Display reconcile state of each transaction in Import Match Picker and allow
user to toggle display of reconciled transactions.

https://bugzilla.gnome.org/show_bug.cgi?id=739571
2017-03-22 22:03:55 +01:00
fell
91584df103 Update de.po
4546 translated messages, 77 fuzzy translations, 57 untranslated
messages.
2017-03-22 06:08:36 +01:00
fell
de599933e0 Prepare update of de.po
msgmerge
2017-03-22 06:08:35 +01:00
fell
b93fe76dab Add 2 translator comments to get a unique translation for 'Tax Report
Options'
2017-03-22 06:08:34 +01:00
John Ralls
52bb6b52fc Save Changes Bug 776517 - Trial Balance Report:...
Total Debits Issue re $0 Commodity Accounts and Price Source Mode Set to
"Nearest in Time" or "Most Recent"

There was a silent error from gnc-numeric-sub-fixed in
collect-unrealized-gains because a 0 value wasn't getting its
denominator set in the gnc-numeric-mul call in
gnc:exchange-by-pricedb-helper. While this is ultimately a flaw in
gnc-numeric, this commit works around it by forcing the value to the
correct denom in gnc:make-commodity-collector.
2017-03-21 17:58:15 -07:00
Geert Janssens
f9ca29aa9f Bug 766630 - gui dialog for sorting transactions to accounts after aqbanking import broken 2017-03-21 21:39:49 +01:00
Geert Janssens
d19390c0b8 Resave dialog-import.glade without any real change
Unfortunately running glade-3 on this file will reorder it completely. So this
commit is only made ad interim to be able to isolate the actual change in the
subsequent one.
2017-03-21 21:39:49 +01:00
John Ralls
70a97ee03d Bug 778208 - Scheduling 2nd, 3rd or 4th Wed doesn't seem to work.
Remove incorrect week adjustments for determining n for nth weekday
from a recurrence date when day % 7 == 0. Adjustment is only needed
in nth_weekday_compare because that function then adds 7 to the result.
2017-03-21 10:33:13 -07:00
Robert Fewell
7e65496a5f Bug 603379 - Prevent changing some Account Options if it has transactions
There are some account options that it does not make sense to change
once it contains transactions so prevent them from changing.
2017-03-21 15:35:22 +01:00
Robert Fewell
ad34bf0faa Bug 603379 - Count the splits in an Account.
This procedure is all ready in master and is used to count the number of
 splits in an account or the account and descendants.
2017-03-21 15:35:22 +01:00
John Ralls
e9a27f0eb7 Merge en_GB budget->Budget into maint. 2017-03-18 16:01:53 -07:00
Simon Hollingshead
d719b2cd67 Consistently capitalise budget in en-GB menu items 2017-03-18 22:48:51 +00:00
John Ralls
14fde85a5d Revert "Fix query period in test-account-get-trans-type-splits-interval."
This reverts commit 23da0f858c.
Although the period test failed on maint on my system--both Mac and
Ubuntu 14.04 VM--the fix fails on Travis-CI.
2017-03-18 13:11:16 -07:00