Commit Graph

13142 Commits

Author SHA1 Message Date
Geert Janssens
ae0ff4cabe Spelling correction in comment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19529 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-01 15:30:11 +00:00
Geert Janssens
1d528cd436 Bug #588414 - Got "Entry Point Not Found" errors starting GnuCash, but ran OK
The problem is caused by leftover files from a previous install.
The solution is to uninstall GnuCash before installing a new version in such cases.
This commit adds a compatibility test and uninstall step to the windows installer
that will automatically uninstall the previous gnucash release if it is considered
'incompatible' with the one to be installed. The user will be warned of this, so
he can decide to cancel the installation if he doesn't like the idea of uninstalling
his working GnuCash installation.
Currently, versions are considered 'incompatible' if their major or minor version
components are different, so 2.3.x is incompatible with 2.2.x and will trigger
an uninstall. Likewise, a 2.4.x install is incompatible with a 2.3.x and will
trigger an uninstall. This is a nice way to remove all testing 'cruft' from the 
system once the new release comes out.
Note that in the future installing 2.3.16+ over 2.4.x will also trigger the uninstall, which is
a good thing IMO. An older release can't know about changes made in a newer one,
so it's safer to first uninstall the newer one to avoid leftover files.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19528 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-01 13:09:57 +00:00
John Ralls
90e985d6d5 Consolidate accelerator map loading for OSX with the others. Accelerator maps can't be modified interactively in OSX so there's no point to reloading the saved map.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19527 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 21:34:40 +00:00
Geert Janssens
6440e20aca GnuCash on Windows is built with webkit, no need to install gtkhtml
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19526 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 19:57:33 +00:00
Geert Janssens
65c5cd6b09 Cleanup whitespace
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19525 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 19:55:34 +00:00
Cristian Marchi
0613733e05 Updated Japanese translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19524 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 17:16:16 +00:00
Geert Janssens
81aefc6084 Updates for Latvian po file, patch by Valdis Vītoliņš.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19523 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 17:09:30 +00:00
Geert Janssens
4099500af1 Add vendor search to python bindings and refactors files gncIDSearch.c/h with vendor search.
Patch by Mike Evans.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19522 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 17:06:21 +00:00
Geert Janssens
6ee1c1045c Remove obsolete file from distribution list
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19519 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 14:35:38 +00:00
Geert Janssens
3ba2c90396 Make GnuCash more runtime relocatable by using dynamic paths in the environment file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19518 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 14:31:35 +00:00
John Ralls
85f067604f Restored changes of r19477 inadvertently reverted in r19515
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19517 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 14:00:56 +00:00
Andreas Köhler
9341affafd Relicense code to GNU GPL v2 or later.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19516 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-30 22:43:58 +00:00
John Ralls
6c8d4b52a9 Update binreloc to use the free functions for bundle id and resource path
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19515 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-30 22:42:15 +00:00
Geert Janssens
0f70e83a75 Windows build: strip the .la files in their new location
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19514 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-30 18:38:26 +00:00
Geert Janssens
03643c1d73 Windows version:
* reduce footprint by not packaging unused files
* move gnc-mod required files to bin
* remove libdir from the PATH

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19513 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-30 17:10:31 +00:00
Geert Janssens
f4665ec191 Windows version: remove obsolete and duplicate parameters from the environment file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19512 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-30 17:08:36 +00:00
Christian Stimming
b1c5eb1477 Implement the evaluation of SX cashflow.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19511 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 20:37:20 +00:00
Christian Stimming
d09d6a572e More const correctness and refactoring in gnc-sx-instance-model.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19510 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 20:37:05 +00:00
Geert Janssens
afc9a8cfd5 Remove GNC_STANDARD_REPORTS_DIR from gnucash launcher as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19509 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 20:05:34 +00:00
Geert Janssens
807c8d29e4 Update man page following the recent removal of command line options.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19508 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 19:58:54 +00:00
Christian Stimming
9eba06e5f5 Update license after Josh Sled's relicensing of his code under GPL v2 and/or v3.
He wrote to gnucash-devel on 2010-08-28:

