Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #1900

rCSSmin 1.0.6

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <nd@perlig.de>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; '(python': 0.05; 'fixes': 0.05; 'pypy': 0.07; 'semantic': 0.07; 'versions.': 0.07; '(issue': 0.09; 'additionally': 0.09; 'brace': 0.09; 'compression': 0.09; 'naturally': 0.09; 'runtime': 0.09; 'semantics': 0.09; 'url:apache': 0.09; 'url:github': 0.09; 'yui': 0.09; 'python': 0.10; '2.7': 0.13; '(rather': 0.16; 'andr\xe9': 0.16; 'comma': 0.16; 'curly': 0.16; 'exclamation': 0.16; 'hacks': 0.16; 'ie7': 0.16; 'license:': 0.16; 'only)': 0.16; 'syntactical': 0.16; 'url:license-2': 0.16; 'url:licenses': 0.16; 'restrictions': 0.18; 'skip:` 10': 0.18; 'hack': 0.18; 'skip:= 10': 0.18; 'versions': 0.20; '(by': 0.22; '3.2': 0.22; 'skip:= 20': 0.22; 'installation': 0.23; '(like': 0.23; 'properties': 0.24; 'written': 0.24; 'module': 0.25; 'header:User-Agent:1': 0.26; 'supported': 0.27; 'css': 0.27; 'does,': 0.29; 'etc).': 0.29; 'relies': 0.29; "i'm": 0.30; 'comments': 0.30; 'announce': 0.32; 'possibly': 0.32; 'url:python': 0.33; 'rule': 0.33; 'list': 0.34; 'world,': 0.35; 'instead': 0.36; 'needed': 0.36; 'url:org': 0.36; 'release': 0.37; 'starting': 0.37; 'itself': 0.38; 'version': 0.38; 'does': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'space': 0.40; 'future': 0.60; 'received:network': 0.61; 'maximum': 0.61; 'header:Message-Id:1': 0.61; 'provide': 0.61; 'url:0': 0.63; 'pleased': 0.64; 'between': 0.65; 'license': 0.65; '(apparently': 0.84; '=====': 0.84; 'collapsing': 0.84; 'compression,': 0.84; 'isaac': 0.84; 'homepage': 0.91
From André Malo <nd@perlig.de>
Organization TIMTOWTDI
To python-announce-list@python.org
Subject rCSSmin 1.0.6
Date Sun, 11 Oct 2015 18:06:18 +0200
User-Agent KMail/1.9.10
MIME-Version 1.0
Content-Type text/plain; charset="iso-8859-1"
Content-Transfer-Encoding quoted-printable
Content-Disposition inline
X-Mailman-Approved-At Mon, 12 Oct 2015 09:28:54 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.576.1444634935.28679.python-announce-list@python.org> (permalink)
Lines 64
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1444634935 news.xs4all.nl 23833 [2001:888:2000:d::a6]:41614
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:1900

Show key headers only | View raw


Hello World,

I'm pleased to announce version 1.0.6 of rCSSmin.


About rCSSmin
=============

rCSSmin is a CSS minifier written in python based on the semantics of
the YUI compressor, which itself is based on the rule list by Isaac
Schlueter.

This module is a re-implementation aiming for speed instead of maximum
compression, so it can be used at runtime (rather than during a
preprocessing step). RCSSmin does syntactical compression only (removing
spaces, comments and possibly semicolons). It does not provide semantic
compression (like removing empty blocks, collapsing redundant properties
etc). It does, however, support various CSS hacks (by keeping them
working as intended):

  - IE7 hack (``>/**/``)
  - Mac-IE5 hack (``/*\*/.../**/``)
  - The boxmodelhack is supported naturally because it relies on valid
    CSS2 strings
  - Between ``:first-line`` and the following comma or curly brace a
    space is inserted. (apparently it's needed for IE6)
  - Same for ``:first-letter``
  
Comments starting with an exclamation mark (``!``) can be kept optionally.


About Release 1.0.6
===================

This release mainly fixes the minification of calc() calls (Issue #1).
Additionally it lifts installation restrictions for future python versions.


Supported Python Versions
=========================

* Python 2.4 - 2.7
* Python 3.2 -
* PyPy 1.9 -
* Jython 2.5 - (Python only)


License
=======

rCSSmin is available under the terms and conditions of the "Apache License,
Version 2.0."


Links
=====

* Homepage + Documentation: http://opensource.perlig.de/rcssmin/
* PyPI: https://pypi.python.org/pypi/rcssmin
* Github: https://github.com/ndparker/rcssmin
* License: http://www.apache.org/licenses/LICENSE-2.0


André "nd" Malo

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

rCSSmin 1.0.6 André Malo <nd@perlig.de> - 2015-10-11 18:06 +0200

csiph-web