ctypes-commit Mailing List for ctypes (Page 20)
Brought to you by:
theller
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
(90) |
Jun
(143) |
Jul
(106) |
Aug
(94) |
Sep
(84) |
Oct
(163) |
Nov
(60) |
Dec
(58) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(128) |
Feb
(79) |
Mar
(227) |
Apr
(192) |
May
(179) |
Jun
(41) |
Jul
(53) |
Aug
(103) |
Sep
(28) |
Oct
(38) |
Nov
(81) |
Dec
(17) |
2006 |
Jan
(184) |
Feb
(111) |
Mar
(188) |
Apr
(67) |
May
(58) |
Jun
(123) |
Jul
(73) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Thomas H. <th...@us...> - 2006-03-03 19:42:29
|
Update of /cvsroot/ctypes/ctypes/source/gcc/libffi/src/CVS.gcc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17292 Removed Files: Root Repository Entries Log Message: Remove all files, will add them from 'branch_1_0' again. --- Root DELETED --- --- Repository DELETED --- --- Entries DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:42:24
|
Update of /cvsroot/ctypes/ctypes/source/gcc/libffi/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17224 Removed Files: ffi_common.h ffi.h.in Makefile.in Makefile.am Log Message: Remove all files, will add them from 'branch_1_0' again. --- Makefile.in DELETED --- --- ffi_common.h DELETED --- --- ffi.h.in DELETED --- --- Makefile.am DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:42:18
|
Update of /cvsroot/ctypes/ctypes/source/gcc/libffi/include/CVS.gcc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17160 Removed Files: Root Repository Entries Log Message: Remove all files, will add them from 'branch_1_0' again. --- Root DELETED --- --- Repository DELETED --- --- Entries DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:42:11
|
Update of /cvsroot/ctypes/ctypes/source/gcc/libffi/CVS.gcc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16934 Removed Files: Root Repository Entries Log Message: Remove all files, will add them from 'branch_1_0' again. --- Root DELETED --- --- Repository DELETED --- --- Entries DELETED --- |
Update of /cvsroot/ctypes/ctypes/source/gcc/gcc/testsuite/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16800 Removed Files: wrapper.exp treelang.exp treelang-dg.exp target-supports.exp target-supports-dg.exp target-libpath.exp scantree.exp scanasm.exp prune.exp profopt.exp objc.exp objc-torture.exp objc-dg.exp mike-gcc.exp mike-g++.exp gfortran.exp gfortran-dg.exp gcov.exp gcc.exp gcc-dg.exp gcc-defs.exp g++.exp g++-dg.exp fortran-torture.exp file-format.exp dg-pch.exp copy-file.exp compat.exp c-torture.exp Log Message: Remove all files, will add them from 'branch_1_0' again. --- gcc-defs.exp DELETED --- --- gcc.exp DELETED --- --- mike-gcc.exp DELETED --- --- c-torture.exp DELETED --- --- treelang-dg.exp DELETED --- --- profopt.exp DELETED --- --- treelang.exp DELETED --- --- objc.exp DELETED --- --- g++-dg.exp DELETED --- --- mike-g++.exp DELETED --- --- copy-file.exp DELETED --- --- target-libpath.exp DELETED --- --- prune.exp DELETED --- --- objc-torture.exp DELETED --- --- gfortran-dg.exp DELETED --- --- gcov.exp DELETED --- --- gfortran.exp DELETED --- --- wrapper.exp DELETED --- --- target-supports-dg.exp DELETED --- --- target-supports.exp DELETED --- --- g++.exp DELETED --- --- scanasm.exp DELETED --- --- fortran-torture.exp DELETED --- --- scantree.exp DELETED --- --- objc-dg.exp DELETED --- --- dg-pch.exp DELETED --- --- file-format.exp DELETED --- --- compat.exp DELETED --- --- gcc-dg.exp DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:41:56
|
Update of /cvsroot/ctypes/ctypes/source/gcc/gcc/testsuite/lib/CVS.gcc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16729 Removed Files: Root Repository Entries Log Message: Remove all files, will add them from 'branch_1_0' again. --- Root DELETED --- --- Repository DELETED --- --- Entries DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:41:51
|
Update of /cvsroot/ctypes/ctypes/source/darwin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16677 Removed Files: dlfcn_simple.c dlfcn.h README.Thomas README LICENSE Log Message: Remove all files, will add them from 'branch_1_0' again. --- README DELETED --- --- dlfcn_simple.c DELETED --- --- dlfcn.h DELETED --- --- README.Thomas DELETED --- --- LICENSE DELETED --- |
Update of /cvsroot/ctypes/ctypes/samples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16617 Removed Files: test_time.py test_strchr.py test_clib.py test_argcount.py rt23.bat rt.bat rt README.txt .cvsignore Log Message: Remove all files, will add them from 'branch_1_0' again. --- .cvsignore DELETED --- --- rt DELETED --- --- test_time.py DELETED --- --- test_strchr.py DELETED --- --- test_argcount.py DELETED --- --- test_clib.py DELETED --- --- rt23.bat DELETED --- --- README.txt DELETED --- --- rt.bat DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:41:40
|
Update of /cvsroot/ctypes/ctypes/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16526 Removed Files: updateweb.cmd tutorial.stx sum_sample.stx reference.stx make_html.py internals.stx index.stx faq.stx default.css com.stx changes.stx .cvsignore Log Message: Remove all files, will add them from 'branch_1_0' again. --- .cvsignore DELETED --- --- com.stx DELETED --- --- tutorial.stx DELETED --- --- updateweb.cmd DELETED --- --- changes.stx DELETED --- --- faq.stx DELETED --- --- index.stx DELETED --- --- make_html.py DELETED --- --- sum_sample.stx DELETED --- --- reference.stx DELETED --- --- internals.stx DELETED --- --- default.css DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:41:40
|
Update of /cvsroot/ctypes/ctypes/samples/Windows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16580 Removed Files: test_word.py test_enumwindows_mt.py test_enumwindows.py test_com.py browseforfolder.py VersionInfo.py GetSystemInfo.py GetDiskFreeSpaceEx.py GetClassInfo.py FindFile.py COM.py .cvsignore Log Message: Remove all files, will add them from 'branch_1_0' again. --- .cvsignore DELETED --- --- FindFile.py DELETED --- --- test_enumwindows_mt.py DELETED --- --- COM.py DELETED --- --- browseforfolder.py DELETED --- --- VersionInfo.py DELETED --- --- GetSystemInfo.py DELETED --- --- test_com.py DELETED --- --- GetClassInfo.py DELETED --- --- test_word.py DELETED --- --- test_enumwindows.py DELETED --- --- GetDiskFreeSpaceEx.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:41:34
|
Update of /cvsroot/ctypes/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16494 Removed Files: util.py decorators.py __init__.py .cvsignore .CTYPES_DEVEL Log Message: Remove all files, will add them from 'branch_1_0' again. --- .cvsignore DELETED --- --- decorators.py DELETED --- --- .CTYPES_DEVEL DELETED --- --- util.py DELETED --- --- __init__.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:41:22
|
Update of /cvsroot/ctypes/ctypes/ctypes/wrap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16440 Removed Files: xml2py.py typedesc.py h2xml.py gccxmlparser.py cparser_config.py cparser.py codegenerator.py codegen.txt __init__.py .cvsignore Log Message: Remove all files, will add them from 'branch_1_0' again. --- .cvsignore DELETED --- --- xml2py.py DELETED --- --- h2xml.py DELETED --- --- codegenerator.py DELETED --- --- cparser_config.py DELETED --- --- codegen.txt DELETED --- --- typedesc.py DELETED --- --- __init__.py DELETED --- --- gccxmlparser.py DELETED --- --- cparser.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:41:20
|
Update of /cvsroot/ctypes/ctypes/ctypes/macholib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16398 Removed Files: framework.py dylib.py dyld.py __init__.py README.ctypes .cvsignore Log Message: Remove all files, will add them from 'branch_1_0' again. --- .cvsignore DELETED --- --- README.ctypes DELETED --- --- __init__.py DELETED --- --- dyld.py DELETED --- --- framework.py DELETED --- --- dylib.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:41:09
|
Update of /cvsroot/ctypes/ctypes/comtypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16108 Removed Files: typeinfo.py custom.py automation.py __init__.py GUID.py .cvsignore Log Message: Remove all files, will add them from 'branch_1_0' again. --- .cvsignore DELETED --- --- GUID.py DELETED --- --- automation.py DELETED --- --- __init__.py DELETED --- --- typeinfo.py DELETED --- --- custom.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:41:04
|
Update of /cvsroot/ctypes/ctypes/comtypes/unittests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16021 Removed Files: test_typeinfo.py test_basic.py test_GUID.py runtests.py .cvsignore Log Message: Remove all files, will add them from 'branch_1_0' again. --- .cvsignore DELETED --- --- test_basic.py DELETED --- --- test_GUID.py DELETED --- --- test_typeinfo.py DELETED --- --- runtests.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:40:55
|
Update of /cvsroot/ctypes/ctypes/comtypes/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15966 Removed Files: typedesc.py tlbparser.py helpers.py codegenerator.py __init__.py .cvsignore Log Message: Remove all files, will add them from 'branch_1_0' again. --- .cvsignore DELETED --- --- tlbparser.py DELETED --- --- codegenerator.py DELETED --- --- helpers.py DELETED --- --- typedesc.py DELETED --- --- __init__.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:40:52
|
Update of /cvsroot/ctypes/ctypes/comtypes/samples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15905 Removed Files: mstask.py __init__.py .cvsignore Log Message: Remove all files, will add them from 'branch_1_0' again. --- .cvsignore DELETED --- --- __init__.py DELETED --- --- mstask.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:40:45
|
Update of /cvsroot/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15826 Removed Files: setup.py run_remote_test.py remotetest.py env.bat ctypes-dev.el cover WARNING! README.txt README.CVS NEWS.txt MANIFEST.windows.in MANIFEST.other.in LICENSE.txt ChangeLog ANNOUNCE ACKS .cvsignore Log Message: Remove all files, will add them from 'branch_1_0' again. --- .cvsignore DELETED --- --- MANIFEST.other.in DELETED --- --- ctypes-dev.el DELETED --- --- env.bat DELETED --- --- ChangeLog DELETED --- --- run_remote_test.py DELETED --- --- cover DELETED --- --- MANIFEST.windows.in DELETED --- --- NEWS.txt DELETED --- --- remotetest.py DELETED --- --- WARNING! DELETED --- --- ACKS DELETED --- --- README.CVS DELETED --- --- ANNOUNCE DELETED --- --- setup.py DELETED --- --- LICENSE.txt DELETED --- --- README.txt DELETED --- |
From: Thomas H. <th...@us...> - 2006-03-03 19:12:55
|
Update of /cvsroot/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26057 Modified Files: Tag: branch_1_0 ChangeLog Log Message: *** empty log message *** Index: ChangeLog =================================================================== RCS file: /cvsroot/ctypes/ctypes/ChangeLog,v retrieving revision 1.86.2.48 retrieving revision 1.86.2.49 diff -C2 -d -r1.86.2.48 -r1.86.2.49 *** ChangeLog 3 Mar 2006 17:16:50 -0000 1.86.2.48 --- ChangeLog 3 Mar 2006 19:12:52 -0000 1.86.2.49 *************** *** 1,4 **** --- 1,8 ---- 2006-03-03 Thomas Heller <th...@py...> + * ctypes/__init__.py, ctypes/test/test_sizes.py: Added c_int8, + c_int16, c_int32, c_int64, c_uint8, c_uint16, c_uint32, c_uint64 + types. Patch and unittest provided by Joe Wreschnig. + * (Repository): Removed the codegenerator in ctypes/wrap completely. The last state has been tagged in CVS as |
From: Thomas H. <th...@us...> - 2006-03-03 19:10:49
|
Update of /cvsroot/ctypes/ctypes/ctypes/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24414 Added Files: Tag: branch_1_0 test_sizes.py Log Message: Patch from Joe Wreschnig for sized integers. --- NEW FILE: test_sizes.py --- # Test specifically-sized containers. import unittest from ctypes import * class SizesTestCase(unittest.TestCase): def test_8(self): self.failUnlessEqual(1, sizeof(c_int8)) self.failUnlessEqual(1, sizeof(c_uint8)) def test_16(self): self.failUnlessEqual(2, sizeof(c_int16)) self.failUnlessEqual(2, sizeof(c_uint16)) def test_32(self): self.failUnlessEqual(4, sizeof(c_int32)) self.failUnlessEqual(4, sizeof(c_uint32)) def test_64(self): self.failUnlessEqual(8, sizeof(c_int64)) self.failUnlessEqual(8, sizeof(c_uint64)) if __name__ == "__main__": unittest.main() |
From: Thomas H. <th...@us...> - 2006-03-03 19:10:44
|
Update of /cvsroot/ctypes/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24321 Modified Files: Tag: branch_1_0 __init__.py Log Message: Patch from Joe Wreschnig for sized integers. Index: __init__.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/ctypes/__init__.py,v retrieving revision 1.61.2.36 retrieving revision 1.61.2.37 diff -C2 -d -r1.61.2.36 -r1.61.2.37 *** __init__.py 3 Mar 2006 17:16:22 -0000 1.61.2.36 --- __init__.py 3 Mar 2006 19:10:39 -0000 1.61.2.37 *************** *** 479,480 **** --- 479,493 ---- from ctypes._endian import BigEndianStructure, LittleEndianStructure + + # Fill in specifically-sized types + c_int8 = c_byte + c_uint8 = c_ubyte + for kind in [c_short, c_int, c_long, c_longlong]: + if sizeof(kind) == 2: c_int16 = kind + elif sizeof(kind) == 4: c_int32 = kind + elif sizeof(kind) == 8: c_int64 = kind + for kind in [c_ushort, c_uint, c_ulong, c_ulonglong]: + if sizeof(kind) == 2: c_uint16 = kind + elif sizeof(kind) == 4: c_uint32 = kind + elif sizeof(kind) == 8: c_uint64 = kind + del(kind) |
From: Thomas H. <th...@us...> - 2006-03-03 17:47:19
|
Update of /cvsroot/ctypes/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18044 Modified Files: Tag: branch_1_0 _loader.py Log Message: Add a 'load_library' method to the library loader class. This directly passes the supplied name to the platform's dlopen() or LoadLibrary() call. For backwards compatibility, this method is also available under the alias name 'LoadLibrary'. Index: _loader.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/ctypes/Attic/_loader.py,v retrieving revision 1.1.2.12 retrieving revision 1.1.2.13 diff -C2 -d -r1.1.2.12 -r1.1.2.13 *** _loader.py 26 Jan 2006 21:02:49 -0000 1.1.2.12 --- _loader.py 3 Mar 2006 17:47:15 -0000 1.1.2.13 *************** *** 112,115 **** --- 112,130 ---- return self._load(libname, mode) + def load_library(self, libname, mode=None): + """Load and return the library with the given libname. This + method passes the specified 'libname' directly to the + platform's library loading function (dlopen, or LoadLibrary). + + 'mode' allows to override the default flags specified in the + constructor, it is ignored on Windows. + """ + if mode is None: + mode = self._mode + return self._dlltype(libname, mode) + + # alias name for backwards compatiblity + LoadLibrary = load_library + # Helpers for load and load_version - assembles a filename from name and filename if os.name in ("nt", "ce"): *************** *** 121,126 **** return self.load(name, mode) ! def _load(self, libname, mode): ! return self._dlltype(libname, mode) elif os.name == "posix" and sys.platform == "darwin": --- 136,140 ---- return self.load(name, mode) ! _load = load_library elif os.name == "posix" and sys.platform == "darwin": *************** *** 137,141 **** except ValueError: raise OSError("Library %s could not be found" % libname) ! return self._dlltype(pathname, mode) elif os.name == "posix": --- 151,155 ---- except ValueError: raise OSError("Library %s could not be found" % libname) ! return self.load_library(pathname, mode) elif os.name == "posix": *************** *** 146,151 **** return self.load("lib%s.so" % name, mode) ! def _load(self, libname, mode): ! return self._dlltype(libname, mode) else: --- 160,164 ---- return self.load("lib%s.so" % name, mode) ! _load = load_library else: *************** *** 154,159 **** return self.load(name, mode) ! def _load(self, libname, mode): ! return self._dlltype(libname, mode) def load_version(self, name, version=None, mode=None): --- 167,171 ---- return self.load(name, mode) ! _load = load_library def load_version(self, name, version=None, mode=None): |
From: Thomas H. <th...@us...> - 2006-03-03 17:16:54
|
Update of /cvsroot/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30053 Modified Files: Tag: branch_1_0 ChangeLog Log Message: Change version number to 0.9.9.4. Index: ChangeLog =================================================================== RCS file: /cvsroot/ctypes/ctypes/ChangeLog,v retrieving revision 1.86.2.47 retrieving revision 1.86.2.48 diff -C2 -d -r1.86.2.47 -r1.86.2.48 *** ChangeLog 3 Mar 2006 16:26:32 -0000 1.86.2.47 --- ChangeLog 3 Mar 2006 17:16:50 -0000 1.86.2.48 *************** *** 5,8 **** --- 5,10 ---- 'BEFORE_REMOVAL'. It will be revived later - not yet sure where. + * Changed the version number to 0.9.9.4. + 2006-03-01 Thomas Heller <th...@py...> |
From: Thomas H. <th...@us...> - 2006-03-03 17:16:36
|
Update of /cvsroot/ctypes/ctypes/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29868 Modified Files: Tag: branch_1_0 _ctypes.c Log Message: Change version number to 0.9.9.4. Index: _ctypes.c =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/_ctypes.c,v retrieving revision 1.226.2.54 retrieving revision 1.226.2.55 diff -C2 -d -r1.226.2.54 -r1.226.2.55 *** _ctypes.c 21 Feb 2006 19:39:04 -0000 1.226.2.54 --- _ctypes.c 3 Mar 2006 17:16:30 -0000 1.226.2.55 *************** *** 4456,4460 **** PyModule_AddObject(m, "FUNCFLAG_CDECL", PyInt_FromLong(FUNCFLAG_CDECL)); PyModule_AddObject(m, "FUNCFLAG_PYTHONAPI", PyInt_FromLong(FUNCFLAG_PYTHONAPI)); ! PyModule_AddStringConstant(m, "__version__", "0.9.9.3"); PyModule_AddObject(m, "_memmove_addr", PyLong_FromVoidPtr(memmove)); --- 4456,4460 ---- PyModule_AddObject(m, "FUNCFLAG_CDECL", PyInt_FromLong(FUNCFLAG_CDECL)); PyModule_AddObject(m, "FUNCFLAG_PYTHONAPI", PyInt_FromLong(FUNCFLAG_PYTHONAPI)); ! PyModule_AddStringConstant(m, "__version__", "0.9.9.4"); PyModule_AddObject(m, "_memmove_addr", PyLong_FromVoidPtr(memmove)); |
From: Thomas H. <th...@us...> - 2006-03-03 17:16:27
|
Update of /cvsroot/ctypes/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29752 Modified Files: Tag: branch_1_0 __init__.py Log Message: Change version number to 0.9.9.4. Index: __init__.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/ctypes/__init__.py,v retrieving revision 1.61.2.35 retrieving revision 1.61.2.36 diff -C2 -d -r1.61.2.35 -r1.61.2.36 *** __init__.py 28 Feb 2006 20:59:42 -0000 1.61.2.35 --- __init__.py 3 Mar 2006 17:16:22 -0000 1.61.2.36 *************** *** 11,15 **** del _magicfile ! __version__ = "0.9.9.3" from _ctypes import Union, Structure, Array --- 11,15 ---- del _magicfile ! __version__ = "0.9.9.4" from _ctypes import Union, Structure, Array |