diff --git a/VERSION b/VERSION index de907de5..ce7a71ef 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-07-17 10:59:23) dev +Version 2.00.0 (2012-07-17 12:35:54) dev diff --git a/applications/admin/views/default/plugin.html b/applications/admin/views/default/plugin.html index 8e5c6181..aded9d40 100644 --- a/applications/admin/views/default/plugin.html +++ b/applications/admin/views/default/plugin.html @@ -50,8 +50,8 @@ def deletefile(arglist): {{=button("#modules", T("modules"))}} - {{=sp_button(URL('plugin',args=app), T("back"))}} - {{=sp_button(URL('delete_plugin',args=request.args), T("delete plugin"))}} + {{=sp_button(URL('design',args=request.args, anchor=request.vars.id), T("back"))}} + {{=sp_button(URL('delete_plugin',args=request.args, vars=request.vars), T("delete plugin"))}} {{=sp_button(URL('pack_plugin',args=request.args), T("pack plugin"))}} diff --git a/gluon/compileapp.py b/gluon/compileapp.py index 76b4fe72..516e92a4 100644 --- a/gluon/compileapp.py +++ b/gluon/compileapp.py @@ -40,18 +40,15 @@ import imp import logging logger = logging.getLogger("web2py") import rewrite -import platform try: import py_compile except: logger.warning('unable to import py_compile') -is_pypy = hasattr(platform,'python_implementation') and \ - platform.python_implementation() == 'PyPy' -settings.global_settings.is_pypy = is_pypy -is_gae = settings.global_settings.web2py_runtime_gae -is_jython = settings.global_settings.is_jython = 'java' in sys.platform.lower() or hasattr(sys, 'JYTHON_JAR') or str(sys.copyright).find('Jython') > 0 +is_pypy = settings.global_settings.is_pypy +is_gae = settings.global_settings.web2py_runtime_gae +is_jython = settings.global_settings.is_jython TEST_CODE = \ r""" diff --git a/gluon/contrib/markmin/markmin.html b/gluon/contrib/markmin/markmin.html index aa556392..d68ae23a 100644 --- a/gluon/contrib/markmin/markmin.html +++ b/gluon/contrib/markmin/markmin.html @@ -17,7 +17,7 @@ print markmin2html(m) from markmin2latex import markmin2latex print markmin2latex(m) from markmin2pdf import markmin2pdf # requires pdflatex -print markmin2pdf(m) ====================

This is a test block with new features:

This is a blockquote with a list with tables in it:

This is a paragraph before list. You can continue paragraph on the next lines.
This is an ordered list with tables:
  1. Item 1
  2. Item 2
  3. aabbcc
    112233
  4. Item 4
    T1T2t3
    aaabbbccc
    dddfffggg
    12305.0

This this a new paragraph with a table. Table has header and footer:

Title 1Title 2Title 3
data 1data 22.00
data 4data5(long)23.00
data 833.50
Total:3 items58.50

Multilevel lists

Now lists can be multilevel:

  1. Ordered item 1 on level 1. You can continue item text on next strings
    1. Ordered item 1 of sublevel 2 with a paragraph (paragraph can start with point after plus or minus characters, e.g. ++. or --.)

    2. This is another item. But with 3 paragraphs, blockquote and sublists:

      This is the second paragraph in the item. You can add paragraphs to an item, using point notation, where first characters in the string are sequence of points with space between them and another string. For example, this paragraph (in sublevel 2) starts with two points:

      .. This is the second paragraph...

      this is a blockquote in a list

      You can use blockquote with headers, paragraphs, tables and lists in it:
      Tables can have or have not header and footer. This table is defined without any header and footer in it:
      redfox0
      bluedolphin1000
      greenleaf10000

      This is yet another paragraph in the item.