]> source.dussan.org Git - tigervnc.git/commit
Use nullptr in all C++ code
authorPierre Ossman <ossman@cendio.se>
Tue, 2 Apr 2024 14:13:23 +0000 (16:13 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 24 Jun 2024 11:42:54 +0000 (13:42 +0200)
commit139f0e8a4b81fe3dcd9476ec5ee16ea5e74af901
tree8d06ede9e14516516a44c5ed710058003088eec2
parent45198e5235f4b724277665b242cf855a0ff4518b
Use nullptr in all C++ code

It's more readable than 0, and a bit safer than NULL, so let's try to
follow modern norms.
185 files changed:
common/network/Socket.cxx
common/network/TcpSocket.cxx
common/os/Mutex.cxx
common/os/Thread.cxx
common/os/os.cxx
common/rdr/BufferedInStream.cxx
common/rdr/BufferedOutStream.cxx
common/rdr/Exception.cxx
common/rdr/Exception.h
common/rdr/FdInStream.cxx
common/rdr/FdOutStream.cxx
common/rdr/FileInStream.cxx
common/rdr/InStream.h
common/rdr/OutStream.h
common/rdr/RandomStream.cxx
common/rdr/TLSInStream.cxx
common/rdr/TLSOutStream.cxx
common/rdr/ZlibInStream.cxx
common/rdr/ZlibOutStream.cxx
common/rdr/ZlibOutStream.h
common/rfb/Blacklist.cxx
common/rfb/CConnection.cxx
common/rfb/CMsgReader.cxx
common/rfb/CMsgWriter.cxx
common/rfb/CSecurityRSAAES.cxx
common/rfb/CSecurityStack.h
common/rfb/CSecurityTLS.cxx
common/rfb/CSecurityVeNCrypt.cxx
common/rfb/CSecurityVncAuth.cxx
common/rfb/ClientParams.cxx
common/rfb/Configuration.cxx
common/rfb/Configuration.h
common/rfb/Congestion.cxx
common/rfb/DecodeManager.cxx
common/rfb/Decoder.cxx
common/rfb/EncodeManager.cxx
common/rfb/H264Decoder.cxx
common/rfb/H264LibavDecoderContext.cxx
common/rfb/H264WinDecoderContext.cxx
common/rfb/H264WinDecoderContext.h
common/rfb/HextileEncoder.cxx
common/rfb/Hostname.h
common/rfb/JpegCompressor.cxx
common/rfb/JpegDecompressor.cxx
common/rfb/LogWriter.cxx
common/rfb/Logger.cxx
common/rfb/Logger_file.cxx
common/rfb/Logger_syslog.cxx
common/rfb/Palette.h
common/rfb/PixelBuffer.cxx
common/rfb/SConnection.cxx
common/rfb/SConnection.h
common/rfb/SDesktop.h
common/rfb/SMsgReader.cxx
common/rfb/SMsgWriter.cxx
common/rfb/SSecurityNone.h
common/rfb/SSecurityPlain.cxx
common/rfb/SSecurityRSAAES.cxx
common/rfb/SSecurityStack.cxx
common/rfb/SSecurityStack.h
common/rfb/SSecurityTLS.cxx
common/rfb/SSecurityTLS.h
common/rfb/SSecurityVeNCrypt.cxx
common/rfb/SSecurityVncAuth.cxx
common/rfb/SSecurityVncAuth.h
common/rfb/SecurityClient.cxx
common/rfb/ServerParams.cxx
common/rfb/TightDecoder.cxx
common/rfb/TightEncoder.cxx
common/rfb/Timer.cxx
common/rfb/UpdateTracker.h
common/rfb/VNCSConnectionST.cxx
common/rfb/VNCServer.h
common/rfb/VNCServerST.cxx
common/rfb/VNCServerST.h
common/rfb/ZRLEDecoder.cxx
common/rfb/ZRLEEncoder.cxx
common/rfb/obfuscate.cxx
common/rfb/util.cxx
tests/perf/decperf.cxx
tests/perf/encperf.cxx
tests/perf/fbperf.cxx
tests/perf/util.cxx
tests/unit/unicode.cxx
unix/tx/TXButton.h
unix/tx/TXCheckbox.h
unix/tx/TXDialog.h
unix/tx/TXLabel.h
unix/tx/TXWindow.cxx
unix/tx/TXWindow.h
unix/vncconfig/vncconfig.cxx
unix/vncpasswd/vncpasswd.cxx
unix/x0vncserver/Geometry.cxx
unix/x0vncserver/Image.cxx
unix/x0vncserver/Image.h
unix/x0vncserver/XDesktop.cxx
unix/x0vncserver/XPixelBuffer.cxx
unix/x0vncserver/x0vncserver.cxx
unix/xserver/hw/vnc/RFBGlue.cc
unix/xserver/hw/vnc/XserverDesktop.cc
unix/xserver/hw/vnc/vncExtInit.cc
vncviewer/BaseTouchHandler.cxx
vncviewer/CConn.cxx
vncviewer/DesktopWindow.cxx
vncviewer/GestureHandler.cxx
vncviewer/MonitorIndicesParameter.cxx
vncviewer/OptionsDialog.cxx
vncviewer/OptionsDialog.h
vncviewer/PlatformPixelBuffer.cxx
vncviewer/ServerDialog.cxx
vncviewer/Surface_OSX.cxx
vncviewer/Surface_Win32.cxx
vncviewer/Surface_X11.cxx
vncviewer/UserDialog.cxx
vncviewer/Viewport.cxx
vncviewer/Win32TouchHandler.cxx
vncviewer/XInputTouchHandler.cxx
vncviewer/cocoa.mm
vncviewer/fltk/Fl_Monitor_Arrangement.cxx
vncviewer/fltk/Fl_Navigation.cxx
vncviewer/fltk/theme.cxx
vncviewer/fltk/util.h
vncviewer/gettext.h
vncviewer/parameters.cxx
vncviewer/parameters.h
vncviewer/touch.cxx
vncviewer/vncviewer.cxx
win/rfb_win32/AboutDialog.cxx
win/rfb_win32/CleanDesktop.cxx
win/rfb_win32/Clipboard.cxx
win/rfb_win32/DIBSectionBuffer.cxx
win/rfb_win32/DeviceContext.cxx
win/rfb_win32/DeviceContext.h
win/rfb_win32/DeviceFrameBuffer.cxx
win/rfb_win32/Dialog.cxx
win/rfb_win32/Dialog.h
win/rfb_win32/Handle.h
win/rfb_win32/IntervalTimer.h
win/rfb_win32/LaunchProcess.cxx
win/rfb_win32/LocalMem.h
win/rfb_win32/ModuleFileName.h
win/rfb_win32/MonitorInfo.cxx
win/rfb_win32/MsgBox.h
win/rfb_win32/MsgWindow.cxx
win/rfb_win32/RegConfig.cxx
win/rfb_win32/Registry.cxx
win/rfb_win32/Registry.h
win/rfb_win32/SDisplay.cxx
win/rfb_win32/Security.cxx
win/rfb_win32/Security.h
win/rfb_win32/SecurityPage.cxx
win/rfb_win32/Service.cxx
win/rfb_win32/SocketManager.cxx
win/rfb_win32/SocketManager.h
win/rfb_win32/TrayIcon.h
win/rfb_win32/WMCursor.cxx
win/rfb_win32/WMCursor.h
win/rfb_win32/WMHooks.cxx
win/rfb_win32/WMNotifier.cxx
win/rfb_win32/WMPoller.h
win/rfb_win32/WMWindowCopyRect.cxx
win/rfb_win32/Win32Util.cxx
win/rfb_win32/Win32Util.h
win/vncconfig/Authentication.h
win/vncconfig/Connections.h
win/vncconfig/Desktop.h
win/vncconfig/Hooking.h
win/vncconfig/Inputs.h
win/vncconfig/Legacy.cxx
win/vncconfig/Legacy.h
win/vncconfig/PasswordDialog.cxx
win/vncconfig/PasswordDialog.h
win/vncconfig/Sharing.h
win/vncconfig/vncconfig.cxx
win/winvnc/AddNewClientDialog.h
win/winvnc/ControlPanel.cxx
win/winvnc/ControlPanel.h
win/winvnc/ManagedListener.cxx
win/winvnc/QueryConnectDialog.cxx
win/winvnc/STrayIcon.cxx
win/winvnc/VNCServerService.cxx
win/winvnc/VNCServerWin32.cxx
win/winvnc/VNCServerWin32.h
win/winvnc/winvnc.cxx
win/wm_hooks/wm_hooks.cxx