Commit Graph

18580 Commits

Author SHA1 Message Date
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
Geert Janssens
197faeab3f 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:40:54 +02:00
Geert Janssens
19f4ce2f5a Merge branch 'patch-3' of https://github.com/christopherlam/gnucash into maint 2017-08-25 11:29:46 +02:00
christopherlam
19fe7d8a56 Reduce to compatibility shim
Reduce option to retain compatibility layer for earlier 2.8
2017-08-25 17:13:54 +08:00
Robert Fewell
d3e6a9c53b Change comment in fallback css file for emphasize-label 2017-08-24 09:02:18 +01:00
Robert Fewell
da9a57eef3 Rename the colour defines to closely match the text in import matcher 2017-08-23 17:31:42 +01:00
Robert Fewell
f7a4fa6fb0 Rename direction boolean to arrow_down 2017-08-23 16:58:28 +01:00
Robert Fewell
efaa7dbb1a Change the way dense calendar background colours are sourced
Defined the three colours and function to decide if the foreground
colour is light and make the colours darker. Also changed the colour of
the grid to based on border colour.
2017-08-23 16:53:34 +01:00
Robert Fewell
4cdae2481e Improve marker alignment depending on row height being odd or even 2017-08-23 16:51:59 +01:00
Robert Fewell
3a04e8b937 Fix some lines with spaces on them 2017-08-23 16:50:38 +01:00
Robert Fewell
94d538d233 Change glade comment in css file 2017-08-23 15:47:12 +01:00
Geert Janssens
64f36323b2 Build test-import-pending-matches as c++
It depends on libgncmod-test-engine which needs c++ building/linking.
Without this change the next commit would produce the following linker error:
/usr/bin/ld: ../../../libgnucash/engine/test-core/.libs/libgncmod-test-engine.a(test-engine-stuff.o): undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3'
/usr/lib64/libstdc++.so.6: error adding symbols: DSO missing from command line

Making the test compila as C++ solves the issue.
For reference commit ff07762 and commit 5e7dd9 seem to be related and
have additional explanations.
2017-08-23 15:14:37 +02:00
Robert Fewell
1051847e2b Use GTK_STYLE_PROVIDER_PRIORITY_FALLBACK for fallback css file 2017-08-22 14:22:11 +01:00
Robert Fewell
e8f8e56127 Use the css class defines in the import matcher help dialog 2017-08-22 13:35:03 +01:00
Robert Fewell
d4a248a244 Minor fix to gnc-tree-model-account, removal of double ; 2017-08-22 13:35:03 +01:00
Robert Fewell
2c5e2f7ade These variables are not required any more in gnc-dense-cal 2017-08-22 13:35:03 +01:00
Robert Fewell
cdfdfb48c1 Change the css for the primary label in dialog account
Renamed the css class used and moved to the fallback css file.
2017-08-22 13:35:03 +01:00
Robert Fewell
ffe9a23ca5 Change the Register2 css to be from the fallback file 2017-08-22 13:34:42 +01:00
Robert Fewell
908e3f3fc0 Do not set the foreground colour in Import Matcher
Let the theme set the foreground colour which is more relevant on dark
themes
2017-08-22 13:32:11 +01:00
Robert Fewell
e18d56dfc4 Rework the Import Matcher colours to be from the fallback css file
Rename the css classes used and make sure the import matcher used them.
2017-08-22 13:32:01 +01:00
Robert Fewell
3be453649d Rename css class negative-color to negative-numbers 2017-08-22 13:31:51 +01:00