1. 17 Mar, 2015 1 commit
  2. 13 Mar, 2015 3 commits
  3. 12 Mar, 2015 17 commits
    • Release Manager's avatar
      Trac #17931: Ref: add various missing modules to r/interfaces · bc7f2c4d
      Release Manager authored
      Add missing modules to the Interfaces part of the reference manual.
      
      URL: http://trac.sagemath.org/17931
      Reported by: mmezzarobba
      Ticket author(s): Marc Mezzarobba
      Reviewer(s): Julien Puydt
      bc7f2c4d
    • Volker Braun's avatar
      Updated Sage version to 6.6.beta4 · f6f8c65c
      Volker Braun authored
      f6f8c65c
    • Release Manager's avatar
      Trac #17936: Documentation of QQ.random_element · bab9ba41
      Release Manager authored
      I find the documentation of `QQ.random_element` to be lacking.
      
      The arguments `num_bound` and `denom_bound` are not described. There is
      no INPUT section at all. The examples use these arguments, but without
      explaining their meaning either.
      
      There is a note that extra arguments are “passed through”, but there is
      no saying ''where'' they get passed (namely to `ZZ.random_element`). One
      really needs to look at the source code in order to understand this
      method.
      
      URL: http://trac.sagemath.org/17936
      Reported by: gagern
      Ticket author(s): Martin von Gagern
      Reviewer(s): Marc Mezzarobba
      bab9ba41
    • Release Manager's avatar
      Trac #17829: Discrepancy between sage -bdist and sage-bdist · 4732c840
      Release Manager authored
      I used to make a bdist by typing "./sage -bdist VER", which is still how
      it's documented. But in fact, that line ends up calling the sage-bdist
      script, whose argument isn't a version, but the name of a temporary
      directory!
      
      The two scripts don't agree with one another ; I'll propose a patch when
      I find the time.
      
      URL: http://trac.sagemath.org/17829
      Reported by: Snark
      Ticket author(s): Julien Puydt
      Reviewer(s): Volker Braun
      4732c840
    • Release Manager's avatar
      Trac #17940: IOError: cannot identify image file · 97a8311d
      Release Manager authored
      With Sage 6.6 beta 3 and using Sage Notebook I get a backtrace when I
      want to see a sphere:
      
      {{{
      sage: sphere()
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
        File "_sage_input_3.py", line 10, in <module>
          exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8
      -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("c3BoZXJlKC
      k="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
        File "", line 1, in <module>
      
        File "/tmp/tmpWqCNEl/___code___.py", line 2, in <module>
          exec compile(u'sphere()
        File "", line 1, in <module>
      
        File "sage/local/lib/python2.7/site-
      packages/sage/repl/rich_output/display_manager.py", line 716, in
      displayhook
          return self._backend.displayhook(plain_text, rich_output)
        File "sage/local/lib/python2.7/site-
      packages/sage/repl/rich_output/backend_base.py", line 432, in
      displayhook
          return self.display_immediately(plain_text, rich_output)
        File "sage/local/lib/python2.7/site-
      packages/sage/repl/rich_output/backend_sagenb.py", line 361, in
      display_immediately
          rich_output.embed()
        File "sage/local/lib/python2.7/site-
      packages/sage/repl/rich_output/backend_sagenb.py", line 258, in embed
          self.save_preview()
        File "sage/local/lib/python2.7/site-
      packages/sage/repl/rich_output/backend_sagenb.py", line 237, in
      save_preview
          self.preview_png.save_as(self.preview_filename())
        File "sage/misc/cachefunc.pyx", line 2209, in
      sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__
      (build/cythonized/sage/misc/cachefunc.c:13699)
        File "sage/local/lib/python2.7/site-
      packages/sage/repl/rich_output/backend_sagenb.py", line 189, in
      preview_filename
          directory, filename = os.path.split(self._base_filename())
        File "sage/misc/cachefunc.pyx", line 2209, in
      sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__
      (build/cythonized/sage/misc/cachefunc.c:13699)
        File "sage/local/lib/python2.7/site-
      packages/sage/repl/rich_output/backend_sagenb.py", line 147, in
      _base_filename
          filename = self.sagenb_launch_script_filename()
        File "sage/misc/cachefunc.pyx", line 2209, in
      sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__
      (build/cythonized/sage/misc/cachefunc.c:13699)
        File "sage/local/lib/python2.7/site-
      packages/sage/repl/rich_output/backend_sagenb.py", line 122, in
      sagenb_launch_script_filename
          width, height =
      PIL.Image.open(StringIO(self.preview_png.get())).size
        File "build/bdist.linux-x86_64/egg/PIL/Image.py", line 2006, in open
      IOError: cannot identify image file
      }}}
      
      Using strace I can see access to some `preview.png` and looking at that
      file I notice that it appears to be a regular PNG, concatenated with a
      Jmol script. So apparently two outputs ended up in the same data stream.
      This is likely a consequence of #17234.
      
      URL: http://trac.sagemath.org/17940
      Reported by: gagern
      Ticket author(s): Martin von Gagern
      Reviewer(s): Volker Braun
      97a8311d
    • Release Manager's avatar
      Trac #17937: Cannot compute integral points of 0-dimensional Polyhedron · 2ae6e383
      Release Manager authored
      A trivial case, but it should work anyway:
      {{{
      sage: P = Polyhedron([[]])
      sage: P
      A 0-dimensional polyhedron in ZZ^0 defined as the convex hull of 1
      vertex
      sage: P.integral_points()
      ------------------------------------------------------------------------
      ---
      IndexError                                Traceback (most recent call
      last)
      <ipython-input-13-2abbf2adff15> in <module>()
      ----> 1 P.integral_points()
      
      /usr/local/src/sage-git/local/lib/python2.7/site-
      packages/sage/geometry/polyhedron/base.pyc in integral_points(self,
      threshold)
         3826                 box_points<threshold:
         3827             from sage.geometry.integral_points import
      rectangular_box_points
      -> 3828             return rectangular_box_points(box_min, box_max,
      self)
         3829
         3830         # for more complicate polytopes, triangulate & use smith
      normal form
      
      /usr/local/src/sage-git/src/sage/geometry/integral_points.pyx in
      sage.geometry.integral_points.rectangular_box_points
      (build/cythonized/sage/geometry/integral_points.c:4761)()
          531     v = vector(ZZ, d)
          532     if not return_saturated:
      --> 533         for p in loop_over_rectangular_box_points(box_min,
      box_max, inequalities, d, count_only):
          534             #  v = vector(ZZ, orig_perm.action(p))   # too slow
          535             for i in range(0,d):
      
      /usr/local/src/sage-git/src/sage/geometry/integral_points.pyx in
      sage.geometry.integral_points.loop_over_rectangular_box_points
      (build/cythonized/sage/geometry/integral_points.c:5605)()
          580     while True:
          581         inequalities.prepare_inner_loop(p)
      --> 582         i_min = box_min[0]
          583         i_max = box_max[0]
          584         # Find the lower bound for the allowed region
      
      IndexError: list index out of range
      }}}
      
      URL: http://trac.sagemath.org/17937
      Reported by: jdemeyer
      Ticket author(s): Jeroen Demeyer
      Reviewer(s): Nathann Cohen
      2ae6e383
    • Release Manager's avatar
      Trac #17934: Ref: reorganize main TOC · f532594a
      Release Manager authored
      Reorganize the main table of contents of the reference manual
      
      URL: http://trac.sagemath.org/17934
      Reported by: mmezzarobba
      Ticket author(s): Marc Mezzarobba
      Reviewer(s): Julien Puydt
      f532594a
    • Release Manager's avatar
      Trac #17929: Ref: add various missing modules to r/categories · c9ce5662
      Release Manager authored
      Add various missing modules to the Categories part of the reference
      manual.
      
      URL: http://trac.sagemath.org/17929
      Reported by: mmezzarobba
      Ticket author(s): Marc Mezzarobba
      Reviewer(s): Frédéric Chapoton
      c9ce5662
    • Release Manager's avatar
      Trac #12455: Make Airy functions symbolic · 34e190b5
      Release Manager authored
      As discussed in [http://groups.google.com/group/sage-
      support/browse_thread/thread/f458d0f9cfd89c9a sage-support].
      
      Currently sage can evaluate airy functions numerically:
      {{{
      sage: airy_ai(1.4)
      0.0820380498076
      }}}
      
      but it doesn't work symbolically
      
      {{{
      sage: airy_ai(x)
      ...
      TypeError: Cannot evaluate symbolic expression to a numeric value.
      }}}
      
      We should make it symbolical for both airy_ai and airy_bi, as well as
      their derivatives.
      
      URL: http://trac.sagemath.org/12455
      Reported by: olazo
      Ticket author(s): Oscar Gerardo Lazo Arjona, Benjamin Jones, D. S.
      McNeil, Eviatar Bach, Ralf Stephan
      Reviewer(s): Eviatar Bach, Karl-Dieter Crisman, Burcin Erocal, Ralf
      Stephan, Jeroen Demeyer, Marc Mezzarobba
      34e190b5
    • Martin von Gagern's avatar
      Trac #17940: Execute JMol in C locale. · 38189988
      Martin von Gagern authored
      This avoids a bug where JMol garbles its PNG output in cases where the UTF-8
      code unit count of the creation date doesn't agree with its UTF-16 code unit
      count, e.g. in Germany in March.
      38189988
    • Jeroen Demeyer's avatar
      eb6ba858
    • Marc Mezzarobba's avatar
    • Marc Mezzarobba's avatar
      c80be63e
    • Marc Mezzarobba's avatar
      6aaf2da5
    • Marc Mezzarobba's avatar
      347cd082
    • Marc Mezzarobba's avatar
      753c038b
    • Frédéric Chapoton's avatar
      trac #17929 make sure pdf doc builds · 868f91ac
      Frédéric Chapoton authored
      868f91ac
  4. 11 Mar, 2015 19 commits