jocelyn
9424b1e369
Merge branch 'master' into v1
2015-06-08 10:10:51 +02:00
jocelyn
64463df552
Fixed various compilation error or warning.
2015-06-05 12:17:53 +02:00
jocelyn
8b60ab08e3
Added WSF_FILE_UTILITIES.new_file (p: PATH): detachable G
...
in order to provide non existing file, but not only for temporary files purpose.
2015-05-22 22:27:28 +02:00
jocelyn
d4c0ff03b4
Added package.iron for nino library.
2015-05-12 19:04:36 +02:00
jocelyn
7fbfda3a66
Refactored wsf router dispatching implementation.
...
Now the path to take into account during dispatching is computed once
in WSF_ROUTER.path_to_dispatch (req: WSF_REQUEST): READABLE_STRING_8
And this function could be redefined in descendant of WSF_ROUTER.
2015-05-12 18:37:25 +02:00
jocelyn
9e467689df
improved nino port number validation
2015-05-12 18:25:22 +02:00
jocelyn
dd5c89e31c
Fixed compilation of SSL_TCP_STREAM_SOCKET with recent do_accept changes.
2015-05-07 10:44:38 +02:00
jocelyn
fffa763d05
Updated a few comments.
2015-05-06 22:37:55 +02:00
jocelyn
d015c065f6
Updated readme.
2015-05-06 22:18:27 +02:00
jocelyn
8ea443c115
Added abstraction WSF_ROUTED, and WSF_FILTERED.
...
Added under library/server/obsolete/v0 the previous non concurrent friendly version of EWF/WSF, for backward compatiblity.
Removed WSF_CALLBACK_SERVICE and WSF_TO_WGI_SERVICE which are not need with new EWF.
2015-05-06 22:17:37 +02:00
jocelyn
019393fdb1
Fixed typo.
2015-05-06 22:17:35 +02:00
jocelyn
da8028f8b3
Fixed a typo.
2015-05-06 22:17:33 +02:00
jocelyn
20ed000879
Added a few descriptions and comments.
2015-05-06 22:16:57 +02:00
jocelyn
a1a620a9c3
Export request and response from WGI_EXECUTION to itself.
...
Added WSF_FILTERED_ROUTED_SKELETON_EXECUTION
2015-05-06 22:16:00 +02:00
jocelyn
d8ea9ba63c
renamed keep_alive_requested as is_persistent_connection_requested.
2015-05-06 22:15:59 +02:00
jocelyn
c42af5b2de
Following the spec, use "keep-alive" and "close" in lowercase for Connection header.
2015-05-06 22:15:57 +02:00
jocelyn
d9cbc72058
Better support for HTTP/1.0 and also related to persistent connection.
2015-05-06 22:15:56 +02:00
jocelyn
7e057b20b1
Improved support for HTTP/1.0 persistent connection.
2015-05-06 22:15:54 +02:00
jocelyn
3165c1e5c6
Enable support for persistent connections.
...
(test: works fine with curl -k , but weird behavior with ab -k ...)
2015-05-06 22:15:53 +02:00
jocelyn
89e26519e4
First step to improve a bit error handling related to socket disconnection.
...
Mainly in standalone connector for now.
2015-05-06 22:15:51 +02:00
jocelyn
9d20e85c03
Improved the simple_file example with image, and not found message.
...
Use standalone connector in SCOOP concurrency mode.
2015-05-06 22:15:50 +02:00
jocelyn
48cb99498c
Cleaned simple example, and made the standalone target with SCOOP concurrency.
2015-05-06 22:15:48 +02:00
jocelyn
8246bc1444
Updated various indexing notes.
...
Removed a few obsolete classes.
Cosmetics
2015-05-06 22:15:46 +02:00
jocelyn
9e1083eba8
Added migration note.
2015-05-06 22:15:44 +02:00
jocelyn
4907bc3085
Migrated most of the example and library to new design.
2015-05-06 22:15:43 +02:00
jocelyn
7d2ce8a77f
Implemented support for base url in httpd connector.
2015-05-06 22:15:38 +02:00
jocelyn
b4a9c92ffc
Migrated simple, simple_file and upload_image example.
...
Adapted EWF accordingly.
2015-05-06 22:14:48 +02:00
jocelyn
bf0eb9a02d
Added SCOOP support for WSF.
...
WSF_SERVICE is deeply changed, and addition of WSF_EXECUTION.
Todo: code cleaning, removing useless things.
2015-05-06 22:13:22 +02:00
jocelyn
ddf73077b3
Support for concurrencies: none, thread and SCOOP
2015-05-06 22:13:19 +02:00
jocelyn
3da80fce0d
Finally SCOOP supported.
2015-05-06 22:13:17 +02:00
jocelyn
0970de5dc6
Experiment to avoid pseudo sequential execution
2015-05-06 22:13:15 +02:00
jocelyn
557b11f4e6
First attempt to use `{NETWORK_STREAM_SOCKET}.accept_to'
2015-05-06 22:13:13 +02:00
jocelyn
7f27a6c797
First steps to provide a concurrent compliant EWF connector.
2015-05-06 22:13:11 +02:00
jocelyn
c778e454cd
Renamed a few index.md as README.md
2015-05-05 11:13:12 +02:00
jocelyn
44757b73eb
Renamed Home.md as README.md
2015-05-05 11:10:36 +02:00
jocelyn
525978db1d
Update doc structure, and fixed a few links.
2015-05-05 10:57:58 +02:00
jocelyn
71c90a2f39
Updated mediawiki and markdown link to local pages,
...
in order to use those files as browseable documentation, and close the github wiki.
2015-05-05 10:22:21 +02:00
jocelyn
8057dca032
Merge remote-tracking branch 'ewf_wiki/master'
2015-05-05 10:06:12 +02:00
jocelyn
91d7b956b9
update README to add google groups info.
2015-05-05 09:58:36 +02:00
jocelyn
881625a0f6
Updated code to remove obsolete call on recent version of json library.
...
Updated upload_image example to use PATH instead of DIRECTORY_NAME or similar.
Removed unused local variables.
2015-04-07 19:27:30 +02:00
jocelyn
b7a12eddaf
Merge branch 'master' of https://github.com/eiffelhub/json
2015-04-07 18:36:38 +02:00
jocelyn
5f4ab50bf9
Completed configuration setting to be compilable with recent changes in EiffelNet / NETWORK_STREAM_SOCKET interface.
2015-03-12 22:16:28 +01:00
jocelyn
f0a49aaf0a
fixed location of before_15_01 folder.
2015-03-11 14:52:14 +01:00
jocelyn
1aae58e00b
Removed the -safe since now new project should be void-safe
2015-03-05 20:37:28 +01:00
jocelyn
f81e5251e8
moved wizard under tools/estudio_wizard
2015-03-05 16:01:45 +01:00
jocelyn
b26504b4a1
moved wizard from tools to helpers
2015-03-05 16:00:43 +01:00
jocelyn
4eddad0bcb
Updated script to install wizard in current EiffelStudio installation.
2015-03-05 15:27:29 +01:00
jocelyn
1b9aa0c598
Updated the ewf estudio wizard to have a console and a graphical wizard.
...
Usage: wizard -callback file.cb path-to-rootdir folder.
2015-03-05 15:23:13 +01:00
jocelyn
6e52774507
Prepare nino ecf to be compilable with upcoming changes in EiffelNet / NETWORK_STREAM_SOCKET interface.
...
As EiffelNet release is related to EiffelStudio release,
the condition "compiler version <= 15.02) is used,
which means that before for release 15.01 and previous EiffelStudio
releases, the project uses a specific TCP_STREAM_SOCKET, and for
upcoming releases, it will use another version of that class).
(see rev#96640 from eiffelstudio subversion repository)
2015-02-18 10:14:08 +01:00
jocelyn
e5403462bc
Prepare nino ecf to be compilable with upcoming changes in EiffelNet / NETWORK_STREAM_SOCKET interface.
...
(see rev#96640 from eiffelstudio subversion repository)
2015-02-18 10:08:36 +01:00
jocelyn
33b555ff27
Fixed implementation of JSON_PARSER.is_valid_number (STRING): BOOLEAN
2015-01-08 18:57:31 +01:00
jocelyn
4c552671c1
Updated install_ewf.bat to use the new "ecf_tool" from https://svn.eiffel.com/eiffelstudio/trunk/Src/tools/ecf_tool .
2014-12-02 10:51:08 +01:00
jocelyn
25a362d043
Added more test cases for cookies.
2014-12-02 10:50:29 +01:00
jocelyn
023e03bb8f
Completed change on debug handler and filter, to use WSF_DEBUG_INFORMATION.
2014-12-02 10:45:33 +01:00
jocelyn
0caad2105f
Merge branch 'fix_cgi_value' of github.com:jocelyn/EWF
2014-12-01 15:53:45 +01:00
jocelyn
f14fdc2a69
Added assertions on router helpers, and also agent handler.
...
Closes issue #159
2014-12-01 15:44:49 +01:00
jocelyn
440d3f9c91
Fixing issues related to status code.
2014-11-28 16:10:50 +01:00
jocelyn
975ef90bab
Better code for restbucks ORDER_HANDLER related to allowed_cross_origins and last_modified.
2014-11-28 16:06:30 +01:00
jocelyn
8c63e74b81
Fixed compilation of restbucks example using the policy driven framework.
2014-11-25 22:19:46 +01:00
jocelyn
6b9d248542
WSF_TRACE_RESPONSE should include "Content-Type: message/http" header
...
Close issue #145
2014-11-25 15:55:48 +01:00
jocelyn
6d2318ac9b
Fixed issue#157 (WSF_REQUEST.cookies_table does not terminate on cookies without a value, or ending with semi-colon)
...
Added related autotest.
2014-11-24 22:22:12 +01:00
jocelyn
0cc0ba047f
Reintroduced parse_object as obsolete, to avoid breaking existing code.
2014-11-17 16:05:33 +01:00
jocelyn
641e114fed
Converted ecf file to complete void-safe.
...
Improved JSON_PRETTY_STRING_VISITOR to support STRING_8 or STRING_32 output.
Added examples.
Added doc in the folder "doc".
Updated Readme and other files.
Added package.iron file.
2014-11-17 11:22:33 +01:00
jocelyn
73d45c9817
Updated WSF_FILE_UTILITIES with class comment,
...
and avoid having expanded generic class.
2014-10-28 12:52:23 +01:00
jocelyn
519b959073
Fixed compilation issue for wsf_js_widget package.
2014-10-10 16:06:03 +02:00
jocelyn
2cc751f326
Fixed compilation for wsf tests.
2014-10-10 14:26:50 +02:00
jocelyn
99588faf40
fixed compilation of filter example.
2014-10-10 13:51:20 +02:00
jocelyn
0647a74875
Ensure backward compatibility for parse' / is_parsed'.
2014-10-03 18:44:09 +02:00
jocelyn
ae9f67391c
Marked converters classes as obsolete.
2014-09-30 10:46:28 +02:00
jocelyn
82f832a556
Updated license and copyright.
...
Updated classes with bottom indexing notes related to copyright and license.
2014-09-30 10:46:12 +02:00
jocelyn
19dbbf89e7
Fixed various issue with parsing string (such as \t and related),
...
Implemented escaping of slash '/' only in case of '</' to avoid potential issue with javascript and </script>
Many feature renaming to match Eiffel style and naming convention, kept previous feature as obsolete.
Restructured the library to make easy extraction of "converter" classes if needed in the future.
Updated part of the code to use new feature names.
2014-09-24 20:08:12 +02:00
jocelyn
f6ebd414d6
Added custom-template in examples, as a base template to integrate easily other JS widgets.
...
Added custom example (based on custom-template project) that demonstrates how to integrate a thirdparty JS component such as d3 within the application using wsf_js_widget.
Removed various unecessary ecf dependencies.
2014-07-07 12:15:18 +02:00
jocelyn
ff19adc6c8
Improved comment related to PATH_INFO and stripping multiple slashes sequence to single slash.
2014-07-07 11:27:31 +02:00
jocelyn
0427f7a8d3
Fixed compilation issue related to old usage of modified JSON library.
2014-07-07 11:14:36 +02:00
jocelyn
985a5e5ce7
Merge branch 'master' of github.com:EiffelWebFramework/EWF into widget_integration
2014-07-07 10:30:42 +02:00
jocelyn
fe4c283336
Move wsf_js_widget library under draft/library/server/wsf_js_widget
2014-07-07 10:26:10 +02:00
jocelyn
1b4b50ee80
Replace any multiple slash sequence by a single slash character for PATH_INFO.
2014-07-02 11:36:43 +02:00
jocelyn
446c692f97
Various changes related to new WSF_DEBUG_INFORMATION and WSF_DEBUG_HANDLER.
2014-07-01 19:59:08 +02:00
jocelyn
7dfc6ea67a
Fixed various issues related to unicode and CGI variables (assuming that CGI variables are utf-8 encoded, and sometime percent encoded).
...
Delayed computation of `value' and `name' from WSF_STRING.
Fixed computation of REQUEST_URI when the server does not provide it (this is rare, but possible).
compute it as SERVER_NAME + encoded-PATH_INFO + {? + QUERY_STRING}
2014-07-01 19:57:14 +02:00
jocelyn
0b1697f20d
Verbose mode for the WSF_DEBUG_HANDLER.
2014-06-30 15:45:54 +02:00
jocelyn
add71543a4
Fixed error introduced during refactorying on WSF_DEBUG_FILTER
2014-06-30 15:21:03 +02:00
jocelyn
66a1e0629c
Improved the debug example, so that it outputs more information.
2014-06-30 15:16:31 +02:00
jocelyn
425c976032
Ensure that PATH_INFO and REQUEST_URI are following the CGI specifications:
...
- PATH_INFO is percent decoded but still utf-8 encoded,
this is available via WGI.path_info and WSF_REQUEST.utf_8_path_info.
- Added WSF_REQUEST.percent_encoded_path_info
- and WSF_REQUEST.path_info remains the unicode value for PATH_INFO
Added cgi_variables: WGI_REQUEST_CGI_VARIABLES to have a simple and quick view on CGI variables
Added execution_variables to be able to iterate on execution variables.
Added PERCENT_ENCODER.percent_decoded_utf_8_string
Improved the WSF_DEBUG_HANDLER to provide more information thanks to WSF_DEBUG_INFORMATION object.
2014-06-30 15:13:47 +02:00
jocelyn
a3c403323d
Raised the void-safety level to "complete"
...
Added comments.
2014-06-23 16:05:20 +02:00
jocelyn
942896aa0c
Fixed library location for http
2014-06-12 20:02:57 +02:00
jocelyn
93c92c0e38
Avoid decoding PATH_INFO and PATH_TRANSLATED to follow CGI spec.
2014-06-12 19:54:30 +02:00
jocelyn
394ca46f03
Added example to help debugging EWF
...
This is mainly a kind of echo server .. that return the request information.
2014-06-12 19:52:41 +02:00
jocelyn
67641da44d
Improved the uploading of file in regard to temporary filename.
...
Avoid to overwrite the same file for concurrent requests uploading the same filename.
2014-06-11 16:52:22 +02:00
jocelyn
b59966595e
Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11
2014-05-14 16:18:10 +02:00
jocelyn
fcf8b63666
Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11
2014-05-14 16:16:32 +02:00
jocelyn
cad9322839
Merge branch 'master' into void-safe
2014-05-14 11:32:28 +02:00
jocelyn
31fcd61401
Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11
2014-05-14 10:14:51 +02:00
jocelyn
5a179f514c
Minor change to avoid unecessary conversion from eventual immutable string 8 to string 8.
2014-05-14 10:04:17 +02:00
jocelyn
f099a70b87
Apply recent change on error_handler interface to support unicode error message in response.
2014-05-14 10:03:15 +02:00
jocelyn
1163b99f39
Support for unicode error message for the ERROR_HANDLER.as_string_representation: STRING_32
...
and as well for debug_output, this avoid unecessary unicode string truncation.
2014-05-14 10:02:38 +02:00
jocelyn
ca6ccc7291
debug_output can return a string 32, so avoid truncated unicode value by returning a string 32 value for `debug_output' .
2014-05-14 09:59:29 +02:00
jocelyn
bb11c24681
check that cookies data is valid string 8 to follow assertions.
2014-05-14 09:53:04 +02:00
jocelyn
d158579bdc
Replaced notion of session uuid by session id which is more generic (could be a uuid, or something else).
...
Use STRING_TABLE for the implementation of session data container.
Added a few missing comments.
2014-05-14 09:45:15 +02:00
jocelyn
02f5a09689
Added comment to explain why conversion to string 8 is safe
2014-05-14 09:36:22 +02:00
jocelyn
cb3de17be9
renamed HTTP_HEADER_BUILDER as HTTP_HEADER_MODIFIER
2014-05-14 09:35:55 +02:00