<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haskell.git/libraries/base/System/Environment.hs, branch wip/stringbuffer</title>
<subtitle>gitlab.haskell.org: ghc/ghc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/'/>
<entry>
<title>Various documentation improvements</title>
<updated>2018-02-14T22:06:36+00:00</updated>
<author>
<name>Sergey Vinokurov</name>
<email>serg.foo@gmail.com</email>
</author>
<published>2018-02-07T21:10:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=df449e1744d59eef7f41e09196629bc01815e984'/>
<id>df449e1744d59eef7f41e09196629bc01815e984</id>
<content type='text'>
 * Fix missing code example in changelog for 8.4.1

 * List 'setEnv' as opposite of 'getEnv'

   It seems best to direct users to use 'System.Environment.setEnv'
   rather than 'System.Posix.Env.putEnv'. This is due to 'setEnv' being
   located in the same module as 'getEnv' and my virtue of working on
   Windows platform, whereas 'putEnv' does not have that quality because
   it's part of the 'unix' package.

 * Reflect in docs the fact that 'readMVar' is not a composition of
   'takeMVVar' and 'putMVar' any more
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * Fix missing code example in changelog for 8.4.1

 * List 'setEnv' as opposite of 'getEnv'

   It seems best to direct users to use 'System.Environment.setEnv'
   rather than 'System.Posix.Env.putEnv'. This is due to 'setEnv' being
   located in the same module as 'getEnv' and my virtue of working on
   Windows platform, whereas 'putEnv' does not have that quality because
   it's part of the 'unix' package.

 * Reflect in docs the fact that 'readMVar' is not a composition of
   'takeMVVar' and 'putMVar' any more
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow Windows to set blank environment variables</title>
<updated>2017-07-31T04:50:52+00:00</updated>
<author>
<name>Habib Alamin</name>
<email>ha.alamin@gmail.com</email>
</author>
<published>2017-07-31T04:48:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=49e334c8ea98cd5ecc81cfe10827538182815723'/>
<id>49e334c8ea98cd5ecc81cfe10827538182815723</id>
<content type='text'>
Test Plan: ./validate on harbormaster

Reviewers: austin, hvr, bgamari, erikd, Phyx

Reviewed By: Phyx

Subscribers: Phyx, rwbarton, thomie

GHC Trac Issues: #12494

Differential Revision: https://phabricator.haskell.org/D3726
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test Plan: ./validate on harbormaster

Reviewers: austin, hvr, bgamari, erikd, Phyx

Reviewed By: Phyx

Subscribers: Phyx, rwbarton, thomie

GHC Trac Issues: #12494

Differential Revision: https://phabricator.haskell.org/D3726
</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize hs_init with UTF8 encoded arguments on Windows.</title>
<updated>2017-07-27T20:16:02+00:00</updated>
<author>
<name>Andreas Klebinger</name>
<email>klebinger.andreas@gmx.at</email>
</author>
<published>2017-07-27T17:16:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=7af0b906116e13fbd90f43f2f6c6b826df2dca77'/>
<id>7af0b906116e13fbd90f43f2f6c6b826df2dca77</id>
<content type='text'>
Summary:
Get utf8 encoded arguments before we call hs_init and use them
instead of ignoring hs_init arguments. This reduces differing
behaviour of the RTS between windows and linux and simplifies
the code involved.

A few testcases were changed to expect the same result on windows
as on linux after the changes.

This fixes #13940.

Test Plan: ./validate

Reviewers: austin, hvr, bgamari, erikd, simonmar, Phyx

Subscribers: Phyx, rwbarton, thomie

GHC Trac Issues: #13940

Differential Revision: https://phabricator.haskell.org/D3739
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Get utf8 encoded arguments before we call hs_init and use them
instead of ignoring hs_init arguments. This reduces differing
behaviour of the RTS between windows and linux and simplifies
the code involved.

A few testcases were changed to expect the same result on windows
as on linux after the changes.

This fixes #13940.

Test Plan: ./validate

Reviewers: austin, hvr, bgamari, erikd, simonmar, Phyx

Subscribers: Phyx, rwbarton, thomie

GHC Trac Issues: #13940

