Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Tuesday, May 26 2009
Fixes broken memory limit test. Keij... was committed by Paul Davis at 10:42 AM
Monday, May 25 2009
Remove spurious debugging statements.... was committed by Paul J. Davis at 4:00 PM
17 Segmentation Fault in add_prop was updated
  • Paul J. Davis
    • State changed from new to resolved
    by Paul J. Davis at 3:12 PM

    (from [888e8cbfd959f18273ac69c9910a952bd883ea04]) [#17] Fix context properties when value is null.

    Thanks to Spahl for the report, patch, and test, and general ...

  • Paul J. Davis
    Paul J. Davis commented at 3:12 PM

    (from [888e8cbfd959f18273ac69c9910a952bd883ea04]) [#17] Fix context properties when value is null.

    Thanks to Spahl for the report, patch, and test, and general ...

  • seb
    seb created the ticket at 10:08 AM

    When doing this:

    >>> rt = spidermonkey.Runtime()
    >>> cx = rt.new_context()
    >>> cx.execute("test = null;")
    

    the program segfaults because:

    JSVAL_IS_OBJECT(JSVA...
[#17] Fix context properties when val... was committed by Paul J. Davis at 3:12 PM
Monday, May 18 2009
Version 0.1.0 was updated by Paul J. Davis at 7:39 PM
 
3 of 5 tickets remain in this milestone
16 TypeError: bad argument type for built-in operation was updated
  • Paul J. Davis
    Paul J. Davis commented at 7:33 PM

    I should've mentioned in the commit, but property access by anything other than an integer or string won't work as Spidermonkey will convert anything else to a ...

  • Paul J. Davis
    • State changed from new to resolved
    by Paul J. Davis at 7:32 PM

    (from [e75f991342e41d62647aa5f557eaff784598ff4b]) Fix integer property lookups.

    >>> rt = spidermonkey.Runtime()
    >>> cx = rt.new_context()
    >>> cx.add_global("ba...
  • Paul J. Davis
    Paul J. Davis commented at 4:55 PM

    seb,

    Now that you tracked that down I realize that the error is that I was
    being a moron and only allowing string values as keys there. When I
    get home I'll upd...

  • seb
    seb commented at 4:51 PM

    I fixed the bug.

    git://github.com/spahl/python-spidermonkey.git

    There is still a problem left, it doesn't work in this case:

    test = {1.1 : 0}
    test[1.1]
    

    ps: so...

  • Paul J. Davis
    Paul J. Davis commented at 1:05 PM

    Most odd. Nothing comes to mind off the top of my head. I'll take a
    closer look when I get home tonight.

    Thanks for the report.

1 earlier change…
  • seb
    seb created the ticket at 12:32 PM

    I added this test to test/test-object.py:

    @t.cx() def test_array_access(cx):

    cx.add_global("test", [1, 2, 3])
    t.eq(cx.execute("test[0]"), 1)
    

    It fails with thi...

1 Enumerate Python objects in JavaScript was updated
Fix integer property lookups. >>... was committed by Paul Davis at 7:32 PM
Sunday, May 17 2009
Fixes global handling of "function fo... was committed by Paul Davis at 5:02 PM
Saturday, May 16 2009
15 `test_exceed_time` fails on JeOS was updated
  • Paul J. Davis
    • State changed from open to resolved
    by Paul J. Davis at 5:57 PM

    Awesome. I'm gonna close this ticket but when I get a chance at work I'll see if I can't find something more better than to limit time ranges to int's.

  • Mike West
    Mike West commented at 5:52 PM

    Looks good, Paul. :)

    You're correct: I'm running JeOS 64 bit inside VMWare. I pulled the latest trunk, and the max time tests pass. Nice work.. and quick!

  • Paul J. Davis
    Paul J. Davis commented at 4:59 PM

    Mike,

    Can you pull trunk and see if the new test works for you? If not I'm pretty certain it has to do with the type conversions I'm doing in max_time. Are you ...

  • Paul J. Davis
    • State changed from new to open
    by Paul J. Davis at 4:57 PM

    (from [4134ea66e00b6c6b1d80266ef61073d836a81477]) Fix for time limit constraints.

    The root bug I think has to do with conversions between integral types. I
    chan...

  • Mike West
    Mike West commented at 9:48 AM

    test_get_set_limits fails as well. I was going to file another bug for that issue, but now that I look at it, I think it's related. max_time doesn't appear to c...

1 earlier change…
  • Mike West
    Mike West created the ticket at 9:44 AM

    On a minimal JeOS (Ubuntu-based) system, test_exceed_time fails. It fails in a particularly exciting way, in that it gets stuck in an infinite loop and sucks up...

5 Missing dependancy was updated
Updated the README for pkg-config dep... was committed by Paul Davis at 5:06 PM
Fix for time limit constraints. The ... was committed by Paul Davis at 4:57 PM
11 Allow linking to system spidermonkey library was updated
  • Paul J. Davis
    Paul J. Davis commented at 12:13 AM

    Just an update, the mozilla guys say that they're hopefully going to cut an RC in the next week or so. As soon as that's out I'm going to either create a port f...

Thursday, May 14 2009
14 Uncatchable Exception when writing malformed octal constants was updated
  • Paul J. Davis
    • State changed from open to resolved
    by Paul J. Davis at 12:13 PM

    No problem. Keep an eye out for an update whenever Spidermonkey 1.8.1 is released.

  • Riccardo Pelizzi
    Riccardo Pelizzi commented at 12:10 PM

    My bad, i didn't notice that a new version was out. I pulled the 0.0.5 on the 9th :-)
    It is indeed working on the 0.0.6
    thanks!

  • Paul J. Davis
    • State changed from new to open
    by Paul J. Davis at 11:55 AM

    Ricardo,

    I committed a test that shows (at least here) that the generated JSError is in fact catchable. Can you check the tests on your machine? They can be run...

  • Riccardo Pelizzi
    Riccardo Pelizzi created the ticket at 10:23 AM

    Hi,

    Octal constants in javascript are written with a leading zero. "07" is 7, "08" and "09" are not legal constants and they give the following error in the spi...

Test for invalid octal. I added a te... was committed by Paul Davis at 11:51 AM
Tuesday, May 12 2009
11 Allow linking to system spidermonkey library was updated
  • Paul J. Davis
    Paul J. Davis commented at 1:30 AM

    Mark,

    I think I just realized the issue I'm having. I was poking through the strings in libmozjs and I realized that the binary says 1.8.0 (even though the pkg-...

  • Paul J. Davis
    Paul J. Davis commented at 12:05 AM

    Ahh. My current D-Day for removing the internal spidermonkey is when spidermonkey 1.8 hits mac ports. The js_DefineProperty functions are actually public API in...

Monday, May 11 2009
11 Allow linking to system spidermonkey library was updated
  • Mark Lee
    Mark Lee commented at 11:40 PM

    This article was my main motivation:

    http://blog.flameeyes.eu/2009/01...

    (Short version: if I want to try to add python-spidermonkey to Gentoo, bundled librari...

  • Paul J. Davis
    Paul J. Davis commented at 11:00 PM

    Hmmm. This is starting to get fairly complicated. What was the original motivation to link against a system library instead of using the linked in version?

  • Mark Lee
    Mark Lee commented at 10:51 PM

    Ah, I see. I adjusted my LDFLAGS so that it links with --no-undefined, and obviously, it couldn't find js_{Define,Delete,Get,Set}Property. (Note: by default, I ...

  • Paul J. Davis
    Paul J. Davis commented at 9:53 PM

    Whoops, I somehow managed to s/Mark/Matt/ even though I double checked right before writing that. :/

    Does the new version of python-spidermonkey work for you th...

  • Mark Lee
    Mark Lee commented at 9:43 PM

    I'm not entirely sure who Matt is :)

    Seriously though, it looks like only JS_DefineProperty is consistently exported in all of the versions of spidermonkey that...

2 earlier changes…
  • Paul J. Davis
    Paul J. Davis commented at 9:08 PM

    Matt,

    Can you check your system's libmozjs library to see if it exports a function _js_DefineProperty?

    $ nm /path/to/libmozjs.so | grep _js_DefineProperty
    
    

    Th...

  • Paul J. Davis
    • Milestone set to Version 0.1.0
    by Paul J. Davis at 1:34 AM
12 Memory / CPU script limits was updated
  • Paul J. Davis
    Paul J. Davis commented at 9:21 PM

    (from [c29ad86edfb992056dbc4b9f1c10f909149abe04]) Updated the README. Thanks Mark Lee.

    [#12] http://github.com/davisp/python-...

  • Paul J. Davis
    Paul J. Davis commented at 9:11 PM

    (from [584ba6f0e3e7078d4a0eeed0c4094a31703a643a]) Updates to the build system.

    Linking against the library works, but importing spidermonkey kills the Python VM...

  • Paul J. Davis
    • State changed from new to resolved
    by Paul J. Davis at 1:10 AM

    (from [28d3cd5ec06a60b8a4824eaa46ac13e41d7108a4]) Change exception types for resource exhaustion.

    Out of memory is now signaled by a MemoryError Too much CPU ti...

Updated the README. Thanks Mark Lee. ... was committed by Paul Davis at 9:21 PM
Updates to the build system. Linking... was committed by Paul Davis at 9:11 PM
Minor fixes. Forgot to comment out a... was committed by Paul Davis at 11:07 AM
Version 0.1.0 was created by Paul J. Davis at 1:34 AM
 
3 of 5 tickets remain in this milestone
Version number bump. http://github.co... was committed by Paul Davis at 1:14 AM
Change exception types for resource e... was committed by Paul Davis at 1:10 AM