Commit Graph

13894 Commits

Author SHA1 Message Date
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
Christian Stimming
62cde843b6 Win32 build: Remove manually setting guile variables because pkg-config finds them correctly now even in cross-compile.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20588 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 19:59:13 +00:00
Christian Stimming
7cd3cd6a6b Win32 build: Fix aqbanking version lookup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20587 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 19:44:00 +00:00
Christian Stimming
4359381696 Win32 build: GUILE must be in PKG_CONFIG_PATH
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20586 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 19:43:50 +00:00
Christian Stimming
85e77079b7 Replace guile configure check by PKG_CHECK_MODULE so that it also works in cross-compiling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20585 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 19:43:39 +00:00
Christian Stimming
85019c5b80 Win32 build: Add linker directories for xslt and pthread.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20584 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 19:20:00 +00:00
Christian Stimming
4ede8be244 Win32: another try to have gnucash pick up the correct libdirs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20583 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 12:56:07 +00:00
Christian Stimming
46ddf9c873 Win32 build: Fixes for cross-compiling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20582 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 12:52:43 +00:00
Christian Stimming
80c7c883b8 Win32 build: Potentially fix another typo?
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20581 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 12:27:47 +00:00
Christian Stimming
2b5322f185 Win32 build: Enable aqbanking5 instead of aqbanking4, which is possible because of updated gtk.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20580 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 12:27:37 +00:00
Christian Stimming
88ffc5cd5f Win32 build: Fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20579 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 12:11:07 +00:00
Christian Stimming
bf6a2ea7b1 Win32 build: Add missing LDFLAGS for correct usage of new webkit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20578 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 10:07:51 +00:00
Christian Stimming
b5674ed490 Bug #646729: Create the lockfile with at least read write user permissions
Patch by Jim Radford:

My backups fail when they attempt to read a GnuCash LCK or LNK file because
they are created without read permissions.  As best I can tell it can't hurt to
create them with user read permissions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20576 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-21 10:54:39 +00:00
Christian Stimming
9f747d167f Win32 build: Add version check for webkit
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20575 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-21 10:53:33 +00:00
Christian Stimming
1e180fe87b Bug #647945: Add sanity check to hopefully fix crash when running custom reports
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20570 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-19 20:15:48 +00:00
John Ralls
0470ac59d2 Bug #646268: Fix minor error on r20565
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20569 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-19 19:12:59 +00:00
Christian Stimming
944fe15782 Bug #613502: Summary bar total display uses wrong currency
Patch by Ajay Thomas:

I have attached a proposed patch for this bug.
It would work in all cases wherein the user enters the currency of the book to
be different from the default report currency.

For Example:

Suppose the user set the default report and account default currency (through
GnuCash preferences dialog) to be USD.
If user creates a new account hierarchy (new book) with the currency as INR,

The summary bar would be displayed as:
-Grand Total in INR
-TOTAL_SINGLE_MODE in INR ( any accounts within the book which has amount in
INR)
-OTHER CURRENCIES (if accounts within the book belong to other currencies)

The new account hierarchy dialog creates a new book or adds accounts to an
already existing account tree.

This summary bar will display the book default currency for all books created
after applying the patch. My change sets the currency of the new book as the
commodity of the root account of the book.

Earlier, the user entered currency for the newly created book was not saved as
an attribute in the book or root account.

I have tested the patch with 3 test cases by:
1. creating a new book with currency different from the default currency ( both
account default and report default currency within the report) .
2. using an existing book to setup an account hierarchy which sets a new
default currency for the book ( it merges the existing account tree with the
newly created book)
3. Already existing books summary bars work the same way as before.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20568 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-19 12:15:46 +00:00
Christian Stimming
4046046172 Win32 build: Update libofx version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20567 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-19 11:32:51 +00:00
Christian Stimming
1a95d48ce1 Bug #644897: Correctly link in libgncmod-report-gnome.la to avoid linking against an installed version.
Also, sort the linker libraries by dependencies.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20566 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-19 09:22:15 +00:00
Christian Stimming
2972057868 Bug #646268: Fix missing GWEN_SYNCIO initialization.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20565 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-19 08:05:04 +00:00
Phil Longstaff
22ddb018de Modify win32 component directories - remove remaining version numbers from directory names. I'd like
to add them back, eventually, but this matches the naming used when I built the webkit 1.2.7 zip.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20561 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-17 16:42:57 +00:00
Phil Longstaff
13923b5f27 Update win32 components:
Gtk to 2.24
Webkit to 1.2.7
Others to latest version

install-impl.sh now has option to build webkit if BUILD_WEBKIT_FROM_SOURCE is defined as "yes".


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20560 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-12 23:52:51 +00:00