Commit Graph

12843 Commits

Author SHA1 Message Date
Christian Stimming
b053ab6854 Updated Danish translation by Joe Hansen, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19145 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-08 19:10:27 +00:00
Geert Janssens
786fa1b63b When posting an invoice, propose the invoice's opened date as post date.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19135 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-07 15:29:06 +00:00
Geert Janssens
2abdd379d3 Bug #352058 - Invoice entries should default to opening date of invoice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19134 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-07 14:38:31 +00:00
Geert Janssens
7c058c43e7 Bug #615510 - Gnucash crashes when creating new customer job
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19133 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-07 14:31:50 +00:00
Geert Janssens
6e842f5fa5 Bug #357696 - Billable items appear in more than one invoice
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19132 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-07 10:32:07 +00:00
Christian Stimming
3295187d90 Bug #118391: Implement translation long currency names
Adjust in iso-4217-currencies.scm fullnames to conform with iso-codes-3.3

Patch by Frank H. Ellenberger.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19131 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-07 07:41:36 +00:00
Geert Janssens
a83c3f73f6 A search with no search terms set by the user should still honor the original search constraints.
For example: if a user does:
- Find customer
- Click on Customer's invoices
- Then explicitly removes the empty search term
- Click Find
=> the user should still see only the invoices for this customer.
Previously this scenario would return all bills, invoices AND vouchers in the book.

