Opened 13 years ago

Closed 13 years ago

#734 closed task (fixed)

Upgrade SpiderMonkey again

Reported by: Philip Taylor Owned by: philip
Priority: Should Have Milestone: Alpha 7
Component: Core engine Keywords:
Cc: Patch:

Description

Should upgrade it some time, to get bug fixes and performance improvements etc.

Some notes that I don't want to forget:

Attachments (3)

sm-upgrade.diff (20.0 KB ) - added by Philip Taylor 13 years ago.
sm-upgrade2.diff (35.2 KB ) - added by Philip Taylor 13 years ago.
build.sh (3.4 KB ) - added by Philip Taylor 13 years ago.

Download all attachments as: .zip

Change History (9)

by Philip Taylor, 13 years ago

Attachment: sm-upgrade.diff added

comment:1 by Philip Taylor, 13 years ago

This mostly works with 9aac1cc64794, except for profiling of functions registered by InterfaceScripted.h. Also the warning disabling is ugly, and I haven't tested on Windows, and this probably won't work with JS_THREADSAFE yet.

Performance improvements seem negligible so I don't care enough to finish this off yet.

by Philip Taylor, 13 years ago

Attachment: sm-upgrade2.diff added

by Philip Taylor, 13 years ago

Attachment: build.sh added

comment:2 by Philip Taylor, 13 years ago

To test:

  • Apply the patch (probably patch -p1 < sm-upgrade2.diff or something).
  • Create libraries/spidermonkey/
  • Save build.sh in there.
  • Save js185 in there (don't extract it manually).
  • Run build.sh from its directory; that should successfully build SpiderMonkey.
  • Do a clean rebuild of the game.

The problem I get is that all the script-created widgets in Atlas are stuck at position (0,0), like their sizers aren't automatically running their layout code, and I have no idea why.

comment:3 by Kieran P, 13 years ago

Milestone: BacklogAlpha 6

comment:4 by Kieran P, 13 years ago

Milestone: Alpha 6Alpha 7

comment:5 by Kieran P, 13 years ago

Owner: set to philip

comment:6 by philip, 13 years ago

Resolution: fixed
Status: newclosed

(In [9852]) Upgrade to SpiderMonkey 1.8.5 (fixes #734)

Note: See TracTickets for help on using tickets.