Skip to content

Commit

Permalink
Initial work on appshell shim in browser
Browse files Browse the repository at this point in the history
Remove warning dialog for brackets in browser.

Switch to Filer for all fs operations, update to latest API. NOTE: requires patched filer.js humphd/filer@25f2a24

Update filer to v0.0.13 to fix buffer regression

Get initial project loading and File > Open working (style issues on dialog still)

Change how styles are loaded

First working File > Open

Add sample file system generation

Remove Filer submodule

Add MakeDrive repo as submodule

Switch things from Filer.* to MakeDrive.*

Added save as functionality to UI

Add makedrive sync logic in brackets

Fix how trailing slashes are removed from dir names

Added code to choose which extensions run in a browser environment

Fix shared watches, update to auto-sync in MakeDrive vs. manual, use Path.normalize

jquery module imports for sync-icon extension

Update makedrive and makedrive-sync-icon submodules

Allow withCredentials flag

Update to use new MakeDrive client api for connect() without token

Update MakeDrive for mozilla/makedrive@8d6f548

Update MakeDrive for CORS fixes

Update MakeDrive with built version

Update makedrive for CORS fix mozilla/makedrive#149

Update README

Update MakeDrive to v0.0.12 for release

Update MakeDrive to get Filer fix for sh.cwd/pwd()

Update makedrive

Update MakeDrive submodule

update submodule for makedrive

Update MakeDrive submodule 08-08-2014 - 10:57AM EST

Update MakeDrive submodule
  • Loading branch information
