JCLI release v0.21.1

2021-08-25 Thread SealabJaster via Digitalmars-d-announce
I've rewritten JCLI, and this is the first release where I think it's useable again: https://code.dlang.org/packages/jcli Here's a snippet from the README # Features * Building: * This library was primarily built using [Meson](https://mesonbuild.com) as the build system, so should be fu

Re: JCLI release v0.21.1

2021-08-25 Thread SealabJaster via Digitalmars-d-announce
On Wednesday, 25 August 2021 at 09:18:50 UTC, SealabJaster wrote: ... Oh, I'd also like to redocument the code. The old code was almost 50% comments or something, and the rewrite has almost no comments.

Re: trash-d: Replacement for rm that uses the trash bin

2021-08-25 Thread rushsteve1 via Digitalmars-d-announce
Thank you all for the warm welcome! --- On Wednesday, 25 August 2021 at 06:11:04 UTC, Vladimir Panteleev wrote: Cool! How does it compare to the `trash` command from the `trash-cli` package? To quote the `trash-cli` README Although the interface of trash-put seems to be compatible with rm,

Re: trash-d: Replacement for rm that uses the trash bin

2021-08-25 Thread rushsteve1 via Digitalmars-d-announce
On Wednesday, 25 August 2021 at 06:23:37 UTC, Kagamin wrote: You marked all functions inline? If I did then it wasn't on purpose, I was only trying to mark the handful of helper functions as inline. If you know a solution to this, that would be greatly appreciated!

Re: trash-d: Replacement for rm that uses the trash bin

2021-08-25 Thread Paul Backus via Digitalmars-d-announce
On Wednesday, 25 August 2021 at 13:30:58 UTC, rushsteve1 wrote: On Wednesday, 25 August 2021 at 06:23:37 UTC, Kagamin wrote: You marked all functions inline? If I did then it wasn't on purpose, I was only trying to mark the handful of helper functions as inline. If you know a solution to thi

Re: trash-d: Replacement for rm that uses the trash bin

2021-08-25 Thread rushsteve1 via Digitalmars-d-announce
On Wednesday, 25 August 2021 at 13:52:32 UTC, Paul Backus wrote: To be honest, you could probably remove `pragma(inline)` from the program altogether and not notice a difference. A program like this is almost certainly going to be bottlenecked on IO long before function-call overhead makes a no

Re: trash-d: Replacement for rm that uses the trash bin

2021-08-25 Thread Vladimir Panteleev via Digitalmars-d-announce
On Wednesday, 25 August 2021 at 13:30:36 UTC, rushsteve1 wrote: `trash-d` tries to mimic `rm`'s semantics as much as possible. It also unifies all the different `trash-*` commands that `trash-cli` provides into a single one with flags. One of my goals with `trash-d` was to make a simpler and sm

Re: trash-d: Replacement for rm that uses the trash bin

2021-08-25 Thread rushsteve1 via Digitalmars-d-announce
On Wednesday, 25 August 2021 at 18:37:33 UTC, Vladimir Panteleev wrote: I suggest investigating that as a future improvement. Not only is moving files within the same volume much faster (potentially an O(1) operation as opposed to having to read then write every byte of data), but it can also r