Roger Meier
16fcad0b25
THRIFT-2407 use markdown (rename README => README.md)
...
Patch: Roger Meier
2014-03-19 06:47:47 +01:00
Roger Meier
378663a3bb
THRIFT-2216 cocoa: Extraneous semicolon in TProtocolUtil.h makes clang mad
...
Patch: Andrew McGeachie
2013-11-05 05:23:47 +01:00
Carl Yeksigian
f02934543a
THRIFT-2117 Cocoa TBinaryProtocol strictWrite should be set to true by default
...
Client: cocoa
Patch: David Robakowski
2013-08-13 18:09:59 -04:00
Roger Meier
e491d298f0
THRIFT-1896 cocoa: Add TBase protocol for Cocoa
...
Patch: Kevin Li
2013-03-22 22:18:45 +01:00
Roger Meier
ff951bd567
THRIFT-1863 cocoa: [TBinaryProtocol readMessageBeginReturnName:type:sequenceID] returns incorrect message type
...
Patch: Kevin Li
2013-03-22 22:12:19 +01:00
Jake Farrell
04f83112f6
Thrift-1264:TSocketClient is queried by run loop after deallocation in Cocoa
...
Client: cocoa
Patch: Jan Ruth
Fixes TSocketClient not deallocated correctly.
2013-03-02 22:51:55 -05:00
Roger Meier
0193149842
THRIFT-1801 Sync up TApplicationException codes across languages and thrift implementations
...
Patch: Andrew Cox
2012-12-22 21:31:03 +01:00
Roger Meier
8538edfee7
THRIFT-1792 Added TFramedTransport to the thrift Cocoa library.
...
Patch: Frank Kuehnel
2012-12-16 15:55:45 +01:00
Jake Farrell
6f3a526025
Thrift-1662:"removeObject:" should be "removeObserver:" in [-TSocketServer dealloc]?
...
Client: cocoa
Patch: Ken Morishita
Fixed issue there TSockerServer was using wrong notification center method. Using
- (void)removeObserver:(id)notificationObserver
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1366424 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 15:48:37 +00:00
Jake Farrell
9689d89df1
Thrift-1340: Add support of ARC to Objective-C
...
Client: Objective-c
Patch: Hirano Satoshi
Adds -objc-arc flag to compiler and if used removes the retain/release/autorelease from generated code
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1210732 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 01:07:17 +00:00
Roger Meier
345ecc739a
THRIFT-690 add new ApplicationExceptions (INTERNAL_ERROR, PROTOCOL_ERROR) to the following languages: as3, c_glib, cocoa, cpp, erl, hs, js, nodejs, ocaml, perl, py, rb
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153412 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 09:49:27 +00:00
Bryan Duxbury
ef6cbfd1ab
THRIFT-1011. as3: Error generating package imports when using classes from other packages
...
Patch: Usman Ismail
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1075916 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 16:57:34 +00:00
Bryan Duxbury
472eb3c94c
THRIFT-629. cocoa: Unused Field In TSocketServer Appears To Break iPhone Build
...
Remove the unused field.
Patch: Jon S Akhtar
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991962 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 15:02:06 +00:00
Andrew McGeachie
c892ac555e
THRIFT-821. Add a method to get a copy of the TMemoryBuffer's buffer.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@966385 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 19:51:04 +00:00
Andrew McGeachie
da50d55232
THRIFT-688. Make TBinaryProtocol obey cocoa memory allocation conventions
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@966369 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 19:14:44 +00:00
Andrew McGeachie
7ceba94721
THRIFT-733. Don't use scripting bridge extension's className method because it's not available on iPhone.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@946208 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 15:00:26 +00:00
Andrew McGeachie
b80024d686
THRIFT-762. Include CoreServices.h if we are not compiling on the iPhone.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@939024 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 17:43:45 +00:00
Andrew McGeachie
ddfe0c9698
THRIFT-687. Fix memory leak in TSocketServer.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@908303 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 01:03:01 +00:00
Andrew McGeachie
7acb526434
THRIFT-686. Adding TMemoryBuffer implementation to Cocoa
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@908301 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 00:56:09 +00:00
Andrew McGeachie
73380097e1
THRIFT-614. Add some more info to the exception that gets thrown when THTTPClient encounters an unexpected NSURLResponse object.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@830329 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 20:27:49 +00:00
Andrew McGeachie
bbd55ad8da
THRIFT-549. Make socket client compatible with iPhone SDK as well as OS X
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@797545 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 15:58:07 +00:00
Andrew McGeachie
061722b4fd
THRIFT-548. malloc our temporary buffer, rather than creating it on the stack.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@797175 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 18:12:18 +00:00
Andrew McGeachie
0c8957114a
THRIFT-280. Server-side Cocoa implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@796538 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 21:14:19 +00:00
Andrew McGeachie
59ace01f3f
THRIFT-533. Fix write:offset:length: to ensure all requested data is written.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@796351 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 15:34:07 +00:00
Andrew McGeachie
6db89f2978
THRIFT-343. Import <Foundation/Foundation.h> instead of <Cocoa/Cocoa.h> to support iPhone
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@796327 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 14:45:12 +00:00
Andrew McGeachie
0a2dc64c49
THRIFT-478. Release our input and output stream instance variables when we're dealloc to avoid a memory leak.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@771447 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 21:17:55 +00:00
Bryan Duxbury
def30a6072
THRIFT-387. Add appropriate Apache header to all code files
...
This hits all the documentation and some misc code files that have avoided the license up to this point.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@763048 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 00:19:37 +00:00
David Reiss
deda141392
THRIFT-388. Create a "ONEWAY" message type that is an alias for "CALL"
...
Pave the way for a new message type for oneway function calls.
For now, just define the constant in all languages and make
server implementations treat it the same way as a normal call.
Only C++ and Erlang currently check the message type (on the
server side).
There is a little bit of redundancy in the Erlang code, but
the alternative is a bit gross, and this split-up will be
necessary eventually when we start handling one-way calls
differently.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@761389 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 19:22:31 +00:00
David Reiss
ea2cba8ba8
THRIFT-387. Add license headers to a bunch of files
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 21:35:00 +00:00
David Reiss
0c90f6f8af
Thrift: Whitespace cleanup.
...
Summary:
- Expanded tabs to spaces where spaces were the norm.
- Deleted almost all trailing whitespace.
- Added newlines to the ends of a few files.
- Ran dos2unix on one file or two.
Reviewed By: mcslee
Test Plan: git diff -b
Revert Plan: ok
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665467 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 22:18:40 +00:00
David Reiss
b0232b39e3
Thrift: Allow a custom User-Agent with the Cocoa THttpClient.
...
Reviewed By: mcslee
Test Plan: None.
Other Notes:
Submitted by Andrew McGeachie, the author of the Cocoa bindings.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665440 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 20:35:39 +00:00
Mark Slee
8440605c27
Cocoa Thrift binding patches from Andrew McGeachie
...
Summary: Latest updates to the Cocoa bindings
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665354 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 01:39:25 +00:00
David Reiss
5e60901123
Thrift: Reorganize Cocoa library.
...
Summary:
External patch from Andrew McGeachie.
Just shuffle the Cocoa library files around.
Reviewed By: mcslee
Test Plan: In Andrew we trust.
Revert Plan: ok
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665309 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 03:35:36 +00:00
Mark Slee
77575e69bb
Merging more server support and exception fixes for Cocoa
...
Summary: Submitted by Andrew McGeachie.
Reviewed By: mcslee
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665281 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 19:24:53 +00:00
Mark Slee
aa3c5a882c
Merging latest minor Cocoa changes
...
Summary: BinaryProtocol handling of null strings, destructor, and contributors email fix. Submitted by Andrew McGeachie
Reviewed By: mcslee
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665278 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 21:12:52 +00:00
Mark Slee
2ac60ed96d
Whoops forgot to actually svn add Andrew's files
...
Summary: Tricky svn add command will get you every time
Reviewed By: dreiss
Test Plan: test/ tutorial/ Cocoa code
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665277 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 21:10:18 +00:00
Mark Slee
33a7d898ca
Merge more cocoa changes from Andrew McGeachie
...
Reviewed By: dreiss
Test Plan: To be provided later by McGeachie. Compiler builds fine. Does not affect other libraries.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665259 13f79535-47bb-0310-9956-ffa450edef68
2007-09-14 19:44:30 +00:00
Mark Slee
7e9eea4871
Adding Cocoa generator to Thrift
...
Summary: Thanks to Andrew McGeachie for doing this
Reviewed By: dreiss
Test Plan: No merge/build issues. Will solicit McGeachie for additions to test/cocoa in the future
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665254 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 21:00:23 +00:00