Commit Graph

13949 Commits

Author SHA1 Message Date
J. Alex Aycinena
186a7e621c Correct memory leak found with Valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20687 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 22:26:34 +00:00
John Ralls
28b598fc4f Reverting screwups r20683, 20684, and 20685
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20686 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:44:24 +00:00
John Ralls
07eea7f6ec revert bogus directory added in r20682
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20685 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:36:01 +00:00
John Ralls
15d4ec937d Remove account.glade, deleted in r20669, from src/gnome/glade/Makefile.am
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20684 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:28:01 +00:00
John Ralls
ef1e42b89c Provide a quartz-only Window menu instead of hacking up the X11 one; eliminates a lot of spew in the log every time the menu was redrawn.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20683 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:27:51 +00:00
John Ralls
980e8924ff Rename gtk_quartz_shutdown, gtk_quartz_should_quit, and gtk_quartz_set_menu to gnc_quartz... for better naming consistency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20682 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:27:31 +00:00
Christian Stimming
cf6b102691 Fix makefile after file removal in r20669
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20676 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:15:44 +00:00
Christian Stimming
a40d35b037 Bug #650757: Fix Easy & footer styles output wrong tags </btd> iso </b></td> preventing HTML 4.01 Transitional validation
Patch by Bert:

This patch removes the wrong </btd> tags and closes the center tag in the
footer and easy stylesheets.

Just like Bug #650163 (and related to bug #616611) the easy & footer
stylesheets:
*output </btd> tags instead of <b></td>
*are missing a </center> tag

preventing html validation.

This patch removes the intended </b> and makes a clean </td> out of the
necessary tags. The styles are set through css anyhow. Furthmore it adds the
closing </center> tag.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20675 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:14:31 +00:00
Christian Stimming
9fbeb730ea Bug #645221: Patch to show the headline as an h3 across all stylesheets
Patch by Bert:

The attached patch makes sure that the title fonts set through the options menu
behaves consistently across all style sheets.

More specifically, it patches the following style sheets:
*stylesheet-fancy
*stylesheet-footer
*stylesheet-easy

Since I don't know how to change the default values, this will change the
visual appearance until people alter the settings (e.g. move everything to
Sans, 10, bold).
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20674 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:14:20 +00:00
Christian Stimming
153182da66 Bug #620123: Patch to make account name a header cell, iso td in trial-balance
Patch by Bert.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20673 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:14:07 +00:00
Christian Stimming
51e2d50667 Bug #650598: Patches to allow scheduling of Nth Day of Month Transactions.
Patch by "Rich":

