Commit Graph

44 Commits

Author SHA1 Message Date
Kevin Sawicki
c69e217192 Ignore title changes from dev tools client
Previously the generic developer tools message
would be set as the window title when opened
and only removed once the active edit session was
changed.
2013-02-06 15:58:39 -08:00
Kevin Sawicki
3514048893 Exclude background window from expose
Previously you would see an untitled empty space
when showing application windows with ctrl-down.
2013-02-04 21:20:37 -08:00
Kevin Sawicki
a451a369e8 Use device color instead of calibrated 2013-01-23 08:28:44 -08:00
Kevin Sawicki & Nathan Sobo
d09610cbcd Upgrade CEF 3 to branch 1364, r1050
This adds support for accessing native extensions in web workers, though it may
not work quite how we need it to just yet. Figured we'd bank an upgrade anyway.
2013-01-21 18:05:39 -07:00
Kevin Sawicki
7f8a64b69c Show window only after root view is attached
This prevents a white flicker when the page
starts to load.
2013-01-17 16:50:25 -08:00
Kevin Sawicki
12fdf07137 💄 2013-01-17 16:50:25 -08:00
Corey Johnson
bd3dfba1e5 Atom will work as your $EDITOR.
Set EDITOR='atom --wait'
2012-12-19 17:15:17 -08:00
Kevin Sawicki
c40ad87a1e Remove replacing spaces with %20 when encoding URL params
This appears to be handled by stringByAddingPercentEscapesUsingEncoding
and so explicitly doing it causes a space to be encoded to %2520 instead
of %20
2012-12-19 15:37:41 -08:00
Kevin Sawicki
75b9e7cbb1 Replace & with %26 when encoding URL params
This is not handled by stringByAddingPercentEscapesUsingEncoding
2012-12-19 15:37:34 -08:00
Kevin Sawicki
35f362df1d Bring window to front when opening already opened path
Closes #104
2012-12-19 09:32:06 -08:00
Corey Johnson & Nathan Sobo
fa5acd600a Hack to open unstable windows from atom-stable 2012-11-09 10:25:42 -07:00
Corey Johnson
1850da70e3 Ensure closing the application will call window.shutdown on each window. 2012-11-07 15:45:44 -08:00
Corey Johnson
e96d1b07d3 When a window is closed, the AtomCefClient is destroyed. 2012-11-07 15:45:44 -08:00
Nathan Sobo
11d8192221 Show docked dev tools synchronously.
This commit fixes the sizing issues that were forcing the asynchronous hack. It also makes the split view divider dark gray like in chrome.
2012-11-07 11:20:12 -07:00
Nathan Sobo
6145605849 Still focus the browser when window becomes main 2012-11-06 18:18:34 -07:00
Corey Johnson & Nathan Sobo
a613fdf8a9 Make browser properly unfocus when resigning main window status 2012-11-06 16:58:43 -07:00
Kevin Sawicki
e4fb12a398 Add octicon to branch label 2012-11-02 15:31:11 -07:00
Nathan Sobo
e649b2e6c6 Handle standard pasteboard keybindings in the dev tools
This commit adds a boolean constructor parameter to the AtomCefClient indicating whether it should handle the standard pasteboard commands for its associated browser. We pass `true` when constructing the client for the dev tools, so these commands work there.
2012-10-29 11:45:16 -06:00
Corey Johnson
2635631d81 Always retain _resoucePath 2012-10-19 14:24:00 -07:00
Corey Johnson
8a65017ce1 rake install creates atom-stable binary
This allows us to use Atom to edit Atom, even when changes will break Atom on reload. It does this by ensuring the editor only uses code included with the bundle, but it allows benchmarks and specs to use code located in the path specified by --resource-path.
2012-10-16 09:05:38 -07:00
Corey Johnson
734fa5f03e Remove unneeded method 2012-10-12 15:44:00 -07:00
Kevin Sawicki
9f6366f6c6 Store window size and position to user defaults system
Closes #66
2012-10-11 21:25:25 -07:00
Kevin Sawicki
cee38a5f42 💄 2012-10-11 17:39:06 -07:00
Kevin Sawicki
8c0f443c75 Call window.shutdown when native window is closed
The root view will now be serialized and saved to local
storage when the window is closed or the application is
terminated.
2012-10-11 13:07:13 -07:00
Kevin Sawicki
d8011fe853 Add initial markdown preview extension
Uses the GitHub Markdown API to render the current
editor contents for .md and .markdown files.
2012-09-27 13:07:22 -07:00
Nathan Sobo
df0c19482c Hack in a workaround to cycle windows with meta-`
There's something wrong with CEF 3 right now where meta-` events aren't being forwarded to cocoa correctly. I just added some code to intercept meta-` and manually cycle the windows. I ignore any windows for which `excludeFromWindowsMenu` is true. That means we don't ever cycle to the hidden menu.
2012-09-24 16:32:05 -06:00
Corey Johnson
4b8b4ef91c A hack to get DevTools showing properly 2012-09-18 17:15:13 -07:00
Corey Johnson & Nathan Sobo
d5831710c9 Move AtomApplication argument methods from the class to the instance 2012-09-10 17:24:10 -07:00
Corey Johnson & Nathan Sobo
6570aedbb0 Making rake install almost work 2012-09-10 17:23:05 -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
27335661dc WIP: Getting specs and benchmarks running from the command line 2012-08-30 18:10:05 -06:00
Nathan Sobo
3cc2faf7c2 Add atom.showDevTools and replace calls to $native.showDevTools 2012-08-30 11:24:01 -06:00
Corey Johnson
d2e517f5a3 💄 2012-08-30 08:54:18 -07:00
Corey Johnson
5ff8a5524e Set dev tools view to the correct size 2012-08-29 15:38:10 -07:00
Corey Johnson
d9dc526425 DevTools are working 2012-08-29 15:31:06 -07:00
Corey Johnson
9277a4371d Added method for creating browser to AtomWindowController 2012-08-29 14:37:17 -07: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 & Nathan Sobo
2b2b857804 Only add pathToOpen to url params if it exists. 2012-08-28 16:46:44 -07:00
Corey Johnson & Nathan Sobo
48a31ecdb8 💩 2012-08-28 10:51:36 -07:00
Corey Johnson & Nathan Sobo
4781d477cd Remove tabs and handle key events when there are no windows open. 2012-08-28 10:37:25 -07:00
Nathan Sobo
7882f70c0c Whitespace 💄 2012-08-28 11:58:24 -05:00
Corey Johnson & Nathan Sobo
64a0fd84a7 WIP: sending reload message to render process on meta-r 2012-08-27 18:39:12 -05: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
e8aa1524c7 Rename atom folder to native 2012-08-27 13:21:59 -07:00