Commit Graph
100 Commits
Author SHA1 Message Date
Geert Janssens f6c4308690 SWIG version updates
- move the swig version check after the guile checks
  this allows us to check for a different version of swig
  based on the guile version that was detected
- use more recent autoconf macros for swig (from the autotools archive)
  this give us more flexible error reporting

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23560 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-14 16:40:54 +00:00
Geert Janssens 8325bf8e5c Guile 1.8 fixes for r23556 and r23557
- guile 1.8 doesn't need the swig patch
- make sure all swig interface files include guile-mappings.h
  for the *utf8_string to *locale_string mappings
  but only load it when building guile modules

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23559 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-14 16:40:42 +00:00
Geert Janssens 2a5f68c812 Bug 719481 - GnuCash report crashes with Guile2
This is actually a bug in swig.
This commit works around it by patching the swig
generated source files until swig itself has been fixed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23557 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-13 20:22:01 +00:00
Geert Janssens 510c20b8a9 Use scm_[to/from]_utf8_string instead of scm_[to/from]_locale_string as per guile recommendation
Notes:
- in some situations the original *locale_string variant is retained. This
  is when locale encoded strings are processed (mostly file names).
- the utf8 variants don't exist for guile 1.8. For that version these
  functions will be rededefined to call the locale variants.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23556 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-13 20:21:41 +00:00
Geert Janssens 6f4b818e98 Build svn releases with documentation from a matching branch
This is a quick hack to get the last 2.4 gnucash build
use the 2.4 branch of the documentation.
This should be implemented properly for git as well still,
but may need some more thought.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23543 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-11 17:43:37 +00:00
Geert Janssens 0065659b90 Bug 720235 - Python bindings should load environment file just like gnucash does
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23539 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-11 14:45:40 +00:00
Geert Janssens a09e3d6a35 Ensure that opening an existing book never opens an empty main window.
If there's only one window, automatically add an account hierarchy page
to it. If it's a subsequent empty window, just ignore it (ie don't restore
it from the state file).

This commit deals with the secondary issue mentioned in
bug 436479 - Gnucash doesn't display the data file name in the title bar

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23528 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-10 17:13:00 +00:00
Geert Janssens 8d59144c08 Fix (harmless) report warnings as reported in bug 639371
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23520 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-08 18:18:46 +00:00
Geert Janssens 6b9dbd9faa Long term fix for wrong version number part of bug 639371
Read compile time version number to display in the report

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23519 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-08 18:02:25 +00:00
Geert Janssens 51c2cd7161 Remove obsolete conditional that's never triggered anymore
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23518 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-08 18:02:09 +00:00
Geert Janssens 2308e9b3b5 Fix report background image loading on Windows
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23513 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-08 13:48:31 +00:00
Geert Janssens a0ca453e6c Bug 627575 - Stylesheet names with non-alphanumeric characters and saved-reports -- addendum
Work around a bug in guile 1.8. It escapes spaces in symbols
when printed to a string, but can't convert that string
back properly in a symbol

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23501 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-07 15:57:46 +00:00
Geert Janssens f14bd73ba9 Bug 627575 - Stylesheet names with non-alphanumeric characters and saved-reports
g_key_file_[gs]et_string parses the string to escape newlines and comments
This erroneously does some escaping in the #{symbol name}# guile extended format
for symbols. Since we already strip newlines and comments ourselves,
we can save and store the string without any additoinal parsing
using g_key_file_[gs]et_value.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23499 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-07 10:18:21 +00:00
Geert Janssens 71654e984c Multi-currency "Post invoice" improvements
- only pop up the exhange rate notification message when an exchange
  rate is effectively asked. Still only pop it up once per post operation.
