The previous build 1.0.69 was compiled to target Java 1.5+, but in this build we are targeting 1.7+ or higher. So you will need to run with at least Java 1.7 now (we recommend Java 1.8). Hopefully this should not be a problem since 1.6 is over a decade old now. We'll probably upgrade to require 1.8+ sometime in 2018.
Also note that Java FFI is not going to work with 1.9 because they reworked jars and classpath for project Jigsaw. That will be a significant development effort to fix. In the meantime you will need to use JDK 1.8 when compiling Fantom code which uses Java FFI.
UI Toolkit Strategy
We have spend most of the last two years on development of a new suite of APIs for UI development:
graphics: replaces gfx for low level graphical APIs
dom: continue to enhance DOM APIs
domkit: UI toolkit to render via DOM
This strategy is unapologetically browser-technology focused (DOM, CSS, JS, SVG, etc). The original FWT strategy for a single toolkit that targets desktop using both SWT and DOM doesn't really make sense anymore. At this point we will not be doing anymore development on gfx and fwt. Probably eventually we will move those pods and SWT support out of the core distribution/repo.
Dom and Domkit
Improvements most everywhere; see changelog for details
Notable changes:
Measurement classes (Pos, Size) are now Float based and use types from graphics pod
You'll also need the new %FAN_HOME%/lib/java/sys.jar to complement sys.pod.
The config files in %FAN_HOME%/etc/ are largely the same, but you can see this commit (in Fantom Windows Installer) to see what actually did change.
go4Sun 10 Dec 2017
Ok, thank you
ortizgiraldoThu 8 Mar 2018
About the new UI Toolkit...
This strategy is unapologetically browser-technology focused (DOM, CSS, JS, SVG, etc). The original FWT strategy for a single toolkit that targets desktop using both SWT and DOM doesn't really make sense anymore. At this point we will not be doing anymore development on gfx and fwt. Probably eventually we will move those pods and SWT support out of the core distribution/repo.
...does this mean that Fantom won't be suitable for developing desktop applications anymore? That would be a shame because creating desktop apps with FWT was a breeze.
brianSat 17 Mar 2018
does this mean that Fantom won't be suitable for developing desktop applications anymore
We aren't going to get rid of the FWT - its all solid working code. Maybe at some point we might stop including the SWT jars though in the distro zip. But it will also be interesting to see how desktop apps develop via web technology (such as Electron)
brian Wed 8 Nov 2017
New build is posted and online docs updated.
Java Support
The previous build 1.0.69 was compiled to target Java 1.5+, but in this build we are targeting 1.7+ or higher. So you will need to run with at least Java 1.7 now (we recommend Java 1.8). Hopefully this should not be a problem since 1.6 is over a decade old now. We'll probably upgrade to require 1.8+ sometime in 2018.
Also note that Java FFI is not going to work with 1.9 because they reworked jars and classpath for project Jigsaw. That will be a significant development effort to fix. In the meantime you will need to use JDK 1.8 when compiling Fantom code which uses Java FFI.
UI Toolkit Strategy
We have spend most of the last two years on development of a new suite of APIs for UI development:
graphics
: replacesgfx
for low level graphical APIsdom
: continue to enhance DOM APIsdomkit
: UI toolkit to render via DOMThis strategy is unapologetically browser-technology focused (DOM, CSS, JS, SVG, etc). The original FWT strategy for a single toolkit that targets desktop using both SWT and DOM doesn't really make sense anymore. At this point we will not be doing anymore development on
gfx
andfwt
. Probably eventually we will move those pods and SWT support out of the core distribution/repo.Dom and Domkit
Improvements most everywhere; see changelog for details
Notable changes:
domkit::Tree
API for simpler usedomkit::FilePicker
anddom::DomFile
APIdom::EventTypes
was removed in favor of using string literals; the docs are still available indom::Event
Notable new features:
dom
types (Elem,Style,Event) for use server-sideGraphics
We are introducing a new pod named graphics in this build. Graphics is a replacement for
gfx
. It has a couple design goals different than gfx:Change Log
Build 1.0.70 (8 Nov 2017)
fant -js
util::Macro
APISlimerDude Mon 13 Nov 2017
Congratulations on the new release! And well done Andy on the dom / domkit revamp - it looks great!
fraya Wed 15 Nov 2017
Thank you for sharing your work!
andy Fri 17 Nov 2017
For the macOS-ers -- homebrew is now updated to 1.0.70
SlimerDude Fri 8 Dec 2017
And the Windows Installer has also been updated to 1.0.70!
-=>
Fantom Windows Installer 1.0.70<=-
go4 Sat 9 Dec 2017
Can I upgrade it by
fanr
? I don't want to configure it again.SlimerDude Sat 9 Dec 2017
The core pods are available on the Fantom fanr server:
You'll also need the new
%FAN_HOME%/lib/java/sys.jar
to complementsys.pod
.The config files in
%FAN_HOME%/etc/
are largely the same, but you can see this commit (in Fantom Windows Installer) to see what actually did change.go4 Sun 10 Dec 2017
Ok, thank you
ortizgiraldo Thu 8 Mar 2018
About the new UI Toolkit...
...does this mean that Fantom won't be suitable for developing desktop applications anymore? That would be a shame because creating desktop apps with FWT was a breeze.
brian Sat 17 Mar 2018
We aren't going to get rid of the FWT - its all solid working code. Maybe at some point we might stop including the SWT jars though in the distro zip. But it will also be interesting to see how desktop apps develop via web technology (such as Electron)