Jocelyn Fiat
42be0b2a4e
Use HTTP_HEADER instead of WSF_HEADER
...
(WSF_HEADER is kept for convenience and existing code)
2011-11-25 15:53:15 +01:00
Jocelyn Fiat
48d4d26cda
better script to check compilation and tests
2011-11-25 14:52:00 +01:00
Jocelyn Fiat
182749d010
Moved implementation of WSF_HEADER to HTTP_HEADER in the http library
2011-11-25 14:51:46 +01:00
Jocelyn Fiat
fd0912904c
Simplified EWSGI interfaces
...
Renamed WGI_RESPONSE_BUFFER as WGI_RESPONSE to avoid confusion
Removed EWF_HEADER and removed related caller from WGI implementation,
now this is only part of WSF library
Added wgi_version, wgi_implementation and wgi_connector to the WGI_REQUEST interface
to give more information to the user
Added back WGI_CONNECTOR to WGI specification, mainly because of `{WGI_REQUEST}.wgi_connector'
simplified WGI_CONNECTOR to contain for now only `name' and `version'
if the implementation of connector inherit from WGI_CONNECTOR (recommended)
this might gives more access to the user using a reverse assignment for specific needs
(but this usage is not recommended due to portability issue on other connector)
Removed useless connector.ecf since now EWF/WGI library provides the helper classes
2011-11-25 14:39:48 +01:00
Jocelyn Fiat
3032b91ff7
Fixed sample example config file after recent location change for "rest" lib
2011-11-23 18:36:56 +01:00
Jocelyn Fiat
772b88f257
Improved run_CI_tests.py and include the compile_all call directly in the python script.
...
If compile_all tool supports -keep ... let's use it. (recent addition)
2011-11-23 16:35:22 +01:00
Jocelyn Fiat
a1cc2d1d1a
fixed rest(-safe).ecf due to recent location change
2011-11-23 15:37:01 +01:00
Jocelyn Fiat
9f90bf56a5
Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework
2011-11-23 15:31:47 +01:00
Jocelyn Fiat
dbea0e509b
Updated README.md in relation with "rest" lib relocation
2011-11-23 15:27:51 +01:00
Jocelyn Fiat
a3f28e3945
Move "rest" library under "draft/..." since it is more an experiment rather than a real REST library
2011-11-23 15:18:35 +01:00
Jocelyn Fiat
379a6193e9
Update draft/README.md
2011-11-21 18:28:33 +01:00
Jocelyn Fiat
03d9c3785c
updated Eiffel libfcgi README file
2011-11-21 17:43:02 +01:00
Jocelyn Fiat
612915c918
Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework
...
Conflicts:
library/server/libfcgi/Clib/README.md
2011-11-21 17:33:34 +01:00
Jocelyn Fiat
ff967d6332
Added scripts to help building the libfcgi.dll and .lib from modified source of libfcgi
...
Extracted into "libfcgi" only the files needed to compile the Windows .dll and .lib
2011-11-21 17:07:38 +01:00
Jocelyn Fiat
8d75a04068
Added scripts to help building the libfcgi.dll and .lib from modified source of libfcgi
2011-11-21 16:38:36 +01:00
Jocelyn Fiat
202ad2861b
updated README to apply 'ext' renamed as 'contrib'
2011-11-21 14:30:03 +01:00
Jocelyn Fiat
44857d28ec
fixed compilation for tests.ecf
2011-11-18 14:56:02 +01:00
Jocelyn Fiat
e3597c0f3b
fixed typo
2011-11-18 14:18:30 +01:00
Jocelyn Fiat
0cce4d8244
Updated "draft" folder which contain potential future addition to EWF
2011-11-18 14:18:22 +01:00
Jocelyn Fiat
aab910ab64
Added "draft" folder to contain potential future addition to EWF
2011-11-18 13:56:07 +01:00
Jocelyn Fiat
257ede7586
restructured CONNEG library
...
fixed various issue in .ecf files
2011-11-18 11:14:30 +01:00
Jocelyn Fiat
6ec37c90a2
Rename "ext" as "contrib" in compile_all.ini as well
...
no need to test the code coming from other projects.
2011-11-17 16:03:29 +01:00
Jocelyn Fiat
49c3e8e789
Renamed "ext" folder as "contrib" folder and reorganized a little bit
...
Renamed any *_APPLICATION as *_SERVICE
mainly because those components
such as WSF_APPLICATION, renamed as WSF_SERVICE
are not always the main application entry, and "service" describe them better
Minor implementation change in WSF_REQUEST
Cosmetics
2011-11-17 15:50:30 +01:00
Jocelyn Fiat
cc11debf08
handle last run failure
2011-11-16 16:18:27 +01:00
Jocelyn Fiat
b71a22d040
Added request method PATCH even if not really used for now, it might in the future
2011-11-16 15:52:00 +01:00
Jocelyn Fiat
7022206a73
Do not print command during script execution
2011-11-16 13:10:35 +01:00
Jocelyn Fiat
b715d674ca
fixed indentation in python script
2011-11-16 09:00:23 +01:00
Jocelyn Fiat
02f5bdd801
Added information output to run_CI_tests.py
2011-11-16 08:57:02 +01:00
Jocelyn Fiat
203d51a97e
updated run_CI_tests.py
2011-11-16 08:48:24 +01:00
Jocelyn Fiat
733296e71e
updated run_CI_tests.py
2011-11-16 08:42:08 +01:00
Jocelyn Fiat
0a497b9a4d
updated run_CI_tests.py
2011-11-16 08:34:00 +01:00
Jocelyn Fiat
4ed91a91a2
updated run_CI_tests.py
2011-11-16 07:51:04 +01:00
Jocelyn Fiat
a76eb75267
removed unused local variables
2011-11-16 07:25:29 +01:00
Jocelyn Fiat
2c94a98730
added a python script to be use inside jenkins CI server
...
(experimental for now)
2011-11-16 07:25:15 +01:00
Jocelyn Fiat
cc960310e9
cosmetic
2011-11-14 19:06:31 +01:00
Jocelyn Fiat
d9daac67d9
cosmetics
2011-11-14 19:05:48 +01:00
Jocelyn Fiat
955f73dee9
Added various README.md (using the markdown syntax)
2011-11-14 19:00:00 +01:00
Jocelyn Fiat
137ed3888c
updated README with links to sub READM.md
2011-11-14 18:46:37 +01:00
Jocelyn Fiat
8382e8f134
sync with Eiffel Web Nino
2011-11-14 16:39:26 +01:00
Jocelyn Fiat
0b7ea3c427
Added default WSF_APPLICATION for libfcgi connector
2011-11-14 16:27:55 +01:00
Jocelyn Fiat
1e7b370859
code removal
2011-11-14 16:26:31 +01:00
Jocelyn Fiat
8c02b0d546
Updated libfcgi source code for Windows AND Linux.
...
Cleaning some code and feature clauses.
2011-11-14 15:44:10 +01:00
Jocelyn Fiat
13b09adc8c
Changed the WGI_INPUT_STREAM and WGI_OUTPUT_STREAM interfaces
...
main changes for existing code `read_stream' is renamed `read_string'
2011-11-14 14:17:41 +01:00
Jocelyn Fiat
bc2e8b8ee2
Added is_request_method (STRING): BOOLEAN to help users
2011-11-09 18:07:03 +01:00
Jocelyn Fiat
36493b4324
updated readme with better way to get the source code recursively
2011-11-07 11:11:04 +01:00
Jocelyn Fiat
d96ee66a32
sync with Eiffel Web Nino
2011-11-04 20:28:08 +01:00
Jocelyn Fiat
7669ccfc1d
sync with nino and applied changes to connector
2011-11-04 20:21:35 +01:00
Jocelyn Fiat
3a6e3592ae
Use recent changes from Nino, to get access to the launched and port information.
...
Quite useful when launching using port=0 to use a random free port.
This is great for testing, this way we can run many tests in the same time without any port blocking.
2011-11-04 12:15:40 +01:00
Jocelyn Fiat
07f9a8cec7
applied recent changes from Nino
2011-11-03 18:50:19 +01:00
Jocelyn Fiat
16cab53fb4
removed compliance on ewsgi, since now we target WSF
...
applied recent changes related to WSF_VALUE
2011-11-02 16:11:40 +01:00
Jocelyn Fiat
a2bf68e18a
Safer interface for WSF_VALUE, when related to STRING value
2011-11-02 15:42:58 +01:00
Jocelyn Fiat
214255c4b9
sync with submodules
2011-11-02 13:30:35 +01:00
Jocelyn Fiat
082b8902ea
Merge branch 'master' of git://github.com/Eiffel-World/Eiffel-Web-Framework
2011-11-02 13:11:09 +01:00
Jocelyn Fiat
ee9722fa18
renamed WSF_(.*)_VALUE as WSF_$1
2011-11-02 13:10:35 +01:00
Jocelyn Fiat
085b520879
Added convenient features to BASE64
...
- decode_string_to_buffer (v: STRING; a_buffer: STRING)
- decode_string_to_output_medium (v: STRING; a_output: IO_MEDIUM)
2011-10-31 08:45:50 +01:00
Jocelyn Fiat
9bbcdc9927
removed unwanted .rc
2011-10-27 16:03:10 +02:00
Jocelyn Fiat
35a4cd7df9
cosmetic, or minor changes
2011-10-27 14:45:14 +02:00
Jocelyn Fiat
926c0a79b7
Start index for list[]=a&list[]=b ... from 1 instead of 0
...
Stick to Eiffel spirit
2011-10-24 17:44:13 +02:00
Jocelyn Fiat
fb7854fbcc
Added visitor patterns to WSF_VALUE
...
Handling UTF-8 unencoding for WSF_VALUE ...
Added WSF_TABLE_VALUE to handle list[]=a&list[]=b ...
Library encoder: added UTF8 facilities
2011-10-24 17:23:36 +02:00
Jocelyn Fiat
663a39d2ec
missing implementation (forgot to uncomment)
2011-10-24 09:07:26 +03:00
Jocelyn Fiat
14a2c01f41
Applied recent changes on WGI_ and WSF_
...
Moved classes away from ewsgi, restructured, cleaned
2011-10-21 16:58:23 +02:00
Jocelyn Fiat
79e12b8d04
Continued reducing WGI and move implementation to WSF (Web Server Framework)
...
Removed many usage of READABLE_STRING_GENERAL in favor to READABLE_STRING_8
to avoid potential nasty issues in user's code
URI-template is working only with STRING_8, then changed any _GENERAL or _STRING_32 to _STRING_8
2011-10-21 16:58:18 +02:00
Jocelyn Fiat
aec0136739
First try to get a limited WGI_ and use WSF_ as default framework
2011-10-21 16:58:11 +02:00
Jocelyn Fiat
eaa99c9c61
Used object test
2011-10-19 00:40:04 +02:00
Jocelyn Fiat
5f492d6fb6
removed useless local variable
2011-10-19 00:35:32 +02:00
Jocelyn Fiat
c3f5376ef5
fixed cgi and libfcgi connectors due to recent changes from WGI_APPLICATION
2011-10-14 14:27:54 +02:00
Jocelyn Fiat
21e973f8a4
Removed handling of internal error from WGI_APPLICATION
...
And for now added it into nino connector
2011-10-14 14:15:23 +02:00
Jocelyn Fiat
dec1958909
Fixed issue with index in uri template matcher
2011-10-14 14:14:13 +02:00
Jocelyn Fiat
1453873b6c
Added HTTP_FILE_EXTENSION_MIME_MAPPING
...
Added REQUEST_FILE_SYSTEM_HANDLER to the router library
Added file system handler in "hello_routed_world" example
2011-10-14 14:13:40 +02:00
Jocelyn Fiat
4c36d75ef3
Using Transfer-Encoding: chunked in example to send response progressively
2011-10-12 17:23:24 +02:00
Jocelyn Fiat
09030a27d9
sync with submodules
2011-10-12 17:22:46 +02:00
Jocelyn Fiat
b9ca22006b
removed unwanted code
2011-10-12 15:38:45 +02:00
Jocelyn Fiat
593b48fe90
applied recent changes on HTTP_REQUEST_METHOD_CONSTANTS
2011-10-12 11:56:25 +02:00
Jocelyn Fiat
c2b66d6ca6
Use local curl if compiler is < 7.0.8.7340
...
otherwise, use ISE_LIBRARY cURL
2011-10-11 11:09:00 +02:00
Jocelyn Fiat
6758c4aef4
Temporary fixed issue of using modified cURL (which is cURL provided with EiffelStudio 7.0)
...
This changes will be reverted in the future
2011-10-11 10:46:56 +02:00
Jocelyn Fiat
6408bec628
Updated readme related to mirrored Eiffel cURL library
2011-10-10 17:56:09 +02:00
Jocelyn Fiat
c105c267e7
cosmetic
2011-10-10 16:09:44 +02:00
Jocelyn Fiat
4c9e7a4331
Added `base_url' for REQUEST_ROUTER (and descendants)
...
Fixed implementation of REST_REQUEST_AGENT_HANDLER to avoid wrong path in inherited routine.
Allow to build a URI_TEMPLATE from another URI TEMPLATE,
this way, if later we have more attribute (status or settings) to URI_TEMPLATE,
we'll be able to change the `template' without breaking the settings
2011-10-05 17:09:16 +02:00
Jocelyn Fiat
cc6992a6fc
added missing call to pre_execute and post_execute
2011-10-05 14:47:59 +02:00
Jocelyn Fiat
71c851ca39
Fixed missing http:// in absolute URL
2011-10-05 14:47:30 +02:00
Jocelyn Fiat
900ed8baea
remove pre_execute, and post_execute, and make process_request frozen
...
this way, the user won't be tempted to redefine feature not being part of pure EWSGI interface.
2011-10-05 14:46:39 +02:00
Jocelyn Fiat
dba55fcfd9
better argument name, to precise the timeout is in second
...
also in comment.
2011-10-05 14:45:47 +02:00
Jocelyn Fiat
456299ccdf
Fixed agent handler for rest library
2011-10-04 17:33:15 +02:00
Jocelyn Fiat
810208f176
Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework
2011-10-04 16:19:36 +02:00
Jocelyn Fiat
27c637b066
fixed inheritance and precursor bad usage.
2011-10-04 16:19:09 +02:00
Jocelyn Fiat
2b14a40898
fixed compilation for ewsgi/tests/tests.ecf file
2011-09-28 17:08:28 +02:00
Jocelyn Fiat
aa20a1423f
Made WGI_VALUE.name as READABLE_STRING_32 .. otherwise it is a pain to manipulate.
...
Changed return type of meta_variable to be WGI_STRING_VALUE ... since the meta variable can not be anything else.
Made sure REQUEST_URI starts with one and only one slash
Internal implementation: the _table now compares object
Removed SELF variable ... at least for now
Be sure to provide a REQUEST_URI even if the underlying connector does not.
2011-09-28 16:41:22 +02:00
Jocelyn Fiat
34c8cfa427
cleaned http_client configuration files
2011-09-28 14:53:34 +02:00
Jocelyn Fiat
f7dcadccd5
Added library/library.index
2011-09-28 14:42:53 +02:00
Jocelyn Fiat
f24df1d745
restructured ewsgi to avoid too many sub cluster
2011-09-28 14:42:34 +02:00
Jocelyn Fiat
a4df57a7ac
fixed compilation of rest example
2011-09-26 20:54:04 +02:00
Jocelyn Fiat
df59ae579b
fixed typo
2011-09-26 17:19:37 +02:00
Jocelyn Fiat
738eb7555f
Changed ITERATION_CURSOR [WGI_VALUE] into ITERABLE [WGI_VALUE] for WGI_REQUEST.*parameters* and similar
...
Applied recent changes on EWF_HEADER
2011-09-26 17:10:05 +02:00
Jocelyn Fiat
eeaa47d4f1
Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework
2011-09-23 18:23:35 +02:00
Jocelyn Fiat
0db4317a49
Added AutoTest simple cases for ewsgi using Nino web server
2011-09-23 18:22:42 +02:00
Jocelyn Fiat
668847f8e8
Fixing issue with experimental WGI_MULTIPLE_STRING_VALUE
...
Fixed issue with RAW_POST_DATA
2011-09-23 18:21:57 +02:00
Jocelyn Fiat
e7fd7af2c5
Removed put_redirection' and replaced by put_location'
...
Removed useless code in some features
2011-09-23 18:20:23 +02:00
Jocelyn Fiat
24a5c7613d
Use READABLE_STRING(_*) instead of just STRING(_*)
2011-09-23 18:20:16 +02:00
Jocelyn Fiat
d9f6cbe80e
Added feature to shutdown the Nino http server
2011-09-23 18:18:54 +02:00
Jocelyn Fiat
95ec2e77df
Added error reporting in HTTP_CLIENT_RESPONSE
...
Added missing set_connect_timeout
2011-09-23 18:18:27 +02:00