Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 53e597f

Browse files
committed
Merge remote-tracking branch 'origin/master' into jasonsanjose/prototcol-M31-branch-1650
2 parents c90f2c7 + e273f83 commit 53e597f

File tree

746 files changed

+88856
-21285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

746 files changed

+88856
-21285
lines changed

.brackets.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@
44
"plusplus": true,
55
"devel": true,
66
"nomen": true,
7-
"maxerr": 50
7+
"maxerr": 50,
8+
"es5": true
89
},
910
"defaultExtension": "js",
1011
"path": {
1112
"src/thirdparty/CodeMirror2/**/*.js": {
1213
"spaceUnits": 2,
1314
"linting.enabled": false
15+
},
16+
"src/thirdparty/globmatch.js": {
17+
"spaceUnits": 2,
18+
"linting.enabled": false
1419
}
1520
},
1621
"spaceUnits": 4,

.jshintrc

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"regexp" : true,
1414
"undef" : true,
1515
"strict" : true,
16-
"trailing" : false,
16+
"unused" : "vars",
1717

1818
"asi" : false,
1919
"boss" : false,
@@ -35,15 +35,14 @@
3535
"proto" : false,
3636
"regexdash" : false,
3737
"scripturl" : false,
38-
"smarttabs" : false,
3938
"shadow" : false,
4039
"sub" : false,
4140
"supernew" : false,
4241
"validthis" : false,
4342

44-
"browser" : true,
43+
"browser" : false,
4544
"couch" : false,
46-
"devel" : false,
45+
"devel" : true,
4746
"dojo" : false,
4847
"jquery" : false,
4948
"mootools" : false,
@@ -52,24 +51,20 @@
5251
"prototypejs" : false,
5352
"rhino" : false,
5453
"wsh" : false,
55-
56-
"nomen" : false,
57-
"onevar" : false,
58-
"passfail" : false,
59-
"white" : false,
6054

6155
"maxerr" : 100,
62-
"predef" : [
63-
],
6456
"indent" : 4,
65-
"globals" : [
66-
"require",
67-
"define",
68-
"brackets",
69-
"$",
70-
"PathUtils",
71-
"window",
72-
"navigator",
73-
"Mustache"
74-
]
75-
}
57+
"globals" : {
58+
"window": false,
59+
"document": false,
60+
"setTimeout": false,
61+
"require": false,
62+
"define": false,
63+
"brackets": false,
64+
"$": false,
65+
"PathUtils": false,
66+
"window": false,
67+
"navigator": false,
68+
"Mustache": false
69+
}
70+
}

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
language: node_js
22
node_js:
3-
- 0.10
3+
- "0.10"
44
before_script:
55
- npm install -g grunt-cli
66
- npm install -g jasmine-node
77
notifications:
8-
irc: "chat.freenode.net#brackets"
98
webhooks:
109
urls:
1110
- https://webhooks.gitter.im/e/9c767842144fd24d26a5

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Here are some ideas:
5454

