Permalink
Browse files

Merged every string object change into the main branch.

  • Loading branch information...
1 parent 961326a commit ee593ea8eae6dfbd5217272b72f3e003d2873965 Gisle Aas committed Sep 11, 1998
Showing with 4,445 additions and 396 deletions.
  1. +111 −1 Changes
  2. +42 −0 MANIFEST
  3. +1 −1 Makefile.PL
  4. +7 −2 README
  5. +143 −155 URI.pm
  6. +181 −0 URI/URL.pm
  7. +80 −0 URI/WithBase.pm
  8. +107 −196 URI/_generic.pm
  9. +10 −0 URI/_login.pm
  10. +68 −0 URI/_query.pm
  11. +20 −0 URI/_segment.pm
  12. +93 −0 URI/_server.pm
  13. +51 −0 URI/_userpass.pm
  14. +73 −0 URI/data.pm
  15. +78 −0 URI/file.pm
  16. +60 −0 URI/file/Mac.pm
  17. +6 −0 URI/file/OS2.pm
  18. +32 −0 URI/file/Unix.pm
  19. +56 −0 URI/file/Win32.pm
  20. +58 −0 URI/ftp.pm
  21. +94 −0 URI/gopher.pm
  22. +21 −36 URI/http.pm
  23. +2 −1 URI/https.pm
  24. +72 −0 URI/mailto.pm
  25. +68 −0 URI/news.pm
  26. +6 −0 URI/nntp.pm
  27. +68 −0 URI/pop.pm
  28. +7 −0 URI/rlogin.pm
  29. +8 −0 URI/snews.pm
  30. +7 −0 URI/telnet.pm
  31. +4 −4 t/abs.t
  32. +97 −0 t/data.t
  33. +216 −0 t/generic.t
  34. +61 −0 t/heuristic.t
  35. +50 −0 t/http.t
  36. +45 −0 t/mailto.t
  37. +48 −0 t/news.t
  38. +35 −0 t/old-absconf.t
  39. +961 −0 t/old-base.t
  40. +24 −0 t/old-relbase.t
  41. +47 −0 t/pop.t
  42. +38 −0 t/roy-test.t
  43. +194 −0 t/roy-test1.html
  44. +100 −0 t/roy-test2.html
  45. +89 −0 t/roy-test3.html
  46. +98 −0 t/roy-test4.html
  47. +92 −0 t/roy-test5.html
  48. +194 −0 t/roytest1.html
  49. +100 −0 t/roytest2.html
  50. +89 −0 t/roytest3.html
  51. +98 −0 t/roytest4.html
  52. +92 −0 t/roytest5.html
  53. +43 −0 uri-test
