Main

January 16, 2010

64bit support is coming

Supporting 64bit is not very important when most of your code is in Java. But Teppefall does have around 300kb of C++ that needs to be ported. And the process is something like this.


  • Install crazy big Windows SDK and Visual Studio on Windows 7.

  • Realize that the Windows documentation is wrong when it comes to "vcvarsall.bat amd64".

  • Dig around for a while.

  • Find the correct BAT based configuration files and drag them into the application menu.

  • Create custom makefiles.

  • Scratch your head as Microsoft uses the suffix "32" in paths and library names everywhere.

  • More mind numbingly boring rewriting of makefiles.

  • Everything compiles, but Winsock related code is broken. Might be configuration. Might be worse.

  • Realize that 64bit JRE writes a registry JVM value that points to a non-existent file. My fault ?

  • But the code supports that, so just use TEPPEFALL_JVM variable.

  • Success!


Itanium support is probably not happening. The compiler can't find "Windows.h" under the IPF configuration and that's kind of a problem unless I want to dynamically load every method. 64bit Windows 7 also seems to crash some plug-in based systems. They keep changing the security model and developers are behind all the time for some reason. Although, the same problem exists on 64bit Linux. Which is stranger since 64bit compiler support is just a GCC parameter away.

September 10, 2008

Java 1.5, VmPrefetch, LCDTest

All software except the SDK has been updated. Tons of minor fixes and the compile target is now 1.5. Yeah, yeah, I know. I needed to support OS X Panther.

Also releasing some new software. VmPrefetch is a simple VM prefetcher that should be run on startup. Nothing fancy yet, but I'm reading up on the latest instrumentation API's, so it might get smarter in the future. Currently this has a high snake oil factor, but I'm too arrogant to care. This is still not a 1.0, so user beware.

vmprefetch2.png vmprefetch.png
VmPrefetch (2).png

Create a shortcut and move it into one of these folders. Or just run it from the desktop.

Windows Vista
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Windows XP
C:\Documents And Settings\All Users\Start Menu\Programs\Startup
OS X
Right click on icon and select “Open at Login”.

LCDTest is an updated version of the demo application that is included in the SDK. Very few people will find this too exciting.

LCDTest (2).png

June 07, 2008

Teppefall 2D

Here is a new demo that showcases Teppefall 2D. It uses the same layout system as the other applets.







2D viewport
Vertically adjusting viewport.

Controls:
CTRL/Command + Up,Down,Left,Right.
CTRL + ALT + Up,Down,Left,Right.
CTRL + Enter (or doubleclick).
CTRL + Backspace.
Or just use the mouse, scroll wheel and CTRL.

Safari users can not use CTRL + Left,Right because Safari denies access to this key combination. Goldensection is based on a DrawBot example.

Java Applets.

beta.fx.layer

beta.fx.shapeddemo2d

beta.fx.textlayout

beta.fx.cover (broken on Linux)

beta.fx.oddshape

beta.fx.goldensection

April 24, 2008

Mixing FX and Layout

I am not sure if people are aware of this, but you can run Teppefall FX scripts within Teppefall Layout.

scheme.jfc - Teppefall Layout (14).png

scheme.jfc - Teppefall Layout (15).png

Also, here is Colorspace in Titanium White LAF.

Colorspace.png

March 03, 2008

FX, Layout, Colorspace and the SDK has been updated

Here are the changes.

Teppefall Layout 3.6
Teppefall FX 3.6
Teppefall Colorspace 1.9
Teppefall SDK (Darkstar) 20080303

Teppefall Layout
Teppefall FX
Teppefall Runtime
Colorspace

Continue reading "FX, Layout, Colorspace and the SDK has been updated" »

November 06, 2007

Colorspace 1.7, FX/Layout 3.4, SDK 20071105

Colorspace updates:
- Support for two monitors !! (thanks to Quaqua/Werner Randelshofer)
- CMD and SH files have the correct Darkstar parameters.
- Added a button that displays the pop-up menu.

Teppefall SDK (Darkstar) updates:
- EXE parameter -Xgraphite. The Graphite look and feel is faster than Titanium LAF.
- Linux executables.
- Linux shell script updates.
- Windows command script cleanup.
- Executables now treat all applications the same way.
- Substance 4 - Non-active menu color corrected.
- Substance 4 - Disabled menu item color corrected.
- Substance 4 - Color field no longer have dots in it under a dark LAF theme.
- DSR supports the new EXE files. You can now use -Xgraphite and -Xchrome on the DSR executable.

Continue reading "Colorspace 1.7, FX/Layout 3.4, SDK 20071105" »

