probablycorey
35ff4b8677
Remove unnecessary "if" condition
...
Hat tip briandoll
2013-10-21 20:14:25 -07:00
Cheng Zhao
5d701d899e
Merge pull request #1011 from atom/no-root-tmp
...
Do not always use "/tmp" to represent system temporary directory
2013-10-21 17:37:04 -07:00
probablycorey
4dada919ba
Revert "Remove window.measure and window.profile"
...
This reverts commit 9b318c1317 .
2013-10-21 16:49:00 -07:00
probablycorey
9b318c1317
Remove window.measure and window.profile
2013-10-21 16:46:19 -07:00
probablycorey
5277277683
Only modify pathToOpen if initialLine option is present.
...
Closes #1007
2013-10-21 16:05:45 -07:00
Corey Johnson
0d49f2a3d0
Merge pull request #1001 from atom/cj-render-long-lines
...
Render long lines (without crashing or long pauses)
2013-10-21 15:38:13 -07:00
probablycorey
d21a5a6836
Use string concatenation instead of array concatenation
2013-10-21 15:17:41 -07:00
probablycorey
5e3d52927a
Use cachedCharWidth instead of cachedVal
2013-10-21 11:10:44 -07:00
probablycorey
0bc470c6d9
💄
2013-10-21 11:10:17 -07:00
Cheng Zhao
0a561643a9
Home directory is process.env.USERPROFILE on Windows.
2013-10-21 22:04:51 +08:00
Cheng Zhao
640b6feb49
💄 The atom object is no accessable in browser process.
2013-10-21 21:59:03 +08:00
Cheng Zhao
459309aa78
Do not use "/tmp" in scripts.
2013-10-21 21:42:55 +08:00
Cheng Zhao
558778b4d4
Add atom.getTempDirPath to return the path of "system temporary directory".
2013-10-21 21:39:52 +08:00
probablycorey
f6fee9d04f
Optimize measuring long lines
2013-10-18 15:36:39 -07:00
probablycorey
02dd79feeb
Use module variable naming conventions
2013-10-18 15:36:25 -07:00
probablycorey
ff5ee45dc7
Fix return value for getValueAsHTML
2013-10-18 13:53:11 -07:00
Matt Colyer
702eaea483
Merge pull request #991 from atom/menu-improvements
...
Improve menus for discoverablity
2013-10-18 13:04:37 -07:00
Matt Colyer
3e5f204f08
Add a Help menu
2013-10-18 12:02:03 -07:00
probablycorey
eced0a3208
Don't cache entire line length on lines > 160 chars
2013-10-18 11:58:36 -07:00
probablycorey
fd062a7c4f
Split long spans into multiple spans
...
If a span has more than 2^16 chars and has the style `white-space: pre` Chrome
won't render it.
2013-10-18 11:44:56 -07:00
Matt Colyer
5541875965
Don't append duplicate menu items
...
Fixes #995
2013-10-18 10:20:03 -07:00
Kevin Sawicki
e8b5bf5402
Use clear-cut library for specificity
2013-10-18 09:33:57 -07:00
Kevin Sawicki
069208975c
Add proper invisibles in empty lines with indent guide
...
This fixes a regression where multiple end of line invisibles were
displayed on empty lines when the indent guide was also enabled.
The invisibles array used to be shifted and not it isn't but the
entire array was still being iterated over causing extra invisibles
to be added to the line.
2013-10-17 18:31:59 -07:00
Kevin Sawicki
60dcef26b0
Join with empty string instead of comma
2013-10-17 17:25:28 -07:00
Kevin Sawicki
ccdd17c0d8
Don't modify passed in item
...
Perform a deep clone before iterating over to add items and submenus.
2013-10-17 16:57:49 -07:00
probablycorey
708d3fb08f
Show Preference opens a new window (when none are already open)
...
Closed #990
2013-10-17 14:45:01 -07:00
probablycorey
e07fb89ec7
💄
2013-10-17 14:45:01 -07:00
probablycorey
686b88fe60
Use fsUtils.statSyncNoException
2013-10-17 11:35:20 -07:00
probablycorey
875dfa61cb
Merge remote-tracking branch 'origin/master' into cj-text-buffer-cleanup
2013-10-17 10:48:11 -07:00
probablycorey
2000e43053
Don't allow Atom to open files larger than 1MB
...
Temporary measure until we can get this working with telepath.
2013-10-17 10:41:17 -07:00
probablycorey
450eba0d54
Make content change events use async reads
2013-10-17 10:40:41 -07:00
probablycorey
5be444c4ed
Rearrange require order
2013-10-17 10:40:14 -07:00
probablycorey
747b79cced
Actually store the cached contents of a file.
...
Big Beautiful Arrows
2013-10-17 10:39:23 -07:00
probablycorey
6e93c37ce1
Rename File::read to File::readSync
2013-10-17 10:38:45 -07:00
Kevin Sawicki
5e5375528b
Replace stringscore/fuzzy-filter with fuzzaldrin
2013-10-17 09:46:10 -07:00
Kevin Sawicki
84dc0df925
Update lastPixelPosition when changing
...
Also remove unused changedPosition variable
2013-10-16 15:02:48 -07:00
probablycorey
d49e419191
Rename updateCachedDiskContents and updateCachedDiskContentsAsync
2013-10-16 14:47:08 -07:00
probablycorey
d33e3e4071
TextBuffers::isModified returns false until it is fully loaded
2013-10-16 14:46:30 -07:00
Kevin Sawicki
820b870f82
Use triggerHandler for window focus/blur in specs
2013-10-16 14:41:38 -07:00
Kevin Sawicki
08e5c42f0c
Explicitly make pane active
...
Previously it relied on focus firing an event which will not occur
when not on the DOM.
2013-10-16 13:35:12 -07:00
Kevin Sawicki
607ed972c1
Listen to window focusin/focusout instead of focus/blur
...
This appears to be needed by jquery 2.0+ so the specs
can correctly simulate these events using trigger.
2013-10-16 13:35:11 -07:00
Kevin Sawicki
d989aeb592
Focus body when root view has no focusable children
...
This is required now that root view has a tab index
2013-10-16 13:35:11 -07:00
Kevin Sawicki
cded70c48a
Set tabindex on RootView so it can be focused directly
2013-10-16 13:35:11 -07:00
Kevin Sawicki
5883dd4f16
Add tab index to pane
...
This is required in jquery 2.0 in order for the
focus event to be received.
2013-10-16 13:35:11 -07:00
Kevin Sawicki
d0f6e83726
Reference correct attached variable
2013-10-16 13:34:41 -07:00
Kevin Sawicki
9d51d1a143
Use jquery provided by space-pen
2013-10-16 13:34:41 -07:00
probablycorey
43c54a93e5
Merge remote-tracking branch 'origin/master' into cj-make-packages-async
...
Conflicts:
package.json
2013-10-16 12:28:36 -07:00
Ben Ogle
aa57414547
Add inDevMode() function
2013-10-16 12:17:37 -07:00
probablycorey
9a839045e5
Merge remote-tracking branch 'origin/master' into cj-make-packages-async
2013-10-16 10:51:34 -07:00
Kevin Sawicki
ee495575a2
Use underscore-plus from browser process classes
2013-10-15 18:47:50 -07:00