summaryrefslogtreecommitdiffstats
path: root/NEWS
blob: 147ba2bbc373a92a3edde76a3b8dfec9c83f9579 (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
Version 1.2.27 - 27 August 2016, by Thierry Vignaud

- fake packages:
  o add USER for userdrake
- don't die when @ISA or "use base" is used more than once,
  make it a warning instead (needed for Parted bindings)

Version 1.2.26 - 24 February 2014, by Thierry Vignaud

- fix "undeclared variable $_" false positive on List::Util::first()
- fake packages:
  o add Gtk3 & Gtk3::{Notify,WebKit}

Version 1.2.25 - 5 September 2013, by Thierry Vignaud

- update Glib fake package
- "please remove the space before the function call" is no more fatal

Version 1.2.24 - 14 October 2012, by Thierry Vignaud

- recognize /r modifier for regexpes
- recognize \E, \L, \u, \U in regexpes

Version 1.2.23 - 04 October 2012, by Thierry Vignaud

- update URPM fake package

Version 1.2.22 - 21 September 2012, by Thierry Vignaud

- update URPM fake package

Version 1.2.21 - 6 September 2012, by Thierry Vignaud

- update RPM4 & URPM fake packages

Version 1.2.20 - 7 August 2012, by Thierry Vignaud
- perl_checker:
  o default to UTF-8 charset when generating reference catalog

Version 1.2.19 - 3 April 2012, by Thierry Vignaud

- fake packages:
  o add XML::LibXML::Reader for urpmi
- perl_checker:
  o recognize binmode()
  o recognize "%f" in printf strings

Version 1.2.18 - 26 March 2012, by Thierry Vignaud

- fake packages:
  o add RPM4 (for eg: iurt)
  o update Net::FTP for installer
- perl_checker:
  o recognize \B in regexps
  o recognize -p (pipe test) & -S (socket test)
  o recognize getpgrp()
  o kill "undeclared variable $^S"

Version 1.2.17 - 19 March 2012, by Thierry Vignaud

- fix Glib fake package causing perl_checker to show bogus "too many
  parameters" on some isa() calls

Version 1.2.16 - 18 March 2012, by Thierry Vignaud

- reduce perl_checker SNR on perl function expecting a variable number
  of arguments
- update URPM fake package

Version 1.2.15 - 08 March 2012, by Thierry Vignaud

- blacklist some function names that perl_checker dislike (use, ...)
- fix 2 fake packages

Version 1.2.14 - 01 February 2012, by Thierry Vignaud

- update fake packages

Version 1.2.13 - 30 January 2012, by Thierry Vignaud

- parse .pm files too when generating fake packages
- update fake packages

Version 1.2.12 - 20 September 2011, by Thierry Vignaud

- update fake packages

Version 1.2.11 - 25 September 2008, by Pascal "Pixel" Rigaux

- re-allow "$object->state" and "sub state ..."
- ignore "use feature"

Version 1.2.10 - 25 September 2008, by Pascal "Pixel" Rigaux

- recognize "state"
- fix typo causing qq(} $foo) to be parsed as q(} $foo)

Version 1.2.9 - 17 September 2008, by Thierry Vignaud

- fake_packages:
  o add Gtk2::Notify (which replaces Gtk2::NotificationBubble)
  o add Gtk2::Sexy
  o fix error in generated Glib

Version 1.2.8 - 17 September 2008, by Thierry Vignaud

- fake_packages:
  o fix error in generated Gtk2

Version 1.2.7 - 17 September 2008, by Thierry Vignaud

- fake_packages:
  o add URPM (for rpmdrake)

Version 1.2.6 - 17 September 2008, by Thierry Vignaud

- fake_packages:
  o add Gtk2::WebKit (for mcc)
  o update Glib & Gtk2

Version 1.2.5 - 4 September 2008, by Pascal "Pixel" Rigaux

- recognize //=
- recognize file test "-o" (File is owned by effective uid.)
- don't die when @ISA packages are unknow, make it a warning instead

