summaryrefslogtreecommitdiff
path: root/Userland/Libraries
AgeCommit message (Collapse)Author
2023-01-26LibJS: Remove some usage of DeprecatedString usage from LexerEvan Smal
This changes the filename member from DeprecatedString to String. Parser has also been updated to meet the updated Lexer interface.
2023-01-26LibJS: Remove DeprecatedString usage from TokenEvan Smal
2023-01-26LibJS: Remove DeprecatedString usage from SourceCodeEvan Smal
This change also requires updates to some users of the SourceCode interface since it no longer use DeprecatedString.
2023-01-26LibGfx: Remove `try_` prefix from bitmap creation functionsTim Schumacher
Those don't have any non-try counterpart, so we might as well just omit it.
2023-01-26LibJS: Port parse_iso_date_time() to StringLinus Groh
2023-01-26LibJS: Port temporal_zoned_date_time_to_string() to StringLinus Groh
2023-01-26LibJS: Remove unused is_valid_time_zone_numeric_utc_offset_syntax()Linus Groh
...as well as the underlying function: parse_time_zone_numeric_utc_offset_syntax()
2023-01-26LibJS: Port builtin_time_zone_get_offset_string_for() to StringLinus Groh
2023-01-26LibJS: Port format_iso_time_zone_offset_string() to StringLinus Groh
2023-01-26LibJS: Port format_time_zone_offset_string() to StringLinus Groh
2023-01-26LibJS: Port create_temporal_time_zone() to StringLinus Groh
2023-01-26LibJS: Port temporal_year_month_to_string() to StringLinus Groh
2023-01-26LibJS: Port temporal_time_to_string() to StringLinus Groh
2023-01-26LibJS: Port temporal_date_time_to_string() to StringLinus Groh
2023-01-26LibJS: Port temporal_date_to_string() to StringLinus Groh
2023-01-26LibJS: Port pad_iso_year() to StringLinus Groh
2023-01-26LibJS: Port temporal_month_day_to_string() to StringLinus Groh
2023-01-26LibJS: Port temporal_instant_to_string() to StringLinus Groh
2023-01-26LibJS: Make parse_temporal_instant() take a StringViewLinus Groh
The underlying parse_temporal_instant_string() function already does this as well.
2023-01-26LibJS: Port temporal_duration_to_string() to StringLinus Groh
2023-01-26LibJS: Make {un,}balance_duration_relative() take a StringViewLinus Groh
This is only used for equality checks.
2023-01-26LibJS: Port iso_month_code() to StringLinus Groh
2023-01-26LibJS: Port format_calendar_annotation() to StringLinus Groh
2023-01-26LibJS: Port maybe_format_calendar_annotation() to StringLinus Groh
2023-01-26LibJS: Port calendar_month_code() to StringLinus Groh
2023-01-26LibJS: Port get_builtin_calendar() to StringLinus Groh
2023-01-26LibJS: Port create_temporal_calendar() to StringLinus Groh
2023-01-26LibJS: Port canonicalize_time_zone_name() to StringLinus Groh
2023-01-26LibJS: Use StringView for SecondsStringPrecision::unitLinus Groh
This is exclusively used with sv literals, and can be a StringView like precision above it. This removes the last use of DeprecatedString in Temporal's AbstractOperations.h :^)
2023-01-26LibJS: Port calendar / time zone members of Temporal* structs to StringLinus Groh
2023-01-26LibJS: Port parse_temporal_calendar_string()Linus Groh
Also make is_builtin_calendar() take a StringView as part of this, it only does equality checks.
2023-01-26LibJS: Port get_difference_settings() to StringLinus Groh
Also make balance_duration() take a StringView as part of this, it only does equality checks.
2023-01-26LibJS: Port prepare_temporal_fields() and calendar_fields() to StringLinus Groh
2023-01-26LibJS: Make parse_temporal_*_string() take a StringViewLinus Groh
The underlying parse_iso8601() function already does this as well.
2023-01-26LibJS: Port format_seconds_string_part() to StringLinus Groh
2023-01-26LibJS: Port merge_largest_unit_option() to StringLinus Groh
2023-01-26LibJS: Port get_temporal_unit() to StringLinus Groh
2023-01-26LibJS: Port to_show_offset_option() to StringLinus Groh
2023-01-26LibJS: Port to_time_zone_name_option() to StringLinus Groh
2023-01-26LibJS: Port to_calendar_name_option() to StringLinus Groh
2023-01-26LibJS: Port to_temporal_offset() to StringLinus Groh
2023-01-26LibJS: Port to_temporal_rounding_mode() to StringLinus Groh
Also make negate_temporal_rounding_mode() take a StringView as part of this, it only does equality checks.
2023-01-26LibJS: Port to_temporal_disambiguation() to StringLinus Groh
2023-01-26LibJS: Port to_temporal_overflow() to StringLinus Groh
2023-01-26LibGfx: Enforce type of 'cprt' and 'desc' type in v4 filesNico Weber
Add a targeted quirk for the one known file where this is violated. Adding that quirk is a bit of a bummer, since that means all client code of this class now needs to deal with the possibility that 'cprt' and 'desc' aren't 'mluc' for v4 files. But if that code wants to handle v2 files, it needs to deal with that anyways, so it's really just a bit of a bummer and not more.
2023-01-26LibGfx: Check the types of tags in ICCProfileNico Weber
This adds checking for all tags where ICCProfile can parse the type. Over time, more of this needs implementing -- at least lut8Type, lut16Type, lutAToBType, and lutBToAType, since these are used by required tags. What _is_ checked for the most part matches the spec, but it's possible that the spec text is aspirational and that profiles in the wild don't fully match it. I've run the current checks against these profiles: find \ ~/src/Compact-ICC-Profiles \ /{System/,}Library/ColorSync \ -name '*.icc' \ -exec echo {} \; \ -exec Build/lagom/icc {} \; ...and against 3 hand-selected icc files I locally extracted from jpegs. This identified 3 cases where the spec text is too strict for reality. I added comments for these for now. Eventually, I'd like to try to still enforce these types, and have a profile-id-based quirks list for which they aren't enforced. It's possible that that won't be feasible, but it's probably better to start out to strict and then relax over time than the other way round.
2023-01-26LibJS: Make Value::typeof() return a StringViewLinus Groh
2023-01-26LibWebView: Replace uses of JsonObject::get_deprecated()/get_ptr()Sam Atkins
2023-01-26LibWeb: Replace uses of JsonObject::get_deprecated()/get_ptr()Sam Atkins
2023-01-26LibTest: Replace uses of JsonObject::get_deprecated()/get_ptr()Sam Atkins