About
This is a collection of modules that I've released over the years (the oldest module in here was originally written in 2006, pre-D1!) for a wide variety of purposes. Most of them stand alone, or have just one or two dependencies in here, so you don't have to download this whole repo. Feel free to email me, destructionator@gmail.com or ping me as adam_d_ruppe
on the #d IRC channel if you want to ask me anything.
I'm always adding to it, but my policy on dependencies means you can ignore what you don't need. I am also committed to long-term support. Even the obsolete modules I haven't used for years I usually keep compiling at least, and the ones I do use I am very hesitant to break backward compatibility on. My semver increases are very conservative.
See the full list of (at least slightly) documented module here: http://arsd-official.dpldocs.info/arsd.html and refer to https://code.dlang.org/packages/arsd-official for the list of dub
-enabled subpackages.
Links
I have a patreon and my (almost) weekly blog you can check out if you'd like to financially support this work or see the updates and tips I write about.
Breaking Changelog
This only lists changes that broke things and got a major version bump. I didn't start keeping track here until 9.0.
Please note that I DO consider changes to build process to be a breaking change, but I do NOT consider symbol additions, changes to undocumented members, or the occasional non-fatal deprecation to be breaking changes. Undocumented members may be changed at any time, whereas additions and/or deprecations will be a minor version change.
10.0
Released: May 2020
minigui 2.0 came out with deprecations on some event properties, moved style properties, and various other changes. See http://arsd-official.dpldocs.info/arsd.minigui.html#history for details.
database.d now considers null strings as NULL when inserting/updating. before it would consider it '' to the database. Empty strings are still ''.
9.0
Released: December 2020
simpledisplay's OperatingSystemFont, which is also used by terminalemulator.d (which is used by terminal.d's -version=TerminalDirectToEmulator function) would previously only load X Core Fonts. It now prefers TrueType fonts via Xft. This loads potentially different fonts and the sizes are interpreted differently, so you may need to adjust your preferences there. To restore previous behavior, prefix your font name strings with "core:".
http2.d's "connection refused" handler used to throw an exception for any pending connection. Now it instead just sets that connection to aborted
and carries on with other ones. When you are doing a request, be sure to check response.code
. It may be < 100 if connection refused and other errors. You should already have been checking the http response code, but now some things that were exceptions are now codes, so it is even more important to check this properly.
Prehistory:
8.0 Released: June 2020
7.0 and 6.0 Released: March 2020 (these were changes to the terminal.d virtual methods, tag 6.0 was a mistake, i pressed it too early)
5.0 Released: January 2019
4.0 and 3.0 Released: July 2019 and June 2019, respectively. These had to do with dub subpackage configuration changes IIRC.
2.0 Released (first use of semver tagging, before this I would only push to master): March 2018
April 2016: simpledisplay and terminal renamed to arsd.simpledisplay and arsd.terminal
September 2015: simpledisplay started to depend on color.d instead of being standalone
Joined dub (tagged 1.0): June 2015
Joined github: July 2011
Started project on my website: 2008
Credits
Thanks go to Nick Sabalausky, Trass3r, Stanislav Blinov, ketmar, maartenvd, and many others over the years for input and patches.
Several of the modules are also ports of other C code, see the comments in those files for their original authors.
Conventions
Many http-based functions in the lib also support unix sockets as an alternative to tcp.
With cgi.d, use
--host unix:/path/here
or, on Linux:
--host abstract:/path/here
after compiling with -version=embedded_httpd_thread
to serve http on the given socket. (abstract:
does a unix socket in the Linux-specific abstract namespace).
With http2.d, use
Uri("http://whatever_host/path?args").viaUnixSocket("/path/here")
any time you are constructing a client. Note that navigateTo
may lose the unix socket unless you specify it again.