Age | Commit message (Collapse) | Author | Files | Lines |
|
Jeremy.
(This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
|
|
* (pytdbunpack_item): PyList_Append creates an additional reference to
the appended object. Therefore, release the initial reference after
it's added to the list.
(This used to be commit 1e63dc101a5085a46b9632ba657e5d5cd7505751)
|
|
Python examples.
(This used to be commit 3bb4bd3ed642a61e54c44c40c31f0e2242977614)
|
|
(This used to be commit 89be695b2997e97dfc40afd17bb61b59b85634e4)
|
|
Also fix up string pasting (I thought this should only be a warning?)
(This used to be commit 739285ff694e9ffd317ad47aec373e2007c20f45)
|
|
use FUNCTION_MACRO instead of __FUNCTION_
(This used to be commit 243763d6eb107ab2444d81025232c8fe795baaf1)
|
|
(This used to be commit 191c1596f5e939e733c9262c3beaf956328c7be6)
|
|
Jeremy.
(This used to be commit 6639693746ba4c8f6622325ac143f8b1b3bd7538)
|
|
Jeremy.
(This used to be commit e88bbec2a06bd92b8cfa33efdf166c4fa72cb656)
|
|
(This used to be commit 93306f581e3fa37d1aea67e93dc83d5a6d2fcb3f)
|
|
(This used to be commit 6f1d48555f53ea3b32a7b8a6cf0fc2e148c311b7)
|
|
(This used to be commit 9e871cc256a70bc64e59630bd31c890cc231368e)
|
|
(This used to be commit 4580e16908fe06a2c2b6738683b7cb840467e61c)
|
|
codepage.
(This used to be commit ff1244c457d0525343bcc7e89a899d8c7d14b8b6)
|
|
(This used to be commit 9f9347bc03448f8b93d536f9cd2df8fb496a4c22)
|
|
Decode CP850 strings when unpacking
Add variable giving default encoding name
(This used to be commit 8cbaea2afa6faca80eced70d625359165afaa10c)
|
|
(This used to be commit e62baf3a76e0e4f642e542812868db614632de00)
|
|
(This used to be commit 7863c948b73785e49d04227e87d8b4b47fd61f58)
|
|
(This used to be commit 001779dffd18e1f6a83496c94ead185d4bb42204)
|
|
(This used to be commit 62ca27d140d55cbb271b97624023540ae7c18882)
|
|
(This used to be commit 4a18526257ec4582679efa7a21d0b31ad07992fb)
|
|
on encoding. (Tough luck if your Samba codepage is not 850.) It's
much cleaner and possibly more efficient now too: just build one big
list of strings, then zip it up at the end.
Still need to do this for unpacking.
(This used to be commit 2480d385db0527b71cc5cd23c4fab4655df84485)
|
|
Stub for deleteprinterkey.
(This used to be commit 64e04380f7ad9b471a681638dfde93e0c65f9fa3)
|
|
It's now used in parsing printer driver structures and the response
from the enumprinterkey rpc.
(This used to be commit acecee6f2bb92c4992078f4fe2dfae4414f43482)
|
|
(This used to be commit dd73568f97ad51c93f096001058fd31fa14e88ae)
|
|
(This used to be commit 2a492c4854d4c6469d8c7d21aa187fef6303b641)
|
|
not just an Integer. Coerce appropriately.
(This used to be commit 248067931a2a8eeee86ea343bddf96d2bd727dbf)
|
|
Integer, raise an error rather than just returning Null, which breaks
the interpreter.
(This used to be commit db67c5f7e53b231fe217a29a15888e8895ce2229)
|
|
length we need separate counters traversing the format and value
sequences to pack them.
(This used to be commit 49a0ba46e6693bb819440d4ab40045afc4a7ae17)
|
|
(This used to be commit db2c393dd488dad2ce95f3b3cf0297d5b0159ae7)
|
|
by appending, rather than preallocating.
(This used to be commit d72b144e03b9a9cb3d676527ddc5b2d0e1ef42f8)
|
|
(This used to be commit 7827536c15ac27ebcc4e9c342be6e203248195f6)
|
|
or Long arguments.
(This used to be commit 2085595565b99295d04a6663aad1ccac5bc1b657)
|
|
that it can represent all the unsigned values
(This used to be commit 2593e1588355643bb76a9b8869573fe38fd3bc3e)
|
|
(This used to be commit a9c2817c79f675b82ace4e21df7fa123f9a995c3)
|
|
(This used to be commit 6be885da2ca0ee41db86c46625301b51858061af)
|
|
string types
(This used to be commit 30525aee33237f5b17e1067a96d09b7ee0a516a6)
|
|
rather than as just a string. Makes the code more messy, but needed
for compatibility with existing PSA Python code which seems to be too
knotty to separate out.
(This used to be commit 20d88a7d1e2a6d2daca29c5ffff3781197a97b57)
|
|
test_pack_failures: Remove cases for which old code is too lax.
(This used to be commit 631945a03a3bf4982177bc22ebccf096b2bb5b6c)
|
|
(This used to be commit 12c3bb99a5f870b01ef389ddad1073fc92d2362c)
|
|
values than are consumed.
(This used to be commit 0c1cfe559877d51090409d67f983a82bbbbaa7e2)
|
|
(This used to be commit 21e41866425c6f8bf04b08b3edd5bf70caf56e32)
|
|
many data values for the format. Test that the new code behaves the
same way.
(This used to be commit b0143e77d64f6af977395cf39e50f35e46486157)
|
|
many data values for the format, so we don't test that here.
test_large: New test case for packing/unpack a thousand values.
(This used to be commit 04cad599f40faf234b40090806bcd1ac0473470f)
|
|
non-string is used with a string format code. (It was being generated
but not thrown.)
Also call checked versions of some functions rather than FAST_*
versions.
(This used to be commit 1b681bd524764deaef657ef41c39d037ac7dcc7b)
|
|
error detection, so now we don't care what exact error is returned as
long as we get something.
(This used to be commit 5ade138bb815d3184fa57ff9cb548f78405059c5)
|
|
compatible with the old code, and so it is removed from the test case.
(This used to be commit ed0e4a670d4d62b63afdaf7d9f13e39b98cdf1b2)
|
|
(This used to be commit 6945e89e2d10743635f01420c83d405a2d4cb356)
|
|
(This used to be commit 3a7f8a568e9d1608c2a065e0b98488e2d068911c)
|
|
Added some basic error handling. Just throw a RuntimeError exception
on error.
(This used to be commit 06caeed588f702814be76a2b2aa7ed43504adef5)
|