Commit graph

469 commits

Author SHA1 Message Date
Henrik Lissner
ffb37f8fed
Fix #2894: disable tty init deferral in daemon 2020-04-13 02:07:05 -04:00
Henrik Lissner
4cc631aaa7
Fix #2816: disable TLS 1.3 on windows
Windows is a lost cause.
2020-04-10 23:41:27 -04:00
Henrik Lissner
b78fc4eb76
Minor refactor & reformatting across the board 2020-04-08 15:30:10 -04:00
Henrik Lissner
d1c2e7b234
Slightly faster incremental loading 2020-03-31 01:01:13 -04:00
Henrik Lissner
58f52de912
inhibit-compacting-font-caches = t 2020-03-31 01:01:13 -04:00
Henrik Lissner
6c4081f785
Refactor gnutls-algorithm-priority
And prevent void-variable error if gnutls is, for some reason,
unavailable or libgnutls-version isn't a numeric.
2020-03-27 21:30:07 -04:00
Henrik Lissner
be257140b4
Merge pull request #2782 from vqhuy/security
Fix TLS error caused by #2763
2020-03-27 21:27:12 -04:00
Vu Quoc Huy
9709d257d9 Fix TLS error caused by #2763
Check whether the current gnutls library supports tls1.3
Add more tests for `doom/am-i-secure`
2020-03-28 02:24:12 +01:00
Henrik Lissner
217252e361
Wrap gcmh-mode bootstrap in interactive check
The interactive check is necessary until I've pushed the new CLI.
2020-03-27 19:09:19 -04:00
Henrik Lissner
97a3950ec8
Fix gcmh-mode not being activated at startup 2020-03-27 05:20:02 -04:00
Henrik Lissner
a0f674fc78
Refactor & revise comments in core.el 2020-03-27 02:35:19 -04:00
Vu Quoc Huy
bf3cdc37ce Fix & add more security settings 2020-03-24 01:29:54 +01:00
Henrik Lissner
0f4c0cce5b
Only unset file-name-handler-alist in interactive sessions 2020-02-21 17:03:47 -05:00
Henrik Lissner
8a7763337d
doom refresh -> doom sync
refresh isn't going anywhere, but sync will be the canonical command
here on out, because it is more appropriate for kind of work it will be
doing in the future.
2020-02-19 23:34:16 -05:00
Henrik Lissner
e31bb63c14
message-log-max = 8192 2020-01-31 16:43:08 -05:00
Henrik Lissner
99fc55f75c
General, minor refactors in doom core 2020-01-27 00:51:32 -05:00
Henrik Lissner
dadd54604b
Refactor package update logic
Still needs more work.
2020-01-26 21:21:06 -05:00
Henrik Lissner
0bc7fc1ab8
gcmh-high-cons-threshold = 16mb #2378
In an attempt to fix stuttering after long term interactive use.
2020-01-23 02:17:51 -05:00
Henrik Lissner
dc2b9781ab
Minor refactors & reformatting 2020-01-20 01:55:31 -05:00
Henrik Lissner
e65b5af709
Strip nils from exec-path
parse-colon-path will replace some paths with a nil, so we use
split-string instead with a non-nil OMIT-NULLS argument instead.
2020-01-15 02:04:14 -05:00
Henrik Lissner
9c594d3f42
delete-by-moving-to-trash = t on macOS 2020-01-09 22:56:26 -05:00
Henrik Lissner
ae5cf1889b
Move custom-file to {doom-local-dir}/custom.el 2020-01-04 17:10:56 -05:00
Henrik Lissner
195dfda045
Minor refactors & comment revision 2020-01-02 21:16:02 -05:00
Henrik Lissner
b63ce98731
Add benchmark hook & restore switch earlier
If the user wants to remove them for some reason.
2019-12-29 18:47:12 -05:00
Henrik Lissner
e8aa293bc0
Defer tty-run-terminal-initialization to window-setup-hook
This seems to work just as well, and ensures it runs in time for
interactive use.
2019-12-23 00:02:10 -05:00
Henrik Lissner
29b383d900
Disable tty-run-terminal-initialization
This code *may* have side-effects, but it does reduce startup time for
terminal users by a significant margin. In my case it reduced from 2.6s
to 0.4s.
2019-12-22 23:53:04 -05:00
Henrik Lissner
fd3f5b5b77
Revert 2f79fab99 #2211
This breaks too many packages.
2019-12-19 14:51:29 -05:00
Henrik Lissner
2f79fab99f
case-fold-search = nil 2019-12-16 01:11:41 -05:00
Henrik Lissner
eaa5621b36
Update comments 2019-12-15 23:51:59 -05:00
Henrik Lissner
ae3316f0ae
bidi-paragraph-direction = 'left-to-right
A minor performance boost.
2019-12-08 20:14:11 -05:00
Henrik Lissner
996188250b
Minor refactors & comment revision 2019-12-06 17:16:34 -05:00
Henrik Lissner
35bb87edeb
Fix unrelated errors when missing autoloads files
It should warn the user that the autoloads files are missing and need to
be generated, but instead displayed an unrelated error.
2019-12-05 14:52:46 -05:00
Henrik Lissner
4300957aea
Add NOERROR arg to doom-initialize 2019-12-05 14:52:30 -05:00
Henrik Lissner
34500c9177
Fix #2103: logic error initializing gcmh-mode 2019-11-22 12:56:00 -05:00
Henrik Lissner
a6e25209b8
Fix #2046 replacing process-environment, exec-path & shell-file-name 2019-11-21 17:16:46 -05:00
Henrik Lissner
db19241936
Use gcmh package to manage adjust GC interactively 2019-11-21 14:46:45 -05:00
Henrik Lissner
a4fcbb40e9
Revert ed3408d #2085 2019-11-21 00:36:40 -05:00
Henrik Lissner
304506edcc
Fix first envvar set by doom-load-envvar-file
Potentially fixes #2077
2019-11-19 19:09:44 -05:00
Henrik Lissner
ed3408d839
Move tramp-histfile-override to doom-cache-dir 2019-11-17 18:45:30 -05:00
Henrik Lissner
fa1a19a1f0
core: minor refactor & reformatting 2019-11-17 16:48:26 -05:00
Henrik Lissner
7a7b89ded1
Init packages from init.el in noninteractive sessions
This allows users to load init.el for their batch scripts, rather than
some monstrosity involving loading core/core.el and doom-initialize.
2019-11-17 01:17:34 -05:00
Henrik Lissner
d683effd23
Recognize single-character envvars in doom-load-envvars-file
And preserve insertion order for process-environment's new value.
2019-11-08 16:02:06 -05:00
Henrik Lissner
d78d584fdf
Demote autoload errors to warnings 2019-11-08 16:02:06 -05:00
Henrik Lissner
873fc5c0db
Rewrite core-cli
Highlights:
- 'doom purge' now purges builds, elpa packages, and repos by default.
  Regrafting repos is now opt-in with the -g/--regraft switches.
  Negation flags have been added for elpa/repos: -e/--no-elpa and
  -r/--no-repos.
