summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Remove pdf_ext module (closes #207561)Julien Cristau2014-02-031-0/+2
| | | | Addresses CVE-2014-1838.
* Use 'env' to run the interpreter.Christophe de Vienne2013-11-131-1/+3
| | | | The drawback is that we cannot use the unbuffered outputs (-u) but I am not so sure it is an issue.
* [graph] sort dot node/edge attribute for predictabilities. Closes #202314Sylvain Th?nault2013-12-201-5/+9
|
* forgotten to close changelogSylvain Th?nault2014-01-151-12/+15
|
* [modutils] fix support for extend_path based namespace package when module ↵Sylvain Th?nault2013-10-071-1/+3
| | | | is nested in a sub-package. Closes #177651
* [modutils] ensure file is closed, may cause pb depending on the interpreter ↵Sylvain Th?nault2013-10-031-2/+5
| | | | (eg pypy). Closes #180876
* Backport fix done by Benedikt Morbach on pylint for python3 install on win32 ↵Sylvain Th?nault2013-10-031-0/+3
| | | | platforms / cross compilation. Closes #180836
* [modutils] don't propagate IOError when package's __init__.py file doesn't ↵Sylvain Th?nault2013-09-031-0/+4
| | | | exist. Closes #174606
* 0.60Sylvain Th?nault2013-07-261-16/+19
|
* backport stable branchSylvain Th?nault2013-07-261-0/+15
|\
| * update ChangelogSylvain Th?nault2013-07-261-0/+5
| |
| * [modutils]?fix python3.3 crash on file_from_modpath. Closes #137244Sylvain Th?nault2013-05-071-2/+7
| |
| * [modutils] fix typo causing name error in python3 / bad message in python2. ↵Sylvain Th?nault2013-04-291-0/+5
| | | | | | | | Closes #136037
* | [configuration] rename option_name to option_attrname (closes #140667)Nicolas Chauvat2013-05-071-0/+1
| |
* | backport stableSylvain Th?nault2013-04-291-2/+4
|\ \ | |/ |/|
| * Add version handling to the deprecation module (closes #108205).Damien Garaud2013-04-111-0/+2
| | | | | | | | | | | | | | | | Allow to refine the deprecation message handling. Messages are dropped for versions more recent than the 'compatible' version. Implement the `deprecated` decorator and `class_deprecated` metaclass in terms of this new manager.
* | 0.59.1logilab-common-version-0.59.1Sylvain Th?nault2013-04-161-13/+14
| |
* | added pruning of the recursive search tree for detecting cycles in graphs. ↵Dirk Baechle2013-04-111-0/+3
|/ | | | | | | | | | | | | | | | | | | | | Closes #2469 provides a significant speedup for get_cycles() Rationale for the whole patch: While trying to analyze the source tree of SCons (www.scons.org), I noticed that pylint took forever to finish a single run. I tracked the problem down a little and finally ended my search at the _get_cycles() function that gets called recursively. They way it is implemented at the moment, you will get a very high number of calls for medium to large graphs that are also very dense in nature (have a high vertex degree). In the case of SCons there are about 176 packages involved, which import each other a lot. This results in 130869104 calls of _get_cycles() and a runtime of 27minutes and 6.835seconds fo the whole pylint run. With this patch you get 10156 calls, taking 30.893s for the complete pylint call. Note, that the pruning of the search tree also reduces the list of output results, since all manifolds that are simple rotated versions of each other, get suppressed automatically.
* fix umessages test w/ python 3 and LC_ALL=C (closes #119967)Sylvain Th?nault2013-02-151-1/+7
|
* remove 2 accidentally introduced tabs breaking python 3 compat. closes #117580Sylvain Th?nault2013-02-141-0/+4
|
* [testlib] check for generators in with_tempdirJulien Cristau2013-02-221-0/+2
| | | | | | | | If the decorated callable is a generator, we shouldn't reset tempfile.tempdir until the end of the iteration. Hopefully nobody uses this with nested/chained generators, or they'd stomp all over each other's tempdirs. Closes #117533
* Properly fix @monkeypatch by changing its contract. Actually closes #104047logilab-common-version-0.59.0Sylvain Th?nault2013-01-211-2/+5
| | | | | This follows 8d13747da834 and f8fb4a6d9249 which should not have been commited before this cleanup.
* prepare 0.59.0Aurelien Campeas2013-01-211-1/+17
|
* [registry]?use register_all when no registration callback defined. Closes ↵Sylvain Th?nault2013-01-091-0/+2
| | | | #111011
* [registry] introduce RegistrableObject and RegistrableInstance base classes. ↵Sylvain Th?nault2013-01-141-12/+20
| | | | | | | | | | Closes #98742 and make them mandatory *for automatic registration*. Cleanup automatic registration code accordingly. Instances are now registrable, and automatically registered provided they inherit from RegistrableInstance.
* minor change to changelogSylvain Th?nault2013-01-111-1/+1
|
* [registry]?deprecate usage of leading underscore to mark class as abstract / ↵Sylvain Th?nault2013-01-111-0/+3
| | | | not to register
* [registry] introduce objid/objname method on registries instead of using ↵Sylvain Th?nault2013-01-111-0/+4
| | | | | | function/inlined code. Partially closes #98742 So they become customizable per registry.
* [loggin ext] provide colored output under windows if colorama is available ↵Aurelien Campeas2012-11-131-0/+3
| | | | (closes #107436)
* 0.58.3logilab-common-version-0.58.3David Douard2012-11-141-1/+6
|
* [registry] setdefault catch wrong exception. Closes #111010Sylvain Th?nault2012-11-131-0/+3
|
* python3: fix code and test so most tests go green. Partially closes #104047Sylvain Th?nault2012-10-231-0/+2
| | | | | the only failing test concerns the @monkeypatch decorator and fix is subject to controversy, so post-pone it so we may discuss about it.
* ustrftime: ask the system for the encoding instead of trying to guessJulien Cristau2012-11-131-3/+4
| | | | | | strftime uses the encoding corresponding to the LC_TIME locale setting. Closes #109740
* fix date.ustrftime for python3, closes #82161Sylvain Th?nault2012-08-291-0/+4
|
* 0.58.2David Douard2012-07-301-0/+5
|
* 0.58.1logilab-common-version-0.58.1Sylvain Th?nault2012-07-171-2/+5
|
* Adapt testlib.py in order to be compatible with Jython which doesn't have a ↵Sylvain Th?nault2012-07-171-2/+2
| | | | __builtins__ module. Closes #99627.
* Generalise usage of disutils.sysconfig.get_python_version so eg. ↵Sylvain Th?nault2012-07-171-0/+3
| | | | | | is_standard_module works for other python impl. like Jython, IronPython (and should works for pypy). Closes #99493 Also add more test for this function.
* 0.58.0David Douard2012-04-121-1/+5
|
* backport stableDavid Douard2012-04-121-1/+14
|\
| * testlib: ensure DocTest does not alter __builtins__Pierre-Yves David2012-03-151-1/+14
| | | | | | | | | | | | | | The DocTest Safety seems to fails and we need our own overlay. Maybe we are using it wrong? -- transplanted from 2dddccc63dad
* | [deprecated]?new DeprecatedProxy convenience class. Closes #88942Sylvain Th?nault2012-03-151-0/+1
| |
* | backport stableSylvain Th?nault2012-03-151-1/+5
|\ \ | |/
| * fix 2b1382b96eb4 by enabling DeprecationWarning onlyPierre-Yves David2012-03-151-0/+1
| | | | | | | | | | | | | | | | The changeset above intended to only display DeprecationWarning. But it also enables ImportWarning. There is a lot of ImportWarning and most of them are useless. This changeset only enable DeprecationWarning and keep ImportWarning quiet
| * Fix bug in textutils.apply_units, raise an Exception if string does not ↵Damien Garaud2012-02-201-0/+3
| | | | | | | | | | | | match (closes #88808). Update the dedicated unit test.
* | [shellutil] add argument to ``ProgressBar.update`` to tune cursor ↵Alain Leufroy2012-03-151-0/+1
| | | | | | | | progression (closes #88981)
* | testlib: ensure DocTest does not alter __builtins__Pierre-Yves David2012-03-151-1/+1
| | | | | | | | | | The DocTest Safety seems to fails and we need our own overlay. Maybe we are using it wrong?
* | backported cubicweb's registry. Closes #84654Sylvain Th?nault2012-01-121-0/+4
|/
* 0.57.1logilab-common-version-0.57.1Sylvain Th?nault2011-10-281-1/+6
|
* [compat] use instance of the class to have a real instance method (closes: ↵Sylvain Th?nault2011-10-251-0/+2
| | | | | | | | | | | | #79268) Details: By using `klass` instead of an instance of the class, we bounded the method as a class method. During execution, the monkey-patched method considered `self` as a reference to the class and further use of `self` failed miserably.