Corey Johnson & Nathan Sobo
92d728295f
Don't assume save is always passed a success callback
2012-08-30 16:12:34 -06:00
Corey Johnson & Nathan Sobo
08b9d69f59
Focus specs window before each test to ensure focus assertions pass
2012-08-30 16:11:42 -06:00
Nathan Sobo
3cc2faf7c2
Add atom.showDevTools and replace calls to $native.showDevTools
2012-08-30 11:24:01 -06:00
Nathan Sobo
3b2b829419
Use atom.showSaveDialog when closing a previously-unsaved buffer
2012-08-30 11:03:58 -06:00
Nathan Sobo
8b5b7de6e0
Add atom.showSaveDialog
...
Reply messages now always begin with an array of the reply id and the callback index.
2012-08-30 10:52:35 -06:00
Nathan Sobo
c24c9e2003
Merge branch 'master' of github.com:github/atom-cef3
...
Conflicts:
native/atom_cef_client.h
native/atom_cef_client_mac.mm
src/app/atom.coffee
2012-08-29 23:08:31 -06:00
Nathan Sobo
95b1ebdd8c
Use atom.confirm to display buffer conflict dialog
2012-08-29 20:43:29 -05:00
Nathan Sobo
e47c59c35f
Use atom.confirm when closing an unsaved buffer
2012-08-29 20:24:48 -05:00
Nathan Sobo
8cf22da082
Use atom.confirm to display the confirmation dialog when reloading
2012-08-29 20:21:00 -05:00
Nathan Sobo
725a6548fc
Add atom.confirm, which displays a confirmation w/ buttons that fire callbacks
...
This communicates back to the browser process to display the confirmation, then the browser replies to the message with the index of the clicked button.
2012-08-29 18:31:49 -05:00
Corey Johnson
d9dc526425
DevTools are working
2012-08-29 15:31:06 -07:00
Nathan Sobo
9d203b9425
Merge branch 'master' of github.com:github/atom-cef3
...
Conflicts:
src/app/atom.coffee
2012-08-29 15:19:06 -05:00
Nathan Sobo
fcc012eb11
Messages from the browser process call atom.messageReceivedFromBrowserProcess
...
This is how we will handle replies from dialogs presented in the browser process.
2012-08-29 15:07:10 -05:00
Corey Johnson
6f99b61dd3
Now storing a window's state based on its rootDirectory (instead of on windowNumber)
2012-08-29 10:59:45 -07:00
Corey Johnson
fa4650343b
Make meta-n (new window) work
2012-08-28 17:04:56 -07:00
Corey Johnson & Nathan Sobo
2515a45480
Load user configuration files
2012-08-28 16:51:29 -07:00
Corey Johnson & Nathan Sobo
ee841d14e7
Better error reporting for failed extensions
2012-08-28 16:11:38 -07:00
Corey Johnson & Nathan Sobo
ff290d68d2
💄
2012-08-28 15:42:55 -07:00
Nathan Sobo
74bf4db5fc
WIP: pushing message id to front of message data so browser process can reply
2012-08-28 17:20:49 -05:00
Nathan Sobo
502e52f37d
Implement atom.open using atom.sendMessageToBrowserProcess
2012-08-28 16:47:19 -05:00
Nathan Sobo
16c7c523cf
Native open code now presents the open panel from the browser process
...
This avoids retina resolution issues and ink framework errors that occur when opening dialogs from the chromium renderer process.
2012-08-28 13:54:44 -05:00
Corey Johnson & Nathan Sobo
8fcf2af5a6
WIP: Handling reload, but need to put js dialog handler in proper place
2012-08-27 17:27:15 -07:00
Corey Johnson & Nathan Sobo
d20ba7171a
Assign $windowNumber in index.html
2012-08-27 17:09:53 -07:00
Corey Johnson & Nathan Sobo
12b06ddf0c
Get spec suite running (lots of failures)
2012-08-27 17:36:36 -05:00
Nathan Sobo
138de0cb5c
Update window.coffee from CEF 1 atom
2012-08-27 11:06:18 -05:00
Nathan Sobo
c3e748a17c
WIP: Use rake to start compiling resources (like require.coffee)
2012-08-26 16:29:46 -05:00
Nathan Sobo
c2c8724ad0
Initial commit
2012-08-10 13:32:19 -06:00
Kevin Sawicki & Nathan Sobo
4eb3c2d67b
Assign global 'platform' variable on window at eval time
2012-08-22 13:43:46 -07:00
Kevin Sawicki & Nathan Sobo
c53f87fcba
Only require platform stylesheet if it exists
...
Make requireStylesheet throw exception if the stylesheet does not exist
2012-08-22 13:43:46 -07:00
Kevin Sawicki
f778345b3a
Add support for requiring a platform-specific stylesheet
...
Add a getPlatform method to the native object that
is used for requiring the platform stylesheet from
within window.coffee after the atom.css is required.
This is used to provide non-native scrollbars on Linux
for an improved look and feel.
2012-08-22 13:43:46 -07:00
Nathan Sobo
847b514164
Merge branch 'textmate'
...
Conflicts:
benchmark/benchmark-helper.coffee
benchmark/benchmark-suite.coffee
src/app/language-mode.coffee
2012-08-09 18:57:59 -06:00
Corey Johnson
65d40557ff
InsertText takes an option to turn autoIndent off
2012-08-09 16:20:45 -07:00
Corey Johnson
cd8e6a7f20
Don't auto-indent ff a grammar doesn't have an indent/outdent regex
2012-08-09 16:04:23 -07:00
Corey Johnson
7477511a9f
Create empty token on empty lines
2012-08-09 15:17:46 -07:00
Corey Johnson
634bebd207
Toggling comments adjusts selection's start and end columns
2012-08-09 14:38:16 -07:00
Corey Johnson
34934d58f9
previousNonBlankRow returns null if passed row 0
2012-08-09 14:19:12 -07:00
Corey Johnson
9e53751717
Revert "Add setTextInBufferRange to edit session"
...
This reverts commit ea86ec401b .
2012-08-09 13:25:53 -07:00
Corey Johnson
cc5ee48470
Auto-outdent lines correctly
2012-08-09 13:10:37 -07:00
Corey Johnson & Nathan Sobo
e8aaec43f7
WIP: Reworking auto-indent/outdent logic
2012-08-09 12:57:47 -06:00
Corey Johnson
fae452770b
Language mode no longer uses Ace for anything
2012-08-09 10:49:54 -07:00
Corey Johnson
19511fe8b8
Selections are restored to their original ranges after toggling comments.
2012-08-09 10:46:54 -07:00
Corey Johnson
c95ca04340
Use TextMate to toggle comments
2012-08-09 10:33:46 -07:00
Corey Johnson
92d706b52b
Add class method lineCOmmentStringForScope to TextMateBundle
2012-08-09 10:33:31 -07:00
Corey Johnson
ea86ec401b
Add setTextInBufferRange to edit session
2012-08-09 10:33:25 -07:00
Nathan Sobo
4109669284
Bold and italic fonts hose our width calculations
2012-08-08 22:31:33 -06:00
Corey Johnson & Nathan Sobo
fa65510287
Use IR_Black as the default color scheme
2012-08-08 17:50:53 -07:00
Corey Johnson & Nathan Sobo
7fe6a05594
Folding no longer relies on Ace.
...
Indentation is used to determine foldable regions, if the last line matches TextMate's foldEndRegex it is included in the foldable region.
2012-08-08 17:42:11 -07:00
Corey Johnson & Nathan Sobo
926a44fba8
Remove unused code
2012-08-08 17:42:11 -07:00
Corey Johnson & Nathan Sobo
c7586a0e97
Rename matchingCharachters to pairedCharachters
2012-08-08 17:42:10 -07:00
Nathan Sobo
8c5e77d325
Move theme activation to RootView
2012-08-08 17:04:54 -06:00