Commit Graph

16794 Commits

Author SHA1 Message Date
Rob Gowin
78ef933e44 CMake improvements for SWIG handling and Python bindings.
* Add ability to either create SWIG C files or use generated ones
  depending on BUILDING_FROM_VCS.

* Add complete support for compiling Python bindings using
  WITH_PYTHON=YES.

* Add CMakeLists.txt files to a couple more directories.
2016-08-30 18:12:49 -05:00
Geoff Lee
ea3862499b Bug 770303 - Incorrect commodity match during import OFX and possible solution.
Comparing only on the strlen of the imported commodity produces false
matches when the account commodity string begins with the same
characters but is longer. E.g. if the imported commodity is F (Ford
Motor) and Facebook (FB) is encountered first in the account list then
the matcher will select Facebook, but that will fail when the commodity
GUIDs are compared.
2016-08-25 11:00:55 -07:00
John Ralls
9069f2626a Whitespace cleanup in gnc_import_select_commodity. 2016-08-25 11:00:55 -07:00
Geert Janssens
a4f96d0476 SX - recalculate all occurrences of all SX if the calendar is updated to start on another month
This potentially fixes the jumping dates issues as mentioned in bug 644898
2016-08-24 21:10:09 +02:00
Geert Janssens
80890b6272 SX Window: correctly show first sx on calendar when it is moved to next weekday 2016-08-24 20:16:28 +02:00
Geert Janssens
bd34059d29 Bug 770136 - 'Reverse Order' in 'View'->'Sort by' is not saved 2016-08-24 11:53:44 +02:00
John Ralls
59c5f8e0fc Bug 742461 - SQL backend doesn't update customer info
Two problems: The GncCustomer wasn't marked dirty and the GncAddress's
parent wasn't being set when the loaded from SQL.
2016-08-22 15:06:02 -07:00
Pierre-André Jacquod
4d8d7ed546 Bug 770196 - cppcheck va_list not closed
c/backend/xml/sixtp.c:173]: (error) va_list 'ap' was opened
but not closed by va_end() in case tochange pointer was NULL
2016-08-22 14:37:02 -07:00
John Ralls
a0a6932764 Revert "temporarily disable pre-logging messages."
This reverts commit 9cafc26641.
I didn't mean to push it in the first place.
2016-08-21 09:13:43 -07:00
John Ralls
806be3e1d9 Suppress the console window on launch when building with CMake on MSWin. 2016-08-20 20:14:34 +00:00
John Ralls
13d9275b48 Merge branch 'maint' of ssh://code.gnucash.org/gnucash into maint 2016-08-20 20:12:49 +00:00
John Ralls
8d415fdfde Bug 770113 - compiling issue with libdbi.
On OpenSuSe. They've taken to using libdbi's git repo instead of the last
tarball (0.9.0 in March 2013) and there's a significant change in the
data format.
2016-08-19 15:32:33 -07:00
John Ralls
518fc2ffae Fix compilation error in sqlite3_error_fn.
Oddly, this was fixed in master as part of building the file as C++. Even
more oddly no C compiler caught the type error for 6 years and it's not clear
to me what happened to make clang notice it now.
2016-08-19 15:29:10 -07:00
John Ralls
9cafc26641 temporarily disable pre-logging messages. 2016-08-18 19:44:17 +00:00
Stefan Talpalaru
31b6962817
remove duplicate line 2016-08-08 21:00:28 +02:00
Stefan Talpalaru
d29b99fe35
fix compilation with guile-2.0.12 2016-08-08 20:20:51 +02:00
fell
aa39ee57fc Minor improvement of singe quote sources SIX*
Amendment of commit 05da881
2016-08-08 06:55:21 +02:00
John Ralls
9ac13aa86d Attempt to fix Travis test failure. 2016-08-01 07:32:20 -07:00
fell
fbc827ad46 de.po: merge new template
4524 translated messages, 83 fuzzy translations, 54 untranslated
messages.
2016-07-31 07:27:55 +02:00
fell
99c2c9436b Fix a typo in dialog invoice 2016-07-31 07:06:25 +02:00
fell
74dafdce04 de.po: review of commit d5fa61d 2016-07-31 05:56:34 +02:00
fell
94190e4f6b minor fix of de.po
reviw of commit e019579
2016-07-31 01:34:24 +02:00
Marco Zietzling
e019579315 fixed some more German translations 2016-07-28 09:33:35 -07:00
Marco Zietzling
05cce0b7ed fixed some more German translations 2016-07-28 09:33:35 -07:00
Marco Zietzling
5a2ec958cc fixed some more German translations 2016-07-28 09:33:34 -07:00
Marco Zietzling
59440581e2 fixed German translations 2016-07-28 09:33:34 -07:00
Rob Gowin
fa8723ea6d Fixes to get CMake "MinGW Makefiles" generator to work.
* CMakeLists.txt: Give CMake a hint about where to find pod2man
     based on where it found perl.

   * src/cmake_modules/GncConfigure.cmake: Protect GNC_HELPDIR in
     quotes for cases where it contains spaces (like "C:\Program Files"
     on Windows).
