Commit Graph

19075 Commits

Author SHA1 Message Date
John Ralls
ebbcd30f39 Save Changes Bug 792106 - Wrong dates displayed
The first attempt to fix this, a17bc85a, doesn't work because the
boost::date_time constructor gets enough information in most cases to
generate a date, just not the one we expect. This change looks for '-' in
the fourth position and if it's there assumes iso-extended format, otherwise
it assumes delimiter-less ISO without the 'T', i.e. %Y%m%d%H%M%S.
2018-01-09 14:58:43 -08:00
John Ralls
fcf88262ca Extract function tz_from_string.
Also changes from calculating the Bug 767824 offset to using
boost::date_time::local_time_in() and provides unit tests.
2018-01-09 14:08:42 -08:00
John Ralls
e798df07d7 Merge Chris Lam's 'unstable-fix-category-charts-crash' to unstable. 2018-01-09 10:01:48 -08:00
John Ralls
be02abc866 Merge branch 'remove-portfolio-dist' of https://github.com/codesmythe/gnucash into unstable 2018-01-09 09:49:45 -08:00
John Ralls
502001cd7c Fix travis test failure: It seems the boost bug is fixed. 2018-01-07 16:46:25 -08:00
John Ralls
edf17ab2c5 Fix the libgncmod-python installed name. 2018-01-07 15:50:35 -08:00
John Ralls
89db0ccfed Fix some environment file issues.
* newlines at the end of the pythonpath insertions.
* Get the DBI block out from the middle of the XDG stuff.
* Make the installed XDG_DATA_DIRS relocatable.
* Add GDK_PIXBUF_MODULE_FILE, allows running the Mac bundle without a
  launcher script.
2018-01-07 15:49:29 -08:00
John Ralls
6a9972aced Fix gnc_get_default_report_font_family returning bad string.
pango_font_decription_get_family() returns a pointer into its struct,
which is immediately freed so the ptr points at garbage, which was
strduped.

Instead, do the strdup before freeing font_desc.
Also don't raise an error and do return a default value if run outside
the GUI.
2018-01-05 12:27:39 -08:00
Rob Gowin
bee2925ecc Remove gnc-value-portfolio references from dist lists.
File itself was removed in c0fd3b3.
2018-01-05 10:09:40 -06:00
John Ralls
c0fd3b3165 Remove all references to the now-defunct Yahoo! quote retrieval
And make Alphavantage the default.
2018-01-02 10:43:49 -08:00
Christopher Lam
83a313ff86 bugfix: fix crash if acc-depth too low 2018-01-02 21:43:29 +11:00
John Ralls
320c5211b0 Fix extra instance of test-test-extras* in install_manifest.txt
Allows xargs rm < install_manifest.txt to complete without error.
2017-12-31 16:34:48 -08:00
John Ralls
310442ffe6 Update ChangeLogs for the new year. 2017-12-31 08:51:21 -08:00
John Ralls
ac05578ba5 Release GnuCash 2.7.3 2017-12-30 16:00:22 -08:00
John Ralls
0c6e2ebf80 Merge Bob Fewell's 'gtk3-update12' into unstable. 2017-12-30 13:58:04 -08:00
John Ralls
5823f1b2bb Prevent "Save before closing" dialog from appearing at startup.
Caused by simply loading the transaction report, which called
gnc-get-current-book and that it in turn creates a session if one
doesn't already exist.
2017-12-30 13:41:00 -08:00
John Ralls
7feb9c65cf Fix distcheck errors. 2017-12-30 13:40:14 -08:00
John Ralls
d06ed7c1a8 Fix -Wsign-compare error. 2017-12-30 13:39:55 -08:00
John Ralls
3d2682ac04 Merge branch 'maint' into unstable 2017-12-30 13:39:21 -08:00
Robert Fewell
477e71b7a8 Fix register move to another window
When the a register is moved to another window, the header ciaro surface
 is not created so test for one and create if null.
