1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-17 09:21:01 +00:00
serenity/Applications/Browser
Andreas Kling ca93c22ae2 LibGUI: Turn GUI::Application::the() into a pointer
During app teardown, the Application object may be destroyed before
something else, and so having Application::the() return a reference was
obscuring the truth about its lifetime.

This patch makes the API more honest by returning a pointer. While
this makes call sites look a bit more sketchy, do note that the global
Application pointer only becomes null during app teardown.
2020-07-04 16:54:55 +02:00
..
BookmarksBarWidget.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
BookmarksBarWidget.h Browser: Pop up a context menu when requested on a bookmark button 2020-05-22 18:23:02 +02:00
BrowserConsoleClient.cpp LibJS: Move Interpreter::get_trace() to ConsoleClient 2020-06-02 15:22:34 +02:00
BrowserConsoleClient.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
CMakeLists.txt Browser: Add option in DownloadWidget to open download's in folder 2020-05-26 21:09:45 +02:00
ConsoleWidget.cpp LibJS: Make more Interpreter functions take a GlobalObject& 2020-06-08 21:25:16 +02:00
ConsoleWidget.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
DownloadWidget.cpp DownloadWidget: Use GUI::Image instead of Label to show image 2020-06-18 16:35:57 +02:00
DownloadWidget.h LibProtocol: Pass response headers in a case insensitive HashMap 2020-05-10 22:32:12 +02:00
History.h AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
InspectorWidget.cpp Browser: Don't crash when inspecting an anonymous LayoutNode 2020-07-03 21:34:12 +02:00
InspectorWidget.h LibWeb+Browser: Add a barebones LayoutTreeModel to the inspector window 2020-06-12 22:30:11 +02:00
main.cpp LibGUI: Make GUI::Application a Core::Object 2020-07-04 14:05:57 +02:00
Tab.cpp LibGUI: Turn GUI::Application::the() into a pointer 2020-07-04 16:54:55 +02:00
Tab.h Browser: Add right-click context menu to tabs 2020-06-28 00:05:08 +02:00
WindowActions.cpp Browser: Add missing copyright header to WindowActions.{cpp,h} 2020-05-09 23:45:16 +02:00
WindowActions.h Browser: Add missing copyright header to WindowActions.{cpp,h} 2020-05-09 23:45:16 +02:00