Jose

Results 159 issues of Jose

This PR replaces IceUtil::Time with std::chrono

Now that we are using only std smart pointers we should remove this property ``` rg NullHandleAbort config/PropertyNames.xml 351: js/src/Ice/PropertyNames.js 132: new Property("/^Ice\.NullHandleAbort/", false, null), scripts/IceGridUtil.py 142: "Ice.NullHandleAbort": 1, scripts/Util.py...

task

I found some bogus code in a `#if TARGET_OS_IPHONE != 0`, this was not catch by ci because we are not building for iOS devices.

task
ci

``` *** [33/35] Running python/Ice/thread tests *** [ running client/server test - 02/05/24 21:21:56 ] - Config: ssl ("/opt/homebrew/opt/[email protected]/bin/python3.11" /Users/runner/work/ice/ice/python/test/TestHelper.py Server --Ice.Default.Host=127.0.0.1 --Test.BasePort=14200 --Ice.Warn.Connections=1 --Ice.Default.Protocol=ssl --Ice.IPv6=0 --Ice.Plugin.IceSSL=IceSSL:createIceSSL --IceSSL.*** --IceSSL.DefaultDir=/Users/runner/work/ice/ice/certs --IceSSL.CAs=cacert.pem...

bug
python

We still use `dl` module to set the loader flags, but this module was removed in Python3, we should use ctypes https://github.com/zeroc-ice/ice/blob/f04017972bf5913dd0b32ebcd4126cffa7b955de/python/python/Ice/__init__.py#L33-L49

bug
python

`{0, 0}` is some times substitute by `std::parit` which is ok, representing an empty buffer. But we also replace it by `using Outgoing = ::IceInternal::InvokeLambdaOutgoing;` in with case it ends...

bug
cpp

In a few place we have separate init methods because you cannot call `std::shared_from_this` from a constructor. ``` void foo = make_shared(); foo->init(); ``` An alternative is to have a...

cpp
cleanup

See `TODO` in python Ice/ami test for `getConnectionAsync`, this exception was previously throw asynchronously when python extension used the old C++98 mapping.

python

.NET 8 and macOS arm64 ``` testing binding with multiple random endpoints... Out of memory. Out of memory. Out of memory. Out of memory. -! 22/1/2024 16:04:34:013 client: warning: connection...

bug
csharp

I think this objects are leaked, the ThreadHook increase the ref count but never decreases it. If that is on purpose we should add a comment. https://github.com/zeroc-ice/ice/blob/f04017972bf5913dd0b32ebcd4126cffa7b955de/python/modules/IcePy/Thread.cpp#L54-L56

bug
python