- ask for conversion rates again if an invoice is reposted on a different date
- only keep one price per foreign currency in the invoice's price list

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23491 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-05 10:53:32 +00:00
Geert Janssens 361a803de5 Bug 630578 - current date instead of posting date in exchange rate, when posting a bill
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23490 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-05 09:41:30 +00:00
Geert Janssens ae23373ed6 Bug 715123 - Post invoice problem, cannot unpost
Look for missing exchange rates in tax table entries
as well as in invoice entries

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23485 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-04 16:56:55 +00:00
Geert Janssens 7492f14606 Fix python test
It no longer requires access to the installed gsettings schemas.
The default value for XDG data dirs didn't work anyway because
it used a ; instead of a : as separator (as it should for the
environment file).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23474 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-02 16:05:44 +00:00
Geert Janssens 31c7396e15 GSettings: only load backend when installed
The preferences backend can't work from the source environment because
it's schemas won't be compiled. This situation is only relevant for testing,
which is done from the source (or build) tree.
Note that a few preferences are needed by the xml backend. If no preferences
backend is loaded, some sane defaults will be used instead. Again this should
only matter for testing, in which case the real preferences are not relevant
anyway.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23473 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-02 16:05:32 +00:00
Geert Janssens 7581076364 Improve cond-expand/eval-when usage based on feedback from the guile developers
Basically two things:
- whenever eval-when is used, the expand keyword should be added (not yet documented)
- eval-when is not needed for use-modules, because use-modules is a macro that performs the eval-when by itself

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23460 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-29 19:18:08 +00:00
Geert Janssens da57bb7f0b Bug 707311 - Tax Invoice fails to open when using guile 2 - addendum
Make it also work with guile 2 in non-compiled mode

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23459 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-29 19:17:40 +00:00
Geert Janssens 96b258fada Fix price quotes installation on Windows
The default perl version was too old for DateManip's dependencies
A couple of cosmetic tweaks

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23449 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-26 22:23:12 +00:00
Geert Janssens 70a5b90fb6 Fix line-ending styles on a few windows scripts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23448 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-26 22:23:03 +00:00
Geert Janssens 3ad0ae2c60 Set proper EOL style for windows vbs script
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23447 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-26 22:06:14 +00:00
Geert Janssens 9c5f4a57fc Report the proper minimum version for libgoffice when not found at configure time
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23445 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-26 13:53:33 +00:00
Geert Janssens 3a88c3c379 Fix several test failures under guile 2 with auto compile enabled
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23444 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-26 13:38:34 +00:00
Geert Janssens e5b5c33b74 Bug 712299 - Tax Invoice with guile 2 doesn't display currency symbols (second attempt)
This re-applies commit r23416 and fixes the test reports by
setting a fixed locale before running the tests. This should
ensure a predictable report output to compare against

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23443 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-26 09:51:51 +00:00
Geert Janssens bcf5043c01 Preferences fixes
- move GNC_GSETTINGS_PREFIX parsing to a location that it is also used in the python bindings
- read backup retain policy related settings before testing if they are valid

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23442 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-26 09:51:35 +00:00
Geert Janssens 95ba08328f Guile2: fix two tests in report system
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23441 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-26 09:51:11 +00:00
Geert Janssens 95c0933a84 When an account or budget is deleted, drop any associated saved state
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23432 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-24 16:28:36 +00:00
Geert Janssens 2fa8a82c43 Register2: improve sort functionality
- reduce state file access to one location (tree view)
- at runtime, let model keep track of the sort state (it needs it
  the most for its query)
