Commit Graph

10557 Commits

Author SHA1 Message Date
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
Andreas Köhler
8b389efc60 Install.sh: Add $GOFFICE_DIR/bin to PATH.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15500 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 18:04:57 +00:00
Joshua Sled
b39d84252c Remove basically-unused qof date manipulation code better provided by GDate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15499 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 16:50:27 +00:00
Joshua Sled
bdb61cba5c Fix bug in next-occur formatting for instances that do not have a next-occur date.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15498 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 15:21:10 +00:00
Joshua Sled
1767fd22a9 "None" is a totally valid SX frequency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15497 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 15:11:32 +00:00
Joshua Sled
01e6da3fcc Bug#372262: create the session with the file-creation option enabled.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15496 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 15:04:18 +00:00
Joshua Sled
689796bd98 formatting/whitespace
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15495 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 15:02:07 +00:00
Andreas Köhler
fad14daab2 Add -mms-bitfields and -mwindows to configure.in.
On Windows, all C source files should be compiled with
-mms-bitfields. But this was only the case for those in modules
depending on gtk+. Fixes make check in src/app-utils.

Link with -mwindows, making the DLLs and gnucash-bin.exe to run in the
GUI subsystem. Clicking the bat will not open a console for gnucash,
starting from MSYS will not print messages, anymore.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15493 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-03 01:47:09 +00:00
Christian Stimming
e6e07fdc1a Added Canadian French account templates by Serge P. Leblanc
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15491 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-02 14:18:52 +00:00
Joshua Sled
193a95015a Rename "pts" -> "units". It's not actaully points.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15489 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 21:47:17 +00:00
Derek Atkins
266595a208 The engine shouldn't depend on business.
remove the references to the business-core includes directory


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15488 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 15:48:21 +00:00
Christian Stimming
e5f22f8ed0 Add generated ChangeLog of the year 2006 (r15286:r12229) to tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15487 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 14:25:42 +00:00
Joshua Sled
8577897ac7 SX "enabled" patch from Peter McAlpine <peter@aoeu.ca>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15486 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 03:30:21 +00:00
Joshua Sled
594a1f343f Make it a 1pt reduction, and make the variable just a bit clearer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15485 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 02:25:52 +00:00
Andreas Köhler
c71c7ecd24 Add lib/libc/pow.h to avoid calculation errors on Windows.
If the return value of pow is not saved in a double but rather used for
other calculations or casts, results can be bad, like pow(10, 2) being
99 instead of 100. Wrap pow and store the return value first before
continuing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15484 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 01:08:05 +00:00
Andreas Köhler
d719ce6cc2 Add a --library-dir to gnome-utils tests.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15483 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 01:00:31 +00:00
Andreas Köhler
1875a64aaa Reduce debug stack size in tests from 5,000,000 to 500,000.
Guile on windows will only accept the smaller value, cf. r13617.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15482 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 00:57:13 +00:00
Christian Stimming
f0d98b8e4d Add numerical check for match when importing transactions. By Ethy H. Brito.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15481 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 21:48:35 +00:00
Andreas Köhler
d7be4de889 Avoid even more divisions by zero in test-numeric.
Improve r15474 by repeating a test run if |nb|<4 holds, because nb is
divided twice by two, potentially becoming zero.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15480 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 16:22:11 +00:00
Christian Stimming
56e1b2acb7 Add more registry keys for aqbanking/gwenhywfar. Also, delete those keys on uninstall again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15479 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 14:00:59 +00:00
Christian Stimming
565b3afbb0 Fix dist package creation after latest regex changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15478 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 13:55:33 +00:00
Joshua Sled
68f9050a4b Force --enable-debug to strip spurious optimization added by AC_PROG_CC (for gcc). But if the user has optimization in their CFLAGS, make sure it's respected.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15477 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 02:36:53 +00:00
Joshua Sled
227489040d Fix bug in dispose for gnc-sx-list-tree-model-adapter causing (eventual) crash when sx-list plugin page is closed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15476 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 02:25:32 +00:00
Joshua Sled
f042147ca5 Change GncDenseCal font-handling from GDK to Pango. Change mark rectangles to circles, because they're cuter.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15475 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 02:05:02 +00:00
Andreas Köhler
cc8b101186 Do not intentionally divide by zero in test-numeric
Random numbers are 0 sometimes, especially on systems with smaller
RAND_MAX. Do not use it as divisor and repeat the run when we hit one.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15474 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 01:35:25 +00:00
Derek Atkins
b6be683d93 Fix the gnc-numeric test because using EXACT means we don't know
what the denominator is going to be, so if it gets ints a state
where it's NOT overflowing then you won't get a denominator of 1
like the tests assumed.  So use gnc_numeric_equal() in the few
tests where that's an issue.  This should fix the test on Win32.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15473 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 00:13:48 +00:00
Andreas Köhler
f81aa515fd Implement gnc_timegm directly without mktime.
Calculate the seconds since the start of the UNIX epoch directly without
the help of mktime. This also works on Windows. Systems with timegm are
unaffected.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15472 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 00:05:23 +00:00
David Hampton
a23e280d8d Prevent a crash when reading a new state file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15468 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-30 04:35:34 +00:00
Joshua Sled
bf67b8f33c remove questionmark
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15467 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-30 01:25:57 +00:00
Joshua Sled
909015dcbf Fix specious datafile dirtying in SLR dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15466 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-30 01:09:18 +00:00