Commit graph

10452 commits

Author SHA1 Message Date
Vincent Ambo
f06401d493 fix(nixos): Finetune some minor EXWM parameters 2017-11-15 18:30:22 +01:00
Vincent Ambo
29d4413f16 feat: Install & globally enable which-key 2017-11-15 18:29:01 +01:00
Vincent Ambo
4e1661604d feat(nixos): Add initial NixOS & EXWM configuration
Adds configuratio for using Emacs as a window manager, because clear
that is an extremely sane thing to do.
2017-11-15 17:35:17 +01:00
Vincent Ambo
6225c18914 fix(custom): Fix Helm window splitting behaviour
The default Helm window splitting behaviour is ridiculous. This fixes
it!
2017-11-15 17:07:27 +01:00
Abseil Team
99b92c8736 Changes imported from Abseil "staging" branch:
- 79d5e27b30551028a35084bf0f314d14339f816b Adds "()" suffix for Minutes() and ToDoubleHours() in com... by Abseil Team <absl-team@google.com>
  - 7d43f4d8f056066bd8e4577e15cde6807f6191ec Change type traits tests to static_asserts; Add trivially... by Alex Strelnikov <strel@google.com>
  - b443886fd36b240df78683c676b7ebae07c9e91a Internal cleanup by Abseil Team <absl-team@google.com>
  - ef226810f398f0980e2158bfa352ab8ac5d97d83 Avoid weak virtual table warnings (-Wweak-vtables) and re... by Jorg Brown <jorg@google.com>
  - 76911667bed455c2c7330f8ee27b959bac032e41 Internal change by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 79d5e27b30551028a35084bf0f314d14339f816b
Change-Id: I752b04c882ff6677af7ee91b1e4f424417a1e4eb
2017-11-15 10:43:52 -05:00
Vincent Ambo
d79b7f45e7 feat(pkgs): Install gopass-bin 2017-11-15 15:27:32 +01:00
Eelco Dolstra
8956ae1987
Add a "profile" option to S3BinaryCacheStore
This allows specifying the AWS configuration profile to use. E.g.

  nix copy --from s3://my-cache?profile=aws-dev-account /nix/store/cf3isrlqavvd5w7rpky1fa8j9lcnlggm-...
2017-11-15 14:18:20 +01:00
Eelco Dolstra
897ca33a1c
Merge pull request #1678 from dtzWill/feature/anchor-exit-exception
anchor nix::Exit exception
2017-11-15 12:31:47 +01:00
Eelco Dolstra
27131866c9
Doh 2017-11-15 12:23:31 +01:00
Abseil Team
02f833cb81 Changes imported from Abseil "staging" branch:
- 89d5b08eeb96f195151a340772148fe7ed0a18f6 Put the internal ABSL_PRETTY_FUNCTION API behind a visibi... by Matt Armstrong <marmstrong@google.com>

GitOrigin-RevId: 89d5b08eeb96f195151a340772148fe7ed0a18f6
Change-Id: I6588a15c09a53a43ff87847e593864b1468dd375
2017-11-14 15:55:11 -05:00
Will Dietz
9d7ce0bf45 anchor nix::Exit exception 2017-11-14 12:39:30 -06:00
Eelco Dolstra
2f5789c5d6
Add dependencies for coverage test 2017-11-14 18:47:44 +01:00
Eelco Dolstra
4b45d8c95a
Update lcov filter 2017-11-14 18:47:37 +01:00
Eelco Dolstra
ec5b04862b
nix sign-paths: Support binary caches 2017-11-14 18:44:05 +01:00
Eelco Dolstra
d6dbda7004
Add tests for "nix verify", "nix sign-paths" etc. 2017-11-14 18:24:20 +01:00
Eelco Dolstra
2c39e4eca0
Revert "Don't parse "x:x" as a URI"
This reverts commit f90f660b24.

This broke Hydra's release.nix, which contained

  preCheck = ''export LOGNAME=${LOGNAME:-foo}'';
