alloy 1.17.1 → 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.
@@ -0,0 +1,2 @@
1
+ github: tidev
2
+ liberapay: tidev
@@ -26,7 +26,7 @@ jobs:
26
26
  matrix:
27
27
  nodeVersion: [ '12.x' ]
28
28
  os: [ macos-latest ]
29
- tiSDK: [ latest, '-b master' ] # -b master is to reduce the complexity of handling a GA install vs a branch install
29
+ tiSDK: [ latest ]
30
30
  steps:
31
31
  - uses: actions/checkout@v2
32
32
  with:
@@ -39,6 +39,8 @@ jobs:
39
39
  npm ci
40
40
  npm i titanium -g
41
41
  ti sdk install ${{ matrix.tiSDK }} -d
42
+ env:
43
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42
44
  - name: Run tests
43
45
  run: npm test
44
46
 
@@ -0,0 +1,13 @@
1
+ name: Check CLA
2
+ on:
3
+ - pull_request
4
+
5
+ jobs:
6
+ check-cla:
7
+ runs-on: ubuntu-latest
8
+ name: Verify contributor
9
+
10
+ steps:
11
+ - uses: tidev/tidev-cla-action@v1
12
+ with:
13
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -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 (c) 2012 by Appcelerator, Inc. All Rights Reserved.
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
- console.log(logger.stripColors ? str : str.blue);
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
  }
@@ -9,7 +9,7 @@ var U = require('../../utils'),
9
9
  astController = require('./ast/controller'),
10
10
  _ = require('lodash'),
11
11
  styler = require('./styler'),
12
- XMLSerializer = require('xmldom').XMLSerializer,
12
+ XMLSerializer = require('@xmldom/xmldom').XMLSerializer,
13
13
  CONST = require('../../common/constants'),
14
14
  sourceMapper = require('./sourceMapper');
15
15
 
@@ -2,7 +2,7 @@ var U = require('../../utils'),
2
2
  logger = require('../../logger'),
3
3
  path = require('path'),
4
4
  _ = require('lodash'),
5
- XMLSerializer = require('xmldom').XMLSerializer,
5
+ XMLSerializer = require('@xmldom/xmldom').XMLSerializer,
6
6
  fs = require('fs-extra'),
7
7
  os = require('os');
8
8
 
@@ -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/appcelerator/webpack-plugin-alloy#readme to make sure your project is fully up to date');
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
+ }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Alloy for Titanium by Appcelerator
3
3
  * This is generated code, DO NOT MODIFY - changes will be lost!
4
- * Copyright (c) 2012 by Appcelerator, Inc.
4
+ * Copyright TiDev, Inc. 04/07/2022-Present
5
5
  */
6
6
  var Alloy = require('/alloy'),
7
7
  _ = Alloy._,
package/Alloy/tiapp.js CHANGED
@@ -1,6 +1,6 @@
1
1
  var fs = require('fs'),
2
2
  path = require('path'),
3
- XMLSerializer = require('xmldom').XMLSerializer,
3
+ XMLSerializer = require('@xmldom/xmldom').XMLSerializer,
4
4
  pkg = require('../package'),
5
5
  U = require('./utils'),
6
6
  CONST = require('./common/constants'),
package/Alloy/utils.js CHANGED
@@ -11,8 +11,8 @@ var path = require('path'),
11
11
  paths = require('global-paths'),
12
12
  logger = require('./logger'),
13
13
  tiapp = require('./tiapp'),
14
- XMLSerializer = require('xmldom').XMLSerializer,
15
- DOMParser = require('xmldom').DOMParser,
14
+ XMLSerializer = require('@xmldom/xmldom').XMLSerializer,
15
+ DOMParser = require('@xmldom/xmldom').DOMParser,
16
16
  _ = require('lodash'),
17
17
  CONST = require('./common/constants'),
18
18
  sourceMapper = require('./commands/compile/sourceMapper'),