The cause was an attempt to merge two queries with AND while one query had no terms. The code
already partially checked for this, but there was still an unhandled case.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19130 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 16:23:10 +00:00
Geert Janssens
1c2f75c160 Return only bills when searching for bills, return only invoices when searching for invoices and return only vouchers when searching for vouchers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19129 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 15:15:36 +00:00
Christian Stimming
6afded02b0 Cutecash: Fix config.h creation by using the #cmakedefine feature of CONFIGURE_FILE.
Finally, config.h will only be re-created if anything has changed, thus
reducing re-compiling to a minimum. This was done with instructions from
http://www.cmake.org/Wiki/CMake:How_To_Write_Platform_Checks ; however,
more of those checks (like CheckFunctionExists etc) don't work as easily as
CheckHeaderExists, so I left it at that.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19127 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 11:40:55 +00:00
Christian Stimming
d4419cfd14 Add support for upcoming libaqbanking-5 version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19126 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 11:40:41 +00:00
Christian Stimming
3d4ebd8338 Bug #616524: Fix missing re-generating of gnucash_core.c code.
The .c file gets outdated easily because the makefile doesn't contain
enough of its dependencies. I would need to be regenerated each time any of the
included files was changed, but currently it doesn't contain these dependencies
in the makefile rules. Having it depending on config.h should
at least trigger the generation at each version number change (so
that the tarball contains an up-to-date version.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19124 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 09:02:00 +00:00
Christian Stimming
449df116d8 Bug #612212: Provide a method to set the default budget
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
2010-05-06 09:01:46 +00:00
Christian Stimming
ced3775bbf Bug #586805: Fix errorneous abs() in csv import
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
2010-05-06 08:36:59 +00:00
Christian Stimming
7d19c08d6e Bug #617660: Improving iso-4217-currencies
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
2010-05-06 08:33:29 +00:00
Christian Stimming
f9b1b546b8 Follow-up to r19099: Remove qof's backend loading because there is no backend anymore.
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
2010-05-06 08:19:17 +00:00
Geert Janssens
fcdfc59e21 Remove qsf related code from windows installer script.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19114 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 07:44:11 +00:00
Cristian Marchi
1f45361668 Update of Chinese glossary by Tao Wang
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19111 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-05 18:40:43 +00:00
Cristian Marchi
e6cf158ce9 Update of Chinese translation by Tao Wang
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19110 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-05 18:38:50 +00:00
Geert Janssens
5453e5498a Rewrite assert_one_dir function to not crash on a native build machine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19107 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-05 12:25:37 +00:00
Geert Janssens
d7cf97feb4 Improve the cross-compilation process.
- improve create_cross_mingw.sh's integration in defaults.sh and install.sh
- update README file

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19104 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-04 23:40:29 +00:00
Geert Janssens
b6bc2b4aee Remove QSF references from cutecash
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19103 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-04 23:03:15 +00:00
Geert Janssens
ebc1f49532 Remove some additional QSF references
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19102 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-04 22:51:54 +00:00
Geert Janssens
b4ebe56020 Improve test_for_mingw
- 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
2010-05-04 22:40:19 +00:00
Geert Janssens
4a4190f261 Improve assert_one_dir
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
2010-05-04 16:44:55 +00:00
Geert Janssens
70f08de64a Remove QSF
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19099 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-04 14:15:38 +00:00
Geert Janssens
36a9a2e592 Bug #617435 - webkitgtk+ cross build script, created by Yasuaki Taniguchi
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19098 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-04 09:45:50 +00:00
Geert Janssens
a5568448cf Bug #617558 - Header in register doesn't clear properly in double-line mode when switching from transaction to split, patch by Alex Aycinena
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19097 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-04 09:24:17 +00:00
Geert Janssens
8ca34d6f05 Remove forgotten debug statement
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19096 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-03 20:15:08 +00:00
Geert Janssens
7a6b2751b9 Add ./ to sourced files, so that they are found when cross-compiling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19095 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-03 20:07:49 +00:00
Geert Janssens
a54561c9c8 Add (optional) destination file name parameter to wget_unpacked and smart_wget functions.
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
2010-05-03 19:50:12 +00:00
Geert Janssens
7561a9e3a9 Windows build script improvements
- 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
2010-05-02 23:18:04 +00:00
Geert Janssens
64d45d987a Update zh_CN translation, patch by Tao Wang
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19088 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-01 22:09:26 +00:00
Geert Janssens
cbfc5b8e02 Fix some typos
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19087 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-01 19:48:48 +00:00
Cristian Marchi
8311f6c3fd Update of Italian translation by Cristian Marchi
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19086 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-30 19:16:38 +00:00
Geert Janssens
5d95bb042d zh_CN translation of gnucash glossary file, patch by Tao Wang
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19085 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-29 15:56:31 +00:00
Geert Janssens
0563b4f573 Updated zh_CN translation of accounts, patch by Tao Wang
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19084 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-29 15:44:26 +00:00
Phil Longstaff
6166264b6f Change default report stylesheet from "Default" to "Default CSS"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19083 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-28 17:48:49 +00:00
Geert Janssens
88cfa51921 Bug #617072 - Update create_cross_mingw.sh, patch by Yasuaki Taniguchi
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19082 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-28 13:54:45 +00:00
Geert Janssens
8c4e116d54 Bug #554936 - 'configure.in' files should be renamed 'configure.ac'
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19081 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-28 13:43:45 +00:00
Geert Janssens
c5227fe013 Bug #616696 - Development version warning string should not include hardcode version.
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
2010-04-28 13:23:27 +00:00
Christian Stimming
8edb4f839b Bug #615168: Don't define hash-fold for guile 2.x
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
2010-04-27 20:46:46 +00:00
Christian Stimming
1ac44f0b8f Bug #615168: scm_c_string_length is the proper spelling now
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
2010-04-27 20:46:25 +00:00
Geert Janssens
3ac9526ac8 Bug #616696 - Development version warning string should not include hardcode version.
* 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
2010-04-27 19:41:07 +00:00
Geert Janssens
7be168dd80 Add .log extension to qof_log filename while creating the temporary file.
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
2010-04-27 15:23:05 +00:00
Geert Janssens
57a37b9005 Bug #615317 - Windows installer requires Qt libraries
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19075 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-27 12:12:21 +00:00
Geert Janssens
519fea0230 Add missing libmysql.def to tarball
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19074 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-27 11:04:06 +00:00
Geert Janssens
24f0cf01ab Bug #616696 - Development version warning string should not include hardcode version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19073 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-26 17:41:24 +00:00
Phil Longstaff
0bfdf60156 Fix #616606 - Add <meta> line indicating utf8 encoding so that non-latin chars show correctly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19072 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-25 19:13:36 +00:00
Geert Janssens
2406f64eaf Enable environment file on Windows (only direct install, not via ISS installer)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19071 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-24 16:26:06 +00:00
Geert Janssens
bdd19bea77 Write makefile rule to create gnucash-icon.ico.
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
2010-04-23 22:32:06 +00:00