Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base: 3af123d328
...
compare: master
Commits on Mar 09, 2012
Gianfranco Alongi Extended the makefile target command for eunit testing.
 it now EUnit tests command.erl as well

Added first test to command parsing

Added code to pass the test
c80c538
Gianfranco Alongi * Modified makefile to include src/ as hrl source
* command.hrl
  hrl with command types to be used internally

* command_tests.erl
  New testcase for parsing binging list command

* command.erl
  implementation for the test
5557248
Gianfranco Alongi * command.erl
  New parse clause for the parse/1 function.

* command.hrl
  New field arguments in #binding{} record

* command_tests.erl
  New testcase for bind type file command
c3e221a
Gianfranco Alongi * Makefile
  Added dialyzer target (finally!)

* command.erl
  Added new parse code for unbind

* command.hrl
  Added new type for type field

* command_tests.erl
  New test for unbind command
167aa41
Gianfranco Alongi * command.erl
  New clause for parsing open port type command

* command.hrl
  New record type #open{}

* command_tests.erl
  New test for open command
d26c276
Gianfranco Alongi * command.erl
  Changed port open parse to return port record

* command.hrl
  Changed open record to port record for port related commands

* command_tests.erl
  Changed the open test to expect a port record
327cbd8
Gianfranco Alongi * command.erl
  Added new close parsing clause

* command.hrl
  Added new possible type 'close' to type field of #port{}

* command_tests.erl
  Added port closing command test
4a801c6
Gianfranco Alongi * command.erl
  Added list port parse clause

* command.hrl
  Added new type in typespec for type field for the #port{} record

* command_tests.erl
  New test for listing ports
3075618
Gianfranco Alongi * one.txt
  Adjusted the text so it's not linewrapped when viewing
  in my console
b6cea9e
Commits on Mar 10, 2012
Gianfranco Alongi New module server.erl
* Makefile
  Added eunit testing of server.erl

* server.erl
  New module that will control the command socket

* server_tests.erl
  Test for starting and stopping the server
0020551
Commits on Mar 11, 2012
Gianfranco Alongi Changed the way the close command is implemented
* server.erl
  Now implements stop with a stop command being sent
  to the socket

* server_tests.erl
  Test that stop command works
0e84335
Gianfranco Alongi Added 'list bind' command test handling 9f75fb8
Gianfranco Alongi Added binding creation and listing test 30840d3
Gianfranco Alongi Added unbind test with functionality to pass the test 24b3b1b
Commits on Mar 12, 2012
Gianfranco Alongi Some test refactoring using fixture 0b82cfb
Gianfranco Alongi Added first port tests, listing ports
* server.erl
  Implementation for returning the available ports

* server_tests.erl
  Added port listing test
2c4333c
Commits on Mar 13, 2012
Gianfranco Alongi Port handling test
* port_tests.erl
  Added test for handling a message on a port

* port.erl
  Passing the input string to the handling module
82cf19f
Gianfranco Alongi Testing of built in echo type 92d682c
Gianfranco Alongi Renaming of commands, making #port{} reachable from server.erl and in…
…ternal modules, and new tests

* Added port open test with send and receive of the result
3d64ff9
Gianfranco Alongi Removed case ladder and pattern matched-out variables from record in …
…state
cbd188a
Gianfranco Alongi Changed spawn to spawn_link and added send rcv test with echo 94d2b1b
Commits on Mar 14, 2012
Gianfranco Alongi Fixed race condition and added send-receive reverse test 5616a67
Commits on Mar 16, 2012
Gianfranco Alongi Added proper closing of opened ports and test with multiple bindings d7165de
Gianfranco Alongi Added port close functionality e1df506
Commits on Mar 18, 2012
Gianfranco Alongi Added sanitization of input string from external socket 974ba8d
Gianfranco Alongi Fixed dialyzer warning fe21e13
Gianfranco Alongi Added a gen_tcp:close/1 to close the accepted socket c33b6b1
Gianfranco Alongi Added problem description a5e5b65
Commits on Mar 19, 2012
Gianfranco Alongi Modified the description bc4e2ba
Commits on Mar 20, 2012
Gianfranco Alongi Added solution architecture scetch - will work according
to this in some rough way
e07dc11
Commits on Mar 21, 2012
Gianfranco Alongi Initial commit together with the first test for creating a named pipe
Also the rebar.config file
85cdf4b
Gianfranco Alongi The stop as well 11e3108
Gianfranco Alongi Fixed some problems eadabea
Gianfranco Alongi Added subscribe to pipe test and operator interface function
get subscribers to pipe
68ed72d
Gianfranco Alongi Added deregister from pipe test 17633e7
Gianfranco Alongi Added subscriber receival test d1910e1
Gianfranco Alongi Added first test for client interface cfff449
Gianfranco Alongi Changed the subscribe notification message be0ddc0
Gianfranco Alongi Added parsing module and tests 9f0b639
Commits on Mar 24, 2012
Gianfranco Alongi Added pipe declaration test for the pipes and
parsing of the message
1134314
Gianfranco Alongi Finally caught the cause to why the tests where failing etc.
The tests where run in parallell sometimes, using strict ordering here!
54cdf0d
Commits on Mar 25, 2012
Gianfranco Alongi Added parsing test for message acking 48e7752
Something went wrong with that request. Please try again.