Skip to content

Commit 93578d7

Browse files
committed
more NamedPipe -> Pipe renaming, and update helpdb
1 parent a4d084f commit 93578d7

File tree

3 files changed

+155
-27
lines changed

3 files changed

+155
-27
lines changed

contrib/julia.lang

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,11 @@
309309
<keyword>MmapArrayInfo</keyword>
310310
<keyword>Module</keyword>
311311
<keyword>NTuple</keyword>
312-
<keyword>NamedPipe</keyword>
313312
<keyword>(Getfield|Goto|Label|LineNumber|Quote)Node</keyword>
314313
<keyword>NotFound</keyword>
315314
<keyword>OS_FD</keyword>
316315
<keyword>ObjectIdDict</keyword>
316+
<keyword>Pipe</keyword>
317317
<keyword>PollingFileWatcher</keyword>
318318
<keyword>Process(Chain(OrNot)?|Group)?</keyword>
319319
<keyword>Ptr</keyword>

doc/helpdb.jl

+153-25
Original file line numberDiff line numberDiff line change
@@ -1496,6 +1496,20 @@
14961496
14971497
"),
14981498

1499+
("I/O","Base","readbytes!","readbytes!(stream, b::Vector{Uint8}, nb=length(b))
1500+
1501+
Read at most nb bytes from the stream into b, returning the number
1502+
of bytes read (increasing the size of b as needed).
1503+
1504+
"),
1505+
1506+
("I/O","Base","readbytes","readbytes(stream, nb=typemax(Int))
1507+
1508+
Read at most nb bytes from the stream, returning a Vector{Uint8} of
1509+
the bytes read.
1510+
1511+
"),
1512+
14991513
("I/O","Base","position","position(s)
15001514
15011515
Get the current position of a stream.
@@ -1586,7 +1600,7 @@
15861600
15871601
"),
15881602

1589-
("Network I/O","Base","connect","connect(path) -> NamedPipe
1603+
("Network I/O","Base","connect","connect(path) -> Pipe
15901604
15911605
Connect to the Named Pipe/Domain Socket at \"path\"
15921606
@@ -1667,26 +1681,6 @@
16671681
16681682
"),
16691683

1670-
("I/O","Base","readbytes!","readbytes!(stream, b::Vector{Uint8}, nb=length(b))
1671-
1672-
Read up to nb bytes from the stream into b, returning the
1673-
number of bytes read (increasing the size of b as needed).
1674-
1675-
"),
1676-
1677-
("I/O","Base","readbytes","readbytes(stream, nb=typemax(Int))
1678-
1679-
Read at most nb bytes from the stream, returning a
1680-
Vector{Uint8} of the bytes read.
1681-
1682-
"),
1683-
1684-
("Text I/O","Base","readall","readall(stream)
1685-
1686-
Read the entire contents of an I/O stream as a string.
1687-
1688-
"),
1689-
16901684
("Text I/O","Base","readline","readline(stream)
16911685
16921686
Read a single line of text, including a trailing newline character
@@ -4102,7 +4096,7 @@
41024096

41034097
("Statistics","Base","std","std(v[, region])
41044098
4105-
Compute the sample standard deviation of a vector or array``v``,
4099+
Compute the sample standard deviation of a vector or array \"v\",
41064100
optionally along dimensions in \"region\". The algorithm returns an
41074101
estimator of the generative distribution's standard deviation under
41084102
the assumption that each entry of \"v\" is an IID draw from that
@@ -4120,7 +4114,7 @@
41204114

41214115
("Statistics","Base","var","var(v[, region])
41224116
4123-
Compute the sample variance of a vector or array``v``, optionally
4117+
Compute the sample variance of a vector or array \"v\", optionally
41244118
along dimensions in \"region\". The algorithm will return an
41254119
estimator of the generative distribution's variance under the
41264120
assumption that each entry of \"v\" is an IID draw from that
@@ -4155,8 +4149,8 @@
41554149
41564150
Compute the histogram of \"v\" using a vector/range \"e\" as the
41574151
edges for the bins. The result will be a vector of length
4158-
\"length(e) - 1\", with the \"i``th element being ``sum(e[i] .< v
4159-
.<= e[i+1])\".
4152+
\"length(e) - 1\", such that the element at location \"i\"
4153+
satisfies \"sum(e[i] .< v .<= e[i+1])\".
41604154
41614155
"),
41624156

@@ -5826,6 +5820,140 @@
58265820
58275821
"),
58285822

5823+
("Graphics","Base","Vec2","Vec2(x, y)
5824+
5825+
Creates a point in two dimensions
5826+
5827+
"),
5828+
5829+
("Graphics","Base","BoundingBox","BoundingBox(xmin, xmax, ymin, ymax)
5830+
5831+
Creates a box in two dimensions with the given edges
5832+
5833+
"),
5834+
5835+
("Graphics","Base","BoundingBox","BoundingBox(objs...)
5836+
5837+
Creates a box in two dimensions that encloses all objects
5838+
5839+
"),
5840+
5841+
("Graphics","Base","width","width(obj)
5842+
5843+
Computes the width of an object
5844+
5845+
"),
5846+
5847+
("Graphics","Base","height","height(obj)
5848+
5849+
Computes the height of an object
5850+
5851+
"),
5852+
5853+
("Graphics","Base","xmin","xmin(obj)
5854+
5855+
Computes the minimum x-coordinate contained in an object
5856+
5857+
"),
5858+
5859+
("Graphics","Base","xmax","xmax(obj)
5860+
5861+
Computes the maximum x-coordinate contained in an object
5862+
5863+
"),
5864+
5865+
("Graphics","Base","ymin","ymin(obj)
5866+
5867+
Computes the minimum y-coordinate contained in an object
5868+
5869+
"),
5870+
5871+
("Graphics","Base","ymax","ymax(obj)
5872+
5873+
Computes the maximum y-coordinate contained in an object
5874+
5875+
"),
5876+
5877+
("Graphics","Base","diagonal","diagonal(obj)
5878+
5879+
Return the length of the diagonal of an object
5880+
5881+
"),
5882+
5883+
("Graphics","Base","aspect_ratio","aspect_ratio(obj)
5884+
5885+
Compute the height/width of an object
5886+
5887+
"),
5888+
5889+
("Graphics","Base","center","center(obj)
5890+
5891+
Return the point in the center of an object
5892+
5893+
"),
5894+
5895+
("Graphics","Base","xrange","xrange(obj)
5896+
5897+
Returns a tuple \"(xmin(obj), xmax(obj))\"
5898+
5899+
"),
5900+
5901+
("Graphics","Base","yrange","yrange(obj)
5902+
5903+
Returns a tuple \"(ymin(obj), ymax(obj))\"
5904+
5905+
"),
5906+
5907+
("Graphics","Base","rotate","rotate(obj, angle, origin) -> newobj
5908+
5909+
Rotates an object around origin by the specified angle (radians),
5910+
returning a new object of the same type. Because of type-
5911+
constancy, this new object may not always be a strict geometric
5912+
rotation of the input; for example, if \"obj\" is a \"BoundingBox\"
5913+
the return is the smallest \"BoundingBox\" that encloses the
5914+
rotated input.
5915+
5916+
"),
5917+
5918+
("Graphics","Base","shift","shift(obj, dx, dy)
5919+
5920+
Returns an object shifted horizontally and vertically by the
5921+
indicated amounts
5922+
5923+
"),
5924+
5925+
("Graphics","Base","*","*(obj, s::Real)
5926+
5927+
Scale the width and height of a graphics object, keeping the center
5928+
fixed
5929+
5930+
"),
5931+
5932+
("Graphics","Base","+","+(bb1::BoundingBox, bb2::BoundingBox) -> BoundingBox
5933+
5934+
Returns the smallest box containing both boxes
5935+
5936+
"),
5937+
5938+
("Graphics","Base","deform","deform(bb::BoundingBox, dxmin, dxmax, dymin, dymax)
5939+
5940+
Returns a bounding box with all edges shifted by the indicated
5941+
amounts
5942+
5943+
"),
5944+
5945+
("Graphics","Base","isinside","isinside(bb::BoundingBox, x, y)
5946+
5947+
True if the given point is inside the box
5948+
5949+
"),
5950+
5951+
("Graphics","Base","isinside","isinside(bb::BoundingBox, point)
5952+
5953+
True if the given point is inside the box
5954+
5955+
"),
5956+
58295957

58305958
("Linear Algebra","Base","*","*(A, B)
58315959

doc/stdlib/base.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ Network I/O
10461046

10471047
Connect to the host ``host`` on port ``port``
10481048

1049-
.. function:: connect(path) -> NamedPipe
1049+
.. function:: connect(path) -> Pipe
10501050

10511051
Connect to the Named Pipe/Domain Socket at ``path``
10521052

0 commit comments

Comments
 (0)