Commit Graph

16606 Commits

Author SHA1 Message Date
John Ralls
ddf84d0725 Release 2.6.13 2016-06-25 12:04:40 -07:00
John Ralls
9303d7dd0c Update translations from the translation project.
Updated: Dutch, Serbian
2016-06-24 15:47:42 -07:00
John Ralls
53b4526262 Remove automatch_store_transactions() from import-main-matcher.
There hasn't been a clist to iterate through since 2002, calling
gnc_import_TransInfo_refresh_destacc immediately after
gnc_import_TransInfo_set_destacc(...TRUE) is a no-op, and refresh_model_row
gets called immediately after run_account_picker_dialog_returns.

As a side benefit this might fix bug 757078.
2016-06-23 14:50:36 -07:00
John Ralls
72f630e8e3 Bug 760021 - File "Save As" to an existing file...overwrites without warning.
Save_may_clobber_data was looking at the wrong fullpath.
2016-06-23 09:41:51 -07:00
John Ralls
d3933f7c83 Bump CMake version to current. 2016-06-23 09:41:48 -07:00
John Ralls
8291c2991c Bug 761672 - Transfer made to placeholder account 2016-06-22 16:33:16 -07:00
John Ralls
9c71a6cc64 Bug 764248 - saved-reports-2.4-backup line endings unconventional 2016-06-22 16:25:55 -07:00
goodvibes2
2d68c81575 Update README to refer to wiki Submitting_Patches as per github
discussion re this file.
2016-06-22 22:00:36 +02:00
John Ralls
1b3f711287 Bug 748983 - Crash after opening money transfer dialog twice
Prevent re-entrance by checking that the static pointers, the second
freeing of which caused the crash. Set said pointers to NULL after
freeing them to make the dialog ready for the next invocation.
2016-06-22 12:47:26 -07:00
goodvibes2
5ed887715b Bug 637004 Optionally allow customer and vendor address info to display
Use an internal option to hold receivable/payable flag,
  remove trailing spaces.
2016-06-21 18:34:00 +02:00
goodvibes2
3e37be8144 Bug 637004 Optionally allow customer and vendor address info to display
in the Receivable Aging and Payable Aging reports so can be copied
  and pasted into a spreadsheet for use in mail merge.
2016-06-21 18:33:58 +02:00
John Ralls
71297be88e Fix Travis test failure in gnc_iso8601_to_timespec_gmt.
Can't reproduce failure on local systems, so this is a bit of a shot in the dark.
2016-06-20 16:11:13 -07:00
John Ralls
2375270eb7 Fix gnc_iso8601_to_timespec_gmt test failure.
Triggered by colon in the zone string.
2016-06-20 15:29:21 -07:00
John Ralls
a6da796c94 Bug 767824 - Some UTC timezones incorrectly recognized on Windows 7
Reset minutes-only timezones to +0000 (UTC) and adjust the time
according to the time zone error.
2016-06-20 13:06:26 -07:00
Alex Aycinena
c0086e15e9 Partially revert commit B555f495 and solve problem more simply by instead resequencing prior statements. 2016-06-06 15:17:55 -07:00
Alex Aycinena
b555f49567 The gnc_gui_refresh_all statement in gnc_book_options_dialog_apply_cb causes the 'apply' and 'OK' buttons to be set to sensitive on the open Book Options dialog in some circumstances; this commit causes them to be reset to insensitive, as they should be. 2016-06-04 14:41:28 -07:00
Geert Janssens
293b43dced Update README file regarding pull request policy 2016-05-31 13:09:44 +02:00
John Ralls
5d69ec7d87 Bug 766960 - gnucash-make-guids fails to run due to hardcoded paths. 2016-05-29 15:56:41 -07:00
Geert Janssens
a7a0dbcc4b Bug 765859 - The budget reports missing in Hungarian edition 2016-05-21 17:45:51 +02:00
Geert Janssens
a2ded744b3 Fix travis build 2016-05-21 15:54:55 +02:00
Geert Janssens
efbe26bc26 Bug 736352 - Expense Voucher adds tax automatically
Expense vouchers don't use tax tables, so prevent autocomplete
from setting one anyway.
2016-05-21 15:39:15 +02:00
Geert Janssens
5ef9b8121e Bug 766200 - Three-up printing does not position the third check properly
Handle drawing translations properly
- take empty checks into account on first page both when printing
  one check only (bug 693342) and when printing multiple
  checks
- fix page level translations, should only be called once
- draw debug grid once for each page instead of for each check

