Skip to content

Commit

Permalink
Auto update with latest AS Release v91.0.1 (#40)
Browse files Browse the repository at this point in the history
* Updates Package.swift with v91.0.1 release

* Version 91.0.1

Co-authored-by: Firefox Sync Engineering <[email protected]>
  • Loading branch information
github-actions[bot] and Firefox Sync Engineering authored Feb 3, 2022
1 parent 13b7ae4 commit 001d704
Show file tree
Hide file tree
Showing 9 changed files with 131 additions and 123 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// swift-tools-version:5.4
import PackageDescription

let checksum = "24d3d6a0364adef008bf33549751dee847b09d6b046666e955480805ca508d9a"
let version = "v91.0.0"
let checksum = "6e87f8efdc1d4f173d0ecf3e983621c90447852ca8d94feb2e758306bdce17fb"
let version = "v91.0.1"
let url = "https://github.com/mozilla/application-services/releases/download/\(version)/MozillaRustComponents.xcframework.zip"

let package = Package(
Expand Down
2 changes: 1 addition & 1 deletion swift-source/Generated/Metrics/Metrics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extension GleanMetrics {
// Intentionally left private, no external user can instantiate a new global object.
}

public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2022, month: 2, day: 2, hour: 5, minute: 44, second: 20))
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2022, month: 2, day: 3, hour: 18, minute: 8, second: 21))
}

enum NimbusEvents {
Expand Down
2 changes: 1 addition & 1 deletion swift-source/Generated/fxa_client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private class Reader {
return value as! T
}
var value: T = 0
_ = withUnsafeMutableBytes(of: &value) { data.copyBytes(to: $0, from: range) }
let _ = withUnsafeMutableBytes(of: &value) { data.copyBytes(to: $0, from: range) }
offset = range.upperBound
return value.bigEndian
}
Expand Down
2 changes: 1 addition & 1 deletion swift-source/Generated/logins.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private class Reader {
return value as! T
}
var value: T = 0
_ = withUnsafeMutableBytes(of: &value) { data.copyBytes(to: $0, from: range) }
let _ = withUnsafeMutableBytes(of: &value) { data.copyBytes(to: $0, from: range) }
offset = range.upperBound
return value.bigEndian
}
Expand Down
2 changes: 1 addition & 1 deletion swift-source/Generated/nimbus.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private class Reader {
return value as! T
}
var value: T = 0
_ = withUnsafeMutableBytes(of: &value) { data.copyBytes(to: $0, from: range) }
let _ = withUnsafeMutableBytes(of: &value) { data.copyBytes(to: $0, from: range) }
offset = range.upperBound
return value.bigEndian
}
Expand Down
124 changes: 66 additions & 58 deletions swift-source/Generated/places.swift

Large diffs are not rendered by default.

