Commit graph

10653 commits

Author SHA1 Message Date
Vincent Ambo
4a6db37ef7 chore: Remove legacy build system 2018-03-09 13:35:35 +01:00
Vincent Ambo
d7f19934d9 feat(build): Add Nix derivation for release builds
Adds a Nix derivation that produces statically linked output binaries
for multiple operating systems and architectures.

This requires a Nix-channel version that includes the Go 1.10
compiler.
2018-03-09 13:35:35 +01:00
Vincent Ambo
4b1d44f71b refactor(build): Add Nix derivation & configure Travis to build it
Adds a Nix-derivation for building kontemplate with dependencies
pinned in Nix.
2018-03-09 13:35:35 +01:00
Vincent Ambo
58d825d5dd feat(bindings): Bind align-regexp & browse-url-* functions to keys 2018-03-09 11:09:45 +01:00
Vincent Ambo
97da0904f9 feat(init): Start edit-server on launch 2018-03-09 11:09:32 +01:00
Vincent Ambo
4b1a1522cc feat(desktop): Enable Russian keyboard layout 2018-03-09 11:09:04 +01:00
Vincent Ambo
9def7c32eb feat(emacs): Install edit-server
Install edit-server package for use with the "Edit in Emacs" Firefox
extension.
2018-03-09 11:08:47 +01:00
Tim Engler
383afab9ad Modified MakeBinOp to no longer produce its name using concatenation and "##".
Doing so prevents emacs tags from working, as well as makes the code extremely
confusing for a newbie.

In the prior state, if someone wants to find the definition of "ExprApp" for
example, a grep through the code reveals nothing. Since the definition could be
hiding in numerous ".h" files, it's really difficult to find. This personally
took me several hours to figure out.
2018-03-09 03:16:33 +00:00
Eelco Dolstra
16551f54c9
Fix #1957 2018-03-07 11:40:50 +01:00
Eelco Dolstra
4452f6e855
Merge pull request #1955 from dtzWill/fix/rand-random
rand() -> random(), since we use srandom().
2018-03-07 11:00:08 +01:00
Will Dietz
56253bb08f rand() -> random(), since we use srandom().
rand() requires we call srand() instead,
but might as well use random().
2018-03-06 17:44:25 -06:00
Abseil Team
94f0f79ecd Changes imported from Abseil "staging" branch:
- aba727a5943a014392e3873349cee9dd5efc634e Avoid using 128-bit intrinsics for Clang on Windows. by Abseil Team <absl-team@google.com>
  - cdd19f1eda562af8906bff8feff827eb8e8e9797 Utilize the rtems TID infrastructure on myriad2 platforms. by Abseil Team <absl-team@google.com>
  - 52f7f55daa84ea25fa210d1b9d2bd64d128e1d81 Use intrinsic 128 bit integer when available for division... by Alex Strelnikov <strel@google.com>
  - 51f881b1152c0c861cf7fcac53f30d3c7ce12902 Merge GitHub #95: Fix compiler version check for clang-cl... by Derek Mauro <dmauro@google.com>