- the view code can read the sort state from the model when needed
- reuse state handling code in gnc_tree_view where possible to avoid
  unneeded code duplication

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23431 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-24 16:28:25 +00:00
Geert Janssens d3b7d454b5 Bug 710905 - Column withs, visibility, order and sort order not saved and restored
This commit restores the functionality for register and register2.
As before saved state from 2.4 won't be migrated

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23430 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-24 16:28:12 +00:00
Geert Janssens 1f9f037af0 Suppress a few harmless state file related warnings at startup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23427 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-22 15:33:33 +00:00
Geert Janssens de1af88928 Win32: more consistent use of @PACKAGE@ for gnucash package name in installer script
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23426 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-22 15:33:22 +00:00
Geert Janssens 815efa6607 Win32: remove gconf related settings from the installer script
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23425 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-22 15:33:01 +00:00
Geert Janssens 4c15f3cf83 Fix typos in translatable strings
Author:    Aurimas Fišeras <aurimas@members.fsf.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23421 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-21 18:45:20 +00:00
Geert Janssens 68903c9208 Bug 712299 - Tax Invoice with guile 2 doesn't display currency symbols
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23416 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-20 10:53:20 +00:00
Geert Janssens 5a02a247f8 Small fixes to make the Windows build work again after r23412
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23415 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-20 10:01:56 +00:00
Geert Janssens a4b143457a Remove some redundant variable definitions in Makefile.am
These are set automatically via AC_SUBST in configure.ac

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23401 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-16 16:37:58 +00:00
Geert Janssens 470eed235f Don't distribute files generated by configure
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23400 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-16 16:37:50 +00:00
Geert Janssens 5b7ca5caf1 Fix distcheck-hook to handle [type: ] prefixes in POTFILES.in properly
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23399 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-16 16:37:37 +00:00
Geert Janssens 6692d4bb1b Don't create invoice when Duplicate invoice dialog is cancelled
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23398 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-16 12:51:54 +00:00
Geert Janssens 8d50e55bcb Bug 707311 - Tax Invoice fails to open when using guile 2
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23395 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-14 14:24:54 +00:00
Geert Janssens 83aee2b5fb Bug 709589 - make check fails with guile 2
The use of (macro? ) has changed in guile2.
In addition the test script has been reformatted
to make it more readable and easier to detect
where exactly it fails.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23394 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 15:52:04 +00:00
Geert Janssens 8074fee8d9 Make python test find its test files for out of tree builds
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23393 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 15:51:55 +00:00
Geert Janssens aac58df6b8 Use guile/python executable as found during configure for tests and some support scripts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23392 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 15:51:44 +00:00
Geert Janssens 80c7559c3d Replace all uses of GUILE_INCS with GUILE_CFLAGS
This cleans up some left overs from before guile had a .pc file

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23391 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 15:51:24 +00:00
Geert Janssens a952699285 Improve guile testing in configure.ac
Use guile specific macros to determing the guile executable to use.
Unfortunately the macro names may be different on various supported
platforms. So we have to run some extra tests to determine which
macro names we need exactly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23390 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 15:50:59 +00:00
Geert Janssens 79bb4b8b78 Enable translations on gsettings schemas
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23381 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-05 18:37:45 +00:00
Geert Janssens b3b40ac924 Bug 711294 - Gnucash repeatedly ask associated income account when import qfx file
Patch by Kuang-che Wu <kcwu@csie.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23380 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-04 21:23:48 +00:00
Geert Janssens 05953e51f6 Use proper conversion modifier for unsigned int
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23379 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-04 21:23:24 +00:00
Geert Janssens c42c13da47 Update POTFILES.in after my recent work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23364 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:26:20 +00:00
Geert Janssens 014eeee0b6 Bug 693244 - View Lots window enhancements
Fix remaining issue: sort on date now works

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23363 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:26:00 +00:00
Geert Janssens f3c5b93b1e Improve visual appearance and sorting of Invoice payment dialog
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23362 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:25:03 +00:00
Geert Janssens fed6a1e5b7 Bug 687478 - Bills due reminder doesn't work well with credit notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23361 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:24:27 +00:00
Geert Janssens d1cdf9a163 Bug 687479 - Automatic invoice/payment matching on posting an invoice should be an optional feature
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23360 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:24:05 +00:00
Geert Janssens 1f7549c082 Code reindentation in tests
Command used: astyle --indent=spaces=4 --brackets=break --suffix=none <files>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23359 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:23:28 +00:00
Geert Janssens 440f732edd Code reindentation
Command used: astyle --indent=spaces=4 --brackets=break --suffix=none <files>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23358 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:22:53 +00:00
Geert Janssens cba8e9aef2 Remove now unused parameter
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23357 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-30 14:54:43 +00:00
Geert Janssens 36778dae52 Bug 710979 - Crash in gnc_plugin_page_invoice_summarybar_position_changed
Signal handlers didn't get removed properly from gsettings keys
when an invoice page was closed, leading to a crash if the
signal handler is later activated again.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23356 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-30 14:43:58 +00:00
Geert Janssens 9ae7cb08d8 Some white space and comment improvements
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23355 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 20:53:21 +00:00
Geert Janssens fd94134b85 Cleanup leftover from state save/restore re-implementation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23354 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 20:53:09 +00:00
Geert Janssens 50e02d7ac6 Fix crash when deleting budget
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23353 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:27:27 +00:00
Geert Janssens b3c33b7fdb Remove function that no longer adds value
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23352 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:26:39 +00:00
Geert Janssens 4cfe666dfc Re-implement state save/restore functionality in gnc_tree_view
The new implementation uses the gnucash metafile in .gnucash/books
to save gui state for any page that is based on gnc_tree_view.

