Permalink
Switch branches/tags
Nothing to show
Commits on Aug 17, 2013
  1. * Extended strings/join.py

    Christian Iversen committed Aug 11, 2013
  2. * Fixed str.join and a boxing bug in str.replace

    Christian Iversen committed Aug 11, 2013
  3. * Re-implemented str.replace() to avoid infinite loops and properly …

    Christian Iversen committed Aug 11, 2013
    …support count
  4. * Improved tests for str.replace

    Christian Iversen committed Aug 11, 2013
  5. + Added a test for the slice type

    Christian Iversen committed Aug 11, 2013
  6. + Added test for list.remove

    Christian Iversen committed Aug 11, 2013
  7. + Added another case to tests/list/reverse

    Christian Iversen committed Aug 11, 2013
  8. * Optimized list.PY$reverse by using js .reverse()

    Christian Iversen committed Aug 11, 2013
  9. * Handle KeyboardInterrupt like in python, in the cli

    Christian Iversen committed Aug 11, 2013
  10. * Do not eat first code line, now that jsprinter does not output spu…

    Christian Iversen committed Aug 11, 2013
    …rious load()
  11. * Fixed filename in clean target

    Christian Iversen committed Aug 11, 2013
  12. + Added support for __setslice__ in list. It now uses $PY.indices()

    Christian Iversen committed Aug 11, 2013
       to get the correct indices.
  13. * Make slice object use $PY.indices()

    Christian Iversen committed Aug 11, 2013
  14. + Implemented $PY.indices() which compute the start and stop indices

    Christian Iversen committed Aug 11, 2013
       for a slice on a given length. It is surprisingly hard to get
       right, so I used the CPython algorithm as an inspiration. Funnily
       enough, the sliceobject.c from CPython has the comment "This is
       surprisingly hard to get right". No kidding.
  15. - Removed assign_slice_step from KtF

    Christian Iversen committed Aug 11, 2013
  16. * Updated list slice tests

    Christian Iversen committed Aug 11, 2013
  17. - Avoid generating extra load() line in jsprinter, since this will

    Christian Iversen committed Aug 11, 2013
       lead to double-loading the stdlib. This makes the test suite take a
       full second less!
  18. * Support all combinations of lower, upper and step values in both

    Christian Iversen committed Aug 11, 2013
       getting and setting slices
  19. * Allow negative step values in tuple/list.__getitem__

    Christian Iversen committed Aug 11, 2013
  20. - Removed object.valueOf() which allows transparent JS-ification of

    Christian Iversen committed Aug 11, 2013
       values. Unfortunately, it is not supported in IE... *sigh*
     * Change invocations of PY$__create__ and PY$__call__ to use "null"
       as the object, instead of {}.
  21. * Updated assign-slice tests

    Christian Iversen committed Aug 11, 2013
  22. + Enable casetest to use $JS to explicitly specify javascript engine

    Christian Iversen committed Aug 11, 2013
     * Use new import-each mode in casetest
  23. + Added a new generate option: import-each. This generates a load()

    Christian Iversen committed Aug 11, 2013
       line for each piece of the stdlib. This makes it much easier to do
       debugging, since line numbers and filenames in backtraces will be
       correct.
  24. + Make casetest output the output when js and py matches

    Christian Iversen committed Aug 11, 2013
  25. + Added comprehensive slicing test

    Christian Iversen committed Aug 11, 2013
  26. * Simplified compiler by adding function jsfier.purecall() which

    Christian Iversen committed Aug 7, 2013
       translates the code into either a $PY.call() proxy, or a direct
       prefix-self call if the self value can be guaranteed to be
       side-effect free (currently, if it is of type IName)
  27. * Updated LICENSE to reflect copyright status

    Christian Iversen committed Aug 7, 2013
  28. * Updated last copyright headers. Verified that now-removed authors

    Christian Iversen committed Aug 7, 2013
       no longer have any current code in the files. Thus, they are
       removed from the copyright clause.
  29. + Added simple test for descriptor protocol

    Christian Iversen committed Aug 7, 2013
  30. + Added test for custom hashing functions

    Christian Iversen committed Aug 7, 2013
  31. + Added test for class setattr

    Christian Iversen committed Aug 7, 2013
  32. + Added tests for print and nested class inheritance

    Christian Iversen committed Aug 7, 2013