Commit graph

10979 commits

Author SHA1 Message Date
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
Abseil Team
9850abf25d Changes imported from Abseil "staging" branch:
- 55a89fda61ddf8aa76d0a3b6bc44bf6b5b6eadfc Internal cleanup by Abseil Team <absl-team@google.com>
  - b7646f979ee40c5716833692f2eb24b8058cf4c8 Internal cleanup by Gennadiy Rozental <rogeeff@google.com>
  - 12a4051b0ea91c6a6211f738fa24e1bc7064c09a Merging changes from https://github.com/abseil/abseil-cpp... by Daniel Katz <katzdm@google.com>
  - 2e259588d62118a70837a3d8408cb6c763f48420 Replace EXPECT_TRUE(StrContains(...)) with an assert exam... by Abseil Team <absl-team@google.com>
  - 8f7d251b3486f2b03dc712ad0822b9dc87a7964b Make Uint128(High|Low)64 constexpr. by Alex Strelnikov <strel@google.com>
  - 955fd38a23896e003105defc0ef221a2c10d392e Internal change by Jon Cohen <cohenjon@google.com>

GitOrigin-RevId: 55a89fda61ddf8aa76d0a3b6bc44bf6b5b6eadfc
Change-Id: Ia062fe8a0559aa3ace3736d2a53f6da13af40b2c
2017-11-08 13:52:20 -05:00
Daniel M. Katz
badd8bd27f
Merge pull request #41 from Mokosha/patch-1
Fix README link to CMake README
2017-11-08 12:00:35 -05:00
Pavel Krajcevski
3391e12624
Fix README link to CMake README 2017-11-08 08:44:42 -08:00
Eelco Dolstra
9d87d03331
Remove extraneous comment 2017-11-08 16:17:32 +01:00
Eelco Dolstra
513b143cd8
Merge pull request #1650 from copumpkin/darwin-sandbox-unix-socket
Always allow builds to use unix domain sockets in Darwin sandbox
2017-11-08 16:16:42 +01:00
Vincent Ambo
2c921e157d feat(adho): Add FSCONS & Hackeriet networks 2017-11-08 15:35:10 +01:00
Vincent Ambo
a67f2d87ee docs(README): Remove dead links
Never got around to writing them and maybe they shouldn't be hanging around.
2017-11-07 23:37:10 +01:00
Vincent Ambo
ac5b34e131 feat: Install modern elisp libraries
Elisp can actually be quite nice with a bunch of modern tooling.
2017-11-07 21:29:20 +01:00
Abseil Team
ee2e3f667f Changes imported from Abseil "staging" branch:
- 3eaa80f3372d679f9c7ecd7661971d7a4ee3766a Include implementation files in header. by Alex Strelnikov <strel@google.com>

GitOrigin-RevId: 3eaa80f3372d679f9c7ecd7661971d7a4ee3766a
Change-Id: Ib77722fc43798a7321443eced4eb9da2b7e40064
2017-11-07 11:03:01 -05:00
Eelco Dolstra
fd10f6f241
Show when tests are skipped
Also, don't depend on tput (ncurses). It's really not needed since
ANSI escape sequences have been standardized for 35 years or so.
2017-11-07 12:09:57 +01:00
Vincent Ambo
7b67a50fc0 feat(pkgs): Install rustracer 2017-11-07 00:25:29 +01:00
Vincent Ambo
5f5abc05ba fix(rust): Include automatically & set racer path 2017-11-06 22:26:47 +01:00
Vincent Ambo
fc17dfbbfc feat: Set up openssl.dev links in system environment
This makes building stuff without nix-shell somewhat easier.
2017-11-06 22:14:26 +01:00
Vincent Ambo
4851c19543 chore: Disable PostgreSQL 2017-11-06 22:10:59 +01:00
Vincent Ambo
52367acba1 chore: Disable VirtualBox again 2017-11-06 22:10:36 +01:00
Abseil Team
075cf62092 Changes imported from Abseil "staging" branch:
- c3a608de577e0c278b50916ad4803549929f8f72 Merging https://github.com/abseil/abseil-cpp/pull/8/ inte... by Gennadiy Civil <misterg@google.com>
  - d0b528cdf5843db871784c629cb4e7c5165af716 explicitly cast -1 for Span::npos by Jon Cohen <cohenjon@google.com>
  - 32066311a4379f1144f029aaa3740af59b1e364e Remove GUARDED_VAR and PT_GUARDED_VAR entirely. by Abseil Team <absl-team@google.com>
  - 3d3c69d97d15b5c6457906631054109094c083a6 Remove unneeded inline on constexpr definitions. by Alex Strelnikov <strel@google.com>
  - a9a8fe71f90d0b80de8e77375228a7185032636b Remove unneeded lint suppression. by Alex Strelnikov <strel@google.com>

GitOrigin-RevId: c3a608de577e0c278b50916ad4803549929f8f72
Change-Id: I0897ce0b11e41f83fed8d88f18e079a15d086527
2017-11-06 15:58:57 -05:00
Gennadiy Civil
78e1abca86
Merge pull request #8 from adevress/master
Add CMake support
2017-11-06 12:56:37 -08:00
Gennadiy Civil
2eedcf0204
Whitespace 2017-11-06 12:23:58 -08:00
Vincent Ambo
8996bceea1 feat(init): Add some useful development packages
Adds packages for interfacing with PostgreSQL and HTTP APIs which can
be very useful during development.
2017-11-06 19:35:53 +01:00
Vincent Ambo
6bef57e347 feat(rust-setup): Add Rust setup
Adds a simple Rust setup with autocompletion via Racer and built-in
Cargo command support.
2017-11-06 19:35:19 +01:00
Vincent Ambo
0338fcc892 feat(modes): Always enable electric-pair-mode 2017-11-06 19:31:02 +01:00
Eelco Dolstra
dc30856141
Merge pull request #1632 from AmineChikhaoui/sigint-copy
run query paths in parallel during nix copy and handle SIGINT
2017-11-06 13:36:28 +01:00
Vincent Ambo
22919d1535 feat(pkgs): Bump Kontemplate to v1.3.0 2017-11-05 22:52:54 +01:00