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

More test fixes for Julia v0.7/1.0 #106

Merged
merged 20 commits into from
Aug 12, 2018
Merged

Conversation

rdeits
Copy link

@rdeits rdeits commented Aug 11, 2018

@hustf this is a PR against the branch 10aug18_0.7 from #105 . Merging will update that PR rather than master.

With this branch, I have pkg> test WebSockets passing on Julia v0.7.0.

hustf and others added 20 commits June 19, 2018 21:07
mod:   .travis.yml         Don't test v0.6, add v0.7-alpha
mod:   appveyor.yml        Rewrite build script for 0.7-alpha
mod:   test/REQUIRE        Remove JSON, add Requires.
mod:   test/frametest.jl   0.7-alpha syntax not caught by the bot:
                           bits->bitstring
						   BufferStream-> Base.BufferStream
						   info -> @info (not obvious)
						   Conversions (codeunits) are more of a choice.
mod:   test/optional/browsertest.jl Comment:Add JSON manually
mod:   test/runtests.jl    Remove old TODO.
mod:   src/WebSockets.jl   Import Sockets:TCPSocket
                           Add Reinterpreted type for internal methods locked_write, write_fragment
modified:   examples/chat.jl
	modified:   README.md
	modified:   appveyor.yml
	modified:   benchmark/functions_benchmark.jl
	modified:   benchmark/ws_hts.jl
	modified:   examples/chat_explore.jl
	modified:   src/HTTP.jl
	modified:   src/HttpServer.jl
	modified:   src/WebSockets.jl
	modified:   test/REQUIRE
	modified:   test/client_server_test.jl
	modified:   test/client_test.jl
	modified:   test/error_test.jl
	modified:   test/frametest.jl
	modified:   test/handshaketest.jl
	modified:   test/optional/browsertest.jl
	modified:   test/optional/functions_open_browsers.jl
	modified:   test/runtests.jl
@shashi
Copy link
Contributor

shashi commented Aug 11, 2018

Ahhh, I see the code that sets the :socket key to the websocket was commented out: JuliaWeb/Mux.jl@21307698#diff-b726107f20d4adbffd47facf42c7966aR1

@rdeits
Copy link
Author

rdeits commented Aug 11, 2018

Aha! That sounds important 🙂

@@ -1,5 +1,3 @@
HTTP
HttpServer
Requires
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can remove Requires

@hustf hustf merged commit b010976 into JuliaWeb:10aug18_0.7 Aug 12, 2018
@hustf
Copy link
Collaborator

hustf commented Aug 12, 2018

It's easier to review these together, working locally. Merging. Thank you, rdeits.

hustf added a commit that referenced this pull request Aug 12, 2018
* Update examples to fully working state, start dropping HttpServer
modified:   README.md
modified:   REQUIRE
deleted:    examples/chat.jl
modified:   examples/chat_explore.jl
modified:   examples/client_repl_input.jl
modified:   examples/minimal_server_HTTP.jl
modified:   logutils/logutils_ws.jl
modified:   src/HTTP.jl
modified:   src/WebSockets.jl

* More test fixes for Julia v0.7/1.0 (#106)

* Fix deprecations

* Update REQUIRE

* Fix tests not including HTTP and HttpServer
mod:   .travis.yml         Don't test v0.6, add v0.7-alpha
mod:   appveyor.yml        Rewrite build script for 0.7-alpha
mod:   test/REQUIRE        Remove JSON, add Requires.
mod:   test/frametest.jl   0.7-alpha syntax not caught by the bot:
                           bits->bitstring
						   BufferStream-> Base.BufferStream
						   info -> @info (not obvious)
						   Conversions (codeunits) are more of a choice.
mod:   test/optional/browsertest.jl Comment:Add JSON manually
mod:   test/runtests.jl    Remove old TODO.
mod:   src/WebSockets.jl   Import Sockets:TCPSocket
                           Add Reinterpreted type for internal methods locked_write, write_fragment

* modified:   README.md  Drop release version appveyor badge.

* Issue #99
modified:   examples/chat.jl

* Make some more tests work, Requires syntax, general facelift.
	modified:   README.md
	modified:   appveyor.yml
	modified:   benchmark/functions_benchmark.jl
	modified:   benchmark/ws_hts.jl
	modified:   examples/chat_explore.jl
	modified:   src/HTTP.jl
	modified:   src/HttpServer.jl
	modified:   src/WebSockets.jl
	modified:   test/REQUIRE
	modified:   test/client_server_test.jl
	modified:   test/client_test.jl
	modified:   test/error_test.jl
	modified:   test/frametest.jl
	modified:   test/handshaketest.jl
	modified:   test/optional/browsertest.jl
	modified:   test/optional/functions_open_browsers.jl
	modified:   test/runtests.jl

* fix more v0.7 deprecations

* drop HttpServer.jl

* update CI

* start purging HttpServer

* update current state

* purge more httpserver-related code

* remove an unused method

* remove unused method

* more cleanup

* delete more dead code

* update expected error message

* remove unused requirements

* Tests passing locally, delete more HttpServer files.
	deleted:    examples/minimal_server.jl  for HttpServer
	deleted:    src/HttpServer.jl
	modified:   test/REQUIRE
	modified:   test/client_test.jl  Less strict check ECONN.. number

* Update README status.
modified:   README.md

* Reduce warning messages
	modified:   src/HTTP.jl        remove warning 'origin'
	modified:   test/error_test.jl global keyword, import WebsocketHandler

* 	modified:   test/error_test.jl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants