Derek Atkins
35808690de
Des Dougan's patch to let the user choose the fancy-stylesheet image alignment. Fixes #314048 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13240 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 19:32:06 +00:00
Neil Williams
92a82737df
ChangeLog for my commits today
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13239 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 18:56:10 +00:00
Neil Williams
d7309a5261
Ensuring get_random_double returns at least some decimal places more often than not.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13238 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 18:55:36 +00:00
Derek Atkins
1e2c372b0a
Brian's patch to fancy-invoice to parameterize everything.
...
* src/business/business-utils/business-prefs.scm:
* src/business/business-utils/business-utils.scm:
Add a bunch of new File -> Properties to describe the business.
* src/business/business-reports/fancy-invoice.scm:
Parameterize all the various settings in the report so
they can all be set through the options or file->properties
settings. Patch by "Brian", but slightly modified to not
hard-code some strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13237 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 18:31:30 +00:00
Neil Williams
80b8819625
Improve QOF_TYPE_COLLECT handling and recursive copies
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13236 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 18:28:56 +00:00
Neil Williams
87c16f98cb
Check that files can be opened before
...
trying to work out their type. Use new QofBackendError value
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13235 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 18:25:23 +00:00
Neil Williams
1853bee97c
New QofBackendError code if files cannot be read
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13234 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 18:24:59 +00:00
Derek Atkins
dd03084db4
Rework some APIs for the fancy-invoice set the client name font. #327545 .
...
* src/business/business-core/business-core.scm:
add gnc:owner-get-name-dep and gnc:owner-get-address-dep APIs
* src/business/business-reports/fancy-invoice.scm:
Change the font of the client company name to match the
owner company name. Fixes #327545 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13233 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 16:16:20 +00:00
Derek Atkins
6dacd59a05
rename gnc:owner-get-address-dep to gnc:owner-get-name-and-address-dep
...
in preparation of some other patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13232 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 15:28:58 +00:00
Christian Stimming
4f50bbc80b
Updated German translation - 3500 out of 3657 done.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13231 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 11:13:28 +00:00
Christian Stimming
c5dd052244
String cleanup; fix manual emulation of ngettext; fix some memory leaks due to g_strconcat, but not yet all
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13230 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 11:10:43 +00:00
Chris Shoemaker
465a454667
Use the price nearest to midday to get the value in the default currency.
...
Patch by Mike Alexander <mta.umich.edu>, closes bug #330361
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13229 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 05:21:09 +00:00
Chris Shoemaker
358f677a4b
Take #2 : Fixups for two botched gnc-plugin-page-report.c commits tonight.
...
1) Correctly handle gc protection for non-boolean 'edited_reports' field.
2) Pass list argument instead of immediate to gfec_apply.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13228 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 04:13:29 +00:00
Chris Shoemaker
0dccf4e0cb
Gracefully handle errors in report options.
...
This prevents the whole program from crashing when unrecognized report
options are used.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13227 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 02:40:35 +00:00
Derek Atkins
c9bef42eda
Um, quote the sed script so it actually works right. Oops.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13226 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 01:59:02 +00:00
Derek Atkins
75ef10c0d1
rework the initialization to require autoconf-2.59 and automake-1.9
...
parse the version out of the AC_PACKAGE_VERSION macro, so
we still only need to set it in one place. This should
solve a number of old-automake related problems people have seen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13225 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 23:24:01 +00:00
Derek Atkins
87fd8b71dc
set the document title properly AFTER type-str is set.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13224 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 22:50:28 +00:00
Chris Shoemaker
c1e65f6925
gc_protect SCM reports while they are in the GHashTable.
...
Also, use gfec to be a bit more defensive about potential errors while
running a report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13223 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 21:07:32 +00:00
Derek Atkins
a52e1d9e13
don't need to scm_gc_{un,}protect_object on SCM_BOOL_F.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13219 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 20:22:40 +00:00
David Hampton
2adb2b51ca
Patch from Tommi Vainikainen <tvainika@niksula.hut.fi> to remove
...
extraneous line breaks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13218 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 20:08:30 +00:00
David Hampton
cdc686ecb5
Globally replace the words "exchange_code" with cusip in the
...
source. No user visible changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13213 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 20:00:52 +00:00
Christian Stimming
1f61299d0d
When translation potentially empty strings, check always for nonemptyness. Should avoid #330179 in the rest of the code as well.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13206 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 11:14:43 +00:00
Christian Stimming
136cc78b4d
Add --keyword=Q_ to xgettext arguments so that translations with
...
context prefix/disambiguation prefix are included as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13205 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 10:55:34 +00:00
Christian Stimming
b9ca4bf5e8
Updated German translation - 3485 out of 3656 done.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13204 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 10:29:53 +00:00
Christian Stimming
d880dac151
Fix duplicate menu item shortcut. Fixes #330671 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13203 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 10:18:00 +00:00
Christian Stimming
046c8f34fe
Fix duplicate menu item shortcut. Fixes #330672 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13202 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 10:14:56 +00:00
Christian Stimming
0a76dfcd0d
String cleanup. Remove erroneous underscore. Fixes #330769 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13201 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 10:04:50 +00:00
Chris Shoemaker
9482462ac3
Tweak the preferences labels for accounting periods.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13200 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 05:23:12 +00:00
Chris Shoemaker
71625058fa
Change the reports from using a hard-coded fiscal year to using the global
...
accounting period set in the preferences. Both the start date and the end
date are used, so the user is free to choose any arbitrary period.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13199 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 05:14:21 +00:00
Chris Shoemaker
6ab484e319
Move the accounting period preference functions from window-main-summarybar
...
to gnc-accounting-period.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13198 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 05:00:02 +00:00
David Hampton
06c9aba901
Correctly open an account and its sub-accounts. Fixes 330745.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13197 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 03:54:24 +00:00
Derek Atkins
11a9890323
Better handling of event removal. This allows us to actually
...
clean up, but also makes sure we don't destroy the handler
list out from under us as we're processing events.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13196 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 22:43:19 +00:00
Derek Atkins
72a28d2063
check that we can find g-wrap-wct.h.
...
detects that we're running on a "broken" system like Ubuntu.
This is in response to #330539 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13195 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 15:32:39 +00:00
Derek Atkins
c4dd2190b2
added README.dependencies to the dist. Fixes #330614 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13194 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 15:04:12 +00:00
Derek Atkins
f04e5c24bc
Test for an empty string when translating. ( Fixes #330179 )
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13193 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 15:00:28 +00:00
David Hampton
1d13d5db55
Pass argc by reference instead of value so g_option_parse_context can
...
update it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13192 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 05:44:08 +00:00
David Hampton
d1a477d98e
Don't initialize the display at option parsing time. This way
...
--add-price-quotes can run from a cron job.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13191 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 04:17:38 +00:00
David Hampton
45606b3bf0
Update for known F::Q 1.11 quote sources.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13190 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 02:13:21 +00:00
David Hampton
981950d7db
Print out the installed F::Q version at startup.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13189 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 02:12:05 +00:00
Derek Atkins
9b61f0f6c5
Use xaccTrans{Begin,Commit}Edit in xaccTransDestroy()
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13175 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 19:46:15 +00:00
Derek Atkins
e371fb4e39
Print more debugging when the guile version check fails.
...
* macros/legacy_macros.m4: when the guile version check fails,
print out the version of guile that we found in order to
aid debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13174 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 16:28:01 +00:00
David Hampton
604cba4f4d
Better fix for the code that updates the buy/sell action based on the
...
number of shares entered in a transaction.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13173 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 07:26:40 +00:00
David Hampton
cbf71e72ef
Remove forgotten unused variable.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13172 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 07:24:18 +00:00
David Hampton
464b00a77c
Set the default button.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13171 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 06:17:29 +00:00
Chris Shoemaker
5f56bec772
Remove forgotten unused variable.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13167 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 05:23:51 +00:00
David Hampton
7bb17ee723
Fix the code that updates the buy/sell action based on the number of
...
shares entered in a transaction.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13166 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 05:03:29 +00:00
Chris Shoemaker
1b418bfeec
Add two columns to the Accounts page: "Total (Period)" & "Balance (Period)"
...
These are the recursive and non-recursive, respectively, period balances,
where the accounting period is specified in the preferences.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13165 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:53:43 +00:00
David Hampton
0d046e26d5
Call existing function to find the end of the day.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13164 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:41:42 +00:00
David Hampton
dd05a94ffb
A couple of performance enhancements.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13163 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:37:17 +00:00
David Hampton
6a4ed52700
Set the busy cursor while the dialogs are being generated.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13162 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:35:34 +00:00