Alex Aycinena
079257a074
Merge maint. The gnc_gui_refresh_all statement in gnc_book_options_dialog_apply_cb causes the 'apply' and 'OK' buttons to be set to sensitive on the open Book Options dialog in some circumstances; this commit causes them to be reset to insensitive, as they should be.
2016-06-05 13:21:30 -07:00
Alex Aycinena
b555f49567
The gnc_gui_refresh_all statement in gnc_book_options_dialog_apply_cb causes the 'apply' and 'OK' buttons to be set to sensitive on the open Book Options dialog in some circumstances; this commit causes them to be reset to insensitive, as they should be.
2016-06-04 14:41:28 -07:00
John Ralls
0390322bf8
One line too far.
...
gnc-timezone.cpp includes src/platform.h, so not including src breaks it.
2016-06-02 14:02:28 -07:00
John Ralls
dfc0166d92
Add CPPFLAGS and LD_ADD to the date/time gtests.
...
Required because of using qoflog in gnc-timezone.cpp.
Also fix an extraneous std::move in gtest-gnc-datetime.cpp.
2016-06-02 12:44:38 -07:00
Geert Janssens
b92eff265a
Avoid variable redefined errors for _FORTIFY_SOURCE
...
I ran into this on sabayon linux while trying the cmake build
2016-06-02 18:49:23 +02:00
Geert Janssens
92bb277f06
Fix leaking of ICU's c++ interface through libxml on some platforms
...
This may become unnecessary once the backends are rewritten in c++.
Tested on sabayon linux (which exibited the issue).
2016-06-02 18:26:26 +02:00
Geert Janssens
293b43dced
Update README file regarding pull request policy
2016-05-31 13:09:44 +02:00
John Ralls
5d69ec7d87
Bug 766960 - gnucash-make-guids fails to run due to hardcoded paths.
2016-05-29 15:56:41 -07:00
John Ralls
1d3fc07177
Remove throw from noexcept TimeZoneProvider::get().
2016-05-23 14:49:21 -07:00
John Ralls
8b04fab25c
Fix misspellt BOOST_LDFLAGS.
2016-05-23 13:25:08 -07:00
John Ralls
915a2930f3
Remove close hook list; not used.
2016-05-23 13:12:24 -07:00
John Ralls
34e34334c7
Backends: astyle -xd -k1 -m0 -M60 -xL -xC79 -OHpUcZns4 --brackets=break
...
More extensive than usual, but these files had a lot of format issues.
2016-05-23 13:12:24 -07:00
John Ralls
a2863ab370
Remove old static analysis markup from backend.
2016-05-23 13:12:23 -07:00
John Ralls
dc02bd5e12
Merge branch 'maint'
2016-05-23 11:47:06 -07:00
John Ralls
94ca78025e
Fix up boost regex linkage issues on non-OSX platforms.
2016-05-21 11:04:12 -07:00
Geert Janssens
a7a0dbcc4b
Bug 765859 - The budget reports missing in Hungarian edition
2016-05-21 17:45:51 +02:00
Geert Janssens
a2ded744b3
Fix travis build
2016-05-21 15:54:55 +02:00
Geert Janssens
efbe26bc26
Bug 736352 - Expense Voucher adds tax automatically
...
Expense vouchers don't use tax tables, so prevent autocomplete
from setting one anyway.
2016-05-21 15:39:15 +02:00
Geert Janssens
5ef9b8121e
Bug 766200 - Three-up printing does not position the third check properly
...
Handle drawing translations properly
- take empty checks into account on first page both when printing
one check only (bug 693342) and when printing multiple
checks
- fix page level translations, should only be called once
- draw debug grid once for each page instead of for each check
To be mentioned in release notes:
A few bugs in the calculation of check positions while printing checks have been corrected. If you manually edited the check formats to compensate for these positioning errors in previous versions of gnucash, you may have to undo these changes. Please check this before printing your next check.
2016-05-21 15:04:19 +02:00
Geert Janssens
fa22986c9b
Check printing: make logic easier to follow
...
- rework formula to calculate number of pages so it's easier to understand by a human
- add comments to clarify relations between position, position_max, first_page_count and so on
2016-05-21 14:23:20 +02:00
John Ralls
3696770812
Merge branch 'maint'
2016-05-20 15:57:36 -07:00
John Ralls
c56faffb24
GCC-4.8 hasn't implemented std::regex so use boost::regex instead.
2016-05-20 15:44:41 -07:00
John Ralls
0c9689432f
regex_replace: construct std::string for third argument.
...
Because gcc-4.8 won't do so implicitly.
2016-05-20 11:17:01 -07:00
John Ralls
50cb9237dc
Merge branch 'maint'
...
Includes converting the new regex code in gnc-backend-dbi to use
std::regex because GRegex uses enums in a way that C++ dislikes.
2016-05-20 10:48:07 -07:00
John Ralls
f7dfd65bf9
Fix adjust_sql_option_string test on Windows.
...
The linkage problem was caused by the symbol appearing in
libgncmod-backend-dbi.dll but not libgncmod-backend-dbi.dll.a.
Incoprorating gnc-backend-dbi.c as a source file to the test program
instead of linking its library resolved the issue.
2016-05-20 17:02:01 +00:00
John Ralls
592ad99dde
Move adjust_sql_options_string declaration to gnc-backend-dbi-priv.h.
...
It shouldn't be public, it needs to be exported only to the test file.
2016-05-20 10:00:57 -07:00
John Ralls
818fe73a05
Remove unnecessary g_strdup_printf.
...
SQL_OPTION_TO_REMOVE is substituted during preprocessing so it can be
inlined in the string initialization, no need for heap allocation or
runtime composition.
2016-05-20 10:00:57 -07:00
John Ralls
ef8f63759f
Fix inconsistent and non-conforming whitespace and comments.
2016-05-20 10:00:57 -07:00
Mike Evans
0e17ebdc12
Bug 766688 - Minimal fraction of BYN should be 1/100
2016-05-20 13:13:04 +01:00
John Ralls
806525f6ce
Fix bad library name from c1ad6154
.
2016-05-19 10:08:21 -07:00
John Ralls
b20e05d078
Bug 764871 - Crash starting gnu cash
...
GString doesn't like being g_freed, so use gchar and g_strdup_printf
instead. Change all of the GStrings in the file just to be consistent.
2016-05-19 10:05:34 -07:00
John Ralls
c1ad6154ab
Don't try to compile test_adjust_sql_options on windows, it won't link.
...
Also fix the CMake build by linking gnc-backend-dbi for test-backend-dbi.
2016-05-14 20:33:28 +00:00
colinl
3b17b44ef7
Improved adjust_sql_options_string, added tests
2016-05-12 11:40:09 +02:00
colinl
99554bc7c1
Tidied up adjust_sql_options
2016-05-12 11:40:02 +02:00
colinl
709ed8b1d3
adjust_sql_options working but needs tidy up and remove diagnostics
2016-05-12 11:39:55 +02:00
victor811
043ca5d399
Update Russian translation
2016-05-11 12:30:17 +02:00
victor811
7bee0be574
Update Russian translation
2016-05-11 12:30:16 +02:00
John Ralls
f679bf70e8
Bug 766028 - crash on manual addition of price entry in Price Editor
...
gnc_pricedb_remove_price invalidates db->commodity_hash so removing the
old price needs to be done before it's retrieved.
2016-05-10 13:32:12 -07:00
Mechtilde
eaa68cff8c
correct some more shortcuts
2016-05-09 19:13:06 +02:00
Mechtilde
30e46e4e5d
correct some shortcuts
2016-05-09 19:13:05 +02:00
Mechtilde
9ddea15c7f
correct typos
2016-05-09 19:13:04 +02:00
Mechtilde
d5fa61d14e
remove some fuzzy flags and add some translations
2016-05-09 19:13:03 +02:00
Mechtilde
5671408bab
some corrections
2016-05-09 19:13:01 +02:00
Mechtilde
9ba3e7a442
remove some fuzzy flags
2016-05-09 19:12:59 +02:00
Mechtilde
97a8892f01
add some translations
2016-05-09 19:12:58 +02:00
Per Johansson
5909ff366a
FIxed remaining names.
2016-05-09 18:40:44 +02:00
Per Johansson
10d80426c2
Added Finnish account plan.
2016-05-09 18:40:37 +02:00
Robert Fewell
d7a77a3a5f
Update Transaction unit test date internal
...
Update this test to use strftime so the format can be specified as ctime
was using a space in front of the month number. Also add a '\n' to the
end of msg2 as the PINFO in Transaction.c line 1940 has one.
2016-05-08 16:58:19 -07:00
Robert Fewell
fab69c29a8
Date format using strftime under windows.
...
strftime under windows does not support the %e or %P flags so change
them to %d and %p respectively.
2016-05-05 16:23:52 +01:00
Robert Fewell
e81494756e
Gnucash on Windows will not start.
...
in the TimeZoneProvider function load_windows_classic_tz make_pair
should of used max_year as the first parameter.
2016-05-05 16:19:11 +01:00