Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								689ca370d4 
								
							 
						 
						
							
							
								
								Everywhere: Remove NonnullRefPtr.h includes  
							
							
							
						 
						
							2023-03-06 23:46:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								8a48246ed1 
								
							 
						 
						
							
							
								
								Everywhere: Stop using NonnullRefPtrVector  
							
							... 
							
							
							
							This class had slightly confusing semantics and the added weirdness
doesn't seem worth it just so we can say "." instead of "->" when
iterating over a vector of NNRPs.
This patch replaces NonnullRefPtrVector<T> with Vector<NNRP<T>>. 
							
						 
						
							2023-03-06 23:46:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								bab883bf8e 
								
							 
						 
						
							
							
								
								LibJS+LibWeb: Add a bunch of missing includes  
							
							
							
						 
						
							2023-03-06 13:05:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								09d40bfbb2 
								
							 
						 
						
							
							
								
								Everywhere: Use _{short_,}string to create Strings from literals  
							
							
							
						 
						
							2023-02-25 20:51:49 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								f11899f885 
								
							 
						 
						
							
							
								
								LibWeb+LibIDL: Fix (or paper over) various const-correctness issues  
							
							... 
							
							
							
							There's definitely stuff to iterate on here, but this takes care of
making the libraries compile with stricter RP and NNRP. 
							
						 
						
							2023-02-21 00:54:04 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									MacDue 
								
							 
						 
						
							
							
							
							
								
							
							
								3676f5085e 
								
							 
						 
						
							
							
								
								LibWeb: Replace RefPtr with ValueComparingRefPtr in StyleValue  
							
							... 
							
							
							
							Like the name suggests this pointer type compares its pointees by value
rather than just by the pointer. This is needed for the defaulted
struct Properties equality operator.
This commit also contains a few changes to StyleValue such as replacing
the operator==()s with a .equals() again. This is done to avoid the new
reversed operator==()s ambiguity in C++20. 
							
						 
						
							2023-02-20 10:50:20 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								2db168acc1 
								
							 
						 
						
							
							
								
								LibTextCodec+Everywhere: Port Decoders to new Strings  
							
							
							
						 
						
							2023-02-19 17:15:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								f2a9426885 
								
							 
						 
						
							
							
								
								LibTextCodec+Everywhere: Return Optional<Decoder&> from decoder_for()  
							
							
							
						 
						
							2023-02-19 17:15:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								13d2111b74 
								
							 
						 
						
							
							
								
								LibWeb: Port Selector to new Strings  
							
							... 
							
							
							
							Also use `Infra::is_ascii_case_insensitive_match()` in some appropriate
places, after checking the specs. 
							
						 
						
							2023-02-19 00:51:16 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								c2f0b20d6b 
								
							 
						 
						
							
							
								
								LibWeb: Port FontFace to new Strings  
							
							
							
						 
						
							2023-02-19 00:51:16 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								33e9c4e1b2 
								
							 
						 
						
							
							
								
								LibWeb: Port GeneralEnclosed to new Strings  
							
							
							
						 
						
							2023-02-19 00:51:16 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								2026ea557e 
								
							 
						 
						
							
							
								
								LibWeb: Use is_ascii_case_insensitive_match() where the spec says to  
							
							
							
						 
						
							2023-02-19 00:46:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								64e4d3fd94 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::CSSSupportsRule fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								5d9bc378c3 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::MediaList fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								a49ea467ad 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::CSSStyleSheet fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								4f4a908e5f 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::CSSStyleRule fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								c950d1904a 
								
							 
						 
						
							
							
								
								LibWeb: Make factory methods of CSS::CSSStyleDeclaration fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								48872cd190 
								
							 
						 
						
							
							
								
								LibWeb: Make factory methods of CSS::CSSRuleList fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								5601f439f9 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::CSSMediaRule fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								d53d8cacec 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::CSSImportRule fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								ff8495de35 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::CSSFontFaceRule fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								85f3de6331 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS/Serialize.{h,cpp} to new Strings, and propagate errors  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								a381ce9519 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Supports to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								41c4cc95e4 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Parser::Rule to new Strings  
							
							... 
							
							
							
							`Rule::to_deprecated_string()` and
`DeclarationOrAtRule::to_deprecated_string()` are not used anywhere, so
we can just delete them. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								bee32b6cd2 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Parser::Declaration to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								a168cda4a7 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Parser::ComponentValue to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								05c1b09621 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Parser::Function to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								86d23c63a4 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Parser::Block to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								9e735cc02e 
								
							 
						 
						
							
							
								
								LibWeb: Remove unused includes for DeprecatedString  
							
							... 
							
							
							
							Missed these before, oops. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								3685a8813a 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS Tokenizer to new Strings  
							
							... 
							
							
							
							Specifically, this uses FlyString, because the data gets held long-term
as a FlyString anyway. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								abc01cc9fe 
								
							 
						 
						
							
							
								
								AK+Tests+LibWeb: Make URL::complete_url() take a StringView  
							
							... 
							
							
							
							All it does is pass this to `URLParser::parse()` which takes a
StringView, so we might as well take one here too. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								8af65108e4 
								
							 
						 
						
							
							
								
								LibWeb: Construct CSS Tokenizer and Parser with a StringView encoding  
							
							... 
							
							
							
							This doesn't need to be a full (Deprecated)String, so let's not force it
to be. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								476ec563bc 
								
							 
						 
						
							
							
								
								LibWeb: Convert CSS Token::to_debug_string() to ::to_string() :^)  
							
							... 
							
							
							
							Using from_utf8_short_string() for all cases that are <= 3 bytes long.