Version 1.2.4 - 21 December 2006, by Pascal "Pixel" Rigaux

- handle P(...) for plurals (similar to N(...))

Version 1.2.3 - 4 December 2006, by Pascal "Pixel" Rigaux

- fake_packages:
  o add MDV::Distribconf methods used by urpm.pm 
  o add Gtk2::Html2 (for mcc)
  o add a fake module for Gtk2::NotificationBubble so that network tools 
    can be checked
  o update Gnome2::Vte
- fix some warnings:
  o don't suggest replacing "\l" with "l"
  o fix warning for "\"x'"
  o handle -z and -t (per titi request)
  o handle "use base 'Exporter'"
  o no warnings on: !our $foo

Version 1.2.2 - 07 Nov 2006, by Pascal "Pixel" Rigaux
  - urpm.pm and URPM/Resolve.pm are now perl_checker compliant
  - moved SVN repository out of perl-MDK-Common to its own dir
  - %INC is known

Version 1.1.31 - 26 Oct 2006, by Pascal "Pixel" Rigaux
  - Curses::UI: add Dialog::Progress methods

Version 1.1.30 - 21 Oct 2006, by Pascal "Pixel" Rigaux
  - add a few more functions to Curses/UI.pm and Curses

Version 1.1.29 - 19 Oct 2006, by Thierry Vignaud
  - sync with Glib & Gtk2 bindings 1.140
  - sync with Gnome2-Vte-0.06
  - sync with Gnome2-1.040

Version 1.1.28 - 19 Oct 2006, by Pascal "Pixel" Rigaux
  - added fake package Curses::UI
  - remove false warning for "\c"
  - detect some unreachable code (code following exit/die/...)

Version 1.1.27 - 24 Aug 2006, by Pascal "Pixel" Rigaux
  - add fake MDV::Distribconf

Version 1.1.26 - 22 Jun 2006, by Pascal "Pixel" Rigaux
  - handle $o->pop

Version 1.1.25 - 16 Jun 2006, by Pascal "Pixel" Rigaux
  - handle "use base ..."
  - add a fake packdrake.pm

Version 1.1.24 - 15 Jun 2006, by Pascal "Pixel" Rigaux
  - "pop @l" return value can be dropped (ie make it similar to "shift")

Version 1.1.23 - 16 May 2006, by Pascal "Pixel" Rigaux
  - it seems stack is smaller on amd64, function concat_spaces need to be tail-recursive

Version 1.1.22 - 12 Apr 2006, by Thierry Vignaud
  - sync with Glib/Gtk2-1.120

Version 1.1.21 - 25 Nov 2005, by Pascal "Pixel" Rigaux
  - renamed package from perl-MDK-Common-devel to perl_checker
  - new option --generate-package-dependencies-graph

Version 1.1.20 - 26 Nov 2004, by Pascal "Pixel" Rigaux
  - new checks

Version 1.1.19 - 10 Nov 2004, by Pascal "Pixel" Rigaux
  - various enhancements/fixes

Version 1.1.17-3mdk - 19 Aug 2004, by Pascal "Pixel" Rigaux
  - add perl_checker-vim
  - add Ctrl-return in perl and cperl emacs mode
  - fake Getopt::Long

Version 1.1.17-2mdk - 12 Aug 2004, by Pascal "Pixel" Rigaux
  - various enhancements/fixes

Version 1.1.12 - 11 May 2004, by Pascal "Pixel" Rigaux
  - many enhancements and cleanup

Version 1.1.11-4mdk - 08 Apr 2004, by Thierry Vignaud
  - perl_checker:
    o add perl_checker.html
    o add testsuite
    o fix detecting of boolean context vs scalar context
    o fix some warning
    o in "$a ? $a : xxx", "xxx" can need short circuit
    o recognize "-c" function
    o turn some errors to warnings
  - perl_checker's faked packages:
    o sync with glib/gtk+ 2.4.0
    o support Gnome2 and Gnome2::Vte too