To be mentioned in release notes:
A few bugs in the calculation of check positions while printing checks have been corrected. If you manually edited the check formats to compensate for these positioning errors in previous versions of gnucash, you may have to undo these changes. Please check this before printing your next check.
2016-05-21 15:04:19 +02:00
Geert Janssens
fa22986c9b Check printing: make logic easier to follow
- rework formula to calculate number of pages so it's easier to understand by a human
- add comments to clarify relations between position, position_max, first_page_count and so on
2016-05-21 14:23:20 +02:00
John Ralls
f7dfd65bf9 Fix adjust_sql_option_string test on Windows.
The linkage problem was caused by the symbol appearing in
libgncmod-backend-dbi.dll but not libgncmod-backend-dbi.dll.a.
Incoprorating gnc-backend-dbi.c as a source file to the test program
instead of linking its library resolved the issue.
2016-05-20 17:02:01 +00:00
John Ralls
592ad99dde Move adjust_sql_options_string declaration to gnc-backend-dbi-priv.h.
It shouldn't be public, it needs to be exported only to the test file.
2016-05-20 10:00:57 -07:00
John Ralls
818fe73a05 Remove unnecessary g_strdup_printf.
SQL_OPTION_TO_REMOVE is substituted during preprocessing so it can be
inlined in the string initialization, no need for heap allocation or
runtime composition.
2016-05-20 10:00:57 -07:00
John Ralls
ef8f63759f Fix inconsistent and non-conforming whitespace and comments. 2016-05-20 10:00:57 -07:00
Mike Evans
0e17ebdc12 Bug 766688 - Minimal fraction of BYN should be 1/100 2016-05-20 13:13:04 +01:00
John Ralls
806525f6ce Fix bad library name from c1ad6154. 2016-05-19 10:08:21 -07:00
John Ralls
b20e05d078 Bug 764871 - Crash starting gnu cash
GString doesn't like being g_freed, so use gchar and g_strdup_printf
instead. Change all of the GStrings in the file just to be consistent.
2016-05-19 10:05:34 -07:00
John Ralls
c1ad6154ab Don't try to compile test_adjust_sql_options on windows, it won't link.
Also fix the CMake build by linking gnc-backend-dbi for test-backend-dbi.
2016-05-14 20:33:28 +00:00
colinl
3b17b44ef7 Improved adjust_sql_options_string, added tests 2016-05-12 11:40:09 +02:00
colinl
99554bc7c1 Tidied up adjust_sql_options 2016-05-12 11:40:02 +02:00
colinl
709ed8b1d3 adjust_sql_options working but needs tidy up and remove diagnostics 2016-05-12 11:39:55 +02:00
victor811
043ca5d399 Update Russian translation 2016-05-11 12:30:17 +02:00
victor811
7bee0be574 Update Russian translation 2016-05-11 12:30:16 +02:00
John Ralls
f679bf70e8 Bug 766028 - crash on manual addition of price entry in Price Editor
gnc_pricedb_remove_price invalidates db->commodity_hash so removing the
old price needs to be done before it's retrieved.
2016-05-10 13:32:12 -07:00
Mechtilde
eaa68cff8c correct some more shortcuts 2016-05-09 19:13:06 +02:00
Mechtilde
30e46e4e5d correct some shortcuts 2016-05-09 19:13:05 +02:00
Mechtilde
9ddea15c7f correct typos 2016-05-09 19:13:04 +02:00
Mechtilde
d5fa61d14e remove some fuzzy flags and add some translations 2016-05-09 19:13:03 +02:00
Mechtilde
5671408bab some corrections 2016-05-09 19:13:01 +02:00
Mechtilde
9ba3e7a442 remove some fuzzy flags 2016-05-09 19:12:59 +02:00
Mechtilde
97a8892f01 add some translations 2016-05-09 19:12:58 +02:00
Per Johansson
5909ff366a FIxed remaining names. 2016-05-09 18:40:44 +02:00
Per Johansson
10d80426c2 Added Finnish account plan. 2016-05-09 18:40:37 +02:00
Per Johansson
b2213d2673 Added new sv_AX and sv_FI account plans. 2016-04-16 10:32:32 +02:00
Geert Janssens
3299231f22 Improve quickfill performance on huge registers
The recursive quickfill code had several expensive
function calls that could be moved out of the recursion.
In addition using qof's string cache would result in
an expensive call to g_str_hash for each iteration, which
quickly degraded performance on huge accounts.
I have removed the use of qof's string cache from quickfill
which considerably improves performance of opening the
register for a huge account at the expense of slightly
more memory overhead.
For example I saw register load time reduce from 75 seconds
to 2 seconds, while using 20kb more memory.
2016-04-15 21:45:54 +02:00
John Ralls
df8fa03887 Mac Localization: Prefer the country to the language for fall-back locales.
On the theory that in countries where multiple languages are in use similar
date and number formats will apply regardless of language, and especially
that the default currency will be the same regardless of language.

Also ensure that the specified language is in the list passed to gettext;
the net effect of which is that the user will effectively get the requested
localization behavior.
2016-03-26 11:30:36 -07:00
John Ralls
a41a7e2b50 Extract some functions to make the Mac locale setup a bit more maintainable. 2016-03-26 11:30:36 -07:00