Which is almost all of the static ones. 
							
						 
						
							2023-02-13 14:35:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								2368e6c5f2 
								
							 
						 
						
							
							
								
								LibWeb: Convert CSS Token/ComponentValue::to_debug_string() to String  
							
							... 
							
							
							
							These are only used for debugging, so I've decided that logging the
ErrorOr<String> itself is fine instead of trying to handle that error
more gracefully in those cases. If you're getting OOM trying to debug
log things, you have bigger problems. 
							
						 
						
							2023-02-13 14:35:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								7fc72d3838 
								
							 
						 
						
							
							
								
								LibWeb: Convert CSS Token value to new FlyString  
							
							
							
						 
						
							2023-02-13 14:35:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								09f7682feb 
								
							 
						 
						
							
							
								
								LibWeb: Return StringViews from CSS Token bracket-string getters  
							
							... 
							
							
							
							These don't need to be full Strings, so let's be lightweight. 
							
						 
						
							2023-02-13 14:35:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Aliaksandr Kalenik 
								
							 
						 
						
							
							
							
							
								
							
							
								ab99e95549 
								
							 
						 
						
							
							
								
								LibWeb: Parse font-stretch CSS property  
							
							
							
						 
						
							2023-02-03 12:49:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									martinfalisse 
								
							 
						 
						
							
							
							
							
								
							
							
								9bc001f410 
								
							 
						 
						
							
							
								
								LibWeb: Parse grid-area CSS property  
							
							
							
						 
						
							2023-01-21 14:35:00 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									martinfalisse 
								
							 
						 
						
							
							
							
							
								
							
							
								a6548c4d80 
								
							 
						 
						
							
							
								
								LibWeb: Parse grid-template-areas CSS property  
							
							
							
						 
						
							2023-01-21 14:35:00 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									martinfalisse 
								
							 
						 
						
							
							
							
							
								
							
							
								0448547553 
								
							 
						 
						
							
							
								
								LibWeb: Parse min and max-content  
							
							... 
							
							
							
							Parse min and max-content as well as use its values in the GridTrackSize
class. 
							
						 
						
							2023-01-21 14:35:00 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									martinfalisse 
								
							 
						 
						
							
							
							
							
								
							
							
								9d99bd8258 
								
							 
						 
						
							
							
								
								LibWeb: Use String class in certain CSS Grid classes  
							
							... 
							
							
							
							Converts the remaining instances of DeprecatedString to String in the
CSS Grid classes. 
							
						 
						
							2023-01-21 14:35:00 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								f3db548a3d 
								
							 
						 
						
							
							
								
								AK+Everywhere: Rename FlyString to DeprecatedFlyString  
							
							... 
							
							
							
							DeprecatedFlyString relies heavily on DeprecatedString's StringImpl, so
let's rename it to A) match the name of DeprecatedString, B) write a new
FlyString class that is tied to String. 
							
						 
						
							2023-01-09 23:00:24 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									martinfalisse 
								
							 
						 
						
							
							
							
							
								
							
							
								ce0f41b9fb 
								
							 
						 
						
							
							
								
								LibWeb+WebContent: Use new String class in CSS::StyleValue  
							
							... 
							
							
							
							Converts uses of DeprecatedString to String in StyleValue, and patches
surrounding files that depend on these functions. 
							
						 
						
							2023-01-09 11:09:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								7d40e3eb0d 
								
							 
						 
						
							
							
								
								LibWeb: Replace all px Length creation with Length::make_px(CSSPixels)  
							
							
							
						 
						
							2023-01-05 17:42:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									MacDue 
								
							 
						 
						
							
							
							
							
								
							
							
								d3588a9a2b 
								
							 
						 
						
							
							
								
								LibWeb: Support calc() values in background-position  
							
							
							
						 
						
							2022-12-11 22:09:24 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								57dc179b1f 
								
							 
						 
						
							
							
								
								Everywhere: Rename to_{string => deprecated_string}() where applicable  
							
							... 
							
							
							
							This will make it easier to support both string types at the same time
while we convert code, and tracking down remaining uses.
One big exception is Value::to_string() in LibJS, where the name is
dictated by the ToString AO. 
							
						 
						
							2022-12-06 08:54:33 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								6e19ab2bbc 
								
							 
						 
						
							
							
								
								AK+Everywhere: Rename String to DeprecatedString  
							
							... 
							
							
							
							We have a new, improved string type coming up in AK (OOM aware, no null
state), and while it's going to use UTF-8, the name UTF8String is a
mouthful - so let's free up the String name by renaming the existing
class.
Making the old one have an annoying name will hopefully also help with
quick adoption :^) 
							
						 
						
							2022-12-06 08:54:33 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									MacDue 
								
							 
						 
						
							
							
							
							
								
							
							
								28028be2fc 
								
							 
						 
						
							
							
								
								LibWeb: Support repeating-radial-gradient()s  
							
							
							
						 
						
							2022-12-03 09:06:51 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									MacDue 
								
							 
						 
						
							
							
							
							
								
							
							
								22a7611e1c 
								
							 
						 
						
							
							
								
								LibWeb: Parse radial-gradient()s  
							
							
							
						 
						
							2022-11-30 14:24:04 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									MacDue 
								
							 
						 
						
							
							
							
							
								
							
							
								f1f1977e2d 
								
							 
						 
						
							
							
								
								LibWeb: Move color stop list parsing to standalone functions  
							
							... 
							
							
							
							This makes these slightly less clunky to use for other gradient types. 
							
						 
						
							2022-11-30 14:24:04 +00:00