2017-11-14 15:10:52 +01:00
Eelco Dolstra
5773d667ee
nix ls-{nar,store}: Don't abort on missing files 2017-11-14 14:49:06 +01:00
Eelco Dolstra
b8d446829e
Add some tests 2017-11-14 14:37:39 +01:00
Eelco Dolstra
4db0a9555e
nix ls-{nar,store} --json: Respect -R 2017-11-14 14:31:38 +01:00
Eelco Dolstra
c8155e9f5f
Don't indent JSON output 2017-11-14 14:28:03 +01:00
Eelco Dolstra
bac8055652
nix ls-{store,nar}: Add --json flag 2017-11-14 14:23:53 +01:00
Eelco Dolstra
c0d93a01ee
Remove ncurses-bin 2017-11-14 14:16:16 +01:00
Eelco Dolstra
5ef5d70b5e
Make config options available to legacy commands 2017-11-14 14:04:09 +01:00
Eelco Dolstra
c9c3fc710b
Rename tests/nar-index -> tests/nar-access 2017-11-14 13:27:40 +01:00
Abseil Team
95ddf85f80 Changes imported from Abseil "staging" branch:
- 5677afe8f626bb9db6d8bf9f25ba3d835ffa12d6 Internal TSAN bookkeeping change. by Greg Falcon <gfalcon@google.com>
  - c7492bad6fe6c8f106d3fcb1f8a939ea73b1a962 MSVC fix. by Alex Strelnikov <strel@google.com>

GitOrigin-RevId: 5677afe8f626bb9db6d8bf9f25ba3d835ffa12d6
Change-Id: I1b8497508c8005a094824b4ccf9b220812b81bdb
2017-11-13 16:52:47 -05:00
Vincent Ambo
05bdeba853 feat(blog): Let users extend/customize elblog routes
The default elblog route (/{article-name}) can now be extended with
user-supplied routes by overriding the elblog-additional-routes
customize variable.

This variable takes the same format as the alist supplied to
elnode-hostpath-dispatcher.

The prefix `/en` has been dropped from the default handler because
that only existed to be compatible with my old blog, which is no
longer required as it can now be handled with a custom legacy route in
my personal blog configuration.
2017-11-13 22:45:30 +01:00
Vincent Ambo
2ba11f5c03 feat(blog): Register blog articles in hash-table
* adds a hash-table stored in a variable called `elblog-articles` that
  defines a map of article names (used as URI fragments) to file names
  of org-mode files
* adds a custom variable `elblog-article-directory` which must be set
  to the base path of the org-mode files representing elblog articles
* refactors the article-rendering functions to look up articles in the
  articles hash-table and renders them from there

After this change elblog is almost functional as a blog software, only
missing index generation.
2017-11-13 18:40:59 +01:00
Vincent Ambo
5065f5395b feat: Make blog-title configurable in preamble 2017-11-13 16:49:41 +01:00
Vincent Ambo
3e37d3990d refactor: Load preamble from an HTML file, too. 2017-11-13 16:42:45 +01:00
Vincent Ambo
07583c2b19 style: Allow for slightly wider page bodies 2017-11-13 16:42:09 +01:00
Vincent Ambo
2ba26218ac feat(pkgs): Bump MQ version 2017-11-13 14:45:26 +01:00
Vincent Ambo
d908fe1cbc feat: Add commands to get/set message queue rlimit
When creating a large number of queues the message queue rlimit may be
reached (see mq_overview for details).

This commit adds an `mq rlimit` function that displays the current
rlimits and an optional `--rlimit` flag to the `create` command that
can raise the rlimit when required.
2017-11-13 14:23:39 +01:00
Vincent Ambo
6e7386b662 fix(settings): Fix backup folder location 2017-11-13 10:23:52 +01:00
Vincent Ambo
18462a2f28 feat(functions): Add M-x emacs-config helper 2017-11-13 10:21:37 +01:00
Vincent Ambo
b0faa53657 feat: Install magnars' string-edit package
It's very nice.
2017-11-13 00:58:41 +01:00
Vincent Ambo
040c348780 feat(blog): Configure org-mode's HTML export to match blog theme
This gets elblog close, but not quite there, to my previous blog
theme.

