serenity/Userland/Applications/SoundPlayer
Lucas CHOLLET 1a97382305 LibGUI: Make Application's construction fallible
The pattern to construct `Application` was to use the `try_create`
method from the `C_OBJECT` macro. While being safe from an OOM
perspective, this method doesn't propagate errors from the constructor.
This patch make `Application` use the `C_OBJECT_ABSTRACT` and manually
define a `create` method that can bubble up errors from the
construction stage.

This commit also removes the ability to use `argc` and `argv` to
create an `Application`, only `Main`'s `Arguments` can be used.

From a user point of view, the patch renames `try_create` => `create`,
hence the huge number of modified files.
2023-05-05 16:41:21 +01:00
..
AlbumCoverVisualizationWidget.cpp Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
AlbumCoverVisualizationWidget.h SoundPlayer: Load cover image from music files 2022-11-13 18:51:18 -07:00
BarsVisualizationWidget.cpp SoundPlayer: Fix logic bug in bars visualization 2023-02-09 19:41:54 +01:00
BarsVisualizationWidget.h LibAudio+LibDSP: Switch samples to 32-bit float instead of 64-bit float 2022-05-07 20:20:16 +02:00
CMakeLists.txt Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
M3UParser.cpp LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
M3UParser.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
main.cpp LibGUI: Make Application's construction fallible 2023-05-05 16:41:21 +01:00
PlaybackManager.cpp SoundPlayer: Clear client buffer when playback is stopped 2023-05-03 10:01:14 +02:00
PlaybackManager.h SoundPlayer: Don't offset the seek bar with the last seek value 2023-01-19 11:42:32 +01:00
Player.cpp SoundPlayer: Fix glitchy visualization on pause/stop 2023-05-02 09:15:20 +02:00
Player.h SoundPlayer: Display title and artist in the window title if available 2023-03-13 12:35:17 -04:00
Playlist.cpp Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Playlist.h SoundPlayer: Implement playlist shuffle mode 2021-10-25 23:37:18 +02:00
PlaylistWidget.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PlaylistWidget.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
SampleWidget.cpp Userland: Remove unused includes of AK/Math.h 2023-01-02 20:27:20 -05:00
SampleWidget.h LibAudio+LibDSP: Switch samples to 32-bit float instead of 64-bit float 2022-05-07 20:20:16 +02:00
SoundPlayerWidgetAdvancedView.cpp SoundPlayer: Fix glitchy visualization on pause/stop 2023-05-02 09:15:20 +02:00
SoundPlayerWidgetAdvancedView.h SoundPlayer: Move get_image_from_music_file to the advanced view 2023-03-19 18:57:30 +00:00
VisualizationWidget.h SoundPlayer: Introduce buffer_reset api to VisualizationWidget 2023-05-02 09:15:20 +02:00