Source

pyd / dcompiler.py

Author Commit Message Labels Comments Date
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
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
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
added d -> array.array conversion. moved numpy.ndarray conversion to pyd.extra.
ariovistus
hey, candydoc is nice. Add some doc to code merge dg_convert and lib_abstract into func_wrap got rid of some cruft duplicated in doc/ or the bitbucket wiki.
ariovistus
typo fix
ariovistus
celerid can now build on cygwin (though built things have problems yet)
ariovistus
We have operator overloading! ..at least for opBinary, opBinaryRight, opUnary, and opOpAssign. todo: opSlice, opIndex, opCmp, opEquals - should they be automatic or explicit? moved multi_index to util, which will contain assorted useful things.
ariovistus
added tuple Filter
ariovistus
I should read that readme more often
ariovistus
remove stackthreads support from celerid
ariovistus
Default can die, since we assume phobos always exists. missed some details when adding multi_index. Demangle needed some updating. Status now with linux 64 bit ldc2/dmd fe 2.059: arraytest, inherit, pyind, and rawexample work hello compiles and runs, but segfaults on exit testdll doesn't compile.
ariovistus
examples now compile and run, except testdll and inherit meta.Demangle is preventing testdll from compiling inherit is running, but then it segfaults, I guess when druntime tries to shut down
ariovistus
apparently Py_InitModule4 has some wonky stuff going on. added support for ldc2 hello world module is building, but bombing out with some enforce failing. druntime doesn't like to run without a _Dmain defined. hope this doesn't bite me later.
ariovistus
fixed up versioning scheme so Python_X_X_Or_Later actually does what you would expect
ariovistus
hello world! trying to resurrect pyd for a recent (~ dmd2.055) version of gdc. this is a d2 only build, and I'm hoping mostly to get it to work with python 2.7, although I am trying to make the python.d valid all the way back to 2.4.