1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00
serenity/Userland/Applications
creator1creeper1 19d9d5bfe1 Everywhere: Mark Vector of mutable references as mutable
The point of a reference type is to behave just like the referred-to
type. So, a Foo& should behave just like a Foo.

In these cases, we had a const Vector. If it was a const Vector of Foo,
iterating over the Vector would only permit taking const references to
the individual Foos.

However, we had a const Vector of Foo&. The behavior should not
change. We should still only be permitted to take const references to
the individual Foos. Otherwise, we would be allowed to mutate the
individual Foos, which would mutate the elements of the const Vector.
This wouldn't modify the stored pointers, but it would modify the
objects that the references refer to. Since references should be
transparent, this should not be legal.

So it should be impossible to get mutable references into a const
Vector. Since we need mutable references in these cases to call the
mutating member functions, we need to mark the Vector as mutable as
well.
2022-01-16 00:38:21 +03:30
..
3DFileViewer 3DFileViewer: Replace lambertian lighting with GL Lighting 2022-01-12 13:36:56 +01:00
About About: Port to LibMain 2021-12-17 13:09:54 -08:00
AnalogClock AnalogClock: Port to LibMain 2021-12-17 13:09:54 -08:00
Assistant Assistant: Fix crash in FileProvider background thread upon exit 2022-01-15 21:45:03 +01:00
Browser Base+Userland: Add various icons 2022-01-12 10:55:20 +01:00
BrowserSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
Calculator Calculator: Propagate errors using try_set_main_widget in main 2022-01-09 00:56:11 +01:00
Calendar Calendar: Port to LibMain and TRY all the things 2022-01-04 20:46:17 +02:00
CrashReporter CrashReporter: Move progressbar into main window 2022-01-03 16:19:47 +01:00
Debugger Everywhere: Fix spelling mistakes 2022-01-07 15:44:42 +01:00
DisplaySettings DisplaySettings: Add 1440p ultrawide resolution 2022-01-02 13:27:02 +01:00
FileManager Base+Userland: Add various icons 2022-01-12 10:55:20 +01:00
FontEditor FontEditor: Add Klingon phrase to Preview Font 2022-01-12 22:54:59 +01:00
Help Help+Base: Add help://man URLs for links between man pages 2022-01-11 00:24:57 +01:00
HexEditor HexEditor: Port HexEditor to LibMain 2022-01-01 14:47:15 +01:00
ImageViewer LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
KeyboardMapper LibCore+Userland+Tests: Convert Stream APIs to construct on heap 2022-01-13 15:16:12 +03:30
KeyboardSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
Magnifier Magnifier: Add colorblind preview options 2021-12-28 23:59:56 +01:00
Mail LibIMAP+Userland: Convert LibIMAP::Client to the Serenity Stream APIs 2022-01-13 15:16:12 +03:30
MailSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
MouseSettings LibGUI+Userland: Make SortingProxyModel::create() return ErrorOr 2021-12-24 05:11:52 -08:00
PDFViewer PDFViewer: Propagate errors using try_set_main_widget in main 2022-01-09 00:56:11 +01:00
Piano LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
PixelPaint PixelPaint: Restrict "crop to selection" to image boundaries 2022-01-15 21:55:41 +01:00
Run Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
Settings Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
SoundPlayer Userland: Resolve -Woverloaded-virtual in LibGUI and SoundPlayer 2022-01-04 07:51:31 +00:00
SpaceAnalyzer Everywhere: Fix -Winconsistent-missing-override warnings from Clang 2021-12-11 13:14:15 -08:00
Spreadsheet Everywhere: Mark Vector of mutable references as mutable 2022-01-16 00:38:21 +03:30
SystemMonitor Everywhere: Mark Vector of mutable references as mutable 2022-01-16 00:38:21 +03:30
Terminal Terminal: Add config listeners for controlling scrollbar visibility 2022-01-15 11:03:23 +01:00
TerminalSettings TerminalSettings: Expose a CheckBox controlling scrollbar visibility 2022-01-15 11:03:23 +01:00
TextEditor TextEditor: Propagate errors using try_set_main_widget in main 2022-01-09 00:56:11 +01:00
ThemeEditor ThemeEditor: Add "alignment" support 2022-01-01 22:51:53 +01:00
VideoPlayer VideoPlayer: Propagate errors using try_set_main_widget in main 2022-01-09 00:56:11 +01:00
Welcome Welcome: Propagate errors using try_set_main_widget in main 2022-01-09 00:56:11 +01:00
CMakeLists.txt Terminal: Modernize terminal settings as a standalone application 2021-11-27 12:45:44 +01:00