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

Missing convert 13532 #13670

Closed
wants to merge 233 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
233 commits
Select commit Hold shift + click to select a range
70ed392
update branch names in version info to release-0.4
JeffBezanson Sep 9, 2015
d523dde
Replace tabs with spaces
nalimilan Sep 9, 2015
eed3b3d
Fix ReST formatting error introduced in c3269b4f
jiahao Sep 10, 2015
e552a1c
Rename duplicated section label introduced in 2967da9b
jiahao Sep 10, 2015
9103ebe
Docs: Define ≈, ≉ for use in LaTeX
jiahao Sep 10, 2015
10cd975
remove uses of deprecated items. fixes #13052
JeffBezanson Sep 10, 2015
39e2493
fix #13037, `haspadding` not set for trailing padding
JeffBezanson Sep 10, 2015
c0be97e
avoid over-allocating Intrinsics.pointerref (missed during hide-the-t…
vtjnash Sep 8, 2015
fe8d92f
Print the value's type help for undocumented bindings
jakebolewski Sep 8, 2015
4d6ca2f
special case help output for functions with no docstrings
jakebolewski Sep 10, 2015
89a7b95
Add real,imag,abs for special matrix types
kshyatt Sep 10, 2015
43cccbc
Manually convert bulleted lists
mbauman Sep 10, 2015
d35b1bf
Fix indentation in basedocs
tkelman Sep 9, 2015
624e558
Remove out of date line numbers from devdocs/init.rst
tkelman Sep 9, 2015
f35a6ff
Fix #13024, sparse & and |
tkelman Sep 9, 2015
476c020
Add a special jldoctest language tag
mbauman Sep 9, 2015
efe89d3
Convert more RST docs to Markdown
mbauman Sep 9, 2015
4a701f5
Convert some more docstrings to Markdown
mbauman Sep 10, 2015
bf70cbc
Remove special handling of jldoctest outside of RST
mbauman Sep 10, 2015
b614a22
Restore doctest, use `A * B` instead of juxtaposition
mbauman Sep 10, 2015
2fcb985
s/prescence/presence/
jbn Sep 10, 2015
7065082
define showerror instead of show for CapturedException and RemoteExce…
JeffBezanson Sep 10, 2015
cf2002a
the immortal rename: String => AbstractString
StefanKarpinski Sep 10, 2015
b121d8a
fix #13021, regression in error message for `Mod.x = val`
JeffBezanson Sep 10, 2015
c984eb7
Teach Markdown how to output inline LaTeX to RST
mbauman Sep 10, 2015
988595b
Convert inline math to markdown
mbauman Sep 10, 2015
fa209a7
Work around backtrace bug
mbauman Sep 11, 2015
baa9bda
+/- interop for the Triangular types
kshyatt Sep 11, 2015
984522e
Don't skip modules during docsearch
MichaelHatherly Sep 11, 2015
52ea004
Fix macro summary display
MichaelHatherly Sep 11, 2015
9d50446
Fix documentation for dense ldltfact and move ldltfact inline. [ci skip]
andreasnoack Sep 9, 2015
b23b11a
Fix documenting baremodules
MichaelHatherly Sep 11, 2015
a0fa6af
Merge pull request #13072 from JuliaLang/tk/backport-rollup
tkelman Sep 13, 2015
9212f3d
Add the calling module name to the warning message
Sep 1, 2015
acacc1a
fix #13083, `Void()`
JeffBezanson Sep 12, 2015
3b43bd8
fix #13059, `reload` and `require` deprecations
JeffBezanson Sep 12, 2015
3c02d6b
scale! test fleshing out
kshyatt Sep 12, 2015
0392513
Misc tests for generic
kshyatt Sep 12, 2015
07e0370
Make mmap tests more consistent in finalizing mmaps when we're done w…
quinnj Sep 11, 2015
b9ee208
Do not use at-test_throw return value in tests
IainNZ Sep 12, 2015
08d9abb
Remove guarantee of at-test_throw return type.
IainNZ Sep 12, 2015
0b1fc45
Fix documenting bitstypes
MichaelHatherly Sep 13, 2015
20fa353
Drop extraneous line and add tests for matmul
kshyatt Sep 12, 2015
a8499df
Convert some docs with `**Example**` to Markdown
dpsanders Sep 12, 2015
f2dc24e
Revert "don't promote Integer^BigInt to BigInt"
ivarne Sep 13, 2015
c7bd4ee
Convert Ac_ldiv_B etc. docs to Markdown
dpsanders Sep 13, 2015
0473ed0
Fix H and T superscripts in latexpdf doc build
dpsanders Sep 13, 2015
ebc24e8
Misc error/binary op tests
kshyatt Sep 13, 2015
5369837
Move ccalltest.c to src, install into private_libdir, ensure symbols …
staticfloat Sep 11, 2015
ed90cb2
On OSX, libraries have .dSYM folders next to them that should be clea…
staticfloat Sep 12, 2015
58a18eb
Cull ccalltest executable as it has outlived its usefulness
staticfloat Sep 13, 2015
40b7a44
Inline Latex for A_mul_Bt etc.
dpsanders Sep 13, 2015
1ec808d
Added test for spones
Sep 14, 2015
a265f49
Describe how to document non-toplevel code
MichaelHatherly Sep 14, 2015
4fad1d9
Update JL_PRIVATE_LIBS for USE_GPL_LIBS=1
nkottary Sep 14, 2015
5fd1844
improve `require` deprecation
JeffBezanson Sep 14, 2015
737ae23
Fix #13127, unable to show local functions
simonster Sep 14, 2015
cfb437a
ucontext64_t is defined under sys/ not machine/ on darwin (fix #13125)
vtjnash Sep 15, 2015
e994ac9
fix #13144, elementwise min and max for > 3 array arguments
JeffBezanson Sep 15, 2015
27b5d9a
add the ability to deprecate bindings. fixes #11200
JeffBezanson Sep 15, 2015
1a817e6
fix #13075, repair repl ^C mechanism
JeffBezanson Sep 15, 2015
06c10cb
test that max() can take 4 or more array arguments (bug #13144)
micklat Sep 15, 2015
f6e6a0e
better deprecation for `int` etc. fixes #12847
JeffBezanson Sep 15, 2015
d470137
Misc tests for special functions
kshyatt Sep 15, 2015
edf3337
add hard new lines to markdown parser
shashi Sep 3, 2015
89b944e
Merge pull request #13107 from JuliaLang/tk/backport-rollup2
tkelman Sep 16, 2015
88e55be
Fix doctests
tkelman Sep 16, 2015
ad71288
Make size and offset in jl_fielddesc_t 32bit length
yuyichao Jun 27, 2015
22eea78
Use wrapper functions for field info access
yuyichao Jun 28, 2015
8744ea6
Support variable length field descriptors
yuyichao Jun 29, 2015
86e9284
Fix overflow check in type construction
yuyichao Sep 1, 2015
d00df05
Add test for constructing huge types.
yuyichao Sep 1, 2015
9afe8fe
use 0.4-latest on appveyor instead of nightly
tkelman Sep 16, 2015
80ca823
Merge pull request #13148 from JuliaLang/yyc/type_size-0.4.0
JeffBezanson Sep 16, 2015
864a113
fix mysterious compiler performance regression
JeffBezanson Sep 16, 2015
a4c887e
Merge pull request #13159 from JuliaLang/s/backport-md-fix
tkelman Sep 17, 2015
9e60bd8
fix #13028
tanmaykm Sep 16, 2015
1af871b
fix #13168, segfault when scheduling an already-finished task
JeffBezanson Sep 16, 2015
0dd43a7
fix tracking of serialization state for Function types
amitmurthy Sep 15, 2015
02a885d
added tests [ci skip]
amitmurthy Sep 16, 2015
abba461
fix serializing functions with cycles, and a bug in serializing Expr
JeffBezanson Sep 16, 2015
2b69ef6
Constify deprecated bindings
tkelman Sep 17, 2015
dcd7ffc
Minor doc fix.
GlenHertz Sep 16, 2015
fc83771
Fix #13175, segfault with 👻 fields
simonster Sep 17, 2015
fcc4eb7
handle passing of Ref{GhostType} to cfunction signature (fix #13031)
vtjnash Sep 16, 2015
a6cf1d3
Makefile src/libccalltest needs to depend on julia-deps target
vtjnash Sep 16, 2015
73e132c
remove leading heisenzero from grisu output (fix #12899, fix #10908, …
vtjnash Sep 17, 2015
a89c40c
Doc: note convention for upper-case Module names
mbauman Sep 17, 2015
f7e3590
Doc: simple typo fix
mbauman Sep 17, 2015
79ffcb6
DOC: missing ncv optional argument in eigs
mzaffalon Sep 17, 2015
18d1507
Improving documentation typo
omus Sep 17, 2015
2ad9701
fix #13183, infinite recursion in compiler via static parameter
JeffBezanson Sep 17, 2015
3596965
basedocs: abstract, bitstype, module, baremodule, macro
catawbasam Sep 17, 2015
2b71231
Fix compiler warning about incompatible pointer types. jl_fptr_t is a…
yuyichao Sep 17, 2015
0c3dd77
fix missing `io` argument to `println` in umfpack
JeffBezanson Sep 17, 2015
f972e6a
add deprecation for Union()
JeffBezanson Sep 17, 2015
efe88f3
Grouped docstrings for FFTW in an if USE_GPL_LIBS block
nkottary Sep 14, 2015
abcc5fb
Moved fft docstrings from helpdb.jl to appropriate files in base/fft/
nkottary Sep 14, 2015
da6e9fa
Moved docstrings for *fft* functions from helpdb.jl to base/dft.jl an…
nkottary Sep 15, 2015
6457fd3
in codegen, use StructRet where appropriate
vtjnash Sep 17, 2015
1c584ea
fix compiler warning
JeffBezanson Sep 17, 2015
df6db8b
fix doctests again
tkelman Sep 17, 2015
dbecaec
Merge pull request #13182 from JuliaLang/tk/backports3
tkelman Sep 18, 2015
fa52609
Tag 0.4.0-rc2
tkelman Sep 18, 2015
30e69b1
microbenchmarks: Fix new location of openblas
jiahao Sep 19, 2015
9a9c723
perf: automate installation of go dependencies
jiahao Sep 19, 2015
4fab72b
Update Go benchmarks to use the gonum suite
btracey Sep 15, 2015
46076df
mandel: Force gcc 4.9.2 to not optimize away the loop at -O1 -O2
jiahao Sep 19, 2015
fd74349
Fix version detection logic for Julia and Fortran
jiahao Sep 19, 2015
c786cc7
Backport of readdlm fix (#13220)
darwindarak Sep 19, 2015
ddee103
add `countlines` change to NEWS
PallHaraldsson Sep 19, 2015
fd76159
doc: pipe -> pipeline
nolta Sep 19, 2015
7070a57
Matlab perf: Modifications for R2015b
jiahao Sep 20, 2015
bdf3cc4
Try fixing c++ compiler warnings about unknown union size. Fix #13172
yuyichao Sep 17, 2015
9460f08
Remove references to GPL methods in markdown/docs
hayd Sep 18, 2015
063ea24
Build in the multiarch directories as well
ginggs Sep 16, 2015
062a9e0
Switch to := , move debian section
ginggs Sep 17, 2015
33e60c4
Extrema tests for log and log1p
kshyatt Sep 20, 2015
d909001
Run NEWS-update
tkelman Sep 20, 2015
d8930a0
Merge pull request #13230 from darwindarak/dd/backport-readdlm-fix
tkelman Sep 20, 2015
6e31f79
perf: add Python 3
jiahao Sep 20, 2015
10fe4b4
Update Go benchmarks to use the Go testing harness
btracey Sep 21, 2015
4104412
Move random number generation inside quicksort loop
btracey Sep 21, 2015
913deb8
Delete unnecessary ResetTimer call
btracey Sep 21, 2015
914ebe6
perf: Switch to Python 3 default
jiahao Sep 20, 2015
9e423ff
Merge pull request #13251 from btracey/patch-5
jiahao Sep 21, 2015
005711f
micro: improve bench, fix cgo build and isolate
kortschak Sep 22, 2015
6156bb7
Merge pull request #13262 from kortschak/fix-go-perf
jiahao Sep 22, 2015
4fd7b9d
Cleanup after merging
jiahao Sep 20, 2015
22ea7e3
Merge pull request #13219 from JuliaLang/cjh/mubench-fix
jiahao Sep 22, 2015
f7eeb1a
perf: minor cleanup of Go blas dependency
jiahao Sep 22, 2015
90da5be
perf: Fix Go dependencies
jiahao Sep 22, 2015
db29983
basedocs #12438 part 4
catawbasam Sep 19, 2015
6662098
Adds description of triple-quoting behavior to manual
ssfrr Sep 21, 2015
09f248f
4-space indent in basedocs
tkelman Sep 23, 2015
48cf35e
Move docsystem to end of sysimg.jl
MichaelHatherly Sep 23, 2015
25b4c0f
adds short paragraph describing the benefits of defining similar() fo…
ssfrr Sep 18, 2015
798f59d
expands discussion of `similar` a bit
ssfrr Sep 18, 2015
674af6c
adds some missing backticks
ssfrr Sep 19, 2015
675920c
fix spacing issue in generated docs
jakebolewski Sep 23, 2015
09f56aa
Workaround incorrect Uint deprecation message
c42f Sep 19, 2015
f0bc6dd
Add reminder to remove Uint deprecation hack
c42f Sep 20, 2015
1bfceb0
add ability to write Rationals to a stream;
s2maki Sep 8, 2015
6f8fe41
don't throw a warning for deprecated bindings when --depwarn=no
jakebolewski Sep 21, 2015
5e4098b
Document that write returns the number of bytes written
hayd Sep 23, 2015
a27a9ae
run genstdlib.jl
tkelman Sep 23, 2015
0cb06e4
Fix reflection macros when using splatting by fixing the splatting br…
andreasnoack Sep 22, 2015
d57d915
Name Start Menu shortcuts more descriptively
Sep 21, 2015
6b88ebe
Make `@deprecate_binding` work with `--depwarn` cmdline flags
jakebolewski Sep 22, 2015
3be2e00
Add FIXME comment
tkelman Sep 24, 2015
73a7189
Fix eigs documentation and move it to the source code
andreasnoack Sep 23, 2015
6916dc2
fix #13302, parsing destructuring assignment in catch block
JeffBezanson Sep 24, 2015
14fb0a7
Fix #13261, isvatuple MethodError in inference
simonster Sep 22, 2015
ad4a961
fix regression in error line numbers
JeffBezanson Sep 25, 2015
4eb0b2c
Fix testall rule when libdirs move
staticfloat Sep 25, 2015
ae847dc
Start of the doc quest
kshyatt Sep 15, 2015
6555749
docs: fix missing newline after code-block directive [skip ci]
StefanKarpinski Sep 25, 2015
2978621
docs: fix missing newline at the source (cf 14e8880ffdee9bed0b53b6)
StefanKarpinski Sep 25, 2015
0dcde3b
package docs: s/INSTALLED/REQUIRE/
tkelman Sep 25, 2015
09db424
attempt to fix osx backtrace test failure
tkelman Sep 26, 2015
c24a85e
Merge pull request #13312 from JuliaLang/sf/whitespacessavesface
tkelman Sep 27, 2015
71dde8b
Remove docs for methods that are not backported to 0.4 yet
tkelman Sep 27, 2015
b05849f
Fix encoding of DFT docs
mbauman Sep 27, 2015
80e9af6
Search unexported modules for docstrings
mbauman Sep 27, 2015
0b09c8a
Run genstdlib, remove duplicate gelsy! doc, fix ifft docstring to mat…
mbauman Sep 27, 2015
035d559
Fix doctests
tkelman Sep 27, 2015
085f0dc
Merge pull request #13289 from JuliaLang/tk/backports4
tkelman Sep 27, 2015
483d548
Tag 0.4.0-rc3
tkelman Sep 27, 2015
bb744fd
refactor IO types to be less brittle, more flat, and to fix #12829 an…
vtjnash Aug 28, 2015
82e3ac8
add deprecation for AsyncStream
vtjnash Sep 12, 2015
4a9f00c
improve type-inference/codegen for setindex!
vtjnash Sep 17, 2015
6ec9c22
Initialze jl_datatype_t::haspadding. Fix #13331
yuyichao Sep 27, 2015
cbac18e
Fix many GC related bugs
yuyichao Sep 26, 2015
ad00e48
Make jl_static_show non-allocating
yuyichao Sep 27, 2015
009c368
Add documentation for givens, ldltfact!, and eigvals!. Fixes #10526 […
andreasnoack Aug 28, 2015
e97c0f8
Added missing lapack docs
kshyatt Sep 27, 2015
90732c4
Added note about support
kshyatt Sep 28, 2015
13b75de
Minor docsystem refactoring
MichaelHatherly Sep 27, 2015
035c10d
Simplify `@repl` implementation.
MichaelHatherly Sep 27, 2015
1128b7e
Added tests for sparsevec
Sep 28, 2015
00fb151
Added test for gebrd
kshyatt Sep 27, 2015
58d4516
Added fallback and error throwing tests
kshyatt Sep 27, 2015
64c5323
docs: fix wrong indentation causing accidental literal quote blocks
StefanKarpinski Sep 28, 2015
3b72a69
Apply changes from 84204a8b3bd1e80217e600453760fa1f822257e3 in doc so…
tkelman Sep 29, 2015
26388f0
fix #13309: return correct real value from var, varm, etc of complex …
stevengj Sep 28, 2015
2d02387
Make replace use print instead of write
malmaud Sep 28, 2015
06ec851
Modify deprecation of AsyncStream
tkelman Sep 29, 2015
c66b294
README: 0.4 is the new 0.3
jiahao Sep 14, 2015
0e156e3
Documenting macro-generated code
MichaelHatherly Sep 7, 2015
0f09590
Update documenting macro-generated code docs
MichaelHatherly Sep 29, 2015
a1766aa
Early-exit and pass-through tests
kshyatt Sep 29, 2015
d3536a3
docs: various ReStructured text formatting fixes
StefanKarpinski Sep 29, 2015
3cdc2c6
docs: fix another broken RST table
StefanKarpinski Sep 29, 2015
457071c
Support `@doc "" -> f()` syntax early in bootstrap and move windows o…
yuyichao Sep 29, 2015
fef1fb8
Fix inference heuristic hacks
simonster Sep 29, 2015
ce93cfe
move some sparse docs from helpdb.jl
KristofferC Sep 20, 2015
259b2a3
rerun genstdlib.jl
KristofferC Sep 30, 2015
440c8c7
fixups of sparse docs
KristofferC Sep 30, 2015
1f3a6b7
Fix error in type summaries
MichaelHatherly Sep 30, 2015
6be2c57
strip all MD markup when calling docsearch on `Markdown.MD` object
sglyon Sep 30, 2015
020adbb
as discussed in #8734, since we rename the openblas symbols we also n…
stevengj Oct 1, 2015
4fe4fb5
Fix linking to renamed openblas, ref #13407
tkelman Oct 2, 2015
5f8ff74
fix recursive make variable since release-0.4 is not using := everywhere
tkelman Oct 2, 2015
ccb7934
document 2nd argument of hash is UInt
ggggggggg Oct 1, 2015
af573ab
Fix indentation in pkg and replcompletions tests
tkelman Oct 2, 2015
1acbba2
Add error("unexpected") in try-catches that should fail
tkelman Oct 2, 2015
1931681
Actually throw PkgErrors, add Pkg error tests
tkelman Oct 2, 2015
778c5d9
Remove extraneous .tmp in Pkg.pin error paths
tkelman Oct 2, 2015
3b45467
Use Base's getindex in eval_user_input hack
simonster Sep 22, 2015
00579f7
remove a pkg test that needs user credentials
tkelman Oct 3, 2015
125509a
Fix read!(s::IO, a::Vector{UInt8}) to return a
tkelman Oct 3, 2015
1b4308f
fix whitespace at end of doc/stdlib/base.rst
tkelman Oct 3, 2015
cde997c
Merge pull request #13357 from JuliaLang/tk/backports5
tkelman Oct 3, 2015
53ff5fe
Add openssl to the list
staticfloat Oct 3, 2015
e9c9c92
Tag 0.4.0-rc4
tkelman Oct 4, 2015
296bb20
fix appveyor 64 for openblas suffix
tkelman Oct 4, 2015
e70f13e
Show file:line with binding deprecation warning
ihnorton Oct 6, 2015
50dfceb
Replace `Docs.isexpr` with `Meta.isexpr`
MichaelHatherly Oct 6, 2015
7048c40
Add dispatch on parametric types
matthieugomez Oct 5, 2015
faafe2f
Fix gen_call_with_extracted unmatched case
ihnorton Oct 7, 2015
8b63092
Add a test for #13464
tkelman Oct 7, 2015
adb832a
Avoid introducing local variable (and GC frame store) when the inline…
yuyichao Oct 5, 2015
1c1de2b
Fix BigInt parser. Add test for readdlm(BigInt)
yuyichao Oct 7, 2015
205c836
fix doctests
tkelman Oct 8, 2015
0ff703b
Tag v0.4.0
tkelman Oct 8, 2015
70b42a6
Begin the march towards 0.4.1 with a "-pre" mark
tkelman Oct 8, 2015
a33d2eb
[release-0.4] bump version of embedded git for windows
felipenoris Oct 8, 2015
d2ace40
Merge pull request #13501 from felipenoris/fn/git2
tkelman Oct 9, 2015
8de94aa
work around a gcc register allocation error
vtjnash Oct 5, 2015
01fc133
Build with -march=pentium4 on travis and appveyor
tkelman Oct 9, 2015
f8ab4bd
Update name of OpenBLAS library in microbenchmark
jiahao Oct 9, 2015
b34dc4e
improve docs for A_mul_B!
KristofferC Oct 7, 2015
1bb7e10
micro: change LIBBLAS to use LIBBLASNAME
jiahao Oct 9, 2015
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
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ before_install:
sudo add-apt-repository ppa:staticfloat/julia-deps -y;
sudo apt-get update -qq -y;
if [ "$ARCH" = "i686" ]; then
export BUILDOPTS="$BUILDOPTS MARCH=pentium4";
sudo apt-get remove libblas3gf liblapack3gf libarmadillo2 -y;
sudo apt-get install binutils:i386 -y;
sudo apt-get install gcc:i386 g++:i386 make:i386 cpp:i386 g++-4.6:i386 gcc-4.6:i386 libssl-dev:i386 patchelf:i386 gfortran:i386 llvm-3.3-dev:i386 libsuitesparse-dev:i386 libopenblas-dev:i386 libopenblas-base:i386 libblas-dev:i386 liblapack-dev:i386 liblapack3:i386 libarpack2-dev:i386 libarpack2:i386 libfftw3-dev:i386 libgmp-dev:i386 libpcre3-dev:i386 libunwind7-dev:i386 libopenlibm-dev:i386 libmpfr-dev:i386 -y;
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ If you want to edit the body of a method docstring, run the `doc/genstdlib.jl` s
If you want to edit an existing docstring signature, you **first** have to change the signature in the `doc/stdlib` `..function` or `..data` definition (not the auto-generated content) and *then*
edit the helpdb.jl or inline method docstrings. The existing signatures in the `doc/stdlib/*.rst` files are pattern matched to base docstrings and the new content overwrites the content in `doc/stdlib/`.
The signature definitions **must** be in sync or else the pattern match will fail and documentation will be lost in the result.
To add entirely new methods to the `stdlib` documentation, first add the signature in the appropriate `rst/stdlib/*.rst` file before writing the docstring, rebuilding Julia, and re-running `doc/genstdlib.jl`.
To add entirely new methods to the `stdlib` documentation, first add the signature in the appropriate `doc/stdlib/*.rst` file before writing the docstring, rebuilding Julia, and re-running `doc/genstdlib.jl`.

It is encouraged to write all new docstrings in Markdown markup. If you need to write a more complicated docstring that contains cross-references or citations it can be written in a restructured text codeblock.
Many of the existing docstrings are currently restructured text codeblocks and these will be transitioned to Markdown over time. RST codeblocks are delineated with the triple-quote (\`\`\`rst \`\`\`) Makdown codeblock syntax.
Expand Down
1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@ Julia bundles the following external programs and libraries on some platforms:
- [GIT](http://git-scm.com/about/free-and-open-source)
- [ZLIB](http://zlib.net/zlib_license.html)
- [LIBEXPAT](http://expat.cvs.sourceforge.net/viewvc/expat/expat/README)
- [OPENSSL](https://github.com/openssl/openssl/blob/master/LICENSE)
25 changes: 16 additions & 9 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# OPENBLAS build options
OPENBLAS_TARGET_ARCH=
OPENBLAS_SYMBOLSUFFIX=
OPENBLAS_LIBNAMESUFFIX=

# If OPENBLAS_TARGET_ARCH is set, we default to disabling OPENBLAS_DYNAMIC_ARCH
ifneq ($(OPENBLAS_TARGET_ARCH),)
Expand Down Expand Up @@ -100,7 +101,6 @@ USE_GPL_LIBS ?= 1
prefix ?= $(abspath julia-$(JULIA_COMMIT))
bindir = $(prefix)/bin
libdir = $(prefix)/lib
private_libdir = $(libdir)/julia
libexecdir = $(prefix)/libexec
datarootdir = $(prefix)/share
docdir = $(datarootdir)/doc/julia
Expand All @@ -114,7 +114,6 @@ build_prefix = $(JULIAHOME)/usr
build_staging = $(build_prefix)-staging
build_bindir = $(build_prefix)/bin
build_libdir = $(build_prefix)/lib
build_private_libdir = $(build_prefix)/lib/julia
build_libexecdir = $(build_prefix)/libexec
build_datarootdir = $(build_prefix)/share
build_docdir = $(build_datarootdir)/doc/julia
Expand All @@ -123,6 +122,16 @@ build_man1dir = $(build_mandir)/man1
build_includedir = $(build_prefix)/include
build_sysconfdir = $(build_prefix)/etc

# This used for debian packaging, to conform to library layout guidelines
ifeq ($(MULTIARCH_INSTALL), 1)
MULTIARCH = $(shell gcc -print-multiarch)
libdir = $(prefix)/lib/$(MULTIARCH)
build_libdir = $(build_prefix)/lib/$(MULTIARCH)
endif

# Private library directories
private_libdir = $(libdir)/julia
build_private_libdir = $(build_libdir)/julia

# Calculate relative paths to libdir, private_libdir, datarootdir, and sysconfdir
build_libdir_rel = $(shell $(JULIAHOME)/contrib/relative_path.sh $(build_bindir) $(build_libdir))
Expand All @@ -136,13 +145,6 @@ sysconfdir_rel = $(shell $(JULIAHOME)/contrib/relative_path.sh $(bindir) $(sysco
INSTALL_F = $(JULIAHOME)/contrib/install.sh 644
INSTALL_M = $(JULIAHOME)/contrib/install.sh 755

# This used for debian packaging, to conform to library layout guidelines
ifeq ($(MULTIARCH_INSTALL), 1)
MULTIARCH = $(shell gcc -print-multiarch)
private_libdir = $(prefix)/lib/$(MULTIARCH)/julia
libdir = $(prefix)/lib/$(MULTIARCH)/
endif

# LLVM Options
LLVMROOT = $(build_prefix)
LLVM_ASSERTIONS = 0
Expand Down Expand Up @@ -835,6 +837,11 @@ endif
ifeq ($(USE_SYSTEM_BLAS), 0)
ifeq ($(USE_BLAS64), 1)
OPENBLAS_SYMBOLSUFFIX = 64_
OPENBLAS_LIBNAMESUFFIX = 64_
LIBBLAS = -L$(build_shlibdir) -lopenblas$(OPENBLAS_LIBNAMESUFFIX)
LIBLAPACK = $(LIBBLAS)
LIBBLASNAME = libopenblas$(OPENBLAS_LIBNAMESUFFIX)
LIBLAPACKNAME = $(LIBBLASNAME)
endif
endif

Expand Down
24 changes: 16 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ julia-deps: | $(DIRS) $(build_datarootdir)/julia/base $(build_datarootdir)/julia
julia-base: julia-deps $(build_sysconfdir)/julia/juliarc.jl $(build_man1dir)/julia.1
@$(MAKE) $(QUIET_MAKE) -C base

julia-libccalltest:
@$(MAKE) $(QUIET_MAKE) -C test libccalltest
julia-libccalltest: julia-deps
@$(MAKE) $(QUIET_MAKE) -C src libccalltest

julia-src-release julia-src-debug : julia-src-% : julia-deps
@$(MAKE) $(QUIET_MAKE) -C src libjulia-$*
Expand Down Expand Up @@ -202,10 +202,15 @@ $(build_bindir)/stringreplace: contrib/stringreplace.c | $(build_bindir)
JL_LIBS = julia julia-debug

# private libraries, that are installed in $(prefix)/lib/julia
JL_PRIVATE_LIBS = suitesparse_wrapper Rmath
JL_PRIVATE_LIBS = ccalltest
ifeq ($(USE_GPL_LIBS), 1)
JL_PRIVATE_LIBS += suitesparse_wrapper Rmath-julia
endif
ifeq ($(USE_SYSTEM_FFTW),0)
ifeq ($(USE_GPL_LIBS), 1)
JL_PRIVATE_LIBS += fftw3 fftw3f fftw3_threads fftw3f_threads
endif
endif
ifeq ($(USE_SYSTEM_PCRE),0)
JL_PRIVATE_LIBS += pcre
endif
Expand Down Expand Up @@ -238,8 +243,10 @@ ifeq ($(USE_SYSTEM_ARPACK),0)
JL_PRIVATE_LIBS += arpack
endif
ifeq ($(USE_SYSTEM_SUITESPARSE),0)
ifeq ($(USE_GPL_LIBS), 1)
JL_PRIVATE_LIBS += amd camd ccolamd cholmod colamd umfpack spqr suitesparseconfig
endif
endif
ifeq ($(USE_SYSTEM_LLVM),0)
ifeq ($(USE_LLVM_SHLIB),1)
JL_PRIVATE_LIBS += LLVM
Expand Down Expand Up @@ -516,7 +523,7 @@ test: check-whitespace $(JULIA_BUILD_MODE)
@$(MAKE) $(QUIET_MAKE) -C test default JULIA_BUILD_MODE=$(JULIA_BUILD_MODE)

testall: check-whitespace $(JULIA_BUILD_MODE)
cp $(build_prefix)/lib/julia/sys$(JULIA_LIBSUFFIX).$(SHLIB_EXT) local.$(SHLIB_EXT) && $(JULIA_EXECUTABLE) -J local.$(SHLIB_EXT) -e 'true' && rm local.$(SHLIB_EXT)
cp $(build_private_libdir)/sys$(JULIA_LIBSUFFIX).$(SHLIB_EXT) local.$(SHLIB_EXT) && $(JULIA_EXECUTABLE) -J local.$(SHLIB_EXT) -e 'true' && rm local.$(SHLIB_EXT)
@$(MAKE) $(QUIET_MAKE) -C test all JULIA_BUILD_MODE=$(JULIA_BUILD_MODE)

testall1: check-whitespace $(JULIA_BUILD_MODE)
Expand Down Expand Up @@ -546,7 +553,8 @@ ifneq (,$(filter $(ARCH), i386 i486 i586 i686))
7z x -y 7z920.exe 7z.exe 7z.dll && \
../contrib/windows/winrpm.sh http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1 \
"mingw32-libgfortran3 mingw32-libquadmath0 mingw32-libstdc++6 mingw32-libgcc_s_sjlj1 mingw32-libssp0 mingw32-libexpat1 mingw32-zlib1" && \
cp usr/i686-w64-mingw32/sys-root/mingw/bin/*.dll .
cp usr/i686-w64-mingw32/sys-root/mingw/bin/*.dll . && \
$(JLDOWNLOAD) PortableGit.7z https://github.com/git-for-windows/git/releases/download/v2.6.1.windows.1/PortableGit-2.6.1-32-bit.7z.exe
else ifeq ($(ARCH),x86_64)
cd dist-extras && \
$(JLDOWNLOAD) 7z920-x64.msi http://downloads.sourceforge.net/sevenzip/7z920-x64.msi && \
Expand All @@ -555,7 +563,8 @@ else ifeq ($(ARCH),x86_64)
mv _7z.exe 7z.exe && \
../contrib/windows/winrpm.sh http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1 \
"mingw64-libgfortran3 mingw64-libquadmath0 mingw64-libstdc++6 mingw64-libgcc_s_seh1 mingw64-libssp0 mingw64-libexpat1 mingw64-zlib1" && \
cp usr/x86_64-w64-mingw32/sys-root/mingw/bin/*.dll .
cp usr/x86_64-w64-mingw32/sys-root/mingw/bin/*.dll . && \
$(JLDOWNLOAD) PortableGit.7z https://github.com/git-for-windows/git/releases/download/v2.6.1.windows.1/PortableGit-2.6.1-64-bit.7z.exe
else
$(error no win-extras target for ARCH=$(ARCH))
endif
Expand All @@ -567,5 +576,4 @@ endif
chmod a+x 7z.dll && \
$(call spawn,./7z.exe) x -y -onsis nsis-2.46.5-Unicode-setup.exe && \
chmod a+x ./nsis/makensis.exe && \
chmod a+x busybox.exe && \
$(JLDOWNLOAD) PortableGit.7z https://github.com/msysgit/msysgit/releases/download/Git-1.9.5-preview20141217/PortableGit-1.9.5-preview20141217.7z
chmod a+x busybox.exe
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ Library improvements

* Capture groups in regular expressions can now be named using PCRE syntax, `(?P<group_name>...)`. Capture group matches can be accessed by name by indexing a `Match` object with the name of the group ([#11566]).

* `countlines()` now counts all lines, not just non-empty ([#11947]).

* Array and AbstractArray improvements

* New multidimensional iterators and index types for efficient iteration over `AbstractArray`s. Array iteration should generally be written as `for i in eachindex(A) ... end` rather than `for i = 1:length(A) ... end` ([#8432]).
Expand Down Expand Up @@ -1613,6 +1615,7 @@ Too numerous to mention.
[#11849]: https://github.com/JuliaLang/julia/issues/11849
[#11891]: https://github.com/JuliaLang/julia/issues/11891
[#11922]: https://github.com/JuliaLang/julia/issues/11922
[#11947]: https://github.com/JuliaLang/julia/issues/11947
[#11985]: https://github.com/JuliaLang/julia/issues/11985
[#12025]: https://github.com/JuliaLang/julia/issues/12025
[#12031]: https://github.com/JuliaLang/julia/issues/12031
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ First, acquire the source code by cloning the git repository:

Be sure to also configure your system to use the appropriate proxy settings, e.g. by setting the `https_proxy` and `http_proxy` variables.)

By default you will be building the latest unstable version of Julia. However, most users should use the most recent stable version of Julia, which is currently the `0.3` series of releases. You can get this version by changing to the Julia directory and running
By default you will be building the latest unstable version of Julia. However, most users should use the most recent stable version of Julia, which is currently the `0.4` series of releases. You can get this version by changing to the Julia directory and running

git checkout release-0.3
git checkout release-0.4

Now run `make` to build the `julia` executable. To perform a parallel build, use `make -j N` and supply the maximum number of concurrent processes.
When compiled the first time, it will automatically download and build its [external dependencies](#Required-Build-Tools-External-Libraries).
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.0-rc1
0.4.1-pre
2 changes: 1 addition & 1 deletion base/Enums.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ macro enum(T,syms...)
end
blk = quote
# enum definition
bitstype 32 $(esc(T)) <: Enum
Base.@__doc__(bitstype 32 $(esc(T)) <: Enum)
function Base.convert(::Type{$(esc(typename))}, x::Integer)
$(membershiptest(:x, values)) || enum_argument_error($(Expr(:quote, typename)), x)
Intrinsics.box($(esc(typename)), convert(Int32, x))
Expand Down
12 changes: 6 additions & 6 deletions base/REPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export
StreamREPL

import Base:
AsyncStream,
Display,
display,
writemime,
Expand Down Expand Up @@ -58,10 +57,10 @@ function eval_user_input(ast::ANY, backend::REPLBackend)
ans = backend.ans
# note: value wrapped in a non-syntax value to avoid evaluating
# possibly-invalid syntax (issue #6763).
eval(Main, :(ans = $(getindex)($(Any[ans]), 1)))
backend.in_eval = true
eval(Main, :(ans = $(Any[ans])[1]))
backend.in_eval = false
value = eval(Main, ast)
backend.in_eval = false
backend.ans = value
put!(backend.response_channel, (value, nothing))
end
Expand Down Expand Up @@ -160,10 +159,11 @@ immutable REPLBackendRef
response_channel::Channel
end

function run_repl(repl::AbstractREPL)
function run_repl(repl::AbstractREPL, consumer = x->nothing)
repl_channel = Channel(1)
response_channel = Channel(1)
backend = start_repl_backend(repl_channel, response_channel)
consumer(backend)
run_frontend(repl, REPLBackendRef(repl_channel,response_channel))
backend
end
Expand Down Expand Up @@ -884,15 +884,15 @@ end

outstream(s::StreamREPL) = s.stream

StreamREPL(stream::AsyncStream) = StreamREPL(stream, julia_green, Base.text_colors[:white], Base.answer_color())
StreamREPL(stream::IO) = StreamREPL(stream, julia_green, Base.text_colors[:white], Base.answer_color())

answer_color(r::LineEditREPL) = r.envcolors ? Base.answer_color() : r.answer_color
answer_color(r::StreamREPL) = r.answer_color
input_color(r::LineEditREPL) = r.envcolors ? Base.input_color() : r.input_color
input_color(r::StreamREPL) = r.input_color


function run_repl(stream::AsyncStream)
function run_repl(stream::IO)
repl =
@async begin
repl_channel = Channel(1)
Expand Down
9 changes: 6 additions & 3 deletions base/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,13 @@ function getindex{T<:Real}(A::Array, I::Range{T})
end

## Indexing: setindex! ##
setindex!{T}(A::Array{T}, x, i1::Real) = arrayset(A, convert(T,x), to_index(i1))
setindex!{T}(A::Array{T}, x, i1::Real, i2::Real, I::Real...) = arrayset(A, convert(T,x), to_index(i1), to_index(i2), to_indexes(I...)...)
setindex!{T}(A::Array{T}, x, i1::Real) = arrayset(A, convert(T,x)::T, to_index(i1))
setindex!{T}(A::Array{T}, x, i1::Real, i2::Real, I::Real...) = arrayset(A, convert(T,x)::T, to_index(i1), to_index(i2), to_indexes(I...)...)

unsafe_setindex!{T}(A::Array{T}, x, i1::Real, I::Real...) = @inbounds return arrayset(A, convert(T,x), to_index(i1), to_indexes(I...)...)
# Type inference is confused by `@inbounds return ...` and introduces a
# !ispointerfree local variable and a GC frame
unsafe_setindex!{T}(A::Array{T}, x, i1::Real, I::Real...) =
(@inbounds arrayset(A, convert(T,x)::T, to_index(i1), to_indexes(I...)...); A)

# These are redundant with the abstract fallbacks but needed for bootstrap
function setindex!(A::Array, x, I::AbstractVector{Int})
Expand Down
23 changes: 12 additions & 11 deletions base/boot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,17 +211,6 @@ else
end

abstract AbstractString
abstract DirectIndexString <: AbstractString

immutable ASCIIString <: DirectIndexString
data::Array{UInt8,1}
end

immutable UTF8String <: AbstractString
data::Array{UInt8,1}
end

typealias ByteString Union{ASCIIString,UTF8String}

abstract Exception
immutable BoundsError <: Exception
Expand Down Expand Up @@ -257,6 +246,18 @@ type SymbolNode
SymbolNode(name::Symbol, t::ANY) = new(name, t)
end

abstract DirectIndexString <: AbstractString

immutable ASCIIString <: DirectIndexString
data::Array{UInt8,1}
end

immutable UTF8String <: AbstractString
data::Array{UInt8,1}
end

typealias ByteString Union{ASCIIString,UTF8String}

include(fname::ByteString) = ccall(:jl_load_, Any, (Any,), fname)

# constructors for built-in types
Expand Down
2 changes: 1 addition & 1 deletion base/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ function _start()
end
else
_atreplinit(active_repl)
active_repl_backend = REPL.run_repl(active_repl)
REPL.run_repl(active_repl, backend->(global active_repl_backend = backend))
end
end
catch err
Expand Down
3 changes: 1 addition & 2 deletions base/complex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ function read{T<:Real}(s::IO, ::Type{Complex{T}})
Complex{T}(r,i)
end
function write(s::IO, z::Complex)
write(s,real(z))
write(s,imag(z))
write(s,real(z),imag(z))
end

## equality and hashing of complex numbers ##
Expand Down
15 changes: 9 additions & 6 deletions base/datafmt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ import Base: _default_delims, tryparse_internal

export countlines, readdlm, readcsv, writedlm, writecsv

invalid_dlm(::Type{Char}) = reinterpret(Char, 0xfffffffe)
invalid_dlm(::Type{UInt8}) = 0xfe
invalid_dlm(::Type{UInt16}) = 0xfffe
invalid_dlm(::Type{UInt32}) = 0xfffffffe

const invalid_dlm = Char(0xfffffffe)
const offs_chunk_size = 5000

countlines(f::AbstractString,eol::Char='\n') = open(io->countlines(io,eol),f)::Int
Expand All @@ -27,10 +30,10 @@ function countlines(io::IO, eol::Char='\n')
nl
end

readdlm(input, T::Type; opts...) = readdlm(input, invalid_dlm, T, '\n'; opts...)
readdlm(input, T::Type; opts...) = readdlm(input, invalid_dlm(Char), T, '\n'; opts...)
readdlm(input, dlm::Char, T::Type; opts...) = readdlm(input, dlm, T, '\n'; opts...)

readdlm(input; opts...) = readdlm(input, invalid_dlm, '\n'; opts...)
readdlm(input; opts...) = readdlm(input, invalid_dlm(Char), '\n'; opts...)
readdlm(input, dlm::Char; opts...) = readdlm(input, dlm, '\n'; opts...)

readdlm(input, dlm::Char, eol::Char; opts...) = readdlm_auto(input, dlm, Float64, eol, true; opts...)
Expand Down Expand Up @@ -208,7 +211,7 @@ function result{T}(dlmstore::DLMStore{T})
cells = dlmstore.data
sbuff = dlmstore.sbuff

if (lastcol < ncols) || (lastrow < nrows)
if (nrows > 0) && ((lastcol < ncols) || (lastrow < nrows))
while lastrow <= nrows
(lastcol == ncols) && (lastcol = 0; lastrow += 1)
for cidx in (lastcol+1):ncols
Expand All @@ -231,7 +234,7 @@ end


function readdlm_string(sbuff::ByteString, dlm::Char, T::Type, eol::Char, auto::Bool, optsd::Dict)
ign_empty = (dlm == invalid_dlm)
ign_empty = (dlm == invalid_dlm(Char))
quotes = get(optsd, :quotes, true)
comments = get(optsd, :comments, true)
comment_char = get(optsd, :comment_char, '#')
Expand Down Expand Up @@ -365,7 +368,7 @@ function dlm_parse{T,D}(dbuff::T, eol::D, dlm::D, qchar::D, cchar::D, ign_adj_dl
all_ascii = (D <: UInt8) || (isascii(eol) && isascii(dlm) && (!allow_quote || isascii(qchar)) && (!allow_comments || isascii(cchar)))
(T <: UTF8String) && all_ascii && (return dlm_parse(dbuff.data, eol%UInt8, dlm%UInt8, qchar%UInt8, cchar%UInt8, ign_adj_dlm, allow_quote, allow_comments, skipstart, skipblanks, dh))
ncols = nrows = col = 0
is_default_dlm = (dlm == UInt32(invalid_dlm) % D)
is_default_dlm = (dlm == invalid_dlm(D))
error_str = ""
# 0: begin field, 1: quoted field, 2: unquoted field, 3: second quote (could either be end of field or escape character), 4: comment, 5: skipstart
state = (skipstart > 0) ? 5 : 0
Expand Down
Loading