react-native/Libraries/Network
Nick Lockwood 88ac40666c Replaced RegExp method parser with recursive descent
Summary:
public

This diff replaces the RegEx module method parser with a handwritten recursive descent parser that's faster and easier to maintain.

The new parser is ~8 times faster when tested on the UIManager.managerChildren() method, and uses ~1/10 as much RAM.

The new parser also supports lightweight generics, and is more tolerant of white space.

(This means that you now can – and should – use types like `NSArray<NSString *> *` for your exported properties and method arguments, instead of `NSStringArray`).

Reviewed By: jspahrsummers

Differential Revision: D2736636

fb-gh-sync-id: f6a11431935fa8acc8ac36f3471032ec9a1c8490
2015-12-10 10:12:29 -08:00
..
RCTNetwork.xcodeproj
FormData.js
NetInfo.js Don't use arrow functions with Flow types to fix website generation 2015-12-09 14:56:40 -08:00
RCTDataRequestHandler.h
RCTDataRequestHandler.m Fix retain cyles in RCTNetworkTask when used with RCTFileRequestHandler and RCTDataRequestHandler 2015-11-04 07:16:26 -08:00
RCTFileRequestHandler.h
RCTFileRequestHandler.m Replaced RCTSparseArray with NSDictionary 2015-11-14 10:28:28 -08:00
RCTHTTPRequestHandler.h
RCTHTTPRequestHandler.m Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTNetInfo.h
RCTNetInfo.m Open source the Android NetInfo module 2015-12-02 11:52:22 -08:00
RCTNetworkTask.h Fix retain cyles in RCTNetworkTask when used with RCTFileRequestHandler and RCTDataRequestHandler 2015-11-04 07:16:26 -08:00
RCTNetworkTask.m RTCImageStoreManager uses NSData instead of UIImage 2015-11-17 09:55:31 -08:00
RCTNetworking.android.js Support cookies on Android 2015-11-23 03:21:31 -08:00
RCTNetworking.h
RCTNetworking.ios.js ensure that RCTNetworking JS function names are consistent with android 2015-11-18 15:48:29 -08:00
RCTNetworking.m Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
XMLHttpRequest.android.js Send HEADERS_RECEIVED and LOADING events on Android 2015-11-17 06:31:31 -08:00
XMLHttpRequest.ios.js fix several lint warnings 2015-12-01 07:26:29 -08:00
XMLHttpRequestBase.js Send HEADERS_RECEIVED and LOADING events on Android 2015-11-17 06:31:31 -08:00