Affiliations
Projects
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PRFix MATLAB test discovery
The test driver finds the test cases of a suite without a scripts/tests/ .py script by looking for the mapping's default client source in the directory listing. MatlabMapping returned client.m, but the MATLAB test clients are named…
Ice#7103 · by pepone - Merged PRWait for collocated dispatches when destroying an object adapter
ObjectAdapter destroy() waits for the direct count (collocated calls in progress) to reach zero in waitForDeactivate(), then locks the adapter again and sets StateDestroying. incDirectCount() only rejects a call from StateDestroying, so a…
Ice#7093 · by pepone - Merged PRFix a string-map leak in Ice for MATLAB
createStringMap built the key and value cell arrays for a non-empty map, passed them to containers.Map through mexCallMATLAB, and never destroyed them. mexCallMATLAB does not take ownership of its inputs, and Ice for MATLAB is loaded with…
Ice#7101 · by pepone - Merged PRFix MATLAB Communicator.getImplicitContext under the default config
With Ice.ImplicitContext=None, the default, the C++ communicator has no implicit context. Ice_Communicator_getImplicitContext still wrapped the null shared_ptr in a new heap object, so getImplicitContext returned a non-empty…
Ice#7100 · by pepone - Merged PRFix MATLAB Future.fetchOutputs crash on a second call after a failure
Future.fetchOutputs set its Read flag only after the fetch function returned successfully. The fetch function releases the underlying C++ future even when it throws, and fetchOutputs then clears impl_. When the invocation failed, a second…
Ice#7099 · by pepone - Merged PRFix MATLAB Ice.Future.wait('sent') hang
Future::waitForState waited for the future's state to be equal to the requested state. An invocation moves from running to sent to finished, so wait('sent') on a future that had already finished never returned without a timeout. In…
Ice#7098 · by pepone - Merged PRFix memory leak in MATLAB getMajorMinor
getMajorMinor, which converts Ice.EncodingVersion and Ice.ProtocolVersion values, read the major and minor properties with mxGetProperty, which returns a copy owned by the caller, and never destroyed these copies. Ice for MATLAB is loaded…
Ice#7097 · by pepone - Merged PRFix MATLAB ice_getConnectionAsync to pass the communicator
The fetch function of the future returned by ice_getConnectionAsync constructed Ice.Connection without its communicator argument, so fetchOutputs failed with "Not enough input arguments" on every successful call. It now passes the proxy's…
Ice#7096 · by pepone - Merged PRFix MATLAB InputStream.skipOptionals tag-30 sentinel detection
InputStream.skipOptionals tested for the tag-30 sentinel with bitshift(v, 3), a left shift, so the test never matched. When an encapsulation ended with unread optional values whose tag is 30 or greater, the tag's extended encoding was not…
Ice#7095 · by pepone - Merged PRApply the Java release and debug settings to all Java projects
java/build.gradle sets options.release = targetJavaRelease and options.debug = debug in a tasks.withType(JavaCompile) block at the root project level. The root project has no JavaCompile tasks, so neither setting reaches the subprojects:…
Ice#7094 · by pepone - Merged PRReturn null from PHP casts of a null proxy
The checkedCast and uncheckedCast methods that slice2php generates, and those of Ice\ObjectPrxHelper in php/lib/Ice/Proxy.php, call the cast method on the source proxy without checking for null. A null source proxy, such as the result of…
Ice#7077 · by pepone - Merged PRUpdate StyleCop.Analyzers to 1.3.180 (3.8)
Cherry-pick of #7084 to 3.8. Update StyleCop.Analyzers from 1.2.0-beta.556 to the 1.3.180 stable release and update the package lock files. Disable SA1143 and SA1315, and fix the SA1121, SA1204, SA1615 and SA1137 sites that 1.3 reports.…
Ice#7092 · by pepone - Merged PRUpdate StyleCop.Analyzers to 1.3.180
Update StyleCop.Analyzers from 1.2.0-beta.556 to the 1.3.180 stable release, and update the package lock files. The comment saying the 1.2 beta was required for the latest language features no longer applies and is removed. StyleCop 1.3…
Ice#7084 · by pepone - Merged PRFix icestormdb to use the IceStorm service's subscribers key comparator
The IceStorm service opens its "subscribers" LMDB database with a custom key comparator, compareSubscriberRecordKey(), which orders keys by their decoded SubscriberRecordKey value. icestormdb opened the same database without that…
Ice#7083 · by pepone - Merged PRFix icestormadmin replica command on a non-replicated IceStorm
When the topic manager has no replica node, Parser::replica() reported "This topic is not replicated" but then fell through and called nodes() on the null node proxy. With the C++98 mapping this raises NullHandleException, which the…
Ice#7082 · by pepone