View
112 Changes
@@ -1,6 +1,116 @@
+1998-09-10 Gisle Aas <aas@sn.no>
+
+ Release 0.09
+
+ Included Roy T. Fielding's URI parsing/abs tests from
+ <http://www.ics.uci.edu/~fielding/url/>. We did in fact agree
+ with RFC 2396 on all tests.
+
+
+
+1998-09-10 Gisle Aas <aas@sn.no>
+
+ Release 0.08
+
+ Implemented transformations between various file: URIs and
+ actual file names. New URI::file methods:
+
+ new
+ new_abs
+ cwd
+ file
+ dir
+
+
+
+1998-09-09 Gisle Aas <aas@sn.no>
+
+ Release 0.07
+
+ Implemented rlogin, telnet and file URLs.
+
+ Implemented URI::WithBase
+
+ Implemented URI::URL emulator (ported old URI::URL test suite)
+
+ Can now use schemes with "-", "+" or "." characters in them.
+
+ $u->scheme will downcase. $u->_scheme will keep it as it is.
+
+ Configuration variables for $u->abs
+
+ $u->query_form and $u->query_keyword is more careful about escaping
+ "+" and "=".
+
+ $u->host unescaped
+
+ $u->_port if you want to bypass $u->default_port
+
+ Can handle news message-ids with embedded "/" now
+
+
+
+1998-09-08 Gisle Aas <aas@sn.no>
+
+ Release 0.06
+
+ Implemented gopher URLs
+
+ Implemented ftp URLs
+
+ Second ctor argument can be a plain scheme name. If it is an
+ object, then we use the class of the object as implementor.
+
+ Protect literal % in various places by escaping
+
+ Path segments with parameters is not arrays of class URI::_segment,
+ which overload stingify operator.
+
+ URI::http->canonical will now unescape unreserved characters.
+
+
+
+1998-09-08 Gisle Aas <aas@sn.no>
+
+ Release 0.05
+
+ Implemented news URLs (together with snews/nntp)
+
+ Implemented pop URLs (RFC 2384)
+
+ Can now use '==' to compare if two URI objects are the same or not.
+
+ $u->opaque_part renamed as $u->opaque
+
+ Better canonicalization
+
+ Faster $u->abs (especially for URI that already are absolute)
+
+ $u->query_form will keep more chars unescaped
+
+
+
+1998-09-06 Gisle Aas <aas@sn.no>
+
+ Release 0.04
+
+ Implemented mailto:-URLs (specified in RFC 2368)
+
+ Moved query() methods to internal URI::_query mixin class.
+
+ Escape stuff in the media_type field of data:-URLs.
+
+
+
+1998-09-06 Gisle Aas <aas@sn.no>
+
+ Release 0.03 based on simplified scalar object.
+
+
+
1998-09-02 Gisle Aas <aas@sn.no>
- use fields
+ Release 0.02 based on perl5.005 and fields.pm
View
@@ -3,7 +3,49 @@ MANIFEST
Makefile.PL
README
URI.pm
+URI/Escape.pm
+URI/Heuristic.pm
+URI/URL.pm
+URI/WithBase.pm
URI/_generic.pm
+URI/_login.pm
+URI/_query.pm
+URI/_segment.pm
+URI/_server.pm
+URI/_userpass.pm
+URI/data.pm
+URI/file.pm
+URI/file/Mac.pm
+URI/file/OS2.pm
+URI/file/Unix.pm
+URI/file/Win32.pm
+URI/ftp.pm
+URI/gopher.pm
URI/http.pm
URI/https.pm
+URI/mailto.pm
+URI/news.pm
+URI/nntp.pm
+URI/pop.pm
+URI/rlogin.pm
+URI/snews.pm
+URI/telnet.pm
+rfc2396.txt
t/abs.t
+t/data.t
+t/generic.t
+t/heuristic.t
+t/http.t
+t/mailto.t
+t/news.t
+t/old-absconf.t
+t/old-base.t
+t/old-relbase.t
+t/pop.t
+t/roy-test.t
+t/roytest1.html
+t/roytest2.html
+t/roytest3.html
+t/roytest4.html
+t/roytest5.html
+uri-test
View
@@ -1,4 +1,4 @@
-require 5.005;
+require 5.004;
use ExtUtils::MakeMaker;
WriteMakefile(
View
9 README
@@ -1,4 +1,6 @@
-!!! This is work in progress. Class names and interfaces will change. !!!
+!!! This is work in progress. Class names and interfaces will change.
+!!! No documentation provided.
+!!!
This is an attempt to update and simplify the URI::URL classes based
on RFC 2396 "Uniform Resource Identifiers (URI): Generic Syntax"
@@ -19,12 +21,15 @@ Main user visible changes from URI::URL are:
* Don't export url() constructor function. URI->new is short
enough.
+
+ * No base() attribute, also means that abs() and rel() needs
+ mandatory $base argument.
* netloc --> authority
* user/password --> userinfo
- * full_path --> abs_path_query
+ * full_path is gone (but path_query() is quite close).
* path_components --> path_segments. If a path segment has
parameters then this segment is represented by an array reference.
Oops, something went wrong.

0 comments on commit ee593ea

Please sign in to comment.