Differential Revision: https://phabricator.haskell.org/D3739
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefer #if defined to #ifdef</title>
<updated>2017-04-29T02:35:04+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2017-04-21T13:16:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=945c45ad50ed31e3acb96fdaafb21640c4669f12'/>
<id>945c45ad50ed31e3acb96fdaafb21640c4669f12</id>
<content type='text'>
Our new CPP linter enforces this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Our new CPP linter enforces this.
</pre>
</div>
</content>
</entry>
<entry>
<title>base: Add handling of -- to getArgs for Windows</title>
<updated>2017-02-23T22:26:44+00:00</updated>
<author>
<name>Andreas Klebinger</name>
<email>klebinger.andreas@gmx.at</email>
</author>
<published>2017-02-23T18:46:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=6ca6a360c2b71d7e0c77a819dc463b37efe7a39d'/>
<id>6ca6a360c2b71d7e0c77a819dc463b37efe7a39d</id>
<content type='text'>
getArgs didn't match the treatmeant of -- in the RTS leading to
inconsistencies between behavior on Windows and other platforms. See #13287.

Reviewers: austin, hvr, bgamari, erikd, simonmar, rwbarton

Reviewed By: bgamari, rwbarton

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3147
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
getArgs didn't match the treatmeant of -- in the RTS leading to
inconsistencies between behavior on Windows and other platforms. See #13287.

Reviewers: austin, hvr, bgamari, erikd, simonmar, rwbarton

Reviewed By: bgamari, rwbarton

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3147
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix memory leak from #12664</title>
<updated>2016-10-07T10:07:13+00:00</updated>
<author>
<name>Bartosz Nitka</name>
<email>niteria@gmail.com</email>
</author>
<published>2016-10-06T12:40:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=e41b9c614984b63c4660018cecde682453e083e5'/>
<id>e41b9c614984b63c4660018cecde682453e083e5</id>
<content type='text'>
This fixes the leak with `setProgArgv`. The problem was
that `setProgArgv` would not free the objects pointed
to by `prog_argc`, `prog_argv` when the globals were
changed resulting in a leak.

The only strictly necessary change is in `rts/RtsFlags.c`, but
the code in `System.Environment` was a bit confusing and not
exception safe, so I refactored it.

Test Plan: ./validate

Reviewers: simonmar, ezyang, austin, hvr, bgamari, erikd

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2576

GHC Trac Issues: #12664
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the leak with `setProgArgv`. The problem was
that `setProgArgv` would not free the objects pointed
to by `prog_argc`, `prog_argv` when the globals were
changed resulting in a leak.

The only strictly necessary change is in `rts/RtsFlags.c`, but
the code in `System.Environment` was a bit confusing and not
exception safe, so I refactored it.

Test Plan: ./validate

Reviewers: simonmar, ezyang, austin, hvr, bgamari, erikd

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2576

GHC Trac Issues: #12664
</pre>
</div>
</content>
</entry>
<entry>
<title>Typofix in System.Environment docs.</title>
<updated>2016-08-16T09:38:02+00:00</updated>
<author>
<name>Edward Z. Yang</name>
<email>ezyang@cs.stanford.edu</email>
</author>
<published>2016-08-16T09:38:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=b222ef7b9bdb42d5aabf94ce0eafe7808a16af39'/>
<id>b222ef7b9bdb42d5aabf94ce0eafe7808a16af39</id>
<content type='text'>
Signed-off-by: Edward Z. Yang &lt;ezyang@cs.stanford.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Edward Z. Yang &lt;ezyang@cs.stanford.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>An assortment of typos</title>
<updated>2015-12-08T15:43:34+00:00</updated>
<author>
<name>Gabor Greif</name>
<email>ggreif@gmail.com</email>
</author>
<published>2015-12-08T15:43:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=d7729c75c666bfeff2a70869c0613ea429202f11'/>
<id>d7729c75c666bfeff2a70869c0613ea429202f11</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert `/Since: .../` to new `@since ...` syntax</title>
<updated>2014-12-16T12:30:08+00:00</updated>
<author>
<name>Herbert Valerio Riedel</name>
<email>hvr@gnu.org</email>
</author>
<published>2014-12-16T11:07:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=554aedab646075e12e53b44df04bcfbccbe03a73'/>
<id>554aedab646075e12e53b44df04bcfbccbe03a73</id>
<content type='text'>
Starting with Haddock 2.16 there's a new built-in support for since-annotations

Note: This exposes a bug in the `@since` implementation (see e.g. `Data.Bits`)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Starting with Haddock 2.16 there's a new built-in support for since-annotations

Note: This exposes a bug in the `@since` implementation (see e.g. `Data.Bits`)
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Foreign.* for Safe Haskell now that they're safe by default</title>
<updated>2014-11-21T21:03:38+00:00</updated>
<author>
<name>David Terei</name>
<email>code@davidterei.com</email>
</author>
<published>2014-11-20T02:00:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=453ce626a32cab3728a640b2299eaeeb30da8862'/>
<id>453ce626a32cab3728a640b2299eaeeb30da8862</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
