Commit Graph

17873 Commits

Author SHA1 Message Date
Geert Janssens
02adf447fd Bug 777875 - Reports with charts are flickering in certain circumstances
This flickering was triggered by interference between scrollbar
visibility changes and report reloading. Both should not happen
at the same time.
2017-02-01 19:18:00 +01:00
Geert Janssens
5a144699b9 Extend account color to all columns in the account hierarchy page 2017-01-30 22:12:25 +01:00
Geert Janssens
420f40ed9a Fix duplicate widget names in gtkbuilder file 2017-01-30 21:44:44 +01:00
Geert Janssens
ee7a73dea3 Drop with_html_engine option
We only support webkit. The option was there for backwards
compatibility in the 2.6 series, but for 2.8 it can go.
2017-01-30 19:34:53 +01:00
Geert Janssens
5cbdc5d816 Merge branch 'maint' 2017-01-30 19:34:29 +01:00
Geert Janssens
0a782dd0c0 Travis - fix failure to load some libraries while running scm tests
In the travis environment (guile 1.8 in combination with other unidentified,
particular package versions) the scm based tests are looking for
backend modules (xml and dbi) in the installation prefix instead of
in the build directory. Explicitly setting the environment variables
GNC_BUILDDIR and GNC_UNINSTALLED fix this. I haven't figured out why this
is not needed on all platforms/tool version combinations. But the fix
works in all (autotools based) cases. CMake builds may need a similar
fix, but I don't know that environment sufficiently to implement it.
2017-01-28 18:02:08 +01:00
Geert Janssens
c87fa9eac1 Bug 759934 - Tiny reports in HiDPI
While a proper solution is only possible with a more recent
version of webkit, this commit will allow users to work around
the issue by manually setting a default zoom level for reports.
This setting can be found under
Edit->Preferences->Reports
2017-01-28 17:56:59 +01:00
Geert Janssens
33f39627e3 Drop a couple of webkit related configure tests
The tests are only relevant to webkit versions older than our baseline.
2017-01-27 19:24:53 +01:00
D. Hugh Redelmeier
51332b1a65 add comments to clarify that taxtxf.scm is US-specific
src/report/locale-specific/us/taxtxf.scm is specific to US tax codes.
Add comments to make this clear.
2017-01-27 10:17:43 +01:00
Pedro Albuquerque
885227a63a Bug 777561 - Update pt.po to v. 2.6.15
4659 translated messages.
2017-01-26 15:36:24 +01:00
Robert Fewell
b798a6cdbd Bug 516920 - Calendar Pop up disappears of the left side
The last change did not check for the left screen edge. This update
checks for the calendar pop up going over the left, right, and
bottom edges of the screen. The top should not be an issue.
2017-01-23 14:09:59 +01:00
klemens
cb3dd4318d spelling fixes 2017-01-23 12:06:58 +01:00
Geert Janssens
695065a0aa Merge branch 'maint' 2017-01-23 12:03:00 +01:00
klemens
2a97675bee spelling fixes 2017-01-23 11:50:00 +01:00
Pedro Albuquerque
62e1274717 Several spelling corrections of the pt_PT translation 2017-01-21 16:21:21 +01:00
Mike Evans
f1c620f6d3 Make strings translatable in dialog-bi-import.c 2017-01-17 13:20:04 +00:00
Mike Evans
9c39d0e597 Bug 767032 - Bad invoices from importing "posted" needing currency conversion
Only auto-post if:
The posted_to account name is valid.
There's no currency conversion.
The invoice customer's currency matches the A/R account currency.

