Date | Commit message (Collapse) |
|
Try to consistently treat pathnames as binary blobs everywhere,
since POSIX FSes allow everything but "\0" in pathnames.
|
|
This helps for folks creating and replacing many throwaway files
while editing with dtas-splitfx, or compulsive renamers.
|
|
We use DTAS.yaml_load to wrap all YAML.*load calls, but
we still need "require 'yaml'" for various .to_yaml calls.
|
|
Psych 4.x defaults to "nanny mode" to handle untrusted data.
This causes breakage with since YAML references (aliases)
emitted by dtas-player can't be handled by Psych clients under
Ruby 3.1. Since dtas is single user and is a shell designed to
run arbitrary code, favor the new YAML.unsafe_load API which
behaves like the old YAML.load in Ruby <= 3.0.
|
|
Using the 'update-copyright' script from gnulib[1]:
git ls-files | UPDATE_COPYRIGHT_HOLDER='all contributors' \
UPDATE_COPYRIGHT_USE_INTERVALS=2 \
xargs /path/to/gnulib/build-aux/update-copyright
[1] https://git.savannah.gnu.org/git/gnulib.git
|
|
HTTPS allows some level of security(*) and we've actually
supported it on 80x24.org for many months, now. So, point new
readers to it.
Moving away from hostname-based homepages will allow us to save
on subjectAltName space (and bandwith) when negotiating an HTTPS
connection. We'll also have an .onion mirror for Tor users,
soon, too; in case we can't afford to pay ICANN in the future.
(assuming TLS libraries don't have any more Heartblead-level
bugs in them, CAs aren't compromised, MITM HTTPS stripping
proxies don't get in your way, and your certificate bundle isn't
compromised).
|
|
It needs to display the track ID on the left like in
0.13.0 and earlier versions. Oops.
Fixes: cb5a016bf5e1 ("dtas-tl: shell-unescape cat output")
|
|
We do the same with edit and this makes tracklists look nicer with
non-7-bit-ASCII characters. While we're at it, use each_slice to
request more info from the tracklist to reduce syscalls on both
ends.
|
|
POSIX filesystems allow any combination of bytes, so we should be
able to edit the tracklist when we have a filename with non-UTF-8
(or whatever locale the user uses). Try to present the user with
a reasonable name when they have an external encoding (typically
UTF-8); but be prepared to dump out whatever binary sequence
the filesystem allows.
|
|
Using the 'update-copyright' script from gnulib[1]:
git ls-files | UPDATE_COPYRIGHT_HOLDER='all contributors' \
UPDATE_COPYRIGHT_USE_INTERVALS=2 \
xargs /path/to/gnulib/build-aux/update-copyright
[1] git://git.savannah.gnu.org/gnulib.git
|
|
While we're in the area, make a wording change from "GPLv3 or later"
to "GPL-3.0+", as the latter is favored by SPDX.org
|
|
This can be useful to avoid using the queue internally.
|
|
Having sequential track IDs can improve readability, so complicate
our code a bit to ensure users get nicer looking track IDs.
Followup to commit 90dcf561fd22c8a53c03d97292f86a82e74ca4a3
('Revert "dtas-tl: simplify existing addtail/addhead while we're at it"')
|
|
This partially reverts commit 0dde5917fb5135ee3601383c29ffc0490071ea9d.
This fixes "addtail" on an empty tracklist and preserves sequential
ordering of track IDs, which might make sense for usability.
|
|
Oops :x
commit 0dde5917fb5135ee3601383c29ffc0490071ea9d
("dtas-tl: simplify existing addtail/addhead while we're at it")
|
|
No need to keep track of added track IDs when we can walk the
array backwards to insert in the correct order. Also,
fix a stupid (probably?) typo in the "addhead" implementation,
too. I've known about Array#reverse_each for a while...
|
|
We need to add new songs in reverse order of what's in
the file to preserve ordering when they're added after
an existing ID. This way we don't have to remember the
track we just added, either.
|
|
This should allow convenient rearranging and deleting of tracks from
the tracklist from your favorite $EDITOR.
|
|
It is orders of magnitude more efficient to implement this
in the player and very noticeable when using large playlists.
|
|
The documentation part is managed by the new
Documentation/update-copyright script. For the future, the rest may
be managed by the update-copyright tool in gnulib
|
|
Notably, this speeds up "dtas-tl cat" output a little bit.
Hrm, Ruby really should be using writev here, we'll need to
investigate at a later date.
|
|
This avoids compatibility problems as File.expand_path respects the
"filesystem" encoding of Ruby. I'm not 100% sure this is correct,
as Ruby encoding support still confuses me, but this fixes a problem
where I attempted to add UTF-8 filename with non-US-ASCII characters
in it on ruby-trunk.
|
|
I'm still normal, and still trolling, but 80x24.org will be epic :)
|
|
Using a regexp to match trackIDs is probably not intended
by the user.
|
|
This behaves like "goto", but takes a regular expression
instead of a track_id
|
|
Shorten these commands since they're frequently used and
to make eventual tab completion easier.
|
|
This is implemented in client space, as the MPRIS 2.0
spec does not say this needs to be implemented at all...
|
|
It's easier to handle the client and player to be in different
directories (and we also do this for dtas-enq(1))
|
|
This adds a bunch of tracks sequentially to the end of the tracklist
|
|
This should allow us to repeat through a list of tracks with relative
ease. There is a rudimentary dtas-tl client implemented. This
may be removed in the future.
|