Commit Graph

17586 Commits

Author SHA1 Message Date
John Ralls
5cd57e24d9 Merge branch 'trans-assoc' from Bob Fewell. 2016-08-20 16:12:02 -07:00
Robert Fewell
258d994e2c Change Transaction Association Dialog
Update dialog to reflect the use of relative paths by the addition of a
toggle column indicating such.
2016-08-20 16:07:46 -07:00
Robert Fewell
6f70e08bdf Add check for path being relative.
If the preference "assoc-head" is set and file path is a sub directory
then only this part is saved to the transaction making the full path
portable. Paths outside of "assoc-head" will be saved in full. There is
also a test to make sure the URI passed to the open call has a valid
scheme otherwise the windows version will crash.
2016-08-20 16:07:46 -07:00
Robert Fewell
47953c9b73 Add Preference path head for Trans. Associations
Add a preference for setting the path head for Transaction Associations
based on a GtkFileChooserButton. An additional button is used to clear
this setting when required.
2016-08-20 16:07:46 -07:00
Robert Fewell
531f0f3c37 Add sort button for Associations 2016-08-20 16:07:46 -07:00
Robert Fewell
a860643922 Transaction Association List Dialog
This new dialog creates a list view of transaction associations and
allows them to be checked to see if they are still available and be able
to jump to the corresponding transaction in the register or open the
associated entry.
2016-08-20 16:07:46 -07:00
Robert Fewell
5f75f106ee Add option to recn cell type to be read only
Use added read only option to make Associate cell read only
2016-08-20 16:07:46 -07:00
Robert Fewell
57666b43ba Make a distinction between file/link Association
Show a 'f' in the register for a file association and a 'w' for a link
2016-08-20 16:07:45 -07:00
Robert Fewell
5bb53c044a Indicate an Association in the Register
Use the field below the reconcile and type entry on the transaction
lines to indicate a file/link association.
2016-08-20 16:07:45 -07:00
Robert Fewell
8f9d1dcf39 Change associate file/link to show existing entry
Currently there is no way of knowing what the existing association is
and so what dialog to use. Changed the file dialog to use existing uri
along with a label in case the uri does not exist and populated the
entry in the link dialog with the existing uri.

Also added a test for when entry is cleared and also being NULL to
control menu sensitivity and also added a remove button to clear entry
2016-08-20 16:07:45 -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
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