GitOrigin-RevId: aba727a5943a014392e3873349cee9dd5efc634e
Change-Id: I9b52d84095537acbbc96d3f74917f78da9a51156
2018-03-06 17:21:05 -05:00
Will Dietz
e917c05628 logging: Don't throw from Activity destructor
Move definition of destructor to logging.cc for
access to util.hh's ignoreException.
2018-03-06 10:42:58 -06:00
Vincent Ambo
602b8b4ef0 fix(pkgs): Remove outdated nix-mode from Nix package
See https://github.com/NixOS/nixpkgs/issues/36372 for details
2018-03-06 12:33:27 +01:00
Vincent Ambo
92ae9eed7a feat(emacs): Add custom nix-mode derivation
Adds a nix-mode derivation that uses the latest nix-mode from master.
2018-03-06 12:09:03 +01:00
Eelco Dolstra
70dbac7491
Merge pull request #1948 from shlevy/no-forward
ssh-ng: Don't forward options to the daemon.
2018-03-05 18:23:00 +01:00
Shea Levy
088ef81759
ssh-ng: Don't forward options to the daemon.
This can be iterated on and currently leaves out settings we know we
want to forward, but it fixes #1713 and fixes #1935 and isn't
fundamentally broken like the status quo. Future changes are suggested
in a comment.
2018-03-05 07:42:15 -05:00
Vincent Ambo
bcd317f23d refactor(pkgs): Add wallpapers to top-level package set 2018-03-04 22:09:18 +01:00
Vincent Ambo
0937f19408 feat(pkgs/emacs): Add Haskell development packages 2018-03-04 19:32:19 +01:00
Vincent Ambo
57c047b5fd fix(emacs): Use custom sly derivations
The upstream sly derivations don't seem to work. This adds custom
build instructions for the sly and sly-company Emacs packages.
2018-03-04 01:53:41 +01:00
Vincent Ambo
8f7a720fcf fix: Make custom emacs available on system $PATH 2018-03-04 00:33:19 +01:00
Vincent Ambo
82c6a5e3d5 chore(custom): Remove package-related settings
Remove settings that are no longer needed after migrating package
installations to Nix.
2018-03-04 00:28:52 +01:00
Vincent Ambo
845fa34448 feat(custom): Set term-mode colour scheme to Gruber Darker 2018-03-04 00:15:35 +01:00
Vincent Ambo
fc76db3d96 refactor(init): Remove package installation configuration
Package installation has moved to my NixOS configuration.
2018-03-04 00:14:13 +01:00
Vincent Ambo
95eedea9ac feat(emacs): Install required emacs packages via Nix 2018-03-04 00:07:38 +01:00
Will Dietz
e9a5ce9b07 release.nix: don't try to use nix-2.0 branch, no longer exists
Probably should point at the 18.03 release branch once that's made.
2018-03-03 13:48:54 -06:00
Vincent Ambo
9042d0a987 chore(adho): Update office wifi configuration 2018-03-03 15:37:38 +01:00
Russell Matney
621752ba0e fix: namespace function call to match name
Hotfix - this was not working!
2018-03-02 17:24:59 -05:00
Russell Matney
47c0fe9741 docs: add setup note
Docs the need for auth-token and team-name. The Auth token needs to be
generated per user, and can be done in clubhouse.
2018-03-02 16:24:21 -05:00
Russell Matney
bfc599abe3 docs: installation instructions for quelpa, doom
Adds installation instructions for Quelpa and Doom Emacs.
2018-03-02 16:12:37 -05:00
Russell Matney
2b82785794 feat: create-story region supported
Refactors `org-clubhouse-create-story` to pull stories from a region if
one is selected, and fallback to the headline at point.
2018-03-02 15:52:18 -05:00
Will Dietz
6b9a03f5d8 hoist vector out of loop just in case 2018-03-02 10:52:05 -06:00
Will Dietz
c89a3d5368 don't allocate large buffers on the stack 2018-03-02 10:52:04 -06:00
Shea Levy
3748a0ca1e
Merge branch 'improve-search-algorithm' of git://github.com/Ma27/nix 2018-03-02 11:41:08 -05:00
Shea Levy
aa8bbbf69d
Merge branch 'write-failure-fixes' of git://github.com/lheckemann/nix 2018-03-02 10:59:59 -05:00
Eelco Dolstra
5c7a6d07de
Merge pull request #1932 from mfiano/patch-1
nix-channel grammar and punctuation
2018-03-02 16:58:00 +01:00
Griffin Smith
f2230e30bf docs: MIT License 2018-03-02 10:44:48 -05:00
Tuomas Tynkkynen
a0e38c16bc libexpr: Recognize newline in more places in lexer
Flex's regexes have an annoying feature: the dot matches everything
except a newline. This causes problems for expressions like:

"${0}\
"

where the backslash-newline combination matches this rule instead of the
intended one mentioned in the comment:

    <STRING>\$|\\|\$\\ {
                    /* This can only occur when we reach EOF, otherwise the above
                    (...|\$[^\{\"\\]|\\.|\$\\.)+ would have triggered.
                    This is technically invalid, but we leave the problem to the
                    parser who fails with exact location. */
                    return STR;
                }
However, the parser actually accepts the resulting token sequence
('"' DOLLAR_CURLY 0 '}' STR '"'), which is a problem because the lexer
rule didn't assign anything to yylval. Ultimately this leads to a crash
when dereferencing a NULL pointer in ExprConcatStrings::bindVars().

The fix does change the syntax of the language in some corner cases
but I think it's only turning previously invalid (or crashing) syntax
to valid syntax. E.g.

"a\
b"

and

''a''\
b''

were previously syntax errors but now both result in "a\nb".

Found by afl-fuzz.
2018-03-02 17:30:48 +02:00
Griffin Smith
089a5ee2c0 docs: Add one-liner README
When we publish this to MELPA (coming up next) I'll also document installation,
configuration, and usage
2018-03-02 10:22:22 -05:00
Griffin Smith
57008170b3 init: Initial commit of org-clubhouse
As committed, this allows creating Clubhouse tickets from a heading in org-mode,
and then updating the status of those tickets when the Org status updates
2018-03-02 10:12:50 -05:00
Eelco Dolstra
939cf4cceb
Fix error message 2018-03-02 14:32:00 +01:00
Matthew O'Gorman
467fdd8ca4 only delete things older than current gen and update logic in doc as
well
2018-03-01 22:59:00 -05:00
Matthew O'Gorman
3c16044cb0 remove unused variable and make sure to check that the current
generation is not the one we are deleting
2018-03-01 22:22:02 -05:00
Matt O'Gorman
12fe2249e1 Update nix-env.cc
missing comma
2018-03-01 21:47:57 -05:00
Matthew O'Gorman
0312d30315 this updates issues that were addressed by people in pr 2018-03-01 21:47:57 -05:00
Matthew O'Gorman
429154b74c Implement --delete-generations + flag for keeping last N number of generations 2018-03-01 21:47:57 -05:00
bfierz
5337d2d0e3 Fixes a failed compiler version check for clang-cl, which was detected as an old MSVC. (#95) 2018-03-01 15:52:44 -05:00
Will Dietz
c577186f59 tests/search.sh: simplify, don't rely on consistent ordering 2018-03-01 13:25:06 -06:00
Michael Fiano
ad97d1a786
nix-channel grammar and punctuation
Minor changes to the nix-channel manpage for my first contribution
2018-03-01 00:27:25 -05:00
Shea Levy
4a000cbb39
Merge pull request #1927 from dtzWill/fix/fetchgit-HEAD
fetchGit: use "HEAD" as default ref instead of "master"
2018-02-28 18:44:57 -05:00