summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | [configuration] fix wording in test nameNicolas Chauvat2013-05-211-1/+1
| |
* | [configuration] option own_group is True/FalseNicolas Chauvat2013-05-211-1/+1
| |
* | backport stableSylvain Th?nault2013-04-293-89/+210
|\ \ | |/ |/|
| * deprecation: implement moved/class_renamed/class_moved using DeprecationManagerDamien Garaud2013-03-121-60/+69
| |
| * Add version handling to the deprecation module (closes #108205).Damien Garaud2013-04-113-27/+139
| | | | | | | | | | | | | | | | 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.
| * backport stable branchSylvain Th?nault2013-04-119-35/+96
| |\
* | | Added tag logilab-common-debian-version-0.59.1-1 for changeset 787675c645b2Sylvain Th?nault2013-04-170-0/+0
| | |
* | | Added tag logilab-common-version-0.59.1 for changeset 271abd1bc556logilab-common-debian-version-0.59.1-1Sylvain Th?nault2013-04-170-0/+0
| | |
* | | 0.59.1logilab-common-version-0.59.1Sylvain Th?nault2013-04-163-24/+31
| | |
* | | [registry] change select_or_none implementation to remove one level of ↵Sylvain Th?nault2013-04-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indirection Rational: when analyzing cubicweb selectors performance, it has been found that the cost of emiting NoSelectableObject and catching it was higher than returning None and testing for None values. Also, it will be definitly an improvment here as we avoid calling an intermediary function that test for None and raise the exception if needed.
* | | added pruning of the recursive search tree for detecting cycles in graphs. ↵Dirk Baechle2013-04-112-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | [modutils test] simplify test names and add border cases test for ↵Sylvain Th?nault2013-04-111-6/+16
| | | | | | | | | | | | is_standard_module
* | | run 2to3 on test data files. Closes #120897Sylvain Th?nault2013-04-111-0/+5
| |/ |/|
* | mergeSylvain Th?nault2013-04-111-1/+1
|\ \
| * | Added tag logilab-common-centos-version-0.59.0-1 for changeset d71a70531f51Florent Cayre2013-04-080-0/+0
| | |
| * | [packaging] bump version in spec filelogilab-common-centos-version-0.59.0-1Julien Cristau2013-04-081-1/+1
| | |
* | | [packaging] fix license declaration in spec fileJulien Cristau2013-04-081-1/+1
| | |
* | | logging: use WatchedFileHandler instead of FileHandler if availableJulien Cristau2013-01-091-1/+5
| | | | | | | | | | | | | | | | | | | | | This prevents logging to an old or deleted file after log rotation. WatchedFileHandler is usable on Unix starting with Python 2.6. Closes #115775.
* | | fix umessages test w/ python 3 and LC_ALL=C (closes #119967)Sylvain Th?nault2013-02-152-3/+15
| | |
* | | remove 2 accidentally introduced tabs breaking python 3 compat. closes #117580Sylvain Th?nault2013-02-142-1/+5
| | |
* | | [registry] docstring fixesSylvain Th?nault2013-02-041-3/+5
| | |
* | | [testlib] check for generators in with_tempdirJulien Cristau2013-02-223-0/+28
|/ / | | | | | | | | | | | | | | 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
* | Added tag logilab-common-debian-version-0.59.0 for changeset 60a9c75910c3Aurelien Campeas2013-01-230-0/+0
| |
* | Added tag logilab-common-version-0.59.0 for changeset a93679c86bfdlogilab-common-debian-version-0.59.0Aurelien Campeas2013-01-230-0/+0
| |
* | Properly fix @monkeypatch by changing its contract. Actually closes #104047logilab-common-version-0.59.0Sylvain Th?nault2013-01-213-48/+27
| | | | | | | | | | This follows 8d13747da834 and f8fb4a6d9249 which should not have been commited before this cleanup.
* | Added tag logilab-common-version-0.59.0 for changeset 555eda2edcc1Aurelien Campeas2013-01-210-0/+0
| |
* | [merge] default is stableAurelien Campeas2013-01-2115-185/+671
|\ \ | |/
| * prepare 0.59.0Aurelien Campeas2013-01-213-2/+24
| |
| * [registry]?use register_all when no registration callback defined. Closes ↵Sylvain Th?nault2013-01-092-14/+17
| | | | | | | | #111011
| * [registry] introduce RegistrableObject and RegistrableInstance base classes. ↵Sylvain Th?nault2013-01-145-94/+271
| | | | | | | | | | | | | | | | | | | | 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.
| * [registry] cleanup the doc and add some commentsAurelien Campeas2013-01-141-52/+61
| |
| * [registry] enhanced logging during registrationSylvain Th?nault2012-12-211-9/+15
| |
| * 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-112-3/+10
| | | | | | | | not to register
| * [registry] introduce objid/objname method on registries instead of using ↵Sylvain Th?nault2013-01-112-17/+37
| | | | | | | | | | | | function/inlined code. Partially closes #98742 So they become customizable per registry.
| * backport stableSylvain Th?nault2012-12-140-0/+0
| |\
| | * Added tag logilab-common-debian-version-0.58.3-1 for changeset 598d47ddebe0David Douard2012-11-140-0/+0
| | |
| | * Added tag logilab-common-version-0.58.3 for changeset 52f861146bc8logilab-common-debian-version-0.58.3-1David Douard2012-11-140-0/+0
| | |
| * | [configuration] enhance merge_options function: copy option dictionaries and ↵Sylvain Th?nault2012-12-131-3/+12
| | | | | | | | | | | | allow to ensure all options are in the same group using optional optgroup argument. Closes #113458
| * | [packaging] Update download and project urls (closes #113099)Julien Cristau2012-12-061-2/+2
| | |
| * | [packaging] force python2.6 on rhel5 (closes #113099)Julien Cristau2012-12-061-3/+19
| | |
| * | [packaging] steal spec file from fedora (closes #113099)Julien Cristau2012-12-061-0/+168
| | |
| * | [test, deprecation] update tests so we actually test somethingSylvain Th?nault2012-11-302-5/+19
| | |
| * | [packaging] remove references to ftp://ftp.logilab.orgJulien Cristau2012-11-163-4/+3
| | | | | | | | | | | | It has been replaced by http://download.logilab.org/
| * | [loggin ext] provide colored output under windows if colorama is available ↵Aurelien Campeas2012-11-133-3/+21
| | | | | | | | | | | | (closes #107436)
| * | backport stableDavid Douard2012-11-1424-219/+303
| |\ \ | | |/
| | * 0.58.3logilab-common-version-0.58.3David Douard2012-11-143-2/+13
| | |
| | * [umessage] add a UMessage.__getitem__ method to be closer to email.Message APIDavid Douard2012-11-141-0/+3
| | |
| | * [registry] setdefault catch wrong exception. Closes #111010Sylvain Th?nault2012-11-132-1/+4
| | |
| | * [registry] enhance assertion error messageSylvain Th?nault2012-11-131-1/+2
| | |