Kevin Sawicki
0369d77c85
Ensure grammars are only activated once
2014-06-24 16:21:56 -07:00
Kevin Sawicki
5529f13cc6
Only create grammar load promise once
2014-06-23 17:33:05 -07:00
Kevin Sawicki
6aeca79d1b
Return empty promise when already loaded
2014-06-23 16:13:13 -07:00
Kevin Sawicki
e76b24f8ad
Catch error
2014-06-23 16:04:25 -07:00
Kevin Sawicki
968ab0e41d
Remove unused methods
2014-06-23 16:02:45 -07:00
Kevin Sawicki
f3d87b1653
Set packageName property on Grammar objects
2014-06-23 15:58:06 -07:00
Ben Ogle
0dadce1047
Serialize all included grammar scopes
2014-06-20 17:04:21 -07:00
Ben Ogle
8c3bfaa3a2
Return when grammars are already loaded
2014-06-20 17:04:21 -07:00
Ben Ogle
f8b8b22b75
Preload grammars on deserialization
2014-06-20 17:04:21 -07:00
Nathan Sobo
f10076c87d
Prevent activation events from bubbling
...
The react editor is wrapped in another div with the class of .editor for
backward compatibility. This prevents activation events registered on
the .editor selector from being triggered twice.
2014-04-22 17:10:21 -06:00
Kevin Sawicki
690fc7180a
Defer requiring of $ in Package
...
This is needed in the case that the package manager is being used
in the browser process to open a URL.
Closes #1869
2014-04-17 13:53:00 -07:00
Nathan Sobo
65564e2012
Rename atom.keymap to atom.keymaps
2014-03-31 16:28:55 -06:00
Kevin Sawicki
8cb66895f0
Check that activations events are present
...
Having an empty array, object, or string will now be treated
as no activation events.
This was reported as being confusing since people were just clearing
the array generated by the package generator but their packages weren't
activating.
2014-03-11 16:15:30 -07:00
Kevin Sawicki
b4e8d5480c
Use Q.all
2014-02-17 14:07:18 -08:00
Kevin Sawicki
a149056408
Remove unnecessary rejection
2014-02-17 13:12:38 -08:00
Kevin Sawicki
94f26b99cc
grammarsPromise not grammarPromise
2014-02-17 13:00:29 -08:00
Kevin Sawicki
3f8d9a4c47
Combine AtomPackage and Package
2014-02-17 12:59:03 -08:00
Kevin Sawicki
eb885357e6
Memoize AtomPackage/ThemePackage
2014-02-17 12:10:49 -08:00
Kevin Sawicki
95e68c8c2b
Store metadata in Package constructor
2014-02-17 11:31:20 -08:00
Kevin Sawicki
3f5cd19ddc
Add missing path. prefix
2014-02-17 11:29:29 -08:00
Kevin Sawicki
d0dd0a9882
Rename e variables to error
2014-02-17 11:29:11 -08:00
Kevin Sawicki
2d52f3deac
Rename path variables to packagePath
2014-02-17 11:28:55 -08:00
Kevin Sawicki
fa376d9543
Remove TextMatePackage
2014-02-17 11:26:58 -08:00
probablycorey
8d40e4df10
Merge remote-tracking branch 'origin/master' into cj-make-package-activation-consistent
...
Conflicts:
package.json
src/package-manager.coffee
src/text-mate-package.coffee
2014-02-07 16:53:24 -08:00
probablycorey
28f0bf645f
Remove Package::isActive
...
It didn't seem needed anymore
2014-02-07 11:20:33 -08:00
Kevin Sawicki
967db1f7b8
Remove more empty Private: comment blocks
2014-02-06 11:21:03 -08:00
probablycorey
972fa41528
Package loading is always synchronous, activation can be async
2014-02-06 11:15:34 -08:00
Kevin Sawicki
227454e27e
Remove ### style visibility comments
2014-02-06 10:40:45 -08:00
Kevin Sawicki
217fd8e271
Check for non-null theme value
2014-02-03 11:12:43 -08:00
Kevin Sawicki
c49c48381a
Return functions return value from measure
2014-01-31 10:41:31 -08:00
Kevin Sawicki
d96b63d791
Move enable/disable to parent Package class
...
This was previously unimplemented in TextMatePackage causing exceptions
when trying to enable/disable a package of that type.
2014-01-09 14:13:49 -08:00
Kevin Sawicki
0069eb4d0d
Remove atom.isPackageActive shim
2013-11-20 12:48:05 -08:00
Kevin Sawicki
2d16fc33a3
Use Date.now()
2013-10-29 13:31:42 -07:00
Ben Ogle
4440210d9a
Fix tests
2013-10-22 15:06:25 -07:00
Ben Ogle
56832b11fc
Refactor pkg and themeManager -- all themes stored in the pkg manager
2013-10-22 15:06:25 -07:00
Kevin Sawicki
9222f158b5
Measure load/activate time in package classes
2013-09-24 21:31:48 -07:00
Kevin Sawicki
41fc4f7fe6
Use relative require paths in src/ files
2013-09-20 10:02:20 -07:00
Matt Colyer
c413f024f2
Make the build green
2013-09-13 16:21:26 -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