Commit Graph

14047 Commits

Author SHA1 Message Date
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
Christian Stimming
bae1b4e7b6 Remove a few completely unused and weird functions from qofutils.[hc].
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20512 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:58:56 +00:00
Christian Stimming
5a313a82c2 Rename qofmath128.h header to qofmath128-p.h because those functions are only private to libqof.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20511 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:58:45 +00:00
Christian Stimming
29fce2c21c Minor code documentation update: Add explanatory comment w.r.t. MSVC.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20510 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:02:32 +00:00
Christian Stimming
cb7c59d79b Rename header <qof/qofreference.h> into <qofreference-p.h> because it is used only internally in the libqof module (in qofsession.c)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20509 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:02:21 +00:00
Christian Stimming
aaa2410309 Remove completely unused and code from libqof which also doesn't get compiled for years by now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20508 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-02 19:02:05 +00:00
Geert Janssens
683b7a6bbb Various spelling fixes in comments and translatable strings.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20507 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-01 18:08:17 +00:00
Christian Stimming
1921c342f0 Note webkit dependency in README.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20505 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-30 07:13:54 +00:00
Phil Longstaff
4e4fbf1933 During win32 build, if a component is already installed, print the installation path
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20501 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-29 01:17:00 +00:00
Christian Stimming
c6ec7e1039 Slightly lower the requirements from r20489 again so that the windows build builds.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20500 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-28 18:51:22 +00:00
Derek Atkins
95358ed1d9 Several people reporting that swig-runtime.h wasn't being created.
That's because '.' wasn't in the front of the SUBDIRS, so the Makefile
wasn't building the local targets.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20499 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-28 15:58:00 +00:00
Christian Stimming
ffa95c6c03 Bug #645518: Partly revert r20378, "Correct memory leaks found with valgrind"
The original author (Alex) asked to have this part reverted as it seems
to cause the crash explained in the bugreport, but he doesn't have time
to investigate this in detail right now.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20496 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-27 19:18:10 +00:00
Christian Stimming
f2028cf5c8 Fix glade message with unintended whitespaces.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20491 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 12:58:26 +00:00
Christian Stimming
0ab7e1762f Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20490 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 12:58:13 +00:00
Christian Stimming
7d46b5fc0e Bump required gtk version to 2.16 as discussed on gnucash-devel.
This requirement will be increased to 2.18.1 once our win32 build
is upgraded.

Following the gtk version, I increased also all the other related libraries
according to what I found here: ftp://ftp.gnome.org/pub/gnome/platform/2.26/2.26.3/sources/

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20489 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 12:50:06 +00:00
Geert Janssens
245212e514 Windows nightly build: fix webserver directory creation hack
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20487 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 10:50:18 +00:00
Christian Stimming
a5ceef49c5 Bump gnucash version to 2.4.99 to distinguish this from stable ones.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20484 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 09:23:56 +00:00
Christian Stimming
8298177be7 Remove gtkhtml-related sources completely.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20483 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 09:23:45 +00:00
Christian Stimming
51e95d1840 Disable gtkhtml choice from gnucash as we now require the CSS/javascript features of webkit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20482 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-26 08:59:07 +00:00
Christian Stimming
de7fec3b0e Bug #645640: Online transfer must not allow to change amount in second window
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20481 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-25 21:19:01 +00:00
Christian Stimming
2a380b3f78 Bug #645352: Customer and Vendor Reports should have separate income and expense subtotals per period; error if 'Amount' is not selected
Patch by Chris Curtis:

Add 'Credit' and 'Debit' columns and options; fix error if 'Amount' is not
selected.

For tax purposes it would be helpful if the customer and vendor reports
included the totals for the amounts earned, received, or billed for a given
time period.

The reports currently give a total, which is (if you're lucky) zero because the
credits cancel out the debits.  But for verifying or providing the amounts of a
1099-MISC, for instance, the report should show just the amounts credited or
debited depending on your business' accounting method.


Secondarily, if the 'Amount' column is deselected the report fails with an
error.

The attached patch both corrects this problem and adds the requested features.


The new columns are labeled simply 'Credit' and 'Debit' and do not attempt
context-aware naming ("Paid", "Billed", etc.) for simplicity and applicability
(cash versus accrual accounting).  The columns contain a running total, and the
final totals appear in a line above the Amount (running) total.

If the beginning period splits an invoice/payment pair an opening balance
appears and is accounted for in the Amount total as before, but is not included
in the Credit/Debit totals as it is outside the reporting period.  If the
Amount column is not selected for display then neither is the opening balance,
even if it otherwise would have been.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20480 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-25 19:57:20 +00:00