Commit Graph
39 Commits
Author SHA1 Message Date
Maksym Malyhin ce199ba1e8 GoogleUtilities - M53 version bump and changelog (#3475)
* GoogleUtilities: bump patch version to 6.2.4

* GoogleUtilities: 6.2.4 changelog.
2019-07-31 09:34:14 -07:00
Maksym Malyhin d4e85d6d1e GULObjectSwizzler fix dealloc thread safety (#3300) 2019-07-30 12:42:34 -07:00
Maksym Malyhin aee6c41244 Revert "GULMutableDictionary: use dispatch_sync instead of async." (#3337)
* Revert "GULMutableDictionary: use `dispatch_sync` instead of `async`. (#3322)"

This reverts commit f7c88f17bc.

* GoogleUtilities 6.2.3
2019-07-11 17:31:54 -04:00
Maksym Malyhin 2018feee0e Bump GoogleUtilities version 6.2.2 (#3331)
* Bump GoogleUtilities version 6.2.2

* Changelog updates 6.2.2
2019-07-11 09:51:17 -04:00
Maksym Malyhin 65f53e230c GoogleUtilities bump version to 6.2.1 (#3265) 2019-06-26 10:05:00 -04:00
Paul Beusterien 9a90af0a97 GoogleUtilities 6.2.0 (#3097) 2019-05-28 16:01:51 -07:00
Paul Beusterien 56807f383e GoogleUtilities to testspec and pod gen (#2908) 2019-05-28 11:35:51 -07:00
Paul Beusterien a9c454491c Stop conditional compilation for GoogleUtilities testing (#3058) 2019-05-23 07:06:26 -07:00
Maksym Malyhin 774a1e26a7 GoogleUtilities 6.1.0 (#2999) 2019-05-14 13:48:06 -04:00
Paul Beusterien 046290427f GoogleUtilities min ios version from 6 to 8 (#2876) 2019-04-22 15:53:39 -07:00
Paul Beusterien e3cafd4dfd GoogleUtilities to 5.8.0 (#2813) 2019-04-11 14:19:13 -07:00
Maksym Malyhin aa60779633 Bump GoogleUtilities version to 5.6.0 (#2715) 2019-04-03 16:55:55 -04:00
Paul Beusterien 145c111d1a Minimum osx to 10.11 (#2680) 2019-03-29 16:26:27 -07:00
Paul Beusterien 9502e8dda1 Restore GoogleUtilities 5.3.7 - revert os_log changes (#2556) 2019-03-14 13:01:41 -07:00
Paul Beusterien e524a8dc99 Fix GULResetLogger API breakage (#2552)
* Fix GULResetLogger API breakage

* podspec and CHANGELOG

* typo
2019-03-14 07:47:40 -04:00
Paul Beusterien 37842faf29 GoogleUtilities 5.4.0 (#2519) 2019-03-13 08:54:03 -07:00
Benoit St-Pierre 6b026aac76 os_log Implementation of GULLogger (#2374)
* Step 1: Duplicate ASL Logger

This copies over the ASL logging system to a standalone Objective-C class.

* Step 2: Replace Logger with ObjC Implementation

This also moved the `forcedDebug` information to a property.

* Step 3: Remove unnecessary test methods

It does not seem necessary to drain the queue. If this is an issue on a platform I didn't test, we should implement the tests differently, such that surfacing the queue is not necessary.

* Style Fixes

* Test cleanup

* Removed FIRLoggerTest as they mostly actually test `GULASLLogger` functionality now.
* Renamed `GULLoggerInitializeASL` to `GULLoggerInitialize`.
* Use dot-notation for the defaultLogger class property.
* Removed unused debug only test methods.

* Rename FIRLoggerInitializeASL

* Style fixes

* ASL Logger cleanup and leaking

* Move ivar synthesis to the top of the implementation.
* Add dealloc logic to avoid leaking asl_obj memory.
* Add forced logic at the message level.

* GULLogger Testing

* Moved over old tests to correct ASLLogger location.
* Added new GULLogger tests
* Changed version `char *` to `NSString *`
* Tidied up some documentation

* Re-introduce ASL in the functions names

* os_log GULLogger Implementation

* Moved common logic from `GULASLLogger` to `GULLogger+Internal` class methods.
* Added `os_log` implementation of `GULLoggerSystem`
* Added `os_log` level information to `GULLoggerLevel`
* Removed unused test variable

TODO: Tests

* Remove iOS version check from ASLLogger

* Style Fixes

* Refer to ivar directly in property setter

* Refer to ivar directly in property setter

* Being os_log tests

* Setup dependency injection for os_log tests

* Rename C functions according to style and correctly test macOS version compatibility

* Further refinement of os_log testing

* Add Some OSLogger tests and update some ASLLogger ones

* Re-add getter for logLevel

* Fix up some warnings

* Remove private headers from local testing podspec

* More OSLogger tests & bug fixes

* Style Fixes

* Fix Travis build

* Update GULOSLoggerTest.m

* Do nt override method argument

* Fix test on tvOS

* Test Fixes

* Copybara test fixes

* PR Feedback
2019-02-22 16:32:57 -05:00
Paul Beusterien feadeec161 GoogleUtilities 5.3.7 (#2258) 2019-01-14 17:15:06 -08:00
Paul Beusterien 2cb236c393 Fix GoogleUtilities nullability regressions (#2079) 2018-11-15 07:03:27 -08:00
Paul Beusterien 12bdfc8b90 GoogleUtilities 5.3.5 (#2067) 2018-11-13 09:54:25 -08:00
Paul Beusterien 5cfe567147 Bump GoogleUtilities patch version to deliver fix for #1964 (#1987) 2018-10-23 09:57:02 -07:00
Paul Beusterien fedfe662f2 Bump GoogleUtilities patch version for leak fix (#1960) 2018-10-17 11:02:46 -07:00
Paul Beusterien b661695b7b Bump version to 5.3.2 to rollback leak fixes (#1931) 2018-10-10 18:37:35 -07:00
Paul Beusterien 41826d7d08 GoogleUtilities to 5.3.1 to publish Xcode 10 leak fixes (#1926) 2018-10-10 10:54:34 -07:00
Paul Beusterien e5c8dd4896 Bump minor version for next GoogleUtilities release (#1837) 2018-09-18 13:16:09 -07:00
Paul Beusterien 927a2cd567 Fix GoogleUtilities warnings in static library installs (#1830) 2018-09-17 10:39:50 -07:00
Ryan Wilson ed30bc97ea Add GULUserDefaults to GoogleUtilities. (#1812)
* Add GULUserDefaults to GoogleUtilities.

This is a workaround for NSUserDefaults crashing when setting values
in the background in some situations on iOS 11. This uses the C API
in order to avoid an NSNotification firing (which a class eventually
tries to update the UI from the thread that set the value).

* Add missing copyright information.

* Resolve macOS issues, address feedback.

* Removed unnecessary enum value.
2018-09-14 11:59:08 -04:00
Paul Beusterien 6542b46158 Bump GoogleUtilities version to release analyzer fixes (#1776) 2018-09-05 08:02:34 -04:00
Paul Beusterien b581a5a9fc Bump GoogleUtilities version to push extension fix (#1648) 2018-08-07 10:28:38 -07:00
Tejas Deshpande 367f10701a Fix GoogleUtilities so that it compiles in app extensions. (#1641)
* Fix GULAppDelegateSwizzler so that it doesn't crash in app extensions.

* Remove custom code to check for app extension and instead depend on GULAppEnvironmentUtil.
2018-08-06 17:47:57 -07:00
Paul Beusterien 701b601963 Bump GoogleUtilities patch version to publish #1595 (#1596) 2018-07-26 18:10:08 -07:00
Paul Beusterien 9a2aa9fbcc Fix FIRLogger initialization after GULLogger (#1592)
* Migrate of kFIRPersistedDebugModeKey
2018-07-26 09:45:44 -07:00
Paul Beusterien 0645430495 GoogleUtilities version for initial publish 2018-07-25 06:51:14 -07:00
Tejas Deshpande 96438c722b Open source the Swizzler (#1564)
* Import the Swizzler sources into github

* Add subspecs to GoogleUtilities podspec

* Add post install step to test Podfile to add the preprocessor flags required for testing.

* Add the swizzler tests (except the flaky GULAppDelegateSwizzlerTest) to the Xcode project

* Add the AppDelegateSwizzler internal headers to the ios test header search path

* Add license header to GULLoggerCodes.h

* Fix/Suppress warnings in the framework.

* Disable certain classes for tvOS and macOS as well fix some additional pod lib lint warnings.

* Modify imports as well as add the required preprocessor flags to the test targets.

* Run pod deintegrate.
2018-07-20 15:48:03 -07:00
Paul Beusterien d9e7d21f6f Add GoogleUtilities README (#1541) 2018-07-16 12:47:47 -07:00
Paul Beusterien 81ec26d4ff Travis build test for GoogleUtilities on iOS 6 and iOS 7 (#1529) 2018-07-13 13:21:03 -07:00
Paul Beusterien 855a7665ae Restore iOS7 to GoogleUtilities (#1528) 2018-07-13 09:57:32 -07:00
Paul Beusterien c6b4b03fff Move GoogleUtilities out of Firebase directory (#1516) 2018-07-11 08:28:35 -07:00
Paul Beusterien 98b6eef71e Split GoogleUtilities from FirebaseCore (#1370) 2018-07-06 09:37:23 -07:00