Commit Graph

17924 Commits

Author SHA1 Message Date
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
Geert Janssens
90b7a6f6a7 Bug 639401 - Invoices Due Reminder 2016-08-10 21:58:37 +02:00
John Ralls
992f3232ee Adjust CMAKE_C_FLAGS for better release/debug behavior. 2016-08-09 14:07:36 -07:00
John Ralls
1ecea90080 Merge branch 'maint' 2016-08-09 13:29:04 -07: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
77bac2c2ff Bug 769576 - Seg Fault on Editing Scheduled Transaction's Amount
The problem being that GValue takes gnc-numerics as boxed values so
qof_object_set needs a gnc-numeric* and qof_object_get a gnc-numeric**.
2016-08-06 17:37:32 -07:00
John Ralls
31d13beeb1 Don't error out if select @@sql_mode is an empty string.
Unless there's actually an error. Having no sql_modes set just means
we don't need to filter them.
2016-08-02 14:16:30 -07:00
John Ralls
ddb8a43ca0 Fix crash and error decoding GDates returned as time64.
Only shows up with MySql/Postgresql because SQLite3 returns a string.
2016-08-02 14:09:12 -07: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
John Ralls
f0d4a9719a Merge branch 'maint' 2016-07-16 13:23:42 -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
John Ralls
6252fcf1ae Merge branch 'maint' 2016-07-15 15:18:59 +00:00
Rob Gowin
2c268ba09c Allow HTMLHELP_DIR to be specified on cmake command line 2016-07-14 21:05:32 -05:00
John Ralls
6e3fafedba Remove superflous use of std::stringstream. 2016-07-14 19:27:06 +00:00
John Ralls
01c21da323 Fix wrong PWARN calling signature. 2016-07-12 16:57:01 +00: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
c11185e929 Use the right value to determine if the zone has a daylight time.
It's not Daylight offset.
Also catch the now much less likely exception.
2016-07-11 01:28:21 +00:00
John Ralls
43a7cd096e Merge branch 'maint' 2016-07-08 16:36:10 +00: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
82d9b9d7cc Merge branch 'maint' 2016-07-05 10:18:47 -07: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
5db6419cb6 Merge branch 'maint' 2016-07-03 09:05:01 -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
344de4eb37 Merge branch 'maint' 2016-07-03 08:53:04 -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
cf735d7304 GCC-4.9 doesn't have the C++14 initializer list fix. 2016-07-01 15:02:47 -07:00
John Ralls
5547337e05 Enable Google Tests under CMake. 2016-07-01 15:01:11 -07:00
John Ralls
4be4404575 MinGW doesn't support stoi, use atoi instead. 2016-06-30 14:10:43 -07:00
John Ralls
9a8ed9323c Merge branch 'maint' 2016-06-28 16:22:53 -07: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