Commit Graph

10338 Commits

Author SHA1 Message Date
Andreas Köhler
b749d1f585 Add DYLD_LIBRARY_PATH variable to the gnucash script.
On MacOS, the load-extension calls need DYLD_LIBRARY_PATH to be set to
find the libraries. This was missing in the startup script.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15377 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-14 19:38:01 +00:00
Christian Stimming
7fc5813f66 Comment out old debugging console output
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15352 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-13 16:01:43 +00:00
Christian Stimming
19cd819a0f For enabled hbci, link not only to aqbanking but also gwenhywfar because we use some of its functions directly. This became obvious on win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15351 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-13 15:40:03 +00:00
Andreas Köhler
de7f075fd5 Use double-clicks in general import dialogs.
In the import account matcher and import transaction match picker tree
views, let double-clicks on rows close the corresponding dialogs.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15347 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-12 23:02:47 +00:00
Christian Stimming
14888d5730 For win32, ifdef out the fork() calls and show error dialog until g_spawn is implemented for the child process.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15345 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-12 16:37:13 +00:00
Christian Stimming
fcaaed91eb Fix callback function decoration with latest aqbanking/gwenhywfar on win32
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15344 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-12 16:36:34 +00:00
Christian Stimming
95729dc1da Remove unused header (that doesnt exist on win32)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15343 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-12 16:35:26 +00:00
Andreas Köhler
f0cc9650ba Use double-clicks in the qif import druid. Fix #395325.
In the account picker dialogs, double clicks now close the dialogs. More
importantly, these dialogs are showed as a result of double clicks
(row-activated) instead of selection changes. This lets the user choose
the matching account more than once if there is only one item to match.

Introduces new i18n strings


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15336 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-11 22:16:23 +00:00
Andreas Köhler
dae1442ed2 Avoid crash in QIF import, page payees/memos. Fix #392707.
On the payees/memo page in the QIF import druid, provide the callback
for line clicks the correct display information and not the one of
another/previous page. This slipped in r14588, 2.0 is crash-free.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15332 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-09 20:18:08 +00:00
Andreas Köhler
5c16caedbf Make GnuCash work on Windows again.
* add $prefix/lib/gnucash to $PATH
* move all modules to $prefix/lib/gnucash, even if not compiled with
  '-module'. This happens in install.sh after 'make install', so add
  $prefix/lib/bin to PATH and GNC_MODULE_PATH or move the dlls manually
  if you run 'make install' yourself
* distribute only the .la files for the shared libraries
* shutdown gconfd-2 in dish.sh so that inno can access the schemas.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15328 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 21:33:26 +00:00
Andreas Köhler
4ef738101e Translate expenses in mortgage/loan druid. Fix #393436.
Mark the names and memos of expenses (Taxes, Insurance, PMI, Other
Expenses) in the Mortgage/Loan Setup Druid for translation. Spotted by
Fabrice Kurz.

