John Ralls
28f9c45de1
[GSOC 2011 Unit Testing] Test QofObject.
...
Author: Muslim Chochlov
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21126 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-07 21:30:17 +00:00
Geert Janssens
269102cde7
Fix a weird include
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21121 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-07 09:15:30 +00:00
Geert Janssens
7519d18404
Bug #655518 Migrate Price / Securities from GladeXML to Builder
...
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21120 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-07 09:15:12 +00:00
Geert Janssens
d689c0ecd0
Use separate glade file per assistant
...
Patch by Bob
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21119 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-07 09:14:51 +00:00
Geert Janssens
4ff7cb3f5c
Bug #653109 Change Loan Druid to an Assistant
...
Patch by Bob
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21118 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-07 09:14:36 +00:00
Geert Janssens
42cf215023
Add missing include file
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21117 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-07 09:14:22 +00:00
Geert Janssens
85c8cc4686
Bug #655901 - Fix build with guile 2.0
...
Patch by Petr Gajdos
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21108 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-04 09:41:04 +00:00
John Ralls
a71070277c
Testing: Fix compile error introduced in r20928
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20939 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-18 12:00:44 +00:00
John Ralls
2a565cf498
Testing: Fixed test_reset_called() return type
...
Author: Muslim Chochlov
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20938 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-17 21:22:11 +00:00
John Ralls
ed13b73866
[GSOC 2011 Unit Testing] Test KVPFrame.
...
Author: Muslim Chochlov
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20937 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-17 21:21:59 +00:00
John Ralls
1ed80def56
Formatting Fixes with astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20936 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-17 17:35:30 +00:00
John Ralls
2c8bf7be19
[Engine Test] Fix parameter setup error detected with unit test.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20935 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-17 17:35:20 +00:00
John Ralls
e7534148cc
Testing: Add some convenience functions to make it
...
easier to test callbacks and to intercept and
ignore or test expected error log messages.
Much lifted from Muslim's test-qofbook.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20928 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-14 17:06:13 +00:00
John Ralls
4dc91e4441
Testing: Fix an error in the GNC_TEST_ADD macro that
...
ate user data for the fixture.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20927 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-14 17:06:04 +00:00
Micha Lenk
5f0fe0115a
Fix french translation error: 'Case Insensitive?' -> 'Ignorer la casse?'
...
This was reported some time ago in a Debian bug http://bugs.debian.org/549479
BP
--Cette ligne, et les suivantes ci-dessous, seront ignorées--
M po/fr.po
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20926 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-13 22:10:22 +00:00
J. Alex Aycinena
8668a07796
Correct memory leak found with Valgrind.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20886 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-10 02:02:38 +00:00
Geert Janssens
13c6dd5774
Remove local-only file frop POTFILES.in
...
This wasn't meant to be added
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20850 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-08 10:08:54 +00:00
John Ralls
c40cdc2300
[GSOC2011 Unit Testing] Unit tests for QofInstance.
...
Author: Muslim Chochlov
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20811 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-01 05:33:41 +00:00
John Ralls
04a90d6098
Revert "[GSOC2011 Unit Testing] Unit tests for QofInstance: Incomplete
...
changeset."
This reverts commit c7b6b45e9e97f210d2bb145ef2e355f1c660d35f.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20810 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-01 04:56:47 +00:00
J. Alex Aycinena
920176bca2
Reverse changeset 20663; wrong place to correct memory leak found with Valgrind.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20809 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-01 03:50:58 +00:00
John Ralls
e245eeeecc
[GSOC2011 Unit Testing] Fix memory error by not trying to test pointers in deallocated objects.
...
Author: Muslim Chochlov
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20808 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-30 17:06:47 +00:00
John Ralls
ea7a20b4d5
[GSOC2011 Unit Testing] Unit tests for QofInstance.
...
Author: Muslim Chochlov
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20807 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-30 17:06:35 +00:00
John Ralls
6909c1697b
Bug #653056 : Fix menu accelerators not working, crash on save-while-quitting.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20804 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-27 18:12:17 +00:00
Christian Stimming
64418350b7
Clarify documentation of gnc_account_get_children() vs. xaccAccountGetSplitList().
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20803 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-27 08:02:15 +00:00
Christian Stimming
378a153d16
[Cutecash] Add predicate of whether a file is open.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20802 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-27 07:23:59 +00:00
Geert Janssens
063f4f9233
Bug #646541 - new invoice line items default to invoice open date
...
instead of current date
This commit partially reverts the changes in r19134 so that
customer invoices and employee vouchers default to the current date.
Vendor bills still default to the invoice open date.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20800 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-25 14:31:26 +00:00
Geert Janssens
6f87d66b11
Fix report reload and options change that got broken by the previous
...
commit.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20798 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-23 14:33:20 +00:00
Geert Janssens
4ff38781b4
Force custom url handlers to lowercase to deal with Webkit 1.4's case
...
sensitivity.
For more details, consult this Fedora bugreport:
https://bugzilla.redhat.com/show_bug.cgi?id=712268
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20796 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-23 09:37:25 +00:00
Geert Janssens
6b11ff5f20
Bug #652257 - Memory leak in gnc-file.c
...
Patch by Tim M
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20792 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-21 12:18:54 +00:00
Geert Janssens
58f8ff2352
Bug #652435 - Fancy invoice export has <generic> tags in it preventing
...
html validation
Patch by Bert Claesen
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20786 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-21 09:51:31 +00:00
Geert Janssens
6c88ff8401
Bug #652377 - XHTML 1.0 Transitional compliance for reports
...
Patch by Tim M
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20785 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-21 09:51:22 +00:00
Geert Janssens
025314797e
Bug #632931 - Advanced Portfolio: new income column shows negative
...
amount
Patch by Sebastien Alborini
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20784 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-21 09:51:14 +00:00
Geert Janssens
755a736bd3
Bug #651889 - Using trading accounts, new non-expanded trading transaction shows inverted rates in exchange dialog
...
When using trading accounts, the exchange rate dialog has a slightly
different behavior. This patch fixes the behavior for transactions
that are created in-line and are not expanded (single-line).
It does not affect the expanded transactions or transactions created
in the new transaction dialog.
Patch by Mathieu De Zutter
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20783 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-21 09:51:04 +00:00
Geert Janssens
9c49e36ece
Bug #651992 - Exported invoices do not render correctly in Firefox
...
Patch by Bert Claesen
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20782 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-21 09:50:54 +00:00
Geert Janssens
8d6da53645
Remove unused dialog
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20781 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-20 21:34:52 +00:00
Geert Janssens
59e906de16
Convert loan repayment calculator to gtkbuilder format
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20780 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-20 21:34:41 +00:00
Geert Janssens
fbf56512b5
Account Hierarchy assistant: correct page type
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20779 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-20 21:34:32 +00:00
Geert Janssens
cdc5f4a1f8
Convert commodities dialog to gtkbuilder format
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20778 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-20 21:34:22 +00:00
Christian Stimming
dd3cdd66db
[Cutecash] Set QCoreApplication properties used by QSettings in a single place, constructor.
...
Patch by Nitish Dodagatta.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20777 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-20 18:55:17 +00:00
Geert Janssens
8585a33c31
Owner overview: use consistent action names
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20776 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-19 22:06:13 +00:00
Geert Janssens
08e171dc25
Owner Tree: add menu to open owner report (Vendor/Customer/Employee)
...
And some small tweaks to the owner listing report
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20775 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-19 21:31:57 +00:00
Geert Janssens
31dab0e932
Owner report: add link to edit options in case of error
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20774 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-19 21:31:48 +00:00
Geert Janssens
e1a01533c8
Whitespace cleanup
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20773 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-19 21:31:39 +00:00
Geert Janssens
c0d5d30cb5
Factor out some common report code
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20772 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-19 21:31:30 +00:00
John Ralls
ed732e6a39
Unit test QofBook
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20769 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-18 23:20:30 +00:00
John Ralls
fb0f27b043
Add unit test utility macros
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20768 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-18 23:20:20 +00:00
Geert Janssens
9d960ec49c
Convert Autoclear dialog to gtkbuilder with some additional code cleanups
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20767 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-18 15:18:22 +00:00
Geert Janssens
a95e09b6e5
Owner Tree: add vendor/customer listing buttons/menu items
...
These are shortcuts to the payable/receivable aging reports with
slightly different default presets.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20766 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-18 12:59:36 +00:00
Geert Janssens
a51d903feb
Owner tree: define better set of default visible columns
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20765 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-18 12:59:27 +00:00
Geert Janssens
e09efb181a
Owner page: double click now opens edit window, name no longer
...
editable in place.
Regarding the latter, changing names is rarely done, so it only leads
to confusion if the name field changes to editable by accidentally
clicking twice on it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20764 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-16 16:21:52 +00:00