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
Geert Janssens
16cc35f454
Fix doxygen comments
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20625 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:51:54 +00:00
Geert Janssens
8183cf116d
Owner tree: fix crash when modifying owner name
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20624 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:51:45 +00:00
Geert Janssens
6310fc2040
Add a page/tab to display an owner tree with some basic toolbar buttons and menus
...
The page will list vendors, customers or employees, can be sorted and filtered so far. But attempts to edit any owner
will cause a crash for now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20623 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:51:36 +00:00
Geert Janssens
19b60850bf
Add gncOnwer* convenience wrappers for BeginEdit, CommitEdit and Destroy. This allows to begin edit, commit edit or destroy an owner without knowing its type.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20622 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:51:27 +00:00
Geert Janssens
dea629301a
Refactor gncOwnerCreate/Destroy into gncOwnerNew/Free to avoid confusion with similar gnc<ownertype>Create/Destroy functions, like gncVendorCreate, gncCustomerDestroy and so on. The type specific functions add or delete the owner from the book, while the generic one only allocated memory or freed memory to hold a generic owner. Changing the name makes it clear the generic and specific functions are not related. Note: this change may require a clean rebuild. I'm not sure if swig picks this up automatically.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20621 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:51:17 +00:00
Geert Janssens
0acd9a413e
Add Tree view widget for owner objects, not used yet
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20620 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:51:03 +00:00
Geert Janssens
10fe706b88
Add convenience function to set name of an owner regardless of its type
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20619 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:50:54 +00:00
Geert Janssens
c39a9a4c59
Add generic owner setter function for the active property
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20618 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:50:45 +00:00
Geert Janssens
50313596b4
Add owner tree model similar to accounts tree model. This is not used yet.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20617 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:50:34 +00:00
Geert Janssens
31561fdffc
gncOwner convenience functions: jobs do have an active state, fix the getter function. At the same time, move the Job Active getter with the other getters. This is why I missed it the first time.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20616 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:50:25 +00:00
Christian Stimming
4878672655
Win32 build: Revert r20614 libxml2 version update because the win build seems to stop due to bad linker flags in libxml-2.0.pc.
...
Also, fix the pkgconfig files unconditionally.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20615 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-10 11:05:18 +00:00
Christian Stimming
5069a48be5
Win32 build: Update libxml2 to slightly more recent version. Add version check.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20614 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-08 20:05:43 +00:00
Christian Stimming
65cb58e606
Win32 build: Fix pixman URL (old version has disappeared from URL)
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20613 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-08 20:05:33 +00:00
Christian Stimming
06ecbced10
Bug #649608 : Skip non-enabled Scheduled Transactions for Future Txn report
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20612 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-07 16:26:25 +00:00
J. Alex Aycinena
b8e8f51330
Improve txf scheme routines to handle invalid tax-entity-types more gracefully.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20611 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-06 00:02:54 +00:00
Christian Stimming
845fe0d435
Cutecash: Add cmake files for import module and for aqbanking module.
...
However, this couldn't really re-use all non-GUI code because most code still
contains minor gtk bits here and there. But in the long run much more
code might be available.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20610 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-03 20:08:34 +00:00
Christian Stimming
7782063858
Cutecash: Fix guile check.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20609 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-03 19:24:49 +00:00
J. Alex Aycinena
32dd7413dd
Add validation of tax-entity-type in book relative to locale-based tsx.scm
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20608 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-03 00:06:11 +00:00
Christian Stimming
142bd965f0
Win32 build: Add missing include flags when building aqbanking5.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20606 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-01 21:03:29 +00:00
Christian Stimming
ab9fb65b31
Cutecash: Use pkg-config lookup of guile instead of custom macro.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20605 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-01 20:56:33 +00:00
Christian Stimming
d03a874d82
Win32 cutecash: Add missing precompiler flag
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20604 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-01 20:56:22 +00:00
Christian Stimming
29ff879ca7
Win32 build: libxslt requires gnutls includes.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20603 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-29 20:09:02 +00:00
Geert Janssens
7f58809b3b
Revert "Bug #436479 - Gnucash doesn't display the data file name in the title"
...
This commit will cause a segfault when selecting File->New.
This reverts commit f27c9a8ca95391acafed58d3933f6e9661755d24.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20600 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-29 16:35:42 +00:00
Geert Janssens
e97beabdea
Bug #436479 - Gnucash doesn't display the data file name in the title
...
bar.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20599 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-29 14:31:59 +00:00
Geert Janssens
fa55da89a1
Restore save after new account hierarchy as submitted by Robert Fewell
...
in r19377. This was accidentally removed during the conversion from
GnomeDruid to GtkAssistant
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20598 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-29 09:44:37 +00:00
Geert Janssens
5d40886086
Fix guile load path for guile 1.8
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20597 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-29 07:48:51 +00:00
Geert Janssens
13ec4a2d61
Remove unwanted use of G_MODULE_EXPORT again from the new gtkbuilder
...
based widget callback routines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20596 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-26 18:42:57 +00:00
Christian Stimming
b479a3f0fb
Win32 build: Additional tweaks for easier cross-compiling.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20595 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-23 20:33:06 +00:00
Christian Stimming
0bccae068f
Win32 build: Add version checks for guile and libxslt.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20594 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-23 20:32:56 +00:00
Christian Stimming
98f5a13059
Win32: Undefine G_MODULE_EXPORT in our internal libraries. Please do not use it.
...
The rest of gnucash relies on *everything* being exported. This is done by
mingw's linker, but only if no symbol at all was marked as being exported.
As soon as at least one symbol is manually marked as export, nothing except
those marked symbols are exported, which will immediately lead to
"unresolved symbols" in the win32 build.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20593 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-23 18:58:43 +00:00
Geert Janssens
4f94dd4b5c
Convert Account dialog from libglade to gtkbuilder
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20592 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-23 14:52:54 +00:00
Geert Janssens
5ea0c816cf
Refactor utility function to allow merging multiple (glade) objects together in one gtkbuilder object
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20591 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-23 14:52:42 +00:00
Christian Stimming
1da22d71a7
Win32 build: Tweak webkit.pc prefix path to match the installation.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20590 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-23 08:42:20 +00:00
Christian Stimming
7d2d9ece00
Win32: Change filename case sensitivity because this will match on cross-compile Linux as well.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20589 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 19:59:24 +00:00