[futurebasic] [ANN] FB 5.4.6 release

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

From: Robert Purves <listrp@...>
Date: Thu, 8 Jul 2010 21:19:37 +1200
http://www.4toc.com/fb/index.htm  [you will need to reload the page if your browser cached the page mentioning FB 5.4.5]

Editor changes:
Two new features mean that you will no longer lose your scripts and style files on updating to new versions of FutureBasic 5.
[1] Scripts now reside in ~/Library/Application Support/FutureBasic/Scripts. When the editor starts it looks for this folder. If the folder does not exist, it is created and the sample scripts are copied from the current editor_support folder.
[2] Style files now reside in ~/Library/Application Support/FutureBasic/Styles. When the editor starts it looks for this folder. If the folder does not exist, it is created and the style files are copied from the current editor_support folder.

FutureBasic 5 Help:
This now includes most of the material formerly contained in the FBtoC Help Book. The latter is largely obsolete.

FBtoC bug fixes and new features:
400  Error      preprocessor bug for comments with quote char
463  Feature    pass comments on to C source
519  Error      Misleading error for missing project
522  Feature    Strip unused FB runtime and C runtime functions when making Xcode project
527  Nicety     Cleaner translation of simple 'if' conditions
535  Nicety     Make Xcode Project should set optimization -O0
538  Feature    Send runtime errors to console.log instead of showing fatal alert
539  Cleanup    Compiler warning from A$ = "(??)"
540  Cleanup    Warnings from Subs Quick Event Loop.Incl
541  Error      write# stringVar gives strange results
542  Error      'line input #' should terminate on <lf> as well as <cr>
543  Feature    Allow casting e.g. x = (double)y
544  Error      instr() treats chr$(0) and chr$(1) alike
545  Feature    Allow 64-bit integer literals such as 1ULL, -1LL
548  Error      'Warn of unused functions' sometimes didn't
549  Error      FSCatalogInfo.permission wrongly defined in Headers
550  Error      LP64 types should have size 8 in static expressions
553  Error      inkey$ for command line tool not implemented
554  Error      'Use precompiled header' breaks with clang 1.5
555  Feature    Allow static string expression (_foo$ + "bar") as 'output' filename

New Headers file:
Tlbx CFNumberFormatter.incl

New examples:
FB_5_4_6_Examples/Controls/CustomShapedControl
FB_5_4_6_Examples/Controls/CustomDrawnControl (Quartz)
FB_5_4_6_Examples/CoreFoundation/PrintCFString
FB_5_4_6_Examples/Files/FileObjectPermissions

Updated examples:
FB_5_4_6_Examples/AppleScript/LaunchMailPressSendII
FB_5_4_6_Examples/Controls/CustomDrawnControl (QuickDraw)
FB_5_4_6_Examples/Files/Droplet apps/Accept folder drop
FB_5_4_6_Examples/Files/Droplet apps/FinderInfo
FB_5_4_6_Examples/Files/Droplet apps/FinderInfo replacement
FB_5_4_6_Examples/Games/Spandrel 1.1 (chess)