Commit Graph

21180 Commits

Author SHA1 Message Date
John Ralls
354e868716 Move simple-obj.scm to import-export/qif-imp, the one place it's used. 2019-06-13 16:29:10 -07:00
Christopher Lam
a552d0d485 [test-graphing] upgraded 2019-06-13 19:15:43 +08:00
Christopher Lam
ddceb54736 [html-chart] ensure yAxis starts at $0.00
Ensuring $0 is included in chart is better.

If beginAtZero is #t, the yAxis will span $0 -> maximum. If
beginAtZero is #f, the chart yAxis will span minimum -> maximum
y-values, which led to bars with minimum amounts being effectively
hidden from view because its height corresponded with the minimum
amount.
2019-06-13 19:15:43 +08:00
Christopher Lam
e1228c76a5 [report] refactor gnc:define-report clearer logic 2019-06-13 19:15:43 +08:00
Christopher Lam
0cdb770f5e [taxtxf] fix copy-n-paste error
101f840255 had copy&paste error, fix function names
2019-06-13 19:15:43 +08:00
Geert Janssens
30ac2cf266 Remove guile functions that were marked as deprecated in gnucash the 3.x series 2019-06-12 16:55:53 +02:00
Geert Janssens
306964797b Bug 773198 - Move several reports to Example directory/menu 2019-06-12 15:38:36 +02:00
Geert Janssens
3d150de16f Bump minimum Gtk version to 3.18 2019-06-12 15:17:29 +02:00
Geert Janssens
c1324304ca Use Ubuntu 16.04 as oldest testbed on travis
This needed a few tweaks to the docker file worth mentioning:
- tzdata is not installed by default, resulting in test-gnc-timezone to fail
- there were a couple of debconf warnings
  * missing apt-utils package => added it to the list
  * no interactive terminal for autoremove => forced non-interactive mode
- in addition I have made building the docker file more verbose in order
  to catch such issues more easily in the future. If this turns out to be
  too distracting I can undo that part again.
2019-06-12 15:17:29 +02:00
Geert Janssens
d3e03ff662 Drop code to migrate preferences from gconf to gsettings
This change was introduced in 2.6. Anyone wishing to migrate from 2.4 to 4 should
first pass via 2.6 and/or 3 anyway so this code will never be used again for 4.x
2019-06-12 15:17:25 +02:00
Geert Janssens
8aa696223b Always add share/scm to GUILE_LOAD_PATH
Any scm file that will be built may need access to other scheme files that may have
been linked into that directory. As it was only scm files that would be linked
themselves would also be built with the search path set, causing other linked files
not to be found for an scm file that doesn't add a link for itself.
2019-06-12 15:16:30 +02:00
John Ralls
9ec5eab714 Merge branch 'maint' 2019-06-09 12:43:12 -07:00
John Ralls
59f9b7786d Don't test gnc:html-string-sanitize on emoji if guile doesn't understand them.
Fixes test failures on guile 2.0.13 where SRFI64 is available but
Unicode is broken.
2019-06-09 12:34:53 -07:00
Robert Fewell
aa3e46a60f Enable the shadow type for the notes scroll window
On the budget options dialogue, the notes field is not visible so
enable the shadow type for the scroll window to get an outline.
2019-06-08 15:00:52 +01:00
Robert Fewell
4796956d84 Stop error when adding commodity
Change the function gnc_tree_view_commodity_select_commodity to just
return when there is no commodity to stop error being logged.
2019-06-08 15:00:52 +01:00
Robert Fewell
7b6134ad5c Follow up on some changes to Aqbanking Dialogue
This commit changes the buttons to use names and enables the
translation of these so they are the same as the rest of the
application. Also added some missing underline settings and the
mnemonic widget they are pointing to.
2019-06-08 15:00:46 +01:00
Robert Fewell
c3794d1907 Changes to the default layout for glade files
With glade version 3.22.1, the default settings and layouts were
changed so this commit applies them so going forward they should not
be highlighted.
2019-06-08 14:41:58 +01:00
Robert Fewell
21e87d6086 Bug 797266 - Missing translation settings
These glade files were missing the setting to enable translations on
various widgets so it has been set.
2019-06-08 14:39:17 +01:00
Robert Fewell
fd3a8c3211 Remove some white space from import-main-matcher.c
Remove some white space and insert a space at the end
of some function names.
2019-06-08 13:54:46 +01:00
Robert Fewell
0a1a28be16 Readd the fix for the date/amount sorting for import main matcher 2019-06-07 16:47:22 +01:00
Geert Janssens
520f350a99 Readd byte-order-mark (BOM) to windows README files
Without this mark the inno setup install won't recognize these files as UTF-8
2019-06-07 16:57:22 +02:00
Christopher Lam
9752daa88c [i18n] fix translator comments to be visible to gettext
Part of Bug 797270 - Budget Chart report - translation of header and
dates

Previously, the translator comments were on the same line and were not
processed into .po clues -- this commit fixes it.
2019-06-07 21:20:22 +08:00
Christopher Lam
d7f0f5da63 Bug 797270 - Budget Chart report - translation of header and dates
Enable translation of header.

