Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: Tools/Scripts/webkitpy/thirdparty/logilab/common/ChangeLog

Issue 18418010: Check in the thirdparty libs needed for webkitpy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 ChangeLog for logilab.common
2 ============================
3
4 2012-07-17 -- 0.58.1
5 * modutils, testlib: be more python implementation independant (closes #9949 3 and #99627)
6
7
8
9 2012-04-12 -- 0.58.0
10 * new `registry` module containing a backport of CubicWeb selectable objects registry (closes #84654)
11
12 * testlib: DocTestCase fix builtins pollution after doctest execution.
13
14 * shellutil: add argument to ``ProgressBar.update`` to tune cursor progressi on (closes #88981)
15
16 * deprecated: new DeprecationWrapper class (closes #88942)
17
18
19
20 2012-03-22 -- 0.57.2
21 * texutils: apply_units raise ValueError if string isn'nt valid (closes #888 08)
22
23 * daemon: don't call putenv directly
24
25 * pytest: do not enable extra warning other than DeprecationWarning.
26
27 * testlib: DocTestCase fix builtins pollution after doctest execution.
28
29 * testlib: replace sys.exit with raise ImportError (closes: #84159)
30
31 * fix license in README
32
33 * add trove classifiers (tell about python 3 support for pypi)
34
35
36
37 2011-10-28 -- 0.57.1
38 * daemon: change $HOME after dropping privileges (closes #81297)
39
40 * compat: method_type for py3k use instance of the class to have a
41 real instance method (closes: #79268)
42
43
44
45 2011-10-12 -- 0.57.0
46 * only install unittest2 when python version < 2.7 (closes: #76068)
47
48 * daemon: make pidfile world-readable (closes #75968)
49
50 * daemon: remove unused(?) DaemonMixin class
51
52 * update compat module for callable() and method_type()
53
54 * decorators: fix monkeypatch py3k compat (closes #75290)
55
56 * decorators: provide a @cachedproperty decorator
57
58
59
60 2011-09-08 -- 0.56.2
61 * daemon: call initgroups/setgid before setuid (closes #74173)
62
63 * decorators: @monkeypatch should produce a method object (closes #73920)
64
65 * modutils: allow overriding of _getobj by suppressing mangling
66
67
68
69 2011-08-05 -- 0.56.1
70 * clcommands: #72450 --rc-file option doesn't work
71
72
73
74 2011-06-09 -- 0.56.0
75 * clcommands: make registration possible by class decoration
76
77 * date: new datetime/delta <-> seconds/days conversion function
78
79 * decorators: refactored @cached to allow usages such as
80 @cached(cacheattr='_cachename') while keeping bw compat
81
82
83
84 2011-04-01 -- 0.55.2
85 * new function for password generation in shellutils
86
87 * pyro_ext: allow to create a server without registering with a pyrons
88
89
90
91 2011-03-28 -- 0.55.1
92 * fix date.ustrftime break if year <= 1900
93
94 * fix graph.py incorrectly builds command lines using %s to call dot
95
96 * new functions to get UTC datetime / time
97
98
99
100 2011-02-18 -- 0.55.0
101 * new urllib2ext module providing a GSSAPI authentication handler, based on python-kerberos
102
103 * graph: test and fix ordered_nodes() [closes #60288]
104
105 * changelog: refactor ChangeLog class to ease overriding
106
107 * testlib: Fix tag handling for generator.
108
109
110
111 2011-01-12 -- 0.54.0
112 * dropped python 2.3 support
113
114 * daemon: we can now specify umask to daemonize function, and it return
115 different exit code according to the process
116
117 * pyro_ext: new ns_reregister function to ensure a name is still properly
118 registered in the pyro name server
119
120 * hg: new incoming/outgoing functions backward compatible with regards to
121 mercurial version (eg hg 1.6 and earlier)
122
123 * testlib/pytest: more deprecation and removed code. Still on the way to
124 unittest2
125
126
127
128 2010-11-15 -- 0.53.0
129 * first python3.x compatible release
130
131 * __init__: tempattr context manager
132
133 * shellutils: progress context manager
134
135
136
137 2010-10-11 -- 0.52.1
138 * configuration: fix pb with option names as unicode string w/
139 python 2.5. Makes OptionError available through the module
140
141 * textutils: text_to_dict skip comments (# lines)
142
143 * compat: dropped some 2.2 compat
144
145 * modutils: Consider arch-specific installation for STD_LIB_DIR definition
146
147
148
149 2010-09-28 -- 0.52.0
150 * testlib is now based on unittest2, to prepare its own extinction.
151 Warning are printed so you can easily migrate step by step.
152
153 * restored python 2.3 compat in some modules, so one get a change to run
154 pylint at least
155
156 * textutils: use NFKD decomposition in unormalize()
157
158 * logging_ext: don't try to use ansi colorized formatter when not in debug
159 mode
160
161
162
163 2010-09-10 -- 0.51.1
164 * logging_ext: init_log function splitted into smaller chunk to ease reuse
165 in other contexts
166
167 * clcommands: enhanced/cleaned api, nicer usage display
168
169 * various pylint detected errors fixed
170
171
172
173 2010-08-26 -- 0.51.0
174 * testlib: don't raise string exception (closes #35331)
175
176 * hg: new module regrouping some mercurial utility functions
177
178 * clcommands: refactored to get more object oriented api.
179
180 * optparser: module is now deprecated, use clcommands instead
181
182 * textutils: new split_url_or_path and text_to_dict functions
183
184 * logging_ext:
185 - init_log now accept optionaly any arbitrary handler
186 - threshold default to DEBUG if debug flag is true and no threshold speci fied
187
188 * date: new ustrftime implementation working around datetime limitaion on da tes < 1900
189
190
191
192 2010-06-04 -- 0.50.3
193 * logging: added new optional kw argument to init_log rotating_parameters
194
195 * date: fix nb_open_days() codomain, positive natural numbers are expected
196
197 * configuration:
198 - skip option with no type, avoid pb with generated option such as long-he lp
199 - handle level on man page generation
200
201
202
203 2010-05-21 -- 0.50.2
204 * fix licensing information: LGPL v2.1 or greater
205
206 * daemon: new daemonize function
207
208 * modutils: fix some false negative of is_standard_module with
209 'from module import something" where something isn't a submodule
210
211 * optik_ext: fix help generation for normal optparse using script if
212 optik_ext has been imported (#24450)
213
214 * textutils support 256 colors when available
215
216 * testlib] add option splitlines to assertTextEquals
217
218
219
220 2010-04-26 -- 0.50.1
221 * implements __repr__ on nullobject
222
223 * configuration: avoid crash by skipping option without 'type'
224 entry while input a config
225
226 * pyro_ext: raise PyroError instead of exception
227
228
229
230 2010-04-20 -- 0.50.0
231 * graph:
232 - generate methods now takes an optional mapfile argument to generate
233 html image maps
234 - new ordered_nodes function taking a dependency graph dict as arguments
235 and returning an ordered list of nodes
236
237 * configuration:
238 - nicer serialization of bytes / time option
239 - may now contains several option provider with the same name
240 - consider 'level' in option dict, --help displaying only option with level
241 0, and automatically adding --long-help options for higher levels
242
243 * textutils: case insensitive apply_unit
244
245 * sphinx_ext: new module usable as a sphinx pluggin and containing a new
246 'autodocstring' directive
247
248 * ureports: output &#160; instead of &nbsp; for strict xhtml compliance
249
250 * decorators: @cached propery copy inner function docstring
251
252
253
254 2010-03-16 -- 0.49.0
255 * date: new 'totime' function
256
257 * adbh, db, sqlgen modules moved to the new logilab-database package
258
259 * pytest: when -x option is given, stop on the first error even if
260 there are multiple test directories
261
262
263
264 2010-02-26 -- 0.48.1
265 * adbh: added dbport optional argument to [backup|restore]_commands
266
267 * db: fix date processing for SQLServer 2005
268
269 * testlib: improve XML assertion by using ElementTree parser and a new 'cont ext' lines argument
270
271
272
273 2010-02-17 -- 0.48.0
274 * date: fixed mx date time compat for date_range (#20651)
275
276 * testlib: generative test should not be interrupted by self.skip() (#20648)
277
278
279
280 2010-02-10 -- 0.47.0
281 * adbh: changed backup / restore api (BREAKS COMPAT):
282 - backup_command is now backup_commands (eg return a list of commands)
283 - each command returned in backup_commands/restore_commands may now
284 be list that may be used as argument to subprocess.call, or a string
285 which will the requires a subshell
286 - new sql_rename_col method
287
288 * deprecation: deprecated now takes an optional 'stacklevel' argument, defau lt to 2
289
290 * date: some functions to ease python's datetime module usage have been back ported
291 from cubicweb
292
293
294
295 2009-12-23 -- 0.46.0
296 * db / adbh: added SQL Server support using Pyodbc
297
298 * db:
299 - New optional extra_args argument to get_connection.
300 - Support Windows Auth for SQLServer by giving
301 extra_args='Trusted_Connection' to the sqlserver2005 driver
302
303
304
305 2009-11-23 -- 0.45.2
306 * configuration:
307 - proper bytes and time option types support
308 - make Method usable as 'callback' value
309 - fix #8849 Using plugins, options and .pylintrc crashes PyLint
310
311 * graph: fix has_path returned value to include the destination node, else w e get
312 an empty list which makes think there is no path (test added)
313
314
315
316 2009-08-26 -- 0.45.0
317 * added function for parsing XML processing instructions
318
319
320
321 2009-08-07 -- 0.44.0
322 * remove code deprecated for a while now
323
324 * shellutils: replace confirm function by RawInput class /ASK singleton
325
326 * deprecation: new deprecated decorator, replacing both obsolete and depreca ted_function
327
328
329
330 2009-07-21 -- 0.43.0
331 * dbf: a DBF reader which reads Visual Fox Pro DBF format with Memo field (m odule from Yusdi Santoso)
332
333 * shellutils:
334 - #9764 add title to shellutils.ProgressBar
335 - #9796 new confirm function
336
337 * testlib:
338 - simplify traceback manipulation (skip first frames corresponding to testl ib functions)
339 - -c now captures DeprecationWarnings
340
341 * sphinxutils: simplified API
342
343 * modutils: new cleanup_sys_modules function that removes modules under a li st
344 of directories from sys.modules
345
346
347
348 2009-07-17 -- 0.42.0
349 * pyro_ext: new module for pyro utilities
350
351 * adbh: fix default set_null_allowed implementation, new case_sensitive
352 resource descriptor
353
354
355
356 2009-06-03 -- 0.41.0
357 * modutils: new extrapath argument to modpath_from_file (see function's
358 docstring for explanation)
359
360 * adbh: new alter_column_support flag, sql_set_null_allowed and
361 sql_change_col_type methods
362
363
364
365 2009-05-28 -- 0.40.1
366 * date: handle both mx.DateTime and datetime representations
367
368 * db: use sqlite native module's Binary, not StringIO
369
370
371
372 2009-05-14 -- 0.40.0
373 * python < 2.3 are now officially unsupported
374
375 * #9162: new module with some sphinx utilities
376
377 * #9166: use a global variable to control mx datetime / py datetime usage
378
379 * db: add time adapter for pysqlite2, fix mysql bool and string handling
380
381 * configuration: don't print default for store_true / store_false option
382 or option with None as default
383
384
385
386 2009-04-07 -- 0.39.1
387 * fix #6760 umessage.decode_QP() crashes on unknown encoding
388
389
390
391 2009-03-25 -- 0.39.0
392 * fix #7915 (shellutils unusable under windows)
393
394 * testlib:
395
396 * new profile option using cProfile
397
398 * allows to skip a module by raising TestSkipped from module import
399
400 * modutils: locate modules in zip/egg archive
401
402 * db: USE_MX_DATETIME global to control usage of mx.DateTime / py datetime
403
404
405
406 2009-01-26 -- 0.38.0
407 * setuptools / easy_install support!
408
409 * removed some old backward compat code
410
411 * adbh: new intersect_all_support attribute
412
413 * contexts: new pushd context manager
414
415 * shellutils: enhance acquire_lock method w/ race condition
416
417 * configuration: fix case sensitivity pb w/ config file sections
418
419 * pytest: reimplemented colorization
420
421
422
423 2009-01-08 -- 0.37.2
424 * configuration: encoding handling for configuration file generation
425
426 * adbh: fix Datetime type map for mysql
427
428 * logging_ext: drop lldebug level which shouldn't be there
429
430
431
432 2008-12-11 -- 0.37.1
433 * contexts: make the module syntactically correct wrt python2.4
434
435
436
437 2008-12-09 -- 0.37.0
438 * contexts: new module for context managers, keeping py <2.4 syntax compat
439 for distribution (only `tempdir` cm for now)
440
441 * tasksqueue: new module containing a class to handle prioritized tasks queu e
442
443 * proc: new module for process information / resource control
444
445 * optik_ext: new time/bytes option types, using textutils conversion functio n
446
447 * logging_ext: new set_log_methods / init_log utility functions
448
449
450
451 2008-10-30 -- 0.36.0
452 * configuration:
453 - option yn is now behaving like a flag (i.e --ex : if ex.default=True and --ex in sys.args then ex.value=False)
454 - new attribute hide in option (i.e --ex : if --ex has 'hide':True then th e option will not be displayed in man or --help)
455
456 * pytest:
457 - add colors in display
458 - new option --restart that skips tests that succeeded on last run
459
460 * cache: new herits from dict class
461
462 * decorators: add @require_version @require_module that skip test if decorat ors are not satisfied
463
464
465
466 2008-10-09 -- 0.35.3
467 * graph: new has_path method
468
469
470
471 2008-10-01 -- 0.35.2
472 * configuration:
473 - fix #6011: lgc.configuration ignore customized option values
474 - fix #3278: man page generation broken
475
476 * dropped context.py module which broke the debian package when
477 some python <2.5 is installed (#5979)
478
479
480
481 2008-09-10 -- 0.35.0
482 * fix #5945: wrong edge properties in graph.DotBackend
483
484 * testlib: filter tests with tag decorator
485
486 * shellutils: new simple unzip function
487
488
489
490 2008-08-07 -- 0.34.0
491 * changelog: properly adds new line at the end of each entry
492
493 * testlib: add a with_tempdir decorator ensuring all temporary files and dir s are removed
494
495 * graph: improve DotBackend configuration. graphiz rendered can now be selec ted
496 and additional graph parameter used
497
498 * db: support of Decimal Type
499
500
501
502 2008-06-25 -- 0.33.0
503 * decorators: new @locked decorator
504
505 * cache: make it thread safe, changed behaviour so that when cache size is 0
506 and __delitem__ is called, a KeyError is raised (more consistent)
507
508 * testlib:
509 - added assertIsNot, assertNone and assertNotNone assertion
510 - added assertUnorderedIterableEquals
511 - added assertDirEquals
512 - various failure output improvement
513
514 * umessage: umessage.date() may return unparsable string as is instead of No ne
515
516 * compat: adds a max function taking 'key' as keyword argument as in 2.5
517
518 * configuration: escape rest when printing for default value
519
520
521
522 2008-06-08 -- 0.32.0
523 * textutils: add the apply_unit function
524
525 * testlib:
526 - added a assertXMLEqualsTuple test assertion
527 - added a assertIs assertion
528
529
530
531 2008-05-08 -- 0.31.0
532 * improved documentation and error messages
533
534 * testlib: support a msg argument on more assertions, pysqlite2 as default
535
536 * pytest: pytestconf.py for customization
537
538
539
540 2008-03-26 -- 0.30.0
541 * db: remember logged user on the connection
542
543 * clcommands: commands may be hidden (e.g. not displayed in help), generic
544 ListCommandsCommand useful to build bash completion helpers
545
546 * changelog: module to parse ChangeLog file as this one, backported from
547 logilab.devtools
548
549
550
551 2008-03-12 -- 0.29.1
552 * date: new nb_open_days function counting worked days between two date
553
554 * adbh: add -p option to mysql commands to ask for password
555
556
557
558 2008-03-05 -- 0.29.0
559 * adbh: mysql doesn't support ILIKE, implement list_indices for mysql
560
561 * db: mysql adapter use mx DateTime when available, fix unicode handling
562
563
564
565 2008-02-18 -- 0.28.2
566 * testlib: restore python2.3 compatibility
567
568
569
570 2008-02-15 -- 0.28.1
571 * testlib: introduce InnerTest class to name generative tests, fix
572 generative tests description storage
573
574 * pytest: fix -s option
575
576 * modutils: included Stefan Rank's patch to deal with 2.4 relative import
577
578 * configuration: don't give option's keywords not recognized by optparse,
579 fix merge_options function
580
581
582
583 2008-02-05 -- 0.28.0
584 * date: new `add_days_worked` function
585
586 * shellutils: new `chown` function
587
588 * testlib: new `strict` argument to assertIsInstance
589
590 * __init__: new `attrdict` and `nullobject` classes
591
592
593
594 2008-01-25 -- 0.27.0
595 * deprecation: new class_moved utility function
596
597 * interface: fix subinterface handling
598
599
600
601 2008-01-10 -- 0.26.1
602 * optparser: support --version at main command level
603
604 * testlib: added man page for pytest
605
606 * textutils: fix a bug in normalize{_,_rest_}paragraph which may cause
607 infinite loop if an indent string containing some spaces is given
608
609
610
611 2008-01-07 -- 0.26.0
612 * db: binarywrap support
613
614 * modutils: new LazyObject class
615
616
617
618 2007-12-20 -- 0.25.2
619 * adbh: new needs_from_clause variable on db helper
620
621
622
623 2007-12-11 -- 0.25.1
624 * pytest: new --profile option, setup module / teardown module hook,
625 other fixes and enhancements
626
627 * db: mysql support fixes
628
629 * adbh: fix postgres list_indices implementation
630
631
632
633 2007-11-26 -- 0.25.0
634 * adbh:
635 - list_tables implementation for sqlite
636 - new list_indices, create_index, drop_index methods
637
638 * restore python < 2.4 compat
639
640
641
642 2007-10-29 -- 0.24.0
643 * decorators: new classproperty decorator
644
645 * adbh: new module containing advanced db helper which were in the "db"
646 module, with additional registered procedures handling
647
648
649
650 2007-10-23 -- 0.23.1
651 * modutils: fix load_module_from_* (even with use_sys=False, it should
652 try to get outer packages from sys.modules)
653
654
655
656 2007-10-17 -- 0.23.0
657 * db:
658
659 - mark support_users and support_groups methods as obsolete in
660 favor of users_support and groups_support attributes
661 - new ilike_support property on dbms helpers
662 - extended db helper api
663 - completed mysql support
664
665 * textutils: new unormalize function to normalize diacritical chars by
666 their ascii equivalent
667
668 * modutils: new load_module_from_file shortcut function
669
670 * clcommands: pop_args accept None as value for expected_size_after,
671 meaning remaining args should not be checked
672
673 * interface: new extend function to dynamically add an implemented interface
674 to a new style class
675
676
677
678 2007-06-25 -- 0.22.2
679 * new 'typechanged' action for configuration.read_old_config
680
681
682
683 2007-05-14 -- 0.22.1
684 * important bug fix in db.py
685
686 * added history in pytest debugger sessions
687
688 * fix pytest coverage bug
689
690 * fix textutils test
691
692 * fix a bug which provoked a crash if devtools was not installed
693
694
695
696 2007-05-14 -- 0.22.0
697 * pytest improvements
698
699 * shellutils: use shutil.move instead of os.rename as default action
700 of mv
701
702 * db: new `list_users` and `sql_drop_unique_constraint` methods on
703 advanced helpers
704
705 * deprecation: new `obsolete` decorator
706
707
708
709 2007-02-12 -- 0.21.3
710 * fixed cached decorator to use __dict__ instead of attribute lookup,
711 avoiding potential bugs with inheritance when using cached class
712 methods
713
714
715
716 2007-02-05 -- 0.21.2
717 * fix ReST normalization (#3471)
718
719
720
721 2006-12-19 -- 0.21.1
722 * tree: make Node iterable (iter on its children)
723
724 * configuration: fix #3197 (OptionsManagerMixin __init__ isn't passing
725 correctly its "version" argument)
726
727 * textutils: new 'rest' argument to normalize_text to better deal with
728 ReST formated text
729
730 * some packaging fixes
731
732
733
734 2006-11-14 -- 0.21.0
735 * db:
736
737 - new optional keepownership argument to backup|restore_database methods
738 - only register mxDatetime converters on psycopg2 adapter if
739 mx.DateTime is available
740
741 * moved some stuff which was in common __init__ file into specific
742 module. At this occasion new "decorators" and "deprecation" modules
743 has been added
744
745 * deprecated fileutils.[files_by_ext,include_files_by_ext,exclude_files_by_e xt]
746 functions in favor of new function shellutils.find
747
748 * mark the following modules for deprecation, they will be removed in a
749 near version:
750
751 * astutils: moved to astng
752
753 * bind (never been used)
754
755 * html: deprecated
756
757 * logger/logservice: use logging module
758
759 * monclient/monserver (not used anymore)
760
761 * patricia (never been used)
762
763 * twisted_distutils (not used anymore)
764
765 * removed the following functions/methods which have been deprecated for a
766 while now:
767
768 * modutils.load_module_from_parts
769
770 * textutils.searchall
771
772 * tree.Node.leafs
773
774 * fileutils.get_by_ext, filetutils.get_mode, fileutils.ensure_mode
775
776 * umessage: more robust charset handling
777
778
779
780 2006-11-03 -- 0.20.2
781 * fileutils: new remove_dead_links function
782
783 * date: add missing strptime import
784
785
786
787 2006-11-01 -- 0.20.1
788 * umessage:
789 - new message_from_string function
790 - fixed get_payload encoding bug
791
792 * db: default postgres module is now psycopg2, which has been customized
793 to return mx.Datetime objects for date/time related types
794
795
796
797 2006-10-27 -- 0.20.0
798 * db:
799 - fixed date handling
800 - new methods on advanced helper to generate backup commands
801
802 * configuration: basic deprecated config handling support
803
804 * new implementation of pytest
805
806 * backport a dot backend from yams into a new "graph" module
807
808
809
810 2006-10-03 -- 0.19.3
811 * fixed bug in textutils.normalise_[text|paragraph] with unsplitable
812 word larger than the maximum line size
813
814 * added pytest.bat for windows installation
815
816 * changed configuration.generate_config to include None values into the
817 generated file
818
819
820
821 2006-09-25 -- 0.19.2
822 * testlib:
823 - fixed a bug in find_test making it returns some bad test names
824 - new assertIsInstance method on TestCase
825
826 * optik_ext: make it works if mx.DateTime is not installed, in which case
827 the date type option won't be available
828
829 * test fixes
830
831
832
833 2006-09-22 -- 0.19.1
834 * db:
835
836 - fixed bug when querying boolean on sqlite using python's bool type
837 - fixed time handling and added an adapter for DateTimeDeltaType
838 - added "drop_on_commit" argument to create_temporary_table on db helper
839 - added missing implementation of executemany on pysqlite2 wrapper to
840 support pyargs correctly like execute
841
842 * optik_ext: fixed "named" type option to support csv values and to return
843 a dictionary
844
845
846
847 2006-09-05 -- 0.19.0
848 * new umessage module which provides a class similar to the standard
849 email.Message class but returning unicode strings
850
851 * new clcommands module to handle commands based command line tool
852 (based on the configuration module)
853
854 * new "date" option type in optik_ext
855
856 * new AttrObject in testlib to create objects in test with arbitrary attribu tes
857
858 * add pytest to run project's tests and get rid of all runtests.py
859
860 * add pytest option to enable design-by-contract using aspects
861
862 * some enhancements to the configuration module
863
864
865
866 2006-08-09 -- 0.18.0
867 * added -c / --capture option to testlib.unittest_main
868
869 * fixed bugs in lgc.configuration
870
871 * optparser: added a OptionParser that extends optparse's with commands
872
873
874
875 2006-07-13 -- 0.17.0
876 * python2.5 compatibility (testlib.py + compat.py)
877
878 * testlib.assertListEquals return all errors at once
879
880 * new "password" option type in optik_ext
881
882 * configuration: refactored to support interactive input of a configuration
883
884
885
886 2006-06-08 -- 0.16.1
887 * testlib: improved test collections
888
889 * compat: added cmp argument to sorted
890
891
892
893 2006-05-19 -- 0.16.0
894 * testlib:
895
896 - added a set of command line options (PYDEBUG is deprecated,
897 use the -i/--pdb option, and added -x/--exitfirst option)
898 - added support for generative tests
899
900 * db:
901 - fix get_connection parameter order and host/port handling
902 - added .sql_temporary_table method to advanced func helpers
903 - started a psycopg2 adapter
904
905 * configuration: enhanced to handle default value in help and man pages
906 generation (require python >= 2.4)
907
908
909
910 2006-04-25 -- 0.15.1
911 * db: add missing port handling to get_connection function and
912 dbapimodule.connect methods
913
914 * testlib: various fixes and minor improvements
915
916
917
918 2006-03-28 -- 0.15.0
919 * added "cached" decorator and a simple text progression bar into __init__
920
921 * added a simple text progress bar into __init__
922
923 * configuration: fixed man page generation when using python 2.4
924
925 * db: added pysqllite2 support, preconfigured to handle timestamp using
926 mxDatetime and to correctly handle boolean types
927
928
929
930 2006-03-06 -- 0.14.1
931 * backported file support and add LOG_CRIT to builtin in logservice module
932
933
934
935 2006-02-28 -- 0.14.0
936 * renamed assertXML*Valid to assertXML*WellFormed and deprecated the old nam e
937
938 * fixed modutils.load_module_from_*
939
940
941
942 2006-02-03 -- 0.13.1
943 * fix some tests, patch contributed by Marien Zwart
944
945 * added ability to log into a file with make_logger()
946
947
948
949 2006-01-06 -- 0.13.0
950 * testlib: ability to skip a test
951
952 * configuration:
953
954 - cleaner configuration file generation
955 - refactoring so that we can have more control on file
956 configuration loading using read_config_file and load_config_file
957 instead of load_file_configuration
958
959 * modutils: fix is_relative to return False when from_file is a file
960 located somewhere in sys.path
961
962 * ureport: new "escaped" attribute on Text nodes, controling html escaping
963
964 * compat: make set iterable and support more other set operations...
965
966 * removed the astng sub-package, since it's now self-distributed as
967 logilab-astng
968
969
970
971 2005-09-06 -- 0.12.0
972 * shellutils: bug fix in mv()
973
974 * compat:
975 - use set when available
976 - added sorted and reversed
977
978 * table: new methods and some optimizations
979
980 * tree: added some deprecation warnings
981
982
983
984 2005-07-25 -- 0.11.0
985 * db: refactoring, added sqlite support, new helpers to support DBMS
986 specific features
987
988
989
990 2005-07-07 -- 0.10.1
991 * configuration: added basic man page generation feature
992
993 * ureports: unicode handling, some minor fixes
994
995 * testlib: enhance MockConnection
996
997 * python2.2 related fixes in configuration and astng
998
999
1000
1001 2005-05-04 -- 0.10.0
1002 * astng: improve unit tests coverage
1003
1004 * astng.astng: fix Function.format_args, new method
1005 Function.default_value, bug fix in Node.resolve
1006
1007 * astng.builder: handle classmethod and staticmethod as decorator,
1008 handle data descriptors when building from living objects
1009
1010 * ureports:
1011 - new docbook formatter
1012 - handle ReST like urls in the text writer
1013 - new build_summary utility function
1014
1015
1016
1017 2005-04-14 -- 0.9.3
1018 * optik_ext: add man page generation based on optik/optparse options
1019 definition
1020
1021 * modutils: new arguments to get_source_file to handle files without
1022 extensions
1023
1024 * astng: fix problem with the manager and python 2.2 (optik related)
1025
1026
1027
1028 2005-02-16 -- 0.9.2
1029 * textutils:
1030
1031 - added epydoc documentation
1032 - new sep argument to the get_csv function
1033 - fix pb with normalize_* functions on windows platforms
1034
1035 * fileutils:
1036
1037 - added epydoc documentation
1038 - fixed bug in get_by_ext (renamed files_by_ext) with the
1039 exclude_dirs argument
1040
1041 * configuration:
1042 - fixed a bug in configuration file generation on windows platforms
1043 - better test coverage
1044
1045 * fixed testlib.DocTest which wasn't working anymore with recent
1046 versions of pyunit
1047
1048 * added "context_file" argument to file_from_modpath to avoid
1049 possible relative import problems
1050
1051 * astng: use the new context_file argument from Node.resolve()
1052
1053
1054
1055 2005-02-04 -- 0.9.1
1056 * astng:
1057
1058 - remove buggy print
1059 - fixed builder to deal with builtin methods
1060 - fixed raw_building.build_function with python 2.4
1061
1062 * modutils: code cleanup, some reimplementation based on "imp",
1063 better handling of windows specific extensions, epydoc documentation
1064
1065 * fileutils: new exclude_dirs argument to the get_by_ext function
1066
1067 * testlib: main() support -p option to run test in a profiled mode
1068
1069 * generated documentation for modutils in the doc/ subdirectory
1070
1071
1072
1073 2005-01-20 -- 0.9.0
1074 * astng:
1075
1076 - refactoring of some huge methods
1077 - fix interface resolving when __implements__ is defined in a parent
1078 class in another module
1079 - add special code in the builder to fix problem with qt
1080 - new source_line method on Node
1081 - fix sys.path during parsing to avoid some failure when trying
1082 to get imported names by `from module import *`, and use an astng
1083 building instead of exec'ing the statement
1084 - fix possible AttributeError with Function.type
1085 - manager.astng_from_file fallback to astng_from_module if possible
1086
1087 * textutils: fix bug in normalize_paragraph, unquote handle empty string
1088 correctly
1089
1090 * modutils:
1091
1092 - use a cache in has_module to speed up things when heavily used
1093 - fix file_from_modpath to handle pyxml and os.path
1094
1095 * configuration: fix problem with serialization/deserialization of empty
1096 string
1097
1098
1099
1100 2005-01-04 -- 0.8.0
1101 * modutils: a lot of fixes/rewrite on various functions to avoid
1102 unnecessary imports, sys.path pollution, and other bugs (notably
1103 making pylint reporting wrong modules name/path)
1104
1105 * astng: new "inspector" module, initially taken from pyreverse code
1106 (http://www.logilab.org/projects/pyreverse), miscellaneous bug fixes
1107
1108 * configuration: new 'usage' parameter on the Configuration
1109 initializer
1110
1111 * logger: unicode support
1112
1113 * fileutils: get_by_ext also ignore ".svn" directories, not only "CVS"
1114
1115
1116
1117 2004-11-03 -- 0.7.1
1118 * astng:
1119
1120 - don't raise a syntax error on files missing a trailing \n.
1121 - fix utils.is_abstract (was causing an unexpected exception if a
1122 string exception was raised).
1123 - fix utils.get_implemented.
1124 - fix file based manager's cache problem.
1125
1126 * textutils: fixed normalize_text / normalize_paragraph functions
1127
1128
1129
1130 2004-10-11 -- 0.7.0
1131 * astng: new methods on the manager, returning astng with nodes for
1132 packages (i.e. recursive structure instead of the flat one), with
1133 automatic lazy loading + introduction of a dict like interface to
1134 manipulate those nodes and Module, Class and Function nodes.
1135
1136 * logservice: module imported from the ginco project
1137
1138 * configuration: added new classes Configuration and
1139 OptionsManager2Configuration adapter, fix bug in loading options
1140 from file
1141
1142 * optik_ext/configuration: some new option type "multiple_choice"
1143
1144 * fileutils: new ensure_mode function
1145
1146 * compat: support for sum and enumerate
1147
1148
1149
1150 2004-09-23 -- 0.6.0
1151 * db: added DBAPIAdapter
1152
1153 * textutils: fix in pretty_match causing malformated messages in pylint
1154 added ansi colorization management
1155
1156 * modutils: new functions get_module_files, has_module and file_from_modpath
1157
1158 * astng: some new utility functions taken from pylint, minor changes to the
1159 manager API, Node.resolve doesn't support anymore "living" resolution,
1160 some new methods on astng nodes
1161
1162 * compat: new module for a transparent compatibility layer between
1163 different python version (actually 2.2 vs 2.3 for now)
1164
1165
1166
1167 2004-07-08 -- 0.5.2
1168 * astng: fix another bug in klassnode.ancestors() method...
1169
1170 * db: fix mysql access
1171
1172 * cli: added a space after the prompt
1173
1174
1175
1176 2004-06-04 -- 0.5.1
1177 * astng: fix undefined var bug in klassnode.ancestors() method
1178
1179 * ureports: fix attributes on title layout
1180
1181 * packaging:fix the setup.py script to allow bdist_winst (well, the
1182 generated installer has not been tested...) with the necessary
1183 logilab/__init__.py file
1184
1185
1186
1187 2004-05-10 -- 0.5.0
1188 * ureports: new Universal Reports sub-package
1189
1190 * xmlrpcutils: new xmlrpc utilities module
1191
1192 * astng: resolve(name) now handle (at least try) builtins
1193
1194 * astng: fixed Class.as_string (empty parent when no base classes)
1195
1196 * astng.builder: knows a little about method descriptors, Function with
1197 unknown arguments have argnames==None.
1198
1199 * fileutils: new is_binary(filename) function
1200
1201 * textutils: fixed some Windows bug
1202
1203 * tree: base not doesn't have the "title" attribute anymore
1204
1205 * testlib: removed the spawn function (who used that ?!), added MockSMTP,
1206 MockConfigParser, MockConnexion and DocTestCase (test class for
1207 modules embedding doctest). All mocks objects are very basic and will be
1208 enhanced as the need comes.
1209
1210 * testlib: added a TestCase class with some additional methods then
1211 the regular unittest.TestCase class
1212
1213 * cli: allow specifying a command prefix by a class attributes,more
1214 robust, print available commands on help
1215
1216 * db: new "binary" function to get the binary wrapper for a given driver,
1217 and new "system_database" function returning the system database name
1218 for different DBMS.
1219
1220 * configuration: better group control
1221
1222
1223
1224 2004-02-20 -- 0.4.5
1225 * db: it's now possible to fix the modules search order. By default call
1226 set_isolation_level if psycopg is used
1227
1228
1229
1230 2004-02-17 -- 0.4.4
1231 * modutils: special case for os.path in get_module_part
1232
1233 * astng: handle special case where we are on a package node importing a modu le
1234 using the same name as the package, which may end in an infinite loop
1235 on relative imports in Node.resolve
1236
1237 * fileutils: new get_by_ext function
1238
1239
1240
1241 2004-02-11 -- 0.4.3
1242 * astng: refactoring of Class.ancestor_for_* methods (now
1243 depends on python 2.2 generators)
1244
1245 * astng: make it more robust
1246
1247 * configuration: more explicit exception when a bad option is
1248 provided
1249
1250 * configuration: define a short version of an option using the "short"
1251 keyword, taking a single letter as value
1252
1253 * configuration: new method global_set_option on the manager
1254
1255 * testlib : allow no "suite" nor "Run" function in test modules
1256
1257 * shellutils: fix bug in *mv*
1258
1259
1260
1261 2003-12-23 -- 0.4.2
1262 * added Project class and some new methods to the ASTNGManger
1263
1264 * some new functions in astng.utils
1265
1266 * fixed bugs in some as_string methods
1267
1268 * fixed bug in textutils.get_csv
1269
1270 * fileutils.lines now take a "comments" argument, allowing to ignore
1271 comment lines
1272
1273
1274
1275 2003-11-24 -- 0.4.1
1276 * added missing as_string methods on astng nodes
1277
1278 * bug fixes on Node.resolve
1279
1280 * minor fixes in textutils and fileutils
1281
1282 * better test coverage (need more !)
1283
1284
1285
1286 2003-11-13 -- 0.4.0
1287 * new textutils and shellutils modules
1288
1289 * full astng rewrite, now based on the compiler.ast package from the
1290 standard library
1291
1292 * added next_sbling and previous_sibling methods to Node
1293
1294 * fix get_cycles
1295
1296
1297
1298 2003-10-14 -- 0.3.5
1299 * fixed null size cache bug
1300
1301 * added 'sort_by_column*' methods for tables
1302
1303
1304
1305 2003-10-08 -- 0.3.4
1306 * fix bug in asntg, occurring with python2.3 and modules including an
1307 encoding declaration
1308
1309 * fix bug in astutils.get_rhs_consumed_names, occurring in lists
1310 comprehension
1311
1312 * remove debug print statement from configuration.py which caused a
1313 generation of incorrect configuration files.
1314
1315
1316
1317 2003-10-01 -- 0.3.3
1318 * fix bug in modutils.modpath_from_file
1319
1320 * new module corbautils
1321
1322
1323
1324 2003-09-18 -- 0.3.2
1325 * fix bug in modutils.load_module_from_parts
1326
1327 * add missing __future__ imports
1328
1329
1330
1331 2003-09-18 -- 0.3.1
1332 * change implementation of modutils.load_module_from_name (use find_module
1333 and load_module instead of __import__)
1334
1335 * more bug fixes in astng
1336
1337 * new functions in fileutils (lines, export) and __init__ (Execute)
1338
1339
1340
1341 2003-09-12 -- 0.3
1342 * expect "def suite" or "def Run(runner=None)" on unittest module
1343
1344 * fixes in modutils
1345
1346 * major fixes in astng
1347
1348 * new fileutils and astutils modules
1349
1350 * enhancement of the configuration module
1351
1352 * new option type "named" in optik_the ext module
1353
1354
1355
1356 2003-06-18 -- 0.2.2
1357 * astng bug fixes
1358
1359
1360
1361 2003-06-04 -- 0.2.1
1362 * bug fixes
1363
1364 * fix packaging problem
1365
1366
1367
1368 2003-06-02 -- 0.2.0
1369 * add the interface, modutils, optik_ext and configuration modules
1370
1371 * add the astng sub-package
1372
1373 * miscellaneous fixes
1374
1375
1376
1377 2003-04-17 -- 0.1.2
1378 * add the stringio module
1379
1380 * minor fixes
1381
1382
1383
1384 2003-02-28 -- 0.1.1
1385 * fix bug in tree.py
1386
1387 * new file distutils_twisted
1388
1389
1390
1391 2003-02-17 -- 0.1.0
1392 * initial revision
1393
1394
1395
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698