1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 10:05:07 +00:00
serenity/DevTools/HackStudio
Lenny Maiorani e6f907a155 AK: Simplify constructors and conversions from nullptr_t
Problem:
- Many constructors are defined as `{}` rather than using the ` =
  default` compiler-provided constructor.
- Some types provide an implicit conversion operator from `nullptr_t`
  instead of requiring the caller to default construct. This violates
  the C++ Core Guidelines suggestion to declare single-argument
  constructors explicit
  (https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c46-by-default-declare-single-argument-constructors-explicit).

Solution:
- Change default constructors to use the compiler-provided default
  constructor.
- Remove implicit conversion operators from `nullptr_t` and change
  usage to enforce type consistency without conversion.
2021-01-12 09:11:45 +01:00
..
Debugger Vector: Implement find, find_if, find_first_matching in terms of AK::find* 2021-01-11 19:45:05 +01:00
Git LibGFX: Move default_xxx_font() methods from Font to FontDatabase 2020-12-30 20:40:30 +01:00
LanguageClients HackStudio: Send an open file to language servers 2020-11-23 18:37:40 +01:00
LanguageServers LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
AutoCompleteResponse.h LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
CMakeLists.txt LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
CodeDocument.cpp LibGUI+TextEditor+HackStudio: Add GML syntax highlighter :^) 2020-12-21 18:26:18 +01:00
CodeDocument.h HackStudio: Don't take LexicalPath as argument 2020-12-15 11:58:47 +01:00
CursorTool.cpp HackStudio: Use new format functions. 2020-10-09 20:52:17 +02:00
CursorTool.h HackStudio: Move everything into the HackStudio namespace 2020-08-17 18:05:35 +02:00
Editor.cpp AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
Editor.h LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
EditorWrapper.cpp LibGFX: Move default_xxx_font() methods from Font to FontDatabase 2020-12-30 20:40:30 +01:00
EditorWrapper.h AK+LibGUI+LibWeb: Remove AK::TypeTraits in favor of RTTI-based helpers 2021-01-01 15:33:30 +01:00
FindInFilesWidget.cpp LibGFX: Move default_xxx_font() methods from Font to FontDatabase 2020-12-30 20:40:30 +01:00
FindInFilesWidget.h Meta+DevTools: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
FormEditorWidget.cpp LibGUI: Remove Widget's unused m_{foreground,background}_color 2021-01-02 23:31:22 +01:00
FormEditorWidget.h HackStudio: Move everything into the HackStudio namespace 2020-08-17 18:05:35 +02:00
FormWidget.cpp LibGUI: Add Widget focus policies 2020-10-30 17:03:28 +01:00
FormWidget.h LibGUI: Add Widget focus policies 2020-10-30 17:03:28 +01:00
HackStudio.h HackStudio: Abstract away language-server details 2020-10-02 20:47:57 +02:00
HackStudioWidget.cpp HackStudio: Make debugger support shared libraries 2021-01-09 10:55:46 +01:00
HackStudioWidget.h HackStudio: Rethink the "project" concept to be about a directory 2020-12-10 20:42:11 +01:00
Language.h LibGUI+TextEditor+HackStudio: Add GML syntax highlighter :^) 2020-12-21 18:26:18 +01:00
LanguageClient.cpp LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
LanguageClient.h LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
Locator.cpp LibGUI: Rewrite layout system in terms of min and max sizes 2020-12-30 01:36:41 +01:00
Locator.h HackStudio: Move everything into the HackStudio namespace 2020-08-17 18:05:35 +02:00
main.cpp Kernel: Add dedicated "ptrace" pledge promise 2021-01-11 22:32:59 +01:00
Project.cpp AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
Project.h HackStudio: Rethink the "project" concept to be about a directory 2020-12-10 20:42:11 +01:00
ProjectFile.cpp HackStudio: Don't take LexicalPath as argument 2020-12-15 11:58:47 +01:00
ProjectFile.h TextEditor: Add button to match regular expression during search 2020-11-27 21:32:41 +01:00
TerminalWrapper.cpp Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
TerminalWrapper.h HackStudio: Scroll embedded terminals to bottom upon command execution 2020-11-10 11:55:18 +01:00
Tool.h Meta: Force semi-colon after MAKE_AK_NONXXXABLE() 2020-08-27 10:12:04 +02:00
WidgetTool.cpp Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
WidgetTool.h HackStudio: Move everything into the HackStudio namespace 2020-08-17 18:05:35 +02:00
WidgetTreeModel.cpp HackStudio: Use new format functions. 2020-10-09 20:52:17 +02:00
WidgetTreeModel.h HackStudio: Move everything into the HackStudio namespace 2020-08-17 18:05:35 +02:00