Much of the last batch code I contributed to gnucash was licensed
without the "or any later version" clause of the GPL boilerplate, and
thus specifically and only under version 2 of the GPL.

I hereby extend that to version 2 and/or version 3.

Any contribution I've made to gnucash which was under the GPLv2 only may
be considered to be under both v2 and v3.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19507 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 19:43:19 +00:00
Christian Stimming
f8432c0cb6 I18n: Fix last remaining user-visible mention of the abbreviation "SX".
This should have never appeared in a user message. However, in order
not to make this single string untranslated, we add the correct form
but don't use it yet so that it can be translated, and we will be
using it once 2.4.0 is out and the string freeze lifted.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19506 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 19:43:05 +00:00
Geert Janssens
c741b07352 Calculate standard-reports dir internally instead of reading it from the environment.
This is a step to make gnucash more run-time relocatable.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19505 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 19:02:57 +00:00
Geert Janssens
9b556b6392 Readd LD_LIBRARY_PATH to environment to make sure Guile loads the proper shared libraries
when multiple installations of GnuCash exist (like stable and devel version on one system).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19504 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 18:57:13 +00:00
Geert Janssens
5f556ebd57 Remove the config-path and share-path command line options.
The values set on the command line were never used.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19499 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-28 14:16:12 +00:00
Geert Janssens
51664b99d1 Some more uses of PACKAGE_NAME instead of "GnuCash"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19478 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-26 20:37:33 +00:00
Geert Janssens
79cd8a770a Fix some obsolete uses of gnucash-bin.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19477 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-26 20:13:48 +00:00
Geert Janssens
081b91fd64 Refactoring: replace all GNC_RND_* and GNC_DENOM_* occurences with their GNC_HOW_RND_* and GNC_HOW_DENOM_* equivalents
And then remove the deprecated definitions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19476 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-26 17:22:06 +00:00
Geert Janssens
645be3a163 Bug #504954 - Wrong calculation of TAX
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19475 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-26 16:35:12 +00:00
Geert Janssens
63573c9080 Translatable string fixes by Yasuaki Taniguchi
One is on the price editor. Namespace: is not marked translatable.

Another is about a tip for account editor window. The label
"Edit->Income tax Options" was
changed to "Edit->Tax Report Options" but an old msgid remains on tip.

