Thread: [Jspro-cvs] jsPro string.js,1.13,1.14 point.js,1.11,1.12 error.js,1.11,1.12 date.js,1.5,1.6 CHANGES,
Brought to you by:
wigleys
|
From: <wi...@us...> - 2003-09-12 14:23:06
|
Update of /cvsroot/jspro/jsPro
In directory sc8-pr-cvs1:/tmp/cvs-serv27599
Modified Files:
string.js point.js error.js date.js CHANGES
Log Message:
- addition of @summary comments
Index: string.js
===================================================================
RCS file: /cvsroot/jspro/jsPro/string.js,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** string.js 12 Aug 2003 13:05:54 -0000 1.13
--- string.js 12 Sep 2003 14:23:02 -0000 1.14
***************
*** 30,33 ****
--- 30,34 ----
* quotes), and reverse solidi (backslashes) in this string with backslashes.
*
+ * @summary escape vertain characters with backslashes
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 76,79 ****
--- 77,81 ----
* number of occurrences of that member's key in this string.
*
+ * @summary count occurence of characters
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 121,124 ****
--- 123,127 ----
* Entity References.
*
+ * @summary encode xhtml entities
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 193,196 ****
--- 196,200 ----
* 4.01 Special Characters Set with their Character Entity References.
*
+ * @summary encode subset of html special characters
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 243,246 ****
--- 247,251 ----
* compliance.
*
+ * @summary is email address?
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 287,290 ****
--- 292,296 ----
* convert a source string into a target string.
*
+ * @summary levenshtein distance
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 362,365 ****
--- 368,372 ----
* number of times.
*
+ * @summary pad left side
* @author Randolph Fielding
* @version 1.0, 08/07/03
***************
*** 426,429 ****
--- 433,437 ----
* Trims whitespace characters from the left side of this string.
*
+ * @summary trim left side
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 476,479 ****
--- 484,488 ----
* with either HTML <BR> elements or XHTML <br /> elements.
*
+ * @summary newline to <br> conversion
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 531,534 ****
--- 540,544 ----
* with another string for a specified number of times.
*
+ * @summary pad
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 606,609 ****
--- 616,620 ----
* Repeats this string a specified number of times.
*
+ * @summary repeat
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 655,658 ****
--- 666,670 ----
* are specified).
*
+ * @summary reverse
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 740,743 ****
--- 752,756 ----
* unchanged.
*
+ * @summary rotate 13 encoding
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 799,802 ****
--- 812,816 ----
* number of times.
*
+ * @summary pad right side
* @author Randolph Fielding
* @version 1.0, 08/07/03
***************
*** 863,866 ****
--- 877,881 ----
* Trims whitespace characters from the right side of this string.
*
+ * @summary trim right side
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 913,916 ****
--- 928,932 ----
* right side of this string.
*
+ * @summary trim
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 967,970 ****
--- 983,987 ----
* Converts the first character of this string to uppercase.
*
+ * @summary uppercase first character
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1004,1007 ****
--- 1021,1025 ----
* Converts the first character of each word in this string to uppercase.
*
+ * @summary uppercase words
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1064,1067 ****
--- 1082,1086 ----
* the wrap if specified.
*
+ * @summary word wrap
* @author Stuart Wigley
* @author Randolph Fielding
Index: point.js
===================================================================
RCS file: /cvsroot/jspro/jsPro/point.js,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** point.js 12 Aug 2003 06:40:29 -0000 1.11
--- point.js 12 Sep 2003 14:23:02 -0000 1.12
***************
*** 32,35 ****
--- 32,36 ----
* optional abscissa and ordinate arguments are specified).
*
+ * @summary distance between two points
* @author Davy Cielen
* @author Randolph Fielding
Index: error.js
===================================================================
RCS file: /cvsroot/jspro/jsPro/error.js,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** error.js 6 Sep 2003 01:50:10 -0000 1.11
--- error.js 12 Sep 2003 14:23:02 -0000 1.12
***************
*** 39,43 ****
* window. An instance of the Debug() class must be available.
*/
! Error.prototype.debugLevel = 3;
--- 39,43 ----
* window. An instance of the Debug() class must be available.
*/
! Error.prototype.debugLevel = 4;
***************
*** 74,78 ****
break;
case 4 :
! var jsProDebugWindow = oDebug;
if (jsProDebugWindow) {
var oDebugWindow = jsProDebugWindow.debugWindow;
--- 74,78 ----
break;
case 4 :
! var jsProDebugWindow = debug;
if (jsProDebugWindow) {
var oDebugWindow = jsProDebugWindow.debugWindow;
Index: date.js
===================================================================
RCS file: /cvsroot/jspro/jsPro/date.js,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** date.js 26 Aug 2003 06:33:17 -0000 1.5
--- date.js 12 Sep 2003 14:23:02 -0000 1.6
***************
*** 66,69 ****
--- 66,70 ----
* Z - Greenwich Mean Time (GMT) offset in seconds ('-43200' to '43200')
*
+ * @summary format a date
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 351,354 ****
--- 352,356 ----
* string between '1' and '366', inclusive.
*
+ * @summary day of year
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 415,418 ****
--- 417,421 ----
* between '28' and '31', inclusive.
*
+ * @summary days in month
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 479,482 ****
--- 482,486 ----
* four digits representing hours (HH) and minutes (MM).
*
+ * @summary GMT Offset
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 527,530 ****
--- 531,535 ----
* inclusive.
*
+ * @summary two digit hour (01-12)
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 573,576 ****
--- 578,582 ----
* inclusive.
*
+ * @summary two digit hour (00-23)
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 617,620 ****
--- 623,627 ----
* '01' and '31', inclusive.
*
+ * @summary two digit day of month (01-31)
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 660,663 ****
--- 667,671 ----
* Returns the day name for this date (e.g. 'Monday', 'Tuesday', etc.).
*
+ * @summary Day name
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 699,702 ****
--- 707,711 ----
* '59', inclusive.
*
+ * @summary two digit minute (00-59)
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 743,746 ****
--- 752,756 ----
* '12', inclusive.
*
+ * @summary two digit month (01-12)
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 786,789 ****
--- 796,800 ----
* Returns the month name for this date (e.g. 'January', 'February', etc.).
*
+ * @summary month name
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 825,828 ****
--- 836,840 ----
* '59', inclusive.
*
+ * @summary two digit seconds (00-59)
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 869,872 ****
--- 881,885 ----
* (Post Meridiem).
*
+ * @summary meridiem
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 907,910 ****
--- 920,924 ----
* date (i.e. 'st', 'nd', 'rd' or 'th').
*
+ * @summary english ordinal suffix
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 955,958 ****
--- 969,973 ----
* RFC 822 (Standard for the Format of ARPA Internet Text Messages).
*
+ * @summary RFC 822 date
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1043,1046 ****
--- 1058,1062 ----
* and '12', inclusive.
*
+ * @summary one/two digit hour (1-12)
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1083,1086 ****
--- 1099,1103 ----
* and '23', inclusive.
*
+ * @summary one/two digit hour (0-23)
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1121,1124 ****
--- 1138,1142 ----
* Returns the shortened day name for this date (e.g. 'Mon', 'Tue', etc.).
*
+ * @summary short day name
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1173,1176 ****
--- 1191,1195 ----
* and '12', inclusive.
*
+ * @summary one/two digit month (1-12)
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1211,1214 ****
--- 1230,1234 ----
* Returns the shortened month name for this date (e.g. 'Jan', 'Feb', etc.).
*
+ * @summary short month name
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1263,1266 ****
--- 1283,1287 ----
* inclusive.
*
+ * @summary two digit year (00-99)
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1303,1306 ****
--- 1324,1328 ----
* information.
*
+ * @summary Swatch internet time
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1351,1354 ****
--- 1373,1377 ----
* 00:00:00 GMT) for this date.
*
+ * @summary seconds since UNIX epoch
* @author Randolph Fielding
* @version 1.0, 08/20/03
***************
*** 1388,1391 ****
--- 1411,1415 ----
* Returns the abbreviation of the name of the local timezone.
*
+ * @summary not implemented
* @author Stuart Wigley
* @version 1.0, 08/07/03
***************
*** 1404,1407 ****
--- 1428,1432 ----
* Returns the Greenwich Mean Time (GMT) offset for this date in seconds.
*
+ * @summary timezone offset in seconds
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1446,1449 ****
--- 1471,1475 ----
* http://personal.ecu.edu/mccartyr/ISOwdALG.txt for more information.
*
+ * @summary week of year
* @author Stuart Wigley
* @author Randolph Fielding
***************
*** 1530,1533 ****
--- 1556,1560 ----
* Determines if this date falls within Daylight Savings Time.
*
+ * @summary not implemented
* @author Stuart Wigley
* @version 1.0, 08/07/03
***************
*** 1548,1551 ****
--- 1575,1579 ----
* Determines if this date falls within a leap year.
*
+ * @summary is leap year?
* @author Stuart Wigley
* @author Randolph Fielding
Index: CHANGES
===================================================================
RCS file: /cvsroot/jspro/jsPro/CHANGES,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** CHANGES 6 Sep 2003 01:56:11 -0000 1.12
--- CHANGES 12 Sep 2003 14:23:02 -0000 1.13
***************
*** 4,7 ****
--- 4,11 ----
Additions:
+ array.js:
+
+ - Array.changeKeyCase()
+
constants.js:
***************
*** 20,23 ****
--- 24,28 ----
- Math.baseConvert()
- Math.fmod()
+ - Math.pi()
-------------------------------------------------------------------------------
|