Commit Graph

52 Commits

Author SHA1 Message Date
Chris Vasselli
df3223c85d THRIFT-3859: Add support for Unix Domain Sockets to TSocketServer and TSocketTransport.
Client: cocoa

TSocketServer and TSocketTransport have been refactored to support sockets created using either a port or a path.
Existing behavior for port-based socket transport is unchanged by this commit.

This closes #1031
2017-04-02 23:14:29 -04:00
Jens Geyer
36c357a90e THRIFT-3406 Cocoa client should not schedule streams on main runloop
Client: Cocoa
Patch: Aleksei Shevchenko
2015-11-02 22:13:11 +01:00
Jens Geyer
56e5b9b01b THRIFT-2905 Cocoa compiler should have option to produce "modern" Objective-C
Client: Cocoa (ObjectiveC & Swift)
Author: Kevin Wooten <kevin@wooten.com>

This closes #539
2015-10-09 22:01:55 +02:00
Nobuaki Sukegawa
113b638790 THRIFT-3148 Markdown links to coding_standards are dead
This closes #491
2015-05-13 21:40:26 +02:00
Jens Geyer
dc799ca078 Compact Protocol in Cocoa
Client: Cocoa
Patch: creker <sam901@yandex.ru>

This closes #442
2015-04-27 23:02:05 +02:00
Jens Geyer
2aa04bf384 THRIFT-3028 Regression caused by THRIFT-2180
Client: Cooca
Patch: Jeremy W. Sherman
2015-04-17 18:44:37 +02:00
Jens Geyer
f332d16460 THRIFT-3041 Generate asynchronous clients for Cocoa
Client: Cocoa
Patch: Mike Riley <mikeriley@yelirekim.com>

This closes #400
2015-04-16 22:11:11 +02:00
Roger Meier
6b61601cc1 THRIFT-2180 Integer types issues in Cocoa lib on ARM64
CLient: Cocoa
Patch: Jeremy W. Sherman
This closes #372
2015-03-01 12:32:50 +01:00
Konrad Grochowski
3bc6424c76 THRIFT-2724 - Coding standards template added all over project
Client: All
Patch: Konrad Grochowski

This closes #371
2015-02-05 12:15:19 +01:00
Konrad Grochowski
3b5dacba44 THRIFT-2849: spelling errors fixed using codespell tool
Client: All
Patch: Anatol Pomozov

This closes #281
2014-11-24 10:55:31 +01:00
Jens Geyer
aa99e0e2b8 THRIFT-2144 Client-side support for Multiplexing Services on any Transport and Protocol
Client: Cocoa
Patch: David Robakowski

This closes #151
This closes #150
2014-09-29 22:11:08 +02:00
Roger Meier
b191ecc8dc THRIFT-2686 Another extraneous semicolon - TBinaryProtocol.h
Client: cocoa
Patch: Mark Frawley
2014-09-01 22:01:10 +02:00
jfarrell
9f154150b7 THRIFT-2204:SSL client for the cocoa client
Client: cocoa
Patch: Olivier Van Acker

Adds a SSL transport to the cocoa library
2014-04-04 11:41:15 -04:00
jfarrell
d5cd81f46f THRIFT-981:cocoa: add version Info to the library
Client: cocoa
Patch: jfarrell

Adds version to cocoa lib
2014-03-31 22:30:54 -04:00
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