Commit graph

331 commits

Author SHA1 Message Date
Jacob Carlborg
e13643d81f Removed a list item in the docs. 2011-04-04 21:48:47 +02:00
Jacob Carlborg
786486e51e Added a new function, statusCodeDescription, for getting a descriptive string of a status code. 2011-04-04 21:45:32 +02:00
Jacob Carlborg
4f0e3d5c20 Removed the firstChar function. Added a note about that the DNS check is not implemented. 2011-04-04 21:39:05 +02:00
Jacob Carlborg
cbf2853113 A couple of fixes:
* Formatting of the copyright
* Changed the checkDNS bool to an enum
* Changed the isEmail static assert to a template constraint
* Changed to the correct naming convention for all the enum members
* Make use of "enforce" where appropriate
2011-04-04 21:11:27 +02:00
Jacob Carlborg
62bba9e3dd Removed trailing whitespaces. 2011-04-02 22:35:41 +02:00
Jacob Carlborg
594f1bf556 Converted tabs to spaces. 2011-04-02 22:29:23 +02:00
Jacob Carlborg
2e3db5a05b Changed the names of the EmailStatusCode's members to being with a lowercase character. 2011-04-02 22:25:37 +02:00
Jacob Carlborg
aa490ea6a0 Some more fixes:
* Removed pointless aliases
* Change the const members in EmailStatus to properties
* Clarified the version in the module doc
* Made the EmailStatus' constructor private
2011-04-02 22:03:32 +02:00
Jacob Carlborg
61c7cb6d6a Updated the module doc banner. 2011-03-29 23:00:14 +02:00
Jacob Carlborg
a88b8b0a69 Renamed EmailStatusCode.Off and On to None and Any. Updated documentation. 2011-03-24 22:21:27 +01:00
Jacob Carlborg
d427b6c2ab Changed doc comments of private functions to regular comments. 2011-03-24 20:54:54 +01:00
Jacob Carlborg
912d621a9f Cleaned up the docs. 2011-03-22 22:39:03 +01:00
Jacob Carlborg
d2e13ef699 Fixed a warning. 2011-03-22 22:37:05 +01:00
Jacob Carlborg
04128849d9 Added an implementation to the "status" method. 2011-03-22 22:25:43 +01:00
Jacob Carlborg
ecfe606ffa Replaced the unnecessary "pattern" variable with a string literal. 2011-03-17 21:31:59 +01:00
Jacob Carlborg
c2d45de023 Changed the isEmail function to accept all string types. 2011-03-16 22:20:32 +01:00
Jacob Carlborg
2251d955a0 Reordered the declarations in the isemail module. 2011-03-16 20:45:56 +01:00
Jacob Carlborg
90a4a8b2fb Modified the module documentation. 2011-03-15 21:41:36 +01:00
Jacob Carlborg
fbd54d10cd Added documentation for EmailStatusCode. 2011-03-15 21:26:51 +01:00
Jacob Carlborg
54b0f123a6 Fixed an error in the unit test for the "grep" function. 2011-03-15 21:00:14 +01:00
Jacob Carlborg
5eb607d8c2 Added unit tests for utility functions. 2011-03-14 20:21:36 +01:00
Jacob Carlborg
2babe8afc8 Removed ErrorLevel. 2011-03-11 20:55:46 +01:00
Jacob Carlborg
5996b50f86 Added documentation for the isemail module. 2011-03-11 19:44:53 +01:00
Jacob Carlborg
93915be0f2 Removed the rawLength variable to use email.length directly instead. 2011-03-08 18:44:02 +01:00
Jacob Carlborg
12bb3f5b21 Changed isEmail to return a struct instead of a status code. 2011-03-08 18:42:34 +01:00
Jacob Carlborg
3aefb99315 Fixed unicode error, all enabled unit tests pass now. 2011-03-07 20:12:59 +01:00
Jacob Carlborg
7a0c3fbad4 Most of the isemail unit test pass now. 2011-03-05 16:36:13 +01:00
Jacob Carlborg
43081cd6dc Added main function when running unit test. Missed "isEmail" in a unit test. 2011-03-02 21:03:24 +01:00
Jacob Carlborg
a8623911f5 Added unit tests. 2011-03-02 20:37:04 +01:00
Jacob Carlborg
bbb2d3f187 Ported the std.net.isemail module to D. 2011-03-02 18:20:23 +01:00
Jacob Carlborg
b41fd1fa97 Added the std.net.isemail module. 2011-03-02 18:11:01 +01:00