Skip to content

Commit

Permalink
Merge branch 'devel' into ringabout-patch-10
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Oct 26, 2023
2 parents 817a863 + 0e45b01 commit 5b93b50
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

- Changed `std/osfiles.copyFile` to allow to specify `bufferSize` instead of a hardcoded one.
- Changed `std/osfiles.copyFile` to use `POSIX_FADV_SEQUENTIAL` hints for kernel-level aggressive sequential read-aheads.
- `std/htmlparser` has been moved to a nimble package, use `nimble` or `atlas` to install it.

[//]: # "Additions:"

Expand Down
3 changes: 2 additions & 1 deletion doc/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,8 @@ it can be modified:

```nim
var x = "123456"
var s: cstring = x
prepareMutation(x) # call `prepareMutation` before modifying the strings
var s: cstring = cstring(x)
s[0] = 'u' # This is ok
```

Expand Down
2 changes: 2 additions & 0 deletions lib/pure/htmlparser.nim
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
## writeFile("output.html", $html)
## ```

{.deprecated: "use `nimble install htmlparser` and import `pkg/htmlparser` instead".}

import strutils, streams, parsexml, xmltree, unicode, strtabs

when defined(nimPreviewSlimSystem):
Expand Down

0 comments on commit 5b93b50

Please sign in to comment.