summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 486116b4f333367c4d38e712b10d731046a1875f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
ChangeLog for logilab.common
============================

  --
    * testlib: improved test collections
    * compat: added cmp argument to sorted
	
2006-05-19  --  0.16.0
    * testlib:
	 - added a set of command line options (PYDEBUG is deprecated,
       use the -i/--pdb option, and added -x/--exitfirst option)
     - added support for generative tests
    * db:
	- fix get_connection parameter order and host/port handling
	- added .sql_temporary_table method to advanced func helpers
	- started a psycopg2 adapter
    * configuration: enhanced to handle default value in help and man pages
      generation (require python >= 2.4)

	
2006-04-25  --  0.15.1
    * db: add missing port handling to get_connection function and
	  dbapimodule.connect methods
    * testlib: various fixes and minor improvments
	
2006-03-28  --  0.15.0
    * added "cached" decorator and a simple text progression bar into __init__
    * added a simple text progress bar into __init__
    * configuration: fixed man page generation when using python 2.4
    * db: added pysqllite2 support, preconfigured to handle timestamp using
      mxDatetime and to correctly handle boolean types

	
2006-03-06  --  0.14.1
    * backported file support and add LOG_CRIT to builtin in logservice module
	
2006-02-28  --  0.14.0
    * renamed assertXML*Valid to assertXML*WellFormed and deprecated the old name
    * fixed modutils.load_module_from_*

	
2006-02-03  --  0.13.1
    * fix some tests, patch contributed by  Marien Zwart
    * added ability to log into a file with make_logger()

	
2006-01-06  --  0.13.0
    * testlib: ability to skip a test
    * configuration:
      - cleaner configuration file generation
      - refactoring so that we can have more control on file
        configuration loading using read_config_file and load_config_file
        instead of load_file_configuration
    * modutils: fix is_relative to return False when from_file is a file
      located somewhere in sys.path
    * ureport: new "escaped" attribute on Text nodes, controling html escaping
    * compat: make set iterable and support more other set operations...
    * removed the astng sub-package, since it's now self-distributed as
      logilab-astng


2005-09-06  --  0.12.0
    * shellutils: bug fix in mv()
    * compat:
 	  - use set when available
	  - added sorted and reversed
    * table: new methods and some optimizations
    * tree: added some deprecation warnings



2005-07-25  --  0.11.0
    * db: refactoring, added sqlite support, new helpers to support DBMS
      specific features



2005-07-07  --  0.10.1
    * configuration: added basic man page generation feature
    * ureports: unicode handling, some minor fixes
    * testlib: enhance MockConnection
    * python2.2 related fixes in configuration and astng



2005-05-04  --  0.10.0
    * astng: improve unit tests coverage
	
    * astng.astng: fix Function.format_args, new method
      Function.default_value, bug fix in Node.resolve
	
    * astng.builder: handle classmethod and staticmethod as decorator,
      handle data descriptors when building from living objects

    * ureports:
	
      - new docbook formatter
      - handle ReST like urls in the text writer
      - new build_summary utility function


	
2005-04-14  --  0.9.3
    * optik_ext: add man page generation based on optik/optparse options
      definition

    * modutils: new arguments to get_source_file to handle files without
      extensions

    * astng: fix problem with the manager and python 2.2 (optik related)


	
2005-02-16  --  0.9.2
    * textutils:
	
      - added epydoc documentation
      - new sep argument to the get_csv function
      - fix pb with normalize_* functions on windows platforms

    * fileutils:
	
      - added epydoc documentation
      - fixed bug in get_by_ext (renamed files_by_ext) with the
        exclude_dirs argument

    * configuration:

      - fixed a bug in configuration file generation on windows platforms
      - better test coverage
	
    * fixed testlib.DocTest which wasn't working anymore with recent
      versions of pyunit

    * added "context_file" argument to file_from_modpath to avoid
      possible relative import problems

    * astng: use the new context_file argument from Node.resolve()

	
	
