Commit Graph
345 Commits
Author SHA1 Message Date
Paul Beusterien 031814cecd Crashlytics - Repo-relative imports and SwiftPM (#5931) 2020-06-30 14:12:44 -07:00
Paul Beusterien d653c9584c Update copyright presubmit and fix 2020 copyrights (#5944) 2020-06-29 13:16:19 -07:00
Paul Beusterien 01bf549253 Update formatters (#5933) 2020-06-26 14:34:27 -07:00
Paul Beusterien 69ff23c953 Cleanups for check_imports.swift (#5908) 2020-06-24 19:30:15 -07:00
Paul Beusterien 5a5914da7e GDT Repo-relative imports and SPM (#5909) 2020-06-24 17:50:15 -07:00
Paul Beusterien e03a8d91a0 Consolidate GDT and GDTCCT to a single pod (#5902) 2020-06-24 14:09:46 -07:00
Gran 0227bf53b3 Add swift framework testing (#5886)
Enable storage swift framework testing.
2020-06-23 16:20:42 -07:00
Paul Beusterien 7cb6f96cfd Repo-relative imports for Database (#5861) 2020-06-22 07:58:52 -07:00
Paul Beusterien fa72963bfd Update FirebaseDatabase to canonical directory structure (#5860) 2020-06-22 07:26:07 -07:00
Paul Beusterien 9cf6a243e6 Functions: Repo-relative headers and SPM (#5858) 2020-06-19 12:14:22 -07:00
Paul Beusterien fb9e788086 Auth: Repo-relative headers and SPM (#5856) 2020-06-19 10:38:31 -07:00
Paul Beusterien a7b20e41e1 Storage: Repo-relative headers and SPM (#5851) 2020-06-19 08:40:32 -07:00
Paul Beusterien 42e89d3e66 Initial check imports script (#5843) 2020-06-18 12:12:37 -07:00
Gran c21629cc82 Add scripts to generate non firebase sdks for zip testing. (#5844)
Generate non Firebase SDKs for Zip testing.
2020-06-17 17:18:40 -07:00
Paul Beusterien c07c89ee75 Repo-relative imports for Installations (#5832) 2020-06-17 07:26:40 -07:00
Paul Beusterien 3f556ddb9e Update GoogleUtilities' clients with repo-relative imports (#5824) 2020-06-16 09:05:29 -07:00
Paul Beusterien 4c418e7fc3 GoogleUtilities repo-relative imports (#5810) 2020-06-16 06:19:00 -07:00
Gran 7b59c571e3 Add Installations framework testing. (#5788)
* Add Installation framework testing
2020-06-12 14:01:38 -07:00
Gran 4931d374db Refactor workflow to be concise (#5791) 2020-06-11 13:56:06 -07:00
Gran 900e7ed1e8 Run remoteconfig framework testing. (#5741)
* Run remoteconfig framework testing.
This testing is scheduled at 3am PST, 3 hours after zip testing triggered. This is to enable the zip testing to test the latest built zip file.
2020-06-09 17:51:06 -07:00
Paul Beusterien 5e01fda86b Header/Import Guidelines (#5765) 2020-06-09 14:08:56 -07:00
Paul Beusterien e15724a436 Migrate from interop pods to source_files header access (#5760) 2020-06-09 06:09:27 -07:00
Paul Beusterien d4621a636f Use preserve_paths instead of CocoaPods private (#5758) 2020-06-09 05:21:28 -07:00
Gran 2037775e80 Upload zip artifact to gcs after build. (#5736)
* Upload zip artifact to gcs after build.
2020-06-04 13:18:51 -07:00
Paul Beusterien 4f0196bb2b Delete unused travis code (#5696) 2020-05-28 17:00:57 -07:00
Paul Beusterien 24fc333a4b Migrate Installations to GHA (#5692) 2020-05-28 09:36:35 -07:00
Paul Beusterien 6ff994907d InstanceID to GHA (#5691) 2020-05-28 07:11:10 -07:00
Paul Beusterien 66a44cb4f8 Migrate RTDB to GHA (#5681) 2020-05-27 09:29:27 -07:00
Paul Beusterien cc233d68d8 Fake Remote Config console for testing (#5633) 2020-05-26 16:14:24 -07:00
Gil e9135a6f41 Fix xcresult log output in Travis (#5645)
* Remove code folding and raw log output

Code folds were interacting poorly with Travis and causing output to be
lost. This was causing xcresult log output to be lost.

Travis terminates jobs that exceed its maximum log output length, so
showing raw log output could cause failing jobs to be killed for
unrelated reasons.

* Fix xcresult_logs when run against non-Run configurations

The leading part of the name can be "Run" or "Test" or others.

* Add support for Xcode 10 xcreult bundles
2020-05-21 09:10:38 -07:00
Sebastian Schmidt 885f296f3b Update Database tests to run against the emulator (#5650) 2020-05-20 23:12:10 -07:00
Sebastian Schmidt c2fbc77e9e Use secure rules for Firebase Storage Integration tests (#5643) 2020-05-20 12:38:08 -07:00
Gil e462d04ddb Make Executors have deterministic shutdown (#5547)
In particular:

  * All tasks are guaranteed to either run to completion or not run at all;
  * Executors can now be destroyed from the threads they own (if applicable); and
  * Many common concepts between the Executor implementations have been harmonized and shared.

Note:

  * This change does not yet implement `Executor::Dispose` or clean up any of the higher level componentry to take advantage of these changes.
  * The executors implement shutdown by canceling any tasks that haven't started yet. This diverges from the plan (which called for a separate `UserCallbackExecutor` to handle this), but in the end it turns out to be simpler to just cancel everything and make cancel handle tasks-in-progress in a reasonable way. LMK if you have grave objections to this, in which case I can rework this.

This is the foundation for addressing firebase/quickstart-unity#638.
2020-05-18 08:30:02 -07:00
Paul Beusterien d82361409c Initial RC Swift API tests (#5602) 2020-05-13 18:00:34 -07:00
Gran c1a5519b70 Enable Swift Quickstart tests (#5566)
* Enable remoteconfig swift quickstart tests
2020-05-11 11:14:08 -07:00
Gran ca4a65522b Add quickstart tests (#5544)
* Add Quickstart tests
2020-05-08 16:47:49 -07:00
Gran 34597045a9 Add a workflow to run remote config on GHA (#5537)
* Add Remoteconfig Quickstart Test
2020-05-07 09:29:23 -07:00
Paul Beusterien 670845ac1f Add Auth Swift API tests (#5517) 2020-05-04 18:37:07 -07:00
Paul Beusterien 83d7c78923 Update pod gen version and address GHA Catalyst failures (#5509) 2020-04-30 09:47:55 -07:00
Paul Beusterien 64c42f6bb8 Migrate Crashlytics to GHA (#5497) 2020-04-30 09:25:12 -07:00
Doudou Nan a2fbd12168 Build GDTCCT watchOS test apps in GHA (#5495) 2020-04-29 11:58:54 -07:00
Paul Beusterien 061d2c4643 Fix zip nightly build to work with SpecStaging (#5486) 2020-04-28 08:28:00 -07:00
Paul Beusterien 68513286e3 Update nanopb to 0.3.9.5 (CocoaPods 1.30905.0) (#4264) 2020-04-27 17:09:59 -07:00
Chen Liang dabfd91dea Move messaging sample app to the new FirebaseMessaging folder (#5476) 2020-04-27 16:31:17 -07:00
Paul Beusterien 629c2ae20d Fix InstanceID cron build regression (#5468) 2020-04-27 10:54:34 -07:00
Gil e3f3a78aef Remove the Firestore_SwiftTests_iOS target (#5458)
The tests in this target are already covered by
Firestore_IntegrationTests_iOS and also run on the other platforms
through the other platform variants of this target.

Also remove an explicit override of CLANG_WARN_COMMA in the
Firestore_Example_macOS target. This should have been cleaned up earlier
--no other targets have this setting.
2020-04-26 15:01:42 -07:00
Chen Liang 793d763490 create firebase messaging folder (#5445) 2020-04-23 14:43:47 -07:00
Chen Liang f60992fba0 Fix messaging GHA failure (#5430) 2020-04-21 15:44:35 -07:00
Gil 7a58eba2e5 Remove firebase/firestore from paths in Firestore/core (#5374)
* Manual Xcode project fixups

* Remove `firebase/firestore` from paths in Firestore/core

This renames all Firestore files under `Firestore/core` to remove the
interior `firebase/firestore` directory structure. This is motivated by
build failures under Windows where the filenames of intermediates were
too long.

Concretely:

  * `Firebase/core/src/firebase/firestore` becomes `Firebase/core/src`
  * `Firebase/core/test/firebase/firestore` becomes
    `Firebase/core/test/unit`

Moving the tests into a `unit` subdirectory aligns Firestore with the
directory structure in
[AddNewPod](https://github.com/firebase/firebase-ios-sdk/blob/master/AddNewPod.md),
modified for C++ (see discussion in #3224).
2020-04-20 14:57:34 -07:00
Gil 96de8fb74b Add LLDB type summaries for Firestore types (#5407)
There are some particular pain points debugging Firestore today because contents of variables are obscured due to information hiding and shared representation techniques we use. Also, we use elements of the Abseil library to supplement what's available in the C++11 standard library.

Taken together, these make our default experience in LLDB and the Xcode debugger quite painful: getting the path of a document currently takes 5 clicks. This change pulls the document path into the summary line, making it available with no clicks.

This change adds type summaries for

  * DocumentKey and ResourcePath
  * DocumentReference and FIRDocumentReference
  * DocumentSnapshot and FIRDocumentSnapshot
  * absl::optional
  * DatabaseId
2020-04-20 09:55:17 -07:00