Commit Graph

17454 Commits

Author SHA1 Message Date
lmat
85770afb8e Replaced inheritance from boost uuid with composition
Rather than extending boost::uuids::uuid, we add a boost::uuids::uuid
member to handle the implementation of equality checking, uuid
generation, etc.
2016-10-25 12:36:53 -04:00
lmat
0a5a0ab7ab Separate C guid from C++ guid 2016-10-21 17:19:58 -04:00
lmat
e1e85cee16 Added forward declaration for struct GncGUID
I also removed the guid.hpp include where I could.
2016-10-19 17:05:48 -04:00
Geert Janssens
3877c03ee7 Merge branch 'maint' 2016-10-10 13:55:35 +02:00
Geert Janssens
38e6d7f7ce Bug 771617 - Build fails because test test-report-utilities is sensitive to time of day/timezone
Previous commit was working with years and monts potentially outside the supported range.
2016-10-10 12:28:49 +02:00
Geert Janssens
c5414e336a Merge branch 'maint' 2016-10-10 11:57:03 +02:00
Geert Janssens
6bdac283fa Bug 771617 - Build fails because test test-report-utilities is sensitive to time of day/timezone
Use the date-time functions in gnc-date instead of the guile ones for more consistent behaviour.
Do the same for test test-cash-flow, which was also time-of-day sensitive
2016-10-10 11:49:10 +02:00
John Ralls
20c0271e98 Fix CSV importer to handle GMT + 13 Timezone (New Zealand Daylight Time).
Also remove special time calculations and use gnc_dmy2timespec_neutral()
for consistency with rest of GnuCash.
2016-10-09 10:52:55 +02:00
John Ralls
b00694fde4 Bug 772382 - Date off-by-one after DST change
The time needs to be 10:59, not 11:00: 13 hours after 11:00 is 24:00,
which is really 00:00 the next day.
2016-10-09 10:52:55 +02:00
Christian Stimming
6e132d83fd Get cutecash to compile/link again.
To my surprise the C++/Qt executable still compiles, links, and run.
2016-10-05 22:19:29 +02:00
John Ralls
901c89dffa Fix CSV importer to handle GMT + 13 Timezone (New Zealand Daylight Time).
Also remove special time calculations and use gnc_dmy2timespec_neutral()
for consistency with rest of GnuCash.
2016-10-04 20:01:10 +02:00
John Ralls
5a7c791c96 Bug 772382 - Date off-by-one after DST change
The time needs to be 10:59, not 11:00: 13 hours after 11:00 is 24:00,
which is really 00:00 the next day.
2016-10-04 20:01:10 +02:00
Geert Janssens
87ed53b347 Merge branch 'maint' 2016-10-03 19:55:07 +02:00
Ralf Habacker
cd8182fc6f Fix broken german account template 'Kontenrahmen für Wohnungswirtschaft'.
The root node was not used as parent in any other account.

This issue has been detected on updating account templates
into kmymoney sources.
2016-10-03 19:48:45 +02:00
Geert Janssens
c605e4415f Bug 771617 - Build fails because test test-report-utilities is sensitive to time of day/timezone
This commit makes the test work in all timezones from -11 to +10. Timezone +11 still fails, but that's the compromise we have made in the rest of gnucash as well.
2016-10-03 17:41:11 +02:00
Geert Janssens
127adb4a7c Bug 772313 - Invalid DOCTYPE in report generation 2016-10-02 12:08:34 +02:00
Robert Fewell
921b5a9f3f Change all key accelerators to use <primary>
Change from using <control> to <primary> for part of key accelerator
definitions. This will map the accelerator to Command on OSX and to
Control for anything else
2016-09-27 21:16:32 +02:00
Robert Fewell
1615fe5bc0 Add find account to register2 to keep in sync 2016-09-27 21:16:32 +02:00
Robert Fewell
a1f45958b3 Hide the radio buttons when searching full tree
When the dialogue is started from the menu bar, all accounts will be
searchable and so hide the 'Search from' radio buttons. These are only
displayed when the started from the context menu.
2016-09-27 21:16:32 +02:00
Robert Fewell
08c7140b12 Change from using icon-name to stock-id
Changed from using icon images as they are not installed on Windows.
2016-09-27 21:16:32 +02:00
Robert Fewell
fa33f5d4d0 Change Find Account menu item to the Edit Menu 2016-09-27 21:16:32 +02:00
Robert Fewell
1a5f01290b Make sure the parent accounts are overridden
When the account is overridden, all the parents also need to be
overridden to allow the tree-model filter to show the tree-model leaf.
2016-09-27 21:16:32 +02:00
Robert Fewell
760e30f136 Change from using toggle cell renderer to pixbuf 2016-09-27 21:16:32 +02:00
Robert Fewell
3af55b0d8c Add columns for account not used and zero balances
For completeness add columns to indicate that accounts are not used or
have zero balances which may of been filtered.
2016-09-27 21:16:32 +02:00
Robert Fewell
7890970f29 Update to use the account tree filter override.
These changes allow the account to be selected in the account tree as
the filter is temporarily overridden.
2016-09-27 21:16:32 +02:00
Robert Fewell
5f6f0231ce Add account tree filter override
With this addition it is possible to jump to an account that would not
normally be shown in the tree. This is only valid for the session.
2016-09-27 21:16:32 +02:00
Robert Fewell
a8770a4d26 Add option to find an account in list of accounts
This update adds the option to search for an account in an account list
and once selected it will jump to that account in the Account Treeview
or if it is a hidden account the account editor will open.
2016-09-27 21:16:32 +02:00
Rob Gowin
c599bf3c0b Use default PKG_CHECK_MODULES for CMake version > 3.4 2016-09-27 11:24:36 -05:00
John Ralls
ba002bbec4 Fix test failure when in Spain.
It turns out that some timezones use local time for pre-1900 dates in
the 32bit timezone file, too.
2016-09-27 15:19:08 +02:00
John Ralls
fd37051865 gnc-timezone: Enable POSIX-style timezone strings on Unix systems.
E.g. CEST01CEDT,M4.1.0,M10.1.0.

