Commit Graph

2748 Commits

Author SHA1 Message Date
Andreas Schneider 924bbbe92b Make inline function also static
After compiling with GCC 7.1.0 it otherwise fails linking for some
reason, complaining about that non-static inline function being not
found.
2017-07-13 22:56:51 +03:00
Andreas Schneider 73244eb976 Make sure any positive integer fits into the buffer
Avoids GCC 7.1.0 -Wformat-truncation.
2017-07-13 22:55:27 +03:00
Nikolai Aleksandrovich Pavlov 8d577b5958 Merge pull request #1794 from vsimonian/1793-ref-correct-fonts-folder
Replace ~/.fonts with ~/.local/share/fonts in help
2017-07-02 07:37:39 +03:00
Vartan Christopher Simonian 34dc7f9f55 Replace ~/.fonts with ~/.local/share/fonts in help
`~/.fonts/` has been deprecated in favour of `~/.local/share/fonts/`.

References:
- https://github.com/behdad/fontconfig/blob/master/fonts.conf.in#L29
- https://lists.freedesktop.org/archives/fontconfig/2014-July/005270.html

Fixes #1793
2017-07-01 20:15:25 -07:00
Nikolai Aleksandrovich Pavlov 9cd66c0b2f Merge pull request #1792 from ZyX-I/argparse-dep
Specify argparse dependency
2017-07-01 13:58:02 +03:00
Foo 234091c95d Specify argparse dependency
Fixes #1791
2017-07-01 02:57:53 +03:00
Nikolai Aleksandrovich Pavlov 517f38c566 Merge pull request #1786 from WhitleyStriber/patch-1
Spelling Fix
2017-06-08 04:06:53 +03:00
Whitley e991b42c1b Spelling Fix 2017-06-07 20:57:01 -04:00
Nikolai Aleksandrovich Pavlov 90032f8d0c Merge pull request #1783 from ZyX-I/check-bash-has-pipestatus
Check that bash has (no) $PIPESTATUS support before using it
2017-06-03 23:36:29 +03:00
Nikolai Aleksandrovich Pavlov 4dc590bde7 Merge pull request #1785 from martingabelmann/fix-1784
add awesome4+ support, fixes #1784
2017-06-03 23:15:48 +03:00
Martin Gabelmann 7189f35cf0 add awesome4+ support, fixes #1784 2017-06-03 21:54:18 +02:00
Foo d3e5d99a20 Do not spawn jobs
With previous variant of code first call has spawned a job which was perfectly 
reproducibly visible in prompt at bash startup. In subsequent prompts job number 
segment disappeared because result was cached, but it still was not good.
2017-06-02 21:23:03 +03:00
Foo 3c49ed1e96 Check that bash has (no) $PIPESTATUS support before using it
Ref #1782
2017-06-02 21:12:14 +03:00
Nikolai Aleksandrovich Pavlov 3df98fc276 Merge pull request #1779 from ZyX-I/vterm-standard-tmpdir-fixes
Add some fixes for vterm tests
2017-05-21 16:30:41 +03:00
Foo 28faebe260 Do not provide make_test_root unneeded argument 2017-05-21 16:10:33 +03:00
Foo 8e94773791 Fix test_vim.sh: should use standard directory as well 2017-05-21 16:10:30 +03:00
Nikolai Aleksandrovich Pavlov 36dba1134f Merge pull request #1778 from ZyX-I/vterm-standard-tmpdir
Switch vterm tests to use “standard” temporary directory in tests/tmp
2017-05-21 03:06:26 +03:00
Foo 1151449a8c Switch vterm tests to use “standard” temporary directory in tests/tmp 2017-05-21 02:33:50 +03:00
Nikolai Aleksandrovich Pavlov abb0cab64f Merge pull request #1776 from phatblat/ben/fish-readme
✏️ Add fish to list of supported apps on readme
2017-05-18 00:58:45 +03:00
Ben Chatelain ef3b547558 ✏️ Add fish to list of supported apps on readme 2017-05-17 15:54:54 -06:00
Nikolai Aleksandrovich Pavlov b5fe29eff5 Merge pull request #1775 from ZyX-I/bash-pipestatus
Add support for pipestatus in bash
2017-05-16 20:07:58 +03:00
Foo b0d31181cd Make bash tests check for pipestatus 2017-05-16 19:34:28 +03:00
Foo 30acc6ed4c Make default_leftonly theme use last_pipe_status 2017-05-16 19:34:27 +03:00
Foo b1e2086fe3 Add some more troubleshooting information 2017-05-16 19:34:27 +03:00
Foo 443679d532 Make last_pipe_status fallback to last_exit_code 2017-05-16 19:34:26 +03:00
Foo de899c5fc5 Export pipe status in bash bindings 2017-05-16 19:34:26 +03:00
Nikolai Aleksandrovich Pavlov be5879379e Merge pull request #1770 from ZyX-I/fix-i3bar-i3ipc
Abstract away subscription to workspace event
2017-05-11 23:04:42 +03:00
Foo 8150d38bd2 Abstract away subscription to workspace event 2017-05-11 23:03:48 +03:00
Nikolai Aleksandrovich Pavlov da3a0fab68 Merge pull request #1769 from ZyX-I/fix-i3-bindings
Fix i3 bar bindings
2017-05-11 22:45:00 +03:00
Foo 1e6414d0e8 Fix i3 bar bindings
Specifically:

- Do not log exceptions to the same location data is output.
- Fix format, i3bar is no longer using “pseudo-JSON”, also not sure whether it 
  ever used format `[[right list], [left list]]`, but it definitely does not 
  now.
- i3bgbar branch is no longer available.
- Yet i3wm supports background color, just with the different key (`background` 
  vs `background_color`).
2017-05-11 21:09:10 +03:00
Foo f6bf7b4916 Merge branch 'release-2.6' into develop 2017-05-08 19:47:15 +03:00
Foo d23c17b7a0 Update base version 2017-05-08 19:47:15 +03:00
Nikolai Aleksandrovich Pavlov c9824da701 Merge pull request #1764 from ZyX-I/tmux-workaround
Break #… sequences inside `#()` in tmux status options
2017-05-06 21:44:36 +03:00
Foo 37cd44ae75 Break #… sequences inside `#()` in tmux status options 2017-05-06 00:33:01 +03:00
Nikolai Aleksandrovich Pavlov 5e46d3b1ef Merge pull request #1762 from ZyX-I/travis-folds
Use custom travis folds
2017-05-01 06:19:53 +03:00
Foo bf29fa9537 Save version to the proper location 2017-05-01 04:31:07 +03:00
Foo 8da977e0a1 Insert travim_fold calls to enter_suite and exit_suite 2017-05-01 04:31:06 +03:00
Nikolai Aleksandrovich Pavlov 9bad9b8375 Merge pull request #1761 from ZyX-I/vterm-vim-tests
Refactor test scripts and reenable shell tests
2017-05-01 03:17:54 +03:00
Foo 343b217cae Fix warncreateglobal warning from zsh_expand 2017-05-01 02:15:50 +03:00
Foo 2d877c9240 Move shell tests inputs and outputs to separate directories 2017-05-01 01:58:48 +03:00
Foo 65c6ed1cff Try setting LD_LIBRARY_PATH
Currently zpython test does not work: libzpython could not load libpython.
2017-05-01 01:45:07 +03:00
Foo 4c5b02d236 Remove “test x” nonsense 2017-05-01 01:28:44 +03:00
Foo 2fcbd89ef8 Trace checkout_cached_dir, use rev-parse in place of some hack 2017-05-01 01:17:09 +03:00
Foo 225ed1f230 Do not add fish and dash to $TEST_ROOT/path 2017-05-01 01:17:09 +03:00
Foo 5a3e19847e Refactor shells test code
Tests passing locally:

bash (no)daemon C
busybox (no)daemon C
fish (no)daemon C
mksh (no)daemon C
rc (no)daemon C
tcsh (no)daemon C
zsh (no)daemon C
zsh zpython
ipython
pdf module
pdf subclass

dash has problems with job control (bgscript.sh not finished by kill)
2017-05-01 00:28:25 +03:00
Foo 717ae5e428 Refactor make_tmp_dir to make_test_root
This fixes problem with `exit_suite --continue` wiping out tmp directory.
2017-04-30 22:55:20 +03:00
Foo 1303cd1b04 Move tests/run_*_tests.sh to tests/test_*/test.sh
Warning: this also makes shell tests run.
2017-04-30 22:40:43 +03:00
Foo 0fc96abce2 Move “library” tests/*.sh to tests/shlib 2017-04-30 18:20:30 +03:00
Foo f3bf749467 Move tests run by run_python_tests to tests/test_python 2017-04-30 18:20:30 +03:00
Foo 53a7d1046e Move messages.fail to a temporary directory 2017-04-30 18:20:30 +03:00