~ubuntu-branches/ubuntu/oneiric/mksh/oneiric

« back to all changes in this revision

Viewing changes to debian/changelog

  • Committer: Bazaar Package Importer
  • Author(s): Thorsten Glaser
  • Date: 2010-02-28 17:32:01 UTC
  • mfrom: (1.1.15 upstream) (2.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100228173201-wkqhm2ppvcj4opi0
Tags: 39.3-1ubuntu1
* Merge from Debian unstable. (Closes LP: #529559)
  New upstream version. (Closes LP: #355883)
  This integrates a workaround for a gcc bug. (cf. LP: #375604)
  Remaining Ubuntu changes:
  - debian/control, debian/rules: Exclude dietlibc on powerpc/ppc64
    and sparc (cf. LP: #381332)
  - debian/README.Debian, debian/mksh.postinst: Hardcode installing
    mksh as /bin/sh to false (cf. LP: #348872) but retain debconf
    infrastructure so that, if set to true in old installations, it
    will correctly be removed on upgrade

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
mksh (39.3-1ubuntu1) lucid; urgency=low
 
2
 
 
3
  * Merge from Debian unstable. (Closes LP: #529559)
 
4
    New upstream version. (Closes LP: #355883)
 
5
    This integrates a workaround for a gcc bug. (cf. LP: #375604)
 
6
    Remaining Ubuntu changes:
 
7
    - debian/control, debian/rules: Exclude dietlibc on powerpc/ppc64
 
8
      and sparc (cf. LP: #381332)
 
9
    - debian/README.Debian, debian/mksh.postinst: Hardcode installing
 
10
      mksh as /bin/sh to false (cf. LP: #348872) but retain debconf
 
11
      infrastructure so that, if set to true in old installations, it
 
12
      will correctly be removed on upgrade
 
13
 
 
14
 -- Thorsten Glaser <tg@mirbsd.de>  Sun, 28 Feb 2010 17:32:01 +0000
 
15
 
 
16
mksh (39.3-1) unstable; urgency=low
 
17
 
 
18
  * New upstream version R39c; shortened ChangeLog since R39:
 
19
    - [tg] Build system, code, docs and testsuite cleanup, also style(9)
 
20
    - [tg] Parse and evaluate ${parameter op word} correctly
 
21
    - [tg] Fix possible SIGSEGV in interactive mode bind builtin due to
 
22
      mis-optimisation of gcc combined with a bogus prototype;
 
23
      discovered by Grml.org's Frank Terbeck (ft), thanks!
 
24
    - [tg] Clean up some more strict *roff or compiler warnings: dashes,
 
25
      undefined macros; casting errors (constness, signedness, type
 
26
      width/class) and catch possibly unaligned pointer dereferences
 
27
      early; remove code/rodata redundancies, plug memory leaks
 
28
    - [smultron] Tweak the manual page: point out the word “colour”
 
29
    - [tg] Optimise dot.mkshrc DJB’s CDB hash implementations; add Bob
 
30
      Jenkins’ one-at-a-time hash (standard and leading-bit
 
31
      initialised); fix signedness in expressions; let the hashes use
 
32
      stdin if "$*" is empty, like Lb64{en,de}code; use
 
33
      “[[ -o utf8-mode ]]” ipv “[[ $- = *U* ]]”
 
34
    - [tg] Build.sh portability fixes: missing prerequisite headers;
 
35
      ensure $CC is never called without $CFLAGS; fix test.sh, et al.
 
36
    - [tg] Optimise internal variable representation; use one-at-a-time
 
37
      hash; cache hash values for faster resizing at zero memory cost;
 
38
      clean up hash table (keytab) code; switch hash table collision
 
39
      resolution algorithm to Python’s; prepare for later changes
 
40
    - [tg] Fix type errors in the source code (int → bool, size_t,
 
41
      mksh_uari_t)
 
42
    - [tg] Fix “${foo:bar:$baz}” not working (missing substitute() call)
 
43
    - [tg] Implement “typeset ±a” as nop
 
44
    - [tg] Support ksh93-like “${!foo[@]}” listing the keys (indicēs) of
 
45
      all set array elements
 
46
    - [tg] Support bash/ksh93-like “array=([key]=value …)” and
 
47
      (additionally) “set ±A array -- [key]=value …” to directly
 
48
      specify indicēs to use
 
49
    - [tg] Document the optional, unsupported, printf(1) builtin in TFM
 
50
    - [tg] Replace realpath(3) dependency and internally used
 
51
      get_phys_path() pdksh code with own implementation; always offer
 
52
      the realpath builtin
 
53
    - [tg] Implement nameref='typeset -n' (bounded variables) like AT&T
 
54
      ksh93 but with mksh-style nested/dynamic scoping and on-use
 
55
      resolving; they cannot currently be stored in an array though
 
56
    - [tg] Add “chdir” builtin doing the same as “cd” special builtin
 
57
    - [tg, David Korn] Document more differences between mksh (and
 
58
      pdksh) and AT&T ksh (or, more specific, ksh88, ksh93) in the
 
59
      manual page
 
60
    - [tg] Support “'a'” as an alternative to “1#a”, like ksh93 does
 
61
    - [tg] Add ksh’s “test -o ?foo”: true if “foo” is a valid shell
 
62
      option, where “foo” can be “xtrace” or “-x” or “+x” (these three
 
63
      are equivalent)
 
64
    - [tg] Support “$'…'” backslash-expanding single-quoted strings, as
 
65
      requested by David Korn, with almost the same syntax and semantics
 
66
    - [tg] Unify backslash expansion code (C style vs. print builtin)
 
67
    - [tg] Support “function stop () {” bashism
 
68
    - [tg] For several items in the source code that require order to be
 
69
      kept, provide from multiply-included header files; sort correctly
 
70
    - [tg] Get rid of unneeded FMONITOR (-m) for shells without job
 
71
      control; sync list of flags, comments and manpage with reality
 
72
    - [tg] If MKSH_SMALL, reduce size by removing editor functionality
 
73
    - [tg] Support VT100 emulator style {Ctrl,Alt}-CurLeft/Right keycode
 
74
      sequences with new vt100-hack emacs bind function (LP: #355883)
 
75
    - [cnuke, tg] Remove more, like GNU bash extensions, from MKSH_SMALL
 
76
    - [tg] Remove more functionality, such as Emacs command line editing
 
77
      mode bind key macros, and other extensions, from MKSH_SMALL to
 
78
      help floppies
 
79
    - [tg] Make forking and subshells less expensive wrt. random state
 
80
    - [tg] Build and source code fixes for / caught by SUNWcc, HP aCC,
 
81
      pcc, DEC ucode cc (MIPS), GCC, LLVM clang
 
82
    - [tg] Make undef/def MKSH_NOVI into 0/1 MKSH_S_NOVI build flag
 
83
    - [tg] Get rid of "U getenv" in nm output, we already import environ
 
84
    - [tg] Simplify $RANDOM handling: reads are now either arc4random(3)
 
85
      (if available: set +o arc4random is no longer possible) or an LCG;
 
86
      writes are arc4random_pushb(3) if available for explicit writes,
 
87
      arc4random_addrandom(3) otherwise, or another one-at-a-time hash
 
88
      feeding the LCG; furthermore, RANDOM is now always exported to and
 
89
      imported from (implicit read: no push to kernel done) the
 
90
      environment vector on startup and spawning
 
91
    - [tg] Document mksh does not exactly use OPTU-8/OPTU-16 in the
 
92
      manpage, as well as when characters, octets, or screen columns
 
93
      are used
 
94
    - [tg] Fix exit 127 on "mksh /tmp/horsies" ipv of 1 on ENOENT,
 
95
      #548744
 
96
    - [Clint Adams] Fix typos in the testsuite
 
97
    - [tg, Clint Adams] Begin a shared testsuite for mksh and posh
 
98
    - [tg] Make 「((foo) || bar)」 and 「((foo) | (bar))」 work
 
99
    - [tg] Fix lazy evaluation of assignments by ternary operator,
 
100
      #445651
 
101
    - [tg] Work around Cygwin bugs (quirks) hindering the testsuite
 
102
    - [tg] In FSH mode, “echo [-n] 'foo\x40bar'” shall not be expanded
 
103
    - [tg] Let set -- $(false); echo $? return 0 (POSIXly correct) in
 
104
      FSH mode, 1 (needed for getopt(1) support) otherwise
 
105
    - [tg] Changes of variables inside Bourne style POSIX functions
 
106
      indeed affect the current execution environment (of the function
 
107
      caller)
 
108
    - [tg] Fix getopts behaviour (sync with AT&T ksh93 not ksh88)
 
109
    - [tg] “eval $(false)” shall return 0 (Debian Closes: #550717)
 
110
    - [tg] Ensure that /* apo'strophes in comments */ work
 
111
    - [tg] Overhaul and simplify handling of (special) variables
 
112
    - [tg] Further reduce memory (code/data) and import footprint
 
113
    - [tg] Use functions without PATH_MAX limit on GNU/Hurd
 
114
    - [tg] Fix tab completing pathnames containing ‘:’, ‘=’, ‘$’ or ‘`’
 
115
    - [tg] Support ‘-T <tty>’ even if MKSH_SMALL and fix it
 
116
    - [tg] Remove "which" alias "whence -p" to allow "which -a" in
 
117
      dot.mkshrc and add more examples, some commented out
 
118
    - [tg] Fix print_columns() issue with displaying items where
 
119
      characters had differing number of octets and columns, and the
 
120
      off-by-one which had hidden this problem with 2-octet 1-column
 
121
      and 3-octet 2-column chars
 
122
    - [tg] Beautify the manpage in both AT&T nroff and GNU groff
 
123
    - [tg] Fix null-expansion of “${x%?}” if $x is unset
 
124
    - [tg] Make some globbing (${x%?}) operate on characters instead of
 
125
      octets; update manual page to reflect that others still do and
 
126
      remove wording that let people think we’d ever support POSuX
 
127
      character classes
 
128
    - [tg] New ${%foo} returning width of $foo in screen columns, or -1
 
129
      if $foo contains an ASCII/latin1/Unicode C0/C1 control character
 
130
    - [tg] Fix subtle possible portability problem wrt. CHILD_MAX
 
131
    - [tg] Honour ±U on command line of an interactive shell
 
132
    - [tg] Fix dead stores and other bugs pointed out by the Clang
 
133
      static analyser; put assertions in places it has false positives
 
134
    - [tg] Plug uninitialised memory access and possible out-of-bounds
 
135
      read of a buffer caught by Valgrind; change one memcpy(3) to
 
136
      memmove(3) where srcbuf and dstbuf overlap; place (-DDEBUG)
 
137
      workaround for false positive
 
138
    - [tg] Rework __attribute__ compiler capability check
 
139
    - [tg] Apply errno save/restore related fix from (sync with) oksh
 
140
    - [tg] Build.sh: output message when switching from
 
141
      autoconfiguration to building / output generation (requested by
 
142
      Matt “lewellyn” Lewandowsky); use “conftest.c” ipv “scn.c” (to
 
143
      please ccache); ...
 
144
    - [tg] Allow “unset foo[*]” (keep attributes) and “typeset foo[*]”
 
145
      (for forward-compatibility; R39b it’s the same as “typeset foo”)
 
146
    - [tg] When persistent history is enabled (but not MKSH_SMALL) and
 
147
      used, intertwine the shells concurrently accessing $HISTFILE
 
148
      better ⇒ sync on empty or duplicate line as well (requested by
 
149
      Maximilian “mxey” Gaß)
 
150
    - [tg] Split off “set ±o posix” and “set ±o sh” again, to be
 
151
      somewhat more compatible to various old or vendor versions of
 
152
      pdksh and mksh:
 
153
      + MKSH_BINSHREDUCED sets FSH but not FPOSIX
 
154
      + MKSH_MIDNIGHTBSD01ASH_COMPAT depends on FSH but not FPOSIX
 
155
      + The echo built-in behaves the same for FPOSIX and FSH
 
156
      + File descriptors > 2 are not closed for both FPOSIX and FSH
 
157
      + Both “set -o posix” and “set -o sh” call “set +o braceexpand”
 
158
      + In contrast to R39 and below, the errorlevel of
 
159
        “set -- $(getopt ab:c "$@")” is now the same in ksh and
 
160
        FPOSIX mode (0) and only FSH will use the errorlevel of getopt
 
161
        (used to be the other way round)
 
162
    - [tg] Document some more shortcomings in the mksh(1) manual page
 
163
    - Contributed printf.c fixes:
 
164
      + [tg] Make printf(1) builtin use “$'…'” mode, like ksh93
 
165
      + [tg] Fix const-cleanliness
 
166
  * Remove patches now integrated in upstream or no longer needed
 
167
  * Bump Standards-Version, no relevant change
 
168
  * Apply patches inside the top-level directory
 
169
  * debian/source/format: Enforce "1.0" manually, for now
 
170
  * debian/README.source: New, by zack's suggestion, to document some
 
171
    particulars of the source package and why I'm not using 3.0 yet
 
172
  * debian/README.Debian, debian/mksh.docs: New, document dash bug
 
173
  * debian/control: I'm sure we don't need to B-D on locales-all [m68k]
 
174
  * debian/control: tweak package short description to well-known text
 
175
    and sync long description with upstream's
 
176
  * debian/copyright: Update, sync with upstream
 
177
  * Rename build/ into builddir/ to avoid phony target vs pathname
 
178
    conflict in Makefile (debian/rules)
 
179
  * debian/rules: Ensure we use the C locale during build (especially
 
180
    for patch application collation order)
 
181
  * debian/mksh.examples, debian/rules: Split out dh_installexamples args
 
182
  * debian/rules: Update for R39c, printf.c.1.14 particulars
 
183
  * debian/rules: When building, try with -combine first but retry if it
 
184
    fails, like my OpenSuSE Buildservice packages do (cf. LP: #375604)
 
185
  * debian/control: Remove DMUA, I'm a DD now
 
186
  * debian/diffs/backport-fixes.diff: New, fixes not yet in R39c
 
187
 
 
188
 -- Thorsten Glaser <tg@mirbsd.de>  Sun, 28 Feb 2010 14:09:39 +0000
 
189
 
 
190
mksh (39.1-4) unstable; urgency=low
 
191
 
 
192
  * Update danish translation, Tak tazz
 
193
  * debian/diffs/backport-echo-noescapes.diff: new, backport fix
 
194
    for "echo [-n] 'foo\x40bar'" expanding even in sh mode
 
195
  * debian/diffs/*: refresh and bump version number
 
196
  * debian/control: Update and correct package description
 
197
 
 
198
 -- Thorsten Glaser <tg@mirbsd.de>  Sat, 10 Oct 2009 22:00:37 +0000
 
199
 
1
200
mksh (39.1-3ubuntu2) karmic; urgency=low
2
201
 
3
202
  * Exclude dietlibc on powerpc/ppc64 and sparc (LP: #381332)