From 2a1e4269642583551e8b39117c55791def4cb3fe Mon Sep 17 00:00:00 2001 From: ndparker Date: Thu, 15 Oct 2015 21:19:59 +0200 Subject: [PATCH] document changes --- README.rst | 1 + docs/CHANGES | 12 ++++++++++-- docs/DESCRIPTION | 1 + docs/_userdoc/index.txt | 1 + rjsmin.py | 1 + 5 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 880d0be..27ae5a1 100644 --- a/README.rst +++ b/README.rst @@ -34,6 +34,7 @@ same results as the original ``jsmin.c``. It differs in the following ways: - Newline characters are not allowed inside string and regex literals, except for line continuations in string literals (ECMA-5). - "return /regex/" is recognized correctly. +- Line terminators after regex literals are handled more sensibly - "+ +" and "- -" sequences are not collapsed to '++' or '--' - Newlines before ! operators are removed more sensibly - Comments starting with an exclamation mark (``!``) can be kept optionally diff --git a/docs/CHANGES b/docs/CHANGES index 66f40d3..bac0201 100644 --- a/docs/CHANGES +++ b/docs/CHANGES @@ -1,10 +1,18 @@ +Changes with version + + *) Benchmark updates, dropped slimit benchmarks, because of installation + trouble + + *) Handle line terminators after regex literals more sensible + + Changes with version 1.0.11 *) Benchmark updates - *) Lift max restrictions for CPython and Jython as well. + *) Lifted max restrictions for CPython and Jython as well. - *) Lift max restrictions for pypy versions. Added pypy3 support. + *) Lifted max restrictions for pypy versions. Added pypy3 support. Submitted by https://github.com/tony diff --git a/docs/DESCRIPTION b/docs/DESCRIPTION index b1e6717..26a5fb3 100644 --- a/docs/DESCRIPTION +++ b/docs/DESCRIPTION @@ -17,6 +17,7 @@ same results as the original ``jsmin.c``. It differs in the following ways: - Newline characters are not allowed inside string and regex literals, except for line continuations in string literals (ECMA-5). - "return /regex/" is recognized correctly. +- Line terminators after regex literals are handled more sensibly - "+ +" and "- -" sequences are not collapsed to '++' or '--' - Newlines before ! operators are removed more sensibly - Comments starting with an exclamation mark (``!``) can be kept optionally diff --git a/docs/_userdoc/index.txt b/docs/_userdoc/index.txt index 08fe3f6..393ed0d 100644 --- a/docs/_userdoc/index.txt +++ b/docs/_userdoc/index.txt @@ -36,6 +36,7 @@ following ways: - Newline characters are not allowed inside string and regex literals, except for line continuations in string literals (ECMA-5). - "``return /regex/``" is recognized correctly. +- Line terminators after regex literals are handled more sensibly. - "``+ +``" and "``- -``" sequences are not collapsed to '``++``' or '``--``' - Newlines before ``!`` operators are removed more sensibly diff --git a/rjsmin.py b/rjsmin.py index 88fc188..4509253 100755 --- a/rjsmin.py +++ b/rjsmin.py @@ -39,6 +39,7 @@ same results as the original ``jsmin.c``. It differs in the following ways: - Newline characters are not allowed inside string and regex literals, except for line continuations in string literals (ECMA-5). - "return /regex/" is recognized correctly. +- Line terminators after regex literals are handled more sensibly - "+ +" and "- -" sequences are not collapsed to '++' or '--' - Newlines before ! operators are removed more sensibly - Comments starting with an exclamation mark (``!``) can be kept optionally