1. Pypy
  2. Untitled project
  3. pypy

Source

pypy / pypy / translator / cli / rte.py

Author Commit Message Date Builds
Armin Rigo
For now, if you can't compile something needed by CLI, silently skip the test.
Armin Rigo
Finish the merge of trunk into pyjitpl5.
Antonio Cuni
(in-progress) copy the cli backend from the oo-jit branch
Antonio Cuni
whack until dynami method creation/invocation works in rpython
Antonio Cuni
a big refactoring of query.py. Now info about types are loaded per-assembly instead of per-class, and they are not cached in pypy/_cache; this is much faster, and removes all that crappy [cli:query] logs.
Antonio Cuni
the result of my travel from vilnius: tweak gencli until it generates .netmodules instead of .dll
Antonio Cuni
- add support to driver for building libraries instead of standalone executables (i.e., allowing more than one entry-point) - first steps to write a gencli's frontend which allow to compile a rpython module to a .NET dll; the draft name is SilveRPython, suggestions are welcome :-)
Antonio Cuni
When on windows, try to find if mono is installed and in that case use its ilasm2 for assembling files, because the one shipped with Microsoft CLR can't compile pypy-cli.
Antonio Cuni
kill the unused UnixDll
Antonio Cuni
We can't use the default os.path.join with ootype because we would get the version for the platform we did the translation on. Instead, rely on the backend doing the proper thing.
Antonio Cuni
Check for the presence of 'gmcs' only when really needed, not at import time. Thanks to fijal for the bug report.
Antonio Cuni
Add support for casting arbitrary RPython instances to System.Object using the box() function. This is very easy in the translated code, but tricky when using Python for .NET: see also the comment at the end of box().
Antonio Cuni
Automatically delete query-descriptions whenever query.cs has been modified.
Antonio Cuni
Automatically discover .NET type informations when requested by executing an external .NET utility. The type descriptions are cached and saved in the cli/query-descriptions file, so they don't need to be re-queried again next time. I coudn't set svn:ignore for query-descriptions because of a strange svn problem.
Antonio Cuni
(antocuni, cfbolz) Change the current directory back when finished.
Antonio Cuni
Python2.3 compatibilty
Antonio Cuni
Raise the appropriate OSError when trying to read from/write to a file descriptor that doesn't support so.
Antonio Cuni
Put ll_math helpers in a separate file.
Armin Rigo
Added some methods in ll_os.cs -- mostly unimplemented stubs -- to make pypy.net load again.
Antonio Cuni
Don't build pypylib-unix.dll when used as a script.
Antonio Cuni
Use pypylib-framework by default, because it seems that Mono.Posix have some bugs. Probably pypylib-unix will disappear in the future.
Antonio Cuni
Microsoft CLR is stricter than Mono when loading referenced assemblies, as it checks that the two manifests are consistent. This means that we need to compile pypylib.dll with the right name, else CLR complains. Moreover, don't reference PrebuiltGraphs for now, because they are not rendered when compiling standalone programs.
Antonio Cuni
- added the possibility of select the pypylib to use based on an environment variable; - prebuilt graphs are now grouped inside the PrebuiltGraphs class, because else they couldn't be accessed from C# code; - ll_os_open in ll_os.cs raises an appropriate OSError instead of returning a dummy file descriptor, using one of the prebuilt graphs we discussed above.
Antonio Cuni
The process for building pypylib.dll has been refactored: - rte.py can handle more complex "makefiles", including dependencies and compilation of non-C# files (i.e. ilasm) - pypylib.dll now depends on a stub main.exe assembly. This let pypylib to reference methods that we know will be present in the generated code even if they still doens't exist when compiling pypylib.dll - added a generic way to insert "prebuilt graphs" in the g…
Antonio Cuni
Have two separate versions of pypylib.dll, one for Unix (which can use Mono.Posix) and one that should run on every .NET Framework. Don't longer skip tests that were disabled for pypylib compatibility reasons.
Antonio Cuni
Added support for ll_os.stat and un-comment code that uses Mono.Posix. This will prevent gencli to work on Windows.
Antonio Cuni
Disable use of Mono.Posix to let things work on windows.
Antonio Cuni
Add some support for the ll_os module. The problem here is that the .NET framework does not directly expose the POSIX API, so it seems there is no portable way to access them both in Mono and CLR. By now it uses Mono-specific libraries, so it probably won't work on Windows.
Antonio Cuni
Global refactoring of how suggeste_primitive are handled. Now they are grouped in the Builtin class if pypylib.cs. Added support for some ll_math functions.
Antonio Cuni
- Added support for deleting items and slices in ootypesystem rlist - Added some ootypesystem tests in rpython/test/test_rlist.py - Improved support for lists in the CLI backend. At the moment two tests in test_rlist skip because they need to return a tuple of lists and ootypesystem doesn't support that, yet. TODO: Remove the skip as soon as ootypesystem is fixed.
  1. Prev
  2. 1
  3. 2
  4. Next