Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move four modules to graveyard #10248

Merged
merged 5 commits into from
Jan 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## v0.20.0 - XX/XX/2018
## v0.20.0 - XX/XX/2019


### Changes affecting backwards compatibility

Expand Down Expand Up @@ -26,6 +27,7 @@
- `getImpl` on a `var` or `let` symbol will now return the full `IdentDefs`
tree from the symbol declaration instead of just the initializer portion.


#### Breaking changes in the standard library

- `osproc.execProcess` now also takes a `workingDir` parameter.
Expand Down Expand Up @@ -57,6 +59,13 @@

- `isNil` is no longer false for undefined in the JavaScript backend: now it's true for both nil and undefined. Use `isNull` or `isUndefined` if you need exact equallity: `isNil` is consistent with `===`, `isNull` and `isUndefined` with `==`.

- several deprecated modules were removed: `ssl`, `matchers`, `httpserver`,
`unsigned`, `actors`, `parseurl`

- several poorly documented and not used modules were moved to graveyard
(they are available as Nimble packages): `subexes`, `scgi`, `smtp`, `oids`


#### Breaking changes in the compiler

- The compiler now implements the "generic symbol prepass" for `when` statements
Expand Down Expand Up @@ -97,13 +106,16 @@ proc enumToString*(enums: openArray[enum]): string =
is instantiation of generic proc symbol.

- Added the parameter ``isSorted`` for the ``sequtils.deduplicate`` proc.

- There is a new stdlib module `std/diff` to compute the famous "diff"
of two texts by line.

- Added `os.relativePath`.

- Added `parseopt.remainingArgs`.

- Added `os.getCurrentCompilerExe` (implmented as `getAppFilename` at CT),
can be used to retrive the currently executing compiler.
can be used to retrieve the currently executing compiler.


### Library changes
Expand All @@ -128,10 +140,12 @@ proc enumToString*(enums: openArray[enum]): string =
- `os.joinPath` and `os.normalizePath` handle edge cases like ``"a/b/../../.."``
differently.

- `securehash` is moved to `lib/deprecated`


### Language additions

- Vm suport for float32<->int32 and float64<->int64 casts was added.
- Vm support for float32<->int32 and float64<->int64 casts was added.
- There is a new pragma block `noSideEffect` that works like
the `gcsafe` pragma block.
- added os.getCurrentProcessId()
Expand All @@ -140,6 +154,7 @@ proc enumToString*(enums: openArray[enum]): string =
pragmas for further analysis by macros
- Custom pragmas are now supported for `var` and `let` symbols.


### Language changes

- The standard extension for SCF (source code filters) files was changed from
Expand All @@ -161,7 +176,9 @@ proc enumToString*(enums: openArray[enum]): string =
- `nimpretty`: --backup now defaults to `off` instead of `on` and the flag was
un-documented; use `git` instead of relying on backup files.


### Compiler changes
- The deprecated `fmod` proc is now unavailable on the VM'.


### Bugfixes
15 changes: 0 additions & 15 deletions doc/lib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ String handling
Ropes can represent very long strings efficiently; especially concatenation
is done in O(1) instead of O(n).

* `subexes <subexes.html>`_
This module implements advanced string substitution operations.

* `std/editdistance <editdistance.html>`_
This module contains an algorithm to compute the edit distance between two
Unicode strings.
Expand Down Expand Up @@ -233,9 +230,6 @@ Internet Protocols and Support
* `cgi <cgi.html>`_
This module implements helpers for CGI applications.

* `scgi <scgi.html>`_
This module implements helpers for SCGI applications.

* `browsers <browsers.html>`_
This module implements procs for opening URLs with the user's default
browser.
Expand All @@ -244,9 +238,6 @@ Internet Protocols and Support
This module implements a simple HTTP client which supports both synchronous
and asynchronous retrieval of web pages.

* `smtp <smtp.html>`_
This module implement a simple SMTP client.

* `cookies <cookies.html>`_
This module contains helper procs for parsing and generating cookies.

Expand Down Expand Up @@ -381,12 +372,6 @@ Multimedia support
Miscellaneous
-------------

* `oids <oids.html>`_
An OID is a global ID that consists of a timestamp,
a unique counter and a random value. This combination should suffice to
produce a globally distributed unique ID. This implementation was extracted
from the Mongodb interface and it thus binary compatible with a Mongo OID.

* `endians <endians.html>`_
This module contains helpers that deal with different byte orders.

Expand Down
93 changes: 0 additions & 93 deletions lib/pure/oids.nim

This file was deleted.

Loading