Commit Graph

14117 Commits

Author SHA1 Message Date
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
Christian Stimming
b47790dbe5 Bug #647360: Invoice entries in expense voucher are created in old voucher, not in new one.
It worked fine for customer invoices, and vendor bills, but not
expense vouchers, where the feature was broken all along.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20554 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-10 20:18:38 +00:00
Phil Longstaff
8a97eb1414 Replace use of deprecated g_strcasecmp() by g_ascii_strncasecmp()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20553 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-10 18:52:27 +00:00
Phil Longstaff
abd593e8f0 Spell the function name correctly. Sigh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20552 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-10 00:08:46 +00:00
Phil Longstaff
9a10c8f366 Remove direct access to window inside GtkWidget - use accessor instead
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20551 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-09 23:34:57 +00:00
Christian Stimming
1b3df5c6ac Bug #647316: Fix crash when deleting custom report if no backup file existed.
Before deleting the backup file by (delete-file), it must be checked
whether the to-be-deleted file exists, otherwise the guile procedure
will crash.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20549 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-09 21:34:13 +00:00
Christian Stimming
a8ea95377b Bug #647242: Fix broken averaging for quarter or half-year step size
Patch by "joshua":

I think the problem is in the file date-utilities.scm in the define statement
starting on line 191. There were no options for TwoWeekDelta, QuarterDelta, or HalfYearDelta.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20547 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-09 18:44:50 +00:00
Geert Janssens
9a92f5b4a6 Bug #626408 - Gnucash File Open Error when double-clicking the File
(on Windows XP)
From the GOptions documentation I suspect this bug is the result of
setlocale being called too late in our startup process.
(http://developer.gnome.org/glib/unstable/glib-Commandline-option-parser.html)
If this fix actually works, it could be a candidate for
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20546 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-09 13:28:10 +00:00
Geert Janssens
a48eabebda Bug #628342 - Quick open on File menu deleted if failed
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20540 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-06 21:05:38 +00:00
Geert Janssens
0fa543901e Bug #629156 Recently Used Filenames incorrectly displayed
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20539 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-06 21:05:30 +00:00
Geert Janssens
f8294efc5e Windows build: fix logfile naming for tag builds
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20538 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-06 16:02:58 +00:00
Christian Stimming
a1f90ceba1 Add useful error message when running gnucash from an incomplete installation (such as from the build directory).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20537 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-06 10:20:32 +00:00
Geert Janssens
b82aad54b6 Use quotes instead of <> to include project local header files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20536 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-05 20:18:45 +00:00
Geert Janssens
99fa06e61b Fix currency entry alignment in hierarchy assistant
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20535 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-05 19:56:02 +00:00
Geert Janssens
994d04a81c Remove gnome dependency
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20534 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-05 19:55:53 +00:00
Geert Janssens
3a809cfc98 Replace Account Hierarchy setup druid with gtkbuilder compatible gtkassistant
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20533 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-05 19:55:45 +00:00
Geert Janssens
6107870317 Provide gtkbuilder equivalents for some libglade based support functions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20532 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-05 19:55:37 +00:00
Geert Janssens
57e9c00db3 Introduce a new directory to store all gtkbuilder compatible ui files
It already holds a first set of files that were converted from libglade
to gtkbuilder.
CAUTION: not all the GUI objects in these files work properly already !
Glade (the tool) simply deletes all widgets that are not supported
by gtkbuilder during the conversion. These will all be fixed gradually
while the corresponding calls in the C code are converted.

The idea is that with each GUI element that gets fixed in the
gtkbuilder file, and subsequently called from C, the old
GUI element is removed from the corresponding libglade file until all
the libglade files are empty and can be removed.
This way the conversion can be done gradually and both methods can
coexist until all widgets and code are converted.

This first commit for example contains a converted account hierarchy setup
assistant, but not yet the code to use it, so the old druid is still in
the libglade file. Once the code can succesfully use the new assistant
from the gtkbuilder file, the old druid will be removed from the
libglade file.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20531 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-05 19:55:25 +00:00
Geert Janssens
c0bff17fc6 Add New Account Hierarchy assistant to replace the druid
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20530 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-05 19:55:16 +00:00
Geert Janssens
b7bbea239b Add assistant-utils, equivalent of druid-utils to be used with
GtkAssistant based dialogs.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20529 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-05 19:55:08 +00:00
Christian Stimming
9abd9f6086 Remove some more functions from libqof which are unused and look weird.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20526 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-04 09:25:10 +00:00
Christian Stimming
fb27768aea Fix warning about NULL guid_list in xaccQueryAddAccountGUIDMatch, which caused some total amounts in reports to disappear.
Apparently gnc:account-get-trans-type-splits-interval didn't watch out
for empty lists of accounts, and the resulting split list somehow
was bogus. Now that we check for empty account list, all is fine again.
This was broken for some months by now, maybe since r20404?

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20525 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-03 20:16:47 +00:00
Christian Stimming
cc632cff24 Sort Makefile/CMakeLists alphabetically.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20518 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 20:18:05 +00:00
Christian Stimming
c97da5c431 Remove another unused and un-compiled file from libqof. Now we got all of them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20517 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 20:17:53 +00:00
Christian Stimming
79e7c77b39 Remove a set of kvp_frame functions which are unused throughout gnucash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20516 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 20:17:42 +00:00
Christian Stimming
82167d6a78 Revert r20509, "Rename header <qof/qofreference.h> into <qofreference-p.h> "
Somehow I missed the reference from src/engine/test/test-recursive.c.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20515 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:59:31 +00:00
Christian Stimming
5322a3080f Remove the qof_book_merge code because it is unused in gnucash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20514 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:59:20 +00:00
Christian Stimming
cb05504b72 Make some functions static which are used only inside libqof.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20513 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:59:06 +00:00