From 34bb79359905dc81b7e4d2de7923ccd10ca8436d Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Fri, 7 Oct 2011 14:36:20 +0200 Subject: [PATCH] Added license.lic and copyright to Javier --- library/configuration/http_server_configuration.e | 3 +++ .../configuration/http_server_shared_configuration.e | 3 +++ library/http_connection_handler.e | 12 +++++++----- library/http_constants.e | 3 +++ library/http_encoding_facilities.e | 3 +++ library/http_handler.e | 3 +++ library/http_server.e | 3 +++ library/io/http_input_stream.e | 3 +++ library/io/http_output_stream.e | 5 ++++- library/request/http_request_handler.e | 3 +++ library/response/http_response.e | 3 +++ library/shared_uri_contents_types.e | 5 ++++- library/tcp_stream_socket.e | 3 +++ library/uri_contents_types.e | 3 +++ license.lic | 4 ++++ 15 files changed, 52 insertions(+), 7 deletions(-) create mode 100644 license.lic diff --git a/library/configuration/http_server_configuration.e b/library/configuration/http_server_configuration.e index e7547db2..a407f8db 100644 --- a/library/configuration/http_server_configuration.e +++ b/library/configuration/http_server_configuration.e @@ -65,4 +65,7 @@ feature -- Element change end +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/configuration/http_server_shared_configuration.e b/library/configuration/http_server_shared_configuration.e index e5cc62ec..7ffca95e 100644 --- a/library/configuration/http_server_shared_configuration.e +++ b/library/configuration/http_server_shared_configuration.e @@ -42,4 +42,7 @@ feature {NONE} -- Implementation create Result.put (Void) end +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/http_connection_handler.e b/library/http_connection_handler.e index 5ecb9f72..18118789 100644 --- a/library/http_connection_handler.e +++ b/library/http_connection_handler.e @@ -112,7 +112,6 @@ feature -- Parsing not_void_method: method /= Void end - analyze_request_message (a_input: HTTP_INPUT_STREAM) require input_readable: a_input /= Void and then a_input.is_readable @@ -120,7 +119,7 @@ feature -- Parsing end_of_stream : BOOLEAN pos,n : INTEGER line : STRING - k, val: STRING + k, val: STRING txt: STRING do create txt.make (64) @@ -136,9 +135,9 @@ feature -- Parsing until end_of_stream loop - line := a_input.last_string - n := line.count - print ("%N" +line+ "%N") + line := a_input.last_string + n := line.count + print ("%N" + line + "%N") pos := line.index_of (':',1) if pos > 0 then k := line.substring(1, pos-1) @@ -180,4 +179,7 @@ feature -- Parsing invariant request_header_attached: request_header /= Void +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/http_constants.e b/library/http_constants.e index 791ba309..15b53088 100644 --- a/library/http_constants.e +++ b/library/http_constants.e @@ -143,4 +143,7 @@ feature -- Http Method Delete : STRING = "DELETE" Trace : STRING = "TRACE" Connect : STRING = "CONNECT" +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/http_encoding_facilities.e b/library/http_encoding_facilities.e index b57d7394..81bc94ec 100644 --- a/library/http_encoding_facilities.e +++ b/library/http_encoding_facilities.e @@ -54,4 +54,7 @@ feature -- Conversion Result := (a_i.bit_and (1) = 1) end +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/http_handler.e b/library/http_handler.e index 9a2408dc..0489ad19 100644 --- a/library/http_handler.e +++ b/library/http_handler.e @@ -121,4 +121,7 @@ feature -- Execution invariant main_server_attached: main_server /= Void +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/http_server.e b/library/http_server.e index d644fafa..e4e02d64 100644 --- a/library/http_server.e +++ b/library/http_server.e @@ -49,4 +49,7 @@ feature -- Access stop_requested: BOOLEAN -- Stops the server +;note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/io/http_input_stream.e b/library/io/http_input_stream.e index 9dc67f73..23cce238 100644 --- a/library/io/http_input_stream.e +++ b/library/io/http_input_stream.e @@ -61,4 +61,7 @@ feature -- Access last_string: STRING -- Last string read +;note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/io/http_output_stream.e b/library/io/http_output_stream.e index 6134b6f3..c6c84582 100644 --- a/library/io/http_output_stream.e +++ b/library/io/http_output_stream.e @@ -26,5 +26,8 @@ feature -- Basic operation do target.put_string (s) end - + +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/request/http_request_handler.e b/library/request/http_request_handler.e index 0043ff0d..8c2121c9 100644 --- a/library/request/http_request_handler.e +++ b/library/request/http_request_handler.e @@ -112,4 +112,7 @@ feature {NONE} -- Implementation end end +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/response/http_response.e b/library/response/http_response.e index 0c4b0d8e..eba6ee17 100644 --- a/library/response/http_response.e +++ b/library/response/http_response.e @@ -141,4 +141,7 @@ feature -- Change element: send reply reply_text.append (more_text) end +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/shared_uri_contents_types.e b/library/shared_uri_contents_types.e index 0667a1f7..1909737b 100644 --- a/library/shared_uri_contents_types.e +++ b/library/shared_uri_contents_types.e @@ -8,8 +8,11 @@ class SHARED_URI_CONTENTS_TYPES feature - ct_table: URI_CONTENTS_TYPES + ct_table: URI_CONTENTS_TYPES once create Result.make end +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/tcp_stream_socket.e b/library/tcp_stream_socket.e index ce9068b9..06d0c00c 100644 --- a/library/tcp_stream_socket.e +++ b/library/tcp_stream_socket.e @@ -29,4 +29,7 @@ feature -- Basic operation send (a_package, 1) end +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/library/uri_contents_types.e b/library/uri_contents_types.e index e7a4222c..9c60b3dc 100644 --- a/library/uri_contents_types.e +++ b/library/uri_contents_types.e @@ -85,4 +85,7 @@ feature -- Access: Encoding Result.replace_substring_all ("\\", "\") end +note + copyright: "2011-2011, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end diff --git a/license.lic b/license.lic new file mode 100644 index 00000000..6928e20b --- /dev/null +++ b/license.lic @@ -0,0 +1,4 @@ +${NOTE_KEYWORD} + copyright: "2011-${YEAR}, Javier Velilla and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" +