Version 1.1.10-2mdk - 13 Feb 2004, by Thierry Vignaud
  - update gtk2-perl binding fake package

Version 1.1.11-1mdk - 13 Jan 2004, by Pascal "Pixel" Rigaux
  - sync perl_checker_fake_packages/{Glib,Gtk2}.pm
  - fix build time overflow in cache

Version 1.1.10-2mdk - 09 Jan 2004, by Pascal "Pixel" Rigaux
  - entries in generated pot file are sorted by files

Version 1.1.9 - 05 Jan 2004, by Pascal "Pixel" Rigaux
  - many enhancements

Version 1.1.8-3mdk - 18 Nov 2003, by Thierry Vignaud
  - perl_checker --generate-pot: unescape "$" & "@" caracters

Version 1.1.8-2mdk - 10 Nov 2003, by Thierry Vignaud
  - fix path in po generated from sources

Version 1.1.6-2mdk - 28 Aug 2003, by Thierry Vignaud
  - resync perl_checker fake packages with to perl-Gtk2-0.95-5mdk

Version 1.1.6 - 11 Aug 2003, by Pascal "Pixel" Rigaux
- perl_checker:
  - allow $_o_XXX parameter name which is both unused and optional (same for $_b_XXX)
  - shift is a ONE_SCALAR_PARA so that $box->pack_start(shift @l, 0, 0, 4) is parsed correctly
  - in arrange_global_vars_declared(), don't keep anything in global_vars_declared, better
    create shadow packages to contain them
  - much better merging of multiple files defining functions in the same package.
    This fixes the bad behaviour when using the cache (esp. do_pkgs, but it was even worse
    with things in ugtk2.pm)
  - adapt to perl-Gtk2 xs (which replace the perl-GTK2 inline version)

Version 1.1.4 - 27 May 2003, by Pascal "Pixel" Rigaux
- many perl_checker enhancements:
  - disallow return(...), prefering return ...
  - enhance restricted_subscripted to correctly handle -e foo::bar()->{boo}
  - handle use foo() and use foo ("x", "y")
  - better warning for: print $a . 'foo'
  - add a special case to handle "arch => 1" without going through word_alone()
  - warn things like: if ($a = 1) { ... } or 0 or ...
  - explicitly disallow <<=, >>= and **= (instead of having a syntax error)
  - check prototype coherence: disallow ($a, @b, $c) or ($a, $o_b, $c)
  - warn spurious space in ( 1, 2) which should be (1, 2)
  - warn $o->method() which should be $o->method
  - suggest using the functional map instead of the imperative foreach when possible
  - add warning: you can replace "map { if_(..., $_) }" with "grep { ... }"
  - suggest any instead of grep in scalar context
  - suggest foreach instead of map in empty context
  - fix "/^\d+\.\*$/" giving warning "you can remove \".*$\" at the end of your regexp"

