Robert Fewell
b264a060bf
Comment out some unused variables while register is still in flux
2017-07-23 16:00:00 -07:00
Robert Fewell
258a5fb9ca
Add some additional REGISTER2_ENABLED code blocks
...
Stop some additional functions showing up when checking for defined but
not used when register2 not enabled.
2017-07-23 16:00:00 -07:00
Robert Fewell
f31516a0f2
Code clean up, comment out some additional static defines
...
These functions are commented out in the code and so not used so stop
them showing up for defined but not used.
2017-07-23 15:59:59 -07:00
Robert Fewell
1002576cef
Code clean up on register2 files
...
Remove unused, unused set variables and also comment out some additional
code
2017-07-23 15:59:59 -07:00
Robert Fewell
3e7235070f
Code clean up, remove unused variable
2017-07-23 15:59:59 -07:00
Robert Fewell
583935cc2b
Add a gtk version check for gnc-cell-renderer-popup
...
The event variable is only used when it is Gtk3.22 or higher
2017-07-23 15:59:59 -07:00
Robert Fewell
2c23f78d8c
Code clean up, remove some variables that were set but never used
2017-07-23 15:59:59 -07:00
Robert Fewell
64a4e6b1bc
Code clean up, remove some static defines and redundant code
2017-07-23 15:59:59 -07:00
Robert Fewell
fbd9a36415
Code clean up, remove unused variables
2017-07-23 15:59:59 -07:00
Robert Fewell
39232d9ef9
Code clean up, remove unused variables
2017-07-23 15:59:59 -07:00
Robert Fewell
0d4bf85718
Code clean up, remove unused variables
2017-07-23 15:59:58 -07:00
Robert Fewell
69e927a3a9
Code clean up, remove unused variables
2017-07-23 15:59:58 -07:00
Robert Fewell
e7d35b8309
Move static inline CSS to gnucash.css file
2017-07-23 15:59:58 -07:00
Robert Fewell
8ab3aadffa
Add an application specific CSS file
...
Add the ability to load an application specific CSS file called from
share/gnucash/ui/gnucash.css
2017-07-23 15:59:58 -07:00
Robert Fewell
8fa2b0a67d
Fix problem with gbv_treeview_resized_cb
...
If you have a budget page open and then open the preference dialog this
callback would be actioned and you will get invalid tree column error
in the trace file, add check to verify we have a tree view column.
2017-07-23 15:59:58 -07:00
Robert Fewell
64b934f2be
Fix error in use of AccountFilterDialog structure in budgets
...
The filter_override variable was not being set and causing multiple
errors in the trace file.
2017-07-23 15:59:58 -07:00
Robert Fewell
ae5512e663
Fix typo of version, should be 3.10
2017-07-23 15:59:58 -07:00
Robert Fewell
bbd29b69c6
Fix critical error when Gnucash closes with report pages open
...
Prior to Gtk version 3.20, when using gtk_container_remove the removed
widget was required to be the direct child of the container.
2017-07-23 15:59:58 -07:00
John Ralls
e41410ef25
[Mac] use gtk-mac-integration-gtk3 now that we're building with gtk3.
2017-07-23 15:51:48 -07:00
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