Releases
v1.0.0
[1.0.0] - 2024-01-17
Bug Fixes
Prevent a potential panic when creating the window title. (1da941f7 )
Perform the scaling calculations with a much smaller starting size to avoid wrapping that throws them off. (c9504756 )
Center tall columns of text in the middle of the screen, instead of aligning them to the left. (8ed50c44 )
Use nearest-neighbour filtering when the image had to be scaled up over 4x. Otherwise, use anisotropic 16x filtering to sample the image. (b171192e )
Accommodate floating-point imprecision in the horizontal text bounds, preventing unexpected text wrapping. (7407bea6 )
Fix a bug with image rendering where window resizes caused the scaling to be thrown off. (968b9be3 )
Re-order the rect vertices in the rendering process. (42a71e8c )
Convert sRGB colour values to linear RGB before using them for rendering. (1bc5e382 )
Remove PragmataPro Mono Liga
from the example presentation. (493241c6 )
Fix a mistake in build.rs
. (77a27302 )
Set windows_subsystem
so that the program doesn't open a terminal window when run on Windows. (fe9eda87 )
Documentation
Features
Read the file path from the command line. (dfa1429f )
Implement the base for opening a window and displaying content. (494d6ab9 )
Implement text scaling to fit the usable space. (a4fa3f5d )
Display text slides and include controls to switch between them. (979aae3a )
Set default colours. (e3004e45 )
Set up the other keybindings that sent
supports for navigating through the presentation. (0789604a )
Use the contents of the first slide as the window title. (84971942 )
Load and cache the slide images in memory on startup. (d22564f0 )
Implement the base for rendering textures. More work is still required. (eee08841 )
Scale and display images properly. (c5b2f85a )
Load fonts from the system by name. (804bd030 )
Load fonts from the system using a list of names, and taking the first one that is found. (60b1ab2c )
Allow the user to set the fonts and foreground & background colours in the presentation file. (f9e74ec0 )
Extend the default font list to theoretically cover all supported platforms. (b3d31e07 )
Open the presentation in borderless fullscreen. (be1f25d3 )
Redraw the window when it regains focus. (9648b21b )
Hide the mouse cursor in the presentation window. (4e1df650 )
Miscellaneous Tasks
Update the copyright year in LICENSE-MIT
. (d3c646ce )
Add cargo
as a required component in rust-toolchain.toml
. (b0e609c2 )
Add the runtime dependencies required for display to flake.nix
. (c4c05326 )
Update dependencies. (d66bc682 )
Add a logo. (7bf139a5 )
Set up executable packaging for Windows so that the executable has its icon set to the new logo. (815a4326 )
Add additional Windows resource properties to Cargo.toml
. (a0f6aab6 )
Set the Windows resource property FileDescription
to the application name, since Windows uses it as such in the Task Manager. (41a9b368 )
Update cliff.toml
to use a regular expression for tag_pattern
. (e4869beb )
Update cliff.toml
to only use the first line of each commit message. (88365dcb )
Performance
Only render when a redraw is requested. (a1c701bd )
Refactor
Apply several Clippy lints. (4a545abb )
Move PipelineOption
into its own module. (61150092 )
Move scaling factor calculations into a new function, calculate_scaling_factor
. (d49f3471 )
Move image loading into its own function, load_images_from_presentation
. (761e4f03 )
Move all rendering functionality into its own module, renderer
. (2d81c730 )
Clean up renderer
. (0fe4f882 )
Move main
up in main.rs
. (49873c3f )
Rename sent.rs
to presentation.rs
. (12ea5af4 )
Remove an unnecessary use
statement. (f30ca37d )
Apply Clippy lints. (8d8c5aef )
Apply Clippy lints. (c45f4aae )
Apply Clippy lints. (04fc22a9 )
You can’t perform that action at this time.