Kevin Sawicki
e18674598f
24.0.0
2013-09-05 13:50:48 -07:00
Kevin Sawicki
c7752ca766
Mention save fix
2013-09-05 13:50:17 -07:00
Kevin Sawicki
eb6ee0286e
Upgrade to whitespace@0.2.0
2013-09-05 13:47:04 -07:00
Kevin Sawicki
6686a68a0d
Mention nak upgrade fix
2013-09-05 12:04:37 -07:00
Kevin Sawicki
b3fdf08258
💄 path being resolved is always relative
2013-09-05 11:58:58 -07:00
Kevin Sawicki
67008e3584
Only put spec on NODE_PATH when running specs
2013-09-05 11:58:57 -07:00
Kevin Sawicki
030c341a00
Remove ~/.atom/packages from NODE_PATH
...
Packages paths needed for requires should be obtained from the atom global.
2013-09-05 11:58:57 -07:00
Kevin Sawicki
3770b3073e
Upgrade to nak@0.2.18
...
Closes #784
2013-09-05 09:40:24 -07:00
Kevin Sawicki
6dbf003c03
Downgrade to atom-shell@0.4.3
...
Specs are failing against 0.4.4 so hardcode 0.4.3 until this is resolved.
2013-09-05 09:34:28 -07:00
Kevin Sawicki
ca3fff8a94
💄 correct typo in method name
2013-09-04 14:01:46 -07:00
Kevin Sawicki
aba6958e55
Load base stylesheets in spec-helper
...
This fixes the editor specs not working when focused.
2013-09-04 13:33:39 -07:00
Kevin Sawicki
5852238cd8
Reload instead of unload in afterEach
...
This ensures the stylesheets with the fixtures variables
are unloaded and the default ones are reloaded.
2013-09-04 13:32:55 -07:00
Kevin Sawicki
3a5ad9b48d
Unload base stylesheets in an after each
...
This prevents the blue background from bleeding over into other specs.
2013-09-04 12:56:54 -07:00
Kevin Sawicki
7b2429851c
Load bootstrap stylsheets in spec helper
2013-09-04 12:48:58 -07:00
Ben Ogle
26e1df4127
Add loadThemes() to atom global
2013-09-04 12:25:29 -07:00
Ben Ogle
2b2dc15ac1
Fix styles in jasmine runner
2013-09-04 12:25:29 -07:00
Ben Ogle
9d94afc8c5
Move base stylesheet loading in startEditorWindow
2013-09-04 12:25:29 -07:00
Kevin Sawicki
26ee4a065c
Use space-ben to create editor div
2013-09-04 12:25:29 -07:00
Kevin Sawicki
d48df331b0
Use attachToDom instead of appending directly to #jasmine-content
2013-09-04 12:25:28 -07:00
Kevin Sawicki
fd69581397
Update path in comment for less-imports rename
2013-09-04 12:25:28 -07:00
Ben Ogle
8f236c8a60
Rename less-imports to variables
2013-09-04 12:25:28 -07:00
Ben Ogle
c0ef23bc7d
💄 Update spec description
2013-09-04 12:25:28 -07:00
Ben Ogle
41eb649ee5
Join dirs in config LESS path
2013-09-04 12:25:28 -07:00
Ben Ogle
5c1799d751
Add individual imports to each LESS file
...
Make the Less linter happy
2013-09-04 12:25:28 -07:00
Ben Ogle
1d7f5845d0
remove duplicate spec
2013-09-04 12:25:28 -07:00
Ben Ogle
7c63a206f1
Revert "Remove ui-colors"
...
This reverts commit 45179d44be9d69923a0afaac5470b5399079b071.
2013-09-04 12:25:27 -07:00
Ben Ogle
15c1669ab6
Don't load bootstrap on reload of base sheets
2013-09-04 12:25:27 -07:00
Ben Ogle
127a2af397
Remove log line
2013-09-04 12:25:27 -07:00
Ben Ogle
30a4eb12c5
Remove ui-colors
2013-09-04 12:25:27 -07:00
Ben Ogle
d1c1ecc9a4
Add ability to override ui-variables in theme
...
This required moving the importable less files to a `less-imports`
directory and adding that directory to the less path. Otherwise,
atom.less would import ui-variables from its current directory
(/static/ui-variables) as less searches the current directory before
any other directories on the path.
2013-09-04 12:25:27 -07:00
Ben Ogle
084457c2a0
Update the less files to properly import less
2013-09-04 12:25:27 -07:00
Ben Ogle
5c12a7ceef
Move base stylesheet loading into atom.
...
Load the config during setup, but don't observe until the editor window
starts up.
2013-09-04 12:25:27 -07:00
Ben Ogle
9c5c05ff41
Get the proper directories before themeManage load
2013-09-04 12:25:27 -07:00
Kevin Sawicki
a9c4b23563
Use relative require path for keystroke-pattern.pegjs
2013-09-04 08:54:40 -07:00
Kevin Sawicki
3009c3a9ba
Add to-the-hubs@0.1.0
2013-09-04 08:49:53 -07:00
Kevin Sawicki
bf0b3ee66e
Prepare 23.0.0 release
2013-09-04 08:39:02 -07:00
Kevin Sawicki
8385a5403d
Remove unused require
2013-09-03 19:38:31 -07:00
Kevin Sawicki
43938e9c86
Remove leftover paths from src relayout
2013-09-03 19:31:00 -07:00
Kevin Sawicki
7fc7f2574f
Upgrade to settings-view@0.11.0
2013-09-03 19:14:50 -07:00
Kevin Sawicki
7ae08f5282
Upgrade to tabs@0.2.0
2013-09-03 19:14:36 -07:00
Kevin Sawicki
3508792234
Upgrade to grunt-lesslint@0.13.0
2013-09-03 17:06:37 -07:00
Kevin Sawicki
b91c23e3c5
Upgrade to grunt-lesslint@0.12.0
2013-09-03 16:42:50 -07:00
Kevin Sawicki
8415922d20
💄 consistent argument ordering
2013-09-03 16:21:39 -07:00
Kevin Sawicki
b57d655a8a
Delete /tmp/atom-coffee-cache before building
...
Temp fix to get CI working again
2013-09-03 16:18:34 -07:00
Corey Johnson
35a9350b3f
Use updated tree-view
2013-09-03 14:55:50 -07:00
Corey Johnson
5b3cd1b1e5
Use subscribe instead of on
...
So we don't listen to events after the pane container has been removed
2013-09-03 14:48:42 -07:00
Corey Johnson
653eaf4186
Rename spec
2013-09-03 14:48:42 -07:00
Corey Johnson
0b73020a35
Use pane events to trigger pane-container:active-pane-item-changed
2013-09-03 14:48:42 -07:00
Corey Johnson
49e6e82d67
Add spec for when the active pane is changed
2013-09-03 14:48:42 -07:00
Corey Johnson
fc8a3f5e78
Rename pane-container:active-item-changed
...
To pane-container:active-pane-item-changed
2013-09-03 14:48:42 -07:00
Corey Johnson
915159d7a0
Fix pane:became-inactive and pane:became-active events
2013-09-03 14:48:42 -07:00
Corey Johnson
7fd0d934ef
Add pane-container:active-item-changed event
2013-09-03 14:48:42 -07:00
Corey Johnson
44de8fe2d3
Add getActivePaneItem method to Pane and PaneAxis
2013-09-03 14:48:42 -07:00
Kevin Sawicki
e3a236afbd
Mention git status fix
2013-09-03 14:33:45 -07:00
Kevin Sawicki
3c0197dc35
Mention spec runner, settings view, and lit coffee fixes
2013-09-03 14:32:02 -07:00
Kevin Sawicki
68a50b196a
Update spec counts when runner completes
...
This ensures 0/0 is displayed even when no specs were ran.
2013-09-03 14:25:42 -07:00
Kevin Sawicki
f9e95c273f
Only run core specs when resource path is the Atom repo
2013-09-03 14:25:42 -07:00
Kevin Sawicki
5664e94e05
Copy entire spec folder to application dir
2013-09-03 14:25:42 -07:00
Kevin Sawicki
e6360594aa
Move jasmine-focused to a dependency
...
This is required to be able to run specs from a release build.
2013-09-03 14:25:42 -07:00
Kevin Sawicki
f5bb0333b9
Run apm clean instead of deleting node_modules
...
This ensures removed modules are uninstalled before specs run but
unchanged modules can be cached between builds.
2013-09-03 14:13:04 -07:00
Kevin Sawicki
1512029864
Remove deletion of node directory
...
This directory is no longer at the root of the repo
2013-09-03 14:13:04 -07:00
Kevin Sawicki
6730b19e00
Don't run partial-clean during ci task
2013-09-03 14:13:04 -07:00
Kevin Sawicki
f88949bf2d
Upgrade to coffee-script-tmbundle@6.0.0
...
This has a fix for allowing injection grammars inside of
CoffeeScript comments.
2013-09-03 14:06:30 -07:00
Kevin Sawicki
18e1e8146e
Add styles for markdown in Literate CoffeeScript
2013-09-03 14:06:30 -07:00
Kevin Sawicki
d78f455b23
Push filler tokens when no patterns match an empty line
...
This ensures that empty lines always contain tokens even when no
patterns match on empty lines.
2013-09-03 14:06:30 -07:00
Kevin Sawicki
4850636092
Tokenize empty lines using grammars
...
The literate CoffeeScript grammar uses empty lines to pop out of
the paragraph pattern.
2013-09-03 14:06:30 -07:00
Kevin Sawicki
d4a384e04a
Upgrade to coffee-script-tmbundle@5.0.0
2013-09-03 14:06:30 -07:00
Kevin Sawicki
f84a332829
Upgrade to oniguruma@v0.20.0
...
This adds support for named capture groups
2013-09-03 14:06:30 -07:00
Kevin Sawicki
24eeda0bc7
Upgrade to settings-view@0.10.0
2013-09-03 14:05:04 -07:00
Kevin Sawicki
a4774ab358
Upgrade apm for package install fix
2013-09-03 11:36:52 -07:00
Kevin Sawicki
193f727ba7
doc: Use correct code block fences
...
* Replace cson fences with coffeescript
* json was being incorrectly being used for cson
* Certain blocks had no fence name
2013-09-03 10:21:51 -07:00
Kevin Sawicki
df293125f4
Upgrade to markdown-preview@0.2.0
2013-09-03 10:16:37 -07:00
Kevin Sawicki
b60ad6e086
Upgrade to gfm@0.3.0
2013-09-03 10:16:20 -07:00
Kevin Sawicki
c800cef4da
doc: correct typo in timeline
2013-09-03 10:01:11 -07:00
Kevin Sawicki
25434e943e
Silently install apm's dependencies
2013-09-02 21:25:06 -07:00
Kevin Sawicki
aaea8bdb31
Trigger buffer-created from Project::addBufferAtIndex
...
This ensures that any listeners for this event will be notified when
a buffer is add via deserialization from a telepath document.
2013-09-02 11:46:32 -07:00
Kevin Sawicki
91531d53da
Doc Git::destroy as a public method
2013-09-02 11:34:26 -07:00
Kevin Sawicki
63a3d9de94
Pass project to Git.open in the options hash
...
Previously the project global was unavailable in the Git constructor
since it had not been set as a global yet and so the Git instance was never
configured to watch the project's buffers for save/reload events. This caused
the status to be out of sync in places like the gutter and status bar.
2013-09-02 11:34:20 -07:00
Cheng Zhao
d9b2b3e565
The atom-shell's distribution filename now includes version and platform.
2013-09-02 14:09:14 +08:00
Kevin Sawicki
d9695170ce
Setup NODE_PATH when restarting render process
...
Without this the NODE_PATH env var will possibly be wrong when restarting
a window after another window has been opened that has a different NODE_PATH
value.
Close #630
2013-09-01 11:16:35 -07:00
Kevin Sawicki
963ad4b28c
Stub out console::trace in task-bootstrap
...
This prevents errors from being logged when console.trace() is called
from a task process.
2013-09-01 10:16:36 -07:00
Jason Rudolph
4bf09baa30
Merge pull request #780 from atom/add-get-upstream-branch-to-git
...
Add #getUpstreamBranch to Git
2013-08-31 13:13:08 -07:00
Jason Rudolph
9f823040f2
Add #getUpstreamBranch to Git
2013-08-31 09:25:09 -04:00
Kevin Sawicki
34f16c58e8
Upgrade to collaboration@0.9.0
2013-08-30 15:27:37 -07:00
Matt Colyer
59d832c5c4
Bump package.json version while we work on 22.0
2013-08-30 15:17:09 -07:00
Matt Colyer
647dcd5988
Update create theme guide based on feedback
2013-08-30 15:14:12 -07:00
Matt Colyer
93a0c6eeb5
Create an outline for creating a theme
2013-08-30 15:14:12 -07:00
Kevin Sawicki
d79881063a
Upgrade version to 21.0.0
2013-08-30 14:09:57 -07:00
Nathan Sobo
49b80d306b
💩 Delete files that were moved to docs/proposals
...
I thought I deleted these when I moved them but I guess I screwed up.
2013-08-30 15:02:51 -06:00
Nathan Sobo
91adc01e4e
🐎 Don't get every line to check for soft-tabs
...
Getting all the lines requires SharedString to construct a big array.
It's more efficient to check them one line at a time.
2013-08-30 14:36:45 -06:00
Kevin Sawicki & Matt Colyer
4cc553daf8
🐎 Upgrade to telepath@0.1.2
2013-08-30 11:54:08 -07:00
Kevin Sawicki & Matt Colyer
538b648042
Add more selectors to cover end of ruby embedded strings
2013-08-30 10:10:40 -07:00
Matt Colyer
78b28b6ee6
Fix color highlight issue in Ruby, #716
2013-08-30 10:10:40 -07:00
Kevin Sawicki
fe725ec909
Display time in seconds instead of milliseconds
2013-08-29 21:33:21 -07:00
Kevin Sawicki
35d4eadd45
Upgrade to fuzzy-finder@0.3.0
2013-08-29 19:42:37 -07:00
Kevin Sawicki
47bccc142e
Upgrade to autocomplete@0.4.0
2013-08-29 19:38:01 -07:00
Kevin Sawicki
8fb10e35a9
🚱 Destroy current project in beforeEach
...
Previously the window specs were calling window::deserializeEditorWindow
without first destroying the spec project causing the global to be
reassigned over and leaking the initial project and repo.
2013-08-29 18:41:27 -07:00
Kevin Sawicki
2687fafca4
🚱 Destroy environments in an afterEach
...
These were leaking projects and therefore repos.
2013-08-29 18:37:03 -07:00
Kevin Sawicki
40860a59f5
Destroy deserialized project in an afterEach
2013-08-29 18:24:51 -07:00
Kevin Sawicki
989fffba6a
🚱 Destroy repo in Project::setPath
...
Previously if the new path was non-null then the current repo would be
leaked and never destroyed
2013-08-29 18:08:01 -07:00
Corey Johnson
9f1edd3189
Use a simpler escapeRegExp method
2013-08-29 15:58:21 -07:00
Kevin Sawicki
e03544bab6
Hide body when unloading
...
This prevents a weird UI flicker when refreshing with the settings
view open.
2013-08-29 15:23:26 -07:00
Kevin Sawicki
fd9f3d6543
Don't serialize packages unless the main module was activated
...
The settings-view activates the config for each package before it renders
causing the main module to be required in order to call activateConfig().
This was causing serialize to be called when the window state was being
saved which was incorrect since activate hadn't actually been called even
though the main module was required.
2013-08-29 14:48:42 -07:00
Matt Colyer
19b5f3e202
Added a section to getting started guide
...
@xpaulbettsx noted that he wasn't aware that atom windows were tied to a
specific directory.
2013-08-29 10:40:40 -07:00
Kevin Sawicki
f80ad91bec
Upgrade to grammar-selector@0.2.0
2013-08-29 10:24:26 -07:00
Kevin Sawicki
1e21665b69
Upgrade to status-bar@0.3.0
2013-08-29 10:13:58 -07:00
Kevin Sawicki
57132f57bd
Suppress deserialization warning during window spec
2013-08-29 09:18:52 -07:00
Kevin Sawicki
de5b2c5cf1
Suppress deserialization warning during pane spec
2013-08-29 09:15:31 -07:00
Kevin Sawicki
d12eed3f68
Don't build description string unless actually logging it
2013-08-28 22:19:18 -07:00
Kevin Sawicki
951b3253da
Remove unused name field from tracked specs
2013-08-28 22:12:34 -07:00
Kevin Sawicki
e40d837b40
Log longest specs/suites during grunt test
2013-08-28 22:07:57 -07:00
Kevin Sawicki
3e626f28c4
Only require AtomReporter if actually being used
2013-08-28 21:20:31 -07:00
Kevin Sawicki
156e9f9b24
Upgrade to collaboration@0.8.0
2013-08-28 21:10:58 -07:00
Kevin Sawicki
e0ccfc4788
Use terminal reporter from jasmine-node
...
This gives the same filtered stack traces and text output
as all our node modules that already use jasmine-node indirectly
through jasmine-focused.
2013-08-28 20:57:43 -07:00
Kevin Sawicki
8307ae8938
💄 correct lint indentation problem
2013-08-28 20:32:35 -07:00
Kevin Sawicki
464785ec3b
Map npm test to grunt test
2013-08-28 20:30:23 -07:00
Kevin Sawicki
64e47aeea8
Migrate telepath to package dependency
2013-08-28 20:24:36 -07:00
Kevin Sawicki & Nathan Sobo
2bd4386090
Destroy unretained buffers when serializing project
...
Previously buffers could linger indefinitely if an error occurred
during startup between the deserialization of the project and the
original retaining edit session.
2013-08-28 18:37:40 -07:00
Kevin Sawicki & Nathan Sobo
40b6183937
🐎 Don't pretty print serialized window state
2013-08-28 18:13:44 -07:00
Nathan Sobo
33dc008b10
🐎 Upgrade telepath for faster SharedArray::findMarkers method
2013-08-28 16:49:06 -06:00
Matt Colyer
9fe9e0dc41
Add documentation for Selection.expandOver*
2013-08-28 15:39:08 -07:00
Kevin Sawicki
c8b7040144
🐎 Find elements by id in spec reporter
...
Previously classes containing the spec/suite id were used which
caused major amounts of time finding DOM nodes using class selectors
instead of id selectors.
This decreases the Editor spec from ~90s to ~30s.
2013-08-28 14:56:52 -07:00
Kevin Sawicki
8e4c9076f1
Upgrade to jasmine-focused@0.12.0
2013-08-28 14:52:32 -07:00
Kevin Sawicki
1381ffdbf5
Invoke grunt callback when shell test command completes
2013-08-28 14:19:29 -07:00
Kevin Sawicki
b8c906d00e
Only log warning if error occurs
2013-08-28 14:15:30 -07:00
Kevin Sawicki
d9c62a76bf
Implement test task using grunt shell
...
This prevents duplicate messages in the CI build logs.
2013-08-28 14:11:05 -07:00
Kevin Sawicki
c27103db8a
Expect output when -t/--test flag is specified
2013-08-28 12:54:16 -07:00
Kevin Sawicki
2f46539026
Use global.devResourcePath when running package specs
...
This allows package specs to be launched from windows that
are not in dev mode, previously the window would fail to launch
in this case.
2013-08-28 12:49:18 -07:00
Kevin Sawicki
6261124464
Update spec to use atom::close instead of window::close
2013-08-28 10:43:12 -07:00
Kevin Sawicki
29f1f5cbe5
Call close on native window instead of JS window
...
Added atom.close() which forwards to remote.getCurrentWindow().close()
since calling window.close() does not call the unload handler registered
on the window global.
Closes #764
2013-08-28 09:10:54 -07:00
Nathan Sobo
2921ac856c
Fall back to empty document if window state cannot be deserialized
...
If the telepath serialization version has changed it will return null
from Site::deserializeDocument.
2013-08-28 10:03:40 -06:00
Nathan Sobo
4474212b3e
Upgrade telepath for serialization version fix
2013-08-28 10:00:32 -06:00
Kevin Sawicki
b02ac8696e
Add missing parens to call to app.quit()
2013-08-28 08:09:52 -07:00
Kevin Sawicki
bd96814576
Correct apm command
2013-08-28 08:01:56 -07:00
Kevin Sawicki
5091efab8e
Correct apm command
2013-08-28 08:01:24 -07:00
Kevin Sawicki
14522f6769
Doc critical emoji commit message guidelines
2013-08-27 13:03:16 -07:00
Kevin Sawicki & Nathan Sobo
38422150b0
🚱 Clear blinking interval when cursor view is removed
2013-08-27 13:00:41 -07:00
Kevin Sawicki & Nathan Sobo
e28ef3a76c
🚱 Call off on active item when it is removed
2013-08-27 13:00:41 -07:00
Kevin Sawicki
6baaf404af
🚱 Use subscribe for tokenized buffer event listeners
2013-08-27 13:00:41 -07:00
Kevin Sawicki
f42bd3f34b
🚱 Clear config subscriptions when unobserving
2013-08-27 13:00:41 -07:00
Matt Colyer
2bca1abb2a
Remove trailing whitespace
2013-08-27 10:17:02 -07:00
Matt Colyer
a44662c885
Actually fix task.coffee
2013-08-27 10:17:02 -07:00
Matt Colyer
0f014463c1
Undo accidental change to method signature
2013-08-27 10:17:02 -07:00
Matt Colyer
7c55348fde
Fix incorrect biscotto references
2013-08-27 10:17:01 -07:00
Matt Colyer
ae59078c5d
Update to biscotto 0.0.14
2013-08-27 10:17:01 -07:00
Matt Colyer
4cb1f6c509
Add comments to Task
2013-08-27 10:17:01 -07:00
Matt Colyer
16ab3e5538
Reformat Selection comments
2013-08-27 10:17:01 -07:00
Matt Colyer
696a54392e
Determine public API of SelectList
2013-08-27 10:17:01 -07:00
Matt Colyer
9521358c55
Add note to scroll-view.coffee
2013-08-27 10:17:01 -07:00
Matt Colyer
a5e563c04c
Reformatted comments for RootView
2013-08-27 10:17:01 -07:00
Matt Colyer
631995996b
Reformat comments for project.coffee
2013-08-27 10:17:01 -07:00
Matt Colyer
f239cdf307
Add comments to pane.coffee
2013-08-27 10:17:01 -07:00
Matt Colyer
d3e482ed6f
Reformat Git comments
2013-08-27 10:17:01 -07:00
Matt Colyer
75af26ea3e
Reformat comments in file.coffee
2013-08-27 10:17:00 -07:00
Matt Colyer
2d547e3b9e
Reformat comments in edit-session.coffee
2013-08-27 10:17:00 -07:00
Matt Colyer
e84a6b4869
Reformat Cursor class's comments to Markdown
2013-08-27 10:17:00 -07:00
Matt Colyer
c1c73a822a
Mark classes as private per discussion
2013-08-27 10:17:00 -07:00
Matt Colyer
e774b956e0
Fix visibility of classes.
2013-08-27 10:17:00 -07:00
Matt Colyer
68affd9b08
Update Directory documentation.
2013-08-27 10:17:00 -07:00
Matt Colyer
dd1a04aec0
Add visibility to comments of Cursor
2013-08-27 10:17:00 -07:00
Matt Colyer
ec37ec1e49
Update Config documentation
2013-08-27 10:17:00 -07:00
Matt Colyer
3d1a27875d
Update ApplicationMenu documentation
2013-08-27 10:17:00 -07:00
Matt Colyer
ad69522bd1
Update buffered-process's documentation
2013-08-27 10:16:59 -07:00
Matt Colyer
0043b9de77
Update atom-application documentation to latest format
2013-08-27 10:16:59 -07:00
Matt Colyer
0abbe8affb
Change to bold for documentation sections
2013-08-27 10:16:59 -07:00
Matt Colyer
1c39b851e4
Update AtomApplication to new documentation style
2013-08-27 10:16:59 -07:00
Matt Colyer
fdf250871d
Fix all biscoto warnings
2013-08-27 10:16:59 -07:00
Matt Colyer
0e8ec74662
Fix more TomDoc references
2013-08-27 10:16:59 -07:00
Matt Colyer
8e2777ccc0
Get class visibility correct
2013-08-27 10:16:59 -07:00
Matt Colyer
d5c2878d53
Document BufferedProcess and BufferedNodeProcess
2013-08-27 10:16:59 -07:00
Matt Colyer
f47fdd0ae1
Make AtomApplication class private
2013-08-27 10:16:59 -07:00
Matt Colyer
2f4cca445b
Document AtomApplication
2013-08-27 10:16:58 -07:00
Matt Colyer
b67496a4f2
Document ApplicationMenu
2013-08-27 10:16:58 -07:00
Matt Colyer
a604e51f1c
Remove redundant argument to biscotto
2013-08-27 10:16:58 -07:00
Matt Colyer
61e5e6ea28
Fix delegation references in comments
2013-08-27 10:16:58 -07:00
Matt Colyer
3808f81886
Ensure API docs have the proper title
2013-08-27 10:16:58 -07:00
Kevin Sawicki
5a2b2b18c6
Upgrade to gfm@0.2.0
2013-08-27 09:40:37 -07:00
Kevin Sawicki
437cb0ccef
Upgrade to symbols-view@0.4.0
2013-08-27 08:47:11 -07:00
Kevin Sawicki
decaa3dfcf
💄 Move extend calls to top of class
2013-08-26 19:09:42 -07:00
Kevin Sawicki
03573b4e06
🐎 Upgrade telepath
2013-08-26 18:50:13 -07:00
Kevin Sawicki
70162d39f7
Unsubscribe from SharedString when buffer is destroyed
2013-08-26 14:45:26 -07:00
Kevin Sawicki
f6f93342bc
Initialize destroyed item states before setting root
2013-08-26 13:47:28 -07:00
Kevin Sawicki
b22e45b8a9
Call PaneContainer::itemAdded from PaneContainer::reopenItem
...
This ensures the active item in the new root is filtered out of
the reopen stack, preventing a duplicate item from being opened.
2013-08-26 13:36:55 -07:00
Kevin Sawicki
419be22b7b
Use Subscriber::subscribe for telepath change listeners
2013-08-26 13:04:13 -07:00
Kevin Sawicki
c5535bde81
Upgrade to spell-check@0.3.0
2013-08-26 12:25:42 -07:00
Kevin Sawicki
5640f57eae
💄 move extend calls to top of class
2013-08-23 18:33:38 -07:00
Kevin Sawicki
325d534d91
💄 spec description
2013-08-23 18:29:12 -07:00
Kevin Sawicki
eaf80a0194
Rename softWrapColumn to editorWidthInChars
2013-08-23 18:09:17 -07:00
Kevin Sawicki
3f848606ee
Use setEditorWidthInChars to resize editor
...
This makes the comparisons for the soft wrap column more sane.
2013-08-23 18:09:17 -07:00
Kevin Sawicki
c2b3c2e3aa
Rename callbackImmediately option to callNow
2013-08-23 18:09:17 -07:00
Kevin Sawicki
08b80c15ad
💄 Remove comment for removed parameter
2013-08-23 18:09:17 -07:00
Kevin Sawicki
052a489751
💄 toggle comments
2013-08-23 18:09:17 -07:00
Kevin Sawicki
51192bb3e9
Remove config listeners when DisplayBuffer is destroyed
2013-08-23 18:09:17 -07:00
Kevin Sawicki
32396a2a8b
Update soft wrapped lines when config changes
...
DisplayBuffer now observes for config changes to the preferred line length
and the preference to soft wrap at the preferred line length to update
any wrapped screen lines.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
a45b93614e
Add editor.softWrapAtPreferredLineLength config setting
...
This is used by the DisplayBuffer to use `editor.preferredLineLength`
as the soft wrap column instead of the editor size.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
8f193e4fb5
Remove default edit session options from Project
...
Instead read the config values directly where they are actually
used such as in EditSession, TokenizedBuffer, and DisplayBuffer.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
cbd4fab8f2
Emit event from display buffer when soft wrap changes
...
This allows the editor to be reactive to the edit session
and always respect the edit session's current value when
initially opened.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
8b3b033b09
Add explicit call to setSoftWrap in specs
...
This is now required now that setting the soft wrap
column does not cause wrapping unless soft wrap is enabled.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
e675fe73c8
Set soft wrap explicitly on the display buffer
...
This is required now that soft wrap column only takes affect
when soft wrap is enabled.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
0b7262aa62
Always calculate the soft wrap column
2013-08-23 18:09:16 -07:00
Kevin Sawicki
5001c6e84e
Enable soft wrap explicitly in specs
...
This is required now that the soft wrap setting and soft wrap
column are decoupled.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
a4411ab2ca
Update specs for resize handler changes
2013-08-23 18:09:16 -07:00
Kevin Sawicki
5ea8c6c27b
Don't store soft wrap column on EditSession
...
This removes duplicate state between the edit session and
display buffer.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
da1e5f5c10
Always update the soft wrap column when the window resizes
...
This allows the edit session and display buffer to always be
notified of soft wrap column changes regardless of their initial
soft wrap state.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
c33f7cde2a
Move soft wrap state from EditSession to DisplayBuffer
2013-08-23 18:09:16 -07:00
Kevin Sawicki
a39e136c43
💄
2013-08-23 18:09:16 -07:00
Kevin Sawicki
275ee62e8d
💩 Upgrade telepath
2013-08-23 15:50:50 -07:00
Kevin Sawicki
62a19aa6fa
🐎 Upgrade telepath
2013-08-23 15:18:15 -07:00
probablycorey
78b9a99f86
Add window:run-package-specs command
...
This will only run specs found in the current projects spec directory
2013-08-23 09:02:22 -07:00
probablycorey
ba632751a0
Rename application:run-specs to application:run-all-specs
2013-08-23 09:02:22 -07:00
Nathan Sobo
96a16494ff
Add a proposals folder in docs and put the private beta stuff there
2013-08-22 21:21:40 -06:00
Nathan Sobo
a39d1c274e
🐎 Upgrade telepath for performance improvements
...
Again, addresses #734 but we're still too slow.
2013-08-22 19:24:43 -06:00
Kevin Sawicki
de8dab5939
Upgrade to collaboration@0.7.0
2013-08-22 14:53:35 -07:00
Kevin Sawicki
f32a289193
Store relative buffer path instead of id
...
This allows the tokenized buffer to be deserialized during reopening
from the pane container.
Closes #744
2013-08-22 14:42:08 -07:00
Kevin Sawicki
92a80208d3
Update the relative path when the buffer's file moves
2013-08-22 13:59:46 -07:00
Kevin Sawicki
2793ebb5c4
Remove unused bufferId from edit session document
...
This is now on tokenized buffer instead.
2013-08-22 13:07:28 -07:00
Kevin Sawicki
44d90615ec
Remove unused ivar
2013-08-22 13:05:51 -07:00
Kevin Sawicki
7bf350251e
Add EditSession::getRelativePath
...
Closes #746
2013-08-22 12:16:44 -07:00
Kevin Sawicki
e4b5cfd600
Call AtomPackage::deactivateConfig from AtomPackage::deactivate
...
This adds back support for a package's main module implementing
deactivateConfig.
2013-08-22 11:13:32 -07:00
Kevin Sawicki
20a669e94f
Upgrade to settings-view@0.8.0
2013-08-22 11:04:03 -07:00
Kevin Sawicki
25be233c5f
Call AtomPackage::activateConfig from AtomPackage::activateNow
...
Previously this method was unused and so packages implementing
activateConfig were not being called.
2013-08-22 11:01:17 -07:00
Matt Colyer
13f35bc6e3
Fix documentation links
2013-08-22 10:43:45 -07:00
Joel Glovier
2efc39a265
Fixed broken links in ReadMe
2013-08-22 13:31:31 -04:00
Joel Glovier
1a31e3418d
Fixed broken links for configuring.md, theming.md, and extending.md
2013-08-22 13:29:37 -04:00
Joel Glovier
090d350802
Fixed broken links to configuring.md, theming.md and extending.md
2013-08-22 13:28:33 -04:00
Joel Glovier
4f547b8c21
Fixed broken links to configuring, theming, and extending.
2013-08-22 13:27:52 -04:00
Kevin Sawicki
76992dfaeb
Upgrade to autocomplete@0.3.0
2013-08-22 09:32:52 -07:00
Kevin Sawicki
070a72e76c
Add ctrl-A/E keybinding to select to beginning/end of line
...
Closes #711
2013-08-22 09:00:02 -07:00
Kevin Sawicki
95a23cdada
Add default config for editor.softTabs
2013-08-21 18:53:34 -07:00
Kevin Sawicki
6fa0c82fac
Mention soft wrap and tab length setting
2013-08-21 18:52:14 -07:00
Kevin Sawicki
a0db412140
Use editor.softTabs config value when creating edit sessions
...
This replaces the internal softWrap state and removes the previous
getter and setter for this value that was on Project.
2013-08-21 18:12:26 -07:00
Kevin Sawicki
2f4a57e5e4
Remove get/setSoftWrap from Project
...
The config should now be the place that soft wrap settings is interacted
with.
2013-08-21 18:08:59 -07:00
Kevin Sawicki
0da647acdf
Use display: inline for editor fold marker
...
This prevents it from wrapping to the next line when the window
is narrower than the line length.
Closes #211
2013-08-21 17:52:19 -07:00
Kevin Sawicki
147e75ad95
Use editor.softWrap config value when creating edit sessions
...
Closes #666
2013-08-21 17:17:06 -07:00
Kevin Sawicki
2f4db45320
Use editor.tabLength config value when creating edit sessions
...
Closes #708
2013-08-21 17:12:04 -07:00
Kevin Sawicki
c18810ca67
Upgrade to settings-view@0.7.0
2013-08-21 16:48:38 -07:00
probablycorey
204de3ac24
Support long version for foreground command
2013-08-21 16:19:37 -07:00
probablycorey
986a9ce0a0
Add cli option to keep the browser process running in the foreground
2013-08-21 16:19:37 -07:00
probablycorey
25b7d356a1
Make load paths work when Atom is run in stable mode
2013-08-21 16:19:37 -07:00
probablycorey
e833649111
Remove aa script and replace it with compile-main-to-app
2013-08-21 16:19:37 -07:00
probablycorey
0d74753d3e
The browser process loads files from the resource path in dev mode
...
main.coffee is the only exception
2013-08-21 16:19:37 -07:00
Kevin Sawicki
9306c9b262
Upgrade to symbols-view@0.3.0
2013-08-21 15:58:28 -07:00
Kevin Sawicki
283cbcc9ab
Use constructor.name instead of hard-coded string
2013-08-21 15:41:27 -07:00
Kevin Sawicki
935df2f4f1
Add issues url to package.json
2013-08-21 15:40:55 -07:00
Kevin Sawicki
07bcd8c1ef
Upgrade to archive-view@0.3.0
2013-08-21 15:40:00 -07:00
Kevin Sawicki
6ad088f6d5
Upgrade to settings-view@0.6.0
2013-08-21 14:57:39 -07:00
Kevin Sawicki
b181a77130
Upgrade to image-view@0.3.0
2013-08-21 14:57:39 -07:00
Matt Colyer
d83adc3a27
Update documentation concerning themes
2013-08-21 14:53:56 -07:00
Matt Colyer
1ad971f424
Consistently use 'cmd' to represent 'meta' key
2013-08-21 14:53:56 -07:00
Matt Colyer
0b8800c818
Document favoring less over css
2013-08-21 14:53:56 -07:00
Matt Colyer
bb7d8812da
Update document regarding symbols
2013-08-21 14:53:56 -07:00
Matt Colyer
f0677e43fa
First pass at documentation correctness
2013-08-21 14:53:56 -07:00
Matt Colyer
159f521104
Reorganize documentation
2013-08-21 14:53:56 -07:00
Matt Colyer
46d713169f
Add missing guides to the index
2013-08-21 14:53:56 -07:00
Matt Colyer
95535d93c6
Remove package related documentation from core
2013-08-21 14:53:56 -07:00
Corey Johnson & Nathan Sobo
7173467b1a
🐎 Upgrade telepath to improve fold performance
...
This addresses #734 . It improves performance from ~10s to ~1.5s when
running a foldAll on edit-session-spec. This still needs to get better.
2013-08-21 15:22:25 -06:00
Corey Johnson & Nathan Sobo
03712392c9
Write DisplayBuffer::findMarkers in terms of TextBuffer::findMarkers
2013-08-21 15:22:25 -06:00
Kevin Sawicki
0e49582616
Upgrade to settings-view@0.5.0
2013-08-21 13:15:17 -07:00
Kevin Sawicki
1dad3ae7ca
Upgrade to collaboration@0.6.0
2013-08-21 13:02:50 -07:00
Kevin Sawicki
c2123fce1f
Upgrade to terminal@0.6.0
2013-08-21 10:51:24 -07:00
Kevin Sawicki
2190a009d8
Upgrade to settings-view@0.4.0
2013-08-21 10:19:04 -07:00
Kevin Sawicki
e199000985
Mention python grammar fix
2013-08-21 08:51:04 -07:00
Kevin Sawicki
ba70c15328
Upgrade telepath for redo fix
...
Closes #736
2013-08-20 19:04:14 -07:00
Nathan Sobo
0192c57f46
Fix corner case in RowMap::mapBufferRowRange w/ 0-buffer-row regions
...
Fixes #688
The DisplayBuffer applies buffer and screen deltas to the row map as
rows are inserted/removed from the buffer/screen. This can leave some
of the regions in a weird state, such as mapping multiple screen rows
to zero buffer rows. But next the DisplayBuffer applies any new mappings
based on the replaced lines over the top of existing regions. These
weirdly shaped regions should be overwritten by newly inserted regions,
so at the end of the operation the row map makes sense again.
This fixes a corner case where regions spanning 0 buffer rows at the
very beginning of the row range were not being included in the set of
regions to replace. This was in turn causing the RowMap to get into a
bad state in certain situations involving soft-wrapped lines.
2013-08-20 19:30:29 -06:00
Nathan Sobo
b60b21cf3a
Add RowMap::inspect, which returns a string for debugging the regions
2013-08-20 19:30:28 -06:00
Kevin Sawicki & Nathan Sobo
116c56c236
Serialize site across window loads
...
This prevents issues with the site counter resetting to 1 on each
load causing duplicate array and marker ids to be generated.
Closes #729
2013-08-20 18:29:19 -07:00
Kevin Sawicki
6fb8dcbaa5
Add site color variables to ui-colors
...
These are used by the collaboration package to represent
participants in the current session.
2013-08-20 17:15:43 -07:00
Kevin Sawicki
6e2fd18f62
Add back ability to open an arbitrary window
...
atom.open now takes an options has that can contain either pathsToOpen
or the complete settings of a new window.
This will be used by the collaboration package to open the window when a
session is being joined.
2013-08-20 15:30:53 -07:00
Matt Colyer
90da89d31c
Use JSON frontmatter
2013-08-20 15:02:01 -07:00
Matt Colyer
0999dc6d44
Add a proper template for the docs
2013-08-20 15:02:01 -07:00
Matt Colyer
72cedf9027
Synchronize directory structure
2013-08-20 15:02:01 -07:00
Matt Colyer
c38eccf39d
Add a simple documentation index
2013-08-20 15:02:01 -07:00
Matt Colyer
3be3543ad9
Update deploy task to include guides as well
2013-08-20 15:02:01 -07:00
Matt Colyer
588efa2e11
Add grunt 'docs' task to build both guides and API docs
2013-08-20 15:02:01 -07:00
Kevin Sawicki
2fee0f1083
💄 space separate array items
2013-08-20 14:20:16 -07:00
Corey Johnson
55ee11e16a
Compile keymaps into atom application
2013-08-20 14:19:32 -07:00
Kevin Sawicki
b22e4d67ec
Upgrade to terminal@0.5.0
2013-08-20 12:32:01 -07:00
Corey Johnson & Nathan Sobo
85626383ee
Move command handling to AtomWindow
2013-08-20 12:23:15 -07:00
Corey Johnson & Nathan Sobo
fc60ba682c
💄
2013-08-20 12:23:15 -07:00
Corey Johnson & Nathan Sobo
0e7cb3ff78
🔫
2013-08-20 12:23:15 -07:00
Corey Johnson & Nathan Sobo
03ef5a72c4
Make getTemplate take keystrokesByCommand as a parameter
...
This clarifies the fact that we can't call this method without having
a keystrokes hash from a running window, which is why we also have a
getDefaultTemplate method which doesn't need the keystrokes.
2013-08-20 12:23:15 -07:00
Corey Johnson & Nathan Sobo
2cd91eda98
💄
2013-08-20 12:23:15 -07:00
Corey Johnson & Nathan Sobo
5d27d56056
Rename ApplicationMenu::parseTemplate to translateTemplate
2013-08-20 12:23:15 -07:00
Corey Johnson & Nathan Sobo
0c9a1fdc80
Rename Keymap::toObject to Keymap::keystrokesByCommand
...
Also add spec for passing a selector
2013-08-20 12:23:15 -07:00
Corey Johnson & Nathan Sobo
79dd4320da
Rename AtomMenu to ApplicationMenu
2013-08-20 12:23:14 -07:00
probablycorey
37c7c8abee
Remove the whitespace grunt:lint was complaining about
2013-08-20 12:23:14 -07:00
probablycorey
77bb829a3e
Make keymap.toObject(selector) work
2013-08-20 12:23:14 -07:00
probablycorey
dba0998687
Revert "trigger commands from the browser process on the active.element"
...
This reverts commit f023ce89096b1c7a6faf337cf48d29cfbb296091.
2013-08-20 12:23:14 -07:00
probablycorey
0c542d2317
Menu Items only show keyBindings that match the selector "body"
2013-08-20 12:23:14 -07:00
probablycorey
477ac1768b
Rename ApplicationMenu to AtomMenu
...
This is so all browser process classes start with Atom.*
2013-08-20 12:23:14 -07:00
probablycorey
39ec96021e
Listen for application commands using the @command method
...
This adds application level commands to the command palette.
2013-08-20 12:23:14 -07:00
probablycorey
ab397b306c
AtomApplication listens for application level events
2013-08-20 12:23:14 -07:00
probablycorey
d3575bd45e
Remove return value from openPath()
...
It is not used anywhere
2013-08-20 12:23:13 -07:00
probablycorey
f6ad85488c
Fix parameter ordering
2013-08-20 12:23:13 -07:00
probablycorey
b8406368c6
Add underscore so download update menu item works
2013-08-20 12:23:13 -07:00
probablycorey
6278364ed2
💄
2013-08-20 12:23:13 -07:00
probablycorey
068e656627
Remove unused atom.getVersion method
2013-08-20 12:23:13 -07:00
probablycorey
6d50d05336
Move default menu creation into ApplicationMenu
2013-08-20 12:23:13 -07:00
probablycorey
60d804fb72
Don't intercept non-core commands
2013-08-20 12:23:13 -07:00
probablycorey
fb2439f193
Move ApplicationMenu to the AtomApplication
...
This moves it completely out of the renderer process
2013-08-20 12:23:13 -07:00
probablycorey
4d8b2672ff
Rename menu-bar to application-menu
...
Also move it to the src root in preparation for it's use in the
browser process
2013-08-20 12:23:13 -07:00
probablycorey
e057d35048
Create a MenuBar object (instead of treating it like a singleton.)
2013-08-20 12:23:13 -07:00
probablycorey
6e3517dd4a
Menu bar does not directly access the keymap anymore
...
This makes the keyBindingsForCommand methods obsolete
2013-08-20 12:23:12 -07:00
probablycorey
37c17075ea
Add keymap.toObject()
2013-08-20 12:23:12 -07:00
probablycorey
1074642e8f
Remove unused openWindow method
2013-08-20 12:23:12 -07:00
probablycorey
e360379ced
Create default menu bar that is shown if atom crashes during launch
2013-08-20 12:23:12 -07:00
probablycorey
efb70e0562
Remove specs and methods that are no longer used
2013-08-20 12:23:12 -07:00
probablycorey
9a156c8629
Remove keymap.bindDefaultKeys
...
No longer needed since default keys are handled in AtomApplication
2013-08-20 12:23:12 -07:00
probablycorey
afd1a7419d
Menu bar is load by the first created Atom Window
2013-08-20 12:23:12 -07:00
Corey Johnson
b3582b2632
Add keymap.keyBindingsForCommand
2013-08-20 12:23:11 -07:00
Corey Johnson
e68bc47dc5
💄
2013-08-20 12:23:11 -07:00
Corey Johnson
b5f4b8d254
Set devMode option on loadSettings
2013-08-20 12:23:11 -07:00
probablycorey
8803bab816
trigger commands from the browser process on the active.element
2013-08-20 12:23:11 -07:00
Kevin Sawicki
b94d22794b
Upgrade to bracket-matcher@0.3.0
2013-08-20 12:09:34 -07:00
Kevin Sawicki
27cee3e19c
Don't terminate tokenization if stack size changes
...
Previously Python import blocks were not tokenizing correctly since
the loop was prematurely terminating when a match at the end of the line
was reached and no tokens were generated for it.
This approach was incorrect since the tokenizer may have just popped a rule
and another loop could possibly pop more rules.
Now this early termination is only performed if the stack size hasn't changed.
2013-08-20 11:38:06 -07:00
Ben Ogle
b10a01ddc2
fix naming of background colors in default ui colors
2013-08-20 11:25:30 -07:00
Ben Ogle
14b5308bb3
Merge pull request #733 from atom/bo-theme-buttons
...
Add styled buttons to themes
2013-08-20 11:22:26 -07:00
Ben Ogle
4c0ffe122d
Add buttons to the light ui theme
2013-08-20 11:14:07 -07:00
Ben Ogle
7ca2779e56
Fix background highlight colors naming
2013-08-20 11:13:54 -07:00
Ben Ogle
5579551521
add buttons to ui dark theme
2013-08-20 10:47:26 -07:00
Kevin Sawicki
d89e95dc54
💄 Move extend under class declaration
2013-08-20 10:15:31 -07:00
Corey Johnson
7ace46d81f
Add private beta docs
2013-08-20 09:43:48 -07:00
Kevin Sawicki
e13eebdcd2
Remove fontello
...
This is no longer used now that the octicons include video/audio
on/off icons that are used in the collaboration package.
2013-08-19 21:42:32 -07:00
Kevin Sawicki
3cb3c888ba
Upgrade to collaboration@0.5.0
2013-08-19 21:42:28 -07:00
Kevin Sawicki
0947e1cffa
Upgrade octicons for mute/unmute icons
2013-08-19 21:40:19 -07:00
Kevin Sawicki
044bcd4053
💄
2013-08-19 21:28:09 -07:00
Kevin Sawicki
805c17d20c
Revert "Remove ws dependency now managed in collaboration package"
...
This reverts commit dc8362cabf .
This is still needed since apm install does not install dev dependencies
of third-party modules.
2013-08-19 21:25:37 -07:00
Kevin Sawicki
77ed5324b1
Move specs from spec/app to spec/
2013-08-19 21:23:00 -07:00
Kevin Sawicki
dc8362cabf
Remove ws dependency now managed in collaboration package
2013-08-19 21:08:02 -07:00
Kevin Sawicki
87b859b947
Update links for new repo location under atom org.
2013-08-19 20:50:09 -07:00
Kevin Sawicki
f92e61a683
Upgrade to collaboration@0.4.0
2013-08-19 20:36:56 -07:00
Kevin Sawicki
3bd04f8da8
Remove atom-collaboration-server from .gitmodules
...
This is now reference in the collaboration package repository
2013-08-19 20:33:03 -07:00
Kevin Sawicki
d08aa4b9d9
Update telepath submodule URL for new location in atom org.
2013-08-19 20:32:37 -07:00
Kevin Sawicki
38a3adae89
Update apm submodule URL for new location in atom org.
2013-08-19 20:30:32 -07:00
Kevin Sawicki
2f8c9ffa66
Remove src from nof list of directories
...
It no longer contains any package specs.
2013-08-19 20:20:36 -07:00
Kevin Sawicki
a7a1244599
Flatten spec directory
2013-08-19 20:13:58 -07:00
Kevin Sawicki
6ec8b6e26f
Update doc tasks for new src layout
2013-08-19 20:13:57 -07:00
Kevin Sawicki
76332c76bd
Flatten src directory
...
* Move src/app to src/
* Move src/stdlib to src/
* Remove src/app and src/stdlib from NODE_PATH
2013-08-19 20:13:57 -07:00
Kevin Sawicki
45c11e6fd4
Move src/app/keymaps to repo root
2013-08-19 20:13:57 -07:00
Kevin Sawicki
b6785d78e8
Reset themes in afterEach
...
This ensures they don't bleed over into other specs.
2013-08-19 19:49:52 -07:00
Kevin Sawicki
e31cd35ce8
Upgrade apm to fix update command
...
Closes #726
2013-08-19 19:25:28 -07:00
Kevin Sawicki
c80373b11e
Upgrade to image-view@0.2.0
2013-08-19 19:15:52 -07:00
Kevin Sawicki & Nathan Sobo
cf65945d5c
🐎 Upgrade telepath for performance improvements
2013-08-19 18:07:32 -07:00
Kevin Sawicki & Nathan Sobo
f76108fdfd
🐎 Cache tab whitespace regexes in Token
2013-08-19 18:07:32 -07:00
Ben Ogle
8ea8671430
Merge pull request #706 from github/bo-inject-less-vars
...
Add theme dir(s) to less import paths -> allow package LESS to import from the current theme
2013-08-19 18:03:55 -07:00
Kevin Sawicki & Nathan Sobo
f02d05811c
Upgrade to collaboration@0.3.0 to fix CI
2013-08-19 16:25:05 -07:00
Kevin Sawicki & Nathan Sobo
0af8c9362b
Remove duplicate call to TokenizedBuffer:resetTokenizesLines()
...
This is already handled in an event listener bound to 'grammar-changed'
which TokenizedBuffer::setGrammar triggers.
2013-08-19 16:20:35 -07:00
Ben Ogle
d01cde3358
add another import
2013-08-19 15:55:17 -07:00
Ben Ogle
128543ec7e
fix import
2013-08-19 15:55:17 -07:00
Ben Ogle
5de52c59ee
Comment
2013-08-19 15:55:17 -07:00
Ben Ogle
ea019870fb
Add in the fallback ui colors.
2013-08-19 15:55:17 -07:00
Ben Ogle
a98b2fd37f
Success colors are green!
2013-08-19 15:55:17 -07:00
Ben Ogle
c2aefa7616
Change colors in dark ui to match pattern in light ui colors
2013-08-19 15:55:17 -07:00
Ben Ogle
2d12f08375
Update light ui with color system
2013-08-19 15:55:16 -07:00
Ben Ogle
66162902be
Pull colors out of the dark-ui theme
2013-08-19 15:55:16 -07:00
Ben Ogle
595f6a975f
import the right colors file
2013-08-19 15:55:16 -07:00
Ben Ogle
15085384b9
change name of event to reloaded
2013-08-19 15:55:16 -07:00
Ben Ogle
0eff8deabc
remove parens from the list comp
2013-08-19 15:55:16 -07:00
Ben Ogle
72db35d663
rename colors to ui-colors
2013-08-19 15:55:16 -07:00
Ben Ogle
51ec4d3285
Use a few colors in the themes.
2013-08-19 15:55:16 -07:00
Ben Ogle
8b149f63cb
Add colors.less files.
...
Adds one for each theme, and a fallback
2013-08-19 15:55:16 -07:00
Ben Ogle
15a48147b1
Use theme.reload event to reload the theme stylesheets
2013-08-19 15:55:16 -07:00
Ben Ogle
3bc6023a66
Use import paths from themes when loading a less sheet
2013-08-19 15:55:15 -07:00
Ben Ogle
b89e58e551
ThemeManager emits a reload event when reloaded
2013-08-19 15:55:15 -07:00
Ben Ogle
6cd003f68e
Add reloadStylesheets() to AtomPackage
2013-08-19 15:55:15 -07:00
Ben Ogle
8730638ade
Add directory and ImportPaths paths to themes
2013-08-19 15:55:15 -07:00
Kevin Sawicki & Nathan Sobo
c3850e4d44
Upgrade to collaboration@0.2.0 for summit branch updates
2013-08-19 15:54:39 -07:00
Kevin Sawicki
0a8ebca67a
Use an async waterfall to chain deploy commands
2013-08-19 15:34:25 -07:00
Kevin Sawicki & Nathan Sobo
347801b074
Merge branch 'summit'
...
Conflicts:
src/app/config.coffee
src/atom-application.coffee
src/main.coffee
2013-08-19 14:01:24 -07:00
Kevin Sawicki & Nathan Sobo
fe010eccc7
Update telepath for SharedString::lineForRow speedup
2013-08-19 13:51:59 -07:00
Kevin Sawicki
2959b51afb
Upgrade telepath for assumePrimitiveElements optimization
2013-08-19 13:43:43 -07:00
Kevin Sawicki & Nathan Sobo
24e0d8fc03
Add ~/.atom/dev/packages to package load path in dev mode
2013-08-19 09:56:43 -07:00
Kevin Sawicki & Nathan Sobo
42a34c01c9
Add devMode flag to atom.getLoadSettings()
2013-08-19 09:55:11 -07:00
Nathan Sobo
cfe5bb1b02
Get benchmark-suite running again
2013-08-18 10:20:20 -06:00
Nathan Sobo
f23f23d032
Upgrade telepath for assumePrimitive optimization
2013-08-18 10:19:36 -06:00
Kevin Sawicki
65330a00e3
Special case last row in TextBuffer::suggestedLineEndingForRow
...
This fixes the TextBuffer specs for changes in the underlying
behavior of SharedString::lineEndingForRow in telepath.
2013-08-16 21:22:06 -07:00
Kevin Sawicki
7f9b057c52
💄
2013-08-16 21:20:47 -07:00
Kevin Sawicki
647b5881a8
Remove TextBuffer::lineEndingForRow spec covered in telepath
2013-08-16 21:16:34 -07:00
Kevin Sawicki
9c76214fe9
Expect undefined instead of null for invalid buffer rows
2013-08-16 21:03:04 -07:00
Kevin Sawicki
3d5516fad9
Default to empty arrays for user and bundled package paths
2013-08-16 20:52:20 -07:00
Kevin Sawicki
338b59dc5f
Upgrade telepath for line performance improvements
2013-08-16 20:45:30 -07:00
probablycorey
09c8b2a3a8
Remove the close-without-confirm event
...
This was not being used anymore.
2013-08-16 15:49:24 -07:00
Kevin Sawicki & Nathan Sobo
1ca7663be4
Upgrade packages for collaboration branch releases
2013-08-16 12:35:05 -07:00
Kevin Sawicki & Nathan Sobo
0e2d6caf94
Upgrade telepath for stack overflow fix
2013-08-16 12:05:15 -07:00
Kevin Sawicki & Nathan Sobo
fe2baa18ca
Use atom.getAvailablePackageNames() to load package specs
2013-08-16 11:35:43 -07:00
Kevin Sawicki & Nathan Sobo
a147dc01d7
Clear undo stack after setting initial buffer text
2013-08-16 11:30:37 -07:00
Kevin Sawicki & Nathan Sobo
2f4555a16f
Add config.userPackageDirPaths which includes dev packages in dev mode
2013-08-16 11:18:08 -07:00
Kevin Sawicki & Nathan Sobo
4c121bb084
Upgrade telepath for timestamp fix
2013-08-16 11:18:00 -07:00
Matt Colyer
d3130845d1
Adds deploy-docs grunt task
2013-08-16 10:11:14 -07:00
Kevin Sawicki
13a622a853
Upgrade telepath for SharedString transaction fixes
2013-08-16 09:08:58 -07:00
Ben Ogle
1254ceeb6d
Merge pull request #715 from github/bo-pane-events
...
Add a pane:became-inactive event
2013-08-15 18:26:41 -07:00
Ben Ogle
eea38a696f
add a pane:became-inactive event
2013-08-15 17:28:14 -07:00
Kevin Sawicki & Nathan Sobo
27928a7145
Upgrade telepath for Document::begin/commit/abortTransaction()
2013-08-15 17:17:32 -07:00
Kevin Sawicki
67755ccdc3
Upgrade apm for new link in dev mode command
2013-08-15 08:15:15 -07:00
Kevin Sawicki & Nathan Sobo
6178c64c68
Add ~/.atom/dev/packages to package load path in dev mode
2013-08-14 17:41:32 -07:00
Kevin Sawicki & Nathan Sobo
b305a09be3
Add devMode flag to atom.getLoadSettings()
2013-08-14 17:33:58 -07:00
Kevin Sawicki & Nathan Sobo
5313f6cf66
Upgrade telepath for Range.fromPointWithDelta() fix
2013-08-14 16:35:30 -07:00
Kevin Sawicki & Nathan Sobo
f00bb58932
TokenizedBuffer constructor now takes an object
2013-08-14 16:35:10 -07:00
Kevin Sawicki & Nathan Sobo
ad36b2c6a6
Allow user package specs to override bundled package specs
2013-08-14 15:36:45 -07:00
Kevin Sawicki & Nathan Sobo
b3fe63b1b4
Don't return duplicates from atom.getAvailalblePackageNames()
2013-08-14 15:34:47 -07:00
Kevin Sawicki
c6d1409151
Merge branch 'master' into summit
...
Conflicts:
.pairs
package.json
spec/app/tokenized-buffer-spec.coffee
src/app/edit-session.coffee
src/app/project.coffee
src/app/window.coffee
src/atom-application.coffee
static/root-view.less
2013-08-14 14:05:35 -07:00
Kevin Sawicki
5235114eed
Use fs.readdirSync() for listing package directories
...
Previously fsUtils.listTreeSync() was used which returns every path
in the tree, not just paths directly underneath the root path.
This speeds up the spec suite require time by not stat'ing the entire
node_modules directory.
2013-08-14 11:29:48 -07:00
Ted Nyman
c61d45805d
Formatting
2013-08-14 11:01:50 -07:00
Ted Nyman
c294c94c02
Update documentation location
2013-08-14 11:01:50 -07:00
Kevin Sawicki
b7a8e22d82
Set spec type after all specs in the category are required
2013-08-14 10:58:56 -07:00
Nathan Sobo
bd6dda6f0f
Don't load buffer contents from disk without an isModified key in state
...
When we deserialize a replicated buffer, we always want to honor the
current contents of state. If the state was produced by a call to
`getState` instead of `serialize`, it won't have an `isModified` key,
so we should not load from disk.
2013-08-14 11:55:37 -06:00
Nathan Sobo
468034f261
🙊
2013-08-14 11:46:10 -06:00
Nathan Sobo
c6a0e385f7
Always include text in serialized buffer state; also include isModified
...
Previously, we were not including the text when serializing an
unmodified buffer. We would use the absence of the text field to
determine that the buffer was previously unmodified when deserializing.
The problem is that text now stores the markers associated with the
buffer, and we want to retain those across serialization regardless of
the modified status. So now I include the text always, along with an
isModified flag which if true, will tell to reload the buffer if it
has changed since we last serialized it. Reloading a buffer should
probably do a diff-and-patch in the future rather than replacing the
contents outright, so that we always preserve markers as best as we can.
2013-08-14 11:31:17 -06:00
Kevin Sawicki
4781636889
💄 Group dependencies by type
2013-08-14 10:27:12 -07:00
Nathan Sobo
fa6ea01bfc
Restore assignment of @project ivar in TextBuffer
...
Because TextBuffers need a reference to `project` during deserialization,
and because the project global deserializes text buffers while it itself
is being deserialized (which happens before the global is actually
assigned), we have to pass a project reference into TextBuffer. This is
really annoying and makes me want to store the references to open buffers
elsewhere. But for now it's the only way to break the circularity.
2013-08-14 10:49:48 -06:00
Kevin Sawicki
f021ce3657
Compile bundled package files in compile task
...
Any .coffee, .cson, and .less files found in bundled Atom packages
in node_modules are now compiled during the compile task
2013-08-14 09:28:17 -07:00
Kevin Sawicki
71b238fafc
Upgrade to command-logger@0.2.0
2013-08-14 08:48:13 -07:00
Kevin Sawicki
63df6c8dcd
Upgrade to settings-view@0.3.0
2013-08-14 08:48:13 -07:00
Kevin Sawicki
7fc8cea167
Upgrade to settings-view@0.2.0
2013-08-14 08:48:12 -07:00
Kevin Sawicki
726a60b348
Upgrade to archive-view 0.2
2013-08-14 08:48:12 -07:00
Kevin Sawicki
0429ed09ff
Remove humanize-plus dependency
2013-08-14 08:48:12 -07:00
Kevin Sawicki
14df854ea8
Remove keytar dependency
2013-08-14 08:48:12 -07:00
Kevin Sawicki
c8727873c7
Remove jqueryui-browser dependency
2013-08-14 08:48:12 -07:00
Kevin Sawicki
3b7e1400c0
Remove roaster dependency
2013-08-14 08:48:12 -07:00
Kevin Sawicki
2ddd77122e
Remove config.bundledPackagesDirPath that was src/packages
2013-08-14 08:48:12 -07:00
Kevin Sawicki
41268c67d7
Remove internal packages section from spec reporter
2013-08-14 08:48:12 -07:00
Kevin Sawicki
4777c4c42c
Remove mention of src/packages
2013-08-14 08:48:12 -07:00
Kevin Sawicki
ced95e7ad9
Remove src/packages from NODE_PATH
2013-08-14 08:48:12 -07:00
Kevin Sawicki
68ddeeef01
Pull out collaboration package into a separate repo
2013-08-14 08:48:12 -07:00
Kevin Sawicki
184e6a14c7
Pull out settings-view package into a separate repo
2013-08-14 08:48:12 -07:00
Kevin Sawicki
25378e9905
Pull out command-panel package into a separate repo
2013-08-14 08:48:12 -07:00
Kevin Sawicki
80a6999af4
Pull out fuzzy-finder package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
257722f82e
Pull out command-palette package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
58a938b3f1
Pull out snippets package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
875f187915
Pull out status-bar package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
229e380e28
Pull out tree-view package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
52e8e3aaf3
Pull out autocomplete package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
dc775f93ff
Pull out tabs package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
63b1546212
Pull out bookmarks package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
b9585d1cf2
Pull out package-generator package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
189b9051a9
Pull out whitespace package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
f3ef0b77a8
Pull out bracket-matcher package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
bdefff6abe
Pull out editor-stats package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
235078be8e
Pull out github-sign-in package into a separate repo
2013-08-14 08:48:11 -07:00
Kevin Sawicki
02d7668c73
Pull out link package into a separate repo
2013-08-14 08:48:10 -07:00
Kevin Sawicki
7bb41f57b0
Pull out markdown-preview package into a separate repo
2013-08-14 08:48:10 -07:00
Kevin Sawicki
c1c50a0b4c
Pull out symbols-view package into a separate repo
2013-08-14 08:48:10 -07:00
Kevin Sawicki
7bc135d82e
Pull out grammar-selector package into a separate repo
2013-08-14 08:48:10 -07:00
Kevin Sawicki
a1847b5355
Pull out go-to-line package into a separate repo
2013-08-14 08:48:10 -07:00
Kevin Sawicki
3686a5b0ba
Pull out git-diff package into a separate repo
2013-08-14 08:48:10 -07:00
Kevin Sawicki
db82f6bb8b
Pull out gists package into a separate repo
2013-08-14 08:48:10 -07:00
Kevin Sawicki
d5b5c76485
Pull out gfm package into a separate repo
2013-08-14 08:48:10 -07:00
Kevin Sawicki
6430aefaa8
Pull out toml package into a separate repo
2013-08-14 08:48:10 -07:00
Kevin Sawicki
f41ffd6cbf
Pull out wrap-guide package into a separate repo
2013-08-14 08:48:10 -07:00
Kevin Sawicki
8a44da49d1
Remove tilde from humanize-plus dependency
2013-08-14 08:48:10 -07:00
Kevin Sawicki
9e50c829a0
Pull out image-view package into separate repo
2013-08-14 08:48:10 -07:00
Kevin Sawicki
d2cf652a0b
Pull out command-logger package to separate repo
2013-08-14 08:48:09 -07:00
Kevin Sawicki
01fee754f7
Pull out autoflow package to separate repo
2013-08-14 08:48:09 -07:00
Kevin Sawicki
24c304481e
Pull out archive-view package to separate repo
2013-08-14 08:48:09 -07:00
Kevin Sawicki
d02d42f40e
Pull out spell-check package to separate repo
2013-08-14 08:48:09 -07:00
Kevin Sawicki
c747e1c686
Separate npm and apm output with an empty line
2013-08-14 08:46:53 -07:00
Corey Johnson & Nathan Sobo
3c166edd26
Start switch to Telepath for undo/redo
...
Also, TextBuffer spec passes!
2013-08-13 17:34:31 -07:00
Corey Johnson & Nathan Sobo
2d46a98ea2
Update telepath
2013-08-13 17:14:10 -07:00
Cheng Zhao
51a847c820
Merge pull request #697 from github/buffered-node-process
...
Remove dependency of bundled node
2013-08-13 00:05:17 -07:00
Cheng Zhao
4f7c7568e9
Update apm: No more need of bundled node.
2013-08-13 14:48:40 +08:00
Cheng Zhao
326ee2e5fa
💄
2013-08-13 14:47:28 +08:00
Cheng Zhao
32a0faf068
Don't assume we have a bundled node process in BufferedProcess.
2013-08-13 14:47:27 +08:00
Cheng Zhao
66da13a6ff
Add BufferedNodeProcess to execute apm and nak.
...
On Windows the shebang string is not supported, so we haveto execute apm
and nak as scripts instead of as executables.
2013-08-13 14:47:27 +08:00
Cheng Zhao
ebaa6c349f
Revert "Downgrade to atom-shell@v0.2.1"
...
This reverts commit d7cfb757d6 .
2013-08-13 14:47:27 +08:00
Kevin Sawicki
063d48c4ab
Use ScopeSelector class from first-mate
...
Begin migrating TextMate helpers out of src/ and into the first-mate
package.
2013-08-12 16:22:18 -07:00
Jessica Lord & Kevin Sawicki
0a53e2f7bb
Use getText() instead of val() for username & password
2013-08-12 15:52:28 -07:00
Jessica Lord & Kevin Sawicki
12fbd89e79
Clear username and password when detached
2013-08-12 15:46:01 -07:00
Jessica Lord & Kevin Sawicki
6a16ef0cf8
Listen for buffer changed events to validate sign in view
2013-08-12 15:45:52 -07:00
Jessica Lord & Kevin Sawicki
8d180dd767
Set text security on line elements only
...
This ensures the disc does not appear when the field is empty
2013-08-12 15:44:57 -07:00
Jessica Lord & Kevin Sawicki
475fefa2fd
turned off html clear to show duplicate password disc
2013-08-12 15:01:41 -07:00
Jessica Lord & Kevin Sawicki
86d0fca621
Switch GitHub Sign in to mini-editors
...
Previously bootstrap <input> fields didn't work with keybindings.
Switched to mini-editors to enable expected keybindings. Edited tabs for
focusing and password text to disc style.
2013-08-12 14:56:47 -07:00
Kevin Sawicki
3056efd351
Remove unused lines variable
2013-08-12 14:41:14 -07:00
Kevin Sawicki
7ba57df6f7
Mention new fixes and additions
2013-08-12 10:10:22 -07:00
Nathan Sobo
5c2f4d939a
Move new additions to philosophy section and tone-down the rhetoric
2013-08-12 10:46:46 -06:00
probablycorey
6c9c7b6d92
Fuzzy filter scores files more than 10 directories deep
...
All files more than 10 directories deep were accidentally being scored as 0.
2013-08-12 09:43:43 -07:00
Nathan Sobo
210dd61d2a
Start adding some serious philosophy to the contribution guidelines
2013-08-12 00:18:58 -06:00
Kevin Sawicki
aa302cb935
Add -syntax suffix to converted themes
2013-08-11 13:51:07 -07:00
Kevin Sawicki
994e856ccd
Tweak error message when theme file is not found
2013-08-11 13:44:33 -07:00
Kevin Sawicki
808f7e6ed3
Add grunt task to convert TextMate themes to Atom themes
2013-08-11 13:42:34 -07:00
Kevin Sawicki
22f7bc8f26
Upgrade to terminal 0.3.0
2013-08-09 17:34:31 -07:00
Kevin Sawicki
ab0b2cf12e
Bundle atom/terminal package by default
2013-08-09 17:24:11 -07:00
Kevin Sawicki
599a2ad021
Group specs into four sections
...
1. Core specs located in spec/
2. Internal package specs in src/packages
3. Bundled package specs in node_modules
4. User package specs in ~/.atom/packages
2013-08-09 17:24:07 -07:00
Kevin Sawicki
db649798ef
Ignore missing symlinks in fsUtils.traverseTreeSync()
...
These were previously throwing an error from the call to
statSync().
Now statSync() is wrapped in a try block and only performed when
lstatSync() reports a symbolic link.
2013-08-09 17:23:29 -07:00
Jessica Lord & Kevin Sawicki
4f8f8c43a4
Rename event to open-settings from open-config
2013-08-09 13:38:01 -07:00
Jessica Lord & Kevin Sawicki
4491a9302b
Forward config menu click event to focused window
...
Previously the Atom > Preferences... menu just logged an error message.
Now it fires a window:open-config event to the focused window.
2013-08-09 13:29:12 -07:00
Jessica Lord & Kevin Sawicki
ce138b56c0
add jlord to pairs file
2013-08-09 13:28:25 -07:00
Kevin Sawicki
8f8c0cbf45
Mention theme not found fix
2013-08-09 11:26:37 -07:00
Kevin Sawicki
7e04d85e1e
Log a warning when a theme fails to load
...
Previously Atom would fail to launch if a theme referenced in
the config was not found.
2013-08-09 11:25:07 -07:00
Kevin Sawicki
2597837ba7
Use ~/.atom/storage instead of ~/.atom/.storage
...
The serialization format is changing for telepath and this allows a clean
upgrade and the dotted directory does not seem needed since it is already
behind one dotted directory (.atom).
2013-08-09 10:38:57 -07:00
Kevin Sawicki
136836e615
Allow non-existent files to be opened from fuzzy finder
...
The previous isFileSync check prevented unsaved buffers with a path to a
non-existent file from being opened from the fuzzy finder.
Now an error is only displayed if the selected path is a directory.
Closes #686
2013-08-09 10:31:40 -07:00
Matt Colyer
82882624ce
Handle atom standard output from atom.sh
2013-08-09 10:23:05 -07:00
Kevin Sawicki
c03e849089
Add missing dot in usage ellipsis
2013-08-09 10:10:39 -07:00
Kevin Sawicki
25f98e223f
Use subscribe for syntax event callback
2013-08-09 09:37:21 -07:00
Kevin Sawicki
c2290ab8b4
Show symlink directory icon in tree view
2013-08-08 21:35:43 -07:00
Kevin Sawicki
9c39587d6e
Debounce grammar-added/updated render callback
...
This prevents rendering from occurring once per grammar loaded
when Atom is started with a markdown preview already opened.
2013-08-08 20:37:54 -07:00
Kevin Sawicki
972aa75f3e
Add mixin for adding octicon font-face
2013-08-08 18:54:13 -07:00
Kevin Sawicki
1d1e4b33d4
💄
2013-08-08 18:44:08 -07:00
Kevin Sawicki
79a61d47b2
Remove unused parameter
2013-08-08 18:41:00 -07:00
Kevin Sawicki
26c9e7cfa9
Re-render markdown when a grammar is added
...
Previously if the markdown preview launched before grammars finished
loading the fenced code blocks would not be colorized correctly.
2013-08-08 18:28:26 -07:00
Kevin Sawicki
28f9f22614
Map coffee-script fence to coffee extension
2013-08-08 18:20:51 -07:00
Kevin Sawicki
69caf6c98f
Upgrade to roaster 0.0.7
2013-08-08 18:18:16 -07:00
Kevin Sawicki
51f1bb896c
Update config.cson example with accurate keys
2013-08-08 18:07:40 -07:00
Kevin Sawicki
0fd834004e
Support optional dash in CoffeeScript fence name
2013-08-08 18:03:47 -07:00
Kevin Sawicki
d2654cb70c
💄
2013-08-08 17:56:01 -07:00
Kevin Sawicki
268553cda9
Use css extension for css fenced blocks
2013-08-08 17:50:40 -07:00
Kevin Sawicki
64a61d86d4
Update docs for new window keybinding change
2013-08-08 17:48:28 -07:00
Kevin Sawicki
216a9e11c0
Run set-development-version task during ci task
2013-08-08 17:25:35 -07:00
probablycorey
04373d2d9d
Score files with a low nesting depth higher.
...
Fixes #692
2013-08-08 17:06:58 -07:00
probablycorey
9a2e768882
Group mini-editor css styles
2013-08-08 17:06:58 -07:00
Kevin Sawicki
d13d0543b9
Ignore display-property-grouping lint errors
...
These aren't always accurate since the computed value for floats
can override the specified value.
2013-08-08 16:47:00 -07:00
Kevin Sawicki
6178294537
Use octicon mixin for gutter and line fold icons
...
This corrects a line height mismatch issue between the editor
and the gutter for certain fonts and font sizes.
Close #689
2013-08-08 16:12:26 -07:00
Kevin Sawicki & Nathan Sobo
4871a7a06d
Floor subpixel aware values when calculating position left
...
getClientRects() does not return subpixels so subpixels values
should be ignored if returned either from scrollView.offset() or
scrollLeft().
2013-08-08 16:11:23 -07:00
Kevin Sawicki
fe23d82e23
Use octicon mixins in fuzzy finder and status bar
2013-08-08 14:17:58 -07:00
Kevin Sawicki
d6e94b1105
Try chevrons instead of triangles in command panel
2013-08-08 14:12:19 -07:00
Kevin Sawicki
f0a2b17914
Use octicon mixins in command-panel.less
2013-08-08 14:10:28 -07:00
Kevin Sawicki
ab2252f80f
Try chevrons in tree view instead of triangles
2013-08-08 14:00:18 -07:00
Matt Colyer
f1cf8711a8
Explictly stop updates if the version is a SHA
2013-08-08 10:41:44 -07:00
Nathan Sobo
0f14dd9420
Disable pane-splitting spec for now
...
We'll get it working once this branch gets merged to master.
2013-08-08 11:01:01 -06:00
Kevin Sawicki & Nathan Sobo
d7cfb757d6
Downgrade to atom-shell@v0.2.1
...
atom-shell@v0.3.0 removed the node binary which was needed for
scripts spawned by BufferedProcess such as nak. We can explore
other approaches to spawning node-based subprocesses if it's
a deal-breaker to ship with a node binary.
2013-08-08 09:45:17 -07:00
Kevin Sawicki
ea2113e753
Omit 'core.themes' from general-panel
...
This setting is handled in the theme-panel
2013-08-08 08:45:09 -07:00
Kevin Sawicki
05f4604005
Spy on shell.beep() to prevent an audible beep when specs run
2013-08-08 08:37:09 -07:00
Kevin Sawicki
71b2400dbc
Upgrade to space-pen 1.2.0
...
This should speed up CI times that were originally slowed
down by the upgrade from 1.0.0 to 1.1.0
2013-08-07 21:28:11 -07:00
Kevin Sawicki
1de46330d7
Upgrade to coffee-script-tmbundle 4.0.0
...
Previous spec failures caused by earlier upgrade were fixed in prior commit.
2013-08-07 18:20:54 -07:00
Kevin Sawicki
de4e24582d
Comma separate left and right matcher in or matcher
2013-08-07 18:20:41 -07:00
Kevin Sawicki
dffb0b35e7
Revert to coffee-script-tmbundle 2.0.0
...
4.0.0 caused some specs to fails regarding commenting lines
2013-08-07 18:07:06 -07:00
Kevin Sawicki
d8ec4573ec
Remove all references to vendor/packages
...
3rd party packages are stored in node_modules
2013-08-07 17:40:15 -07:00
Kevin Sawicki
09a6e9a42e
Remove vendored TextMate themes
2013-08-07 17:39:18 -07:00
probablycorey
57fe9c6903
Remove left padding to gutter fold octicon (it causes spec failures)
2013-08-07 16:46:32 -07:00
probablycorey
cf3e1a9b6d
Remove superfluous logging
2013-08-07 15:52:49 -07:00
probablycorey
4629905b65
Remove all references to TextMate themes.
...
Let's not ship with TextMate theme support. Our .less theme files are
easier to read and write than TextMate themes. If we want to use
TextMate themes we should write a script that converts them to the
Atom .less version.
Closes #629
2013-08-07 15:21:47 -07:00
Kevin Sawicki
d4e8de60ce
Upgrade coffee-script-tmbundle
2013-08-07 14:37:55 -07:00
Kevin Sawicki
3237636206
Use octicon variables in bookmarks.less
2013-08-07 14:06:30 -07:00
Kevin Sawicki
934fe1c6d0
Add left padding to gutter fold octicon
2013-08-07 14:01:23 -07:00
Kevin Sawicki
9aff1476d4
Use octicon variables in command-panel.less and editor.less
2013-08-07 13:57:41 -07:00
Kevin Sawicki
084d310366
Use octicon variables in fuzzy-finder.less
2013-08-07 13:50:38 -07:00
Kevin Sawicki
d122d18a34
Update New Window menu keybinding to cmd-shift-n
2013-08-07 13:39:45 -07:00
Kevin Sawicki
6fb3dea9cd
Use octicon variables in status-bar.less
2013-08-07 13:36:06 -07:00
Nathan Sobo
ceb2a3857d
Merge pull request #681 from github/scope-ranges
...
Add ability to query for a range covering a given scope/position
2013-08-07 12:14:00 -07:00
Nathan Sobo
ab80da4363
Add EditSession.bufferRangeForScopeAtCursor
2013-08-07 12:53:09 -06:00
Nathan Sobo
19545e1113
Add setTextInBufferRange to EditSession
...
We should probably rename TextBuffer.change to .setTextInRange as well
2013-08-07 12:53:09 -06:00
Nathan Sobo
88603e2771
Use normalized variables instead of original parameters
2013-08-07 12:53:09 -06:00
Nathan Sobo
5f323cc67c
Add TokenizedBuffer.bufferRangeForScopeAtPosition(selector, position)
...
You can call this method with a selector and a position and get the range
of any matching scope containing the given position, or a falsy value
if the scope does not match at that position.
2013-08-07 12:53:03 -06:00
Jason Rudolph & Nathan Sobo
39d15d6087
Add _.isSubset
2013-08-07 12:37:03 -06:00
Jason Rudolph & Nathan Sobo
eaba8ef016
Add Jason Rudolph to .pairs file
2013-08-07 12:36:05 -06:00
Jason Rudolph & Nathan Sobo
6cc4cf87b9
💄 Add intention-revealing helper method
2013-08-07 12:36:05 -06:00
Kevin Sawicki
c6a914a6e1
Default looking for octicons in ~/github/octicons
2013-08-07 10:59:45 -07:00
Kevin Sawicki
32af574206
Add trailing newline to octicon-utf-codes.less
2013-08-07 10:56:08 -07:00
Kevin Sawicki
552ab150cb
Mention no more reload for theme changes
2013-08-07 10:52:36 -07:00
Kevin Sawicki
2698925d10
Reload stylesheets when core.themes config changes
...
Extracted a new ThemeManager class to encapsulate all the theme
work previously done directly in atom global.
Closes #642
2013-08-07 10:51:25 -07:00
probablycorey
13b1632dfc
Update octicons
2013-08-07 10:37:12 -07:00
probablycorey
de204b0321
Add script to automate octicon updates
2013-08-07 10:37:12 -07:00
Kevin Sawicki
def07344e9
Visually separate core and package specs in reporter
2013-08-07 09:32:29 -07:00
Kevin Sawicki
4ef3f39a7b
Rename settings.cson to settings-view.cson
2013-08-07 08:53:20 -07:00
Kevin Sawicki
2bf26e8db5
Rename theme-config-panel-spec to theme-panel-spec
2013-08-07 08:52:02 -07:00
Kevin Sawicki
24b3b664dc
Rename config-view-spec.less to settings-view-spec.less
2013-08-07 08:51:23 -07:00
Kevin Sawicki
2352829b28
Rename config-view.less to settings-view.less
2013-08-07 08:50:45 -07:00
Kevin Sawicki
3ca34dad40
Tweak settings view button text
2013-08-07 08:50:31 -07:00
Kevin Sawicki
15dc6442d0
Upgrade to less 1.4.2
...
Prevents issues with version incompatibilities between our less fork,
grunt-contrib-less, and grunt-lesslint.
Closes #647
2013-08-06 19:40:53 -07:00
Kevin Sawicki
d775038f8d
Don't expand snippets when text is selected
...
Closes #675
2013-08-06 19:31:49 -07:00
Kevin Sawicki
3829970a09
Register edit session with project at end of ctor
...
Previously edit-session-created could be fired before certain properties
were set which could cause listeners to raise exceptions.
2013-08-06 19:09:14 -07:00
Kevin Sawicki
633306e6bf
Fire edit-session-created event when deserializing
...
This event was previously not being fired when splitting panes
since the constructor pushing the edit session directly to the
project's array.
Closes #684
2013-08-06 19:07:24 -07:00
Kevin Sawicki
7d58008ed3
Show completions for current scope in autocomplete
...
Add the TextMate "completions" preferences available as "editor.completions"
and add all completions matching the current scope of the cursor position
when building the autocomplete word list.
Closes #676
2013-08-06 18:18:22 -07:00
Kevin Sawicki
bc9e32a3cf
💄
2013-08-06 17:11:32 -07:00
Kevin Sawicki
a98791ebd0
Add filter support to selector grammar
...
Currently these are unimplemented but they can now be parsed
successfully since they are used by certain snippets.
2013-08-06 17:06:22 -07:00
Kevin Sawicki
a72e1813e9
Support stand-alone negation in selector grammar
...
Previously negation was only supported as the right hand side
of an composite.
2013-08-06 16:54:32 -07:00
Kevin Sawicki
fe9ffbeb12
Support selectors with a trailing comma
2013-08-06 15:55:50 -07:00
Kevin Sawicki
e61992c1f6
Allow _ characters in selector segments
2013-08-06 15:21:31 -07:00
Kevin Sawicki
612332cd9f
Allow + characters in selector segments
2013-08-06 15:12:24 -07:00
Kevin Sawicki
40d81ca22c
Upgrade to space-pen 1.1.1
...
Fixes regression when removing multiple views
2013-08-06 15:09:11 -07:00
Kevin Sawicki
faf02460f5
Add TextMateScopeSelector.toCssSelector()
2013-08-06 15:09:10 -07:00
Kevin Sawicki
f010e8a888
Add Editor.scopesForBufferPosition()
...
Passes through to EditSession.scopesForBufferPosition()
2013-08-06 15:09:10 -07:00
probablycorey
712e9c7203
Add spec to test cutToEndOfLine when soft wrap is enabled
2013-08-06 14:02:30 -07:00
probablycorey
128a030880
Moving to the start or end of a line treats screen lines as real lines
2013-08-06 14:02:30 -07:00
Kevin Sawicki
907c3245a9
Upgrade to space-pen 1.1.0
...
Uses WeakMap cache for faster element to View lookup.
2013-08-06 13:49:20 -07:00
Kevin Sawicki
da7cbeddc7
Support scope selectors with dashes in segments
...
Previously dashes were only interpreted as negation which
wasn't correct.
Segments should be able to contain a dash as long as it isn't at
the very beginning of the segment.
2013-08-06 12:18:36 -07:00
Kevin Sawicki
8b55c4981d
Add assert for multi-segment prefix
2013-08-06 11:35:37 -07:00
Kevin Sawicki
b7a59748c4
Adding missing parens
2013-08-06 10:47:56 -07:00
probablycorey
b49de61402
Rename getMovePreviousWordBoundaryBufferPosition
...
New name is getPreviousWordBoundaryBufferPosition
2013-08-06 08:53:27 -07:00
probablycorey
c38edbfe0b
Cursor.moveCursorToBeginningOfNextWord() behaves correctly on whitespace
...
Closes #669
2013-08-05 16:47:29 -07:00
Kevin Sawicki
557ada7c81
Read metadata when TextMate packages are loaded
...
The bundled TextMate packages contain valid package metadata
which should be available when displaying in the packages settings
view.
2013-08-05 16:09:10 -07:00
Kevin Sawicki
236ec6fc3b
Ignore children with no names
...
This will be elements that aren't package views
2013-08-05 15:54:03 -07:00
Kevin Sawicki
35890588ca
Remove separation for release that didn't happen
2013-08-05 14:10:52 -07:00
probablycorey
c6c0ecbb37
Make changelog entries more readable
2013-08-05 14:09:08 -07:00
probablycorey
1fdbf4612c
Update changelog
2013-08-05 13:56:22 -07:00
probablycorey
948fa3a91c
Fix naming errors
2013-08-05 13:54:39 -07:00
probablycorey
a624d52f42
💄
2013-08-05 13:54:39 -07:00
probablycorey
2b50f2409e
Add settings view package description
2013-08-05 13:54:39 -07:00
probablycorey
0b11ce64a2
Rename config view to settings view
2013-08-05 13:54:39 -07:00
probablycorey
f70c6928cd
Use rootView.open to display config panel
2013-08-05 13:54:39 -07:00
probablycorey
cbb6d58d1b
Rename ThemeConfigPanel to ThemePanel
2013-08-05 13:54:39 -07:00
probablycorey
4dc2e48e8c
Activate all packages before loading the settings config panel
2013-08-05 13:54:39 -07:00
probablycorey
7385bd97c6
💄
2013-08-05 13:54:39 -07:00
probablycorey
063078cd34
Remove Config panel class and update Settings Panel spec
2013-08-05 13:54:39 -07:00
probablycorey
789b8a2987
Rename GeneralConfigPanel to SettingsPanel
2013-08-05 13:54:38 -07:00
probablycorey
53ea135799
Add defaults for autodave and excludeVcsIgnoredPaths
2013-08-05 13:54:38 -07:00
probablycorey
32242687bd
Rename @pack to @metadata
2013-08-05 13:54:38 -07:00
probablycorey
3aca556827
Simplify tab clicking
2013-08-05 13:54:38 -07:00
probablycorey
372a64bd5d
Typo
2013-08-05 13:54:38 -07:00
probablycorey
3f83d42afc
Fix broken specs
2013-08-05 13:54:38 -07:00
probablycorey
8bf877e400
Inline available packages
2013-08-05 13:54:38 -07:00
probablycorey
29f45b787b
Add set loading text
2013-08-05 13:54:38 -07:00
probablycorey
68491a512d
Fix broken specs
2013-08-05 13:54:38 -07:00
probablycorey
bd72f245b1
Inline installed packages panel
2013-08-05 13:54:38 -07:00
probablycorey
4ef5082887
Add filter to packages config panel
2013-08-05 13:54:38 -07:00
probablycorey
27822fb37c
Remove editor config panel
2013-08-05 13:54:38 -07:00
probablycorey
be803bf122
Remove comments
2013-08-05 13:54:38 -07:00
probablycorey
db29a1b6a2
Auto populate config settings
2013-08-05 13:54:38 -07:00
probablycorey
25d4bb8d6c
Add _.uncamelcase
2013-08-05 13:54:37 -07:00
probablycorey
8cc47a2069
Add _.deepExtend
2013-08-05 13:54:37 -07:00
probablycorey
c825e20f62
Make config view focusable
2013-08-05 13:54:37 -07:00
probablycorey
69eace6292
Remove references to windowed config panel
2013-08-05 13:54:37 -07:00
probablycorey
2284435551
Move config view to a package
2013-08-05 13:54:37 -07:00
probablycorey
1252b94fcb
Warn if no deserilizer can be found for some state
2013-08-05 13:54:37 -07:00
probablycorey
8d0afc087f
Don't set uri when pane item doesn't serialize itself
2013-08-05 13:54:37 -07:00
probablycorey
f789c7e2df
💄
2013-08-05 12:43:56 -07:00
probablycorey
80bbd035db
Do not download update if Atom is running in dev mode
2013-08-05 12:40:47 -07:00
Kevin Sawicki
0397df2f4d
Rename package main to just Bookmarks
...
This allows the view that displays the bookmarks for browsing
to be called just BookmarksView.
2013-08-05 11:32:50 -07:00
Kevin Sawicki
cd8796b561
Add select list to browse and open bookmarks from
2013-08-05 11:28:10 -07:00
Kevin Sawicki
68103601e6
Move folding changes to next release section
2013-08-01 09:13:12 -07:00
Kevin Sawicki
c278ead451
Mention bookmarks view
2013-08-01 09:12:18 -07:00
Kevin Sawicki
c44e9b6308
💄
2013-08-01 08:48:15 -07:00
Kevin Sawicki
1c37537d19
Show octicon in gutter for bookmarked line
2013-08-01 08:47:41 -07:00
Kevin Sawicki
684dec4b24
Always suggest non-negative indent levels
...
Close #668
2013-07-31 18:01:38 -07:00
Kevin Sawicki
30f72c1519
Update bootstrap URL in .gitmodules
2013-07-30 16:39:23 -07:00
Kevin Sawicki
69733a8f7a
Put file name at beginning of markdown preview title
...
Previously the 'Markdown Preview - ' prefix dominated the tab text
making it hard to disambiguate which preview was for which editor.
Now the title leads with the file name and follows with a "Preview" suffix.
2013-07-29 14:41:23 -07:00
Kevin Sawicki
c22bbf98b8
Remove unused redis dependency
2013-07-28 19:22:45 -07:00
Kevin Sawicki
555611aa1f
Prepend new participant views instead of appending
2013-07-27 13:45:21 -07:00
Nathan Sobo
579cfb4a4a
Disable audio for self-streams
2013-07-27 13:53:10 -06:00
Kevin Sawicki
9753a63227
Trigger connected event for local media connection to self
...
Also upgrade atom-collaboration-server
2013-07-27 11:56:04 -07:00
Kevin Sawicki
292815c014
Add participant view for self
...
This will show your own camera video and which color you appear
as to other session participants.
2013-07-27 11:38:16 -07:00
Kevin Sawicki
b38a6f2235
Request avatars to be 420px
2013-07-27 11:10:58 -07:00
Kevin Sawicki
0b6f38118e
Add back setting avatar background image to avatar url
2013-07-27 11:02:44 -07:00
Kevin Sawicki
50932bc9e2
Remove unused require
2013-07-27 10:42:25 -07:00
Kevin Sawicki
99ff064072
💄 remove unneeded units
2013-07-27 10:40:50 -07:00
Kevin Sawicki
51899e602c
💄 remove trailing whitespace
2013-07-27 10:40:15 -07:00
Kevin Sawicki
bca15a7589
Show avatar until video becomes available
2013-07-27 10:39:24 -07:00
Kevin Sawicki
c723dd5406
Exclude remote markers from TextBuffer.serialize()
2013-07-27 10:31:11 -07:00
Kevin Sawicki
891f032def
Unfocus collaboration spec
2013-07-27 10:06:04 -07:00
Nathan Sobo
433435743e
Log some collaboration events until we're more stable
2013-07-27 09:48:01 -06:00
Ben Ogle
2a010cb00a
volume 100%; remove remove link
2013-07-26 17:41:15 -07:00
Ben Ogle
d13cc7d96f
Merge branch 'summit' of github.com:github/atom into summit
2013-07-26 17:32:07 -07:00
Kevin Sawicki & Matt Colyer
624ca77173
Wrap webkitGetUserMedia in nextTick for reliability
2013-07-26 17:24:37 -07:00
Ben Ogle
ac8c95d9a6
Fix padding on connections count
2013-07-26 17:16:47 -07:00
Ben Ogle
492fc46fb8
Add avatar when video hidden
2013-07-26 17:08:52 -07:00
Ben Ogle
86d1990894
Add fontello icons.
...
Remove this when we have octicons for audio and video
2013-07-26 16:54:35 -07:00
Kevin Sawicki & Nathan Sobo
121ee10f5a
Call atom.getWindowState() instead of accessing property directly
2013-07-26 16:17:32 -07:00
Kevin Sawicki & Nathan Sobo
c1e6aeece8
Store live reference to root view state in window state instead of clone
2013-07-26 16:17:32 -07:00
Ben Ogle
450caa124a
add another color
2013-07-26 16:12:34 -07:00
Ben Ogle
85e90f2c09
Add ParticipantViewContainer
...
makes the stacking of participant views waaay better
2013-07-26 16:10:04 -07:00
Ben Ogle
c6293afc3b
Add index to participant view to stack multiple vids
2013-07-26 15:39:03 -07:00
Ben Ogle
87183f52ad
comment out the avatar thing
2013-07-26 15:39:03 -07:00
Ben Ogle
c49e092082
toggle classes added to participant view
2013-07-26 15:39:03 -07:00
Ben Ogle
100110430a
Add toggle states and colors to toggle vid and audio buttons
2013-07-26 15:39:03 -07:00
Kevin Sawicki & Nathan Sobo
9d2756a8ae
Rename audio/video configuration keys
2013-07-26 15:28:23 -07:00
Kevin Sawicki & Nathan Sobo
163015517e
Create media connection for each other participant
2013-07-26 15:06:16 -07:00
Ben Ogle
5b267f4a3f
cursor has site color
2013-07-26 14:44:32 -07:00
Ben Ogle
e07f92c4ee
Pick colors for the cursors and volume bars
2013-07-26 14:32:36 -07:00
Ben Ogle
a7b496f8c1
add site-id class to selection-view
2013-07-26 14:10:11 -07:00
Ben Ogle
f562a84bb5
add TODO for the crappy siteId hash usage
2013-07-26 14:01:18 -07:00
Ben Ogle
e84065fd9d
Better use of participant object
2013-07-26 14:00:53 -07:00
Ben Ogle
c6737caae6
add test for clientId -> siteId map
2013-07-26 13:50:02 -07:00
Ben Ogle
a0b7b4dd96
use clientIdToSiteId in participant view
2013-07-26 13:50:02 -07:00
Ben Ogle
4fe90900cc
add clientIdToSiteId to session's document
2013-07-26 13:48:24 -07:00
Matt Colyer
e088daa15b
Copy the session id when hosting via the statusbar
2013-07-26 13:43:25 -07:00
Matt Colyer
cc9902958e
Remove unused github avatar initialization
2013-07-26 13:30:40 -07:00
Matt Colyer
b87b4c1089
Reduce size of video stream
2013-07-26 12:22:33 -07:00
Kevin Sawicki & Nathan Sobo
c2ec172617
Upgrade telepath to avoid marker update corner case
2013-07-26 13:04:42 -06:00
Kevin Sawicki & Nathan Sobo
a60320df3a
Add Participant class
2013-07-26 12:25:20 -06:00
Kevin Sawicki & Nathan Sobo
32f75040de
Spec 💄 – Move spies to beforeEach and s/host/leader/g
2013-07-26 11:48:42 -06:00
probablycorey
c7321a795b
Use WsChannel to handle media webrtc handshake
2013-07-26 08:54:07 -07:00
Kevin Sawicki & Nathan Sobo
8493ef092e
Add Editor.getRelativePath() that delegates to EditSession
2013-07-26 08:45:41 -07:00
Kevin Sawicki & Nathan Sobo
a9edaaba51
Add failing spec for splitting edit sessions
2013-07-26 08:45:13 -07:00
Kevin Sawicki
0e89db68a3
Upgrade to patrick 0.4
2013-07-26 08:40:45 -07:00
Kevin Sawicki
4f6f26735c
Upgrade to git-utils 0.24
2013-07-26 08:38:40 -07:00
Cheng Zhao
b9261a33be
Update apm: update node to v0.10.15.
2013-07-26 20:16:56 +08:00
Kevin Sawicki & Nathan Sobo
b4401cf10c
Upgrade to patrick 0.3
2013-07-25 19:22:02 -07:00
Kevin Sawicki & Nathan Sobo
b55d4364ff
Allow audio/video to be disabled via config
2013-07-25 19:18:09 -07:00
Kevin Sawicki & Nathan Sobo
4c65332e55
Log when attempting to open non-session URL
2013-07-25 19:04:16 -07:00
Kevin Sawicki & Nathan Sobo
20f983874a
Log the session being joined from the browser process
2013-07-25 19:03:30 -07:00
Kevin Sawicki & Nathan Sobo
f859c1e32a
Warn if we drop replication events
2013-07-25 19:00:32 -07:00
Ben Ogle
eb40100b0f
Add action bar to video.
2013-07-25 18:40:42 -07:00
Ben Ogle
ad946ea482
Add email title to user. Could be a proper tooltip?
2013-07-25 18:40:42 -07:00
Ben Ogle
f547af2896
Add small view by clicking
2013-07-25 18:40:41 -07:00
Ben Ogle
05caa45939
use getOtherParticipants in initial view creation
2013-07-25 18:40:41 -07:00
Ben Ogle
b73f020555
remove listening event, add logic to started and stopped events
2013-07-25 18:40:41 -07:00
Ben Ogle
b4ee425711
subscribe to participant change events in status bar view
2013-07-25 18:40:41 -07:00
Kevin Sawicki & Nathan Sobo
ffb4387aab
Upgrade atom-collaboration-server
2013-07-25 18:10:49 -07:00
Kevin Sawicki & Nathan Sobo
ba644ea9f1
Add SSL support to session
2013-07-25 17:58:51 -07:00
Ben Ogle & Corey Johnson
602fecefa6
Handle participant exiting
2013-07-25 16:05:48 -07:00
probablycorey
d49d3156eb
Display audio and video on all sessions
2013-07-25 16:05:48 -07:00
probablycorey
47ee4337ce
Add Ben Ogle to pairs file
...
For the 50th time
2013-07-25 16:05:48 -07:00
probablycorey
a8cdf2036d
Add isListening to session
2013-07-25 16:05:48 -07:00
probablycorey
0ee9aecbd1
Change isHost to isLeader
2013-07-25 16:05:48 -07:00
probablycorey
34b6c71e8a
💄
2013-07-25 16:05:47 -07:00
Ben Ogle
ff73ffcb16
style the video
2013-07-25 16:05:47 -07:00
Ben Ogle
cff8833b4c
Add status bar icon for sharing.
...
Also adds participant views to the rootView
2013-07-25 16:05:30 -07:00
Kevin Sawicki & Nathan Sobo
9f8a6598e3
Use avatar url directly
2013-07-25 14:36:32 -07:00
Kevin Sawicki & Nathan Sobo
0771270c0d
Remove user from ec2 host
2013-07-25 14:17:25 -07:00
Kevin Sawicki & Nathan Sobo
185f97e3b2
Default session host to ec2 instance
2013-07-25 13:59:23 -07:00
Kevin Sawicki & Nathan Sobo
3685cb3b52
Display participants in host and guest views
...
Also add back media connection starting in Session
2013-07-25 13:47:55 -07:00
Kevin Sawicki & Nathan Sobo
bb3cacf2cd
Unify guest and host sessions into single class
2013-07-25 12:56:38 -07:00
Kevin Sawicki & Nathan Sobo
241e787d0f
Emit 'participant-exited' events
2013-07-25 12:26:41 -06:00
Kevin Sawicki & Nathan Sobo
4c49b69613
Include participant data in 'participant-entered' event
2013-07-25 12:13:08 -06:00
Kevin Sawicki & Nathan Sobo
954a130f41
Include participants data w/ GuestSession 'started' events
2013-07-25 12:08:33 -06:00
Kevin Sawicki & Nathan Sobo
721bc67389
💄
2013-07-25 11:59:17 -06:00
Kevin Sawicki & Nathan Sobo
1755702e1a
Include participants data w/ HostSession 'started' event
2013-07-25 11:51:07 -06:00
Kevin Sawicki & Nathan Sobo
a4e1d84ebb
Assign clientId to Session from its channel
2013-07-25 11:50:29 -06:00
Kevin Sawicki & Nathan Sobo
b9e23b96eb
Use atom-collaboration-server directly in specs
2013-07-25 10:38:54 -06:00
Kevin Sawicki & Nathan Sobo
a22587d09b
Send OAuth token as web socket query param
2013-07-24 19:47:10 -07:00
Kevin Sawicki & Nathan Sobo
50c1fb2e3c
Remove redis channel
2013-07-24 18:42:52 -07:00
Kevin Sawicki & Nathan Sobo
1f00254759
Handle presence on server and clean up channel/event names
2013-07-24 19:35:05 -06:00
Kevin Sawicki & Nathan Sobo
de403a68c3
Remove Pusher-related code
2013-07-24 19:10:05 -06:00
Kevin Sawicki & Nathan Sobo
6b19cbad44
Replace RedisChannel with WsChannel
2013-07-24 18:59:55 -06:00
Kevin Sawicki & Nathan Sobo
1fc6509a51
Use Redis pub/sub for channels. ⚡ to @mcolyer for the idea!
2013-07-24 17:20:01 -06:00
Ben Ogle
e1a78d1f0f
newlines follow last line's indent
2013-07-24 15:28:12 -07:00
Ben Ogle
c7de0ba3bc
fix #634 jump to the beginning of the fold when clicking on folded block.
2013-07-24 15:12:19 -07:00
Kevin Sawicki & Nathan Sobo
1bfb10bf2b
Distribute events with pusher
2013-07-24 15:05:39 -07:00
Ben Ogle & Corey Johnson
16cce1efb1
nof
2013-07-24 14:55:43 -07:00
Ben Ogle
b3025a4dfc
rename rowRangeForCommentFoldAtBufferRow -> rowRangeForCommentAtBufferRow
2013-07-24 13:09:00 -07:00
Ben Ogle
11a1a27dbd
Handle * prefixes properly
2013-07-24 12:18:27 -07:00
Ben Ogle
e76fe439ba
Fix tests. Indent oops.
2013-07-24 12:18:27 -07:00
Ben Ogle
cc8513afdf
remove !! hack on isComment
2013-07-24 12:18:27 -07:00
Ben Ogle
c17f5bd41e
Return false from isComment() for consistency
2013-07-24 12:18:27 -07:00
Ben Ogle
2d9ef9aad6
Add note for ScreenRow in tokenizedBuffers
2013-07-24 12:18:27 -07:00
Ben Ogle
f7bb8aab9e
Move rowRangeForParagraphAtBufferRow into LanguageMode
2013-07-24 12:18:27 -07:00
Ben Ogle
c5c1980c9a
remove fdescribe
2013-07-24 12:11:33 -07:00
Ben Ogle
f234b8fa27
respects comment chars
2013-07-24 12:11:33 -07:00
Ben Ogle
778e3bbd67
respects indentation
2013-07-24 12:11:33 -07:00
Ben Ogle
5d8d5da602
autoflow respects current paragraphs
2013-07-24 12:11:33 -07:00
Ben Ogle
fe449e31e3
Move config stuff out of the autoflow
2013-07-24 12:11:33 -07:00
Ben Ogle
617f0ae79a
tests work again
2013-07-24 12:11:33 -07:00
Ben Ogle
cf3de0e8dc
move autoflow into lib dir
2013-07-24 12:11:32 -07:00
Ben Ogle
173c47f780
Fix issue in jumping to next bookmark
2013-07-24 12:07:56 -07:00
Ben Ogle
77e12e3658
add comment about using better invalidation strategy
2013-07-24 12:07:56 -07:00
Ben Ogle
8db9551700
Handle one bookmark
2013-07-24 12:07:56 -07:00
Ben Ogle
ece0c76158
Use @editor.command to bind to commands
2013-07-24 12:07:56 -07:00
Ben Ogle
8881847c61
Handle jumping case when no bookmarks
2013-07-24 12:07:55 -07:00
Ben Ogle
4254efd49e
remove fdescribe
2013-07-24 12:07:55 -07:00
Ben Ogle
6968075d38
Jumping to bookmarks works
2013-07-24 12:07:55 -07:00
Ben Ogle
3cb29e1d5c
visually marks bookmarked lines
2013-07-24 12:07:55 -07:00
Ben Ogle
e632b091f9
add initial bookmark plugin
2013-07-24 12:07:55 -07:00
Ben Ogle
afa92e51f6
update changelog for the folding changes
2013-07-24 12:05:16 -07:00
Ben Ogle
d746c7566c
Fix CommandPanel spec
...
I added a new sample-with-comments.js file which
has more matches for 'sort', so the test needed
to be updated.
2013-07-24 12:05:16 -07:00
Ben Ogle
0a075c6934
remove fdescribe
2013-07-24 12:05:16 -07:00
Ben Ogle
cef3b7d634
move folding tests from EditSession -> LanguageMode
2013-07-24 12:05:16 -07:00
Ben Ogle
c31ba651cf
Add shortcuts for folding at an indent level.
2013-07-24 12:05:16 -07:00
Ben Ogle
d4d3426b4e
Add foldAllAtIndentLevel()
2013-07-24 12:05:16 -07:00
Ben Ogle
89e3d2efec
Rearrange folding functions
...
I think it is more clear to have small constituent
functions below functions that compose them. IMO,
this reads better.
2013-07-24 12:05:15 -07:00
Ben Ogle
c2326d096b
Fold comments in foldAll()
2013-07-24 12:05:15 -07:00
Ben Ogle
18146346f6
add failing comment fold tests
2013-07-24 12:05:15 -07:00
Ben Ogle
519c514092
add a new sample with some comments
2013-07-24 12:05:15 -07:00
Ben Ogle
4187615fa7
Fix test
2013-07-24 11:53:33 -07:00
Ben Ogle
d98ea0180c
Proper handling of cursor up and down behavior when selection range
2013-07-24 11:53:33 -07:00
Ben Ogle
226a4bf391
Add tests for moving to end of selection
2013-07-24 11:53:33 -07:00
Ben Ogle
a689a5906e
add moveToEndOfSelection option to moveLEft and moveRight
2013-07-24 11:53:33 -07:00
Kevin Sawicki
71cbcf9c4a
Enable peer.js debug flag
...
This will log messages from the reliable library to try
and debug the packet loss issue.
2013-07-24 08:29:07 -07:00
Kevin Sawicki
40d76d2db9
Replace git global with project.getRepo()
2013-07-23 19:31:32 -07:00
Kevin Sawicki & Nathan Sobo
79fab6602f
Don't replicate spell check markers
2013-07-23 18:31:30 -07:00
Kevin Sawicki & Nathan Sobo
672d0051cc
Upgrade to peer.js 0.2.8
2013-07-23 18:04:52 -07:00
Kevin Sawicki & Nathan Sobo
865ab16fdf
Uncomment essential logging lines
2013-07-23 17:52:05 -07:00
Corey Johnson & Matt Colyer
ce2a613858
Remove sharing ivar from Host Session
2013-07-23 17:49:20 -07:00
Corey Johnson & Matt Colyer
087c4c60a1
Don't turn on the web cam until sharing is begun
2013-07-23 17:49:20 -07:00
Corey Johnson & Matt Colyer
77acaf0a1a
Refactor Host Session
2013-07-23 17:49:20 -07:00
Corey Johnson & Matt Colyer
12ffff9dde
Refactor guest session
2013-07-23 17:49:20 -07:00
Corey Johnson & Matt Colyer
81147c4bc6
Add TURN server support for all WebRTC connections
2013-07-23 17:49:19 -07:00
Matt Colyer
0e3940373d
Add user to turn server configuration
2013-07-23 17:49:19 -07:00
Corey Johnson & Matt Colyer
07dea75562
Configure TURN and STUN servers
2013-07-23 17:49:19 -07:00
Kevin Sawicki & Nathan Sobo
1bd9a6bef3
Display cursors from all replicas
2013-07-23 17:49:19 -07:00
Kevin Sawicki & Nathan Sobo
1bf6307480
Display selections from all replicas
2013-07-23 17:49:19 -07:00
Kevin Sawicki & Nathan Sobo
b8b9653fc0
💄
2013-07-23 17:49:19 -07:00
Kevin Sawicki & Nathan Sobo
636f81703c
Distinguish remote and local selections in EditSession
...
Also: Add an Environment spec helper class that swaps out global
variables to simulate running code in different environments for the
replication specs.
2013-07-23 17:49:14 -07:00
Ben Ogle
18370bb663
Merge pull request #645 from github/bo-move-word-behavior
...
Add new commands for moving between words
2013-07-23 15:38:37 -07:00
Ben Ogle
1465736974
Merge branch 'master' into bo-move-word-behavior
...
Conflicts:
src/app/editor.coffee
2013-07-23 15:34:20 -07:00
Ben Ogle
3907344fef
Merge pull request #646 from github/bo-small-dark-theme-change
...
Small dark theme change
2013-07-23 15:32:51 -07:00
Ben Ogle
7c414d47cb
Merge pull request #644 from github/bo-fix-scrollbar-issues
...
Fix scrollbar css issues
2013-07-23 15:31:38 -07:00
Kevin Sawicki
5161a71bae
Remove unused telepath key from initial data hash
2013-07-23 12:02:59 -07:00
Kevin Sawicki & Nathan Sobo
9c67aa105b
Replace createSite with new Site
2013-07-23 11:58:41 -07:00
Kevin Sawicki
adbdb1492f
DRY up repo URL to project path mapping
2013-07-23 11:56:42 -07:00
Kevin Sawicki
4fff0b9792
Remove project path from state so it doesn't replicate
2013-07-23 11:40:21 -07:00
Kevin Sawicki
4c912f4538
Pretty print window state JSON when serializing to disk
2013-07-23 11:34:03 -07:00
Kevin Sawicki
a305e15746
Shrink avatar image/video to 32px
2013-07-23 08:31:32 -07:00
Kevin Sawicki
202492cc4b
Trigger started/stopped events based on peer.js open/close events
2013-07-23 08:28:02 -07:00
Kevin Sawicki
bc74be531d
Mention keymap changes and inspect element menu
2013-07-23 08:13:32 -07:00
Kevin Sawicki & Nathan Sobo
f3a932bbde
Remove unused initialPath load setting
...
This is now handled inside Project@deserialize
2013-07-22 20:00:15 -07:00
Kevin Sawicki & Nathan Sobo
7aa2084147
💄
2013-07-22 19:59:18 -07:00
Kevin Sawicki & Nathan Sobo
019a0f2b84
Don't deserialize null pane container root
2013-07-22 19:58:59 -07:00
Kevin Sawicki & Nathan Sobo
501a6b7d11
Add site global used to create all telepath documents
2013-07-22 19:58:27 -07:00
Kevin Sawicki & Nathan Sobo
0370eb9236
Default soft wrap to millionth column
...
This is because peer.js cannot encode Infinity
but it should be ideally controlled via a boolean
flag instead of column number.
2013-07-22 18:40:57 -07:00
Kevin Sawicki & Nathan Sobo
4cba8ab48f
Serialize project when editor window is unloaded
2013-07-22 18:39:32 -07:00
Kevin Sawicki & Nathan Sobo
f4e7693e70
💩 Put apm back to version we clobbered during merge
2013-07-22 18:47:16 -06:00
Kevin Sawicki & Nathan Sobo
73adc40c4e
💄 use array-shorthand instead of new Range
2013-07-22 18:39:46 -06:00
Kevin Sawicki & Nathan Sobo
844469a9a7
Resolve filePath in Project.buildBuffer
2013-07-22 18:39:22 -06:00
Kevin Sawicki & Nathan Sobo
faa8a8d9fc
Use absolute path instead of uri when opening save-as dialog
2013-07-22 18:18:42 -06:00
Kevin Sawicki & Nathan Sobo
fa59aafffb
Relativize buffer paths for replication
...
TextBuffers now maintain a reference to their containing project to
make it easier to test replication of buffers between environments
without worrying about the value of the `project` global.
We're also starting the process of moving the `git` global into Project
as the `Project.repository` property.
2013-07-22 18:13:01 -06:00
Corey Johnson & Matt Colyer
d051cbe0f6
Add video and audio streams to host view
2013-07-22 14:13:58 -07:00
Corey Johnson & Matt Colyer
1f18c0ba02
Stream audio and video feed of host to guest view
...
Conflicts:
src/packages/collaboration/lib/session-utils.coffee
2013-07-22 13:58:55 -07:00
Corey Johnson & Matt Colyer
034aaa2927
Assume first message sent by host is a telepath document
2013-07-22 13:57:46 -07:00
probablycorey
7b57c12f59
💄
2013-07-22 13:57:36 -07:00
Ben Ogle
592b0886b2
new editor is now cmd+n, cmd+shift+n is new window fixes #652
2013-07-22 13:45:04 -07:00
Kevin Sawicki & Nathan Sobo
642df0924d
Merge branch 'master' into shared-buffers
...
Conflicts:
vendor/apm
2013-07-22 11:54:51 -07:00
Kevin Sawicki & Nathan Sobo
1685d62cae
Don't allow caching of coffee requires to be overridden in tasks
...
This is a follow-on to the previous commit which handled the index.html
case.
2013-07-22 11:50:14 -07:00
Kevin Sawicki & Nathan Sobo
e705e3e045
Don't allow caching of coffee requires to be overridden
...
Previously coffeestack was requiring a different version of coffeescript
than atom was, which had a side effect of re-registering the extension
handler for .coffee requires. This disabled coffee-cache, which made
require really slow again.
2013-07-22 11:44:39 -07:00
Kevin Sawicki
56a2c79fe1
Merge branch 'collaboration-presence' into shared-buffers
...
Conflicts:
src/app/edit-session.coffee
src/app/project.coffee
src/app/text-buffer.coffee
src/app/window.coffee
src/packages/collaboration/lib/bootstrap.coffee
src/packages/collaboration/lib/session-utils.coffee
vendor/telepath
2013-07-22 10:12:45 -07:00
Kevin Sawicki
0bb7d3ba09
Default save as dialog to directory of active item
2013-07-22 09:11:57 -07:00
Ben Ogle
8e92499ebb
Fix comments so they match up with actual behavior
2013-07-22 09:02:05 -07:00
Ben Ogle
62e0274ff6
hook selectToFirstCharacterOfLine up to a command in editor.
2013-07-22 09:02:05 -07:00
Ben Ogle
fe4c4e9751
Add selectToFirstCharacterOfLine to editSession
2013-07-22 09:02:05 -07:00
Kevin Sawicki
baa03f5587
Upgrade apm
...
Closes #638
2013-07-22 08:35:10 -07:00
Nathan Sobo
d85560e886
💄
2013-07-21 18:38:51 -06:00
Nathan Sobo
25d594e717
Update spell-check package for new telepath-based marker API
2013-07-21 18:00:55 -06:00
Nathan Sobo
383ba80d1e
Use EditSession.getSoftTabs instead of .softTabs attr in snippets spec
2013-07-21 17:51:42 -06:00
Nathan Sobo
561e666091
Eliminate EditSession.markersForBufferPosition
...
We use findMarkers for everything now
2013-07-21 17:51:02 -06:00
Nathan Sobo
071f8a6a84
Use .findMarkers instead of .markersForBufferPosition in snippets
2013-07-21 17:50:12 -06:00
Nathan Sobo
da95d26c58
Upgrade telepath to fix markers at end of buffer being invalid
2013-07-21 17:49:51 -06:00
Nathan Sobo
9c4478302e
Translate attribute names in DisplayBufferMarker.matchesAttributes
2013-07-21 17:49:15 -06:00
Nathan Sobo
28a0bdaf95
Add TextBuffer.destroyMarker
2013-07-21 17:14:16 -06:00
Nathan Sobo
50ade54c3c
Also serialize project in pane specs that remove the pane from the DOM
...
The project contains the only reference to the buffer that belongs to
the edit session in the serialized pane. If we tear down the pane then
the edit session is destroyed and the buffer is removed. So we have to
serialize and restore the project to its previous state once we finish
tearing down the view.
2013-07-21 16:55:44 -06:00
Nathan Sobo
d43f459ad1
Fall back to .serialize() if a pane item has no .getState() method
2013-07-21 16:46:22 -06:00
Nathan Sobo
383985d331
Ensure there is clean serialization of RootView state
...
Everything from RootView to Pane needs to return a serialized clone of
its state, so we don't accidentally further mutate the serialized state
in tests.
2013-07-20 22:40:40 -06:00
Nathan Sobo
5246d4cd72
Add Project.getState() and make Project.serialize clone state
2013-07-20 21:24:32 -06:00
Nathan Sobo
97c4b9a83a
Don't clone state in EditSession.getState()
2013-07-20 21:21:51 -06:00
Nathan Sobo
ff9acb50ff
Deserialize display buffer when deserializing edit sessions
...
Previously, we kept display buffer attributes in the edit session's
serialized state, then recreated a fresh display buffer each time when
deserializing edit sessions. Now that DisplayBuffer and TokenizedBuffer
are serializable, we can just include them directly when serializing
the edit session.
2013-07-20 18:21:44 -06:00
Nathan Sobo
ca0832e58e
Include folds in DisplayBuffer deserialization
2013-07-20 16:41:46 -07:00
Nathan Sobo
503629fdcb
💄
2013-07-20 16:40:38 -07:00
Nathan Sobo
eeeb453cf9
Back DisplayBuffer with a telepath document
2013-07-20 16:22:26 -07:00
Nathan Sobo
e1f795a352
Back TokenizedBuffer with a telepath document
2013-07-20 15:42:13 -07:00
Nathan Sobo
2b7a294cdd
Use new marker attribute API to store/replicate selection goal ranges
2013-07-20 02:24:35 -07:00
Nathan Sobo
c85932d46b
Preserve folds and all selection attributes when copying EditSessions
2013-07-20 02:23:12 -07:00
Nathan Sobo
75cf1acce1
Honor preserveFolds option when creating a new selection
2013-07-20 02:23:12 -07:00
Nathan Sobo
7f5d71dada
💄
2013-07-20 02:23:12 -07:00
Nathan Sobo
1f8fd3c16c
Fix isReversed option name
2013-07-20 02:23:12 -07:00
Nathan Sobo
7ccfd6c94b
💄
2013-07-20 02:23:12 -07:00
Nathan Sobo
1911ef2d80
Fix 'isReversed' option name for marker creation
2013-07-20 02:23:12 -07:00
Nathan Sobo
74347ea874
Upgrade telepath to allow marker attributes to be updated
2013-07-20 02:23:06 -07:00
Ben Ogle
214d73d812
Remove line highlight in dark syntax
...
When moving around and selecting things, the entire line looks selected
and is super confusing. This leaves the line number highlighted, but
not the line itself.
2013-07-19 13:57:08 -07:00
Ben Ogle
8c6fe7a540
lighten selection color so it's more clear.
2013-07-19 13:55:29 -07:00
Ben Ogle
164d5591a0
remove comment
2013-07-19 13:25:05 -07:00
Ben Ogle
85cb7c88fa
plumb up the select to boundary to editor commands
2013-07-19 12:21:36 -07:00
Ben Ogle
4ccbd03daf
I can't spell. Boundary.
2013-07-19 12:17:17 -07:00
Ben Ogle
3df33a7367
Add selection counterparts to move next/prev word boundary
2013-07-19 12:07:30 -07:00
Ben Ogle
13b592d1f3
Add Cursor::moveToNextWordBoundry()
...
Plumb up to editor as well.
2013-07-19 11:37:47 -07:00
Ben Ogle
ab8df8dcde
Add moveToPreviousWordBoundry to cursor.
...
Plumb it up to a command in the editor.
2013-07-19 11:16:14 -07:00
Ben Ogle
2b25d433c7
move editor scrollbar above the edit pane
...
So you can grab it with your mouse!
2013-07-18 17:45:38 -07:00
Ben Ogle
1ba8218743
Move the resize handle over between the treeview and the editor
...
Otherwise it covers up the scrollbar in the treeview. No bueno.
2013-07-18 17:42:36 -07:00
Nathan Sobo
de1b69dbc9
Add DisplayBuffer.copy
2013-07-18 11:34:39 -07:00
Nathan Sobo
8b53b4d749
Add ability to copy display buffer markers
2013-07-18 10:25:03 -07:00
Ben Ogle
17cf2bd1c8
Merge pull request #635 from github/bo-fix-comment-indent
...
Add proper indents to comments on toggle-line-comments Closes #615
2013-07-18 10:13:28 -07:00
Nathan Sobo
c54bb792b2
Make EditSession.copy return a copy with a unique id and markers
...
We want to be able to use the copy independently, which means we
should not use EditSession@deserialize to create it because that will
tie us to the same selection markers.
2013-07-18 06:23:43 -07:00
Cheng Zhao
1746bc8797
Add 'Inspect Element' context menu. Fixes #632 .
2013-07-18 20:10:33 +08:00
Cheng Zhao
635f09b741
Destroy window immediately when user choose to close window.
...
There is no need to delay destroy now.
2013-07-18 18:57:34 +08:00
Cheng Zhao
ee0443e40c
Revert "Use atom-shell 23dd5b4da8"
...
Since the async function issue is fixed in atom-shell, we can go back to
use the latest release.
2013-07-18 18:57:13 +08:00
Ben Ogle
d02e9172da
💄
2013-07-17 21:04:50 -07:00
Nathan Sobo
804df73e8d
Get edit session specs passing with selection based markers
2013-07-17 19:16:42 -07:00
Ben Ogle
bc55ee6bd2
Add change string to changelog.md
...
Added a newline; assumed I am the first on this deploy
2013-07-17 18:30:43 -07:00
Ben Ogle
76be95bd6c
update comment
2013-07-17 18:25:41 -07:00
Ben Ogle
e43e8d156e
Combat against empty range; fixes tests
2013-07-17 18:22:41 -07:00
Ben Ogle
2aca31988f
Fix tests in EditSession
2013-07-17 17:56:52 -07:00
Ben Ogle
c937827582
Use editSession.lineForBufferRow()
...
Rather than the buffer directly.
2013-07-17 17:51:40 -07:00
Ben Ogle
c52cf836cd
remove the f on the describe
2013-07-17 17:42:33 -07:00
Ben Ogle
0924ad586f
spaces around the +
2013-07-17 17:39:39 -07:00
Ben Ogle
abdce2df04
replace new Range(...) with [[..], [..]] syntax
2013-07-17 17:38:51 -07:00
Ben Ogle
3f8c120ad0
update tests to be more clear
2013-07-17 17:37:45 -07:00
Ben Ogle
365e5e8413
calcMinIndent -> minIndentLevelForRowRange
2013-07-17 17:35:05 -07:00
Ben Ogle
90e53ad3e2
Add proper indents on auto comments
2013-07-17 16:04:53 -07:00
Nathan Sobo
a724ef3b40
Tag selection markers with a disambiguating EditSession id
...
This prevents selection markers created by different edit sessions
from being shared. Otherwise every edit session for a buffer would be
forced to have the same selection/cursor state.
2013-07-17 15:29:21 -07:00
Nathan Sobo
ab8c0bbf04
Make DisplayBuffer.getMarkers call down into TextBuffer.getMarkers
2013-07-17 15:00:15 -07:00
Ben Ogle & Nathan Sobo
96f434f276
Set languageMode and softTabs in constructor, not setBuffer
...
The softTabs option is only in scope in the constructor, and it can
sometimes be needed if we're unable to auto-determine the softTabs
setting from the buffer.
2013-07-17 14:59:46 -07:00
Ben Ogle & Nathan Sobo
ba3fa50c6e
Add DisplayBufferMarker.getAttributes
2013-07-17 14:58:21 -07:00
Ben Ogle & Nathan Sobo
e8d4bbe5e7
💄 Extract setBuffer/buildDisplayBuffer methods
2013-07-17 12:05:18 -07:00
Ben Ogle & Nathan Sobo
bb695ec53f
Replicate the destruction of selections
2013-07-17 11:53:39 -07:00
Ben Ogle & Nathan Sobo
6079dd4ba3
💄
2013-07-17 11:33:56 -07:00
Ben Ogle & Nathan Sobo
47bfac22c2
Replicate the addition of new selections
2013-07-17 11:12:42 -07:00
Ben Ogle & Nathan Sobo
461e331f58
🙊
2013-07-17 11:12:18 -07:00
Ben Ogle & Nathan Sobo
f32e1fc643
Replicate initial EditSession selection state
2013-07-17 10:25:28 -07:00
Ben Ogle & Nathan Sobo
baeae2d8d5
Upgrade telepath so we can query 'invalidation' key in findMarkers
2013-07-17 10:25:02 -07:00
Corey Johnson & Matt Colyer
4a67bfcf15
Remove editor.autoIndentOnPaste config option
...
Normalize paste on indent covers most use cases of autoindent when pasting.
Closes #584
2013-07-16 17:08:12 -07:00
Corey Johnson & Matt Colyer
2410ea0d5b
Add Matt to pairs file
2013-07-16 17:07:59 -07:00
Kevin Sawicki
6482e26526
Copy session url to clipboard instead of just id
2013-07-16 09:49:47 -07:00
Kevin Sawicki
0a4e3cec94
Add missing connection prefix to event name
2013-07-16 09:49:47 -07:00
Kevin Sawicki
c8accea5dc
Synchronize instead of Synchronize
2013-07-16 09:49:47 -07:00
Kevin Sawicki
438b8f6a14
Support launching the app directly with a URL
...
In this case there will be no paths to open and so editor windows
should be created.
This will allow sessions to be joined when Atom isn't currently running
but a session link is clicked from within another application.
2013-07-16 09:49:47 -07:00
Kevin Sawicki
522768e6c0
Handle opening session urls
2013-07-16 09:49:47 -07:00
Kevin Sawicki
5bb45d4684
Add serialization version to image and archive edit sessions
2013-07-16 09:49:46 -07:00
Kevin Sawicki
3d6fb85152
Upgrade to patrick 2.0
2013-07-16 09:49:46 -07:00
Kevin Sawicki
9ccf9365c3
Make all edit session uri's relative
...
This allows them to be collaborated without having absolute paths
in the shared document.
2013-07-16 09:49:46 -07:00
Kevin Sawicki
a9710e7a63
Ignore session id if empty
2013-07-16 09:49:46 -07:00
Kevin Sawicki
f3bb826e8d
Remove unused color from dark collaboration theme
2013-07-16 09:49:46 -07:00
Kevin Sawicki
96b91ef36b
Add collaboration stylesheet for light theme
2013-07-16 09:49:46 -07:00
Kevin Sawicki
ae9ffbb526
Rename buddy-list.less to collaboration.less
2013-07-16 09:49:46 -07:00
Kevin Sawicki
89dba4603c
Add progress bar to loading sesion view
2013-07-16 09:49:46 -07:00
Corey Johnson & Kevin Sawicki
8812b6c31d
Use patrick to mirror repository state
2013-07-16 09:49:46 -07:00
Corey Johnson & Kevin Sawicki
33f538ebf4
Create new branch if guest has unpushed changes
2013-07-16 09:49:46 -07:00
Corey Johnson & Kevin Sawicki
56b333e7fb
💄
...
Kevin found this offensive
2013-07-16 09:49:46 -07:00
Corey Johnson & Kevin Sawicki
72d76e511e
Begin replication of host repo state
2013-07-16 09:49:45 -07:00
Corey Johnson & Kevin Sawicki
601efa53e6
Only create single host view instance
2013-07-16 09:49:45 -07:00
Corey Johnson & Kevin Sawicki
af80327995
Set guest session project path from repo name
2013-07-16 09:49:45 -07:00
Corey Johnson & Kevin Sawicki
3ce520d9de
Store participants and repository under collaborationState doc
2013-07-16 09:49:45 -07:00
Corey Johnson & Kevin Sawicki
1836257f0b
Show avatars in host and guest views
2013-07-16 09:49:45 -07:00
Kevin Sawicki
98765c7d5c
Only display participants that aren't the host
2013-07-16 09:49:45 -07:00
Kevin Sawicki
f3ca26e2c9
Trigger participants-changed in guest session
2013-07-16 09:49:45 -07:00
Kevin Sawicki
b1ca43ac0f
Upgrade telepath
2013-07-16 09:49:45 -07:00
Kevin Sawicki
5ce0cf65c4
Unvendor pusher.js
2013-07-16 09:49:45 -07:00
Corey Johnson & Kevin Sawicki
460a09f9eb
Show participants in the session
2013-07-16 09:49:45 -07:00
Corey Johnson & Kevin Sawicki
40d500949b
Remove presence from collaboration package.
2013-07-16 09:49:45 -07:00
Corey Johnson & Kevin Sawicki
be078b2b41
Add share button to buddy list
2013-07-16 09:49:45 -07:00
Kevin Sawicki
0fd44994ee
Trigger status changed for self
2013-07-16 09:49:44 -07:00
Kevin Sawicki
09e73b16fe
Show all open windows in buddy list
2013-07-16 09:49:44 -07:00
Kevin Sawicki
b55e62f2ab
Use fat arrow for callbacks
2013-07-16 09:49:44 -07:00
Kevin Sawicki
aab4d7a78b
Add avatar to buddy view
2013-07-16 09:49:44 -07:00
Kevin Sawicki
533f91e7ac
Remove unused class
2013-07-16 09:49:44 -07:00
Kevin Sawicki
aed7d3ed70
Make buddy list a permanent view on the right
2013-07-16 09:49:44 -07:00
Kevin Sawicki
0fdb15f9a6
Move peer.js to vendor directory
2013-07-16 09:49:44 -07:00
Kevin Sawicki
05748cd7dc
Display repo and branch in buddy list
2013-07-16 09:49:44 -07:00
Kevin Sawicki
b127492c9f
Add initial buddy list
2013-07-16 09:49:44 -07:00
Kevin Sawicki
4fde8f0753
Export Pusher class
2013-07-16 09:49:44 -07:00
Kevin Sawicki
e7ba9e1c9d
Add Git.getConfigValue()
2013-07-16 09:49:44 -07:00
Kevin Sawicki
d1812d74d6
Vendor pusher.js
2013-07-16 09:49:44 -07:00
Kevin Sawicki
17cecda23e
Use atom-shell 23dd5b4da8
...
The release past this build is causing issues with async callbacks
not firing.
2013-07-16 09:48:15 -07:00
Kevin Sawicki & Nathan Sobo
abc20b3a05
Update text buffer to use telepath markers
2013-07-15 17:07:06 -07:00
Kevin Sawicki
9d733a2da9
Don't grab native window focus
...
Call $(window) instead of atom.focus() so the native window
doesn't regain focus on each spec run preventing it from running
in the background.
2013-07-15 13:56:21 -07:00
Kevin Sawicki
6bbcc58542
Call atom.focus() in the root beforeEach
...
Async events are not currently firing in specs and this
appears to cause them fire.
2013-07-15 13:40:53 -07:00
Kevin Sawicki
1a76e3dc9d
Add missing '..' to node directory path
...
The path has changed and one more parent directory needs to be
traversed to find the bundled path to node for spawning child
processes.
2013-07-15 12:20:09 -07:00
Kevin Sawicki
ff70ae633d
Correct broken link to npm
2013-07-12 17:30:05 -07:00
Kevin Sawicki
d1f372e439
Rebuild native modules when atom-shell is upgraded
...
Spawn an apm rebuild when the atom shell version changes
after running the update-atom-shell script.
Closes #618
2013-07-12 14:48:10 -07:00
Kevin Sawicki
041f52aaaa
Upgrade apm
2013-07-12 14:07:03 -07:00
Kevin Sawicki
270d17814e
Move right border to tree view resizer
...
This allows the border to still show when the tree view
scrolls horizontally.
Closes #622
2013-07-12 13:59:52 -07:00
Kevin Sawicki
16095c8086
Add New Window to File menu
...
Closes #626
2013-07-11 20:22:43 -07:00
Coby Chapple
94e2dbbc2c
extraneous paren in package docs
2013-07-11 10:20:29 +01:00
Kevin Sawicki
12580bce83
Guard against missing file path in getScore()
2013-07-10 08:54:15 -07:00
Cheng Zhao
753b11cf15
Register Atom to handle atom:// scheme URLs.
2013-07-10 18:57:26 +08:00
Kevin Sawicki
0fee962faa
Mention j/k support
2013-07-09 09:22:35 -07:00
Kevin Sawicki
ed1f51b987
Map k/j to up/down in archive-view
2013-07-08 18:57:58 -07:00
Kevin Sawicki
f1bdcaedc1
Support moving up/down in tree view with k/j keys
2013-07-08 17:06:16 -07:00
Kevin Sawicki
2efbe9ce4e
Run partial-clean during deploy task
2013-07-08 11:29:46 -07:00
Kevin Sawicki
3366c4d6a5
Remove node_modules before bootstrapping
2013-07-08 11:29:28 -07:00
Kevin Sawicki
acb69a4221
Format stack traces in console reporter
...
This generates valid CoffeeScript line/column numbers and
also removes noisy lines from jasmine.js and from the grunt
stack portion for the initial test process spawn.
2013-07-06 15:39:32 -07:00
Kevin Sawicki
b3b501ef07
Set stack trace overflow to auto
...
This keeps the stack trace text inside the spec box when the window
in narrower than the stack trace lines.
2013-07-06 14:27:23 -07:00
Kevin Sawicki
e34d8e4c42
Display CoffeeScript line numbers in stack traces
...
Use coffeestack to convert stack traces to have CoffeeScript
line and column numbers in the output instead of JavaScript line
and column numbers.
2013-07-06 14:27:16 -07:00
Kevin Sawicki
adebae6c47
Remove jasmine.js lines from displayed stack trace
...
This removes the noise from the setup and compare lines that occur in
jasmine.js and only displays the lines that are generated from within
the failing spec.
2013-07-06 14:03:13 -07:00
Kevin Sawicki
4ae0d8af9f
Use tantamount for _.isEqual() implementation
...
This code was needed in telepath so it was pulled out as a
standalone module with the exact same behavior as was previously
in Atom.
2013-07-06 13:54:46 -07:00
Kevin Sawicki
010fa219aa
Move Point and Range specs to telepath
2013-07-05 12:53:51 -07:00
Kevin Sawicki
cdbbb114f6
Use PeerServer ☁️ instead of EC2
2013-07-05 12:53:51 -07:00
Kevin Sawicki
b8bd9b6ec6
Compare site id using site from original event
...
Previously the site was being looked for in a copy of the event where
only the range and text keys were picked and so it was always missing.
2013-07-05 12:53:51 -07:00
Kevin Sawicki & Nathan Sobo
5a26fa838f
Emit markers-updated event for remote buffer changes
...
This is temporary until markers are a part of telepath.
2013-07-05 12:53:51 -07:00
Kevin Sawicki & Nathan Sobo
bffe361151
Upgrade telepath
2013-07-05 12:53:51 -07:00
Kevin Sawicki & Nathan Sobo
bf45beedbe
Swap parameter order for Document.deserialize()
2013-07-05 12:53:51 -07:00
Kevin Sawicki & Nathan Sobo
e82170efcb
Serialize EditSession's buffer's id instead of its path
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
9b22ca4825
Serialize window state in telepath format
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
85cc81851f
Replicate insertion and removal of project buffers
...
Buffers are now destroyed when removed from the project if they
haven't been destroyed already.
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
30273c6a66
Add serialization version to TextBuffer
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
e01ac96b66
Guard against a null pending changed event
...
Previously TextBuffer would emit change events even when the change
was empty. SharedString does not emit empty change events and so a
pending event may no longer be present when a marker-updated event
fires.
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
2ff282011b
💄
2013-07-05 12:53:50 -07:00
Kevin Sawicki
f766bbbb38
Remove Point and Range classes now provided by telepath
2013-07-05 12:53:50 -07:00
Kevin Sawicki
e5ef23dc5a
Expect null instead of undefined for invalid line rows
2013-07-05 12:53:50 -07:00
Kevin Sawicki
fddcbae4eb
Clip range specified to change()
2013-07-05 12:53:50 -07:00
Kevin Sawicki
2d313e07ff
Clip position in characterIndexForPosition()
2013-07-05 12:53:50 -07:00
Kevin Sawicki
1efa480b4e
Upgrade telepath
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
05a3f35512
Normalize line endings in TextBuffer.change()
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
72f9af4d00
Replicate buffer changes
...
Still some failures due to line endings
2013-07-05 12:53:49 -07:00
Kevin Sawicki & Nathan Sobo
dd0f7a032f
Start basing Buffer's text on a replicable string
2013-07-05 12:53:49 -07:00
Kevin Sawicki & Nathan Sobo
010c3435da
Add Project serialization version
2013-07-05 12:53:49 -07:00
Kevin Sawicki & Nathan Sobo
da3a89fc27
Don't show pane items that can't be deserialized
2013-07-05 12:53:49 -07:00
Nathan Sobo
30e4531a8f
Store buffer paths instead of serialized buffers in EditSession state
...
Since there can be multiple edit sessions per buffer, it doesn't make
sense to serialize the buffer multiple times. Previously, we were
de-duplicating buffers in the deserialize method itself, but this won't
work now that we want to replicate buffers.
2013-07-05 12:53:49 -07:00
Kevin Sawicki
651bbaa3ce
Create an empty ~/.atom/config.cson when missing
...
Closes #614
2013-07-05 09:17:44 -07:00
Kevin Sawicki & Nathan Sobo
0448ba5ceb
Remove atom-shell during partial-clean task instead of clean task
2013-07-03 17:53:43 -07:00
Kevin Sawicki & Nathan Sobo
6d70bf9106
Remove node_modules during script/cibuild so they recompile during bootstrap
2013-07-03 17:53:43 -07:00
Cheng Zhao
857629e07e
Revert "Revert "Upgrade apm: update node to v0.10.12.""
...
This reverts commit 18c5c788d7 .
2013-07-04 08:52:13 +08:00
Cheng Zhao
18c5c788d7
Revert "Upgrade apm: update node to v0.10.12."
...
This reverts commit 433beac9aa .
2013-07-04 08:37:59 +08:00
Cheng Zhao
a8e7a9a091
Should also clean atom-shell.
2013-07-04 07:22:15 +08:00
Kevin Sawicki
59097ddf96
Remove ~/.atom/.node-gyp during clean
2013-07-03 09:26:04 -07:00
Cheng Zhao
433beac9aa
Upgrade apm: update node to v0.10.12.
2013-07-03 18:23:41 +08:00
Kevin Sawicki
c7f6e87132
Only use event.which when key identifier is non-ASCII
...
Previously event.which was used when it was less than the key identifier
which broke fn-delete since that generates a valid key identifier but a
lower event.which value that does not translate to 'delete' using the char
code converter.
Close #611
2013-07-02 13:13:45 -07:00
Garen Torikian
64e2fee975
Merge pull request #610 from github/add-nooutput-to-biscotto
...
Bump the biscotto version
2013-07-02 11:13:20 -07:00
Garen Torikian
df35cb0756
Bump the biscotto version
...
This prevents doc builds from occuring when you're only interested in stats/missing
2013-07-02 11:07:58 -07:00
Kevin Sawicki & Nathan Sobo
0e6a3c52ad
Add comments to view cache ivars
2013-07-02 10:13:59 -07:00
Kevin Sawicki
b786bcc774
Store views that don't implement setModel() by their item
...
Previously viewForItem() would create a new view each time it was called
with an item whose view did not implement setModel() even if a view for that
item already existed in the pane.
Now a WeakMap is used to map items to their view so they can be reused
and cleaned up even when the view does not implement setModel().
2013-07-02 09:41:46 -07:00
Kevin Sawicki
6cb13e843c
Mention more fixed and added items
2013-07-02 09:08:57 -07:00
Kevin Sawicki
7e76721712
Don't call realpathSync for non-existent directory
2013-07-01 13:23:47 -07:00
Nathan Sobo
23df564189
Release any leftover buffers in Project.destroy
2013-07-01 14:21:42 -06:00
Nathan Sobo
0c17ed9c33
Return a clone of @buffers from Project.getBuffers
...
Previously, we traversed the EditSessions. Not necessary.
2013-07-01 14:21:42 -06:00
Kevin Sawicki
cde9ae02fe
Prevent clash between path require and variable name
2013-07-01 13:07:35 -07:00
Kevin Sawicki
77017c2cd3
Compare against realpath of HOME
2013-07-01 12:59:31 -07:00
Kevin Sawicki
7615d54337
Support calling fsUtils.absolute() with a '~' path
2013-07-01 12:46:50 -07:00
Kevin Sawicki
6b591b121d
Interpolate pathToCreate instead of path
...
This regressed as part of the migration to using helpers from
path instead of fs-utils.
Close #608
2013-07-01 12:10:52 -07:00
Kevin Sawicki & Nathan Sobo
268edf16d8
Make setModel optional in pane item view classes
2013-07-01 10:53:34 -07:00
Kevin Sawicki
01f220fb1b
Support non-English keyboard languages
...
Use event.which if it is lower than the parsed key identifier.
This is the case when a non-English keyboard language is selected and
a physical English keyboard is being used.
This allows keybindings to still work even when the physical key pressed
is different than the key it maps to for the currently selected language.
Closes #585
2013-06-28 16:36:55 -07:00
Kevin Sawicki
53a92751e6
Add missing @ before call to confirmSync
2013-06-28 10:06:41 -07:00
Nathan Sobo
b66431e3a6
Delete atom.windowState in global afterEach
...
It seems like the windowState was getting saved to disk, causing weird
window state to be loaded on the next test run and a spec to fail.
2013-06-28 04:39:31 -06:00
Nathan Sobo
5a9e45f9d8
Upgrade telepath
2013-06-28 04:39:31 -06:00
Kevin Sawicki
8561bb34a8
Save and restore spec window dimensions
...
Closes #597
2013-06-28 04:39:30 -06:00
Kevin Sawicki & Nathan Sobo
d55c09c9d3
Nuke documentation threshold specs
...
We're going to make it a lint task that's run via grunt.
2013-06-28 04:39:30 -06:00
Kevin Sawicki & Nathan Sobo
f4300b8cab
Fix specs due to scrollTop/Left becoming methods on EditSession
2013-06-28 04:39:30 -06:00
Kevin Sawicki & Nathan Sobo
f3f9c2c921
Show active item from Pane constructor if state has activeItemUri
2013-06-28 04:39:30 -06:00
Kevin Sawicki & Nathan Sobo
33dca9315c
Add PaneContainer.getState
2013-06-28 04:39:30 -06:00
Kevin Sawicki & Nathan Sobo
c596514d11
Accept documents in EditSession and replicate scroll position
2013-06-28 04:39:30 -06:00
Kevin Sawicki & Nathan Sobo
390b03647e
Don't clear #jasmine-content when window.debugContent is true
2013-06-28 04:39:30 -06:00
Kevin Sawicki & Nathan Sobo
5b00cf1701
Rename Buffer -> TextBuffer to match file and deserializer name
2013-06-28 04:39:29 -06:00
Kevin Sawicki & Nathan Sobo
95e69ad858
Use .getState() instead of .serialize() in replication specs
2013-06-28 04:39:29 -06:00
Kevin Sawicki & Nathan Sobo
ef0363e8ff
Use jasmine-focused npm instead of spec/jasmine-focused.coffee
2013-06-28 04:39:29 -06:00
Kevin Sawicki & Nathan Sobo
a62cd0f16a
Replicate active pane item
2013-06-28 04:39:29 -06:00
Kevin Sawicki & Nathan Sobo
f340828506
Use .getState() instead of .serialize() when mutating panes
2013-06-28 04:39:29 -06:00
Kevin Sawicki & Nathan Sobo
8b0a68dd4a
Return this from $.fn.attachToDom spec helper
2013-06-28 04:39:29 -06:00
Kevin Sawicki
1049a677bf
Set dimension of spec window
2013-06-28 04:39:29 -06:00
Kevin Sawicki
d2bc415042
Remove telepath from package.json
2013-06-28 04:39:28 -06:00
Kevin Sawicki
b439e6239d
Add telepath as submodule
2013-06-28 04:39:28 -06:00
Kevin Sawicki
b999c71ad6
Auto-insert clipboard when it is a GUID
2013-06-28 04:39:28 -06:00
Kevin Sawicki
9f31f9a76b
Add loading view when joining session
2013-06-28 04:39:28 -06:00
Kevin Sawicki & Nathan Sobo
7fe356b649
Ensure events are delivered in order
2013-06-28 04:39:28 -06:00
Kevin Sawicki & Nathan Sobo
b5aa0b900c
Remove output listener when connection is closed
2013-06-28 04:39:28 -06:00
Kevin Sawicki & Nathan Sobo
cd4622fbeb
Serialize project in window state
2013-06-28 04:39:27 -06:00
Kevin Sawicki & Nathan Sobo
89192c2ee2
Extract helpers to session-utils
2013-06-28 04:39:27 -06:00
Kevin Sawicki & Nathan Sobo
b5b408d134
Open new window when joining collaboration session
2013-06-28 04:39:27 -06:00
Kevin Sawicki
b08f320ed5
Remove mini class to give id enough room
2013-06-28 04:39:27 -06:00
Kevin Sawicki
4c7025ae81
Add message to join prompt
2013-06-28 04:39:27 -06:00
Kevin Sawicki
554af1becb
Add initial collaboration keymap
2013-06-28 04:39:27 -06:00
Kevin Sawicki
6d49e0fd57
Pass through all window settings as load settings
2013-06-28 04:39:26 -06:00
Kevin Sawicki
31d872fbfe
Add atom.openWindow()
2013-06-28 04:39:26 -06:00
Kevin Sawicki
b842a727ee
Support sending in windowState to AtomWindow ctor
2013-06-28 04:39:26 -06:00
Kevin Sawicki & Nathan Sobo
0851b4d011
Replicate pane splitting and removal
...
We're using Peer.js to stream changes to shared telepath documents
between participants.
We're replacing the rootView of joiners in a somewhat hacky way,
but replication of pane splits and items is fully tested.
2013-06-28 04:39:26 -06:00
Kevin Sawicki & Nathan Sobo
8a7c57994d
Remove parens from require
2013-06-28 04:39:26 -06:00
Kevin Sawicki & Nathan Sobo
6480e956af
Keep resident window state object
2013-06-28 04:39:26 -06:00
Kevin Sawicki & Nathan Sobo
9c95a4751b
Return telepath documents from getWindowState()
2013-06-28 04:39:25 -06:00
Kevin Sawicki & Nathan Sobo
d283834978
Add initial document sharing over peerJS connection
2013-06-28 04:38:22 -06:00
Kevin Sawicki
66b490b5da
Add initial collaboration package
2013-06-28 04:38:22 -06:00
Kevin Sawicki
0d252ab9fd
Use parent directory as resource path
2013-06-27 09:19:37 -07:00
Kevin Sawicki
3e8de2d22d
Use config to retrieve contents directory
2013-06-27 09:18:22 -07:00
Kevin Sawicki
52aee1d050
💄
2013-06-27 09:11:15 -07:00
Kevin Sawicki
ff9dc2c5af
Look under atom instead of globals for buildDir
2013-06-27 09:10:18 -07:00
Kevin Sawicki
3b8cdb58e2
Rename docs to docs-task
2013-06-27 09:08:16 -07:00
Kevin Sawicki
bd14aeee17
Move Grunt tasks to tasks directory
2013-06-27 09:07:33 -07:00
Cheng Zhao
e434f7c0a9
💄
2013-06-27 22:39:41 +08:00
Cheng Zhao
837e3000d3
Merge pull request #605 from github/beforeunload
...
Use beforeunload handler to control whether window should close
2013-06-27 07:33:35 -07:00
Cheng Zhao
e1c2aa0da1
Fix specs regarding beforeunload event.
2013-06-27 21:31:07 +08:00
Cheng Zhao
e7aac2ef6e
Show confirm close dialog as sheet.
2013-06-27 21:30:47 +08:00
Cheng Zhao
f9545acde6
Show window before opening devtools.
...
It may happen that an exception is thrown before window is shown.
2013-06-27 19:29:35 +08:00
Cheng Zhao
45ce8e1d63
Ask for close confirmation in beforeunload handler.
2013-06-27 18:39:29 +08:00
Cheng Zhao
bdbec54f24
Make PaneContainer.confirmClose() synchronous.
2013-06-27 16:21:14 +08:00
Cheng Zhao
1df48d1725
Fix spec of confirmSync in 'window:close'.
2013-06-27 15:07:38 +08:00
Cheng Zhao
6c0f4c09d9
Make Pane.promptToSaveItem synchronous.
2013-06-27 12:40:36 +08:00
Cheng Zhao
f45ce3a7ee
Upgrade apm: update to node v0.10.12.
2013-06-27 10:59:09 +08:00
Kevin Sawicki
dc6e624eda
Add grunt tasks to generate and lint docs
...
Closes #604
2013-06-26 19:25:50 -07:00
Kevin Sawicki
e67676b01c
Use deleteSelectedText() instead of delete()
...
Selection.delete() adds to the selection if it is empty which
we don't want to do when replacing selected text.
Closes #603
2013-06-26 19:03:45 -07:00
Kevin Sawicki
f37ae7e4e7
Upgrade dev dependencies
2013-06-26 08:57:52 -07:00
Kevin Sawicki
f913f6a8d5
Upgrade dependencies
2013-06-26 08:56:04 -07:00
Kevin Sawicki
20991381bd
Remove unneeded stdout/stderr output forwarding
2013-06-25 17:47:21 -07:00
Kevin Sawicki
6930fe0eff
Mention keymap fixes
2013-06-25 13:47:39 -07:00
Kevin Sawicki
f3b50eed3b
Migrate close bindings from editor namespace to pane
...
These were left over from the pane migration still under
the editor namespace and were previously not accessible via
a keybinding.
2013-06-25 13:15:39 -07:00
probablycorey
a4217909c0
Don't check for updates in background if version is a sha
...
If the version is a 7 char sha, then we assume it is a local build.
2013-06-25 09:54:03 -07:00
Kevin Sawicki
5b7c4686f9
Add nof task
2013-06-24 20:55:55 -07:00
Kevin Sawicki
86c8343107
Score grammar matches using longest fileType match
...
Previously the score for two grammars matching on path
was equal and so the first one would be selected.
Now the longer match will have a higher score and will be selected
over other grammars with shorter fileType match lengths.
Closes #602
2013-06-24 18:23:54 -07:00
Kevin Sawicki
6b6ce03c72
Use hasParent() instead of isOnDom()
2013-06-24 18:03:35 -07:00
Kevin Sawicki
a7ee5985db
Separate variable from requires
2013-06-24 16:56:52 -07:00
Kevin Sawicki
be354f78a6
Focus root view if previously focused element is no longer attached
...
This can be the case when a select list is triggered while a different
select list is already open and so the second list to open has no
element to restore focus to when it closes.
2013-06-24 16:46:36 -07:00
Kevin Sawicki
ab75f6f635
Don't detach on focusout when detaching
2013-06-24 16:45:26 -07:00
Kevin Sawicki
d6513e9aa9
Use BufferedProcess for apm commands
...
This ensures the path to node is always available in the environment.
2013-06-24 16:44:40 -07:00
Kevin Sawicki
afac77ddfd
Don't copy bootstrap docs to build folder
2013-06-24 16:17:07 -07:00
Kevin Sawicki
fcd0b6839b
Don't copy vendor/apm to build folder
...
This is already copied as node_modules/atom-package-manager
2013-06-24 16:13:56 -07:00
Kevin Sawicki
32c2548442
Allow spaces before fenced code block language
2013-06-24 15:13:51 -07:00
Kevin Sawicki
1cf02c22a7
Support colorizing fenced python blocks
2013-06-24 15:08:19 -07:00
Kevin Sawicki
34e5594a2d
Nest all rules under a root .is-blurred class
2013-06-24 15:01:05 -07:00
Kevin Sawicki
46eac52dbf
Upgrade apm
2013-06-24 14:57:32 -07:00
Kevin Sawicki
915a737797
Don't copy git-utils/oniguruma deps/ during build
...
These contain source files used to build the native modules
and are not needed in the binary distribution.
2013-06-24 14:56:02 -07:00
Kevin Sawicki
d227d8794d
Upgrade apm
2013-06-24 14:24:29 -07:00
Kevin Sawicki
ad888b3250
Use walkdir for recursively copying
...
grunt.file.recurse only calls back for file paths so directory
symlinks are being copied instead of linked causing duplicate
files in the final build folder.
2013-06-24 14:11:18 -07:00
Kevin Sawicki
5350a67990
Correct typo in package.json key
2013-06-24 12:13:48 -07:00
Kevin Sawicki
c02be2330c
Only read package.json once
2013-06-24 12:05:14 -07:00
Kevin Sawicki
cf936a8a02
Upgrade apm
2013-06-24 11:45:53 -07:00
Kevin Sawicki
0b07d276b9
Don't copy dev dependencies during build task
...
Closes #601
2013-06-24 11:14:46 -07:00
Kevin Sawicki
6879f0d0ac
Update initialPath on project path changes
...
atom.setPathToOpen() is now longer available and instead
the load settings should be updated.
2013-06-24 10:41:44 -07:00
Kevin Sawicki
d31d18360b
Store untitled window state under load settings
...
This keeps untitled windows from contaminating each other by
storing to the same state path on disk but still stores state
across reloads of the windows.
Closes #599
2013-06-24 10:37:53 -07:00
Kevin Sawicki
aeee3c9ade
Remove unused methods
2013-06-24 08:53:15 -07:00
Kevin Sawicki
dae28d2222
Add light syntax colors for embedded strings
...
Closes #598
2013-06-24 08:33:18 -07:00
Kevin Sawicki
f81f95e830
💄
2013-06-24 08:32:33 -07:00
Kevin Sawicki
41611f826a
Add back lint as part of CI
2013-06-21 19:59:37 -07:00
Kevin Sawicki
4eac57c31c
Capture test standard out and error and log it
2013-06-21 13:35:19 -07:00
probablycorey
2a7f03761d
Update documentation
2013-06-21 09:46:25 -07:00
probablycorey
264f7e1a74
Add script/test
2013-06-21 09:46:25 -07:00
probablycorey
94227889f1
script/build calls script/bootstrap
2013-06-21 09:46:25 -07:00
Kevin Sawicki
34114a9620
Add jasmine-focused as dev dependency
...
This has the nof command to un-focus all specs
2013-06-21 09:36:27 -07:00
Kevin Sawicki
b562b3cf72
Remove script/copy-info-plist
...
Perform the copy in Gruntfile.coffee instead of a script
2013-06-21 09:30:53 -07:00
Kevin Sawicki
3938d143a1
Drop unneeded './' from script commands
2013-06-20 22:02:53 -07:00
Kevin Sawicki
95418566ef
Correct typo in Requirements
2013-06-20 22:02:28 -07:00
Kevin Sawicki
622b877663
Remove extra newline
2013-06-20 21:59:23 -07:00
Kevin Sawicki
503ff13eb3
Sort keys in fence extension hash
2013-06-20 21:59:21 -07:00
Kevin Sawicki
2792f0d835
Map XML fence to grammar
2013-06-20 21:59:12 -07:00
probablycorey
82cb2aa124
Remove unused scripts
2013-06-20 17:15:53 -07:00
probablycorey
ba08123abc
Update installation instructions
2013-06-20 17:15:53 -07:00
probablycorey
93d6a80bc6
Add script/build task
2013-06-20 17:15:53 -07:00
probablycorey
fd78c2a709
Don't clean node_modules when building
2013-06-20 17:15:53 -07:00
Kevin Sawicki & Nathan Sobo
fb7080c39a
Remove unused require
2013-06-20 17:15:53 -07:00
probablycorey
cc591e18b0
Remove colored output from cibuilds
2013-06-20 17:15:53 -07:00
probablycorey
7e6979236e
🐛
2013-06-20 17:15:53 -07:00
probablycorey
e72c48607b
Fix doc specs
2013-06-20 17:15:52 -07:00
probablycorey
3e91334c82
Bundle themes are no longer copied
2013-06-20 17:15:52 -07:00
probablycorey
593e8c0e14
Don't bootstrap from gruntfile
2013-06-20 17:15:52 -07:00
probablycorey
f8bc5ce648
cibuild runs ./script/bootstrap
2013-06-20 17:15:52 -07:00
probablycorey
29f10e71ce
Mentioned grunt change
2013-06-20 17:15:52 -07:00
probablycorey
84340782ff
Update readme
2013-06-20 17:15:52 -07:00
probablycorey
674946d180
Update rakefile
2013-06-20 17:15:52 -07:00
probablycorey
abf4a6501a
Use grunt to run ci tests
2013-06-20 17:15:52 -07:00
probablycorey
ee0d073cd2
Update default grunt task
2013-06-20 17:15:52 -07:00
probablycorey
2d583d6ea0
Use local spawn method to output all errors
2013-06-20 17:15:52 -07:00
probablycorey
e46af10631
Remove unused files from gitignore
2013-06-20 17:15:52 -07:00
probablycorey
0328c77be1
Don't copy themes to .atom dir
2013-06-20 17:15:51 -07:00
probablycorey
5c2aaf9849
Create deploy task
2013-06-20 17:15:51 -07:00
Kevin Sawicki & Nathan Sobo
eab21e19f6
💄
2013-06-20 16:13:42 -07:00
Kevin Sawicki & Nathan Sobo
266548d75c
Implement dev window opening with meta-O
2013-06-20 16:12:11 -07:00
probablycorey
4731c1f3f0
Hack to always update from the speakeasy master release
...
Related to https://github.com/atom/atom-shell/issues/33
2013-06-20 12:15:35 -07:00
probablycorey
d6cd51399d
Fix build script
2013-06-20 12:15:35 -07:00
probablycorey
7eff25e180
Install atom when default grunt task is run
2013-06-20 12:15:35 -07:00
probablycorey
ab53e2ffda
Rename create-atom script to constructicon/build
2013-06-20 12:15:35 -07:00
probablycorey
e23357cf13
Default to version 0
2013-06-20 12:15:35 -07:00
probablycorey
d5808e1164
Let constructicon set the SUFeedURL
2013-06-20 12:15:35 -07:00
probablycorey
f47fa21fe9
Don't create version file in app bundle
2013-06-20 12:15:34 -07:00
probablycorey
478c617e60
Don't use polite curl in update-atom-shell
2013-06-20 12:15:34 -07:00
probablycorey
4449758135
Don't set version when building on constructicon
2013-06-20 12:15:34 -07:00
probablycorey
7163d8dc71
Make atom work with constructicon
2013-06-20 12:15:34 -07:00
probablycorey
128f7b851a
Better constructicon output
2013-06-20 12:15:34 -07:00
probablycorey
90bc5f58f7
Bootstrap atom before constructicon build
2013-06-20 12:15:34 -07:00
probablycorey
c89328fa14
Set permissions for prebuild script
2013-06-20 12:15:34 -07:00
probablycorey
af655b3674
Make atom work with constructicon
2013-06-20 12:15:34 -07:00
probablycorey
5875c814df
Don't assume we can remove the BUILD_DIR
2013-06-20 12:15:34 -07:00
probablycorey
fcaa952973
Simplify gyp
...
Gyp is only used for construction now.
2013-06-20 12:15:34 -07:00
probablycorey
65c02328b3
Remove polite curl
2013-06-20 12:15:34 -07:00
probablycorey
d629468cd1
Send error to async callback
2013-06-20 12:15:34 -07:00
probablycorey
0cdb477b3f
Only copy the app file
2013-06-20 12:15:34 -07:00
probablycorey
ed4f4a699b
Remove typo that causes everything to fail
2013-06-20 12:15:34 -07:00
probablycorey
fc7b8b4bf1
Replace local exec function calls with grunt.util.spawn
2013-06-20 12:15:33 -07:00
probablycorey
22b7ae2136
Move plist code into update-info-plist
2013-06-20 12:15:33 -07:00
probablycorey
032d865c92
Move plist code into update-info-plist
2013-06-20 12:15:33 -07:00
probablycorey
c48c716eb0
Move utility functions to bottom of file
2013-06-20 12:15:33 -07:00
probablycorey
e98219d2c5
Allow gruntfile to set build-dir from the command line
2013-06-20 12:15:33 -07:00
probablycorey
519e090a7a
Rename app-Info.plist to atom-Info.plist
2013-06-20 12:15:33 -07:00
probablycorey
4e0f37281b
Add codesign grunt task
2013-06-20 12:15:33 -07:00
probablycorey
e6750de14d
Remove lint from default task
...
It is causing an error.
2013-06-20 12:15:33 -07:00
probablycorey
5380a342d5
Rename postbuild to update-version
2013-06-20 12:15:33 -07:00
Nathan Sobo
44e73200ff
Default editor.normalizeIndentOnPaste to true
2013-06-19 13:01:23 -06:00
Nathan Sobo
48b4c62696
Add editor.normalizeIndentOnPaste to the config panel
2013-06-19 13:01:01 -06:00
Corey Johnson & Nathan Sobo
b9accadb70
When normalizing indent, ignore leading spaces of first line
...
Fixes #594
2013-06-19 12:21:05 -06:00
Kevin Sawicki
e358c67da5
Listen for correct path loader progress event
2013-06-19 10:17:23 -07:00
Kevin Sawicki
1764677b7d
Unsubscribe markers when destroying display buffer
...
Previously the display buffer markers would still fire events
even after a display buffer was destroyed since they were not
being unsubscribed from their underlying buffer marker which
could still fire events in the case of an editor split on the
same buffer.
Closes #593
2013-06-19 09:56:55 -07:00
probablycorey
264ddbe183
Use app.getVersion instead of the version file
2013-06-19 09:43:34 -07:00
probablycorey
d8ba422178
Replace global.homeDir with app.getHomeDir()
2013-06-19 09:33:34 -07:00
Cheng Zhao
95f43917a4
Use @resourcePath when resource path of specs doesn't exist.
...
People may put atom under places other than ~/github/atom and wants to
run specs.
2013-06-19 14:01:24 +08:00
Cheng Zhao
e0f806f0fb
Use app.getHomeDir() API to get home dir.
2013-06-19 13:57:31 +08:00
Kevin Sawicki & Nathan Sobo
01a7b5fbc6
Throw exception when referencing a non-existent screen line
2013-06-18 14:34:23 -06:00
Kevin Sawicki
c86b8198d9
Use built-in underscore from grunt.util
2013-06-18 10:21:15 -07:00
Kevin Sawicki
3771bda471
Separate resources and mac segments before joining
2013-06-18 10:09:16 -07:00
Kevin Sawicki
1178d844d0
Look before and after empty lines for max indent level
...
Previously the indentation guide level for empty lines was
derived by only looking after the empty line which caused gaps
in certain cases.
Now the indentation for an empty line is the higher value of the
previous non-empty line indentation and the following non-empty
line indentation.
Closes #588
2013-06-18 09:56:31 -07:00
Kevin Sawicki
aa9577db67
Upgrade to lesslint 0.7
2013-06-17 20:02:35 -07:00
Kevin Sawicki
7af474cbc6
Disable outline-none rule
2013-06-17 19:58:21 -07:00
Kevin Sawicki
7f6de430c0
Remove unneeded units
2013-06-17 19:57:38 -07:00
Kevin Sawicki
bc2d0ff0cc
Only check ending rules when stack size increases
...
Previously on zero length matches the last two rules were compared
and if they had the same scope name then the last rule was popped
and the remaining line was tokenized using the current scope stack
to prevent infinite parsing loops.
This caused nested method calls in Java to not tokenize correctly
since method rules were sequential in the stack but did not constitute
an infinite loop of zero matches since the stack was currently decreasing.
Now the last two rules are only compared when the stack size is increasing
to prevent this false positive.
Closes #587
2013-06-17 13:08:10 -07:00
Kevin Sawicki
645aa65e9b
Remove view when package is deactivated
2013-06-17 12:11:26 -07:00
Kevin Sawicki
2ae494999c
Terminate in beforeRemove() instead of afterRemove()
2013-06-17 12:11:26 -07:00
Kevin Sawicki
2826d50cbb
Remove logging of pid
2013-06-17 12:11:26 -07:00
Corey Johnson & Kevin Sawicki
8c4bddac9f
Add spec for Task.once()
2013-06-17 12:11:26 -07:00
Corey Johnson & Kevin Sawicki
2a7d35cc39
Remove spec that was renamed to task-spec.coffee
2013-06-17 12:11:26 -07:00
Corey Johnson & Kevin Sawicki
8389698958
Drop suffix from handler path
2013-06-17 12:11:26 -07:00
Kevin Sawicki
289b270c85
Use Task.once for repository status handler
2013-06-17 12:11:26 -07:00
Corey Johnson & Kevin Sawicki
8661290c6a
Rename LoadPathsTask to PathLoader
2013-06-17 12:11:26 -07:00
Corey Johnson & Kevin Sawicki
84a8f11fc9
Make fuzzy finder work with new Task system
2013-06-17 12:11:25 -07:00
Kevin Sawicki
ad1b530d32
💄
2013-06-17 12:11:25 -07:00
Kevin Sawicki
65e322824b
Remove task-shell
2013-06-17 12:11:25 -07:00
Kevin Sawicki
3f5bee7e4c
Move task-bootstrap to src/
2013-06-17 12:11:25 -07:00
Kevin Sawicki
bff57e53f0
Throw error when starting terminated process
2013-06-17 12:11:25 -07:00
Kevin Sawicki
8280b3a3ff
Update repository status to use new task style
2013-06-17 12:11:25 -07:00
Kevin Sawicki
7dd52995d0
Update tag reader view to use new task style
2013-06-17 12:11:25 -07:00
Kevin Sawicki
e8bf433c68
Remove unused class
2013-06-17 12:11:25 -07:00
Kevin Sawicki
12b5c43d85
Remove unused task
2013-06-17 12:11:25 -07:00
Kevin Sawicki
b42cc6f683
Update spell check view to use new task
2013-06-17 12:11:25 -07:00
Kevin Sawicki
a1d6ae010e
💄
2013-06-17 12:11:25 -07:00
Kevin Sawicki
cd1c88a1b5
Correct typo in git docs
2013-06-16 22:08:18 -07:00
Kevin Sawicki
5d245f403f
Upgrade to grunt-cson 0.3
2013-06-16 21:37:48 -07:00
Kevin Sawicki
91f18df917
Use grunt-cson for compilation
2013-06-15 22:10:06 -07:00
Kevin Sawicki
f3b3c291b9
Un-f wrap guide spec
2013-06-15 21:25:46 -07:00
Kevin Sawicki
6bcd6240ce
Only override resource path if running specs from menu
...
Previously if the specs were being run via the --test command line
flag then the resource path specified would be overridden and
~/github/atom would be used instead which was causing CI to fail
since it specified a custom resource path at a different location.
2013-06-15 20:07:16 -07:00
Kevin Sawicki
5df5a679ac
Un-f fuzzy finder spec
2013-06-14 11:48:02 -07:00
Kevin Sawicki
6dc2db25da
Add Zoom to Window menu
2013-06-14 11:47:12 -07:00
Kevin Sawicki
7d33e1302a
Doc what unicode characters render to
2013-06-14 11:47:12 -07:00
Corey Johnson & Kevin Sawicki
2edb5b5496
Setup node path in Atom Window.
...
This lets windows run code from different resource paths.
2013-06-14 10:01:23 -07:00
probablycorey
3ba7d68d4a
Add global.homeDir
...
Ick, this should be handled by an npm or hopefully a patch to Node.
2013-06-14 09:56:01 -07:00
probablycorey
da58bd5609
Always use ~/github/atom as the resource path when running specs
2013-06-14 09:27:54 -07:00
Kevin Sawicki
e8c0f46afb
Relativize exact path matches to the empty string
2013-06-14 09:20:28 -07:00
Kevin Sawicki
772a99012d
Focus window when atom.focus() is called
...
Previously listeners bound to $(window).focus() would not get
events when Atom initially started or on reloads.
2013-06-14 08:39:32 -07:00
Kevin Sawicki
f408406ef0
Support symlinks in .relativize() and .contains()
2013-06-14 08:29:21 -07:00
Kevin Sawicki
1fa319a8f3
Hide status and branch info for non-project files
2013-06-13 23:11:07 -07:00
Kevin Sawicki
a0aefe21c8
Bind mousewheel event to list instead of parent
2013-06-13 22:11:46 -07:00
Kevin Sawicki
d6be29dbdc
Prevent propagation of mousewheel events from list
...
Without this, the autocomplete list is not scrollable using
the mouse wheel since it is consumed by the parent editor.
2013-06-13 18:50:36 -07:00
Kevin Sawicki
52ffa2d8c0
Use fat arrow for write callback
2013-06-13 18:38:23 -07:00
Kevin Sawicki
5ca4e8006e
Format command and run count integers
2013-06-13 18:09:37 -07:00
Kevin Sawicki
75cfddebcd
Implement getEmptyMessage() in CorrectionsView
2013-06-13 11:47:00 -07:00
Kevin Sawicki
1bc4b4ef32
Use mini-icon helper for loading-message
2013-06-13 11:40:32 -07:00
Kevin Sawicki
ff7c639b64
Don't use error class in select list
...
Use a subtler error message that displays in the same place as the
loading message but does not change the entire background of the
view.
Also, extending classes can now customize the message displayed
when there are no items and also no filtered items to allow for
different messages for these two cases.
2013-06-13 11:31:09 -07:00
Kevin Sawicki
77172800a8
Remove link to deleted method
2013-06-13 10:10:59 -07:00
Kevin Sawicki
6615e0f2db
Use triple # internal comment
2013-06-13 10:03:54 -07:00
Kevin Sawicki
0f562330cf
Remove unused functions and specs
2013-06-13 10:02:13 -07:00
Kevin Sawicki
42a8a1ff61
Use skinny arrow for onPath callback
2013-06-13 08:51:13 -07:00
Kevin Sawicki
29c0f0c115
Clean up function comments
2013-06-13 08:49:48 -07:00
Kevin Sawicki
dc33168ecc
💄
2013-06-13 08:44:12 -07:00
Kevin Sawicki
1e26bb533a
Remove unneeded relativePath parameter
2013-06-13 08:41:04 -07:00
Kevin Sawicki
021fbc533f
Specify utf8 encoding to fs.readFileSync()
2013-06-13 08:34:26 -07:00
Kevin Sawicki
bc6daaeac2
Make function comment accurate
2013-06-13 08:32:58 -07:00
Kevin Sawicki
d60c255703
Rename nodePath to path
2013-06-13 08:31:04 -07:00
Kevin Sawicki
2d9ba937fb
Only ignore tags file at root
...
This allows the tags file inside spec/fixtures to be modified.
2013-06-12 20:57:38 -07:00
Kevin Sawicki
9cdc6122b3
Add mdown to readme extensions array
2013-06-12 20:56:52 -07:00
Kevin Sawicki
3374074940
Use path instead of Path
2013-06-12 20:55:27 -07:00
Kevin Sawicki
4f65cb099a
Remove unused fsUtils.split()
2013-06-12 20:44:15 -07:00
Kevin Sawicki
0e52a3bcee
Remove fsUtils.makeDirectory()
...
fsUtils.makeTree() was sufficient for all current uses.
2013-06-12 20:39:40 -07:00
Kevin Sawicki
ed3a4a33e2
Rename .write() to writeSync()
2013-06-12 20:38:26 -07:00
Kevin Sawicki
3e0658fe30
Use mkdirp from fsUtils.makeTree()
2013-06-12 20:31:38 -07:00
Kevin Sawicki
f35724daa9
Revert incorrect rename to isDirectorySync()
2013-06-12 20:29:14 -07:00
Kevin Sawicki
58fd786fda
Rename readPlist() to readPlistSync()
2013-06-12 18:32:36 -07:00
Kevin Sawicki
bf41c77d80
Use fsUtils.readObject to load snippets file
2013-06-12 18:30:43 -07:00
Kevin Sawicki
d8de321074
Rename readObject() to readObjectSync()
2013-06-12 18:28:25 -07:00
Kevin Sawicki
d77705a039
Rename listTree() to listTreeSync()
2013-06-12 18:26:44 -07:00
Kevin Sawicki
27d9da15dc
Rename list() to listSync()
2013-06-12 18:25:42 -07:00
Kevin Sawicki
a192842dc0
Rename isExecutable() to isExecutableSync()
2013-06-12 18:22:43 -07:00
Kevin Sawicki
400aa93bf3
Rename isFile() to isFileSync()
2013-06-12 18:21:57 -07:00
Kevin Sawicki
86952ff85e
Rename isDirectory() to isDirectorySync()
2013-06-12 18:16:31 -07:00
Kevin Sawicki
bab9bd7550
Rename path variables to prevent collisions
2013-06-12 17:59:37 -07:00
Kevin Sawicki
87e60bd0eb
Update element path key to filePath instead of path
2013-06-12 17:51:07 -07:00
Kevin Sawicki
711d20ea14
Rename path variables to prevent collisions
2013-06-12 17:35:12 -07:00
Kevin Sawicki
a0a0036727
Add missing path require
2013-06-12 17:35:03 -07:00
Kevin Sawicki
15f6a33c4b
Rename path variables to prevent collisions
2013-06-12 17:27:23 -07:00
Kevin Sawicki
10f92836e6
Rename path variables to prevent collisions
2013-06-12 17:19:16 -07:00
Kevin Sawicki
54558c863d
Remove unused path
2013-06-12 17:10:19 -07:00
Kevin Sawicki
e25aece700
Use filePath instead of path as variable name
2013-06-12 17:04:37 -07:00
Kevin Sawicki
bfdad19911
Use repoPath as parameter name to loadStatuses()
2013-06-12 17:02:02 -07:00
Kevin Sawicki
d112089152
Use filePath variable instead of path
2013-06-12 16:57:47 -07:00
Kevin Sawicki
6c91d8bea6
Add missing require for path
2013-06-12 16:51:53 -07:00
Kevin Sawicki
7edebc6dd2
Don't clobber path module by using path as a variable name
2013-06-12 16:50:15 -07:00
Kevin Sawicki
76649ba268
Add missing require for path
2013-06-12 16:50:00 -07:00
Kevin Sawicki
2ae95bdf2b
Use scopedPropertiesPath instead of propertiesPath
2013-06-12 16:44:08 -07:00
Kevin Sawicki
1548ef10b0
Don't clobber module by reassigning to path
2013-06-12 16:41:23 -07:00
Kevin Sawicki
835cd70ded
Use Path.dirname() internally
2013-06-12 16:33:36 -07:00
Kevin Sawicki
5a8444579c
Use more description variable names instead of path
2013-06-12 16:32:12 -07:00
Kevin Sawicki
dc4012ea7c
Add missing path require
2013-06-12 16:25:41 -07:00
Kevin Sawicki
17007e6154
Add missing path prefix to method invocation
2013-06-12 16:23:48 -07:00
Kevin Sawicki
82013b1970
Use path.join() instead of fsUtils.join()
2013-06-12 16:20:40 -07:00
Kevin Sawicki
7cf4063d9e
Use path.dirname() instead of fsUtils.directory()
2013-06-12 15:54:34 -07:00
Kevin Sawicki
d1cf839e53
Use correct less stylesheet path variable name
2013-06-12 15:53:47 -07:00
Kevin Sawicki
f47164a2e6
Use more descriptive variable name instead of path
2013-06-12 15:46:15 -07:00
Kevin Sawicki
bdb641ec94
Use path.extname() instead of fsUtils.extension()
2013-06-12 15:43:58 -07:00
Kevin Sawicki
341a327ea0
Rename path variable to entryPath
2013-06-12 15:36:18 -07:00
Kevin Sawicki
3d53a6ecf8
Remove internal references to .base()
2013-06-12 15:32:25 -07:00
Kevin Sawicki
eede4a386f
Use path.basename() instead of fsUtils.base()
2013-06-12 15:26:09 -07:00
Kevin Sawicki
437137783c
Use rimraf for removing files/folders
2013-06-12 15:09:54 -07:00
Kevin Sawicki
b96597b089
💄
2013-06-12 14:44:06 -07:00
Kevin Sawicki
eeb2782700
Use lookbehind for whitespace before bold/italic text
2013-06-12 14:43:14 -07:00
Kevin Sawicki
0f4ad0bbf5
Guard against a null initial path
...
This will be the case when the .atom fold is opened from the config window.
path.join() cannot be called with null values.
2013-06-12 14:31:49 -07:00
Kevin Sawicki
750e4a1cca
Rename linux.css to linux.less
2013-06-12 13:28:39 -07:00
Kevin Sawicki
e5b8aa57d7
Guard against null rootView
...
This will be the case for the config window.
2013-06-12 13:13:24 -07:00
Kevin Sawicki
0723514fea
Combine colors into single rule
2013-06-12 13:10:23 -07:00
Kevin Sawicki
c298e1b3ee
Remove background-color on .text .source
...
This was causing a different background in script tags
in HTML that looked strange.
2013-06-12 13:07:32 -07:00
Kevin Sawicki
91e5d171b7
Lint dot-atom coffee files
2013-06-12 13:04:10 -07:00
Kevin Sawicki
28f47e8248
hideGitIgnoredFiles is under core key, not editor
2013-06-12 12:48:25 -07:00
Kevin Sawicki
f870dc7b72
Allow autocomplete package to be deactivated
2013-06-12 11:41:41 -07:00
Kevin Sawicki
04c5e9fa42
Return subscription from RootView.eachEditor()
2013-06-12 11:38:05 -07:00
Kevin Sawicki
65b08e2914
Upgrade to lesslint 0.4
2013-06-12 11:02:34 -07:00
Kevin Sawicki
ed19b9e032
Upgrade to lesslint 0.3
2013-06-12 10:27:40 -07:00
Kevin Sawicki
e72b5a55a0
Remove invalid float on inline-block element
2013-06-12 10:18:23 -07:00
Kevin Sawicki
5281507483
Remove invalid include rule
2013-06-12 10:18:23 -07:00
Kevin Sawicki
abf7303d6e
Disable font-sizes rule
2013-06-12 10:18:23 -07:00
Kevin Sawicki
775f29564a
Use LESS style comments
2013-06-12 10:18:23 -07:00
Kevin Sawicki
7e33a3e12f
Remove duplicate properties
2013-06-12 10:18:23 -07:00
Kevin Sawicki
5538b2910d
💄
2013-06-12 10:18:23 -07:00
Kevin Sawicki
c7c7988ae6
Drop units when using zero
2013-06-12 10:18:23 -07:00
Kevin Sawicki
454106a22b
Disable several CSS Lint rules
2013-06-12 10:18:22 -07:00
Kevin Sawicki
43c1d7f8aa
Add less lint task
2013-06-12 10:18:22 -07:00
probablycorey
1156018c0d
Make gutter line number's position relative
...
This makes it easier to decorate line numbers.
2013-06-12 09:55:31 -07:00
Kevin Sawicki
e00e87a845
Lint css files in static/
2013-06-11 16:34:48 -07:00
Kevin Sawicki
2b29212d0f
Sort flags alphabetically
2013-06-11 16:30:46 -07:00
Kevin Sawicki
7390d908bd
Add -v flag to print the version
2013-06-11 16:23:47 -07:00
Kevin Sawicki
a98308a7a4
Add -n option to always open a new window
2013-06-11 16:15:04 -07:00
Kevin Sawicki
3b263eb961
Tweak crashed dialog messaging
2013-06-11 16:07:57 -07:00
Kevin Sawicki
c6d5c143cf
Mention LESS/CSS indent fix
2013-06-11 15:54:56 -07:00
Kevin Sawicki
6d0f303cd5
Set initialPath on load settings
2013-06-11 15:48:22 -07:00
Kevin Sawicki
327f16fa03
Add semicolon
2013-06-11 15:44:25 -07:00
Corey Johnson & Kevin Sawicki
a4ee1eb785
Rename pathToOpen load setting to initialPath
...
Use the initialPath as the window state serialization key.
Also use the parent directory as the intitial path when the
path to open is a file.
2013-06-11 15:38:31 -07:00
Corey Johnson & Kevin Sawicki
fc52ee518e
Wait for window:loaded before emitting window:open-path
2013-06-11 14:48:51 -07:00
Corey Johnson & Kevin Sawicki
b3e0ea6d33
Add AtomWindow.openPath()
2013-06-11 14:39:52 -07:00
Corey Johnson & Kevin Sawicki
dc53f387a6
Remove project serialization
2013-06-11 14:39:32 -07:00
Corey Johnson & Kevin Sawicki
11dfe7b649
Tweak unresponsive dialog text
2013-06-11 14:28:27 -07:00
Corey Johnson & Kevin Sawicki
1ce861c000
Don't save pathToOpen to window state
2013-06-11 14:17:20 -07:00
Corey Johnson & Kevin Sawicki
0c8f200d45
Always load bundle preferences
...
Previously the scoped properties would not load if there weren't
any grammars in the bundle or if listing the grammars directory
failed.
Closes #570
2013-06-11 13:52:40 -07:00
Kevin Sawicki
c63536c682
Include source TextMate bundle
2013-06-11 13:02:00 -07:00
Corey Johnson & Kevin Sawicki
7516cebb40
Comment .less code correctly
2013-06-11 12:25:57 -07:00
Corey Johnson & Kevin Sawicki
e82a7f57fe
Move already opened path logic to Atom Window
2013-06-11 11:28:53 -07:00
Corey Johnson & Kevin Sawicki
bcc16fbefe
Remove hash params from url
...
Load settings are now stored on the browser window.
2013-06-11 11:17:16 -07:00
Cheng Zhao
a57c5c7c93
Show prompt to close or reload window when renderer is crashed.
2013-06-11 14:49:04 +08:00
Cheng Zhao
f7db59ea7c
Close window immediately if renderer is crashed. Fixed #580 .
2013-06-11 14:49:04 +08:00
Kevin Sawicki
4f348dcd19
Watch archive file and react to events
...
The view now refreshes on 'contents-changed' events and
closes on 'removed' events
2013-06-10 18:32:11 -07:00
Kevin Sawicki
a3d896f456
Mention archive viewer
2013-06-10 14:22:30 -07:00
Kevin Sawicki
9ad65e6e46
Add top padding to directories
2013-06-10 14:11:19 -07:00
Kevin Sawicki
790c9714c7
Forward focus to selected file on focus events
2013-06-10 14:11:19 -07:00
Kevin Sawicki
68074be9d6
Add initial archive viewer spec
2013-06-10 14:11:19 -07:00
Kevin Sawicki
4c2a40808b
💄
2013-06-10 14:11:19 -07:00
Kevin Sawicki
8dbac6a34f
Add light theme support for archive viewer
2013-06-10 14:11:18 -07:00
Kevin Sawicki
6bd8213093
Remove duplicate property
2013-06-10 14:11:18 -07:00
Kevin Sawicki
0b0af2296f
Add summary header with size and file/folder counts
2013-06-10 14:11:18 -07:00
Kevin Sawicki
2c7d49f7a8
Ignore callbacks if path has changed
2013-06-10 14:11:18 -07:00
Kevin Sawicki
dc89b0569a
Add margin to loading message
2013-06-10 14:11:18 -07:00
Kevin Sawicki
ff5ea00b00
Use toggle class for removing selected class
2013-06-10 14:11:18 -07:00
Kevin Sawicki
1894901930
Add up/down/confirm event handling
2013-06-10 14:11:18 -07:00
Kevin Sawicki
135a285596
Remove unused require
2013-06-10 14:11:18 -07:00
Kevin Sawicki
32e229b162
Log error stack
2013-06-10 14:11:18 -07:00
Kevin Sawicki
3102ac403b
Tweak file and folder styles
2013-06-10 14:11:18 -07:00
Kevin Sawicki
0f16b54d8e
Only update view when path changes
2013-06-10 14:11:18 -07:00
Kevin Sawicki
8fc1e34a74
Remove debug logging
2013-06-10 14:11:18 -07:00
Kevin Sawicki
af2b775a4a
Upgrade to ls-archive 0.9
2013-06-10 14:11:18 -07:00
Kevin Sawicki
e9bf2fe161
Add initial archive viewer
2013-06-10 14:11:17 -07:00
Kevin Sawicki
3709a0b7e1
Release instead of build
2013-06-10 09:01:00 -07:00
Kevin Sawicki
c651cdc356
Update image to match current icon
2013-06-10 09:00:26 -07:00
Kevin Sawicki
db9d92041f
Add speakeasy link
2013-06-10 09:00:08 -07:00
Kevin Sawicki
b474a818aa
Always return false from link click callback
2013-06-10 08:56:19 -07:00
Kevin Sawicki
cea521a737
Save window parameters on reload
2013-06-08 17:22:21 -07:00
Kevin Sawicki
b89eb07c6e
URI encode parameter values
...
Previously the path to open would not open properly if it contained
a '&' character since the character was not encoded and would cause
the parameter parsing to stop at the first '&'.
2013-06-07 11:11:31 -07:00
Kevin Sawicki
7f6e5e2e52
Un-f image view spec
2013-06-07 11:02:41 -07:00
Kevin Sawicki
4fdaf6dead
Always open untitled editor when no path to open
...
Refs #577
2013-06-07 10:54:51 -07:00
Kevin Sawicki
dea0e08d93
Use hash instead of query string for parameters
...
This allows the pathToOpen to be changed when the project
path changes.
Previously if the untitled window file was saved, the project
path would be forever associated with the undefined window.
Now when the project path changes, the pathToOpen changes so
that the state is persisted to the project area and the untitled
window never has a project.
2013-06-07 10:50:06 -07:00
Kevin Sawicki
fca1c13d03
Move image-view to a package
...
This removes the ugliness of having project.coffee require
image-edit-session at the end since the image-edit-session can
now register itself in an @activate callback and as a deferred
deserializer in the package.cson file.
2013-06-07 10:15:32 -07:00
Kevin Sawicki
3029137cb8
Correct typo in return comment
2013-06-07 09:31:04 -07:00
Kevin Sawicki
c7c9a2496a
Sort autocomplete words case insensitively
2013-06-07 09:18:16 -07:00
Kevin Sawicki
f40a7105bc
Call .openPath() when 'new-window' is triggered
...
Closes #577
2013-06-07 08:51:10 -07:00
Kevin Sawicki
00313c747a
Mention TODO
2013-06-07 08:29:05 -07:00
Kevin Sawicki
2ffd187094
Mention full screen persistence
2013-06-07 08:27:53 -07:00
Cheng Zhao
6f519b0456
Show unresponsive message dialog as sheet.
2013-06-07 16:26:58 +08:00
Cheng Zhao
cb2bf796fa
Show prompt to force closing window when window is frozen.
...
Fixed atom/atom-shell#17 .
2013-06-07 16:26:18 +08:00
Cheng Zhao
bbde993e81
Fullscreen => FullScreen.
2013-06-07 14:33:55 +08:00
Kevin Sawicki
9088ecca16
Default first argument to empty hash
2013-06-06 17:31:54 -07:00
Kevin Sawicki
9a99af2281
Store/restore full screen state on root view
...
Closes #245
2013-06-06 17:21:33 -07:00
Kevin Sawicki
70bb40ce2f
Show all words when prefix and suffix are empty
...
This seems more applicable than just showing the "No matches found"
error when the current position has neither a prefix or a suffix.
2013-06-06 16:42:37 -07:00
Kevin Sawicki
9fea9ea756
Catch and log errors thrown by process.kill()
...
These can occur if killing the process fails because it no longer exists.
2013-06-06 16:23:53 -07:00
Kevin Sawicki
dc46960e6c
Update scroll position after layer dimensions
...
Calling updateLayerDimensions() may change the scroll position
so restore the edit session's stored scroll positions after
updateLayerDimensions() is called but store the scroll left and
scroll top positions beforehand.
2013-06-06 16:15:51 -07:00
Kevin Sawicki
7a04b22375
💄
2013-06-06 16:00:44 -07:00
Kevin Sawicki
d5526515f1
Only save scroll position when attached
2013-06-06 15:58:44 -07:00
Kevin Sawicki
8aeedb8971
Upgrade apm
2013-06-06 13:23:19 -07:00
Kevin Sawicki
9fe7bfb898
Remove unneeded activatePackage calls
...
These are already done in the root beforeEach
2013-06-06 12:45:41 -07:00
Kevin Sawicki
7313407d04
Resolve ${group:/command} style pattern names
...
These are used by the todo package to include the lower cased
version of the matched capture index in the pattern scope name.
2013-06-06 12:39:51 -07:00
Kevin Sawicki
42d70f888e
Bundle todo package
2013-06-06 12:37:39 -07:00
Kevin Sawicki
881efc8e8f
Add mdown for GFM fileTypes
2013-06-06 12:12:26 -07:00
Kevin Sawicki
71c86381df
Support includes inside of injection grammars
2013-06-06 11:30:01 -07:00
Kevin Sawicki
efdb750334
Mention make package
2013-06-06 11:02:57 -07:00
Kevin Sawicki
5afd8d8bd3
Bundle make package
2013-06-06 10:40:45 -07:00
Kevin Sawicki
6f21ea930a
Menion opening fuzzy finder to specific line
2013-06-06 10:23:58 -07:00
Kevin Sawicki
af14f57962
Support opening fuzzy finder to a specific line
...
Adding a line number after a colon such as ':8' to the end of the fuzzy
filter input field will navigate to line 8 of the opened editor.
2013-06-06 10:17:15 -07:00
Kevin Sawicki
e9b8f71997
Mark indentation issues as errors
...
All existing issues have been resolved.
2013-06-06 08:33:25 -07:00
Kevin Sawicki
2f8c45aec4
Break out wrap test to own function
2013-06-06 08:32:47 -07:00
Kevin Sawicki
eaf5b8bc8e
Remove duplicate getLastScreenRow() method
2013-06-06 08:21:00 -07:00
Kevin Sawicki
efb2cfab9f
Remove duplicate getBufferRowCount() method
2013-06-06 08:19:21 -07:00
Kevin Sawicki
320328777e
Remove duplicate keys in classes
2013-06-06 08:18:08 -07:00
Kevin Sawicki
21f965f284
Mark empty param lists as errors
2013-06-06 08:16:23 -07:00
Kevin Sawicki
5c36064afc
Remove empty param lists
2013-06-06 08:16:11 -07:00
Cheng Zhao
01b583957e
Add back edit menu.
...
On OS X, applications rely on the menu to trigger native events for
various commands. Editor view doesn't need it before it listens to the
keyboard shortcuts itself. Since spec window and devtools view don't
listen to keyboard shortcuts, we should rely on the menu to make edit
commands work.
Fixed atom/atom-shell#18 .
2013-06-06 10:24:30 +08:00
Kevin Sawicki
7ccf2390a7
Constantly sync scroll left/top value from editor to edit session
...
Previously these values were only saved on the edit session when
is became inactive causing the scroll position to not always
persist between refreshes.
Closes #474
2013-06-05 19:14:30 -07:00
Cheng Zhao
feab9862ac
Update apm for node v0.10.9.
2013-06-06 09:57:03 +08:00
Kevin Sawicki
f85f95e792
Move universal comment toggle specs to edit-session-spec
2013-06-05 17:58:39 -07:00
Kevin Sawicki
d658e7c490
Only uncomment when all lines start with a comment
...
Previously only the first row was checked for a comment. Now all
rows are checked and the rows are only uncommented when they all
start with a comment.
This only impacts languages that do not specify a command end pattern.
Closes #554
2013-06-05 17:38:50 -07:00
Kevin Sawicki
520e510aab
Update expection extension to .less
2013-06-05 17:02:44 -07:00
Kevin Sawicki
769834e1a6
Add more common binary exetnsions
2013-06-05 17:00:30 -07:00
Kevin Sawicki
42d06d6281
Update path text when active item title changes
...
Closes #573
2013-06-05 16:53:52 -07:00
Kevin Sawicki
0d6028976b
Convert light and dark syntaxes to less
...
Closes #533
2013-06-05 16:25:12 -07:00
Kevin Sawicki
69f7af7c63
Ignore errors unlinking non-existent path
2013-06-05 11:54:27 -07:00
Kevin Sawicki
abbada47da
Put node directory in PATH when spawning
...
This ensures the node used by the spawned process is the one bundled
with Atom.
This should prevent any "env: node: No such file or directory"
errors when spawning a node bin script such as nak.
Refs #514
2013-06-05 10:58:52 -07:00
Kevin Sawicki
e7679d8320
Remove submoduling 3rd-party packages
2013-06-05 10:51:55 -07:00
Kevin Sawicki
d3807fd908
Remove deleted folder
2013-06-05 10:51:11 -07:00
Kevin Sawicki
5adf74794b
Log errors from nak to console
2013-06-04 18:47:05 -07:00
Kevin Sawicki
73c2e94a32
Pad image from container
2013-06-04 18:43:44 -07:00
Kevin Sawicki
66000a6769
Upgrade to oniguruma 0.16
...
This release returns objects for capture indices instead of
the index, start, and end in sequence in a single array.
2013-06-04 17:41:02 -07:00
Kevin Sawicki
09b15bab9b
Mention tree view and utf8 fixes
2013-06-04 13:55:07 -07:00
Kevin Sawicki
0ed88c474a
💄
2013-06-04 13:43:19 -07:00
Kevin Sawicki
c40a312e73
Add spec with surrogate pair token with trailing text
2013-06-04 13:43:19 -07:00
Kevin Sawicki
3d1ca5abb1
Add specs for partial surrogate pairs
2013-06-04 13:43:19 -07:00
Kevin Sawicki
f63866b2a2
Rename hasSurrogatePairs() to hasSurrogatePair()
2013-06-04 13:43:19 -07:00
Kevin Sawicki
7dec3866cf
Update spec description to be accurate
2013-06-04 13:43:19 -07:00
Kevin Sawicki
06a5234d10
Doc text-utils.coffee
2013-06-04 13:43:19 -07:00
Kevin Sawicki
a109a3317e
Add support for surrogate pairs
...
Surrogate pairs, meaning characters outside the Basic
Multilingual Plane, are now broken out as atomic tokens.
Closes #567
2013-06-04 13:43:19 -07:00
Kevin Sawicki
9f4fc49790
💄
2013-06-04 13:38:14 -07:00
Kevin Sawicki
6c8063b26a
Use active pane item for path
...
Previously the active view was used to obtain the path.
The ImageView does not provide a path and was causing an
exception to be thrown when getPath was called on it
unguarded.
Closes #568
2013-06-04 13:36:45 -07:00
Kevin Sawicki
36ddbe99a1
Have inner image-container consume entire area
2013-06-04 13:23:26 -07:00
Cheng Zhao
47e5c0df16
Merge branch 'master' into atom-shell
...
Conflicts:
.nakignore
2013-06-04 09:52:18 +08:00
Kevin Sawicki
86635c4543
Ignore docs/api when searching
2013-06-03 17:40:45 -07:00
Kevin Sawicki
855549d677
Remove unused method
2013-06-03 13:39:50 -07:00
Kevin Sawicki
d58ec4d3f6
Show window from bootstrap script
2013-06-03 13:23:16 -07:00
Kevin Sawicki
879cc31261
Replace DevTools with Developer Tools in menu text
2013-06-03 13:19:05 -07:00
Kevin Sawicki
56fea45505
Replace Atom Shell with Atom in menu text
2013-06-03 13:17:40 -07:00
Kevin Sawicki
5e7656489d
Add toggle full screen to View menu
2013-06-03 13:16:51 -07:00
Kevin Sawicki
a816423037
Remove non-functional menus
...
These can be re-added as they are wired to triggering
commands into Atom.
2013-06-03 13:10:40 -07:00
Kevin Sawicki
f3a500923c
Catch and log errors parsing window state
...
Previously if a read or parse error occurred the window
would never show and the dev tools would be inaccessible.
2013-06-03 12:14:17 -07:00
Kevin Sawicki
7f0947ef9b
Don't cancel on delay when no tags exist
...
Instead just show the error until explicitly cancelled so the behavior
when no tags is the same as the behavior when no tags match the
current filter.
2013-06-03 11:46:30 -07:00
Kevin Sawicki
f90530f593
💄
2013-06-03 10:50:13 -07:00
Kevin Sawicki
3683f7e097
Move show() to atom.coffee
...
Co-locates it with hide() and focus() which are similar.
2013-06-03 10:43:43 -07:00
Kevin Sawicki
98310e8d7a
💄
2013-06-03 10:32:35 -07:00
Kevin Sawicki
8c9aad9e34
Merge branch 'master' into atom-shell
2013-06-03 09:38:47 -07:00
Kevin Sawicki
2b6a4365ac
Upgrade apm
2013-06-03 09:34:53 -07:00
Kevin Sawicki
94c1ed4c28
Add node_modules dir to config.bundledPackageDirPaths array
2013-06-03 09:32:20 -07:00
Kevin Sawicki
c1a1633593
Break on first path match
2013-06-03 09:30:33 -07:00
Cheng Zhao
a6c37ff276
💄 on code style.
2013-06-03 22:56:30 +08:00
Cheng Zhao
495b218c7f
Make atom.update() work.
2013-06-03 22:48:52 +08:00
Cheng Zhao
d224f3c5bd
Don't check for updates if it's a custom build.
...
Currently we check whether the version has the '.', the custom builds
would have commit hash as version, which doesn't contain '.'.
2013-06-03 22:33:04 +08:00
Cheng Zhao
be309aba69
Setup crash reporter on 'will-finish-launching' event.
2013-06-03 22:26:47 +08:00
Cheng Zhao
2b3d3d9cf5
Make auto updater work.
2013-06-03 22:21:45 +08:00
Cheng Zhao
681969439d
Merge branch 'master' into atom-shell
2013-06-03 19:53:10 +08:00
Cheng Zhao
f9be1f3493
Convert Info.plist to XML format.
2013-06-03 18:42:23 +08:00
Cheng Zhao
a2efd40798
URL => Url.
2013-06-02 15:16:21 +08:00
Cheng Zhao
94e7011413
Update node version to v0.10.9.
...
Should make this default settings after atom-shell branch is merged.
2013-06-02 10:25:35 +08:00
Cheng Zhao
1aca554ae3
Make atom.crashMainProcess and atom.crashRenderProcess work.
2013-06-02 00:34:12 +08:00
Cheng Zhao
eefc18202f
Make crash reporter work.
2013-06-01 20:15:19 +08:00
Cheng Zhao
70e414b279
Check the existence of socketPath.
...
See the comments for the reason.
2013-06-01 14:09:53 +08:00
Cheng Zhao
e629088ec3
Make sure Atom terminates after message is sent.
2013-06-01 13:11:07 +08:00
Kevin Sawicki
9431a8c3ac
Check that scope name is present before comparing
...
Previously if the last 2 rules in the stack had no scope
name and the position wasn't advancing then the last rule
would be popped.
This caused Java single line comments to not parse properly
since the push rules for comment blocks have no scope name.
2013-05-31 09:28:41 -07:00
Kevin Sawicki
9e7a9e6210
Remove incorrect @
...
anchorPosition is a parameter
2013-05-31 09:25:54 -07:00
Cheng Zhao
c36fc467e6
Since files passed in command line won't trigger 'open-file' any more, there is no need to clean duplicate paths.
...
It also seems that there is a typo...
2013-05-31 10:30:37 +08:00
Kevin Sawicki
0c7701dc57
Copy files consistently with perms
2013-05-30 18:00:14 -07:00
Kevin Sawicki
2dbbce31d6
Set resource path as single argument
2013-05-30 16:45:40 -07:00
Kevin Sawicki
d18ccc168f
Guard against null options
2013-05-30 16:45:40 -07:00
Kevin Sawicki
cc5ae002a2
Ignore pkill failures
2013-05-30 16:45:40 -07:00
Kevin Sawicki
06886f98d4
Log failure code
2013-05-30 16:45:40 -07:00
Kevin Sawicki
5e072e94e8
Add ci task
2013-05-30 16:45:39 -07:00
Kevin Sawicki
9e4ef708e4
Add test task
2013-05-30 16:45:15 -07:00
Kevin Sawicki
da0af11bbb
Only delete file if it exists
2013-05-30 16:45:15 -07:00
Kevin Sawicki
04b8ab1b87
Add bootstrap task
2013-05-30 16:45:15 -07:00
Kevin Sawicki
7988e3ead9
Run postbuild scripts after compile
2013-05-30 16:45:15 -07:00
Kevin Sawicki
b51aea98b4
Copy symlinks properly
2013-05-30 16:45:15 -07:00
Kevin Sawicki
91cb03a43c
Filter paths while recursing
2013-05-30 16:45:14 -07:00
Kevin Sawicki
9977f4efab
Use grunt API for is directory
2013-05-30 16:45:14 -07:00
Kevin Sawicki
7928f075b5
Use grunt API for mkdir and rm
2013-05-30 16:45:14 -07:00
Kevin Sawicki
79bc23f83a
Copy source mode to destination
2013-05-30 16:45:14 -07:00
Kevin Sawicki
b201dbb698
Use grunt API for copying folders
2013-05-30 16:45:14 -07:00
Kevin Sawicki
11004c20e6
Use grunt API for copying files
2013-05-30 16:45:14 -07:00
Kevin Sawicki
3a54d0b8a9
💄
2013-05-30 16:45:14 -07:00
Kevin Sawicki
24d5fdd6eb
Create path to install directory
2013-05-30 16:45:14 -07:00
Kevin Sawicki
75eb321272
Support copying files and folder from cp function
2013-05-30 16:45:14 -07:00
Kevin Sawicki
ef8f630ad5
Copy non-compiled files to build directory
2013-05-30 16:45:14 -07:00
Kevin Sawicki
5c51060dca
Add atom-shell segment to BUILD_DIR
2013-05-30 16:45:14 -07:00
Kevin Sawicki
ec13dea5e6
Add missing atom-shell segment to APP_DIR
2013-05-30 16:45:14 -07:00
Kevin Sawicki
affd4a481f
Add install task
2013-05-30 16:45:13 -07:00
Kevin Sawicki
eafad9a5c4
Show skull menu when in dev mode
2013-05-30 16:31:54 -07:00
Corey Johnson & Kevin Sawicki
454656a91c
Use open-file event for paths to open
2013-05-30 15:15:08 -07:00
Corey Johnson & Kevin Sawicki
a5c3ca9e8e
Add open menu under File
2013-05-30 14:04:15 -07:00
Corey Johnson & Kevin Sawicki
4db152b2d7
Killing comment that made kevin angry
2013-05-30 12:07:48 -07:00
Corey Johnson & Kevin Sawicki
43a2096852
Don't reuse windows when --wait flag is set
2013-05-30 12:02:56 -07:00
Corey Johnson & Kevin Sawicki
f76ab1ebe6
Add open class method to AtomApplication
2013-05-30 11:57:49 -07:00
Corey Johnson & Kevin Sawicki
04392c562e
Create AtomApplication after app is finished launching
2013-05-30 11:38:08 -07:00
Corey Johnson & Kevin Sawicki
a4470f9b6d
Ignore windows without paths
2013-05-30 11:05:16 -07:00
Cheng Zhao
db85792c59
Center the window by default, instead of position of (0, 0).
2013-05-30 22:16:15 +08:00
Cheng Zhao
92f071de93
Add script to clean up "open with" menu.
...
By compiling and running Atom again and again, the "open with" menu
would be polluted with various Atoms... This script cleans them.
2013-05-30 22:11:24 +08:00
Cheng Zhao
ee046f1c25
Check whether the socket file exists before connecting.
...
By removing the socket file when the browser process of Atom quits and
checking it's existence before trying to connect it, we can greatly
reduce the startup time of the first instance of Atom.
2013-05-30 22:02:35 +08:00
Cheng Zhao
2135de059f
Also listen to 'open-file' event in constructor.
...
The 'open-file' may happen before application is launched.
2013-05-30 21:37:14 +08:00
Cheng Zhao
3cad4ae118
Adopt to filename changes of atom-shell.
2013-05-30 21:36:49 +08:00
Cheng Zhao
69b8b7989a
Listen to 'finish-launching' event in constructor.
...
Otherwise @handleEvents would never be called...
2013-05-30 21:30:46 +08:00
Cheng Zhao
3c02b28c11
Don't open any file until the application has finished launching.
...
When user double clicks a file in Finder, the Atom would start with no
pathToOpen, and then the 'open-file' event would be emitted for the
opened file. After 'open-file' event has been emitted for all files, the
'finish-launching' event would be finally emitted.
If no file has been opened and current process is the first instance of
Atom, Atom would open the empty editor.
2013-05-30 19:55:10 +08:00
Cheng Zhao
9e7510deea
atomWindow.pathToOpen could be null.
2013-05-30 18:21:58 +08:00
Cheng Zhao
e259df1d0a
Add various file types in Info.plist.
2013-05-30 17:04:32 +08:00
Cheng Zhao
941a3d8bf8
Open file when received 'open-file' event.
...
This event is emitted when the OS X opens files with Atom.
2013-05-30 16:13:25 +08:00
Kevin Sawicki
970227e082
Add initial build task
2013-05-29 17:35:00 -07:00
Kevin Sawicki
c42b018915
Simplify lint task
2013-05-29 16:45:12 -07:00
Kevin Sawicki
c7553e032e
Correct indentation
2013-05-29 16:45:00 -07:00
Kevin Sawicki
3e10fac5d0
Add clean task
2013-05-29 16:39:37 -07:00
Corey Johnson & Kevin Sawicki
b15f0b0805
Guard against null pathsToOpen
2013-05-29 15:49:50 -07:00
Corey Johnson & Kevin Sawicki
fa3c636494
Doc test flag
2013-05-29 14:57:33 -07:00
Corey Johnson & Kevin Sawicki
b91487c60f
Pass pid to kill to AtomApplication ctor
2013-05-29 14:52:45 -07:00
Corey Johnson & Kevin Sawicki
8ad695e89f
Make atomApplication a global
2013-05-29 14:49:43 -07:00
Corey Johnson & Kevin Sawicki
0f5c68971c
💄
2013-05-29 14:43:57 -07:00
Corey Johnson & Kevin Sawicki
3373549e56
Resolve paths to open in main.coffee
2013-05-29 14:39:20 -07:00
Corey Johnson & Kevin Sawicki
608fcbd0a1
Use relative requires
2013-05-29 14:38:48 -07:00
Corey Johnson & Kevin Sawicki
1470ae73e7
Make --wait flag work again
2013-05-29 14:09:44 -07:00
Corey Johnson & Kevin Sawicki
b0f51eaca6
Stringify Browser logging
2013-05-29 14:05:58 -07:00
Corey Johnson & Kevin Sawicki
715210944e
Forward console.log to NSLog in browser process
2013-05-29 14:05:58 -07:00
Kevin Sawicki
a4f35a8452
Remove OnigRegExp spec now included in package
2013-05-29 13:46:00 -07:00
Kevin Sawicki
5a691a1b1e
Merge branch 'master' into atom-shell
2013-05-29 13:23:23 -07:00
Kevin Sawicki
73a755f29b
Move grunt packages to dev dependencies
2013-05-29 13:16:52 -07:00
Kevin Sawicki
fe7f36ad7f
Add initial csslint task
2013-05-29 12:13:47 -07:00
Kevin Sawicki
36e41ecae6
Remove invalid class name
2013-05-29 12:10:56 -07:00
Kevin Sawicki
367e532578
Remove empty rule
2013-05-29 12:04:16 -07:00
Kevin Sawicki
ce71cf7703
Use correct indentation
2013-05-29 11:55:06 -07:00
Kevin Sawicki
e19c0e4f87
Remove semicolons
2013-05-29 11:52:14 -07:00
Kevin Sawicki
60881e2ecd
Don't lint fixtures
2013-05-29 11:50:53 -07:00
Kevin Sawicki
f8fb803e52
Update snippet for newly upgraded javascript bundle
2013-05-29 11:46:05 -07:00
Kevin Sawicki
19411d3d3d
Update package id for fixture with broken snippets
2013-05-29 11:45:35 -07:00
Corey Johnson & Kevin Sawicki
c1ebf8ae1a
Allow Syntaxes and Preferences directories to be lowercase
2013-05-29 11:02:57 -07:00
Corey Johnson & Kevin Sawicki
f8f059d3fe
Use correct textmate package names
2013-05-29 11:01:59 -07:00
Corey Johnson & Kevin Sawicki
17a83933d4
Use two -f flags to clean all git dirs
2013-05-29 10:01:33 -07:00
Cheng Zhao
326c1332bf
shell.moveToTrash => shell.moveItemToTrash
2013-05-29 20:04:00 +08:00
Cheng Zhao
c6d4942295
Generate Info.plist for App and Helper.
2013-05-29 19:33:48 +08:00
Cheng Zhao
9a08ea10cc
Copy icon files and speakeasy.pem to bundle.
2013-05-29 18:57:02 +08:00
Cheng Zhao
aace41032e
Rake clean should also clean unused files of master branch.
...
So when people switch from master branch to atom-shell, they wouldn't
have to clean those files themselves.
2013-05-29 12:21:26 +08:00
Cheng Zhao
b1e8a45fbe
Remove some dead code.
2013-05-29 12:20:56 +08:00
Cheng Zhao
0cc86b024d
Unspy atom.setWindowState after each spec.
...
Spec window needs to call it to save window dimenses.
2013-05-29 12:20:55 +08:00
Cheng Zhao
d4142db847
Restart renderer process instead of reloading.
...
Chromium has the bug that reloading would cause memory leaks, and V8's
GC would slow down everything, so restarting the renderer process when
the Atom is reloaded would make things much cleaner.
2013-05-29 12:20:55 +08:00
Kevin Sawicki
30b67af51a
doc dev flag
2013-05-28 18:15:25 -07:00
Kevin Sawicki
be595a62b7
Add version to usage message
2013-05-28 17:56:07 -07:00
Kevin Sawicki
f64724eda0
doc wait flag
2013-05-28 17:54:54 -07:00
Kevin Sawicki
fe532b9dd5
Add initial help message
2013-05-28 17:52:19 -07:00
Kevin Sawicki
40dd8275d2
Add initial Gruntfile
2013-05-28 17:30:09 -07:00
Corey Johnson & Kevin Sawicki
40b654048b
Recompile atom-application and atom-window
2013-05-28 17:29:00 -07:00
Corey Johnson & Kevin Sawicki
53f98951ea
Parse out wait and pid arguments
2013-05-28 16:31:23 -07:00
Corey Johnson & Kevin Sawicki
88a3a82a21
Resolve paths to open in constructor
2013-05-28 15:10:26 -07:00
Corey Johnson & Kevin Sawicki
bb5e18d981
Exit with 0 when process exists
2013-05-28 14:53:17 -07:00
Corey Johnson & Kevin Sawicki
7bc905d352
Reuse existing windows when opening paths from command line
2013-05-28 14:45:54 -07:00
Kevin Sawicki
ba60324426
Correct indentation
2013-05-28 13:29:45 -07:00
Kevin Sawicki
a731e4a9b5
Remove semicolons
2013-05-28 13:26:34 -07:00
Kevin Sawicki
ed4d12bfcb
Remove non-existent directory
2013-05-28 13:07:29 -07:00
Kevin Sawicki
0c44769740
Use relative main path
2013-05-28 13:05:15 -07:00
Kevin Sawicki
8c774a204d
Remove submodules task
...
This is handled in script/bootstrap
2013-05-28 12:57:46 -07:00
Kevin Sawicki
9919387904
Use shorter symlink paths
2013-05-28 12:54:08 -07:00
Kevin Sawicki
13d57f56f6
Focus existing window for path
2013-05-28 12:26:54 -07:00
Kevin Sawicki
56731927ee
💄
2013-05-28 12:03:47 -07:00
Kevin Sawicki
b21db90456
💄
2013-05-28 12:02:11 -07:00
Kevin Sawicki
55e0f91bcc
Resolve paths before writing to socket
2013-05-28 11:59:26 -07:00
probablycorey
0eaec66ba6
Remove all native code
2013-05-28 11:46:19 -07:00
Kevin Sawicki
7c4f373d2a
Add back coffee-script require but don't assign it
2013-05-28 11:28:03 -07:00
Kevin Sawicki
60e08de077
Remove unused require
2013-05-28 11:17:25 -07:00
Kevin Sawicki
a081c47efa
Join github and atom dirs
2013-05-28 11:05:46 -07:00
Kevin Sawicki
b015b8bd2b
💄
2013-05-28 11:00:13 -07:00
Kevin Sawicki
2bd95a2b57
Merge branch 'master' into atom-shell
...
Conflicts:
.gitmodules
2013-05-28 10:47:46 -07:00
Kevin Sawicki
ea7ff135ee
💄
2013-05-28 09:42:20 -07:00
Kevin Sawicki
e84e13fe37
Load internal modules with an atom engines field as packages
2013-05-28 09:25:28 -07:00
Kevin Sawicki
617af68aeb
Upgrade apm
2013-05-28 09:25:28 -07:00
Kevin Sawicki
6690598024
Use TextMate packages instead of vendoring bundles
2013-05-28 09:25:22 -07:00
Cheng Zhao
54de539b8b
'pathsToOpen' passed in 'open' message is an array.
2013-05-27 21:38:46 +08:00
Cheng Zhao
684778b666
Map 'meta-r' to 'window:reload' in renderer.
2013-05-25 15:37:22 +08:00
Cheng Zhao
e89ee8ff3c
💄
2013-05-25 15:36:47 +08:00
Cheng Zhao
50ba01e22d
If no 'executed-from' and 'pathsToOpen' is provided, open empty editor.
2013-05-25 14:56:17 +08:00
Cheng Zhao
462bd77ad5
Make atom.open work with parameters.
2013-05-25 14:38:04 +08:00
Cheng Zhao
0cdbfed7ab
Push new window to atomApplication.windows in AtomWindow.
2013-05-25 12:04:53 +08:00
Cheng Zhao
ddfae74ba4
Only allow one config window.
2013-05-25 11:58:18 +08:00
Cheng Zhao
45f96ab67f
Fix atom.getVersion.
2013-05-25 11:50:23 +08:00
probablycorey
5170478f19
Rely on the atom cli created inside Atom
2013-05-24 14:54:32 -07:00
probablycorey
6b08d18f4b
Move AtomWindow to it's own file
2013-05-24 14:46:25 -07:00
probablycorey
7aa6c1c08e
Change how pathsToOpen gets passed around
2013-05-24 14:45:48 -07:00
probablycorey
623a58fb47
Use the local pathsToOpen
2013-05-24 14:43:58 -07:00
probablycorey
b6c543734a
Moved AtomApplication out of main.coffee
2013-05-24 11:53:49 -07:00
probablycorey
6ae858d35c
🙈
2013-05-24 11:53:49 -07:00
Cheng Zhao
47410c54e5
Remove 'modal dialogs' spec.
...
The main purpose of this spec is to test whether the simulation of modal
dialogs works, since the dialogs of atom-shell are real blocking modal
dialogs, there is no need to check whether the dialogs are presented as
modal dialogs correctly any more.
2013-05-25 00:20:54 +08:00
Cheng Zhao
e430002951
atom.getVersion returns plain string, not string object.
2013-05-25 00:19:50 +08:00
Cheng Zhao
0fa5ca3782
Generate version after all files are copied.
...
And also note that <(PRODUCT_DIR) cannot work in postbuilds.
2013-05-24 23:58:01 +08:00
Cheng Zhao
6bbea1bbf2
Clean atom-shell caches in 'rake clean'.
2013-05-24 23:35:31 +08:00
Cheng Zhao
a00fe91fca
Show Atom's version.
2013-05-24 23:24:46 +08:00
Cheng Zhao
22d77af409
Also restore dimensions for spec window.
2013-05-24 22:09:44 +08:00
Cheng Zhao
e2a18e3487
Hide window when window is going to close, not when unloading.
...
Otherwise reloading window would also hide and then show window, which
makes things weird.
2013-05-24 21:58:14 +08:00
Cheng Zhao
7bb6a7c1e8
Restore window dimensions after atom.windowMode is set.
...
It's required to set atom.windowMode before getting window state.
2013-05-24 21:52:03 +08:00
Cheng Zhao
2937404227
Make cibuild work.
2013-05-24 21:29:35 +08:00
Cheng Zhao
a3b7df7b25
Fix window spec.
...
The windowStatePath now requires atom.windowMode, without setting it the
deserializeEditorWindow would create the wrong window.project.
2013-05-24 21:10:40 +08:00
Cheng Zhao
6edcb553e8
If no pathsToOpen is specified and executedFrom is provided, then open executedFrom.
...
This is the expected behavior of 'atom' cli command.
2013-05-24 20:41:52 +08:00
Cheng Zhao
ce1c1e1f88
Hide window before doing unload work.
...
In this way we can give user the feeling of quick close even though the
unloading could take some time.
2013-05-24 20:12:42 +08:00
Cheng Zhao
fa0a35741a
Make configuration window work.
2013-05-24 19:45:20 +08:00
Cheng Zhao
cf4c2b5768
Return separate windowStatePath for config window.
2013-05-24 19:33:25 +08:00
Cheng Zhao
0dd823aa38
Merge branch 'master' into atom-shell
2013-05-24 19:12:47 +08:00
Cheng Zhao
b9b8101676
Window without pathToOpen should also has meaningful windowStatePath.
2013-05-24 19:02:53 +08:00
Cheng Zhao
d1917fb986
Calling AtomApplication.open() without parameters should work.
2013-05-24 18:40:33 +08:00
Cheng Zhao
e1442efef3
Make sure web view in spec window never loses focus.
2013-05-24 18:21:48 +08:00
Cheng Zhao
20b53313af
dimensions could be undefined.
2013-05-24 16:34:26 +08:00
probablycorey
15baa08ca2
Only allow one atom process to run at a time
...
If another atom process is opened, it will send its pathsToOpen to the
existing atom process via a socket
2013-05-23 16:34:49 -07:00
Kevin Sawicki
7daeb6c633
Allow json grammars in TextMate bundles
2013-05-23 12:11:17 -07:00
Kevin Sawicki
a267b67337
Remove unused require
2013-05-23 11:58:34 -07:00
probablycorey
70ac47b8a8
🙈
2013-05-23 11:18:31 -07:00
probablycorey
61d9f957ea
Change indexOf string matching calls to use regex
2013-05-23 10:31:07 -07:00
probablycorey
c0149100bb
💄
2013-05-23 10:26:31 -07:00
Cheng Zhao
1b896d8b30
Fix link package spec.
2013-05-23 15:04:47 +08:00
Cheng Zhao
20c0b76329
Add prefix for loading packages in spec/fixtures.
2013-05-23 14:50:56 +08:00
Cheng Zhao
f715a6fca2
Fix opening links in external browsers.
2013-05-23 14:50:21 +08:00
Cheng Zhao
8849eb1186
Remove a few abandonded atom.* functions relying on sendMessageToBrowserProcess.
2013-05-23 14:13:39 +08:00
Cheng Zhao
95d5bff6ba
Make atom work when there is no enough command line parameters.
2013-05-23 10:53:35 +08:00
Cheng Zhao
1d9449838f
Make detect order of resourcePath more robust.
...
1. Use the resource-path of process.argv if specified;
2. Otherwise if --dev is specified then use ~/github/atom;
3. If no valid resourcePath is provide use the ones in bundle.
2013-05-23 10:36:27 +08:00
probablycorey
b5bd7160d2
Update window spec
2013-05-22 16:44:09 -07:00
probablycorey
ce4cb0db80
Test window.closeWithoutConfirm instead of window.close
2013-05-22 16:28:13 -07:00
Kevin Sawicki
603868a8c9
Mention installing packages
2013-05-22 16:02:48 -07:00
probablycorey
7716441bbd
Update clipboard calls in edit session spec
2013-05-22 16:01:57 -07:00
Kevin Sawicki
b5c805f0e9
Listen for package events and update view on state changes
2013-05-22 15:44:44 -07:00
Kevin Sawicki
6f54250ee5
Include error in trigger arguments
2013-05-22 15:41:03 -07:00
probablycorey
2746d72731
Ignoring 'modal native dialogs' spec
...
/cc @zcbenz since we don't use sendMessageToBrowserProcess anymore
these specs aren't mocked correctly. Is there a method that we can
mock when calling remote objects?
2013-05-22 15:34:48 -07:00
probablycorey
7f083acdc4
Update atom specs
2013-05-22 15:31:59 -07:00
Kevin Sawicki
681bc18248
Add spec for installing a package
2013-05-22 15:29:38 -07:00
Kevin Sawicki
23ce97a358
Add spec for uninstalling a package
2013-05-22 15:29:38 -07:00
Kevin Sawicki
26bfd95289
Expect relative main path
2013-05-22 15:29:38 -07:00
Kevin Sawicki
51cd8cc977
Add string case to unsubscribeFromActivationEvents()
2013-05-22 15:29:38 -07:00
Kevin Sawicki
571c953e51
Mark emitter class as internal
2013-05-22 15:29:38 -07:00
Kevin Sawicki
d65b3608ba
Add keybinding to description
2013-05-22 15:29:38 -07:00
Kevin Sawicki
14db63df3c
Support single string activationEvents
2013-05-22 15:29:38 -07:00
Kevin Sawicki
ed95c0d555
Add a description for each package
2013-05-22 15:29:38 -07:00
Kevin Sawicki
8deaeed6b7
Use a relative require path
2013-05-22 15:29:38 -07:00
Kevin Sawicki
05df25b8f4
Update spec for new DOM layout
2013-05-22 15:29:38 -07:00
Kevin Sawicki
9a5fc6ebe8
Add retry button for when fetching fails
2013-05-22 15:29:38 -07:00
Kevin Sawicki
d671345ab3
Update views when packages are installed/uninstalled
2013-05-22 15:29:37 -07:00
Kevin Sawicki
9ecfe91729
💄
2013-05-22 15:29:37 -07:00
Kevin Sawicki
fa571717d4
Only unload package if it is loaded
2013-05-22 15:29:37 -07:00
Kevin Sawicki
262a7d549e
Add asserts for version text
2013-05-22 15:29:37 -07:00
Kevin Sawicki
860dd76d0d
Wait for packages loaded event before starting specs
2013-05-22 15:29:37 -07:00
Kevin Sawicki
484c16da42
Always trigger loaded event
2013-05-22 15:29:37 -07:00
Kevin Sawicki
9552ebf4c2
Add warning label instead of warning panel when disabled
2013-05-22 15:29:37 -07:00
Kevin Sawicki
732c846cfc
Show label when update is available
2013-05-22 15:29:37 -07:00
Kevin Sawicki
a518af71ea
Unload package before upgrade
2013-05-22 15:29:37 -07:00
Kevin Sawicki
ca8a99bcfb
Support a string repository field
2013-05-22 15:29:37 -07:00
Kevin Sawicki
d1a5add3ea
Remove unused requires
2013-05-22 15:29:37 -07:00
Kevin Sawicki
055e4d96e8
Render markdown in installed package views
2013-05-22 15:29:37 -07:00
Kevin Sawicki
ce20bba792
Show loading message in available tab
2013-05-22 15:29:37 -07:00
Kevin Sawicki
80a55bb69a
Use correct path variable name
2013-05-22 15:29:37 -07:00
Kevin Sawicki
32bdffa7eb
Add description
2013-05-22 15:29:36 -07:00
Kevin Sawicki
07e8ee35d9
Add Atom.getAvailablePackageMetadata()
...
This includes the metadata for all available packages
whether or not they are currently loaded.
2013-05-22 15:29:36 -07:00
Kevin Sawicki
25b8da0a76
Don't show uninstall action for bundled packages
2013-05-22 15:29:36 -07:00
Kevin Sawicki
63bfca3d09
Allow metadata to be loaded independently
2013-05-22 15:29:36 -07:00
Kevin Sawicki
37b1d4e77d
Force metadata name to be package name
2013-05-22 15:29:36 -07:00
Kevin Sawicki
d4e5050fc2
Load packages by name instead of path
2013-05-22 15:29:36 -07:00
Kevin Sawicki
0cd27eac50
Use CSON.resolve() to find metadata path
2013-05-22 15:29:36 -07:00
Kevin Sawicki
7fa67d4a21
Sort installed packages by name
2013-05-22 15:29:36 -07:00
Kevin Sawicki
493f02951f
Always include a name value in the metadata
2013-05-22 15:29:36 -07:00
Kevin Sawicki
82597aa636
Use same view for installed and available packages
2013-05-22 15:29:36 -07:00
Kevin Sawicki
76384747a1
Add isActive() helper to Package
2013-05-22 15:29:36 -07:00
Kevin Sawicki
e85e30c1f7
Simplify version label
2013-05-22 15:29:36 -07:00
Kevin Sawicki
25eb893837
💄
2013-05-22 15:29:36 -07:00
Kevin Sawicki
b6b48513de
Remove logging of selector length
2013-05-22 15:29:36 -07:00
Kevin Sawicki
e9a22192f7
Only show installed version when different
2013-05-22 15:29:35 -07:00
Kevin Sawicki
1fe576752b
Unload package when uninstalled
2013-05-22 15:29:35 -07:00
Kevin Sawicki
4277271992
Don't hide dropdown when clicked
2013-05-22 15:29:35 -07:00
Kevin Sawicki
6622e7369d
Decrease coverage to 75%
2013-05-22 15:29:35 -07:00
Kevin Sawicki
d2bd937f36
Store packages in hash instead of array
...
This allows quick lookup by name without having to
memoize the resolved path.
2013-05-22 15:29:35 -07:00
Kevin Sawicki
ff1f9b98d2
Use path.basename() instead of fsUtils.base()
2013-05-22 15:29:35 -07:00
Kevin Sawicki
0c85b40789
Add initial support for installing and uninstalling
2013-05-22 15:29:35 -07:00
Kevin Sawicki
b4104c0136
Use third package view instead of first
2013-05-22 15:29:35 -07:00
Kevin Sawicki
fb712cf9c1
Add asserts for homepage and issue links
2013-05-22 15:29:35 -07:00
Kevin Sawicki
061b285aeb
Use simpler internal tag
2013-05-22 15:29:35 -07:00
Kevin Sawicki
9841df732f
Remove unused method
2013-05-22 15:29:35 -07:00
Kevin Sawicki
9f94d1b6b4
Add initial spec for available packages
2013-05-22 15:29:35 -07:00
Kevin Sawicki
5b2b699618
💄
2013-05-22 15:29:35 -07:00
Kevin Sawicki
7c04662d7d
Remove logging statement
2013-05-22 15:29:34 -07:00
Kevin Sawicki
4746ac82c3
Show counts in nav area badge
2013-05-22 15:29:34 -07:00
Kevin Sawicki
a223439eb8
Combine package configs into single panel
2013-05-22 15:29:34 -07:00
Kevin Sawicki
6e50b5c005
Mark class as internal
2013-05-22 15:29:34 -07:00
Kevin Sawicki
213524e893
Show upgrade as default action when newer version exists
2013-05-22 15:29:34 -07:00
Kevin Sawicki
be020fad39
💄
2013-05-22 15:29:34 -07:00
Kevin Sawicki
2308533235
Add issue link to dropdown
2013-05-22 15:29:34 -07:00
Kevin Sawicki
009b50557c
Add homepage link to dropdown
2013-05-22 15:29:34 -07:00
Kevin Sawicki
8668dd67ac
Add README to package section
2013-05-22 15:29:34 -07:00
Kevin Sawicki
e7df1f1f3d
Use a dropdown button for package actions
2013-05-22 15:29:34 -07:00
Kevin Sawicki
6b81eebb02
Add initial available packages view
2013-05-22 15:29:34 -07:00
Kevin Sawicki
c4cfc0cff6
Move btn override to command panel stylesheet
2013-05-22 15:29:34 -07:00
Kevin Sawicki
d3cbd937fb
Clip buffer position in screenPositionForBufferPosition()
...
Closes #562
2013-05-22 15:25:27 -07:00
probablycorey
102068f9e5
Remove calls to $native
...
And now some specs pass!
2013-05-22 11:57:31 -07:00
probablycorey
0901e1a34c
Allow spec window to store window state
...
It just stores window dimensions for now.
2013-05-22 11:56:33 -07:00
probablycorey
6abe6e7539
💄
2013-05-22 11:39:16 -07:00
probablycorey
f6cb33b2ea
Replace resource-path flag with dev flag (assume atom is located at
...
~/github/atom)
2013-05-22 11:06:50 -07:00
Garen Torikian
1dc49cfc70
Merge pull request #561 from github/update-nak
...
Bump nak, for better gitignoring
2013-05-22 10:11:22 -07:00
Garen Torikian
f49ec5fac8
Explicitly require nak's bin executable
2013-05-22 10:05:50 -07:00
Garen Torikian
ab466b60c8
command in project.scan needs to resolve to the bin, not the lib file
...
This is because nak was changed to also be run as a regular Node script, not just an executable
2013-05-22 09:29:37 -07:00
Garen Torikian
d2e5c55bbf
Bump nak, for better gitignoring
2013-05-22 09:29:34 -07:00
Cheng Zhao
127e38a0b5
Don't send commands to renderer for reload and toggleDevTools menu item.
...
The specs window doesn't respond to window commands, so it would make
the menu items do not work.
2013-05-22 22:35:19 +08:00
Cheng Zhao
b68978ecb3
💄
2013-05-22 22:30:04 +08:00
Cheng Zhao
a381e36779
The resourcePath should also be added to 'NODE_PATH'.
...
The core specs rely on this to find and run specs.
2013-05-22 22:27:18 +08:00
Cheng Zhao
a5a6af7ef6
Don't prevent close for specs window.
2013-05-22 21:39:31 +08:00
Cheng Zhao
31ffe5e060
💄
2013-05-22 20:57:23 +08:00
Cheng Zhao
61f8878e05
Merge branch 'master' into atom-shell
...
Conflicts:
package.json
script/bootstrap
spec/app/window-spec.coffee
src/app/window.coffee
2013-05-22 20:52:42 +08:00
Cheng Zhao
9b44b15f3b
Use Command+Ctrl+Alt+S for running specs.
2013-05-22 20:01:25 +08:00
Kevin Sawicki
530965ac7e
Mention .git in search results
2013-05-21 21:20:39 -07:00
Kevin Sawicki
42e1595bd7
💄
2013-05-21 18:49:27 -07:00
Kevin Sawicki
e7c08d1202
Exclude core.ignoredNames when scanning project
2013-05-21 18:46:03 -07:00
Kevin Sawicki
61b5160d81
Move apm to github org.
2013-05-21 18:24:55 -07:00
probablycorey
b58fcc5395
Specs run (but fail hardcore)
2013-05-21 17:04:00 -07:00
probablycorey
d4b146d080
Serialize window dimensions
2013-05-21 14:33:45 -07:00
probablycorey
f65fbdf7ae
Don't show window until it is finished loading
2013-05-21 14:32:12 -07:00
probablycorey
8008985120
🙊
2013-05-21 14:27:58 -07:00
probablycorey
f23cb1aa79
Window state works now
...
The state is now stored in ~/.atom/.storage/SHA-OF-PATH. It is written
to every time it is set.
2013-05-21 14:12:15 -07:00
Garen Torikian
0caf6b5a2e
Merge pull request #559 from github/remove-blank-options
...
Remove blank options in renderMarkdown
2013-05-21 11:36:19 -07:00
Garen Torikian
d401f7cd19
Bump roaster
2013-05-21 11:30:24 -07:00
Garen Torikian
21bf03320e
Remove blank options argument from renderMarkdown
2013-05-21 10:52:50 -07:00
Garen Torikian
ecc65ff233
Bump roaster
2013-05-21 10:52:36 -07:00
probablycorey
26094a5405
Use executedFrom command line option to resolve paths
2013-05-20 16:02:06 -07:00
probablycorey
40d49373d3
Rename createAtomWindow to open
2013-05-20 14:47:36 -07:00
probablycorey
501acbc9c8
Files and folders can be opened from the command line
2013-05-20 14:46:57 -07:00
probablycorey
cf6b2f8efd
Slice application name off the argument list
2013-05-20 14:46:57 -07:00
Cheng Zhao
4faf48233b
💄
2013-05-20 22:36:49 +08:00
Cheng Zhao
bf6e0752f8
Remove atom.presentModal and its helper methods.
...
Since all the dialogs are modal and blocking now, there is no need to
keep the atom.presentModal which is used to emulate the blocking
behavior.
2013-05-20 22:25:57 +08:00
Cheng Zhao
6e012ed24f
Adopt to new open/save dialog API.
2013-05-20 22:23:27 +08:00
Cheng Zhao
1254561724
There is no need to call node-gyp externally any more.
...
From npm v1.2.19, the npm_config_disturl is supported to set dist-url
for node-gyp, so we don't need to interactive with node-gyp ourselves
any more.
2013-05-20 15:27:12 +08:00
Cheng Zhao
60fcb97a3e
Send window commands instead of invoking window APIs directly.
...
For some events generated on the browser side, like reloading, closing
window, we should not handle those events directly, instead we should
send the corresponding commands to the renderer and let the renderer
deal with it.
The window.reload() is also moved to atom.reload(), because I saw things
like toggleFullScreen(), focus(), toggleDevTools() are also there.
2013-05-20 14:19:12 +08:00
Cheng Zhao
5459f1e9db
Store AtomWindow instead of BrowserWindow in atomApplication.windows.
2013-05-20 12:07:04 +08:00
Cheng Zhao
0ad96ca7da
Make a few window related atom.* functions work.
2013-05-20 11:55:27 +08:00
Cheng Zhao
8be54136ed
Use "shell.openExternal(url)" to open links in external browsers.
2013-05-20 10:12:40 +08:00
Cheng Zhao
7cb6801ce8
Use atom-shell's "shell.moveToTrash()" to replace "$native.moveToTrash()"
2013-05-20 09:57:29 +08:00
Cheng Zhao
177ac5687f
Use atom-shell's "shell.beep()" to replace "$native.beep()"
2013-05-20 09:49:34 +08:00
Cheng Zhao
1301eb0fa4
Use atom-shell's API for pasteboard operations.
2013-05-20 09:43:19 +08:00
Cheng Zhao
62caaf01d7
💄
2013-05-18 15:06:35 +08:00
Cheng Zhao
160c9b9d8e
Add Edit menu.
2013-05-18 12:28:17 +08:00
Cheng Zhao
c8891c1008
Adopt to API change of dialog.showMessageBox.
2013-05-18 12:21:25 +08:00
probablycorey
153668db56
Opening a folder works!
2013-05-17 15:51:11 -07:00
Kevin Sawicki
276c6c1725
Add --silent flag to apm/npm commands
2013-05-17 15:37:26 -07:00
Kevin Sawicki
5859ae6ba7
Upgrade apm
2013-05-17 15:37:21 -07:00
probablycorey
1594231b4f
Refactor AtomWindow code
2013-05-17 14:21:43 -07:00
probablycorey
f9acde8c55
AtomApplication takes resourcePath as a parameter
2013-05-17 14:14:27 -07:00
probablycorey
6bdfe65bf2
💄
2013-05-17 14:10:03 -07:00
probablycorey
5fd6c1c5ab
Move windows var to AtomApplication
2013-05-17 14:09:54 -07:00
probablycorey
bab80e0089
AtomApplication creates the initial AtomWindow
2013-05-17 13:59:03 -07:00
probablycorey
be2cfb3252
Rename BrowserMain to AtomApplication
2013-05-17 13:54:08 -07:00
probablycorey
49bc53c6d2
Moving bootstrap methods out of BrowserWindow
...
The file is going pretty hairy, so I'm going to split the classes
into new files
2013-05-17 11:47:58 -07:00
probablycorey
067bbb966d
💄
...
This is a totally subjective style change. I just prefer keeping code
that is rarely changed tight and dense. Another option would be to
move the menu templates into a separate file.
2013-05-17 10:51:12 -07:00
Kevin Sawicki
75508fe9e8
Allow more than 3 back ticks for fenced code blocks
2013-05-17 10:00:14 -07:00
Kevin Sawicki
49afce5f68
Register javascript fence names
2013-05-17 08:51:25 -07:00
Cheng Zhao
6260d350ac
Should always show devtools instead of toggling when getting error.
2013-05-17 23:07:34 +08:00
Cheng Zhao
26c89f71b2
Use BrowserWindow's 'close' event instead of 'beforeunload' to control closing.
...
Ideally both window closing and reloading should use 'beforeunload' to
control whether the unloading should continue, however since the save as
dialog is asynchronous, we have to prevent unloading first and then
continue after user's confirmation. And since we can not distinguish
whether the window is reloading or closing in the 'beforeunload'
handler, we do not know what to continue after user's confirmation. So I
have to rely on BrowserWindow's 'close' event to let user decide whether
window should be closed.
2013-05-17 22:30:14 +08:00
Cheng Zhao
2d14f6e768
Replace default menu with custom built menu.
2013-05-17 22:14:09 +08:00
Cheng Zhao
b27cd33116
Implement atom.confirm with atom-shell's dialog API.
...
Note that the dialog.showMessageBox is blocking, so we don't need to use
the '@presentModal'.
2013-05-17 20:39:37 +08:00
Cheng Zhao
f0448ba231
Trigger 'window:close' command in the 'beforeunload' event handler.
...
When user wants to close the window, the 'beforeunload' event would be
called, then the closing would be cancelled and the 'window:close'
command would be triggered. In the 'window:close' handler, a confirm
dialog could be showed if there are unsaved contents, and if the window
is really meant to be closed, the window would be tried to be closed
again and this time 'beforeunload' handler wont't prevent it.
2013-05-17 20:17:06 +08:00
Cheng Zhao
acf5e21f50
Do unload work in 'unload' event handler instead of 'beforeunload'.
...
In Atom, the 'beforeunload' event never prevents window from closing so
it in fact has the same effect with 'unload' event, I guess using
'beforeunload' instead of 'unload' is because the 'beforeunload' is
guarrenteed to happen when window is closing or application is quiting.
However in Atom Shell the 'unload' event is guarrenteed to happen on
both conditions, just like the 'beforeunload' in Atom, so it's safe to
replace the 'beforeunload' with 'unload' here.
And in Atom Shell, the 'beforeunload' event is mainly used for
preventing window from closing, just like the 'window:close' command in
Atom.
2013-05-17 20:17:03 +08:00
Cheng Zhao
d1ca0a8f8f
Use toggleDevTools instead of showDevTools. Fixes atom/atom-shell#8 .
...
Currently the toggleDevTools of atom-shell is simulated by keeping state
of devtools, because there is no way to know the state of devtools in
brightray, so it could not behave correctly sometimes.
This problem will be solved when brightray is patched and atom-shel gets
updated.
2013-05-17 19:02:03 +08:00
Cheng Zhao
e7b35d27e7
Revert ae7dce4575.
...
Now require('package') won't wrong resolve to the package.json, so
reverting previous workaround.
2013-05-17 18:48:02 +08:00
Cheng Zhao
02e3f4cd9c
Enable harmony collections, also revert previous WeakMap hack.
...
Fixed atom/atom-shell#7 .
2013-05-17 16:21:01 +08:00
probablycorey
8487536280
Store parsed command line args in BrowserMain
2013-05-16 17:33:12 -07:00
Kevin Sawicki
84753e55a7
Add enable/disable helpers to jquery extensions
2013-05-16 17:29:48 -07:00
probablycorey
0c96b30053
Move setupNodePaths method to BrowserMain
2013-05-16 17:28:54 -07:00
probablycorey
27bd476b12
Moving logic into BrowserMain class
2013-05-16 17:25:39 -07:00
Kevin Sawicki
ed69dc12ab
Serialize logged in username with view
2013-05-16 17:16:44 -07:00
Kevin Sawicki
e05b443a69
Tweak service name and warning text
2013-05-16 16:46:25 -07:00
Kevin Sawicki
a4455d2c5f
Use released version of space-pen
2013-05-16 16:42:12 -07:00
probablycorey
8f17889f7f
Open dialog creates new atom window
2013-05-16 16:38:47 -07:00
Kevin Sawicki
a965cb684c
Add some commas to the paths loaded badge
2013-05-16 16:22:53 -07:00
probablycorey
f713429674
Remove unused params
2013-05-16 16:21:29 -07:00
Kevin Sawicki
392ffce8c7
Remove unused requires
2013-05-16 15:54:10 -07:00
Kevin Sawicki
d7a238b5ec
Guard against possibly null event handler
2013-05-16 15:49:53 -07:00
probablycorey
92ec78cd8a
Show dev tools when toggleDevTools is triggered
...
Eventually want make toggle work as expected. Related to https://github.com/atom/atom-shell/issues/8
2013-05-16 15:14:50 -07:00
probablycorey
889ccdb58d
Throw error when sendMessageToBrowserProcess is called
2013-05-16 15:13:31 -07:00
Kevin Sawicki & Nathan Sobo
a29015551c
Extract link click callback to method
2013-05-16 15:04:30 -07:00
Kevin Sawicki & Nathan Sobo
83e6a4a57e
Rely on core:focus-next/previous in sign in view
2013-05-16 15:01:23 -07:00
Kevin Sawicki & Nathan Sobo
001183245e
Add core:focus-next/focus-previous
...
Focus now cycles between elements with a positive tabindex on
tab and shift-tab.
2013-05-16 15:00:55 -07:00
probablycorey
09ab319328
Atom.show no longer used
...
The window is shown automatically when it is created.
2013-05-16 14:19:53 -07:00
Kevin Sawicki & Nathan Sobo
76e7161608
Extract window event handling into separate class
2013-05-16 14:18:57 -07:00
probablycorey
bc854afead
Make messageIdCounter an instance var of window.atom
2013-05-16 13:48:16 -07:00
probablycorey
1e0b734734
Add hacked interface for WeakMap
...
We need to add the `--harmony_collections` flag to atom-shell.
Related to issue https://github.com/atom/atom-shell/issues/7
2013-05-16 13:46:17 -07:00
Kevin Sawicki & Nathan Sobo
848ce7936f
DRY up subscribe and subscribeToCommand
...
subscribeToCommand now supports unsubscribing by object.
2013-05-16 13:43:18 -07:00
Kevin Sawicki & Nathan Sobo
d76d0a030f
Forward all subscribe arguments from Subscriber to EventEmitter
2013-05-16 13:36:51 -07:00
Kevin Sawicki
e2af4c964d
Bind multiple events to single callback
2013-05-16 12:17:41 -07:00
Kevin Sawicki
4527d8bd51
Remove unneeded catch and default response to empty hash
2013-05-16 12:17:41 -07:00
Kevin Sawicki
a17a282b03
Warn instead of log
2013-05-16 12:17:41 -07:00
Kevin Sawicki
2c050522cd
Enable fields when attaching
2013-05-16 12:17:41 -07:00
Kevin Sawicki
c98e7cab4b
Upgrade to keytar 0.4
2013-05-16 12:17:41 -07:00
Kevin Sawicki
4b49562949
Add token to request when available
2013-05-16 12:17:40 -07:00
Kevin Sawicki
efb388ded4
Add initial sign in screen
...
Signing in generates an OAuth2 token and saves
it to the keychain.
2013-05-16 12:17:40 -07:00
Kevin Sawicki
08e9f19644
Add repository field
2013-05-16 12:16:48 -07:00
Kevin Sawicki
3b35a4b63b
Link atom.sh instead of copying
2013-05-16 12:16:33 -07:00
Garen Torikian
b3b7f1ea97
Change to an H2
...
Otherwise the TOC renders wrong
2013-05-16 12:48:20 -06:00
Kevin Sawicki
075018d03d
Mention disabled packages fix
2013-05-16 11:45:38 -07:00
probablycorey
ae7dce4575
Rename package.coffee to base-package.coffee
...
Related to https://github.com/atom/atom-shell/issues/6
2013-05-16 10:57:41 -07:00
Kevin Sawicki & Nathan Sobo
3b0748fe44
Add config.pushAtKeyPath/removeAtKeyPath
2013-05-16 10:51:23 -07:00
Kevin Sawicki & Nathan Sobo
2b49a04227
Return a cloned object from config.get()
...
This prevents mutations to the values of the default settings.
2013-05-16 10:29:08 -07:00
Kevin Sawicki & Nathan Sobo
097ee9f2a9
Remove unneeeded calls to config.update()
2013-05-16 10:14:21 -07:00
probablycorey
ee12977a9f
Use ipc to store and retrieve windowState
...
I'll want to change the interface in the future. For now I am trying
to keep the code as simple and small as possible.
2013-05-16 09:57:07 -07:00
Kevin Sawicki
e2821cbea8
Use map instead of iterating
2013-05-16 09:42:09 -07:00
Kevin Sawicki
e9f9c6e777
Mention fuzzy finder
2013-05-16 08:51:04 -07:00
Kevin Sawicki
95d4391680
Run fuzzy filter on project relative paths
...
This prevents the score being influenced by the
segments contained in the project path.
Closes #553
2013-05-16 08:49:43 -07:00
probablycorey
f65a2826f2
Make atom a global object
2013-05-15 15:32:51 -07:00
probablycorey
94a8c44d39
Remove AtomWindow params that are not in use yet
...
I pulled these out to keep the code simpler until we something running
2013-05-15 15:18:43 -07:00
probablycorey
16f8402d36
The resource path can be set with a command arg
2013-05-15 15:03:59 -07:00
Garen Torikian
04d4085759
Update manifest to include new "Your First Package!" information
2013-05-15 14:41:13 -06:00
Garen Torikian
a75896c85b
Merge pull request #544 from github/api/extension-docs
...
Level up the "creating packages" documentation
2013-05-15 13:37:36 -07:00
probablycorey
d397bd5c4f
Add optimist npm (an option parser)
2013-05-15 11:22:40 -07:00
Kevin Sawicki
61675c2e77
Install apm command when Atom starts
...
This changes the command installation to use symlinks instead
of copying over the contents of the file.
2013-05-15 10:29:27 -07:00
Kevin Sawicki
718175eb34
Make atom.sh executable
2013-05-15 10:29:27 -07:00
Cheng Zhao
8a3ee0515c
'window' module is renamed to 'browser_window'.
2013-05-15 22:27:28 +08:00
Nathan Sobo
aefb84cdeb
Don't modify uri's with a scheme prefix in Project.resolve
2013-05-14 20:55:14 -06:00
Nathan Sobo
5aac826ec1
Register a custom opener for ImageEditSessions on the Project class
2013-05-14 20:32:16 -06:00
Nathan Sobo
aa86362a0a
Add Project@registerOpener(fn) to register custom openers on project
...
Now packages can register custom handlers for different kinds of file
paths. If the function you register returns a resource for the given
path, it will be returned from Project.open instead of an EditSession.
2013-05-14 20:23:25 -06:00
Nathan Sobo
6104927cb6
Rename Project.buildEditSession -> Project.open
2013-05-14 20:03:53 -06:00
Kevin Sawicki
74c889062b
Upgrade apm
2013-05-14 13:14:55 -07:00
Kevin Sawicki
7b2539c4f4
Correct typo in console warning message
2013-05-14 12:30:48 -07:00
Kevin Sawicki
851febd495
Use apm to install modules
2013-05-14 12:30:35 -07:00
Kevin Sawicki
a12abd7377
💄
2013-05-14 12:01:21 -07:00
Kevin Sawicki
2f54cb4c22
Use season module internally
2013-05-14 11:58:34 -07:00
Kevin Sawicki
81f7354fb5
Use season for compiling cson to json
2013-05-14 11:08:32 -07:00
Kevin Sawicki
f8c20e1659
Use correct dev mode check when opening config window
...
Closes #545
2013-05-14 10:12:25 -07:00
Kevin Sawicki
56394f6d8d
Don't wrap the path text in the status bar
...
Also set a min width so the branch icon doesn't overlap
the path text when the window isn't wide enough to display
both.
2013-05-14 09:59:16 -07:00
Nathan Sobo
e0e6d96c84
Fix #550 . Use min-width: 0 after flexbox orientation switch.
...
By default, flexbox items have a min size of -webkit-min-content in the
the flex axis. I previously switched the pane item-views to flex
horizontally for performance reasons (preventing over-aggressive
repaints), but forgot to change min-height to min-width.
2013-05-14 10:10:25 -06:00
Kevin Sawicki
f41b558fe5
Exclude symlinked folders from fuzzy finder
...
This can put the fuzzy finder in an infinite loop if a cycle
occurs.
2013-05-13 17:35:51 -07:00
Kevin Sawicki
5507febe09
Upgrade to git-utils 0.17
...
This release handles relativizing paths to a symlinked repository.
Close #549
2013-05-13 17:35:51 -07:00
Kevin Sawicki
b8ee3187ec
doc: task instead of web worker
2013-05-13 17:35:51 -07:00
probablycorey
f74842cd4c
Use new ruby scopes in TextMateGrammar spec
2013-05-13 16:51:30 -07:00
probablycorey
2e61201f86
Update ruby TextMate bundle
...
Closes #541
2013-05-13 16:51:30 -07:00
Kevin Sawicki
4108d572b8
Use real path to determine if repository root
2013-05-13 15:52:49 -07:00
probablycorey
423b133e75
Comments can't increase the indent level of the next line
2013-05-13 14:28:16 -07:00
probablycorey
eb25d2e6a8
TokenizedBuffer.tokenForPosition(position) now works correctly
...
It was previously returning the wrong token at token boundaries.
2013-05-13 14:28:16 -07:00
probablycorey
eae06b62bc
Spec 💄
2013-05-13 14:28:16 -07:00
probablycorey
49aeef99b6
Add config option editor.normalizeIndentOnPaste
2013-05-13 14:28:16 -07:00
probablycorey
8e37d2ada6
Turn auto-indent on for all 'newline' specs
2013-05-13 14:28:16 -07:00
probablycorey
7513fe9c69
Set editor.autoIndent to true in specs
2013-05-13 14:28:16 -07:00
probablycorey
34d3091fc9
Remove console.log
2013-05-13 14:28:16 -07:00
probablycorey
992f520698
Normalize pasted text when there is an indent basis
2013-05-13 14:28:16 -07:00
probablycorey
b23e1d3d52
In specs, use local copyText function to put text on the pasteboard
2013-05-13 14:28:16 -07:00
probablycorey
dd53539799
Moving auto-indent specs to appropriate places
2013-05-13 14:28:15 -07:00
probablycorey
93b1ce53c0
Rename autoDecreaseIndentForRow to autoDecreaseIndentForBufferRow
2013-05-13 14:28:15 -07:00
probablycorey
e70d6d1f8f
Remove unused method autoIncreaseIndentForBufferRow
2013-05-13 14:28:15 -07:00
probablycorey
c34db290e4
Only indent the line following a '\n' not the line preceding it
2013-05-13 14:28:15 -07:00
probablycorey
9d2b7875b9
💄
2013-05-13 14:28:15 -07:00
probablycorey
1f025817f1
Rename autoIndentNewlines to autoIndentNewline
2013-05-13 14:28:15 -07:00
probablycorey
38d4e3a097
Move all auto-indent specs to the auto-indent describe block
2013-05-13 14:28:15 -07:00
probablycorey
c03d44da00
Add autoIndentNewline and autoDecreaseIndent options to insertText
...
insertText now takes these options:
* autoIndent will auto indent all inserted text based
* autoIndentNewline will indent a line when a '\n' is inserted
* autoDecreaseIndent will decrease the indent if the line matches a
decreaseIndent pattern (such as a `}` in javavascript)
2013-05-13 14:28:15 -07:00
probablycorey
537c507efe
Use suggested indent when auto indenting a buffer row
2013-05-13 14:28:15 -07:00
probablycorey
0fbd08f1ab
Allow suggested indent level to be less than the current indent level
2013-05-13 14:28:15 -07:00
probablycorey
0f469a3269
Add Range.getRows
2013-05-13 14:28:15 -07:00
probablycorey
9713bc8c02
💄
2013-05-13 14:28:15 -07:00
probablycorey
7f0b2c54f3
editor.autoIndentOnPaste will auto indent every pasted line
...
I've removed normalizeLines and its tests. They will be added back in
a later commit.
2013-05-13 14:28:14 -07:00
probablycorey
e9fd61a1ea
Remove unused indent methods from Selection
2013-05-13 14:28:14 -07:00
probablycorey
33c95d1a58
Rename insideExistingLine to isCursorInsideExistingLine
2013-05-13 14:28:14 -07:00
probablycorey
c5aa670569
Document methods as internal
2013-05-13 14:28:14 -07:00
probablycorey
533b11f991
💄
2013-05-13 14:28:14 -07:00
Kevin Sawicki
ebb68c3386
Mention new icon
2013-05-13 09:33:17 -07:00
Cheng Zhao
e9a4d9cafe
💄
2013-05-13 20:08:43 +08:00
Cheng Zhao
bb114932ea
Correctly set NODE_PATH before opening window.
2013-05-13 19:57:07 +08:00
Cheng Zhao
3b87c5d84b
Set bootstrapScript and resourcePath params in URL.
2013-05-13 18:32:15 +08:00
Cheng Zhao
30b635527c
Show the static/index.html on startup.
2013-05-13 16:47:16 +08:00
Cheng Zhao
77963aaf88
Keep symbol links when copying atom-shell bundle.
2013-05-13 16:46:48 +08:00
Cheng Zhao
02d5ca78d5
Clean unused native build scripts.
2013-05-13 15:16:42 +08:00
Cheng Zhao
e99fe93029
Don't build native code and use atom-shell's binary instead.
2013-05-13 13:49:31 +08:00
Cheng Zhao
548021dd40
Download atom-shell and remove cefode.
2013-05-12 19:51:31 +08:00
Cheng Zhao
0f528c4811
Remove prebuilt-cef submodule.
2013-05-12 19:18:06 +08:00
Nathan Sobo
c876876d5e
Upgrade the icon
2013-05-11 10:35:45 -06:00
Nathan Sobo
7dde2fec55
Fix wrap guide spec again. Previously it only passed w/ a wide window.
2013-05-11 09:08:10 -06:00
Nathan Sobo
49cf92c2a2
Fix perf regression: Don't update line numbers for single line changes
2013-05-10 19:39:33 -06:00
Nathan Sobo
60319c30ac
Fix wrap guide specs after panes css change
2013-05-10 18:30:01 -06:00
Nathan Sobo
191e8ab240
Fix perf regression caused by flex-flow: column on pane item views
...
For some reason, having flex-flow column on the pane item views
container was forcing the entire view to be repainted on cursor
movement and line edits. Allowing the container to flow row-wise and
setting the min-height to 0 instead of min-content-height achieves
the same layout effect without the huge repaint cost. Flexbox is a
fragile bitch.
2013-05-10 18:19:41 -06:00
Nathan Sobo
b4dec8ccbb
In Editor.updateRenderedLines, cap renderFrom to the last screen row
...
If we remove a large number of screen lines when we are scrolled down,
the current @firstRenderedScreenRow may end up being larger than the
number of screen rows we now have. Setting renderFrom to the
@firstRenderedScreenRow in this case was causing the renderFrom to be
larger than the renderTo, which was causing problems downstream with
the new mapping code.
2013-05-10 13:20:43 -06:00
Nathan Sobo
7d28edc116
Rename ScreenLine -> TokenizedLine
...
Now that ScreenLines don't contain the bufferRows property, which was
essential to the functioning of the LineMap, they're just containers
for tokens. Since they're stored in the TokenizedBuffer in a form that
doesn't necessarily match what ends up on screen, it makes more sense
to call them tokenized lines. A tokenized line is a screen line if it's
in the `.screenLines` array of the DisplayBuffer, but "screenness" is
not an inherent property, so it shouldn't be in the name of the class.
2013-05-10 13:20:43 -06:00
Nathan Sobo
4d314f99ac
Eliminate ScreenLine.bufferRows property
...
Previously, we used bufferRows to determine how many buffer rows were
spanned by the screen line in the event it was folded. Now that we have
RowMap, screen lines don't need to serve this purpose. We still need
to know if a screen line is wrapped, which we solve via setting the
lineEnd property to null for a soft-wrapped screen line.
2013-05-10 13:20:43 -06:00
Nathan Sobo
1d146640e5
Break some methods out of DisplayBuffer.updateScreenLines
2013-05-10 13:20:43 -06:00
Nathan Sobo
b4c95d4fc9
Merge adjacent isomorphic regions after adding new regions
2013-05-10 13:20:42 -06:00
Nathan Sobo
d9c258f27e
Handle new regions overlapping screen wise but not buffer wise
2013-05-10 13:20:42 -06:00
Nathan Sobo
4a56cc3693
Kick docs threshold down again because I removed public methods
2013-05-10 13:20:42 -06:00
Nathan Sobo
8b149ff827
Delete LineMap
2013-05-10 13:20:42 -06:00
Nathan Sobo
f3145e671a
Declare screenLines ivar in DisplayBuffer
2013-05-10 13:20:42 -06:00
Nathan Sobo
d3cb001d65
Use RowMap instead of LineMap in DisplayBuffer
2013-05-10 13:20:42 -06:00
Nathan Sobo
16da9b0506
Document RowMap
2013-05-10 13:20:42 -06:00
Nathan Sobo
d7914d2c54
Ensure row map applies negative deltas only after the given start row
2013-05-10 13:20:42 -06:00
Nathan Sobo
9849c62d80
Properly handle regions that straddle existing regions
...
When we're creating folds that contain other folds, we'll need the
region based on the new fold's row mapping to overwrite the regions
from the old folds. This commit ensures that the new region cleanly
slots in, replacing any regions it completely contains and splitting
regions that it only partially overlaps.
2013-05-10 13:20:42 -06:00
Nathan Sobo
3c630fb7f4
Rename mapping -> region within RowMap
2013-05-10 13:20:42 -06:00
Nathan Sobo
55f0b6a1f8
Replace existing regions when inserting a mapping that surrounds them
2013-05-10 13:20:42 -06:00
Nathan Sobo
1b21fdda3b
Don't throw errors when applying screen deltas after the last mapping
2013-05-10 13:20:41 -06:00
Nathan Sobo
c17d6ba487
Adjust multiple mappings if needed when applying screen deltas
...
If there are multiple mappings following the start row of the delta
that span fewer screen rows than the delta, we collapse mappings to 0
screen rows until we have removed the number of rows specified by the
delta.
Expanding positive deltas expands the first mapping following the
start row as it did previously.
2013-05-10 13:20:41 -06:00
Nathan Sobo
c6ff7e8934
Inserting a mapping within an existing mapping preserves its shape
...
Inserting a mapping should never change the position of any existing
mappings on screen or in the buffer. It's simply a statement about a
range of rows in the buffer mapping to a range of existing rows on
screen, but shouldn't add or remove any rows. Adding and removing rows
on screen or in the buffer is the job of the applyBufferDelta and
applyScreenDelta methods.
2013-05-10 13:20:41 -06:00
Nathan Sobo
1895e8143d
Allow the screen row count of N-screen:1-buffer mappings to be updated
2013-05-10 13:20:41 -06:00
Nathan Sobo
5c74a02688
Add row map specs for mappings of N screen rows to 1 buffer row
2013-05-10 13:20:41 -06:00
Nathan Sobo
2f900e11ed
Add RowMap.bufferRowRangeForScreenRow
2013-05-10 13:20:41 -06:00
Nathan Sobo
1123ca4bc1
Helpful comments
2013-05-10 13:20:41 -06:00
Nathan Sobo
4973c2afc6
Don't return a mapping from traverseToBufferRow if we fall off the end
2013-05-10 13:20:41 -06:00
Nathan Sobo
502e3ceb3b
Factor mapping traversal its own traverseToBufferRow method
2013-05-10 13:20:41 -06:00
Nathan Sobo
32b40fe1ad
Eliminate dummy implementation of bufferRowRangeForScreenRow
2013-05-10 13:20:41 -06:00
Nathan Sobo
9a12b170f6
Allow insertion of multiple buffer row range mappings
2013-05-10 13:20:41 -06:00
Nathan Sobo
9f4b594bd0
Start on RowMap
2013-05-10 13:20:41 -06:00
Kevin Sawicki
ea7a8c9670
Render markdown when buffer is reloaded
...
This will keep the preview in sync with the editor.
2013-05-10 12:16:45 -07:00
Kevin Sawicki
113dac6e2b
Add more entries to fence name hash
2013-05-10 12:13:37 -07:00
Kevin Sawicki
642427d015
Remove unneeded guards
...
Syntax will always return a grammar and tokenizing
with the null grammar is acceptable.
2013-05-10 12:12:25 -07:00
Kevin Sawicki
26dad65c8d
Only set code color outside of editor-colors parent
2013-05-10 12:12:03 -07:00
Kevin Sawicki
827bab90bf
Add tokenizeLines to null grammar
2013-05-10 12:09:58 -07:00
Kevin Sawicki
1a90f1c017
Include source.shell inside of sh/bash code blocks
2013-05-10 11:50:21 -07:00
Kevin Sawicki
8172618bec
Remove unused libgit2 script
2013-05-10 11:19:40 -07:00
Garen Torikian & Nathan Sobo
e12d779f00
Add listing of package.json keys
2013-05-08 15:07:55 -07:00
Garen Torikian & Nathan Sobo
1300955c13
Explicitly mention node.js core modules
2013-05-08 15:07:38 -07:00
Garen Torikian & Nathan Sobo
7714c35829
Finish package sample
2013-05-08 15:07:25 -07:00
Kevin Sawicki
3de070708f
Mention class layout
2013-05-08 11:30:34 -07:00
Kevin Sawicki
7aba7b0854
Use consistent rm flag order
2013-05-08 11:17:55 -07:00
Kevin Sawicki
f16c7247a9
Clean cefode cache during prebuild
2013-05-08 11:17:30 -07:00
Kevin Sawicki
ef2ece3600
Treat .tgz extension as compressed
2013-05-08 10:27:26 -07:00
Kevin Sawicki
962b559638
Mention fuzy finder fix
2013-05-08 10:25:54 -07:00
Garen Torikian & Nathan Sobo
9ab4707d43
More words on creating a pane
2013-05-07 12:53:09 -07:00
Kevin Sawicki
c3759feaa0
Show number of paths loaded after indexing message
2013-05-07 08:56:06 -07:00
Kevin Sawicki
96418f3640
Respect core.excludeVcsIgnoredPaths in fuzzy finder
2013-05-06 18:06:10 -07:00
Kevin Sawicki
a96c354f4f
Fork with harmony collections enabled
2013-05-06 18:04:01 -07:00
Kevin Sawicki
81462d9050
Hide/show entire loading area instead of only message
2013-05-06 16:53:34 -07:00
Kevin Sawicki
919bdca8f4
Style select list loading area similar to command panel
2013-05-06 16:34:39 -07:00
Kevin Sawicki
130e5cd3ec
Use task handler to load fuzzy finder paths
...
This use completely async calls from a process task and
also respects the repository-defined ignore rules.
Closes #509 and #514
2013-05-06 16:34:39 -07:00
Kevin Sawicki
42301210c4
Log uncaught exceptions to parent process
2013-05-06 16:34:39 -07:00
probablycorey
43a3c93d9b
Substitution commands can replace text with empty string
...
Closes #488
2013-05-06 12:11:48 -07:00
Kevin Sawicki
cc98b88e28
Expect Error instead of JSON string in markdown preview view
2013-05-06 09:42:45 -07:00
Kevin Sawicki
212a192abf
💄
2013-05-06 09:38:10 -07:00
Kevin Sawicki
ebc75b1ba8
Use site color for code elements
2013-05-06 08:34:05 -07:00
Kevin Sawicki
7be6421989
Remove incorrect error message
...
The markdown API is no longer used.
2013-05-06 08:26:02 -07:00
Nathan Sobo
b4206d3202
Merge branch 'master' into know-when-to-foldem
...
Conflicts:
src/app/edit-session.coffee
2013-05-06 08:35:13 -06:00
Nathan Sobo
e8e0d5dd02
Fix regression: folds can be destroyed by clicking them
2013-05-06 08:27:43 -06:00
Garen Torikian
be229d374e
Finish the working with styles section
2013-05-04 11:49:22 -07:00
Garen Torikian
14b28a8a89
Update package creation docs
2013-05-04 11:49:22 -07:00
Garen Torikian
c71bccd72c
Add new Included Libs doc
2013-05-04 11:49:22 -07:00
Garen Torikian
cee9605fc5
Updates to first package information
2013-05-04 11:49:22 -07:00
Garen Torikian
7b5b942c47
Start the Creating a Package doc
2013-05-04 11:49:22 -07:00
Garen Torikian
d5e0af2646
Move themes file
2013-05-04 11:49:22 -07:00
Garen Torikian
a12e1d8b0e
Update note on activationEvents
2013-05-04 11:49:22 -07:00
Garen Torikian
d9d9b6800b
Finish authoring packages section
2013-05-04 11:49:21 -07:00
Garen Torikian
8d7fd982e1
Start leveling up extension docs
2013-05-04 11:49:21 -07:00
Nathan Sobo
3e937e9811
Merge remote-tracking branch 'origin/master' into know-when-to-foldem
...
Conflicts:
src/app/buffer-marker.coffee
src/app/cursor.coffee
src/app/display-buffer-marker.coffee
src/app/display-buffer.coffee
src/app/edit-session.coffee
src/app/fold.coffee
src/app/line-map.coffee
src/app/range.coffee
src/app/selection.coffee
src/app/text-buffer.coffee
2013-05-03 18:29:52 -06:00
Garen Torikian
4b993b99cd
Merge pull request #507 from github/markdown-and-out
...
Swap out Markdown render logic with module
2013-05-03 16:59:00 -07:00
Garen Torikian & Nathan Sobo
839f0b642c
Merge Kevin's fix for empty line invisibles with the reshuffling of buildLineHtml methods to be on the class level
2013-05-03 16:57:42 -07:00
Garen Torikian & Nathan Sobo
f4d7586034
Refactor syntax highlighting of Markdown pre blocks
...
Extract out editor-colors class to apply background and default text color
Remove pre background coloring from Markdown preview stylesheet
2013-05-03 16:57:42 -07:00
Garen Torikian & Nathan Sobo
ab23f624af
Add pairs file for gjt
2013-05-03 16:57:42 -07:00
Garen Torikian
86484e7426
💄 for renamed method call
2013-05-03 16:57:42 -07:00
Garen Torikian
734b6778b1
Add more langauges to mapping
2013-05-03 16:57:42 -07:00
Garen Torikian
252682dd99
Syntax highlight based entirely on editor colors
2013-05-03 16:57:42 -07:00
Garen Torikian
95e14486af
Fix specs for testing highlighted lines
2013-05-03 16:57:42 -07:00
Garen Torikian
cf239ccac0
Implement highlighting of Markdown pre blocks
2013-05-03 16:57:41 -07:00
Garen Torikian
dd041945d2
Transform specs to something useful
2013-05-03 16:57:41 -07:00
Garen Torikian
1cc4c52c7a
Style emoji
2013-05-03 16:57:41 -07:00
Nathan Sobo
a2c894bcc9
Fix some docs issues
2013-05-03 17:35:01 -06:00
Nathan Sobo
ebfd8ca4c3
Give docs errors a better failure message
2013-05-03 17:34:48 -06:00
Corey Johnson & Nathan Sobo
da938d8212
Fix edit session specs concerning delete/backspace + folds
2013-05-03 17:24:08 -06:00
Corey Johnson & Nathan Sobo
855f955dec
Make BufferMarker return copies of its points so they can't be mutated
2013-05-03 17:23:24 -06:00
Corey Johnson & Nathan Sobo
1b8a8cf939
Make UndoManager.clear not cancel the transaction
...
If an exception is thrown while running an operation, we clear the
undo manager and re-throw it. But if we were in a transaction, we will
commit it in a `finally` block. If the transaction is set to null,
committing the transaction will then throw an exception which hides
the original exception… we don't want that. Now clear just empties the
current transaction out.
2013-05-03 17:21:50 -06:00
Nathan Sobo
9147e86d96
Delete unused param
2013-05-03 17:19:11 -06:00
Garen Torikian
6c748c2f87
Fix tests
2013-05-02 18:33:28 -07:00
Garen Torikian
4b6e0916c9
Swap out Markdown render logic
2013-05-02 18:33:20 -07:00
Kevin Sawicki
fa5861a626
Include $self inside heading rule
...
This allows emoji, links, etc. to be parsed
and highlighted in headings
2013-05-02 16:21:22 -07:00
Kevin Sawicki
f556890873
Mention icon
2013-05-02 14:21:22 -07:00
Kevin Sawicki
55f185f980
Tweak select list colors
2013-05-02 14:08:51 -07:00
Garen Torikian
d4474e1d4d
Merge pull request #512 from github/change-status-block-tag
...
Change status block tag
2013-05-02 13:50:06 -07:00
Kevin Sawicki
b64f6c5c27
Upgrade icon to orange cube circles
2013-05-02 13:46:42 -07:00
probablycorey
616bb487f4
Correct config.observe documentation
2013-05-02 13:24:08 -07:00
probablycorey
9f4fb29b58
💄
2013-05-02 13:22:08 -07:00
Garen Torikian
1262d3fce9
💄
2013-05-02 12:22:37 -07:00
probablycorey
f4f74e1171
💄
2013-05-02 12:05:56 -07:00
probablycorey
f0c8c044c9
No longer need extra event handler
...
Since config doesn't store default values anymore, this line isn't
needed.
2013-05-02 12:05:56 -07:00
probablycorey
c13b291c64
Update config panel spec
2013-05-02 12:05:56 -07:00
probablycorey
70191ea368
Don't store config values that equal their default config value
...
If 'foo' has not been set and has a default value of 1,
config.set('foo', 1) will not store the 1.
If 'foo' has been set to X and has a default value of 1,
config.set('foo', 1) will remove 'foo' from config
2013-05-02 12:05:56 -07:00
probablycorey
d294bf4d05
💄
...
Keep the bind commands close together
2013-05-02 12:05:56 -07:00
Kevin Sawicki
10ca03f238
Don't show indent guide in truly trailing whitespace
...
Lines that are all whitespace are considered trailing
whitespace and should display the indent guide.
But lines with leading and trailing whitespace should never
have the indent guide rendered in the trailing area.
2013-05-02 11:44:49 -07:00
probablycorey
67f96e0fdd
Remove shift from all non-alphanumeric key bindings
...
There is no guarantee that the shift values for
non-alphanumeric keys will be the same across keyboards.
2013-05-02 10:29:10 -07:00
Cameron McEfee
879ce3b30d
ctrl-| to ctrl-shift-|
2013-05-02 10:01:32 -07:00
probablycorey
3de96f1e7a
Only cancel termination if there are AtomWindowControllers open.
...
Sometimes an application has other windows open, like the open
panel. Even when these are closed they seem to live on in the
application's window array. We now ignore those windows when trying
to terminate the app.
Closes #534
2013-05-02 09:38:51 -07:00
Kevin Sawicki
ee621bcace
Bind link click handler in window.handleEvents()
2013-05-01 22:18:39 -07:00
Kevin Sawicki
c2118a8cb9
Remove unneeded trailing if
2013-05-01 21:55:37 -07:00
Kevin Sawicki
21f1579f73
Return early when href is a hash
2013-05-01 21:48:43 -07:00
Kevin Sawicki
4dce9d659f
Open http/https links in an external browser
...
Listen for all links being clicked and open any http/https
hrefs by spawning a call to the 'open' command.
Closes #531
2013-05-01 21:36:36 -07:00
Kevin Sawicki
ca4cfe358f
Mention update and indent guide fixes
2013-05-01 21:26:15 -07:00
Kevin Sawicki
7c8c4bd233
Remove unused requires
2013-05-01 20:57:16 -07:00
Kevin Sawicki
35cf96e15f
Render empty line invisibles at correct position
...
End of line invisibles are not rendered at the correct
position for empty lines instead of always after the
last indent guide span.
Closes #456
2013-05-01 20:54:09 -07:00
Corey Johnson & Nathan Sobo
7a9d408425
Add rootView to tab spec
2013-05-01 17:41:25 -07:00
Nathan Sobo
69300e0766
Make Buffer.transact restore marker ranges on undo/redo of transaction
...
We no longer need to restore selection ranges before and after
transactions now because selections are based on markers so they go
along for the ride for free. This allows us to delegate directly to
Buffer.transact from EditSession.
2013-05-01 18:38:40 -06:00
Corey Johnson & Nathan Sobo
559f76e887
Dragging a tab from one pane to another clears all placement markers
...
Closes #528
2013-05-01 17:36:54 -07:00
Kevin Sawicki
6eb88278ae
Only return false if focused
...
Previously the editor would not gain focus if the underlayer was clicked.
2013-05-01 17:27:33 -07:00
Garen Torikian
662ddf9fd6
Update documentation to push threshold back past 80%
2013-05-01 17:21:05 -07:00
Kevin Sawicki
698f670350
Remove mini class from grammar selector
...
Grammars were wrapping when miniaturized even though
there was plenty of room.
2013-05-01 17:13:46 -07:00
Kevin Sawicki
aebaf688a9
Add secondar-line class to light theme
2013-05-01 17:13:17 -07:00
Kevin Sawicki
7e15a343f3
Add primary/secondary line classes to select list
...
This will be a style that can be used by extending
classes to provide two lines that don't wrap with
color and padding.
This is initially used by symbols view and fuzzy finder.
2013-05-01 17:09:37 -07:00
Garen Torikian
f47eea1e6c
💄
2013-05-01 17:03:12 -07:00
Garen Torikian
5a944514f3
Rewrite all hash key options
2013-05-01 17:01:55 -07:00
Garen Torikian
fb955667f5
Resolve references to Internal
2013-05-01 17:01:55 -07:00
Garen Torikian
31aaa23b20
Update tokenizedbuffers
2013-05-01 17:01:55 -07:00
Garen Torikian
4d239b46e2
Update textmatescopeselector
2013-05-01 17:01:55 -07:00
Garen Torikian
856b07197a
Update textbuffer
2013-05-01 17:01:55 -07:00
Garen Torikian
d07751605a
Update textbuffer
2013-05-01 17:01:55 -07:00
Garen Torikian
ddb09e98e8
Update selection
2013-05-01 17:01:55 -07:00
Garen Torikian
75b40f603a
Update screen-line
2013-05-01 17:01:55 -07:00
Garen Torikian
5c21d71461
Update root-view
2013-05-01 17:01:54 -07:00
Garen Torikian
6c5f310cba
Update range
2013-05-01 17:01:54 -07:00
Garen Torikian
909a951ff0
Update project
2013-05-01 17:01:54 -07:00
Garen Torikian
51a07bdb31
Update point
2013-05-01 17:01:54 -07:00
Garen Torikian
3dcdf0863e
Update line-map
2013-05-01 17:01:54 -07:00
Garen Torikian
46b5731ac4
Update line-map
2013-05-01 17:01:54 -07:00
Garen Torikian
9be438d2f7
Update language-mode
2013-05-01 17:01:54 -07:00
Garen Torikian
bb8f4fb092
Update image-view
2013-05-01 17:01:54 -07:00
Garen Torikian
7b65a68450
Update image-edit-session
2013-05-01 17:01:54 -07:00
Garen Torikian
7e6eecc6cf
Update gutter
2013-05-01 17:01:54 -07:00
Garen Torikian
9d709ea152
Update git
2013-05-01 17:01:54 -07:00
Garen Torikian
eadb3cf98c
Update fold
2013-05-01 17:01:54 -07:00
Garen Torikian
09e9c2f224
Update file
2013-05-01 17:01:53 -07:00
Garen Torikian
dbae05605b
Update eventemitter
2013-05-01 17:01:53 -07:00
Garen Torikian
3c5b721177
Update Editor
2013-05-01 17:01:53 -07:00
Garen Torikian
b0e4ce7bb8
Update EditSession
2013-05-01 17:01:53 -07:00
Garen Torikian
2bf7adef5c
A slight modification to EditSession
2013-05-01 17:01:53 -07:00
Garen Torikian
34fb03fbd3
Update DisplayBuffer
2013-05-01 17:01:53 -07:00
Garen Torikian
a8a28fea18
Update DisplayBufferMarker
2013-05-01 17:01:53 -07:00
Garen Torikian
16cef29925
Update directory
2013-05-01 17:01:53 -07:00
Garen Torikian
26564ee020
Update cursor
2013-05-01 17:01:53 -07:00
Garen Torikian
66a80ade30
Update config
2013-05-01 17:01:53 -07:00
Garen Torikian
685ec5d8d7
Update buffer-marker docs
2013-05-01 16:58:43 -07:00
Garen Torikian
52139dc24e
Bump biscotto
2013-05-01 16:58:43 -07:00
Garen Torikian
2357f46761
Fix block comments in src
2013-05-01 16:58:43 -07:00
Garen Torikian
64fea21a38
Bump biscotto
2013-05-01 16:58:05 -07:00
Kevin Sawicki
71e73750e2
Kill negative top margin on path
2013-05-01 16:52:13 -07:00
Kevin Sawicki
37b298fcba
Lessify the base fuzzy finder stylehsheet
2013-05-01 16:51:39 -07:00
Kevin Sawicki
01ad97e7b0
Show ellipsis for long paths in fuzzy finder
...
Previously the directory was shown after the file name
and it would wrap if too long causing inconsistent row
heights.
Now the full path is shown below the name in a smaller font
and both the path and file are set to overflow with an ellipsis.
2013-05-01 16:46:22 -07:00
Nathan Sobo
988f4da6e1
Always restore marker ranges on undo/redo, even for valid markers
2013-05-01 17:32:39 -06:00
Nathan Sobo
f48ee846e9
💄
2013-05-01 17:23:21 -06:00
Nathan Sobo
a9c599abeb
Isolate folds on a per-display-buffer basis
...
Creating a fold in one pane now has no effect on an edit session
for the same buffer in another pane. Before they were polluting each
other by sharing the same fold markers.
2013-05-01 16:24:32 -06:00
Nathan Sobo
c717d23901
🔫 dead code
2013-05-01 16:15:28 -06:00
Nathan Sobo
6153375c76
Base folds on buffer markers, since they don't rely on screen coords
...
When creating a display buffer for buffers that already have fold
markers, which we'll eventually do on refresh, basing folds on
full-blown display buffer markers is a problem because we end up
creating display buffer markers during construction of the line map.
When we create a display buffer marker it memoizes its screen positions,
but since the line map isn't built yet we have nothing to translate
against. Basically, since the line map depends on folds, folds can't
depend on the line map. Luckily, they don't need to. Buffer markers
work just fine.
2013-05-01 16:14:25 -06:00
probablycorey
850ecb23df
Atom will auto-update on close if a newer version is on Speakeasy
...
The first call to terminate is canceled so that every window can be
closed. On AtomCefClient the OnBeforeClose method is called when a
browser is finished closing. Once all windows have finished closing, AtomCefClient calls terminate again, which will terminate the
application.
Closes #527
2013-05-01 13:54:38 -07:00
probablycorey
8f03ff2952
💄
2013-05-01 13:54:38 -07:00
probablycorey
0be166bb59
Remove the bottomPaddingInLines from editor
2013-05-01 13:54:37 -07:00
probablycorey
cb2d24baca
Listen for clicks outside of the render lines on the underlayer
2013-05-01 13:54:37 -07:00
probablycorey
7609b08e86
💄
2013-05-01 13:54:37 -07:00
Kevin Sawicki
aeffa0e150
Remove duplicate property
2013-05-01 13:10:14 -07:00
Kevin Sawicki
932d552ae7
Only show scrolls when needed in tree view
2013-05-01 08:22:03 -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
Kevin Sawicki
c3232a463c
Use ems instead of pixels for config editor widths
...
This allows the editor to be big enough to still show
multiple characters in large font sizes.
2013-05-01 07:58:12 -07:00
Kevin Sawicki
536beb0d40
Support setting number fields to 0
...
Previously entering 0 would end up as '0' in the config
value instead of as a numeric value.
2013-04-30 23:10:22 -07:00
Kevin Sawicki
1afe4f0cd9
Mention missing wrap guide fix
2013-04-30 23:02:48 -07:00
Kevin Sawicki
334c4095bb
Write empty object values on same line as keys
2013-04-30 22:43:51 -07:00
Kevin Sawicki
986e5f9c7a
Default to 80 when editor.preferredLineLength <= 0
...
Previously any non-null value would be used as the target
column in the wrap guide and autoflow packages when really
80 should have been used if the value was non-postive.
Now config.getPositiveInt() is called with a default value
of 80 if the current value isn't already positive.
2013-04-30 22:37:02 -07:00
Kevin Sawicki
6077cf2389
Mention save error with markdow preview
2013-04-30 22:06:05 -07:00
Kevin Sawicki
f417e898f6
Only call save on active item when it exists
...
Closes #529
2013-04-30 22:02:46 -07:00
Kevin Sawicki
047d9525e7
Ignore first modified event in config editor
...
This event comes from initially setting the text for the current
config value on the editor and was causing the config to be
immediately saved multiple times when opened.
2013-04-30 21:55:43 -07:00
Kevin Sawicki
ca7da8a0da
Don't set un-parseable numbers to 0 in the config
...
Previously if an integer or float field was empty it would
default to zero instead of undefined which made it inconsistent
with string value fields.
Now the config value is only set as a Number when it can be
parsed as one.
2013-04-30 21:36:27 -07:00
Nathan Sobo
49b17023a5
Fix method missing exception in LineMap.logLines
2013-04-30 18:40:14 -06:00
Nathan Sobo
693c4f8270
Preserve folds when restoring selections on undo/redo
2013-04-30 18:39:54 -06:00
Nathan Sobo
df08c14aef
Restore markers before triggering buffer events
...
This allows folds to be restored on undo/redo
2013-04-30 18:21:37 -06:00
Nathan Sobo
af903f6690
Don't trigger marker-added/removed events anymore
...
I missed this previously
2013-04-30 18:20:15 -06:00
Nathan Sobo
cef25898bb
Properly unsubscribe DisplayBuffer from Buffer on destruction
2013-04-30 18:14:53 -06:00
Nathan Sobo
0dea901368
Use instance method
2013-04-30 18:14:31 -06:00
Nathan Sobo
9086171f45
💄
2013-04-30 18:14:13 -06:00
Nathan Sobo
9aec992693
Hold marker [in]validation events until after buffer change events
...
For a while, the goal has been to prevent marker update events from
firing until after the buffer change event. But at the same time, we
want all the markers to be updated when the buffer change fires. This
commit irons out some issues for markers that are invalidated or
revalidated by the change, making their behavior consistent with the
rest of marker updates.
2013-04-30 17:37:28 -06:00
Kevin Sawicki
a788006d7c
Default editor.preferredLineLength config to 80
2013-04-30 15:03:46 -07:00
Nathan Sobo
40512a4823
Don't update the DisplayBuffer when a fold's marker changes
...
Because we don't currently allow for direct manipulation of fold
marker ranges, if a fold's marker changes it will be because of a
buffer change. This buffer change will bubble to the display buffer
anyway, where the screen line update will account for the change to
the fold's marker range.
2013-04-30 15:07:37 -06:00
Nathan Sobo
2e77f0ed7d
Eliminate special behavior for changes straddling start / end of folds
...
Previously, we were attempting to preserve the fold and adjust in an
intuitive way in the face of changes that straddled the beginning or
the end of the fold. That added complexity… we would have to add a new
marker invalidation strategy to support it and I'm not convinced it's
actually a big deal to destroy folds in the face of straddling changes.
So that's what we do now.
2013-04-30 14:28:42 -06:00
probablycorey
af5392b8ac
Add extra padding to the bottom of an editor's vertical scrollbar
...
This gives us some space when we scroll to the bottom of a file.
Similar to how MacVim works when using the mouse.
Closes #464
2013-04-30 11:52:28 -07:00
probablycorey
471ac4976f
Test correct editor in font size spec
2013-04-30 11:52:28 -07:00
probablycorey
16c892caa6
Update click and drag spec
...
Stop relying on setInterval to trigger the scroll events in the spec. Instead simulate the mouse moving at the top of the screen. I found
testing the setInterval approach required so much mocking that it
wasn't worth it.
2013-04-30 11:52:28 -07:00
Corey Johnson
35b0e06260
💄
2013-04-30 11:52:28 -07:00
Corey Johnson
bbb7dfdd07
Only the underlayer needs height: 100%
2013-04-30 11:52:28 -07:00
Nathan Sobo
56a9316a28
Fix docs references
2013-04-30 11:37:31 -06:00
Nathan Sobo
7d676f51bd
Document TextBuffer.getMarker[s]
2013-04-30 05:12:43 -06:00
Nathan Sobo
7ca8e31087
Document Fold methods
2013-04-30 05:12:13 -06:00
Nathan Sobo
029d8b58db
Remove outdated method
2013-04-30 04:58:02 -06:00
Nathan Sobo
160a336b48
Fix command interpreter spec
2013-04-30 04:57:08 -06:00
Nathan Sobo
1ecd195e6e
💄
2013-04-30 04:53:26 -06:00
Nathan Sobo
9f8a07fc27
Fix some edit session specs. The remaining failures are less trivial.
2013-04-30 04:43:28 -06:00
Nathan Sobo
1f3e3c698f
Add DisplayBuffer.foldsStartingAtBufferRow
2013-04-30 04:37:11 -06:00
Nathan Sobo
1f9e33d995
WIP: Base folds on markers.
...
Still a couple of specs failing on this for changes that straddle the
start / end of a fold. We need a new marker invalidation strategy for
these cases.
2013-04-30 04:30:08 -06:00
Nathan Sobo
32178541fe
Emit 'destroyed' events from display buffer markers
2013-04-29 21:01:48 -06:00
Nathan Sobo
51e915c423
Replace marker 'observe' methods w/ ordinary 'changed' event
2013-04-29 21:01:48 -06:00
Nathan Sobo
4ca00f7347
Simplify marker events
...
Instead of marker-added and marker-removed events which are emitted
when markers are created/invalidated/revalidated/destroyed, we now
just have marker-created events that are triggered *only* when markers
are created for the first time. The marker itself emits a 'destroyed'
event when it is destroyed. The marker already notifies observers when
its validation status changes, so that's covered.
2013-04-29 21:01:48 -06:00
Nathan Sobo
b2d34d93ab
Emit 'marker-added/removed' events on DisplayBuffer
2013-04-29 21:01:48 -06:00
Nathan Sobo
78bb074c0d
Add DisplayBufferMarker.inspect
2013-04-29 21:01:48 -06:00
Nathan Sobo
3a39c92ae4
Emit 'marker-added/removed' events when buffer marker validity changes
2013-04-29 21:01:48 -06:00
Nathan Sobo
883127f0d6
Emit 'marker-added/removed' when buffer markers are created/destroyed
2013-04-29 21:01:48 -06:00
Nathan Sobo
3b52cd018b
Reduce documentation threshold
...
I deleted a bunch of documented methods. I haven't added any new
undocumented methods, but now there are fewer overall documented
methods, which is breaking the docs threshold spec. I don't think it
makes sense to start documenting non-related methods in this branch
right now.
2013-04-29 21:01:48 -06:00
Nathan Sobo
6f34d0b346
Document new methods
2013-04-29 21:01:48 -06:00
Nathan Sobo
b35bd36ec7
Get spell check specs passing with new marker api
2013-04-29 21:01:48 -06:00
Nathan Sobo
8c037bf425
Destroy markers properly in command panel operations
2013-04-29 21:01:48 -06:00
Nathan Sobo
ae5e07ddd6
Make bracket matcher work with new marker API
2013-04-29 21:01:48 -06:00
Nathan Sobo
b16529bf9f
Use new marker API to get marker ranges in command panel operations
2013-04-29 21:01:47 -06:00
Nathan Sobo
db0676cc51
Use new API to destroy markers in snippets package
2013-04-29 21:01:47 -06:00
Nathan Sobo
2d1cb8b519
Fix selection spec to to check marker destruction properly
2013-04-29 21:01:47 -06:00
Nathan Sobo
3a11c56438
Add .isDestroyed method to markers
2013-04-29 21:01:47 -06:00
Nathan Sobo
caf34d6a3a
EditSession.selectMarker checks if the marker is valid
...
Also, it returns the selected range if it's valid, and otherwise
returns a falsy value. This has more utility than just true/false.
2013-04-29 21:01:47 -06:00
Nathan Sobo
a028dff6e9
Add DisplayBufferMarker.isValid
2013-04-29 21:01:47 -06:00
Nathan Sobo
0563ee4a97
Make DisplayBuffer.findMarkers return DisplayBufferMarkers
2013-04-29 21:01:47 -06:00
Nathan Sobo
d466abdc64
Fix DisplayBuffer spec
2013-04-29 21:01:47 -06:00
Nathan Sobo
f4be899ae9
Switch EditSession over to object-oriented markers API
2013-04-29 21:01:47 -06:00
Nathan Sobo
5403bc647a
Convert display buffer markers to object-oriented API
2013-04-29 21:01:47 -06:00
Nathan Sobo
482eb6c0de
Give TextBuffer an object-oriented marker interface
...
The previous API revolved around methods on TextBuffer for querying
and manipulating markers based on their id. Now marker creation
methods return marker objects. These are still retrievable by id so
they can be dealt with across serialization boundaries in the future,
but you deal with them directly as objects.
2013-04-29 21:01:47 -06:00
Nathan Sobo
e02e4cd975
Add DisplayBuffer.findMarker[s]
2013-04-29 21:01:47 -06:00
Nathan Sobo
ac90b13032
Add missing Buffer.findMarker implementation
2013-04-29 21:01:46 -06:00
Nathan Sobo
64aaf670ed
Add startRow and endRow special attributes to TextBuffer.findMarker[s]
2013-04-29 21:01:46 -06:00
Nathan Sobo
4a764c2d9d
💄
2013-04-29 21:01:46 -06:00
Nathan Sobo
0f0480b79f
Add Buffer.findMarker[s], which returns marker[s] matching attributes
2013-04-29 21:01:46 -06:00
Nathan Sobo
df6feab346
Add Range.compare
2013-04-29 21:01:46 -06:00
Nathan Sobo
aef34c11b7
Use new DisplayBuffer.updateScreenLines method for .destroyFold
2013-04-29 21:01:46 -06:00
Nathan Sobo
0292ba959f
Use the same code path for fold creation and tokenized buffer changes
2013-04-29 21:01:46 -06:00
Kevin Sawicki
58275a2f0a
Use ems instead of pixels for loading octicon size
2013-04-29 18:23:10 -07:00
Kevin Sawicki
f0d3a06655
Mention dev mode fixes
2013-04-29 18:02:40 -07:00
Kevin Sawicki
0ce67b307c
Remove unneeded resource path assignment
...
There is a fall back case after this that sets the resource
path to the bundle path if not already set.
2013-04-29 17:58:41 -07:00
Kevin Sawicki
598cdea22a
Don't crash when running dev with no resource path
...
Previously if the --dev flag was used and no resource was
specified or found in ~/github/atom then the app would
crash trying to add a null resource path to the node paths
list.
Now the bundle resource path is the fallback whenever the
dev resource path cannot be found or does not exist.
2013-04-29 17:54:31 -07:00
Kevin Sawicki
32d23d6303
Allow Atom to be run in stable mode
...
Previously isDevMode was returning true when it was called
before the resource path was initially set forcing Atom to
always run in dev mode.
Now we just use the new isDevFlagSpecified() method to check
where the bundle resource path should be used.
2013-04-29 17:51:13 -07:00
Kevin Sawicki
3279a575f6
Reuse search when re-toggling find in project
...
Previously the prior find in file search was thrown
away when toggling find-in-project subsequent times.
Now the previous search text is retained and selected when toggled.
2013-04-29 15:25:07 -07:00
Kevin Sawicki
16ffbd1920
Reuse search when re-toggling find in file
...
Previously the prior find in file search was thrown
away when toggling find-in-file subsequent times.
Now the previous search text is retained and selected when toggled.
2013-04-29 15:24:44 -07:00
Corey Johnson
9180060920
Revert "Listen for mouse events on scrollView instead of renderedLines"
...
You can't listen on scroll view because that makes
it impossible to scroll using the scrollbar
Opens #464
This reverts commit fdae5fd89c .
2013-04-29 15:07:38 -07:00
Corey Johnson
fdae5fd89c
Listen for mouse events on scrollView instead of renderedLines
...
It was not possible to click on the lower part of the last line
when the editor was scrollable and listening for mousedown events on renderedLines.
Closes #464
2013-04-29 14:59:23 -07:00
Corey Johnson
8e218de3e7
💄
2013-04-29 14:59:23 -07:00
Kevin Sawicki
a6c89b75fc
Retain command panel text between toggles
...
Previously the mini editor was cleared on toggle but now
the existing text retained and selected when toggled.
2013-04-29 14:48:06 -07:00
Kevin Sawicki
15cf475d04
Use loading octicon in command panel
...
This removes the SVG spinner which had been incorrectly
rendering since the bootstrap upgrade due to box sizing
issues.
2013-04-29 14:13:21 -07:00