Jack Deeth

Results 10 issues of Jack Deeth

A feature I used a lot in my C++ days was to register new datarefs that basically acted as a filter on some other sources of data: ```cpp class FilteredBus...

I write a lot of SQL queries for SAP BusinessObjects reports. These have a `@Prompt` expression which allows the statement to take input from the user when it is run....

The plugins I write are often to enhance an existing aircraft and work that aircraft's custom datarefs. As such they're not guaranteed to be loaded as my plugin might be...

Under New Connection for mssql (SQL Server) connections, could the port default to 1433? The field could either be populated with 1433, or a blank value could be interpreted as...

Would it be possible to add a connection string option for specifying a database connection, for SQL Server (mssql) connections as a starting point? An example connection string, which in...

How'd I escape a C-style comment e.g. `/* hi */`? ``` : "/* hi */" # outputs nothing : "/ * hi */" # outputs "/ * hi*/" ``` I...

This provides four new functions: ```rust system_path() prefs_path() plugin_path() aircraft_path() ``` They return [`PathBuf`](https://doc.rust-lang.org/std/path/struct.PathBuf.html) objects, which the user will presumably find straightforward to navigate from to get, e.g., the aircraft...

There are 30 Clippy warnings, 21 of which can be automatically fixed. This PR suppresses three of them and resolves the others.

Currently there's no wrapper for `XPLMGetSystemPath` https://developer.x-plane.com/sdk/XPLMGetSystemPath/ https://docs.rs/xplm-sys/latest/xplm_sys/fn.XPLMGetSystemPath.html I'm a bit unsure how to use this function safely in Rust given it's a string pointer outparam!