October 09, 2007

java.lang.AbstractMethodError and Javascript overloading problems

Anyone who gets the stupid java.lang.AbstractMethodError exception when running a Darkstar FX script (the UI falls apart) must change D2DAdapter to D2DRenderer. Partially implemented abstract classes no longer work under Rhino 1.6.

Also, if you run into Javascript method overloading problems, like float versus int etc, then the solution is explicit type casting.

function fixColor(r, g, b) {
return new Color["(int,int,int)"](r,g,b)
}

SVG and Darkstar FX

I have been playing a little with Kirill's SVG to Java transcoder and then manually converting the Java code into Javascript based Darkstar FX renderer's. Very tedious, but good fun nevertheless. I had less success with the SVG to JavaFX converter, but that might just be a case of me using old software.

There are at least four SVG importer pipelines available for Java, so there seems to be some interest in this.

svg1.png

svg2.png

svg3.png

October 01, 2007

Colorspace 1.6, Layout 3.3, FX 3.3 and Darkstar 20070930

New features:

This is a library update with some compatibility fixes.

  • Substance 4.0
  • Rhino Javascript 1.6
  • BSF 2.4

Continue reading "Colorspace 1.6, Layout 3.3, FX 3.3 and Darkstar 20070930" »

September 27, 2007

Memory leak update

The memory leak seems to affect Windows XP as well, so I can only assume that this is a problem on all platforms. You are only affected if you run under -Dteppefall.chrome=false and you can probably stop the problem by setting -Dteppefall.cursor-monitor=false.

Example:

java
-Dteppefall.cursor-monitor=false
-Dteppefall.chrome=false
-Dteppefall.override=true
-Dswing.defaultlaf=com.teppefall.ds.look.TitaniumLAF
-jar darkstarlayout.jar

September 20, 2007

Using Quicktime to display CMYK images

Darkstar 2D's CompositeQuickTime.createImageFromQT should work on OS X and you end up with a apple.awt.OSXImage. Fun fact: searching for apple.awt.OSXImage on Google gives me 10 hits.
CMYK test image - 592 kb (in RGB below)

cmyk_test.jpg

Continue reading "Using Quicktime to display CMYK images" »

September 17, 2007

Color masking and sprite tiles

Wow.. written by a high school senior. The mask and sprite code is really cool. So I made a Javascript “mashup” in Darkstar FX.

One thing that is strange. My color picker (Colorspace) reports that the green in the Mario tile is #008500 in Firefox but #007300 when I paint the same image in Java 2D or open the file in Photoshop.

mario2.png

mario_fx.png

Continue reading "Color masking and sprite tiles" »

September 11, 2007

Colorspace 1.5, Layout 3.2, FX 3.2 and Darkstar 20070905

New features:

Colorspace supports the scroll wheel. One NPE fixed. Both fixes by Luan. Decimal values are written to standard output when the decimal check box is selected. 200-500ms shaved off About dialog launch. Colorspace no longer runs under a security policy since it causes to many problems on OS X.

Darkstar applications now have focus aware menus under Titanium LAF. A feature from the stone age. Just use com.teppefall.ds.Application in the same way as before. This means that the foreground color of your menu goes dark (under Titanium) when the JFrame loses focus.

The DSR executable supports the -Xchrome parameter. This turns on the native chrome and is the same as -Dteppefall.chrome=true.

DSR can launch multiple applications at the same time. Just add a comma separator between class names. A word of warning though. Running threads might block the shutdown process, so closing down resources on application exit is paramount. Note that DSR today has a very high probability of not closing down properly.

Other issues:

If Darkstar FX is unable to create HTML and thumbnails you should try the -Xinsecure parameter. FX and Layout run under security managers and can fail if the policy file is not perfect. Strange problems when running under DSR might also be a result of the security policy.

Continue reading "Colorspace 1.5, Layout 3.2, FX 3.2 and Darkstar 20070905" »

August 05, 2007

Big summer update

Two weeks ago I added new builds of Fabric, Surface, Colorspace and Darkstar to the download site. I did not make this public because I planned to fix all the kinks when I came home from vacation. but since some of you are probably struggling a bit, here is the lowdown on the new builds.

Continue reading "Big summer update" »

July 08, 2007

New updates

Colorspace 1.3, Fabric 2.8 and Surface 2.8 is available in the data folder. I will update the download page tomorrow. Colorspace now supports the taskbar, Fabric is less retarded and Surface has a new loader icon + hex color to STDOUT fix.

This website is all about alpha and beta software

Download non-beta software here