2016-07-16 14:12:58 -05:00
Rob Gowin
2c268ba09c Allow HTMLHELP_DIR to be specified on cmake command line 2016-07-14 21:05:32 -05:00
Mike Evans
cc1b68a329 Bug 756416 - CSV data with Posted information will always have last invoice not posted.
When importing the last line of the CSV the gtk_tree_model_get() never happens
and the following compare uses the previous value of new_id, which is now = id,
so the last invoice is never posted.

Set new_id = Null before gtk_tree_model_get() to ensure processing the last line.
2016-07-12 15:08:09 +01:00
John Ralls
6ad8ff3b4e Tweak version.cmake to work on Windows.
Cmake's execute_process doesn't use a shell unless you tell it to.
2016-07-08 16:35:39 +00:00
John Ralls
b64fe864e9 Make CMake use the same scm-revision program as Autotools.
So that the Win32 build script has the right file name to copy to code's download folder.
2016-07-05 09:56:11 -07:00
John Ralls
a1b574af4f Clear the GDate before use.
If the transaction doesn't have the gdate-posted slot and the random
junk left on the stack where date lives happens to make a valid gdate
then timespec_to_gdate won't be called and a bogus date will be returned.
2016-07-03 08:56:52 -07:00
John Ralls
51e29e7836 Bug 137017 - date of transaction change with time zone change
First step: Change the timestamp to 11:00 UTC instead of midnight local,
adjusting by an hour or two if the local timezone is one near the
International Date Line to keep the date from flipping around.

Scrub all old entries to make current files correct.

Note: This effectively disposes of the distinction of close-book transactions
having a noon instead of midnight timestamp as a way to distinguish them
from regular transactions, but that distinction doesn't seem to be used;
xaccTransIsCloseBook() is used instead.
2016-07-02 16:12:56 -07:00
John Ralls
6a81738e96 Don't override optimization flags in CMakeLists.txt. 2016-07-02 16:12:56 -07:00
Geert Janssens
704bc8352d When default tax table is 'None', set a new invoice/bill entry as not taxabl by default as well.
This slightly changes the semantics of a 'None' default tax table
from 'taxable but no tax details given'
to 'not taxable'.
While not exactly the same the former is a highly unlikely
situation, where the latter is more common and hence makes
more sense. In the rare case a user does want to express
the old semantics this is still possible by explicitly
creating a tax table without any details.
Note this only influences newly entered entries. It has
no influence on existing ones.
2016-07-02 17:39:19 +02:00
John Ralls
77988a72f5 Fix incomplete function name from 74fa556. 2016-06-28 15:27:01 -07:00
John Ralls
6fe4b8ff8e Reset release date to 28 June. 2016-06-27 21:40:24 -07:00
John Ralls
74fa556286 containsString wasn't introduced until OS X 10.10. 2016-06-27 21:38:35 -07:00
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