Up to [cvs.NetBSD.org] / pkgsrc / devel / lua-thrift
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
{lib,lua-,p5-,py-,ruby-,}thrift*: update to 0.22.0
### Build Process
- 0.21.0 fails to build from sources at Arch Linux: No rule to make target
'Thrift5272.thrift', needed by 'gen-cpp/Thrift5272_types.h'
- cmake 3.5 as a minimum version does not work with cmake 4.0.0
### C glib
- [C++] Avoid copy of TUuid
### C++
- Thrift compiler should be able to output c++ Aggregate types
- Make ThriftConfig.cmake relocatable
- [C++] Avoid copy of TUuid
- Cannot compile against aws-lc libcrypto (openssl replacement from AWS)
- possible init/deinit conflict with manual initialization flag
- Remove oldstyle casts from TBufferTransports and TCompactProtocol
- TCompactProtocol readString checks maxMessageSize at wrong position and off by one
- UUID Support for TCompactProtocol
- Fix TBinayProtocol with list<UUID>
### Compiler (General)
- Fix illegal uses of exceptions as normal struct type
- Allow exceptions to be used as regular struct datatype
### Python
- tutorial\py.tornado\PythonServer.py failed under Tornado6
- Python3.12 deprecation in THttpClient
- Remove deprecated Tornado io_loop usage
- Add isOpen method to TTornadoStreamTransport
thrift: updated to 0.21.0 0.21.0 Build Process THRIFT-5815 - veralign.sh broken and incomplete THRIFT-5810 - Wrong installation path for static MSVC libs. THRIFT-5755 - Docker image build fail C++ THRIFT-5272 - printTo does not properly handle i8 datatypes THRIFT-5492 - Bogus END_OF_FILE exception THRIFT-5678 - TConnectedClient: warning due to non-virtual dtor THRIFT-5682 - UB in generated C++ code stops compiling with C++20" THRIFT-5709 - Drastically improve to_num() performace THRIFT-5772 - Add UUID support for C++ THRIFT-5773 - UUID wrapper for C++ THRIFT-5816 - Fix UUID for boost 1.86.0 (change in data member usage) Compiler (General) THRIFT-5800 - "Could not find include file foo.thrift" probably should be failure instead of warning THRIFT-5766 - Replace std::endl with "\n" Delphi THRIFT-5789 - Refactor test suite client implementation THRIFT-5782 - implement full deprecation support THRIFT-5750 - Remove "ansistr_binary_" option THRIFT-5788 - Refactor and streamline hash set implementation THRIFT-5765 - Extra override for WriteBinary() to avoid unnecessary memory allocations when using COM types THRIFT-5764 - Extra CTOR for TThriftBytesImpl Go THRIFT-5786 - Full deprecation support for go THRIFT-5654 - LNK4042 and LNK2019 in go_validator_generator.cc THRIFT-5784 - go: Add THeaderTransforms to TConfiguration Java THRIFT-5762 - Expose service result objects in Java THRIFT-5530 - could not resolve plugin artifact 'com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:4.0.4' THRIFT-5230 - Fix connection leak and CancelledKeyException when handling Epoll bug THRIFT-4847 - CancelledKeyException causes TThreadedSelectorServer to fail. JSON THRIFT-5761 - Lib/json tests fail netstd THRIFT-5798 - Expand netstd compile tests to fully cover all current target environments THRIFT-5797 - HashSet() CTOR takes no argument for net < 5 THRIFT-5796 - Indicate target environment via #if check THRIFT-5795 - namespace not properly escaped THRIFT-5794 - Uncompilable C# code in 0.20.0 THRIFT-5781 - implement full deprecation support THRIFT-5780 - Prevent certain warnings related to net8 THRIFT-5787 - .NET ApacheThrift client v20.0 breaks compatibility in TBinaryProtocol.Factory constructor THRIFT-5783 - drop net7 support Node.js THRIFT-5769 - Large messages crash Node.js client when using TFramedTransport PHP THRIFT-5760 - Update minimal version of php THRIFT-5758 - PHP 8.2 Deprecate dynamic properties THRIFT-5756 - Run php tests in github actions Python THRIFT-4181 - PEP 484 Type Hinting on generated code THRIFT-5813 - Clarify TSocket state after isOpen THRIFT-5777 - timeout exception mismatched THRIFT-5139 - Type hinting for Python library Rust THRIFT-5812 - Capacity overflow in Rust server
*: recursive bump for perl 5.36
thrift: updated to 0.15.0 0.15.0 Known Open Issues (Blocker or Critical) THRIFT-3877 - C++: library don't work with HTTP (csharp server, cpp client; need cross test enhancement) Removed Languages THRIFT-5229 - ActionScript 3 support dropped THRIFT-5347 - Haskell support dropped Breaking Changes THRIFT-5381 - possible collisions at VOID type with some 3rd-party libraries on Haxe cpp targets THRIFT-5396 - deprecate netstd "Async" method postfix THRIFT-5453 - go: NewTSocketConf and NewTSSLSocketConf no longer return an error AS3 THRIFT-5229 - Deprecate/remove ActionScript 3 support Build Process THRIFT-5334 - version of thrift-maven-plugin is not sync with the main project THRIFT-5394 - AppVeyor CI tries to download outdated cmake THRIFT-5429 - build: autotools: add foreign to AM_INIT_AUTOMAKE C glib THRIFT-5244 - Dynamic exception specifications are deprecated in C++11[-Wdeprecated] THRIFT-5265 - Add the zlib transport to c_glib THRIFT-5399 - Fix socket leak in abnormal situation THRIFT-5421 - Fix the problem of incorrect setting of errno in some files C++ THRIFT-5341 - Fix Old-Style-Cast, Missing override and Possible noexcept THRIFT-5342 - Apply 'noexcept' attribute to Init/Copy/Move Constructors and Assignments THRIFT-5355 - Do not rely on compiler and check boundaries D language THRIFT-4303 - D deprecation warnings THRIFT-4979 - Still D deprecation warnings about std.datetime.* in current master THRIFT-5376 - Fix deprecation warnings in D library Dart THRIFT-5285 - Update to dart 2, widen range on http package Delphi THRIFT-5350 - 0.14.0 fails to build on non-x86 THRIFT-5438 - Inconsistent handling of exceptions during message read vs. message write phase THRIFT-5384 - Improved error message for HTTP transports THRIFT-5385 - XML-HTTP client reports IsOpen=TRUE even if it is not THRIFT-5386 - XML-HTTP client may throw "max message size reached" incorrectly THRIFT-5387 - Improved and simplified Delphi test setup THRIFT-5390 - Named Pipes transport hardening THRIFT-5428 - Prevent costly reallocations to improve performance THRIFT-5437 - Make TProtocolImpl CTOR virtual Documentation THRIFT-5332 - Question: list all the reserved words in thrift doc THRIFT-5348 - Update debian/copyright Erlang THRIFT-5377 - Remove Erlang R16 support Go THRIFT-5337 - Go set fields write improvement THRIFT-5353 - Namespace from type is ignored in generated code THRIFT-5358 - Add go.mod file(s) THRIFT-5369 - Malformed payload can still cause huge allocations THRIFT-5389 - Thrift compiler generates uncompilable go code around optional constants THRIFT-5404 - TTransportException.Timeout would correctly return true when it's connect timeout during TSocket.Open call THRIFT-5447 - Update supported Go versions before 0.15.0 release THRIFT-5453 - go: NewTSocketConf should not call net.ResolveTCPAddr THRIFT-5459 - Adding a new exception to an endpoint is kinda breaking in go THRIFT-5453 - Defer DNS lookups from NewTSocketConf (without any timeout check) to TSocket.Open (subject to ConnectTimeout set in TConfiguration) THRIFT-5459 - Client calls will return TApplicationException with MISSING_RESULT when the result is a struct but is unset, and no other error is known. Haskell THRIFT-5347 - Deprecate Haskell bindings Haxe THRIFT-5370 - Haxe 4 compatibility THRIFT-5381 - possible collisions at VOID type with some 3rd-party libraries on Haxe cpp targets THRIFT-5393 - Incorrect namespaces for included types THRIFT-3036 - create official haxelib Thrift package THRIFT-5413 - Int vs String in method get_size required by property size Java THRIFT-5375 - Put org.apache.tomcat.embed:tomcat-embed-core into scope test THRIFT-5383 - TJSONProtocol Java readString throws on bounds check THRIFT-5400 - Java library does not export the .annotation package THRIFT-5425 - Throw an exception when reading TSimpleJson in Java THRIFT-5430 - FieldMetaData synchronized method can trigger deadlock during static class initialization in JVM native code THRIFT-5432 - TSaslTransport throw TTransportException of MaxMessageSize reached THRIFT-5433 - Add Counter To Thread Name of TThreadPoolServer JavaScript THRIFT-3508 - JS:TS Generator set all fields of the struct as required Lua THRIFT-5417 - Fix Lua compiler omitting default values in Lua service functions THRIFT-5439 - Lua Generator does not support const i64 netstd THRIFT-5354 - disable IDE0083 warning THRIFT-5382 - Netstd default list/set enums values are generated incorrectly in some cases THRIFT-5395 - inconsistent treatment of methods ending in "Async" THRIFT-5396 - deprecate "Async" method postfix THRIFT-5408 - Support for deprecated methods (via annotation) THRIFT-5414 - Use of specific parameter names generates uncompileable code THRIFT-5442 - Separate client service calls into send/recv methods and make them public THRIFT-5444 - Netstd generator produces uncompileable code for enums ending with "_result" or "_args" THRIFT-5445 - "cancellationToken" cannot be used as argument name THRIFT-5236 - THttpTransport.cs still has bad timeout code THRIFT-5349 - Add net5.0 as supported platform THRIFT-5373 - HTTP status in case of Protocol/Transport exceptions THRIFT-5391 - Named pipes transport hardening THRIFT-5398 - ThreadPoolServer not stoppable via CancellationToken THRIFT-5407 - Keep support for .NET Core 3.1 THRIFT-5419 - Incorrect usage of thread pool in TThreadPoolAsyncServer may lead to poor performance THRIFT-5422 - add threadpool server to netstd test suite impl THRIFT-5431 - Response should include 'content-type' header THRIFT-5436 - Timeout.Infinite is not a good default PHP THRIFT-5318 - PHP 8 compatible version of binary protocol THRIFT-5440 - Add php8 to composer.json Python THRIFT-5352 - Python: IDL exceptions with no fields can't be instantiated Ruby THRIFT-5312 - The Ruby compilation configuration in the .gemspec file is modified to be compatible with later bundler versions. THRIFT-5367 - Ruby library crashes when using GC.compact Rust THRIFT-4098 - Support user-defined output namespaces in generated Rust modules THRIFT-4101 - Make auto-generated Rust enums and unions more user-extensible THRIFT-5314 - Enum forward compatibility THRIFT-5363 - All-caps constant rendered incorrectly
thrift: updated to 0.14.2 0.14.2 Java THRIFT-5383 - THRIFT-5383 TJSONProtocol Java readString throws on bounds check Go THRIFT-5369 - TConfiguration.GetMaxMessageSize() now also applies to container sizes in TProtocol implementations provided
*: recursive bump for perl 5.34
devel/lua-thrift: suppress USE_TOOLS+=perl warning
thrift: updated to 0.12.0 and split into language modules Thrift 0.12.0 New Languages * Common LISP (cl) * Swift * Typescript (nodets) Deprecated Languages * Cocoa Breaking Changes (since 0.11.0) * Rust enum variants are now camel-cased instead of uppercased to conform to Rust naming conventions * Support for golang 1.6 and earlier has been dropped. * PHP now uses the PSR-4 loader by default instead of class maps. * method signatures changed in the compiler's t_oop_generator. * The C (GLib) compiler's handling of namespaces has been improved. Known Issues (Blocker or Critical) * build: use a single build system for thrift * build: bootstrap.sh is missing from source tarball * csharp: socket exhaustion in csharp implementation * cocoa: Getters for fields defined with uppercase names do not work * cocoa: Extended services aren't subclasses in generated Cocoa * cocoa: Thrift de-capitalizes the name of IsSet property in Cocoa * cpp: the http implementation is not standard; interop with other languages is spotty at best * cpp: Impossible to build Thrift C++ library for Android (NDK) * cpp: Using multiple async services simultaneously is not thread-safe * haskell: Defaulted struct parameters on a service generates invalid Haskell * nodejs: Exception swallowed by deserialization function * nodejs: map<i64,value> key treated as hex value in JavaScript * nodejs: ERROR in ./node_modules/thrift/lib/nodejs/lib/thrift/connection.js Module not found: Error: Can't resolve 'child_process' * nodejs: Sequence numbering for multiplexed protocol broken * php: sequence and reconnection management issues * php: Error during deserialization int64 on 32-bit architecture * php: thrift type i64 java to php serialize/deserealize not working * php: PHP gets stuck in infinite loop * python: sending int or float in a double field breaks the connection * python: unix sockets can get stuck forever * python: generated code is out of order and causes load issues * py3: UnicodeDecideError in Python3 Build Process * D language docker images need demios for libevent and openssl fixed to re-enable make cross on dlang * Use Ubuntu Bionic (18.04 LTS) for CI builds instead of Artful (17.10) * Define CI operating system coverage rules for the project and (hopefully) simplify CI a little more * ubuntu install instructions broken on 16.04 * Appveyor builds are failing due to a haskell / cabal update in chocolatey * optimize Dockerfile (only onetime apt-get update) * rm `build/docker/ubuntu-trusty/Dockerfile.orig` * Ubuntu Artful doesn't appear to be compatible with Thrift and Haxe 3.4.2 * DLang Client Pool Test fails sporadically * CL tutorial build fails sporadically * Make haxelib download quiet so it doesn't blow up the build log * bootstrap.sh fails if automake=1.16.1 c_glib * The C (GLib) compiler's handling of namespaces has been improved. * glibC compilation issue * c glib is unable to handle client close unexpectedly cl (new language support in 0.12.0) * Common Lisp support csharp * reserved Csharp keywords are not escaped in some cases * C# async mode generates incorrect code with inherited services * IAsyncResult style methods not being supported by certain transports leads to issues in mixed ISync/IAsync use cases * Allow TBufferedTransport to be used as base class * XML docs; code cleanup (tabs->spaces; String->string) * protected ExceptionType type member of TApplicationException cannot be accessed * JSONProtocol Base64 Encoding Trims Padding * Missing dispose calls in ThreadedServer & ThreadpoolServer * keep InnerException wherever appropriate * IAsyncResult not supported by layered transports (buffered/framed) cpp * Typecasting problem on list items * TNonblockingServer throwing THRIFT LOGGER: TConnection::workSocket(): THRIFT_EAGAIN (unavailable resources) * TBufferTransports.h does not compile under Visual Studio 2017 * TNonblockingServer crash because of limitation of select() * TZlibTransport.cpp doesn't ensure that there is enough space for the zlib flush marker in the buffer. * ZeroMQ contrib library needs a refresh * TSSLServerSocket incorrectly prints errors * Move `TAsyncProtocolProcessor` into main thrift library * evhttp_connection_new is deprecated; use evhttp_connection_base_new compiler * Compiler cannot be compiled on macOS(maybe also on other platforms with clang) * Thrift generates wrong Python code for immutable structures with optional members * thrift generated code is not stable for constants * Avoid updating Thrift compiler generated code if the output has not changed * Visual Studio Compiler project should link runtime statically in release builds * plugin.thrift t_const_value is not used as a union in C++ code -- fix this * Dealing with language keywords in Thrift (e.g. service method names) * repeated runs of compiler produce different binary output at plugin interface dlang * Thrift will not build with dlang 2.078 or later * dlang servers logError on normal client disconnection * D language docker images need demios for libevent and openssl fixed to re-enable make cross on dlang dart * Effective Dart and Exceptions * Shouldn't download dart.deb directly. delphi * Calling wrong exception CTOR leads to "call failed: unknown result" instead of the real exception being thrown * uncompileable code with member names that are also types under specific conditions * Add Async implementation via IFuture * Possible invalid ptr AV with overlapped read/write on pipes * Thrift exceptions should derive from TException * buffered transport broken when trying to re-open a formerly closed transport * Move Thrift.Console.pas out of the Library * Allow a default service as fallback for multiplex processors connected by old clients * Large writes/reads may cause range check errors in debug mode * Compiler directive should match Delphi XE4 * First line in Console duplicated * FPU ctrl word settings may cause an unexpected "denormalized" error erlang * Erlang records should use map() for map type * Erlang records should allow 'undefined' for non-required fields * Fix erlang tutorial unpack on Windows * Ubuntu Xenial erlang 18.3 "make check" fails golang * Support for golang 1.6 and earlier has been dropped. * Go generator assigns strings to field in const instead of pointers. * Unions Field Count Does Not Consider Binary * Golang: Panic on p.c.Call when using deprecated initializers * Required field incorrectly marked as set when fieldType does not match * Golang: -remote.go client cleanup * TSimpleServer can exit Accept loop with lock still acquired * Add support for go 1.10 * golang tests rely on gomock, which has change behaviour, causing tests to fail * Communication crash when using binary/compact protocol and zlib transport * golang race detected when closing listener socket haskell * Haskell builds with older cabal cannot reconcile complex version requirements java * Thrift does not compile due to Ant Maven task errors * Compiling Thrift from source: Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "typefound" element * proposal: add nullability annotations to generated Java code * Generate missing @Nullable annotations for Java iterator getters * Getter of binary field in Java creates unnecessary copy * libthrift is deployed on central with pom packaging instead of jar * Java Configure Fails for Ant >= 1.10 * Java libraries missing from package when using cmake * pom files are not generated or provided in the build * Maven can't download resource from central when behind a proxy and won't use local repository * Optional rethrow of unhandled exceptions in java processor * Able to set keyStore and trustStore as InputStream in the TSSLTransportFactory.TSSLTransportParameters * Pass message of unhandled exception to optional rethrow. * Remove assertion in Java SASL code that would be ignored in release builds * Include popular IDE file templates to gitignore * Make TThreadPoolServer.executorService_ available in inherited classes and refactor methods to be able customization * Fix logic of THRIFT-2268 * Increase Java Socket Buffer Size * Remove Magic Number In TFIleTransport js * JavaScript: Use modern Promise implementations * let / const variable decorators for es6 compiler * ES6 Classes * JS: readI32 performance on large arrays is very poor in Chrome * js and nodejs libraries need to be refreshed with current libraries * thrift.js: Incorrect usage of 'this' in TWebSocketTransport.__onOpen * Deserialization of nested list discards content * JS WebSocket client callbacks invoked twice on parallel requests * Duplicate declaration of InputBufferUnderrunError in lib/nodejs/lib/thrift/json_protocol.js * Add prettier for consistent JS code formatting lua * lua client uses two write() calls per framed message send * Can't "make install" Lua Library netcore * .NET Core Server doesn't close properly when cancelled * Update .NET Core components, add tests for .Net Core library and .Net Core compiler, fix bugs and build process * JSONProtocol Base64 Encoding Trims Padding node.js * Error handling malformed arguments leaks memory, corrupts transport buffers causing next RPC to fail * Memory leak while calling oneway method * add typescript directory support * TBufferedTransport can leave corrupt data in the buffer * Node.js Fileserver webroot path * Unix domain socket support for NodeJS client * node.js json_protocol throws error in skip function * NodeJS: Expose Int64 from browser.js for consumption by browser * NodeJS warning on binary_protocol writeMessageEnd when seqid = 0 perl * Replace the use of Perl Indirect Object Syntax calls to new() * Thrift CPAN release is missing Makefile.PL and the clients are unable to build the module * Perl CPAN Packaging Improvements php * PHP generator use PSR-4 default * PHP generated code match PSR-2 * Extending Thrift class results in "Attempt serialize from non-Thrift object" * TSocket block on read * migrate php library to psr-4 * infinite loop in latest PHP library * TBufferedTransport must have underlying transport * lib/php/test should be checked for PSR-2 * add phpcs back * php library use PSR-2 * TCurlClient doesn't check for HTTP status code * TCurlClient: show actual error message when throwing TTransportException * Add stream context support into PHP/THttpClient * reduce php library directory depth python * Twisted, slots, and void method fails with "object has no attribute 'success'" * Potentially server-crashing typo in Python TNonblockingServer * Supporting TBinaryProtocolAccelerated protocol when using TMultiplexedProcessor in Python * Outdated cipher string in python unit test * python build on Vagrant Windows boxes fails * THeader for Python * make socket backlog configurable for python * Python: cleanup socket timeout settings ruby * Thrift RSpec test suite fails with Ruby 2.4.x due to Fixnum deprecation * Support ruby rspec 3 * Add ssl socket option to ruby cross tests * Add seek support to TCompactInputProtocol in Rust * Codegen Creates Invalid Ruby for Recursive Structs * Fix the genspec for ruby so it does not complain about an invalid license rust * Rust const string calls function at compile time * Rust enum name wrong case in generated structs * Avoid generating conflicting struct names in Rust code * Rust generation should include #![allow(non_snake_case)] or force conform to Rust style guidelines * Rust binary protocol and buffered transport cannot handle writes above 4096 bytes * Rust framed transport cannot handle writes above 4096 bytes * Rust's TBinaryInputProtocol fails when strict is false * Dart -> Rust Framed cross tests fail * Rust cannot create ReadHalf/WriteHalf to implement custom tranports swift (new language support in 0.12.0) * Swift Library test suite * Gracefully shutdown cross-test servers to fully test teardown * Add .NET Core to the make cross standard test suite * Add unix domain sockets in ruby to cross test - code exists typescript (new language support in 0.12.0) * add typescript directory support