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

[release-0.5] backports for 0.5.0 rc2 #17960

Merged
merged 80 commits into from
Aug 12, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
762a2a9
Fix `jl_static_show` for `bitstype`
yuyichao Aug 4, 2016
c7cc66f
Revert "Revert "Merge pull request #17522 from JuliaLang/jn/reliable-…
tkelman Aug 11, 2016
7306033
Fix #17805, spawn test failure on Windows
tkelman Aug 4, 2016
c573b7b
Fixed doc/conf.py #17813
jw3126 Aug 4, 2016
3d91b01
Moved docs out of helpDB, way more examples
kshyatt Aug 3, 2016
48f7267
Move array documentation out of HelpDB, add examples (#17795)
kshyatt Aug 4, 2016
0e7933d
Added documentation for doctests (#17825)
kshyatt Aug 5, 2016
aee17b6
Move math docs out of HelpDB, more examples, fix typos (#17791)
kshyatt Aug 5, 2016
730c0a3
indices extensions for iterators & collect
timholy Aug 4, 2016
1debda4
Get (c)transpose for vectors working with non-1 indices
timholy Aug 4, 2016
bee5a34
Get atsign-test_approx_eq working for non-1 indices
timholy Aug 4, 2016
3d980ca
Generalize findn and findnz for non-1 indices
timholy Aug 4, 2016
631ff00
Deoptimize TLS access
yuyichao Aug 4, 2016
d594e10
Move docs out of helpDB, make them less verbose.
kshyatt Aug 5, 2016
0bbe027
Add tests for date parsing (#10817)
wookay Aug 5, 2016
df8dcf3
Recognize atom with a file extension.
twadleigh Aug 5, 2016
a403819
AST doc - comparisons now use `call` unless chained
ssfrr Aug 5, 2016
630b862
Clarifies location of Sublime Text editing mode
kadarq Aug 5, 2016
ea617ec
More HelpDB pruning for Bit/SparseArray, more examples
kshyatt Aug 3, 2016
775c34e
Added examples for ones, eye. Fixed up BitArray docs.
kshyatt Aug 4, 2016
6903268
Doctests passed, gave up on ones
kshyatt Aug 4, 2016
b9982cd
Fixed line in helpdb for doctest
kshyatt Aug 5, 2016
907db9f
fix docstring wording
kshyatt Aug 6, 2016
203c34d
Move datafmt docs out, update them a bit
kshyatt Aug 5, 2016
bb40538
Update some function sigs for tasks and events, clear out HelpDB (#17…
kshyatt Aug 7, 2016
87f160c
Bump openlibm.
ViralBShah Aug 6, 2016
eb2f488
Test LibGit2 SSH authentication (#17651)
Keno Aug 7, 2016
8f06a6c
Temporarily disable SSH tests until we can get them working on buildbots
tkelman Aug 11, 2016
7a5e180
Fix copy(region::Tuple) depwarn in FFTW (#17840)
timholy Aug 7, 2016
5b1edb5
More trig docstring cleanout
kshyatt Aug 6, 2016
91a3c42
Remove dupe digamma, fix docstrings
kshyatt Aug 7, 2016
87565d3
Improve fft documentation (#17778)
ranjanan Aug 8, 2016
df978c3
Add Gitter to README (#17878)
ChrisRackauckas Aug 8, 2016
d09dafb
sharper inference of `===` with singletons, e.g. `x===nothing`
JeffBezanson Aug 5, 2016
7b5782b
move the typecache and inference locks to protect more of their globa…
vtjnash Aug 7, 2016
96af21a
make Libuv types RAII with better error handling and bump libuv versi…
vtjnash Aug 4, 2016
0a8b9a2
only run Pipe exhaustion test on unix
vtjnash Aug 6, 2016
3d9c3d1
improve efficiency of Dict and accuracy of age (nee dirty) flag
vtjnash May 4, 2016
25c23b7
split weakkeydict into a separate file
vtjnash Jul 25, 2016
7db1cd9
move Thread support much earlier in bootstrapping
vtjnash Jul 25, 2016
b673748
make WeakKeyDict finalizer usage gc-safe
vtjnash Jul 25, 2016
d5a51e9
Support -I for I::CartesianIndex
timholy Aug 8, 2016
c0936b7
Fix PermutedDimsArrays typo
timholy Aug 8, 2016
66b8bfe
Add more backtrace tests
timholy Aug 8, 2016
8a1cf9b
Faster, indices-aware circshift (and non-allocating circshift!)
timholy Aug 8, 2016
d02d911
Remove export and rst docs for circshift! on release-0.5
tkelman Aug 11, 2016
4adaeee
Add test for @code_typed and @code_lowered (#17892)
ranjanan Aug 9, 2016
43d9f06
Add test for function name being assigned in function (#17835)
ranjanan Aug 9, 2016
9e896c9
Document `@threadcall` (#17915)
amitmurthy Aug 9, 2016
fe1c733
bump openlibm, fixes #17751 (#17912)
simonbyrne Aug 9, 2016
3f2a09d
Revert "Temporary ugly hack to download old versions of winrpm gcc dl…
tkelman Aug 10, 2016
9bc9a47
use inferred type instead of `Union{}` for empty comprehensions
JeffBezanson Aug 5, 2016
916d894
test for #17811, type of e.g. `abs(Integer[])` (#17891)
ranjanan Aug 9, 2016
45c90ef
Refactor credentials yet again
Keno Aug 6, 2016
c0bf573
Don't print an error message if ssh-agent fails
Keno Aug 9, 2016
b6372ab
More examples, cleanup of array and eigen method docs
kshyatt Aug 5, 2016
d986e8f
excluse asc signature files from checksum listing
tkelman Aug 4, 2016
f54dec2
Use sphinx 1.4.5 to fix a linkcheck unicode bug with valgrind doc site
tkelman Aug 4, 2016
1c7c905
Update url's in docs to fix `make -C doc linkcheck`
tkelman Aug 6, 2016
1662aae
Update 0.4 links and Pkg output to 0.5 (backport this commit)
tkelman Aug 6, 2016
a4ee378
doc formatting and add back threadcall note
tkelman Aug 9, 2016
203a8f0
fix spawn test to check exit status of async tasks
vtjnash Aug 9, 2016
032db5f
fix #13529, slowdown with large number of async `sleep` calls
JeffBezanson Jul 27, 2016
b3fd795
fix incorrect bignum rng buffer size [fix #17772] (#17874)
wildart Aug 10, 2016
b39e59d
Patch is picky about newlines at end of file
tkelman Aug 10, 2016
1c5cdfe
Set an RPATH on all libraries requiring fortran in binary-dist (#17901)
Keno Aug 10, 2016
d992f3d
Remove redundant uplo argument in chol family. When using Hermitian (…
andreasnoack Aug 10, 2016
b311b03
Define conj and conj! for for Symmetric and Hermitian. (#17827)
andreasnoack Aug 10, 2016
1bd4fbb
Add cross-release compatibility note to CONTRIBUTING.md (#17911)
ranjanan Aug 10, 2016
058dcea
reword second tag -> find in CONTRIBUTING.md
tkelman Aug 10, 2016
c3cd268
improve heuristic for when to refresh line in the REPL (#17868)
KristofferC Aug 10, 2016
03cf927
fix missing line break in precompile error message
JeffBezanson Aug 10, 2016
826f27b
fix BigInt `ndigits` test
JeffBezanson Aug 10, 2016
aa59b42
fix output of getaddrinfo in networking and streams (#17931)
Aug 11, 2016
84ad7c7
Fix doctest line numbers
tkelman Aug 11, 2016
799af80
license header for weakkeydict.jl
tkelman Aug 11, 2016
a228a7a
Fix typo in libgit2 credentials callback (#17975)
Keno Aug 12, 2016
0eabf45
Revert "Remove redundant uplo argument in chol family. When using Her…
andreasnoack Aug 12, 2016
dccf0cc
Remove redundant uplo argument in chol family. When using Hermitian
andreasnoack Aug 12, 2016
688c3d6
Fix atahn to atanh (#17977)
kshyatt Aug 12, 2016
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
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,22 @@ Julia has a built-in [package manager](https://github.com/JuliaLang/METADATA.jl)

For developers who need to wrap C libraries so that they can be called from Julia, the [Clang.jl](https://github.com/ihnorton/Clang.jl) package can help generate the wrappers automatically from the C header files.

### Package Compatibility Across Releases

Sometimes, you might find that while your package works
on the current release, it might not work on the upcoming release or nightly.
This is due to the fact that some Julia functions (after some discussion)
could be deprecated or removed altogether. This may cause your package to break or
throw a number of deprecation warnings on usage. Therefore it is highly recommended
to port your package to latest Julia release.

However, porting a package to the latest release may cause the package to break on
earlier Julia releases. To maintain compatibility across releases, use
[`Compat.jl`](https://github.com/JuliaLang/Compat.jl/). Find the fix for your package
from the README, and specify the minimum version of Compat that provides the fix
in your REQUIRE file. To find the correct minimum version, refer to
[this guide](https://github.com/JuliaLang/Compat.jl/#tagging-the-correct-minimum-version-of-compat).

### Writing tests

There are never enough tests. Track [code coverage at Coveralls](https://coveralls.io/r/JuliaLang/julia), and help improve it.
Expand Down
22 changes: 4 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ endif
@$(MAKE) -C $(BUILDROOT) -f $(JULIAHOME)/Makefile install
cp $(JULIAHOME)/LICENSE.md $(BUILDROOT)/julia-$(JULIA_COMMIT)
ifneq ($(OS), WINNT)
-$(JULIAHOME)/contrib/fixup-libgfortran.sh $(DESTDIR)$(private_libdir)
-$(CUSTOM_LD_LIBRARY_PATH) PATH=$(PATH):$(build_depsbindir) $(JULIAHOME)/contrib/fixup-libgfortran.sh $(DESTDIR)$(private_libdir)
endif
ifeq ($(OS), Linux)
-$(JULIAHOME)/contrib/fixup-libstdc++.sh $(DESTDIR)$(libdir) $(DESTDIR)$(private_libdir)
Expand All @@ -468,7 +468,7 @@ endif

ifeq ($(OS), WINNT)
[ ! -d $(JULIAHOME)/dist-extras ] || ( cd $(JULIAHOME)/dist-extras && \
cp 7z.exe 7z.dll busybox.exe libexpat-1.dll zlib1.dll libgfortran-3.dll libquadmath-0.dll libstdc++-6.dll libgcc_s_s*-1.dll libssp-0.dll $(BUILDROOT)/julia-$(JULIA_COMMIT)/bin )
cp 7z.exe 7z.dll busybox.exe libexpat-1.dll zlib1.dll $(BUILDROOT)/julia-$(JULIA_COMMIT)/bin )
cd $(BUILDROOT)/julia-$(JULIA_COMMIT)/bin && rm -f llvm* llc.exe lli.exe opt.exe LTO.dll bugpoint.exe macho-dump.exe

# create file listing for uninstall. note: must have Windows path separators and line endings.
Expand Down Expand Up @@ -593,14 +593,7 @@ ifneq (,$(filter $(ARCH), i386 i486 i586 i686))
$(JLDOWNLOAD) http://downloads.sourceforge.net/sevenzip/7z920.exe && \
7z x -y 7z920.exe 7z.exe 7z.dll && \
../contrib/windows/winrpm.sh http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.2 \
"mingw32-libexpat1 mingw32-zlib1" && \
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw32-libgfortran3-5.3.0-1.1.noarch.rpm && \
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw32-libquadmath0-5.3.0-1.1.noarch.rpm && \
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw32-libstdc%2B%2B6-5.3.0-1.1.noarch.rpm && \
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw32-libgcc_s_sjlj1-5.3.0-1.1.noarch.rpm && \
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw32-libssp0-5.3.0-1.1.noarch.rpm && \
for i in *.rpm; do 7z x -y $$i; done && \
for i in *.cpio; do 7z x -y $$i; done && \
"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 .
else ifeq ($(ARCH),x86_64)
cd $(JULIAHOME)/dist-extras && \
Expand All @@ -609,14 +602,7 @@ else ifeq ($(ARCH),x86_64)
mv _7z.dll 7z.dll && \
mv _7z.exe 7z.exe && \
../contrib/windows/winrpm.sh http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.2 \
"mingw64-libexpat1 mingw64-zlib1" && \
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw64-libgfortran3-5.3.0-1.1.noarch.rpm && \
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw64-libquadmath0-5.3.0-1.1.noarch.rpm && \
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw64-libstdc%2B%2B6-5.3.0-1.1.noarch.rpm && \
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw64-libgcc_s_seh1-5.3.0-1.1.noarch.rpm && \
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw64-libssp0-5.3.0-1.1.noarch.rpm && \
for i in *.rpm; do 7z x -y $$i; done && \
for i in *.cpio; do 7z x -y $$i; done && \
"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 .
else
$(error no win-extras target for ARCH=$(ARCH))
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ This is the GitHub repository of Julia source code, including instructions for c
- **Source code:** <https://github.com/JuliaLang/julia>
- **Git clone URL:** <git://github.com/JuliaLang/julia.git>
- **Mailing lists:** <http://julialang.org/community/>
- **Gitter:** <https://gitter.im/JuliaLang/julia>
- **IRC:** <http://webchat.freenode.net/?channels=julia>
- **Code coverage:** <https://coveralls.io/r/JuliaLang/julia>

Expand All @@ -42,7 +43,6 @@ developers may find the notes in [CONTRIBUTING](https://github.com/JuliaLang/jul
- [**StackOverflow**](https://stackoverflow.com/questions/tagged/julia-lang)
- [**Youtube**](https://www.youtube.com/channel/UC9IuUwwE2xdjQUT_LMLONoA)
- [**Twitter**](https://twitter.com/JuliaLanguage)
- [**Google+**](https://plus.google.com/communities/111295162646766639102)
- [**Meetup**](http://julia.meetup.com/)

<a name="Currently-Supported-Platforms"/>
Expand All @@ -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.4` 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.5` series of releases. You can get this version by changing to the Julia directory and running

git checkout release-0.4
git checkout release-0.5

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. (See [Platform Specific Build Notes](https://github.com/JuliaLang/julia#platform-specific-build-notes) for details.)
When compiled the first time, it will automatically download and build its [external dependencies](#Required-Build-Tools-External-Libraries).
Expand Down Expand Up @@ -418,9 +418,10 @@ The following distributions include julia, but the versions may be out of date d

Currently, Julia editing mode support is available for a number of
editors. While Julia modes for
[Emacs](https://github.com/JuliaLang/julia-emacs) and
[Emacs](https://github.com/JuliaLang/julia-emacs),
[Sublime Text](https://github.com/JuliaEditorSupport/Julia-sublime), and
[Vim](https://github.com/JuliaLang/julia-vim) have their own repos,
others such as Textmate, Sublime Text, Notepad++, and Kate, are in
others such as Textmate, Notepad++, and Kate, are in
`contrib/`.

Two major IDEs are supported for Julia: [Juno](http://junolab.org/),
Expand Down
15 changes: 12 additions & 3 deletions base/LineEdit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,19 @@ function edit_replace(s, from, to, str)
end

function edit_insert(s::PromptState, c)
buf = s.input_buffer
function line_size()
p = position(buf)
seek(buf, rsearch(buf.data, '\n', p))
ls = p - position(buf)
seek(buf, p)
return ls
end
str = string(c)
edit_insert(s.input_buffer, str)
if !('\n' in str) && eof(s.input_buffer) &&
((position(s.input_buffer) + sizeof(s.p.prompt) + sizeof(str) - 1) < width(terminal(s)))
edit_insert(buf, str)
offset = s.ias.curs_row == 1 ? sizeof(s.p.prompt) : s.indent
if !('\n' in str) && eof(buf) &&
((line_size() + offset + sizeof(str) - 1) < width(terminal(s)))
# Avoid full update when appending characters to the end
# and an update of curs_row isn't necessary (conservatively estimated)
write(terminal(s), str)
Expand Down
Loading