Christopher Lam
b53aa85660
TP->T64: libgnucash/engine/test/test-extras.scm
2018-01-08 13:01:29 +11:00
Christopher Lam
d41ad85f0a
TP->T64 COMPATIBILITY SHIM: gnucash/libgnucash/app-utils/options.scm
...
This commit adds a compatibiliy shim. Although the rest of gnucash
can be converted to time64, this shim allows a Gnucash session to
load reports saved with timepairs.
2018-01-08 13:01:29 +11:00
Christopher Lam
7550ccf537
date-utilities.scm: optimize leapyear calc
2018-01-08 13:01:29 +11:00
Christopher Lam
33a7bb73db
Bugzilla 790526 Correct weeknum calculator
...
This change will fix 'num-of-weeks-since-1/jan/1970' which formerly used quotient to remove
the fractional part of the division. For negative values of num-of-weeks, the number is truncated
in the wrong direction (i.e. towards 0). This change uses floor instead to ensure the num-of-weeks
found is the nearest integer LESS than the fractional number.
2018-01-08 13:01:29 +11:00
Christopher Lam
335165104b
ADD-TIME64-API: libgnucash/app-utils/app-utils.scm & date-utilities.scm
2018-01-08 13:01:29 +11:00
lmat
e6ee060121
Adding bill term time64 function
2018-01-08 13:01:29 +11:00
lmat
6dc982c2c6
Some time64 corrections
...
The build system isn't always catching changed files, so these showed up
later.
2018-01-08 13:01:29 +11:00
lmat
1f050fd1e5
Transaction members Timespec->time64
2018-01-08 13:01:29 +11:00
lmat
9a86dd222b
gncInvoice uses time64
2018-01-08 13:01:29 +11:00
lmat
598cb6d861
gncEntry members timespec->time64
2018-01-08 13:01:29 +11:00
lmat
5dd12119b7
Converted timespec_to_dom_tree to time64
2018-01-08 13:01:29 +11:00
lmat
f77369bb96
Removing timspec from some xml parsing
...
And several other sprawling references that are connected in one
way or another.
2018-01-08 13:01:29 +11:00
lmat
7390396af9
added gnc-dmy2time64* functions
2018-01-08 13:01:29 +11:00
lmat
3067486352
gnc_option_get_ui_value_date uses time64
2018-01-08 13:01:29 +11:00
lmat
588fcb6ed2
Transaction getVoidTime uses time64.
2018-01-08 13:01:29 +11:00
Christopher Lam
978ec61f98
Further scheme conversion to gdate to use time64
...
Add missing time64_to_gdate
2018-01-08 13:01:29 +11:00
lmat
0bf0989aa7
Add time64 functions for gncEntry
2018-01-08 13:01:29 +11:00
lmat
dbd1473730
Adding time64 alternatives
2018-01-08 13:01:29 +11:00
lmat
b5aad8c7bb
Renaming time64 function for consistency
2018-01-08 13:01:29 +11:00
lmat
61d4aaaf08
Adding some time64 alternatives
2018-01-08 13:01:29 +11:00
lmat
2f89e4595b
timespec->time64 for gnc_budget_get_period...
2018-01-08 13:01:29 +11:00
lmat
95e31f982b
Date option absolute now takes time64.
2018-01-08 13:01:29 +11:00
lmat
7d51089501
Changing scheme conversion to gdate to use time64
2018-01-08 13:01:29 +11:00
lmat
d36742d941
Removing uses of timespec
2018-01-08 13:01:29 +11:00
lmat
e947214960
Removing uses of timespec
2018-01-08 13:01:29 +11:00
lmat
168f6d6740
Removing unused timespec function
2018-01-08 13:01:29 +11:00
lmat
ee56f5df78
Adding some time64 API functions
2018-01-08 13:01:29 +11: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
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
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