The last is on the Tax Table. The label "_Edit" is not marked
translatable but it should be.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19474 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-26 11:17:52 +00:00
Christian Stimming
64c0790c29 Replace misleading "Passiva" in accounts/de_DE/* by "Fremdkapital" with description "alle Verbindlichkeiten"
Patch by Frank H. Ellenberger.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19471 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-25 12:24:59 +00:00
Christian Stimming
e0e1fba675 Add functions to calculate the cash-flow numbers that will be generated by a Scheduled Transaction. Unfinished, though.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19470 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-24 20:23:27 +00:00
Christian Stimming
dfee800c87 I18n: Replace untranslatable sub-strings by the correct full strings.
The implementation is a hacky workaround, but at least better than
having weird translations as in the current state. Note: Even
though new strings are introduced, they are not yet used in order
not to break the string freeze here. The new strings need to
be activated once the 2.4.0 string freeze is lifted.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19469 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-24 20:23:12 +00:00
Cristian Marchi
628a2b1b05 Updated Dutch translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19468 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-24 12:42:36 +00:00
Christian Stimming
fd2bbf47c4 Add aqbanking5 extensions of GWEN_GUI object.
We need to locally store a reference to that particular GWEN_GUI
object that was used in Extend because we have more than one such
object in use inside gnucash (currently). If accidentally the wrong
one would be used in Unextend, a crash occurs.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19465 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-22 20:48:55 +00:00
Christian Stimming
238086f863 Fix erroneous place of "Bildung" account in hierarchy: Was moved to top-level due to double parent tag.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19464 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-22 19:13:00 +00:00
Christian Stimming
3553df6441 Add new function gnc_sx_get_num_occur_daterange and unittests for this in test-sx.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19463 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-22 11:10:25 +00:00
Christian Stimming
de83edb352 And more const-correctnes in SchedXaction.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19462 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-22 11:10:12 +00:00
John Ralls
b5fd6ecee2 [Bug 560052] Force use of internal strptime to work around bug in the Leopard libc.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19461 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-21 23:52:27 +00:00
Christian Stimming
f3dfae15c9 Make sx-instance-model more const-correct. Improve documentation.
Fix minor memory leak in gnc_sx_get_current_instances(void) - was not
free'ing the GDate of now.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19459 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-21 20:57:31 +00:00
Christian Stimming
5cacefebc2 Impove const-correctness of SchedXaction.h functions; improve documentation.
Also, replace "void *" by pointers to the actual type.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19458 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-21 20:57:19 +00:00
Christian Stimming
492c69f070 Unify label with src/gnome/gnc-plugin-page-register.c:379.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19456 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-21 19:30:06 +00:00
Geert Janssens
d273e7288d Move business-reports to the reports module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19454 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-21 17:02:42 +00:00
Geert Janssens
72e3e084b1 Automatically map pre-2.3.15 report option names to their new 2.3.15 equivalents.
This will ensure that users won't lose the settings they stored in saved reports
and open report windows when switching from 2.2.x to 2.4.

Note that this only works in one direction, from 2.2.x to 2.4. If a user switches
back to 2.2.x, the open report windows will lose many settings, almost resetting
them to their default state. Saved reports won't have this problem as they are
copied to a new file during the migration.

In detail:
For open reports:
pre-2.3.15 -> 2.3.15+ : options for open reports will be migrated
2.3.15+ -> pre-2.3.15 : options for open reports will be migrated

For saved reports:
2.2.x -> 2.3.15+      : all options will be migrated, if saved-reports-2.4
                        does not yet exist
pre-2.3.15 -> 2.3.15+ : options for saved reports won't be migrated but reports
                        continue to work. It would be best to save the reports again,
                        but my scheme-fu is not good enough to let the code do that
                        automatically. Alternatively users should remove the file
                        saved-reports-2.4 to recreate it on the next run, based on
                        saved-reports-2.0.
2.3.15+ -> 2.2.x      : options are unaffected, sine 2.2.x and 2.15 use different
                        saved reports files
2.3.15+ -> pre-2.3.15 : reports saved in 2.3.15 will lose their options, older reports
                        are unaffected. But returning to 2.3.15+, the options will
                        continue to work.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19451 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-21 15:16:42 +00:00
Geert Janssens
7b8fbd7835 Bug #627325 - Update Subversion URL, patch by Yasuaki Taniguchi
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19448 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-19 08:43:33 +00:00
Christian Stimming
1a557bcff5 Aqbanking: Enable gwengui-gtk2 implementation and fix setup wizard.
Setup wizard was missing OnlineInit/OnlineFini calls around it; with
them and the newest gwenhywfar, the setup wizard is now working again
in a gtk2 implementation.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19447 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-18 20:32:42 +00:00
Christian Stimming
0af1c605c2 Add lookup of linker flags of libgwenhyfar-gui-gtk2.
It is still disabled until more testing has been done, though.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19446 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 21:30:17 +00:00
Christian Stimming
0f7bed2537 Add instantiation of gwengui-gtk2 object in gnucash, which enables the setup wizard again, but it doesn't fully work yet.
In particular, a quick test runs into significant UI work which is
still needed, and also occasional crashes might occur. Hence, the
gwengui-gtk2 parts have to be enabled manually by un-commenting
USING_GWENHYWFAR_GTK2_GUI.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19445 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 21:05:40 +00:00
Christian Stimming
61c0f6d15a Minor simplification of aqbanking version number check.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19444 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 20:16:32 +00:00
Christian Stimming
95e41e1235 Check for upgrading an older aqbanking configuration to its current version.
This way, an older configuration is now updated automatically.

Patch by Bill Nottingham, confirmed by Martin Preuss, adapted to aqbanking5 by myself.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19443 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-17 20:16:18 +00:00