<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/talloc/pytalloc.c, branch talloc-2.3.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>py3: Remove PyStr_FromFormat() compatability macro</title>
<updated>2019-06-24T17:24:27+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2019-06-07T09:08:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=75d87b29f11a1dacb37ccc1b10f8d034063ef5ba'/>
<id>75d87b29f11a1dacb37ccc1b10f8d034063ef5ba</id>
<content type='text'>
We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Noel Power &lt;noel.power@suse.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Noel Power &lt;noel.power@suse.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/talloc: squash 'cast between incompatible function types' warning</title>
<updated>2019-05-16T17:55:17+00:00</updated>
<author>
<name>Noel Power</name>
<email>noel.power@suse.com</email>
</author>
<published>2019-05-02T18:49:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=995e23f1178d4207b9e13341577f26cd509d0892'/>
<id>995e23f1178d4207b9e13341577f26cd509d0892</id>
<content type='text'>
To avoid warning above produced by using
-Wcast-function-type we;

  + ensure PyCFunctions of type METH_NOARGS defined dummy arg

Signed-off-by: Noel Power &lt;noel.power@suse.com&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To avoid warning above produced by using
-Wcast-function-type we;

  + ensure PyCFunctions of type METH_NOARGS defined dummy arg

Signed-off-by: Noel Power &lt;noel.power@suse.com&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pytalloc: Check for errors during module initialization.</title>
<updated>2019-03-26T03:03:23+00:00</updated>
<author>
<name>Kristján Valur</name>
<email>kristjan@rvx.is</email>
</author>
<published>2019-03-06T14:08:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=0fa5a77f46fb8a5ce06b93c0064e3ae4ea64084d'/>
<id>0fa5a77f46fb8a5ce06b93c0064e3ae4ea64084d</id>
<content type='text'>
Signed-off-by: Kristján Valur &lt;kristjan@rvx.is&gt;
Reviewed-by: Noel Power &lt;npower@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Kristján Valur &lt;kristjan@rvx.is&gt;
Reviewed-by: Noel Power &lt;npower@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove extra 0x prefix for the "%p" format specifiers, avoiding 0x0x0 strings in the output.</title>
<updated>2018-05-16T16:06:23+00:00</updated>
<author>
<name>Timur I. Bakeyev</name>
<email>timur@iXsystems.com</email>
</author>
<published>2018-05-10T02:28:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d3cbcbd5c0b22ce8ef368f2278fa4421c91f7502'/>
<id>d3cbcbd5c0b22ce8ef368f2278fa4421c91f7502</id>
<content type='text'>
Signed-off-by: Timur I. Bakeyev &lt;timur@iXsystems.com&gt;
Reviewed-by: Ralph Boehme &lt;slow@samba.org&gt;
Reviewed-by: Martin Schwenke &lt;martin@meltin.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Timur I. Bakeyev &lt;timur@iXsystems.com&gt;
Reviewed-by: Ralph Boehme &lt;slow@samba.org&gt;
Reviewed-by: Martin Schwenke &lt;martin@meltin.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pytalloc: add pytalloc_GenericObject_{steal,reference}[_ex]()</title>
<updated>2017-02-25T01:39:11+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2017-02-20T16:33:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=2cae14df12491c407a858cb3b4f582e2a2626319'/>
<id>2cae14df12491c407a858cb3b4f582e2a2626319</id>
<content type='text'>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pytalloc: avoid double 0x0x in repr strings</title>
<updated>2016-05-09T23:43:15+00:00</updated>
<author>
<name>Douglas Bagnall</name>
<email>douglas.bagnall@catalyst.net.nz</email>
</author>
<published>2016-05-03T22:16:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=2ba83ae49b34812ed165357e2bdcd1c4b627cad4'/>
<id>2ba83ae49b34812ed165357e2bdcd1c4b627cad4</id>
<content type='text'>
The %p format puts one in itself.

Before: &lt;drsblobs.repsFromTo2 talloc based object at 0x0x1b551e0&gt;
After:  &lt;drsblobs.repsFromTo2 talloc based object at 0x1b551e0&gt;

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The %p format puts one in itself.

