Commits

Author Commit Message Labels Comments Date
Colden Cullen
Added package.json for dub package management.
ariovistus
fixups for ldc release 0.12.1 we can get shared libs out of ldc now! gdc still can't, so let the user know. fix some bugs in RangeWrapper impl
ariovistus
update multi_index fix bug preventing compilation for 2.064 and later remove gc allocation from get_index
ariovistus
merge in new reference module
ariovistus
tried to support @safe functions failed for Def. It ain't gonna happen. So bomb out when user tries it. StaticDef should be able to, though.
ariovistus
centralize reference management we now have fewer containers holding references. we now have standard PyObject* mapping our d objects, with the mapping being held exclusively by the container. previously, going from our custom PyObject* to D object was simply dereferencing an embedded pointer. Now it requires a hash table lookup. hopefully this won't cause a significant slowdown. we now have stronger runtime checks in place …
ariovistus
goodbye, d_obj you won't be missed. rearranging pyd's python/d reference mapper update multi_index to ed3bb111bc5e
ariovistus
fix issue 14 make it possible to compile d and non-d in one package also, runtests.py gets a debug flag sneaked in here. k.
ariovistus
make PydObject's ctor docs a bit more explicit
ariovistus
datetime needs some love also, we might as well give issue 11 a unittest
Comments 1
ariovistus
Merged in aldanor/pyd (pull request #3) Fix Py_None compiler errors and make PyDateTime_IMPORT() refer to a global static.
Ivan Smirnov
Fixed Py_None compiler errors. Fixed PyDateTime_IMPORT() to refer to a global static.
ariovistus
begin impl for const awareness for classes: store mutability in python/d mapping when calling member functions, be aware of mutability of function and check that mutability of object matches. todo: provide functionality for pyd to create immutable wrapped objects all of the above for struct pointers maybe store immutable data as immutable(void)* not void* ? check mutability of parameters/arguments for wrapped types on a…
ariovistus
fix issue 7 wrapped_member handles readonly/writeonly properties incorrectly plus a typo in class_wrap
ariovistus
enable wrapped D objects to be made iterable by their ranges in python. remove mention of opApply from examples. readme.panache++
Paul O'Neil
Use posix_static_python_lib() instead of a hardcoded path
Paul O'Neil
Add python libraries to link options on OSX
Paul O'Neil
Use the same fix for dmd_osx as is used for dmd_linux
ariovistus
add d_lump option to glob all *.d into one compile command why didn't I do this ages ago?
ariovistus
workaround for dmd issue 7044 order of -ldl matters to linker for static python builds in pydexe.
ariovistus
fix deprecation warnings update multi_index python 3.3 dropped UCS2/UCS4 aliasing scheme dmd is default compiler for posix.
ariovistus
typos in my shared lib build
ariovistus
this file is important
ariovistus
hellooo dmd 2.063 can it truly be? shared libs with unittests and module constructors? goodbye dmd 2.062-. You made my life miserable. I won't miss you. Until I start dealing with these deprecation messages.
ariovistus
looks like pypy 2.0 will have some hooks we can use. also, dmd 2.063 will be able to build shared libs on linux that have working unittests and shared ctors!
ariovistus
the 'whatever, just work' merge commit
ariovistus
a unittest is breaking when built with ldc. probably deserved due to hackery in make_object. but got a makefile build where ldc segfaults on building pyd_unittests, so maybe I should just get a newer version. (currently on ldc w dmdfe 2.060)
ariovistus
fix pydexe link for python3 runtests.py works for python3 now! fix link unittest for python3
ariovistus
pydexe support static built python cuz you can't link against *.so files that ain't there (or that are there, but with python pretending they ain't because you configured it weirdly, <i> Ubuntu </i>) Don't know if extensions need to be built differently in static built python or if they even can.
ariovistus
pydexe works on linux now for ldc and dmd. ran into some annoying inconsistencies with dmd linking. can build pyd as rpm now. added some unittests to hopefully rule out bad linking before I spend too much time puzzling over the error message. made runtests.py a bit more featureful. still needs to be implemented for python 3, though
  1. Prev
  2. Next