From f737d40edc42cb38c8f23bfd2260e1df3a53b52a Mon Sep 17 00:00:00 2001 From: SheetJS Date: Tue, 8 Apr 2025 00:53:10 -0400 Subject: [PATCH] updated to iwa 14.4 --- README.md | 6 +-- public/protos | 85 +++++++++++++++++++++++++++++++++++------ src/messages/keynote.ts | 1 + src/messages/numbers.ts | 1 + src/messages/pages.ts | 1 + 5 files changed, 78 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index d3396e9..ce62dcf 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ copy the raw byte representation (array of numbers) or parsed object (JSON). `make deps` requires a SIP-disabled Mac with Keynote + Numbers + Pages. -The dependencies were refreshed on 2024-12-18 against version 14.3 (7042.0.76). +The dependencies were refreshed on 2025-04-08 against version 14.4 (7043.0.93). Due to breaking changes, Deno must be rolled back to version 1.46.3. The scripts are not compatible with Deno 2! @@ -91,10 +91,6 @@ message type has been preserved in the messages list. Before refreshing, each app must be launched once and the software license agreements must be accepted. -In the 14.3 update, Keynote and Pages clearly state: - -> By clicking Continue you agree to the terms of the Keynote Software License Agreement - #### Disabling SIP 1) Enter Recovery mode: diff --git a/public/protos b/public/protos index fbcb1dd..ba6467e 100644 --- a/public/protos +++ b/public/protos @@ -5387,6 +5387,7 @@ message .TSS.StylesheetArchive { optional .TSS.StylesheetArchive.VersionedStyles styles_for_14_0 = 19; optional .TSS.StylesheetArchive.VersionedStyles styles_for_14_1 = 20; optional .TSS.StylesheetArchive.VersionedStyles styles_for_14_2 = 21; + optional .TSS.StylesheetArchive.VersionedStyles styles_for_14_4 = 22; } message .TSS.ThemeArchive { @@ -8902,12 +8903,39 @@ message .TSCE.WholeOwnerDependenciesExpandedArchive { optional .TSCE.InternalCellRefSetArchive dependent_cells = 1; } +message .TSCE.ErrorArchive { + message ErrorDictionaryEntry { + required string error_key = 1; + optional string value_for_key_string = 2; + optional double value_for_key_number = 3; + } + required uint32 error_type_code = 1; + repeated .TSCE.ErrorArchive.ErrorDictionaryEntry error_info_dictionary = 2; +} + +message .TSCE.WarningArchive { + message WarningDictionaryEntry { + required string warning_key = 1; + optional string value_for_key_string = 2; + optional double value_for_key_number = 3; + } + required uint32 warning_type = 1; + repeated .TSCE.WarningArchive.WarningDictionaryEntry warning_info_dictionary = 2; + optional .TSCE.RangeReferenceArchive range_ref = 3; +} + message .TSCE.CellErrorsArchive { message ErrorForCell { required .TSCE.CellCoordinateArchive coordinate = 1; required .TSCE.CellErrorsArchive.ErrorFlavor error_flavor = 2; optional .TSCE.InternalCellReferenceArchive err_due_to_cell = 3; } + message EnhancedErrorForCell { + required .TSCE.CellCoordinateArchive coordinate = 1; + optional .TSCE.ErrorArchive error = 2; + optional .TSCE.InternalCellReferenceArchive err_due_to_cell = 3; + repeated .TSCE.WarningArchive sorted_warnings = 4; + } enum ErrorFlavor { NONE = 0; ERROR = 1; @@ -8916,6 +8944,15 @@ message .TSCE.CellErrorsArchive { UNSUPPORTED_FUNCTION_ERROR = 4; } repeated .TSCE.CellErrorsArchive.ErrorForCell errors = 1; + repeated .TSCE.CellErrorsArchive.EnhancedErrorForCell enhanced_errors = 2; +} + +message .TSCE.CellSpillSizesArchive { + message SpillForCell { + required .TSCE.CellCoordinateArchive coordinate = 1; + required .TSCE.ColumnRowSize spill_size = 2; + } + repeated .TSCE.CellSpillSizesArchive.SpillForCell spills = 1; } message .TSCE.UuidReferencesArchive { @@ -8951,6 +8988,7 @@ message .TSCE.FormulaOwnerDependenciesArchive { optional .TSCE.CellDependenciesTiledArchive tiled_cell_dependencies = 13; optional .TSCE.UuidReferencesArchive uuid_references = 14; optional .TSCE.RangeDependenciesTiledArchive tiled_range_dependencies = 15; + optional .TSCE.CellSpillSizesArchive spill_range_sizes = 16; } message .TSCE.FormulaOwnerInfoArchive { @@ -9200,11 +9238,11 @@ message .TSCE.ASTNodeArrayArchive { optional string AST_reference_whitespace_after_table_name = 4; optional string AST_reference_whitespace_before_cell_address = 5; } - message ASTLetNodeWhitespace { - optional string AST_let_whitespace_after_let = 1; - optional string AST_let_whitespace_after_identifier = 2; - optional string AST_let_whitespace_after_equals = 3; - optional string AST_let_whitespace_after_delimiter = 4; + message ASTLambdaIdentsListArchive { + repeated string AST_identifier_string = 1; + optional uint32 AST_first_symbol = 2; + optional string AST_whitespace_before_idents = 3; + optional string AST_whitespace_after_idents = 4; } message ASTNodeArchive { required .TSCE.ASTNodeArrayArchive.ASTNodeType AST_node_type = 1; @@ -9240,8 +9278,8 @@ message .TSCE.ASTNodeArrayArchive { optional .TSCE.ASTNodeArrayArchive.ASTStickyBits AST_sticky_bits = 33; optional .TSCE.ASTNodeArrayArchive.ASTStickyBits AST_frozen_sticky_bits = 41; optional string AST_let_identifier = 34; - optional .TSCE.ASTNodeArrayArchive AST_let_e2 = 35; - optional .TSCE.ASTNodeArrayArchive.ASTLetNodeWhitespace AST_let_whitespace = 36; + optional string AST_let_whitespace = 35; + optional bool AST_let_is_continuation = 36 [default = false]; optional uint32 AST_symbol = 37; optional .TSCE.ASTNodeArrayArchive.ASTUidTractList AST_tract_list = 38; optional .TSCE.ASTNodeArrayArchive.ASTCategoryReferenceArchive AST_category_ref = 39; @@ -9249,6 +9287,9 @@ message .TSCE.ASTNodeArrayArchive { optional uint64 AST_number_node_decimal_low = 42; optional uint64 AST_number_node_decimal_high = 43; optional .TSCE.ASTNodeArrayArchive.ASTCategoryLevels AST_category_levels = 44; + optional .TSCE.ASTNodeArrayArchive.ASTLambdaIdentsListArchive AST_lambda_idents = 45; + optional uint32 AST_range_context = 46; + optional .TSCE.ASTNodeArrayArchive.ASTNodeType upgrade_node_type = 47; } enum ASTNodeType { ADDITION_NODE = 1; @@ -9284,21 +9325,26 @@ message .TSCE.ASTNodeArrayArchive { UNKNOWN_FUNCTION_NODE = 31; APPEND_WHITESPACE_NODE = 32; PREPEND_WHITESPACE_NODE = 33; - BEGIN_EMBEDDED_NODE_ARRAY = 34; + BEGIN_THUNK_NODE = 34; END_THUNK_NODE = 35; CELL_REFERENCE_NODE = 36; COLON_NODE_WITH_UIDS = 45; REFERENCE_ERROR_WITH_UIDS = 46; UID_REFERENCE_NODE = 48; LET_BIND_NODE = 52; - LET_VAR_NODE = 53; - LET_END_SCOPE_NODE = 54; + VAR_NODE = 53; + END_SCOPE_NODE = 54; + LAMBDA_NODE = 55; + BEGIN_LAMBDA_THUNK_NODE = 56; + END_LAMBDA_THUNK_NODE = 57; LINKED_CELL_REF_NODE = 63; LINKED_COLUMN_REF_NODE = 64; LINKED_ROW_REF_NODE = 65; CATEGORY_REF_NODE = 66; COLON_TRACT_NODE = 67; VIEW_TRACT_REF_NODE = 68; + INTERSECTION_NODE = 69; + SPILL_RANGE_NODE = 70; } enum ASTUidTractPurpose { UIDS_INCLUDED = 0; @@ -9338,6 +9384,7 @@ message .TSCE.FormulaArchive { message .TSCE.FunctorArchive { required .TSCE.FormulaArchive formula = 1; required uint32 num_args = 2; + optional uint32 first_symbol = 3; } message .TSCE.FormatStructArchive { @@ -9487,6 +9534,10 @@ message .TSCE.HauntedOwnerArchive { required .TSP.UUID owner_uid = 1; } +message .TSCE.SpillOwnerArchive { + required .TSP.UUID owner_uid = 1; +} + message .TSCE.CellCoordinateArchive { optional fixed32 packedData = 1; optional uint32 column = 2; @@ -9959,6 +10010,7 @@ message .TST.ImportWarningSetArchive { optional string original_data_format = 15; optional bool formula_warning_filtered_column_formula_not_copied = 16 [default = false]; optional bool duration_format_range_changed = 17 [default = false]; + repeated .TSCE.WarningArchive sorted_warnings = 18; } message .TST.CellRefImportWarningSetPairArchive { @@ -10284,6 +10336,7 @@ message .TST.TableModelArchive { repeated uint32 pivot_value_types_by_col = 90; repeated uint32 pivot_date_grouping_columns = 91; repeated uint32 pivot_date_grouping_types = 92; + optional .TSCE.SpillOwnerArchive spill_owner = 93; } message .TST.SummaryModelArchive { @@ -10399,6 +10452,7 @@ message .TST.CellMapArchive { repeated .TST.MergeOperationArchive merge_actions = 13; optional bool may_modify_formulas_in_cells = 10 [default = true]; optional bool may_modify_values_referenced_by_formulas = 11 [default = true]; + optional bool should_reset_spill_formulas = 12 [default = true]; } message .TST.CellListArchive { @@ -10416,6 +10470,8 @@ message .TST.ConcurrentCellMapArchive { optional bool may_modify_formulas_in_cells = 4 [default = true]; optional bool may_modify_values_referenced_by_formulas = 5 [default = true]; optional bool affects_cell_borders = 6 [default = true]; + optional bool skip_dirtying_ranges = 7 [default = false]; + optional bool should_reset_spill_formulas = 8 [default = true]; } message .TST.ConcurrentCellListArchive { @@ -10811,6 +10867,7 @@ message .TST.ReferenceNodeArchive { optional .TSP.UUIDCoordArchive range_bottom_right = 7; optional .TSCE.CategoryReferenceArchive category_ref = 8; optional .TSP.UUIDRectArchive uid_range_rect = 9; + optional bool spill_range_op_suffix = 11; } message .TST.DurationNodeArchive { @@ -10846,10 +10903,15 @@ message .TST.InNodeArchive { message .TST.VariableNodeArchive { required .TST.ExpressionNodeArchive super = 1; - required string identifier = 2; + optional string identifier = 2; required uint32 symbol = 3; } +message .TST.SpillOriginRefNodeArchive { + required .TST.ExpressionNodeArchive super = 1; + required .TSCE.CellCoordinateArchive spill_origin_coord = 2; +} + message .TST.LayoutHintArchive { required bool isValid = 1; optional .TST.CellRange cellRange = 2; @@ -14342,6 +14404,7 @@ message .TP.UIStateArchive { optional float toc_or_page_nav_width = 45; optional float activity_or_annotation_width = 46; optional .TSK.SelectionPathArchive selection_path = 47; + optional float flow_mode_font_scale = 48; } message .TP.ViewStateRootArchive { diff --git a/src/messages/keynote.ts b/src/messages/keynote.ts index 79483be..0a3389a 100644 --- a/src/messages/keynote.ts +++ b/src/messages/keynote.ts @@ -605,6 +605,7 @@ export default { 6381: ".TST.CommandExtendTableIDHistoryArchive", 6382: ".TST.GroupByArchive.AggregatorArchive", 6383: ".TST.GroupByArchive.GroupNodeArchive", + 6384: ".TST.SpillOriginRefNodeArchive", 10011: ".TSWP.SectionPlaceholderArchive", 10020: ".TSWP.ShapeSelectionTransformerArchive", 10021: ".TSWP.SelectionTransformerArchive", diff --git a/src/messages/numbers.ts b/src/messages/numbers.ts index 4f27d40..89231d7 100644 --- a/src/messages/numbers.ts +++ b/src/messages/numbers.ts @@ -510,6 +510,7 @@ export default { 6381: ".TST.CommandExtendTableIDHistoryArchive", 6382: ".TST.GroupByArchive.AggregatorArchive", 6383: ".TST.GroupByArchive.GroupNodeArchive", + 6384: ".TST.SpillOriginRefNodeArchive", 10011: ".TSWP.SectionPlaceholderArchive", 10020: ".TSWP.ShapeSelectionTransformerArchive", 10021: ".TSWP.SelectionTransformerArchive", diff --git a/src/messages/pages.ts b/src/messages/pages.ts index b56a921..d9cb0f8 100644 --- a/src/messages/pages.ts +++ b/src/messages/pages.ts @@ -507,6 +507,7 @@ export default { 6381: ".TST.CommandExtendTableIDHistoryArchive", 6382: ".TST.GroupByArchive.AggregatorArchive", 6383: ".TST.GroupByArchive.GroupNodeArchive", + 6384: ".TST.SpillOriginRefNodeArchive", 10000: ".TP.DocumentArchive", 10001: ".TP.ThemeArchive", 10010: ".TP.FloatingDrawablesArchive",