5555
* [Starter bugs](https://github.com/adobe/brackets/issues?labels=starter+bug&state=open) can
5656
provide a good intro to the Brackets code.
57-
* [Extension ideas](https://github.com/adobe/brackets/issues?labels=Extension+Idea&state=closed)
57+
* [Extension ideas](https://github.com/adobe/brackets/issues?q=label%3A%22Extension+Idea%22)
5858
are feature requests that we think would be best implemented as an add-on; it's up to the
5959
Brackets community to write them!
6060
* [Starter features](http://bit.ly/BracketsBacklog) are a bit larger in scope. Be sure to discuss

Gruntfile.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ module.exports = function (grunt) {
2727
// load dependencies
2828
require('load-grunt-tasks')(grunt, {pattern: ['grunt-contrib-*', 'grunt-targethtml', 'grunt-usemin']});
2929
grunt.loadTasks('tasks');
30-
31-
var common = require("./tasks/lib/common")(grunt);
3230

3331
// Project configuration.
3432
grunt.initConfig({
@@ -128,6 +126,9 @@ module.exports = function (grunt) {
128126
// `name` and `out` is set by grunt-usemin
129127
baseUrl: 'src',
130128
optimize: 'uglify2',
129+
// brackets.js should not be loaded until after polyfills defined in "utils/Compatibility"
130+
// so explicitly include it in main.js
131+
include: ["utils/Compatibility", "brackets"],
131132
// TODO: Figure out how to make sourcemaps work with grunt-usemin
132133
// https://github.com/yeoman/grunt-usemin/issues/30
133134
generateSourceMaps: true,
@@ -200,6 +201,8 @@ module.exports = function (grunt) {
200201
'test/**/*.js',
201202
'!test/perf/*-files/**/*.js',
202203
'!test/spec/*-files/**/*.js',
204+
'!test/spec/*-known-goods/**/*.js',
205+
'!test/spec/FindReplace-test-files-*/**/*.js',
203206
'!test/smokes/**',
204207
'!test/temp/**',
205208
'!test/thirdparty/**',
@@ -246,6 +249,7 @@ module.exports = function (grunt) {
246249
specs : '<%= meta.specs %>',
247250
/* Keep in sync with test/SpecRunner.html dependencies */
248251
vendor : [
252+
'test/polyfills.js', /* For reference to why this polyfill is needed see Issue #7951. The need for this should go away once the version of phantomjs gets upgraded to 2.0 */
249253
'src/thirdparty/jquery-2.1.0.min.js',
250254
'src/thirdparty/CodeMirror2/lib/codemirror.js',
251255
'src/thirdparty/CodeMirror2/lib/util/dialog.js',
@@ -254,7 +258,7 @@ module.exports = function (grunt) {
254258
'src/thirdparty/CodeMirror2/addon/selection/active-line.js',
255259
'src/thirdparty/mustache/mustache.js',
256260
'src/thirdparty/path-utils/path-utils.min',
257-
'src/thirdparty/less-1.4.2.min.js'
261+
'src/thirdparty/less-1.7.0.min.js'
258262
],
259263
helpers : [
260264
'test/spec/PhantomHelper.js'
@@ -306,9 +310,9 @@ module.exports = function (grunt) {
306310
grunt.registerTask('test', ['jshint:all', 'jasmine']);
307311
// grunt.registerTask('test', ['jshint:all', 'jasmine', 'jasmine_node']);
308312

309-
// task: set-sprint
310-
// Update sprint number in package.json and rewrite src/config.json
311-
grunt.registerTask('set-sprint', ['update-sprint-number', 'write-config']);
313+
// task: set-release
314+
// Update version number in package.json and rewrite src/config.json
315+
grunt.registerTask('set-release', ['update-release-number', 'write-config']);
312316

313317
// task: build
314318
grunt.registerTask('build', [

NOTICE

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,51 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
458458
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
459459
OTHER DEALINGS IN THE SOFTWARE.
460460

461+
Copyright 2013-2014 Facebook, Inc.
462+
This product includes software licensed under the Apache License, Version 2.0
463+
http://www.apache.org/licenses/LICENSE-2.0.
464+
465+
BSD License
466+
For Immutable JS software
467+
Copyright (c) 2014, Facebook, Inc. All rights reserved.
468+
Redistribution and use in source and binary forms, with or without modification,
469+
are permitted provided that the following conditions are met:
470+
* Redistributions of source code must retain the above copyright notice, this
471+
list of conditions and the following disclaimer.
472+
* Redistributions in binary form must reproduce the above copyright notice,
473+
this list of conditions and the following disclaimer in the documentation
474+
and/or other materials provided with the distribution.
475+
* Neither the name Facebook nor the names of its contributors may be used to
476+
endorse or promote products derived from this software without specific
477+
prior written permission.
478+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
479+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
480+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
481+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
482+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
483+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
484+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
485+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
486+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
487+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
488+
489+
Copyright (c) 2014, Facebook, Inc. All rights reserved.
490+
491+
React JavaScript library
492+
493+
Licensed under the Apache License, Version 2.0
494+
495+
http://www.apache.org/licenses/LICENSE-2.0
496+
497+
Unless required by applicable law or agreed to in writing, software
498+
distributed under the License is distributed on an "AS IS" BASIS,
499+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
500+
See the License for the specific language governing permissions and
501+
limitations under the License.
502+
503+
See also: https://github.com/facebook/react/blob/master/LICENSE
504+
505+
461506
Timothy Farrell
462507
Copyright (c) 2010 Timothy Farrell
463508
Permission is hereby granted, free of charge, to any person obtaining a copy of this

README.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Welcome to Brackets! [![Build Status](https://travis-ci.org/adobe/brackets.png?branch=master)](https://travis-ci.org/adobe/brackets)
1+
Welcome to Brackets! [![Build Status](https://travis-ci.org/adobe/brackets.svg?branch=master)](https://travis-ci.org/adobe/brackets)
22
-------------------
33

4-
This is an early version of Brackets, a code editor for HTML, CSS
4+
Brackets is a modern open-source code editor for HTML, CSS
55
and JavaScript that's *built* in HTML, CSS and JavaScript.
66

77
What makes Brackets different from other web code editors?
@@ -15,22 +15,20 @@ back and forth between your real source code and the browser view.
1515
* **Do it yourself.** Because Brackets is open source, and built with HTML, CSS
1616
and JavaScript, you can [help build](https://github.com/adobe/brackets/blob/master/CONTRIBUTING.md) the best code editor for the web.
1717

18+
Brackets is at 1.0 and we're not stopping there. We have many feature ideas on our
19+
[trello board](http://bit.ly/BracketsTrelloBoard) that we're anxious to add and other
20+
innovative web development workflows that we're planning to build into Brackets.
21+
So take Brackets out for a spin and let us know how we can make it your favorite editor.
22+
1823
You can see some
1924
[screenshots of Brackets](https://github.com/adobe/brackets/wiki/Brackets-Screenshots)
2025
on the wiki, [intro videos](http://www.youtube.com/user/CodeBrackets) on YouTube, and news on the [Brackets blog](http://blog.brackets.io/).
2126

22-
2327
How to install and run Brackets
2428
-------------------------------
25-
26-
27-
#### Brackets is getting close to 1.0
28-
29-
Together with your contributions, we're getting close to our first release candidate. What's there is reasonably stable, and the Brackets team even uses Brackets to develop Brackets full time. So feel free to give it a spin and let us know what's missing! Being built on JavaScript, it's easy to make your own changes, and we give priority to integrating your pull requests back into Brackets!
30-
3129
#### Download
3230

33-
Installers for the latest stable build for Mac, Windows and Linux (Debian/Ubuntu) can be [downloaded here](http://download.brackets.io/).
31+
Installers for the latest stable build for Mac, Windows and Linux (Debian/Ubuntu) can be [downloaded here](http://brackets.io/).
3432

3533
The Linux version has most of the features of the Mac and Windows versions, but
3634
is still missing a few things. See the [Linux wiki page](https://github.com/adobe/brackets/wiki/Linux-Version)
@@ -55,7 +53,7 @@ see the [extensions wiki page](https://github.com/adobe/brackets/wiki/Brackets-E
5553

5654
#### Need help?
5755

58-
Having problems starting Brackets the first time, or not sure how to use brackets? Please
56+
Having problems starting Brackets the first time, or not sure how to use Brackets? Please
5957
review [Troubleshooting](https://github.com/adobe/brackets/wiki/Troubleshooting), which helps
6058
you to fix common problems and find extra help if needed.
6159

@@ -86,7 +84,7 @@ Awesome! _There are lots of ways you can help._ First read
8684
then learn how to [pull the repo and hack on Brackets](https://github.com/adobe/brackets/wiki/How-to-Hack-on-Brackets).
8785

8886
The text editor inside Brackets is based on
89-
[CodeMirror](http://github.com/marijnh/CodeMirror)&mdash;thanks to Marijn for
87+
[CodeMirror](http://github.com/codemirror/CodeMirror)&mdash;thanks to Marijn for
9088
taking our pull requests, implementing feature requests and fixing bugs! See
9189
[Notes on CodeMirror](https://github.com/adobe/brackets/wiki/Notes-on-CodeMirror)
9290
for info on how we're using CodeMirror.
@@ -105,14 +103,14 @@ Not sure you needed the exclamation point there, but we like your enthusiasm.
105103

106104
#### What's Brackets working on next?
107105

108-
* In our [feature backlog](http://bit.ly/BracketsBacklog), the columns labeled "Sprint N"
109-
are features already in progress and should ship within 2 weeks. Features at the top of
110-
the "Product Backlog" list will come next.
106+
* In our [feature backlog](http://bit.ly/BracketsBacklog), the columns to the right
107+
(starting from "Development") list the features that we're currently working on.
108+
"Ready" shows what we'll be working on next.
111109
* Watch our [GitHub activity stream](https://github.com/adobe/brackets/pulse).
112110

113111
#### Contact info
114112

115-
* **Twitter:** [@brackets](http://twitter.com/#!/brackets)
113+
* **Twitter:** [@brackets](https://twitter.com/brackets)
116114
* **Blog:** http://blog.brackets.io/
117115
* **IRC:** [#brackets on freenode](http://webchat.freenode.net/?channels=brackets)
118116
* **Developers mailing list:** http://groups.google.com/group/brackets-dev

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Brackets",
3-
"version": "0.37.0-0",
4-
"apiVersion": "0.37.0",
3+
"version": "1.1.0-0",
4+
"apiVersion": "1.1.0",
55
"homepage": "http://brackets.io",
66
"issues": {
77
"url": "http://github.com/adobe/brackets/issues"
@@ -17,7 +17,7 @@
1717
"jasmine-node": "1.11.0",
1818
"grunt-jasmine-node": "0.1.0",
1919
"grunt-cli": "0.1.9",
20-
"phantomjs": "1.9.0-1",
20+
"phantomjs": "1.9.11",
2121
"grunt-lib-phantomjs": "0.3.0",
2222
"grunt-contrib-jshint": "0.6.0",
2323
"grunt-contrib-watch": "0.4.3",
@@ -35,7 +35,9 @@
3535
"grunt-usemin": "0.1.11",
3636
"load-grunt-tasks": "0.2.0",
3737
"q": "0.9.2",
38-
"jshint": "2.1.4"
38+
"semver": "^4.1.0",
39+
"jshint": "2.1.4",
40+
"xmldoc": "^0.1.2"
3941
},
4042
"scripts": {
4143
"postinstall": "grunt install",

0 commit comments

Comments
 (0)