[futurebasic] [ANN] FutureBasic 5.1.3 and FBtoC 1.1.8

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2009 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Sat, 10 Jan 2009 10:24:11 +1300
<http://www.4toc.com/fb/index.html>  [if your browser shows the old FB  
5.1.2 page, ask it to Reload the page]


Editor 5.1.3 is unchanged from 5.1.2.

FBtoC 1.1.8 changes:
-------------------
'on FinderInfo fn Xxxx' implemented [see FB_5_1_3_Examples > Files >  
FinderInfo]
The Headers file Util_CE.incl has been extensively commented for  
easier use.

New Headers files and examples:
------------------------------
Util_EUTCKeyFilter.incl  [see FB_5_1_3_Examples > Text > EUTC Key  
filter]
Util_Toolbar.incl        [see FB_5_1_3_Examples > Carbon Toolbar > The  
easy way]
Tlbx HITheme.incl        [see FB_5_1_3_Examples > Controls >  
HITheme_demos]
Tlbx CoreText.incl       [see FB_5_1_3_Examples > Text > CoreText xxxx]

CoreGraphics headers changes
----------------------------
The special FB4 syntax for a handful of CG functions (CGRectMake,  
CGRectOffset, CGContextGetCTM ...) has been discarded. You will need  
to change the way you call these functions in your source code. For  
example:
   fn CGRectMake( r, 0.0, 0.0, 10.0, 20.0 ) // old FB4 syntax
   r = fn CGRectMake( 0.0, 0.0, 10.0, 20.0 ) // new FB5 syntax similar  
to C

Additions to the CG headers:
CGDataProvider.incl
CGError.incl
CGFont.incl
CGGradient.incl
CGPath.incl
CGPDFArray.incl
CGPDFDictionary.incl
CGPDFDocument.incl
CGPDFObject.incl
CGPDFPage.incl
CGPDFStream.incl
CGPDFString.incl

The FB4 'local fn' wrappers have been removed from all CoreGraphics  
functions. This change makes 'fn' optional when calling CG procedures  
(functions that do not return a value).
   fn CGContextFillRect( ctx, r ) // 'fn' formerly required; now  
optional
   CGContextFillRect( ctx, r ) // new simpler syntax


Bug-fixes:
---------
370  button statements uncheck a checked checkbox
404  scroll button mishandles Rect param at creation
406  key chars with high bit set are negative  in _evKeys dialog event
409  I-beam cursor persists after click in FBtoC Log window
410  gcc error from struct/record field named 'index'
412  gcc error from pi if prefs 'Allow dim a#,a$,a%"
413  val&() should return 0 if first char is alphabetic

Robert P.