FusePowered

Corona SDK Release Notes (Build 2014.2189)

This document describes the changes to the Corona SDK on Mac OS X and Windows, including the simulator, and iOS and Android device builds since 2013.2100


What’s New in This Release

  • Auto-generation of outlines in images via graphics.newOutline
  • Using outlines in Box2D physics bodies
  • New Composer API library
  • Improved shader compatibility across devices, including workarounds for non-conforming, yet popular Samsung devices
  • Significant improvements to the widget library
  • Transition library enhancements
  • Improvements to Mac and Windows Simulator

Please note the following

  • The Mac Simulator requires OSX 10.8 or later
  • For iOS builds (Mac), requires Xcode 5.0 or later and OSX 10.8 or later
  • For both Mac and Window Simulator, requires Java 6 (Java 7 is now supported but upgrading to Java 7 on Windows may require reinstalling JRE6 to use CoronaSDK builds older than 2013.1093). ¬†Only 32 bit JDK supported on Windows.
  • Any modern graphics card that supports OpenGL 2.1 and higher
  • Build 2014.2189a.dmg is a patched version that now works correctly with Xcode 5.1. If you are running on the Mac OS, please download the updated CoronaSDK from the download page. The "About Corona Simulator" will show "(Xcode 5.1 fix)". Updated 3/21/2014

