Commit Graph
76 Commits
Author SHA1 Message Date
Nick Cooke 52b19da986 [Release] Update CHANGELOGs for 10.12.0 release (#11493) 2023-06-29 16:38:40 -04:00
Visu ef571e0319 Make Firebase Performance XCode 15 compatible. (#11439) 2023-06-14 14:39:56 -07:00
Paul Beusterien f7fcc7ddc0 Update Changelogs for 10.11.0 (#11409) 2023-06-06 14:40:24 -07:00
Visu c559a68b8e Fixed a bug to honor data collection flags before Firebase app was configured. (#11372) 2023-06-01 08:19:39 -07:00
Nick Cooke a553a4d259 [Performance] Address Xcode 14.3 Analyzer issues (#11241) 2023-05-08 11:44:32 -04:00
Nick Cooke 62bb542a94 [Release] Update CHANGELOGs for 10.9.0 release (#11146)
* [Release] Update CHANGELOGs for 10.9.0 release

* Review
2023-04-18 18:24:30 -04:00
Morgan Chen 98be605f34 Free nanopb mallocs when losing references to them (#11139)
* Free nanopb mallocs when losing references to them

* style

* add changelogs

* Fix missing free
2023-04-18 15:14:35 -07:00
Sam Edson 61db372d61 Update CHANGELOG.md (#10859) 2023-02-27 12:43:34 -05:00
Andrew Heard 10379c2a77 [Release] Update CHANGELOGs for 10.6.0 release (#10852) 2023-02-21 14:21:47 -05:00
Sam Edson 729eb40cb2 Merge sessions-main with master (#10787) 2023-02-07 16:02:19 -05:00
Visu 070769431f Make Firebase Performance initialize using Component system. (#10692) 2023-01-17 14:38:32 -08:00
Nick Cooke 96d07fe973 [Infra] Favor SWIFTPM_MODULE_BUNDLE macro over C function across repo (#10625)
* [Infra] Favor SWIFTPM_MODULE_BUNDLE in RC unit tests

* Favor across repo
2022-12-29 18:23:29 -05:00
Sam Edson f5af4a98e2 Upgrade nanopb to 0.3.9.9 for collection of SDKs (#10447) 2022-11-02 15:32:44 -04:00
Sam Edson ba0f4f2693 Combine nanopb scripts into a single location (#10439) 2022-11-02 14:56:58 -04:00
Nick Cooke 43c62f0526 [Infra] Remove CoreDiagnostics library and references (#10259)
* [Infra] Remove CoreDiagnostics library and references

* Style localize_podfile.swift

* Add GDT to SharedTestUtils

* Update GoogleUtilities.cmake config

* Run all CI

* Update GoogleUtilities.cmake config (2)

* Resolve FIRApp.m TODO

* [skip ci] Revert Gemfile
2022-09-26 00:03:55 -04:00
Nick Cooke 6e0fda7a24 [Firebase 10] Update minimum supported versions across Firebase (#10233)
* Bump Package.swift minimum support versions

* Update iOS minimum versions

* Bump Crashlytics to min. support iOS 11

* Bump macOS support from 10.12 to 10.13

* Bump tvOS support from 10 to 11

* Add CHANGELOG entry

* Improve CHANGELOG entry

* Fix CI

* Improve CHANGELOG entry (2)

* Improve CHANGELOG entry (3)

* Update FirePerf test app deployment target

* Update Mac test apps's deployment target

* Update iOS test apps's deployment target

* Update release tooling project's iOS deployment target

* Misc platform min support bumps

* Update FBSDK API usage to FBSDK 13.0+

* Fix Auth dep on FBSDK
2022-09-21 16:48:11 -04:00
Visu 61dfd02e33 Fix the failing test on iOS16. (#10008) 2022-07-14 16:23:51 -07:00
Jeremy Jiang d01b2b1ece Update logging URL (#9940) 2022-06-28 15:01:05 -04:00
Nick Cooke ced8b554a0 [Infra] Standardize CHANGELOG header format (#9777) 2022-05-10 17:54:58 -04:00
Morgan Chen 24f9ea934f fix changelogs (#9636) 2022-04-11 14:49:19 -07:00
Morgan Chen 9f2a3132fa Use Swift syntax in reference documentation (#9594)
* fix returns typo

* change some headers

* style

* the rest of the header comments

* revert changes to FIRStorageReference
2022-04-08 14:50:22 -07:00
Nick Cooke 5a021bb50b [Perf] Add missing FirebaseCoreInternal pod to testing Podfile (#9599)
* Add missing pod

* Run perf int-tests on workflow changes
2022-04-07 14:33:57 -04:00
Paul Beusterien 7b946765ec Remove slashes from log messages (#9391) 2022-04-06 14:19:47 -07:00
Paul Beusterien 99275370a2 Merge remote-tracking branch 'origin/master' into v9b 2022-04-06 09:56:33 -07:00
Paul Beusterien 8637deda54 Fix perf test regression from recent RC change (#9553) 2022-04-01 06:48:17 -07:00
Visu df5d2c6d26 Remove the double dispatch code from the pre-warm detection. (#9528) 2022-03-29 15:40:36 -07:00
Nick Cooke 1a5399a230 [Infra] Bump clang-format to v14 (#9527) (#9531)
* Bump clang-format

* Review
2022-03-28 18:53:08 -04:00
Nick Cooke 0336856b9f [Infra] Bump clang-format to v14 (#9527)
* Bump clang-format

* Review
2022-03-28 13:14:45 -04:00
Nick Cooke a09083f9d0 [v9] Reorganize FirebaseCore* modules (#9482)
* [skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`

* Reorganize FirebaseCore libraries for SPM and CP

* [skip ci] Revert "[skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`"

This reverts commit 2a837e39708c21b0a324743ab226bd6c01047de7.

* Review and fix CI

* Remove `heartbeat_logging.yml` and add `core_internal.yml`

* Remove trailing whitespace

* Fix more whitespace 😞

* Fix `core_internal.yml` scheme name

* Update `check_imports.swift` and TODO

* Review

* Add FirebaseCoreInternal pod to Firestore example's Podfile

* [skip ci] Review - remove TODOs

* [skip ci] Remove duplicate `XCTest` import
2022-03-23 06:08:14 -07:00
Paul Beusterien 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00
Paul Beusterien 33a7467748 8.14.0 Changelog updates (#9457) 2022-03-15 11:50:53 -07:00
Visu ba50608438 Record the size of the request bytes for POST/PUT URL Requests (#9452) 2022-03-15 11:00:15 -07:00
Nick Cooke d4c4e8c7b8 CHANGELOG updates for 8.13.0 (#9408)
* 8.13 CHANGELOGs

* Remove trailing whitespace

* Remove trailing whitespace
2022-03-02 12:34:02 -05:00
Leo Zhan bcc81c883a Fireperf: fix ActivePrewarm (#9362)
* read env var in +load

* formatting

* fix test

* platform checking

* remove platform-checking

* use @available() to check version

* align with Hub's version checking

* fix @available

* comments and changelog

* imports

* comment word smithing

* more comment word smithing

* better context comment
2022-02-28 10:30:05 -08:00
Leo Zhan ca6f7e6229 Fireperf: prewarm counters (#9283)
* hidden counters

* changelog

* lowercase
2022-02-01 16:37:58 -08:00
VisuandLeo Zhan f576ad5f6b Fireperf: dropping app start events when they are prewarmed. (#9104)
* Prototype of dropping app start events when they are prewarmed.

* fixing a bug and adding tests for isApplicationPrewarmed

* remove comments

* formatting

* added a plist flag to disable double dispatch

* adding RC

* formatting

* use GULAppEnvironmentUtil for checking iOS version

* add tests

* formatting

* comment

* drop counters

* dropped _as duration counter

* formatting

* Revert "formatting"

This reverts commit bd6b82b79c.

* Revert "dropped _as duration counter"

This reverts commit ef8a901000.

* Revert "drop counters"

This reverts commit 38d20320dd.

* fix most PR comments

* enum

* formatting

* move dropping all events out of isApplicationPreWarmed

* fix tests

* formatting

* default to OnlyActivePrewarm

* code review changes

* formatting

* fix names in comments

* comments

* formatting

* fix test name

Co-authored-by: Leo Zhan <zhanl@google.com>
2022-02-01 12:25:39 -08:00
Nick Cooke 6e488bfc57 Update CHANGELOGs for 8.10.0 (#8979) 2021-11-16 21:49:45 -08:00
Jeremy Jiang ec9309db60 Fix heap-buffer overflow in FPREncodePerfSessions (#8872)
* Fix heap-buffer overflow in FPREncodePerfSessions

* Update CHANGELOG.md

* Update CHANGELOG.md

* Attempt to add sanitizers to workflow.

* Update performance.yml

* Update performance.yml

* Update performance.yml

* Remove sanitizer check.
2021-11-04 11:26:58 -04:00
Visu 4deab9ceca Perf return session length return type (#8924)
Fix FPRSessionDetails copy implemention to retain the session creation time.
2021-11-03 12:53:57 -07:00
Jeremy Jiang fc2cf7bc8a Fix Fireperf flaky tests (#8818) 2021-10-18 19:23:17 -04:00
Jeremy Jiang d93d223555 Fix heap-buffer overflow from FPRDecodeString (#8631)
* Use trimmedURLString for logging

* Update CHANGELOG.md

* Move nanopb decode methods to test util

* Update Package.swift

* Incorporate comments
2021-09-10 11:54:16 -04:00
Leo Zhan cfcb1ebaf0 FirePerf: use FPRLogDebug instead of FPRLogError for logging events when FirePerf is disabled (#8620)
* make Dropping Event log use the highest verbosity which is debug

* changelog
2021-09-07 13:29:10 -04:00
Visu 95830b28d9 Create a random delay before initiating a remote config fetch. (#8593) 2021-09-01 16:46:29 -07:00
Visu 0caef34228 Fix to ensure that the installation ID is right set for sending events. (#8578) 2021-08-26 20:53:04 -07:00
Paul Beusterien bd9272cbdc Fix perf assert macro (#8521) 2021-08-11 10:07:20 -07:00
Visu 9d62ab37ff Resolve a possible race condition (#8512)
Pass the session details as a part of the session updated notification. This avoids the sessionDetails object missing race condition when trying to update the session details to the traces.

Attempt to fix #8495.
2021-08-10 11:43:22 -07:00
Jeremy Jiang 33a5c2013e Fix Xcode 13 beta 4 build issues for Firebase Performance (#8516)
* Fix Xcode 13 beta 4 build issues

* Update to NS_EXTENSION_UNAVAILABLE instead of NS_EXTENSION_UNAVAILABLE_IOS
2021-08-10 14:34:08 -04:00
Jeremy JiangandPaul Beusterien ec193d0150 Add Performance Support for Swift Package Manager (#8412)
* Create NanoPb code generation scripts (#8336)

* Create NanoPb code generation scripts

* Fix style and add README

* Fix copyright

* Update proto_generator.py

* Update README.md

* Create nanopb options file. (#8371)

* Create NanoPb code generation scripts

* Fix style and add README

* Fix copyright

* Update perf_metrics.options

* Update options with map

* Add generated proto files.

* Update imports.

* Convert Objective-C Classes to Nanopb (#8387)

* Convert all traces to nanopb

* Refactor for loop.

* Add set has_application_info to true.

* Incorporated comments.

* Fix style

* Create NanoPb code generation scripts (#8336)

* Create NanoPb code generation scripts

* Fix style and add README

* Fix copyright

* Update proto_generator.py

* Update README.md

* Create nanopb options file. (#8371)

* Create NanoPb code generation scripts

* Fix style and add README

* Fix copyright

* Update perf_metrics.options

* Update options with map

* Add generated proto files.

* Update imports.

* Convert Objective-C Classes to Nanopb (#8387)

* Convert all traces to nanopb

* Refactor for loop.

* Add set has_application_info to true.

* Incorporated comments.

* Fix style

* Fix style

* Convert nanopb struct to GDTCOREventDataObject and update the source code to use nanopb struct. (#8439)

* Convert all traces to nanopb

* Refactor for loop.

* WIP: nanopb conversion in FPRClient and FPREvent

* Update FPRClientTest.m

* Update FPRClient.m

* Update FPRClientTest.m

* Add set has_application_info to true.

* Remove proto imports.

* Set has_fields to be true in FPRTestUtils.m

* Completed GDTEvent conversion.

* Fix sampler tests.

* Fix style

* Refactor nanopb struct setter

* Fix style

* Fix pod-lib-lint failures.

* Update FPRClient with decoded string

* Set some "_has" fields to true.

* Add prefix to extern methods.

* Fix style.

* Update FPRClient to use trace.name without FPRDecodeString

* Fix style

* Incorporate comments.

* Integrate Performance with SPM (#8476)

* Convert all traces to nanopb

* Refactor for loop.

* WIP: nanopb conversion in FPRClient and FPREvent

* Update FPRClientTest.m

* Update FPRClient.m

* Update FPRClientTest.m

* Add set has_application_info to true.

* Remove proto imports.

* Set has_fields to be true in FPRTestUtils.m

* Completed GDTEvent conversion.

* Fix sampler tests.

* Fix style

* Refactor nanopb struct setter

* Fix style

* Fix pod-lib-lint failures.

* Update FPRClient with decoded string

* Set some "_has" fields to true.

* Add prefix to extern methods.

* Fix style.

* Update FPRClient to use trace.name without FPRDecodeString

* Fix style

* Update Package.swift

* Update Package.swift

* Update Package.swift

* Made SDK and unit tests buildable.

* Made all unit tests passing.

* Update keyWindow style.

* Add Performance to workflow.

* Update FPRUIViewControllerInstrument.h

* Incorporate comments.

* Add Performance to SwiftPMTests.

* Update style.

* Fix Unit tests and update workflow.

* Add FirebasePerformance wrapper

* Update import statement.

* Update style.

* Update performance.yml

* Create PerformanceUnit.xcscheme

* Update objc-module.m

* Update objc-module.m

* Updae objc-header.m

* Update objc-header.m

* Incorporate feedback.

* Update objc-header.m

* Organize folder structure to fix the spm tests.

* Update public import path

* Delete xcodebuild.log

* Update workflow files

* Fix failing swift-test for Perf SPM (#8507)

* Fix UIKit import

* Update FPRNetworkTraceTest.m

* Exclude TARGET_OS_MACCATALYST from objc header test

* Update main.swift

* Update main.swift

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>

* Remove Protobuf dependency  (#8511)

* Remove protobuf dependency

* Update FirebasePerformance.podspec

* Incorporate comments.

* Update UIKit import

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2021-08-10 13:41:18 -04:00
Paul Beusterien 0d90f2f12d Update to clang-format 12.0.1 (#8397) 2021-07-16 11:40:42 -07:00
Jeremy Jiang c69b1ff01c Add support for network request completed field. (#8194)
* Add support for network request completed field.

* Update CHANGELOG.

* Clean up log messages

* Address comments
2021-06-16 19:11:45 -04:00