Garen Torikian
2357f46761
Fix block comments in src
2013-05-01 16:58:43 -07:00
Kevin Sawicki
78d8485243
Allow config window to be closed with meta-W
...
window.confirmClose() should close the window immediately when
there is no rootView which is the case in the config window.
2013-05-01 08:02:17 -07:00
Nathan Sobo
5afe0a758c
Allow stylesheets with ' characters in their filename
2013-04-26 15:36:14 -07:00
Nathan Sobo
ac65e288df
Pull config stylesheet into atom.less
2013-04-26 15:36:12 -07:00
Nathan Sobo
f0cddf9f32
Serialize the state of the config window on refresh
2013-04-26 15:36:11 -07:00
Nathan Sobo
8980a97895
Add atom.activatePackageConfig, which is called in config windows
...
This calls an optional `activateConfig` method on the package's main
module, which allows it to add a configuration interface to the
`configView`.
2013-04-26 15:32:47 -07:00
Nathan Sobo
160b80b47f
Open a custom config window on 'open-user-configuration' event
2013-04-26 15:32:47 -07:00
Nathan Sobo
9d2d3d5c00
Rename window methods to distinguish editor window from config window
2013-04-26 15:32:46 -07:00
Kevin Sawicki
2f5a99fac2
Install atom command asynchronously
2013-04-24 10:12:29 -07:00
Garen Torikian
14a0010517
Keep updating Internal hiding
2013-04-18 14:58:19 -07:00
Garen Torikian
e478d9b7a0
Add more corrections off of the #Internal syntax
2013-04-18 13:38:26 -07:00
Garen Torikian
130baf2235
Merge branch 'master' into api/docs
2013-04-17 16:08:18 -07:00
Kevin Sawicki & Nathan Sobo
a1cab1a692
Log instead of re-throwing less parser errors
2013-04-16 12:10:07 -07:00
Nathan Sobo
bbf7c6ca1b
Replace requireStylesheet calls w/ @import directives in atom.less
2013-04-15 20:45:54 -06:00
Nathan Sobo
2f008aa886
Use less NPM module instead of vendored less
...
We're currently using nathansobo's fork, which doesn't depend on
`window` being undefined to operate in Node mode.
2013-04-15 20:45:54 -06:00
Garen Torikian
4c56e8bb57
Merge branch 'master' into api/docs
2013-04-14 09:43:06 -07:00
Garen Torikian
8bd02358d2
Should I regret a lack of better commit messages?
2013-04-12 22:35:54 -05:00
Cheng Zhao
558e41f740
Make main window restart renderer process when reloaded for 4 times.
...
Fix #495 .
2013-04-13 10:24:58 +08:00
Cheng Zhao
3c4966f6a3
Open the file dragged to window.
2013-04-09 15:37:30 +08:00
Cheng Zhao
f4161a1889
Restart interval of main window should be longer than specs window.
2013-04-08 12:00:52 +08:00
Cheng Zhao
17e9c6ea3b
Restart renderer process when reloaded for 4 times.
...
Fix #481 .
2013-04-08 12:00:52 +08:00
Cheng Zhao
f455379a17
No drag-drop by default.
2013-04-04 15:31:06 +08:00
Kevin Sawicki
5d2a0a0223
Use fs.chmod() to make atom.sh executable
2013-04-03 15:01:23 -07:00
Kevin Sawicki
8447a22419
Support reloading the window from the event palette
2013-04-03 14:48:11 -07:00
Nathan Sobo
f03b6207de
Make all requires of 'fs-utils' assign to fsUtils var instead of fs
2013-04-03 12:01:37 -06:00
Nathan Sobo
1bbc9f61e9
Remove unsaved buffer prompt on reload now that we handle it correctly
2013-04-02 15:45:17 -06:00
Corey Johnson & Nathan Sobo
a9175665fa
💄
2013-03-29 11:22:01 -07:00
Cheng Zhao
6ce25d4c71
Fix the usage of spawn.
2013-03-27 12:25:54 +08:00
Nathan Sobo
bb8b3782b9
Serialize package states independently of RootView
...
Previously, package specs needed to deactivate the root view to test
their package serialization. Now, specs can just deactivate and then
reactivate the package, relying on serialization infrastructure that's
independent of the lifecycle of the RootView.
2013-03-26 17:35:42 -06:00
Kevin Sawicki
fab5842651
Support requiring stylesheets without an extension
...
Stylesheets will attempt to be resolved with both css
and less extensions if no extension is included in the
path specified to requireStylesheet().
2013-03-26 00:11:11 -04:00
Kevin Sawicki
0887ec2e55
Move fuzzy finder stylesheet into package directory
2013-03-25 22:58:40 -04:00
Kevin Sawicki
68dc76def3
Move command panel stylesheet into package directory
2013-03-25 22:56:51 -04:00
Kevin Sawicki
5a4108f3c8
Consolidate tree-view stylesheets
2013-03-25 22:56:00 -04:00
Kevin Sawicki
a83cb88630
Move tabs stylesheet into package directory
2013-03-25 22:54:45 -04:00
Kevin Sawicki
a52c516c88
Move status bar stylesheet into package directory
2013-03-25 22:53:42 -04:00
Nathan Sobo
a05405370c
Serialize the syntax object's grammar overrides with window state
2013-03-22 17:35:35 -06:00
Nathan Sobo
2416ff19a4
Add NullGrammar to obviate synchronous load of text grammar on start
...
It's also an extremely simple grammar, so we'll do less work to
initially tokenize open buffers before loading their real grammars.
2013-03-22 17:35:34 -06:00
Kevin Sawicki
3d6dbf6d59
Include path instead of file in thrown error
2013-03-22 09:50:11 -07:00
Corey Johnson & Nathan Sobo
f4d339ccac
Unify root view state with window state
2013-03-21 18:24:21 -06:00
Corey Johnson & Nathan Sobo
84244a4c22
🙊
2013-03-21 18:24:21 -06:00
Kevin Sawicki
661ef175d5
Remove $native.getPlatform()
...
process.platform should now be used instead.
2013-03-20 17:51:51 -07:00
Kevin Sawicki & Nathan Sobo
501dc9b76c
Merge remote-tracking branch 'origin/master' into cefode
...
Conflicts:
native/v8_extensions/native.mm
spec/app/config-spec.coffee
spec/app/window-spec.coffee
spec/spec-helper.coffee
spec/stdlib/fs-utils-spec.coffee
src/app/atom-package.coffee
src/app/config.coffee
src/app/window.coffee
src/packages/fuzzy-finder/lib/load-paths-handler.coffee
src/packages/markdown-preview/lib/markdown-preview-view.coffee
src/packages/tree-view/spec/tree-view-spec.coffee
src/stdlib/require.coffee
2013-03-20 10:46:50 -06:00
Nathan Sobo
fc7eaf57fc
Add window.profile, which is like measure but also records a profile
2013-03-14 17:47:07 -06:00
Corey Johnson
f7f034ad2a
Remove core:close event from window
2013-03-12 15:55:30 -07:00
Corey Johnson
d916962a80
Defer window close events until all modified pane items are handled
...
If the user presses cancel, the close event is canceled
2013-03-12 15:55:30 -07:00
Kevin Sawicki & Nathan Sobo
1d1ba5f6d1
Use node's require instead of internal require
2013-03-12 10:38:05 -07:00
Corey Johnson
06b63c24dc
Merge remote-tracking branch 'origin/dev' into md-preview-redux
...
Conflicts:
src/packages/markdown-preview/stylesheets/markdown-preview.css
static/atom.css
static/command-panel.css
2013-03-11 17:02:36 -07:00
Nathan Sobo
10d0fdf2d7
Require a deferred package early if needed when deserializing panes
...
The requiring of a package's main module is now decoupled from package
activation. Non-deferred packages will always be required before the
panes are deserialized. This allows the package to register any
deserializers for objects displayed in the panes.
Deferred packages can contain a 'deferredDeserializers' array in their
package.cson. If we attempt to deserialize an object with a deserializer
in the list, the package's main module will be required first so it has
a chance to register the deserializer. But the package still won't be
activated until an activation event occurs.
We may want to add an additional optional hook called 'load' which is
called at require time. We would not guarantee that the rootView
global would exist, but we could give the package a chance to register
deserializers etc. For now, registering deserializers is a side-effect
of requiring the package.
2013-03-11 15:08:19 -06:00
Corey Johnson & Nathan Sobo
478a376c97
Less files work in atom themes
2013-03-11 10:02:19 -07:00
Justin Palmer
0624ba6d3f
rename remaining static css files to less
2013-03-11 10:02:19 -07:00