Commit Graph
18500 Commits
Author SHA1 Message Date
John Ralls 5b2439e7c9 Set -xobjective-c or -xobjective-c++ for Mac code depending compiler.
Also require at least Cmake-3.3 for Apple as that's the minimum that
supports the COMPILE_LANGUAGE generator expression.
2017-09-06 22:24:19 -07:00
John Ralls e1ba2ed4bd Append to string the pre-cmake-3.4 way. 2017-09-06 14:51:26 -07:00
John Ralls 77d5d6380b Install the current, 2015, and 2016 ChangeLogs. 2017-09-06 11:44:55 -07:00
Geert Janssens 32a8b853f1 Ajust the GUILE_COMPILE_PATH such that it also works on Windows 2017-09-06 16:31:54 +02:00
Geert Janssens 118af3e9e9 Fix gtest-gnc-timezone test on Windows 2017-09-05 14:14:01 +02:00
Geert Janssens 333edb1900 Fix gnc-rational test on Windows 2017-09-05 13:54:50 +02:00
Geert Janssens 449d3ca32d Windows: check permissions actually used on the platform
The code assumed these would be the same as on all other platforms which turns out not to be the case
2017-09-05 00:07:17 +02:00
Geert Janssens d96bb3ebd5 Amend previous commit
The utf8 conversion is only used in the Windows specific section so there's no
need to define an overloaded function on std::string in this case.
Also CMakeLists.txt doesn't require the MingW specific library name setting
for boost::filesystem. Just removing the hardcoded one allows the build to
pick the right name up from the Boost_LIBRARIES variable.
2017-09-04 23:03:08 +02:00
Geert Janssens d6677ff39f Convert boost::filesystem path strings to utf8.
Fixes windows build.
2017-09-04 13:37:46 -07:00
Geert Janssens 75cc34a2db Merge branch 'maint'
Resolved conflicts:
	gnucash/import-export/CMakeLists.txt
2017-09-03 12:06:52 +02:00
Geert Janssens 98e8e4c767 Only build aqbanking when requested 2017-09-03 12:05:00 +02:00
Sumit Bhardwaj 66440cb203 Added WITH_OFX fix to CMakeLists in gnucash/import-export/ofx 2017-09-03 12:02:52 +02:00
Geert Janssens c0f3147a3e Merge branch 'maint'
Resolved conflicts:
	.travis.yml
2017-09-02 16:18:23 +02:00
Geert Janssens 28668ec594 Fix deliberate test failure on previous commit 2017-09-02 16:03:46 +02:00
Geert Janssens 1e7c721e8d Have Travis print out build logs in case of test failures
To get the after_failure line work, I had to move the inline
build script to a separate script (util/travis-script.sh)

The second script (util/travis-after-failure.sh) will output
LastTest.log for cmake based builds and all files named
test*.log for an autotools based build.

Note: this commit also comes with a delibarate test failure
to illustrate the Travis behaviour. It will be removed in the
next commit.
2017-09-02 16:02:08 +02:00
Geert Janssens 098c1950f3 Merge branch 'maint'
Resolved conflicts:
	.travis.yml
	gnucash/report/standard-reports/transaction.scm
2017-09-02 11:25:54 +02:00
Geert Janssens 0e0e4d294e Set up a build matrix on Travis CI
This will run the different builds in parallel (depending on
resource availability on Travis).