2017-12-30 17:21:37 +00:00
Robert Fewell
108f7fbd11 Fix some transient parent warnings 2017-12-30 17:20:58 +00:00
Robert Fewell
7c52f9ec43 Fix There is no budget icon yet so set it to the account one. 2017-12-30 17:20:06 +00:00
Robert Fewell
7ec281f647 Fix error when sheet is read only.
When the sheet is read only the entry is not realized so test for this
before passing event to it.
2017-12-30 17:19:28 +00:00
Robert Fewell
7dc3995aaa Fix transient parent warnings for budgets 2017-12-30 17:18:46 +00:00
Robert Fewell
01ab889902 Fix Invalid cast from GncWebkitHtml to GtkWindow
Invalid cast from GncWebkitHtml to GtkWindow so use already set parent.
2017-12-30 17:16:51 +00:00
Robert Fewell
bde39c527c Fix Test for filepath is NULL when cancel pressed for export 2017-12-30 17:15:03 +00:00
Robert Fewell
19e0f58763 Fix Critical errors when SX editor loaded
When the SX editor is loaded, an embedded register plug-in page is
created and as part of this the business menus and actions are updated.
As this is an GncEmbeddedWindow they fail so test for a normal main
window before proceeding.
2017-12-30 17:14:17 +00:00
Robert Fewell
b8a85ab80a Fix Transient parent warnings for SX editor 2017-12-30 17:13:22 +00:00
Robert Fewell
dc1ec68646 Add a left margin to report zoom to align with other options 2017-12-30 17:03:47 +00:00
Robert Fewell
9f3a357a2a Fix register cell height by adding 1px for cell border 2017-12-30 17:03:12 +00:00
Geert Janssens
d6bb34efe7 A few translatable string changes in the warnings for editing reconciled splits 2017-12-30 14:46:08 +01:00
Robert Fewell
f25c065b20 Bug 771667 - Change reconciled splits warning
This patch displays two distinct warnings when changing protected
fields of a transaction that contains reconciled splits. If the fields
date, num and description are changed, then the warning list the
accounts that have reconciled splits and also advises that they will be
unreconciled after editing the transaction. If the fields account,
transfer, debit or credit are changed then the warning advises that the
split will be unreconciled after editing the transaction.

There is still just one warning preference as it is all to do with
fields protected by reconciliation.
2017-12-30 12:38:29 +00:00
Christopher Lam
30f7f2fcf7 ENH: display infobox when no accounts matched 2017-12-30 21:02:47 +11:00
John Ralls
7951d4259e Bug 616709 - Pressing delete key while editing account name offers...
to delete account.
2017-12-29 14:32:21 -08:00
John Ralls
47a422070e Fix crash in customer/employee/vendor reports. 2017-12-29 14:23:27 -08:00
John Ralls
3c65a30017 Merge Bob Fewell's 'gtk3-update11' into unstable. 2017-12-29 14:22:32 -08:00
Geert Janssens
fd9474b55f Merge branch 'unstable-TR-plus' of https://github.com/christopherlam/gnucash into unstable 2017-12-29 22:47:44 +01:00
Christopher Lam
a29c2db468 COSMETIC: amend strings in options
Use more precise and concise strings in Filter options.
2017-12-30 08:23:23 +11:00
Geert Janssens
bab266c307 Update POTEFILES.in 2017-12-29 16:49:30 +01:00
Geert Janssens
6774f1223f Fix a few compile warnings-turned-errors 2017-12-29 16:49:11 +01:00
Geert Janssens
3f44552e36 Merge branch 'prices-in' of https://github.com/Bob-IT/gnucash into unstable 2017-12-29 16:29:46 +01:00
Robert Fewell
965685cc7f Bug 616709 - Stop the delete button on the Account page
When editing editable text fields on the Account page, if you press the
delete key a 'delete account popup' would pop so these changes prevent
that by disabling / enabling the delete key binding.
2017-12-29 12:35:18 +00:00
Robert Fewell
bd9af4aed0 Set focus for invoice pages
If the sheet is read only then set the focus on the notes field else
set it to the sheet.
2017-12-29 11:26:32 +00:00
Robert Fewell
4ccc965e09 Add function to get whether sheet is read only 2017-12-29 11:26:32 +00:00
Robert Fewell
34c9ba0549 Make sure the tree view is the focus on an owner page 2017-12-29 11:26:32 +00:00
Robert Fewell
18fff9635f Replace tabs with spaces for budget files 2017-12-29 11:26:32 +00:00
Robert Fewell
437a375692 ake sure the Account tree view has focus when budgets open 2017-12-29 11:26:32 +00:00
Robert Fewell
45a52a5d5e Change tabs to spaces in gnc-html-webkit2.c 2017-12-29 11:26:32 +00:00
Robert Fewell
9191df2f58 Make sure the webkit widget has focus on report load 2017-12-29 11:26:32 +00:00
Robert Fewell
2f2d1b68ba Replace tabs with spaces in a couple of source files 2017-12-29 11:26:32 +00:00