Patch by Jeff Kletsky.
(Cstim: Accepted even though string freeze is in effect because it was
submitted before the freeze. Also, the string additions are very minor.)
Summary of Changes:
* Initial story related to providing default budget control
* Add a "Budgeting" tab to the book-level preferences dialog
* Add a "Default Budget" selector to the "Budgeting" tab
* Modify gnc_budget_get_default() to
* Respect the new KVP, if present
* Fall back to 2.2.x behavior, if not present
* Modify gnc:make-budget-option
* Reformatted for readability with additional comments
* Default is now "#f" so that selected value is always saved
Otherwise, if selection happened to be the current default
and the default was later changed, the report would change
* getter, setter, and generate-restore-form all now consistent
* setter now always takes a budget object
* generate-restore-form does not rely on "hack" in setter that
previously allowed either a budget object or a GUID string
This is a different fix for 603215 -- see Known Issues
* Provide translation support for "Trading Acccounts" (and "Budgeting")
* Refactor #define names for consistency and extensibility
* KVP_OPTION_PATH for consistency with Guile usage
* OPTION_SECTION_blahblah
* OPTION_NAME_blahblah
* Modify qofbookslots.h to be "SWIG-aware"
* Pick up qofbookslots.h in make-gnucash-potfiles.in and po/POTFILES.in
Known Issues:
* There is no selection (yet) for "Use default budget" so changing the
default budget and reloading a report does not change the budget used
* setter is no more robust to "bad" values than in previous code
* Budget reports created with 2.3.x after r18528 (between 2.3.8 and
2.3.9) may not load or re-render as they relied on the setter taking
either a budget object or a GUID as a string This should not impact
any 2.2.x users as nothing was saved under 2.2.x related to the
default budget. This can be resolved through removing the option
restore code in ~/.gnucash/saved-reports-2.4 and, if affected reports
were open, in ~/.gnucash/books/<name_of_book>
* Budget reports prior to r18528 did not save budget selection (603215)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19123 57a11ea4-9604-0410-9ed3-97b8803252fd
Changes abs function to fabs in gnc-csv-model.c, to allow csv imports of values
less than $1.00.
Patch by James Raehl.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19122 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Frank H. Ellenberger
1. improve the header of fieldnames with annotations
2. sort by ISO code, because
a. easier for non english people
b. most tables in the internet have this sort order.
So maintainance becomes easier.
3. inserting a Column local_symbol, because some people like to use it, e.g.
https://bugzilla.gnome.org/show_bug.cgi?id=492417#c3
But probably there is a better way to get this informations.
4. Review List:
a. adding: CDF, GHS, ...
b. outdated: AON->AOR->AOA, GWP->XOF, ...
c. Typos like "fening".
d. Alway use singular instead of a mixture.
5. add comments:
a. outdated currencies prepared as in the header shown.
b. for abbreviations.
Background is the thread starting with
https://lists.gnucash.org/pipermail/gnucash-devel/2009-October/026558.html
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19120 57a11ea4-9604-0410-9ed3-97b8803252fd
Remove generated file qofla-dir.h. This is actually good progress because
it gets rid of yet another compiled-in path, which are a nuisance and
need to be replaced by runtime path lookup everywhere, if needed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19118 57a11ea4-9604-0410-9ed3-97b8803252fd
- change test so that both tested programs must work, not only the exit code of the last one
- make it cross-compile compatible
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19101 57a11ea4-9604-0410-9ed3-97b8803252fd
It now gives a different error message when no directory was found or when multiple directories were found
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19100 57a11ea4-9604-0410-9ed3-97b8803252fd
This parameter can be used to override the filename to be used for the downloaded package. If empty, the functions continue to work as before.
This new option will be used for cross compilation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19094 57a11ea4-9604-0410-9ed3-97b8803252fd
- make sure pexports is available before guile is built
- test for pexports availability when compiling libdbi (to fix crosscompilation)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19093 57a11ea4-9604-0410-9ed3-97b8803252fd
Third revision.
- Stable Version changed into Stable Series (easier to track automatically)
- Modified motd code to deal with replacement strings
- Changed DEVELOPMENT release tip to separate the Stable Series number from the translatable string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19080 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Andy Wingo.
* src/scm/main.scm (hash-fold): Only do the conditional hash-fold dance
if we don't have guile 2.0. (Definitions in expression context are
actually invalid Scheme, but older Guiles are more permissive.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19079 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Andy Wingo.
Fix up a couple uses of scm_i_string_length, and add a back-compat shim
for earlier versions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19078 57a11ea4-9604-0410-9ed3-97b8803252fd
* Improve on the previous fix: really display stable version in tooltip, not current version.
* Also revert change of "What's new in GnuCash 2.0" because that's the title actually found
in the help manual.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19077 57a11ea4-9604-0410-9ed3-97b8803252fd
This will only be visible on Windows. On all other platforms the logfile is
successfully renamed to the requested name.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19076 57a11ea4-9604-0410-9ed3-97b8803252fd
This rule isn't called by default though. It uses image-magick to
add several png images of different size and bitdepth together.
Current ico has:
16x16,8-bit
22x22,8-bit
24x24,8-bit
32x32,32-bit
48x48,32-bit
64x64,32-bit
96x96,32-bit
128x128,32-bit
256x256,32-bit
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19070 57a11ea4-9604-0410-9ed3-97b8803252fd
This (tooltip) string is blatantly wrong, so we need to fix it regardless
of string freeze.
Spotted by Mark Haanen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19069 57a11ea4-9604-0410-9ed3-97b8803252fd
These are allowed regardless of string freeze because the strings are already
in the program and are untranslated so far. So marking them for translation
will only improve the situation but not introduce new strings into the
program in general.
Spotted by Mark Haanen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19068 57a11ea4-9604-0410-9ed3-97b8803252fd
So, the right thing is for each file to be in its own module. Barring
that it's tough to see what the environment is in a given module. So to
be safe, everywhere there's a printf, make sure the (gnucash printf)
module is duly included.
Patch by Andy Wingo.
Conflicts:
src/business/business-reports/easy-invoice.scm
src/business/business-reports/fancy-invoice.scm
src/business/business-reports/invoice.scm
src/business/business-reports/job-report.scm
src/report/standard-reports/budget-income-statement.scm
src/report/standard-reports/income-statement.scm
src/report/standard-reports/trial-balance.scm
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19067 57a11ea4-9604-0410-9ed3-97b8803252fd
This kind of error is detected "eagerly" in Guile 2.0.
Patch by Andy Wingo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19066 57a11ea4-9604-0410-9ed3-97b8803252fd
src/engine/iso-currencies-to-c did the same simple-format dance that is
now unnecessary.
Patch by Andy Wingo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19064 57a11ea4-9604-0410-9ed3-97b8803252fd
Guile 1.6 and up always provides simple-format, and defines it as a
restricted subset of the full format, so there's no harm in using the
construct's proper name.
Patch by Andy Wingo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19063 57a11ea4-9604-0410-9ed3-97b8803252fd
There is a new module, (gnucash printf).
Patch by Andy Wingo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19062 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by James Raehl:
The Notes field is not visible or editable.
This appears to be a deliberate choice, as can be seen in line 1308 of
gnome/dialog-sx-editor.c routine schedXact_editor_create_ledger. I disagree.
Since Notes are not copied to the newly-created scheduled transaction, there is
no way for the user to copy Notes to the model, nor to modify the Notes. This
makes the partial fix in r16652 for bug 500427 kind of pointless.
This patch reverses that decision.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19060 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Frank H. Ellenberger.
Because many sources were listet as unknown, I tried to sort them in.
Because normal users don't know all englisch abbreviations of far continents,
I tried to use better understandable descriptions and added country codes.
Caveeats:
1. The HU methods were not quite clear to me, so I added only one.
2. The Currencies methods seems to fetch lists of currencies,
something what we don't need here; correct me, if I am wrong.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19059 57a11ea4-9604-0410-9ed3-97b8803252fd