I have transactions that should be scheduled on the second Wednesday of every
month.  There is presently no way to do it.  I made changes and have tested
them.
This patch enhances the scheduled transaction feature to allow nth day of week
monthly entries. The weekend adjust spinner is ignored when an nth day of week
entry is scheduled.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20672 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:13:55 +00:00
Christian Stimming
ba96a6f331 Win32: Update aqbanking5 version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20671 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-21 20:16:57 +00:00
Geert Janssens
52a3f7077d Remove unused variable
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20670 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-21 19:37:18 +00:00
Geert Janssens
6d10f0675e Convert "Renumber Subaccounts" dialog to gtkbuilder format
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20669 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-21 19:37:10 +00:00
Geert Janssens
e70b735a7c Convert Account Filter By dialog to gtkbuilder format
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20668 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-21 19:37:00 +00:00
Geert Janssens
4b9d425f11 Spelling and other fixes in comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20666 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-20 16:36:31 +00:00
Geert Janssens
6917caf3d9 Replace obsolete gnome include with gtk include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20665 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-20 16:31:42 +00:00
Geert Janssens
431981f6a7 Stock Split Assistant - improve validation steps
This is a follow up on bug #650584 (r20662)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20664 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-20 14:04:33 +00:00
J. Alex Aycinena
9b0f629718 Correct memory leak found with Valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20663 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-19 23:20:23 +00:00
Geert Janssens
2a42972a04 Bug #650584 - Change Stock Split Druid to an Assistant
Patch by Bob

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20662 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-19 17:22:58 +00:00
Geert Janssens
fb2e4af923 Convert "Delete Account" dialog to gtkbuilder.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20661 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-19 17:22:49 +00:00
Geert Janssens
78ff087594 Delete unused dialog
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20660 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-19 17:22:39 +00:00
J. Alex Aycinena
96d93595f6 Correct memory leaks found with Valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20659 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-18 23:06:09 +00:00
Geert Janssens
6ea2852871 Fix crash when editing existing owners from the new owner tree overview pages
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20658 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-18 20:15:22 +00:00
Christian Stimming
bb18641d0c Win32: Fix compiler warnings about potentially uninitialized functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20657 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-18 18:52:32 +00:00
Geert Janssens
633015f8f3 Windows build: fix additional obsolete references to guile 1.6
Pointed out by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20656 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-18 14:56:09 +00:00
John Ralls
f25c53bf36 Bug #648554: SQL backend doesn't correctly save taxable flag on bills.
Nicely illustrates why copying and pasting code leads to errors.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20655 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-17 18:24:18 +00:00
John Ralls
db9ca59763 Force /bin/echo in git section
Apple's version of bash version 3, when called as /bin/sh, uses an internal echo command which doesn't handle the "-n" argument and contaminates the git version string. /bin/echo correctly handles the -n argument.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20654 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-17 18:24:10 +00:00
Christian Stimming
cef7c42d93 Minor doxygen improvements: The important types Split, Transaction must be mentioned in the group heading.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20652 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-16 09:13:40 +00:00
Mike Alexander
021044cf31 Fix an unintialized variable warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20651 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-16 06:09:50 +00:00
Christian Stimming
175bfb3132 Bug #602052: Fix text search options with small revisions for usability
Patch by Leigh Honeywell:

Revised patch to change the search case insensitive to a checkbox

This should work better - it now defaults to off, and is captioned "Match case"
instead of "Case Insensitive?" which I think is clearer.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20649 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-15 19:28:26 +00:00
Christian Stimming
be095393dc Bug #650241: Fix style for aging table in owner reports that has changed (after defining doctype)
Patch by Bert:

Prevent inheriting the parent tablestyle for aging table in owner-report

