John Ralls
18ef968ff1
Detect and flag MinGW64
...
Got lost in the rebase and merge somehow.
2017-07-22 13:29:28 -07:00
Alex Aycinena
cb5e311a3f
Revert visible changes to File->Properties for Book Currency from master in order to do further work in feature branch.
2017-07-22 12:53:54 -07:00
John Ralls
2ceaba371d
Merge Sumit Bhardway's 'gdate-day-buffer' fix for gcc-7.
2017-07-21 17:38:54 -07:00
Sumit Bhardwaj
44e93d4a4b
membuf changes in gnc-dense-cal.c for gcc7 warnings
2017-07-21 17:34:51 -07:00
John Ralls
d41c9fd508
Turn off GncAddSchemeTargets debugging messages.
2017-07-21 17:24:55 -07:00
John Ralls
bc646b54ed
Remove obsolete throw specifications.
...
C++11 deprecates throw specifications.
2017-07-20 15:36:43 -07:00
John Ralls
3efd063a08
Merge branch 'maint'
2017-07-17 20:06:47 -07:00
Rob Gowin
53e4e0572e
Fix failure to compile AQBanking GSchemas in CMake Build.
2017-07-17 20:05:57 -07:00
John Ralls
f80058bc27
Version-check some webkit properties.
...
Avoids error messages about undefined properties in tracefile.
2017-07-16 12:47:23 -07:00
John Ralls
b8fc9df87b
Relax handling of bad numeric values in the DOM parser.
...
string_to_gnc_numeric returns a nullptr if the GncNumeric string
constructor decides that the denominator is 0. The 2.6 version of the
function didn't check for this and occasionally stored error values.
Convert that to gnc_numeric_zero to allow the file to be processed.
2017-07-15 17:05:10 -07:00
John Ralls
72f95238fb
Prevent infinite loop in to_decimal if numerator becomes 0.
...
Also immediately return 0 if this is 0.
2017-07-15 15:10:57 -07:00
John Ralls
9948ee6235
Merge Bob Fewell's Gtk3-Update2 branch.
2017-07-15 15:09:40 -07:00
Robert Fewell
338e10aade
Fix missing id values for GtkTreeSelection in glade files
2017-07-15 14:06:28 -07:00
Robert Fewell
6c4c82267e
Remove redundant GTK_CHECK_VERSION's
2017-07-15 14:06:28 -07:00
Robert Fewell
503aa28a08
Replace deprecated stock-id with icon-name
2017-07-15 14:06:28 -07:00
Robert Fewell
5ef645b8d0
Replace some missed GTK_STOCK_ items
2017-07-15 14:06:28 -07:00
Robert Fewell
5a7a8d8d9b
Add function to add the color background data function to account column
...
Some tree views based on GncTreeViewAccount specify there own columns
and when displayed you can end up with the Account column background
color set and the new ones uncolored which can look odd. Added a
function to add the color data function to the new columns.
2017-07-15 14:06:28 -07:00
Robert Fewell
fc0e25e7b2
Replace Gtk3 deprecated widgets in currency_accounting_widget
...
Deprecated widgets in gnc_option_create_currency_accounting_widget
have been replaced with current ones which mainly was GtkTable to
GtkGrid.
2017-07-15 14:06:28 -07:00
Robert Fewell
4df714037b
Add function to clear the display of the currency edit widget
...
When first created, the display is blank and in this position will
return the default currency. If a currency is selected, there is no way
to go back to this state. The only way to do this is destroy the widget
and create a new one so added a function to do this without destroying
the widget. This is used in the next commit.
2017-07-15 14:06:28 -07:00
Robert Fewell
0b33a66326
Modify the Account color button
...
Specify the default account color when loading the gui for account
colors that have not been set as the color button defaults to black.
2017-07-15 14:06:28 -07:00
Robert Fewell
804f72373e
Replace missing key accelerators
...
With the change from using GTK_STOCK_, some default key accelerators
were not specified so add them explicitly.
2017-07-15 14:06:28 -07:00
John Ralls
0745cb9af5
Enable AQBanking by default in CMake build.
2017-07-14 14:21:07 -07:00
John Ralls
5195c42107
Adjust autotools build for gnc-html-webkit changes.
...
Fixing Travis failure (I hope).
2017-07-14 09:22:29 -07:00
John Ralls
f28ea50aaf
Conditionally build for Webkit1 on Win32 and Webkit2 everywhere else.
2017-07-13 16:40:52 -07:00
John Ralls
8655dbc55c
Check for package webkitgtk-3.0 (webkit1 API) on Windows.
...
Webkit2 isn't supported on Windows.
2017-07-13 16:40:51 -07:00
John Ralls
85d868f826
Use GStatBuf to match newer GLib API
2017-07-13 16:40:50 -07:00
John Ralls
cb06e0e763
Include winsock2.h before windows.h to silence a compile warning.
2017-07-13 16:40:49 -07:00
John Ralls
b9cb2a22d5
Disable Guile's GnuLib broken redefinition of 'close'.
...
To a GnuLib function that isn't built or installed.
2017-07-13 16:40:48 -07:00
John Ralls
1f31ca620e
Change the dll lookup directory when building with CMake on Win32.
2017-07-13 16:40:47 -07:00
John Ralls
3d12dd9cf9
Win32 doesn't use the fake backend links, it just uses the regular dlls.
2017-07-13 16:40:46 -07:00
John Ralls
9f844fe362
Link libws32 to the DBI backend on MINGW64
2017-07-13 16:40:44 -07:00
John Ralls
890f69933f
Set deprecated-declarations to no-error for WIN32 so that it will work with Guile2.
2017-07-13 16:40:43 -07:00
John Ralls
55a30978b3
Replace use of CMAKE_PREFIX_PATH
...
Because it was assumed that it contains only a single path; it's specified
to be a semi-colon-separated list of paths.
2017-07-13 16:40:42 -07:00
John Ralls
9d2a4b2ef0
[Mingw64] Set command variables correctly for Guile2 compilation.
...
Mingw-w64 linker uses $PATH instead of $LD_LIBRARY_PATH for finding
shared libraries. Both the linker and Guile itself need MSys/Unix style
paths with the drive letter as a top-level directory, forward slashes,
and separated with ':' while CMake wants Windows-style paths separated
with ';'.
2017-07-13 16:40:41 -07:00
John Ralls
92549209c0
Fix ENDIF() parameter.
...
CMake 3.8 complains.
2017-07-13 13:46:45 -07:00
John Ralls
4774332fcb
Add CMake files and .gitattributes to lf-only files.
2017-07-13 13:46:45 -07:00
John Ralls
489d0513e0
Adjustments to build on mingw-64.
...
Note that there may be some changes here that need to be wrapped with ifdef.
2017-07-13 13:46:44 -07:00
Alex Aycinena
48948c5ce6
Change test-gnc-ui-util.c and test-option-util.cpp so that test-app-utils passes during make check.
2017-07-13 12:52:02 -07:00
Geert Janssens
b55a3e7d72
Fix cmake's build as installed
...
That is copy the required icons and images into the respective locations at build time
2017-07-12 11:59:37 +02:00
Alex Aycinena
f3858fcd48
Revert changes to test-gnc-ui-util.c until I can get my system to test them.
2017-07-11 09:09:19 -07:00
Geert Janssens
0bb51ffa95
Merge branch 'dist-alignment'
2017-07-10 22:00:40 +02:00
Geert Janssens
453af7f081
Align master-only dist files between cmake and autotools
2017-07-10 22:00:15 +02:00
Alex Aycinena
fb609ff028
Fix error of incorrect argument passed to gnc_commodity_new.
2017-07-10 11:38:42 -07:00
Geert Janssens
f4832e4584
Merge branch 'maint'
2017-07-10 20:23:09 +02:00
Geert Janssens
b430744fb5
Merge branch 'maint'
2017-07-10 20:22:35 +02:00
Geert Janssens
17c48b19a7
Fix a couple of double EXTRA_DIST declarations from the previous commit
2017-07-10 20:16:35 +02:00
Geert Janssens
b1f9f80110
Add CMakeLists.txt files to dist tarball generated by autotools
...
This is half of the work to align the cmake and autotools generated dist tarballs.
What's missing in the cmake dist tarball on my system are all the files generated
or installed by running autogen.sh. I can't test this because cmake can't run
my version of automake (1.15), or at least our CMake configuration prevents this from happening.
2017-07-10 20:06:31 +02:00
Geert Janssens
eb55b5f98c
Rework icon cache loading
...
- We actually don't care about the available icon sizes so stop checking for them.
- Even if an icon isn't found continue (with a warning). Gtk uses a fallback icon in most cases.
2017-07-10 12:09:51 +02:00
Geert Janssens
85ce243ef8
Add icons in the proper directory
2017-07-10 12:07:32 +02:00
Robert Fewell
69ef9ccc0b
Replace style strings with proper defined types
2017-07-09 21:56:35 +02:00