Comparison screenshot: http://i.imgur.com/UK49Fhi.png
2017-11-13 00:57:20 +01:00
Vincent Ambo
b4dad1526d feat(blog): Add customization group for configuring elblog settings
Adds a customization group which can currently be used to configure
the host and port that elblog should run on.
2017-11-13 00:16:26 +01:00
Vincent Ambo
ba01528a77 docs: Add initial README 2017-11-12 23:57:51 +01:00
Vincent Ambo
4902e9c26c feat(blog): Add interactive start/stop functions 2017-11-12 23:56:27 +01:00
Vincent Ambo
3d4aba1803 feat(blog): Add initial elblog implementation
Implements a (very) simple "blogging" software in Emacs Lisp using
org-mode and elnode.

Once loaded and started, elblog will serve individual blog posts at
`localhost:8010/en/$post-name`, where "post-name" can be any string.

Elblog will attempt to find a buffer called "$post-name.org" and
render it to HTML.

An index of blog posts is currently not implemented and everything is
completely unthemed, but for a language this old this is ridiculously
productive given the amount of code.
2017-11-12 23:48:21 +01:00
Vincent Ambo
e2c4755426 chore: Initial commit 2017-11-12 23:48:12 +01:00
Vincent Ambo
85207b2598 feat: Add look-and-feel.el with theme & behaviour config 2017-11-12 22:44:31 +01:00
Vincent Ambo
0511e7eb97 fix: Fix warnings & errors detected by elisp compiler
Minor things that came up when byte-compiling the configuration.
2017-11-12 22:44:31 +01:00
Vincent Ambo
0d5bdbd7ce refactor: Remove lots of deprecated/unused settings
* move all look-and-feel related settings into, you guessed it,
  look-and-feel.el
* remove *lots* of old stuff and also re-evaluate what it's actually
  doing.
2017-11-12 22:44:31 +01:00
Vincent Ambo
99d9981dd9 refactor(init): Refactor package installation process
Refactors package installation to be slightly more sane, for example
package-refresh-contents will only be called if packages are missing.

Removes some other old cruft, too, and paves way for a slightly
different initialisation process.
2017-11-12 22:44:31 +01:00
Vincent Ambo
5fcabc204a feat(functions): Add functions to insert nix-store paths
These can be useful - for example - while debugging nix things in eshell.
2017-11-12 19:00:49 +01:00
Abseil Team
9e94e488f5 Changes imported from Abseil "staging" branch:
- 28631b3dbc582cb88a637cc4c70886e38a4be0cf Refactoring to support production kernel Futex implementa... by Derek Mauro <dmauro@google.com>
  - 411e7bb779c32bbc02b5fa6f516087a02fcb0812 Update comments about leap smearing. by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 28631b3dbc582cb88a637cc4c70886e38a4be0cf
Change-Id: I0506aa2705212cd466460cae60182b0c2c667972
2017-11-10 13:09:51 -05:00
Vincent Ambo
60d7ccd4a5 feat(adho): Add Cafe Sara network 2017-11-10 09:54:31 +01:00
Abseil Team
778abb7c27 Changes imported from Abseil "staging" branch:
- 92c268e7400e97e201bfc15c85ed78ece4dd90a7 Add absl qualification to To{Int64,Double}Seconds() examp... by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 92c268e7400e97e201bfc15c85ed78ece4dd90a7
Change-Id: I236517ec3623222fbd9b6a290b7ee3925fa68490
2017-11-09 16:13:41 -05:00
Vincent Ambo
a43657841b feat(pkgs): Add stern-bin package 2017-11-09 10:40:51 +01:00