Commit Graph

14793 Commits

Author SHA1 Message Date
Alan
71ee729f84 Change Help->Documentation url from https to http (Fix #12583)
The flight manual page does not have a secure connection, so navigating
to the https link would result in a SSL_ERROR_BAD_CERT_DOMAIN error.

It might be better to add a secure connection to the server rather than
pulling this commit.
2016-09-01 14:14:17 -07:00
bene
66dd70d19d 📝 fix arugments not marked as such [ci skip] 2016-08-31 21:16:49 +02:00
Damien Guard
4a1b4cff23 Merge pull request #12560 from atom/dg-fix-toggle-line-numbers
Fix show/hide line numbers in editor
2016-08-30 13:43:25 -07:00
Damien Guard
9451ca0254 Fix show/hide line numbers in editor 2016-08-30 13:20:17 -07:00
Antonio Scandurra
059dbba290 Remove accidentally committed require
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-30 20:15:40 +02:00
Antonio Scandurra
ce24a2f1cf Use the correct Atom executable paths on the beta channel
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-30 19:25:09 +02:00
Antonio Scandurra
83daa09abc Remove buffer change event order assertion
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-29 17:58:38 +02:00
Antonio Scandurra
ac120cbb53 Merge branch 'master' into ns-modernize-build 2016-08-29 12:32:43 +02:00
Antonio Scandurra
880328bf6e Fix lint errors 2016-08-29 10:40:07 +02:00
Nathan Sobo
b3009f1387 Focus application on all code paths that open windows in main process
I think this should take the application out of “app nap” on macOS,
leading to better responsiveness when opening paths from the CLI.
2016-08-28 06:17:41 -06:00
Antonio Scandurra
194f927b87 Merge branch 'master' into ns-modernize-build
# Conflicts:
#	build/tasks/build-task.coffee
2016-08-26 13:25:02 +02:00
Damien Guard
aa3379ceee Merge pull request #12515 from atom/sm-windows-file-icon
[WIP] Add Windows file icon
2016-08-25 21:40:17 -07:00
Damien Guard
cf36ecf3ca Merge branch 'master' into sm-windows-file-icon 2016-08-25 18:20:51 -07:00
Damien Guard
0f88949832 Remove all redundant separators 2016-08-25 12:49:29 -07:00
Damien Guard
ba704cf29e Copy file icon and use as icon for Atom associated files 2016-08-25 11:31:17 -07:00
Damien Guard
d44dbb373d Remove trailing context menu separator fixing #5390 2016-08-24 21:45:21 -07:00
Damien Guard
922f44ff11 Color serialization fixes atom/settings-view#832 2016-08-24 18:08:25 -07:00
Damien Guard
b6a72b058d Set the app name in Windows file handler to handle beta 2016-08-23 13:32:42 -07:00
Nathan Sobo
579e6b23cf Merge pull request #12426 from oggy/marker-count
Delegate TextEditor.getMarkerCount to default marker layer.
2016-08-20 14:19:44 -05:00
Antonio Scandurra
c667c77ff3 Copy auto{Width,Height} when copying an editor 2016-08-19 13:58:16 +02:00
Antonio Scandurra
1f4cd6e00d Merge branch 'master' into ns-fix-editor-auto-height
# Conflicts:
#	src/text-editor.coffee
2016-08-19 13:27:26 +02:00
Matthew Dapena-Tretter
fd29f96af9 Serialize active pane item using index instead of URI 2016-08-19 12:36:26 +02:00
Max Brunsfeld
d25f824020 Merge pull request #12469 from atom/mb-fix-tab-length-deserialization
Fix tab length deserialization
2016-08-18 21:46:20 -07:00
Max Brunsfeld
26c9e5ee78 Set editor's tokenized buffer's tab length on its display layer when deserializing 2016-08-18 17:06:26 -07:00
Wliu
af48a087c3 Merge pull request #12439 from remexre/master
Adds configuration option for large file warning threshold.
2016-08-18 17:32:36 -04:00
Nathan Sobo
a264eaa18a Serialize TextEditor autoHeight and autoWidth properties 2016-08-18 14:03:44 -06:00
Nathan Sobo
dd82902bf2 Disable autoHeight on text editor pane items 2016-08-18 14:03:44 -06:00
Max Brunsfeld
90b699f5cc Remove some text editor ivars that are redundant w/ display layer properties 2016-08-18 10:41:11 -07:00
Max Brunsfeld
bf839ab15e Reset display layer upon deserializing a text editor 2016-08-17 16:57:35 -07:00
Nathan Sobo
7a49013057 Only create a single deprecation warning per editor and improve message 2016-08-17 16:58:17 -06:00
Nathan Sobo
6a0b4d8fc0 Default autoWidth in getter method to match autoHeight 2016-08-17 15:52:51 -06:00
Nathan Sobo
13c00995d4 Return default value of true from TextEditor.getAutoHeight
When we need to check for unassigned in the deprecated code path, we
can just read the instance variable directly to avoid getting the
deafult.

Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-08-17 15:52:51 -06:00
Nathan Sobo
106621e161 Deprecate automatic assignment of autoHeight for text editors
Previously, we attempted to automatically determine whether the editor’s
height should be based on the editor’s content or the height of its
container. Unfortunately, DOM APIs are insufficient to make this
determination in a complete way, leading to unpredictable behavior.

This PR deprecates the automatic determination of this behavior. By
default, editors base their height on their content. If an editor has
an explicit height assigned via its style or is positioned absolute with
an explicit top and bottom, we disable the content-based autoHeight and
log a deprecation warning telling the user to assign autoHeight
explicitly.

This paves the way to add an autoWidth setting, which will default to
false.
2016-08-17 15:52:51 -06:00
Antonio Scandurra
1587dcbe89 Take the gutter width into account when sizing TextEditorElement 2016-08-17 19:21:56 +02:00
Antonio Scandurra
c37138e09e Revert refactoring to make the diff shorter 2016-08-17 18:08:02 +02:00
Antonio Scandurra
6f0fd965cd Clear out width on TextEditorElement only if autoWidth was previously on 2016-08-17 18:05:16 +02:00
Antonio Scandurra
e71027ed36 Ensure editors don't scroll or show scrollbars when autoWidth is enabled 2016-08-17 17:58:36 +02:00
Antonio Scandurra
5b44b51150 🎨 Clarify naming 2016-08-17 17:20:24 +02:00
Antonio Scandurra
e8f2e3a608 Size TextEditorElement according to the autoWidth property 2016-08-17 16:20:00 +02:00
Antonio Scandurra
2e37d7f0cf Change state.content.width based on autoWidth 2016-08-17 16:14:57 +02:00
Antonio Scandurra
683bf37907 Add autoWidth to TextEditor 2016-08-17 16:14:36 +02:00
Nathaniel Ringo
b32b8b40fe Adds configuration option for large file warning threshold. 2016-08-16 16:43:16 -05:00
Max Brunsfeld
c5a6e9c697 Merge branch 'master' into ns-mb-detangle-editor 2016-08-16 09:11:11 -07:00
Max Brunsfeld
782b070964 Use es6 export in null-grammar.js 2016-08-16 09:03:50 -07:00
Antonio Scandurra
f139c800e2 Merge branch 'master' into ns-modernize-build 2016-08-16 16:10:59 +02:00
Antonio Scandurra
2b3adaeace Merge pull request #12393 from atom/as-remove-backup-before-saving
Remove config option `editor.backUpBeforeSaving`
2016-08-16 13:29:59 +02:00
Max Brunsfeld
8018dc9d57 Allow ATOM_HOME to be reassigned if the new value is valid 2016-08-15 17:05:18 -07:00
Max Brunsfeld
4b0183d074 Remove extraneous TextEditor setter methods 2016-08-15 16:45:10 -07:00
Max Brunsfeld
0d099d2fd5 Serialize all TextEditor parameters needed for the DisplayLayer 2016-08-15 15:51:22 -07:00
Max Brunsfeld
4bcdbf4d2f Don't have registry update any editors before initial packages are loaded 2016-08-15 15:29:27 -07:00