Commit Graph

6710 Commits

Author SHA1 Message Date
probablycorey
d07bf338c8 Consolidate pane item destruction 2013-10-29 15:55:07 -07:00
Kevin Sawicki
059671c454 🐎 Load packages by path
Previously the package paths were converted to names and then
re-resolved to paths.

Now we just load the paths directly reducing the number of stat calls
and saving ~50ms in PackageManager::loadPackages

Also now internal packages are loaded by parsing the package.json
file for packageDependencies instead of loading the metadata for all
packages in node_modules and checking the engines field.
2013-10-29 13:31:42 -07:00
Kevin Sawicki
2d16fc33a3 Use Date.now() 2013-10-29 13:31:42 -07:00
Kevin Sawicki
91436bec25 Add config.unshiftAtKeyPath helper 2013-10-29 13:31:42 -07:00
Kevin Sawicki
e93d83dcdf Guard against null core.themes 2013-10-29 13:31:41 -07:00
Kevin Sawicki
62f44e64f4 Unshift into array instead of creating new one 2013-10-29 13:31:41 -07:00
Kevin Sawicki
c571d6a9d4 Only reload non-theme packages on reload of themes 2013-10-29 13:31:41 -07:00
Kevin Sawicki
bdd4ac63f4 Watch themes after activation instead of loading 2013-10-29 13:31:41 -07:00
Corey Johnson
0c77712a77 Merge pull request #1041 from atom/cj-move-autosave-to-package
Move autosave to package
2013-10-29 13:27:50 -07:00
Ben Ogle
a00db81765 Only call itemAdded when there is a container
Sometimes in the tests, rootView.open is called. Sometimes by the time 
the promise is fired and callback to add the pane is called, the 
rootView and container no longer exists. See the find-and-replace tests 
that create a ResultsPaneView.
2013-10-29 12:44:11 -07:00
probablycorey
dbf4ba099b Merge remote-tracking branch 'origin/master' into cj-move-autosave-to-package 2013-10-29 11:05:26 -07:00
Kevin Sawicki
22589bf2dd Require nslog on non-windows machines 2013-10-29 08:27:37 -07:00
Kevin Sawicki
2f62123a75 Merge branch 'master' into win-bootstrap-native-modules 2013-10-28 17:33:39 -07:00
probablycorey
e7e28b568b Purge autosave from Atom source 2013-10-28 17:27:44 -07:00
Kevin Sawicki
b70df78041 Remove duplicate extend call 2013-10-28 16:46:59 -07:00
Kevin Sawicki
c4b24fe738 Use Date.now() 2013-10-28 15:47:23 -07:00
probablycorey
b1f5d1e276 Emit pane:before-item-destroyed event 2013-10-28 15:40:28 -07:00
Kevin Sawicki
cd9d6ca6ee Update variable name 2013-10-28 15:25:18 -07:00
Kevin Sawicki
d6159a38d4 Make project.resolve work on Windows 2013-10-28 15:21:08 -07:00
Kevin Sawicki
002fc570e7 Detect resolving absolute paths on windows 2013-10-28 14:37:57 -07:00
Matt Colyer
e21f1c1394 Comment out nslog for now 2013-10-28 14:18:41 -07:00
Matt Colyer
cc42db3bff Log to a file on windows, for now 2013-10-28 13:42:18 -07:00
probablycorey
dc54ebf416 Merge remote-tracking branch 'origin/master' into cj-add-user-keymap-file 2013-10-28 10:04:48 -07:00
Corey Johnson
ef2a322229 Merge pull request #1037 from atom/cj-buffer-serialization
When opening a window, only use serialized buffer text if the contents on disk have not changed.
2013-10-28 09:48:43 -07:00
probablycorey
cde0fae1f3 Rename Keymap::loadUserKeymaps to Keymap::loadUserKeymap 2013-10-28 09:19:23 -07:00
probablycorey
95107052d0 User keymap can be cson or json 2013-10-28 09:18:29 -07:00
Kevin Sawicki
05c3d89381 Measure indent prefix on each line being commented
Previously a single indent string was used to replace all lines
which could corrupt lines using hard tabs since the indent string
used for replacement was two spaces causing the first character
of the line to be deleted.

Closes atom/language-c#1
2013-10-26 15:21:02 -07:00
probablycorey
42362e6ce9 Load user-keymap.cson instead of keymaps dir 2013-10-25 16:19:38 -07:00
probablycorey
0dd0c39918 Update comment 2013-10-25 15:29:52 -07:00
probablycorey
7002b4e5f6 Factor out common buffer loading code 2013-10-25 15:26:56 -07:00
Corey Johnson
78f1865bcf Merge pull request #1033 from atom/cj-search-modified-buffers
Search modified buffers
2013-10-25 15:19:53 -07:00
probablycorey
bb281ce5af 💄 2013-10-25 15:19:20 -07:00
probablycorey
b5b07c1052 Emit modified-status-changed event when using serialized text 2013-10-25 14:40:53 -07:00
probablycorey
c77b44d5ef Move variable assignment 2013-10-25 14:29:59 -07:00
probablycorey
feed72b68e Change @loadFromDisk to @useSerializedText 2013-10-25 14:21:39 -07:00
probablycorey
8956881192 Only load serialized content if the disk content's have not changed. 2013-10-25 13:50:16 -07:00
probablycorey
32bc8a6258 Remove initialText option from TextBuffer constructor 2013-10-25 13:50:06 -07:00
Kevin Sawicki
53547b5a8d Trigger commands on rootView when body is active element 2013-10-25 09:20:47 -07:00
Kevin Sawicki
29646cdff8 💄 Use Date.now 2013-10-24 18:58:43 -07:00
Kevin Sawicki
feff67457d 🚱 Include namespace when canceling subscription
Emissary does not clear our namespace listeners when calling off
with only the event name and the handler.
2013-10-24 18:45:00 -07:00
probablycorey
1f30231d5c Project.scan scans buffer if the file is modified
Closes #487
2013-10-24 15:32:32 -07:00
Matt Colyer
d4949c872b Merge pull request #1019 from atom/api-docs
More detailed pass at API documentation
2013-10-24 13:54:03 -07:00
Matt Colyer
1b8f8cd914 📝 Clarify git-utils.coffee 2013-10-23 16:16:30 -07:00
Kevin Sawicki
378a7135b7 Add missing at sign before getFocusedWindowSize
Closes atom/collaboration#22
2013-10-23 15:53:52 -07:00
Matt Colyer
b288a5c68f 📝 Provide detailed docs on fsUtils 2013-10-23 14:52:27 -07:00
probablycorey
4ad38eed87 Use @config instead of config 2013-10-23 14:26:48 -07:00
probablycorey
f7dfd60014 Remove unused $$ 2013-10-23 14:14:47 -07:00
probablycorey
d5f92ef59d Move all beep code into Atom class 2013-10-23 14:09:00 -07:00
probablycorey
224bc56d4e Require $$ via space-pen-extensions 2013-10-23 11:16:12 -07:00
Matt Colyer
afb2ec86b7 Merge branch 'master' into api-docs 2013-10-23 11:02:38 -07:00