Dates are already localised in this report.
2019-06-07 09:07:18 +08:00
Geert Janssens
e210af23f6 Fix list REMOVE_ITEM command 2019-06-06 21:00:06 +02:00
Geert Janssens
fae3312389 RptCleanup - integrate report-gnome into gnome 2019-06-06 18:54:07 +02:00
Geert Janssens
598c374c92 Fix distcheck for chartjs 2019-06-06 18:54:07 +02:00
Geert Janssens
15a35e6a3b Housekeeping - replace plenty of http links with https
There are more, but these are most common ones.
There are also a number of urls that don't behave well when https, so those are skipped
At some point I have also started marking non-working URLs as [DEAD LINK], though
that's not a full coverage.
2019-06-06 15:52:30 +02:00
Geert Janssens
fd6ce1612b Readd the Export To Pdf function for Webkit1 based builds 2019-06-05 17:38:29 +02:00
David Cousens
5f51fc5406 ImportMatcherMultiSelect
Mods to import-main-matcher.c and dialog-import.glade to implement multi-selection of transactions to import and assignment of a single transfer account to the selection

Silence Deprecation Warning

Added conditional replacement of gtk_menu_popup in import-main-matcher.c and reapplied changes to treeview to current version of dialog-import.glade from maint branch.

ImportMatcherMultiSelect #497  Fixes

fixed GTK deprecation selection to use GTK_CHECK_VERSION, deleted g-list-free(l..., , added check for  a selection before popping
ImportMatcherMultiSelect #497 GTKFix

Fix to mixup of deprecated and replacement GTK function for popup menu
 Open ImportMatcherMultiSelect #497 Delet g_list_free..
2019-06-05 15:20:35 +02:00
Robert Fewell
cc12fcf322 Add new function named similar to remove class function
The existing function name to add CSS classes for style contexts was
not correct so add a new function gnc_widget_style_context_add_class
named similar to remove function and use it for the existing
'gnc-class-highlight'. Change old function to use this new one with the
old one being removed in master.
2019-06-04 10:44:14 +01:00
Robert Fewell
a22ad2e0b8 Bug 797246 - Cleared Balance Remains Red After Turning Positive
When changing the negative numbers to red a CSS class is added to set
the colour but it is not removed when changing the number becomes
positive. Add function to remove a CSS class if present and use in the
gnc_set_label_color function.
2019-06-04 10:43:47 +01:00
Christopher Lam
fc3579fca1 [balance-forecast] upgraded 2019-06-04 06:57:47 +08:00
Christopher Lam
70eadbaf22 [budget-barchart] use gnc-account-get-current-depth 2019-06-04 06:57:47 +08:00
Christopher Lam
a323b25067 [budget-barchart] allow budget-period selection
This commit changes report to choose start/end budget periods instead
of start/end dates for reporting.
2019-06-04 06:57:47 +08:00
Christopher Lam
f7ff85b8c3 [budget-barchart] upgraded 2019-06-04 06:57:47 +08:00
Christopher Lam
cb978aad0d [price-scatter] upgraded 2019-06-04 06:57:47 +08:00
Christopher Lam
9b8057e573 [daily-reports] upgraded 2019-06-04 06:57:47 +08:00
Christopher Lam
280b745927 [account-piecharts] upgraded 2019-06-04 06:57:47 +08:00
Christopher Lam
aa175e0a93 [average-balance] upgraded 2019-06-04 06:57:47 +08:00
Christopher Lam
0f6f55e145 [cashflow-barchart] upgraded 2019-06-04 06:57:47 +08:00
Christopher Lam
535ddf0d47 [category-barchart] upgraded 2019-06-04 06:57:47 +08:00
Christopher Lam
36d5dfe2f7 [net-charts] upgraded 2019-06-04 06:57:47 +08:00
Christopher Lam
24550714f3 [html-chart] add html-chart.scm to access ChartJS
This is very similar to (but not 100% drop-in replacement) jqplot.
2019-06-04 06:57:47 +08:00
John Ralls
9056b14d9e Merge Adrién Panella's 'budget'into maint. 2019-06-03 10:19:02 -07:00
John Ralls
c140563e10 Typedef GNCSearchOwnerPrivate only once. 2019-06-03 10:12:42 -07:00
Christopher Lam
847c531fdd [CHARTJS] add Chart.js v2.8.0
Released March 2019

This aims to replace jqplot which is unsupported.
2019-06-03 21:27:45 +08:00
Geert Janssens
727348eff3 Restructure shell detection code
It will now first check for an environment variable GNC_SHELL and use
that if it exists. Then hardcode a shell if cmake detects the old
mingw environment (not mingw64), and finally fall back to cmake's
built-in method of finding bash.
This requires a fix in gnucash-on-osx for the build on that platform
to continue to work: on that platform, we should set GNC_SHELL
before starting the build. A patch has been submitted to do that
automatically for the user.
2019-06-03 11:14:17 +02:00
John Ralls
170651602c Restore WEBKIT1 function call, removed by mistake. 2019-06-01 12:55:50 -07:00
John Ralls
3a91eedb45 Fix new gcc-8 warning about strncat.
gcc-8 wants us to use strcat for string constants.
2019-06-01 12:55:17 -07:00
Adrian Panella
69ea174cd1 Bug 689753- Budget Report: Neg Num Not Colored Red
Use consistent formating in budget/actual/difference
showing negative budgets in red (same as actual/dif)
2019-05-31 19:30:33 -05:00