alloy 1.17.3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/FUNDING.yml +2 -0
- package/.github/workflows/build.yml +1 -1
- package/.github/workflows/cla.yaml +13 -0
- package/.github/workflows/publish.yml +31 -0
- package/Alloy/alloy.js +7 -11
- package/Alloy/commands/new/index.js +8 -1
- package/Alloy/commands/purgetss/index.js +43 -0
- package/Alloy/template/app.js +1 -1
- package/CHANGELOG.md +101 -101
- package/CONTRIBUTING.md +12 -0
- package/LICENSE +1 -27
- package/README.md +23 -112
- package/cli_config.json +4 -4
- package/hooks/alloy.js +1 -1
- package/hooks/deepclean.js +1 -1
- package/package.json +6 -13
- package/samples/apps/basics/builtins/README.md +1 -1
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/widget.json +2 -2
- package/samples/apps/widgets/complex/widgets/com.testing.searchForBooks/widget.json +2 -2
- package/test/projects/HarnessTemplate/LICENSE +1 -1
- package/test/projects/HarnessTemplate/README +4 -4
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
name: Publish
|
|
2
|
+
on:
|
|
3
|
+
release:
|
|
4
|
+
types: [ created ]
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
publish:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
name: Publish
|
|
10
|
+
|
|
11
|
+
steps:
|
|
12
|
+
- name: Checkout repository
|
|
13
|
+
uses: actions/checkout@v3
|
|
14
|
+
with:
|
|
15
|
+
fetch-depth: 0
|
|
16
|
+
|
|
17
|
+
- name: Setup node
|
|
18
|
+
uses: actions/setup-node@v2
|
|
19
|
+
with:
|
|
20
|
+
node-version: '16'
|
|
21
|
+
registry-url: 'https://registry.npmjs.org'
|
|
22
|
+
|
|
23
|
+
- name: Install dependencies
|
|
24
|
+
run: npm ci
|
|
25
|
+
if: steps.node-cache.outputs.cache-hit != 'true'
|
|
26
|
+
|
|
27
|
+
- name: Publish to npm
|
|
28
|
+
env:
|
|
29
|
+
GH_TOKEN: ${{ github.token }}
|
|
30
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
31
|
+
run: npm publish
|
package/Alloy/alloy.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Alloy
|
|
3
|
-
* Copyright
|
|
3
|
+
* Copyright TiDev, Inc. 04/07/2022-Present
|
|
4
4
|
* See LICENSE for more information on licensing.
|
|
5
5
|
*/
|
|
6
6
|
var program = require('commander'),
|
|
@@ -76,6 +76,11 @@ program.command('move <source> <destination>')
|
|
|
76
76
|
program.command('remove <source>')
|
|
77
77
|
.description('remove the controller, view, and style files at <source>');
|
|
78
78
|
|
|
79
|
+
program.command('purgetss')
|
|
80
|
+
.description('Create a clean app.tss file with only the classes used in your XML Files.\nYour original classes will be backed up in _app.tss')
|
|
81
|
+
.option('--modules', 'Copy or generate the corresponding CommonJS module into `./app/lib/` folder.')
|
|
82
|
+
.option('--vendor <arguments>', 'Use any of the following arguments to copy specific vendors: fa = Font Awesome, md = Material Design or f7 = Framework7 Icons');
|
|
83
|
+
|
|
79
84
|
program.command('info [type]', { hidden: true });
|
|
80
85
|
|
|
81
86
|
program.command('debugger', { hidden: true });
|
|
@@ -129,17 +134,8 @@ Promise
|
|
|
129
134
|
////////// FUNCTIONS //////////
|
|
130
135
|
///////////////////////////////
|
|
131
136
|
function banner() {
|
|
132
|
-
var str =
|
|
133
|
-
' .__ .__ \n' +
|
|
134
|
-
'_____ | | | | ____ ___.__.\n' +
|
|
135
|
-
'\\__ \\ | | | | / _ < | |\n' +
|
|
136
|
-
' / __ \\| |_| |_( <_> )___ |\n' +
|
|
137
|
-
'(____ /____/____/\\____// ____|\n' +
|
|
138
|
-
' \\/ \\/';
|
|
139
|
-
|
|
140
137
|
if (!program.dump) {
|
|
141
|
-
|
|
142
|
-
var m = 'Alloy ' + module.exports.version + ' by Appcelerator. The MVC app framework for Titanium.\n'.white;
|
|
138
|
+
var m = 'Alloy ' + module.exports.version + ' by TiDev. The MVC app framework for Titanium.\n'.white;
|
|
143
139
|
console.log(logger.stripColors ? colors.stripColors(m) : m);
|
|
144
140
|
}
|
|
145
141
|
}
|
|
@@ -45,6 +45,13 @@ module.exports = async function(args, program) {
|
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
+
// copy semantic.colors.json
|
|
49
|
+
var semanticFile = path.join(paths.resources, 'semantic.colors.json');
|
|
50
|
+
if (fs.existsSync(semanticFile)) {
|
|
51
|
+
var targetSemantic = path.join(paths.app, CONST.DIR.ASSETS, 'semantic.colors.json');
|
|
52
|
+
fs.copyFileSync(semanticFile, targetSemantic);
|
|
53
|
+
}
|
|
54
|
+
|
|
48
55
|
// add alloy-specific folders
|
|
49
56
|
_.each(appDirs, function(dir) {
|
|
50
57
|
fs.mkdirpSync(path.join(paths.app, dir));
|
|
@@ -102,7 +109,7 @@ module.exports = async function(args, program) {
|
|
|
102
109
|
|
|
103
110
|
} else {
|
|
104
111
|
logger.warn(`No package.json file exists in ${paths.project} so creating one`);
|
|
105
|
-
logger.warn('Please visit https://github.com/
|
|
112
|
+
logger.warn('Please visit https://github.com/tidev/webpack-plugin-alloy#readme to make sure your project is fully up to date');
|
|
106
113
|
// specify this exact version of webpack as using a new version requires all things to be updated
|
|
107
114
|
pkg.devDependencies.webpack = '^4.43.0';
|
|
108
115
|
pkg.devDependencies.eslint = '^7.5.0';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const { exec } = require('child_process');
|
|
2
|
+
const U = require('../../utils');
|
|
3
|
+
|
|
4
|
+
module.exports = async function(args, program) {
|
|
5
|
+
let options = '';
|
|
6
|
+
try {
|
|
7
|
+
if (args.length === 0) {
|
|
8
|
+
execCommand('purgetss');
|
|
9
|
+
} else {
|
|
10
|
+
args.forEach(command => {
|
|
11
|
+
switch (command) {
|
|
12
|
+
case 'init':
|
|
13
|
+
execCommand('purgetss init');
|
|
14
|
+
break;
|
|
15
|
+
case 'build':
|
|
16
|
+
execCommand('purgetss build');
|
|
17
|
+
break;
|
|
18
|
+
case 'fonts':
|
|
19
|
+
if (program.vendor) options += ` -v=${program.vendor}`;
|
|
20
|
+
if (program.modules) options += ' --modules';
|
|
21
|
+
execCommand(`purgetss fonts${options}`);
|
|
22
|
+
break;
|
|
23
|
+
case 'build-fonts':
|
|
24
|
+
if (program.modules) options += ' --modules';
|
|
25
|
+
execCommand(`purgetss build-fonts${options}`);
|
|
26
|
+
break;
|
|
27
|
+
case 'module':
|
|
28
|
+
execCommand('purgetss module');
|
|
29
|
+
break;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
} catch (error) {
|
|
34
|
+
//
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
function execCommand(currentCommand) {
|
|
39
|
+
exec(currentCommand, (error, response) => {
|
|
40
|
+
if (error && error.code === 127) U.die('\n::PurgeTSS:: First install purgetss globally using: [sudo] npm i purgetss -g');
|
|
41
|
+
return console.log(response);
|
|
42
|
+
});
|
|
43
|
+
}
|
package/Alloy/template/app.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
## [1.17.3](https://github.com/
|
|
1
|
+
## [1.17.3](https://github.com/tidev/alloy/compare/1.17.2...1.17.3) (2022-01-10)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* pin colors version to avoid dos issue ([5f10891](https://github.com/
|
|
6
|
+
* pin colors version to avoid dos issue ([5f10891](https://github.com/tidev/alloy/commit/5f10891ef6a9f6357a41ef782390a8d6a9d2d1de))
|
|
7
7
|
|
|
8
|
-
## [1.17.2](https://github.com/
|
|
8
|
+
## [1.17.2](https://github.com/tidev/alloy/compare/1.17.1...1.17.2) (2022-01-04)
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
### Bug Fixes
|
|
12
12
|
|
|
13
|
-
* **deps:** bump xmldom to 0.8.0 ([#1270](https://github.com/
|
|
13
|
+
* **deps:** bump xmldom to 0.8.0 ([#1270](https://github.com/tidev/alloy/issues/1270)) ([d0a4299](https://github.com/tidev/alloy/commit/d0a42991a02b1535d2e5d933365d67e9a3e81b63))
|
|
14
14
|
|
|
15
|
-
## [1.17.1](https://github.com/
|
|
15
|
+
## [1.17.1](https://github.com/tidev/alloy/compare/1.17.0...1.17.1) (2021-11-17)
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
### Bug Fixes
|
|
19
19
|
|
|
20
|
-
* **compile/hook:** error if unable to find the alloy cli ([166dc3b](https://github.com/
|
|
20
|
+
* **compile/hook:** error if unable to find the alloy cli ([166dc3b](https://github.com/tidev/alloy/commit/166dc3b61c2dba6fbeecf1d4d00a742dea15be99))
|
|
21
21
|
|
|
22
|
-
# [1.17.0](https://github.com/
|
|
22
|
+
# [1.17.0](https://github.com/tidev/alloy/compare/1.16.4...1.17.0) (2021-11-02)
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
### Bug Fixes
|
|
26
26
|
|
|
27
|
-
* **compile/sourcemap:** use path.join rather than manually constructing a path ([537107d](https://github.com/
|
|
27
|
+
* **compile/sourcemap:** use path.join rather than manually constructing a path ([537107d](https://github.com/tidev/alloy/commit/537107debd06930ed3ea932395e2654e4996db48))
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
### Features
|
|
31
31
|
|
|
32
|
-
* **all:** set default backbone version ([fb845f7](https://github.com/
|
|
32
|
+
* **all:** set default backbone version ([fb845f7](https://github.com/tidev/alloy/commit/fb845f735be4ff6999807f14b740c37357145977))
|
|
33
33
|
|
|
34
|
-
## [1.16.4](https://github.com/
|
|
34
|
+
## [1.16.4](https://github.com/tidev/alloy/compare/1.16.3...1.16.4) (2021-09-17)
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
### Bug Fixes
|
|
38
38
|
|
|
39
|
-
* **compile:** provide filename to babel transform to allow using config files ([#1218](https://github.com/
|
|
39
|
+
* **compile:** provide filename to babel transform to allow using config files ([#1218](https://github.com/tidev/alloy/issues/1218)) ([ba0068e](https://github.com/tidev/alloy/commit/ba0068ed094906a474c3d6552e27b4e809414a2f))
|
|
40
40
|
|
|
41
|
-
## [1.16.3](https://github.com/
|
|
41
|
+
## [1.16.3](https://github.com/tidev/alloy/compare/1.16.2...1.16.3) (2021-06-29)
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
### Bug Fixes
|
|
45
45
|
|
|
46
|
-
* **generate:** mark name as optional as it is not required for jmk ([bc0e06f](https://github.com/
|
|
47
|
-
* **new:** mark dir as optional as it is not required ([d151848](https://github.com/
|
|
46
|
+
* **generate:** mark name as optional as it is not required for jmk ([bc0e06f](https://github.com/tidev/alloy/commit/bc0e06f9169cc7a5e34c0f1e757f29af3a6ffc7b))
|
|
47
|
+
* **new:** mark dir as optional as it is not required ([d151848](https://github.com/tidev/alloy/commit/d151848ad1ba7a8494b5005d016725645173ba4d))
|
|
48
48
|
|
|
49
|
-
## [1.16.2](https://github.com/
|
|
49
|
+
## [1.16.2](https://github.com/tidev/alloy/compare/1.16.1...1.16.2) (2021-06-15)
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
### Bug Fixes
|
|
53
53
|
|
|
54
|
-
* **compile:** don't create widget sourcemaps if sourcemaps are disabled ([b1259b1](https://github.com/
|
|
54
|
+
* **compile:** don't create widget sourcemaps if sourcemaps are disabled ([b1259b1](https://github.com/tidev/alloy/commit/b1259b1feff867bdab8ebb29ce9ceae2f739290e))
|
|
55
55
|
|
|
56
|
-
## [1.16.1](https://github.com/
|
|
56
|
+
## [1.16.1](https://github.com/tidev/alloy/compare/1.16.0...1.16.1) (2021-06-08)
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
### Bug Fixes
|
|
60
60
|
|
|
61
|
-
* **compile:** generate source maps for lib files in widgets ([ba8d4c2](https://github.com/
|
|
61
|
+
* **compile:** generate source maps for lib files in widgets ([ba8d4c2](https://github.com/tidev/alloy/commit/ba8d4c22872c78927b8b231cc0f5e2cb0384525c))
|
|
62
62
|
|
|
63
|
-
# [1.16.0](https://github.com/
|
|
63
|
+
# [1.16.0](https://github.com/tidev/alloy/compare/1.15.4...1.16.0) (2021-03-03)
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
### Features
|
|
67
67
|
|
|
68
|
-
* support using OptionBar ([93c2df1](https://github.com/
|
|
68
|
+
* support using OptionBar ([93c2df1](https://github.com/tidev/alloy/commit/93c2df14e190bb281ac191b9c85e529fc2b11dc6))
|
|
69
69
|
|
|
70
|
-
## [1.15.4](https://github.com/
|
|
70
|
+
## [1.15.4](https://github.com/tidev/alloy/compare/1.15.3...1.15.4) (2021-01-04)
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
### Bug Fixes
|
|
74
74
|
|
|
75
|
-
* **compile:** allow TabGroup as child of a NavigationWindow ([#1067](https://github.com/
|
|
75
|
+
* **compile:** allow TabGroup as child of a NavigationWindow ([#1067](https://github.com/tidev/alloy/issues/1067)) ([d837e76](https://github.com/tidev/alloy/commit/d837e76f1e304a8704232020b56e03c0f806953b))
|
|
76
76
|
|
|
77
|
-
## [1.15.3](https://github.com/
|
|
77
|
+
## [1.15.3](https://github.com/tidev/alloy/compare/1.15.2...1.15.3) (2020-11-23)
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
### Bug Fixes
|
|
81
81
|
|
|
82
|
-
* improve check around whether widget is only tag in the view ([#1035](https://github.com/
|
|
82
|
+
* improve check around whether widget is only tag in the view ([#1035](https://github.com/tidev/alloy/issues/1035)) ([7e4c3d6](https://github.com/tidev/alloy/commit/7e4c3d6e6ba7f3fbf3b9b4889ac1ec79e2b30192))
|
|
83
83
|
|
|
84
84
|
# Alloy Release Notes
|
|
85
85
|
|
|
@@ -87,39 +87,39 @@
|
|
|
87
87
|
|
|
88
88
|
### Bug Fixes
|
|
89
89
|
|
|
90
|
-
* [ALOY-1737](https://jira.appcelerator.org/browse/ALOY-1737) - Set items directly in ListView [#966](https://github.com/
|
|
91
|
-
* [ALOY-1738](https://jira.appcelerator.org/browse/ALOY-1738) - Fix handling of Require tags [#967](https://github.com/
|
|
90
|
+
* [ALOY-1737](https://jira.appcelerator.org/browse/ALOY-1737) - Set items directly in ListView [#966](https://github.com/tidev/alloy/pull/966)
|
|
91
|
+
* [ALOY-1738](https://jira.appcelerator.org/browse/ALOY-1738) - Fix handling of Require tags [#967](https://github.com/tidev/alloy/pull/967)
|
|
92
92
|
|
|
93
93
|
### Release 1.15.1
|
|
94
94
|
|
|
95
95
|
## Improvements
|
|
96
96
|
|
|
97
|
-
* [ALOY-1735](https://jira.appcelerator.org/browse/ALOY-1735) - Create VS Code settings.json file on project creation [#965](https://github.com/
|
|
97
|
+
* [ALOY-1735](https://jira.appcelerator.org/browse/ALOY-1735) - Create VS Code settings.json file on project creation [#965](https://github.com/tidev/alloy/pull/965)
|
|
98
98
|
|
|
99
99
|
### Bug Fixes
|
|
100
100
|
|
|
101
|
-
* [ALOY-1736](https://jira.appcelerator.org/browse/ALOY-1736) - Ensure package.json has correct fields [#965](https://github.com/
|
|
101
|
+
* [ALOY-1736](https://jira.appcelerator.org/browse/ALOY-1736) - Ensure package.json has correct fields [#965](https://github.com/tidev/alloy/pull/965)
|
|
102
102
|
|
|
103
103
|
### Release 1.15.0
|
|
104
104
|
|
|
105
105
|
### New Features
|
|
106
106
|
|
|
107
|
-
* [ALOY-1732](https://jira.appcelerator.org/browse/ALOY-1732) - Add ability to run in the background without UI [#959](https://github.com/
|
|
108
|
-
* [ALOY-1733](https://jira.appcelerator.org/browse/ALOY-1733) - Add template for Alloy + webpack usage [#963](https://github.com/
|
|
107
|
+
* [ALOY-1732](https://jira.appcelerator.org/browse/ALOY-1732) - Add ability to run in the background without UI [#959](https://github.com/tidev/alloy/pull/959)
|
|
108
|
+
* [ALOY-1733](https://jira.appcelerator.org/browse/ALOY-1733) - Add template for Alloy + webpack usage [#963](https://github.com/tidev/alloy/pull/963)
|
|
109
109
|
|
|
110
110
|
### Improvements
|
|
111
111
|
|
|
112
|
-
* [ALOY-1256](https://jira.appcelerator.org/browse/ALOY-1256) - Allow using a Widget as a primary control in an XML View [#949](https://github.com/
|
|
113
|
-
* [ALOY-1253](https://jira.appcelerator.org/browse/ALOY-1253) - Support WPATH in widget XML view attribute values [#948](https://github.com/
|
|
112
|
+
* [ALOY-1256](https://jira.appcelerator.org/browse/ALOY-1256) - Allow using a Widget as a primary control in an XML View [#949](https://github.com/tidev/alloy/pull/949)
|
|
113
|
+
* [ALOY-1253](https://jira.appcelerator.org/browse/ALOY-1253) - Support WPATH in widget XML view attribute values [#948](https://github.com/tidev/alloy/pull/948)
|
|
114
114
|
|
|
115
115
|
### Bug Fixes
|
|
116
116
|
|
|
117
|
-
* [ALOY-1720](https://jira.appcelerator.org/browse/ALOY-1720) - Version string comparison will break for SDK 10.0.0 [#960](https://github.com/
|
|
118
|
-
* [ALOY-1734](https://jira.appcelerator.org/browse/ALOY-1734) - Declare Alloy globals before execution of app.js/alloy.js [#964](https://github.com/
|
|
117
|
+
* [ALOY-1720](https://jira.appcelerator.org/browse/ALOY-1720) - Version string comparison will break for SDK 10.0.0 [#960](https://github.com/tidev/alloy/pull/960)
|
|
118
|
+
* [ALOY-1734](https://jira.appcelerator.org/browse/ALOY-1734) - Declare Alloy globals before execution of app.js/alloy.js [#964](https://github.com/tidev/alloy/pull/964)
|
|
119
119
|
|
|
120
120
|
### Release 1.14.6
|
|
121
121
|
|
|
122
|
-
* [ALOY-1721](https://jira.appcelerator.org/browse/ALOY-1721) - Alloy global can no longer be accessed in styles [#955](https://github.com/
|
|
122
|
+
* [ALOY-1721](https://jira.appcelerator.org/browse/ALOY-1721) - Alloy global can no longer be accessed in styles [#955](https://github.com/tidev/alloy/issues/955)
|
|
123
123
|
|
|
124
124
|
### Release 1.14.5
|
|
125
125
|
|
|
@@ -131,16 +131,16 @@
|
|
|
131
131
|
|
|
132
132
|
### Release 1.14.3
|
|
133
133
|
|
|
134
|
-
* [ALOY-1710](https://jira.appcelerator.org/browse/ALOY-1710) - Fix undeclared variable error [#947](https://github.com/
|
|
134
|
+
* [ALOY-1710](https://jira.appcelerator.org/browse/ALOY-1710) - Fix undeclared variable error [#947](https://github.com/tidev/alloy/pull/947)
|
|
135
135
|
|
|
136
136
|
### Release 1.14.2
|
|
137
137
|
|
|
138
|
-
* [ALOY-1598](https://jira.appcelerator.org/browse/ALOY-1598) - Fix error with binding_no_persistence sample [#882](https://github.com/
|
|
139
|
-
* [ALOY-1693](https://jira.appcelerator.org/browse/ALOY-1693) - Maintain db connection during sql sync [#933](https://github.com/
|
|
140
|
-
* [ALOY-1633](https://jira.appcelerator.org/browse/ALOY-1633) - Inject _, Alloy, and Backbone variables into files when used rather than make available as globals [#911](https://github.com/
|
|
141
|
-
* [ALOY-1701](https://jira.appcelerator.org/browse/ALOY-1701) - XML: Unable to use platform namespace restriction on event handlers [#940](https://github.com/
|
|
142
|
-
* [ALOY-1705](https://jira.appcelerator.org/browse/ALOY-1705) - Fix to allow return outside of function [#939](https://github.com/
|
|
143
|
-
* [ALOY-1706](https://jira.appcelerator.org/browse/ALOY-1706) - Compile error if Alloy view filename contains hyphen [#938](https://github.com/
|
|
138
|
+
* [ALOY-1598](https://jira.appcelerator.org/browse/ALOY-1598) - Fix error with binding_no_persistence sample [#882](https://github.com/tidev/alloy/pull/882)
|
|
139
|
+
* [ALOY-1693](https://jira.appcelerator.org/browse/ALOY-1693) - Maintain db connection during sql sync [#933](https://github.com/tidev/alloy/pull/933)
|
|
140
|
+
* [ALOY-1633](https://jira.appcelerator.org/browse/ALOY-1633) - Inject _, Alloy, and Backbone variables into files when used rather than make available as globals [#911](https://github.com/tidev/alloy/pull/911)
|
|
141
|
+
* [ALOY-1701](https://jira.appcelerator.org/browse/ALOY-1701) - XML: Unable to use platform namespace restriction on event handlers [#940](https://github.com/tidev/alloy/pull/940)
|
|
142
|
+
* [ALOY-1705](https://jira.appcelerator.org/browse/ALOY-1705) - Fix to allow return outside of function [#939](https://github.com/tidev/alloy/pull/939)
|
|
143
|
+
* [ALOY-1706](https://jira.appcelerator.org/browse/ALOY-1706) - Compile error if Alloy view filename contains hyphen [#938](https://github.com/tidev/alloy/pull/938)
|
|
144
144
|
|
|
145
145
|
### Release 1.14.1
|
|
146
146
|
|
|
@@ -156,34 +156,34 @@
|
|
|
156
156
|
|
|
157
157
|
#### New Features
|
|
158
158
|
|
|
159
|
-
* [ALOY-1632](https://jira.appcelerator.org/browse/ALOY-1632) Allow passing custom template directories to the `alloy new` command [#912](https://github.com/
|
|
160
|
-
* [ALOY-1646](https://jira.appcelerator.org/browse/ALOY-1646) Allow platform xml namespaces to be used with xml attributes in Alloy [#922](https://github.com/
|
|
159
|
+
* [ALOY-1632](https://jira.appcelerator.org/browse/ALOY-1632) Allow passing custom template directories to the `alloy new` command [#912](https://github.com/tidev/alloy/pull/912)
|
|
160
|
+
* [ALOY-1646](https://jira.appcelerator.org/browse/ALOY-1646) Allow platform xml namespaces to be used with xml attributes in Alloy [#922](https://github.com/tidev/alloy/pull/922)
|
|
161
161
|
* XML attributes can now be prefixed with a platform to have the property be platform specific. For example `<Label android:text="Hello Android!" ios:text="Hello iOS!" windows:text="Hello Windows!" />`
|
|
162
|
-
* [ALOY-1363](https://jira.appcelerator.org/browse/ALOY-1363) Add support to set object properties via XML [#765](https://github.com/
|
|
162
|
+
* [ALOY-1363](https://jira.appcelerator.org/browse/ALOY-1363) Add support to set object properties via XML [#765](https://github.com/tidev/alloy/pull/765)
|
|
163
163
|
* Properties that are objects (like `font`) can now be set in XML as well as TSS files. For example to set the `font.fontFamily` property use `<Label font.fontFamily="Roboto">Hello</Label>`
|
|
164
|
-
* [ALOY-1316](https://jira.appcelerator.org/browse/ALOY-1316) Support use of $.args.* in any XML attribute or TSS property [#885](https://github.com/
|
|
164
|
+
* [ALOY-1316](https://jira.appcelerator.org/browse/ALOY-1316) Support use of $.args.* in any XML attribute or TSS property [#885](https://github.com/tidev/alloy/pull/885)
|
|
165
165
|
|
|
166
166
|
#### Improvements
|
|
167
167
|
|
|
168
|
-
* [ALOY-1629](https://jira.appcelerator.org/browse/ALOY-1629) Upgrade to babel 7 packages [#905](https://github.com/
|
|
169
|
-
* [ALOY-1652](https://jira.appcelerator.org/browse/ALOY-1652) Improve handling of missing directories and files in `alloy new` [#925](https://github.com/
|
|
170
|
-
* [ALOY-1682](https://jira.appcelerator.org/browse/ALOY-1682) Update to moment to 2.24.0 and update moment locales. [#928](https://github.com/
|
|
168
|
+
* [ALOY-1629](https://jira.appcelerator.org/browse/ALOY-1629) Upgrade to babel 7 packages [#905](https://github.com/tidev/alloy/pull/905)
|
|
169
|
+
* [ALOY-1652](https://jira.appcelerator.org/browse/ALOY-1652) Improve handling of missing directories and files in `alloy new` [#925](https://github.com/tidev/alloy/pull/925)
|
|
170
|
+
* [ALOY-1682](https://jira.appcelerator.org/browse/ALOY-1682) Update to moment to 2.24.0 and update moment locales. [#928](https://github.com/tidev/alloy/pull/928)
|
|
171
171
|
* Previous version was 2.21.0
|
|
172
172
|
* New locales are ar-dz, ar-kw, ar-ly, bm, de-ch, dv, en-SG, en-ie, en-il, en-nz, es-do, es-us, fr-ch, ga, gd, gom-latn, gu, it-ch, kk, kn, ku, ky, lo, mi, mn, mt, nl-be, pa-in, sd, se, ss, sw, te, tet, tg, tlh, ug-cn, ur, uz-latn, x-pseudo, yo, zh-hk,
|
|
173
|
-
* [ALOY-1683](https://jira.appcelerator.org/browse/ALOY-1683) Update to Underscore.js 1.9.1 [#929](https://github.com/
|
|
173
|
+
* [ALOY-1683](https://jira.appcelerator.org/browse/ALOY-1683) Update to Underscore.js 1.9.1 [#929](https://github.com/tidev/alloy/pull/929)
|
|
174
174
|
* Previous version was 1.8.3
|
|
175
|
-
* [ALOY-1648](https://jira.appcelerator.org/browse/ALOY-1648) Include Backbone.js 1.4.0 [#929](https://github.com/
|
|
175
|
+
* [ALOY-1648](https://jira.appcelerator.org/browse/ALOY-1648) Include Backbone.js 1.4.0 [#929](https://github.com/tidev/alloy/pull/929)
|
|
176
176
|
* Includes 42 new locales
|
|
177
|
-
* [ALOY-1505](https://jira.appcelerator.org/browse/ALOY-1505) Add ability to set cancel and destructive properties on OptionDialog options [#879](https://github.com/
|
|
178
|
-
* [ALOY-1612](https://jira.appcelerator.org/browse/ALOY-1612) CLI: Be able to use Alloy source-maps in Safari Debugger / Chrome Dev-Tools [#893](https://github.com/
|
|
177
|
+
* [ALOY-1505](https://jira.appcelerator.org/browse/ALOY-1505) Add ability to set cancel and destructive properties on OptionDialog options [#879](https://github.com/tidev/alloy/pull/879)
|
|
178
|
+
* [ALOY-1612](https://jira.appcelerator.org/browse/ALOY-1612) CLI: Be able to use Alloy source-maps in Safari Debugger / Chrome Dev-Tools [#893](https://github.com/tidev/alloy/pull/893)
|
|
179
179
|
|
|
180
180
|
#### Fixes
|
|
181
181
|
|
|
182
|
-
* [ALOY-1535](https://jira.appcelerator.org/browse/ALOY-1535) Only warn when using an AlertDialog with child views not restricted to Android [#810](https://github.com/
|
|
183
|
-
* [ALOY-1653](https://jira.appcelerator.org/browse/ALOY-1653) Runtime error on Android when using optiondialog and not declaring destructive or cancel properties [#926](https://github.com/
|
|
184
|
-
* [ALOY-1684](https://jira.appcelerator.org/browse/ALOY-1684) Calling sort for a collection does not call the dataFunction as of backbone 1.1.2 and above [#929](https://github.com/
|
|
185
|
-
* [ALOY-1690](https://jira.appcelerator.org/browse/ALOY-1690) sourcemaps not being generated for files under lib [#893](https://github.com/
|
|
186
|
-
* [ALOY-1691](https://jira.appcelerator.org/browse/ALOY-1691) Source maps report incorrect "file" value [#893](https://github.com/
|
|
182
|
+
* [ALOY-1535](https://jira.appcelerator.org/browse/ALOY-1535) Only warn when using an AlertDialog with child views not restricted to Android [#810](https://github.com/tidev/alloy/pull/810)
|
|
183
|
+
* [ALOY-1653](https://jira.appcelerator.org/browse/ALOY-1653) Runtime error on Android when using optiondialog and not declaring destructive or cancel properties [#926](https://github.com/tidev/alloy/pull/926)
|
|
184
|
+
* [ALOY-1684](https://jira.appcelerator.org/browse/ALOY-1684) Calling sort for a collection does not call the dataFunction as of backbone 1.1.2 and above [#929](https://github.com/tidev/alloy/pull/929)
|
|
185
|
+
* [ALOY-1690](https://jira.appcelerator.org/browse/ALOY-1690) sourcemaps not being generated for files under lib [#893](https://github.com/tidev/alloy/pull/893)
|
|
186
|
+
* [ALOY-1691](https://jira.appcelerator.org/browse/ALOY-1691) Source maps report incorrect "file" value [#893](https://github.com/tidev/alloy/pull/893)
|
|
187
187
|
|
|
188
188
|
|
|
189
189
|
### Release 1.13.10
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
* [ALOY-1599](https://jira.appcelerator.org/browse/ALOY-1599): Model Data binding problem with the first upper case in the model src
|
|
256
256
|
- Thanks to @darknos for this contribution!
|
|
257
257
|
* [ALOY-1595](https://jira.appcelerator.org/browse/ALOY-1595): alloy compile broken on node 9.3.0
|
|
258
|
-
* [PR-878](https://github.com/
|
|
258
|
+
* [PR-878](https://github.com/tidev/alloy/pull/878): Fix links in README
|
|
259
259
|
- Thanks to @dfrankow for this contribution!
|
|
260
260
|
|
|
261
261
|
---
|
|
@@ -605,7 +605,7 @@ method.
|
|
|
605
605
|
See also:
|
|
606
606
|
|
|
607
607
|
* [Alloy Guides: Views without Controllers](http://docs.appcelerator.com/platform/latest/#!/guide/Views_without_Controllers)
|
|
608
|
-
* [Controller-less View test app](https://github.com/
|
|
608
|
+
* [Controller-less View test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/testing/ALOY-362)
|
|
609
609
|
|
|
610
610
|
|
|
611
611
|
#### Custom Query Styles
|
|
@@ -624,7 +624,7 @@ To use a custom query:
|
|
|
624
624
|
See also:
|
|
625
625
|
|
|
626
626
|
* [Alloy Styles and Themes: Custom Query Styles](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Styles_and_Themes-section-35621526_AlloyStylesandThemes-CustomQueryStyles)
|
|
627
|
-
* [Custom TSS queries test app](https://github.com/
|
|
627
|
+
* [Custom TSS queries test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/advanced/custom_tss_queries)
|
|
628
628
|
|
|
629
629
|
##### Map Module Integration
|
|
630
630
|
|
|
@@ -650,8 +650,8 @@ supports the `dataFilter` and `dataTransform` attributes.
|
|
|
650
650
|
See also:
|
|
651
651
|
|
|
652
652
|
* Alloy Example in [ti.map module](http://docs.appcelerator.com/platform/latest/#!/api/Modules.Map)
|
|
653
|
-
* [Map Module test app](https://github.com/
|
|
654
|
-
* [Map Module with Data Binding test app](http://github.com/
|
|
653
|
+
* [Map Module test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/testing/ALOY-800)
|
|
654
|
+
* [Map Module with Data Binding test app](http://github.com/tidev/alloy/tree/1_4_X/test/apps/testing/ALOY-503)
|
|
655
655
|
|
|
656
656
|
|
|
657
657
|
##### Widget Component Generation
|
|
@@ -678,7 +678,7 @@ used by the widget.
|
|
|
678
678
|
See also:
|
|
679
679
|
|
|
680
680
|
* "Themes" section in [Alloy Widgets](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Widgets)
|
|
681
|
-
* [Widget Themes test app](https://github.com/
|
|
681
|
+
* [Widget Themes test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/testing/ALOY-378)
|
|
682
682
|
|
|
683
683
|
|
|
684
684
|
##### XML Markup/TSS Enhancements
|
|
@@ -718,12 +718,12 @@ See also:
|
|
|
718
718
|
|
|
719
719
|
See also:
|
|
720
720
|
|
|
721
|
-
* [Action Bar test app](https://github.com/
|
|
722
|
-
* [Button Shorthand test app](https://github.com/
|
|
723
|
-
* [Date Picker test app](https://github.com/
|
|
724
|
-
* [Options Dialog with Localization Function test app](https://github.com/
|
|
725
|
-
* [Refresh Control test app](https://github.com/
|
|
726
|
-
* [Text Field Keyboard Shorthand test app](https://github.com/
|
|
721
|
+
* [Action Bar test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/testing/ALOY-784)
|
|
722
|
+
* [Button Shorthand test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/testing/ALOY-714)
|
|
723
|
+
* [Date Picker test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/testing/ALOY-263)
|
|
724
|
+
* [Options Dialog with Localization Function test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/testing/ALOY-1009)
|
|
725
|
+
* [Refresh Control test app](https://github.com/tidev/alloy/tree/master/test/apps/testing/ALOY-910)
|
|
726
|
+
* [Text Field Keyboard Shorthand test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/testing/ALOY-927)
|
|
727
727
|
|
|
728
728
|
|
|
729
729
|
#### Known Issues
|
|
@@ -787,7 +787,7 @@ Alloy 1.3.0 only supports Titanium SDK 3.2.0 and later. You can find details on
|
|
|
787
787
|
|
|
788
788
|
* Support children elements for Widget and Require elements. View objects created using the Widget
|
|
789
789
|
and Require elements can contain child view elements, which are added as children views of the
|
|
790
|
-
parent Widget or Require view object. Example: [require_children](https://github.com/
|
|
790
|
+
parent Widget or Require view object. Example: [require_children](https://github.com/tidev/alloy/tree/master/test/apps/advanced/require_children)
|
|
791
791
|
|
|
792
792
|
* Support `<HeaderView>`, `<FooterView>` and `<PullView>` as children tags of the `<ListView>` object to
|
|
793
793
|
specify the `headerView`, `footerView` and `pullView` properties of `Titanium.UI.ListView`.
|
|
@@ -893,7 +893,7 @@ the fly.
|
|
|
893
893
|
|
|
894
894
|
For more information, see:
|
|
895
895
|
* [Dynamic Styles guide](http://docs.appcelerator.com/platform/latest/#!/guide/Dynamic_Styles)
|
|
896
|
-
* [dynamic_styling Sample](https://github.com/
|
|
896
|
+
* [dynamic_styling Sample](https://github.com/tidev/alloy/tree/master/test/apps/advanced/dynamic_styling)
|
|
897
897
|
* Refer to the "New APIs" section below.
|
|
898
898
|
|
|
899
899
|
##### ListView in Markup
|
|
@@ -901,10 +901,10 @@ For more information, see:
|
|
|
901
901
|
ListView objects can now be created in markup and with collection-view binding enabled.
|
|
902
902
|
|
|
903
903
|
For more information, see:
|
|
904
|
-
* [listview Sample](https://github.com/
|
|
905
|
-
* [binding_listview Sample](https://github.com/
|
|
904
|
+
* [listview Sample](https://github.com/tidev/alloy/tree/master/test/apps/ui/listview)
|
|
905
|
+
* [binding_listview Sample](https://github.com/tidev/alloy/tree/master/test/apps/models/binding_listview)
|
|
906
906
|
* [ListView API Reference](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView)
|
|
907
|
-
* [Alloy Data Binding guide](https://github.com/
|
|
907
|
+
* [Alloy Data Binding guide](https://github.com/tidev/alloy/tree/master/test/apps/models/binding_listview)
|
|
908
908
|
|
|
909
909
|
##### Module Markup Element
|
|
910
910
|
|
|
@@ -912,7 +912,7 @@ Use the new `Module` XML element to include a view from a native module.
|
|
|
912
912
|
|
|
913
913
|
For more information, see:
|
|
914
914
|
* "Module XML Element" section in the [Alloy XML Markup guide](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_XML_Markup)
|
|
915
|
-
* [native_modules Sample](https://github.com/
|
|
915
|
+
* [native_modules Sample](https://github.com/tidev/alloy/tree/master/test/apps/advanced/native_modules)
|
|
916
916
|
|
|
917
917
|
##### CLI Command to Generate Styles
|
|
918
918
|
|
|
@@ -1025,13 +1025,13 @@ ScrollableView, CoverFlowView, ButtonBar, ToolBar and TabbedBar objects support
|
|
|
1025
1025
|
binding.
|
|
1026
1026
|
|
|
1027
1027
|
For ButtonBar, ToolBar and TabbedBar, refer to the
|
|
1028
|
-
[binding_bars example](https://github.com/
|
|
1028
|
+
[binding_bars example](https://github.com/tidev/alloy/tree/1_1_X/test/apps/models/binding_bars).
|
|
1029
1029
|
|
|
1030
1030
|
For CoverFlowView, refer to the
|
|
1031
|
-
[binding_coverflow example](https://github.com/
|
|
1031
|
+
[binding_coverflow example](https://github.com/tidev/alloy/tree/1_1_X/test/apps/models/binding_coverflow).
|
|
1032
1032
|
|
|
1033
1033
|
For ScrollableView, refer to the
|
|
1034
|
-
[binding_scrollableview example](https://github.com/
|
|
1034
|
+
[binding_scrollableview example](https://github.com/tidev/alloy/tree/1_1_X/test/apps/models/binding_scrollableview).
|
|
1035
1035
|
|
|
1036
1036
|
Refer to [Alloy Data Binding](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Data_Binding)
|
|
1037
1037
|
for more information.
|
|
@@ -1257,32 +1257,32 @@ The following deprecated APIs have been removed in this release:
|
|
|
1257
1257
|
### New features
|
|
1258
1258
|
|
|
1259
1259
|
* Tons of sql sync adapter features and fixes
|
|
1260
|
-
* **IMPORTANT**: Please read the [notes on the sql_new adapter](https://github.com/
|
|
1261
|
-
* [ALOY-458](https://jira.appcelerator.org/browse/ALOY-458). The sql adapter now allows you to execute custom queries on fetch(). The [models/sql_queries](https://github.com/
|
|
1262
|
-
* [ALOY-447](https://jira.appcelerator.org/browse/ALOY-447). Alloy Model column definitions now support SQLite keywords, like PRIMARY KEY and AUTOINCREMENT. The [models/sql_keywords](https://github.com/
|
|
1263
|
-
* [ALOY-467](https://jira.appcelerator.org/browse/ALOY-467). idAttribute is now assignable from the model.js file's definition object. The [models/sql_keywords](https://github.com/
|
|
1264
|
-
* [ALOY-453](https://jira.appcelerator.org/browse/ALOY-453). Full support for up() and down() migrations in sql adapter. [models/sql_keywords](https://github.com/
|
|
1265
|
-
* [ALOY-345](https://jira.appcelerator.org/browse/ALOY-345). sql adapter databases can now be preloaded from a database file. The [models/sql_preload](https://github.com/
|
|
1266
|
-
* [ALOY-456](https://jira.appcelerator.org/browse/ALOY-456). sql adapter now supports multiple SQLite databases. The [model/sql_queries](https://github.com/
|
|
1267
|
-
* [ALOY-468](https://jira.appcelerator.org/browse/ALOY-468). Added insertRow() and deleteRow() functions to migration object. You can see these in use for prepopulating and deleting rows in this [migration file](https://github.com/
|
|
1260
|
+
* **IMPORTANT**: Please read the [notes on the sql_new adapter](https://github.com/tidev/alloy/edit/master/CHANGELOG.md#additional-notes-for-035) below.
|
|
1261
|
+
* [ALOY-458](https://jira.appcelerator.org/browse/ALOY-458). The sql adapter now allows you to execute custom queries on fetch(). The [models/sql_queries](https://github.com/tidev/alloy/tree/master/test/apps/models/sql_queries) test app uses this, specifically in this [controller file](https://github.com/tidev/alloy/blob/master/test/apps/models/sql_queries/controllers/main.js).
|
|
1262
|
+
* [ALOY-447](https://jira.appcelerator.org/browse/ALOY-447). Alloy Model column definitions now support SQLite keywords, like PRIMARY KEY and AUTOINCREMENT. The [models/sql_keywords](https://github.com/tidev/alloy/tree/master/test/apps/models/sql_keywords) test app shows how to use it.
|
|
1263
|
+
* [ALOY-467](https://jira.appcelerator.org/browse/ALOY-467). idAttribute is now assignable from the model.js file's definition object. The [models/sql_keywords](https://github.com/tidev/alloy/tree/master/test/apps/models/sql_keywords) test app, specifically this [model file](https://github.com/tidev/alloy/blob/master/test/apps/models/sql_keywords/models/fighters.js) shows how to use it to identify which column in your table is the unique identifier for syncing between SQLite and Backbone.
|
|
1264
|
+
* [ALOY-453](https://jira.appcelerator.org/browse/ALOY-453). Full support for up() and down() migrations in sql adapter. [models/sql_keywords](https://github.com/tidev/alloy/tree/master/test/apps/models/sql_keywords) is also a multiple migration test app.
|
|
1265
|
+
* [ALOY-345](https://jira.appcelerator.org/browse/ALOY-345). sql adapter databases can now be preloaded from a database file. The [models/sql_preload](https://github.com/tidev/alloy/tree/master/test/apps/models/sql_preload) test app shows how.
|
|
1266
|
+
* [ALOY-456](https://jira.appcelerator.org/browse/ALOY-456). sql adapter now supports multiple SQLite databases. The [model/sql_queries](https://github.com/tidev/alloy/tree/master/test/apps/models/sql_queries) test app makes use of multiple SQLite databases.
|
|
1267
|
+
* [ALOY-468](https://jira.appcelerator.org/browse/ALOY-468). Added insertRow() and deleteRow() functions to migration object. You can see these in use for prepopulating and deleting rows in this [migration file](https://github.com/tidev/alloy/blob/master/test/apps/models/sql_queries/migrations/201301161234567_user.js) of the [models/sql_queries](https://github.com/tidev/alloy/tree/master/test/apps/models/sql_queries) test app.
|
|
1268
1268
|
* TSS parsing and features
|
|
1269
1269
|
* [ALOY-272](https://jira.appcelerator.org/browse/ALOY-272). TSS parsing is now grammar based. Makes [code assist in TiStudio](https://jira.appcelerator.org/browse/ALOY-389) possible.
|
|
1270
|
-
* [ALOY-252](https://jira.appcelerator.org/browse/ALOY-252). Commas are now optional between top-level style objects in TSS files. Check this [style file](https://github.com/
|
|
1271
|
-
* [ALOY-452](https://jira.appcelerator.org/browse/ALOY-452). expr() syntax has been removed from TSS files. Here is the [cleaner and more powerful alternative](https://github.com/
|
|
1272
|
-
* [ALOY-284](https://jira.appcelerator.org/browse/ALOY-284). Titanium constants can now be used as XML attributes in markup. Check this [view xml file](https://github.com/
|
|
1270
|
+
* [ALOY-252](https://jira.appcelerator.org/browse/ALOY-252). Commas are now optional between top-level style objects in TSS files. Check this [style file](https://github.com/tidev/alloy/blob/master/test/apps/models/sql_queries/styles/app.tss) for an example.
|
|
1271
|
+
* [ALOY-452](https://jira.appcelerator.org/browse/ALOY-452). expr() syntax has been removed from TSS files. Here is the [cleaner and more powerful alternative](https://github.com/tidev/alloy/commit/e9fdc93c9760a1590c0abd0136662c11dc678066#commitcomment-2401085) for using runtime values in TSS files.
|
|
1272
|
+
* [ALOY-284](https://jira.appcelerator.org/browse/ALOY-284). Titanium constants can now be used as XML attributes in markup. Check this [view xml file](https://github.com/tidev/alloy/blob/master/test/apps/testing/grammar/views/index.xml) for an example.
|
|
1273
1273
|
|
|
1274
1274
|
### Bug fixes and improvements
|
|
1275
1275
|
|
|
1276
|
-
* [ALOY-191](https://jira.appcelerator.org/browse/ALOY-191). The [models/todo](https://github.com/
|
|
1276
|
+
* [ALOY-191](https://jira.appcelerator.org/browse/ALOY-191). The [models/todo](https://github.com/tidev/alloy/tree/master/test/apps/models/todo) test app now works with all supported sync adapters \(sql, properties, localStorage\).
|
|
1277
1277
|
* [ALOY-336](https://jira.appcelerator.org/browse/ALOY-336). Mobileweb logs not showing up in console \(related to [TISTUD-2525](https://jira.appcelerator.org/browse/TISTUD-2525)\).
|
|
1278
1278
|
* [ALOY-449](https://jira.appcelerator.org/browse/ALOY-449). Parsing state not cleaned properly when processing multiple top-level UI elements.
|
|
1279
1279
|
* [ALOY-446](https://jira.appcelerator.org/browse/ALOY-446). sql adapter should open/close between all operations (best practices).
|
|
1280
1280
|
|
|
1281
1281
|
### Additional Notes for 0.3.5
|
|
1282
1282
|
|
|
1283
|
-
Due to the massive amount of changes in the sql adapter, it is being introduced as ["sql_new"](https://github.com/
|
|
1283
|
+
Due to the massive amount of changes in the sql adapter, it is being introduced as ["sql_new"](https://github.com/tidev/alloy/blob/master/Alloy/lib/alloy/sync/sql_new.js). This is the "type" you would use in your model definitions, as seen in this [model from the models/sql_queries](https://github.com/tidev/alloy/blob/master/test/apps/models/sql_queries/models/user.js) test app. The unchanged "sql" adapter still exists temporarily for compatibility.
|
|
1284
1284
|
|
|
1285
|
-
All freshly built apps will work with the **sql_new** adapter, including all the sql ones in the [test/apps/models folder](https://github.com/
|
|
1285
|
+
All freshly built apps will work with the **sql_new** adapter, including all the sql ones in the [test/apps/models folder](https://github.com/tidev/alloy/tree/master/test/apps/models) in the repo. There _may_ be conflicts, though, if you attempt to just drop the **sql_new** adapter on an app that has been previously using the old **sql** adapter. This is because **sql_new** uses a different, smarter, less invasive means of identifying the unique id of your sql records, adding an "alloy_id" column only if absolutely necessary. If you can delete your existing sql storage and just rebuild it, then all you need to do is delete and then you can start using the **sql_new** adapter. If not, we'll have a migration guide soon.
|
|
1286
1286
|
|
|
1287
1287
|
**One final important note** is that the old **sql** adapter will be replaced with **sql_new** when Alloy 1.0.0 is released, tentatively scheduled for mid-February. This'll give you a month to try it out and migrate data if necessary. Any questions or concerns, hit me up at the [google group](https://groups.google.com/forum/?fromgroups#!forum/appc-ti-alloy).
|
|
1288
1288
|
|
|
@@ -1291,12 +1291,12 @@ All freshly built apps will work with the **sql_new** adapter, including all the
|
|
|
1291
1291
|
|
|
1292
1292
|
### Important Note for Model/Collection Binding Feature
|
|
1293
1293
|
|
|
1294
|
-
* [ALOY-432](https://jira.appcelerator.org/browse/ALOY-432). Added $.destroy() function to all controllers. When using model/collection binding in a controller, you **MUST** call this when closing a controller to prevent potential memory leaks. This is especially true if your binding makes references to global models/collections. More detailed documentation on this point will be added to the [Alloy Data Binding Guide](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Models-section-34636390_AlloyModels-DataBinding) very soon. \([TEST APP](https://github.com/
|
|
1294
|
+
* [ALOY-432](https://jira.appcelerator.org/browse/ALOY-432). Added $.destroy() function to all controllers. When using model/collection binding in a controller, you **MUST** call this when closing a controller to prevent potential memory leaks. This is especially true if your binding makes references to global models/collections. More detailed documentation on this point will be added to the [Alloy Data Binding Guide](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Models-section-34636390_AlloyModels-DataBinding) very soon. \([TEST APP](https://github.com/tidev/alloy/tree/master/test/apps/models/binding_destroy)\)
|
|
1295
1295
|
|
|
1296
1296
|
### New features
|
|
1297
|
-
* [ALOY-394](http://jira.appcelerator.org/browse/ALOY-394). Support collection binding on Views, allowing for arbitrary component repetition. \([TEST APP](https://github.com/
|
|
1298
|
-
* [ALOY-103](http://jira.appcelerator.org/browse/ALOY-103). Support model binding of models to discrete properties on UI components. \([TEST APP](https://github.com/
|
|
1299
|
-
* [ALOY-382](http://jira.appcelerator.org/browse/ALOY-382), [ALOY-383](https://jira.appcelerator.org/browse/ALOY-383). Support in markup for proxy properties, like rightNavButton, leftNavButton, titleControl, etc... \([TEST APP](https://github.com/
|
|
1297
|
+
* [ALOY-394](http://jira.appcelerator.org/browse/ALOY-394). Support collection binding on Views, allowing for arbitrary component repetition. \([TEST APP](https://github.com/tidev/alloy/tree/master/test/apps/models/journal)\)
|
|
1298
|
+
* [ALOY-103](http://jira.appcelerator.org/browse/ALOY-103). Support model binding of models to discrete properties on UI components. \([TEST APP](https://github.com/tidev/alloy/tree/master/test/apps/models/login)\)
|
|
1299
|
+
* [ALOY-382](http://jira.appcelerator.org/browse/ALOY-382), [ALOY-383](https://jira.appcelerator.org/browse/ALOY-383). Support in markup for proxy properties, like rightNavButton, leftNavButton, titleControl, etc... \([TEST APP](https://github.com/tidev/alloy/tree/master/test/apps/ui/proxy_properties)\)
|
|
1300
1300
|
* [ALOY-387](http://jira.appcelerator.org/browse/ALOY-387), [ALOY-388](https://jira.appcelerator.org/browse/ALOY-388). Support view (XML) and controller (JS) code completion in Titanium Studio.
|
|
1301
1301
|
* [ALOY-421](http://jira.appcelerator.org/browse/ALOY-421). Add moment.js as builtin. Deprecates datetime.s builtin.
|
|
1302
1302
|
|
|
@@ -1315,7 +1315,7 @@ All freshly built apps will work with the **sql_new** adapter, including all the
|
|
|
1315
1315
|
## 0.3.3 (6 December 2012)
|
|
1316
1316
|
|
|
1317
1317
|
### New features
|
|
1318
|
-
* [ALOY-104](http://jira.appcelerator.org/browse/ALOY-104). Enable Model-View binding on TableViews. For more information, see the basic [tableview_binding test app](https://github.com/
|
|
1318
|
+
* [ALOY-104](http://jira.appcelerator.org/browse/ALOY-104). Enable Model-View binding on TableViews. For more information, see the basic [tableview_binding test app](https://github.com/tidev/alloy/tree/master/test/apps/models/tableview_binding) or the slightly more complete [todo_binding sample app](https://github.com/tidev/alloy/tree/master/test/apps/models/todo_binding) which shows how to do data filtering and transformations on bound data.
|
|
1319
1319
|
|
|
1320
1320
|
**NOTE:** This is brand new stuff with lots more functionality coming, so any feedback on the current state is very welcome. It's best to let us know at the [Alloy google group](https://groups.google.com/forum/?fromgroups#!forum/appc-ti-alloy).
|
|
1321
1321
|
* [ALOY-312](http://jira.appcelerator.org/browse/ALOY-312). Update Underscore.js to version 1.4.2 and Backbone.js to minified production 0.9.2 version.
|
|
@@ -1349,10 +1349,10 @@ All freshly built apps will work with the **sql_new** adapter, including all the
|
|
|
1349
1349
|
## 0.3.1 (2 November 2012)
|
|
1350
1350
|
|
|
1351
1351
|
### New features
|
|
1352
|
-
* [ALOY-192](http://jira.appcelerator.org/browse/ALOY-192). Add to-do sample application. Code is available on [github](https://github.com/
|
|
1352
|
+
* [ALOY-192](http://jira.appcelerator.org/browse/ALOY-192). Add to-do sample application. Code is available on [github](https://github.com/tidev/alloy/tree/master/test/apps/models/todo).
|
|
1353
1353
|
* [ALOY-337](http://jira.appcelerator.org/browse/ALOY-337). Support themes to change the appearance of the entire GUI by customizing styles and assets. For more information, see:
|
|
1354
1354
|
* [Alloy Styles and Themes](http://docs.appcelerator.com/titanium/3.0/#!/guide/Alloy_Styles_and_Themes)
|
|
1355
|
-
* [Themes sample application on github](https://github.com/
|
|
1355
|
+
* [Themes sample application on github](https://github.com/tidev/alloy/tree/master/test/apps/advanced/themes)
|
|
1356
1356
|
|
|
1357
1357
|
### Bug fixes and improvements
|
|
1358
1358
|
* [ALOY-306](http://jira.appcelerator.org/browse/ALOY-306). Support platform, formFactor, and inline event attributes with abstract types in markup.
|
|
@@ -1371,7 +1371,7 @@ All freshly built apps will work with the **sql_new** adapter, including all the
|
|
|
1371
1371
|
---
|
|
1372
1372
|
0.2.42
|
|
1373
1373
|
--------
|
|
1374
|
-
* Ti.UI.OptionDialog markup parser added. Check out this link for a test app and usage: [https://github.com/
|
|
1374
|
+
* Ti.UI.OptionDialog markup parser added. Check out this link for a test app and usage: [https://github.com/tidev/alloy/tree/master/test/apps/ui/optiondialog](https://github.com/tidev/alloy/tree/master/test/apps/ui/optiondialog)
|
|
1375
1375
|
* You can get the Alloy version at runtime now with `Alloy.version`
|
|
1376
1376
|
* Tightened up XML ID restrictions. As an enforced best practice, no reserved JS words as IDs. If you try to, you'll get a compile time error message.
|
|
1377
1377
|
* Revamp of code processing, better organized, more efficient. It's all under the hood, you shouldn't notice, other than compiles might be faster.
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Contributing to Alloy
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Releasing
|
|
5
|
+
|
|
6
|
+
To release a new version of Alloy, please do the following:
|
|
7
|
+
|
|
8
|
+
1. Ensure all changes you want in the release are merged
|
|
9
|
+
2. Create a pull request that does the following:
|
|
10
|
+
1. Updates the [changelog](./CHANGELOG.md) for the release
|
|
11
|
+
2. Bumps the version in the package.json/package-lock.json as required
|
|
12
|
+
3. Once that pull request is merged, [create a new release](https://github.com/tidev/alloy/releases/new) and GitHub actions will publish the new version
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
======================================
|
|
2
2
|
Alloy
|
|
3
|
-
Copyright
|
|
3
|
+
Copyright TiDev, Inc. 04/07/2022-Present
|
|
4
4
|
======================================
|
|
5
5
|
|
|
6
6
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -220,29 +220,3 @@ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
220
220
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
221
221
|
See the License for the specific language governing permissions and
|
|
222
222
|
limitations under the License.
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
PRIVACY NOTICE
|
|
227
|
-
==============
|
|
228
|
-
|
|
229
|
-
At Appcelerator, we’re committed to transparency and we respect your privacy.
|
|
230
|
-
This software collects information about you and your end-users of any
|
|
231
|
-
applications that you build. The information we collect is used to
|
|
232
|
-
improve the content of our Products, Websites and Applications built using
|
|
233
|
-
our technology (collectively and individually, the "Software"), used to
|
|
234
|
-
customize the content and/or layout of our Software for each individual
|
|
235
|
-
visitor, used to notify users about updates to our Software, used by us to
|
|
236
|
-
contact users for marketing purposes, disclosed when legally required to
|
|
237
|
-
do so, at the request of governmental authorities conducting an investigation,
|
|
238
|
-
to verify or enforce compliance with the policies governing our Software and
|
|
239
|
-
applicable laws or to protect against misuse or unauthorized use of our
|
|
240
|
-
Software, to a successor entity in connection with a corporate merger,
|
|
241
|
-
consolidation, sale of assets or other corporate change respecting the
|
|
242
|
-
Software.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
Please review the full text of our privacy policy online at:
|
|
246
|
-
<http://www.appcelerator.com/company/privacy/>
|
|
247
|
-
|
|
248
|
-
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Alloy is an MVC application framework by [Appcelerator](http://www.appcelerator.
|
|
|
13
13
|
|
|
14
14
|
* [Quick Start Guide](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Framework) that covers _everything_ from installation to building your first app with Alloy.
|
|
15
15
|
* Complete collection of [Alloy Guides](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Framework)
|
|
16
|
-
* [Collection of sample apps](https://github.com/
|
|
16
|
+
* [Collection of sample apps](https://github.com/tidev/alloy/tree/master/samples/apps) showing various aspects of Alloy in practice.
|
|
17
17
|
|
|
18
18
|
## Installation
|
|
19
19
|
|
|
@@ -27,7 +27,7 @@ Alloy is an MVC application framework by [Appcelerator](http://www.appcelerator.
|
|
|
27
27
|
[sudo] npm install -g alloy@1.4.1
|
|
28
28
|
|
|
29
29
|
# install cutting edge directly from github
|
|
30
|
-
[sudo] npm install -g git://github.com/
|
|
30
|
+
[sudo] npm install -g git://github.com/tidev/alloy.git
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
### from Axway Appcelerator Studio
|
|
@@ -36,7 +36,7 @@ Alloy is an MVC application framework by [Appcelerator](http://www.appcelerator.
|
|
|
36
36
|
|
|
37
37
|
## Running Sample Test Apps
|
|
38
38
|
|
|
39
|
-
Alloy includes many sample and test apps in the **sample/apps** folder (see above). For example, [basics/simple](https://github.com/
|
|
39
|
+
Alloy includes many sample and test apps in the **sample/apps** folder (see above). For example, [basics/simple](https://github.com/tidev/alloy/tree/master/samples/apps/basics/simple). You can run these in a few different ways:
|
|
40
40
|
|
|
41
41
|
### A) With a regular Alloy installation
|
|
42
42
|
Beginning with Alloy 1.6, you can do the following:
|
|
@@ -54,7 +54,7 @@ alloy new . --testapp basics/simple
|
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
56
|
# first, clone the repo
|
|
57
|
-
git clone https://github.com/
|
|
57
|
+
git clone https://github.com/tidev/alloy.git
|
|
58
58
|
cd alloy
|
|
59
59
|
|
|
60
60
|
# install jake globally
|
|
@@ -76,130 +76,41 @@ You can use these apps through Titanium Studio too. The easiest way to do that w
|
|
|
76
76
|
|
|
77
77
|
## Additional Notes on Jake
|
|
78
78
|
|
|
79
|
-
* See the [jake readme](https://github.com/
|
|
79
|
+
* See the [jake readme](https://github.com/tidev/alloy/blob/master/jakelib/readme.md) for information on using `jake` including the arguments and flags it accepts.
|
|
80
80
|
* on OSX or Linux
|
|
81
81
|
* Try using `sudo` with the `jake` command if you run into permission errors.
|
|
82
82
|
* on Windows
|
|
83
83
|
* Don't run `jake` from within a user folder (i.e. `C:\Users\tony\alloy`), as you can get all kinds of non-obvious permissions failures from the child processing Alloy does. Your safest bet is to just `git clone` right to `C:\alloy`.
|
|
84
84
|
* Node.js has [an issue piping output between node processes on Windows](https://github.com/joyent/node/issues/3584). I've tried to [workaround](https://github.com/joyent/node/issues/3584#issuecomment-23064579) as best I can. You may still see errors pop up, so it's suggested that if you run the automated testing via `jake test:all` or `npm test`, you do so on a non-Windows OS to ensure there's no red herring failures until the aforementioned node.js issue is resolved.
|
|
85
85
|
* If you decide to ignore my advice and run the tests anyway on Windows, make sure that if you imported the Harness into TiStudio that you _don't_ have TiStudio running. Windows creates locks on key files in that project that are necessary for the testing process. It will make tests fail erroneously.
|
|
86
|
-
* If you're still that stubborn, are running the test suite on Windows, and you're getting those intermittent, erroneous errors, try running them one spec at a time. Instead of doing `jake test:all`, do `jake test:spec[SPEC_NAME]`, where `SPEC_NAME` is JS file in the [test specs folder](https://github.com/
|
|
86
|
+
* If you're still that stubborn, are running the test suite on Windows, and you're getting those intermittent, erroneous errors, try running them one spec at a time. Instead of doing `jake test:all`, do `jake test:spec[SPEC_NAME]`, where `SPEC_NAME` is JS file in the [test specs folder](https://github.com/tidev/alloy/tree/master/test/specs).
|
|
87
87
|
|
|
88
|
-
##
|
|
88
|
+
## Contributing
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
Interested in contributing? There are several ways you can help contribute to this project.
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
* Want to discuss the past, present, and future of Alloy? Join the [Alloy Google group](https://groups.google.com/forum/?fromgroups#!forum/appc-ti-alloy).
|
|
94
|
-
* Got a confirmed bug? Log it at the [Titanium Community Issue Tracker](https://jira.appcelerator.org/browse/TC). Make sure to give it the **alloy** label.
|
|
92
|
+
### New Features, Improvements, Bug Fixes, & Documentation
|
|
95
93
|
|
|
96
|
-
|
|
94
|
+
Source code contributions are always welcome! Before we can accept your pull request, you must sign a Contributor License Agreement (CLA). Please visit https://tidev.io/contribute for more information.
|
|
97
95
|
|
|
98
|
-
|
|
96
|
+
### Donations
|
|
99
97
|
|
|
100
|
-
|
|
98
|
+
Please consider supporting this project by making a charitable [donation](https://tidev.io/donate). The money you donate goes to compensate the skilled engineeers and maintainers that keep this project going.
|
|
101
99
|
|
|
102
|
-
|
|
100
|
+
### Code of Conduct
|
|
103
101
|
|
|
104
|
-
|
|
102
|
+
TiDev wants to provide a safe and welcoming community for everyone to participate. Please see our [Code of Conduct](https://tidev.io/code-of-conduct) that applies to all contributors.
|
|
105
103
|
|
|
106
|
-
##
|
|
104
|
+
## Security
|
|
107
105
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
2364 Tony Lukasavage 62.2%
|
|
116
|
-
377 Feon Sua 9.9%
|
|
117
|
-
374 Tim Poulsen 9.8%
|
|
118
|
-
87 Fokke Zandbergen 2.3%
|
|
119
|
-
87 Jeff Haynie 2.3%
|
|
120
|
-
75 Russ McMahon 2.0%
|
|
121
|
-
44 Ben Hatfield 1.2%
|
|
122
|
-
38 Kevin Whinnery 1.0%
|
|
123
|
-
32 Christopher Williams 0.8%
|
|
124
|
-
30 Chris Barber 0.8%
|
|
125
|
-
21 Carl Orthlieb 0.6%
|
|
126
|
-
18 Ewan Harris 0.5%
|
|
127
|
-
18 Michael 0.5%
|
|
128
|
-
16 Kosuke Isobe 0.4%
|
|
129
|
-
16 Xavier Lacot 0.4%
|
|
130
|
-
15 Praveen Innamuri 0.4%
|
|
131
|
-
13 Ingo Muschenetz 0.3%
|
|
132
|
-
12 Hans Knöchel 0.3%
|
|
133
|
-
11 Paul Mietz Egli 0.3%
|
|
134
|
-
10 Tim Statler 0.3%
|
|
135
|
-
10 Ng Chee Kiat 0.3%
|
|
136
|
-
8 David Bankier 0.2%
|
|
137
|
-
8 Issam Hakimi 0.2%
|
|
138
|
-
8 Jong Eun Lee 0.2%
|
|
139
|
-
6 Arthur Evans 0.2%
|
|
140
|
-
6 bhatfield 0.2%
|
|
141
|
-
5 Brenton House 0.1%
|
|
142
|
-
4 Hazem Khaled 0.1%
|
|
143
|
-
4 Martin Tietz 0.1%
|
|
144
|
-
4 Joel Herron 0.1%
|
|
145
|
-
4 Hans Knoechel 0.1%
|
|
146
|
-
4 mukherjee2 0.1%
|
|
147
|
-
4 Yordan Banev 0.1%
|
|
148
|
-
3 Wilson Luu 0.1%
|
|
149
|
-
3 Federico 0.1%
|
|
150
|
-
3 Gary Mathews 0.1%
|
|
151
|
-
2 miga 0.1%
|
|
152
|
-
2 Bryan Hughes 0.1%
|
|
153
|
-
2 Michael Kåring 0.1%
|
|
154
|
-
2 Aaron Saunders 0.1%
|
|
155
|
-
2 Rene Pot 0.1%
|
|
156
|
-
2 Marc Tamlyn 0.1%
|
|
157
|
-
2 Iain Dawson 0.1%
|
|
158
|
-
2 Davide Cassenti 0.1%
|
|
159
|
-
1 farwayer 0.0%
|
|
160
|
-
1 Ajay kumar Guthikonda 0.0%
|
|
161
|
-
1 Anders D. Johnson 0.0%
|
|
162
|
-
1 Andrew Blair 0.0%
|
|
163
|
-
1 Andrew McElroy 0.0%
|
|
164
|
-
1 Andrey Tkachenko 0.0%
|
|
165
|
-
1 Brian Immel 0.0%
|
|
166
|
-
1 Chris Gedrim 0.0%
|
|
167
|
-
1 Clem 0.0%
|
|
168
|
-
1 Dan Frankowski 0.0%
|
|
169
|
-
1 Dan Tamas 0.0%
|
|
170
|
-
1 Daniel Mahon 0.0%
|
|
171
|
-
1 Daniel Pfeifffer 0.0%
|
|
172
|
-
1 Daniel Waardal 0.0%
|
|
173
|
-
1 Family 0.0%
|
|
174
|
-
1 J. Tangelder 0.0%
|
|
175
|
-
1 Jeff Antram 0.0%
|
|
176
|
-
1 Jeremy Martin 0.0%
|
|
177
|
-
1 Jorge Macías 0.0%
|
|
178
|
-
1 João Teixeira 0.0%
|
|
179
|
-
1 Kelly Nicholes 0.0%
|
|
180
|
-
1 Kondal Kolipaka 0.0%
|
|
181
|
-
1 Kota Iguchi 0.0%
|
|
182
|
-
1 Lee, JongEun 0.0%
|
|
183
|
-
1 Manuel Conde Vendrell 0.0%
|
|
184
|
-
1 Manuel Lehner 0.0%
|
|
185
|
-
1 Matthew Lanham 0.0%
|
|
186
|
-
1 Mattijah 0.0%
|
|
187
|
-
1 Micah Alcorn 0.0%
|
|
188
|
-
1 Muhammad Dadu 0.0%
|
|
189
|
-
1 Nuno Costa 0.0%
|
|
190
|
-
1 Reymundo López 0.0%
|
|
191
|
-
1 Sergey Nosenko 0.0%
|
|
192
|
-
1 Vui Nguyen 0.0%
|
|
193
|
-
1 ewieberappc 0.0%
|
|
194
|
-
1 federico1525 0.0%
|
|
195
|
-
1 gitizenme 0.0%
|
|
196
|
-
1 godspeedelbow 0.0%
|
|
197
|
-
1 hamasyou 0.0%
|
|
198
|
-
1 jeffatstepup 0.0%
|
|
199
|
-
1 longton95 0.0%
|
|
200
|
-
```
|
|
106
|
+
If you find a security related issue, please send an email to [security@tidev.io](mailto:security@tidev.io) instead of publicly creating a ticket.
|
|
107
|
+
|
|
108
|
+
## Stay Connected
|
|
109
|
+
|
|
110
|
+
For the latest information, please find us on Twitter: [Titanium SDK](https://twitter.com/titaniumsdk) and [TiDev](https://twitter.com/tidevio).
|
|
111
|
+
|
|
112
|
+
Join our growing Slack community by visiting https://slack.tidev.io
|
|
201
113
|
|
|
202
114
|
## Legal
|
|
203
115
|
|
|
204
|
-
|
|
205
|
-
Alloy is made available under the Apache Public License, version 2. See the [LICENSE](https://github.com/appcelerator/alloy/blob/master/LICENSE) file for more information.
|
|
116
|
+
Titanium is a registered trademark of TiDev Inc. All Titanium trademark and patent rights were transferred and assigned to TiDev Inc. on 4/7/2022. Please see the LEGAL information about using our trademarks, privacy policy, terms of usage and other legal information at https://tidev.io/legal.
|
package/cli_config.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"user": {
|
|
3
3
|
"locale": "en_US",
|
|
4
4
|
"name": "Travis Runner",
|
|
5
|
-
"email": "no-reply@
|
|
5
|
+
"email": "no-reply@tidev.io"
|
|
6
6
|
},
|
|
7
7
|
"app": {
|
|
8
8
|
"workspace": "",
|
|
9
9
|
"idprefix": "com.appcelerator",
|
|
10
|
-
"publisher": "
|
|
11
|
-
"url": "
|
|
10
|
+
"publisher": "TiDev, Inc.",
|
|
11
|
+
"url": "https://tidev.io"
|
|
12
12
|
},
|
|
13
13
|
"cli": {
|
|
14
14
|
"colors": true,
|
|
@@ -49,4 +49,4 @@
|
|
|
49
49
|
"distributionName": "",
|
|
50
50
|
"autoSelectDevice": true
|
|
51
51
|
}
|
|
52
|
-
}
|
|
52
|
+
}
|
package/hooks/alloy.js
CHANGED
package/hooks/deepclean.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alloy",
|
|
3
|
-
"description": "
|
|
3
|
+
"description": "TiDev Titanium MVC Framework",
|
|
4
4
|
"keywords": [
|
|
5
|
-
"appcelerator",
|
|
6
5
|
"titanium",
|
|
7
6
|
"alloy",
|
|
8
7
|
"mobile",
|
|
@@ -12,20 +11,14 @@
|
|
|
12
11
|
"html5",
|
|
13
12
|
"appc-client"
|
|
14
13
|
],
|
|
15
|
-
"version": "
|
|
16
|
-
"author": "
|
|
17
|
-
"maintainers": [
|
|
18
|
-
{
|
|
19
|
-
"name": "Tony Lukasavage",
|
|
20
|
-
"email": "tlukasavage@appcelerator.com"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
14
|
+
"version": "2.0.0",
|
|
15
|
+
"author": "TiDev, Inc. <npm@tidev.io>",
|
|
23
16
|
"bugs": {
|
|
24
|
-
"url": "https://
|
|
17
|
+
"url": "https://github.com/tidev/alloy/issues"
|
|
25
18
|
},
|
|
26
19
|
"repository": {
|
|
27
20
|
"type": "git",
|
|
28
|
-
"url": "git+https://github.com/
|
|
21
|
+
"url": "git+https://github.com/tidev/alloy.git"
|
|
29
22
|
},
|
|
30
23
|
"preferGlobal": true,
|
|
31
24
|
"dependencies": {
|
|
@@ -33,9 +26,9 @@
|
|
|
33
26
|
"@babel/core": "^7.4.5",
|
|
34
27
|
"@babel/generator": "^7.4.4",
|
|
35
28
|
"@babel/parser": "^7.4.5",
|
|
29
|
+
"@babel/template": "^7.4.4",
|
|
36
30
|
"@babel/traverse": "^7.4.5",
|
|
37
31
|
"@babel/types": "^7.4.4",
|
|
38
|
-
"@babel/template": "^7.4.4",
|
|
39
32
|
"@xmldom/xmldom": "^0.8.0",
|
|
40
33
|
"async": "^3.2.0",
|
|
41
34
|
"colors": "1.4.0",
|
|
@@ -3,7 +3,7 @@ Builtins
|
|
|
3
3
|
|
|
4
4
|
In this example, we're going to show how we can use some of alloy's builtin JS libraries directly in your alloy JS files. These _builtins_ are meant to extend the base functionality of all your Titanium apps. The great thing about them is that only the builtins you need will be pulled into your generated Titanium project. The alloy compile process will survey your code and determine which builtins you will need at runtime.
|
|
5
5
|
|
|
6
|
-
The existing list of builtins can be found at: [https://github.com/
|
|
6
|
+
The existing list of builtins can be found at: [https://github.com/tidev/alloy/tree/master/Alloy/builtins](https://github.com/tidev/alloy/tree/master/Alloy/builtins)
|
|
7
7
|
|
|
8
8
|
To use a builtin library in your code and have it automatically added to your generate Titanium project, all you need to do is require it with the `alloy` root diretory in your `require()` call. For example, if you wanted to include the `animation` builtin, all you need to do is this:
|
|
9
9
|
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
"description" : "Cross-platform loading image",
|
|
5
5
|
"author": "Dawson Toth (alloy port by Tony Lukasavage)",
|
|
6
6
|
"version": "1.0",
|
|
7
|
-
"copyright":"Copyright
|
|
7
|
+
"copyright":"Copyright TiDev, Inc. 04/07/2022-Present",
|
|
8
8
|
"license":"Public Domain",
|
|
9
9
|
"min-alloy-version": "0.1.16",
|
|
10
10
|
"min-titanium-version":"2.0",
|
|
11
11
|
"tags":"utility,loading,progress",
|
|
12
12
|
"platforms":"android,ios,mobileweb,windows",
|
|
13
13
|
"dependencies": {}
|
|
14
|
-
}
|
|
14
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"description" : "Google API Bok search",
|
|
5
5
|
"author": "Tony Lukasavage",
|
|
6
6
|
"version": "1.0",
|
|
7
|
-
"copyright":"Copyright
|
|
7
|
+
"copyright":"Copyright TiDev, Inc. 04/07/2022-Present",
|
|
8
8
|
"license":"Public Domain",
|
|
9
9
|
"min-alloy-version": "0.1.16",
|
|
10
10
|
"min-titanium-version":"2.0",
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
"com.appcelerator.loading":"1.0"
|
|
15
15
|
|
|
16
16
|
}
|
|
17
|
-
}
|
|
17
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Welcome to your
|
|
1
|
+
Welcome to your TiDev Titanium Mobile Project
|
|
2
2
|
|
|
3
3
|
This is a blank project. Start by editing your application's app.js to
|
|
4
4
|
make your first mobile project using Titanium.
|
|
@@ -8,10 +8,10 @@ make your first mobile project using Titanium.
|
|
|
8
8
|
----------------------------------
|
|
9
9
|
Stuff our legal folk make us say:
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
trademarks of
|
|
11
|
+
TiDev, TiDev Titanium and associated marks and logos are
|
|
12
|
+
trademarks of TiDev, Inc.
|
|
13
13
|
|
|
14
|
-
Titanium is Copyright
|
|
14
|
+
Titanium is Copyright TiDev, Inc. 04/07/2022-Present
|
|
15
15
|
|
|
16
16
|
Titanium is licensed under the Apache Public License (Version 2). Please
|
|
17
17
|
see the LICENSE file for the full license.
|