- Removed 'doom rebuild' (it is now just 'doom build' or 'doom b').
- Removed 'doom build's -f flag, this is now the default. Added the -r
  flag instead, which only builds packages that need rebuilding.
- 'doom update' now updates packages synchronously, but produces more
  informative output about the updating process.
- Straight can now prompt in batch mode, which resolves a lot of issues
  with 'doom update' (and 'doom upgrade') freezing indefinitely or
  throwing repo branch errors.
- 'bin/doom's switches are now positional. Switches aimed at `bin/doom`
  must precede any subcommands. e.g.
    Do: 'doom -yd upgrade'
    Don't do: 'doom upgrade -yd'
- Moved 'doom doctor' from bin/doom-doctor to core/cli/doctor, and
  integrated core/doctor.el into it, as to avoid naming conflicts
  between it and Emacs doctor.
- The defcli! macro now has a special syntax for declaring flags, their
  arguments and descriptions.

Addresses #1981, #1925, #1816, #1721, #1322
2019-11-08 16:02:06 -05:00
Henrik Lissner
99cd52e70f
💥 Drop Emacs 25.x support
Emacs 26.1 is Doom's new minimum supported version

Closes #2026
2019-11-08 16:02:06 -05:00
Henrik Lissner
8db3b7dca7
Always load package autoloads file & demote errors
Indirectly addresses #2010
2019-11-04 17:21:56 -05:00
Henrik Lissner
7b9991711a
defvar->defconst for dir vars & expand DIR envvars
- Use defconst so that we can reload core.el if these variables change.
- Expand DIR envvars to ensure their correctness
2019-11-01 15:12:12 -04:00
Henrik Lissner
d407b3355a
Fix nonsensical error if autoloads are missing
`signal` treats its second argument like a list. Passing it a string
make it spew out the message as a list of character codes.
2019-10-30 00:03:39 -04:00
Henrik Lissner
90d9fd65b7
Fix void-function if-let on startup #1982 2019-10-30 00:03:39 -04:00
Henrik Lissner
63dfd298ca
Append slash to DOOMLOCALDIR & DOOMDIR
If needed.
2019-10-29 22:36:51 -04:00