Bug #650139 & its patch in r20639
have some side-effects:
positive is that borders are shown for empty cell (#642222).

However, the aging table in the owner report now inherits the style from its
parent table, which means that all cells of the aging table are showing as
"centered-label-cell". This means:
*In the regular stylesheet: all text in the cells is bold
*In technicolor stylesheet: all cells have a yellow background

This patch removes the "centered-label-cell" class from the parent table cell
and shows the layout of the aging table to how it was before.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20648 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-15 19:28:16 +00:00
Christian Stimming
eeb3250927 Bug #650163: Fix Technicolor style that outputs wrong tags <btd> instead of <b><td>
Patch by Bert:

The technicolor stylesheet outputs </btd> tags where what they actually meant
to do was </b></td>. This may render report outputs wrongly in different
browsers and prevents HTML validation.

The proposed patch removes the bold tags as well (for example for the total
rows) since the font and its weight are set in the options (and thus reflected
in the CSS style). There is no need for the report to set the bold face with
the <b> tag.

In addition, the attached patch also closed the <center> tag at the beginning
of the body (also preventing validation). Note that that this tag is deprecated
for newer version of html (but will pass HTML 4.01 Transitional).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20647 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-15 19:28:04 +00:00
Christian Stimming
acac27d27a Bug #647532: Enter APR as interest rate in Loan Druid
Patch by Nick:

This patch allows the user to enter the APR for a loan rather than the simple
interest rate and then the druid will calculate the correct interest rate for
the scheduled transaction that it produces.

It includes a small change to the shed-xact.glade file which provides a
dropdown box to select the rate that has been entered and changes to
druid-loan.c which calculate the simple interest rate as the scheduled
transaction strings are generated.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20646 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-15 19:21:10 +00:00
J. Alex Aycinena
fdf8346f0b Correct memory leaks found with Valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20645 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-15 00:37:03 +00:00
J. Alex Aycinena
0e2a9d1f55 Correct memory leaks found with Valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20644 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-14 16:17:07 +00:00
Christian Stimming
e93c103475 Bug #650139: Fix missing doctype preventing HTML 4.01 transitional validation
Patch by "Bert":

This patch fixes part of the missing doctype for most reports through
html-document.scm

Exported reports lack a document type, preventing HTML validation.

When exporting this may lead browsers to incorrectly read the reports generated
by GnuCash.

The attached patch aims for HTML 4.01 transitional validation of reports in the
long term and thus adds this doctype on top of the reports. While it is far
from perfect, 4.01 Trans looks like a good first target and can be read by most
(including older) browsers.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20639 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-13 20:17:50 +00:00
Christian Stimming
e73c69fcd8 Bug #650138: Style plain: Fix incorrect <p> tag around <h3> preventing HTML 4.01 transitional validation
Patch by "Bert":

The stylesheet_plain.scm file renders the headline as a <h3> tag within a <p>
tag. This prevents several files (including and tested on owner.scm) to pass
W3C validation on HTML 4.01 Transitional.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20638 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-13 20:17:38 +00:00
Christian Stimming
71d5c7779f Bug #649992: Let owner-report aging table include due date / post date options in aging.
Patch by "Bert":

Follow up on bug:
https://bugzilla.gnome.org/show_bug.cgi?id=502066 #502066 called "The aging in
business reports should use the due date instead of the post date".

In that bug the aging reports were extended to use the due date when reporting
overdue in buckets such as Current - 0-30 etc.

This created an inconsistency since the owner reports (such as Customer Report)
did not report the Current bucket and did not include the option to select Date
Posted or Date due.

The attached patch patches the owner report to:
*Allow a choice between the use of Due Date and Date Posted
*Report with the current bucket

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20637 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-13 20:17:28 +00:00
Christian Stimming
4ccf3f3429 Minor makefile code cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20636 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-12 18:18:52 +00:00
Christian Stimming
60affe6be1 Revert r20633: Accidental double-commit
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20635 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-12 18:15:46 +00:00
Christian Stimming
0e5b962a19 Add dependency of SWIG generated file on all headers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20634 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-12 18:15:32 +00:00
Christian Stimming
6890728430 Bug #649608: Skip non-enabled Scheduled Transactions for Future Txn report
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20633 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-12 18:13:41 +00:00
Geert Janssens
fa0fe4ea88 Rename owner.ui to owner.glade
I read that .ui should be the devault extension for gtkbuilder files,
but it turns out that would conflict with qt designer files. On Fedora
(at least) only .glade is recognized as a file editable by glade-3.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20632 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-12 16:11:09 +00:00
J. Alex Aycinena
c370528908 Correct memory leaks found with Valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20631 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 22:17:56 +00:00
Geert Janssens
f20f27ba1d Disable delete owner feature for now, it causes a crash
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20630 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:52:39 +00:00
Geert Janssens
c89153a954 Fix improper qof instance conversion in owner plugin page
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20629 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:52:30 +00:00
Geert Janssens
1639d69a10 Properly handle owner add events in the owner tree view
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20628 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:52:20 +00:00
Geert Janssens
360fbc8911 Always explicitly define an owner when converting from a qof entity
This can be ownertype (none) if the entity to be converted is not a valid owner.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20627 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:52:12 +00:00
Geert Janssens
4ee58da9ba Emit qof add events when a new owner is added
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20626 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:52:03 +00:00