Commit graph

14 commits

Author SHA1 Message Date
Chris Down f22fce7f04 Use a single line cache file
In c7c894a0, a per-selection line-cache was introduced in order to
overcome some of the limitations of clipmenu at the time (for example,
missing duplicate detection). However, now we have all the features we
need to have a single line cache again, and having multiple line caches
has caused more trouble than it is worth.

For example, maintaining CM_MAX_CLIPS globally is extremely cumbersome,
so we don't do it, and CM_MAX_CLIPS is actually acted on per-selection.
We also have had bugs where we perform actions on cache files without
properly consulting other line caches, and while those can be fixed, the
simplest thing to do now is just to go back to having a single line
cache.
2020-03-23 13:00:14 +00:00
Chris Down 7c3bd5060a Do $PATH lookup for bash 2018-10-31 08:12:09 +00:00
Chris Down 4a3862666f Always send xsel logfile to /dev/null
We don't want this logging to disk, but /dev/stderr doesn't always work
(see #81). Let's just stop all logging to avoid more shenanigans.
2018-05-10 17:13:46 +01:00
Chris Down 83289bb94d test-perf: Now that we check CM_LAUNCHER, change from aliases to functions 2018-04-27 02:13:06 +01:00
Chris Down 1a145d298f Fix tests to use version 5 format 2018-02-20 11:30:07 +00:00
Chris Down f34bd68797 Bump major_version to 4 2017-10-25 01:57:35 +01:00
Chris Down 6855d24e3a Prefer $XDG_RUNTIME_DIR for storage
Closes #51.
2017-10-24 19:14:23 +02:00
Chris Down 33b0e13404 Test CM_LAUNCHER 2017-03-19 09:54:56 +00:00
Chris Down 7d9c46a370 Pass args in dmenu/rofi shims 2017-03-19 09:54:47 +00:00
Chris Down 92d584e4b3 Use a function insted of an alias for dmenu shim 2017-03-19 09:48:55 +00:00
Chris Down 00e221559e Set -x in test-clipmenu 2017-02-17 12:03:02 -05:00
Chris Down 2acece7dce Put $major_version in cache_dir to avoid upgrade incompatibility 2017-02-17 12:01:42 -05:00
Chris Down 683f57484f Remove xclip support
Pretty much everyone runs with xsel, so xclip support is becoming more
and more questionable. Just have people use xsel.
2017-02-17 11:50:52 -05:00
Chris Down e85c7691e2 tests: Add clipmenu test 2017-01-15 10:18:20 +00:00