Commit Graph

10862 Commits

Author SHA1 Message Date
Andreas Köhler
e83103cb96 Avoid unwanted signed->unsigned conversions in dense cal computations, #441209.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16132 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-27 23:18:36 +00:00
Andreas Köhler
e549c193ef Fix a %s-NULL-printf in the register, #441207.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16131 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-27 15:19:21 +00:00
Andreas Köhler
0776778be4 Use UNIX line delimiters in dist.sh as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16130 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-26 22:23:49 +00:00
Andreas Köhler
268dbc379c Fix dist_libxml2().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16129 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-26 22:23:46 +00:00
Andreas Köhler
6c934547d5 Ignore custom.sh instead of custom.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16128 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-24 22:04:52 +00:00
Andreas Köhler
5433712750 Fix cross compilation of OpenSP and LibOFX.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16127 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-24 16:03:34 +00:00
Andreas Köhler
5332dc2830 Do not use register_env_var PKG_CONFIG_LIBDIR and leave it unset on Windows.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16126 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-23 19:04:14 +00:00
Andreas Köhler
c61a83f29f Add $LIBXSLT_DIR/bin to PATH.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16125 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-23 18:49:47 +00:00
Andreas Köhler
ba20c1d712 Fix cross platform installation of libxml2, gnome and exetype.
A native rebuild of packages should not be necessary.  Just remove
libxml2-2.6.27.win32.zip from your downloads directory.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16124 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-23 17:21:28 +00:00
Andreas Köhler
a9bd785b02 Use UNIX line delimiters in packaging/win32/exetype.pl.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16123 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-23 17:21:20 +00:00
Andreas Köhler
88ade04604 Integrate create_cross_mingw.sh into install.sh. Minor cleanups.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16122 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-23 17:21:14 +00:00
Andreas Köhler
911647063a Untabify major scripts in packaging/win32. Use indent-tabs-mode instead of tab-width.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16121 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-23 17:21:07 +00:00
Andreas Köhler
3ddd959fc8 Let wget download to a UNIX path.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16120 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-23 17:21:03 +00:00
Christian Stimming
74092e309d Auto-genenerate ChangeLog only when building from svn.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16119 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-22 20:00:49 +00:00
Christian Stimming
aa098de60b Updated British English translation by Nigel Titley.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16118 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-22 19:17:23 +00:00
Andreas Köhler
8ccadd8410 Set executable flag on a few scripts in packaging/win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16117 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-21 17:27:12 +00:00
Andreas Köhler
6dd242aefa Use UNIX line delimiters in packaging/win32/functions.sh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16116 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-21 17:22:26 +00:00
Andreas Köhler
3d32f08493 Link report-gnome against engine for gnc_get_current_session().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16115 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-21 08:12:20 +00:00
Derek Atkins
b378cd8898 Fix space->tab issue in a Makefile (need tabs, not spaces)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16113 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-20 20:56:19 +00:00
Chris Lyttle
6ee3cced76 correction to NEWS for 2.1.2
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16107 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-20 03:54:11 +00:00
Chris Lyttle
c9d20c0107 update to release 2.1.2
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16105 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-20 03:42:53 +00:00
Andreas Köhler
f18fa0614b Improve gui component handling of report plugin pages.
Let them be closed on session shutdown by setting the session.  Call
gnc_main_window_close_page in close handler.  Unregister the component
in _destroy_widget and move _destroy into it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16104 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-19 23:19:56 +00:00
Andreas Köhler
b23b36822f Add close handler for register plugin pages, just call gnc_main_window_close_page.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16103 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-19 23:19:51 +00:00
Andreas Köhler
193b0cd6a8 Unregister option dialogs from gui component list while destroying.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16102 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-19 23:19:44 +00:00
Andreas Köhler
1e327c3f2b gnc-budget-lookup, used for getter of budget option, may return '() instead of #f.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16101 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-19 23:19:39 +00:00
Andreas Köhler
f17426d697 In the transfer dialog, always use bold headers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16100 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 23:31:49 +00:00
Andreas Köhler
ff06f1a801 In reconciliation window, only show interest button if account type is CREDIT or LIABILITY.
It used to be hidden and showed again by gtk_widget_show_all.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16099 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 23:09:30 +00:00
Andreas Köhler
55d98f19fc Make date picker in registers visible for rtl locales like hebrew, #386816.
The calendar popup starts at x=0, but in a right-to-left interface it is
drawn to the left, i.e. out off the window.  This can be avoided by
overwriting the default direction of the surrounding horizontal box.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16098 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 21:41:32 +00:00
Andreas Köhler
12d95d5262 Deuglify the account selection dialog for the account search a little bit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16097 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 15:14:01 +00:00
Andreas Köhler
c8a63e3c73 Correct the checks for gnc:*finance-quote-{check,helper}* to use string-null?.
g-find-program-in-path returns a string---it may be empty but not #f or '().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16096 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 14:54:24 +00:00
Andreas Köhler
3000cdacb5 Fix a qif import error if commission account cannot be found in the mappings, #378274.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16095 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 14:54:19 +00:00
Andreas Köhler
fa0cc34ec2 Update the main window titles and the window list on HOOK_BOOK_OPENED.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16094 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 14:54:14 +00:00
Andreas Köhler
28d40a43ad In QIF import, do not cat and merge accounts if imported_account_tree is empty.
If an error occurs while importing, imported_account_tree will be set to
#f, whereas functions called by gnc:account-tree-catenate-and-merge
would expect empty lists.  So do not call that function at all.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16093 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 14:54:08 +00:00
Andreas Köhler
668b42be04 Patch from Thomas Klausner to enable building with goffice-0.4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16092 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-17 13:28:48 +00:00
Andreas Köhler
d6de54691d Do not remove files from history list on startup, #388500.
It is not clear yet, when and how it is best to remove inaccessible
files from the history list.  At least we should not do it on startup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16091 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-17 13:28:43 +00:00
Derek Atkins
f9de5abe1b Use POTFILES.ignore (in addition to POTFILES.skip) to placate recent intltool
Eventually we can just move back to POTFILES.skip and remove the
POTFILES.skip tests from Makefile.am.   This should allow "make check"
to work on recent systems (like Fedora 7) with intltool-0.35.5
and automake-1.10


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16090 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-16 03:38:06 +00:00
David Hampton
fc72475bef Update translator comments.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16089 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-15 02:54:56 +00:00
David Hampton
8f6abfd96e Programmatically generate check file names from the title input by the
user.  Fixes #436255.  Also reload the check format combobox each time
a custom format is successfully saved.  Fixes #436394.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16088 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-15 02:47:06 +00:00
David Hampton
0964eebb45 Limit the values of randomly generated numbers a little bit more.
This prevents the test-lots case from dying when it attempts to divide
one split into two splits, and the ration of the two splits ends up
producing numbers less than 0.01.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16082 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 20:54:57 +00:00
Andreas Köhler
1413a11989 Add some delimiters for parsing CJK dates, #437898.
On Windows, the short date formats are used, containing standard
delimiters.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16081 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 15:02:40 +00:00
Christian Stimming
7d4786558b Update German translation. Fix some duplicate key shortcuts as pointed out by andi5.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16080 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 13:23:31 +00:00
Christian Stimming
64a22b519a Fix spelling error
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16079 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 13:22:20 +00:00
Andreas Köhler
03ccfc502e Make search and tax info dialogs invisible at the top-most level.
On the one hand this avoids nasty redraws, so that the user need not
watch the dialogs getting filled by widgets.  On the other, on Windows
because of #436721, dialogs are not redrawn correctly after a
gtk_window_resize(), rendering at least these two dialog partly unusable
without a full redraw.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16078 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 00:10:08 +00:00
Andreas Köhler
23c1d1a598 Add gnc_history_remove_file, call it if the history file cannot be loaded, #388500.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16077 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 23:30:35 +00:00
Christian Stimming
12ec997301 Fix memory leaks: All strings from gnc_gconf_get_string need to be freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16076 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 19:36:39 +00:00
Christian Stimming
fdb7af4a6b Fix memory leak: Returned strings from gconf need to be freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16075 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 19:12:02 +00:00
Joshua Sled
7aa1aec532 Remove broken hyperlinks; just in-line the urls.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16074 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 17:50:14 +00:00
Andreas Köhler
c402307aba Further improve date parsing on Windows. Revert parts of r16049 on Unix.
The recursive parsing of %x by strptime seems to work only for complete
strings, e.g. 4.6. in de_DE or 4/6 in en_UK will not be parsed
correctly.  Therefore, readd LANGINFO_D_FMT_CHECK and use
qof_win32_get_time_format(QOF_WIN32_PICTURE_{DATE,TIME,DATETIME} on
Windows for printing and scanning.  Make get_win32_locale_string and
translate_win32_picture accessible by QOF.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16073 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 16:50:49 +00:00
Christian Stimming
fc2dff9fe4 Update translations for next release.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16072 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-11 20:59:40 +00:00
Andreas Köhler
e4b8923fb0 On strptime('%X') and Windows, first translate the time picture to a format spec, cf. #437751.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16071 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-11 20:21:18 +00:00