[futurebasic] [ANN] FB 5.4.5 and FBtoC 1.4.5

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2010 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Tue, 6 Apr 2010 10:54:11 +1200
http://www.4toc.com/fb  [you will need to reload the page if your browser cached the page mentioning FB 5.4.4]

Editor changes:
[1] 'Find in Next File' item (Command-option-G) in Edit menu.
[2] A crash from typing '#if def _someLongConstant' is fixed.

FBtoC bug fixes and new features:
510     Error     edit$( without closing parenthesis crashes FBtoC
516     Error     Dim syntax error not flagged
521     Error     Function declared as Str63 is unusable
522     Feature   Strip unused FB runtime and C runtime functions during Make Xcode Project
523     Nicety    Insert spaces around '*' in C translation of typed pointer parameters
524     Nicety    Symbolise boolean constants in C translation
525     Nicety    C translation should have NULL instead of (void*)(0)
526     Cleanup   Remove trigraphs and their support
528 #   Feature   Option to build command line tool instead of app
530 #   Feature   Allow 64-bit compilation of command line tool
531     Feature   Bounds checking should work for record fields that are arrays
532     Error     Hang when parsing call to undefined function
533     Feature   Allow dereference of pointer that is a record field and a pointer to another record
537     Cleanup   Remove thousands of obsolete predefined constants

# see the 'tool' example below. Also see FB5 Help: Appendix J - Command Line Tools.

Function change:
GetFormattedDateTimeAsString() has been replaced by DateFormatCreateStringWithAbsoluteTime().
Note the difference in parameter order:
//toolbox fn GetFormattedDateTimeAsString( CFAbsoluteTime  at, CFStringRef formatString ) = CFStringRef
toolbox fn DateFormatCreateStringWithAbsoluteTime( CFStringRef formatString, CFAbsoluteTime at ) = CFStringRef

Revised Headers file:
Tlbx HIView.incl   [fixes definition of HIViewContentInfo]

New examples:
FB_5_4_5_Examples/Command Line Tool/tool
FB_5_4_5_Examples/CoreFoundation/CFString left, right, mid
FB_5_4_5_Examples/CoreFoundation/CFArray of Dicts Proj
FB_5_4_5_Examples/CoreFoundation/CFStrings in FB console
FB_5_4_5_Examples/Dialogs and Windows/ImageView as window backgound
FB_5_4_5_Examples/Miscellaneous/CFDateFormatter test

Updated examples:
FB_5_4_5_Examples/Miscellaneous/DateExample
FB_5_4_5_Examples/CFPrefs Demos/CF string version/Prefs w/Nib & CE
FB_5_4_5_Examples/CoreFoundation/CFAdditions
FB_5_4_5_Examples/Games/Spandrel 1.0 (chess)  [replaces RChess 3]