Tell the user what happened with a dialog.
2017-01-16 12:09:53 +00:00
John Ralls
88cb24caa7 Ensure that all GncDate and GncDateTime constructors are in try blocks.
To prevent leaking exceptions to C code.
2017-01-14 11:55:41 -08:00
John Ralls
43a8db25ac Make GncDate and GncDateTime default constructors have the current day/time.
Like documented, and instead of the epoch day/time like the underlying boost
implementation.
2017-01-14 11:55:41 -08:00
John Ralls
3925106e70 Fix crash when $TZ isn’t defined. 2017-01-14 11:55:41 -08:00
John Ralls
c1e38d5a9f Actually checkout gtest 1.8.0 in travis tests.
The other way just makes a new branch pointing to refs/master/HEAD.
2017-01-14 10:33:14 -08:00
John Ralls
67a0e46f18 Fix local timezone-dependent test. 2017-01-13 14:54:12 -08:00
John Ralls
09cbb9c12e Change last test in test-gnc-timezone to EXPECT_EQ so it will log the results. 2017-01-13 14:03:16 -08:00
John Ralls
8de841f1b8 Display failing test-gnc-timezone.log for troubleshooting. 2017-01-13 13:37:05 -08:00
John Ralls
b6838d039e Fix test failures from adding bad-date tests. 2017-01-13 12:29:07 -08:00
Geert Janssens
6f419b5127 Travis - lock google test framework to 1.8.0 for reproducible tests 2017-01-13 21:17:22 +01:00
Geert Janssens
b4be76589d Travis - skip testing on trunk branch
This is an alias for master, so it would only duplicate that test run.
2017-01-13 15:14:32 +01:00
Geert Janssens
3c57c44078 Enable google test on travis
This enables a number of additional unit tests.
Unfortunately several of them fail on travis and need
some more attention.
2017-01-13 14:45:15 +01:00
Geert Janssens
a71d8417c6 Fix signedness of certain gmock based tests 2017-01-13 14:44:43 +01:00
John Ralls
1ce1aff014 Prevent leaking exceptions from gnc_dmy2timespec_neutral
And test out-of-range values in other functions for good measure.
2017-01-12 16:55:45 -08:00
John Ralls
3a794e75be Add note about setting GTEST cmake variables.
Because I keep forgetting them...
2017-01-12 16:54:11 -08:00
Geert Janssens
8187624b68 Fix compiler warning about confusing indentation 2017-01-10 16:21:47 +01:00
Geert Janssens
f4510cf546 Drop unused DEBUG_MEMORY macro
Thanks to Stefan Talpalaru for spotting this.
2017-01-10 13:21:14 +01:00
Stefan Talpalaru
897fc841b6
configure: fix --disable-debug, --disable-profile and --disable-locale-specific-tax 2017-01-07 18:16:54 +01:00
John Ralls
e8c159104d Define _(X) to handle localization of GNC_COMMODITY_NS_CURRENCY. 2016-12-27 15:21:50 -08:00
John Ralls
1cc10b5b4c Bug 776494 - Wrong menu entry in Tip of the day 2016-12-27 14:46:25 -08:00
John Ralls
7432ba8c91 Localize the word “CURRENCY” used in the commodity namespace selectors. 2016-12-27 14:46:25 -08:00
John Ralls
84b7a90b54 Bug 773945 - Select Security Dialog Not User Friendly
Add a new namespace “ALL NON-CURRENCY” to the namespace (type) selector
lists on the security picker and price editor which causes the commodity
list to include all non-security commodities.
2016-12-27 14:46:25 -08:00
John Ralls
d658b7570c Fix reference to SVN in README. 2016-12-18 12:50:30 -08:00
John Ralls
176bc89e22 Fix stray line from maint merge. 2016-12-18 12:29:43 -08:00
John Ralls
4979eb62a7 Merge branch 'maint' after release 2.6.15. 2016-12-18 12:14:00 -08:00
John Ralls
1ef17e6e16 Release 2.6.15 2016-12-17 11:11:56 -08:00
John Ralls
bbb5e56e30 Update AUTHORS and DOCUMENTORS. 2016-12-17 10:27:09 -08:00
John Ralls
21bd13b91a Update Danish and Serbian translations from the Translation Project. 2016-12-17 09:45:21 -08:00
Phil Davis
2cecc2934d README typo 2016-12-17 09:29:23 -08:00
John Ralls
38527d08f1 Bug 775912 - Tips of the Day shows content only once very 3 times
Remove extra line-feeds from CMake generation of tips_of_the_day.list. They're unneeded and mess up windows parsing the file.
2016-12-13 11:53:23 -08:00
John Ralls
3ed1c7616d Remove QIF importer error “Dates earlier than 1970 are not supported”.
Because they are. The parser can’t figure out years earlier than 1930,
but that’s not really a major concern.
2016-12-11 17:21:28 -08:00
John Ralls
54beffd936 Bug 685329 - Crashes on non-existent date
Log an error instead of crashing. The transaction will be imported with
today’s date.
2016-12-11 16:35:46 -08:00
John Ralls
78b41f7ac1 Bug 772369 - Replace use of guile's internal date/time functions
with our own implementation of gnc-date.
2016-12-11 15:23:55 -08:00
John Ralls
ad208810f0 Bug 773808 - Export Report Crash
It's possible for the GtkFileChooserDialog to return a NULL filename,
so defend against that.
2016-12-11 10:01:16 -08:00