Граф коммитов

4807 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen 9fc9c078fb Update Android SDK build tools to version 33.0.2 2023-03-06 10:41:52 -05:00
Ryan VanderMeulen 1e7ffc1f97 Actually use the ANDROID_NDK_VERSION variable 2023-03-06 10:41:52 -05:00
dependabot[bot] 58f8845989 Bump charset-normalizer from 2.1.1 to 3.0.1 in /tools
Bumps [charset-normalizer](https://github.com/Ousret/charset_normalizer) from 2.1.1 to 3.0.1.
- [Release notes](https://github.com/Ousret/charset_normalizer/releases)
- [Changelog](https://github.com/Ousret/charset_normalizer/blob/master/CHANGELOG.md)
- [Upgrade guide](https://github.com/Ousret/charset_normalizer/blob/master/UPGRADE.md)
- [Commits](https://github.com/Ousret/charset_normalizer/compare/2.1.1...3.0.1)

---
updated-dependencies:
- dependency-name: charset-normalizer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 12:44:38 -05:00
Ryan VanderMeulen ed70b4fdd2 Target JVM 11 bytecode
Per https://developer.android.com/studio/releases/gradle-plugin#jvm-11-bytecode
2023-03-02 12:13:50 -05:00
Ryan VanderMeulen e639701b01 Update Gradle to version 7.6.1 and Android Gradle Plugin to 7.4.1 2023-03-02 12:13:50 -05:00
jhugman ca14a8c332
Additional test tooling for Nimbus (#5393) r=charlie
* Add HardcodedNimbusFeatures

* Add Swift version of the same

* iOS parity

* Ktlint

* Add changelog
2023-03-01 12:29:51 +00:00
MatthewTighe b3d6799def Clean up Nimbus test dependencies and cover all parsing paths. 2023-02-28 12:54:19 -08:00
Sammy Khamis 5433b3dc9a
Tabs storage should create DB when adding meta rows (#5407)
* Tabs storage should create DB on adding meta rows
2023-02-27 16:10:08 -10:00
Ben Dean-Kawamura 1b699e2b28 Another fix for test_logging
It seems like the tests can intermittently fail based on which order
they run, since some tests set the max logging level and `test_logging`
depends on info-level logs being recorded.  Updated `test_logging` to
manually set it's max level.  Hopefully this fixes the issue for good.
2023-02-27 10:33:54 -05:00
Mark Hammond 6c34f5f5a1
Ensure syncing history sees the most recent 5000 records (#5386) 2023-02-27 16:27:18 +11:00
Ben Dean-Kawamura b3d34a8d86 Updating branch build code
Updating the code now that fenix lives in firefox-android.  This
actually simplifies things quite a bit.

Renamed the parameter from `ff-android` to `firefox-android`.  I don't
think we need to abbreviate it now that it's the only branch-build parameter.
2023-02-24 20:19:48 -05:00
Ryan VanderMeulen 445969b7d2 Remove obsolete lib-crash-sentry-legacy and tooling-glean-gradle AC projects 2023-02-24 15:30:47 -05:00
lougeniaC64 5755d9ce30
Cut release v97.1.0 (#5400) 2023-02-24 13:18:10 -05:00
lougeniaC64 f562aff7a7
Exposed sync manager component to iOS (#5359) 2023-02-24 11:19:08 -05:00
Ben Dean-Kawamura 80ffd8a48c Extend the places maintenance metrics (gh-5380)
Data review: https://github.com/mozilla/application-services/issues/5387
2023-02-24 10:07:12 -05:00
Sammy Khamis af028c047f
Trim the title of tabs and length of list before trying to upload (#5376)
* Trim the title of tabs and length of list before trying to upload
2023-02-23 11:10:08 -10:00
Tarik Eshaq 3ef99f5870
Cut release v97.0.0 (#5392) 2023-02-22 10:32:15 -08:00
Tarik Eshaq 207cb7536c
Upgrades glean to 52.2.0 (#5391) 2023-02-22 10:11:16 -08:00
bendk c20e4f9c6b
Fix the `test_logging` test (#5385)
We've been getting intermittent failures for the this one.  I'm pretty
sure it's because cargo runs the tests in multiple threads, but the
tests assume they are running in a single threaded environment.
2023-02-22 17:55:50 +11:00
Ryan VanderMeulen 56491e7178 Update Android Components and related Gradle dependencies to v110 2023-02-16 13:57:13 -05:00
Ryan VanderMeulen 8d06f82c0c Update NSS to version 3.88.1 2023-02-15 18:59:38 -05:00
Matthew Tighe 1d55a254fb
Merge pull request #5369 from MatthewTighe/shared_rs_client
Create shared remote settings client and port Nimbus to it.
2023-02-15 14:20:59 -08:00
MatthewTighe ae78506995 Create shared remote settings client and port Nimbus to it. 2023-02-15 14:03:12 -08:00
Ben Dean-Kawamura 8496e93409 Use UniFFI to export our logging API (gh-5308)
Added a new crate called `rust-log-forwarder` that forwards logs to
consumers. This does basically the same thing as `rc-log`, but it uses
UniFFI. Once our consumer apps swich over to `rust-log-forwarder`, we
can remove the `rc-log` component.
2023-02-14 13:53:09 -05:00
Mark Hammond cc652b0531
handle_error macro now requires the internal error type be specified (#5375) 2023-02-14 12:43:26 +11:00
Ben Dean-Kawamura 623d56c75b Don't report errors for places connections timeout (gh-5237)
This is a known issue that's no longer worth creating sentry errors for.
See the issue for details.
2023-02-13 10:27:35 -05:00
Ben Dean-Kawamura d618a23d58 Revert "Increasing places SQLITE_BUSY timeout (#5237)"
This reverts commit 760a0b31f7.
2023-02-13 10:27:35 -05:00
Ben Dean-Kawamura b7fab008a0 Move the places `include_scaffolding!` call to the crate root
This is what UniFfi expects and will start enforcing soon.  When I was
testing app-services with the current code, I got errors because the
`UniFfiTag` struct was not in the crate root.

Made a bunch of things `pub` that weren't before.  This seems logical,
since we're exporting those things in our UniFfi API.  It also was the
simplest way to make the import work.
2023-02-13 09:46:00 -05:00
Julien Cristau 8f52644879
Merge pull request #5378 from jcristau/bump-taskgraph
ci: bump taskgraph and its dependencies
2023-02-13 15:40:23 +01:00
Julien Cristau b15cf6acd1 ci: bump taskgraph and its dependencies 2023-02-13 15:01:36 +01:00
Julien Cristau c4cd4aa874
Update mergify queue rules (#5379)
rebase_fallback is being removed.
2023-02-13 15:01:01 +01:00
Charlie bd5ff1a297
Adjust Nimbus FML CLI to only import R when it is required (#5361)
* fix various nimbus gradle plugin issues
* fix newline at end of file and adjust pathing for applicationServicesDir
* adjust nimbus fml cli to only include the R class in imports if it will be used
* fix clippy errors and update changelog
* Update components/support/nimbus-fml/src/backends/kotlin/gen_structs/bundled.rs
Co-authored-by: jhugman <jhugman@users.noreply.github.com>
* adjust for pr feedback
* fix formatting
---------
Co-authored-by: jhugman <jhugman@users.noreply.github.com>
2023-02-10 10:33:20 -05:00
Tarik Eshaq a812bfa974
Upgrades openssl-src after cargo audit (#5373) 2023-02-09 15:37:32 -05:00
Mark Hammond 70bebedbec
Minor cleanups of sync engine code: (#5365)
* Consolidate the various types used for a "collection name" - now we
  use `Cow` rather than the various `&'static str`, `&str` and `String`
  used previously.
* This made it easier to clean up the `LocalCollState` state machine
  to have the `Ready` state directly provide the `CollState` due to
  a mismatch between `'static str` and `String` reprs of collections.
* No longer store the outgoing timestamp in an OutgoingChangeset - it was
  never actually used and just creates unnecessary complexity.
* OutgoingChangsets now always supply the BSOs as they are created,
  meaning less `mut` objects.
* Bonus fix to unbreak the `places-utils` example.
2023-02-08 13:50:38 +11:00
Ryan VanderMeulen 4f816ece4c Update Android commandlinetools to version 9.0 2023-02-07 16:56:36 -05:00
jhugman f4040b3309
Bug 1804115 Better catch errors in misbehaving error reporters (#5366)
* Bug 1804115 Better catch errors in misbehaving error reporters

* Add changelog
2023-02-07 19:13:57 +00:00
Ben Dean-Kawamura 0703a498ec Remove SqlErrorNoRowsReturned related logging (gh-5106)
We've investigated this, gotten info from the logging, and decided not
to pursue it further.  Let's remove the logging now before it gets more
stale.
2023-02-06 12:34:21 -05:00
Ben Dean-Kawamura f0cf5491ce Adding ADR-0006
This discusses updating our release process so that we get code merged
into our consumers more frequently and to prepare us for a monorepo
world.

See the ADR for details.
2023-02-01 10:35:50 -05:00
Charlie 1002aad713
[ci full] fix various nimbus gradle plugin issues (#5348)
* fix various nimbus gradle plugin issues
* update changelog
* fix newline at end of file and adjust pathing for applicationServicesDir
* set default cache dir to be root build directory
---------
Co-authored-by: jhugman <jhugman@users.noreply.github.com>
2023-01-31 14:56:30 -05:00
jhugman f19e4f8882
Add FML generated class to NimbusBuilder (#5353) r=charlie/travis
* Fixup bitrotted tests. Removed disabled NimbusHealth metric

* Add Generated Feature Manifest to Android Nimbus Builder

* Added Generated Feature Manifest to iOS Nimbus Builder

* swiftlint

* ktlint

* cargo fmt

* Renamed GeneratedFeatureManifest to FeatureManifestInterface

* Remove existential types
2023-01-31 18:31:17 +00:00
Ben Dean-Kawamura eb576bade3 Updgrading sqlcipher
Updating to 4.5.3 and start using the official builds from zetetic.net.
This is needed for #5354. I was able to verify this one with their GPG
key so I think it should be trusted.
2023-01-30 17:05:14 -05:00
Ben Dean-Kawamura ecb35df5fc Cut release v96.4.0 2023-01-30 13:00:09 -05:00
Ben Dean-Kawamura 6ecde0b247 Don't use workspace dependencies for UniFFI.
This was really nice, but it breaks when we get vendored in to
moz-central.  So we have to go back to the dark ages.
2023-01-30 12:26:58 -05:00
Ben Dean-Kawamura 7af29e9162 Adding licence to the error support macros 2023-01-30 12:26:04 -05:00
Ben Dean-Kawamura 8e89f0a657 Adding HOWTO guide on UniFFI objects destruction 2023-01-30 10:45:55 -05:00
Ben Dean-Kawamura b3a573164e Clippy and check-dependency fixes 2023-01-27 15:32:17 -05:00
Ben Dean-Kawamura b2b76ece23 Updating Rust versions to match Firefox 110 2023-01-27 12:52:38 -05:00
Ben Dean-Kawamura a79f23574f Updating UniFFI to version 0.23
- Switched to using workspace dependencies, this will make future
  updates much simpler
- Updated code to work with the new UniFFI crate structure
- Updated the error-support integration tests to work with the workspace
  dependencies, following this advice: https://stackoverflow.com/a/71461114.
2023-01-27 12:38:55 -05:00
Tarik Eshaq f24d345731
Make handle_error as a proc macro (#5184)
* [demo] handle_error as a proc macro

* Adds more tests

* Rework handle_error proc macro to take no arguments

* ignore rustdoc since it doesn't have expore to error_support

* Removes function signature validation
2023-01-25 16:00:36 -05:00
jhugman aa92dda3f1
Add metrics for fetch and apply experiments (#5344) data-reviewed
* Add metrics for fetch and apply experiments

* Update link for data-review PR

* Address reviewer comments
2023-01-25 17:19:17 +00:00