Commit Graph

10386 Commits

Author SHA1 Message Date
Joshua Sled
f6b6771410 Revising logging: implementation and leveling of "init" message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15555 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 19:06:39 +00:00
Joshua Sled
0efccfc12f Initialize variables; detect/report errors during gnucash command-line options parsing. Formatting.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15554 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 18:58:10 +00:00
Joshua Sled
ff3405f4c8 Fix parsing of log config file without [output] sections.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15553 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 18:52:39 +00:00
Joshua Sled
1e1077078f use correct datatype.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15552 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 16:28:24 +00:00
Andreas Köhler
366b56882f Install.sh: Remove dependency_libs line from .la files in \lib too.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15551 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 14:57:33 +00:00
Joshua Sled
ba168b0de4 Correct misspelling of my own email address, link to the original and thread.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15550 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 14:47:52 +00:00
Andreas Köhler
6eeefe21e3 Remove lib/glib28/gwin32-2.8.[ch] again.
We depend on GLib >= 2.8 on Windows in configure.in, so there is no
reason to include unused GLib 2.8 Windows-specific code. Oops. OTOH,
gstdio-2.8.h is needed on Unix.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15549 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 13:15:52 +00:00
Christian Stimming
497d0e32cf Really clean up enter/leave pairs. Avoid duplicated sanity checks.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15548 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 10:43:38 +00:00
Joshua Sled
18336d2816 Change log-leveling for a few messages.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15547 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 02:31:35 +00:00
Joshua Sled
c042a51768 Ability to clear out variable bindings in the SLR dialog; better logging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15546 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 02:30:43 +00:00
Joshua Sled
8ebec0de11 Support for ~/.gnucash/log.conf, a key-value file of logging settings; see comment-doc for qof_log_parse_log_config(...) for the file format.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15545 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 01:29:29 +00:00
Joshua Sled
f9863e3ba9 Add G_LOG_DOMAIN for qof.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15544 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 01:28:10 +00:00
Joshua Sled
140db6d1d9 Revise overall SX logging: define G_LOG_DOMAIN in a fine-grained manner, switch to g_mumble calls, cleanup some formatting.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15543 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-10 00:25:16 +00:00
Andreas Köhler
524620bee0 Avoid %s-printing of a NULL account name in a LEAVE message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15542 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 23:34:30 +00:00
Andreas Köhler
0cecea4d98 Dist.sh: Set subsystem of libexec/gconfd-2.exe to GUI.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15541 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 22:03:44 +00:00
Andreas Köhler
c1aab62b60 Install.sh: Make some installs silent, fix AqBanking LDFLAGS.
msysdtk, unzip, inno and svn can be installed without user
interaction. Replace quick start inno pack by the release package. Do
not remove the LibOFX library dir by overwriting LDFLAGS in the make
call of aqbanking.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15540 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 21:54:40 +00:00
Joshua Sled
d372dbb81a Restore enter/leave indentation. Cleanup some deprecated and (nearly-)unused qoflog code. Audit fraction enter/leave pairs. :/
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15539 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 21:52:09 +00:00
Joshua Sled
acb4e4b07c udpates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15538 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 19:07:00 +00:00
Joshua Sled
c91cb881bd Overhaul gnc/qof logging: Add default log handler that implements a "log4x"-style log level hierarchy. Correctly use G_LOG_DOMAIN, raw glib logging. Cleanup tests that are too loud afterwards.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15537 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 17:35:00 +00:00
Joshua Sled
3ab675d44f Updates.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15536 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 16:47:53 +00:00
Christian Stimming
9a7f559f67 Fix hardcoded path.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15535 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 16:29:32 +00:00
Christian Stimming
a93ac56b8e Add another win registry key needed for aqbanking. Update gwenhywfar.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15534 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 15:33:24 +00:00
Christian Stimming
2e312544e5 Add optional build commands for qt-enabled aqbanking.
Enable this by export aqbanking_with_qt=yes before running install.
Needs qt4 from trolltech.com installed beforehand.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15533 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 13:30:55 +00:00
Christian Stimming
cc05b19836 Remove indent which is no longer needed; add make check at gwenhywfar build.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15532 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 11:30:48 +00:00
Christian Stimming
0961eb1eea Add sanity checks when accessing GncPluginPage. Fixes #405851 and hopefully others.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15531 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-09 10:23:00 +00:00
Andreas Köhler
7eee71ca99 Install.sh: Add gwenhywfar and aqbanking dirs to ACLOCAL_FLAGS.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15530 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 22:05:39 +00:00
Andreas Köhler
c782e48da4 Install.sh: Add REGEX_CPPFLAGS to gwenhywfar.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15529 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 21:40:48 +00:00
Andreas Köhler
648547fd9f Install.sh: Add exetype.pl, hide gconfd-2.exe window.
exetype.pl is a perl script that sets the subsystem type of executables
to CONSOLE or WINDOWS (GUI). Apply that to gconfd-2.exe to hide the
console. Editbin.exe could do the same.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15528 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 21:16:30 +00:00
Andreas Köhler
8118a69b44 Install.sh: Move wget, unzip, indent and pexports to \tools.
Unclutter c:\soft and the PATH environment variable a bit by moving some
tools to GLOBAL_DIR\tools. "Tool" here means a binary or shell script
that works without further DLLs or shared files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15527 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 20:50:29 +00:00
Andreas Köhler
5c5f82fb14 Install.sh: Correct -p parameter for LIBOFX_PATCH.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15526 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 18:27:18 +00:00
Derek Atkins
e87a6014f7 Fix the configure tests.. Need a comma instead of a period. Oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15525 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 16:25:54 +00:00
Derek Atkins
513bccca0d If we're not building from SVN then make sure that
swig-runtime.h and gnc-svninfo.h exist in the source tree.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15524 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 16:03:24 +00:00
Christian Stimming
a67b94b32f Fix libofx and OFX import on win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15523 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 13:58:29 +00:00
Joshua Sled
4bb3acb10e Fix registration of gnc-plugin-page-sx-list so plugin-page restoration works.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15521 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 01:04:45 +00:00
Joshua Sled
d1918d1f21 remove useless todo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15520 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-08 01:03:11 +00:00
Christian Stimming
62daca14c9 Add checking for whether an unpacked directory isnt confused with an older one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15519 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-07 14:38:47 +00:00
Christian Stimming
e562e1d2fa Fix typo. Sorry.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15518 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-07 10:12:28 +00:00
Christian Stimming
20032113d1 Update win32 build to use aqbanking-2.2.7.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15517 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-07 10:10:02 +00:00
Christian Stimming
4de5b3b8e4 Add libofx/opensp to resulting win32 setup.exe
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15516 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-07 10:09:03 +00:00
Christian Stimming
365a6282dc Fix OpenSP build because we can ignore most of its parts that will not build on windows easily.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15514 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-06 20:35:39 +00:00
Christian Stimming
746bba5aa0 Add compiling and installation of opensp, libofx and enable ofx support of gnucash
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15513 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-06 16:19:23 +00:00
Andreas Köhler
f9d161b6da Fix gnc_lconv_set_utf8 on Windows, #403815.
The result of g_get_charset does not necessarily match the encoding of
strings returned by CRT functions like localeconv or strftime. In
gnc_lconv_set_utf8, convert the strings first to a wide character string
with mbstowcs and then to utf8 by g_utf16_to_utf8.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15512 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-06 03:37:17 +00:00
Joshua Sled
7a67941355 Enabled SX UI support:
- Add a check-box to the SX list tree-view to show the SX enabled status.
- Don't show non-enabled SX's on the SX dense calendar.
Patch from Peter McAlpine <peter@aoeu.ca>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15511 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-06 00:45:43 +00:00
Joshua Sled
068540a938 SX instance model event handling for enabled SXes:
- SX instance models properly handle SX update/add/remove events
  with/without enabled transactions.
- New SX editors now show non-enabled transactions
Patch from Peter McAlpine <peter@aoeu.ca>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15510 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-06 00:14:10 +00:00
Joshua Sled
4ec231f487 Add todo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15509 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-05 23:59:39 +00:00
Joshua Sled
d5965e5460 Remove dead code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15508 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-05 23:55:23 +00:00
Joshua Sled
5382bc4a81 Mandriva 2007 updates from 'Shocky'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15507 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-05 23:52:34 +00:00
Andreas Köhler
87c8b0b7af Install.sh: Add $INSTALL_DIR/bin to PATH.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15503 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 21:21:10 +00:00
Andreas Köhler
8e11f28f5c Prepend dirs in gnc-test-env, not append. Abstract a bit.
gnc-test-env is supposed to create an environment suitable for tests of
the current build tree, so given directories should take precedence over
initial environment variables. Simplify by adding get-dir-adder.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15502 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 21:16:05 +00:00
Joshua Sled
6f417c8247 restore last-day-of-month tracking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15501 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 21:08:23 +00:00