Commit Graph

17839 Commits

Author SHA1 Message Date
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
John Ralls
3e30989de9 Bug 761667 - Crash opening associated location that has no scheme
Blindingly obvious on inspection. Fixes a memory leak too.
2016-09-11 15:47:52 -07:00
John Ralls
876f57ef4f Australian (GMT-10) OFX transactions imported have previous days date
The fundamental problem is https://sourceforge.net/p/libofx/bugs/39.
Work around it by detecting it at configure time and if present check
to see if the time in question is not daylight time. If that's the case,
determine the daylight time offset and add it back to the timestamp.
2016-09-11 14:48:24 -07:00
Geert Janssens
52c682bdee Bug 643025 - RFE: Ability to select and open multiple invoices 2016-09-08 10:02:37 +02:00
Geert Janssens
07625b2f7c Bug 733153 - Ambiguous view of buttons in search dialog Linux version
This changes the toggle buttons for check buttons, which are more appropriate for yes/no values.
2016-09-07 18:30:14 +02:00
Geert Janssens
b12ce71c16 Add small note the split action field is pre-filled by the business features 2016-09-07 17:10:44 +02:00
Carsten Rinke
f0aff93dd5 Bug763257 - update Budget Line Chart to only send ISO formated date strings to jqplot 2016-09-04 18:06:48 +02:00
Robert Fewell
1684539263 Bug 762901 [PATCH] Fix saving Account Treeview sort order.
The default treeview sort order when created is the name column which
happens to be column 0. When saving the sort order, column 0 is checked
to see if it is the sort column and if it is the sort order is not saved

Changed to check for the column not being 'name' and then save the order
2016-09-04 17:08:27 +02:00
Serge Gebhardt
5d0b6b4f78
Value "price" allowed in attr cd:type for element book (RELAX NG file)
"price" is a legal value, as per code in [1]. Added value to RELAX NG
file to pass validation of modern gnucash files.

[1] 51e29e7836/src/backend/xml/io-gncxml-v2.c (L1037)

51e29e7836 = current HEAD of branch maint
2016-09-02 18:10:55 +02:00
John Ralls
1cbbfa9490 Bug 769730 - Investments: Lots in This Account, Closed column shows
date 25/11/1833 instead of Open.
Affected 32-bit builds only.
2016-09-01 16:53:31 -07:00
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