Commit Graph

2103 Commits

Author SHA1 Message Date
Corey Johnson
96e2a66065 Merge branch 'master' into making-things-easy
Conflicts:
	.gitignore
	Rakefile
2012-09-18 15:43:17 -07:00
Kevin Sawicki
8c1125457b Persist scrollTop value of tree view
This will be set whenever attached
2012-09-18 15:15:06 -07:00
Nathan Sobo
7937380eed Projects w/ EditSessions for now-deleted files can now be reloaded w/out error 2012-09-18 13:30:16 -06:00
Nathan Sobo
68effe3303 Make TreeView focus the active editor when a file is selected w/ the keyboard 2012-09-18 13:00:16 -06:00
Corey Johnson
71562a6c33 Directory entries can only be files or other directories.
Does not handle file like broken symlinks for now
2012-09-11 11:07:59 -07:00
Corey Johnson & Nathan Sobo
85c37fd652 Move atom.resourcePath to window.resourcePath
The resourcePath is now set using a url param. Because resourcePath is needed by require.js, it needs to be on `window` rather than `atom`.
2012-09-10 17:22:21 -07:00
Corey Johnson & Nathan Sobo
2d3c06b86d Handle begin/end patterns with no name or contentName
I'm looking at you ruby.
2012-09-07 18:54:54 -07:00
Corey Johnson & Nathan Sobo
12e2fbdb14 Add support for back-references in TextMate grammars 2012-09-07 15:27:13 -07:00
Corey Johnson & Nathan Sobo
b00830cbc8 A pattern with no name or contentName does not insert undefined into scope array 2012-09-07 11:20:56 -07:00
Corey Johnson & Nathan Sobo
10c36191ec Zero-length start patterns work.
Add zero-length captures back into OnigRegEx.BuildCaptureIndices to see zero length captures. Handle zero-length captures by continuing to scan line. Does not handle infinite loop possibility yet.
2012-09-07 10:07:54 -07:00
Corey Johnson
f75315a568 Remove Rule.compileRegex 2012-09-06 15:30:50 -07:00
Corey Johnson
4f2cc1f856 Add OnigRegExp.captureIndices(string, index, regexes)
Allows us to know if a zero-length regex matched.
2012-09-06 15:26:42 -07:00
Corey Johnson
afbe99454a Rename getRegexPatternPairs to getIncludedPatterns and getAllPatterns 2012-09-06 09:24:30 -07:00
Corey Johnson
4734c8cdc4 If the file name has no '.' use the file name as the extension. 2012-09-04 10:53:28 -07:00
Corey Johnson
6cbccdab05 Remove ace-adaptor file. It is no longer used 2012-09-04 10:05:09 -07:00
Corey Johnson
3b9310ebe4 Gutter width is sized to fit the width of the largest line number 2012-08-31 13:33:59 -07:00
Corey Johnson & Nathan Sobo
c9c138491e Add atom.exit, which exits from the browser process instead of the renderer 2012-08-31 10:15:12 -06:00
Corey Johnson & Nathan Sobo
27335661dc WIP: Getting specs and benchmarks running from the command line 2012-08-30 18:10:05 -06:00
Corey Johnson & Nathan Sobo
44db540528 All specs pass 2012-08-30 17:12:52 -06:00
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
bd1982ede1 Nix fs.async.* methods. They aren't needed now. 2012-08-30 16:12:15 -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
d5ffdb153a Remove $native.saveDialog. It's replaced with atom.showSaveDialog 2012-08-30 11:08:55 -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
63a0746cc5 Remove $native.alert 2012-08-29 20:53:04 -05:00
Nathan Sobo
d8ea46ee5b Use atom.confirm when for confirmation when deleting a file in the TreeView 2012-08-29 20:46:08 -05: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
63b52e761d TreeView works when the Project's rootDirectory is null 2012-08-28 16:51:14 -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
Corey Johnson & Nathan Sobo
5141aba658 Move all extension C and JavaScript code into native/v8_extensions 2012-08-27 14:02:05 -07:00
Corey Johnson & Nathan Sobo
7adc7a8c7e Pass pathToOpen as a query param when opening window 2012-08-27 13:19:12 -07:00