Skip to content

Commit

Permalink
replace Base.Base64 with stdlib Base64 module
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Oct 27, 2017
1 parent dcbc889 commit 205ea95
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 375 deletions.
290 changes: 0 additions & 290 deletions base/base64.jl

This file was deleted.

5 changes: 5 additions & 0 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,11 @@ export conv, conv2, deconv, filt, filt!, xcorr

@deprecate_binding Mmap nothing true ", run `using Mmap` instead"

@deprecate_moved base64encode "Base64" true true
@deprecate_moved base64decode "Base64" true true
@deprecate_moved Base64EncodePipe "Base64" true true
@deprecate_moved Base64DecodePipe "Base64" true true

# PR #21709
@deprecate cov(x::AbstractVector, corrected::Bool) cov(x, corrected=corrected)
@deprecate cov(x::AbstractMatrix, vardim::Int, corrected::Bool) cov(x, vardim, corrected=corrected)
Expand Down
4 changes: 0 additions & 4 deletions base/exports.jl
Original file line number Diff line number Diff line change
Expand Up @@ -716,10 +716,6 @@ export
# strings and text output
ascii,
base,
base64encode,
base64decode,
Base64EncodePipe,
Base64DecodePipe,
startswith,
bin,
bitstring,
Expand Down
4 changes: 2 additions & 2 deletions base/multimedia.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ that binary data is base64-encoded as an ASCII string.
"""
stringmime(m::MIME, x) = istextmime(m) ? reprmime(m, x) : _binstringmime(m, x)

_binstringmime(m::MIME, x) = base64encode(verbose_show, m, x)
_binstringmime(m::MIME, x::Vector{UInt8}) = base64encode(write, x)
_binstringmime(m::MIME, x) = Base64.base64encode(verbose_show, m, x)
_binstringmime(m::MIME, x::Vector{UInt8}) = Base64.base64encode(write, x)

"""
istextmime(m::MIME)
Expand Down
2 changes: 0 additions & 2 deletions base/stream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ abstract type LibuvStream <: IO end
# . +- Pipe
# . +- Process (not exported)
# . +- ProcessChain (not exported)
# +- Base64DecodePipe
# +- Base64EncodePipe
# +- BufferStream
# +- DevNullStream (not exported)
# +- Filesystem.File
Expand Down
Loading

0 comments on commit 205ea95

Please sign in to comment.