Before: &lt;drsblobs.repsFromTo2 talloc based object at 0x0x1b551e0&gt;
After:  &lt;drsblobs.repsFromTo2 talloc based object at 0x1b551e0&gt;

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pytalloc: Add new BaseObject</title>
<updated>2016-03-08T00:58:26+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2016-02-22T01:02:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=80f2b36efb6380defb646f7612f23c431acf8e1a'/>
<id>80f2b36efb6380defb646f7612f23c431acf8e1a</id>
<content type='text'>
This new object not only avoids the ABI issues of talloc.Object
it stores one more pointer, being the start of the array, and
so can be used to fix the PIDL bindings/talloc refcount issue.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This new object not only avoids the ABI issues of talloc.Object
it stores one more pointer, being the start of the array, and
so can be used to fix the PIDL bindings/talloc refcount issue.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pytalloc: Port to Python 3</title>
<updated>2015-05-19T17:28:18+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>pviktori@redhat.com</email>
</author>
<published>2015-01-15T13:07:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=cd6615ecbd43d53fa353a18bd6db2291b086de2d'/>
<id>cd6615ecbd43d53fa353a18bd6db2291b086de2d</id>
<content type='text'>
- Use native string for repr

- Use rich comparison
  Removes the deprecated tp_compare in favor of tp_richcompare.
  Disparate types cannot be compared (except for == and !=),
  and True or False objects are returned explicitly.

- Use Py_TYPE instead of ob_type
  This changed to conform to C aliasing rules,
  see http://legacy.python.org/dev/peps/pep-3123/

- Don't provide CObject creation function
  A PyCapsule based replacement would be possible,
  but might not be necessary considering the function is
  not used much.

- Use new-style module initialization

Build changes:

- Use ABI flag in the lib name and pkg-config template

- Use the SAMBA_CHECK_PYTHON macro for finding Python

Signed-off-by: Petr Viktorin &lt;pviktori@redhat.com&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Jelmer Vernooij &lt;jelmer@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use native string for repr

- Use rich comparison
  Removes the deprecated tp_compare in favor of tp_richcompare.
  Disparate types cannot be compared (except for == and !=),
  and True or False objects are returned explicitly.

- Use Py_TYPE instead of ob_type
  This changed to conform to C aliasing rules,
  see http://legacy.python.org/dev/peps/pep-3123/

- Don't provide CObject creation function
  A PyCapsule based replacement would be possible,
  but might not be necessary considering the function is
  not used much.

- Use new-style module initialization

Build changes:

- Use ABI flag in the lib name and pkg-config template

- Use the SAMBA_CHECK_PYTHON macro for finding Python

Signed-off-by: Petr Viktorin &lt;pviktori@redhat.com&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Jelmer Vernooij &lt;jelmer@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pytalloc: Fix comparison of disparate types</title>
<updated>2015-04-23T23:50:11+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>pviktori@redhat.com</email>
</author>
<published>2015-03-06T17:57:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8ac9c860de3b902855a00d7589b8a614eec3de45'/>
<id>8ac9c860de3b902855a00d7589b8a614eec3de45</id>
<content type='text'>
When fed Python objects of different types, pytalloc_default_cmp
compared pointers to PyType objects that weren't part of an array,
resulting in undefined behavior.

This makes things a bit better (though it still casts ptrdiff_t to int).

Signed-off-by: Petr Viktorin &lt;pviktori@redhat.com&gt;
Reviewed-By: Jelmer Vernooij &lt;jelmer@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When fed Python objects of different types, pytalloc_default_cmp
compared pointers to PyType objects that weren't part of an array,
resulting in undefined behavior.

This makes things a bit better (though it still casts ptrdiff_t to int).

Signed-off-by: Petr Viktorin &lt;pviktori@redhat.com&gt;
Reviewed-By: Jelmer Vernooij &lt;jelmer@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: remove unused variables</title>
<updated>2012-07-05T21:50:54+00:00</updated>
<author>
<name>Björn Jacke</name>
<email>bj@sernet.de</email>
</author>
<published>2012-06-13T16:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7abe51f8404f1788d4ed497d26b83b3097073229'/>
<id>7abe51f8404f1788d4ed497d26b83b3097073229</id>
<content type='text'>
found by the IRIX compiler

Autobuild-User(master): Björn Jacke &lt;bj@sernet.de&gt;
Autobuild-Date(master): Thu Jul  5 23:50:54 CEST 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
found by the IRIX compiler

Autobuild-User(master): Björn Jacke &lt;bj@sernet.de&gt;
Autobuild-Date(master): Thu Jul  5 23:50:54 CEST 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
</feed>
