update jQuery 1.2.6 to 1.4

anatoly techtonik avataranatoly techtonik created an issue

jQuery 1.3 brings significant performance improvements - http://docs.jquery.com/Release:jQuery_1.3

jQuery 1.4 is also out - http://jquery14.com/day-01/jquery-14

Comments (13)

  1. Anonymous

    Sorry to ask, but I see Sphinx 0.6.5 still released with jquery 1.2. And I can't find in the hg repo a newer jquery (I might be not using hg correctly). A separate problem is that doctools.js doesn't work with a manually-replaced jquery.js 1.4…

    thanks, iustin

  2. Georg Brandl

    0.6.5 will not get an update; backwards compatibility is more important than a bit more speed. The update to 1.4 is currently in sphinx-domains branch, which will be merged to trunk today.

  3. Georg Brandl

    This is trunk only, and therefore in 1.0. As I said previously, "0.6.5 will not get an update; backwards compatibility is more important than a bit more speed." (of course I should have written 0.6.x instead of 0.6.5)

  4. Anonymous

    Ah, I didn't realize that 0.6.5 was released before this was committed to trunk, sorry!

    In any case, the problem that I have is:

    • Debian packaging doesn't allow embedded copies of other software, so Debian sphinx's package and any other packages that use sphinx must replace jquery.js with a symlink to the packaged version of jquery (thus in effect only one copy on the system, making sure potential security issues are dealt only in one place, etc.)
    • but Sphinx's doctools.js doesn't work with newer jquery, fails with a jquery.className is undefined at line 70

    So I was hoping that if you include a newer jquery, you'll update doctools.js too :)

    Should this be maybe a different bug?

    thanks again, iustin

  5. Georg Brandl

    So if I understand correctly, you want to use the 0.6 doctools.js with a newer jQuery?

    If that is so, can you verify that the change I made to doctools.js in order to make it compatible to jQuery 1.4 is also compatible with jQuery 1.2.6? The change is here: 72375ba800b6 .

  6. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.