114 changes: 57 additions & 57 deletions swift-source/Generated/placesFFI.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,231 +46,231 @@ typedef struct RustCallStatus {
// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️
#endif // def UNIFFI_SHARED_H

void ffi_places_ce49_SqlInterruptHandle_object_free(
void ffi_places_7e5a_SqlInterruptHandle_object_free(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
void places_ce49_SqlInterruptHandle_interrupt(
void places_7e5a_SqlInterruptHandle_interrupt(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
void ffi_places_ce49_PlacesApi_object_free(
void ffi_places_7e5a_PlacesApi_object_free(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
void*_Nonnull places_ce49_PlacesApi_new_connection(
void*_Nonnull places_7e5a_PlacesApi_new_connection(
void*_Nonnull ptr,RustBuffer conn_type,
RustCallStatus *_Nonnull out_status
);
void*_Nonnull places_ce49_PlacesApi_new_sync_conn_interrupt_handle(
void*_Nonnull places_7e5a_PlacesApi_new_sync_conn_interrupt_handle(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesApi_register_with_sync_manager(
void places_7e5a_PlacesApi_register_with_sync_manager(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesApi_reset_history(
void places_7e5a_PlacesApi_reset_history(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesApi_history_sync(
RustBuffer places_7e5a_PlacesApi_history_sync(
void*_Nonnull ptr,RustBuffer key_id,RustBuffer access_token,RustBuffer sync_key,RustBuffer tokenserver_url,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesApi_bookmarks_sync(
RustBuffer places_7e5a_PlacesApi_bookmarks_sync(
void*_Nonnull ptr,RustBuffer key_id,RustBuffer access_token,RustBuffer sync_key,RustBuffer tokenserver_url,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesApi_places_pinned_sites_import_from_fennec(
RustBuffer places_7e5a_PlacesApi_places_pinned_sites_import_from_fennec(
void*_Nonnull ptr,RustBuffer db_path,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesApi_places_history_import_from_fennec(
RustBuffer places_7e5a_PlacesApi_places_history_import_from_fennec(
void*_Nonnull ptr,RustBuffer db_path,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesApi_places_bookmarks_import_from_fennec(
RustBuffer places_7e5a_PlacesApi_places_bookmarks_import_from_fennec(
void*_Nonnull ptr,RustBuffer db_path,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesApi_places_bookmarks_import_from_ios(
void places_7e5a_PlacesApi_places_bookmarks_import_from_ios(
void*_Nonnull ptr,RustBuffer db_path,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesApi_bookmarks_reset(
void places_7e5a_PlacesApi_bookmarks_reset(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
void ffi_places_ce49_PlacesConnection_object_free(
void ffi_places_7e5a_PlacesConnection_object_free(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
void*_Nonnull places_ce49_PlacesConnection_new_interrupt_handle(
void*_Nonnull places_7e5a_PlacesConnection_new_interrupt_handle(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_get_latest_history_metadata_for_url(
RustBuffer places_7e5a_PlacesConnection_get_latest_history_metadata_for_url(
void*_Nonnull ptr,RustBuffer url,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_get_history_metadata_between(
RustBuffer places_7e5a_PlacesConnection_get_history_metadata_between(
void*_Nonnull ptr,int64_t start,int64_t end,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_get_history_metadata_since(
RustBuffer places_7e5a_PlacesConnection_get_history_metadata_since(
void*_Nonnull ptr,int64_t since,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_query_autocomplete(
RustBuffer places_7e5a_PlacesConnection_query_autocomplete(
void*_Nonnull ptr,RustBuffer search,int32_t limit,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_accept_result(
void places_7e5a_PlacesConnection_accept_result(
void*_Nonnull ptr,RustBuffer search_string,RustBuffer url,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_match_url(
RustBuffer places_7e5a_PlacesConnection_match_url(
void*_Nonnull ptr,RustBuffer query,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_query_history_metadata(
RustBuffer places_7e5a_PlacesConnection_query_history_metadata(
void*_Nonnull ptr,RustBuffer query,int32_t limit,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_get_history_highlights(
RustBuffer places_7e5a_PlacesConnection_get_history_highlights(
void*_Nonnull ptr,RustBuffer weights,int32_t limit,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_note_history_metadata_observation(
void places_7e5a_PlacesConnection_note_history_metadata_observation(
void*_Nonnull ptr,RustBuffer data,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_metadata_delete(
void places_7e5a_PlacesConnection_metadata_delete(
void*_Nonnull ptr,RustBuffer url,RustBuffer referrer_url,RustBuffer search_term,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_metadata_delete_older_than(
void places_7e5a_PlacesConnection_metadata_delete_older_than(
void*_Nonnull ptr,int64_t older_than,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_apply_observation(
void places_7e5a_PlacesConnection_apply_observation(
void*_Nonnull ptr,RustBuffer visit,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_get_visited_urls_in_range(
RustBuffer places_7e5a_PlacesConnection_get_visited_urls_in_range(
void*_Nonnull ptr,int64_t start,int64_t end,int8_t include_remote,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_get_visit_infos(
RustBuffer places_7e5a_PlacesConnection_get_visit_infos(
void*_Nonnull ptr,int64_t start_date,int64_t end_date,int32_t exclude_types,
RustCallStatus *_Nonnull out_status
);
int64_t places_ce49_PlacesConnection_get_visit_count(
int64_t places_7e5a_PlacesConnection_get_visit_count(
void*_Nonnull ptr,int32_t exclude_types,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_get_visit_page(
RustBuffer places_7e5a_PlacesConnection_get_visit_page(
void*_Nonnull ptr,int64_t offset,int64_t count,int32_t exclude_types,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_get_visit_page_with_bound(
RustBuffer places_7e5a_PlacesConnection_get_visit_page_with_bound(
void*_Nonnull ptr,int64_t bound,int64_t offset,int64_t count,int32_t exclude_types,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_get_visited(
RustBuffer places_7e5a_PlacesConnection_get_visited(
void*_Nonnull ptr,RustBuffer urls,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_delete_visits_for(
void places_7e5a_PlacesConnection_delete_visits_for(
void*_Nonnull ptr,RustBuffer url,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_delete_visits_between(
void places_7e5a_PlacesConnection_delete_visits_between(
void*_Nonnull ptr,int64_t start,int64_t end,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_delete_visit(
void places_7e5a_PlacesConnection_delete_visit(
void*_Nonnull ptr,RustBuffer url,int64_t timestamp,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_get_top_frecent_site_infos(
RustBuffer places_7e5a_PlacesConnection_get_top_frecent_site_infos(
void*_Nonnull ptr,int32_t num_items,RustBuffer threshold_option,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_wipe_local_history(
void places_7e5a_PlacesConnection_wipe_local_history(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_delete_everything_history(
void places_7e5a_PlacesConnection_delete_everything_history(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_prune_destructively(
void places_7e5a_PlacesConnection_prune_destructively(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_run_maintenance(
void places_7e5a_PlacesConnection_run_maintenance(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_bookmarks_get_tree(
RustBuffer places_7e5a_PlacesConnection_bookmarks_get_tree(
void*_Nonnull ptr,RustBuffer item_guid,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_bookmarks_get_by_guid(
RustBuffer places_7e5a_PlacesConnection_bookmarks_get_by_guid(
void*_Nonnull ptr,RustBuffer guid,int8_t get_direct_children,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_bookmarks_get_all_with_url(
RustBuffer places_7e5a_PlacesConnection_bookmarks_get_all_with_url(
void*_Nonnull ptr,RustBuffer url,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_bookmarks_search(
RustBuffer places_7e5a_PlacesConnection_bookmarks_search(
void*_Nonnull ptr,RustBuffer query,int32_t limit,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_bookmarks_get_recent(
RustBuffer places_7e5a_PlacesConnection_bookmarks_get_recent(
void*_Nonnull ptr,int32_t limit,
RustCallStatus *_Nonnull out_status
);
int8_t places_ce49_PlacesConnection_bookmarks_delete(
int8_t places_7e5a_PlacesConnection_bookmarks_delete(
void*_Nonnull ptr,RustBuffer id,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_bookmarks_delete_everything(
void places_7e5a_PlacesConnection_bookmarks_delete_everything(
void*_Nonnull ptr,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_bookmarks_get_url_for_keyword(
RustBuffer places_7e5a_PlacesConnection_bookmarks_get_url_for_keyword(
void*_Nonnull ptr,RustBuffer keyword,
RustCallStatus *_Nonnull out_status
);
void places_ce49_PlacesConnection_bookmarks_update(
void places_7e5a_PlacesConnection_bookmarks_update(
void*_Nonnull ptr,RustBuffer data,
RustCallStatus *_Nonnull out_status
);
RustBuffer places_ce49_PlacesConnection_bookmarks_insert(
RustBuffer places_7e5a_PlacesConnection_bookmarks_insert(
void*_Nonnull ptr,RustBuffer bookmark,
RustCallStatus *_Nonnull out_status
);
void*_Nonnull places_ce49_places_api_new(
void*_Nonnull places_7e5a_places_api_new(
RustBuffer db_path,
RustCallStatus *_Nonnull out_status
);
RustBuffer ffi_places_ce49_rustbuffer_alloc(
RustBuffer ffi_places_7e5a_rustbuffer_alloc(
int32_t size,
RustCallStatus *_Nonnull out_status
);
RustBuffer ffi_places_ce49_rustbuffer_from_bytes(
RustBuffer ffi_places_7e5a_rustbuffer_from_bytes(
ForeignBytes bytes,
RustCallStatus *_Nonnull out_status
);
void ffi_places_ce49_rustbuffer_free(
void ffi_places_7e5a_rustbuffer_free(
RustBuffer buf,
RustCallStatus *_Nonnull out_status
);
RustBuffer ffi_places_ce49_rustbuffer_reserve(
RustBuffer ffi_places_7e5a_rustbuffer_reserve(
RustBuffer buf,int32_t additional,
RustCallStatus *_Nonnull out_status
);
2 changes: 1 addition & 1 deletion swift-source/Generated/push.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private class Reader {
return value as! T
}
var value: T = 0
_ = withUnsafeMutableBytes(of: &value) { data.copyBytes(to: $0, from: range) }
let _ = withUnsafeMutableBytes(of: &value) { data.copyBytes(to: $0, from: range) }
offset = range.upperBound
return value.bigEndian
}
Expand Down
2 changes: 1 addition & 1 deletion swift-source/crashtest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private class Reader {
return value as! T
}
var value: T = 0
_ = withUnsafeMutableBytes(of: &value) { data.copyBytes(to: $0, from: range) }
let _ = withUnsafeMutableBytes(of: &value) { data.copyBytes(to: $0, from: range) }
offset = range.upperBound
return value.bigEndian
}
Expand Down

0 comments on commit 001d704

Please sign in to comment.