Think Account Hierarchy, Budgets, Vendor/Customer/Employee overviews.
Each of these sets a unique name for a state section that the tree view
will use to store column width/visibility, sort column, sort order.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23351 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:26:23 +00:00
Geert Janssens de58942794 Move state handling code to separate file and improve on it
- keep the state information in memory while gnucash is running
- upon saving the state, only delete those sections that will be
  recreated by the save_all_state function

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23350 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:26:02 +00:00
Geert Janssens df299589d4 On file open, only destroy a previous session if really exists
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23349 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:25:52 +00:00
Geert Janssens 7835e8cb3e Remove gnc_build_book_path from swig interface file
It hasn't been used in guile since 2006

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23348 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:25:42 +00:00
Geert Janssens 3aebc9ca54 Remove some unused includes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23347 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:25:29 +00:00
Geert Janssens bc1970bf71 Use the symbol in iso-4217-currencies by default
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23345 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-28 09:22:38 +00:00
Geert Janssens 82a0329df0 Small XDG_DATA_DIRS improvements
- win32: improve iss script to only replace the real XDG_DATA_DIRS path, not the comment
- use $(datadir) instead of $(prefix)/share, for the rare case someone configures with
  --datadir=DIR

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23337 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-26 08:56:26 +00:00
Geert Janssens 2678946472 Add off-by-one warning in comment
Taken from https://bugzilla.gnome.org/show_bug.cgi?id=709329#c7

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23336 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-26 08:40:06 +00:00
Geert Janssens 5f9a9489ed Prohibit setting budget values greater than num_periods
* Add unit test to verify changes
* gnc_budget_set_account_period_value returns without doing anything
  if requested period value is greater than num_periods
* Add warning message when setting invalid period