Also reorder priority of finding TZ information: Passed-in timezone string
is tried first; if that's empty or fails, try the TZ variable, then
/etc/localtime, and finally give up and use UTC. Exceptions never leave
GncTimeZoneProvider and *some* timezone is always returned.

Provide a new test for posix timezones and invert the exception test.
2016-09-27 15:17:39 +02:00
John Ralls
a7ca20572d Fix whitespace in function about to be extracted. 2016-09-27 15:11:06 +02:00
John Ralls
158b17d582 gnu-timezone: Alias boost::local_time::posix_time_zone. 2016-09-27 15:06:56 +02:00
John Ralls
0dd672c622 Handle TZ that's not a file name by opening /etc/localtime. 2016-09-26 18:29:19 +02:00
John Ralls
081d6ec037 Fix crash from dereferencing nullptr when TZ isn't set. 2016-09-26 17:55:45 +02:00
John Ralls
b905c4a26d Remove obsolete AS_SCRUB_INCLUDES macro.
This was an ugly work-around for a bogus warning from gcc-3, a
long-superceded compiler. The way the macro was written caused
portablility issues (see PR 102) and other projects (gstreamer
in particular) removed it several years ago.

Thanks to Julian Ospald for bringing it to our attention.
2016-09-25 23:07:14 +02:00
Mike Evans
2d5056db6c Bug 771246 - Set Invoice/Bill items date correctly from imported CSV.
Set Date Entered to date in the csv file, or today if absent.
2016-09-25 09:12:19 +01:00
John Ralls
9fc6119d22 See if setting TZ affects Travis tests. 2016-09-23 18:28:03 +02:00
John Ralls
bffb5d1283 Check the TZ env variable before defaulting to /etc/localtime.
Note that only location-based timezones (e.g. 'America/Los_Angeles' are supported.
2016-09-23 18:26:43 +02:00
John Ralls
4ad901f4cf Fix several instances of wrong way to retrieve boolean from KVP.
Extracted functions set_boolean_key and boolean_from_key to ensure consistency.
2016-09-23 08:21:45 +02:00
John Ralls
d8711619ce Merge branch 'maint' 2016-09-17 17:09:51 -07:00
John Ralls
84d15a266a Fix version in CMakeLists.txt. 2016-09-17 14:40:59 -07:00
John Ralls
3e7022b7cd Release 2.6.14 2016-09-16 09:59:09 -07:00
John Ralls
465f57228c Synchronize translation project.
Includes updates for Dutch, Serbian, and Spanish.
2016-09-16 09:30:59 -07:00
John Ralls
839b92ca59 Bug 769746 - Zero interest loan formula fails.
Document that the Mortgage Assistant doesn't support 0-interest loans.
2016-09-15 14:53:43 -07:00
Robert Fewell
f54fc2ff11 Add option to recn cell type to be read only
Use added read only option to make Associate cell read only
2016-09-13 20:57:14 +02:00
Robert Fewell
6450bb624a Make a distinction between file/link Association
Show a 'f' in the register for a file association and a 'w' for a link
2016-09-13 20:56:49 +02:00
Robert Fewell
382b031e3c 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-09-13 20:56:24 +02:00
John Ralls
90126d52dc Bug 771379 - GnuCash doesn't support Russian Ruble Symbol 2016-09-13 10:31:07 -07:00
Mike Evans
afd684c1bf Bug 771246 - Set Invoice/Bill items date correctly from imported CSV.
If there's a date in the field use it, otherwise use the current date.
2016-09-12 09:03:56 +01:00
John Ralls
325aed3ad1 Bug 770181 - gnc-fq-dump incorrectly says "quote cannot be used...
by gnucash" when only missing date.

Make it say that GnuCash will use it, but that it might have the wrong
date.
2016-09-11 16:29:51 -07:00