Commit Graph

14096 Commits

Author SHA1 Message Date
Geert Janssens
31a79474df contrib: add license information for style sheets
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21214 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-23 12:01:29 +00:00
Geert Janssens
46b04ee5ec contrib: update/add README files for style sheets
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21213 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-23 12:01:19 +00:00
Geert Janssens
81a411b880 contrib: add a style sheet to create an account hierarchy template from a GnuCash file
Add an XSLT style sheet that takes an existing (uncompressed) GnuCash
file and creates an account hierarchy template from it. Takes
parameters for the account hierarchy name, short, and long
description.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21212 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-23 12:01:08 +00:00
Geert Janssens
ce8222acb9 contrib: add an XSLT style sheet to create an account list
Add a simple XSLT style sheet that takes an (uncompressed) GnuCash
file or template, and generates a comma-separated list of account
numbers, names, and types.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21211 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-23 12:00:54 +00:00
Geert Janssens
7595b840af Bug #656786 - Allow splits to be added to/removed from lots in lotviewer
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21210 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-23 08:26:14 +00:00
John Ralls
40c50a3672 Fix tab-indent in gnc-main-window.c, reverting r21207
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21209 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-22 23:45:30 +00:00
John Ralls
9d9db4cc40 [Decruftification] Combine xaccCloneAccountSimple and
xaccCloneAccountCommon into a single xaccCloneAccount

Since removing the qofinstance-gemini xaccCloneAccount means that the
only user of xaccCloneAccountCommon is xaccCloneAccountSimple, which
adds only one line beyond calling xaccCloneAccountCommon, combine them
into a single function, called xaccCloneAccount (no need to make it
simple since it's the only one.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21208 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-22 18:19:03 +00:00
John Ralls
699271afb3 Missed a free in main_window_update_page_name
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21207 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-22 18:18:53 +00:00
Christian Stimming
ad1daba095 Remove Period.[hc] file also from cmake files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21206 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-22 07:12:37 +00:00
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