Commit Graph

10323 Commits

Author SHA1 Message Date
Christian Stimming
1ca2c7f405 Fix capitalization in summary bar. Fixes #394550.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15419 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-22 16:35:11 +00:00
Christian Stimming
19dcf011eb Improve wording in online banking messages; dont mention HBCI alone anymore.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15418 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-22 16:21:51 +00:00
David Hampton
6be85d06d0 Make the dependency requirements consistent with the other gnc-fq-xxx
programs.  This program does not use the additional requirements, but
since its used as a diagnostic to find problems with gnucash, it
should be helpful to have them listed here.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15416 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-22 00:48:58 +00:00
Derek Atkins
85fb534953 gnucash-env needs DYLD_LIBRARY_PATH for MacOS-X
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15415 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-22 00:05:10 +00:00
Derek Atkins
860276bc63 "string-match" uses regexp which can error out if a GNC Account has a
paren in it, or any other regexp special character.  Use
"string-contains" from srfi-13 instead.  Bug reported by Melinda Savoy:
http://lists.gnucash.org/pipermail/gnucash-user/2007-January/019028.html

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15414 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-22 00:04:45 +00:00
Andreas Köhler
c59bda28a3 Replace creat() by g_open().
g_open is necessary to use the wide character api and creat() is
equivalent to open with O_CREAT|O_WRONLY|O_TRUNC.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15413 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-21 22:30:57 +00:00
Andreas Köhler
f1f0f8537a Use g_getenv instead of getenv.
getenv returns the pure bytes, whereas g_getenv converts the value to
the GLib filename encoding, i.e. UTF-8 on Windows. Also use TRUE instead
of 1 as overwrite argument to g_setenv.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15412 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-21 22:11:34 +00:00
Andreas Köhler
9c72ea9327 Fix Gwenhywfar build in install.sh.
* Add $_OPENSSL_UDIR/bin to PATH.
* No need to copy OpenSSL libraries from WINDIR\\system32, because we
  switched to the GnuWin32 package and even checked that system32 is
  clean.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15411 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-21 19:32:59 +00:00
Andreas Köhler
aea560125c Always supply three arguments to g_open.
g_open is not #defined as open on Windows and always needs three
arguments. Use 0 where missing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15410 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-21 19:28:31 +00:00
Andreas Köhler
9243b2f4ac Use MAX_DATE_LENGTH+1 as length for some date buffers.
Avoid memory corruption by reserving enough bytes on the stack for a
date buffer. Patch by Richard Earnshaw <rearnsha@netbsd.org>.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15409 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-21 17:51:12 +00:00
Joshua Sled
da5bd42968 Bug#394420: initialized dates still aren't valid; set to 'now' before manipulating. Also: use correct month (!) :p
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15408 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-21 17:03:36 +00:00
Andreas Köhler
5c126dea86 Use g_open, g_fopen, g_stat and g_unlink.
Replace open, fopen, stat and unlink by their GLib wrappers so that
files on Windows will be handled with the wide character api.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15407 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-21 16:38:42 +00:00
Joshua Sled
e79f41ca14 remove inappropriate call.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15406 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-21 16:15:41 +00:00
Joshua Sled
3c9e0b6355 updates post merge.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15405 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-20 23:06:24 +00:00
Joshua Sled
b558be7367 updates.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15404 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-20 22:19:01 +00:00
Andreas Köhler
6783775210 Use g_dir_{open,read_name,close}.
Replace opendir, readdir and closedir by their GLib wrappers so that
files on Windows will be retrieved with the wide character api.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15403 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-20 18:37:35 +00:00
Joshua Sled
3eb2abc024 update
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15402 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-20 15:27:21 +00:00
Joshua Sled
abb0b25246 remove unneeded call
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15401 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-20 15:26:46 +00:00
Andreas Köhler
35f43c0a1a Raise dependencies: GLib 2.6, Pango 1.8, GTK+ 2.6.
Ask for GLib 2.6 and GTK+ 2.6. Let the included GOffice 0.0.4 and LibGSF
1.12.3 use their native base dependencies. Remove all #ifdefs and
compatibility code that were necessary to make GnuCash, GOffice and
LibGSF compile on an older setup (GLib 2.4, Pango 1.6, GTK+ 2.4).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15400 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-20 15:21:35 +00:00
Joshua Sled
eb73260220 Fold branches/sx-cleanup/ [14463:15384] back into trunk/.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15399 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-19 23:45:45 +00:00
Christian Stimming
e3a674154b Replace openssl 0.9.8 by openssl 0.9.7 because gnome-vfs was built against it
and it is easier to handle.
Activate online banking (hbci) plugin of gnucash.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15398 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-19 11:49:26 +00:00
David Hampton
a789aaee70 Don't abort when F::Q fails to return a quote. GnuCash may have
more quote sources to query.  Fixes #387410.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15397 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-19 05:53:30 +00:00
Joshua Sled
908a792ee9 Update with catch-all "gtk+" dependency for top 5 distros.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15396 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-18 01:28:49 +00:00
Derek Atkins
71837060b8 gtk_html_save needs an API with size_t instead of guint (#395553)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15395 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-17 15:54:47 +00:00
Christian Stimming
39d29bab2d Add more prerequisites for including online banking; still disabled, though.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15394 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-17 14:33:56 +00:00
Christian Stimming
7ef00ee207 Update win32 installation instruction according to last months' changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15393 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-16 20:48:24 +00:00
Andreas Köhler
5611e7efd3 Correctly empty date format combobox in qif import druid. Fix #396668.
When entering the page about choosing the date format (d-m-y, etc.) the
list of entries of the combobox is to be cleared and refilled.
Therefore, loop through all entries instead of
gtk_combo_box_remove_text'ing only the first entry. Trunk-only bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15392 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-16 19:43:42 +00:00
Andreas Köhler
3cce429ee1 Use correct exit status in backend/file tests.
Let the tests exit with status get_rv() instead of 0 so that 'make
check' really fails if necessary.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15391 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-15 20:28:01 +00:00
Andreas Köhler
a611cec8b1 Fix the module name in two backend/file tests.
gnc-backend-file has been renamed to gncmod-backend-file, so all tests
should use that new name.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15390 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-15 20:27:58 +00:00
Christian Stimming
0744164742 Add gwenhywfar/aqbanking for win32 online banking. Not yet activated because we are waiting for upstream releases.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15389 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-15 17:36:01 +00:00
Christian Stimming
a2793a9e1f Clarify abbreviation for translators
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15388 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-15 16:01:31 +00:00
Chris Shoemaker
5ea313e681 Use GtkTreeModelFlags instead of guint.
Fix a comment typo and remove an unused variable.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15383 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-15 01:08:54 +00:00
David Hampton
17f3998566 Fix cases where something that should be a GType isn't defined
properly.  Problem pointed out by Steve Langasek and is listed as
Debian bug 406378.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15381 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-15 00:52:04 +00:00
Andreas Köhler
f1de45a420 Drop gnucash-config and gnucash.m4.
GnuCashs APIs, ABIs, and libraries are not designed for third-party
development, so do not encourage it at this point of time.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15379 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-14 19:38:11 +00:00
Andreas Köhler
5d8552f07c Drop variables GNC_LIBDIR and GNC_MODULE_DIR.
Both are equal to pkglibdir and only used in src/bin/, even mixed with
pkglibdir. The module installation paths are hard-coded to pkglibdir
anyway, so we do not provide that flexibility right now.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15378 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-14 19:38:05 +00:00
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