New Features and Bug fixes

  • All: Output a string describing the hardware and software platform the app is running on to aid support
  • All: Implement "handleRedirects" option for network.request() so that redirects can be handled explicitly if required
  • Android: Fix various issues with HTTP redirects including cookies and invalid requests
  • Android: Added textfield.placeholder and textbox.placeholder
  • Android: Fixed bad textures on Samsung Galaxy Tab 3
  • Android: Fixed the black screen problem on certain Android devices
  • Android: Fixed an issue where editing a text field after pressing submit wouldn’t fire anymore editing events. Casenum: 24542
  • Android: Fixed an issue where making a network call can cause a crash
  • Android: media.newRecording can now record to the wav format. This becomes the default format. You can still record to 3gp by appending .3gp to the end of the name of the file. This will let you record a recording and then play it back via the audio.* apis. Casenum: 22621, 11132
  • Android: Pressing the back button while playing a video in the video activity now fires off a completion event. Casenum: 29803
  • Android: Returns the correct title bar height for xxhdpi devices. Casenum: 27276
  • Core: Allow long pathnames in Lua error messages and stack traces (fixes issue with "Edit Code" on runtime errors not working with long paths). No casenum.
  • Core: Fixed bogus lua stack warning. No casenum.
  • Core: Fixed getTunerVolume(). Casenum: 25702
  • Core: Fixed hash table warning. No casenum.
  • Core: Fixed changes to width/height of a rounded rect were not working correctly. Casenum: 28847
  • Core: Fixed issue where text size incorrect after setting size property to original value. Casenum: 28474
  • Core: Letterboxed apps in landscape orientation returns the correct actual content width and height. Casenum: 28388
  • Core/iOS/Audio: Fixes casenum: 30208. Background music from other apps were being stopped when a Corona app launches.
  • Display: Added alpha support to the “scatter” filter.
  • Display: Added an “aspectRatio” parameter to “filter.polkaDots”
  • Display: Added filter.vignetteMask
  • Display: Added lineObject.anchorSegments
  • Display: Added support for images suffixes to graphics.newOutline(). Casenum: 30296
  • Display: Fixed a typo in filter.vignette that broke it on device
  • Display: Fixed display.save() bug with semi-transparent objects and PNGs. Casenum: 28844
  • Display: Fixed display.save(). Casenum: 28844
  • Display: Fixed gradients with alpha values
  • Display: Fixed sprite animation sequencing. Casenum: 18033
  • Display: Fixed transparency in filter.invert
  • Display: Fixed transparency when using display.capture() and a group. Casenum: 29410
  • Display: Fixed containers and group masks would not properly mask children in certain situations. Casenum: 28872
  • Display: Fixed issue with masking causing black areas around text
  • Display: Resolves issue where changing alpha value of off screen object in group does not update correctly. Casenum: 29332, 28784
  • iOS: Added fix to make CoronaUseIOS7LandscapeOnlyWorkaround work for iOS 7.1 due to an Apple change in how they load the app store view on top of an app
  • iOS: Fixed issue where adding a native display object could result in a black screen. Casenum: 28900
  • iOS: Fixed push notification issue. Casenum: 29616
  • iOS: Move Facebook to a plugin because it uses advertisingIdentifier which will cause apple to reject any apps with it
  • iOS: When facebook.logout is called it will now clear the cached token
  • iOS: Remove references to [class: ASIdentifierManager selector: advertisingIdentifier framework: AdSupport.framework] from product. Casenum: 30177
  • iOS/Mac: Resolving issue when closing/removing WebView from scene. Casenum: 25975, 28771, 27995, 28729
  • Mac: Allow Sublime Text 3 to be used with "Edit Code" option of runtime errors. No casenum.
  • Mac: Better fix for Corona Terminal command line doesn’t handle directories with spaces. Casenum: 19318
  • Mac: Fixed Corona Terminal command line doesn’t handle directories with spaces. Casenum: 19318
  • Mac: Fixed crash when a recent project has extended characters in the name. Casenum: 29615
  • Mac: Improve “license expiring” reminder behavior (in particular, remember the “Remind Me Later” button was pressed). No casenum.
  • Mac: Sort certificate list in the iOS build dialog. No casenum.
  • Mac/iOS: setTextColor now works correctly for 0–1.0 rgb ranges. Casenum: 28862
  • Mac/Win: Fixed annoying deprecated warning message that occurs when the Simulator detects a Lua syntax error
  • Mac/Win: Fixed issue with build error for Amazon and Nook. Casenum: 29976
  • Mac/Win: Handle build errors more gracefully. No casenum.
  • Mac/Win: Remove Simulator Warning Messages (Mac and Windows). Casenum: 29476
  • Mac/Win: Remove unnecessary platform message for Simulator windows; fix erroneous display.setStatusBarMode() error in Simulator windows. Casenum: 29685
  • Physics: Added Png2Box2D support for ImageSheets
  • Physics: Prevent adding physic bodies to lines
  • Transition 2.0: Added delta treatment for transition.from. Casemum: 26629
  • Transition 2.0: Fixed issue with easing.continuousLoop malforming the object properties on iteration end. Casenum: 29900
  • Transition 2.0: Fixed an issue with the .blink method when changing the object coordinates after calling it. Casenum: 29259
  • Transition 2.0: Fixed a bug with transitions that get cancelled immediately after creation. Casenum 27933
  • Transition 2.0: Fixed onComplete events firing twice. Casenum: 29913
  • Widget 2.0: Added “moved” phase to the tableView touch. Casenum: 28959
  • Widget 2.0: Added native behavior for the separators( they dissapear on touch ). No casenum.
  • Widget 2.0: Added the getValue() getter to the stepper widget. Casenum: 29142
  • Widget 2.0: Adding the background color and row color properties to the pickerWheel. No casenum.
  • Widget 2.0: Adding the scrollView:setIsLocked() method. No casenum.
  • Widget 2.0: Adding the tableView:setIsLocked() function
  • Widget 2.0: Adresses button labels not receiving the touch events. Casenum: 28320, lso fixes 30123 and 30094.
  • Widget 2.0: Fixed rerendering of category row in a table containing many category rows. Casenum: 27170, 25561
  • Widget 2.0: Fixed invalid state for ios7 switch when calling setState(). Partial casenum: 29144
  • Widget 2.0: Fixed reporting row contentHeight for tableView rows. Casenum: 28359
  • Widget 2.0: Fixed the color assignment on tableView rows in case one of the states is not specified. No casenum.
  • Widget 2.0: Fixed the scrolling properties being shared between widgets. Casenum: 29419
  • Widget 2.0: Fixed the scrollView bottom padding in compatibility mode
  • Widget 2.0: Fixed for ios7 theme buttons not returning to default state when placed in a scrollview that gets scrolled. Casenum: 27760
  • Widget 2.0: Fixed label touches on image- and spritesheed-based buttons. Casenum: 28320
  • Widget 2.0: Fixed texture memory not being deallocated by the pickerWheel widget. Casenum: 30229
  • Widget 2.0: Fixed the button labels not receiving touch events for imageFile or spriteSheet buttons. Casenum: 28320
  • Widget 2.0: Fixed the switch alignment for non-ios7 themes. Casenum: 29534, 28960
  • Widget 2.0: Fixed a segmented control issue when setting custom anchor points on the widget itself (not custom defaults). Casenum: 28956
  • Widget 2.0: Fixed issues with rendering category rows with delay in a tableView. Casenum: 25367, 24217
  • Widget 2.0: Fixed over state not propagating correctly for 9slice buttons. No casenum.
  • Widget 2.0: Fixed rendering issues when deleting row in a tableView with variable row heights. Casenum: 25674
  • Widget 2.0: Fixed scrollBar on tableView not updating position after creating more rows. Casenum: 26423
  • Widget 2.0: Fixed segmentedControl touch with custom anchors
  • Widget 2.0: Fixed tableView height calculation and scrollbar positioning when adding / deleting rows postcreation. Casenum: 24217
  • Widget 2.0: Fixed the buttonWidget created using a imageSheet not releasing texture memory. Casenum: 25855
  • Widget 2.0: Fixed the scrollBar appearing on the tableView although the content size is smaller than the view's bounds
  • Widget 2.0: Fixed the scrollToY method of the tableView to stop velocity before transitioning. No casenum.
  • Widget 2.0: Fixed the scrollview jumping to 0,0 after inserting content. Casenum: 30775
  • Widget 2.0: Improving the limit calculation on scrollviews. No casenum.
  • Widget 2.0: Maintenance on the tableView height calculation method
  • Widget 2.0: Params set on category row were empty after category rerendering. Casenum: 27439
  • Widget 2.0: Removed globals created by pickerwheel / progressview. Casenum: 28950
  • Widget 2.0: Fixing the scrollview jumping to 0,0 after inserting content. Improving the limit calculation on scrollviews. * * * Fixing the scrollToY method of the tableView to stop velocity before transitioning. Casenum: 30775
  • Win: Add support for transparency in PNGs in display.save() under Window
  • Win: Change to OpenGL 2.0/2.1 version checking
  • Win: Fixed issue with relaunching a project not working properly when the project was suspended. Casenum: 29653
  • Win: Fixed media.playEventSound only plays once in Windows Simulator. Casenum: 7754
  • Win: Fixed build leaves simulator suspended; added graphical display of suspended state; added shake animation. Casenum: 22040
  • Win: Fixed truncation of log output. Casenum: 30206
  • Win: Fixed system.getInfo( “architectureInfo” ) returns nothing on Windows. Casenum: 29472
  • Win: Removed old version of Corona Project Manager from the install program. This tool can be downloaded separately via “www.coronaprojectmanager.com”.