List of changes that impact user-code (since 1.53 release)

All the latest news from Raw Material Software HQ

List of changes that impact user-code (since 1.53 release)

Postby jules » Wed Jun 29, 2011 2:46 pm

The PlatformUtilities class was a mess, and has been zapped out of existence. The collection of random functions that had accumulated in there have been moved to better homes.

So:

- the win32 registry functions have moved into a new class called "WindowsRegistry"
- The OSX CFString conversion methods have moved directly into the String class.
- The OSX file type, bundle, etc functions have moved into the File class.
- The DLL loading functions have moved into a new, much improved "DynamicLibrary" class, and are now available on OSX too.
- The win32 module handle and command-line param functions have moved into the Process class.
- The FSRef and fpuReset functions are defunct and have been removed. If you were using these in legacy code, just grab your own copy of them from the old codebase, they're only tiny functions and can be easily pasted-in.
- getOSXMinorVersionNumber has moved into SystemStats
- beep() has been removed - LookAndFeel::playAlertSound already did the same job, so you should use that directly instead.
- openDocument and launchEmailWithAttachments have moved into the Process class.
User avatar
jules
Fearless Leader
 
Posts: 17193
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: List of changes that impact user-code (since 1.53 releas

Postby jules » Fri Nov 25, 2011 3:34 pm

Having added some code to handle complex script layout using CoreText and DirectWrite, I've refactored the TextLayout class. It still does a fairly similar job, but has some different methods, and works alongside the AttributedString class now to build up multi-font strings.

(I doubt if many people were using TextLayout anyway, but just letting you know..)
User avatar
jules
Fearless Leader
 
Posts: 17193
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK


Return to News and Announcements

Who is online

Users browsing this forum: No registered users and 2 guests