Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								66c31a0c07 
								
							 
						 
						
							
							
								
								LibJS: Implement RegExp.prototype [ @@search ] with UTF-16 code units  
							
							
							
						 
						
							2021-07-23 23:06:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								2c023157e9 
								
							 
						 
						
							
							
								
								LibJS: Implement RegExp.prototype [ @@match ] with UTF-16 code units  
							
							
							
						 
						
							2021-07-23 23:06:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								b1ea9c20b0 
								
							 
						 
						
							
							
								
								LibJS: Implement RegExp.prototype.{exec,test} with UTF-16 code units  
							
							... 
							
							
							
							This converts RegExpExec to perform matching with UTF-16 strings. As a
very temporary stop-gap, this adds overloads to RegExpExec and friends
for both UTF-8 and UTF-16 strings. This is only needed until the rest
of RegExp.prototype is UTF-16 capable.
This also addresses a FIXME regarding code point index correction in
RegExpExec when the Unicode flag is set. 
							
						 
						
							2021-07-23 23:06:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								a0c19deb80 
								
							 
						 
						
							
							
								
								LibJS: Implement RegExpCreate/RegExpInitialize closer to the spec  
							
							... 
							
							
							
							RegExpInitialize specifies how the pattern string should be created
before passing it to [[RegExpMatcher]]. Rather than passing it as-is,
the string should be converted to code points and back to a "List" (if
the Unicode flag is present), or as a "List" of UTF-16 code units.
Further. the spec requires that we keep both the original pattern string
and this parsed string in the RegExp object.
The caveat is that the LibRegex parser further requires any multi-byte
code units to be escaped (as "\unnnn"). Otherwise, the code unit is
recognized as individual UTF-8 bytes. 
							
						 
						
							2021-07-23 23:06:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								1d76be97f5 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.inLeapYear  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								c9ae7e1af1 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.inLeapYear  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								dd15fc471c 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.monthsInYear  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								342172da37 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.monthsInYear  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								b1dd09840b 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.daysInYear  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								7f27035342 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.daysInYear  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								3160540d0e 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.daysInMonth  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								69c8b8e8bd 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.daysInMonth  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								2150f5b374 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.daysInWeek  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								623df361e6 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.daysInWeek  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								2cf582436f 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.weekOfYear  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								d22fe25643 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.weekOfYear  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								d561535ac9 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.dayOfYear  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								c0e7761758 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.dayOfYear  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								bcbfd5b280 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.dayOfWeek  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								339b0a17e8 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.dayOfWeek  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								59dc0e8421 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.day  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								8a20f258f0 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.day  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								d9414e465a 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.monthCode  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								9d9ba29cae 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.monthCode  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								a0af9b11fb 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.month  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								3bec18432a 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.month  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								8434ca6c4b 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.year  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								3895a8354d 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.Calendar.prototype.year  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								9fa8f19a0f 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDate.prototype.withCalendar  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								8123e957e3 
								
							 
						 
						
							
							
								
								LibJS: Add missing PlainDateTime case in ToTemporalDate  
							
							
							
						 
						
							2021-07-23 22:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								080112eb82 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDateTime.prototype.getISOFields()  
							
							
							
						 
						
							2021-07-23 08:18:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								18fd0d4011 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDateTime.prototype.toPlainDate()  
							
							
							
						 
						
							2021-07-23 08:18:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								61b2780853 
								
							 
						 
						
							
							
								
								LibJS: Fix return type of PlainDateTime::iso_{milli,micro,nano}second()  
							
							
							
						 
						
							2021-07-23 08:18:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								8b6865b128 
								
							 
						 
						
							
							
								
								LibJS: Add missing step number in PlainDatePrototype  
							
							
							
						 
						
							2021-07-22 21:19:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								aa2c8b6b91 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDateTime.prototype.calendar  
							
							
							
						 
						
							2021-07-22 21:19:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								78acc976a6 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDateTime.prototype.valueOf()  
							
							
							
						 
						
							2021-07-22 21:19:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								591ee813fb 
								
							 
						 
						
							
							
								
								LibJS: Implement Temporal.PlainDateTime.prototype[@@toStringTag]  
							
							
							
						 
						
							2021-07-22 21:19:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								4be3196882 
								
							 
						 
						
							
							
								
								LibJS: Start implementing Temporal.PlainDateTime  
							
							... 
							
							
							
							This commit adds the PlainDateTime object itself, its constructor and
prototype (currently empty), and the CreateTemporalDateTime abstract
operation. 
							
						 
						
							2021-07-22 21:19:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								8f26f51580 
								
							 
						 
						
							
							
								
								LibJS: Add missing spec links to System{Instant,UTCEpochNanoseconds}  
							
							
							
						 
						
							2021-07-22 21:19:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								bece2093f2 
								
							 
						 
						
							
							
								
								LibJS: Remove pointless 'explicit' from a couple of constructors  
							
							
							
						 
						
							2021-07-22 21:19:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								c65424d806 
								
							 
						 
						
							
							
								
								LibJS: Fix value of Temporal.PlainDate.length  
							
							... 
							
							
							
							Should be 3 (year, month, day, optional calendar-like), not 0. 
							
						 
						
							2021-07-22 21:19:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								d3c25593b9 
								
							 
						 
						
							
							
								
								LibJS: Implement String.prototype.split with UTF-16 code units  
							
							... 
							
							
							
							Also required implementing the SplitMatch abstract operation with UTF-16
code units. 
							
						 
						
							2021-07-22 09:10:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								733a92820b 
								
							 
						 
						
							
							
								
								LibJS: Implement String.prototype.replaceAll with UTF-16 code units  
							
							
							
						 
						
							2021-07-22 09:10:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								06208aaa15 
								
							 
						 
						
							
							
								
								LibJS: Implement String.prototype.replace with UTF-16 code units  
							
							
							
						 
						
							2021-07-22 09:10:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								bdbe716547 
								
							 
						 
						
							
							
								
								LibJS: Implement String.prototype.endsWith with UTF-16 code units  
							
							
							
						 
						
							2021-07-22 09:10:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								d2e63a641f 
								
							 
						 
						
							
							
								
								LibJS: Implement String.prototype.startsWith with UTF-16 code units  
							
							
							
						 
						
							2021-07-22 09:10:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								f920e121b3 
								
							 
						 
						
							
							
								
								LibJS: Implement String.prototype.lastIndexOf with UTF-16 code units  
							
							
							
						 
						
							2021-07-22 09:10:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								5ac964d841 
								
							 
						 
						
							
							
								
								LibJS: Implement String.prototype.slice with UTF-16 code units  
							
							... 
							
							
							
							This also implements String.prototype.slice more closely to the spec
(such as handling indices equivalent to Infinity). 
							
						 
						
							2021-07-22 09:10:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								eaa1360eee 
								
							 
						 
						
							
							
								
								LibJS: Implement StringPad abstract operation with UTF-16 code units  
							
							... 
							
							
							
							Affects String.prototype.padStart and String.prototype.padEnd. 
							
						 
						
							2021-07-22 09:10:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								ef2ff5f88b 
								
							 
						 
						
							
							
								
								LibJS: Implement String.prototype.at with UTF-16 code units  
							
							
							
						 
						
							2021-07-22 09:10:44 +02:00