John Ralls
e607c93519
Clean out log files from testing the xml backend.
...
Otherwise make distcheck whines about them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23373 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-03 00:04:38 +00:00
John Ralls
839bd61560
Remove dialog-preferences2.c from POTFILES.in
...
Left over from r23331
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23372 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:51:33 +00:00
John Ralls
53c139ce0b
Skip this test when building with clang
...
See comment in test-scm-query-strings.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23371 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:51:17 +00:00
John Ralls
4431cdc67b
replace static string filename with generated one
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23370 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:51:04 +00:00
John Ralls
47928126e0
Remove dead code.
...
Unsigned ints can't be less than 0.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23369 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:50:56 +00:00
John Ralls
fcd7b2ffbb
Replace deprecated tempnam with a constant.
...
Fixes complaint in 10.9 Mac headers. Even though we were just using tempnam for convenience, we don't really need a randomized filename anyway.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23368 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:50:44 +00:00
John Ralls
d14473b707
Mac: Don't append 'Gnucash' to the 'Preferences' menu item title.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23367 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:50:32 +00:00
John Ralls
f20857edde
Avoid critical error from trying to access an uninitialized GHash.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23366 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:50:23 +00:00
John Ralls
c0bd3d03cd
Fix incorrect Enum type specifier
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23365 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:49:48 +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
Mike Alexander
1cfa86695a
Guard against bad parameter to gnc_plugin_page_invoice_summarybar_position_changed.
...
This avoids the crash in bug #710979 but doesn't fix the underlying problem.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23346 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-28 19:17:00 +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
Frank H. Ellenberger
96f52a43e6
Rename .texinfo files to .texi to get rid of the autogen.sh warning.
...
I am wondering if anybody still uses the content of this directory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23344 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-28 01:02:53 +00:00
Mike Alexander
45f18a7eff
Add --with-xdg-data-dirs to specify default search path for XDG data directories.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23343 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 21:57:42 +00:00
Mike Alexander
0c5c0c7e19
Fix a typo in --with-qt3-wizard-package.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23342 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 21:57:32 +00:00
Frank H. Ellenberger
9e4c76ece4
Bump required automake version to 1.11
...
see https://www.gnu.org/software/automake/manual/html_node/Obsolete-Macros.html
and http://lists.gnucash.org/logs/2013/10/2013-10-27.html#T16:03:07
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23341 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 20:45:13 +00:00
Mike Evans
693a2efed7
Bug 710871 - Undo my last two commits.
...
Wrong solution to the problem.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23340 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 14:58:34 +00:00
Mike Evans
7c34b75f58
Bug 710871 - Remove errant $.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23338 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-26 09:28:22 +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
Christian Stimming
4455afbf04
Bug #710739 : Fill in field for remote bank account information also for SEPA transfers.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23329 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 19:02:20 +00:00
Mike Evans
906e3509cd
Bug-710871 Fix for Python site-packages not found when not installed to default location
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23328 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-25 15:25:25 +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