Version 1.1.3 - 16 May 2003, by Pascal "Pixel" Rigaux
- fix pot generation (have \" instead of \\\")

Version 1.1.2-2mdk - 12 May 2003, by Pascal "Pixel" Rigaux
- rebuild for perl auto-provides
  (except for perl-MDK-Common-devel which need special handling for the faked packages)

Version 1.1.2 - 29 Apr 2003, by Pascal "Pixel" Rigaux
- perl_checker: more context checks
  - ensure the values are used (eg: "map { ... } ...", "/xxx/")
  - ensure the values "... or ...", "... and ..." are not used

Version 1.1.1 - 25 Apr 2003, by Pascal "Pixel" Rigaux
- perl_checker: enhanced "number of arguments" checking, including method calls

Version 1.1.0-2mdk - 18 Apr 2003, by Guillaume Cottenceau
- add the tutorial to the -devel package

Version 1.1.0 - 17 Apr 2003, by Pascal "Pixel" Rigaux
- basic "number of arguments" checking

Version 1.0.5 - 11 Apr 2003, by Pascal "Pixel" Rigaux
- many perl_checker enhancements:
  - allow 333 * `xxx` with no warning
  - warn non-useful or non-readable escaped sequences in strings and regexps
    (eg: /^\// should be m|^/|, /xxx\=xxx/ should be /xxx=xxx/ ...)
  - warn things like: ($foo) ||= ...
  - enhance non_scalar case for some operators using is_not_a_scalar
  - handle "keys %pkg::" (twas broken because keys() is now a ONE_SCALAR_PARA)
  - keys() is a ONE_SCALAR_PARA
  - correctly (in Perl way) handle priority for some special unary functions (length, exists, ref)
  - warn xxx == "ia64", xxx eq 2
  - 0.2 is a NUM, not a REVISION (otherwise it gets into a Raw_string)
  - better error message ("please remove the space before the function call"
    instead of "can't handle this nicely")
  - warn when using a regexp terminated with .* or .*$ (which is useless)
  - allow to selectively import from @EXPORT instead of only accepting @EXPORT_OK

Version 1.0.4-23mdk - 24 Feb 2003, by Pascal "Pixel" Rigaux
- have the POT-Creation-Date set to the current date (when --generate-pot)
- various fixes

Version 1.0.4-21mdk - 14 Feb 2003, by Pascal "Pixel" Rigaux
- don't suggest to replace "@foo ? @foo : @bar" with "@foo || @bar", this is wrong!

Version 1.0.4-20mdk - 13 Feb 2003, by Pascal "Pixel" Rigaux
- add some more Gtk2 methods
- check use of variables with name _XXX (reserved for unused variables)

Version 1.0.4-19mdk - 12 Feb 2003, by Pascal "Pixel" Rigaux
- handle ${foo} (including "${foo}bar")
- warn when "ref" priority is badly handled by perl_checker

Version 1.0.4-18mdk - 6 Feb 2003, by Pascal "Pixel" Rigaux
- add various Gtk2 methods
- handle "...\x{hex}..."
- suggest replacing $l[$#l] with $l[-1]

Version 1.0.4-16mdk - 21 Jan 2003, by Pascal "Pixel" Rigaux
- perl_checker: add some Gtk2 methods

Version 1.0.4-15mdk - 16 Jan 2003, by Pascal "Pixel" Rigaux
- perl_checker:
  - check occurences of "$foo ? $foo : $bar"
  - disallow "fq::f args" when args is not parenthesized

Version 1.0.4-14mdk - 15 Jan 2003, by Pascal "Pixel" Rigaux
- perl_checker: when generating pot, add an header and fake line numbers to
  please msgmerge

Version 1.0.4-12mdk - 28 Dec 2002, by Pascal "Pixel" Rigaux
- perl_checker: add some more Gtk2 functions

Version 1.0.4-11mdk - 18 Dec 2002, by Pascal "Pixel" Rigaux
- perl_checker: many new features including
  - checking methods being available
  - checking unused functions
  - saving parsed file in .perl_checker.cache
  - new instruction "Basedir .." in .perl_checker (useful for gi/perl-install/standalone/.perl_checker)

Version 1.0.4-10mdk - 11 Dec 2002, by Pascal "Pixel" Rigaux
- perl_checker: add option "-t" enabling titi to precise tab-width=4
- perl_checker: fix a bug in getting exported functions (fixes "unknown function gtkshow")

Version 1.0.4-9mdk - 10 Dec 2002, by Pascal "Pixel" Rigaux
- perl_checker: check the c-format conformity of translated strings

Version 1.0.4-8mdk - 10 Dec 2002, by Pascal "Pixel" Rigaux
- perl_checker: new --generate-pot feature

Version 1.0.4-7mdk - 6 Dec 2002, by Pascal "Pixel" Rigaux
- perl_checker: print on stdout, not stderr
- perl_checker: add option --restrict-to-files (mainly for perl_checko the Clean Keeper)

Version 1.0.4-6mdk - 6 Dec 2002, by Pascal "Pixel" Rigaux
- perl_checker now checks usage of $_
- ignore unknown functions coming from XS bootstrap when we can't use the .c
  to know the list of functions provided by the XS extension

Version 1.0.4-5mdk - 4 Dec 2002, by Pascal "Pixel" Rigaux
- add unused variable detection
- allow $AUTOLOAD usage in AUTOLOAD()
- handle "use lib qw(...)"

Version 1.0.4-4mdk - 4 Dec 2002, by Pascal "Pixel" Rigaux
- warn use of "cond ? list : ()" (use if_(cond, list) instead)

Version 1.0.4-3mdk - 2 Dec 2002, by Pascal "Pixel" Rigaux
- some more checks in perl_checker ($1 =~ /re/ is a warning)

Version 1.0.4-2mdk - 28 Nov 2002, by Pascal "Pixel" Rigaux
- new perl_checker now has every feature of the old version
  (except checking $_ in small subs, a more global solution should come)

Version 1.0.4 - 13 Nov 2002, by Pascal "Pixel" Rigaux
- new perl_checker written in OCaml (not as featured as previous perl_checker yet)

Version 1.0.3-18mdk - 7 Nov 2002, by Pascal "Pixel" Rigaux
- perl_checker: many more warnings
  - warn unneeded parentheses after an infix foreach/if/unless
  - error when "unless" is used with complex expressions
  - force $_ to be localised when "while (<FILEHANDLE>)" is used
  - force FILEHANDLE to be localised when "open FILEHANDLE, ..." is used
  - warn about one-character long functions (esp. for &N and &_)
  - warn when N("...") is misused

Version 1.0.3-17mdk - 17 Oct 2002, by Pascal "Pixel" Rigaux
- add a check for function call PKG::f instead of PKG::f()
- ensure a missing "=cut" doesn't make perl_checker go crazy (eg: when titi adds some doc)

Version 1.0.3-14mdk - 28 Aug 2002, by Pascal "Pixel" Rigaux
- no function "xxx undefined" when using "#-#"

Version 1.0.3-11mdk - 31 Jul 2002, by Pascal "Pixel" Rigaux
- perl_checker: a few more stricter rules

Version 1.0.3-10mdk - 31 Jul 2002, by Pascal "Pixel" Rigaux
- perl_checker: cleaner, more usable (via .perl_checker for -exclude's)
- perl_checker: more stricter syntax rules

Version 1.0.3-9mdk - 31 Jul 2002, by Pascal "Pixel" Rigaux
- perl_checker: add *much* stricter syntax rules

Version 1.0.3-5mdk - 23 Jul 2002, by Pascal "Pixel" Rigaux
- perl_checker: catch misuse of =~ when = was meant

Version 1.0.3-4mdk - 17 Jul 2002, by Pascal "Pixel" Rigaux
- perl_checker: add new checks
- perl_checker: exclude Date::Manip

Version 1.0.3-3mdk - 9 Jul 2002, by Pascal "Pixel" Rigaux
- workaround perl 5.8.0-RC2 bug

Version 1.0.2-13mdk - 19 Feb 2002, by Pascal "Pixel" Rigaux
- perl_checker: skip s///

Version 1.0.2-11mdk - 16 Feb 2002, by Pascal "Pixel" Rigaux
- perl-checker: don't fail on non-tagged import

Version 1.0.2-2mdk - 27 Aug 2001, by Pascal "Pixel" Rigaux
- create perl-MDK-Common-devel

Version 1.0.2 - 9 Aug 2001, by Pascal "Pixel" Rigaux
- a few more checks in perl_checker

Version 1.0-1mdk - 3 Aug 2001, by Pascal "Pixel" Rigaux
- doc finished
- index.html added (nicer than perldoc)

Version 1.0-0.3mdk - 3 Aug 2001, by Pascal "Pixel" Rigaux
- much doc added

Version 1.0-0.2mdk - 25 Jul 2001, by Pascal "Pixel" Rigaux
- another pre-release: some doc added, some fixes

Version 1.0-0.1mdk - 24 Jul 2001, by Pascal "Pixel" Rigaux
- first version