2005-02-04  --  0.9.1
    * astng:
	
      - remove buggy print
      - fixed builder to deal with builtin methods
      - fixed raw_building.build_function with python 2.4
	
    * modutils: code cleanup, some reimplementation based on "imp",
      better handling of windows specific extensions, epydoc documentation
   
    * fileutils: new exclude_dirs argument to the get_by_ext function

    * testlib: main() support -p option to run test in a profiled mode
	
    * generated documentation for modutils in the doc/ subdirectory


	
2005-01-20  --  0.9.0
    * astng:
	
      - refactoring of some huge methods
      - fix interface resolving when __implements__ is defined in a parent
        class in another module
      - add special code in the builder to fix problem with qt
      - new source_line method on Node
      - fix sys.path during parsing to avoid some failure when trying
        to get imported names by `from module import *`, and use an astng
        building instead of exec'ing the statement
      - fix possible AttributeError with Function.type 
      - manager.astng_from_file fallback to astng_from_module if possible
	
    * textutils: fix bug in normalize_paragraph, unquote handle empty string
      correctly

    * modutils:
      - use a cache in has_module to speed up things when heavily used
      - fix file_from_modpath to handle pyxml and os.path

    * configuration: fix problem with serialization/deserialization of empty
      string


	  
2005-01-04  --  0.8.0
    * modutils: a lot of fixes/rewrite on various functions to avoid
      unnecessary imports, sys.path pollution, and other bugs (notably
      making plylint reporting wrong modules name/path)

    * astng: new "inspector" module, initially taken from pyreverse code
      (http://www.logilab.org/projects/pyreverse), miscellaneous bug fixes

    * configuration: new 'usage' parameter on the Configuration
      initializer

    * logger: unicode support

    * fileutils: get_by_ext also ignore ".svn" directories, not only "CVS"



2004-11-03  --  0.7.1
    * astng:
	
      - don't raise a syntax error on files missing a trailing \n.
      - fix utils.is_abstract (was causing an unexpected exception if a
        string exception was raised).
      - fix utils.get_implemented.
      - fix file based manager's cache problem.

    * textutils: fixed normalize_text / normalize_paragraph functions



2004-10-11  --  0.7.0
    * astng: new methods on the manager, returning astng with nodes for
      packages (ie recursive structure instead of the flat one), with
      automatic lazy loading + introduction of a dict like interface to
      manipulate those nodes and Module, Class and Function nodes.

    * logservice: module imported from the ginco project

    * configuration: added new classes Configuration and
      OptionsManager2Configuration adapter, fix bug in loading options
      from file

    * optik_ext/configuration: some new option type "multiple_choice"

    * fileutils: new ensure_mode function

    * compat: support for sum and enumerate



2004-09-23  --  0.6.0
    * db: added DBAPIAdapter

    * textutils: fix in pretty_match causing malformated messages in pylint
      added ansi colorization management

    * modutils: new functions get_module_files, has_module and file_from_modpath

    * astng: some new utility functions taken from pylint, minor changes to the
      manager API, Node.resolve doesn't support anymore "living" resolution,
      some new methods on astng nodes

    * compat: new module for a transparent compatibility layer between
      different python version (actually 2.2 vs 2.3 for now)



2004-07-08  --  0.5.2
    * astng: fix another bug in klassnode.ancestors() method...

    * db: fix mysql access

    * cli: added a space after the prompt



2004-06-04  --  0.5.1
    * astng: fix undefined var bug in klassnode.ancestors() method

    * ureports: fix attributes on title layout

    * packaging:fix the setup.py script to allow bdist_winst (well, the
      generated installer has not been tested...) with the necessary
      logilab/__init__.py file



2004-05-10  --  0.5.0
    * ureports: new Universal Reports sub-package

    * xmlrpcutils: new xmlrpc utilities module

    * astng: resolve(name) now handle (at least try) builtins

    * astng: fixed Class.as_string (empty paren when no base classes)

    * astng.builder: knows a litle about method descriptors, Functin with
      unknown arguments have argnames==None.

    * fileutils: new is_binary(filename) function

    * textutils: fixed some Windows bug

    * tree: base not doesn't have the "title" attribute anymore

    * testlib: removed the spawn function (who used that ?!), added MockSMTP,
      MockConfigParser, MockConnexion and DocTestCase (test class for
      modules embeding doctest). All mocks objects are very basic and will be
      enhanced as the need comes.

    * testlib: added a TestCase class with some additional methods then
      the regular unittest.TestCase class

    * cli: allow specifying a command prefix by a class attributes,more
      robust, print available commands on help

    * db: new "binary" function to get the binary wrapper for a given driver,
      and new "system_database" function returning the system database name
      for different DBMS.

    * configuration: better group control



2004-02-20  --  0.4.5
    * db: it's now possible to fix the modules search order. By default call
      set_isolation_level if psycopg is used



2004-02-17  --  0.4.4
    * modutils: special case for os.path in get_module_part

    * astng: handle special case where we are on a package node importing a module
      using the same name as the package, which may end in an infinite loop
      on relative imports in Node.resolve

    * fileutils: new get_by_ext function



2004-02-11  --  0.4.3
    * astng: refactoring of Class.ancestor_for_* methods (now
      depends on python 2.2 generators)

    * astng: make it more robust

    * configuration: more explicit exception when a bad option is
      provided

    * configuration: define a short version of an option using the "short"
      keyword, taking a single letter as value

    * configuration: new method global_set_option on the manager

    * testlib : allow no "suite" nor "Run" function in test modules

    * shellutils: fix bug in *mv*



2003-12-23  --  0.4.2
    * added Project class and some new methods to the ASTNGManger

    * some new functions in astng.utils

    * fixed bugs in some as_string methods

    * fixed bug in textutils.get_csv

    * fileutils.lines now take a "comments" argument, allowing to ignore
      comment lines



2003-11-24  --  0.4.1
    * added missing as_string methods on astng nodes

    * bug fixes on Node.resolve

    * minor fixes in textutils and fileutils

    * better test coverage (need more !)



2003-11-13  --  0.4.0
    * new textutils and shellutils modules

    * full astng rewrite, now based on the compiler.ast package from the
      standard library

    * added next_sbling and previous_sibling methods to Node

    * fix get_cycles



2003-10-14  --  0.3.5
    * fixed null size cache bug

    * added 'sort_by_column*' methods for tables



2003-10-08  --  0.3.4
    * fix bug in asntg, occuring with python2.3 and modules including an
      encoding declaration

    * fix bug in astutils.get_rhs_consumed_names, occuring in lists
      comprehension

    * remove debug print statement from configuration.py which caused a
      generation of incorrect configuration files.



2003-10-01  --  0.3.3
    * fix bug in modutils.modpath_from_file

    * new module corbautils



2003-09-18  --  0.3.2
    * fix bug in modutils.load_module_from_parts

    * add missing __future__ imports



2003-09-18  --  0.3.1
    * change implementation of modutils.load_module_from_name (use find_module
      and load_module instead of __import__)

    * more bug fixes in astng

    * new functions in fileutils (lines, export) and __init__ (Execute)



2003-09-12  --  0.3
    * expect "def suite" or "def Run(runner=None)" on unittest module

    * fixes in modutils

    * major fixes in astng

    * new fileutils and astutils modules

    * enhancement of the configuration module

    * new option type "named" in optik_the ext module



2003-06-18  --  0.2.2
    * astng bug fixes



2003-06-04  --  0.2.1
    * bug fixes

    * fix packaging problem



2003-06-02  --  0.2.0
    * add the interface, modutils, optik_ext and configuration modules

    * add the astng sub-package

    * miscellaneous fixes



2003-04-17  --  0.1.2
    * add the stringio module

    * minor fixes



2003-02-28  --  0.1.1
    * fix bug in tree.py

    * new file distutils_twisted



2003-02-17  --  0.1.0
    * initial revision