Commits

Author Commit Message Labels Comments Date
ariovistus
added some compile flags unittest, property, string_imports
ariovistus
add pydexe command to celerid Now celerid can build d apps which embed python with pyd. Looks like --optimize was a bit flimsy, so shored that up. Removed some obsolete build flags (such as with-meta)
ariovistus
fix for winxp
ariovistus
fix for python 3
ariovistus
windows tup config also, pyd extensions weren't building for 3.2. still don't work
ariovistus
fix setup.py for python 3 also don't copy everything into build
ariovistus
experiment with the tup build system. is pretty cool. will it work on windows? tried coaxing a shared lib out of gdc. no dice.
ariovistus
conversion of d string to python unicode through ctypes got a 32 bit shared lib out of dmd on linux!
ariovistus
playing with ctypes some ddoc touchups
ariovistus
allow python to skip d default arguments add error message when an invalid keyword argument is given.
ariovistus
give InterpContext a mechanism to pass things from d to python and vice versa
ariovistus
Oh, Ubuntu, how I love thee. A difference in configuration of ld on ubuntu vs fedora was causing phobos-ldc to not get linked in to extensions
ariovistus
added build_deimos extension flag fixed global data linking for ldc. missed an override for incoming 2.061 initialize pyd.RangeWrapper in extensions.
ariovistus
fixes for pending 2.061 there is a std.typetuple.Filter override enforcement is stricter __traits(compiles, Type.fun( <stuff> )) is no longer true PydInputRange is a struct, if value is copied, iter's refcount must be incremented
ariovistus
hey, look! there's a ParameterDefaultValueTuple template in std.traits! How useful!
ariovistus
Fix issue 1. Linking to global vars from dll requires "extern export" attributes. Added appropriate unittest to deimos_unittests scons won't build things on windows (but if it did, it would build my unittests) added some powershell scripts for the meantime pyd.def wants util.conv's module info for some dumb reason Extension examples work again. dmd 2.060/win32 CeleriD should always supply infrastructure as…
ariovistus
goodbye, old python deimos headers!
ariovistus
apparently conversion for delegates and fps didn't work. now it does. added some playing with multithreading and pyd. seems not to die too horribly.
ariovistus
added InterpContext
ariovistus
we generate pyd and deimos ddoc separately now (since deimos is very dependent on version of python)
ariovistus
deimos headers are ddoc'd bye bye, Char1. you were always meant to be const(char), even if python capi is very conservative about change.
ariovistus
added a d -> python bytes function.
ariovistus
all unittests compile for python 3.2!
ariovistus
implemented extended slicing for python 2 at least. python 3 is throwing compilation fits.
ariovistus
implement extending embedded python 3. it is slightly different than python2, but we seem to have both working. tp_compare goes away in python 3, so we now use tp_richcompare for both 2 and 3 sq_slice, sq_ass_slice go away in python 3, which favors the extended slicing api only. python 2 supports it too, so we'll implement it here in a jiffy. pyd.embedded no longer calls py_init, because now where to call add_module and friends is now python-version-dependent. Use of on_py_init is necessary. pyind3 is working at least!
ariovistus
first pass at pyd for python 3. compilation works intializing embedded python seems to work a bit differently, though
ariovistus
switched pyd to use deimos headers. calling substitute_and_alias broke link, so it's out (sort of). embedding python works! fixed some holdovers in deimos.python.object
ariovistus
Py_DECREF caused link to break. now it doesn't. dedicate a suite of unittests for deimos headers. really necessary, as this is some weird voodoo, getting stuff to link sans object file
ariovistus
Py_XINCREF caused linker to require ModuleInfos. now it don't.
ariovistus
add some const(char)* where they should probably go anyways
  1. Prev
  2. Next