The advantages are
- faster test results
- easier to spot which build type has failed
- shorter test log per build type to parse
2017-09-02 11:06:42 +02:00
Rob Gowin 14b72ea11d Enable CMake build in Travis CI 2017-09-01 18:23:09 -05:00
Geert Janssens 1b3a0e56ff Use boost::filesystem's built-in conversion between character encodings.
This should fix the wide character mixup on Windows
2017-08-31 12:20:08 -07:00
John Ralls 48365a923d Remove set target property on no-longer-extant gncmod-utility-reports target. 2017-08-31 12:20:08 -07:00
John Ralls 1d4dc42a3f Fix poor error message on missing guile and make it fatal. 2017-08-31 12:20:07 -07:00
John Ralls e798d6bd25 Remove references to special HTMLHELP directory.
In Mingw64 build we put the Html Help Workshop files in the
appropriate mingw directories.
2017-08-31 12:20:07 -07:00
John Ralls d02ce3afb1 Fix type mismatch (ptr & int) in comparison. 2017-08-31 12:20:07 -07:00
John Ralls e2386253ca Move Win32 additions to engine_SOURCES to before first use.
It doesn't do anything where it is.
2017-08-31 12:20:07 -07:00
Geert Janssens e732ff9432 Fix FIND_PROGRAM invocation for guile 2017-08-31 16:15:19 +02:00
Geert Janssens 64309e4e88 Set the same minimum required gtk version for cmake and autotools
3.10 is what Ubuntu 14.04 (Trusty) ships with and that's the
most recent on Travis. So we can't require a more recent version
for now.
2017-08-31 15:41:32 +02:00
Geert Janssens 74b6ef8ab3 Merge branch 'kvpvaltostring' of https://github.com/limitedAtonement/gnucash 2017-08-31 10:10:45 +02:00
Geert Janssens 7ee322942e Detail what is meant with a dark theme 2017-08-31 10:03:55 +02:00
Geert Janssens 135055764b Merge branch 'gtk3-update5' of https://github.com/Bob-IT/gnucash 2017-08-31 09:56:22 +02:00
Robert Fewell 64563cae50 Move another couple of functions used more than once to gnc-gtk-utils 2017-08-30 11:23:45 +01:00
Robert Fewell 08d7830f7b Move function is_color_light to gnc-gtk-utils and rename
Move is_color_light and rename to gnc_is_dark_theme and update required
files where used.
2017-08-30 11:23:28 +01:00
Geert Janssens a670783eb6 Merge branch 'prices-out2' of https://github.com/Bob-IT/gnucash 2017-08-29 22:24:43 +02:00
lmat a9cc488cbf Should return std::string
This is only used in C++, so there is no need to g_strdup in here. Also,
this fixes a memory leak in KvpFrameImpl.
2017-08-29 14:12:25 -04:00
lmat 048b8e37a1 Clear up guile2 vs. guile cmake confusion 2017-08-29 13:58:31 -04:00
Robert Fewell b81a4a559d Change the background colours of the import-main-matcher
Use the same procedure as that used in the dense calendar to change the
background colours in the import main matcher to be based on the
brightness of the foreground colour.
2017-08-28 10:25:34 +01:00
Robert Fewell 659d3b9582 Change colour function to is_color_light in gnc-dense-cal
Change colour function to is_color_light and correct syntax and also
change some character strings.
2017-08-28 10:21:44 +01:00
Geert Janssens bbea5061a3 Extend environment file parsing to also parse environment.local
This latter file can be created by the administrator next to the environment
file in order to override parameters set in environment file.
The reason for this is the environment file is always overwritten
during installation, while environment.local is never touched by
the installers. So making the changes in there ensures they persist
acros gnucash updates.
2017-08-26 21:38:21 +02:00
Geert Janssens 2662f4bca3 Mention GNC_DATA_HOME and AQBANKING_HOME in the environment file. 2017-08-26 21:38:21 +02:00
Geert Janssens 045ee429bf Check GNC_DATA_HOME environment to override default userdata location.
This replaces GNC_DOT_DIR as it was called in older gnucash releases.
2017-08-26 21:38:21 +02:00
Geert Janssens a153412e5a Use platform dependent locations for gnucash user's data (gnc_userdata_home)
- Linux: use whatever the xdg spec dictates
- Windows: use AppData(Roaming)
- OS X/Quarz: use NSApplicationSupportDirectory special directory, which
              typically resolves to $HOME/Library/Application Support

If the preferred directory can't be used the code will fallback to
$HOME/.gnucash (the old location) if it exists. It won't create it
however. Instead if missing it will fall back to the platform's
temporary directory.

Code is added also to automatically migrate all data from the old
location to the new (only the first time).
2017-08-26 21:38:21 +02:00
Geert Janssens ae75bc963f Rewrite several file path routines to use boost::filesystem
This is a basis for moving .gnucash to a more modern location for
application specific user data (following the xdg spec).
2017-08-26 21:38:21 +02:00
John Ralls 2006155985 Build gwengui-gkt3 only if AQBanking is enabled. 2017-08-25 20:55:52 -07:00
John Ralls 2ee5b202bf Temporarily include building libgwengui-gtk3 in GnuCash.
Revert this commit when it's widely available in distributed packages.
2017-08-25 16:39:14 -07:00
John Ralls 35752e5929 Conditionally modify getpassword_cb to match new signature in gwenhywfar 4.7.99. 2017-08-25 16:07:18 -07:00
John Ralls 0f2719ced1 Convert to libgwengui-gtk3 2017-08-25 16:07:18 -07:00
Geert Janssens 7ee15a3d70 Fully enable the new Account Substring option on the transaction report
This is done by reverting the following two commits which disabled
and hid the option on maint:
- Hide Account Substring option
  (commit 197faeab3f)
- Reduce to compatibility shim
  (commit 19fe7d8a56)
2017-08-25 11:43:49 +02:00
Geert Janssens 76e53b065e Hide Account Substring option
It is only there for compatibility with gnucash 2.8.
It should not be visible on 2.6.x, only exist.
2017-08-25 11:43:49 +02:00
christopherlam 7c7cef5aed Reduce to compatibility shim
Reduce option to retain compatibility layer for earlier 2.8
2017-08-25 11:43:47 +02:00
christopherlam bdfe184af6 added case sensitive filter
please squash commits for me!
2017-08-25 11:43:45 +02:00
christopherlam 4704e14b3e Account fullname filter for transaction.scm
This small change will introduce an account full-name filter. Only accounts whose fullname containing substring will be selected e.g. ":Travel" will match Expenses:Travel:Holiday and Expenses:Business:Travel. This can be left blank, which will mimic previous behavior. This will ease accounts selection tremendously.
2017-08-25 11:43:44 +02:00