diff --git a/README.md b/README.md index 0778edc9993..09810431e33 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

+

Titanium

@@ -184,16 +184,12 @@ Community support and discussion about Titanium is available on Slack at [TiSlac Please consider following [@Appcelerator](http://www.twitter.com/appcelerator) and [@AppcDev](https://twitter.com/AppcDev) on Twitter for updates. -### Blog - -The Appcelerator blog is located at (http://www.appcelerator.com/blog). - ### Commercial Support, Licensing We give our software away for FREE! In order to do that, we have programs for companies that require additional level of assistance through training or commercial support, need special licensing or want additional levels of capabilities. Please visit the -[Appcelerator Website](http://www.appcelerator.com) for more information about Appcelerator or +[Appcelerator Website](http://www.titaniumsdk.com) for more information about Appcelerator or email [info@appcelerator.com](mailto:info@appcelerator.com). ## Contributing diff --git a/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java b/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java index 53cab198aca..e4fb436eb71 100644 --- a/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java +++ b/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java @@ -902,10 +902,10 @@ public void open(String method, String url) // The Android Uri doesn't seem to handle user ids with at-signs (@) in them // properly, even if the @ is escaped. It will set the host (uri.getHost()) to // the part of the user name after the @. For example, this Uri would get - // the host set to appcelerator.com when it should be mickey.com: - // http://testuser@appcelerator.com:password@mickey.com/xx + // the host set to example.com when it should be mickey.com: + // http://testuser@example.com:password@mickey.com/xx // ... even if that first one is escaped to ... - // http://testuser%40appcelerator.com:password@mickey.com/xx + // http://testuser%40example.com:password@mickey.com/xx // Tests show that Java URL handles it properly, however. So revert to using Java URL.getHost() // if we see that the Uri.getUserInfo has an at-sign in it. // Also, uri.getPort() will throw an exception as it will try to parse what it thinks is the port diff --git a/android/titanium/src/java/org/appcelerator/kroll/KrollProxy.java b/android/titanium/src/java/org/appcelerator/kroll/KrollProxy.java index c997ac999bb..bfe4f823c0d 100644 --- a/android/titanium/src/java/org/appcelerator/kroll/KrollProxy.java +++ b/android/titanium/src/java/org/appcelerator/kroll/KrollProxy.java @@ -39,7 +39,7 @@ /** * This is the parent class of all proxies. A proxy is a dynamic object that can be created or * queried by the user through a module or another proxy's API. When you create a native view with - * Titanium.UI.createView , + * Titanium.UI.createView , * the view object is a proxy itself. */ @Kroll.proxy(name = "KrollProxy", propertyAccessors = { KrollProxy.PROPERTY_HAS_JAVA_LISTENER }) diff --git a/apidoc/Global/Global.yml b/apidoc/Global/Global.yml index bf9f527a249..a45e604cd83 100644 --- a/apidoc/Global/Global.yml +++ b/apidoc/Global/Global.yml @@ -136,7 +136,7 @@ methods: 3. Initialize the module with the `require` method by passing the module ID to the method. For detailed instructions, refer to - [Using a Module](https://docs.appcelerator.com/platform/latest/#!/guide/Using_a_Module). + [Using a Module](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Using_Modules/Using_a_Module.html). #### CommonJS Module diff --git a/apidoc/Titanium/Android/ActionBar.yml b/apidoc/Titanium/Android/ActionBar.yml index 60c2cb3ee91..7a64cf0c783 100644 --- a/apidoc/Titanium/Android/ActionBar.yml +++ b/apidoc/Titanium/Android/ActionBar.yml @@ -17,7 +17,7 @@ description: | to true disables the Action Bar since it is part of the navigation title bar. For more examples on using the Action Bar, refer to the - [Android Action Bar guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Action_Bar). + [Android Action Bar guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Android_UI_Components_and_Conventions/Android_Action_Bar.html). #### Application Notes for Alloy @@ -123,7 +123,7 @@ methods: [setDisplayShowHomeEnabled](https://developer.android.com/reference/android/app/ActionBar.html#setDisplayShowHomeEnabled(boolean)) in the Android API Reference. since: "3.3.0" - + - name: setDisplayShowTitleEnabled summary: Shows or hides the action bar title/subtitle parameters: @@ -135,7 +135,7 @@ methods: [setDisplayShowTitleEnabled](https://developer.android.com/reference/android/app/ActionBar.html#setDisplayShowTitleEnabled(boolean)) in the Android API Reference. since: "3.3.0" - + - name: show summary: Shows the action bar if it is currently hidden. description: | diff --git a/apidoc/Titanium/Android/Android.yml b/apidoc/Titanium/Android/Android.yml index a40e3c3ae29..73b0abb3f19 100644 --- a/apidoc/Titanium/Android/Android.yml +++ b/apidoc/Titanium/Android/Android.yml @@ -36,7 +36,7 @@ description: | mode changes. For more information about broadcasts, see the - [Android Broadcast Intents and Receivers guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Broadcast_Intents_and_Receivers) + [Android Broadcast Intents and Receivers guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Broadcast_Intents_and_Receivers.html) and [Titanium.Android.BroadcastReceiver API reference](Titanium.Android.BroadcastReceiver). #### Intents @@ -54,7 +54,7 @@ description: | can define intent filters to let Android know your application can handle those data types. For more information about intent filters, see the - [Android Intent Filters guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters). + [Android Intent Filters guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html). #### Notifications diff --git a/apidoc/Titanium/Android/BroadcastReceiver.yml b/apidoc/Titanium/Android/BroadcastReceiver.yml index b94b95b497d..df933a147c2 100644 --- a/apidoc/Titanium/Android/BroadcastReceiver.yml +++ b/apidoc/Titanium/Android/BroadcastReceiver.yml @@ -42,7 +42,7 @@ description: | Further Reading: - * [Android Broadcast Intents and Receivers guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Broadcast_Intents_and_Receivers) + * [Android Broadcast Intents and Receivers guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Broadcast_Intents_and_Receivers.html#create-a-broadcast-intent) * [Android Developers: Broadcast Receivers](https://developer.android.com/reference/android/content/BroadcastReceiver.html). diff --git a/apidoc/Titanium/Android/Intent.yml b/apidoc/Titanium/Android/Intent.yml index 0a752581408..27612ac78cc 100644 --- a/apidoc/Titanium/Android/Intent.yml +++ b/apidoc/Titanium/Android/Intent.yml @@ -10,7 +10,7 @@ description: | To receive an intent, an application needs to declare an Intent Filter. An intent filter indicates to the Android OS that your application can handle certain data types or URIs. For details on using Intent Filters, see the - [Android Intent Filters guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters). + [Android Intent Filters guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html). Intents can be used to start an activity, start a service or start a broadcast. @@ -101,7 +101,7 @@ description: | #### Further Reading - * [Android Intents guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intents) + * [Android Intents guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html) * [Android Developer: Intent](https://developer.android.com/reference/android/content/Intent.html) extends: Titanium.Proxy @@ -346,7 +346,7 @@ examples: After copying the default root activity of your application from the `AndroidManifest.xml` file to the Android manifest section of the `tiapp.xml` file, add an intent filter. For detailed instructions, refer to the - [Android Intent Filters guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters). + [Android Intent Filters guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html). You can trigger this intent filter by long pressing on an image in the Android gallery and selecting "share". diff --git a/apidoc/Titanium/Android/Menu.yml b/apidoc/Titanium/Android/Menu.yml index 84b4020e229..25c672c2fe3 100644 --- a/apidoc/Titanium/Android/Menu.yml +++ b/apidoc/Titanium/Android/Menu.yml @@ -64,7 +64,7 @@ description: | On Android 3.0 and later, menu items can be displayed as _action items_ in the action bar. To enable this, the application must be built with a theme that supports the action bar, such as the Holo theme. (See - [Android Themes](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes) in + [Android Themes](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Android_UI_Components_and_Conventions/Android_Themes.html) in the Titanium Guides for information on setting your application's theme.) For menu items displayed in the menu, the `onCreateOptionsMenu` function is called diff --git a/apidoc/Titanium/Android/NotificationManager/NotificationManager.yml b/apidoc/Titanium/Android/NotificationManager/NotificationManager.yml index bac6431c697..67e468c0714 100644 --- a/apidoc/Titanium/Android/NotificationManager/NotificationManager.yml +++ b/apidoc/Titanium/Android/NotificationManager/NotificationManager.yml @@ -7,7 +7,7 @@ description: | Further Reading: - * [Android Notifications guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Notifications) + * [Android Notifications guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Notification_Services/Android_Notifications.html) * [Android Developer: Notifications](https://developer.android.com/guide/topics/ui/notifiers/notifications.html) extends: Titanium.Module platforms: [android] diff --git a/apidoc/Titanium/Android/Service.yml b/apidoc/Titanium/Android/Service.yml index c17635d9d6b..e8d95de0742 100644 --- a/apidoc/Titanium/Android/Service.yml +++ b/apidoc/Titanium/Android/Service.yml @@ -32,9 +32,9 @@ description: | Further Reading: - * [Android Services guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Services) + * [Android Services guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Services.html) * [Android Developer: Service](https://developer.android.com/reference/android/app/Service.html) - + ### Background Location Service Example In order to obtain location events while the application is backgrounded a foreground service must be used. Below is an example of a simple background location service. @@ -81,10 +81,10 @@ description: | // Set accuracy to high Ti.Geolocation.accuracy = Ti.Geolocation.ACCURACY_HIGH; - + // Enable manual configuration via location providers. Ti.Geolocation.Android.manualMode = true; - + // Define a location provider. Ti.Geolocation.Android.addLocationProvider( Ti.Geolocation.Android.createLocationProvider({ @@ -93,7 +93,7 @@ description: | minUpdateTime: 5000 }) ); - + function getLocation () { // Create location event listener. @@ -141,7 +141,7 @@ description: | backgroundServiceBtn.title = 'START BACKGROUND SERVICE'; } } - + win.addEventListener('open', () => { // Request location permissions. @@ -178,7 +178,7 @@ description: | stopBackgroundLocationService(); } }); - + win.add([backgroundServiceBtn, listView]); win.open(); ``` diff --git a/apidoc/Titanium/App/App.yml b/apidoc/Titanium/App/App.yml index 7ade5e04789..871803a3ac3 100644 --- a/apidoc/Titanium/App/App.yml +++ b/apidoc/Titanium/App/App.yml @@ -138,7 +138,7 @@ description: | This can lead to memory leaks if application-level event listeners are added and not removed. - See also: [Event Handling](https://docs.appcelerator.com/platform/latest/#!/guide/Event_Handling) + See also: [Event Handling](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Fundamentals/Event_Handling.html) in the Titanium Mobile Guides. #### System Level Accessibility Events @@ -291,7 +291,7 @@ events: - name: backtrace summary: The backtrace of function calls when the error occurred. type: String - deprecated: + deprecated: since: "8.0.0" removed: "8.0.0" notes: Use the `stack` property instead. @@ -311,7 +311,7 @@ events: - name: lineOffset summary: The offset on the line where the error occurred. (Deprecated since 9.0.0. Use `column` instead.) type: Number - deprecated: + deprecated: since: "9.0.0" notes: Use `column` property for cross-platform parity. platforms: [android] @@ -319,7 +319,7 @@ events: summary: The javascript stack trace of the exception. (Deprecated since 9.0.0. Use `stack` instead.) type: String since: "8.0.0" - deprecated: + deprecated: since: "9.0.0" notes: Use `stack` property for cross-platform parity. platforms: [android] @@ -327,7 +327,7 @@ events: summary: The java stack trace of the exception. (Deprecated since 9.0.0. Use `nativeStack` instead.) type: String since: "8.0.0" - deprecated: + deprecated: since: "9.0.0" notes: Use `nativeStack` property for cross-platform parity. platforms: [android] diff --git a/apidoc/Titanium/App/iOS/iOS.yml b/apidoc/Titanium/App/iOS/iOS.yml index b2e0a650fae..658da7f1c91 100644 --- a/apidoc/Titanium/App/iOS/iOS.yml +++ b/apidoc/Titanium/App/iOS/iOS.yml @@ -22,7 +22,7 @@ description: | notification. For instructions on sending local interactive notifications, see the - [iOS Local Notifications guide](https://docs.appcelerator.com/platform/latest/#!/guide/iOS_Local_Notifications). + [iOS Local Notifications guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Notification_Services/iOS_Local_Notifications.html). ### Local Interactive Notifications @@ -41,7 +41,7 @@ description: | 4. Monitor the [localnotificationaction](Titanium.App.iOS.localnotificationaction) event. For instructions on sending local interactive notifications, see the - [iOS Local Notifications guide](https://docs.appcelerator.com/platform/latest/#!/guide/iOS_Local_Notifications). + [iOS Local Notifications guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Notification_Services/iOS_Local_Notifications.html). ### Background Downloads @@ -49,7 +49,7 @@ description: | content in the background. These background modes are supported in Titanium SDK 3.2.0 and later. For more information on getting started, refer to the - [iOS Background Services guide](https://docs.appcelerator.com/platform/latest/#!/guide/iOS_Background_Services). + [iOS Background Services guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/iOS_API_Deep_Dives/iOS_Background_Services.html). ### Handoff User Activities @@ -1258,7 +1258,7 @@ events: summary: | The response text for [task](Modules.URLSession.task) and [uploadTask](Modules.URLSession.uploadTask). This property does not exhist for download task. For download task response, - use [downloadcompleted](Titanium.App.iOS.downloadcompleted) event. + use [downloadcompleted](Titanium.App.iOS.downloadcompleted) event. type: String since: "7.2.0" diff --git a/apidoc/Titanium/CHANGELOG/2.0.1.GA.mdoc b/apidoc/Titanium/CHANGELOG/2.0.1.GA.mdoc index 97f110fd122..b630c86d25f 100644 --- a/apidoc/Titanium/CHANGELOG/2.0.1.GA.mdoc +++ b/apidoc/Titanium/CHANGELOG/2.0.1.GA.mdoc @@ -21,10 +21,10 @@ ## About This Release Titanium Mobile SDK Release 2.0.1 is a feature release of the Titanium Mobile SDK, including -several new features and a number of bug fixes and parity improvements. +several new features and a number of bug fixes and parity improvements. -_This is Release 2.0.1.GA Revision 2. The initial 2.0.1.GA release was missing the -Appcelerator Cloud Services modules (Titanium.Cloud and Titanium.CloudPush). +_This is Release 2.0.1.GA Revision 2. The initial 2.0.1.GA release was missing the +Appcelerator Cloud Services modules (Titanium.Cloud and Titanium.CloudPush). If you installed the initial GA release, please install this version to receive the ACS modules._ @@ -46,7 +46,7 @@ releases: * [Release Notes for Release 1.8.1](https://docs.appcelerator.com/titanium/release-notes/?version=1.8.1) * [Release Notes for Release 1.8.2](https://docs.appcelerator.com/titanium/release-notes/?version=1.8.2) - + Note that Release 1.8.1 included fixes related to developing modules. If you are developing iOS or Android modules, see the 1.8.1 Release Notes for more information. Further information is available in the [Titanium Mobile SDK and Titanium Studio Documentation](https://docs.appcelerator.com/titanium/2.0/). @@ -61,7 +61,7 @@ Further information is available in the [Titanium Mobile SDK and Titanium Studio * Mobile Web Platform Release Candidate -* Android Geolocation Enhancements +* Android Geolocation Enhancements * Defined Module APIs for Android and iOS @@ -70,21 +70,21 @@ Further information is available in the [Titanium Mobile SDK and Titanium Studio ### Layout System Updates This release implements the [Composite Layout -Specification](https://docs.appcelerator.com/titanium/latest/#!/guide/UI_Composite_Layout_Behavior_Spec), +Specification](https://docs.appcelerator.com/titanium/latest/#!/guide/UI_Composite_Layout_Behavior_Spec), a major update to the UI layout system. The composite layout specification involves -several changes to the way the UI system lays out controls, so that all platforms can +several changes to the way the UI system lays out controls, so that all platforms can follow a common layout model. The major changes to the layout system involve: * Improved handling for automatic sizing of views * Batch layout updates for improved performance -* Post-layout event generated when layout is complete +* Post-layout event generated when layout is complete * New precedence order for layout parameters These changes affect UI behavior on all platforms, and may require application changes. -For details, see [Transitioning to the New UI Layout System](https://docs.appcelerator.com/titanium/2.0/index.html#!/guide/Transitioning_to_the_New_UI_Layout_System) +For details, see [Transitioning to the New UI Layout System](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_Guide/Contributing_to_Titanium/Platform_Development/Specs/UI_Composite_Layout_Behavior_Spec.html) in the Titanium Mobile Guides. @@ -92,7 +92,7 @@ in the Titanium Mobile Guides. ### Appcelerator Cloud Services Support This release includes bundled Titanium modules for using Appcelerator Cloud Services -(ACS). ACS provides a range of backend services for mobile applications, including +(ACS). ACS provides a range of backend services for mobile applications, including user management, social integration, data storage and push notifications. The ACS modules are documented in the main API reference, but they are not included @@ -105,10 +105,10 @@ module: var Push = require('ti.cloudpush'); -To use ACS services, you must enable ACS for your project. See +To use ACS services, you must enable ACS for your project. See [Appcelerator Cloud Services](https://docs.appcelerator.com/titanium/2.0/#!/guide/Appcelerator_Cloud_Services) -in the Titanium Mobile Guides +in the Titanium Mobile Guides for details on how to enable ACS in a Titanium project. For further documentation and examples of using ACS in Titanium, see the API reference for @@ -122,50 +122,50 @@ visit [cloud.appcelerator.com](http://cloud.appcelerator.com). ### Mobile Web Release Candidate Status The Mobile Web platform is now officially in Release Candidate status. -The majority of the Titanium Mobile API is now implemented for Mobile Web. +The majority of the Titanium Mobile API is now implemented for Mobile Web. -Specifically, Mobile Web implements a cross-platform subset of the +Specifically, Mobile Web implements a cross-platform subset of the Titanium Mobile APIs, excluding any platform-specific APIs **and** any APIs that require features not available to applications running in a browser. The following features are not yet implemented for Mobile Web, but will be supported in a future release: -* `Titanium.Database` -* `Titanium.Media.AudioPlayer` -* `Titanium.Media.Sound` -* `Titanium.Network.Socket` -* `Titanium.Network.Socket.TCP` -* `Titanium.Stream` +* `Titanium.Database` +* `Titanium.Media.AudioPlayer` +* `Titanium.Media.Sound` +* `Titanium.Network.Socket` +* `Titanium.Network.Socket.TCP` +* `Titanium.Stream` * `Titanium.UI.SearchBar` * `Titanium.Locale` -- local locale specific date/currency formatting is not yet implemented. Localized messages are implemented. -The following UI controls are not implemented because they are platform-specific controls that +The following UI controls are not implemented because they are platform-specific controls that have not yet been moved to a platform-specific namespace. -* `Titanium.UI.ButtonBar` -* `Titanium.UI.MaskedImage` -* `Titanium.UI.Notification` -* `Titanium.UI.3DMatrix` +* `Titanium.UI.ButtonBar` +* `Titanium.UI.MaskedImage` +* `Titanium.UI.Notification` +* `Titanium.UI.3DMatrix` -Finally, the `Titanium.Contacts` module is not supported because no standard exists to +Finally, the `Titanium.Contacts` module is not supported because no standard exists to expose a device's contacts data to applications running in the browser. Certain APIs are subject to limitations on Mobile Web because of the constraints -imposed on application running in the browser. For more information, see +imposed on application running in the browser. For more information, see [Mobile Web Limitations](https://docs.appcelerator.com/titanium/#!/guide/Mobile_Web_Limitations). ### Android Geolocation Enhancements and Geolocation Simple Mode -This release includes several improvements for geolocation on Android, and a new +This release includes several improvements for geolocation on Android, and a new "simple mode" for geolocation that is supported on Android, iOS, and Mobile Web. * Simple mode has two `accuracy` settings, `ACCURACY_HIGH` and `ACCURACY_LOW`. This provides a simple, cross-platform mode for configuring location updates. - This is the only mode supported on Mobile Web. On iOS and Android, this + This is the only mode supported on Mobile Web. On iOS and Android, this mode should only be used for applications with basic location requirements. * For applications that have more demanding location requirements on Android, @@ -195,12 +195,12 @@ you can find them at the following locations: ## Known Issues -This section lists the most notable known issues and regressions in this release. +This section lists the most notable known issues and regressions in this release. * iOS: WebView canGoBack/canGoForward does not work for local files. ([TIMOB-7965](https://jira.appcelerator.org/browse/TIMOB-7965)) -* iOS: VideoPlayer does not fire touch events. This was a regression in +* iOS: VideoPlayer does not fire touch events. This was a regression in Release 1.8.1. ([TIMOB-8486](https://jira.appcelerator.org/browse/TIMOB-8486)) * Android: Titanium.CloudPush module does not work with Android OS 3.0 and newer. @@ -213,7 +213,7 @@ This section lists the most notable known issues and regressions in this release *New Features* -* Geolocation enhancements. See +* Geolocation enhancements. See [Android Geolocation Enhancements and Geolocation Simple Mode](#geo). * Support for Android SDK Tools Revision 17, Revision 18, and Revision 19. @@ -224,31 +224,31 @@ This section lists the most notable known issues and regressions in this release 1.8.1. ([TIMOB-6586](https://jira.appcelerator.org/browse/TIMOB-6586)) * Several fixes related to WebViews: - + * Improved handling of local URLs inside WebView, including correctly handling forward/back for local URLs ([TIMOB-8028](https://jira.appcelerator.org/browse/TIMOB-8028)); and resolving - a crash that occurred when reopening a local URL + a crash that occurred when reopening a local URL ([TIMOB-8144](https://jira.appcelerator.org/browse/TIMOB-8144)). * Fixed a regression where a WebView reloaded when it was removed from the view hierarchy, and then re-added. ([TIMOB-7808](https://jira.appcelerator.org/browse/TIMOB-7808)). - * Fixed a web view crash that occurred when handling the back button. + * Fixed a web view crash that occurred when handling the back button. ([TIMOB-7695](https://jira.appcelerator.org/browse/TIMOB-7695)). * Resolved a crash when reusing a web view on an activity window. ([TIMOB-8267](https://jira.appcelerator.org/browse/TIMOB-8267)) * Resolved several issues related to the `html` property. - ([TIMOB-974](https://jira.appcelerator.org/browse/TIMOB-974) and + ([TIMOB-974](https://jira.appcelerator.org/browse/TIMOB-974) and [TIMOB-7840](https://jira.appcelerator.org/browse/TIMOB-7840)) -* Improved open event handling for tabs. +* Improved open event handling for tabs. ([TIMOB-8192](https://jira.appcelerator.org/browse/TIMOB-8192)) -For a complete list of Android fixes in this release, see: +For a complete list of Android fixes in this release, see: [Fixed Android Issues in JIRA](https://jira.appcelerator.org/secure/IssueNavigator.jspa?mode=hide&requestId=12744) @@ -269,10 +269,10 @@ The following section lists notable bug fixes in iOS. * Improved CommonJS module encoding. * `Titanium.Platform.id` now returns a per-application unique ID, instead of - the Apple UDID. - - This change was required because Apple has changed its policies, and apps using UDID - may now be rejected from the app store. + the Apple UDID. + + This change was required because Apple has changed its policies, and apps using UDID + may now be rejected from the app store. ([TIMOB-8173](https://jira.appcelerator.org/browse/TIMOB-8173)) * Newsstand content notifications. ([TIMOB-5910](https://jira.appcelerator.org/browse/TIMOB-5910)) @@ -284,32 +284,32 @@ The following section lists notable bug fixes in iOS. * Fixed "suspend" and "resume" behavior. ([TIMOB-4538](https://jira.appcelerator.org/browse/TIMOB-4538)) * Several App verification fixes. ([TIMOB-6575](https://jira.appcelerator.org/browse/TIMOB-6575), [TIMOB-7674](https://jira.appcelerator.org/browse/TIMOB-7674))) -* Fixed numerous crashes. ([TIMOB-8105](https://jira.appcelerator.org/browse/TIMOB-8105), - [TIMOB-8102](https://jira.appcelerator.org/browse/TIMOB-8102), - [TIMOB-8081](https://jira.appcelerator.org/browse/TIMOB-8081), +* Fixed numerous crashes. ([TIMOB-8105](https://jira.appcelerator.org/browse/TIMOB-8105), + [TIMOB-8102](https://jira.appcelerator.org/browse/TIMOB-8102), + [TIMOB-8081](https://jira.appcelerator.org/browse/TIMOB-8081), [TIMOB-7334](https://jira.appcelerator.org/browse/TIMOB-7334)) -* Fixed memory leaks and garbage collection issues. - ([TIMOB-7644](https://jira.appcelerator.org/browse/TIMOB-7644), - [TIMOB-7642](https://jira.appcelerator.org/browse/TIMOB-7642), +* Fixed memory leaks and garbage collection issues. + ([TIMOB-7644](https://jira.appcelerator.org/browse/TIMOB-7644), + [TIMOB-7642](https://jira.appcelerator.org/browse/TIMOB-7642), [TIMOB-7467](https://jira.appcelerator.org/browse/TIMOB-7467), [TIMOB-6463](https://jira.appcelerator.org/browse/TIMOB-6463)) * HTTP client support for Shift_JIS, EUC-JP encodings. ([TIMOB-6835](https://jira.appcelerator.org/browse/TIMOB-6835)) -For a complete list of iOS fixes in this release, see: +For a complete list of iOS fixes in this release, see: [Fixed iOS Issues in JIRA](https://jira.appcelerator.org/secure/IssueNavigator.jspa?mode=hide&requestId=12745). ### Using Xcode 4.3 -In previous releases of Xcode, when a new version of Xcode was installed, the installer +In previous releases of Xcode, when a new version of Xcode was installed, the installer invoked the `xcode-select` command to set the new version of Xcode as the active version. With Xcode 4.3, Xcode is installed by default in a different directory (under /Applications instead of under /Developer), and it does not run `xcode-select` to update the Xcode path. If you have both Xcode 4.2 and Xcode 4.3 installed, you will need -to run `xcode-select` manually to determine which version of Xcode is used. +to run `xcode-select` manually to determine which version of Xcode is used. To select Xcode 4.3, run the following command: @@ -326,12 +326,12 @@ specify the appropriate path in the command. ## Mobile Web Fixes and Enhancements -With this release, the Mobile Web platform is a Release Candidate. See -[Mobile Web Platform Release Candidate Status](#mobileweb_rc) for a summary of +With this release, the Mobile Web platform is a Release Candidate. See +[Mobile Web Platform Release Candidate Status](#mobileweb_rc) for a summary of what is currently supported in Mobile Web as well as known limitations. For a complete list of Mobile Web fixes in this release, see: [Fixed Mobile Web Issues in -JIRA](https://jira.appcelerator.org/secure/IssueNavigator.jspa?mode=hide&requestId=12746). +JIRA](https://jira.appcelerator.org/secure/IssueNavigator.jspa?mode=hide&requestId=12746). @@ -347,8 +347,7 @@ unified documentation site for the Titanium Mobile SDK and Titanium Studio: * Left-hand navigation tree occasionally stops scrolling. Reloading the site should fix this problem. * Display anomalies when a large number of tabs are open. - + For a complete list of documentation fixes in this release, see: [Fixed Documentation Issues in JIRA](https://jira.appcelerator.org/secure/IssueNavigator.jspa?mode=hide&requestId=12748) - diff --git a/apidoc/Titanium/CHANGELOG/4.0.0.GA.mdoc b/apidoc/Titanium/CHANGELOG/4.0.0.GA.mdoc index af4a7778931..896e96d61b1 100644 --- a/apidoc/Titanium/CHANGELOG/4.0.0.GA.mdoc +++ b/apidoc/Titanium/CHANGELOG/4.0.0.GA.mdoc @@ -46,10 +46,10 @@ with this Release. * [Contacts](#contacts) * [Split Window](#split_window) * [User Defaults](#user_defaults) - * [Known Issues](#known_issues) + * [Known Issues](#known_issues) * [Cannot Preview Mobile Web Application in Studio](#web_server) * [Fail to Encrypt JavaScript Files on Windows](#windows_java) - * [API Changes](#apis) + * [API Changes](#apis) * [New APIs](#new_apis) * [Deprecated APIs](#deprecated_apis) * [Removed APIs](#removed_apis) @@ -67,15 +67,15 @@ This release includes over 150 bug fixes and improvements, see the [full list of ### Alloy 1.6.0 This release coincides with the release of Alloy 1.6.0. - + **Summary of New Features:** - + * Support for Backbone 1.1.2 * Upgrade to Underscore 1.6.0 * Update extract-i18n command to extract localized strings from XML files in addition to JavaScript and TSS files * XML Markup/TSS Enhancements: * Set the `Titanium.Android.MenuItem.actionView` property in XML Markup using the <ActionView/> element - + For more details, see the Alloy [Changelog](https://github.com/appcelerator/alloy/blob/1_6_X/CHANGELOG.md). @@ -107,7 +107,7 @@ This Release coincides with the release of Studio 4.0.0. For more details, see the [Studio Release Notes](https://docs.appcelerator.com/platform/latest/#!/guide/Studio_Release_Notes). -## Notice of Feature or Behavior Changes +## Notice of Feature or Behavior Changes ### Android Platform @@ -144,7 +144,7 @@ This section lists changes for the iOS platform. #### iOS Attributed String -Since Android supports attributed strings, the `Titanium.UI.iOS.AttributedString` class is deprecated and a new [Titanium.UI.AttributedString](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.AttributedString) class was added. The new class behaves the same as the old class. If you currently use attributed strings in your application, just remove the iOS namespace. Note that Android only supports a subset of attributes as compared to iOS. +Since Android supports attributed strings, the `Titanium.UI.iOS.AttributedString` class is deprecated and a new [Titanium.UI.AttributedString](https://titaniumsdk.com/api/titanium/ui/attributedstring.html) class was added. The new class behaves the same as the old class. If you currently use attributed strings in your application, just remove the iOS namespace. Note that Android only supports a subset of attributes as compared to iOS. The Label `link` event now responds to a single tap rather than a long press. @@ -168,7 +168,7 @@ This section lists new features and improvements only available on the Android p #### Attributed String -As of this Release, the Android platform supports attributed strings using the [Titanium.UI.AttributedString](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.AttributedString) class. Previously, this feature was only available for iOS. +As of this Release, the Android platform supports attributed strings using the [Titanium.UI.AttributedString](https://titaniumsdk.com/api/titanium/ui/attributedstring.html) class. Previously, this feature was only available for iOS. For more details, see the [Attributed String guide](https://docs.appcelerator.com/platform/latest/#!/guide/Attributed_Strings). @@ -180,7 +180,7 @@ Starting with this Release, the Titanium SDK exposes the Material Theme color pa To use the Material Theme with Titanium, you need to create a custom theme that extends one of the AppCompat themes, then set the color palette attributes you want to change from the default theme. For details, see the "Material Theme" section in the -[Android Themes guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes). +[Android Themes guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Android_UI_Components_and_Conventions/Android_Themes.html). #### Module Lifecycle Hooks @@ -201,8 +201,8 @@ The `Titanium.Android.Notifications` class exposes the following new properties: * [priority](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Android.Notification-property-priority): Set to a `Titanium.Android.PRIORITY_*` constant to determine where the notification is displayed in the drawer. Supported on Android 4.1 and greater. * [visibility](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Android.Notification-property-visibility): Set to a `Titanium.Android.VISIBILITY_*` constant to filter notifications in the lock screen. Supported on Android 5.0 and greater. -For details, see the -[Android Notifications guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Notifications). +For details, see the +[Android Notifications guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Notification_Services/Android_Notifications.html). #### Scrollable Tabs @@ -221,7 +221,7 @@ This Release adds support for scrollable tabs, where users can swipe to navigate This Release adds support for the split action bar, which displays action items in a separate bar at the bottom of the window instead of at the top. To create a split action bar, set the [splitActionBar property](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Window-property-splitActionBar) -to `true` when creating a Window object. +to `true` when creating a Window object. #### TLS Support @@ -246,7 +246,7 @@ The following `Titanium.Media.VideoPlayer` methods are exposed to the Android pl Previously, this feature was only available for iOS. - + ### Facebook Module @@ -504,8 +504,8 @@ the last selected tab window is shown. Titanium.UI.Window.getSplitActionBarmethod

Gets the value of the splitActionBar property. (New API, supported on Android.)

Titanium.UI.Window.splitActionBarproperty

Boolean value to enable split action bar. (New API, supported on Android.)

Titanium.UI.createAttributedStringmethod

Creates and returns an instance of Titanium.UI.AttributedString. (New API, supported on iPhone, iPad and Android.)

- Titanium.UI.iOS.SplitWindowobject

A SplitWindow is a window that manages the presentation of two side-by-side view -controllers. + Titanium.UI.iOS.SplitWindowobject

A SplitWindow is a window that manages the presentation of two side-by-side view +controllers. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.createSplitWindowmethod

Creates and returns an instance of Titanium.UI.iOS.SplitWindow. (New API, supported on iPhone and iPad.)

diff --git a/apidoc/Titanium/CHANGELOG/4.1.0.GA.mdoc b/apidoc/Titanium/CHANGELOG/4.1.0.GA.mdoc index 136992cd662..7fd132e43ac 100644 --- a/apidoc/Titanium/CHANGELOG/4.1.0.GA.mdoc +++ b/apidoc/Titanium/CHANGELOG/4.1.0.GA.mdoc @@ -24,10 +24,10 @@ * [Tab](#tab) * [Region Locale](#region_locale) * [Uncaught Errors](#uncaught_errors) - * [Known Issues](#known_issues) + * [Known Issues](#known_issues) * [iOS Calendar Status Constants](#ios_constants) * [Windows Platform](#windows_issues) - * [API Changes](#apis) + * [API Changes](#apis) * [New APIs](#new_apis) @@ -165,7 +165,7 @@ to see when the List View starts or stops scrolling, respectively. List View now supports adding multiple markers, which fires the `marker ` event when the user scrolls to it. Previously, you could only set one marker at a time. For more details, see -[ListViews: ListView marker event](https://docs.appcelerator.com/platform/latest/#!/guide/ListViews-section-37521650_ListViews-ListViewmarkerEvent). +[ListViews: ListView marker event](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/ListViews/#listview-marker-event). ### Map Module @@ -199,7 +199,7 @@ action items to list items. Action items appear when the user swipes left on a l the user can select an action to perform on the item. Custom action items require iOS 8 and above. For details, see -[ListViews: Action Items](https://docs.appcelerator.com/platform/latest/#!/guide/ListViews-section-37521650_ListViews-ActionItems). +[ListViews: Action Items](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/ListViews/#action-items). #### Tab @@ -207,7 +207,7 @@ For details, see On iOS, the application can set the title color of the active tab or inactive tabs by using the Tab object's [activeTitleColor](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Tab-property-activeTitleColor) and [titleColor](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Tab-property-titleColor) -properties, respectively. +properties, respectively. ### Region Locale @@ -281,7 +281,7 @@ The following APIs are new or have expanded platform support in Release 4.1.0. Modules.Map.createPolygonmethod

Creates and returns an instance of Modules.Map.Polygon. (New API, supported on Android, iPhone and iPad.)

- + Modules.Map.createPolylinemethod

Creates and returns an instance of Modules.Map.Polyline. (New API, supported on Android, iPhone and iPad.)

@@ -293,7 +293,7 @@ The following APIs are new or have expanded platform support in Release 4.1.0. Titanium.Accelerometerobject

The top-level Accelerometer module, used to determine the device's physical position. (Added support for Windows Phone.)

- Titanium.Analyticsobject

Used for transmitting developer-defined Analytics events to the Appcelerator Analytics product. + Titanium.Analyticsobject

Used for transmitting developer-defined Analytics events to the Appcelerator Analytics product. (Added support for Windows Phone.)

Titanium.Analytics.filterEventsmethod

Sets a list of events that will not be sent to the analytics server. (New API, supported on Android, iPhone and iPad.)

@@ -302,7 +302,7 @@ The following APIs are new or have expanded platform support in Release 4.1.0. application at runtime, and for sending or listening for system events. (Added support for Windows Phone.)

- Titanium.App.Propertiesobject

The App Properties module is used for storing application-related data in property/value pairs + Titanium.App.Propertiesobject

The App Properties module is used for storing application-related data in property/value pairs that persist beyond application sessions and device power cycles. (Added support for Windows Phone.)

@@ -343,7 +343,7 @@ Returns null if there's an error. Titanium.Geolocationobject

The top level Geolocation module. The Geolocation module is used for accessing device location based information. (Added support for Windows Phone.)

- Titanium.Gestureobject

The Gesture module is responsible for high-level device gestures such as orientation changes + Titanium.Gestureobject

The Gesture module is responsible for high-level device gestures such as orientation changes and shake gestures. (Added support for Windows Phone.)

@@ -376,7 +376,7 @@ and shake gestures. Titanium.Network.Socket.UDPobject

UDP socket. (New API, supported on Windows Phone.)

- Titanium.Platformobject

The top-level Platform module. The Platform module is used to access the device's platform-related + Titanium.Platformobject

The top-level Platform module. The Platform module is used to access the device's platform-related functionality. (Added support for Windows Phone.)

@@ -393,7 +393,7 @@ functionality. Titanium.UI.ActivityIndicatorStyleobject

A set of constants for the styles available for Titanium.UI.ActivityIndicator objects. (Added support for Windows Phone.)

- Titanium.UI.AlertDialogobject

An alert dialog is a modal view that includes an optional title, a message and buttons, + Titanium.UI.AlertDialogobject

An alert dialog is a modal view that includes an optional title, a message and buttons, positioned in the middle of the display. (Added support for Windows Phone.)

@@ -405,7 +405,7 @@ positioned in the middle of the display. Titanium.UI.EmailDialogobject

An email dialog is a modal window that allows users to compose and send an email. (Added support for Windows Phone.)

- Titanium.UI.ImageViewobject

A view to display a single image or series of animated images. + Titanium.UI.ImageViewobject

A view to display a single image or series of animated images. (Added support for Windows Phone.)

Titanium.UI.Labelobject

A text label, with optional background image. (Added support for Windows Phone.)

@@ -453,8 +453,8 @@ in a vertically-scrolling view. Titanium.UI.Notificationobject

A toast notification. (Added support for Windows Phone.)

- Titanium.UI.OptionDialogobject

An option dialog is a modal view that includes a message and one or more option items positioned -in the middle of the display on Android and at the bottom edge on iOS. On Android, buttons may + Titanium.UI.OptionDialogobject

An option dialog is a modal view that includes a message and one or more option items positioned +in the middle of the display on Android and at the bottom edge on iOS. On Android, buttons may be added below the options. (Added support for Windows Phone.)

@@ -463,7 +463,7 @@ be added below the options. Titanium.UI.ScrollViewobject

A view that contains a horizontally and/or vertically-scrollable region of content.
(Added support for Windows Phone.)

- Titanium.UI.ScrollableViewobject

A view that encapsulates a horizontally-scrolling set of child views, known as pages, navigable + Titanium.UI.ScrollableViewobject

A view that encapsulates a horizontally-scrolling set of child views, known as pages, navigable using its built-in horizontal swipe gestures. (Added support for Windows Phone.)

@@ -500,7 +500,7 @@ using its built-in horizontal swipe gestures. Titanium.UI.TabGroupobject

A tabbed group of windows. (Added support for Windows Phone.)

- Titanium.UI.TableViewobject

A table view is used to present information, organized in sections and rows, in a + Titanium.UI.TableViewobject

A table view is used to present information, organized in sections and rows, in a vertically-scrolling view. (Added support for Windows Phone.)

@@ -528,7 +528,7 @@ vertically-scrolling view. Titanium.UI.Viewobject

An empty drawing surface or container (Added support for Windows Phone.)

- Titanium.UI.WebViewobject

The web view allows you to open an HTML5 based view which can load either local or remote content. + Titanium.UI.WebViewobject

The web view allows you to open an HTML5 based view which can load either local or remote content. (Added support for Windows Phone.)

Titanium.UI.Windowobject

The Window is an empty drawing surface or container. (Added support for Windows Phone.)

@@ -551,7 +551,7 @@ All properties, methods and events in this namespace will only work on Windows P Titanium.UI.iOS.ROW_ACTION_STYLE_NORMALproperty

The normal style for RowActionType. (New API, supported on iPhone and iPad.)

- Titanium.Utilsobject

The top-level Utils module, containing a set of JavaScript methods that are often useful when + Titanium.Utilsobject

The top-level Utils module, containing a set of JavaScript methods that are often useful when building applications. (Added support for Windows Phone.)

@@ -588,7 +588,7 @@ Implements the DOM Level 2 API on Android and iOS. Exposes the DOM Level 3 API i Titanium.XML.EntityReferenceobject

Represents an XML entity reference. (Added support for Windows Phone.)

- Titanium.XML.NamedNodeMapobject

A key-value paired map that maps String objects to Titanium.XML.Node objects. + Titanium.XML.NamedNodeMapobject

A key-value paired map that maps String objects to Titanium.XML.Node objects. Implements the DOM Level 2 API on Android and iOS. Exposes the DOM Level 3 API implementation on Mobile Web. (Added support for Windows Phone.)

@@ -604,4 +604,3 @@ Implements the DOM Level 2 API on Android and iOS. Exposes the DOM Level 3 API - diff --git a/apidoc/Titanium/Calendar/Calendar.yml b/apidoc/Titanium/Calendar/Calendar.yml index 9fb8a6bd07a..f7db0a7460f 100644 --- a/apidoc/Titanium/Calendar/Calendar.yml +++ b/apidoc/Titanium/Calendar/Calendar.yml @@ -8,7 +8,7 @@ description: | Currently, on Android, calendar permissions must be explicitly configured in `tiapp.xml` in order to access the calendar. See "Common Requirements" in - [tiapp.xml and timodule.xml Reference](https://docs.appcelerator.com/platform/latest/#!/guide/tiapp.xml_and_timodule.xml_Reference). + [tiapp.xml and timodule.xml Reference](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_Guide/Appendices/tiapp.xml_and_timodule.xml_Reference.html). extends: Titanium.Module platforms: [android, iphone, ipad, macos] @@ -369,8 +369,8 @@ properties: summary: Indicates a daily recurrence rule for a events reccurance frequency. description: | Used with the property. - - One of the group of event "frequency" constants + + One of the group of event "frequency" constants [RECURRENCEFREQUENCY_DAILY](Titanium.Calendar.RECURRENCEFREQUENCY_DAILY), [RECURRENCEFREQUENCY_WEEKLY](Titanium.Calendar.RECURRENCEFREQUENCY_WEEKLY), [RECURRENCEFREQUENCY_MONTHLY](Titanium.Calendar.RECURRENCEFREQUENCY_MONTHLY), @@ -384,8 +384,8 @@ properties: summary: Indicates a weekly recurrence rule for a events reccurance frequency. description: | Used with the property. - - One of the group of event "frequency" constants + + One of the group of event "frequency" constants [RECURRENCEFREQUENCY_DAILY](Titanium.Calendar.RECURRENCEFREQUENCY_DAILY), [RECURRENCEFREQUENCY_WEEKLY](Titanium.Calendar.RECURRENCEFREQUENCY_WEEKLY), [RECURRENCEFREQUENCY_MONTHLY](Titanium.Calendar.RECURRENCEFREQUENCY_MONTHLY), @@ -399,8 +399,8 @@ properties: summary: Indicates a monthly recurrence rule for a events reccurance frequency. description: | Used with the property. - - One of the group of event "frequency" constants + + One of the group of event "frequency" constants [RECURRENCEFREQUENCY_DAILY](Titanium.Calendar.RECURRENCEFREQUENCY_DAILY), [RECURRENCEFREQUENCY_WEEKLY](Titanium.Calendar.RECURRENCEFREQUENCY_WEEKLY), [RECURRENCEFREQUENCY_MONTHLY](Titanium.Calendar.RECURRENCEFREQUENCY_MONTHLY), @@ -414,8 +414,8 @@ properties: summary: Indicates a yearly recurrence rule for a events reccurance frequency. description: | Used with the property. - - One of the group of event "frequency" constants + + One of the group of event "frequency" constants [RECURRENCEFREQUENCY_DAILY](Titanium.Calendar.RECURRENCEFREQUENCY_DAILY), [RECURRENCEFREQUENCY_WEEKLY](Titanium.Calendar.RECURRENCEFREQUENCY_WEEKLY), [RECURRENCEFREQUENCY_MONTHLY](Titanium.Calendar.RECURRENCEFREQUENCY_MONTHLY), @@ -841,7 +841,7 @@ examples: Create a picker to allow an existing calendar to be selected and, when a button is clicked, generate details of all events in that calendar for the current year. - ``` js + ``` js var calendars = []; var selectedCalendarName; var selectedid; diff --git a/apidoc/Titanium/Contacts/Contacts.yml b/apidoc/Titanium/Contacts/Contacts.yml index 53beb20b866..f89cdba6195 100644 --- a/apidoc/Titanium/Contacts/Contacts.yml +++ b/apidoc/Titanium/Contacts/Contacts.yml @@ -18,7 +18,7 @@ description: | See the examples for a sample use of the `reload` event. - If 'ABAddressBookErrorDomain error 0' occurs, it implies that you are not allowed to add or edit + If 'ABAddressBookErrorDomain error 0' occurs, it implies that you are not allowed to add or edit certain fields. Check your default account in the iOS settings under contacts. If it's not 'iCloud', most likely it will not support fields such as alternateBirthday or socialProfile. @@ -48,14 +48,14 @@ methods: parameters: - name: parameters summary: | - Properties to set on a new object, including any in except + Properties to set on a new object, including any in except those marked as non-creation or read-only. type: Dictionary optional: true - + - name: createPerson summary: | - Creates and returns an instance of , and commits all pending + Creates and returns an instance of , and commits all pending changes to the underlying contacts database. returns: type: Titanium.Contacts.Person @@ -63,26 +63,26 @@ methods: parameters: - name: parameters summary: | - Properties to set on a new object, including any in except + Properties to set on a new object, including any in except those marked as non-creation or read-only. type: Dictionary optional: true - + - name: getAllGroups summary: Gets all groups. returns: type: Array exclude-platforms: [android] - + - name: getAllPeople summary: Gets all people, unless a limit is specified. returns: - type: Array + type: Array parameters: - name: limit summary: Maximum number of people. Android only. type: Number - + - name: getGroupByID summary: Gets the group with the specified identifier. returns: @@ -98,7 +98,7 @@ methods: notes: Use the [Titanium.Contacts.getGroupByIdentifier](Titanium.Contacts.getGroupByIdentifier) method instead. - name: getGroupByIdentifier - summary: Gets the group with the specified identifier. + summary: Gets the group with the specified identifier. returns: type: Titanium.Contacts.Group exclude-platforms: [android] @@ -107,10 +107,10 @@ methods: summary: Group identifier. type: String since: {iphone: "5.0.0", ipad: "5.0.0", macos: "9.2.0"} - + - name: getPeopleWithName summary: | - Gets people with a `firstName`, `middleName` or `lastName` field, or a combination + Gets people with a `firstName`, `middleName` or `lastName` field, or a combination of these fields, that match the specified name. returns: type: Array @@ -118,7 +118,7 @@ methods: - name: name summary: Name to match. type: String - + - name: getPersonByID summary: Gets the person with the specified identifier. exclude-platforms: [macos] @@ -132,7 +132,7 @@ methods: since: "5.0.0" removed: "9.0.0" notes: Use the [Titanium.Contacts.getPersonByIdentifier](Titanium.Contacts.getPersonByIdentifier) method instead. - + - name: getPersonByIdentifier summary: Gets the person with the specified identifier. returns: @@ -141,7 +141,7 @@ methods: - name: id summary: Contact identifier. type: Number - since: "5.0.0" + since: "5.0.0" osver: {ios: {min: "9.0"}} - name: removeGroup @@ -153,45 +153,45 @@ methods: - name: group summary: Contact group. type: Titanium.Contacts.Group - + - name: removePerson summary: Removes a contact from the address book. description: | On iOS: - - This method must be followed by a save action to commit the data to the underlying database, - which can be done explicitly using or implicitly using - . Although the object will still - exist once committed, it will no longer be valid. Continuing to use it will result in + + This method must be followed by a save action to commit the data to the underlying database, + which can be done explicitly using or implicitly using + . Although the object will still + exist once committed, it will no longer be valid. Continuing to use it will result in unpredictable behavior, including crashes. - + On Android: - - This method will remove the person from the Contacts book automatically. + + This method will remove the person from the Contacts book automatically. since: {android: "2.1.0"} parameters: - name: person summary: Contact. type: Titanium.Contacts.Person - + - name: revert summary: Reverts all changes made by the previous save to the address book. Deprecated for >= iOS9. exclude-platforms: [android] osver: {ios: {max: "8.0"}} - + - name: save summary: Commits all pending changes to the underlying contacts database. parameters: - name: contacts - summary: List of contacts to save. Used on Android only. + summary: List of contacts to save. Used on Android only. type: Array since: {android: "3.0.0"} description: | On Android: - + Takes an array of objects and saves changes for the specified contacts only. - + - name: showContacts summary: Displays a picker that allows a person to be selected. parameters: @@ -239,7 +239,7 @@ methods: description: | Note that the callback may be synchronous or asynchronous. That is, it may be called during requestAuthorization or much later. See the "Request access to the address book" - example on how to best use this method. + example on how to best use this method. since: "2.1.3" exclude-platforms: [macos] parameters: @@ -253,12 +253,12 @@ properties: description: | This property need to be set before calling contacts APIs. From iOS 13 or later if your app fetch note field from contact, the app must have to set key 'com.apple.developer.contacts.notes' to 'true' in entitelements section of tiapp.xml. - + ``` xml com.apple.developer.contacts.notes ``` - + See more details at https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_contacts_notes and https://developer.apple.com/contact/request/contact-note-field. type: Boolean default: true @@ -269,49 +269,49 @@ properties: summary: Specifies that a contact is an organization. description: | Used with the property. - - One of the group of contact "kind" constants - [CONTACTS_KIND_ORGANIZATION](Titanium.Contacts.CONTACTS_KIND_ORGANIZATION), + + One of the group of contact "kind" constants + [CONTACTS_KIND_ORGANIZATION](Titanium.Contacts.CONTACTS_KIND_ORGANIZATION), and [CONTACTS_KIND_PERSON](Titanium.Contacts.CONTACTS_KIND_PERSON). type: Number permission: read-only - + - name: CONTACTS_KIND_PERSON summary: Specifies that a contact is a person. - description: + description: Used with the property. - - One of the group of contact "kind" constants - [CONTACTS_KIND_ORGANIZATION](Titanium.Contacts.CONTACTS_KIND_ORGANIZATION), + + One of the group of contact "kind" constants + [CONTACTS_KIND_ORGANIZATION](Titanium.Contacts.CONTACTS_KIND_ORGANIZATION), and [CONTACTS_KIND_PERSON](Titanium.Contacts.CONTACTS_KIND_PERSON). type: Number permission: read-only - + - name: CONTACTS_SORT_FIRST_NAME summary: Specifies that group members will be sorted by first name. - description: + description: Used with the method. - - One of the group of contact group "sort" constants - [CONTACTS_SORT_FIRST_NAME](Titanium.Contacts.CONTACTS_SORT_FIRST_NAME), + + One of the group of contact group "sort" constants + [CONTACTS_SORT_FIRST_NAME](Titanium.Contacts.CONTACTS_SORT_FIRST_NAME), and [CONTACTS_SORT_LAST_NAME](Titanium.Contacts.CONTACTS_SORT_LAST_NAME). type: Number permission: read-only - name: CONTACTS_SORT_LAST_NAME summary: Specifies that group members will be sorted by last name. - description: + description: Used with the method. - - One of the group of contact group "sort" constants - [CONTACTS_SORT_FIRST_NAME](Titanium.Contacts.CONTACTS_SORT_FIRST_NAME), + + One of the group of contact group "sort" constants + [CONTACTS_SORT_FIRST_NAME](Titanium.Contacts.CONTACTS_SORT_FIRST_NAME), and [CONTACTS_SORT_LAST_NAME](Titanium.Contacts.CONTACTS_SORT_LAST_NAME). type: Number permission: read-only - name: AUTHORIZATION_AUTHORIZED summary: | - A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value + A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value indicating that the application is authorized to use the address book. description: | This value is always returned on Android devices, as well as on iOS versions earlier than 6.0. @@ -321,7 +321,7 @@ properties: - name: AUTHORIZATION_DENIED summary: | - A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value + A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value indicating that the application is not authorized to use the address book. type: Number permission: read-only @@ -329,7 +329,7 @@ properties: - name: AUTHORIZATION_RESTRICTED summary: | - A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value + A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value indicating that the application is not authorized to use the address book *and* the user cannot change this application's status. type: Number @@ -343,7 +343,7 @@ properties: - name: AUTHORIZATION_UNKNOWN summary: | - A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value + A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value indicating that the authorization state is unknown. type: Number permission: read-only @@ -353,7 +353,7 @@ properties: summary: Returns an authorization constant indicating if the application has access to the address book. description: | Always returns `AUTHORIZATION_AUTHORIZED` on iOS pre-6.0 and Android devices. - + If `contactsAuthorization` is `AUTHORIZATION_RESTRICTED`, you should not attempt to re-authorize: this will lead to issues. type: Number @@ -383,11 +383,11 @@ examples: - title: Query Existing System Address Book Records example: | Output to the console all properties of all people. - + ``` js var singleValue = [ - 'recordId', 'firstName', 'middleName', 'lastName', 'fullName', 'prefix', 'suffix', - 'nickname', 'firstPhonetic', 'middlePhonetic', 'lastPhonetic', 'organization', + 'recordId', 'firstName', 'middleName', 'lastName', 'fullName', 'prefix', 'suffix', + 'nickname', 'firstPhonetic', 'middlePhonetic', 'lastPhonetic', 'organization', 'jobTitle', 'department', 'note', 'birthday', 'created', 'modified', 'kind' ]; var multiValue = [ @@ -409,9 +409,9 @@ examples: - title: Add New System Address Book Records example: | - Create two new records in the system address book. Note that the + Create two new records in the system address book. Note that the object is queried in the same way that it is created (as shown in the previous example.) - + ``` js Ti.API.info('Saving contact...'); Ti.Contacts.createPerson({ @@ -473,11 +473,11 @@ examples: }, url:{ homepage: ['www.google.com'], - work: ['www.appcelerator.com', 'www.example.com'] + work: ['www.titaniumsdk.com', 'www.example.com'] } }); Ti.API.info('Contact saved'); - + Ti.API.info('Saving contact...'); var workAddress1 = { 'CountryCode': 'us', @@ -487,7 +487,7 @@ examples: 'Country': 'United States', 'ZIP': '94043' }; - + Ti.Contacts.createPerson({ firstName:'Arthur', lastName:'Evans', @@ -556,24 +556,24 @@ properties: summary: Function to call when selection is canceled. type: Callback optional: true - + - name: selectedPerson summary: | Function to call when a person is selected. Must not be used with `selectedProperty` property. type: Callback optional: true - + - name: selectedProperty summary: | - Function to call when a property is selected. Must not be used with `selectedPerson` + Function to call when a property is selected. Must not be used with `selectedPerson` property. Note: If ringtone or texttone is selected, null values are returned, since these are unsupported by Apple. - Since iOS 9.0, there is a native apple issue whereby it may return null if the birthday property + Since iOS 9.0, there is a native apple issue whereby it may return null if the birthday property is selected on certain device models. The callback contains the selected property and a 'person' object of type . - Since iOS 9.0, apple only returns the person object with partial information. Currently it is known to - at least contain the selected property and fullName. + Since iOS 9.0, apple only returns the person object with partial information. Currently it is known to + at least contain the selected property and fullName. exclude-platforms: [android] type: Callback optional: true diff --git a/apidoc/Titanium/Filesystem/Filesystem.yml b/apidoc/Titanium/Filesystem/Filesystem.yml index 00891064b62..f8ce76708c5 100644 --- a/apidoc/Titanium/Filesystem/Filesystem.yml +++ b/apidoc/Titanium/Filesystem/Filesystem.yml @@ -3,7 +3,7 @@ name: Titanium.Filesystem summary: The top level filesystem module, used to access files and directories on the device. description: | For examples of using the Filesystem APIs, refer to the - [Filesystem Access and Storage guide](https://docs.appcelerator.com/platform/latest/#!/guide/Filesystem_Access_and_Storage) + [Filesystem Access and Storage guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Working_with_Local_Data_Sources/Filesystem_Access_and_Storage.html) as well as the other Filesystem submodule API documentation. extends: Titanium.Module since: "0.1" diff --git a/apidoc/Titanium/Media/Media.yml b/apidoc/Titanium/Media/Media.yml index 5eb538e2172..43d8009db40 100644 --- a/apidoc/Titanium/Media/Media.yml +++ b/apidoc/Titanium/Media/Media.yml @@ -6,7 +6,7 @@ description: | as using the device's camera and photo gallery, playing media files, or recording audio or video. For examples of using the Media APIs, refer to the - [Working with Media APIs guide](https://docs.appcelerator.com/platform/latest/#!/guide/Working_with_Media_APIs) + [Working with Media APIs guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Working_with_Media_APIs/) in addition to the other media submodule API documentation. **Note**: Some third party Android camera apps may choose to ignore video recording quality settings. If you wish to specifically set the video quality, don't assume @@ -1474,7 +1474,7 @@ properties: since: "7.0.0" notes: | Use instead. - + This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. summary: Scale video to fill the screen, clipping edges if necessary. description: | @@ -1490,7 +1490,7 @@ properties: since: "7.0.0" notes: | Use instead. - + This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. platforms: [android] summary: Scale video to fit the screen, letterboxing if necessary. @@ -1508,7 +1508,7 @@ properties: since: "7.0.0" notes: | Use instead. - + This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. summary: Video is scaled until both dimensions fit the screen exactly, stretching if necessary. description: This constant was removed on iOS in SDK 7.0.0 diff --git a/apidoc/Titanium/Network/Cookie.yml b/apidoc/Titanium/Network/Cookie.yml index aad500a1324..fe68a1b4146 100644 --- a/apidoc/Titanium/Network/Cookie.yml +++ b/apidoc/Titanium/Network/Cookie.yml @@ -99,7 +99,7 @@ description: | window: win }); var webview = Ti.UI.createWebView({ - url: 'http://appcelerator.com', + url: 'http://titaniumsdk.com', bottom: 50 }); win.add(close); diff --git a/apidoc/Titanium/Network/HTTPClient.yml b/apidoc/Titanium/Network/HTTPClient.yml index 80bfbf0e367..222499368a2 100644 --- a/apidoc/Titanium/Network/HTTPClient.yml +++ b/apidoc/Titanium/Network/HTTPClient.yml @@ -102,7 +102,7 @@ description: | On Android, use the property to set the version of the TLS protocol if you know the version the server is running. If you do not know, do not set this property. - On iOS, add the `NSExceptionMinimumTLSVersion` key in the `` section of `tiapp.xml` to set a minimum TLS version. + On iOS, add the `NSExceptionMinimumTLSVersion` key in the `` section of `tiapp.xml` to set a minimum TLS version. See following example: ``` @@ -110,14 +110,14 @@ description: | NSExceptionDomains - www.appcelerator.com + www.titaniumsdk.com NSExceptionMinimumTLSVersion TLSv1.3 - ``` + ``` Titanium will not fallback with a lower TLS version if the `tlsVersion` property in android or `NSExceptionMinimumTLSVersion` in iOS, is set. Setting the TLS version saves time from re-attempting connections with lower TLS versions and provides added security by denying attempts to use lower TLS versions. @@ -144,7 +144,7 @@ description: | On iOS 14 and later, while connecting to local network a prompt will be shown to request user's permission. Add key `NSLocalNetworkUsageDescription` to the `ios plist` section of the tiapp.xml file to show the message on prompt. If this key is not added default message will be shown in prompt. - + Example: ``` xml @@ -157,7 +157,7 @@ description: | NSLocalNetworkUsageDescription Specify the reason for accessing the local network. - This appears in the alert dialog when asking the user + This appears in the alert dialog when asking the user for permission to access local network. @@ -548,8 +548,8 @@ properties: summary: | A Boolean value that indicates whether the session should wait for connectivity to become available, or fail immediately. description: | - Causes tasks to wait for network connectivity to become available, rather than immediately failing - with an error when it is not. When waiting for connectivity, the + Causes tasks to wait for network connectivity to become available, rather than immediately failing + with an error when it is not. When waiting for connectivity, the property does not apply, but the property does. default: false type: Boolean @@ -615,7 +615,7 @@ examples: The following code excerpt does a simple GET request and logs the response text. ``` js - var url = "http://www.appcelerator.com"; + var url = "http://www.titaniumsdk.com"; var client = Ti.Network.createHTTPClient({ // function called when the response data is available onload : function(e) { diff --git a/apidoc/Titanium/Network/Network.yml b/apidoc/Titanium/Network/Network.yml index 72c8dc6b298..08c31c0fa18 100644 --- a/apidoc/Titanium/Network/Network.yml +++ b/apidoc/Titanium/Network/Network.yml @@ -48,16 +48,6 @@ description: | ``` - Note that Titanium will inject code into the plist file to whitelist `appcelerator.com` subdomains, - which is needed to communicate with the Appcelerator Anayltics server. To disable the whitelist, - set the `ios.whitelist.appcelerator.com` tiapp application property to false. - - ``` xml - - false - - ``` - Listed below are other guidelines from Apple. **Avoid hard-coded IPv4 address literals** diff --git a/apidoc/Titanium/Platform/Platform.yml b/apidoc/Titanium/Platform/Platform.yml index 223cb7a1751..0434f7a55bd 100644 --- a/apidoc/Titanium/Platform/Platform.yml +++ b/apidoc/Titanium/Platform/Platform.yml @@ -27,7 +27,7 @@ methods: description: | As of iOS 9, this method may return `false` if you have not added the URL schemes you query to the "tiapp.xml" file. You can do this by adding a `LSApplicationQueriesSchemes` plist section - as shown [here](https://docs.appcelerator.com/platform/latest/#!/guide/tiapp.xml_and_timodule.xml_Reference-section-src-29004921_tiapp.xmlandtimodule.xmlReference-iOS9SecurityandcanOpenUrl). + as shown [here](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_Guide/Appendices/tiapp.xml_and_timodule.xml_Reference.html#ios9-security-and-canopenurl). As of Android 11, this method may return `false` if you have not added the URL schemes to a `` manifest section in the "tiapp.xml" file. Google documents examples how to do @@ -89,7 +89,7 @@ methods: description: | Here are some example URL strings this can be set to. - * `'https://www.appcelerator.com'` (Opens in web browser.) + * `'https://www.titaniumsdk.com'` (Opens in web browser.) * `'mailto:user@domain.com'` (Opens a new draft in e-mail app.) * `'mailto:user@domain.com?cc=johndoe@domain.com,janedoe@domain.com&subject=My%20Subject&body=The%20body.'` * `'tel:123-456-7890'` (Opens phone app if applicable.) diff --git a/apidoc/Titanium/UI/AttributedString.yml b/apidoc/Titanium/UI/AttributedString.yml index b6c9bc760b7..6265234dfa2 100644 --- a/apidoc/Titanium/UI/AttributedString.yml +++ b/apidoc/Titanium/UI/AttributedString.yml @@ -5,12 +5,12 @@ summary: | font and foregroundcolor) that apply to individual characters or ranges of characters in the string. description: | The AttributedString proxy is created with the method. - + The `text` property must be set initially in the constructor when creating an attributed string. The [attributes](Titanium.UI.AttributedString.attributes) can either be set in the constructor or after it has been created. For examples of Attributed Strings, see the - [Attributed Strings guide](https://docs.appcelerator.com/platform/latest/#!/guide/Attributed_Strings). + [Attributed Strings guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Attributed_Strings.html). platforms: [iphone, ipad, android, macos] extends: Titanium.Proxy since: "3.6.0" diff --git a/apidoc/Titanium/UI/Font.yml b/apidoc/Titanium/UI/Font.yml index 8c3cc15eb7a..1bdc768b147 100644 --- a/apidoc/Titanium/UI/Font.yml +++ b/apidoc/Titanium/UI/Font.yml @@ -32,7 +32,7 @@ description: | In Alloy applications, custom fonts must be placed in a "fonts" folder in the platform-specific assets folder (app/assets/android/fonts, for example). In classic Titanium applications, custom fonts must be placed in the **Resources/fonts** directory. - For an example of using custom fonts, see [Custom Fonts](https://docs.appcelerator.com/platform/latest/#!/guide/Custom_Fonts). + For an example of using custom fonts, see [Custom Fonts](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Custom_Fonts.html). properties: - name: fontFamily @@ -47,10 +47,10 @@ properties: For example, if you were using the "Burnstown Dam" font whose file name is named `burnstown_dam.ttf`, then you specify `fontFamily: 'burnstown_dam'`. - * On iOS you use the font's [PostScript name](https://docs.appcelerator.com/platform/latest/#!/guide/Custom_Fonts-section-src-29004935_safe-id-Q3VzdG9tRm9udHMtRmluZGluZ2Fmb250J3NQb3N0U2NyaXB0bmFtZQ). + * On iOS you use the font's [PostScript name](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Custom_Fonts.html#finding-a-font-s-postscript-name). For example, the PostScript name for Burnstown Dam is "BurnstownDam-Regular so you'd specify: `fontFamily: 'BurnstownDam-Regular'`. - For an example of using a custom font, see [Custom Fonts](https://docs.appcelerator.com/platform/latest/#!/guide/Custom_Fonts). + For an example of using a custom font, see [Custom Fonts](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Custom_Fonts.html). Notes: @@ -86,10 +86,10 @@ properties: default: 15px - name: fontWeight summary: | - Font weight. Valid values are "bold", "semibold", "normal", "thin", + Font weight. Valid values are "bold", "semibold", "normal", "thin", "light" and "ultralight". description: | - The "semibold", "thin", "light" and "ultralight" weights are recognized + The "semibold", "thin", "light" and "ultralight" weights are recognized on iOS only. "thin", "light" and "ultralight" are only available on iOS 8.2 and later. type: String @@ -106,7 +106,7 @@ properties: When this property is set to a valid value, all other font properties are ignored. Notes: - Since SDK 9.0.0 property will not be ignored for iOS 11+. + Since SDK 9.0.0 property will not be ignored for iOS 11+. Custom fonts can be used with this property for dynamic font management. type: String constants: Titanium.UI.TEXT_STYLE_* diff --git a/apidoc/Titanium/UI/ListView.yml b/apidoc/Titanium/UI/ListView.yml index aa3307d842a..b88118d1cd0 100644 --- a/apidoc/Titanium/UI/ListView.yml +++ b/apidoc/Titanium/UI/ListView.yml @@ -27,7 +27,7 @@ description: | ``` For more instructions and examples of using `ListView`, refer to the - [ListViews guide](https://docs.appcelerator.com/platform/latest/#!/guide/ListViews). + [ListViews guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/ListViews/). #### Creating a List @@ -1459,7 +1459,7 @@ examples: win.open(); ``` - - title: List View with a pullView + - title: List View with a pullView example: | This sample shows how the [pullView](Titanium.UI.ListView.pullView) property could be utilized along with the [pull](Titanium.UI.ListView.pull) and [pullend](Titanium.UI.ListView.pullend) events to @@ -1482,7 +1482,7 @@ examples: {properties: { title: 'Potatoes'}}, ]; var vegSection = Ti.UI.createListSection({ headerTitle: 'Vegetables', items: vegDataSet}); - + var fishDataSet = [ {properties: { title: 'Cod'}}, {properties: { title: 'Haddock'}}, diff --git a/apidoc/Titanium/UI/TableView.yml b/apidoc/Titanium/UI/TableView.yml index cf1ffd86914..f4359a6123b 100644 --- a/apidoc/Titanium/UI/TableView.yml +++ b/apidoc/Titanium/UI/TableView.yml @@ -13,7 +13,7 @@ description: | Use the method or **``** Alloy element to create a `TableView`. - Also see the [TableViews guide](https://docs.appcelerator.com/platform/latest/#!/guide/TableViews). + Also see the [TableViews guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/TableViews.html). #### Creating Tables @@ -173,7 +173,7 @@ events: - name: rowsselected summary: | - Fired when user stops two-pan gesture interaction for selecting multiple rows. + Fired when user stops two-pan gesture interaction for selecting multiple rows. It is used in conjunction with . platforms: [android, iphone, ipad, macos] since: {android: "10.1.0", iphone: "8.2.0", ipad: "8.2.0", macos: "9.2.0"} @@ -1074,7 +1074,7 @@ properties: default: false since: {android: "10.1.0", iphone: "5.4.0", ipad: "5.4.0", macos: "9.2.0"} platforms: [android, iphone, ipad, macos] - + - name: backgroundColor summary: Background color of the view, as a color name or hex triplet. description: | @@ -1189,7 +1189,7 @@ properties: To specify the wrapper color see . For an example, see the "Pull to refresh" section in the - [TableViews guide](https://docs.appcelerator.com/platform/latest/#!/guide/TableViews). + [TableViews guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/TableViews.html). Alloy applications can use a `` element inside a `` element. @@ -1240,9 +1240,9 @@ properties: - name: allowsMultipleSelectionInteraction summary: Allows a two-finger pan gesture to automatically transition the table view into editing mode and start selecting rows. description: | - Setting this property to true allows the user to start selecting multiple contiguous rows via a two-finger pan gesture. - If the table view is already in editing mode, the user can also select multiple rows via a one-finger pan gesture along - the edge of the table that contains editing controls (checkboxes). In order to support this behavior, + Setting this property to true allows the user to start selecting multiple contiguous rows via a two-finger pan gesture. + If the table view is already in editing mode, the user can also select multiple rows via a one-finger pan gesture along + the edge of the table that contains editing controls (checkboxes). In order to support this behavior, you must also set to true. Once user interaction stops the event is fired. type: Boolean @@ -1418,8 +1418,8 @@ properties: - name: showSearchBarInNavBar summary: A Boolean indicating whether search bar will be in navigation bar. description: | - If you want to show the search bar in navigation bar, set this property `true` during creation. - Use the property to control the visibility of the + If you want to show the search bar in navigation bar, set this property `true` during creation. + Use the property to control the visibility of the searchbar when scrolling. type: Boolean default: false @@ -1427,7 +1427,7 @@ properties: platforms: [iphone, ipad, macos] osver: {ios: {min: "11.0"}} availability: creation - + - name: searchAsChild summary: Determines whether the [SearchBar](Titanium.UI.SearchBar) or [SearchView](Titanium.UI.Android.SearchView) appears as part of the TableView. description: Set to false if the search view will be displayed in the action bar. @@ -1832,7 +1832,7 @@ properties: name: SelectedRowObject summary: The arguments for the event. since: {android: "10.1.0", iphone: "8.2.0", ipad: "8.2.0", macos: "9.2.0"} -platforms: [android, iphone, ipad, macos] +platforms: [android, iphone, ipad, macos] properties: - name: index summary: Row index. diff --git a/apidoc/Titanium/UI/View.yml b/apidoc/Titanium/UI/View.yml index 7c2878cc965..72d48d10a56 100644 --- a/apidoc/Titanium/UI/View.yml +++ b/apidoc/Titanium/UI/View.yml @@ -99,7 +99,7 @@ description: | For more details see: - * [UI Composite Layout Spec](https://docs.appcelerator.com/platform/latest/#!/guide/UI_Composite_Layout_Behavior_Spec) + * [UI Composite Layout Spec](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_Guide/Contributing_to_Titanium/Platform_Development/Specs/UI_Composite_Layout_Behavior_Spec.html) #### Size and Position @@ -1551,7 +1551,7 @@ properties: description: | Defaults to: If undefined, defaults to either or depending on the view. See "View Types and Default Layout Behavior" in - [Transitioning to the New UI Layout System](https://docs.appcelerator.com/platform/latest/#!/guide/Transitioning_to_the_New_UI_Layout_System). + [Transitioning to the New UI Layout System](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_Guide/Contributing_to_Titanium/Platform_Development/Specs/UI_Composite_Layout_Behavior_Spec.html). Can be either a float value or a dimension string (for example, '50%' or '40dp'). Can also be one of the following special values: @@ -1714,7 +1714,7 @@ properties: precedence is `width`, `left`, `center.x`, `right`. For complete details on composite layout rules, see - [Transitioning to the New UI Layout System](https://docs.appcelerator.com/platform/latest/#!/guide/Transitioning_to_the_New_UI_Layout_System) + [Transitioning to the New UI Layout System](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_Guide/Contributing_to_Titanium/Platform_Development/Specs/UI_Composite_Layout_Behavior_Spec.html) in the Titanium Mobile Guides. * `vertical`. Children are laid out vertically from top to bottom. The first child @@ -2004,7 +2004,7 @@ properties: description: | Defaults to: If undefined, defaults to either or depending on the view. See "View Types and Default Layout Behavior" in - [Transitioning to the New UI Layout System](https://docs.appcelerator.com/platform/latest/#!/guide/Transitioning_to_the_New_UI_Layout_System). + [Transitioning to the New UI Layout System](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_Guide/Contributing_to_Titanium/Platform_Development/Specs/UI_Composite_Layout_Behavior_Spec.html). Can be either a float value or a dimension string (for example, '50%' or '40dp'). Can also be one of the following special values: diff --git a/apidoc/Titanium/UI/WebView.yml b/apidoc/Titanium/UI/WebView.yml index 3964bcb4375..df0938904b3 100644 --- a/apidoc/Titanium/UI/WebView.yml +++ b/apidoc/Titanium/UI/WebView.yml @@ -129,13 +129,13 @@ description: | , , , , , , , . - + **WKWebView** - + With Titanium SDK 8.0.0, we now use WKWebView to implement Ti.UI.WebView (as Apple has deprecated UIWebView). - WKWebView has few restriction specially with local file accessing. For supporting custom-fonts with WKWebView + WKWebView has few restriction specially with local file accessing. For supporting custom-fonts with WKWebView a little modification is required in the HTML files: - + ``` html "; html += htmla; html += ""; - + var webview = Ti.UI.createWebView({left: '14dp', right: '14dp', top: '7dp', height: Ti.UI.SIZE, html: html, backgroundColor: "yellow"}); - + verticalView.add(webview); verticalView.add(Ti.UI.createLabel({text: 'Label 2', top: 30, width: Ti.UI.SIZE, height: Ti.UI.SIZE})); @@ -195,12 +195,12 @@ description: | Ti.API.info('webview height: ' + result); webview.height = result; }); - ``` - + ``` + #### For More Information See [Integrating Web - Content](https://docs.appcelerator.com/platform/latest/#!/guide/Integrating_Web_Content) + Content](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Integrating_Web_Content/) in the Titanium Mobile Guides for more information on using web views, including use cases, more code examples, and best practices for web view content. extends: Titanium.UI.View @@ -222,7 +222,7 @@ methods: ``` js setHtml('Hello, Titanium!', - { baseURL: 'https://developer.appcelerator.com/' }); + { baseURL: 'https://titaniumsdk.com/' }); ``` parameters: - name: html @@ -333,7 +333,7 @@ methods: summary: | Sets the basic authentication for this web view to use on subsequent URL requests. description: | - The persistence property of this method is only supported on iOS and Titanium SDK 8.0.0+. + The persistence property of this method is only supported on iOS and Titanium SDK 8.0.0+. It is ignored on other platforms and versions. platforms: [android, iphone, ipad, macos] parameters: @@ -347,7 +347,7 @@ methods: - name: persistence summary: | - Constants specify how long the credential will be kept. + Constants specify how long the credential will be kept. This is only supported on iOS and Titanium SDK 8.0.0+. type: Number constants: Titanium.UI.iOS.CREDENTIAL_PERSISTENCE_* @@ -356,11 +356,11 @@ methods: summary: Stops loading a currently loading page. - name: startListeningToProperties - summary: Add native properties for observing for change. + summary: Add native properties for observing for change. description: | - Some common properties are title, URL, estimatedProgress etc. + Some common properties are title, URL, estimatedProgress etc. See native KVO capability at https://developer.apple.com/documentation/webkit/wkwebview. - See example section "Listening to Web View properties in iOS" for usage. + See example section "Listening to Web View properties in iOS" for usage. platforms: [iphone, ipad, macos] since: {iphone: "8.0.0", ipad: "8.0.0", macos: "9.2.0"} parameters: @@ -403,15 +403,15 @@ methods: - name: addScriptMessageHandler summary: Adds a script message handler. description: | - Adding a script message handler with name 'name' causes the JavaScript function - window.webkit.messageHandlers.name.postMessage(messageBody) to be defined in all - frames in the web view. + Adding a script message handler with name 'name' causes the JavaScript function + window.webkit.messageHandlers.name.postMessage(messageBody) to be defined in all + frames in the web view. platforms: [iphone, ipad, macos] since: {iphone: "8.0.0", ipad: "8.0.0", macos: "9.2.0"} parameters: - name: handlerName summary: | - The name of the message handler and should not be '_Ti_', + The name of the message handler and should not be '_Ti_', as titanium is using it for internal usage. type: String @@ -426,7 +426,7 @@ methods: - name: backForwardList summary: | - An object which maintains a list of visited pages used to go back and forward to the most recent page. + An object which maintains a list of visited pages used to go back and forward to the most recent page. platforms: [iphone, ipad, macos] since: {iphone: "8.0.0", ipad: "8.0.0", macos: "9.2.0"} returns: @@ -448,7 +448,7 @@ methods: - name: createWebArchive summary: Create WebKit web archive data representing the current web content of the WebView. description: | - WebKit web archive data represents a snapshot of web content. It can be loaded into a WebView directly, + WebKit web archive data represents a snapshot of web content. It can be loaded into a WebView directly, and saved to a file for later use. platforms: [iphone, ipad] since: "9.2.0" @@ -617,7 +617,7 @@ events: - name: message summary: Fired when a script message is received from a webpage. description: | - This event get fired when you have added a message handler using + This event get fired when you have added a message handler using and the webpage sends a message to it. platforms: [iphone, ipad, macos] since: {iphone: "8.0.0", ipad: "8.0.0", macos: "9.2.0"} @@ -639,7 +639,7 @@ events: - name: progress summary: Fired when webpage download progresses. description: | - Provides a normalized value between 0.0 and 1.0, where 0.0 indicates nothing was downloaded and + Provides a normalized value between 0.0 and 1.0, where 0.0 indicates nothing was downloaded and 1.0 means the page and all of its resources has finished downloading. platforms: [android, ipad, iphone, macos] since: {android: "9.1.0", iphone: "8.0.0", ipad: "8.0.0", macos: "9.2.0"} @@ -775,14 +775,14 @@ properties: deprecated: since: "8.0.0" notes: | - This property in no more supported in Titanium SDK 8.0.0+. Use property - in conjuction with . See the example section + This property in no more supported in Titanium SDK 8.0.0+. Use property + in conjuction with . See the example section "Usage of allowedURLSchemes and handleurl in iOS". - name: configuration summary: The configuration for the new web view. description: | - This property can only be set when creating the webview and will be ignored when set afterwards. + This property can only be set when creating the webview and will be ignored when set afterwards. type: Titanium.UI.iOS.WebViewConfiguration platforms: [iphone, ipad, macos] since: {iphone: "8.0.0", ipad: "8.0.0", macos: "9.2.0"} @@ -790,7 +790,7 @@ properties: - name: allowedURLSchemes summary: List of allowed URL schemes for the web view. description: | - See the example section "Usage of allowedURLSchemes and handleurl in iOS". + See the example section "Usage of allowedURLSchemes and handleurl in iOS". type: Array platforms: [iphone, ipad, macos] since: {iphone: "8.0.0", ipad: "8.0.0", macos: "9.2.0"} @@ -1098,9 +1098,9 @@ properties: - name: progress summary: An estimate of what fraction of the current navigation has been loaded. description: | - This value ranges from 0.0 to 1.0 based on the total number of bytes expected - to be received, including the main document and all of its potential subresources. - After loading completes, the progress remains at 1.0 until a new download starts, + This value ranges from 0.0 to 1.0 based on the total number of bytes expected + to be received, including the main document and all of its potential subresources. + After loading completes, the progress remains at 1.0 until a new download starts, at which point progress is reset to 0.0. type: Number platforms: [android, iphone, ipad, macos] @@ -1131,7 +1131,7 @@ properties: - name: secure summary: | - A Boolean value indicating whether all resources on the page have been loaded through + A Boolean value indicating whether all resources on the page have been loaded through securely encrypted connections. type: Boolean platforms: [iphone, ipad, macos] @@ -1263,7 +1263,7 @@ examples: Create a web view to a remote URL and open the window as modal. ``` js - var webview = Titanium.UI.createWebView({url:'http://www.appcelerator.com'}); + var webview = Titanium.UI.createWebView({url:'http://www.titaniumsdk.com'}); var window = Titanium.UI.createWindow(); window.add(webview); window.open({modal:true}); @@ -1275,7 +1275,7 @@ examples: ``` xml - + ``` @@ -1285,7 +1285,7 @@ examples: ``` js var webview = Ti.UI.createWebView({ - url:'http://www.appcelerator.com' + url:'http://www.titaniumsdk.com' }); webview.startListeningToProperties([ 'title' ]); webview.addEventListener('title', function(e) { @@ -1298,7 +1298,7 @@ examples: - title: Usage of allowedURLSchemes and handleurl in iOS example: | Create a web view and listen 'handleurl' event to open url from Titanium platform. - + ``` js var webview = Ti.UI.createWebView({ url: 'https://www.google.com', @@ -1308,7 +1308,7 @@ examples: webview.addEventListener('handleurl', function(e) { var handler = e.handler; Ti.Platform.openURL(e.url); - handler.invoke(Ti.UI.iOS.ACTION_POLICY_CANCEL); + handler.invoke(Ti.UI.iOS.ACTION_POLICY_CANCEL); }); var window = Ti.UI.createWindow(); window.add(webview); @@ -1341,7 +1341,7 @@ properties: optional: true - name: mainFrameOnly summary: | - A Boolean value indicating whether the script should be injected only into the + A Boolean value indicating whether the script should be injected only into the main frame (true) or into all frames (false). type: Boolean default: false diff --git a/apidoc/Titanium/UI/Window.yml b/apidoc/Titanium/UI/Window.yml index 00140d7e888..306cb9e263e 100644 --- a/apidoc/Titanium/UI/Window.yml +++ b/apidoc/Titanium/UI/Window.yml @@ -25,7 +25,7 @@ description: | ### Pass Context Between Windows To pass data between windows, use a - [CommonJS module](https://docs.appcelerator.com/platform/latest/#!/guide/CommonJS_Modules_in_Titanium) + [CommonJS module](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_Guide/Best_Practices_and_Recommendations/CommonJS_Modules_in_Titanium.html) to save information from one window then retrieve it in another. In the example below, the foo module exposes two methods to store and retrieve an object. The first window of the project loads the foo module and uses the set method to store some data before opening the second window. @@ -1137,7 +1137,7 @@ properties: Since Release 3.3.0, due to changes to support the appcompat library, this property has no effect. By default, the action bar is always displayed. To hide the action bar, see the - [Android Action Bar guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Action_Bar). + [Android Action Bar guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Android_UI_Components_and_Conventions/Android_Action_Bar.html). platforms: [android, iphone, ipad, macos] default: false type: Boolean @@ -1454,8 +1454,8 @@ properties: - name: theme summary: Name of the theme to apply to the window. description: | - Set the theme of the window. It can be either a [built-in theme](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes-section-34636181_AndroidThemes-Built-inThemes) - or a [custom theme](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes-section-34636181_AndroidThemes-CustomThemes). + Set the theme of the window. It can be either a [built-in theme](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Android_UI_Components_and_Conventions/Android_Themes.html#titanium-material-themes) + or a [custom theme](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Android_UI_Components_and_Conventions/Android_Themes.html#custom-themes). platforms: [android] type: String since: "3.4.0" diff --git a/templates/app/angular-default/template/README.md b/templates/app/angular-default/template/README.md index d3362085bb0..dbc43e00869 100644 --- a/templates/app/angular-default/template/README.md +++ b/templates/app/angular-default/template/README.md @@ -16,6 +16,6 @@ Run `npm run lint` to lint your project via [eslint](https://eslint.org/). ## Further help -To get more help on Titanium Angular go check out the [Titanium Angular Guide](https://docs.appcelerator.com/platform/latest/#!/guide/Titanium_and_Angular). For more examples check out the [sample app](https://github.com/appcelerator/titanium-angular/tree/master/ti-angular-example) in the [titanium-angular](https://github.com/appcelerator/titanium-angular) repository. +To get more help on Titanium Angular go check out the [Titanium Angular Guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_Guide/Titanium_and_Angular/). For more examples check out the [sample app](https://github.com/appcelerator/titanium-angular/tree/master/ti-angular-example) in the [titanium-angular](https://github.com/appcelerator/titanium-angular) repository. -To get more help on Titanium in general go check out the [How-tos](https://docs.appcelerator.com/platform/latest/#!/guide/Titanium_SDK_How-tos) and [API Docs](https://docs.appcelerator.com/platform/latest/#!/api). +To get more help on Titanium in general go check out the [How-tos](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/) and [API Docs](https://titaniumsdk.com/api/). diff --git a/templates/app/webpack-default/template/README.md b/templates/app/webpack-default/template/README.md index 1a7f7633d52..bfafb43c293 100644 --- a/templates/app/webpack-default/template/README.md +++ b/templates/app/webpack-default/template/README.md @@ -14,4 +14,4 @@ Run `npm run lint` to lint your project via [eslint](https://eslint.org/). ## Further help -To get more help on Titanium go check out the [How-tos](https://docs.appcelerator.com/platform/latest/#!/guide/Titanium_SDK_How-tos) and [API Docs](https://docs.appcelerator.com/platform/latest/#!/api). +To get more help on Titanium go check out the [How-tos](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/) and [API Docs](https://titaniumsdk.com/api/). diff --git a/templates/app/webpack-default/template/src/main.js b/templates/app/webpack-default/template/src/main.js index ab567b47d60..1c00a24d606 100644 --- a/templates/app/webpack-default/template/src/main.js +++ b/templates/app/webpack-default/template/src/main.js @@ -5,7 +5,7 @@ * You can use the existing UI code as a starting point or delete it and * design your app UI from scratch. * - * @see https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI + * @see https://titaniumsdk.com/api/titanium/ui.html */ import homeTab from './home'; diff --git a/tests/Resources/ti.xml.test.js b/tests/Resources/ti.xml.test.js index 73a13ec00e8..d38de088c27 100644 --- a/tests/Resources/ti.xml.test.js +++ b/tests/Resources/ti.xml.test.js @@ -78,7 +78,7 @@ describe.windowsBroken('Titanium.XML', function () { // TIMOB-9071 it('getOrCreateAttributeNS', function () { - var xmlDoc = Ti.XML.parseString(''); + var xmlDoc = Ti.XML.parseString(''); var anchor = xmlDoc.getElementsByTagName('a').item(0); should(function () { anchor.getAttributeNS(null, 'href');