diff --git a/dub.json b/dub.json index 812dd0f..ee4cd32 100644 --- a/dub.json +++ b/dub.json @@ -114,7 +114,17 @@ }, "sourceFiles": ["png.d"] }, - + { + "name": "bmp", + "description": "BMP file format support", + "importPaths": ["."], + "targetType": "library", + "dflags": ["-mv=arsd.bmp=bmp.d"], + "dependencies": { + "arsd-official:color_base":"*" + }, + "sourceFiles": ["bmp.d"] + }, { "name": "htmltotext", "description": "HTML to plain text conversion", @@ -298,6 +308,25 @@ "sourceFiles": ["database.d"], "importPaths": ["."], "dflags": ["-mv=arsd.database=database.d"] + }, + { + "name": "libssh2_bindings", + "description": "My bindings to libssh2", + "targetType": "library", + "sourceFiles": ["libssh2.d"], + "importPaths": ["."], + "libs": ["ssh2"], + "dflags": ["-mv=arsd.libssh2=libssh2.d"] + }, + { + "name": "eventloop", + "description": "My DEPRECATED event loop. Do NOT use in new programs, only offered here because I use it in a lot of old programs.", + "targetType": "sourceLibrary", + "versions": ["with_eventloop"], + "sourceFiles": ["eventloop.d"], + "importPaths": ["."], + "dflags": ["-mv=arsd.eventloop=eventloop.d"] } + ] } diff --git a/simpledisplay.d b/simpledisplay.d index 0bf4c04..da35ae9 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -4203,7 +4203,7 @@ class Timer { } version(Windows) -/// Lets you add HANDLEs to the event loop. Not meant to be used for async I/O per se, but for other handles (it can only handle a few handles at a time.) +/// Lets you add HANDLEs to the event loop. Not meant to be used for async I/O per se, but for other handles (it can only handle a few handles at a time.) Only works on certain types of handles! see: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-msgwaitformultipleobjectsex class WindowsHandleReader { /// this(void delegate() onReady, HANDLE handle) {