Commit Graph

9 Commits

Author SHA1 Message Date
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
Andreas Köhler
9f44e3155d Do not use langinfo to determine date format spec, but %x, %X or %c.
Remove check for HAVE_LANGINFO_D_FMT.  Rather use standard strftime and
(standard?) strptime format specifiers %x (date), %X (time) and %c
(date&time, all in national representation).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16049 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 21:02:56 +00:00
Christian Stimming
812bd9a1f0 Small cleanup for crufty guile version check macro
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14856 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 15:31:41 +00:00
Christian Stimming
0953922e04 Add cross-compiling workaround to AC_TRY_RUN
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14847 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 10:47:02 +00:00
Christian Stimming
0415051267 On Windows/mingw32, scanf only accepts %I64d for long long integers.
Reference that gave me this hint: http://acm.pku.edu.cn/JudgeOnline/faq.htm

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14806 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 11:46:36 +00:00
David Hampton
689cbc0613 Make the removal of scm_block_gc conditional on having guile 1.8
installed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14137 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-20 02:02:20 +00:00
Christian Stimming
b27cf4b130 Add long-forgotten macro definition from acinclude.m4 r10161 that is sometimes still needed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13582 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 10:58:57 +00:00
Derek Atkins
e371fb4e39 Print more debugging when the guile version check fails.
* macros/legacy_macros.m4: when the guile version check fails,
	  print out the version of guile that we found in order to
	  aid debugging.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13174 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 16:28:01 +00:00
David Hampton
f28d033d74 Collapse the gnome2 branch back into HEAD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11565 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 03:32:36 +00:00