package/CHANGELOG.md CHANGED
@@ -1,71 +1,85 @@
1
- ## [1.17.1](https://github.com/appcelerator/alloy/compare/1.17.0...1.17.1) (2021-11-17)
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
- * **compile/hook:** error if unable to find the alloy cli ([166dc3b](https://github.com/appcelerator/alloy/commit/166dc3b61c2dba6fbeecf1d4d00a742dea15be99))
6
+ * pin colors version to avoid dos issue ([5f10891](https://github.com/tidev/alloy/commit/5f10891ef6a9f6357a41ef782390a8d6a9d2d1de))
7
7
 
8
- # [1.17.0](https://github.com/appcelerator/alloy/compare/1.16.4...1.17.0) (2021-11-02)
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
- * **compile/sourcemap:** use path.join rather than manually constructing a path ([537107d](https://github.com/appcelerator/alloy/commit/537107debd06930ed3ea932395e2654e4996db48))
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
+
15
+ ## [1.17.1](https://github.com/tidev/alloy/compare/1.17.0...1.17.1) (2021-11-17)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **compile/hook:** error if unable to find the alloy cli ([166dc3b](https://github.com/tidev/alloy/commit/166dc3b61c2dba6fbeecf1d4d00a742dea15be99))
21
+
22
+ # [1.17.0](https://github.com/tidev/alloy/compare/1.16.4...1.17.0) (2021-11-02)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **compile/sourcemap:** use path.join rather than manually constructing a path ([537107d](https://github.com/tidev/alloy/commit/537107debd06930ed3ea932395e2654e4996db48))
14
28
 
15
29
 
16
30
  ### Features
17
31
 
18
- * **all:** set default backbone version ([fb845f7](https://github.com/appcelerator/alloy/commit/fb845f735be4ff6999807f14b740c37357145977))
32
+ * **all:** set default backbone version ([fb845f7](https://github.com/tidev/alloy/commit/fb845f735be4ff6999807f14b740c37357145977))
19
33
 
20
- ## [1.16.4](https://github.com/appcelerator/alloy/compare/1.16.3...1.16.4) (2021-09-17)
34
+ ## [1.16.4](https://github.com/tidev/alloy/compare/1.16.3...1.16.4) (2021-09-17)
21
35
 
22
36
 
23
37
  ### Bug Fixes
24
38
 
25
- * **compile:** provide filename to babel transform to allow using config files ([#1218](https://github.com/appcelerator/alloy/issues/1218)) ([ba0068e](https://github.com/appcelerator/alloy/commit/ba0068ed094906a474c3d6552e27b4e809414a2f))
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))
26
40
 
27
- ## [1.16.3](https://github.com/appcelerator/alloy/compare/1.16.2...1.16.3) (2021-06-29)
41
+ ## [1.16.3](https://github.com/tidev/alloy/compare/1.16.2...1.16.3) (2021-06-29)
28
42
 
29
43
 
30
44
  ### Bug Fixes
31
45
 
32
- * **generate:** mark name as optional as it is not required for jmk ([bc0e06f](https://github.com/appcelerator/alloy/commit/bc0e06f9169cc7a5e34c0f1e757f29af3a6ffc7b))
33
- * **new:** mark dir as optional as it is not required ([d151848](https://github.com/appcelerator/alloy/commit/d151848ad1ba7a8494b5005d016725645173ba4d))
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))
34
48
 
35
- ## [1.16.2](https://github.com/appcelerator/alloy/compare/1.16.1...1.16.2) (2021-06-15)
49
+ ## [1.16.2](https://github.com/tidev/alloy/compare/1.16.1...1.16.2) (2021-06-15)
36
50
 
37
51
 
38
52
  ### Bug Fixes
39
53
 
40
- * **compile:** don't create widget sourcemaps if sourcemaps are disabled ([b1259b1](https://github.com/appcelerator/alloy/commit/b1259b1feff867bdab8ebb29ce9ceae2f739290e))
54
+ * **compile:** don't create widget sourcemaps if sourcemaps are disabled ([b1259b1](https://github.com/tidev/alloy/commit/b1259b1feff867bdab8ebb29ce9ceae2f739290e))
41
55
 
42
- ## [1.16.1](https://github.com/appcelerator/alloy/compare/1.16.0...1.16.1) (2021-06-08)
56
+ ## [1.16.1](https://github.com/tidev/alloy/compare/1.16.0...1.16.1) (2021-06-08)
43
57
 
44
58
 
45
59
  ### Bug Fixes
46
60
 
47
- * **compile:** generate source maps for lib files in widgets ([ba8d4c2](https://github.com/appcelerator/alloy/commit/ba8d4c22872c78927b8b231cc0f5e2cb0384525c))
61
+ * **compile:** generate source maps for lib files in widgets ([ba8d4c2](https://github.com/tidev/alloy/commit/ba8d4c22872c78927b8b231cc0f5e2cb0384525c))
48
62
 
49
- # [1.16.0](https://github.com/appcelerator/alloy/compare/1.15.4...1.16.0) (2021-03-03)
63
+ # [1.16.0](https://github.com/tidev/alloy/compare/1.15.4...1.16.0) (2021-03-03)
50
64
 
51
65
 
52
66
  ### Features
53
67
 
54
- * support using OptionBar ([93c2df1](https://github.com/appcelerator/alloy/commit/93c2df14e190bb281ac191b9c85e529fc2b11dc6))
68
+ * support using OptionBar ([93c2df1](https://github.com/tidev/alloy/commit/93c2df14e190bb281ac191b9c85e529fc2b11dc6))
55
69
 
56
- ## [1.15.4](https://github.com/appcelerator/alloy/compare/1.15.3...1.15.4) (2021-01-04)
70
+ ## [1.15.4](https://github.com/tidev/alloy/compare/1.15.3...1.15.4) (2021-01-04)
57
71
 
58
72
 
59
73
  ### Bug Fixes
60
74
 
61
- * **compile:** allow TabGroup as child of a NavigationWindow ([#1067](https://github.com/appcelerator/alloy/issues/1067)) ([d837e76](https://github.com/appcelerator/alloy/commit/d837e76f1e304a8704232020b56e03c0f806953b))
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))
62
76
 
63
- ## [1.15.3](https://github.com/appcelerator/alloy/compare/1.15.2...1.15.3) (2020-11-23)
77
+ ## [1.15.3](https://github.com/tidev/alloy/compare/1.15.2...1.15.3) (2020-11-23)
64
78
 
65
79
 
66
80
  ### Bug Fixes
67
81
 
68
- * improve check around whether widget is only tag in the view ([#1035](https://github.com/appcelerator/alloy/issues/1035)) ([7e4c3d6](https://github.com/appcelerator/alloy/commit/7e4c3d6e6ba7f3fbf3b9b4889ac1ec79e2b30192))
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))
69
83
 
70
84
  # Alloy Release Notes
71
85
 
@@ -73,39 +87,39 @@
73
87
 
74
88
  ### Bug Fixes
75
89
 
76
- * [ALOY-1737](https://jira.appcelerator.org/browse/ALOY-1737) - Set items directly in ListView [#966](https://github.com/appcelerator/alloy/pull/966)
77
- * [ALOY-1738](https://jira.appcelerator.org/browse/ALOY-1738) - Fix handling of Require tags [#967](https://github.com/appcelerator/alloy/pull/967)
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)
78
92
 
79
93
  ### Release 1.15.1
80
94
 
81
95
  ## Improvements
82
96
 
83
- * [ALOY-1735](https://jira.appcelerator.org/browse/ALOY-1735) - Create VS Code settings.json file on project creation [#965](https://github.com/appcelerator/alloy/pull/965)
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)
84
98
 
85
99
  ### Bug Fixes
86
100
 
87
- * [ALOY-1736](https://jira.appcelerator.org/browse/ALOY-1736) - Ensure package.json has correct fields [#965](https://github.com/appcelerator/alloy/pull/965)
101
+ * [ALOY-1736](https://jira.appcelerator.org/browse/ALOY-1736) - Ensure package.json has correct fields [#965](https://github.com/tidev/alloy/pull/965)
88
102
 
89
103
  ### Release 1.15.0
90
104
 
91
105
  ### New Features
92
106
 
93
- * [ALOY-1732](https://jira.appcelerator.org/browse/ALOY-1732) - Add ability to run in the background without UI [#959](https://github.com/appcelerator/alloy/pull/959)
94
- * [ALOY-1733](https://jira.appcelerator.org/browse/ALOY-1733) - Add template for Alloy + webpack usage [#963](https://github.com/appcelerator/alloy/pull/963)
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)
95
109
 
96
110
  ### Improvements
97
111
 
98
- * [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/appcelerator/alloy/pull/949)
99
- * [ALOY-1253](https://jira.appcelerator.org/browse/ALOY-1253) - Support WPATH in widget XML view attribute values [#948](https://github.com/appcelerator/alloy/pull/948)
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)
100
114
 
101
115
  ### Bug Fixes
102
116
 
103
- * [ALOY-1720](https://jira.appcelerator.org/browse/ALOY-1720) - Version string comparison will break for SDK 10.0.0 [#960](https://github.com/appcelerator/alloy/pull/960)
104
- * [ALOY-1734](https://jira.appcelerator.org/browse/ALOY-1734) - Declare Alloy globals before execution of app.js/alloy.js [#964](https://github.com/appcelerator/alloy/pull/964)
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)
105
119
 
106
120
  ### Release 1.14.6
107
121
 
108
- * [ALOY-1721](https://jira.appcelerator.org/browse/ALOY-1721) - Alloy global can no longer be accessed in styles [#955](https://github.com/appcelerator/alloy/issues/955)
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)
109
123
 
110
124
  ### Release 1.14.5
111
125
 
@@ -117,16 +131,16 @@
117
131
 
118
132
  ### Release 1.14.3
119
133
 
120
- * [ALOY-1710](https://jira.appcelerator.org/browse/ALOY-1710) - Fix undeclared variable error [#947](https://github.com/appcelerator/alloy/pull/947)
134
+ * [ALOY-1710](https://jira.appcelerator.org/browse/ALOY-1710) - Fix undeclared variable error [#947](https://github.com/tidev/alloy/pull/947)
121
135
 
122
136
  ### Release 1.14.2
123
137
 
124
- * [ALOY-1598](https://jira.appcelerator.org/browse/ALOY-1598) - Fix error with binding_no_persistence sample [#882](https://github.com/appcelerator/alloy/pull/882)
125
- * [ALOY-1693](https://jira.appcelerator.org/browse/ALOY-1693) - Maintain db connection during sql sync [#933](https://github.com/appcelerator/alloy/pull/933)
126
- * [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/appcelerator/alloy/pull/911)
127
- * [ALOY-1701](https://jira.appcelerator.org/browse/ALOY-1701) - XML: Unable to use platform namespace restriction on event handlers [#940](https://github.com/appcelerator/alloy/pull/940)
128
- * [ALOY-1705](https://jira.appcelerator.org/browse/ALOY-1705) - Fix to allow return outside of function [#939](https://github.com/appcelerator/alloy/pull/939)
129
- * [ALOY-1706](https://jira.appcelerator.org/browse/ALOY-1706) - Compile error if Alloy view filename contains hyphen [#938](https://github.com/appcelerator/alloy/pull/938)
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)
130
144
 
131
145
  ### Release 1.14.1
132
146
 
@@ -142,34 +156,34 @@
142
156
 
143
157
  #### New Features
144
158
 
145
- * [ALOY-1632](https://jira.appcelerator.org/browse/ALOY-1632) Allow passing custom template directories to the `alloy new` command [#912](https://github.com/appcelerator/alloy/pull/912)
146
- * [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/appcelerator/alloy/pull/922)
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)
147
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!" />`
148
- * [ALOY-1363](https://jira.appcelerator.org/browse/ALOY-1363) Add support to set object properties via XML [#765](https://github.com/appcelerator/alloy/pull/765)
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)
149
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>`
150
- * [ALOY-1316](https://jira.appcelerator.org/browse/ALOY-1316) Support use of $.args.* in any XML attribute or TSS property [#885](https://github.com/appcelerator/alloy/pull/885)
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)
151
165
 
152
166
  #### Improvements
153
167
 
154
- * [ALOY-1629](https://jira.appcelerator.org/browse/ALOY-1629) Upgrade to babel 7 packages [#905](https://github.com/appcelerator/alloy/pull/905)
155
- * [ALOY-1652](https://jira.appcelerator.org/browse/ALOY-1652) Improve handling of missing directories and files in `alloy new` [#925](https://github.com/appcelerator/alloy/pull/925)
156
- * [ALOY-1682](https://jira.appcelerator.org/browse/ALOY-1682) Update to moment to 2.24.0 and update moment locales. [#928](https://github.com/appcelerator/alloy/pull/928)
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)
157
171
  * Previous version was 2.21.0
158
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,
159
- * [ALOY-1683](https://jira.appcelerator.org/browse/ALOY-1683) Update to Underscore.js 1.9.1 [#929](https://github.com/appcelerator/alloy/pull/929)
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)
160
174
  * Previous version was 1.8.3
161
- * [ALOY-1648](https://jira.appcelerator.org/browse/ALOY-1648) Include Backbone.js 1.4.0 [#929](https://github.com/appcelerator/alloy/pull/929)
175
+ * [ALOY-1648](https://jira.appcelerator.org/browse/ALOY-1648) Include Backbone.js 1.4.0 [#929](https://github.com/tidev/alloy/pull/929)
162
176
  * Includes 42 new locales
163
- * [ALOY-1505](https://jira.appcelerator.org/browse/ALOY-1505) Add ability to set cancel and destructive properties on OptionDialog options [#879](https://github.com/appcelerator/alloy/pull/879)
164
- * [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/appcelerator/alloy/pull/893)
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)
165
179
 
166
180
  #### Fixes
167
181
 
168
- * [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/appcelerator/alloy/pull/810)
169
- * [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/appcelerator/alloy/pull/926)
170
- * [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/appcelerator/alloy/pull/929)
171
- * [ALOY-1690](https://jira.appcelerator.org/browse/ALOY-1690) sourcemaps not being generated for files under lib [#893](https://github.com/appcelerator/alloy/pull/893)
172
- * [ALOY-1691](https://jira.appcelerator.org/browse/ALOY-1691) Source maps report incorrect "file" value [#893](https://github.com/appcelerator/alloy/pull/893)
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)
173
187
 
174
188
 
175
189
  ### Release 1.13.10
@@ -241,7 +255,7 @@
241
255
  * [ALOY-1599](https://jira.appcelerator.org/browse/ALOY-1599): Model Data binding problem with the first upper case in the model src
242
256
  - Thanks to @darknos for this contribution!
243
257
  * [ALOY-1595](https://jira.appcelerator.org/browse/ALOY-1595): alloy compile broken on node 9.3.0
244
- * [PR-878](https://github.com/appcelerator/alloy/pull/878): Fix links in README
258
+ * [PR-878](https://github.com/tidev/alloy/pull/878): Fix links in README
245
259
  - Thanks to @dfrankow for this contribution!
246
260
 
247
261
  ---
@@ -591,7 +605,7 @@ method.
591
605
  See also:
592
606
 
593
607
  * [Alloy Guides: Views without Controllers](http://docs.appcelerator.com/platform/latest/#!/guide/Views_without_Controllers)
594
- * [Controller-less View test app](https://github.com/appcelerator/alloy/tree/1_4_X/test/apps/testing/ALOY-362)
608
+ * [Controller-less View test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/testing/ALOY-362)
595
609
 
596
610
 
597
611
  #### Custom Query Styles
@@ -610,7 +624,7 @@ To use a custom query:
610
624
  See also:
611
625
 
612
626
  * [Alloy Styles and Themes: Custom Query Styles](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Styles_and_Themes-section-35621526_AlloyStylesandThemes-CustomQueryStyles)
613
- * [Custom TSS queries test app](https://github.com/appcelerator/alloy/tree/1_4_X/test/apps/advanced/custom_tss_queries)
627
+ * [Custom TSS queries test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/advanced/custom_tss_queries)
614
628
 
615
629
  ##### Map Module Integration
616
630
 
@@ -636,8 +650,8 @@ supports the `dataFilter` and `dataTransform` attributes.
636
650
  See also:
637
651
 
638
652
  * Alloy Example in [ti.map module](http://docs.appcelerator.com/platform/latest/#!/api/Modules.Map)
639
- * [Map Module test app](https://github.com/appcelerator/alloy/tree/1_4_X/test/apps/testing/ALOY-800)
640
- * [Map Module with Data Binding test app](http://github.com/appcelerator/alloy/tree/1_4_X/test/apps/testing/ALOY-503)
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)
641
655
 
642
656
 
643
657
  ##### Widget Component Generation
@@ -664,7 +678,7 @@ used by the widget.
664
678
  See also:
665
679
 
666
680
  * "Themes" section in [Alloy Widgets](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Widgets)
667
- * [Widget Themes test app](https://github.com/appcelerator/alloy/tree/1_4_X/test/apps/testing/ALOY-378)
681
+ * [Widget Themes test app](https://github.com/tidev/alloy/tree/1_4_X/test/apps/testing/ALOY-378)
668
682
 
669
683
 
670
684
  ##### XML Markup/TSS Enhancements
@@ -704,12 +718,12 @@ See also:
704
718
 
705
719
  See also:
706
720
 
707
- * [Action Bar test app](https://github.com/appcelerator/alloy/tree/1_4_X/test/apps/testing/ALOY-784)
708
- * [Button Shorthand test app](https://github.com/appcelerator/alloy/tree/1_4_X/test/apps/testing/ALOY-714)
709
- * [Date Picker test app](https://github.com/appcelerator/alloy/tree/1_4_X/test/apps/testing/ALOY-263)
710
- * [Options Dialog with Localization Function test app](https://github.com/appcelerator/alloy/tree/1_4_X/test/apps/testing/ALOY-1009)
711
- * [Refresh Control test app](https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-910)
712
- * [Text Field Keyboard Shorthand test app](https://github.com/appcelerator/alloy/tree/1_4_X/test/apps/testing/ALOY-927)
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)
713
727
 
714
728
 
715
729
  #### Known Issues
@@ -773,7 +787,7 @@ Alloy 1.3.0 only supports Titanium SDK 3.2.0 and later. You can find details on
773
787
 
774
788
  * Support children elements for Widget and Require elements. View objects created using the Widget
775
789
  and Require elements can contain child view elements, which are added as children views of the
776
- parent Widget or Require view object. Example: [require_children](https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/require_children)
790
+ parent Widget or Require view object. Example: [require_children](https://github.com/tidev/alloy/tree/master/test/apps/advanced/require_children)
777
791
 
778
792
  * Support `<HeaderView>`, `<FooterView>` and `<PullView>` as children tags of the `<ListView>` object to
779
793
  specify the `headerView`, `footerView` and `pullView` properties of `Titanium.UI.ListView`.
@@ -879,7 +893,7 @@ the fly.
879
893
 
880
894
  For more information, see:
881
895
  * [Dynamic Styles guide](http://docs.appcelerator.com/platform/latest/#!/guide/Dynamic_Styles)
882
- * [dynamic_styling Sample](https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/dynamic_styling)
896
+ * [dynamic_styling Sample](https://github.com/tidev/alloy/tree/master/test/apps/advanced/dynamic_styling)
883
897
  * Refer to the "New APIs" section below.
884
898
 
885
899
  ##### ListView in Markup
@@ -887,10 +901,10 @@ For more information, see:
887
901
  ListView objects can now be created in markup and with collection-view binding enabled.
888
902
 
889
903
  For more information, see:
890
- * [listview Sample](https://github.com/appcelerator/alloy/tree/master/test/apps/ui/listview)
891
- * [binding_listview Sample](https://github.com/appcelerator/alloy/tree/master/test/apps/models/binding_listview)
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)
892
906
  * [ListView API Reference](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView)
893
- * [Alloy Data Binding guide](https://github.com/appcelerator/alloy/tree/master/test/apps/models/binding_listview)
907
+ * [Alloy Data Binding guide](https://github.com/tidev/alloy/tree/master/test/apps/models/binding_listview)
894
908
 
895
909
  ##### Module Markup Element
896
910
 
@@ -898,7 +912,7 @@ Use the new `Module` XML element to include a view from a native module.
898
912
 
899
913
  For more information, see:
900
914
  * "Module XML Element" section in the [Alloy XML Markup guide](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_XML_Markup)
901
- * [native_modules Sample](https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/native_modules)
915
+ * [native_modules Sample](https://github.com/tidev/alloy/tree/master/test/apps/advanced/native_modules)
902
916
 
903
917
  ##### CLI Command to Generate Styles
904
918
 
@@ -1011,13 +1025,13 @@ ScrollableView, CoverFlowView, ButtonBar, ToolBar and TabbedBar objects support
1011
1025
  binding.
1012
1026
 
1013
1027
  For ButtonBar, ToolBar and TabbedBar, refer to the
1014
- [binding_bars example](https://github.com/appcelerator/alloy/tree/1_1_X/test/apps/models/binding_bars).
1028
+ [binding_bars example](https://github.com/tidev/alloy/tree/1_1_X/test/apps/models/binding_bars).
1015
1029
 
1016
1030
  For CoverFlowView, refer to the
1017
- [binding_coverflow example](https://github.com/appcelerator/alloy/tree/1_1_X/test/apps/models/binding_coverflow).
1031
+ [binding_coverflow example](https://github.com/tidev/alloy/tree/1_1_X/test/apps/models/binding_coverflow).
1018
1032
 
1019
1033
  For ScrollableView, refer to the
1020
- [binding_scrollableview example](https://github.com/appcelerator/alloy/tree/1_1_X/test/apps/models/binding_scrollableview).
1034
+ [binding_scrollableview example](https://github.com/tidev/alloy/tree/1_1_X/test/apps/models/binding_scrollableview).
1021
1035
 
1022
1036
  Refer to [Alloy Data Binding](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Data_Binding)
1023
1037
  for more information.
@@ -1243,32 +1257,32 @@ The following deprecated APIs have been removed in this release:
1243
1257
  ### New features
1244
1258
 
1245
1259
  * Tons of sql sync adapter features and fixes
1246
- * **IMPORTANT**: Please read the [notes on the sql_new adapter](https://github.com/appcelerator/alloy/edit/master/CHANGELOG.md#additional-notes-for-035) below.
1247
- * [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/appcelerator/alloy/tree/master/test/apps/models/sql_queries) test app uses this, specifically in this [controller file](https://github.com/appcelerator/alloy/blob/master/test/apps/models/sql_queries/controllers/main.js).
1248
- * [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/appcelerator/alloy/tree/master/test/apps/models/sql_keywords) test app shows how to use it.
1249
- * [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/appcelerator/alloy/tree/master/test/apps/models/sql_keywords) test app, specifically this [model file](https://github.com/appcelerator/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.
1250
- * [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/appcelerator/alloy/tree/master/test/apps/models/sql_keywords) is also a multiple migration test app.
1251
- * [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/appcelerator/alloy/tree/master/test/apps/models/sql_preload) test app shows how.
1252
- * [ALOY-456](https://jira.appcelerator.org/browse/ALOY-456). sql adapter now supports multiple SQLite databases. The [model/sql_queries](https://github.com/appcelerator/alloy/tree/master/test/apps/models/sql_queries) test app makes use of multiple SQLite databases.
1253
- * [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/appcelerator/alloy/blob/master/test/apps/models/sql_queries/migrations/201301161234567_user.js) of the [models/sql_queries](https://github.com/appcelerator/alloy/tree/master/test/apps/models/sql_queries) test app.
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.
1254
1268
  * TSS parsing and features
1255
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.
1256
- * [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/appcelerator/alloy/blob/master/test/apps/models/sql_queries/styles/app.tss) for an example.
1257
- * [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/appcelerator/alloy/commit/e9fdc93c9760a1590c0abd0136662c11dc678066#commitcomment-2401085) for using runtime values in TSS files.
1258
- * [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/appcelerator/alloy/blob/master/test/apps/testing/grammar/views/index.xml) for an example.
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.
1259
1273
 
1260
1274
  ### Bug fixes and improvements
1261
1275
 
1262
- * [ALOY-191](https://jira.appcelerator.org/browse/ALOY-191). The [models/todo](https://github.com/appcelerator/alloy/tree/master/test/apps/models/todo) test app now works with all supported sync adapters \(sql, properties, localStorage\).
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\).
1263
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)\).
1264
1278
  * [ALOY-449](https://jira.appcelerator.org/browse/ALOY-449). Parsing state not cleaned properly when processing multiple top-level UI elements.
1265
1279
  * [ALOY-446](https://jira.appcelerator.org/browse/ALOY-446). sql adapter should open/close between all operations (best practices).
1266
1280
 
1267
1281
  ### Additional Notes for 0.3.5
1268
1282
 
1269
- Due to the massive amount of changes in the sql adapter, it is being introduced as ["sql_new"](https://github.com/appcelerator/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/appcelerator/alloy/blob/master/test/apps/models/sql_queries/models/user.js) test app. The unchanged "sql" adapter still exists temporarily for compatibility.
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.
1270
1284
 
1271
- 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/appcelerator/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.
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.
1272
1286
 
1273
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).
1274
1288
 
@@ -1277,12 +1291,12 @@ All freshly built apps will work with the **sql_new** adapter, including all the
1277
1291
 
1278
1292
  ### Important Note for Model/Collection Binding Feature
1279
1293
 
1280
- * [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/appcelerator/alloy/tree/master/test/apps/models/binding_destroy)\)
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)\)
1281
1295
 
1282
1296
  ### New features
1283
- * [ALOY-394](http://jira.appcelerator.org/browse/ALOY-394). Support collection binding on Views, allowing for arbitrary component repetition. \([TEST APP](https://github.com/appcelerator/alloy/tree/master/test/apps/models/journal)\)
1284
- * [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/appcelerator/alloy/tree/master/test/apps/models/login)\)
1285
- * [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/appcelerator/alloy/tree/master/test/apps/ui/proxy_properties)\)
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)\)
1286
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.
1287
1301
  * [ALOY-421](http://jira.appcelerator.org/browse/ALOY-421). Add moment.js as builtin. Deprecates datetime.s builtin.
1288
1302
 
@@ -1301,7 +1315,7 @@ All freshly built apps will work with the **sql_new** adapter, including all the
1301
1315
  ## 0.3.3 (6 December 2012)
1302
1316
 
1303
1317
  ### New features
1304
- * [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/appcelerator/alloy/tree/master/test/apps/models/tableview_binding) or the slightly more complete [todo_binding sample app](https://github.com/appcelerator/alloy/tree/master/test/apps/models/todo_binding) which shows how to do data filtering and transformations on bound data.
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.
1305
1319
 
1306
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).
1307
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.
@@ -1335,10 +1349,10 @@ All freshly built apps will work with the **sql_new** adapter, including all the
1335
1349
  ## 0.3.1 (2 November 2012)
1336
1350
 
1337
1351
  ### New features
1338
- * [ALOY-192](http://jira.appcelerator.org/browse/ALOY-192). Add to-do sample application. Code is available on [github](https://github.com/appcelerator/alloy/tree/master/test/apps/models/todo).
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).
1339
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:
1340
1354
  * [Alloy Styles and Themes](http://docs.appcelerator.com/titanium/3.0/#!/guide/Alloy_Styles_and_Themes)
1341
- * [Themes sample application on github](https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/themes)
1355
+ * [Themes sample application on github](https://github.com/tidev/alloy/tree/master/test/apps/advanced/themes)
1342
1356
 
1343
1357
  ### Bug fixes and improvements
1344
1358
  * [ALOY-306](http://jira.appcelerator.org/browse/ALOY-306). Support platform, formFactor, and inline event attributes with abstract types in markup.
@@ -1357,7 +1371,7 @@ All freshly built apps will work with the **sql_new** adapter, including all the
1357
1371
  ---
1358
1372
  0.2.42
1359
1373
  --------
1360
- * Ti.UI.OptionDialog markup parser added. Check out this link for a test app and usage: [https://github.com/appcelerator/alloy/tree/master/test/apps/ui/optiondialog](https://github.com/appcelerator/alloy/tree/master/test/apps/ui/optiondialog)
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)
1361
1375
  * You can get the Alloy version at runtime now with `Alloy.version`
1362
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.
1363
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.
@@ -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 (c) 2012-2013 Appcelerator, Inc.
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/appcelerator/alloy/tree/master/samples/apps) showing various aspects of Alloy in practice.
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/appcelerator/alloy.git
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/appcelerator/alloy/tree/master/samples/apps/basics/simple). You can run these in a few different ways:
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/appcelerator/alloy.git
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/appcelerator/alloy/blob/master/jakelib/readme.md) for information on using `jake` including the arguments and flags it accepts.
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/appcelerator/alloy/tree/master/test/specs).
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
- ## Feedback
88
+ ## Contributing
89
89
 
90
- More so than any other Appcelerator project to this point, we are working collaboratively with the community to develop a framework that works for you. Here's the best ways to discuss Alloy or ask questions.
90
+ Interested in contributing? There are several ways you can help contribute to this project.
91
91
 
92
- * Got an Alloy development question? Go to the Appcelerator [Q&A](http://developer.appcelerator.com/questions/newest), and make sure to use the **alloy** tag.
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
- Other than that, all the usual rules for submitting feedback apply. The more code, details, and test cases you provide, the easier it will be to act on that feedback.
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
- ## Contributing
96
+ ### Donations
99
97
 
100
- Alloy is an open source project. Alloy wouldn't be where it is now without contributions by the community. Please consider forking Alloy to improve, enhance or fix issues. If you feel like the community will benefit from your fork, please open a pull request.
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
- To protect the interests of the Alloy contributors, Appcelerator, customers and end users we require contributors to sign a Contributors License Agreement (CLA) before we pull the changes into the main repository. Our CLA is simple and straightforward - it requires that the contributions you make to any Appcelerator open source project are properly licensed and that you have the legal authority to make those changes. This helps us significantly reduce future legal risk for everyone involved. It is easy, helps everyone, takes only a few minutes, and only needs to be completed once.
100
+ ### Code of Conduct
103
101
 
104
- [You can digitally sign the CLA](http://bit.ly/app_cla) online. Please indicate your email address in your first pull request so that we can make sure that will locate your CLA. Once you've submitted it, you no longer need to send one for subsequent submissions.
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
- ## Contributors
104
+ ## Security
107
105
 
108
- ```
109
- project : alloy
110
- repo age : 6 years
111
- active : 843 days
112
- commits : 3799
113
- files : 4075
114
- authors :
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
- Alloy is developed by Appcelerator and the community and is Copyright (c) 2012 by Appcelerator, Inc. All Rights Reserved.
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@appcelerator.com"
5
+ "email": "no-reply@tidev.io"
6
6
  },
7
7
  "app": {
8
8
  "workspace": "",
9
9
  "idprefix": "com.appcelerator",
10
- "publisher": "Appcelerator Inc.",
11
- "url": "http://appcelerator.com"
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
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Alloy
3
- * Copyright (c) 2012 by Appcelerator, Inc. All Rights Reserved.
3
+ * Copyright TiDev, Inc. 04/07/2022-Present
4
4
  * See LICENSE for more information on licensing.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Alloy
3
- * Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved.
3
+ * Copyright TiDev, Inc. 04/07/2022-Present
4
4
  * See LICENSE for more information on licensing.
5
5
  */
6
6
 
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "alloy",
3
- "description": "Appcelerator Titanium MVC Framework",
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": "1.17.1",
16
- "author": "Appcelerator, Inc. <info@appcelerator.com>",
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://jira.appcelerator.org/browse/ALOY"
17
+ "url": "https://github.com/tidev/alloy/issues"
25
18
  },
26
19
  "repository": {
27
20
  "type": "git",
28
- "url": "git+https://github.com/appcelerator/alloy.git"
21
+ "url": "git+https://github.com/tidev/alloy.git"
29
22
  },
30
23
  "preferGlobal": true,
31
24
  "dependencies": {
@@ -33,11 +26,12 @@
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",
32
+ "@xmldom/xmldom": "^0.8.0",
39
33
  "async": "^3.2.0",
40
- "colors": "^1.1.2",
34
+ "colors": "1.4.0",
41
35
  "commander": "^8.0.0",
42
36
  "ejs": "3.1.6",
43
37
  "fs-extra": "^5.0.0",
@@ -50,8 +44,7 @@
50
44
  "resolve": "^1.1.7",
51
45
  "source-map": "^0.7.3",
52
46
  "walk-sync": "^0.3.2",
53
- "xml2tss": "0.0.5",
54
- "xmldom": "^0.6.0"
47
+ "xml2tss": "0.0.5"
55
48
  },
56
49
  "license": "Apache-2.0",
57
50
  "bin": {
@@ -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/appcelerator/alloy/tree/master/Alloy/builtins](https://github.com/appcelerator/alloy/tree/master/Alloy/builtins)
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 (c) 2012 by Appcelerator",
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 (c) 2012 by Appcelerator",
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
- Copyright 2008-2012 Appcelerator, Inc.
1
+ Copyright TiDev, Inc. 04/07/2022-Present
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- Welcome to your Appcelerator Titanium Mobile Project
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
- Appcelerator, Appcelerator Titanium and associated marks and logos are
12
- trademarks of Appcelerator, Inc.
11
+ TiDev, TiDev Titanium and associated marks and logos are
12
+ trademarks of TiDev, Inc.
13
13
 
14
- Titanium is Copyright (c) 2008-2012 by Appcelerator, Inc. All Rights Reserved.
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.
@@ -1,6 +1,6 @@
1
1
  var fs = require('fs-extra'),
2
2
  path = require('path'),
3
- DOMParser = require('xmldom').DOMParser,
3
+ DOMParser = require('@xmldom/xmldom').DOMParser,
4
4
  TU = require('../lib/testUtils'),
5
5
  CONST = require('../../Alloy/common/constants'),
6
6
  platforms = require('../../platforms/index'),
@@ -2,7 +2,7 @@ var fs = require('fs'),
2
2
  path = require('path'),
3
3
  os = require('os'),
4
4
  exec = require('child_process').exec,
5
- DOMParser = require('xmldom').DOMParser,
5
+ DOMParser = require('@xmldom/xmldom').DOMParser,
6
6
  TU = require('../lib/testUtils'),
7
7
  U = require('../../Alloy/utils'),
8
8
  CU = require('../../Alloy/commands/compile/compilerUtils'),
package/test/specs/new.js CHANGED
@@ -1,6 +1,6 @@
1
1
  var fs = require('fs-extra'),
2
2
  path = require('path'),
3
- DOMParser = require('xmldom').DOMParser,
3
+ DOMParser = require('@xmldom/xmldom').DOMParser,
4
4
  TU = require('../lib/testUtils'),
5
5
  CONST = require('../../Alloy/common/constants'),
6
6
  _ = require('lodash');