Commit Graph

12924 Commits

Author SHA1 Message Date
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
Christian Stimming
abe7442d02 I18n: Fix erroneous message.
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
2010-04-23 21:19:49 +00:00
Christian Stimming
30194b9d42 I18n fix: Mark forgotten strings for translation.
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
2010-04-23 21:19:28 +00:00
Christian Stimming
b3524ebb39 Bug #615168: Make sure that printf is available whereever it is used
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
2010-04-23 21:19:05 +00:00
Christian Stimming
e68434cb03 Bug #615168: Fix a number of scheme syntax errors
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
2010-04-23 21:07:13 +00:00
Christian Stimming
89e88ac983 Bug #615168: Fix bogus gnc:safe-strcmp definition
Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19065 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:02:30 +00:00
Christian Stimming
1f45659dbd Bug #615168: Fixup one last simple-format bit
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
2010-04-23 21:02:09 +00:00
Christian Stimming
4e32243362 Bug #615168: Replace calls to simple-format with calls to format
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
2010-04-23 21:01:48 +00:00
Christian Stimming
a52ca41d02 Bug #615168: Pull in printf from slib, change all code to use it.
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
2010-04-23 21:01:23 +00:00
Christian Stimming
2f9ec4381f Cutecash: Adapt to removed icon file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19061 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:00:58 +00:00
Christian Stimming
8e3b75e4a9 Bug #616093: Notes are not editable in scheduled transaction edit window
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
2010-04-23 20:10:58 +00:00
Christian Stimming
81527bfcfd Bug #615912: Update gnc_quote_source from FQ 1.11 to 1.17 and enhance user_name
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
2010-04-23 20:10:35 +00:00
Christian Stimming
d4b47d13f5 Bug #118391: Mark currency names for translation but using the "iso_4217" translation domain.
This will make approx. 50% of the currency names show up in translated form.
At least more than nothing. Eventually, we most probably must change our
long name definitions to match those of iso_4217, and after this we will
get 100% translations.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19058 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 20:07:24 +00:00
Christian Stimming
3906edd20c Revert r19051, "Bug #118391: Mark the currency names for translation."
We better don't mark the currency names for translation inside gnucash.pot;
instead, we should use the "iso_4217" translation domain.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19057 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 20:07:01 +00:00
Geert Janssens
4e1428178e Bug #616615 - Request for larger size icon (96x96, 128x128, 256x256): Properly include smaller icon sizes, remove duplicate size
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19056 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 15:26:34 +00:00
Geert Janssens
f96b2969d1 Remove redundant test for ENOSYS
The error code was checked twice against ENOSYS, once in all situations, and once if ENOSYS is defined. This makes no sense. Since we never had bug reports for compilation errors on ENOSYS undefined, we can assume ENOSYS is always defined.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19055 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 14:27:26 +00:00
Geert Janssens
f9d1bb7390 Bug #616615 - Request for larger size icon (96x96, 128x128, 256x256)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19054 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 13:01:15 +00:00
Geert Janssens
40c6f15645 Replace directory mv's with cp -r when the move potentially crosses filesystem borders.
Apparently, Msys' mv command fails to move directories across filesystem borders (like
from a directory on the c drive to a mounted samba share).
I hit this issue because my tmp dir is on a different filesystem from
my base dir.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19053 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 12:13:39 +00:00
Christian Stimming
90e34f2ae6 Add src/gnome/gnucash.desktop.in.in to the translation input files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19052 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-22 20:45:22 +00:00
Christian Stimming
1fbdf985d7 Bug #118391: Mark the currency names for translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19051 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-22 20:32:56 +00:00