Kevin Sawicki
165dffc15d
Always return array from Git.getLineDiffs()
2013-03-04 21:43:34 -08:00
Kevin Sawicki
c9ef846727
Only replace .git segment if trailing
2013-03-04 21:43:34 -08:00
Kevin Sawicki
c14aa3b86f
Default status to 0 if undefined
...
This keeps the status-changed event from triggering
the first time the status is requested as it goes
from undefined to 0 which should be treated as no
change.
2013-03-04 21:43:34 -08:00
Kevin Sawicki
1be0b817de
Specify text as second parameter
2013-03-04 21:43:34 -08:00
Kevin Sawicki
ab5043f890
Add method to get line diffs for path and text
2013-03-04 21:43:34 -08:00
Kevin Sawicki
e3ebda7d30
Show commits ahead/behind upstream in status bar
2013-03-04 21:43:34 -08:00
Kevin Sawicki
fd82f3f8a4
Add method to get ahead/behind commit counts
2013-03-04 21:43:34 -08:00
Kevin Sawicki
3703877ae8
Default status flags to 0
2013-03-04 21:43:34 -08:00
Kevin Sawicki
4384c69dcf
Delete cached statuses unless non-zero
2013-03-04 21:43:34 -08:00
Kevin Sawicki
3852b7212b
Remove git-status-changed event from Buffer
...
This is now fired as a status-changed event from
the Git class when the checkout completes normally
and the status of the path changes.
2013-03-04 21:43:33 -08:00
Kevin Sawicki
77a5f4775a
Show Git status indicators on directories
...
Closes #301
2013-03-04 21:43:33 -08:00
Kevin Sawicki
2e7e4b3ee4
💄
2013-03-04 21:43:33 -08:00
Kevin Sawicki
4fe6db240b
Consolidate Git status checking
...
Now the status bar and tree view both listen for
status change events and use the cached information
available from the git object to update their views.
2013-03-04 21:43:33 -08:00
Kevin Sawicki
2ec4d558ba
Make project's Git repository a window global
...
This allows it to operate independently of the
project and mirror the availability of the root view
and project.
2013-03-04 21:43:33 -08:00
Kevin Sawicki
219a8581fd
💄
2013-03-04 21:43:33 -08:00
Kevin Sawicki
94449f772c
Initialize statuses and task variables correctly
2013-03-04 21:43:33 -08:00
Kevin Sawicki
68b61d71c6
Trigger event when path status changes
2013-03-04 21:43:32 -08:00
Kevin Sawicki
083562e1aa
Abort status task when destroyed
2013-03-04 21:43:32 -08:00
Kevin Sawicki
c6e89d33f8
Git.refreshStatuses() -> Git.refreshStatus()
2013-03-04 21:43:32 -08:00
Kevin Sawicki
50bc1aac74
Add task to refresh status of repository
...
By default this will occur when the window gains
focus and the Git class can now be subscribed to
so listeners can become notified when the status
of a repository changes.
2013-03-04 21:43:32 -08:00
Kevin Sawicki
4add7b6213
Support getting status of entire repository
...
New Git.getAllStatuses() method returns all non-ignored
status entries in the repository.
2013-03-04 21:43:32 -08:00
probablycorey
0fe570fc47
Log warning instead of throwing error when installing atom binary
2013-03-04 15:44:49 -08:00
Joshua Peek
04ec1b01be
Fallback to /usr/local/bin/atom
2013-03-04 14:45:24 -06:00
Corey Johnson
595cf71d93
Return absolute path for Git repo
2013-03-01 13:54:19 -08:00
Corey Johnson
057ccf7157
Add - to nonWordCharacters
2013-02-28 09:45:19 -08:00
Kevin Sawicki
745a3ef9f2
Use class methods to create native object shims
...
CoffeeScript 1.5 complains if a constructor has
a returns a value.
2013-02-27 13:25:10 -08:00
Kevin Sawicki
ef9d4b392b
Support passing options through DisplayBuffer.markScreenRange
2013-02-26 17:17:58 -08:00
Kevin Sawicki & Nathan Sobo
5b990cf571
Add the 'between' invalidation strategy for markers
...
This invalidates markers when the start or end point of the changed
range is between the head and tail position of the marker.
2013-02-26 17:42:47 -07:00
Kevin Sawicki & Nathan Sobo
e858f7eb2a
Replace stayValid option w/ validationStrategy when creating markers
2013-02-26 17:03:02 -07:00
Kevin Sawicki & Nathan Sobo
d6d6ff8cca
💄
2013-02-26 15:08:33 -08:00
Kevin Sawicki & Nathan Sobo
42fe87a9a2
Notify observers when display buffer markers are invalidated
2013-02-26 14:59:09 -08:00
Kevin Sawicki & Nathan Sobo
e36887900f
Notify observers when markers are invalidated/revalidated
2013-02-26 14:31:42 -08:00
Kevin Sawicki & Nathan Sobo
1fcaa52217
Remove unused parameter
2013-02-26 14:06:19 -08:00
Corey Johnson & Kevin Sawicki
f8563a1509
💄
2013-02-26 09:04:02 -08:00
Kevin Sawicki
f51f097615
Add back checkmark for selected grammar
2013-02-25 15:13:48 -08:00
Corey Johnson
ad14e65ef9
Add atom.getVersion(callback)
2013-02-25 14:58:11 -08:00
Kevin Sawicki
5d0c23e0fa
Sort grammars by name in select list
2013-02-25 14:50:55 -08:00
Kevin Sawicki & Nathan Sobo
99c1819ceb
Install cli to /opt/boxen if it exists
2013-02-25 12:40:59 -08:00
Kevin Sawicki & Nathan Sobo
f3dac141ff
Open pathToOpen before packages load
...
Previously pathToOpen was opened after packages
were loaded which prevented packages from accurately
relying on rootView.getActiveEditSession().
2013-02-25 12:23:00 -08:00
Kevin Sawicki & Nathan Sobo
969327e822
Require user init script path after user keymaps
...
Previously the user init script path was required before the
packages and user keymaps were loaded which could override
config and keymap settings set by the user init script path.
2013-02-25 11:46:34 -08:00
Kevin Sawicki
49c9536358
Guard against no fold end regex
...
Not all bundles specify this and an error will be
raised when trying to fold inside a grammar that does
not have this property defined if this check isn't done.
2013-02-25 09:31:00 -08:00
Kevin Sawicki
9b231e8c4e
Add increase indent pattern for GFM scope
2013-02-25 08:58:47 -08:00
Kevin Sawicki
d35c871e17
Install atom executable during window.startup()
...
Previously this was done during `rake install`.
Also default to `~/github/atom` as the default resource path
when no `--resource-path` argument is specified. This argument
will now be required when running in dev mode if the repository
is not at the default location.
Closes #300
2013-02-22 21:19:34 -08:00
Corey Johnson & Kevin Sawicki
31d8151c3e
Copy themes to ~/.atom/themes when config loads
2013-02-22 14:46:30 -08:00
Corey Johnson & Kevin Sawicki
fa81871907
Initialize ~/.atom when config is loaded
...
Closes #299
2013-02-22 14:46:30 -08:00
Kevin Sawicki & Nathan Sobo
5da5bf94b6
Add 'editor:save-debug-snapshot' command. Closes #191 .
...
This saves the state of the rendered lines, the display buffer, the
tokenized buffer, and the buffer to a file. If a problem arises with
rendering, hopefully we can use it to diagnose in which layer things
went awry.
2013-02-22 14:28:04 -07:00
Kevin Sawicki
9ca7214d39
Add --dev flag and remove --stable flag
...
Atom now runs in stable mode by default and only
runs in dev mode when the --dev flag is specified.
Closes #198
2013-02-22 11:54:54 -08:00
Kevin Sawicki
b8aaad06a4
💄
2013-02-22 10:56:19 -08:00
Kevin Sawicki
dae46eab87
Create class array for each whitespace type
...
Previously if the token has both leading and
trailing whitespace the classes would bleed
across the cases and cause an exception to be
thrown.
Closes #298
2013-02-21 16:12:49 -08:00
Corey Johnson
aa84256774
- and _ are not considered word characters by default.
...
Fixes #297
2013-02-21 13:41:21 -08:00