fd66d79ecb
Updated ecf files toward complete void-safety
...
Added iron package files.
Added libfcgi files to compile .lib and .dll on Windows
2014-04-22 21:47:29 +02:00
d6b77e938b
Added more tests for uri-template matching, especially with url that contains %2F i.e the percent encoded slash '/'
2014-04-22 19:25:07 +02:00
d40131f863
Updated encoder library, especially URL encoders to reuse implementation of percent_encoder.e
...
Fixed JSON_ENCODER for %T and related.
Updated related autotest cases.
2014-04-09 18:10:51 +02:00
9999b5e400
Moved implementation of WSF_PERCENT_ENCODER into "encoder" library, and added the *partial* variant.
2014-04-09 17:19:09 +02:00
6e27f66306
Improved BASE64 to update has_error when decoding.
...
Added manual tests.
2014-04-09 16:56:40 +02:00
a4c1263190
fixed code for test_url_encoder
2014-04-09 16:22:42 +02:00
1d0a2363d8
Fixed issue with URL_ENCODER encoding (and small optimization)
2014-04-08 21:52:37 +02:00
bbc2bab0eb
Removed usage of remote anchor types.
2014-02-28 14:25:13 +01:00
9499601daf
Fixing handling of query parameter without value
...
Issue#70 https://github.com/EiffelWebFramework/EWF/issues/70
2013-09-09 15:51:20 +02:00
218e73945d
Updated ecf file as workaround to make autotest works fine.
2013-06-17 12:03:46 +02:00
cc4ef1a575
Better support for unicode path and values.
...
Added WSF_REQUEST.percent_encoded_path_info: READABLE_STRING_8
to keep url encoded path info, as it is useful for specific component
The router is now using WSF_REQUEST.percent_encoded_path_info
since URI_TEMPLATE are handling URI (and not IRI)
this fixes an issue with unicode path parameters.
This should not break existing code, and this fixes various unicode related issues related
to PATH parameter and path info
but also any component using file names.
(required EiffelStudio >= 7.2)
2013-06-12 18:03:11 +02:00
fbbd1f1eee
Fixed various void-safety issue with recent compilers.
...
Note that EWF does now require EiffelStudio 7.2, and is compiling with 7.3
2013-06-07 15:40:50 +02:00
Jocelyn Fiat
178a48cd7e
Updated all-safe.ecf
...
(add all-stable-safe.ecf that includes only the library, examples and specific draft lib)
2013-03-27 15:22:32 +01:00
Jocelyn Fiat
403b9f7bde
better use a root class
2013-03-27 13:08:57 +01:00
Jocelyn Fiat
84df92de10
added EIS note documentation link for URI_TEMPLATE
2013-02-14 13:09:32 +01:00
Jocelyn Fiat
108ab43031
Made encoder and error library compilable with 6.8
2012-11-23 18:56:09 +01:00
Jocelyn Fiat
c654759d8e
Added SHARED_... classes for encoders (html, url, xml, json, ...)
2012-11-23 18:06:56 +01:00
Jocelyn Fiat
6619349f7b
Fixed some configuration files (ecf)
...
Fixed various compilation issue
Fixed draft rest library (still experimental and should be removed in the future)
2012-10-01 12:04:17 +02:00
Jocelyn Fiat
0f59535696
Added general_encoded_string (..) that accepts READABLE_STRING_GENERAL
2012-09-11 20:53:13 +02:00
Jocelyn Fiat
fbd9cb9588
Added `HTML_ENCODER.general_encoded_string (s: READABLE_STRING_GENERAL): STRING_8'
...
(note: probably we should do similar change for all the encoders)
2012-09-10 09:36:27 +02:00
Jocelyn Fiat
bd15133e2b
Also convert from STRING_8 to URI_TEMPLATE (not only from READABLE_STRING_8)
2012-08-31 07:03:15 +02:00
Jocelyn Fiat
db448001a1
Change structure of EWF, to follow better categorization
2012-06-13 22:32:17 +02:00
Jocelyn Fiat
8a58d62a7e
Adopted convention name and value or values for WSF_VALUE and descendant (WSF_STRING ...)
...
kept `key' as redirection, and also string as obsolete redirection.
Router: provide a way to pass the request methods without using manifest string, thanks to WSF_ROUTER_METHODS
so instead of using manifest array or manifest strings, just create an instance of WSF_ROUTER_METHODS
for convenience, WSF_ROUTER provides a few `methods_...' returning prebuilt WSF_ROUTER_METHODS objects
Improved code related to unicode handling in URL, and parameters (before the framework was doing too much)
2012-06-11 14:58:13 +02:00
Jocelyn Fiat
0d5011b03e
Added html encoding facility to WSF_STRING
...
Added WSF_STRING.is_empty
Improved HTML_ENCODER to be able to decode a STRING_8 or STRING_32 using general_decoded_string (s)
Improved tutorial example
Added precompilation for WSF library
Cosmetic (removed unused locals)
2012-05-30 09:36:55 +02:00
Jocelyn Fiat
e304113984
Fixed error in URL encoding, according to the RFC3986, space should not be encoded with '+' but with percent encoding.
2012-04-30 15:53:44 +02:00
Jocelyn Fiat
72cc05532c
Removed tests target from encoder(-safe).ecf
...
(now there is a tests-safe.ecf in folder tests)
2012-02-15 11:04:42 +01:00
Jocelyn Fiat
fbec89f354
Better signature for encoders
...
Split library .ecf and the autotest .ecf
2012-02-14 18:03:42 +01:00
Jocelyn Fiat
537bd8241f
added a JSON encoder test case
2012-02-13 14:38:13 +01:00
Jocelyn Fiat
6cf35e90c6
added a case in test_json_encoder
2012-02-08 21:36:49 +01:00
Jocelyn Fiat
434f031680
Synchronized with ejson library
...
Cleaned JSON_ENCODER
2012-01-13 19:04:26 +01:00
Jocelyn Fiat
e36533bc99
Added JSON_ENCODER
2012-01-12 10:38:43 +01:00
Jocelyn Fiat
955f73dee9
Added various README.md (using the markdown syntax)
2011-11-14 19:00:00 +01:00
Jocelyn Fiat
83a181ebf1
Fixed remaining 6.8 vs 7.0 compilation issue related to UTF8_(URL_)ENCODER
2011-10-31 09:02:19 +01:00
Jocelyn Fiat
54ecd2b1e8
Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework
2011-10-31 08:48:44 +01:00
Jocelyn Fiat
da8a216448
removed unused local variable
2011-10-31 08:48:19 +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
6f600362e3
Fixed code to be compilable with EiffelStudio 6.8 and 7.0 (due to recent change in UNICODE_CONVERSION) UNICODE_CONVERSION
2011-10-31 08:42:48 +01: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
dff267cd58
Now using READABLE_STRING_... type
2011-09-20 16:57:28 +02:00
Jocelyn Fiat
51b70a2490
First version of URI Template library
...
as specified by http://tools.ietf.org/html/draft-gregorio-uritemplate-05
(it seems to contains some error in the spec .. or minor incoherences, to double check)
The matcher is basic, it does not handle all the details of the string builder, but that seems ok for now.
2011-07-20 12:11:05 +02:00
Jocelyn Fiat
bc98c5a317
Added GW_HEADER
...
Added pre_, post_ and rescue_execute for GW_APPLICATION
Fixed an unknown class in export clause
cosmetic + copyright
2011-07-12 17:47:17 +02:00
Jocelyn Fiat
f74ac66569
First integration of the new GW_ design more centralized on connector, and does not require specific feature on GW_APPLICATION depending on the connector.
...
So this is really more flexible this way, and much easier to write application supporting CGI, FCGI, Nino and so on .. as demonstrated in hello_world
This is a first version, more will come later, mainly migrating from Eiffel Web Reloaded to this Eiffel Web Framework project.
2011-07-12 11:53:00 +02:00