mpv/options
Kacper Michajłow 8708f4dc91 m_property: add `>` for fixed precision floating-point expansion
This enhancement makes it easier to create constant width property
expansions, useful for the `--term-status-msg`. Additionally, it changes
to `%f` printing with manual zero trimming, which is easier to control
than `%g`. With this method, we can directly specify precision, not just
significant numbers. This approach also avoids overly high precision for
values less than 1, which is not necessary for a generic floating-point
print function.

A new print helper function is added, which can be used with adjusted
precision for specific cases where a different default is needed. This
also unifies the code slightly.
2024-03-21 03:50:11 +01:00
..
m_config.h options/m_config: fix no newline at end of file 2024-03-19 08:58:18 +01:00
m_config_core.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
m_config_core.h
m_config_frontend.c m_property: add `>` for fixed precision floating-point expansion 2024-03-21 03:50:11 +01:00
m_config_frontend.h various: sort some standard headers 2023-10-20 21:31:09 +02:00
m_option.c m_property: add `>` for fixed precision floating-point expansion 2024-03-21 03:50:11 +01:00
m_option.h m_property: add `>` for fixed precision floating-point expansion 2024-03-21 03:50:11 +01:00
m_property.c m_property: add `>` for fixed precision floating-point expansion 2024-03-21 03:50:11 +01:00
m_property.h m_property: add `>` for fixed precision floating-point expansion 2024-03-21 03:50:11 +01:00
options.c options: remove trailing whitespaces 2024-03-10 14:53:07 +01:00
options.h options: remove --focus-on-open and add --focus-on 2024-03-10 14:53:07 +01:00
parse_commandline.c player: change insert_next to insert_at 2024-02-26 02:03:21 +00:00
parse_commandline.h
parse_configfile.c
parse_configfile.h
path.c path: don't load any files if --no-config is passed 2024-03-11 21:29:46 +01:00
path.h options/path: move path utility functions to misc/path_utils 2024-02-23 21:35:57 +01:00