humphd committed May 26, 2015
1 parent eceb1d6 commit fa5d187
Show file tree
Hide file tree
Showing 15 changed files with 1,115 additions and 168 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@
[submodule "src/extensions/default/JSLint/thirdparty/jslint"]
path = src/extensions/default/JSLint/thirdparty/jslint
url = https://github.com/peterflynn/JSLint.git
[submodule "src/thirdparty/makedrive"]
path = src/thirdparty/makedrive
url = https://github.com/mozilla/makedrive.git
[submodule "src/extensions/default/makedrive-sync-icon"]
path = src/extensions/default/makedrive-sync-icon
url = [email protected]:cdot-brackets-extensions/makedrive-sync-icon.git
125 changes: 32 additions & 93 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
Welcome to Brackets! [![Build Status](https://travis-ci.org/adobe/brackets.svg?branch=master)](https://travis-ci.org/adobe/brackets)
-------------------
# Bramble is based on Brackets

Brackets is a modern open-source code editor for HTML, CSS
and JavaScript that's *built* in HTML, CSS and JavaScript.

What makes Brackets different from other web code editors?

* **Tools shouldn't get in your way.** Instead of cluttering up your coding
environment with lots of panels and icons, the Quick Edit UI in Brackets puts
context-specific code and tools inline.
* **Brackets is in sync with your browser.** With Live Preview, Brackets
works directly with your browser to push code edits instantly and jump
back and forth between your real source code and the browser view.
* **Do it yourself.** Because Brackets is open source, and built with HTML, CSS
and JavaScript, you can [help build](https://github.com/adobe/brackets/blob/master/CONTRIBUTING.md) the best code editor for the web.

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

How to install and run Brackets
-------------------------------
#### Download

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

The Linux version has most of the features of the Mac and Windows versions, but
is still missing a few things. See the [Linux wiki page](https://github.com/adobe/brackets/wiki/Linux-Version)
for a list of known issues and to find out how you can help.

#### Usage

By default, Brackets opens a folder containing some simple "Getting Started" content.
You can choose a different folder to edit using *File > Open Folder*.

Most of Brackets should be pretty self-explanatory, but for information on how
to use its unique features, like Quick Edit and Live Preview, please read
[How to Use Brackets](http://github.com/adobe/brackets/wiki/How-to-Use-Brackets).
Also, see the [release notes](http://github.com/adobe/brackets/wiki/Release-Notes)
for a list of new features and known issues in each build.

In addition to the core features built into Brackets, there is a large and growing
community of developers building extensions that add all sorts of useful functionality.
See the [Brackets Extension Registry](https://brackets-registry.aboutweb.com/)
for a list of available extensions. For installation instructions,
see the [extensions wiki page](https://github.com/adobe/brackets/wiki/Brackets-Extensions).

#### Need help?

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


Helping Brackets
----------------

#### I found a bug!

If you found a repeatable bug, and [troubleshooting](https://github.com/adobe/brackets/wiki/Troubleshooting)
tips didn't help, then be sure to [search existing issues](https://github.com/adobe/brackets/issues) first.
Include steps to consistently reproduce the problem, actual vs. expected results, screenshots, and your OS and
Brackets version number. Disable all extensions to verify the issue is a core Brackets bug.
[Read more guidelines for filing good bugs.](https://github.com/adobe/brackets/wiki/How-to-Report-an-Issue)


#### I have a new suggestion, but don't know how to program!

For feature requests please first check our [Trello board](http://bit.ly/BracketsBacklog) to
see if it's already there; you can upvote it if so. If not, feel free to file it as an issue as above; we'll
move it to the feature backlog for you.


#### I want to help with the code!

Awesome! _There are lots of ways you can help._ First read
[CONTRIBUTING.md](https://github.com/adobe/brackets/blob/master/CONTRIBUTING.md),
then learn how to [pull the repo and hack on Brackets](https://github.com/adobe/brackets/wiki/How-to-Hack-on-Brackets).

The text editor inside Brackets is based on
[CodeMirror](http://github.com/codemirror/CodeMirror)—thanks to Marijn for
taking our pull requests, implementing feature requests and fixing bugs! See
[Notes on CodeMirror](https://github.com/adobe/brackets/wiki/Notes-on-CodeMirror)
for info on how we're using CodeMirror.

Although Brackets is built in HTML/CSS/JS, it currently runs as a desktop
application in a thin native shell, so that it can access your local files.
(If you just try to open the index.html file in a browser, it won't work yet.)
The native shell for Brackets lives in a separate repo,
[adobe/brackets-shell](https://github.com/adobe/brackets-shell/).
# How to setup Bramble (Brackets) in your local machine

Step 01: Make sure you fork and clone [Bramble](https://github.com/humphd/brackets).

```
$ git clone https://github.com/[yourusername]/brackets --recursive
```

Step 02: Install its dependencies

Navigate to the root of the directory you cloned and run

```
$ npm install
```

```
$ git submodule update --init
```

I want to keep track of how Brackets is doing!
----------------------------------------------
```
Grunt commands to be added
```

Not sure you needed the exclamation point there, but we like your enthusiasm.
Step 03: Run Bramble:

#### What's Brackets working on next?
Run one of the suggested local servers (or your own) from the root directory of Bramble:
* [Apache Webserver](http://www.apache.org/)
* Host on [github pages](https://help.github.com/articles/what-are-github-pages)
* [Python WebServer](https://docs.python.org/2/library/simplehttpserver.html)

* In our [feature backlog](http://bit.ly/BracketsBacklog), the columns to the right
(starting from "Development") list the features that we're currently working on.
"Ready" shows what we'll be working on next.
* Watch our [GitHub activity stream](https://github.com/adobe/brackets/pulse).
* Watch our [Waffle Kanban board](https://waffle.io/adobe/brackets): Work items in [![Stories in Ready](https://badge.waffle.io/adobe/brackets.svg?label=ready&title=Ready)](http://waffle.io/adobe/brackets) are next. The entire development process is outlined in the [Developer Guide](https://github.com/adobe/brackets/wiki/Brackets-Developers-Guide).
Assuming you have Bramble running on port `8080`. Now you can visit [http://localhost:8080/src](http://localhost:8080/src).

#### Contact info
--------------

* **Slack:** [Brackets on Slack](https://brackets.slack.com) (You can join by [requesting an invite](https://brackets-slack.herokuapp.com/))
* **Developers mailing list:** http://groups.google.com/group/brackets-dev
* **Twitter:** [@brackets](https://twitter.com/brackets)
* **Blog:** http://blog.brackets.io/
* **IRC:** [#brackets on freenode](http://webchat.freenode.net/?channels=brackets)
## After installation

After you have everything setup, you can now run the server you chose in the root of your local Bramble directory and see it in action by visiting [http://localhost:8080/src](http://localhost:8080/src).
9 changes: 0 additions & 9 deletions src/brackets.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,6 @@ define(function (require, exports, module) {
function _onReady() {
PerfUtils.addMeasurement("window.document Ready");

// Let the user know Brackets doesn't run in a web browser yet
if (brackets.inBrowser) {
Dialogs.showModalDialog(
DefaultDialogs.DIALOG_ID_ERROR,
Strings.ERROR_IN_BROWSER_TITLE,
Strings.ERROR_IN_BROWSER
);
}

// Use quiet scrollbars if we aren't on Lion. If we're on Lion, only
// use native scroll bars when the mouse is not plugged in or when
// using the "Always" scroll bar setting.
Expand Down
1 change: 1 addition & 0 deletions src/extensions/default/makedrive-sync-icon
Submodule makedrive-sync-icon added at 82bab5
Loading

0 comments on commit fa5d187

Please sign in to comment.