Author: R Ratliff <ratliff.bobby@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23335 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-26 08:38:44 +00:00
Geert Janssens 1c20648c42 Fix save count down timer on Windows
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23334 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 20:53:31 +00:00
Geert Janssens b93d31a550 Clean up preferences for pricedb-editor and price-editor
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23333 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 20:34:10 +00:00
Geert Janssens e72ae0a59a Configure: don't list ofx twice in selected components
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23332 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 19:03:25 +00:00
Geert Janssens d429a83792 Avoid the need for a duplicate dialog-preferences.glade
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23331 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 19:03:00 +00:00
Geert Janssens 5490605de2 Register rewrite Update, revised removal update for next release. This update adds a configure option --enable-register2 which will enable the register2 changes at compile time, there are also some changes to use the Gnucash --extra parameter that displays some of the new register2 functionality for testing. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23330 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 19:02:43 +00:00
Geert Janssens fb80909cb3 Fix window position/size saving
- fix inverted test if saving/restoring is requested
- fix glib CRIT warning when saving

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23327 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 07:27:57 +00:00
Geert Janssens 62bf5257fa Ignore autogenerated Makefile[.in] for gschemas directories
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23326 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 20:33:42 +00:00
Geert Janssens d1e106e296 Add a field to the commodity editor allowing setting the user symbol.
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23325 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:28:57 +00:00
Geert Janssens 300cfa76b5 Add a user_symbol to one UT
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23324 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:28:30 +00:00
Geert Janssens 2d94461e7f Copy the test-files to the builddir, and use that in GNC_TEST_FILES
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23323 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:28:01 +00:00
Geert Janssens 7a0b3405da Use the new user_symbol property where relevant
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23322 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:27:49 +00:00
Geert Janssens 13fcf19a72 Add a new user_symbol property to the Commodity class
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23321 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:27:37 +00:00
Geert Janssens e718761971 Check for availability of xsltproc at configure time
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23320 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:27:26 +00:00
Geert Janssens cb556c13f4 Fix gsettings schema for commodities editor
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23319 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 12:27:15 +00:00
Geert Janssens 7f1ad0b2b6 Fix budget options descriptions field
* Set scrollbar visibility
* Turn on word wrap

Author: R Ratliff <ratliff.bobby@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23318 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-24 07:51:15 +00:00
Geert Janssens 748e8a4897 Abort configure if --enable-ofx specified but no libofx development files found
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23317 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-23 14:25:32 +00:00
Geert Janssens 6d0de88332 Remove reference to schema that was deleted earlier
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23316 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-23 12:46:47 +00:00
Geert Janssens efcdd285ad Revert "[PATCH] Register rewrite Update, remove update for next release."
This reverts commit 22eff28f0b.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23315 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 19:27:24 +00:00
Geert Janssens 22eff28f0b [PATCH] Register rewrite Update, remove update for next release.
This update removes the register2 changes for the next release
as it is not complete yet.

Author: Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23314 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 18:26:55 +00:00
Geert Janssens a0f4d98543 Win32: set XDG_DATA_DIRS when running the Windows installer
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23313 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 16:30:02 +00:00
Geert Janssens e39e3a2c68 Add default-to-save timeout on save-on-changes dialog
If the timeout is reached, the dialog is closed as if the user clicked on save.
The timeout period can be set via the preferences dialog

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23312 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 15:44:26 +00:00
Geert Janssens a0ff784259 Drop check for glib >= 2.14, glib >= 2.28 is already required
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23311 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 15:44:10 +00:00
Geert Janssens bcac23f96e Bug 710055 - advanced portfolio report counts capital gains split as dividend
Author: Jason McCarty <jmccarty@sent.com>
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23309 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 10:37:01 +00:00
Geert Janssens 549193a615 Set tab position when opening a new window
This code was unintentionally disabled in the preferences refactoring process

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23308 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 09:49:10 +00:00
Geert Janssens fa02c8ddb4 Elaborate a bit on why compile time XDG_DATA_DIRS is added to the mix
This was not clear from the current comment alone

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23307 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-22 09:18:43 +00:00
Geert Janssens a9b1bd1da5 Do not remove gnucash_core.c in clean rule
That file is a built source. It is already removed by the maintainer-clean
rule.

Author: Sébastien Villemot <sebastien@debian.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23302 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-19 16:52:54 +00:00
Geert Janssens 4de3cbd1ce Fix bug 708659
* Totals column moves to right hand side when periods are added
* Remove unneeded gnc_plugin_page_budget_refresh_cb

Design: in gnc_budget_view_refresh, detect the condition when periods
are added. If this is true, delete the totals column. It will be
regenerated at the end of the refresh function.

Author: R Ratliff <ratliff.bobby@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23301 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-18 14:53:51 +00:00
Geert Janssens 8c9e5c8129 Fix bug 668530
* In budget flow report options, change the maximum value
  for period to 60 (Note the FIXMEs)

Author: Robert Ratliff <ratliff.bobby@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23300 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-18 12:50:19 +00:00