beast r4329 - in trunk/sfi: . tests
- From: stw svn gnome org
- To: svn-commits-list gnome org
- Subject: beast r4329 - in trunk/sfi: . tests
- Date: Tue, 10 Apr 2007 17:00:37 +0100 (BST)
Author: stw
Date: 2007-04-10 17:00:36 +0100 (Tue, 10 Apr 2007)
New Revision: 4329
ViewCVS link: http://svn.gnome.org/viewcvs/beast?rev=4329&view=rev
Modified:
trunk/sfi/ChangeLog
trunk/sfi/Makefile.am
trunk/sfi/sfidl-corec.cc
trunk/sfi/sfidl-generator.cc
trunk/sfi/sfidl-parser.cc
trunk/sfi/sfidl-parser.hh
trunk/sfi/tests/misctests.c
trunk/sfi/tests/testidl.idl
Log:
Tue Apr 10 17:22:11 2007 Stefan Westerfeld <stefan space twc de>
* sfidl-parser.cc: Don't use g_strdup_printf, but g_ascii_formatd for
formatting doubles (locale independency). Some simplification could be
achieved by switching from char* to std::string for some code.
Fix #424897 "Bad code generated for double constants by sfidl".
* sfidl-parser.hh:
* sfidl-parser.cc:
* sfidl-corecxx.cc: Use birnet functions to convert between strings
and integers, instead of reimplementing our own version.
* sfidl-generator.cc: Use birnet function string_tolower, instead of
reimplementing our own version.
* Makefile.am: Start linking sfidl against birnet, as we use birnet
string helper functions now.
* tests/testidl.idl:
* tests/misctests.c: Test that the code generator output for doubles
is correct (see #424897), by computing a record default with a
double division and checking its result.
* sfidl-corec.cc: Fix a compiler warning by using "%zd" as printf
format where appropriate.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]