Titanium Turbo is a fork of Titanium Alloy that adds some enhancements and customizations for rapid development.
- Added support for static code blocks in view XML using
<script static="true">
. Have code run just once
- Added
turbo.collapse
as alias forturbo.collapseContainer
- Added
turbo.expand
as alias forturbo.expandContainer
- Changing versioning to move independent of versions of Titanium Alloy. Will avoid having to publish as a pre-release on npm.
- Partial fix for issue with Titanium and Alloy where relative path require statements were broken on iOS. [TIMOB-28037]
- Updated lodash to v4.17.20
- Added all sorts of new stuff. Need to update docs with changes later.
- Support for
<style>
tag in XML views! Also supports thesrc
element which then allows using a widget-wideapp.tss
file.
- Added initial support for Alloy now being able to be require
require('turbo')
- more awesomeness to come!
- Fixed issue if file skipped due to being ignored by babel config (still needs fix in SDK though)
- Updated to latest version of Alloy
- Fixed issue with Widgets/Require being used inside a Tab
- Added support for StackLayout control (with shortcut alias of
stack
and orientation property that defaults tovertical
) in JavaScript and xml views - Added support for VerticalLayout control (with shortcut alias of
vertical
) in JavaScript and xml views - Added support for HorizontalLayout control (with shortcut alias of
horizontal
) in JavaScript and xml views - Added support for AbsoluteLayout control (with shortcut alias of
absolute
) in JavaScript and xml views - Added alias support for ImageView and Image to JavaScript and xml views
- Added support for defining the primary entry point for the application (defaults to
index
). Currently search order:Alloy.main
→Alloy.CFG.main
→ Titanium Property:app.main
.
- Added support for StackLayout element (with shortcut alias of
stack
and orientation property that defaults tovertical
) in xml views - Added support for VerticalLayout element (with shortcut alias of
vertical
) in xml views - Added support for HorizontalLayout element (with shortcut alias of
horizontal
) in xml views - Added support for AbsoluteLayout element (with shortcut alias of
absolute
) in xml views
- Added lots of widget goodies!
- Added support for installing widgets via npm (without naming restrictions)
- Added support for using widgets as primary control in xml view
- Added support for using WPATH in xml view attributes
- Added support for using ~/ shortcut instead of WPATH in xml view attributes
- Updated to latest version of Alloy
- Bug fixes for databinding
- Updated to latest version of Alloy
- Added
open
andclose
functions to Controller for opening/closing Controller views
- Updated to latest version of Alloy with PR-940
- Renamed XML View element
code
toscript
- Fixed issue with Alloy View/Controller filenames that contained hyphens [ALOY-1706]
- Updated to latest version of Alloy with PR-911 for ALOY-1633
- Updated to latest version of @titanium/module-copier
- Added some aliases to lodash for backwards compatibility with underscore.js.
- Added
use-underscore
support in tiapp.xml for using underscore.js instead of lodash.
- Added
allowReturnOutsideFunction
to allow support of some older npm modules
- Added value alias
center
forTi.UI.TEXT_VERTICAL_ALIGNMENT_CENTER
when used withverticalAlign
XML attribute - Added property alias
text
forTi.UI.Button.title
when used as XML attribute - Added property alias
src
forTi.UI.ImageView.image
when used as XML attribute
- Added support for
controllerId
in event args for events created in controllers.
- Merged in latest changes from Alloy
- Changed the
model
attribute (used withdataCollection
) tomodelName
[Defaults to__currentModel
] - Added
dataName
(to be used withdataCollection
) to assign variable name to the currentmodel.__transformed
variable [Defaults to$model
]
- Added support for visibility property in XML Views with possible values of:
collapse
,hidden
, andvisible
. - Added constants:
Ti.UI.VISIBILITY_COLLAPSE
,Ti.UI.VISIBILITY_HIDDEN
, andTi.UI.VISIBILITY_VISIBLE
- Added support for
model
XML attribute to be used with withdataCollection
to assign variable name to model - Added support for adding code to XML View attributes when surrounded by '~'
- Added support for
Code
element in XML View. Add code by body orsrc
attribute.
- Updated lodash to v4.17.15
- Added support for
$.*
in Alloy Views XML attributes. Anything that starts with$.
will not be treated as a string.
- Updated lodash to v4.17.12
- Added functionality from AlloyXL into
Alloy.createController
- Added support for
require('/turbo')
as an alternate for Alloy and Alloy.Globals - Added
turbo
as a supported variable for use in Alloy XML views - See JIRA Ticket
- Updated version of @titanium/module-copier
- Used new function in module-copier
- Updated version of @titanium/module-copier
- Updated version of @titanium/module-copier
- Increment version after update of diff version
- Merged in latest changes from Alloy
- Updated version of @titanium/module-copier
- Updated backbone sorting from Alloy
- Updated moment to 1.4.0
- Added backbone version: 1.4.0
- Added underscore.js (1.9.1) for any legacy support
- Made default backbone version: 1.4.0
- Merged in latest changes from Alloy
- Merged in latest changes from Alloy 1.13.10
- Added check if __init is function
- Merged in latest changes from Alloy 1.13.9
- Added support for using
$.*
variables in XML views. [[ALOY-1316] - Added support for calling
__init()
function in controllers before rest of user code
'
- Merged in latest changes from Alloy
- Merged in latest changes from Alloy
- Added support for using
$.args
in XML views. [[ALOY-1316]
- Added support for xml namespaced attributes per platform (e.g.
ios:text
orandroid:text
) [ALOY-1646] - Added support for xml attributes with dotted notation (e.g.
font.fontSize
) [ALOY-1363]
- Based on Titanium Alloy 1.13.8
- Support for the following XML attributes in views:
fontSize
,fontFamily
,fontStyle
,fontWeight
,textStyle
[ALOY-1547] - Made default backbone version: 1.3.3
- Replaced Underscore.js with Lodash 4.17.11 [ALOY-1168]
- Updated babel.js to 7.x [ALOY-1629]
- Added support for babel config files:
.babelrc
,.babelrc.js
andbabel.config.js
- Added support for
camelCase
,snake_case
, andkabab-case
in XML views. [ALOY-1647] - Added plugin property
compileConfig.dir.resourcesAlloy
- Added ability to use Node.js modules installed in root directory of project [TIMOB-26352]