Changeset 3661:36275f9151ed in livinglogic.python.xist

Show
Ignore:
Timestamp:
12/29/08 20:52:14 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add migration info.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MIGRATION.rst

    r3629 r3661  
     1Migrating to version 3.6 
     2======================== 
     3 
     4Changes to the color module 
     5--------------------------- 
     6 
     7*   The following :class:`Color` class methods have been dropped: ``fromrgba``, 
     8    ``fromrgba4``, ``fromrgba8``, ``fromint4``, ``fromint8``. 
     9 
     10*   The following :class:`Color` properties have been dropped: ``r4``, ``g4``, 
     11    ``b4``, ``a4``, ``r8``, ``g8``, ``b8``, ``a8``, ``r``, ``g``, ``b``,  ``a`` 
     12    ``int4``, ``int8``, ``rgb4``, ``rgba4``, ``rgb8``, and ``rgba8`` have been 
     13    dropped. The new methods ``r``, ``g``, ``b`` and ``a`` return the 8 bit 
     14    component values. 
     15 
     16*   The class methods ``fromhsva`` and ``fromhlsa`` have been renamed to 
     17    ``fromhsv`` and ``fromhls``. 
     18 
     19*   The property ``css`` has been dropped instead the CSS string is returned 
     20    by ``__str__``. 
     21 
     22*   Dividing color now does a scalar division. Blending colors is now done with 
     23    the modulo operator. 
     24 
     25 
     26 
     27 
     28 
    129Migrating to version 3.5 
    230======================== 
     
    735*   The UL4 function ``csvescape`` has been renamed to ``csv``. 
    836 
    9 Changes to color module 
    10 ----------------------- 
     37Changes to the color module 
     38-------------------------- 
    1139 
    1240*   :class:`ll.color.Color` has been rewritten to create immutable objects