docstring_tokens
stringlengths 18
16.9k
| code_tokens
stringlengths 75
1.81M
| html_url
stringlengths 74
116
| file_name
stringlengths 3
311
|
---|---|---|---|
keep add keep keep keep keep
|
<mask> STRING,
<mask> };
<mask>
<mask> /*
<mask> * We support direct iteration of arrays, and indirect iteration of objects.
<mask> * See begin(), end(), keys(), values(), and items() for more.
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove * Create a new array from an initializer list.
*
* For example:
*
* dynamic v = { 1, 2, 3, "foo" };
*/
// TODO(ott, 10300209): Remove once all uses have been eradicated.
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
/* implicit */ dynamic(std::initializer_list<dynamic> il);
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
dynamic& operator=(std::initializer_list<dynamic> il);
/*
* Conversion constructors from most of the other types.
</s> add * Constructors for integral and float types.
* Other types are SFINAEd out with NumericTypeHelper. </s> add /* implicit */ dynamic(std::nullptr_t); </s> remove /* implicit */ dynamic(std::string const& val);
/* implicit */ dynamic(std::string&& val);
</s> add /* implicit */ dynamic(std::string val); </s> remove /*
* The enable_if junk here is necessary to avoid ambiguous
* conversions relating to bool and double when you implicitly
* convert an int or long to a dynamic.
*/
template<class T, class Enable = void> struct ConversionHelper;
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_integral<T>::value && !std::is_same<T,bool>::value
>::type
> {
typedef int64_t type;
};
template <>
struct ConversionHelper<float> {
typedef double type;
};
template <class T>
struct ConversionHelper<
T,
typename std::enable_if<
(!std::is_integral<T>::value || std::is_same<T, bool>::value) &&
!std::is_same<T, float>::value &&
!std::is_same<T, std::nullptr_t>::value>::type> {
typedef T type;
};
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_same<T,std::nullptr_t>::value
>::type
> {
typedef void* type;
};
</s> add </s> remove #include <folly/dynamic.h>
</s> add </s> remove friend class ThreadLocalPtr<T,Tag>;
</s> add friend class ThreadLocalPtr<T, Tag, AccessMode>;
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/dynamic.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> * d["key"] = 12;
<mask> * d["something_else"] = dynamic::array(1, 2, 3, nullptr);
<mask> */
<mask> private:
<mask> struct PrivateTag {};
<mask> struct EmptyArrayTag {};
<mask> struct ObjectMaker;
<mask>
<mask> public:
<mask> static void array(EmptyArrayTag);
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove /*
* The enable_if junk here is necessary to avoid ambiguous
* conversions relating to bool and double when you implicitly
* convert an int or long to a dynamic.
*/
template<class T, class Enable = void> struct ConversionHelper;
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_integral<T>::value && !std::is_same<T,bool>::value
>::type
> {
typedef int64_t type;
};
template <>
struct ConversionHelper<float> {
typedef double type;
};
template <class T>
struct ConversionHelper<
T,
typename std::enable_if<
(!std::is_integral<T>::value || std::is_same<T, bool>::value) &&
!std::is_same<T, float>::value &&
!std::is_same<T, std::nullptr_t>::value>::type> {
typedef T type;
};
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_same<T,std::nullptr_t>::value
>::type
> {
typedef void* type;
};
</s> add </s> add template<class T, class Enable = void> struct NumericTypeHelper; </s> remove template<class T, class Tag=void>
</s> add template <class T, class Tag = void, class AccessMode = void> </s> remove template<class T>
</s> add // Integral types except bool convert to int64_t, float types to double.
template <class T>
struct dynamic::NumericTypeHelper<
T, typename std::enable_if<std::is_integral<T>::value>::type> {
using type = int64_t;
};
template <>
struct dynamic::NumericTypeHelper<bool> {
using type = bool;
};
template <>
struct dynamic::NumericTypeHelper<float> {
using type = double;
};
template <>
struct dynamic::NumericTypeHelper<double> {
using type = double;
};
template<class T, class NumericType /* = typename NumericTypeHelper<T>::type */> </s> remove * Create a new array from an initializer list.
*
* For example:
*
* dynamic v = { 1, 2, 3, "foo" };
*/
// TODO(ott, 10300209): Remove once all uses have been eradicated.
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
/* implicit */ dynamic(std::initializer_list<dynamic> il);
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
dynamic& operator=(std::initializer_list<dynamic> il);
/*
* Conversion constructors from most of the other types.
</s> add * Constructors for integral and float types.
* Other types are SFINAEd out with NumericTypeHelper. </s> remove ml_.capacity_ = kIsLittleEndian
? maxSmallSize << (8 * (sizeof(size_t) - sizeof(Char)))
: maxSmallSize << 2;
small_[0] = '\0';
FBSTRING_ASSERT(category() == Category::isSmall && size() == 0);
</s> add setSmallSize(0);
}
FOLLY_MALLOC_NOINLINE void destroyMediumLarge() noexcept {
auto const c = category();
FBSTRING_ASSERT(c != Category::isSmall);
if (c == Category::isMedium) {
free(ml_.data_);
} else {
RefCounted::decrementRefs(ml_.data_);
}
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/dynamic.h
|
keep keep keep keep replace replace replace replace keep keep keep keep keep
|
<mask> template <class... Args>
<mask> static dynamic array(Args&& ...args);
<mask>
<mask> static ObjectMaker object();
<mask> static ObjectMaker object(dynamic&&, dynamic&&);
<mask> static ObjectMaker object(dynamic const&, dynamic&&);
<mask> static ObjectMaker object(dynamic&&, dynamic const&);
<mask> static ObjectMaker object(dynamic const&, dynamic const&);
<mask>
<mask> /*
<mask> * String compatibility constructors.
<mask> */
<mask> /* implicit */ dynamic(StringPiece val);
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add /* implicit */ dynamic(std::nullptr_t); </s> remove /* implicit */ dynamic(std::string const& val);
/* implicit */ dynamic(std::string&& val);
</s> add /* implicit */ dynamic(std::string val); </s> remove static auto instance = detail::createGlobal<StaticMeta<Tag>, void>();
</s> add /* library-local */ static auto instance =
detail::createGlobal<StaticMeta<Tag, AccessMode>, void>(); </s> remove enum : size_t {
lastChar = sizeof(MediumLarge) - 1,
maxSmallSize = lastChar / sizeof(Char),
maxMediumSize = 254 / sizeof(Char), // coincides with the small
// bin size in dlmalloc
categoryExtractMask = kIsLittleEndian
? sizeof(size_t) == 4 ? 0xC0000000 : size_t(0xC000000000000000)
: 0x3,
capacityExtractMask = kIsLittleEndian
? ~categoryExtractMask
: 0x0 /*unused*/,
};
</s> add constexpr static size_t lastChar = sizeof(MediumLarge) - 1;
constexpr static size_t maxSmallSize = lastChar / sizeof(Char);
constexpr static size_t maxMediumSize = 254 / sizeof(Char);
constexpr static uint8_t categoryExtractMask = kIsLittleEndian ? 0xC0 : 0x3;
constexpr static size_t kCategoryShift = (sizeof(size_t) - 1) * 8;
constexpr static size_t capacityExtractMask = kIsLittleEndian
? ~(size_t(categoryExtractMask) << kCategoryShift)
: 0x0 /* unused */;
</s> remove template<class Iterator> dynamic(Iterator first, Iterator last);
</s> add template<class Iterator>
explicit dynamic(Iterator first, Iterator last); </s> remove template<class T> /* implicit */ dynamic(T t);
</s> add template<class T, class NumericType = typename NumericTypeHelper<T>::type>
/* implicit */ dynamic(T t);
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/dynamic.h
|
keep keep keep add keep keep keep keep keep keep
|
<mask>
<mask> /*
<mask> * String compatibility constructors.
<mask> */
<mask> /* implicit */ dynamic(StringPiece val);
<mask> /* implicit */ dynamic(char const* val);
<mask> /* implicit */ dynamic(std::string val);
<mask>
<mask> /*
<mask> * This is part of the plumbing for array() and object(), above.
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove /* implicit */ dynamic(std::string const& val);
/* implicit */ dynamic(std::string&& val);
</s> add /* implicit */ dynamic(std::string val); </s> remove static ObjectMaker object(dynamic&&, dynamic&&);
static ObjectMaker object(dynamic const&, dynamic&&);
static ObjectMaker object(dynamic&&, dynamic const&);
static ObjectMaker object(dynamic const&, dynamic const&);
</s> add static ObjectMaker object(dynamic, dynamic);
/**
* Default constructor, initializes with nullptr.
*/
dynamic(); </s> remove template<class T> /* implicit */ dynamic(T t);
</s> add template<class T, class NumericType = typename NumericTypeHelper<T>::type>
/* implicit */ dynamic(T t); </s> remove * Create a new array from an initializer list.
*
* For example:
*
* dynamic v = { 1, 2, 3, "foo" };
*/
// TODO(ott, 10300209): Remove once all uses have been eradicated.
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
/* implicit */ dynamic(std::initializer_list<dynamic> il);
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
dynamic& operator=(std::initializer_list<dynamic> il);
/*
* Conversion constructors from most of the other types.
</s> add * Constructors for integral and float types.
* Other types are SFINAEd out with NumericTypeHelper. </s> add FOLLY_MALLOC_NOINLINE </s> remove explicit sorted_vector_set(
</s> add /* implicit */ sorted_vector_set(
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/dynamic.h
|
keep keep keep keep replace replace keep keep keep keep keep
|
<mask> * String compatibility constructors.
<mask> */
<mask> /* implicit */ dynamic(StringPiece val);
<mask> /* implicit */ dynamic(char const* val);
<mask> /* implicit */ dynamic(std::string const& val);
<mask> /* implicit */ dynamic(std::string&& val);
<mask>
<mask> /*
<mask> * This is part of the plumbing for array() and object(), above.
<mask> * Used to create a new array or object dynamic.
<mask> */
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add /* implicit */ dynamic(std::nullptr_t); </s> remove static ObjectMaker object(dynamic&&, dynamic&&);
static ObjectMaker object(dynamic const&, dynamic&&);
static ObjectMaker object(dynamic&&, dynamic const&);
static ObjectMaker object(dynamic const&, dynamic const&);
</s> add static ObjectMaker object(dynamic, dynamic);
/**
* Default constructor, initializes with nullptr.
*/
dynamic(); </s> remove * Create a new array from an initializer list.
*
* For example:
*
* dynamic v = { 1, 2, 3, "foo" };
*/
// TODO(ott, 10300209): Remove once all uses have been eradicated.
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
/* implicit */ dynamic(std::initializer_list<dynamic> il);
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
dynamic& operator=(std::initializer_list<dynamic> il);
/*
* Conversion constructors from most of the other types.
</s> add * Constructors for integral and float types.
* Other types are SFINAEd out with NumericTypeHelper. </s> remove template<class T> /* implicit */ dynamic(T t);
</s> add template<class T, class NumericType = typename NumericTypeHelper<T>::type>
/* implicit */ dynamic(T t); </s> add FOLLY_MALLOC_NOINLINE </s> remove explicit sorted_vector_set(
</s> add /* implicit */ sorted_vector_set(
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/dynamic.h
|
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
|
<mask> /* implicit */ dynamic(ObjectMaker const&) = delete;
<mask> /* implicit */ dynamic(ObjectMaker&&);
<mask>
<mask> /*
<mask> * Create a new array from an initializer list.
<mask> *
<mask> * For example:
<mask> *
<mask> * dynamic v = { 1, 2, 3, "foo" };
<mask> */
<mask> // TODO(ott, 10300209): Remove once all uses have been eradicated.
<mask>
<mask> FOLLY_DEPRECATED(
<mask> "Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
<mask> /* implicit */ dynamic(std::initializer_list<dynamic> il);
<mask> FOLLY_DEPRECATED(
<mask> "Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
<mask> dynamic& operator=(std::initializer_list<dynamic> il);
<mask>
<mask> /*
<mask> * Conversion constructors from most of the other types.
<mask> */
<mask> template<class T> /* implicit */ dynamic(T t);
<mask>
<mask> /*
<mask> * Create a dynamic that is an array of the values from the supplied
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove template<class T> /* implicit */ dynamic(T t);
</s> add template<class T, class NumericType = typename NumericTypeHelper<T>::type>
/* implicit */ dynamic(T t); </s> remove /* implicit */ dynamic(std::string const& val);
/* implicit */ dynamic(std::string&& val);
</s> add /* implicit */ dynamic(std::string val); </s> remove template<class Iterator> dynamic(Iterator first, Iterator last);
</s> add template<class Iterator>
explicit dynamic(Iterator first, Iterator last); </s> add /* implicit */ dynamic(std::nullptr_t); </s> remove static ObjectMaker object(dynamic&&, dynamic&&);
static ObjectMaker object(dynamic const&, dynamic&&);
static ObjectMaker object(dynamic&&, dynamic const&);
static ObjectMaker object(dynamic const&, dynamic const&);
</s> add static ObjectMaker object(dynamic, dynamic);
/**
* Default constructor, initializes with nullptr.
*/
dynamic(); </s> remove /*
* The enable_if junk here is necessary to avoid ambiguous
* conversions relating to bool and double when you implicitly
* convert an int or long to a dynamic.
*/
template<class T, class Enable = void> struct ConversionHelper;
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_integral<T>::value && !std::is_same<T,bool>::value
>::type
> {
typedef int64_t type;
};
template <>
struct ConversionHelper<float> {
typedef double type;
};
template <class T>
struct ConversionHelper<
T,
typename std::enable_if<
(!std::is_integral<T>::value || std::is_same<T, bool>::value) &&
!std::is_same<T, float>::value &&
!std::is_same<T, std::nullptr_t>::value>::type> {
typedef T type;
};
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_same<T,std::nullptr_t>::value
>::type
> {
typedef void* type;
};
</s> add
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/dynamic.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask>
<mask> /*
<mask> * Conversion constructors from most of the other types.
<mask> */
<mask> template<class T> /* implicit */ dynamic(T t);
<mask>
<mask> /*
<mask> * Create a dynamic that is an array of the values from the supplied
<mask> * iterator range.
<mask> */
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove * Create a new array from an initializer list.
*
* For example:
*
* dynamic v = { 1, 2, 3, "foo" };
*/
// TODO(ott, 10300209): Remove once all uses have been eradicated.
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
/* implicit */ dynamic(std::initializer_list<dynamic> il);
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
dynamic& operator=(std::initializer_list<dynamic> il);
/*
* Conversion constructors from most of the other types.
</s> add * Constructors for integral and float types.
* Other types are SFINAEd out with NumericTypeHelper. </s> remove template<class Iterator> dynamic(Iterator first, Iterator last);
</s> add template<class Iterator>
explicit dynamic(Iterator first, Iterator last); </s> remove /* implicit */ dynamic(std::string const& val);
/* implicit */ dynamic(std::string&& val);
</s> add /* implicit */ dynamic(std::string val); </s> add /* implicit */ dynamic(std::nullptr_t); </s> remove /*
* The enable_if junk here is necessary to avoid ambiguous
* conversions relating to bool and double when you implicitly
* convert an int or long to a dynamic.
*/
template<class T, class Enable = void> struct ConversionHelper;
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_integral<T>::value && !std::is_same<T,bool>::value
>::type
> {
typedef int64_t type;
};
template <>
struct ConversionHelper<float> {
typedef double type;
};
template <class T>
struct ConversionHelper<
T,
typename std::enable_if<
(!std::is_integral<T>::value || std::is_same<T, bool>::value) &&
!std::is_same<T, float>::value &&
!std::is_same<T, std::nullptr_t>::value>::type> {
typedef T type;
};
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_same<T,std::nullptr_t>::value
>::type
> {
typedef void* type;
};
</s> add </s> remove static ObjectMaker object(dynamic&&, dynamic&&);
static ObjectMaker object(dynamic const&, dynamic&&);
static ObjectMaker object(dynamic&&, dynamic const&);
static ObjectMaker object(dynamic const&, dynamic const&);
</s> add static ObjectMaker object(dynamic, dynamic);
/**
* Default constructor, initializes with nullptr.
*/
dynamic();
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/dynamic.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> /*
<mask> * Create a dynamic that is an array of the values from the supplied
<mask> * iterator range.
<mask> */
<mask> template<class Iterator> dynamic(Iterator first, Iterator last);
<mask>
<mask> dynamic(dynamic const&);
<mask> dynamic(dynamic&&) noexcept;
<mask> ~dynamic() noexcept;
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove template<class T> /* implicit */ dynamic(T t);
</s> add template<class T, class NumericType = typename NumericTypeHelper<T>::type>
/* implicit */ dynamic(T t); </s> remove * Create a new array from an initializer list.
*
* For example:
*
* dynamic v = { 1, 2, 3, "foo" };
*/
// TODO(ott, 10300209): Remove once all uses have been eradicated.
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
/* implicit */ dynamic(std::initializer_list<dynamic> il);
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
dynamic& operator=(std::initializer_list<dynamic> il);
/*
* Conversion constructors from most of the other types.
</s> add * Constructors for integral and float types.
* Other types are SFINAEd out with NumericTypeHelper. </s> remove template<class Iterator>
</s> add template <class Iterator> </s> remove static ObjectMaker object(dynamic&&, dynamic&&);
static ObjectMaker object(dynamic const&, dynamic&&);
static ObjectMaker object(dynamic&&, dynamic const&);
static ObjectMaker object(dynamic const&, dynamic const&);
</s> add static ObjectMaker object(dynamic, dynamic);
/**
* Default constructor, initializes with nullptr.
*/
dynamic(); </s> remove * Note: dynamic is not DefaultConstructible. Rationale:
*
* - The intuitive thing to initialize a defaulted dynamic to would
* be nullptr.
*
* - However, the expression dynamic d = {} is required to call the
* default constructor by the standard, which is confusing
* behavior for dynamic unless the default constructor creates an
* empty array.
*
</s> add </s> remove /* implicit */ dynamic(std::string const& val);
/* implicit */ dynamic(std::string&& val);
</s> add /* implicit */ dynamic(std::string val);
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/dynamic.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> template<class T> struct CompareOp;
<mask> template<class T> struct GetAddrImpl;
<mask> template<class T> struct PrintImpl;
<mask>
<mask> dynamic(Array&& array, PrivateTag);
<mask>
<mask> template<class T> T const& get() const;
<mask> template<class T> T& get();
<mask> template<class T> T* get_nothrow() & noexcept;
<mask> template<class T> T const* get_nothrow() const& noexcept;
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove /*
* The enable_if junk here is necessary to avoid ambiguous
* conversions relating to bool and double when you implicitly
* convert an int or long to a dynamic.
*/
template<class T, class Enable = void> struct ConversionHelper;
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_integral<T>::value && !std::is_same<T,bool>::value
>::type
> {
typedef int64_t type;
};
template <>
struct ConversionHelper<float> {
typedef double type;
};
template <class T>
struct ConversionHelper<
T,
typename std::enable_if<
(!std::is_integral<T>::value || std::is_same<T, bool>::value) &&
!std::is_same<T, float>::value &&
!std::is_same<T, std::nullptr_t>::value>::type> {
typedef T type;
};
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_same<T,std::nullptr_t>::value
>::type
> {
typedef void* type;
};
</s> add </s> remove template<class T>
</s> add // Integral types except bool convert to int64_t, float types to double.
template <class T>
struct dynamic::NumericTypeHelper<
T, typename std::enable_if<std::is_integral<T>::value>::type> {
using type = int64_t;
};
template <>
struct dynamic::NumericTypeHelper<bool> {
using type = bool;
};
template <>
struct dynamic::NumericTypeHelper<float> {
using type = double;
};
template <>
struct dynamic::NumericTypeHelper<double> {
using type = double;
};
template<class T, class NumericType /* = typename NumericTypeHelper<T>::type */> </s> remove typedef typename detail::ConversionHelper<T>::type U;
type_ = TypeInfo<U>::type;
new (getAddress<U>()) U(std::move(t));
</s> add type_ = TypeInfo<NumericType>::type;
new (getAddress<NumericType>()) NumericType(t); </s> remove template<class T> /* implicit */ dynamic(T t);
</s> add template<class T, class NumericType = typename NumericTypeHelper<T>::type>
/* implicit */ dynamic(T t); </s> remove template<class Iterator> dynamic(Iterator first, Iterator last);
</s> add template<class Iterator>
explicit dynamic(Iterator first, Iterator last); </s> remove template <class T>
void doNotOptimizeAway(T&& datum) {
asm volatile("" : "+r" (datum));
</s> add namespace detail {
template <typename T>
struct DoNotOptimizeAwayNeedsIndirect {
using Decayed = typename std::decay<T>::type;
// First two constraints ensure it can be an "r" operand.
// std::is_pointer check is because callers seem to expect that
// doNotOptimizeAway(&x) is equivalent to doNotOptimizeAway(x).
constexpr static bool value = !folly::IsTriviallyCopyable<Decayed>::value ||
sizeof(Decayed) > sizeof(long) || std::is_pointer<Decayed>::value;
};
} // detail namespace
template <typename T>
auto doNotOptimizeAway(const T& datum) -> typename std::enable_if<
!detail::DoNotOptimizeAwayNeedsIndirect<T>::value>::type {
asm volatile("" ::"X"(datum));
}
template <typename T>
auto doNotOptimizeAway(const T& datum) -> typename std::enable_if<
detail::DoNotOptimizeAwayNeedsIndirect<T>::value>::type {
asm volatile("" ::"m"(datum) : "memory");
}
template <typename T>
auto makeUnpredictable(T& datum) -> typename std::enable_if<
!detail::DoNotOptimizeAwayNeedsIndirect<T>::value>::type {
asm volatile("" : "+r"(datum));
}
template <typename T>
auto makeUnpredictable(T& datum) -> typename std::enable_if<
detail::DoNotOptimizeAwayNeedsIndirect<T>::value>::type {
asm volatile("" ::"m"(datum) : "memory");
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/dynamic.h
|
keep add keep keep keep keep keep keep
|
<mask> #include <folly/Portability.h>
<mask> #include <folly/SmallLocks.h>
<mask> #include <folly/portability/Constexpr.h>
<mask> #include <folly/portability/Malloc.h>
<mask> #include <folly/portability/TypeTraits.h>
<mask>
<mask> // Ignore shadowing warnings within this file, so includers can use -Wshadow.
<mask> #pragma GCC diagnostic push
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #include <initializer_list>
</s> add </s> add #include <iostream> </s> add #include <folly/detail/TryDetail.h> </s> add #include <folly/portability/BitsFunctexcept.h> </s> add #include <folly/portability/BitsFunctexcept.h> </s> add #include <folly/dynamic.h>
#include <folly/portability/BitsFunctexcept.h>
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/small_vector.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask>
<mask> reference at(size_type i) {
<mask> if (i >= size()) {
<mask> throw std::out_of_range("index out of range");
<mask> }
<mask> return (*this)[i];
<mask> }
<mask>
<mask> const_reference at(size_type i) const {
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove throw std::out_of_range("index out of range");
</s> add std::__throw_out_of_range("index out of range"); </s> remove throw std::out_of_range("out of range in dynamic array");
</s> add std::__throw_out_of_range("out of range in dynamic array"); </s> remove throw std::out_of_range("sorted_vector_map::at");
</s> add std::__throw_out_of_range("sorted_vector_map::at"); </s> remove return std::addressof(**this);
</s> add return getPointer(it_, 0); </s> remove throw std::out_of_range("sorted_vector_map::at");
</s> add std::__throw_out_of_range("sorted_vector_map::at"); </s> remove throw std::out_of_range("Key does not exist");
</s> add std::__throw_out_of_range("Key does not exist");
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/small_vector.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask>
<mask> const_reference at(size_type i) const {
<mask> if (i >= size()) {
<mask> throw std::out_of_range("index out of range");
<mask> }
<mask> return (*this)[i];
<mask> }
<mask>
<mask> private:
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove throw std::out_of_range("index out of range");
</s> add std::__throw_out_of_range("index out of range"); </s> remove throw std::out_of_range("out of range in dynamic array");
</s> add std::__throw_out_of_range("out of range in dynamic array"); </s> remove return std::addressof(**this);
</s> add return getPointer(it_, 0); </s> remove throw std::out_of_range("sorted_vector_map::at");
</s> add std::__throw_out_of_range("sorted_vector_map::at"); </s> remove throw std::out_of_range("sorted_vector_map::at");
</s> add std::__throw_out_of_range("sorted_vector_map::at"); </s> remove throw std::out_of_range("Key does not exist");
</s> add std::__throw_out_of_range("Key does not exist");
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/small_vector.h
|
keep keep keep add keep keep keep keep
|
<mask> #include <utility>
<mask> #include <vector>
<mask>
<mask> #include <boost/operators.hpp>
<mask>
<mask> namespace folly {
<mask>
<mask> //////////////////////////////////////////////////////////////////////
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add #include <folly/dynamic.h>
#include <folly/portability/BitsFunctexcept.h> </s> add #include <iostream> </s> remove #include <folly/dynamic.h>
</s> add </s> add #include <folly/portability/BitsFunctexcept.h> </s> add #include <folly/detail/TryDetail.h> </s> remove #if !defined(FOLLY_ALLOW_TFO) && defined(__linux__) && !defined(__ANDROID__)
</s> add #if !defined(FOLLY_ALLOW_TFO)
#if defined(__linux__) || defined(__APPLE__)
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/sorted_vector_types.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> // can figure out the distance between the two iterators).
<mask> insert(first, last);
<mask> }
<mask>
<mask> explicit sorted_vector_set(
<mask> std::initializer_list<value_type> list,
<mask> const Compare& comp = Compare(),
<mask> const Allocator& alloc = Allocator())
<mask> : m_(comp, alloc)
<mask> {
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add // Raw pointers don't have an operator->() member function, so the
// second overload will be SFINAEd out in that case. Otherwise, the
// second is preferred in the partial order for getPointer(_, 0).
template <class Iterator>
auto getPointer(const Iterator& it, long) -> decltype(std::addressof(*it)) {
return std::addressof(*it);
}
template <class Iterator>
auto getPointer(const Iterator& it, int) -> decltype(it.operator->()) {
return it.operator->();
}
</s> remove return category() == Category::isSmall ? smallSize() : ml_.size_;
</s> add size_t ret = ml_.size_;
/* static */ if (kIsLittleEndian) {
// We can save a couple instructions, because the category is
// small iff the last char, as unsigned, is <= maxSmallSize.
typedef typename std::make_unsigned<Char>::type UChar;
auto maybeSmallSize = size_t(maxSmallSize) -
size_t(static_cast<UChar>(small_[maxSmallSize]));
// With this syntax, GCC and Clang generate a CMOV instead of a branch.
ret = (static_cast<ssize_t>(maybeSmallSize) >= 0) ? maybeSmallSize : ret;
} else {
ret = (category() == Category::isSmall) ? smallSize() : ret;
}
return ret; </s> remove const size_type n1(size()), n2(traits_type::length(s));
</s> add const size_type n1(size()), n2(traitsLength(s)); </s> remove void throwException() const {
</s> add // If the exception_wrapper does not contain an exception, std::terminate()
// is invoked to assure the [[noreturn]] behaviour.
[[noreturn]] void throwException() const { </s> remove // Could forward to compare(0, size(), s, traits_type::length(s))
</s> add // Could forward to compare(0, size(), s, traitsLength(s)) </s> remove int error = (remaining_decimals == 0 ? 0 : kDenominator / 2);
</s> add uint64_t error = (remaining_decimals == 0 ? 0 : kDenominator / 2);
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/sorted_vector_types.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> iterator it = find(key);
<mask> if (it != end()) {
<mask> return it->second;
<mask> }
<mask> throw std::out_of_range("sorted_vector_map::at");
<mask> }
<mask>
<mask> const mapped_type& at(const key_type& key) const {
<mask> const_iterator it = find(key);
<mask> if (it != end()) {
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove throw std::out_of_range("sorted_vector_map::at");
</s> add std::__throw_out_of_range("sorted_vector_map::at"); </s> remove throw std::out_of_range("Key does not exist");
</s> add std::__throw_out_of_range("Key does not exist"); </s> remove throw std::out_of_range("Key does not exist");
</s> add std::__throw_out_of_range("Key does not exist"); </s> remove throw std::out_of_range("out of range in dynamic array");
</s> add std::__throw_out_of_range("out of range in dynamic array"); </s> remove MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
</s> add {
MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
result = info->vlog_level;
found = true;
}
info->vlog_level = log_level;
} else if (!found &&
SafeFNMatch_(info->module_pattern.c_str(),
info->module_pattern.size(),
module_pattern, pattern_len)) { </s> remove [children addObject:child];
} else if (child == rootVC.view) {
</s> add UIViewController *vc = [FBSDKViewHierarchy getParentViewController:child];
if (vc != nil && vc.view == child) {
[children addObject:vc];
} else {
[children addObject:child];
}
} else {
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/sorted_vector_types.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> const_iterator it = find(key);
<mask> if (it != end()) {
<mask> return it->second;
<mask> }
<mask> throw std::out_of_range("sorted_vector_map::at");
<mask> }
<mask>
<mask> size_type count(const key_type& key) const {
<mask> return find(key) == end() ? 0 : 1;
<mask> }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove throw std::out_of_range("sorted_vector_map::at");
</s> add std::__throw_out_of_range("sorted_vector_map::at"); </s> remove throw std::out_of_range("Key does not exist");
</s> add std::__throw_out_of_range("Key does not exist"); </s> remove throw std::out_of_range("Key does not exist");
</s> add std::__throw_out_of_range("Key does not exist"); </s> remove throw std::out_of_range("out of range in dynamic array");
</s> add std::__throw_out_of_range("out of range in dynamic array"); </s> remove const size_type n1(size()), n2(traits_type::length(s));
</s> add const size_type n1(size()), n2(traitsLength(s)); </s> remove // Could forward to compare(0, size(), s, traits_type::length(s))
</s> add // Could forward to compare(0, size(), s, traitsLength(s))
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/Folly/folly/sorted_vector_types.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> // out, but then you'd have to unset HAVE_RWLOCK (at least on linux -- it
<mask> // *does* cause problems for FreeBSD, or MacOSX, but isn't needed
<mask> // for locking there.)
<mask> # ifdef __linux__
<mask> # define _XOPEN_SOURCE 500 // may be needed to get the rwlock calls
<mask> # endif
<mask> # include <pthread.h>
<mask> typedef pthread_rwlock_t MutexType;
<mask> #elif defined(HAVE_PTHREAD)
<mask> # include <pthread.h>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> remove // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add </s> remove // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add </s> add /**
* Portable version check.
*/
#ifndef __GNUC_PREREQ
# if defined __GNUC__ && defined __GNUC_MINOR__
/* nolint */
# define __GNUC_PREREQ(maj, min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= \
((maj) << 16) + (min))
# else
/* nolint */
# define __GNUC_PREREQ(maj, min) 0
# endif
#endif
</s> remove #if defined(OS_WINDOWS) && defined(_MSC_VER)
</s> add #if defined(OS_WINDOWS) && defined(_MSC_VER) && !defined(TEST_SRC_DIR)
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/base/mutex.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> /* Define to the full name of this package. */
<mask> #define PACKAGE_NAME "glog"
<mask>
<mask> /* Define to the full name and version of this package. */
<mask> #define PACKAGE_STRING "glog 0.3.4"
<mask>
<mask> /* Define to the one symbol short name of this package. */
<mask> #define PACKAGE_TARNAME "glog"
<mask>
<mask> /* Define to the home page for this package. */
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #define PACKAGE_VERSION "0.3.4"
</s> add #define PACKAGE_VERSION "0.3.5" </s> remove #define VERSION "0.3.4"
</s> add #define VERSION "0.3.5" </s> add /**
* Portable version check.
*/
#ifndef __GNUC_PREREQ
# if defined __GNUC__ && defined __GNUC_MINOR__
/* nolint */
# define __GNUC_PREREQ(maj, min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= \
((maj) << 16) + (min))
# else
/* nolint */
# define __GNUC_PREREQ(maj, min) 0
# endif
#endif
</s> remove - Parameter eventName: The name of the event to record. Limitations on number of events and name length
</s> add @param eventName The name of the event to record. Limitations on number of events and name length </s> remove - Parameter eventName: The name of the event to record. Limitations on number of events and name construction
</s> add @param eventName The name of the event to record. Limitations on number of events and name construction </s> remove - Parameter name: An optional name for this request. This can be used to feed
</s> add @param name An optional name for this request. This can be used to feed
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/config.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> /* Define to the home page for this package. */
<mask> #define PACKAGE_URL ""
<mask>
<mask> /* Define to the version of this package. */
<mask> #define PACKAGE_VERSION "0.3.4"
<mask>
<mask> /* How to access the PC from a struct ucontext */
<mask> /* #undef PC_FROM_UCONTEXT */
<mask>
<mask> /* Define to necessary symbol if this constant uses a non-standard name on
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #define PACKAGE_STRING "glog 0.3.4"
</s> add #define PACKAGE_STRING "glog 0.3.5" </s> remove #define VERSION "0.3.4"
</s> add #define VERSION "0.3.5" </s> add /**
* Portable version check.
*/
#ifndef __GNUC_PREREQ
# if defined __GNUC__ && defined __GNUC_MINOR__
/* nolint */
# define __GNUC_PREREQ(maj, min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= \
((maj) << 16) + (min))
# else
/* nolint */
# define __GNUC_PREREQ(maj, min) 0
# endif
#endif
</s> remove template<class T> /* implicit */ dynamic(T t);
</s> add template<class T, class NumericType = typename NumericTypeHelper<T>::type>
/* implicit */ dynamic(T t); </s> remove * Create a new array from an initializer list.
*
* For example:
*
* dynamic v = { 1, 2, 3, "foo" };
*/
// TODO(ott, 10300209): Remove once all uses have been eradicated.
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
/* implicit */ dynamic(std::initializer_list<dynamic> il);
FOLLY_DEPRECATED(
"Initializer list syntax is deprecated (#10300209). Use dynamic::array.")
dynamic& operator=(std::initializer_list<dynamic> il);
/*
* Conversion constructors from most of the other types.
</s> add * Constructors for integral and float types.
* Other types are SFINAEd out with NumericTypeHelper. </s> add /* implicit */ dynamic(std::nullptr_t);
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/config.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> /* location of source code */
<mask> #define TEST_SRC_DIR "."
<mask>
<mask> /* Version number of package */
<mask> #define VERSION "0.3.4"
<mask>
<mask> /* Stops putting the code inside the Google namespace */
<mask> #define _END_GOOGLE_NAMESPACE_ }
<mask>
<mask> /* Puts following code inside the Google namespace */
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #define PACKAGE_VERSION "0.3.4"
</s> add #define PACKAGE_VERSION "0.3.5" </s> remove #define PACKAGE_STRING "glog 0.3.4"
</s> add #define PACKAGE_STRING "glog 0.3.5" </s> remove template<class T> /* implicit */ dynamic(T t);
</s> add template<class T, class NumericType = typename NumericTypeHelper<T>::type>
/* implicit */ dynamic(T t); </s> add /* implicit */ dynamic(std::nullptr_t); </s> remove /* implicit */ dynamic(std::string const& val);
/* implicit */ dynamic(std::string&& val);
</s> add /* implicit */ dynamic(std::string val); </s> remove - Returns: Promotion code string.
</s> add @return Promotion code string.
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/config.h
|
keep keep add keep keep keep keep keep keep
|
<mask> #define BASE_DEMANGLE_H_
<mask>
<mask> #include "config.h"
<mask>
<mask> _START_GOOGLE_NAMESPACE_
<mask>
<mask> // Demangle "mangled". On success, return true and write the
<mask> // demangled symbol name to "out". Otherwise, return false.
<mask> // "out" is modified even if demangling is unsuccessful.
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove bool Demangle(const char *mangled, char *out, int out_size);
</s> add bool GOOGLE_GLOG_DLL_DECL Demangle(const char *mangled, char *out, int out_size); </s> remove uint64_t map_start_address) {
</s> add uint64_t map_base_address) { </s> add // Returns true if FailureSignalHandler is installed.
bool IsFailureSignalHandlerInstalled(); </s> add // Returns true if FailureSignalHandler is installed.
bool IsFailureSignalHandlerInstalled(); </s> remove #define PACKAGE_STRING "glog 0.3.4"
</s> add #define PACKAGE_STRING "glog 0.3.5" </s> add // Raw pointers don't have an operator->() member function, so the
// second overload will be SFINAEd out in that case. Otherwise, the
// second is preferred in the partial order for getPointer(_, 0).
template <class Iterator>
auto getPointer(const Iterator& it, long) -> decltype(std::addressof(*it)) {
return std::addressof(*it);
}
template <class Iterator>
auto getPointer(const Iterator& it, int) -> decltype(it.operator->()) {
return it.operator->();
}
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/demangle.h
|
keep keep keep keep replace keep keep keep keep
|
<mask>
<mask> // Demangle "mangled". On success, return true and write the
<mask> // demangled symbol name to "out". Otherwise, return false.
<mask> // "out" is modified even if demangling is unsuccessful.
<mask> bool Demangle(const char *mangled, char *out, int out_size);
<mask>
<mask> _END_GOOGLE_NAMESPACE_
<mask>
<mask> #endif // BASE_DEMANGLE_H_
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add #include "glog/logging.h" </s> remove uint64_t map_start_address) {
</s> add uint64_t map_base_address) { </s> add #ifdef _WIN32
#define fdopen _fdopen
#endif
</s> remove #if defined(OS_WINDOWS) && defined(_MSC_VER)
</s> add #if defined(OS_WINDOWS) && defined(_MSC_VER) && !defined(TEST_SRC_DIR) </s> add namespace glog_internal_namespace_ {
bool IsFailureSignalHandlerInstalled() {
#ifdef HAVE_SIGACTION
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sigaction(SIGABRT, NULL, &sig_action);
if (sig_action.sa_sigaction == &FailureSignalHandler)
return true;
#endif // HAVE_SIGACTION
return false;
}
} // namespace glog_internal_namespace_
</s> add // Returns true if FailureSignalHandler is installed.
bool IsFailureSignalHandlerInstalled();
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/demangle.h
|
keep keep keep keep replace replace replace replace replace replace replace replace keep keep keep keep keep
|
<mask> # include <unistd.h>
<mask> #endif
<mask> #include <vector>
<mask>
<mask> // Annoying stuff for windows -- makes sure clients can import these functions
<mask> #ifndef GOOGLE_GLOG_DLL_DECL
<mask> # if defined(_WIN32) && !defined(__CYGWIN__)
<mask> # define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
<mask> # else
<mask> # define GOOGLE_GLOG_DLL_DECL
<mask> # endif
<mask> #endif
<mask> #if defined(_MSC_VER)
<mask> #define GLOG_MSVC_PUSH_DISABLE_WARNING(n) __pragma(warning(push)) \
<mask> __pragma(warning(disable:n))
<mask> #define GLOG_MSVC_POP_WARNING() __pragma(warning(pop))
<mask> #else
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add </s> add // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add /**
* Portable version check.
*/
#ifndef __GNUC_PREREQ
# if defined __GNUC__ && defined __GNUC_MINOR__
/* nolint */
# define __GNUC_PREREQ(maj, min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= \
((maj) << 16) + (min))
# else
/* nolint */
# define __GNUC_PREREQ(maj, min) 0
# endif
#endif
</s> remove # define _XOPEN_SOURCE 500 // may be needed to get the rwlock calls
</s> add # ifndef _XOPEN_SOURCE // Some other header might have already set it for us.
# define _XOPEN_SOURCE 500 // may be needed to get the rwlock calls
# endif </s> remove #if defined(OS_WINDOWS) && defined(_MSC_VER)
</s> add #if defined(OS_WINDOWS) && defined(_MSC_VER) && !defined(TEST_SRC_DIR)
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep add keep keep keep keep
|
<mask> #define GLOG_MSVC_PUSH_DISABLE_WARNING(n)
<mask> #define GLOG_MSVC_POP_WARNING()
<mask> #endif
<mask>
<mask> // We care a lot about number of bits things take up. Unfortunately,
<mask> // systems define their bit-specific ints in a lot of different ways.
<mask> // We use our own way, and have a typedef to get there.
<mask> // Note: these commands below may look like "#if 1" or "#if 0", but
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add bool strict_; </s> remove // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add </s> remove // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add </s> remove # define _XOPEN_SOURCE 500 // may be needed to get the rwlock calls
</s> add # ifndef _XOPEN_SOURCE // Some other header might have already set it for us.
# define _XOPEN_SOURCE 500 // may be needed to get the rwlock calls
# endif </s> remove return dynamic(Array{std::forward<Args>(args)...}, PrivateTag());
</s> add return dynamic(Array{std::forward<Args>(args)...});
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace replace keep keep keep keep keep
|
<mask> //
<mask> #ifndef GOOGLE_PREDICT_BRANCH_NOT_TAKEN
<mask> #if 1
<mask> #define GOOGLE_PREDICT_BRANCH_NOT_TAKEN(x) (__builtin_expect(x, 0))
<mask> #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
<mask> #define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
<mask> #else
<mask> #define GOOGLE_PREDICT_BRANCH_NOT_TAKEN(x) x
<mask> #define GOOGLE_PREDICT_FALSE(x) x
<mask> #define GOOGLE_PREDICT_TRUE(x) x
<mask> #endif
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
</s> add </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_TRUE
#if @ac_cv_have___builtin_expect@
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
#else </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_FALSE
#if 1
#define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#else </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_FALSE
#if @ac_cv_have___builtin_expect@
#define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#else </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_TRUE
#if 1
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
#else </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep add keep keep keep keep keep
|
<mask> #if 1
<mask> #define GOOGLE_PREDICT_BRANCH_NOT_TAKEN(x) (__builtin_expect(x, 0))
<mask> #else
<mask> #define GOOGLE_PREDICT_BRANCH_NOT_TAKEN(x) x
<mask> #define GOOGLE_PREDICT_FALSE(x) x
<mask> #endif
<mask> #endif
<mask>
<mask> #ifndef GOOGLE_PREDICT_TRUE
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_FALSE
#if @ac_cv_have___builtin_expect@
#define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#else </s> remove #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
</s> add </s> remove #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
</s> add </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_TRUE
#if @ac_cv_have___builtin_expect@
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
#else </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_TRUE
#if 1
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
#else </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep add keep keep keep keep keep
|
<mask> #else
<mask> #define GOOGLE_PREDICT_FALSE(x) x
<mask> #define GOOGLE_PREDICT_TRUE(x) x
<mask> #endif
<mask> #endif
<mask>
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_TRUE
#if @ac_cv_have___builtin_expect@
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
#else </s> remove #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
</s> add </s> remove #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
</s> add </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_FALSE
#if @ac_cv_have___builtin_expect@
#define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#else </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_FALSE
#if 1
#define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#else </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep add keep keep keep keep keep
|
<mask> DECLARE_string(log_dir);
<mask>
<mask> // Sets the path of the directory into which to put additional links
<mask> // to the log files.
<mask> DECLARE_string(log_link);
<mask>
<mask> DECLARE_int32(v); // in vlog_is_on.cc
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add // Set the log file mode.
DECLARE_int32(logfile_mode);
</s> add GLOG_DEFINE_int32(logfile_mode, 0664, "Log file mode/permissions.");
</s> remove - Parameter version: This is a string in the form @"v2.0" which will be used for the version part of an API path
</s> add @param version This is a string in the form @"v2.0" which will be used for the version part of an API path </s> add #endif </s> add #endif </s> remove LogDestination* log = log_destination(i);
</s> add LogDestination* log = log_destinations_[i];
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep add keep keep keep keep keep keep
|
<mask> #endif
<mask>
<mask> // For DFATAL, we want to use LogMessage (as opposed to
<mask> // LogMessageFatal), to be consistent with the original behavior.
<mask> #if !DCHECK_IS_ON()
<mask> #define COMPACT_GOOGLE_LOG_DFATAL COMPACT_GOOGLE_LOG_ERROR
<mask> #elif GOOGLE_STRIP_LOG <= 3
<mask> #define COMPACT_GOOGLE_LOG_DFATAL google::LogMessage( \
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
</s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> #endif
<mask>
<mask> // For DFATAL, we want to use LogMessage (as opposed to
<mask> // LogMessageFatal), to be consistent with the original behavior.
<mask> #ifdef NDEBUG
<mask> #define COMPACT_GOOGLE_LOG_DFATAL COMPACT_GOOGLE_LOG_ERROR
<mask> #elif GOOGLE_STRIP_LOG <= 3
<mask> #define COMPACT_GOOGLE_LOG_DFATAL google::LogMessage( \
<mask> __FILE__, __LINE__, google::GLOG_FATAL)
<mask> #else
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
</s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
</s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> // LogSeverity severity;
<mask> // vector<string> *outvec;
<mask> // The cast is to disambiguate NULL arguments.
<mask> #define LOG_STRING(severity, outvec) \
<mask> LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
<mask>
<mask> #define LOG_IF(severity, condition) \
<mask> !(condition) ? (void) 0 : google::LogMessageVoidify() & LOG(severity)
<mask> #define SYSLOG_IF(severity, condition) \
<mask> !(condition) ? (void) 0 : google::LogMessageVoidify() & SYSLOG(severity)
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
</s> add LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> add // Returns true if FailureSignalHandler is installed.
bool IsFailureSignalHandlerInstalled(); </s> remove #ifndef NDEBUG
</s> add #if DCHECK_IS_ON() </s> remove #ifndef NDEBUG
</s> add #if DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> #define SYSLOG_ASSERT(condition) \
<mask> SYSLOG_IF(FATAL, !(condition)) << "Assert failed: " #condition
<mask>
<mask> // CHECK dies with a fatal error if condition is not true. It is *not*
<mask> // controlled by NDEBUG, so the check will be executed regardless of
<mask> // compilation mode. Therefore, it is safe to do things like:
<mask> // CHECK(fp->Write(x) == 4)
<mask> #define CHECK(condition) \
<mask> LOG_IF(FATAL, GOOGLE_PREDICT_BRANCH_NOT_TAKEN(!(condition))) \
<mask> << "Check failed: " #condition " "
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove // controlled by NDEBUG, so the check will be executed regardless of
</s> add // controlled by DCHECK_IS_ON(), so the check will be executed regardless of </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove // debug-only checking. not executed in NDEBUG mode.
</s> add // debug-only checking. executed if DCHECK_IS_ON(). </s> remove // debug-only checking. not executed in NDEBUG mode.
</s> add // debug-only checking. executed if DCHECK_IS_ON(). </s> remove #endif // NDEBUG
</s> add #endif // DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask>
<mask> #if defined(STATIC_ANALYSIS)
<mask> // Only for static analysis tool to know that it is equivalent to assert
<mask> #define CHECK_OP_LOG(name, op, val1, val2, log) CHECK((val1) op (val2))
<mask> #elif !defined(NDEBUG)
<mask> // In debug mode, avoid constructing CheckOpStrings if possible,
<mask> // to reduce the overhead of CHECK statments by 2x.
<mask> // Real DCHECK-heavy tests have seen 1.5x speedups.
<mask>
<mask> // The meaning of "string" might be different between now and
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #elif !defined(NDEBUG)
</s> add #elif DCHECK_IS_ON() </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove // controlled by NDEBUG, so the check will be executed regardless of
</s> add // controlled by DCHECK_IS_ON(), so the check will be executed regardless of </s> remove // controlled by NDEBUG, so the check will be executed regardless of
</s> add // controlled by DCHECK_IS_ON(), so the check will be executed regardless of </s> remove # define _XOPEN_SOURCE 500 // may be needed to get the rwlock calls
</s> add # ifndef _XOPEN_SOURCE // Some other header might have already set it for us.
# define _XOPEN_SOURCE 500 // may be needed to get the rwlock calls
# endif
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> google::GetReferenceableValue(val1), \
<mask> google::GetReferenceableValue(val2), \
<mask> #val1 " " #op " " #val2)) \
<mask> log(__FILE__, __LINE__, _result).stream()
<mask> #endif // STATIC_ANALYSIS, !NDEBUG
<mask>
<mask> #if GOOGLE_STRIP_LOG <= 3
<mask> #define CHECK_OP(name, op, val1, val2) \
<mask> CHECK_OP_LOG(name, op, val1, val2, google::LogMessageFatal)
<mask> #else
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove // controlled by NDEBUG, so the check will be executed regardless of
</s> add // controlled by DCHECK_IS_ON(), so the check will be executed regardless of </s> remove // controlled by NDEBUG, so the check will be executed regardless of
</s> add // controlled by DCHECK_IS_ON(), so the check will be executed regardless of </s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep add keep keep keep keep keep keep
|
<mask> };
<mask> struct CrashReason;
<mask> } // namespace glog_internal_namespace_
<mask>
<mask> #define GOOGLE_GLOG_COMPILE_ASSERT(expr, msg) \
<mask> typedef google::glog_internal_namespace_::CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
<mask>
<mask> #define LOG_EVERY_N(severity, n) \
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add // Returns true if FailureSignalHandler is installed.
bool IsFailureSignalHandlerInstalled(); </s> remove LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
</s> add LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream() </s> remove LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
</s> add LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> remove inline dynamic::dynamic(Array&& r, PrivateTag) : type_(ARRAY) {
</s> add inline dynamic::dynamic(Array&& r) : type_(ARRAY) {
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> #endif
<mask>
<mask> // Plus some debug-logging macros that get compiled to nothing for production
<mask>
<mask> #ifndef NDEBUG
<mask>
<mask> #define DLOG(severity) LOG(severity)
<mask> #define DVLOG(verboselevel) VLOG(verboselevel)
<mask> #define DLOG_IF(severity, condition) LOG_IF(severity, condition)
<mask> #define DLOG_EVERY_N(severity, n) LOG_EVERY_N(severity, n)
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #ifndef NDEBUG
</s> add #if DCHECK_IS_ON() </s> remove LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
</s> add LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream() </s> remove LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
</s> add LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> remove // debug-only checking. not executed in NDEBUG mode.
</s> add // debug-only checking. executed if DCHECK_IS_ON().
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> #define DLOG_IF_EVERY_N(severity, condition, n) \
<mask> LOG_IF_EVERY_N(severity, condition, n)
<mask> #define DLOG_ASSERT(condition) LOG_ASSERT(condition)
<mask>
<mask> // debug-only checking. not executed in NDEBUG mode.
<mask> #define DCHECK(condition) CHECK(condition)
<mask> #define DCHECK_EQ(val1, val2) CHECK_EQ(val1, val2)
<mask> #define DCHECK_NE(val1, val2) CHECK_NE(val1, val2)
<mask> #define DCHECK_LE(val1, val2) CHECK_LE(val1, val2)
<mask> #define DCHECK_LT(val1, val2) CHECK_LT(val1, val2)
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove // debug-only checking. not executed in NDEBUG mode.
</s> add // debug-only checking. executed if DCHECK_IS_ON(). </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove #ifndef NDEBUG
</s> add #if DCHECK_IS_ON() </s> remove #ifndef NDEBUG
</s> add #if DCHECK_IS_ON() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> #define DCHECK_STRCASEEQ(str1, str2) CHECK_STRCASEEQ(str1, str2)
<mask> #define DCHECK_STRNE(str1, str2) CHECK_STRNE(str1, str2)
<mask> #define DCHECK_STRCASENE(str1, str2) CHECK_STRCASENE(str1, str2)
<mask>
<mask> #else // NDEBUG
<mask>
<mask> #define DLOG(severity) \
<mask> true ? (void) 0 : google::LogMessageVoidify() & LOG(severity)
<mask>
<mask> #define DVLOG(verboselevel) \
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> remove #endif // NDEBUG
</s> add #endif // DCHECK_IS_ON() </s> remove #endif // NDEBUG
</s> add #endif // DCHECK_IS_ON() </s> remove LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
</s> add LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream() </s> remove LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
</s> add LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream() </s> remove #ifndef NDEBUG
</s> add #if DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> GLOG_MSVC_PUSH_DISABLE_WARNING(4127) \
<mask> while (false) \
<mask> GLOG_MSVC_POP_WARNING() CHECK_STRCASENE(str1, str2)
<mask>
<mask> #endif // NDEBUG
<mask>
<mask> // Log only in verbose mode.
<mask>
<mask> #define VLOG(verboselevel) LOG_IF(INFO, VLOG_IS_ON(verboselevel))
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #endif // NDEBUG
</s> add #endif // DCHECK_IS_ON() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> remove // debug-only checking. not executed in NDEBUG mode.
</s> add // debug-only checking. executed if DCHECK_IS_ON(). </s> remove // debug-only checking. not executed in NDEBUG mode.
</s> add // debug-only checking. executed if DCHECK_IS_ON(). </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep add keep keep keep keep keep keep
|
<mask> char* pbase() const { return streambuf_.pbase(); }
<mask> char* str() const { return pbase(); }
<mask>
<mask> private:
<mask> base_logging::LogStreamBuf streambuf_;
<mask> int ctr_; // Counter hack (for the LOG_EVERY_X() macro)
<mask> LogStream *self_; // Consistency check hack
<mask> };
<mask>
<mask> public:
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add LogStream(const LogStream&);
LogStream& operator=(const LogStream&); </s> remove ~LogMessageFatal() @ac_cv___attribute___noreturn@;
</s> add @ac_cv___attribute___noreturn@ ~LogMessageFatal(); </s> remove ~LogMessageFatal() __attribute__ ((noreturn));
</s> add __attribute__ ((noreturn)) ~LogMessageFatal(); </s> remove const char* base_filename, int line, const tm* tm_time,
</s> add const char* /*base_filename*/, int /*line*/,
const tm* /*tm_time*/, </s> remove @ac_cv___attribute___noreturn@ ~NullStreamFatal() { _exit(1); }
</s> add @ac_cv___attribute___noreturn@ ~NullStreamFatal() throw () { _exit(1); } </s> remove __attribute__ ((noreturn)) ~NullStreamFatal() { _exit(1); }
</s> add __attribute__ ((noreturn)) ~NullStreamFatal() throw () { _exit(1); }
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> void SendToLog(); // Actually dispatch to the logs
<mask> void SendToSyslogAndLog(); // Actually dispatch to syslog and the logs
<mask>
<mask> // Call abort() or similar to perform LOG(FATAL) crash.
<mask> static void Fail() __attribute__ ((noreturn));
<mask>
<mask> std::ostream& stream();
<mask>
<mask> int preserved_errno() const;
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove static void Fail() @ac_cv___attribute___noreturn@;
</s> add static void @ac_cv___attribute___noreturn@ Fail(); </s> remove _asm int 3
</s> add __debugbreak(); </s> remove ~LogMessageFatal() __attribute__ ((noreturn));
</s> add __attribute__ ((noreturn)) ~LogMessageFatal(); </s> remove const char* base_filename, int line, const tm* tm_time,
</s> add const char* /*base_filename*/, int /*line*/,
const tm* /*tm_time*/, </s> remove void throwException() const {
</s> add // If the exception_wrapper does not contain an exception, std::terminate()
// is invoked to assure the [[noreturn]] behaviour.
[[noreturn]] void throwException() const { </s> remove ~LogMessageFatal() @ac_cv___attribute___noreturn@;
</s> add @ac_cv___attribute___noreturn@ ~LogMessageFatal();
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> class GOOGLE_GLOG_DLL_DECL LogMessageFatal : public LogMessage {
<mask> public:
<mask> LogMessageFatal(const char* file, int line);
<mask> LogMessageFatal(const char* file, int line, const CheckOpString& result);
<mask> ~LogMessageFatal() __attribute__ ((noreturn));
<mask> };
<mask>
<mask> // A non-macro interface to the log facility; (useful
<mask> // when the logging level is not a compile-time constant).
<mask> inline void LogAtLevel(int const severity, std::string const &msg) {
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ~LogMessageFatal() @ac_cv___attribute___noreturn@;
</s> add @ac_cv___attribute___noreturn@ ~LogMessageFatal(); </s> remove __attribute__ ((noreturn)) ~NullStreamFatal() { _exit(1); }
</s> add __attribute__ ((noreturn)) ~NullStreamFatal() throw () { _exit(1); } </s> remove @ac_cv___attribute___noreturn@ ~NullStreamFatal() { _exit(1); }
</s> add @ac_cv___attribute___noreturn@ ~NullStreamFatal() throw () { _exit(1); } </s> remove const char* base_filename, int line, const tm* tm_time,
</s> add const char* /*base_filename*/, int /*line*/,
const tm* /*tm_time*/, </s> add LogStream(const LogStream&);
LogStream& operator=(const LogStream&); </s> remove static void Fail() __attribute__ ((noreturn));
</s> add static void __attribute__ ((noreturn)) Fail();
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep add keep keep keep keep keep
|
<mask> return t;
<mask> }
<mask>
<mask> // Allow folks to put a counter in the LOG_EVERY_X()'ed messages. This
<mask> // only works if ostream is a LogStream. If the ostream is not a
<mask> // LogStream you'll get an assert saying as much at runtime.
<mask> GOOGLE_GLOG_DLL_DECL std::ostream& operator<<(std::ostream &os,
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add #endif </s> remove - Parameter hostPrefix: The prefix for the host, such as 'm', 'graph', etc.
- Parameter path: The path for the URL. This may or may not include a version.
- Parameter queryParameters: The query parameters for the URL. This will be converted into a query string.
- Parameter defaultVersion: A version to add to the URL if none is found in the path.
- Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem.
- Returns: The Facebook URL.
</s> add @param hostPrefix The prefix for the host, such as 'm', 'graph', etc.
@param path The path for the URL. This may or may not include a version.
@param queryParameters The query parameters for the URL. This will be converted into a query string.
@param defaultVersion A version to add to the URL if none is found in the path.
@param errorRef If an error occurs, upon return contains an NSError object that describes the problem.
@return The Facebook URL. </s> remove // Ensure unique
if (RefCounted::refs(ml_.data_) > 1) {
</s> add if (RefCounted::refs(ml_.data_) > 1) { // Ensure unique </s> add // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> remove - Parameter handler: the handler to be invoked if there is deferred App Link data
</s> add @param handler the handler to be invoked if there is deferred App Link data </s> remove minCapacity = std::max(minCapacity, ml_.capacity());
auto const newRC = RefCounted::create(&minCapacity);
// Also copies terminator.
fbstring_detail::podCopy(
ml_.data_, ml_.data_ + ml_.size_ + 1, newRC->data_);
RefCounted::decrementRefs(ml_.data_);
ml_.data_ = newRC->data_;
ml_.setCapacity(minCapacity, Category::isLarge);
// size remains unchanged
</s> add unshare(minCapacity);
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> public:
<mask> NullStreamFatal() { }
<mask> NullStreamFatal(const char* file, int line, const CheckOpString& result) :
<mask> NullStream(file, line, result) { }
<mask> __attribute__ ((noreturn)) ~NullStreamFatal() { _exit(1); }
<mask> };
<mask>
<mask> // Install a signal handler that will dump signal information and a stack
<mask> // trace when the program crashes on certain signals. We'll install the
<mask> // signal handler for the following signals.
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove @ac_cv___attribute___noreturn@ ~NullStreamFatal() { _exit(1); }
</s> add @ac_cv___attribute___noreturn@ ~NullStreamFatal() throw () { _exit(1); } </s> remove ~LogMessageFatal() __attribute__ ((noreturn));
</s> add __attribute__ ((noreturn)) ~LogMessageFatal(); </s> remove ~LogMessageFatal() @ac_cv___attribute___noreturn@;
</s> add @ac_cv___attribute___noreturn@ ~LogMessageFatal(); </s> remove // Set the default signal handler for SIGABRT, to avoid invoking our
// own signal handler installed by InstallFailedSignalHandler().
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sig_action.sa_handler = SIG_DFL;
sigaction(SIGABRT, &sig_action, NULL);
</s> add if (IsFailureSignalHandlerInstalled()) {
// Set the default signal handler for SIGABRT, to avoid invoking our
// own signal handler installed by InstallFailureSignalHandler().
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sig_action.sa_handler = SIG_DFL;
sigaction(SIGABRT, &sig_action, NULL);
} </s> remove const char* base_filename, int line, const tm* tm_time,
</s> add const char* /*base_filename*/, int /*line*/,
const tm* /*tm_time*/, </s> add LogStream(const LogStream&);
LogStream& operator=(const LogStream&);
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h
|
keep keep keep keep replace replace replace replace replace replace replace replace keep keep keep keep keep
|
<mask> # include <unistd.h>
<mask> #endif
<mask> #include <vector>
<mask>
<mask> // Annoying stuff for windows -- makes sure clients can import these functions
<mask> #ifndef GOOGLE_GLOG_DLL_DECL
<mask> # if defined(_WIN32) && !defined(__CYGWIN__)
<mask> # define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
<mask> # else
<mask> # define GOOGLE_GLOG_DLL_DECL
<mask> # endif
<mask> #endif
<mask> #if defined(_MSC_VER)
<mask> #define GLOG_MSVC_PUSH_DISABLE_WARNING(n) __pragma(warning(push)) \
<mask> __pragma(warning(disable:n))
<mask> #define GLOG_MSVC_POP_WARNING() __pragma(warning(pop))
<mask> #else
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57.
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep add keep keep keep keep keep
|
<mask> #define GLOG_MSVC_POP_WARNING()
<mask> #endif
<mask>
<mask> // We care a lot about number of bits things take up. Unfortunately,
<mask> // systems define their bit-specific ints in a lot of different ways.
<mask> // We use our own way, and have a typedef to get there.
<mask> // Note: these commands below may look like "#if 1" or "#if 0", but
<mask> // that's because they were constructed that way at ./configure time.
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add bool strict_; </s> remove # define _XOPEN_SOURCE 500 // may be needed to get the rwlock calls
</s> add # ifndef _XOPEN_SOURCE // Some other header might have already set it for us.
# define _XOPEN_SOURCE 500 // may be needed to get the rwlock calls
# endif </s> remove return dynamic(Array{std::forward<Args>(args)...}, PrivateTag());
</s> add return dynamic(Array{std::forward<Args>(args)...}); </s> remove // Ensure unique
if (RefCounted::refs(ml_.data_) > 1) {
</s> add if (RefCounted::refs(ml_.data_) > 1) { // Ensure unique </s> remove // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace replace keep keep keep keep keep
|
<mask> //
<mask> #ifndef GOOGLE_PREDICT_BRANCH_NOT_TAKEN
<mask> #if @ac_cv_have___builtin_expect@
<mask> #define GOOGLE_PREDICT_BRANCH_NOT_TAKEN(x) (__builtin_expect(x, 0))
<mask> #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
<mask> #define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
<mask> #else
<mask> #define GOOGLE_PREDICT_BRANCH_NOT_TAKEN(x) x
<mask> #define GOOGLE_PREDICT_FALSE(x) x
<mask> #define GOOGLE_PREDICT_TRUE(x) x
<mask> #endif
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
</s> add </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_TRUE
#if @ac_cv_have___builtin_expect@
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
#else </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_FALSE
#if @ac_cv_have___builtin_expect@
#define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#else </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_FALSE
#if 1
#define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#else </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_TRUE
#if 1
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
#else </s> remove #ifndef NDEBUG
</s> add #if DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep add keep keep keep keep
|
<mask> #define GOOGLE_PREDICT_BRANCH_NOT_TAKEN(x) (__builtin_expect(x, 0))
<mask> #else
<mask> #define GOOGLE_PREDICT_BRANCH_NOT_TAKEN(x) x
<mask> #define GOOGLE_PREDICT_FALSE(x) x
<mask> #endif
<mask> #endif
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_FALSE
#if 1
#define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#else </s> remove #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
</s> add </s> remove #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
</s> add </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_TRUE
#if @ac_cv_have___builtin_expect@
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
#else </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_TRUE
#if 1
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
#else </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep add keep keep keep keep
|
<mask> #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
<mask> #else
<mask> #define GOOGLE_PREDICT_FALSE(x) x
<mask> #define GOOGLE_PREDICT_TRUE(x) x
<mask> #endif
<mask> #endif
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
</s> add </s> remove #define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
</s> add </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_FALSE
#if @ac_cv_have___builtin_expect@
#define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#else </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_FALSE
#if 1
#define GOOGLE_PREDICT_FALSE(x) (__builtin_expect(x, 0))
#else </s> add #endif
#endif
#ifndef GOOGLE_PREDICT_TRUE
#if 1
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
#else </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep add keep keep keep keep
|
<mask> DECLARE_string(log_dir);
<mask>
<mask> // Sets the path of the directory into which to put additional links
<mask> // to the log files.
<mask> DECLARE_string(log_link);
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add // Set the log file mode.
DECLARE_int32(logfile_mode);
</s> add GLOG_DEFINE_int32(logfile_mode, 0664, "Log file mode/permissions.");
</s> remove - Parameter version: This is a string in the form @"v2.0" which will be used for the version part of an API path
</s> add @param version This is a string in the form @"v2.0" which will be used for the version part of an API path </s> remove LogDestination* log = log_destination(i);
</s> add LogDestination* log = log_destinations_[i]; </s> add #endif </s> add #endif
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep add keep keep keep keep keep
|
<mask> #endif
<mask>
<mask> // For DFATAL, we want to use LogMessage (as opposed to
<mask> // LogMessageFatal), to be consistent with the original behavior.
<mask> #if !DCHECK_IS_ON()
<mask> #define COMPACT_GOOGLE_LOG_DFATAL COMPACT_GOOGLE_LOG_ERROR
<mask> #elif GOOGLE_STRIP_LOG <= 3
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
</s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove _asm int 3
</s> add __debugbreak();
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> #endif
<mask>
<mask> // For DFATAL, we want to use LogMessage (as opposed to
<mask> // LogMessageFatal), to be consistent with the original behavior.
<mask> #ifdef NDEBUG
<mask> #define COMPACT_GOOGLE_LOG_DFATAL COMPACT_GOOGLE_LOG_ERROR
<mask> #elif GOOGLE_STRIP_LOG <= 3
<mask> #define COMPACT_GOOGLE_LOG_DFATAL @ac_google_namespace@::LogMessage( \
<mask> __FILE__, __LINE__, @ac_google_namespace@::GLOG_FATAL)
<mask> #else
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
</s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
</s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> // LogSeverity severity;
<mask> // vector<string> *outvec;
<mask> // The cast is to disambiguate NULL arguments.
<mask> #define LOG_STRING(severity, outvec) \
<mask> LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
<mask>
<mask> #define LOG_IF(severity, condition) \
<mask> !(condition) ? (void) 0 : @ac_google_namespace@::LogMessageVoidify() & LOG(severity)
<mask> #define SYSLOG_IF(severity, condition) \
<mask> !(condition) ? (void) 0 : @ac_google_namespace@::LogMessageVoidify() & SYSLOG(severity)
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
</s> add LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> add // Returns true if FailureSignalHandler is installed.
bool IsFailureSignalHandlerInstalled(); </s> remove #ifndef NDEBUG
</s> add #if DCHECK_IS_ON() </s> remove #ifndef NDEBUG
</s> add #if DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> #define SYSLOG_ASSERT(condition) \
<mask> SYSLOG_IF(FATAL, !(condition)) << "Assert failed: " #condition
<mask>
<mask> // CHECK dies with a fatal error if condition is not true. It is *not*
<mask> // controlled by NDEBUG, so the check will be executed regardless of
<mask> // compilation mode. Therefore, it is safe to do things like:
<mask> // CHECK(fp->Write(x) == 4)
<mask> #define CHECK(condition) \
<mask> LOG_IF(FATAL, GOOGLE_PREDICT_BRANCH_NOT_TAKEN(!(condition))) \
<mask> << "Check failed: " #condition " "
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57.
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask>
<mask> #if defined(STATIC_ANALYSIS)
<mask> // Only for static analysis tool to know that it is equivalent to assert
<mask> #define CHECK_OP_LOG(name, op, val1, val2, log) CHECK((val1) op (val2))
<mask> #elif !defined(NDEBUG)
<mask> // In debug mode, avoid constructing CheckOpStrings if possible,
<mask> // to reduce the overhead of CHECK statments by 2x.
<mask> // Real DCHECK-heavy tests have seen 1.5x speedups.
<mask>
<mask> // The meaning of "string" might be different between now and
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57.
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> @ac_google_namespace@::GetReferenceableValue(val1), \
<mask> @ac_google_namespace@::GetReferenceableValue(val2), \
<mask> #val1 " " #op " " #val2)) \
<mask> log(__FILE__, __LINE__, _result).stream()
<mask> #endif // STATIC_ANALYSIS, !NDEBUG
<mask>
<mask> #if GOOGLE_STRIP_LOG <= 3
<mask> #define CHECK_OP(name, op, val1, val2) \
<mask> CHECK_OP_LOG(name, op, val1, val2, @ac_google_namespace@::LogMessageFatal)
<mask> #else
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #endif // STATIC_ANALYSIS, !NDEBUG
</s> add #endif // STATIC_ANALYSIS, DCHECK_IS_ON() </s> remove // controlled by NDEBUG, so the check will be executed regardless of
</s> add // controlled by DCHECK_IS_ON(), so the check will be executed regardless of </s> remove // controlled by NDEBUG, so the check will be executed regardless of
</s> add // controlled by DCHECK_IS_ON(), so the check will be executed regardless of </s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep add keep keep keep keep keep
|
<mask> struct CompileAssert {
<mask> };
<mask> struct CrashReason;
<mask> } // namespace glog_internal_namespace_
<mask>
<mask> #define GOOGLE_GLOG_COMPILE_ASSERT(expr, msg) \
<mask> typedef @ac_google_namespace@::glog_internal_namespace_::CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add // Returns true if FailureSignalHandler is installed.
bool IsFailureSignalHandlerInstalled(); </s> add namespace glog_internal_namespace_ {
bool IsFailureSignalHandlerInstalled() {
#ifdef HAVE_SIGACTION
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sigaction(SIGABRT, NULL, &sig_action);
if (sig_action.sa_sigaction == &FailureSignalHandler)
return true;
#endif // HAVE_SIGACTION
return false;
}
} // namespace glog_internal_namespace_
</s> remove inline dynamic::dynamic(Array&& r, PrivateTag) : type_(ARRAY) {
</s> add inline dynamic::dynamic(Array&& r) : type_(ARRAY) { </s> remove template<class T>
</s> add // Integral types except bool convert to int64_t, float types to double.
template <class T>
struct dynamic::NumericTypeHelper<
T, typename std::enable_if<std::is_integral<T>::value>::type> {
using type = int64_t;
};
template <>
struct dynamic::NumericTypeHelper<bool> {
using type = bool;
};
template <>
struct dynamic::NumericTypeHelper<float> {
using type = double;
};
template <>
struct dynamic::NumericTypeHelper<double> {
using type = double;
};
template<class T, class NumericType /* = typename NumericTypeHelper<T>::type */> </s> remove /*
* The enable_if junk here is necessary to avoid ambiguous
* conversions relating to bool and double when you implicitly
* convert an int or long to a dynamic.
*/
template<class T, class Enable = void> struct ConversionHelper;
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_integral<T>::value && !std::is_same<T,bool>::value
>::type
> {
typedef int64_t type;
};
template <>
struct ConversionHelper<float> {
typedef double type;
};
template <class T>
struct ConversionHelper<
T,
typename std::enable_if<
(!std::is_integral<T>::value || std::is_same<T, bool>::value) &&
!std::is_same<T, float>::value &&
!std::is_same<T, std::nullptr_t>::value>::type> {
typedef T type;
};
template<class T>
struct ConversionHelper<
T,
typename std::enable_if<
std::is_same<T,std::nullptr_t>::value
>::type
> {
typedef void* type;
};
</s> add </s> remove LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
</s> add LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> #endif
<mask>
<mask> // Plus some debug-logging macros that get compiled to nothing for production
<mask>
<mask> #ifndef NDEBUG
<mask>
<mask> #define DLOG(severity) LOG(severity)
<mask> #define DVLOG(verboselevel) VLOG(verboselevel)
<mask> #define DLOG_IF(severity, condition) LOG_IF(severity, condition)
<mask> #define DLOG_EVERY_N(severity, n) LOG_EVERY_N(severity, n)
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57.
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> #define DLOG_IF_EVERY_N(severity, condition, n) \
<mask> LOG_IF_EVERY_N(severity, condition, n)
<mask> #define DLOG_ASSERT(condition) LOG_ASSERT(condition)
<mask>
<mask> // debug-only checking. not executed in NDEBUG mode.
<mask> #define DCHECK(condition) CHECK(condition)
<mask> #define DCHECK_EQ(val1, val2) CHECK_EQ(val1, val2)
<mask> #define DCHECK_NE(val1, val2) CHECK_NE(val1, val2)
<mask> #define DCHECK_LE(val1, val2) CHECK_LE(val1, val2)
<mask> #define DCHECK_LT(val1, val2) CHECK_LT(val1, val2)
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57.
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> #define DCHECK_STRCASEEQ(str1, str2) CHECK_STRCASEEQ(str1, str2)
<mask> #define DCHECK_STRNE(str1, str2) CHECK_STRNE(str1, str2)
<mask> #define DCHECK_STRCASENE(str1, str2) CHECK_STRCASENE(str1, str2)
<mask>
<mask> #else // NDEBUG
<mask>
<mask> #define DLOG(severity) \
<mask> true ? (void) 0 : @ac_google_namespace@::LogMessageVoidify() & LOG(severity)
<mask>
<mask> #define DVLOG(verboselevel) \
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #else // NDEBUG
</s> add #else // !DCHECK_IS_ON() </s> remove #endif // NDEBUG
</s> add #endif // DCHECK_IS_ON() </s> remove #endif // NDEBUG
</s> add #endif // DCHECK_IS_ON() </s> remove LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
</s> add LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream() </s> remove LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
</s> add LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream() </s> remove #ifndef NDEBUG
</s> add #if DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> GLOG_MSVC_PUSH_DISABLE_WARNING(4127) \
<mask> while (false) \
<mask> GLOG_MSVC_POP_WARNING() CHECK_STRCASENE(str1, str2)
<mask>
<mask> #endif // NDEBUG
<mask>
<mask> // Log only in verbose mode.
<mask>
<mask> #define VLOG(verboselevel) LOG_IF(INFO, VLOG_IS_ON(verboselevel))
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57.
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep add keep keep keep keep
|
<mask>
<mask> private:
<mask> base_logging::LogStreamBuf streambuf_;
<mask> int ctr_; // Counter hack (for the LOG_EVERY_X() macro)
<mask> LogStream *self_; // Consistency check hack
<mask> };
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add LogStream(const LogStream&);
LogStream& operator=(const LogStream&); </s> remove ~LogMessageFatal() @ac_cv___attribute___noreturn@;
</s> add @ac_cv___attribute___noreturn@ ~LogMessageFatal(); </s> remove ~LogMessageFatal() __attribute__ ((noreturn));
</s> add __attribute__ ((noreturn)) ~LogMessageFatal(); </s> remove @ac_cv___attribute___noreturn@ ~NullStreamFatal() { _exit(1); }
</s> add @ac_cv___attribute___noreturn@ ~NullStreamFatal() throw () { _exit(1); } </s> remove const size_type n1(size()), n2(traits_type::length(s));
</s> add const size_type n1(size()), n2(traitsLength(s)); </s> remove __attribute__ ((noreturn)) ~NullStreamFatal() { _exit(1); }
</s> add __attribute__ ((noreturn)) ~NullStreamFatal() throw () { _exit(1); }
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> void SendToLog(); // Actually dispatch to the logs
<mask> void SendToSyslogAndLog(); // Actually dispatch to syslog and the logs
<mask>
<mask> // Call abort() or similar to perform LOG(FATAL) crash.
<mask> static void Fail() @ac_cv___attribute___noreturn@;
<mask>
<mask> std::ostream& stream();
<mask>
<mask> int preserved_errno() const;
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove static void Fail() __attribute__ ((noreturn));
</s> add static void __attribute__ ((noreturn)) Fail(); </s> remove _asm int 3
</s> add __debugbreak(); </s> remove ~LogMessageFatal() @ac_cv___attribute___noreturn@;
</s> add @ac_cv___attribute___noreturn@ ~LogMessageFatal(); </s> remove const char* base_filename, int line, const tm* tm_time,
</s> add const char* /*base_filename*/, int /*line*/,
const tm* /*tm_time*/, </s> remove void throwException() const {
</s> add // If the exception_wrapper does not contain an exception, std::terminate()
// is invoked to assure the [[noreturn]] behaviour.
[[noreturn]] void throwException() const { </s> remove ~LogMessageFatal() __attribute__ ((noreturn));
</s> add __attribute__ ((noreturn)) ~LogMessageFatal();
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> class GOOGLE_GLOG_DLL_DECL LogMessageFatal : public LogMessage {
<mask> public:
<mask> LogMessageFatal(const char* file, int line);
<mask> LogMessageFatal(const char* file, int line, const CheckOpString& result);
<mask> ~LogMessageFatal() @ac_cv___attribute___noreturn@;
<mask> };
<mask>
<mask> // A non-macro interface to the log facility; (useful
<mask> // when the logging level is not a compile-time constant).
<mask> inline void LogAtLevel(int const severity, std::string const &msg) {
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ~LogMessageFatal() __attribute__ ((noreturn));
</s> add __attribute__ ((noreturn)) ~LogMessageFatal(); </s> remove @ac_cv___attribute___noreturn@ ~NullStreamFatal() { _exit(1); }
</s> add @ac_cv___attribute___noreturn@ ~NullStreamFatal() throw () { _exit(1); } </s> remove __attribute__ ((noreturn)) ~NullStreamFatal() { _exit(1); }
</s> add __attribute__ ((noreturn)) ~NullStreamFatal() throw () { _exit(1); } </s> remove const char* base_filename, int line, const tm* tm_time,
</s> add const char* /*base_filename*/, int /*line*/,
const tm* /*tm_time*/, </s> add LogStream(const LogStream&);
LogStream& operator=(const LogStream&); </s> add FOLLY_MALLOC_NOINLINE
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep add keep keep keep keep
|
<mask> LogMessageFatal(file, line, new std::string(names));
<mask> }
<mask> return t;
<mask> }
<mask>
<mask> // Allow folks to put a counter in the LOG_EVERY_X()'ed messages. This
<mask> // only works if ostream is a LogStream. If the ostream is not a
<mask> // LogStream you'll get an assert saying as much at runtime.
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add #endif </s> remove // Ensure unique
if (RefCounted::refs(ml_.data_) > 1) {
</s> add if (RefCounted::refs(ml_.data_) > 1) { // Ensure unique </s> remove minCapacity = std::max(minCapacity, ml_.capacity());
auto const newRC = RefCounted::create(&minCapacity);
// Also copies terminator.
fbstring_detail::podCopy(
ml_.data_, ml_.data_ + ml_.size_ + 1, newRC->data_);
RefCounted::decrementRefs(ml_.data_);
ml_.data_ = newRC->data_;
ml_.setCapacity(minCapacity, Category::isLarge);
// size remains unchanged
</s> add unshare(minCapacity); </s> remove - Parameter hostPrefix: The prefix for the host, such as 'm', 'graph', etc.
- Parameter path: The path for the URL. This may or may not include a version.
- Parameter queryParameters: The query parameters for the URL. This will be converted into a query string.
- Parameter defaultVersion: A version to add to the URL if none is found in the path.
- Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem.
- Returns: The Facebook URL.
</s> add @param hostPrefix The prefix for the host, such as 'm', 'graph', etc.
@param path The path for the URL. This may or may not include a version.
@param queryParameters The query parameters for the URL. This will be converted into a query string.
@param defaultVersion A version to add to the URL if none is found in the path.
@param errorRef If an error occurs, upon return contains an NSError object that describes the problem.
@return The Facebook URL. </s> remove void throwException() const {
</s> add // If the exception_wrapper does not contain an exception, std::terminate()
// is invoked to assure the [[noreturn]] behaviour.
[[noreturn]] void throwException() const { </s> remove symbol_offset = map_start_address;
</s> add ElfW(Phdr) phdr;
// We need to find the PT_LOAD segment corresponding to the read-execute
// file mapping in order to correctly perform the offset adjustment.
for (unsigned i = 0; i != elf_header.e_phnum; ++i) {
if (!ReadFromOffsetExact(fd, &phdr, sizeof(phdr),
elf_header.e_phoff + i * sizeof(phdr)))
return false;
if (phdr.p_type == PT_LOAD &&
(phdr.p_flags & (PF_R | PF_X)) == (PF_R | PF_X)) {
// Find the mapped address corresponding to virtual address zero. We do
// this by first adding p_offset. This gives us the mapped address of
// the start of the segment, or in other words the mapped address
// corresponding to the virtual address of the segment. (Note that this
// is distinct from the start address, as p_offset is not guaranteed to
// be page aligned.) We then subtract p_vaddr, which takes us to virtual
// address zero.
symbol_offset = map_base_address + phdr.p_offset - phdr.p_vaddr;
break;
}
}
if (symbol_offset == 0)
return false;
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> public:
<mask> NullStreamFatal() { }
<mask> NullStreamFatal(const char* file, int line, const CheckOpString& result) :
<mask> NullStream(file, line, result) { }
<mask> @ac_cv___attribute___noreturn@ ~NullStreamFatal() { _exit(1); }
<mask> };
<mask>
<mask> // Install a signal handler that will dump signal information and a stack
<mask> // trace when the program crashes on certain signals. We'll install the
<mask> // signal handler for the following signals.
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove __attribute__ ((noreturn)) ~NullStreamFatal() { _exit(1); }
</s> add __attribute__ ((noreturn)) ~NullStreamFatal() throw () { _exit(1); } </s> remove ~LogMessageFatal() @ac_cv___attribute___noreturn@;
</s> add @ac_cv___attribute___noreturn@ ~LogMessageFatal(); </s> remove ~LogMessageFatal() __attribute__ ((noreturn));
</s> add __attribute__ ((noreturn)) ~LogMessageFatal(); </s> remove // Set the default signal handler for SIGABRT, to avoid invoking our
// own signal handler installed by InstallFailedSignalHandler().
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sig_action.sa_handler = SIG_DFL;
sigaction(SIGABRT, &sig_action, NULL);
</s> add if (IsFailureSignalHandlerInstalled()) {
// Set the default signal handler for SIGABRT, to avoid invoking our
// own signal handler installed by InstallFailureSignalHandler().
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sig_action.sa_handler = SIG_DFL;
sigaction(SIGABRT, &sig_action, NULL);
} </s> remove const char* base_filename, int line, const tm* tm_time,
</s> add const char* /*base_filename*/, int /*line*/,
const tm* /*tm_time*/, </s> add LogStream(const LogStream&);
LogStream& operator=(const LogStream&);
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/glog/logging.h.in
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> return tmp;
<mask> #endif
<mask> }
<mask>
<mask> #if defined(OS_WINDOWS) && defined(_MSC_VER)
<mask> // The test will run in glog/vsproject/<project name>
<mask> // (e.g., glog/vsproject/logging_unittest).
<mask> static const char TEST_SRC_DIR[] = "../..";
<mask> #elif !defined(TEST_SRC_DIR)
<mask> # warning TEST_SRC_DIR should be defined in config.h
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove _asm int 3
</s> add __debugbreak(); </s> remove // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add </s> remove // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
</s> add </s> add /**
* Portable version check.
*/
#ifndef __GNUC_PREREQ
# if defined __GNUC__ && defined __GNUC_MINOR__
/* nolint */
# define __GNUC_PREREQ(maj, min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= \
((maj) << 16) + (min))
# else
/* nolint */
# define __GNUC_PREREQ(maj, min) 0
# endif
#endif
</s> remove #elif defined(__APPLE__) || (defined(__linux) && defined(__PPC64__))
</s> add #elif defined(__APPLE__) || ((defined(__linux) || defined(__linux__)) && defined(__PPC64__)) </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/googletest.h
|
keep keep keep add keep keep keep keep keep keep
|
<mask> #ifdef __QNX__
<mask> using std::fdopen;
<mask> #endif
<mask>
<mask> // There is no thread annotation support.
<mask> #define EXCLUSIVE_LOCKS_REQUIRED(mu)
<mask>
<mask> static bool BoolFromEnv(const char *varname, bool defval) {
<mask> const char* const valstr = getenv(varname);
<mask> if (!valstr) {
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove int fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0664);
</s> add int fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, FLAGS_logfile_mode); </s> remove bool Demangle(const char *mangled, char *out, int out_size);
</s> add bool GOOGLE_GLOG_DLL_DECL Demangle(const char *mangled, char *out, int out_size); </s> add namespace glog_internal_namespace_ {
bool IsFailureSignalHandlerInstalled() {
#ifdef HAVE_SIGACTION
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sigaction(SIGABRT, NULL, &sig_action);
if (sig_action.sa_sigaction == &FailureSignalHandler)
return true;
#endif // HAVE_SIGACTION
return false;
}
} // namespace glog_internal_namespace_
</s> remove uint64_t map_start_address) {
</s> add uint64_t map_base_address) { </s> remove #if defined(OS_WINDOWS) && defined(_MSC_VER)
</s> add #if defined(OS_WINDOWS) && defined(_MSC_VER) && !defined(TEST_SRC_DIR) </s> remove const char* base_filename, int line, const tm* tm_time,
</s> add const char* /*base_filename*/, int /*line*/,
const tm* /*tm_time*/,
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/logging.cc
|
keep keep keep add keep keep keep keep keep keep
|
<mask> }
<mask> return "";
<mask> }
<mask>
<mask> GLOG_DEFINE_string(log_dir, DefaultLogDir(),
<mask> "If specified, logfiles are written into this directory instead "
<mask> "of the default logging directory.");
<mask> GLOG_DEFINE_string(log_link, "", "Put additional links to the log "
<mask> "files in this directory");
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add // Set the log file mode.
DECLARE_int32(logfile_mode);
</s> add // Set the log file mode.
DECLARE_int32(logfile_mode);
</s> remove - Parameter parameters: Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
</s> add @param parameters Arbitrary parameter dictionary of characteristics. The keys to this dictionary must </s> remove - Parameter webView: The webview to augment with the additional JavaScript behaviour
</s> add @param webView The webview to augment with the additional JavaScript behaviour </s> remove // controlled by NDEBUG, so the check will be executed regardless of
</s> add // controlled by DCHECK_IS_ON(), so the check will be executed regardless of </s> remove // controlled by NDEBUG, so the check will be executed regardless of
</s> add // controlled by DCHECK_IS_ON(), so the check will be executed regardless of
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/logging.cc
|
keep add keep keep keep keep keep keep
|
<mask> !strcmp(term, "xterm-color") ||
<mask> !strcmp(term, "xterm-256color") ||
<mask> !strcmp(term, "screen") ||
<mask> !strcmp(term, "linux") ||
<mask> !strcmp(term, "cygwin");
<mask> }
<mask> #endif
<mask> return term_supports_color;
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #elif defined(__APPLE__) || (defined(__linux) && defined(__PPC64__))
</s> add #elif defined(__APPLE__) || ((defined(__linux) || defined(__linux__)) && defined(__PPC64__)) </s> add #elif defined(__mc68000__)
#undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS </s> add std::cerr
<< "Cannot use `throwException` with an empty folly::exception_wrapper"
<< std::endl;
std::terminate(); </s> remove #if !defined(FOLLY_ALLOW_TFO) && defined(__linux__) && !defined(__ANDROID__)
</s> add #if !defined(FOLLY_ALLOW_TFO)
#if defined(__linux__) || defined(__APPLE__) </s> remove // Check flags. We are only interested in "r-x" maps.
if (memcmp(flags_start, "r-x", 3) != 0) { // Not a "r-x" map.
</s> add // Check flags. We are only interested in "r*x" maps.
if (flags_start[0] != 'r' || flags_start[2] != 'x') { </s> remove throw std::out_of_range("out of range in dynamic array");
</s> add std::__throw_out_of_range("out of range in dynamic array");
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/logging.cc
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> inline void LogDestination::FlushLogFilesUnsafe(int min_severity) {
<mask> // assume we have the log_mutex or we simply don't care
<mask> // about it
<mask> for (int i = min_severity; i < NUM_SEVERITIES; i++) {
<mask> LogDestination* log = log_destination(i);
<mask> if (log != NULL) {
<mask> // Flush the base fileobject_ logger directly instead of going
<mask> // through any wrappers to reduce chance of deadlock.
<mask> log->fileobject_.FlushUnlocked();
<mask> }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove static StaticMeta<Tag>& instance() {
</s> add static StaticMeta<Tag, AccessMode>& instance() { </s> remove static auto instance = detail::createGlobal<StaticMeta<Tag>, void>();
</s> add /* library-local */ static auto instance =
detail::createGlobal<StaticMeta<Tag, AccessMode>, void>(); </s> remove symbol_offset = map_start_address;
</s> add ElfW(Phdr) phdr;
// We need to find the PT_LOAD segment corresponding to the read-execute
// file mapping in order to correctly perform the offset adjustment.
for (unsigned i = 0; i != elf_header.e_phnum; ++i) {
if (!ReadFromOffsetExact(fd, &phdr, sizeof(phdr),
elf_header.e_phoff + i * sizeof(phdr)))
return false;
if (phdr.p_type == PT_LOAD &&
(phdr.p_flags & (PF_R | PF_X)) == (PF_R | PF_X)) {
// Find the mapped address corresponding to virtual address zero. We do
// this by first adding p_offset. This gives us the mapped address of
// the start of the segment, or in other words the mapped address
// corresponding to the virtual address of the segment. (Note that this
// is distinct from the start address, as p_offset is not guaranteed to
// be page aligned.) We then subtract p_vaddr, which takes us to virtual
// address zero.
symbol_offset = map_base_address + phdr.p_offset - phdr.p_vaddr;
break;
}
}
if (symbol_offset == 0)
return false; </s> remove for (int layer = 0; layer < nodeHeight; ++layer) {
newNode->setSkip(layer, succs[layer]);
preds[layer]->setSkip(layer, newNode);
</s> add for (int k = 0; k < nodeHeight; ++k) {
newNode->setSkip(k, succs[k]);
preds[k]->setSkip(k, newNode); </s> add MutexLock l(&sink_mutex_);
delete sinks_;
sinks_ = NULL; </s> remove inline void fbstring_core<Char>::reserveLarge(size_t minCapacity) {
</s> add FOLLY_MALLOC_NOINLINE inline void fbstring_core<Char>::reserveLarge(
size_t minCapacity) {
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/logging.cc
|
keep keep keep add keep keep keep keep keep keep
|
<mask> for (int severity = 0; severity < NUM_SEVERITIES; ++severity) {
<mask> delete log_destinations_[severity];
<mask> log_destinations_[severity] = NULL;
<mask> }
<mask> }
<mask>
<mask> namespace {
<mask>
<mask> LogFileObject::LogFileObject(LogSeverity severity,
<mask> const char* base_filename)
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove for (int layer = 0; layer < nodeHeight; ++layer) {
newNode->setSkip(layer, succs[layer]);
preds[layer]->setSkip(layer, newNode);
</s> add for (int k = 0; k < nodeHeight; ++k) {
newNode->setSkip(k, succs[k]);
preds[k]->setSkip(k, newNode); </s> remove for (int layer = nodeHeight - 1; layer >= 0; --layer) {
preds[layer]->setSkip(layer, nodeToDelete->skip(layer));
</s> add for (int k = nodeHeight - 1; k >= 0; --k) {
preds[k]->setSkip(k, nodeToDelete->skip(k)); </s> remove LogDestination* log = log_destination(i);
</s> add LogDestination* log = log_destinations_[i]; </s> remove const char* base_filename, int line, const tm* tm_time,
</s> add const char* /*base_filename*/, int /*line*/,
const tm* /*tm_time*/, </s> remove MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
</s> add {
MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
result = info->vlog_level;
found = true;
}
info->vlog_level = log_level;
} else if (!found &&
SafeFNMatch_(info->module_pattern.c_str(),
info->module_pattern.size(),
module_pattern, pattern_len)) { </s> add FOLLY_MALLOC_NOINLINE
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/logging.cc
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> bool LogFileObject::CreateLogfile(const string& time_pid_string) {
<mask> string string_filename = base_filename_+filename_extension_+
<mask> time_pid_string;
<mask> const char* filename = string_filename.c_str();
<mask> int fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0664);
<mask> if (fd == -1) return false;
<mask> #ifdef HAVE_FCNTL
<mask> // Mark the file close-on-exec. We don't really care if this fails
<mask> fcntl(fd, F_SETFD, FD_CLOEXEC);
<mask> #endif
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove symbol_offset = map_start_address;
</s> add ElfW(Phdr) phdr;
// We need to find the PT_LOAD segment corresponding to the read-execute
// file mapping in order to correctly perform the offset adjustment.
for (unsigned i = 0; i != elf_header.e_phnum; ++i) {
if (!ReadFromOffsetExact(fd, &phdr, sizeof(phdr),
elf_header.e_phoff + i * sizeof(phdr)))
return false;
if (phdr.p_type == PT_LOAD &&
(phdr.p_flags & (PF_R | PF_X)) == (PF_R | PF_X)) {
// Find the mapped address corresponding to virtual address zero. We do
// this by first adding p_offset. This gives us the mapped address of
// the start of the segment, or in other words the mapped address
// corresponding to the virtual address of the segment. (Note that this
// is distinct from the start address, as p_offset is not guaranteed to
// be page aligned.) We then subtract p_vaddr, which takes us to virtual
// address zero.
symbol_offset = map_base_address + phdr.p_offset - phdr.p_vaddr;
break;
}
}
if (symbol_offset == 0)
return false; </s> add #ifdef _WIN32
#define fdopen _fdopen
#endif
</s> remove MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
</s> add {
MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
result = info->vlog_level;
found = true;
}
info->vlog_level = log_level;
} else if (!found &&
SafeFNMatch_(info->module_pattern.c_str(),
info->module_pattern.size(),
module_pattern, pattern_len)) { </s> remove const char* base_filename, int line, const tm* tm_time,
</s> add const char* /*base_filename*/, int /*line*/,
const tm* /*tm_time*/, </s> add namespace glog_internal_namespace_ {
bool IsFailureSignalHandlerInstalled() {
#ifdef HAVE_SIGACTION
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sigaction(SIGABRT, NULL, &sig_action);
if (sig_action.sa_sigaction == &FailureSignalHandler)
return true;
#endif // HAVE_SIGACTION
return false;
}
} // namespace glog_internal_namespace_
</s> remove capacity_ = kIsLittleEndian
? cap | static_cast<category_type>(cat)
: (cap << 2) | static_cast<category_type>(cat);
</s> add capacity_ = kIsLittleEndian
? cap | (static_cast<size_t>(cat) << kCategoryShift)
: (cap << 2) | static_cast<size_t>(cat);
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/logging.cc
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> static void logging_fail() {
<mask> #if defined(_DEBUG) && defined(_MSC_VER)
<mask> // When debugging on windows, avoid the obnoxious dialog and make
<mask> // it possible to continue past a LOG(FATAL) in the debugger
<mask> _asm int 3
<mask> #else
<mask> abort();
<mask> #endif
<mask> }
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove #if defined(OS_WINDOWS) && defined(_MSC_VER)
</s> add #if defined(OS_WINDOWS) && defined(_MSC_VER) && !defined(TEST_SRC_DIR) </s> remove static void Fail() @ac_cv___attribute___noreturn@;
</s> add static void @ac_cv___attribute___noreturn@ Fail(); </s> remove static void Fail() __attribute__ ((noreturn));
</s> add static void __attribute__ ((noreturn)) Fail(); </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
</s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
</s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/logging.cc
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> // send() and WaitTillSent(), and that for each message, LOG(), send(),
<mask> // WaitTillSent() and Log() are executed in the same thread.
<mask> virtual void send(GOOGLE_NAMESPACE::LogSeverity severity,
<mask> const char* full_filename,
<mask> const char* base_filename, int line, const tm* tm_time,
<mask> const char* message, size_t message_len) {
<mask> // We are only interested in the log severity, full file name, and
<mask> // log message.
<mask> message_info_.severity = severity;
<mask> message_info_.file_path = full_filename;
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ~LogMessageFatal() @ac_cv___attribute___noreturn@;
</s> add @ac_cv___attribute___noreturn@ ~LogMessageFatal(); </s> remove ~LogMessageFatal() __attribute__ ((noreturn));
</s> add __attribute__ ((noreturn)) ~LogMessageFatal(); </s> remove @ac_cv___attribute___noreturn@ ~NullStreamFatal() { _exit(1); }
</s> add @ac_cv___attribute___noreturn@ ~NullStreamFatal() throw () { _exit(1); } </s> remove __attribute__ ((noreturn)) ~NullStreamFatal() { _exit(1); }
</s> add __attribute__ ((noreturn)) ~NullStreamFatal() throw () { _exit(1); } </s> add LogStream(const LogStream&);
LogStream& operator=(const LogStream&); </s> remove int fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0664);
</s> add int fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, FLAGS_logfile_mode);
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/mock-log.h
|
keep keep add keep keep keep keep keep
|
<mask>
<mask> #endif // HAVE_SIGACTION
<mask>
<mask> void InstallFailureSignalHandler() {
<mask> #ifdef HAVE_SIGACTION
<mask> // Build the sigaction struct.
<mask> struct sigaction sig_action;
<mask> memset(&sig_action, 0, sizeof(sig_action));
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove // Set the default signal handler for SIGABRT, to avoid invoking our
// own signal handler installed by InstallFailedSignalHandler().
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sig_action.sa_handler = SIG_DFL;
sigaction(SIGABRT, &sig_action, NULL);
</s> add if (IsFailureSignalHandlerInstalled()) {
// Set the default signal handler for SIGABRT, to avoid invoking our
// own signal handler installed by InstallFailureSignalHandler().
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sig_action.sa_handler = SIG_DFL;
sigaction(SIGABRT, &sig_action, NULL);
} </s> add #ifdef _WIN32
#define fdopen _fdopen
#endif
</s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> remove #ifdef NDEBUG
</s> add #if !DCHECK_IS_ON() </s> remove _asm int 3
</s> add __debugbreak(); </s> remove static void Fail() @ac_cv___attribute___noreturn@;
</s> add static void @ac_cv___attribute___noreturn@ Fail();
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/signalhandler.cc
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> #if defined(_CALL_AIX) || defined(_CALL_DARWIN)
<mask> result[n++] = *(sp+2);
<mask> #elif defined(_CALL_SYSV)
<mask> result[n++] = *(sp+1);
<mask> #elif defined(__APPLE__) || (defined(__linux) && defined(__PPC64__))
<mask> // This check is in case the compiler doesn't define _CALL_AIX/etc.
<mask> result[n++] = *(sp+2);
<mask> #elif defined(__linux)
<mask> // This check is in case the compiler doesn't define _CALL_SYSV.
<mask> result[n++] = *(sp+1);
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add #elif defined(__mc68000__)
#undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS </s> remove #if defined(OS_WINDOWS) && defined(_MSC_VER)
</s> add #if defined(OS_WINDOWS) && defined(_MSC_VER) && !defined(TEST_SRC_DIR) </s> remove #if !defined(FOLLY_ALLOW_TFO) && defined(__linux__) && !defined(__ANDROID__)
</s> add #if !defined(FOLLY_ALLOW_TFO)
#if defined(__linux__) || defined(__APPLE__) </s> add #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#else
#define DCHECK_IS_ON() 1
#endif
</s> remove #elif !defined(NDEBUG)
</s> add #elif DCHECK_IS_ON() </s> remove #elif !defined(NDEBUG)
</s> add #elif DCHECK_IS_ON()
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/stacktrace_powerpc-inl.h
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> // write the symbol name to "out" and return true. Otherwise, return
<mask> // false.
<mask> static bool GetSymbolFromObjectFile(const int fd, uint64_t pc,
<mask> char *out, int out_size,
<mask> uint64_t map_start_address) {
<mask> // Read the ELF header.
<mask> ElfW(Ehdr) elf_header;
<mask> if (!ReadFromOffsetExact(fd, &elf_header, sizeof(elf_header), 0)) {
<mask> return false;
<mask> }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove bool Demangle(const char *mangled, char *out, int out_size);
</s> add bool GOOGLE_GLOG_DLL_DECL Demangle(const char *mangled, char *out, int out_size); </s> add #include "glog/logging.h" </s> remove out, out_size, start_address)) {
</s> add out, out_size, base_address)) { </s> remove symbol_offset = map_start_address;
</s> add ElfW(Phdr) phdr;
// We need to find the PT_LOAD segment corresponding to the read-execute
// file mapping in order to correctly perform the offset adjustment.
for (unsigned i = 0; i != elf_header.e_phnum; ++i) {
if (!ReadFromOffsetExact(fd, &phdr, sizeof(phdr),
elf_header.e_phoff + i * sizeof(phdr)))
return false;
if (phdr.p_type == PT_LOAD &&
(phdr.p_flags & (PF_R | PF_X)) == (PF_R | PF_X)) {
// Find the mapped address corresponding to virtual address zero. We do
// this by first adding p_offset. This gives us the mapped address of
// the start of the segment, or in other words the mapped address
// corresponding to the virtual address of the segment. (Note that this
// is distinct from the start address, as p_offset is not guaranteed to
// be page aligned.) We then subtract p_vaddr, which takes us to virtual
// address zero.
symbol_offset = map_base_address + phdr.p_offset - phdr.p_vaddr;
break;
}
}
if (symbol_offset == 0)
return false; </s> remove int fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0664);
</s> add int fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, FLAGS_logfile_mode); </s> remove int error = (remaining_decimals == 0 ? 0 : kDenominator / 2);
</s> add uint64_t error = (remaining_decimals == 0 ? 0 : kDenominator / 2);
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/symbolize.cc
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask>
<mask> uint64_t symbol_offset = 0;
<mask> if (elf_header.e_type == ET_DYN) { // DSO needs offset adjustment.
<mask> symbol_offset = map_start_address;
<mask> }
<mask>
<mask> ElfW(Shdr) symtab, strtab;
<mask>
<mask> // Consult a regular symbol table first.
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove uint64_t map_start_address) {
</s> add uint64_t map_base_address) { </s> remove const Char * c_str() const {
auto const c = category();
if (c == Category::isSmall) {
FBSTRING_ASSERT(small_[smallSize()] == '\0');
return small_;
}
FBSTRING_ASSERT(c == Category::isMedium || c == Category::isLarge);
FBSTRING_ASSERT(ml_.data_[ml_.size_] == '\0');
return ml_.data_;
</s> add const Char* c_str() const {
const Char* ptr = ml_.data_;
// With this syntax, GCC and Clang generate a CMOV instead of a branch.
ptr = (category() == Category::isSmall) ? small_ : ptr;
return ptr; </s> remove ml_.capacity_ = kIsLittleEndian
? maxSmallSize << (8 * (sizeof(size_t) - sizeof(Char)))
: maxSmallSize << 2;
small_[0] = '\0';
FBSTRING_ASSERT(category() == Category::isSmall && size() == 0);
</s> add setSmallSize(0);
}
FOLLY_MALLOC_NOINLINE void destroyMediumLarge() noexcept {
auto const c = category();
FBSTRING_ASSERT(c != Category::isSmall);
if (c == Category::isMedium) {
free(ml_.data_);
} else {
RefCounted::decrementRefs(ml_.data_);
} </s> remove for (int layer = nodeHeight - 1; layer >= 0; --layer) {
preds[layer]->setSkip(layer, nodeToDelete->skip(layer));
</s> add for (int k = nodeHeight - 1; k >= 0; --k) {
preds[k]->setSkip(k, nodeToDelete->skip(k)); </s> remove MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
</s> add {
MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
result = info->vlog_level;
found = true;
}
info->vlog_level = log_level;
} else if (!found &&
SafeFNMatch_(info->module_pattern.c_str(),
info->module_pattern.size(),
module_pattern, pattern_len)) { </s> remove return category() == Category::isSmall ? smallSize() : ml_.size_;
</s> add size_t ret = ml_.size_;
/* static */ if (kIsLittleEndian) {
// We can save a couple instructions, because the category is
// small iff the last char, as unsigned, is <= maxSmallSize.
typedef typename std::make_unsigned<Char>::type UChar;
auto maybeSmallSize = size_t(maxSmallSize) -
size_t(static_cast<UChar>(small_[maxSmallSize]));
// With this syntax, GCC and Clang generate a CMOV instead of a branch.
ret = (static_cast<ssize_t>(maybeSmallSize) >= 0) ? maybeSmallSize : ret;
} else {
ret = (category() == Category::isSmall) ? smallSize() : ret;
}
return ret;
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/symbolize.cc
|
keep keep keep keep replace replace keep keep keep keep keep
|
<mask> if (cursor == eol || cursor < flags_start + 4) {
<mask> return -1; // Malformed line.
<mask> }
<mask>
<mask> // Check flags. We are only interested in "r-x" maps.
<mask> if (memcmp(flags_start, "r-x", 3) != 0) { // Not a "r-x" map.
<mask> continue; // We skip this map.
<mask> }
<mask> ++cursor; // Skip ' '.
<mask>
<mask> // Read file offset.
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove symbol_offset = map_start_address;
</s> add ElfW(Phdr) phdr;
// We need to find the PT_LOAD segment corresponding to the read-execute
// file mapping in order to correctly perform the offset adjustment.
for (unsigned i = 0; i != elf_header.e_phnum; ++i) {
if (!ReadFromOffsetExact(fd, &phdr, sizeof(phdr),
elf_header.e_phoff + i * sizeof(phdr)))
return false;
if (phdr.p_type == PT_LOAD &&
(phdr.p_flags & (PF_R | PF_X)) == (PF_R | PF_X)) {
// Find the mapped address corresponding to virtual address zero. We do
// this by first adding p_offset. This gives us the mapped address of
// the start of the segment, or in other words the mapped address
// corresponding to the virtual address of the segment. (Note that this
// is distinct from the start address, as p_offset is not guaranteed to
// be page aligned.) We then subtract p_vaddr, which takes us to virtual
// address zero.
symbol_offset = map_base_address + phdr.p_offset - phdr.p_vaddr;
break;
}
}
if (symbol_offset == 0)
return false; </s> remove const char* base_filename, int line, const tm* tm_time,
</s> add const char* /*base_filename*/, int /*line*/,
const tm* /*tm_time*/, </s> remove inline void fbstring_core<Char>::reserveLarge(size_t minCapacity) {
</s> add FOLLY_MALLOC_NOINLINE inline void fbstring_core<Char>::reserveLarge(
size_t minCapacity) { </s> remove return category() == Category::isSmall ? smallSize() : ml_.size_;
</s> add size_t ret = ml_.size_;
/* static */ if (kIsLittleEndian) {
// We can save a couple instructions, because the category is
// small iff the last char, as unsigned, is <= maxSmallSize.
typedef typename std::make_unsigned<Char>::type UChar;
auto maybeSmallSize = size_t(maxSmallSize) -
size_t(static_cast<UChar>(small_[maxSmallSize]));
// With this syntax, GCC and Clang generate a CMOV instead of a branch.
ret = (static_cast<ssize_t>(maybeSmallSize) >= 0) ? maybeSmallSize : ret;
} else {
ret = (category() == Category::isSmall) ? smallSize() : ret;
}
return ret; </s> remove // Ensure unique
if (RefCounted::refs(ml_.data_) > 1) {
</s> add if (RefCounted::refs(ml_.data_) > 1) { // Ensure unique </s> remove int fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0664);
</s> add int fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, FLAGS_logfile_mode);
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/symbolize.cc
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> out_size -= num_bytes_written;
<mask> }
<mask> }
<mask> if (!GetSymbolFromObjectFile(wrapped_object_fd.get(), pc0,
<mask> out, out_size, start_address)) {
<mask> return false;
<mask> }
<mask>
<mask> // Symbolization succeeded. Now we try to demangle the symbol.
<mask> DemangleInplace(out, out_size);
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove uint64_t map_start_address) {
</s> add uint64_t map_base_address) { </s> remove throwException();
</s> add if (*this) {
throwException();
} </s> remove throwException();
</s> add if (*this) {
throwException();
} </s> add namespace glog_internal_namespace_ {
bool IsFailureSignalHandlerInstalled() {
#ifdef HAVE_SIGACTION
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sigaction(SIGABRT, NULL, &sig_action);
if (sig_action.sa_sigaction == &FailureSignalHandler)
return true;
#endif // HAVE_SIGACTION
return false;
}
} // namespace glog_internal_namespace_
</s> remove bool Demangle(const char *mangled, char *out, int out_size);
</s> add bool GOOGLE_GLOG_DLL_DECL Demangle(const char *mangled, char *out, int out_size); </s> remove symbol_offset = map_start_address;
</s> add ElfW(Phdr) phdr;
// We need to find the PT_LOAD segment corresponding to the read-execute
// file mapping in order to correctly perform the offset adjustment.
for (unsigned i = 0; i != elf_header.e_phnum; ++i) {
if (!ReadFromOffsetExact(fd, &phdr, sizeof(phdr),
elf_header.e_phoff + i * sizeof(phdr)))
return false;
if (phdr.p_type == PT_LOAD &&
(phdr.p_flags & (PF_R | PF_X)) == (PF_R | PF_X)) {
// Find the mapped address corresponding to virtual address zero. We do
// this by first adding p_offset. This gives us the mapped address of
// the start of the segment, or in other words the mapped address
// corresponding to the virtual address of the segment. (Note that this
// is distinct from the start address, as p_offset is not guaranteed to
// be page aligned.) We then subtract p_vaddr, which takes us to virtual
// address zero.
symbol_offset = map_base_address + phdr.p_offset - phdr.p_vaddr;
break;
}
}
if (symbol_offset == 0)
return false;
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/symbolize.cc
|
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
|
<mask> DumpStackTrace(1, DebugWriteToStderr, NULL);
<mask>
<mask> // TOOD(hamaji): Use signal instead of sigaction?
<mask> #ifdef HAVE_SIGACTION
<mask> // Set the default signal handler for SIGABRT, to avoid invoking our
<mask> // own signal handler installed by InstallFailedSignalHandler().
<mask> struct sigaction sig_action;
<mask> memset(&sig_action, 0, sizeof(sig_action));
<mask> sigemptyset(&sig_action.sa_mask);
<mask> sig_action.sa_handler = SIG_DFL;
<mask> sigaction(SIGABRT, &sig_action, NULL);
<mask> #endif // HAVE_SIGACTION
<mask>
<mask> abort();
<mask> }
<mask>
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add namespace glog_internal_namespace_ {
bool IsFailureSignalHandlerInstalled() {
#ifdef HAVE_SIGACTION
struct sigaction sig_action;
memset(&sig_action, 0, sizeof(sig_action));
sigemptyset(&sig_action.sa_mask);
sigaction(SIGABRT, NULL, &sig_action);
if (sig_action.sa_sigaction == &FailureSignalHandler)
return true;
#endif // HAVE_SIGACTION
return false;
}
} // namespace glog_internal_namespace_
</s> remove @ac_cv___attribute___noreturn@ ~NullStreamFatal() { _exit(1); }
</s> add @ac_cv___attribute___noreturn@ ~NullStreamFatal() throw () { _exit(1); } </s> remove __attribute__ ((noreturn)) ~NullStreamFatal() { _exit(1); }
</s> add __attribute__ ((noreturn)) ~NullStreamFatal() throw () { _exit(1); } </s> add bool strict_; </s> remove _asm int 3
</s> add __debugbreak(); </s> add // Annoying stuff for windows -- makes sure clients can import these functions
#ifndef GOOGLE_GLOG_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__)
# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport)
# else
# define GOOGLE_GLOG_DLL_DECL
# endif
#endif
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/utilities.cc
|
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
|
<mask> int SetVLOGLevel(const char* module_pattern, int log_level) {
<mask> int result = FLAGS_v;
<mask> int const pattern_len = strlen(module_pattern);
<mask> bool found = false;
<mask> MutexLock l(&vmodule_lock); // protect whole read-modify-write
<mask> for (const VModuleInfo* info = vmodule_list;
<mask> info != NULL; info = info->next) {
<mask> if (info->module_pattern == module_pattern) {
<mask> if (!found) {
<mask> result = info->vlog_level;
<mask> found = true;
<mask> }
<mask> info->vlog_level = log_level;
<mask> } else if (!found &&
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove } else if (!found &&
SafeFNMatch_(info->module_pattern.c_str(),
info->module_pattern.size(),
module_pattern, pattern_len)) {
result = info->vlog_level;
found = true;
</s> add info->next = vmodule_list;
vmodule_list = info; </s> remove if (!found) {
VModuleInfo* info = new VModuleInfo;
info->module_pattern = module_pattern;
info->vlog_level = log_level;
info->next = vmodule_list;
vmodule_list = info;
}
</s> add </s> add }
if (!found) {
VModuleInfo* info = new VModuleInfo;
info->module_pattern = module_pattern; </s> remove int fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0664);
</s> add int fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, FLAGS_logfile_mode); </s> remove int error = (remaining_decimals == 0 ? 0 : kDenominator / 2);
</s> add uint64_t error = (remaining_decimals == 0 ? 0 : kDenominator / 2); </s> add MutexLock l(&sink_mutex_);
delete sinks_;
sinks_ = NULL;
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/vlog_is_on.cc
|
keep add keep keep keep keep
|
<mask> found = true;
<mask> }
<mask> info->vlog_level = log_level;
<mask> info->next = vmodule_list;
<mask> vmodule_list = info;
<mask> }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove } else if (!found &&
SafeFNMatch_(info->module_pattern.c_str(),
info->module_pattern.size(),
module_pattern, pattern_len)) {
result = info->vlog_level;
found = true;
</s> add info->next = vmodule_list;
vmodule_list = info; </s> remove if (!found) {
VModuleInfo* info = new VModuleInfo;
info->module_pattern = module_pattern;
info->vlog_level = log_level;
info->next = vmodule_list;
vmodule_list = info;
}
</s> add </s> remove MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
</s> add {
MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
result = info->vlog_level;
found = true;
}
info->vlog_level = log_level;
} else if (!found &&
SafeFNMatch_(info->module_pattern.c_str(),
info->module_pattern.size(),
module_pattern, pattern_len)) { </s> add accessAllThreadsLock_ = nullptr; </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/vlog_is_on.cc
|
keep keep keep replace replace replace replace replace replace keep keep replace replace replace replace replace replace replace keep keep keep
|
<mask> found = true;
<mask> }
<mask> info->vlog_level = log_level;
<mask> } else if (!found &&
<mask> SafeFNMatch_(info->module_pattern.c_str(),
<mask> info->module_pattern.size(),
<mask> module_pattern, pattern_len)) {
<mask> result = info->vlog_level;
<mask> found = true;
<mask> }
<mask> }
<mask> if (!found) {
<mask> VModuleInfo* info = new VModuleInfo;
<mask> info->module_pattern = module_pattern;
<mask> info->vlog_level = log_level;
<mask> info->next = vmodule_list;
<mask> vmodule_list = info;
<mask> }
<mask> RAW_VLOG(1, "Set VLOG level for \"%s\" to %d", module_pattern, log_level);
<mask> return result;
<mask> }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> add }
if (!found) {
VModuleInfo* info = new VModuleInfo;
info->module_pattern = module_pattern; </s> remove MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
</s> add {
MutexLock l(&vmodule_lock); // protect whole read-modify-write
for (const VModuleInfo* info = vmodule_list;
info != NULL; info = info->next) {
if (info->module_pattern == module_pattern) {
if (!found) {
result = info->vlog_level;
found = true;
}
info->vlog_level = log_level;
} else if (!found &&
SafeFNMatch_(info->module_pattern.c_str(),
info->module_pattern.size(),
module_pattern, pattern_len)) { </s> remove for (NSObject *child in subviews) {
[children addObject:child];
</s> add for (UIView *child in subviews) {
UIViewController *vc = [FBSDKViewHierarchy getParentViewController:child];
if (vc && vc.view == child) {
[children addObject:vc];
} else {
[children addObject:child];
} </s> remove [children addObject:child];
} else if (child == rootVC.view) {
</s> add UIViewController *vc = [FBSDKViewHierarchy getParentViewController:child];
if (vc != nil && vc.view == child) {
[children addObject:vc];
} else {
[children addObject:child];
}
} else { </s> remove fbstring_detail::podCopy(data, data + effectiveSize, result->data_);
</s> add if (FBSTRING_LIKELY(effectiveSize > 0)) {
fbstring_detail::podCopy(data, data + effectiveSize, result->data_);
}
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/Pods/glog/src/vlog_is_on.cc
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> ss.source_files = "React/Base/ABI24_0_0RCTBatchedBridge.mm", "React/Executors/*"
<mask> end
<mask>
<mask> s.subspec "CxxBridge" do |ss|
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.dependency "ReactABI24_0_0/Core"
<mask> ss.dependency "ReactABI24_0_0/cxxReactABI24_0_0"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.private_header_files = "React/Cxx*/*.h"
<mask> ss.source_files = "React/Cxx*/*.{h,m,mm}"
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI24_0_0/ReactABI24_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" }
<mask> end
<mask>
<mask> s.subspec "ABI24_0_0jschelpers" do |ss|
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.dependency "ReactABI24_0_0/ABI24_0_0PrivateDatabase"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.source_files = "ReactCommon/ABI24_0_0jschelpers/*.{cpp,h}"
<mask> ss.private_header_files = "ReactCommon/ABI24_0_0jschelpers/*.h"
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI24_0_0/ReactABI24_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask>
<mask> s.subspec "cxxReactABI24_0_0" do |ss|
<mask> ss.dependency "ReactABI24_0_0/ABI24_0_0jschelpers"
<mask> ss.dependency "boost-for-react-native", "1.63.0"
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.source_files = "ReactCommon/cxxReactABI24_0_0/*.{cpp,h}"
<mask> ss.exclude_files = "ReactCommon/cxxReactABI24_0_0/ABI24_0_0SampleCxxModule.*"
<mask> ss.private_header_files = "ReactCommon/cxxReactABI24_0_0/*.h"
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Folly\"" }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI24_0_0/ReactABI24_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> ss.source_files = "React/Base/ABI25_0_0RCTBatchedBridge.mm", "React/Executors/*"
<mask> end
<mask>
<mask> s.subspec "CxxBridge" do |ss|
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.dependency "ReactABI25_0_0/Core"
<mask> ss.dependency "ReactABI25_0_0/cxxReactABI25_0_0"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.private_header_files = "React/Cxx*/*.h"
<mask> ss.source_files = "React/Cxx*/*.{h,m,mm}"
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI25_0_0/ReactABI25_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" }
<mask> end
<mask>
<mask> s.subspec "ABI25_0_0jschelpers" do |ss|
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.dependency "ReactABI25_0_0/ABI25_0_0PrivateDatabase"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.source_files = "ReactCommon/ABI25_0_0jschelpers/*.{cpp,h}"
<mask> ss.private_header_files = "ReactCommon/ABI25_0_0jschelpers/*.h"
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI25_0_0/ReactABI25_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> s.subspec "cxxReactABI25_0_0" do |ss|
<mask> ss.dependency "ReactABI25_0_0/ABI25_0_0jschelpers"
<mask> ss.dependency "ReactABI25_0_0/ABI25_0_0jsinspector"
<mask> ss.dependency "boost-for-react-native", "1.63.0"
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.source_files = "ReactCommon/cxxReactABI25_0_0/*.{cpp,h}"
<mask> ss.exclude_files = "ReactCommon/cxxReactABI25_0_0/ABI25_0_0SampleCxxModule.*"
<mask> ss.private_header_files = "ReactCommon/cxxReactABI25_0_0/*.h"
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Folly\"" }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI25_0_0/ReactABI25_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> ss.source_files = "Expo/Optional/**/*.{h,m}"
<mask> end
<mask>
<mask> s.subspec "CxxBridge" do |ss|
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.dependency "ReactABI26_0_0/Core"
<mask> ss.dependency "ReactABI26_0_0/cxxReactABI26_0_0"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.private_header_files = "React/Cxx*/*.h"
<mask> ss.source_files = "React/Cxx*/*.{h,m,mm}"
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI26_0_0/ReactABI26_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> ss.source_files = "React/**/RCTTV*.{h, m}"
<mask> end
<mask>
<mask> s.subspec "ABI26_0_0jschelpers" do |ss|
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.dependency "ReactABI26_0_0/ABI26_0_0PrivateDatabase"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.source_files = "ReactCommon/ABI26_0_0jschelpers/*.{cpp,h}"
<mask> ss.private_header_files = "ReactCommon/ABI26_0_0jschelpers/*.h"
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI26_0_0/ReactABI26_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> s.subspec "cxxReactABI26_0_0" do |ss|
<mask> ss.dependency "ReactABI26_0_0/ABI26_0_0jschelpers"
<mask> ss.dependency "ReactABI26_0_0/ABI26_0_0jsinspector"
<mask> ss.dependency "boost-for-react-native", "1.63.0"
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.source_files = "ReactCommon/cxxReactABI26_0_0/*.{cpp,h}"
<mask> ss.exclude_files = "ReactCommon/cxxReactABI26_0_0/ABI26_0_0SampleCxxModule.*"
<mask> ss.private_header_files = "ReactCommon/cxxReactABI26_0_0/*.h"
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Folly\"" }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI26_0_0/ReactABI26_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> ss.source_files = "Expo/Optional/**/*.{h,m}"
<mask> end
<mask>
<mask> s.subspec "CxxBridge" do |ss|
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.dependency "ReactABI27_0_0/Core"
<mask> ss.dependency "ReactABI27_0_0/cxxReactABI27_0_0"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.private_header_files = "React/Cxx*/*.h"
<mask> ss.source_files = "React/Cxx*/*.{h,m,mm}"
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI27_0_0/ReactABI27_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> ss.source_files = "React/**/RCTTV*.{h, m}"
<mask> end
<mask>
<mask> s.subspec "ABI27_0_0fabric" do |ss|
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.source_files = "ReactCommon/ABI27_0_0fabric/**/*.{cpp,h}"
<mask> ss.private_header_files = "ReactCommon/ABI27_0_0fabric/**/*.h"
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" }
<mask> end
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI27_0_0/ReactABI27_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" }
<mask> end
<mask>
<mask> s.subspec "ABI27_0_0jschelpers" do |ss|
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.dependency "ReactABI27_0_0/ABI27_0_0PrivateDatabase"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.source_files = "ReactCommon/ABI27_0_0jschelpers/*.{cpp,h}"
<mask> ss.private_header_files = "ReactCommon/ABI27_0_0jschelpers/*.h"
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI27_0_0/ReactABI27_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> s.subspec "cxxReactABI27_0_0" do |ss|
<mask> ss.dependency "ReactABI27_0_0/ABI27_0_0jschelpers"
<mask> ss.dependency "ReactABI27_0_0/ABI27_0_0jsinspector"
<mask> ss.dependency "boost-for-react-native", "1.63.0"
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.source_files = "ReactCommon/cxxReactABI27_0_0/*.{cpp,h}"
<mask> ss.exclude_files = "ReactCommon/cxxReactABI27_0_0/ABI27_0_0SampleCxxModule.*"
<mask> ss.private_header_files = "ReactCommon/cxxReactABI27_0_0/*.h"
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Folly\"" }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI27_0_0/ReactABI27_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> ss.source_files = "Expo/Optional/**/*.{h,m}"
<mask> end
<mask>
<mask> s.subspec "CxxBridge" do |ss|
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.dependency "ReactABI28_0_0/Core"
<mask> ss.dependency "ReactABI28_0_0/cxxReactABI28_0_0"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.private_header_files = "React/Cxx*/*.h"
<mask> ss.source_files = "React/Cxx*/*.{h,m,mm}"
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI28_0_0/ReactABI28_0_0.podspec
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> ss.source_files = "React/**/RCTTV*.{h, m}"
<mask> end
<mask>
<mask> s.subspec "ABI28_0_0jschelpers" do |ss|
<mask> ss.dependency "Folly", "2016.09.26.00"
<mask> ss.dependency "ReactABI28_0_0/ABI28_0_0PrivateDatabase"
<mask> ss.compiler_flags = folly_compiler_flags
<mask> ss.source_files = "ReactCommon/ABI28_0_0jschelpers/*.{cpp,h}"
<mask> ss.private_header_files = "ReactCommon/ABI28_0_0jschelpers/*.h"
<mask> ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" }
</s> [sdk31] Update CocoaPods with RN SDK 31 files
Folly was updated, so I went back to the Podspec files for older RN versions and made them use the slightly newer version of Folly used with RN 0.57. </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00" </s> remove ss.dependency "Folly", "2016.09.26.00"
</s> add ss.dependency "Folly", "2016.10.31.00"
|
https://github.com/expo/expo/commit/4ac77874d024d32c5f0121f2f6d5c864eabbb1d7
|
ios/versioned-react-native/ABI28_0_0/ReactABI28_0_0.podspec
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.