Introduces new i18n strings
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15327 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 15:42:22 +00:00
Andreas Köhler
3657baff03 Adjust box packing in payment dialog. Fix #393024.
When enlarging the Payment Dialog window, space is currently allocated
to each widget equally.  The only widget that would benefit from
additional space is the Transfer Account tree.
Patch by cardinal@dodds.net.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15326 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 14:18:01 +00:00
Andreas Köhler
985046f959 Actually translate "Remove Splits".
The button label in the warning dialog about reconciled splits when
removing splits from a transaction used N_ without gettext, so was
untranslated.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15325 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 14:17:55 +00:00
Andreas Köhler
1a376999ec Update for 2.0.4 release.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15324 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 13:04:50 +00:00
Andreas Köhler
9652b5b5a1 Rename businessmod-core.c and businessmod-gnome.c.
Move these two files to gncmod-business-core.c and
gncmod-business-gnome.c, resp., to better match the common naming.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15323 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 07:04:59 +00:00
Andreas Köhler
e8720a89db Compile GncModule's with --avoid-version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15322 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 07:04:47 +00:00
Andreas Köhler
b34a1c9f3f Unify library names and installation directories.
Rename libcore-utils        to libgnc-core-utils
Rename libgncgnome          to libgnc-gnome
Rename libgncmodule         to libgnc-module
Rename libgncqof            to libgnc-qof
Rename libgnc-backend-file  to libgncmod-backend-file
Move libgnc-business-ledger to $prefix/lib
Move libgncqof-backend-qsf  to $prefix/lib/gnucash
Move libgncmod-backend-file to $prefix/lib/gnucash


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15321 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 07:04:23 +00:00
Andreas Köhler
96e1ed071d Call g_module_make_resident in qof backend provider modules.
If the GncModule system finds a QofBackendProvider module M before that
has been initialized by QOF, M will register itself with QOF but does
not mark itself as resident, so the module system will unload it again,
leaving bogus pointers in QOF. Now it does.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15320 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 07:04:17 +00:00
Derek Atkins
ba16b67925 Fix a gnc:warning-dialog -> gnc-warning-dialog from swigification. #393596
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15318 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-06 17:42:17 +00:00
Andreas Köhler
2e69bba2db Merge reshuffle-modules (r15315) back into the trunk.
Modules are loaded directly with the g_symbol_* API now while dropping
the dependency on libltdl.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15317 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-06 00:41:51 +00:00
Christian Stimming
d64a823f02 Make sure to remove win32 installation directory at uninstall
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15310 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-04 13:42:59 +00:00
Christian Stimming
455e2eef53 Have dist.sh run Inno Setup Compiler, and adjusting final file name.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15309 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-04 11:25:17 +00:00
Christian Stimming
df9ff8db81 Disable removal of install-sh - not needed anymore
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15308 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-03 13:32:03 +00:00
Christian Stimming
a16b973c2d Fix exit values from failed tests so that they really fail
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15307 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-03 10:53:05 +00:00
Derek Atkins
7a763898d3 Use G_GINT64_MODIFIER for qofmath test.
Fixes the problem Andreas noticed on amd64.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15304 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-03 00:12:19 +00:00
Derek Atkins
d122eddbb6 Fix the printf routines in the qofmath tests.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15303 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-02 18:37:16 +00:00
Derek Atkins
078d3d0cd8 Uncomment the test-qofmath to make it easier to use.
Change it to check_PROGRAMS
use <prog>_CPPFLAGS instead of DEFS -- this works great!


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15302 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-02 18:00:13 +00:00
Christian Stimming
def1a50c61 For convenience, add commented-out build rules for testing the qofmath128 test program
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15301 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-02 17:26:18 +00:00
Christian Stimming
bf3e8f4c1b Make math128 test program compilable again
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15300 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-02 17:18:19 +00:00
Andreas Köhler
348c8cce3e Make GnuCash compile from a git repository.
Patch gnc-svnversion to check for .git, but in the top-level source
directory instead of src/gnome-utils. Use the output of "git-rev-parse
HEAD" as version string.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15292 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-01 16:47:32 +00:00
Derek Atkins
b7ddce32b3 Change around the test helper routines so we get the real test lineno.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15277 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-28 23:24:02 +00:00
Andreas Köhler
baa9f30239 Configure from a relative path on Windows, because gnucash-build-env
will not work with top_srcdir begin absolute.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15275 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-28 22:14:36 +00:00
Andreas Köhler
20d5166d8a No need to manually exclude test subdirectories from mingw build
anymore, since r15260.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15270 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-28 14:33:42 +00:00
David Hampton
fcd3a09433 Add a check for the Date::Manip module (used by gnc-fq-helper).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15269 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-28 02:22:37 +00:00
David Hampton
79ac47e0f8 Need to expliticly load the gnome-utils scheme code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15268 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-28 02:21:14 +00:00
Derek Atkins
d930873b9b A few more changes for "make check" to succeed on MacOS-X.
It now does.  :)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15262 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-27 14:51:37 +00:00
Derek Atkins
088536f15b MacOS X needs core-utils in the library load path for "make check" to work.
While we're at it, might as well pull in libcore-utils.la, just in case.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15261 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-27 13:54:25 +00:00
Andreas Köhler
e5c7756b51 Do not build tests for make all' but only make check'. This is done by
using the automake prefix check_ instead of noinst_. The modules created
in src/gnc-module/test now use that prefix too, but with LDFLAGS="-rpath
${PWD}" to make them shared (we never install them).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15260 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-27 02:51:03 +00:00
Derek Atkins
16496b9f74 Make sure we set DYLD_LIBRARY_PATH in the test environment (for MacOS X)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15259 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-26 16:47:42 +00:00
David Hampton
19a45192f8 Save and restore the visibility of the toolbar, statusbar, and
summarybar.  Fixes #106259.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15258 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-26 00:07:58 +00:00
Derek Atkins
d622980bda lack of swig should be a fatal error (if building from SVN).
Fix AC_MSG_WARN -> AC_MSG_ERROR


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15256 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-25 18:53:05 +00:00
Derek Atkins
c19e0cf151 MacOSX installed libtoolize as glibtoolize. Handle that in autogen
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15255 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-25 18:38:10 +00:00
Derek Atkins
498d9d905b guile 1.8's SCM_EXACTP() throws an error when passed a non-number.
So make sure we test SCM_NUMBERP() before SCM_EXACTP()
This causes gnucash to crash on e.g. FC6 from the File Properties Menu.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15252 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-23 21:10:47 +00:00
Andreas Köhler
aa665d1d89 Use `cp -a' in dist.sh. Let inno create guile.bat (which sets
GUILE_LOAD_PATH) and slibcat, because the user running GnuCash later on
may not have the rights to do that.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15251 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-23 18:50:20 +00:00
Andreas Köhler
6739f10fea Fix slib installation within inst_guile, a regression introduced by
r15246.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15250 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-23 12:36:33 +00:00
Andreas Köhler
741bd0abf1 Avoid crash when renaming page in a page-less window by returning if
there is no current page. Fixes #388841.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15249 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-23 06:51:00 +00:00
Andreas Köhler
c3272290ea Strip libdir directives in distributed libtool .la files, because they
may point to still existing libraries that will be dlopened and conflict
with those loaded on startup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15248 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-23 06:41:31 +00:00
Andreas Köhler
643de6fae9 Fix install.sh typo, spotted by hfelton.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15247 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-22 11:10:38 +00:00
Andreas Köhler
cef6ed4b1f Various install.sh improvements:
* Use $GNUCASH_DIR\\{repos,build,inst,dist} as directories for the
  source, build, installation and packaging
* `mkdir -p' cannot handle backslashes, use unix paths
* Downgrade to ORBit2-2.13.3
* Print command to create /etc/profile.d if needed


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15246 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 23:09:04 +00:00
Andreas Köhler
49470adf27 Add include directives for ${top_builddir}/src/swig-runtime.h.
Merged r15229 from branches/reshuffle-modules.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15245 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 19:28:26 +00:00