-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thrift 2905 & - Modern Objective-C & Swift Support #539
Commits on Jul 3, 2015
-
• Use NSError based error & exception handling • Use NS_ENUM enumerations (with standard format) • nullable & nonnull attributes for parameters • Swift interoperability (nullability, enums & error handling) • Removed instance variables from public header • Remove retain/release stubs • Remove all deallocs
Configuration menu - View commit details
-
Copy full SHA for a7e2544 - Browse repository at this point
Copy the full SHA a7e2544View commit details -
Configuration menu - View commit details
-
Copy full SHA for e73f7b6 - Browse repository at this point
Copy the full SHA e73f7b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1220b0a - Browse repository at this point
Copy the full SHA 1220b0aView commit details -
Protocols wrap transport errors with more information
The current message name & source file/line information is added to the protocol error that wraps the transport error.
Configuration menu - View commit details
-
Copy full SHA for 0b91a77 - Browse repository at this point
Copy the full SHA 0b91a77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9925c46 - Browse repository at this point
Copy the full SHA 9925c46View commit details -
Rename transport "Clients" to transports. Client is the terminology f…
…or the top level object already.
Configuration menu - View commit details
-
Copy full SHA for 467efe8 - Browse repository at this point
Copy the full SHA 467efe8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcc3ae3 - Browse repository at this point
Copy the full SHA fcc3ae3View commit details
Commits on Jul 4, 2015
-
Configuration menu - View commit details
-
Copy full SHA for cb0f432 - Browse repository at this point
Copy the full SHA cb0f432View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ffe347 - Browse repository at this point
Copy the full SHA 5ffe347View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a2bf04 - Browse repository at this point
Copy the full SHA 9a2bf04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52d0967 - Browse repository at this point
Copy the full SHA 52d0967View commit details -
Revert to message passing syntax for instances that can be id (e.g. c…
…ontainer entries)
Configuration menu - View commit details
-
Copy full SHA for 5ab8dac - Browse repository at this point
Copy the full SHA 5ab8dacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f93825 - Browse repository at this point
Copy the full SHA 6f93825View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c7c891 - Browse repository at this point
Copy the full SHA 3c7c891View commit details -
Use debugDescription instead of description for structs/exceptions
Allows implementing "description" by the application via category/extension
Configuration menu - View commit details
-
Copy full SHA for 4b9aef7 - Browse repository at this point
Copy the full SHA 4b9aef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c723c6d - Browse repository at this point
Copy the full SHA c723c6dView commit details -
Move TSSLStreamTransport "close" method back
Was moved to TNSStreamTransport to make a general close method & keep streams private. Instead we want the streams public and so the close method is moved back to its origin.
Configuration menu - View commit details
-
Copy full SHA for 6bfe824 - Browse repository at this point
Copy the full SHA 6bfe824View commit details -
Update SSL validation to use current method
The new method uses SecTrustEvaluate on the stream's internal trust object. Removes the deprecation warning given by previous implementation.
Configuration menu - View commit details
-
Copy full SHA for 1a55775 - Browse repository at this point
Copy the full SHA 1a55775View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b83a47 - Browse repository at this point
Copy the full SHA 5b83a47View commit details
Commits on Jul 5, 2015
-
Remove redundant properties from TSSLSocket & TSocket, make common cl…
…ose method in TNSStream
Configuration menu - View commit details
-
Copy full SHA for 5eff152 - Browse repository at this point
Copy the full SHA 5eff152View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e485c4 - Browse repository at this point
Copy the full SHA 9e485c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33b5605 - Browse repository at this point
Copy the full SHA 33b5605View commit details -
Configuration menu - View commit details
-
Copy full SHA for c154eef - Browse repository at this point
Copy the full SHA c154eefView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1e8abd - Browse repository at this point
Copy the full SHA d1e8abdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ada47bc - Browse repository at this point
Copy the full SHA ada47bcView commit details -
Remove all request customization from THTTPSessionTransport
All customization should be done via the NSURLSession & NSURLSession config. This should be the preferred method so we enforce that by disallowing any customization of the request before usage.
Configuration menu - View commit details
-
Copy full SHA for 5c570ed - Browse repository at this point
Copy the full SHA 5c570edView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee1a5c5 - Browse repository at this point
Copy the full SHA ee1a5c5View commit details -
Allow methods with same name in different service definitions
All helper classes (e.g. _args & _result) are generated with the service name included. This fixes the issue with duplicate helper class names.
Configuration menu - View commit details
-
Copy full SHA for 0164013 - Browse repository at this point
Copy the full SHA 0164013View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5355538 - Browse repository at this point
Copy the full SHA 5355538View commit details -
Set deployment target to reasonable number
It could be as low as 6.0 but with 90% of the world on iOS 8. I don't think we need to worry about that.
Configuration menu - View commit details
-
Copy full SHA for c2c3336 - Browse repository at this point
Copy the full SHA c2c3336View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4ea25d - Browse repository at this point
Copy the full SHA c4ea25dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d72c2b - Browse repository at this point
Copy the full SHA 1d72c2bView commit details
Commits on Jul 6, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 158e4e3 - Browse repository at this point
Copy the full SHA 158e4e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f87ac15 - Browse repository at this point
Copy the full SHA f87ac15View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba70058 - Browse repository at this point
Copy the full SHA ba70058View commit details -
Configuration menu - View commit details
-
Copy full SHA for de16b4d - Browse repository at this point
Copy the full SHA de16b4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72561ea - Browse repository at this point
Copy the full SHA 72561eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0091c4d - Browse repository at this point
Copy the full SHA 0091c4dView commit details
Commits on Jul 7, 2015
-
Configuration menu - View commit details
-
Copy full SHA for e8e55d2 - Browse repository at this point
Copy the full SHA e8e55d2View commit details -
Use positive error codes HTTP error codes are more specific
Configuration menu - View commit details
-
Copy full SHA for 113ee76 - Browse repository at this point
Copy the full SHA 113ee76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06c58d0 - Browse repository at this point
Copy the full SHA 06c58d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f20484b - Browse repository at this point
Copy the full SHA f20484bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84d8203 - Browse repository at this point
Copy the full SHA 84d8203View commit details
Commits on Jul 16, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 14b07ff - Browse repository at this point
Copy the full SHA 14b07ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1db39d7 - Browse repository at this point
Copy the full SHA 1db39d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 766ed27 - Browse repository at this point
Copy the full SHA 766ed27View commit details
Commits on Sep 15, 2015
-
Configuration menu - View commit details
-
Copy full SHA for f7fcec2 - Browse repository at this point
Copy the full SHA f7fcec2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bae434e - Browse repository at this point
Copy the full SHA bae434eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4980859 - Browse repository at this point
Copy the full SHA 4980859View commit details
Commits on Oct 3, 2015
-
Configuration menu - View commit details
-
Copy full SHA for ed397a7 - Browse repository at this point
Copy the full SHA ed397a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for df80254 - Browse repository at this point
Copy the full SHA df80254View commit details -
Configuration menu - View commit details
-
Copy full SHA for 663bf38 - Browse repository at this point
Copy the full SHA 663bf38View commit details
Commits on Oct 8, 2015
-
• Generates all client and server code, uses Cocoa-ObjC based protocols and transports • Compiles error free but completely untested • Supports same options as original cocoa (aka ObjC) gerator including asynchronous protocols (both block and promise)
Configuration menu - View commit details
-
Copy full SHA for 808ae20 - Browse repository at this point
Copy the full SHA 808ae20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b9ca06 - Browse repository at this point
Copy the full SHA 9b9ca06View commit details -
• Fixes problems with nested containers • Uses wrapper containers for List, Set & Map; Swift currently disallows adding protocol conformance to generic types via extension (once it does the wrapper types can be discarded) • Greatly simplifies read/write value code
Configuration menu - View commit details
-
Copy full SHA for b1c2bb7 - Browse repository at this point
Copy the full SHA b1c2bb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f167802 - Browse repository at this point
Copy the full SHA f167802View commit details -
Configuration menu - View commit details
-
Copy full SHA for e384ee2 - Browse repository at this point
Copy the full SHA e384ee2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0b4f47 - Browse repository at this point
Copy the full SHA d0b4f47View commit details -
Configuration menu - View commit details
-
Copy full SHA for af2602a - Browse repository at this point
Copy the full SHA af2602aView commit details -
Remove validate_required option from Swift generator
Validation is effectively always required to ensure Swift optional unwrapping doesn't throw errors
Configuration menu - View commit details
-
Copy full SHA for 37fc143 - Browse repository at this point
Copy the full SHA 37fc143View commit details -
Swift was randomly handling default initializers for the enums incorrectly. Some worked, some failed, no rhyme or reason. Putting the initalizer in the main enum declaration solves the issue
Configuration menu - View commit details
-
Copy full SHA for 94e6b9d - Browse repository at this point
Copy the full SHA 94e6b9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc430f1 - Browse repository at this point
Copy the full SHA bc430f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb674f7 - Browse repository at this point
Copy the full SHA eb674f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e641d4c - Browse repository at this point
Copy the full SHA e641d4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab8b035 - Browse repository at this point
Copy the full SHA ab8b035View commit details -
Prefix wrapper types with T (e.g. TSet, TList, etc)
Provides uniform naming and stops confusion of Swift Set and Thrift Set
Configuration menu - View commit details
-
Copy full SHA for c6bef3a - Browse repository at this point
Copy the full SHA c6bef3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 276d447 - Browse repository at this point
Copy the full SHA 276d447View commit details -
Configuration menu - View commit details
-
Copy full SHA for 036d362 - Browse repository at this point
Copy the full SHA 036d362View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e1ad3e - Browse repository at this point
Copy the full SHA 2e1ad3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf1d365 - Browse repository at this point
Copy the full SHA bf1d365View commit details
Commits on Oct 9, 2015
-
Bring application/protocol/transport exceptions in line
The application, protocol & transport exceptions are now reported in much the same conditions (and with same error code) as with other language bindings. Java & CPP were used as examples of when to throw the correct exceptions.
Configuration menu - View commit details
-
Copy full SHA for 4f6f812 - Browse repository at this point
Copy the full SHA 4f6f812View commit details