Christian Stimming
1961766c99
Re-indentation of source code.
...
As usual, re-indentation was done using astyle-1.24 using the following options:
astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21205 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-22 07:10:56 +00:00
John Ralls
2e9e5ac9e0
Missed a free in main_window_update_page_name
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21204 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-22 03:58:20 +00:00
John Ralls
c318a112a5
Delete qofinstance_gemini and all related functions; they were left over from the clone-the-book-when-closing code abandoned in 2005
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21203 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-22 03:58:10 +00:00
Christian Stimming
b8fdfb834b
(cppcheck) fix two possible memory leaks
...
Patch by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21202 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-21 19:42:55 +00:00
Christian Stimming
e256168765
(cppcheck) Fix "error: Memory leak: bufp"
...
Patch by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21201 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-21 19:42:44 +00:00
Christian Stimming
8b3650e07f
(cppcheck) Fix a possible memory leak
...
Patch by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21200 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-21 19:42:34 +00:00
Christian Stimming
73e9f51253
(cppcheck) Remove redundant null check
...
Patch by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21199 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-21 19:42:23 +00:00
Christian Stimming
4c643a3435
(cppcheck) Fix "error: Memory leak: gea"
...
Patch by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21198 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-21 19:42:10 +00:00
Christian Stimming
6f1b6a5fcd
(cppcheck) Fix "error: Memory leak: msg"
...
Patch by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21197 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-21 19:42:00 +00:00
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