From 3769e3a829f4514f82ce7f7d218867f1d69d3d38 Mon Sep 17 00:00:00 2001 From: Takenobu Tani <takenobu.hs@gmail.com> Date: Thu, 21 Mar 2019 16:06:39 +0900 Subject: [PATCH] Update Wiki URLs to point to GitLab This moves all URL references to Trac Wiki to their corresponding GitLab counterparts. This substitution is classified as follows: 1. Automated substitution using sed with Ben's mapping rule [1] Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy... New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy... 2. Manual substitution for URLs containing `#` index Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy...#Zzz New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy...#zzz 3. Manual substitution for strings starting with `Commentary` Old: Commentary/XxxYyy... New: commentary/xxx-yyy... See also !539 [1]: https://gitlab.haskell.org/bgamari/gitlab-migration/blob/master/wiki-mapping.json --- .circleci/config.yml | 2 +- .../merge_request_templates/merge-request.md | 4 ++-- .mailmap | 4 ++-- ANNOUNCE | 4 ++-- HACKING.md | 18 +++++++++--------- INSTALL.md | 2 +- MAKEHELP.md | 6 +++--- Makefile | 4 ++-- README.md | 18 +++++++++--------- aclocal.m4 | 4 ++-- bindisttest/Makefile | 4 ++-- bindisttest/ghc.mk | 4 ++-- boot | 6 +++--- compiler/Makefile | 4 ++-- compiler/basicTypes/MkId.hs | 2 +- compiler/basicTypes/Module.hs | 2 +- compiler/basicTypes/RdrName.hs | 2 +- compiler/basicTypes/Unique.hs | 4 ++-- compiler/cmm/CLabel.hs | 2 +- compiler/cmm/PprC.hs | 4 ++-- compiler/cmm/cmm-notes | 4 ++-- compiler/codeGen/StgCmmTicky.hs | 2 +- compiler/coreSyn/CoreLint.hs | 2 +- compiler/deSugar/Check.hs | 2 +- compiler/deSugar/DsBinds.hs | 4 ++-- compiler/ghc.mk | 4 ++-- compiler/ghci/GHCi.hs | 4 ++-- compiler/hsSyn/HsDecls.hs | 2 +- compiler/hsSyn/HsExtension.hs | 2 +- compiler/iface/IfaceSyn.hs | 2 +- compiler/iface/MkIface.hs | 4 ++-- compiler/iface/TcIface.hs | 2 +- compiler/main/DynFlags.hs | 4 ++-- compiler/main/HscTypes.hs | 2 +- compiler/main/Plugins.hs | 2 +- compiler/main/TidyPgm.hs | 4 ++-- compiler/nativeGen/BlockLayout.hs | 2 +- compiler/nativeGen/X86/Ppr.hs | 2 +- compiler/parser/ApiAnnotation.hs | 4 ++-- compiler/parser/Lexer.x | 2 +- compiler/parser/Parser.y | 4 ++-- compiler/prelude/primops.txt.pp | 4 ++-- compiler/rename/RnNames.hs | 2 +- compiler/rename/RnSplice.hs | 2 +- compiler/simplStg/StgLiftLams.hs | 2 +- compiler/simplStg/StgLiftLams/Analysis.hs | 4 ++-- compiler/stgSyn/CoreToStg.hs | 2 +- compiler/typecheck/TcCanonical.hs | 2 +- compiler/typecheck/TcDeriv.hs | 4 ++-- compiler/typecheck/TcEvidence.hs | 2 +- compiler/typecheck/TcGenFunctor.hs | 2 +- compiler/typecheck/TcGenGenerics.hs | 2 +- compiler/typecheck/TcMType.hs | 4 ++-- compiler/typecheck/TcRnDriver.hs | 2 +- compiler/typecheck/TcRnTypes.hs | 2 +- compiler/typecheck/TcTypeNats.hs | 2 +- compiler/types/TyCoRep.hs | 2 +- compiler/utils/Fingerprint.hsc | 2 +- configure.ac | 2 +- distrib/remilestoning.pl | 2 +- docs/core-spec/core-spec.mng | 4 ++-- driver/Makefile | 4 ++-- driver/ghc.mk | 4 ++-- driver/ghc/ghc.mk | 4 ++-- driver/ghci/Makefile | 4 ++-- driver/ghci/ghc.mk | 4 ++-- driver/haddock/ghc.mk | 4 ++-- ghc.mk | 18 +++++++++--------- ghc/Makefile | 4 ++-- ghc/ghc.mk | 4 ++-- hadrian/README.md | 6 +++--- hadrian/doc/windows.md | 2 +- hadrian/src/Oracles/Setting.hs | 2 +- hadrian/src/Settings/Packages.hs | 2 +- includes/Cmm.h | 2 +- includes/MachDeps.h | 2 +- includes/Makefile | 4 ++-- includes/Rts.h | 2 +- includes/RtsAPI.h | 2 +- includes/Stg.h | 2 +- includes/ghc.mk | 4 ++-- includes/rts/Adjustor.h | 2 +- includes/rts/BlockSignals.h | 2 +- includes/rts/Config.h | 2 +- includes/rts/Constants.h | 2 +- includes/rts/EventLogWriter.h | 2 +- includes/rts/FileLock.h | 2 +- includes/rts/Flags.h | 2 +- includes/rts/GetTime.h | 2 +- includes/rts/Globals.h | 2 +- includes/rts/Hpc.h | 2 +- includes/rts/IOManager.h | 2 +- includes/rts/Linker.h | 2 +- includes/rts/Messages.h | 2 +- includes/rts/OSThreads.h | 2 +- includes/rts/Parallel.h | 2 +- includes/rts/PrimFloat.h | 2 +- includes/rts/Profiling.h | 2 +- includes/rts/Signals.h | 2 +- includes/rts/SpinLock.h | 2 +- includes/rts/StableName.h | 2 +- includes/rts/StablePtr.h | 2 +- includes/rts/StaticPtrTable.h | 2 +- includes/rts/TTY.h | 2 +- includes/rts/Threads.h | 2 +- includes/rts/Ticky.h | 2 +- includes/rts/Time.h | 2 +- includes/rts/Timer.h | 2 +- includes/rts/Types.h | 2 +- includes/rts/Utils.h | 2 +- includes/rts/prof/CCS.h | 2 +- includes/rts/prof/LDV.h | 2 +- includes/rts/storage/MBlock.h | 2 +- includes/stg/DLL.h | 2 +- includes/stg/HaskellMachRegs.h | 2 +- includes/stg/MachRegs.h | 2 +- includes/stg/MiscClosures.h | 6 +++--- includes/stg/Prim.h | 2 +- includes/stg/Regs.h | 2 +- includes/stg/RtsMachRegs.h | 2 +- includes/stg/SMP.h | 2 +- includes/stg/Ticky.h | 2 +- includes/stg/Types.h | 2 +- libffi/Makefile | 4 ++-- libffi/ghc.mk | 4 ++-- libraries/base/Data/Coerce.hs | 2 +- libraries/base/Data/Typeable.hs | 2 +- libraries/base/GHC/OverloadedLabels.hs | 2 +- libraries/base/GHC/Records.hs | 2 +- libraries/ghc-heap/GHC/Exts/Heap/Closures.hs | 2 +- libraries/integer-gmp/changelog.md | 4 ++-- libraries/integer-gmp/gmp/ghc.mk | 4 ++-- libraries/integer-gmp/src/GHC/Integer.hs | 2 +- .../src/GHC/Integer/GMP/Internals.hs | 2 +- libraries/integer-simple/GHC/Integer/Type.hs | 2 +- libraries/libiserv/Makefile | 4 ++-- .../Language/Haskell/TH/Lib/Internal.hs | 6 +++--- mk/build.mk.sample | 2 +- mk/compiler-ghc.mk | 4 ++-- mk/config.mk.in | 2 +- mk/project.mk.in | 2 +- mk/warnings.mk | 2 +- rts/Capability.h | 2 +- rts/Interpreter.c | 2 +- rts/Libdw.h | 2 +- rts/Makefile | 4 ++-- rts/StaticPtrTable.c | 4 ++-- rts/Task.h | 2 +- rts/Ticky.c | 2 +- rts/ghc.mk | 6 +++--- rts/hooks/Hooks.h | 2 +- rts/sm/CNF.h | 2 +- rts/sm/Compact.c | 2 +- rts/sm/Compact.h | 2 +- rts/sm/Evac.c | 2 +- rts/sm/Evac.h | 2 +- rts/sm/GC.c | 2 +- rts/sm/GC.h | 2 +- rts/sm/GCTDecl.h | 2 +- rts/sm/GCThread.h | 2 +- rts/sm/GCUtils.c | 2 +- rts/sm/GCUtils.h | 2 +- rts/sm/HeapAlloc.h | 2 +- rts/sm/MarkStack.h | 2 +- rts/sm/MarkWeak.c | 2 +- rts/sm/MarkWeak.h | 2 +- rts/sm/Scav.c | 2 +- rts/sm/Scav.h | 2 +- rts/sm/ShouldCompact.h | 2 +- rts/sm/Storage.c | 2 +- rts/sm/Sweep.c | 2 +- rts/sm/Sweep.h | 2 +- rules/add-dependency.mk | 4 ++-- rules/all-target.mk | 4 ++-- rules/bindist.mk | 4 ++-- rules/build-dependencies.mk | 4 ++-- rules/build-package-data.mk | 4 ++-- rules/build-package-way.mk | 4 ++-- rules/build-package.mk | 4 ++-- rules/build-prog.mk | 4 ++-- rules/c-objs.mk | 4 ++-- rules/c-sources.mk | 4 ++-- rules/c-suffix-rules.mk | 4 ++-- rules/clean-target.mk | 4 ++-- rules/cmm-objs.mk | 4 ++-- rules/cmm-suffix-rules.mk | 4 ++-- rules/dependencies.mk | 4 ++-- rules/distdir-opts.mk | 4 ++-- rules/distdir-way-opts.mk | 4 ++-- rules/foreachLibrary.mk | 4 ++-- rules/haddock.mk | 4 ++-- rules/hi-rule.mk | 6 +++--- rules/hs-objs.mk | 4 ++-- rules/hs-sources.mk | 4 ++-- rules/hs-suffix-rules-srcdir.mk | 4 ++-- rules/hs-suffix-way-rules-srcdir.mk | 4 ++-- rules/hs-suffix-way-rules.mk | 4 ++-- rules/include-dependencies.mk | 4 ++-- rules/includes-sources.mk | 4 ++-- rules/library-path.mk | 4 ++-- rules/make-command.mk | 4 ++-- rules/manual-package-config.mk | 4 ++-- rules/package-config.mk | 4 ++-- rules/prof.mk | 4 ++-- rules/sdist-ghc-file.mk | 4 ++-- rules/shell-wrapper.mk | 4 ++-- rules/sphinx.mk | 4 ++-- rules/trace.mk | 4 ++-- rules/way-prelims.mk | 4 ++-- testsuite/README.md | 2 +- testsuite/driver/README.md | 2 +- .../tests/deriving/should_fail/T11509_1.hs | 2 +- .../should_compile/TcCoercibleCompile.hs | 2 +- utils/check-api-annotations/ghc.mk | 4 ++-- utils/check-ppr/ghc.mk | 4 ++-- utils/deriveConstants/Makefile | 4 ++-- utils/deriveConstants/ghc.mk | 4 ++-- utils/gen-dll/Makefile | 4 ++-- utils/gen-dll/ghc.mk | 4 ++-- utils/genapply/Main.hs | 2 +- utils/genapply/Makefile | 4 ++-- utils/genapply/ghc.mk | 4 ++-- utils/genprimopcode/Makefile | 4 ++-- utils/genprimopcode/ghc.mk | 4 ++-- utils/ghc-cabal/Makefile | 4 ++-- utils/ghc-cabal/ghc.mk | 4 ++-- utils/ghc-pkg/Makefile | 4 ++-- utils/ghc-pkg/ghc.mk | 4 ++-- utils/hp2ps/Makefile | 4 ++-- utils/hp2ps/ghc.mk | 4 ++-- utils/hpc/Makefile | 4 ++-- utils/hpc/ghc.mk | 4 ++-- utils/iserv-proxy/Makefile | 4 ++-- utils/iserv-proxy/ghc.mk | 4 ++-- utils/iserv/Makefile | 4 ++-- utils/iserv/ghc.mk | 4 ++-- utils/mkdirhier/Makefile | 4 ++-- utils/mkdirhier/ghc.mk | 4 ++-- utils/remote-iserv/Makefile | 4 ++-- utils/remote-iserv/ghc.mk | 4 ++-- utils/runghc/Makefile | 4 ++-- utils/runghc/ghc.mk | 4 ++-- utils/touchy/Makefile | 4 ++-- utils/touchy/ghc.mk | 4 ++-- utils/unlit/Makefile | 4 ++-- utils/unlit/ghc.mk | 4 ++-- validate | 4 ++-- 247 files changed, 396 insertions(+), 396 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 31b64a1c22e..261116d0880 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,5 @@ # Questions about this file? -# See https://ghc.haskell.org/trac/ghc/wiki/ContinuousIntegration/Usage. +# See https://gitlab.haskell.org/ghc/ghc/wikis/continuous-integration/usage. version: 2 diff --git a/.gitlab/merge_request_templates/merge-request.md b/.gitlab/merge_request_templates/merge-request.md index 7216cb20f8b..4bc74a42283 100644 --- a/.gitlab/merge_request_templates/merge-request.md +++ b/.gitlab/merge_request_templates/merge-request.md @@ -10,10 +10,10 @@ Please take a few moments to verify that your commits fulfill the following: likely should add a [Note][notes] and cross-reference it from the relevant places. * [ ] add a [testcase to the - testsuite](https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Adding). + testsuite](https://gitlab.haskell.org/ghc/ghc/wikis/building/running-tests/adding). If you have any questions don't hesitate to open your merge request and inquire in a comment. If your patch isn't quite done yet please do add prefix your MR title with `WIP:`. -[notes]: https://ghc.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Commentsinthesourcecode +[notes]: https://gitlab.haskell.org/ghc/ghc/wikis/commentary/coding-style#comments-in-the-source-code diff --git a/.mailmap b/.mailmap index a074854452c..3284ebc7341 100644 --- a/.mailmap +++ b/.mailmap @@ -241,7 +241,7 @@ Peter Wortmann <Peter.Wortmann@googlemail.com> <peter@grayson-heigh Peter Wortmann <Peter.Wortmann@googlemail.com> <scpmw@leeds.ac.uk> Peter Wortmann <Peter.Wortmann@googlemail.com> scpmw@leeds.ac.uk <unknown> Piyush P. Kurur <ppk@cse.iitk.ac.in> -Ralf Laemmel <softlang@uni-koblenz.de> ralf <unknown> # https://ghc.haskell.org/trac/ghc/wiki/TeamGHC +Ralf Laemmel <softlang@uni-koblenz.de> ralf <unknown> # https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc Ravi Nanavati <ravi@bluespec.com> # Commit 70c044. Reiner Pope <reiner.pope@gmail.com> <reinerp@google.com> Reuben Thomas <rrt@sc3d.org> rrt <unknown> @@ -293,7 +293,7 @@ Spencer Janssen <spencer@well-typed.com> <sjanssen@cse.unl.ed Stephen Blackheath <stephen@blacksapphire.com> <docks.cattlemen.stephen@blacksapphire.com> Stephen Blackheath <stephen@blacksapphire.com> <effusively.proffer.stephen@blacksapphire.com> Stephen Blackheath <stephen@blacksapphire.com> <oversensitive.pastors.stephen@blacksapphire.com> -Sungwoo Park <gla@postech.ac.kr> gla <unknown> # https://ghc.haskell.org/trac/ghc/wiki/TeamGHC +Sungwoo Park <gla@postech.ac.kr> gla <unknown> # https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc Sven Panne <sven.panne@aedion.de> panne <unknown> Sven Panne <sven.panne@aedion.de> sven.panne@aedion.de <unknown> Sylvain Henry <hsyl20@gmail.com> diff --git a/ANNOUNCE b/ANNOUNCE index 9e1676bce15..3e7a8b7b392 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -88,12 +88,12 @@ Supported Platforms The list of platforms we support, and the people responsible for them, is here: - https://ghc.haskell.org/trac/ghc/wiki/TeamGHC + https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc Ports to other platforms are possible with varying degrees of difficulty. The Building Guide describes how to go about porting to a new platform: - https://ghc.haskell.org/trac/ghc/wiki/Building + https://gitlab.haskell.org/ghc/ghc/wikis/building Developers diff --git a/HACKING.md b/HACKING.md index 0a532b4effb..05f8401a9e2 100644 --- a/HACKING.md +++ b/HACKING.md @@ -17,7 +17,7 @@ From here, you can file bugs (or look them up,) use the wiki, view the page, which has the high level overview of the build process and how to get the source: -<http://ghc.haskell.org/trac/ghc/wiki/Building> +<https://gitlab.haskell.org/ghc/ghc/wikis/building> Contributing patches to GHC in a hurry ====================================== @@ -25,7 +25,7 @@ Contributing patches to GHC in a hurry Make sure your system has the necessary tools to compile GHC. You can find an overview here: -<http://ghc.haskell.org/trac/ghc/wiki/Building/Preparation> +<https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation> Next, clone the repository and all the associated libraries: @@ -64,9 +64,9 @@ Now, hack on your copy and rebuild (with `make`) as necessary. Then start by making your commits however you want. When you're done, you can submit a pull request on Github for small changes. For larger changes the patch needs to be submitted to [Phabricator](https://phabricator.haskell.org/) for code review. - The GHC Wiki has a good summary for the [overall process](https://ghc.haskell.org/trac/ghc/wiki/WorkingConventions/FixingBugs) + The GHC Wiki has a good summary for the [overall process](https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/fixing-bugs) as well as a guide on - [how to use Phabricator/arcanist](https://ghc.haskell.org/trac/ghc/wiki/Phabricator). + [how to use Phabricator/arcanist](https://gitlab.haskell.org/ghc/ghc/wikis/phabricator). Useful links: @@ -75,22 +75,22 @@ Useful links: An overview of things like using git, the release process, filing bugs and more can be located here: -<http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions> +<https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions> You can find our coding conventions for the compiler and RTS here: -<http://ghc.haskell.org/trac/ghc/wiki/Commentary/CodingStyle> -<http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Conventions> +<https://gitlab.haskell.org/ghc/ghc/wikis/commentary/coding-style> +<https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/conventions> A high level overview of the bug tracker: -<http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions/BugTracker> +<https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/bug-tracker> If you're going to contribute regularly, **learning how to use the build system is important** and will save you lots of time. You should read over this page carefully: -<http://ghc.haskell.org/trac/ghc/wiki/Building/Using> +<https://gitlab.haskell.org/ghc/ghc/wikis/building/using> How to communicate with us ========================== diff --git a/INSTALL.md b/INSTALL.md index 3ab14df0885..08b7048cc10 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -44,5 +44,5 @@ References ========== [1] http://www.haskell.org/ghc/ - [2] http://ghc.haskell.org/trac/ghc/wiki/Building/Preparation + [2] https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation [3] http://www.haskell.org/haddock/ diff --git a/MAKEHELP.md b/MAKEHELP.md index 819da9754bf..8ebf4bc2922 100644 --- a/MAKEHELP.md +++ b/MAKEHELP.md @@ -3,9 +3,9 @@ Quick `make` guide for GHC For a "Getting Started" guide, see: - https://ghc.haskell.org/trac/ghc/wiki/Building/QuickStart - https://ghc.haskell.org/trac/ghc/wiki/Building/Using - https://ghc.haskell.org/trac/ghc/wiki/Building/StandardTargets + https://gitlab.haskell.org/ghc/ghc/wikis/building/quick-start + https://gitlab.haskell.org/ghc/ghc/wikis/building/using + https://gitlab.haskell.org/ghc/ghc/wikis/building/standard-targets Common commands: diff --git a/Makefile b/Makefile index f172ab0b3f5..d7885995d08 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/README.md b/README.md index d445d11c1bf..e3678356d25 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ There are two ways to get a source tree: Note: cloning GHC from Github requires a special setup. See [Getting a GHC repository from Github][7]. - *See the GHC team's working conventions regarding [how to contribute a patch to GHC](http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions/FixingBugs).* First time contributors are encouraged to get started by just sending a Pull Request. + *See the GHC team's working conventions regarding [how to contribute a patch to GHC](https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/fixing-bugs).* First time contributors are encouraged to get started by just sending a Pull Request. Building & Installing @@ -109,19 +109,19 @@ you to join! [1]: http://www.haskell.org/ghc/ "www.haskell.org/ghc/" [2]: http://ghc.haskell.org/trac/ghc "ghc.haskell.org/trac/ghc" - [3]: http://ghc.haskell.org/trac/ghc/wiki/Building - "ghc.haskell.org/trac/ghc/wiki/Building" + [3]: https://gitlab.haskell.org/ghc/ghc/wikis/building + "https://gitlab.haskell.org/ghc/ghc/wikis/building" [4]: http://www.haskell.org/happy/ "www.haskell.org/happy/" [5]: http://www.haskell.org/alex/ "www.haskell.org/alex/" [6]: http://www.haskell.org/haddock/ "www.haskell.org/haddock/" - [7]: https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#GettingaGHCrepositoryfromGitHub - "https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#GettingaGHCrepositoryfromGitHub" - [8]: http://ghc.haskell.org/trac/ghc/wiki/Building/Preparation - "http://ghc.haskell.org/trac/ghc/wiki/Building/Preparation" + [7]: https://gitlab.haskell.org/ghc/ghc/wikis/building/getting-the-sources#cloning-from-github + "https://gitlab.haskell.org/ghc/ghc/wikis/building/getting-the-sources#cloning-from-github" + [8]: https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation + "https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation" [9]: http://www.haskell.org/cabal/ "http://www.haskell.org/cabal/" [10]: https://gitlab.haskell.org/ghc/ghc/issues "https://gitlab.haskell.org/ghc/ghc/issues" [11]: http://www.haskell.org/pipermail/glasgow-haskell-users/ "http://www.haskell.org/pipermail/glasgow-haskell-users/" - [12]: http://ghc.haskell.org/trac/ghc/wiki/TeamGHC - "http://ghc.haskell.org/trac/ghc/wiki/TeamGHC" + [12]: https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc + "https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc" diff --git a/aclocal.m4 b/aclocal.m4 index 1d19b30789f..5b037326be0 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -905,7 +905,7 @@ dnl 2. Find happy in path dnl 3. Check happy version dnl dnl If you increase the minimum version requirement, please also update: -dnl https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Tools +dnl https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation/tools dnl AC_DEFUN([FPTOOLS_HAPPY], [AC_PATH_PROG(HAPPY,[happy],) @@ -938,7 +938,7 @@ dnl 2. Find alex in path dnl 3. Check alex version dnl dnl If you increase the minimum version requirement, please also update: -dnl https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Tools +dnl https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation/tools dnl AC_DEFUN([FPTOOLS_ALEX], [AC_PATH_PROG(ALEX,[alex],) diff --git a/bindisttest/Makefile b/bindisttest/Makefile index bc805c84941..e49172c77d4 100644 --- a/bindisttest/Makefile +++ b/bindisttest/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/bindisttest/ghc.mk b/bindisttest/ghc.mk index cf2e481efd5..b1bd16d8ce5 100644 --- a/bindisttest/ghc.mk +++ b/bindisttest/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/boot b/boot index f534c30d69c..939922248d1 100755 --- a/boot +++ b/boot @@ -53,8 +53,8 @@ def check_for_url_rewrites(): git clone --recursive git://git.haskell.org/ghc.git For more information, see: - * https://ghc.haskell.org/trac/ghc/wiki/Newcomers or - * https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#CloningfromGitHub + * https://gitlab.haskell.org/ghc/ghc/wikis/newcomers or + * https://gitlab.haskell.org/ghc/ghc/wikis/building/getting-the-sources#cloning-from-github """) def check_boot_packages(): @@ -186,7 +186,7 @@ def check_build_mk(): than simply building it to use it. For information on creating a mk/build.mk file, please see: - http://ghc.haskell.org/trac/ghc/wiki/Building/Using#Buildconfiguration + https://gitlab.haskell.org/ghc/ghc/wikis/building/using#build-configuration """)) check_for_url_rewrites() diff --git a/compiler/Makefile b/compiler/Makefile index 691448279fe..514b345dd37 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/compiler/basicTypes/MkId.hs b/compiler/basicTypes/MkId.hs index 85e4905305f..51abac134f1 100644 --- a/compiler/basicTypes/MkId.hs +++ b/compiler/basicTypes/MkId.hs @@ -1571,7 +1571,7 @@ It is only effective if the one-shot info survives as long as possible; in particular it must make it into the interface in unfoldings. See Note [Preserve OneShotInfo] in CoreTidy. -Also see https://ghc.haskell.org/trac/ghc/wiki/OneShot. +Also see https://gitlab.haskell.org/ghc/ghc/wikis/one-shot. Note [magicDictId magic] diff --git a/compiler/basicTypes/Module.hs b/compiler/basicTypes/Module.hs index 9c9547fef1c..f5b65e7638b 100644 --- a/compiler/basicTypes/Module.hs +++ b/compiler/basicTypes/Module.hs @@ -177,7 +177,7 @@ import {-# SOURCE #-} Packages (componentIdString, improveUnitId, PackageConfigM -- Unit IDs, installed package IDs, ABI hashes, package names, -- versions, there are a *lot* of different identifiers for closely -- related things. What do they all mean? Here's what. (See also --- https://ghc.haskell.org/trac/ghc/wiki/Commentary/Packages/Concepts ) +-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/packages/concepts ) -- -- THE IMPORTANT ONES -- diff --git a/compiler/basicTypes/RdrName.hs b/compiler/basicTypes/RdrName.hs index 3dfe916b83e..eabbaae7f94 100644 --- a/compiler/basicTypes/RdrName.hs +++ b/compiler/basicTypes/RdrName.hs @@ -1216,7 +1216,7 @@ bestImport iss {- Note [Choosing the best import declaration] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ When reporting unused import declarations we use the following rules. - (see [wiki:Commentary/Compiler/UnusedImports]) + (see [wiki:commentary/compiler/unused-imports]) Say that an import-item is either * an entire import-all decl (eg import Foo), or diff --git a/compiler/basicTypes/Unique.hs b/compiler/basicTypes/Unique.hs index b5c0fcec584..adb23e02242 100644 --- a/compiler/basicTypes/Unique.hs +++ b/compiler/basicTypes/Unique.hs @@ -223,11 +223,11 @@ use `deriving' because we want {\em precise} control of ordering -- -- As such, to get deterministic builds, the order of the allocated -- @Uniques@ should not affect the final result. --- see also wiki/DeterministicBuilds +-- see also wiki/deterministic-builds -- -- Note [Unique Determinism and code generation] -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- The goal of the deterministic builds (wiki/DeterministicBuilds, #4012) +-- The goal of the deterministic builds (wiki/deterministic-builds, #4012) -- is to get ABI compatible binaries given the same inputs and environment. -- The motivation behind that is that if the ABI doesn't change the -- binaries can be safely reused. diff --git a/compiler/cmm/CLabel.hs b/compiler/cmm/CLabel.hs index 73ca36c8480..bc26490700a 100644 --- a/compiler/cmm/CLabel.hs +++ b/compiler/cmm/CLabel.hs @@ -760,7 +760,7 @@ hasCAF _ = False -- ----------------------------------------------------------------------------- -- Does a CLabel need declaring before use or not? -- --- See wiki:Commentary/Compiler/Backends/PprC#Prototypes +-- See wiki:commentary/compiler/backends/ppr-c#prototypes needsCDecl :: CLabel -> Bool -- False <=> it's pre-declared; don't bother diff --git a/compiler/cmm/PprC.hs b/compiler/cmm/PprC.hs index bd019b13a8b..c8b9ef76e2e 100644 --- a/compiler/cmm/PprC.hs +++ b/compiler/cmm/PprC.hs @@ -8,7 +8,7 @@ -- -- Print Cmm as real C, for -fvia-C -- --- See wiki:Commentary/Compiler/Backends/PprC +-- See wiki:commentary/compiler/backends/ppr-c -- -- This is simpler than the old PprAbsC, because Cmm is "macro-expanded" -- relative to the old AbstractC, and many oddities/decorations have @@ -240,7 +240,7 @@ pprStmt stmt = cast_fn = parens (cCast (pprCFunType (char '*') cconv hresults hargs) fn) - -- See wiki:Commentary/Compiler/Backends/PprC#Prototypes + -- See wiki:commentary/compiler/backends/ppr-c#prototypes fnCall = case fn of CmmLit (CmmLabel lbl) diff --git a/compiler/cmm/cmm-notes b/compiler/cmm/cmm-notes index 136ac385448..e2fb819222b 100644 --- a/compiler/cmm/cmm-notes +++ b/compiler/cmm/cmm-notes @@ -65,9 +65,9 @@ Things to do: - See "CAFs" below; we want to totally refactor the way SRTs are calculated - - Garbage-collect http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/CPS + - Garbage-collect https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/cps moving good stuff into - http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/NewCodeGenPipeline + https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/new-code-gen-pipeline - Currently AsmCodeGen top level calls AsmCodeGen.cmmToCmm, which is a small C-- optimiser. It has quite a lot of boilerplate folding code in AsmCodeGen diff --git a/compiler/codeGen/StgCmmTicky.hs b/compiler/codeGen/StgCmmTicky.hs index e673d216b28..868b52f402f 100644 --- a/compiler/codeGen/StgCmmTicky.hs +++ b/compiler/codeGen/StgCmmTicky.hs @@ -11,7 +11,7 @@ {- OVERVIEW: ticky ticky profiling Please see -http://ghc.haskell.org/trac/ghc/wiki/Debugging/TickyTicky and also +https://gitlab.haskell.org/ghc/ghc/wikis/debugging/ticky-ticky and also edit it and the rest of this comment to keep them up-to-date if you change ticky-ticky. Thanks! diff --git a/compiler/coreSyn/CoreLint.hs b/compiler/coreSyn/CoreLint.hs index c29c113b543..8c85685d29e 100644 --- a/compiler/coreSyn/CoreLint.hs +++ b/compiler/coreSyn/CoreLint.hs @@ -159,7 +159,7 @@ find an occurrence of an Id, we fetch it from the in-scope set. Note [Bad unsafe coercion] ~~~~~~~~~~~~~~~~~~~~~~~~~~ -For discussion see https://ghc.haskell.org/trac/ghc/wiki/BadUnsafeCoercions +For discussion see https://gitlab.haskell.org/ghc/ghc/wikis/bad-unsafe-coercions Linter introduces additional rules that checks improper coercion between different types, called bad coercions. Following coercions are forbidden: diff --git a/compiler/deSugar/Check.hs b/compiler/deSugar/Check.hs index 0142c344093..57ddfc0d893 100644 --- a/compiler/deSugar/Check.hs +++ b/compiler/deSugar/Check.hs @@ -280,7 +280,7 @@ instance Monoid PartialResult where -- More details about the classification of clauses into useful, redundant -- and with inaccessible right hand side can be found here: -- --- https://ghc.haskell.org/trac/ghc/wiki/PatternMatchCheck +-- https://gitlab.haskell.org/ghc/ghc/wikis/pattern-match-check -- data PmResult = PmResult { diff --git a/compiler/deSugar/DsBinds.hs b/compiler/deSugar/DsBinds.hs index cf94a5edf34..a87a4bbcbba 100644 --- a/compiler/deSugar/DsBinds.hs +++ b/compiler/deSugar/DsBinds.hs @@ -530,7 +530,7 @@ thought! Note [Desugar Strict binds] ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -See https://ghc.haskell.org/trac/ghc/wiki/StrictPragma +See https://gitlab.haskell.org/ghc/ghc/wikis/strict-pragma Desugaring strict variable bindings looks as follows (core below ==>) @@ -598,7 +598,7 @@ tuple `t`, thus: in tm `seq` <body> -See https://ghc.haskell.org/trac/ghc/wiki/StrictPragma for a more +See https://gitlab.haskell.org/ghc/ghc/wikis/strict-pragma for a more detailed explanation of the desugaring of strict bindings. Note [Strict binds checks] diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 64615a3c9b3..6cd774744d9 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/compiler/ghci/GHCi.hs b/compiler/ghci/GHCi.hs index 579053999fd..7ec07fec78d 100644 --- a/compiler/ghci/GHCi.hs +++ b/compiler/ghci/GHCi.hs @@ -117,7 +117,7 @@ use a different "way", e.g. profiled or dynamic. This means taking the performance hit on the compiler that profiling would entail. -For other reasons see RemoteGHCi on the wiki. +For other reasons see remote-GHCi on the wiki. Implementation Overview ~~~~~~~~~~~~~~~~~~~~~~~ @@ -152,7 +152,7 @@ message if it is used with -fexternal-interpreter. Other Notes on Remote GHCi ~~~~~~~~~~~~~~~~~~~~~~~~~~ * This wiki page has an implementation overview: - https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/ExternalInterpreter + https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/external-interpreter * Note [External GHCi pointers] in compiler/ghci/GHCi.hs * Note [Remote Template Haskell] in libraries/ghci/GHCi/TH.hs -} diff --git a/compiler/hsSyn/HsDecls.hs b/compiler/hsSyn/HsDecls.hs index d4742f50520..c194c2e21a8 100644 --- a/compiler/hsSyn/HsDecls.hs +++ b/compiler/hsSyn/HsDecls.hs @@ -784,7 +784,7 @@ pprTyClDeclFlavour (XTyClDecl x) = ppr x We kind-check declarations differently if they have a complete, user-supplied kind signature (CUSK). This is because we can safely generalise a CUSKed declaration before checking all of the others, supporting polymorphic recursion. -See ghc.haskell.org/trac/ghc/wiki/GhcKinds/KindInference#Proposednewstrategy +See https://gitlab.haskell.org/ghc/ghc/wikis/ghc-kinds/kind-inference#proposed-new-strategy and #9200 for lots of discussion of how we got here. PRINCIPLE: diff --git a/compiler/hsSyn/HsExtension.hs b/compiler/hsSyn/HsExtension.hs index f5e31337881..1bebec0896d 100644 --- a/compiler/hsSyn/HsExtension.hs +++ b/compiler/hsSyn/HsExtension.hs @@ -32,7 +32,7 @@ import Data.Kind Note [Trees that grow] ~~~~~~~~~~~~~~~~~~~~~~ -See https://ghc.haskell.org/trac/ghc/wiki/ImplementingTreesThatGrow +See https://gitlab.haskell.org/ghc/ghc/wikis/implementing-trees-that-grow The hsSyn AST is reused across multiple compiler passes. We also have the Template Haskell AST, and the haskell-src-exts one (outside of GHC) diff --git a/compiler/iface/IfaceSyn.hs b/compiler/iface/IfaceSyn.hs index b066f5cf375..8ffa337946e 100644 --- a/compiler/iface/IfaceSyn.hs +++ b/compiler/iface/IfaceSyn.hs @@ -377,7 +377,7 @@ data IfaceIdDetails {- Note [Versioning of instances] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -See [http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance#Instances] +See [https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance#instances] ************************************************************************ diff --git a/compiler/iface/MkIface.hs b/compiler/iface/MkIface.hs index 440f89fb4cc..40b6d025a12 100644 --- a/compiler/iface/MkIface.hs +++ b/compiler/iface/MkIface.hs @@ -34,7 +34,7 @@ module MkIface ( A complete description of how recompilation checking works can be found in the wiki commentary: - http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance + https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance Please read the above page for a top-down description of how this all works. Notes below cover specific issues related to the implementation. @@ -645,7 +645,7 @@ addFingerprints hsc_env mb_old_fingerprint iface0 new_decls -- See Note [Export hash depends on non-orphan family instances] dep_finsts (mi_deps iface0), -- dep_pkgs: see "Package Version Changes" on - -- wiki/Commentary/Compiler/RecompilationAvoidance + -- wiki/commentary/compiler/recompilation-avoidance mi_trust iface0) -- Make sure change of Safe Haskell mode causes recomp. diff --git a/compiler/iface/TcIface.hs b/compiler/iface/TcIface.hs index 732ee1b61a4..5c3b64af0fa 100644 --- a/compiler/iface/TcIface.hs +++ b/compiler/iface/TcIface.hs @@ -1630,7 +1630,7 @@ tcIfaceGlobal name -- -- There is also a wiki page on the subject, see: -- --- https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/TyingTheKnot +-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/tying-the-knot -- Note [Knot-tying fallback on boot] -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index fdc83fa94e6..0783189aaf4 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -322,7 +322,7 @@ import Foreign (Ptr) -- needed for 2nd stage -- * Adding the flag to the GHC Wiki -- -- There is a change log tracking language extension additions and removals --- on the GHC wiki: https://ghc.haskell.org/trac/ghc/wiki/LanguagePragmaHistory +-- on the GHC wiki: https://gitlab.haskell.org/ghc/ghc/wikis/language-pragma-history -- -- See #4437 and #8176. @@ -5549,7 +5549,7 @@ picCCOpts dflags = pieOpts ++ picOpts -- otherwise things like stub.c files don't get compiled -- correctly. They need to reference data in the Haskell -- objects, but can't without -fPIC. See - -- http://ghc.haskell.org/trac/ghc/wiki/Commentary/PositionIndependentCode + -- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/position-independent-code | gopt Opt_PIC dflags || WayDyn `elem` ways dflags -> ["-fPIC", "-U__PIC__", "-D__PIC__"] -- gcc may be configured to have PIC on by default, let's be diff --git a/compiler/main/HscTypes.hs b/compiler/main/HscTypes.hs index add0ee95d22..67726684202 100644 --- a/compiler/main/HscTypes.hs +++ b/compiler/main/HscTypes.hs @@ -2404,7 +2404,7 @@ noDependencies :: Dependencies noDependencies = Deps [] [] [] [] [] -- | Records modules for which changes may force recompilation of this module --- See wiki: http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance +-- See wiki: https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance -- -- This differs from Dependencies. A module X may be in the dep_mods of this -- module (via an import chain) but if we don't use anything from X it won't diff --git a/compiler/main/Plugins.hs b/compiler/main/Plugins.hs index 585eab1e458..93297522dbf 100644 --- a/compiler/main/Plugins.hs +++ b/compiler/main/Plugins.hs @@ -120,7 +120,7 @@ data Plugin = Plugin { -- is supported by most build environment. -- -- For the full discussion, check the full proposal at: --- https://ghc.haskell.org/trac/ghc/wiki/ExtendedPluginsProposal +-- https://gitlab.haskell.org/ghc/ghc/wikis/extended-plugins-proposal data PluginWithArgs = PluginWithArgs { paPlugin :: Plugin diff --git a/compiler/main/TidyPgm.hs b/compiler/main/TidyPgm.hs index 6e845301938..ba9cd79e3d0 100644 --- a/compiler/main/TidyPgm.hs +++ b/compiler/main/TidyPgm.hs @@ -234,8 +234,8 @@ Plan B: include pragmas, make interfaces Note [Choosing external Ids] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ See also the section "Interface stability" in the -RecompilationAvoidance commentary: - http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance +recompilation-avoidance commentary: + https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance First we figure out which Ids are "external" Ids. An "external" Id is one that is visible from outside the compilation diff --git a/compiler/nativeGen/BlockLayout.hs b/compiler/nativeGen/BlockLayout.hs index 51ff34d0283..8904b4113b5 100644 --- a/compiler/nativeGen/BlockLayout.hs +++ b/compiler/nativeGen/BlockLayout.hs @@ -52,7 +52,7 @@ import qualified Data.Set as Set ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For additional information also look at - https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/CodeLayout + https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/code-layout We have a CFG with edge weights based on which we try to place blocks next to each other. diff --git a/compiler/nativeGen/X86/Ppr.hs b/compiler/nativeGen/X86/Ppr.hs index 6ecd4cd1704..4f5a5f273e9 100644 --- a/compiler/nativeGen/X86/Ppr.hs +++ b/compiler/nativeGen/X86/Ppr.hs @@ -212,7 +212,7 @@ pprLabelType' dflags lbl = " A good place to check for more - https://ghc.haskell.org/trac/ghc/wiki/Commentary/PositionIndependentCode + https://gitlab.haskell.org/ghc/ghc/wikis/commentary/position-independent-code Another possible hack is to create an extra local function symbol for every code-like thing to give the needed information for to the tools diff --git a/compiler/parser/ApiAnnotation.hs b/compiler/parser/ApiAnnotation.hs index 6ae01d6fe02..bfb39c8f7b6 100644 --- a/compiler/parser/ApiAnnotation.hs +++ b/compiler/parser/ApiAnnotation.hs @@ -125,7 +125,7 @@ until later. 'allocateComments' in 'Lexer' is responsible for making sure we only attach comments that actually fit in the 'SrcSpan'.) The wiki page describing this feature is -https://ghc.haskell.org/trac/ghc/wiki/ApiAnnotations +https://gitlab.haskell.org/ghc/ghc/wikis/api-annotations -} -- --------------------------------------------------------------------- @@ -188,7 +188,7 @@ getAndRemoveAnnotationComments (anns,canns) span = -- @'DynFlags.DynFlags'@ before parsing. -- -- The wiki page describing this feature is --- https://ghc.haskell.org/trac/ghc/wiki/ApiAnnotations +-- https://gitlab.haskell.org/ghc/ghc/wikis/api-annotations -- -- Note: in general the names of these are taken from the -- corresponding token, unless otherwise noted diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 7c08ceab78c..6feb06b5861 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -13,7 +13,7 @@ -- References: -- [1] https://www.haskell.org/onlinereport/haskell2010/haskellch2.html -- [2] http://www.haskell.org/alex/ --- [3] https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/Parser +-- [3] https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/parser -- ----------------------------------------------------------------------------- diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y index ed326eb730d..469e02d0a64 100644 --- a/compiler/parser/Parser.y +++ b/compiler/parser/Parser.y @@ -394,8 +394,8 @@ structured editors. The helper functions are defined at the bottom of this file. See - https://ghc.haskell.org/trac/ghc/wiki/ApiAnnotations and - https://ghc.haskell.org/trac/ghc/wiki/GhcAstAnnotations + https://gitlab.haskell.org/ghc/ghc/wikis/api-annotations and + https://gitlab.haskell.org/ghc/ghc/wikis/ghc-ast-annotations for some background. If you modify the parser and want to ensure that the API annotations are processed diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp index 6a1be8a486e..bfa1ffd7b63 100644 --- a/compiler/prelude/primops.txt.pp +++ b/compiler/prelude/primops.txt.pp @@ -5,7 +5,7 @@ -- Primitive Operations and Types -- -- For more information on PrimOps, see --- http://ghc.haskell.org/trac/ghc/wiki/Commentary/PrimOps +-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/prim-ops -- ----------------------------------------------------------------------- @@ -18,7 +18,7 @@ -- Information on how PrimOps are implemented and the steps necessary to -- add a new one can be found in the Commentary: -- --- http://ghc.haskell.org/trac/ghc/wiki/Commentary/PrimOps +-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/prim-ops -- -- Note in particular that Haskell block-style comments are not recognized -- here, so stick to '--' (even for Notes spanning multiple lines). diff --git a/compiler/rename/RnNames.hs b/compiler/rename/RnNames.hs index ba0b5f3e26c..7c0c6759eac 100644 --- a/compiler/rename/RnNames.hs +++ b/compiler/rename/RnNames.hs @@ -1303,7 +1303,7 @@ warnMissingSignatures gbl_env This code finds which import declarations are unused. The specification and implementation notes are here: - http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/UnusedImports + https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/unused-imports See also Note [Choosing the best import declaration] in RdrName -} diff --git a/compiler/rename/RnSplice.hs b/compiler/rename/RnSplice.hs index 1d5c68fd5bb..522f8dda008 100644 --- a/compiler/rename/RnSplice.hs +++ b/compiler/rename/RnSplice.hs @@ -525,7 +525,7 @@ global environment and exposes the current local environment to them [4, 5, 6]. References: -[1] https://ghc.haskell.org/trac/ghc/wiki/TemplateHaskell/Reify +[1] https://gitlab.haskell.org/ghc/ghc/wikis/template-haskell/reify [2] 'rnSpliceExpr' [3] 'TcSplice.qAddModFinalizer' [4] 'TcExpr.tcExpr' ('HsSpliceE' ('HsSpliced' ...)) diff --git a/compiler/simplStg/StgLiftLams.hs b/compiler/simplStg/StgLiftLams.hs index db85b994cf1..c3a9c8a4786 100644 --- a/compiler/simplStg/StgLiftLams.hs +++ b/compiler/simplStg/StgLiftLams.hs @@ -17,7 +17,7 @@ import qualified StgLiftLams.Transformation as Transformation -- Note [Late lambda lifting in STG] -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- $note --- See also the <https://ghc.haskell.org/trac/ghc/wiki/LateLamLift wiki page> +-- See also the <https://gitlab.haskell.org/ghc/ghc/wikis/late-lam-lift wiki page> -- and #9476. -- -- The basic idea behind lambda lifting is to turn locally defined functions diff --git a/compiler/simplStg/StgLiftLams/Analysis.hs b/compiler/simplStg/StgLiftLams/Analysis.hs index 3cdbfcbb3f5..c2d4dfdb7cc 100644 --- a/compiler/simplStg/StgLiftLams/Analysis.hs +++ b/compiler/simplStg/StgLiftLams/Analysis.hs @@ -81,7 +81,7 @@ import Data.Maybe ( mapMaybe ) -- "StgLiftLams.Analysis#clogro" and is what most of this module is ultimately -- concerned with. -- --- There's a <https://ghc.haskell.org/trac/ghc/wiki/LateLamLift wiki page> with +-- There's a <https://gitlab.haskell.org/ghc/ghc/wikis/late-lam-lift wiki page> with -- some more background and history. -- Note [Estimating closure growth] @@ -102,7 +102,7 @@ import Data.Maybe ( mapMaybe ) -- -- A more detailed treatment of computing closure growth, including examples, -- can be found in the paper referenced from the --- <https://ghc.haskell.org/trac/ghc/wiki/LateLamLift wiki page>. +-- <https://gitlab.haskell.org/ghc/ghc/wikis/late-lam-lift wiki page>. llTrace :: String -> SDoc -> a -> a llTrace _ _ c = c diff --git a/compiler/stgSyn/CoreToStg.hs b/compiler/stgSyn/CoreToStg.hs index 1cb02bfb19d..7f60bb21d2f 100644 --- a/compiler/stgSyn/CoreToStg.hs +++ b/compiler/stgSyn/CoreToStg.hs @@ -115,7 +115,7 @@ import Control.Monad (liftM, ap) -- bitmap in each info table describing which entries of this table the closure -- references. -- --- See also: Commentary/Rts/Storage/GC/CAFs on the GHC Wiki. +-- See also: commentary/rts/storage/gc/CAFs on the GHC Wiki. -- Note [What is a non-escaping let] -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/compiler/typecheck/TcCanonical.hs b/compiler/typecheck/TcCanonical.hs index 765abc7c470..c2efeae9303 100644 --- a/compiler/typecheck/TcCanonical.hs +++ b/compiler/typecheck/TcCanonical.hs @@ -670,7 +670,7 @@ This quantified constraint is needed to solve the constraint which arises form the (==) definition. The wiki page is - https://ghc.haskell.org/trac/ghc/wiki/QuantifiedConstraints + https://gitlab.haskell.org/ghc/ghc/wikis/quantified-constraints which in turn contains a link to the GHC Proposal where the change is specified, and a Haskell Symposium paper about it. diff --git a/compiler/typecheck/TcDeriv.hs b/compiler/typecheck/TcDeriv.hs index 736f44e2112..826939d389b 100644 --- a/compiler/typecheck/TcDeriv.hs +++ b/compiler/typecheck/TcDeriv.hs @@ -2064,7 +2064,7 @@ GHC has a notion of deriving strategies, which allow the user to explicitly request which approach to use when deriving an instance (enabled with the -XDerivingStrategies language extension). For more information, refer to the original issue (#10598) or the associated wiki page: -https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/DerivingStrategies +https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/deriving-strategies A deriving strategy can be specified in a deriving clause: @@ -2105,7 +2105,7 @@ instances instead of "reusing" old instances (by way of `coerce`). If an explicit deriving strategy is not given, GHC has an algorithm it uses to determine which strategy it will actually use. The algorithm is quite long, so it lives in the Haskell wiki at -https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/DerivingStrategies +https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/deriving-strategies ("The deriving strategy resolution algorithm" section). Internally, GHC uses the DerivStrategy datatype to denote a user-requested diff --git a/compiler/typecheck/TcEvidence.hs b/compiler/typecheck/TcEvidence.hs index b5209a47911..72aed235054 100644 --- a/compiler/typecheck/TcEvidence.hs +++ b/compiler/typecheck/TcEvidence.hs @@ -655,7 +655,7 @@ Conclusion: a new wanted coercion variable should be made mutable. Note [Overview of implicit CallStacks] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -(See https://ghc.haskell.org/trac/ghc/wiki/ExplicitCallStack/ImplicitLocations) +(See https://gitlab.haskell.org/ghc/ghc/wikis/explicit-call-stack/implicit-locations) The goal of CallStack evidence terms is to reify locations in the program source as runtime values, without any support diff --git a/compiler/typecheck/TcGenFunctor.hs b/compiler/typecheck/TcGenFunctor.hs index 240fc271037..c2cdef412a8 100644 --- a/compiler/typecheck/TcGenFunctor.hs +++ b/compiler/typecheck/TcGenFunctor.hs @@ -1052,7 +1052,7 @@ that is syntactically equivalent to the last type parameter, so only E1's argument will be folded over in a derived Foldable instance. See #10447 for the original discussion on this feature. Also see -https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/DeriveFunctor +https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/derive-functor for a more in-depth explanation. Note [FFoldType and functorLikeTraverse] diff --git a/compiler/typecheck/TcGenGenerics.hs b/compiler/typecheck/TcGenGenerics.hs index 8e328b0eedd..ecf0d8b76d0 100644 --- a/compiler/typecheck/TcGenGenerics.hs +++ b/compiler/typecheck/TcGenGenerics.hs @@ -890,7 +890,7 @@ mark it. As a result, before we can generate K1 or unK1, we must first check to see if the type is actually one of the unlifted types for which URec has a data family instance; if so, we generate that instead. -See wiki:Commentary/Compiler/GenericDeriving#Handlingunliftedtypes for more +See wiki:commentary/compiler/generic-deriving#handling-unlifted-types for more details on why URec is implemented the way it is. Note [Generating a correctly typed Rep instance] diff --git a/compiler/typecheck/TcMType.hs b/compiler/typecheck/TcMType.hs index a31561100d6..ce9cca7d861 100644 --- a/compiler/typecheck/TcMType.hs +++ b/compiler/typecheck/TcMType.hs @@ -383,7 +383,7 @@ holes should By defining ExpType, separately from Type, we can achieve goals 1 and 2 statically. -See also [wiki:Typechecking] +See also [wiki:typechecking] Note [TcLevel of ExpType] ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2200,7 +2200,7 @@ See Note [Levity polymorphism checking] in DsMonad -} -- | According to the rules around representation polymorphism --- (see https://ghc.haskell.org/trac/ghc/wiki/NoSubKinds), no binder +-- (see https://gitlab.haskell.org/ghc/ghc/wikis/no-sub-kinds), no binder -- can have a representation-polymorphic type. This check ensures -- that we respect this rule. It is a bit regrettable that this error -- occurs in zonking, after which we should have reported all errors. diff --git a/compiler/typecheck/TcRnDriver.hs b/compiler/typecheck/TcRnDriver.hs index 60ff3335dd1..00765b6a2f7 100644 --- a/compiler/typecheck/TcRnDriver.hs +++ b/compiler/typecheck/TcRnDriver.hs @@ -4,7 +4,7 @@ \section[TcRnDriver]{Typechecking a whole module} -https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/TypeChecker +https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/type-checker -} {-# LANGUAGE CPP #-} diff --git a/compiler/typecheck/TcRnTypes.hs b/compiler/typecheck/TcRnTypes.hs index bfedaf2ccc2..2a2f05eea5a 100644 --- a/compiler/typecheck/TcRnTypes.hs +++ b/compiler/typecheck/TcRnTypes.hs @@ -3768,7 +3768,7 @@ pprCtOrigin (Shouldn'tHappenOrigin note) else vcat [ text "<< This should not appear in error messages. If you see this" , text "in an error message, please report a bug mentioning" <+> quotes (text note) <+> text "at" - , text "https://ghc.haskell.org/trac/ghc/wiki/ReportABug >>" ] + , text "https://gitlab.haskell.org/ghc/ghc/wikis/report-a-bug >>" ] pprCtOrigin (ProvCtxtOrigin PSB{ psb_id = (L _ name) }) = hang (ctoHerald <+> text "the \"provided\" constraints claimed by") diff --git a/compiler/typecheck/TcTypeNats.hs b/compiler/typecheck/TcTypeNats.hs index 24e12cd15cd..8588576acb0 100644 --- a/compiler/typecheck/TcTypeNats.hs +++ b/compiler/typecheck/TcTypeNats.hs @@ -69,7 +69,7 @@ type-level literals. See also the Wiki page: - https://ghc.haskell.org/trac/ghc/wiki/TypeNats + https://gitlab.haskell.org/ghc/ghc/wikis/type-nats Note [Adding built-in type families] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/compiler/types/TyCoRep.hs b/compiler/types/TyCoRep.hs index dc64ce139a4..c90f54d8db4 100644 --- a/compiler/types/TyCoRep.hs +++ b/compiler/types/TyCoRep.hs @@ -1437,7 +1437,7 @@ Note [Roles] ~~~~~~~~~~~~ Roles are a solution to the GeneralizedNewtypeDeriving problem, articulated in #1496. The full story is in docs/core-spec/core-spec.pdf. Also, see -http://ghc.haskell.org/trac/ghc/wiki/RolesImplementation +https://gitlab.haskell.org/ghc/ghc/wikis/roles-implementation Here is one way to phrase the problem: diff --git a/compiler/utils/Fingerprint.hsc b/compiler/utils/Fingerprint.hsc index 01de554869b..377a378bb92 100644 --- a/compiler/utils/Fingerprint.hsc +++ b/compiler/utils/Fingerprint.hsc @@ -6,7 +6,7 @@ -- -- Fingerprints for recompilation checking and ABI versioning. -- --- http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance +-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance -- -- ---------------------------------------------------------------------------- diff --git a/configure.ac b/configure.ac index 00304463d45..0f62eebd130 100644 --- a/configure.ac +++ b/configure.ac @@ -1379,5 +1379,5 @@ To make changes to the default build configuration, copy the file mk/build.mk.sample to mk/build.mk, and edit the settings in there. For more information on how to configure your GHC build, see - http://ghc.haskell.org/trac/ghc/wiki/Building + https://gitlab.haskell.org/ghc/ghc/wikis/building "] diff --git a/distrib/remilestoning.pl b/distrib/remilestoning.pl index 51eb19c66cb..e8c0d016096 100644 --- a/distrib/remilestoning.pl +++ b/distrib/remilestoning.pl @@ -83,7 +83,7 @@ Hello, You are receiving this mail because you are the reporter, or on the CC list, for one or more GHC tickets that are automatically having their priority reduced due to our post-release ticket handling policy: - http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions/BugTracker#Remilestoningticketsafterarelease + https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/bug-tracker#re-milestoning-tickets-after-a-release The list of tickets for which you are the reporter or on the CC list is given below. If any of these are causing problems for you, please let us diff --git a/docs/core-spec/core-spec.mng b/docs/core-spec/core-spec.mng index 3064a556e3e..5fdf3af027d 100644 --- a/docs/core-spec/core-spec.mng +++ b/docs/core-spec/core-spec.mng @@ -235,7 +235,7 @@ and a provenance. The provenance states what created the universal coercion: Roles label what equality relation a coercion is a witness of. Nominal equality means that two types are identical (have the same name); representational equality means that two types have the same representation (introduced by newtypes); and -phantom equality includes all types. See \url{http://ghc.haskell.org/trac/ghc/wiki/Roles} and \url{http://research.microsoft.com/en-us/um/people/simonpj/papers/ext-f/coercible.pdf} +phantom equality includes all types. See \url{https://gitlab.haskell.org/ghc/ghc/wikis/roles} and \url{http://research.microsoft.com/en-us/um/people/simonpj/papers/ext-f/coercible.pdf} for more background. \gram{\ottR} @@ -297,7 +297,7 @@ In \ottdrulename{Co\_UnivCo}, function $ \textsf{compatibleUnBoxedTys} $ stands appropriate element of the target tuple; \end{itemize} For function implementation see \coderef{coreSyn/CoreLint.hs}{checkTypes}. -For further discussion see \url{https://ghc.haskell.org/trac/ghc/wiki/BadUnsafeCoercions}. +For further discussion see \url{https://gitlab.haskell.org/ghc/ghc/wikis/bad-unsafe-coercions}. \subsection{Type constructors} diff --git a/driver/Makefile b/driver/Makefile index a719b8180e8..e8621255f38 100644 --- a/driver/Makefile +++ b/driver/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/driver/ghc.mk b/driver/ghc.mk index 11db9f73801..c1adefe5dc5 100644 --- a/driver/ghc.mk +++ b/driver/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/driver/ghc/ghc.mk b/driver/ghc/ghc.mk index 431dbc81f19..46fccefdfa1 100644 --- a/driver/ghc/ghc.mk +++ b/driver/ghc/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/driver/ghci/Makefile b/driver/ghci/Makefile index 3a1b49304da..988a40e79c6 100644 --- a/driver/ghci/Makefile +++ b/driver/ghci/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/driver/ghci/ghc.mk b/driver/ghci/ghc.mk index 0e18a5fbbd9..9ddab61649c 100644 --- a/driver/ghci/ghc.mk +++ b/driver/ghci/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/driver/haddock/ghc.mk b/driver/haddock/ghc.mk index ac26e5eb6a3..24417b8d7f8 100644 --- a/driver/haddock/ghc.mk +++ b/driver/haddock/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/ghc.mk b/ghc.mk index fea964ba385..984dfc61bb2 100644 --- a/ghc.mk +++ b/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- @@ -40,7 +40,7 @@ # # The actual build order is defined by dependencies, and the phase # ordering used to ensure correct ordering of makefile-generation; see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture/Idiom/PhaseOrdering +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture/idiom/phase-ordering # # * With bootstrapping compiler: # o Build utils/ghc-cabal @@ -97,7 +97,7 @@ endif ifeq "$(MAKE_RESTARTS)" "" else ifeq "$(MAKE_RESTARTS)" "1" else -$(error Make has restarted itself $(MAKE_RESTARTS) times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestarteditself3timesisthereamakefilebug for details) +$(error Make has restarted itself $(MAKE_RESTARTS) times; is there a makefile bug? See https://gitlab.haskell.org/ghc/ghc/wikis/building/troubleshooting#make-has-restarted-itself-3-times-is-there-a-makefile-bug for details) endif # ----------------------------------------------------------------------------- @@ -175,7 +175,7 @@ ifeq "$(SPHINXBUILD)" "" $(error BUILD_SPHINX_HTML=YES, but `sphinx-build` was not found. \ Create a file `mk/validate.mk` containing `BUILD_SPHINX_HTML=NO` \ (when validating), or install `sphinx-build` and rerun `./configure`. \ - See https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation) + See https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation) endif endif @@ -183,7 +183,7 @@ ifeq "$(BUILD_SPHINX_PDF)" "YES" ifeq "$(XELATEX)" "" $(error BUILD_SPHINX_PDF=YES, but `xelatex` was not found. \ Install `xelatex`, then rerun `./configure`. \ - See https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation) + See https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation) endif endif @@ -191,7 +191,7 @@ ifeq "$(HSCOLOUR_SRCS)" "YES" ifeq "$(HSCOLOUR_CMD)" "" $(error HSCOLOUR_SRCS=YES, but HSCOLOUR_CMD is empty. \ Run `cabal install hscolour`, then rerun `./configure`. \ - See https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation) + See https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation) endif endif @@ -1434,7 +1434,7 @@ maintainer-clean : distclean .PHONY: all_libraries .PHONY: bootstrapping-files -# See https://ghc.haskell.org/trac/ghc/wiki/Building/Porting +# See https://gitlab.haskell.org/ghc/ghc/wikis/building/porting bootstrapping-files: $(includes_H_CONFIG) bootstrapping-files: $(includes_DERIVEDCONSTANTS) bootstrapping-files: $(includes_GHCCONSTANTS) @@ -1503,7 +1503,7 @@ endif # [2] # find utils -name package-data.mk | xargs grep -l 'DEP_NAMES =.* ghc\($\| \)' # -# [3] https://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling +# [3] https://gitlab.haskell.org/ghc/ghc/wikis/building/cross-compiling # # [4] * bc31dbe8ee22819054df60f5ef219fed393a1c54 # "Disable any packages built with stage 2 when cross-compiling diff --git a/ghc/Makefile b/ghc/Makefile index 46ea37877de..8c7a8afab4d 100644 --- a/ghc/Makefile +++ b/ghc/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/ghc/ghc.mk b/ghc/ghc.mk index f9a3d1f056d..4c3fbdfd888 100644 --- a/ghc/ghc.mk +++ b/ghc/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/hadrian/README.md b/hadrian/README.md index 9531bdb6678..3ca9787fa8a 100644 --- a/hadrian/README.md +++ b/hadrian/README.md @@ -291,11 +291,11 @@ projects), as well as Well-Typed. [ghc]: https://en.wikipedia.org/wiki/Glasgow_Haskell_Compiler [shake]: https://github.com/ndmitchell/shake -[make]: https://ghc.haskell.org/trac/ghc/wiki/Building/Architecture +[make]: https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture [talk]: https://skillsmatter.com/skillscasts/8722-meet-hadrian-a-new-build-system-for-ghc [issues]: https://github.com/snowleopard/hadrian/issues -[ghc-preparation]: https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation -[ghc-windows-quick-build]: https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows#AQuickBuild +[ghc-preparation]: https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation +[ghc-windows-quick-build]: https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation/windows#AQuickBuild [windows-build]: https://gitlab.haskell.org/ghc/ghc/blob/master/hadrian/doc/windows.md [test-issue]: https://github.com/snowleopard/hadrian/issues/197 [validation-issue]: https://github.com/snowleopard/hadrian/issues/187 diff --git a/hadrian/doc/windows.md b/hadrian/doc/windows.md index bf7707c6a1c..07b505b1038 100644 --- a/hadrian/doc/windows.md +++ b/hadrian/doc/windows.md @@ -33,7 +33,7 @@ without optimisations. If you need an optimised GHC, drop the `--flavour=quickes flag from the build command line (this will slow down the build to about an hour). These are currently not the -[official GHC building instructions](https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows), +[official GHC building instructions](https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation/windows), but are much simpler and may also be more robust. The `stack build` and `stack exec hadrian` commands can be replaced by an diff --git a/hadrian/src/Oracles/Setting.hs b/hadrian/src/Oracles/Setting.hs index a869a31e123..46ae5b5bd0d 100644 --- a/hadrian/src/Oracles/Setting.hs +++ b/hadrian/src/Oracles/Setting.hs @@ -189,7 +189,7 @@ ghcWithInterpreter = do return $ goodOs && goodArch -- | Check whether the target architecture supports placing info tables next to --- code. See: https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/HeapObjects#TABLES_NEXT_TO_CODE. +-- code. See: https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/heap-objects#tables_next_to_code. ghcEnableTablesNextToCode :: Action Bool ghcEnableTablesNextToCode = notM $ anyTargetArch ["ia64", "powerpc64", "powerpc64le"] diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs index e261dfe8ff8..517c36ebafc 100644 --- a/hadrian/src/Settings/Packages.hs +++ b/hadrian/src/Settings/Packages.hs @@ -266,7 +266,7 @@ rtsPackageArgs = package rts ? do -- The above warning suppression flags are a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See: - -- http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings + -- https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions#Warnings , (not <$> flag GccIsClang) ? inputs ["//Compact.c"] ? arg "-finline-limit=2500" diff --git a/includes/Cmm.h b/includes/Cmm.h index 7334eab8c1f..ba84328a73e 100644 --- a/includes/Cmm.h +++ b/includes/Cmm.h @@ -73,7 +73,7 @@ /* * The RTS must sometimes UNTAG a pointer before dereferencing it. - * See the wiki page Commentary/Rts/HaskellExecution/PointerTagging + * See the wiki page commentary/rts/haskell-execution/pointer-tagging */ #define TAG_MASK ((1 << TAG_BITS) - 1) #define UNTAG(p) (p & ~TAG_MASK) diff --git a/includes/MachDeps.h b/includes/MachDeps.h index d6f329f19f5..22aec838408 100644 --- a/includes/MachDeps.h +++ b/includes/MachDeps.h @@ -9,7 +9,7 @@ * NB: THIS FILE IS INCLUDED IN HASKELL SOURCE! * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/Makefile b/includes/Makefile index e8e88d63984..c72fe8fc785 100644 --- a/includes/Makefile +++ b/includes/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/includes/Rts.h b/includes/Rts.h index eb11536c193..a1a83397f39 100644 --- a/includes/Rts.h +++ b/includes/Rts.h @@ -6,7 +6,7 @@ * exposes externally. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/RtsAPI.h b/includes/RtsAPI.h index 79c4d8ef53e..488cab5f3f0 100644 --- a/includes/RtsAPI.h +++ b/includes/RtsAPI.h @@ -5,7 +5,7 @@ * API for invoking Haskell functions via the RTS * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * --------------------------------------------------------------------------*/ diff --git a/includes/Stg.h b/includes/Stg.h index 547b36aaeb8..f50c352a7ea 100644 --- a/includes/Stg.h +++ b/includes/Stg.h @@ -19,7 +19,7 @@ * "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/ghc.mk b/includes/ghc.mk index d08ecfbc076..939bf19933f 100644 --- a/includes/ghc.mk +++ b/includes/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/includes/rts/Adjustor.h b/includes/rts/Adjustor.h index 49fd62652dd..efaee2cadef 100644 --- a/includes/rts/Adjustor.h +++ b/includes/rts/Adjustor.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/rts/BlockSignals.h b/includes/rts/BlockSignals.h index 23bc9859e0b..7d0af0aa94c 100644 --- a/includes/rts/BlockSignals.h +++ b/includes/rts/BlockSignals.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/Config.h b/includes/rts/Config.h index 43057773f24..5161dce945c 100644 --- a/includes/rts/Config.h +++ b/includes/rts/Config.h @@ -9,7 +9,7 @@ * NB: THIS FILE IS INCLUDED IN NON-C CODE AND DATA! #defines only please. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/Constants.h b/includes/rts/Constants.h index 2f0ee5b10d0..9364bccae2f 100644 --- a/includes/rts/Constants.h +++ b/includes/rts/Constants.h @@ -13,7 +13,7 @@ * DerivedConstants.h by a C program (mkDerivedConstantsHdr). * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/rts/EventLogWriter.h b/includes/rts/EventLogWriter.h index 347ff5b89c1..5eececd20e8 100644 --- a/includes/rts/EventLogWriter.h +++ b/includes/rts/EventLogWriter.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/FileLock.h b/includes/rts/FileLock.h index 8bc08141cfa..978ccf86b6e 100644 --- a/includes/rts/FileLock.h +++ b/includes/rts/FileLock.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h index 3582e6abde9..41fcf088d13 100644 --- a/includes/rts/Flags.h +++ b/includes/rts/Flags.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/GetTime.h b/includes/rts/GetTime.h index 5b75b01bb8a..53207ce3072 100644 --- a/includes/rts/GetTime.h +++ b/includes/rts/GetTime.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/Globals.h b/includes/rts/Globals.h index 63d26e78144..ff36572c567 100644 --- a/includes/rts/Globals.h +++ b/includes/rts/Globals.h @@ -10,7 +10,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/Hpc.h b/includes/rts/Hpc.h index 58d4813ac14..85d00ca4853 100644 --- a/includes/rts/Hpc.h +++ b/includes/rts/Hpc.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/rts/IOManager.h b/includes/rts/IOManager.h index 5d79a64b000..603cb3f578f 100644 --- a/includes/rts/IOManager.h +++ b/includes/rts/IOManager.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/rts/Linker.h b/includes/rts/Linker.h index 298dc6a3664..06c9402b4fb 100644 --- a/includes/rts/Linker.h +++ b/includes/rts/Linker.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/Messages.h b/includes/rts/Messages.h index c3199b23d9f..a56741e0a81 100644 --- a/includes/rts/Messages.h +++ b/includes/rts/Messages.h @@ -10,7 +10,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/OSThreads.h b/includes/rts/OSThreads.h index d2c4a6a54ef..322624e8ad6 100644 --- a/includes/rts/OSThreads.h +++ b/includes/rts/OSThreads.h @@ -8,7 +8,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * --------------------------------------------------------------------------*/ diff --git a/includes/rts/Parallel.h b/includes/rts/Parallel.h index de1c6e1faed..7577a3967cc 100644 --- a/includes/rts/Parallel.h +++ b/includes/rts/Parallel.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/rts/PrimFloat.h b/includes/rts/PrimFloat.h index 835a18aac48..26b6f7ceece 100644 --- a/includes/rts/PrimFloat.h +++ b/includes/rts/PrimFloat.h @@ -5,7 +5,7 @@ * Primitive floating-point operations * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/Profiling.h b/includes/rts/Profiling.h index f1dafb78f57..b329a493db0 100644 --- a/includes/rts/Profiling.h +++ b/includes/rts/Profiling.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/rts/Signals.h b/includes/rts/Signals.h index d321b0d0c40..d7abbb86c81 100644 --- a/includes/rts/Signals.h +++ b/includes/rts/Signals.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/SpinLock.h b/includes/rts/SpinLock.h index 1dca02f7957..037975268e1 100644 --- a/includes/rts/SpinLock.h +++ b/includes/rts/SpinLock.h @@ -15,7 +15,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/rts/StableName.h b/includes/rts/StableName.h index d43ffcb2f6a..4e4f976dae3 100644 --- a/includes/rts/StableName.h +++ b/includes/rts/StableName.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/StablePtr.h b/includes/rts/StablePtr.h index 0d3642fbfe9..f42c353d2ba 100644 --- a/includes/rts/StablePtr.h +++ b/includes/rts/StablePtr.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/StaticPtrTable.h b/includes/rts/StaticPtrTable.h index 97a17208230..5753e957bd8 100644 --- a/includes/rts/StaticPtrTable.h +++ b/includes/rts/StaticPtrTable.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/rts/TTY.h b/includes/rts/TTY.h index 3555818c4a3..9892571a173 100644 --- a/includes/rts/TTY.h +++ b/includes/rts/TTY.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/rts/Threads.h b/includes/rts/Threads.h index f72f5ed121e..4bb480cf2b4 100644 --- a/includes/rts/Threads.h +++ b/includes/rts/Threads.h @@ -8,7 +8,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/Ticky.h b/includes/rts/Ticky.h index de4e5184307..93043d85141 100644 --- a/includes/rts/Ticky.h +++ b/includes/rts/Ticky.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/Time.h b/includes/rts/Time.h index 12c6d2767dd..00d98b4f098 100644 --- a/includes/rts/Time.h +++ b/includes/rts/Time.h @@ -5,7 +5,7 @@ * Time values in the RTS * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * --------------------------------------------------------------------------*/ diff --git a/includes/rts/Timer.h b/includes/rts/Timer.h index f0a63d8d392..c60cd375907 100644 --- a/includes/rts/Timer.h +++ b/includes/rts/Timer.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/Types.h b/includes/rts/Types.h index 242b831819c..51e8f80e669 100644 --- a/includes/rts/Types.h +++ b/includes/rts/Types.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/Utils.h b/includes/rts/Utils.h index 4ab025b887d..4aee9c3a679 100644 --- a/includes/rts/Utils.h +++ b/includes/rts/Utils.h @@ -6,7 +6,7 @@ * exposes externally. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/prof/CCS.h b/includes/rts/prof/CCS.h index e385a9b8fcf..b296a32b8a4 100644 --- a/includes/rts/prof/CCS.h +++ b/includes/rts/prof/CCS.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/prof/LDV.h b/includes/rts/prof/LDV.h index dc7a0cabdf0..73f77865379 100644 --- a/includes/rts/prof/LDV.h +++ b/includes/rts/prof/LDV.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/rts/storage/MBlock.h b/includes/rts/storage/MBlock.h index 20aed08e82f..3acefda9a0a 100644 --- a/includes/rts/storage/MBlock.h +++ b/includes/rts/storage/MBlock.h @@ -5,7 +5,7 @@ * MegaBlock Allocator interface. * * See wiki commentary at - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/HeapAlloced + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/heap-alloced * * ---------------------------------------------------------------------------*/ diff --git a/includes/stg/DLL.h b/includes/stg/DLL.h index 7ab3594ce1e..0c383c54b1c 100644 --- a/includes/stg/DLL.h +++ b/includes/stg/DLL.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/stg/HaskellMachRegs.h b/includes/stg/HaskellMachRegs.h index c92f6867c1a..7b12d128140 100644 --- a/includes/stg/HaskellMachRegs.h +++ b/includes/stg/HaskellMachRegs.h @@ -8,7 +8,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/stg/MachRegs.h b/includes/stg/MachRegs.h index 8095887c2c5..0afc88152e6 100644 --- a/includes/stg/MachRegs.h +++ b/includes/stg/MachRegs.h @@ -8,7 +8,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h index 0fc904e7701..4cec0b961c7 100644 --- a/includes/stg/MiscClosures.h +++ b/includes/stg/MiscClosures.h @@ -8,12 +8,12 @@ * our Cmm code generator doesn't know how to generate local symbols * for the RTS bits (it assumes all RTS symbols are external). * - * See wiki:Commentary/Compiler/Backends/PprC#Prototypes + * See wiki:commentary/compiler/backends/ppr-c#prototypes * * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * --------------------------------------------------------------------------*/ @@ -487,7 +487,7 @@ RTS_FUN_DECL(stg_setThreadAllocationCounterzh); /* Other misc stuff */ -// See wiki:Commentary/Compiler/Backends/PprC#Prototypes +// See wiki:commentary/compiler/backends/ppr-c#prototypes #if IN_STG_CODE && !IN_STGCRUN diff --git a/includes/stg/Prim.h b/includes/stg/Prim.h index a18e02caeb5..ce691450a11 100644 --- a/includes/stg/Prim.h +++ b/includes/stg/Prim.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/stg/Regs.h b/includes/stg/Regs.h index cf9e3065043..e37ce3eba4a 100644 --- a/includes/stg/Regs.h +++ b/includes/stg/Regs.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/stg/RtsMachRegs.h b/includes/stg/RtsMachRegs.h index e1233a1a55a..dff389aa93d 100644 --- a/includes/stg/RtsMachRegs.h +++ b/includes/stg/RtsMachRegs.h @@ -8,7 +8,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/includes/stg/SMP.h b/includes/stg/SMP.h index 229115e725d..16761516ac7 100644 --- a/includes/stg/SMP.h +++ b/includes/stg/SMP.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/stg/Ticky.h b/includes/stg/Ticky.h index 2341dba88b3..d6911062779 100644 --- a/includes/stg/Ticky.h +++ b/includes/stg/Ticky.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/includes/stg/Types.h b/includes/stg/Types.h index 91ad4469935..f270686ebc7 100644 --- a/includes/stg/Types.h +++ b/includes/stg/Types.h @@ -8,7 +8,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * NOTE: assumes #include "ghcconfig.h" * diff --git a/libffi/Makefile b/libffi/Makefile index ac398bdec2e..8364a38faeb 100644 --- a/libffi/Makefile +++ b/libffi/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/libffi/ghc.mk b/libffi/ghc.mk index 6bc88974617..a127612a296 100644 --- a/libffi/ghc.mk +++ b/libffi/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/libraries/base/Data/Coerce.hs b/libraries/base/Data/Coerce.hs index bb98393210e..9bd7f9a41ae 100644 --- a/libraries/base/Data/Coerce.hs +++ b/libraries/base/Data/Coerce.hs @@ -14,7 +14,7 @@ -- Safe coercions between data types. -- -- More in-depth information can be found on the --- <https://ghc.haskell.org/trac/ghc/wiki/Roles Roles wiki page> +-- <https://gitlab.haskell.org/ghc/ghc/wikis/roles Roles wiki page> -- -- @since 4.7.0.0 ----------------------------------------------------------------------------- diff --git a/libraries/base/Data/Typeable.hs b/libraries/base/Data/Typeable.hs index c9a8711d794..ba0650c8f2d 100644 --- a/libraries/base/Data/Typeable.hs +++ b/libraries/base/Data/Typeable.hs @@ -36,7 +36,7 @@ -- Since GHC 7.8, 'Typeable' is poly-kinded. The changes required for this might -- break some old programs involving 'Typeable'. More details on this, including -- how to fix your code, can be found on the --- <https://ghc.haskell.org/trac/ghc/wiki/GhcKinds/PolyTypeable PolyTypeable wiki page> +-- <https://gitlab.haskell.org/ghc/ghc/wikis/ghc-kinds/poly-typeable PolyTypeable wiki page> -- ----------------------------------------------------------------------------- diff --git a/libraries/base/GHC/OverloadedLabels.hs b/libraries/base/GHC/OverloadedLabels.hs index 7e27cf6bf42..df0cde2f578 100644 --- a/libraries/base/GHC/OverloadedLabels.hs +++ b/libraries/base/GHC/OverloadedLabels.hs @@ -19,7 +19,7 @@ -- -- This module defines the 'IsLabel' class is used by the -- @OverloadedLabels@ extension. See the --- <https://ghc.haskell.org/trac/ghc/wiki/Records/OverloadedRecordFields/OverloadedLabels wiki page> +-- <https://gitlab.haskell.org/ghc/ghc/wikis/records/overloaded-record-fields/overloaded-labels wiki page> -- for more details. -- -- When @OverloadedLabels@ is enabled, if GHC sees an occurrence of diff --git a/libraries/base/GHC/Records.hs b/libraries/base/GHC/Records.hs index 0292f3ae80c..8ac8b680e25 100644 --- a/libraries/base/GHC/Records.hs +++ b/libraries/base/GHC/Records.hs @@ -17,7 +17,7 @@ -- -- This module defines the 'HasField' class used by the -- @OverloadedRecordFields@ extension. See the --- <https://ghc.haskell.org/trac/ghc/wiki/Records/OverloadedRecordFields +-- <https://gitlab.haskell.org/ghc/ghc/wikis/records/overloaded-record-fields -- wiki page> for more details. -- ----------------------------------------------------------------------------- diff --git a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs index 2465014e484..8c4ff256a9f 100644 --- a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs +++ b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs @@ -111,7 +111,7 @@ type Closure = GenClosure Box -- fields are the payload. -- -- See --- <https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/HeapObjects> +-- <https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/heap-objects> -- for more information. data GenClosure b = -- | A data constructor diff --git a/libraries/integer-gmp/changelog.md b/libraries/integer-gmp/changelog.md index 036b14cdcd5..33586f4ef21 100644 --- a/libraries/integer-gmp/changelog.md +++ b/libraries/integer-gmp/changelog.md @@ -32,7 +32,7 @@ * Bundled with GHC 7.10.1 * Complete rewrite of `integer-gmp`. For more details, see - https://ghc.haskell.org/trac/ghc/wiki/Design/IntegerGmp2 + https://gitlab.haskell.org/ghc/ghc/wikis/design/integer-gmp2 ## 0.5.1.0 *Feb 2014* @@ -40,7 +40,7 @@ * Improved Haddock documentation - * New [PrimBool](https://ghc.haskell.org/trac/ghc/wiki/PrimBool) + * New [PrimBool](https://gitlab.haskell.org/ghc/ghc/wikis/prim-bool) versions of comparison predicates in `GHC.Integer`: eqInteger# :: Integer -> Integer -> Int# diff --git a/libraries/integer-gmp/gmp/ghc.mk b/libraries/integer-gmp/gmp/ghc.mk index 2a9f3ebfc04..5c34691207a 100644 --- a/libraries/integer-gmp/gmp/ghc.mk +++ b/libraries/integer-gmp/gmp/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/libraries/integer-gmp/src/GHC/Integer.hs b/libraries/integer-gmp/src/GHC/Integer.hs index 00c26b0a7b3..6a0d16d5537 100644 --- a/libraries/integer-gmp/src/GHC/Integer.hs +++ b/libraries/integer-gmp/src/GHC/Integer.hs @@ -53,7 +53,7 @@ module GHC.Integer ( -- -- | These operations return @0#@ and @1#@ instead of 'False' and -- 'True' respectively. See - -- <https://ghc.haskell.org/trac/ghc/wiki/PrimBool PrimBool wiki-page> + -- <https://gitlab.haskell.org/ghc/ghc/wikis/prim-bool PrimBool wiki-page> -- for more details eqInteger#, neqInteger#, leInteger#, gtInteger#, ltInteger#, geInteger#, diff --git a/libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs b/libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs index 1d86fc1ff35..6eb88bd9437 100644 --- a/libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs +++ b/libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs @@ -29,7 +29,7 @@ -- if called with invalid arguments. -- -- See also --- <https://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/Integer GHC Commentary: Libraries/Integer>. +-- <https://gitlab.haskell.org/ghc/ghc/wikis/commentary/libraries/integer GHC Commentary: Libraries/Integer>. module GHC.Integer.GMP.Internals ( -- * The 'Integer' type diff --git a/libraries/integer-simple/GHC/Integer/Type.hs b/libraries/integer-simple/GHC/Integer/Type.hs index 33178932b6c..cdbeb86a709 100644 --- a/libraries/integer-simple/GHC/Integer/Type.hs +++ b/libraries/integer-simple/GHC/Integer/Type.hs @@ -3,7 +3,7 @@ UnliftedFFITypes #-} -- Commentary of Integer library is located on the wiki: --- http://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/Integer +-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/libraries/integer -- -- It gives an in-depth description of implementation details and -- decisions. diff --git a/libraries/libiserv/Makefile b/libraries/libiserv/Makefile index f160978c19a..88656e7853a 100644 --- a/libraries/libiserv/Makefile +++ b/libraries/libiserv/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/libraries/template-haskell/Language/Haskell/TH/Lib/Internal.hs b/libraries/template-haskell/Language/Haskell/TH/Lib/Internal.hs index b08b31c4fe2..9b9c016c889 100644 --- a/libraries/template-haskell/Language/Haskell/TH/Lib/Internal.hs +++ b/libraries/template-haskell/Language/Haskell/TH/Lib/Internal.hs @@ -759,13 +759,13 @@ sourceLazy = return SourceLazy sourceStrict = return SourceStrict {-# DEPRECATED isStrict - ["Use 'bang'. See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0. ", + ["Use 'bang'. See https://gitlab.haskell.org/ghc/ghc/wikis/migration/8.0. ", "Example usage: 'bang noSourceUnpackedness sourceStrict'"] #-} {-# DEPRECATED notStrict - ["Use 'bang'. See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0. ", + ["Use 'bang'. See https://gitlab.haskell.org/ghc/ghc/wikis/migration/8.0. ", "Example usage: 'bang noSourceUnpackedness noSourceStrictness'"] #-} {-# DEPRECATED unpacked - ["Use 'bang'. See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0. ", + ["Use 'bang'. See https://gitlab.haskell.org/ghc/ghc/wikis/migration/8.0. ", "Example usage: 'bang sourceUnpack sourceStrict'"] #-} isStrict, notStrict, unpacked :: Q Strict isStrict = bang noSourceUnpackedness sourceStrict diff --git a/mk/build.mk.sample b/mk/build.mk.sample index 0f5bc222f2f..80457b6a475 100644 --- a/mk/build.mk.sample +++ b/mk/build.mk.sample @@ -96,7 +96,7 @@ endif #GhcRtsHcOpts += -g3 # Build the "extra" packages (see ./packages). This enables more tests. See: -# https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running#AdditionalPackages +# https://gitlab.haskell.org/ghc/ghc/wikis/building/running-tests/running#additional-packages #BUILD_EXTRA_PKGS=YES # Uncomment the following to force `integer-gmp` to use the in-tree GMP 6.1.2 diff --git a/mk/compiler-ghc.mk b/mk/compiler-ghc.mk index f936cc6c5ce..739f6157d5a 100644 --- a/mk/compiler-ghc.mk +++ b/mk/compiler-ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/mk/config.mk.in b/mk/config.mk.in index 0fc6d4dd16e..79191af52e0 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -556,7 +556,7 @@ INSTALL_GHC_STAGE= $(if $(filter YES,$(Stage1Only)),1,2) # 4 CrossCompiling=YES Stage1Only=NO # Cross-compiling GHC itself. See [1]. # -# [1] https://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling +# [1] https://gitlab.haskell.org/ghc/ghc/wikis/building/cross-compiling # Note [Stage1Only vs stage=1] # diff --git a/mk/project.mk.in b/mk/project.mk.in index d620ed5a61a..5cc2e4aeb17 100644 --- a/mk/project.mk.in +++ b/mk/project.mk.in @@ -73,7 +73,7 @@ ProjectGitCommitId = @ProjectGitCommitId@ # - In the compiler itself, we should test HOST or TARGET depending # on whether the conditional relates to the code being generated, or # the platform on which the compiler is running. See the section -# on "Coding Style" in the commentary for more details. +# on "coding-style" in the commentary for more details. # # - In all other code, we should be testing HOST only. # diff --git a/mk/warnings.mk b/mk/warnings.mk index 9775df7093a..323ea75898e 100644 --- a/mk/warnings.mk +++ b/mk/warnings.mk @@ -5,7 +5,7 @@ SRC_HC_OPTS += -Wall # validate may unnecessarily fail when booting with an older compiler. # It would be better to only exclude certain warnings from becoming errors # (e.g. '-Werror -Wno-error=unused-imports -Wno-error=...'), but -Wno-error -# isn't supported yet (https://ghc.haskell.org/trac/ghc/wiki/Design/Warnings). +# isn't supported yet (https://gitlab.haskell.org/ghc/ghc/wikis/design/warnings). # # See Note [Stage number in build variables] in mk/config.mk.in. SRC_HC_OPTS_STAGE1 += $(WERROR) diff --git a/rts/Capability.h b/rts/Capability.h index 05a827c7b9e..dc1c6c2073f 100644 --- a/rts/Capability.h +++ b/rts/Capability.h @@ -5,7 +5,7 @@ * Capabilities * * For details on the high-level design, see - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Scheduler + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/scheduler * * A Capability holds all the state an OS thread/task needs to run * Haskell code: its STG registers, a pointer to its TSO, a nursery diff --git a/rts/Interpreter.c b/rts/Interpreter.c index 3450780ba5e..e4b9d5696e4 100644 --- a/rts/Interpreter.c +++ b/rts/Interpreter.c @@ -426,7 +426,7 @@ eval_obj: // pointer to a FUN is tagged on the stack or elsewhere, // so we fix the tag here. (#13767) // For full details of the invariants on tagging, see - // https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/HaskellExecution/PointerTagging + // https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/haskell-execution/pointer-tagging tagged_obj = newEmptyPAP(cap, arity <= TAG_MASK diff --git a/rts/Libdw.h b/rts/Libdw.h index 5fd1c9522c4..28c6312f7a8 100644 --- a/rts/Libdw.h +++ b/rts/Libdw.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * -------------------------------------------------------------------------- */ diff --git a/rts/Makefile b/rts/Makefile index 09ff7ea6b56..d6a9db37574 100644 --- a/rts/Makefile +++ b/rts/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rts/StaticPtrTable.c b/rts/StaticPtrTable.c index 997987a2ce6..f5e6239ad03 100644 --- a/rts/StaticPtrTable.c +++ b/rts/StaticPtrTable.c @@ -3,8 +3,8 @@ * * The Static Pointer Table implementation. * - * https://ghc.haskell.org/trac/ghc/wiki/StaticPointers - * https://ghc.haskell.org/trac/ghc/wiki/StaticPointers/ImplementationPlan + * https://gitlab.haskell.org/ghc/ghc/wikis/static-pointers + * https://gitlab.haskell.org/ghc/ghc/wikis/static-pointers/implementation-plan * */ diff --git a/rts/Task.h b/rts/Task.h index 0410407a60b..88b567ab876 100644 --- a/rts/Task.h +++ b/rts/Task.h @@ -5,7 +5,7 @@ * Tasks * * For details on the high-level design, see - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Scheduler + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/scheduler * * -------------------------------------------------------------------------*/ diff --git a/rts/Ticky.c b/rts/Ticky.c index 45870979809..55df113d5db 100644 --- a/rts/Ticky.c +++ b/rts/Ticky.c @@ -353,7 +353,7 @@ printRegisteredCounterInfo (FILE *tf) StgEntCounter *p; if ( ticky_entry_ctrs != NULL ) { - fprintf(tf,"\nThe following table is explained by http://ghc.haskell.org/trac/ghc/wiki/Debugging/TickyTicky\nAll allocation numbers are in bytes.\n"); + fprintf(tf,"\nThe following table is explained by https://gitlab.haskell.org/ghc/ghc/wikis/debugging/ticky-ticky\nAll allocation numbers are in bytes.\n"); fprintf(tf,"\n**************************************************\n\n"); } fprintf(tf, "%11s%11s%11s %-23s %s\n", diff --git a/rts/ghc.mk b/rts/ghc.mk index ff3f18f30cd..ae4dcd840cf 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- @@ -511,7 +511,7 @@ rts/win32/ThrIOManager_CC_OPTS += -w # The above warning suppression flags are a temporary kludge. # While working on this module you are encouraged to remove it and fix # any warnings in the module. See -# http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +# https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions#Warnings # for details # Without this, thread_obj will not be inlined (at least on x86 with GCC 4.1.0) diff --git a/rts/hooks/Hooks.h b/rts/hooks/Hooks.h index 24500f19e71..5b36f7637c7 100644 --- a/rts/hooks/Hooks.h +++ b/rts/hooks/Hooks.h @@ -7,7 +7,7 @@ * Do not #include this file directly: #include "Rts.h" instead. * * To understand the structure of the RTS headers, see the wiki: - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/CNF.h b/rts/sm/CNF.h index 6482130d2b3..53772334832 100644 --- a/rts/sm/CNF.h +++ b/rts/sm/CNF.h @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/Compact.c b/rts/sm/Compact.c index 77523aea089..3bfefa7ceb5 100644 --- a/rts/sm/Compact.c +++ b/rts/sm/Compact.c @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/Compact.h b/rts/sm/Compact.h index 570de7a3407..db50807217c 100644 --- a/rts/sm/Compact.h +++ b/rts/sm/Compact.h @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/Evac.c b/rts/sm/Evac.c index 289031945d3..b4050512a6d 100644 --- a/rts/sm/Evac.c +++ b/rts/sm/Evac.c @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/Evac.h b/rts/sm/Evac.h index 11f505c5263..168af89bd41 100644 --- a/rts/sm/Evac.h +++ b/rts/sm/Evac.h @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/GC.c b/rts/sm/GC.c index 0544fd29da9..5aa2d1bc85c 100644 --- a/rts/sm/GC.c +++ b/rts/sm/GC.c @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/GC.h b/rts/sm/GC.h index 437a25f8d9e..43cc4ca8a16 100644 --- a/rts/sm/GC.h +++ b/rts/sm/GC.h @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/GCTDecl.h b/rts/sm/GCTDecl.h index d3717d1e458..8306795ade3 100644 --- a/rts/sm/GCTDecl.h +++ b/rts/sm/GCTDecl.h @@ -5,7 +5,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/GCThread.h b/rts/sm/GCThread.h index e865dabe5d3..66f604d6cc3 100644 --- a/rts/sm/GCThread.h +++ b/rts/sm/GCThread.h @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/GCUtils.c b/rts/sm/GCUtils.c index 31b2913a376..02c26ddf5ea 100644 --- a/rts/sm/GCUtils.c +++ b/rts/sm/GCUtils.c @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/GCUtils.h b/rts/sm/GCUtils.h index 8b6040769e0..a71d6dcb923 100644 --- a/rts/sm/GCUtils.h +++ b/rts/sm/GCUtils.h @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * --------------------------------------------------------------------------*/ diff --git a/rts/sm/HeapAlloc.h b/rts/sm/HeapAlloc.h index 1d9d23758af..cd41adfe4d8 100644 --- a/rts/sm/HeapAlloc.h +++ b/rts/sm/HeapAlloc.h @@ -17,7 +17,7 @@ It needs to be FAST. See wiki commentary at - http://ghc.haskell.org/trac/ghc/wiki/Commentary/HeapAlloced + https://gitlab.haskell.org/ghc/ghc/wikis/commentary/heap-alloced Implementation of HEAP_ALLOCED ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/rts/sm/MarkStack.h b/rts/sm/MarkStack.h index 51eee5770d0..ca519f871f4 100644 --- a/rts/sm/MarkStack.h +++ b/rts/sm/MarkStack.h @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/MarkWeak.c b/rts/sm/MarkWeak.c index 3aa28878b74..d5982e2f646 100644 --- a/rts/sm/MarkWeak.c +++ b/rts/sm/MarkWeak.c @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/MarkWeak.h b/rts/sm/MarkWeak.h index 2756cb06e2b..305134be64c 100644 --- a/rts/sm/MarkWeak.h +++ b/rts/sm/MarkWeak.h @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/Scav.c b/rts/sm/Scav.c index 36592af8878..73a790e9eda 100644 --- a/rts/sm/Scav.c +++ b/rts/sm/Scav.c @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/Scav.h b/rts/sm/Scav.h index 6d265a7f407..21ca691bff0 100644 --- a/rts/sm/Scav.h +++ b/rts/sm/Scav.h @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/ShouldCompact.h b/rts/sm/ShouldCompact.h index d80076460ff..43e53e9fc7d 100644 --- a/rts/sm/ShouldCompact.h +++ b/rts/sm/ShouldCompact.h @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c index 4636bf45e37..71864585f6d 100644 --- a/rts/sm/Storage.c +++ b/rts/sm/Storage.c @@ -7,7 +7,7 @@ * Documentation on the architecture of the Storage Manager can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/Sweep.c b/rts/sm/Sweep.c index 2cf8399a3b7..d6634dcb16e 100644 --- a/rts/sm/Sweep.c +++ b/rts/sm/Sweep.c @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rts/sm/Sweep.h b/rts/sm/Sweep.h index 02cda8df692..25bfef42c3b 100644 --- a/rts/sm/Sweep.h +++ b/rts/sm/Sweep.h @@ -7,7 +7,7 @@ * Documentation on the architecture of the Garbage Collector can be * found in the online commentary: * - * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC + * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc * * ---------------------------------------------------------------------------*/ diff --git a/rules/add-dependency.mk b/rules/add-dependency.mk index 037f7f1a261..1b5a666e86f 100644 --- a/rules/add-dependency.mk +++ b/rules/add-dependency.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/all-target.mk b/rules/all-target.mk index 769ab99f6d5..52fbc02b1e9 100644 --- a/rules/all-target.mk +++ b/rules/all-target.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/bindist.mk b/rules/bindist.mk index 49d8aa4d347..af3b144222b 100644 --- a/rules/bindist.mk +++ b/rules/bindist.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk index 1905a0e4d67..3a7491fe519 100644 --- a/rules/build-dependencies.mk +++ b/rules/build-dependencies.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk index af1ead8099c..49c54461d2d 100644 --- a/rules/build-package-data.mk +++ b/rules/build-package-data.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk index 122ec60a90c..187d9c848d2 100644 --- a/rules/build-package-way.mk +++ b/rules/build-package-way.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/build-package.mk b/rules/build-package.mk index c29155c5824..e8af273ad04 100644 --- a/rules/build-package.mk +++ b/rules/build-package.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/build-prog.mk b/rules/build-prog.mk index 4ea93e93d56..bc37110bd54 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/c-objs.mk b/rules/c-objs.mk index b43cd0bff67..415998ab60c 100644 --- a/rules/c-objs.mk +++ b/rules/c-objs.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/c-sources.mk b/rules/c-sources.mk index f9a99bdbc8b..87ee7b23a56 100644 --- a/rules/c-sources.mk +++ b/rules/c-sources.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/c-suffix-rules.mk b/rules/c-suffix-rules.mk index 9b4e3de2fcb..d405d155c03 100644 --- a/rules/c-suffix-rules.mk +++ b/rules/c-suffix-rules.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/clean-target.mk b/rules/clean-target.mk index 6a7704657a5..8b37624af7f 100644 --- a/rules/clean-target.mk +++ b/rules/clean-target.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/cmm-objs.mk b/rules/cmm-objs.mk index 350e2838374..dc517cbf34d 100644 --- a/rules/cmm-objs.mk +++ b/rules/cmm-objs.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/cmm-suffix-rules.mk b/rules/cmm-suffix-rules.mk index 28324119381..ecf7bcba4bd 100644 --- a/rules/cmm-suffix-rules.mk +++ b/rules/cmm-suffix-rules.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/dependencies.mk b/rules/dependencies.mk index 8c029316f68..4aae78e4e36 100644 --- a/rules/dependencies.mk +++ b/rules/dependencies.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/distdir-opts.mk b/rules/distdir-opts.mk index b8f10bb2ca0..fe329c1d316 100644 --- a/rules/distdir-opts.mk +++ b/rules/distdir-opts.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/distdir-way-opts.mk b/rules/distdir-way-opts.mk index de2e45d4b90..692f21a70f3 100644 --- a/rules/distdir-way-opts.mk +++ b/rules/distdir-way-opts.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/foreachLibrary.mk b/rules/foreachLibrary.mk index be79fccc520..dddd61a899f 100644 --- a/rules/foreachLibrary.mk +++ b/rules/foreachLibrary.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/haddock.mk b/rules/haddock.mk index 37182bcbe62..f0d686194fe 100644 --- a/rules/haddock.mk +++ b/rules/haddock.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/hi-rule.mk b/rules/hi-rule.mk index 2920609d49c..be4a460abe7 100644 --- a/rules/hi-rule.mk +++ b/rules/hi-rule.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- @@ -20,7 +20,7 @@ # they depend on have not changed. # # See: -# http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance +# https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance # # So how do we express this dependency to make? The exact form of # this rule is quite fragile. Here are some versions that don't work diff --git a/rules/hs-objs.mk b/rules/hs-objs.mk index 8af18f4aa03..f46e5273432 100644 --- a/rules/hs-objs.mk +++ b/rules/hs-objs.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/hs-sources.mk b/rules/hs-sources.mk index 20c286dcbef..1df4ed7a894 100644 --- a/rules/hs-sources.mk +++ b/rules/hs-sources.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/hs-suffix-rules-srcdir.mk b/rules/hs-suffix-rules-srcdir.mk index e909db5b423..d7143053ee7 100644 --- a/rules/hs-suffix-rules-srcdir.mk +++ b/rules/hs-suffix-rules-srcdir.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/hs-suffix-way-rules-srcdir.mk b/rules/hs-suffix-way-rules-srcdir.mk index 18bf35324e3..78c1be18f43 100644 --- a/rules/hs-suffix-way-rules-srcdir.mk +++ b/rules/hs-suffix-way-rules-srcdir.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/hs-suffix-way-rules.mk b/rules/hs-suffix-way-rules.mk index b77806f42d7..286e04eee73 100644 --- a/rules/hs-suffix-way-rules.mk +++ b/rules/hs-suffix-way-rules.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/include-dependencies.mk b/rules/include-dependencies.mk index e505636a3d9..7d4c38b73bd 100644 --- a/rules/include-dependencies.mk +++ b/rules/include-dependencies.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/includes-sources.mk b/rules/includes-sources.mk index 369985f073b..fca114bffd6 100644 --- a/rules/includes-sources.mk +++ b/rules/includes-sources.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/library-path.mk b/rules/library-path.mk index dbfd4be2262..9a398eebf06 100644 --- a/rules/library-path.mk +++ b/rules/library-path.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/make-command.mk b/rules/make-command.mk index 761bdfc5f73..17d09215254 100644 --- a/rules/make-command.mk +++ b/rules/make-command.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/manual-package-config.mk b/rules/manual-package-config.mk index fe3a5e3b082..2fc6dea5d30 100644 --- a/rules/manual-package-config.mk +++ b/rules/manual-package-config.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/package-config.mk b/rules/package-config.mk index a75f611517f..4d9737f05d4 100644 --- a/rules/package-config.mk +++ b/rules/package-config.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/prof.mk b/rules/prof.mk index b278142a6db..5733b415cac 100644 --- a/rules/prof.mk +++ b/rules/prof.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/sdist-ghc-file.mk b/rules/sdist-ghc-file.mk index d6a70e10fbd..99264488c48 100644 --- a/rules/sdist-ghc-file.mk +++ b/rules/sdist-ghc-file.mk @@ -3,8 +3,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/shell-wrapper.mk b/rules/shell-wrapper.mk index bdab6e289d4..37d01e6ecd0 100644 --- a/rules/shell-wrapper.mk +++ b/rules/shell-wrapper.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/sphinx.mk b/rules/sphinx.mk index 32ef3e4fb5b..43dff6177bc 100644 --- a/rules/sphinx.mk +++ b/rules/sphinx.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/trace.mk b/rules/trace.mk index 860cd8f2458..ec92fea1d51 100644 --- a/rules/trace.mk +++ b/rules/trace.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/rules/way-prelims.mk b/rules/way-prelims.mk index 75a23df6320..4709149dff4 100644 --- a/rules/way-prelims.mk +++ b/rules/way-prelims.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/testsuite/README.md b/testsuite/README.md index 278a668e867..3032c739793 100644 --- a/testsuite/README.md +++ b/testsuite/README.md @@ -44,4 +44,4 @@ The various ways that GHC supports are defined in `config/ghc` Please see the more extensive documentation [here][1]. - [1]: http://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests + [1]: https://gitlab.haskell.org/ghc/ghc/wikis/building/running-tests diff --git a/testsuite/driver/README.md b/testsuite/driver/README.md index 9324fd3df65..a6646ae37f9 100644 --- a/testsuite/driver/README.md +++ b/testsuite/driver/README.md @@ -130,4 +130,4 @@ you checkout that commit and run the testsuite (or test). * Additionally, one will want to look at `compile_and_run`, `simple_run`, and `simple_build` in testutil.py - [1]: http://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests + [1]: https://gitlab.haskell.org/ghc/ghc/wikis/building/running-tests diff --git a/testsuite/tests/deriving/should_fail/T11509_1.hs b/testsuite/tests/deriving/should_fail/T11509_1.hs index 369f51ad397..d684e64fc90 100644 --- a/testsuite/tests/deriving/should_fail/T11509_1.hs +++ b/testsuite/tests/deriving/should_fail/T11509_1.hs @@ -17,7 +17,7 @@ import GHC.StaticPtr {------------------------------------------------------------------------------- Standard Cloud-Haskell-like infrastructure - See <https://ghc.haskell.org/trac/ghc/wiki/TypeableT> for a dicussion of 'SC'. + See <https://gitlab.haskell.org/ghc/ghc/wikis/typeable-t> for a dicussion of 'SC'. -------------------------------------------------------------------------------} class Serializable a -- empty class, just for demonstration purposes diff --git a/testsuite/tests/typecheck/should_compile/TcCoercibleCompile.hs b/testsuite/tests/typecheck/should_compile/TcCoercibleCompile.hs index 96220897e0c..49ad7bb5b29 100644 --- a/testsuite/tests/typecheck/should_compile/TcCoercibleCompile.hs +++ b/testsuite/tests/typecheck/should_compile/TcCoercibleCompile.hs @@ -5,7 +5,7 @@ import Data.Coerce import Data.Proxy import Data.Monoid (First(First)) -- check whether the implicit use of First is noted --- see https://ghc.haskell.org/trac/ghc/wiki/Design/NewCoercibleSolver/V2 +-- see https://gitlab.haskell.org/ghc/ghc/wikis/design/new-coercible-solver/v2 foo1 :: f a -> f a foo1 = coerce diff --git a/utils/check-api-annotations/ghc.mk b/utils/check-api-annotations/ghc.mk index 61f896d3d7a..413d433ce51 100644 --- a/utils/check-api-annotations/ghc.mk +++ b/utils/check-api-annotations/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/check-ppr/ghc.mk b/utils/check-ppr/ghc.mk index 189b4471713..08e4062256d 100644 --- a/utils/check-ppr/ghc.mk +++ b/utils/check-ppr/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/deriveConstants/Makefile b/utils/deriveConstants/Makefile index ec372314473..26f1432444b 100644 --- a/utils/deriveConstants/Makefile +++ b/utils/deriveConstants/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/deriveConstants/ghc.mk b/utils/deriveConstants/ghc.mk index e2789991c11..98c8633666f 100644 --- a/utils/deriveConstants/ghc.mk +++ b/utils/deriveConstants/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/gen-dll/Makefile b/utils/gen-dll/Makefile index 8b17a7ec761..215b80d60a0 100644 --- a/utils/gen-dll/Makefile +++ b/utils/gen-dll/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/gen-dll/ghc.mk b/utils/gen-dll/ghc.mk index 5b4ba3a3984..77c75f07ed6 100644 --- a/utils/gen-dll/ghc.mk +++ b/utils/gen-dll/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/genapply/Main.hs b/utils/genapply/Main.hs index 7038dc5c09b..f35897ba9d4 100644 --- a/utils/genapply/Main.hs +++ b/utils/genapply/Main.hs @@ -8,7 +8,7 @@ -- The above warning suppression flags are a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See --- http://ghc.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings +-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/coding-style#warnings -- for details module Main(main) where diff --git a/utils/genapply/Makefile b/utils/genapply/Makefile index 1d94fcdb73d..cc76328b703 100644 --- a/utils/genapply/Makefile +++ b/utils/genapply/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/genapply/ghc.mk b/utils/genapply/ghc.mk index e0e58865212..88b34442751 100644 --- a/utils/genapply/ghc.mk +++ b/utils/genapply/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/genprimopcode/Makefile b/utils/genprimopcode/Makefile index 11eff3146ee..1e35f27228e 100644 --- a/utils/genprimopcode/Makefile +++ b/utils/genprimopcode/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/genprimopcode/ghc.mk b/utils/genprimopcode/ghc.mk index 790c75dbb2b..47250711a91 100644 --- a/utils/genprimopcode/ghc.mk +++ b/utils/genprimopcode/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/ghc-cabal/Makefile b/utils/ghc-cabal/Makefile index c405314e612..88396b2e976 100644 --- a/utils/ghc-cabal/Makefile +++ b/utils/ghc-cabal/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk index 9e403758faf..3de7a627988 100644 --- a/utils/ghc-cabal/ghc.mk +++ b/utils/ghc-cabal/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/ghc-pkg/Makefile b/utils/ghc-pkg/Makefile index 57fe1445a91..9a3a1cf20b7 100644 --- a/utils/ghc-pkg/Makefile +++ b/utils/ghc-pkg/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/ghc-pkg/ghc.mk b/utils/ghc-pkg/ghc.mk index 4d5ef4e1086..a063e0b7873 100644 --- a/utils/ghc-pkg/ghc.mk +++ b/utils/ghc-pkg/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/hp2ps/Makefile b/utils/hp2ps/Makefile index 7b31d72494f..12c397c6acd 100644 --- a/utils/hp2ps/Makefile +++ b/utils/hp2ps/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/hp2ps/ghc.mk b/utils/hp2ps/ghc.mk index 21ce87dcfa8..bd62fbedefb 100644 --- a/utils/hp2ps/ghc.mk +++ b/utils/hp2ps/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/hpc/Makefile b/utils/hpc/Makefile index 378b063b9e6..b8707773ade 100644 --- a/utils/hpc/Makefile +++ b/utils/hpc/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/hpc/ghc.mk b/utils/hpc/ghc.mk index f70be945995..9b2bce238ea 100644 --- a/utils/hpc/ghc.mk +++ b/utils/hpc/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/iserv-proxy/Makefile b/utils/iserv-proxy/Makefile index dec92996f78..2ce8bf84d49 100644 --- a/utils/iserv-proxy/Makefile +++ b/utils/iserv-proxy/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/iserv-proxy/ghc.mk b/utils/iserv-proxy/ghc.mk index b90a96a1fa6..479b72e9b02 100644 --- a/utils/iserv-proxy/ghc.mk +++ b/utils/iserv-proxy/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/iserv/Makefile b/utils/iserv/Makefile index 361985852fa..6d14213bacf 100644 --- a/utils/iserv/Makefile +++ b/utils/iserv/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/iserv/ghc.mk b/utils/iserv/ghc.mk index 194621a85c1..74f90e60b7a 100644 --- a/utils/iserv/ghc.mk +++ b/utils/iserv/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/mkdirhier/Makefile b/utils/mkdirhier/Makefile index a27cf2b461f..363ccd1cd14 100644 --- a/utils/mkdirhier/Makefile +++ b/utils/mkdirhier/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/mkdirhier/ghc.mk b/utils/mkdirhier/ghc.mk index 2e3a301c9ad..a574b868611 100644 --- a/utils/mkdirhier/ghc.mk +++ b/utils/mkdirhier/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/remote-iserv/Makefile b/utils/remote-iserv/Makefile index c659a21a208..23054135caf 100644 --- a/utils/remote-iserv/Makefile +++ b/utils/remote-iserv/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/remote-iserv/ghc.mk b/utils/remote-iserv/ghc.mk index db8f32fc22c..f0cd9ffa499 100644 --- a/utils/remote-iserv/ghc.mk +++ b/utils/remote-iserv/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/runghc/Makefile b/utils/runghc/Makefile index 01b3b53e295..91230eceb28 100644 --- a/utils/runghc/Makefile +++ b/utils/runghc/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/runghc/ghc.mk b/utils/runghc/ghc.mk index 50b11a612ef..65a3ca88d6d 100644 --- a/utils/runghc/ghc.mk +++ b/utils/runghc/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/touchy/Makefile b/utils/touchy/Makefile index a16e48bc9a7..c0eb696cc6e 100644 --- a/utils/touchy/Makefile +++ b/utils/touchy/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/touchy/ghc.mk b/utils/touchy/ghc.mk index e1ac2745c50..9c093c19cf5 100644 --- a/utils/touchy/ghc.mk +++ b/utils/touchy/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/unlit/Makefile b/utils/unlit/Makefile index 24bd615b262..5a6bdc35460 100644 --- a/utils/unlit/Makefile +++ b/utils/unlit/Makefile @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/utils/unlit/ghc.mk b/utils/unlit/ghc.mk index 0560aa57b82..fe38cbbd0fd 100644 --- a/utils/unlit/ghc.mk +++ b/utils/unlit/ghc.mk @@ -5,8 +5,8 @@ # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see -# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture -# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying +# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture +# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying # # ----------------------------------------------------------------------------- diff --git a/validate b/validate index 8ceaa6105d6..6b529cf55bf 100755 --- a/validate +++ b/validate @@ -7,7 +7,7 @@ show_help () { Usage: $0 [FLAGS]... Validate GHC source tree against testsuite; see -http://ghc.haskell.org/trac/ghc/wiki/TestingPatches for more +https://gitlab.haskell.org/ghc/ghc/wikis/testing-patches for more information. Flags: @@ -160,7 +160,7 @@ echo "ValidateHpc=$hpc" >> mk/are-validating.mk # Note [Default build system verbosity]. # -# From https://ghc.haskell.org/trac/ghc/wiki/Design/BuildSystem: +# From https://gitlab.haskell.org/ghc/ghc/wikis/design/build-system: # # "The build system should clearly report what it's doing (and sometimes # why), without being too verbose. It should emit actual command lines as -- GitLab