Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace float with Decimal | Martin Kosek | 2012-01-20 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | Having float type as a base type for floating point parameters in ipalib introduces several issues, e.g. problem with representation or value comparison. Python language provides a Decimal type which help overcome these issues. This patch replaces a float type and Float parameter with a decimal.Decimal type in Decimal parameter. A precision attribute was added to Decimal parameter that can be used to limit a number of decimal places in parameter representation. This approach fixes a problem with API.txt validation where comparison of float values may fail on different architectures due to float representation error. In order to safely transfer the parameter value over RPC it is being converted to string which is then converted back to decimal.Decimal number on a server side. https://fedorahosted.org/freeipa/ticket/2260 | ||||
* | Rename included snippets to avoid problems with pylint | Alexander Bokovoy | 2011-11-22 | 1 | -2/+2 |
| | |||||
* | Small fix to the guide CSS: enable vertical scroll bar | Alexander Bokovoy | 2011-11-22 | 1 | -2/+2 |
| | |||||
* | Add "Extending FreeIPA" developer guide | Alexander Bokovoy | 2011-11-22 | 1 | -0/+1060 |
"Extending FreeIPA" is a developer guide of FreeIPA core framework. Please make sure to improve the guide every time parts of the core framework are affected by your changes. This document ideally should correspond to the current state of the framework. The Guide is written using Emacs Org Mode but can be edited with any plain text editing tool. Emacs is only required to convert it to distribution formats like HTML and TXT. See guide/Makefile for building the guide and README for details of the build environment. |