Commit Graph

14178 Commits

Author SHA1 Message Date
Christian Stimming
1f9daad76f (cppcheck) Fix "error: Mismatching allocation and deallocation: symbol"
Patch by Aurimas Fišeras.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21196 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-21 19:41:49 +00:00
Geert Janssens
23a8ad4194 Bug #656752 - Migrate Budgets from GladeXML to Builder
Patch by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21195 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-20 13:29:03 +00:00
John Ralls
f212fcbc7e Delete unused Period.c and ifdeffed-away call to it
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21194 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-20 03:45:17 +00:00
John Ralls
71cd886e99 Remove unused functions from kvp_frame
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21193 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-20 03:45:08 +00:00
John Ralls
b3c49d4514 Delete unused functions from qofinstance.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21192 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-20 03:44:59 +00:00
John Ralls
8d53e67560 Delete unused functions from qofbook.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21191 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-20 03:44:50 +00:00
John Ralls
0ac8f02da4 Delete unused QofInstance copy functions from qofsession.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21190 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-20 03:44:40 +00:00
Geert Janssens
98f42d2ecd Owner balances: flip sign
Now a positive balance means, amount still due, a negative balance
means overpayment. This aligns with other uses of balances like in the
"Bills Due Reminder" dialog

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21186 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-17 10:54:41 +00:00
Geert Janssens
5e02450258 Fix crash in invoice payment introduced in commit 21181
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21185 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-17 10:54:27 +00:00
Geert Janssens
1b7bd7b3e9 Implement a balance for owners and show it on the owners view page
The Balance column is not visible by default, but can be activated
with the blue arrow in the top-right of the page.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21182 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-13 15:33:42 +00:00
Geert Janssens
49a02f99ae Move some functions to better locations
- two functions in business-gnome-utils weren't gui related functions
- invoice payment should be in gncOwner as already stated in the sourcefile

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21181 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-13 15:33:27 +00:00
Geert Janssens
4fadc8eaf2 Spelling corrections in comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21180 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-13 15:33:17 +00:00
Geert Janssens
4a24dd94b7 Fix critical error
This patch fixes a critical error regarding the color tabs when trying
to display the search results and also on the scheduled transactions
template.
Patch by Robert Fewell
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21179 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-13 15:33:07 +00:00
Geert Janssens
c4c54ab4a4 Bug #656422 Migrate Search from GladeXML to Builder
Patch by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21178 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-13 15:32:55 +00:00
Geert Janssens
177a1fd07b Bug #542020 invoice/bill payment dialogue: automatic account as
default

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21166 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-11 20:35:31 +00:00
Geert Janssens
36d1fcfd69 Spelling and comment improvements
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21165 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-11 20:35:22 +00:00
Geert Janssens
fb5ede9021 Restructure file to make it easier to read
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21164 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-11 20:35:12 +00:00
Geert Janssens
a62d59708c Update POTFILES.in based the last few commits
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21163 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-11 20:26:16 +00:00
Geert Janssens
ca7cdce029 Rename gnome-utils gtkbuilder files to match the source file they are
called from
Patch by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21162 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-11 20:26:04 +00:00
Geert Janssens
7d603dbdb0 Rename gnome gtkbuilder files to match the source file they are called
from
Patch by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21161 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-11 20:25:48 +00:00
Geert Janssens
c4ec5ff54b Bug #656174 Migrate Cheque / date from GladeXML to Builder
Patch by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21160 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-11 20:25:27 +00:00
Cristian Marchi
166b3494a1 Last stable release is GnuCash 2.4.7.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21156 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-11 08:32:10 +00:00
Geert Janssens
78056d6e92 Rename lot viewer related files to be more in line with other dialogs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21148 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-10 21:10:42 +00:00
Geert Janssens
185ffe0194 Convert lot viewer GUI to gtkbuilder format
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21147 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-10 21:10:29 +00:00
Geert Janssens
540a0df4e3 Remove deprecated clist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21146 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-10 21:10:03 +00:00
Cristian Marchi
5a5da3e6de Fix another typo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21144 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-10 15:17:07 +00:00
Cristian Marchi
0aba835a2b Fix a typo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21143 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-10 14:42:25 +00:00
Geert Janssens
a1f8314768 Update POTFILES.in after recent glade to gtkbuilder conversions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21142 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-10 08:25:55 +00:00
Geert Janssens
8a7c5d622c Add note for qofmath128.c include in the source file itself
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21130 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-08 14:31:23 +00:00
Christian Stimming
bd71091499 Minor documentation clarifications.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21128 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-08 07:00:05 +00:00
Christian Stimming
8c5f6ebf5d Revert r21121, "Fix a weird include", and improve documentation of that.
Note: The qofmath128 functions are used mostly here and almost
nowhere else. Hence, we inline the C code directly into here so
that the compiler can potentially inline the code as-is and speed
up the gnc-numeric.c functions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21127 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-08 06:59:54 +00:00
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