- 27 Jun, 2014 5 commits
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Herbert Valerio Riedel authored
This introduces an Enum type `ExtBits` for the currently used 32 flags and introduces a type-synonym `ExtsBitmap` for representing a set over `ExtBits`. While at it, the current `Int` was replaced by `Word` to have the compiler catch any missed use-sites. This will make it easy to swap the `Word`-representation of `ExtsBitmap` by something different, such as e.g. a `Word64` Test Plan: successful validate Differential Revision: https://phabricator.haskell.org/D23
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Simon Peyton Jones authored
This was shown up by Trac #9222.
-
Simon Peyton Jones authored
Just a minor refactoring
-
- 26 Jun, 2014 11 commits
-
-
Gabor Greif authored
-
Herbert Valerio Riedel authored
Also set `submodule.<name>.ignore=none` explicitly for the recently converted submodules, as those are not supposed to have untracked/unignored files lying around. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Edward Z. Yang authored
Summary: Normally, -fno-code does not generate interface files. However, if you want to use it to type check over multiple runs of GHC, you will need the interface files to check source files further down the dependency chain; -fwrite-interface does this for you. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: clean validate, and a new test-case Reviewers: simonpj Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D27
-
Austin Seipp authored
As pointed out by Edward, it's probably unreasonable to have the xml docs adhere to 80 columns, so we'll separate out the linters for now. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
tibbe authored
clang chose to not implement this function. See http://llvm.org/bugs/show_bug.cgi?id=8842
-
Joachim Breitner authored
-
Joachim Breitner authored
-
Joachim Breitner authored
as submitted on #9212.
-
- 25 Jun, 2014 6 commits
-
-
Joachim Breitner authored
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Mateusz Kowalczyk authored
Updates submodule
-
Mateusz Kowalczyk authored
Updates submodule
-
Gabor Greif authored
-
Herbert Valerio Riedel authored
Specifically, the following sub-repos/modules are converted: - libffi-tarballs - libraries/array - libraries/deepseq - libraries/directory - libraries/dph - libraries/filepath - libraries/haskell2010 - libraries/haskell98 - libraries/hoopl - libraries/hpc - libraries/old-locale - libraries/old-time - libraries/parallel - libraries/process - libraries/stm - libraries/unix - nofib - utils/hsc2hs N.B. ghc-tarballs is not converted as it will probably be handled differently in the future. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 24 Jun, 2014 7 commits
-
-
Herbert Valerio Riedel authored
The fix in c1035d51 (addressing #9231) was done under the assumption that `Data.Fixed` is used only with power-of-10 `resolution`. This follow-up fixup changes the behavior to be more consistent with the previous behavior in GHC 7.6 For instance, for the following `B7` resolution > data B7 > instance HasResolution B7 where resolution _ = 128 After this patch, the following behavior is now observable: > 1.070 :: Fixed B7 1.062 > 1.062 :: Fixed B7 1.054 > read "1.070" :: Fixed B7 1.062 > read "1.062" :: Fixed B7 1.054 This doesn't provide the desirable "read . show == id" property yet (which didn't hold in GHC 7.6 either), but at least `fromRational` and `read` are consistent. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
tibbe authored
Summary: Add more primops for atomic ops on byte arrays Adds the following primops: * atomicReadIntArray# * atomicWriteIntArray# * fetchSubIntArray# * fetchOrIntArray# * fetchXorIntArray# * fetchAndIntArray# Makes these pre-existing out-of-line primops inline: * fetchAddIntArray# * casIntArray#
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Simon Peyton Jones authored
This is just documentation for the fix to Trac #9161
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Herbert Valerio Riedel authored
`convertFixed` operates under the wrong assumption that `Data.Fixed.resolution` returns a base-10 exponent `e`, whereas it actually returns the power-of-10 value `10^e`. So while the code (that was introduced in 5f19f951 / #7483) happens to compute a correct result by coincidence, it allocates huge integer values in the process (i.e. `10^(10^e)`) which cause long computations which eventually result in out-of-memory conditions for `e`-values beyond `Data.Fixed.Milli`. A proper long-term fix would probably be to extend the `HasResolution` type-class to have a 2nd method providing the `e` value. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org> Differential Revision: https://phabricator.haskell.org/D25
-
- 23 Jun, 2014 11 commits
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Joachim Breitner authored
this seems to be expected, as explained by SPJ in comment 7 of #9208.
-
thomie authored
After this commit, running `sync-all remote set-url` works properly for the haddock package: command: ./sync-all -r git://git.haskell.org remote set-url origin before: git://git.haskell.org/packages/haddock.git after: git://git.haskell.org/haddock.git By doing the `remotepath` lookup before the `$is_github_repo` check, running `sync-all remote set-url` now also works properly for submodule repos on github: command: ./sync-all -r git://github.com/ghc remote set-url origin before: git://github.com/ghc/packages/binary after: git://github.com/ghc/packages-binary * Relevant prior commits: 4f4357 "Make `sync-all remote set-url` use normalized `/packages/` urls" 34b072 "Convert haddock into a proper submodule (re #8545)" 974a97 "sync-all: Apply submodule url rewriting also to stuff in util/"
-
thomie authored
Not only does this make the code easier to read, it also fixes a bug. Starting with commits 691c8a and ccce9f, certain subcommands should behave differently for submodules. This was done by checking, for each such subcommand: $remotepath eq "-" This commit corrects that to the check: $$line{"remotepath"} eq "-". Because when we have a clone of a local mirror (checked_out_tree=1), remotepath actually gets set to $$line{"localpath"}.
-
thomie authored
-
thomie authored
Since commit 0e17d4, the default "tag" is "-", not "". It is never undefined.
-
thomie authored
When running './sync-all get', 'git submodule init' has to be (and is always) executed, since .gitmodules might contain new submodules (see commit c3db2b). As a result, after cloning the ghc repo and running the initial './sync-all get', .git/config will always contain some submodule sections. Therefore it is not needed to check for this on every subsequent get or pull, and this code can be deleted.
-
thomie authored
+ Remove dead code from the DarcsAges + Tweak `git config` flags * remove --local, it is not a valid flag * --get was used in some places, not in others + Simplify reading current branch + Delete duplicated code in help
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
I forgot to amend this to my last commit. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-