OSDN Git Service

version 3.1
[android-x86/external-parted.git] / ChangeLog.0
1 Note: there are now separate ChangeLog files for the library and the
2 front-end.  This file is only for reference purposes and top-level changes.
3
4 See libparted/ChangeLog and parted/ChangeLog.
5
6 ==============================================================================
7 2006-11-11  Otavio Salvador <otavio@debian.org>
8
9         * autogen.sh: use -f on autopoint to ensure we have the files
10         updated.
11
12         * ltmain.sh, m4/*, po/Makefile.in.in, po/Rules-quot: those files
13         has been removed since them are autogenerated or installed by
14         autogen.sh.
15
16         * configure.ac: add -rdynamic on CFLAGS.
17
18 2006-11-08  Otavio Salvador <otavio@debian.org>
19
20         * doc/C/parted.8: small documentation simplification.
21
22 2006-10-11  David Cantrell  <dcantrell@redhat.com>
23         * include/parted/device.h: Add PED_DEVICE_DM if device-mapper is
24         enabled.
25         * configure.ac: Conditionalize libdevmapper support so people that
26         don't have that library can still build a mostly functional libparted.
27
28 2006-10-09  David Cantrell  <dcantrell@redhat.com>
29         * po/*.po, po/parted.pot: Updated.
30
31 2006-10-06  David Cantrell  <dcantrell@redhat.com>
32         * scripts/release/tarball_upload.sh: Since v1.0 directive files will
33         no longer be supported by ftp-upload.gnu.org after 2006, modified the
34         upload script to use the v1.1 format.
35
36 2006-10-06  David Cantrell  <dcantrell@redhat.com>
37         * scripts/release/tarball_upload.sh: Support the -a (or --alpha) switch
38         on the tarball upload script. This switch will upload the release to
39         alpha.gnu.org rather than ftp.gnu.org.
40
41 2006-09-15  David Cantrell  <dcantrell@redhat.com>
42         * doc/pt_BR/partprobe.8.pt_BR.po: Removed extra double quote at the end
43         of line 6.
44
45         * include/parted/Makefile.am: Add vtoc.h and fdasd.h to the list.
46
47         * doc/Makefile.am: Tabs for the updatepo target.
48
49         * doc/po4a.mk: Removed fake* stuff. Fixed all-local target so you don't
50         end up in an infinite make loop trying to make '*'. Fixed the remove
51         target as well.
52
53 2006-09-01  David Cantrell  <dcantrell@redhat.com>
54         * include/parted/device.h: add PED_DEVICE_VIODASD.
55         * include/parted/exception.h: add ped_exception_get_handler() prototype.
56
57 2006-08-31  David Cantrell  <dcantrell@redhat.com>
58         * include/parted/device.h: add PED_DEVICE_DASD (direct attached storage
59         device, zSeries).
60         * inlcude/parted/disk.h: add PED_PARTITION_METADATA and
61         PED_PARTITION_PROTECTED.
62         * include/parted/fdasd.h: add fdasd header file.
63         * include/parted/vtoc.h: add VTOC header file.
64         * include/parted/linux.h: if on zSeries, declare real_sector_size
65         and fdasd_anchor.
66
67 2006-08-30  David Cantrell  <dcantrell@redhat.com>
68         * include/parted/device.h: add PED_DEVICE_SX8 (Promise SX8 SATA device).
69
70 2006-06-01  Otavio Salvador  <otavio@debian.org>
71         * po/hu.po: add Hungarian translation. Thanks to SZERVÁC Attila
72         <sas-guest@haydn> for the file. Debian bug: #360457.
73
74 2006-05-25  Leslie Polzer <leslie.polzer@gmx.net>
75         * configure.ac: added libdl to linker flags.
76
77 2006-05-21  Otavio Salvador <otavio@debian.org>
78         * doc/*: add suport to use po4a to translate the manpages.
79
80 2006-05-18  Otavio Salvador <otavio@debian.org>
81         * Makefile.am: add scripts and data need for abi checking. It'll
82         be used to avoid ABI broken packages;
83         improve logic to detect ABI brokeness;
84
85 2006-05-08  Otavio Salvador <otavio@debian.org>
86         * doc/parted.texi: Rephrase some parted documentation based on
87         patches sent to Debian.
88
89 2006-04-26  Otavio Salvador <otavio@debian.org>
90         * po/it.po: Update Italian translation. Thanks to Giuseppe Sacco
91         <giuseppe@eppesuigoccas.homedns.org> for the po file.
92
93 2006-04-03  Otavio Salvador <otavio@debian.org>
94         * Makefile.am, scripts/extract_symvers: Add support to a simple
95         abi check.
96
97         * scripts/data/abi/baseline_symbols.txt: First version of our
98         controled symbols.
99
100 2006-03-13  Ithamar Adema <ithamar@unet.nl>
101         * configure.ac, libparted/Makefile.am, libparted/libparted.c,
102         libparted/arch/beos.c, include/parted/beos.h: Added
103         _experimental_ BeOS (& descendents) support.
104
105         * libparted/fs/xfs/platform_defs.h, libparted/fs/ext2/ext2.h: Type
106         definition fixes for BeOS support.
107
108         * libparted/fs/hfs/hfs.c, libparted/fs/xfs/xfs.c, libparted/fs/jfs/jfs.c,
109         libparted/fs/reiserfs/reiserfs.c, libparted/fs/linux_swap/linux_swap.c,
110         libparted/fs/ntfs/ntfs.c, libparted/fs/ufs/ufs.c,
111         libparted/fs/amiga/affs.c: Explicit block_sizes initialization in
112         PedFileSystemType declarations (needed to satisfy gcc2 compiler).
113
114 2006-03-03  Leslie Polzer <leslie.polzer@gmx.net>
115         * configure.ac: removed "-std=c99" from CFLAGS -- this implies so many
116         changes that a branch makes sense.
117
118         * configure.ac (AC_OUTPUT): removed libparted/fs/bfs/Makefile.in.
119
120         * po/POTFILES.in: updated to match new directory layout.
121
122 2006-02-26  Leslie Polzer <leslie.polzer@gmx.net>
123         * configure.ac: added "-std=c99" to CFLAGS -- C99 extensions may be
124         used because we need "long long int".
125
126 2006-02-11  Leslie Polzer <leslie.polzer@gmx.net>
127         * libparted/fs/reiserfs/reiserfs.c: added valid block sizes for
128         reiserfs.
129
130 2006-02-06  Leslie Polzer <leslie.polzer@gmx.net>
131         * libparted/arch/linux.c (_device_probe_geometry): added preliminary
132         fix for HDIO_GETGEO ioctl returning failure (this will be superseded
133         by EDD support).
134
135 2006-02-01  Leslie Polzer <leslie.polzer@gmx.net>
136         * configure.ac, aclocal.m4, parted/Makefile.am: removed static build
137         stuff.
138
139 2006-01-31  Leslie Polzer <leslie.polzer@gmx.net>
140
141         * libparted/fs/ext2/ext2_mkfs.c
142         (ext2_mkfs_create_lost_and_found_inode): fixed allocation bug.
143
144         * libparted/fs/hfs/reloc_plus.c: changed msgid "[...] should not
145         contain its own extents." to "[...] should not contain its own
146         extents!".
147
148 2006-01-26  Leslie Polzer <leslie.polzer@gmx.net>
149
150         * parted/parted.c (do_mkpart): changed an erroneous conditional that
151         would have prevented the creation of partitions on disk labels that
152         do not support the concept of extended partitions.
153
154         * libparted/fs/fat/fat.c, libparted/fs/ext2/interface.c,
155         libparted/fs/bfs/bfs.c, libparted/fs/amiga/affs.c,
156         libparted/fs/amiga/apfs.c, libparted/fs/amiga/asfs.c: added list of
157         supported block sizes.
158
159 2006-01-20  Leslie Polzer <leslie.polzer@gmx.net>
160
161         * libparted/labels/gpt.c (gpt_probe): initialize pth to NULL and free
162         pth only if non-NULL.
163
164         * parted/parted.c (do_print): block size printf now uses %lld.
165         This fixes display of physical sector size.
166
167 2006-01-18  Andres Salomon <dilinger@debian.org>
168         * libparted/arch/linux.c (linux_probe_all): use /sys/block in favor of
169         /proc/partitions where possible.
170         * libparted/arch/linux.c: added functions _skip_entry [static],
171         _probe_sys_block [static]
172
173 2006-01-13  Leslie Polzer <leslie.polzer@gmx.net>
174         * libparted/labels/rdb.c (amiga_probe): made function use actual sector
175         size again.
176
177 2006-01-11  Leslie Polzer <leslie.polzer@gmx.net>
178         * libparted/fs/Makefile.am: removed BFS until it is ready.
179
180         * include/parted/parted.h: added ped_calloc prototype.
181
182         * libparted/arch/linux.c (struct hd_driveid): added ATAPI/ATA7 words
183         106, 117, 118.
184
185 2006-01-02  Leslie Polzer <leslie.polzer@gmx.net>
186         * libparted/labels/gpt.c (pth_free): fixed assertion's return statement.
187
188         * libparted/libparted.c (ped_calloc): added.
189
190 2005-12-25  Harley D. Eades III  <hde@foobar-qux.org>
191 * libparted/labels/gpt.c (pth_free): New function.
192 * libparted/labels/gpt.c (gpt_probe): Added a call to pth_free().
193 * libparted/labels/gpt.c (gpt_clobber): Now calls pth_free() on gpt
194   before returning and calls pth_free() on error_free_with_gpt instead
195   of ped_free().
196
197 2005-12-25  Harley D. Eades III  <hde@foobar-qux.org>
198 * libparted/labels/gpt.c (pth_free): New function.
199 * libparted/labels/gpt.c (gpt_probe): Added a call to pth_free().
200 * libparted/labels/gpt.c (gpt_clobber): Now calls pth_free() on gpt
201   before returning and calls pth_free() on error_free_with_gpt instead
202   of ped_free().
203
204 2005-12-25  Leslie Polzer <leslie.polzer@gmx.net>
205 * include/parted/debug.h (PED_DEBUG): fixed variable arguments stuff.
206 * configure.ac: added some compiler checks.
207 * libparted/arch/linux.c (_device_seek, _partition_get_part_dev),
208   libparted/fs/reiserfs/geom_dal.c (__dev):
209   added casts.
210 * libparted/arch/linux.c (_disk_sync_part_table),
211   libparted/fs/bfs/bfs.c (bfs_probe, bfs_clobber),
212   libparted/fs/ext2/ext2.c (ext2_copy_block, ext2_commit_metadata):
213   libparted/fs/ext2/ext2_mkfs.c (ext2_mkfs_create_lost_and_found),
214   libparted/labels/dos.c (probe_filesystem_for_geom),
215   libparted/labels/gpt.c (gpt_read):
216   turned runtime-length array into pointer.
217 * libparted/fs/ext2/ext2_mkfs.c (ext2_mkfs_init_sb),
218   libparted/fs/jfs/jfs_types.h: renamed u_int*_t to uint*_t.
219 * libparted/fs/reiserfs/reiserfs.c: sanitized function prototype.
220 * libparted/fs/xfs/platform_defs.h: renamed __uint*_t to uint*_t
221   and __int*_t to int*_t.
222 * libparted/labels/dos.c (probe_filesystem_for_geom): added assertions.
223 * libparted/labels/gpt.c (struct _GuidPartitionEntryAttributes_t):
224   added fallback structure for non-GCC compilers (with #warning).
225
226 2005-12-25  Leslie Polzer <leslie.polzer@gmx.net>
227 * include/parted/debug.h: made PED_DEBUG a function if GCC is not being
228   used (which means the compiler might not support C99, where variadic
229   macros were introduced).
230 * include/parted/debug.h: added check for __JSFTRACE__ which is an
231   instrumenting preprocessor disguising itself as GCC.
232
233 2005-12-20  Leslie Polzer <leslie.polzer@gmx.net>
234 * parted/parted.c (do_set): now offers toggled flag state as default.
235
236 2005-12-19  Leslie Polzer <leslie.polzer@gmx.net>
237 * configure.ac: added AC_C_INLINE check.
238 * Doxyfile: adapted input files to new directory layout.
239 * parted/parted.c (do_mkpart, do_mkfs, do_mkpartfs): automatically set
240   LBA flag on partition if available.
241
242 2005-12-18  Leslie Polzer <leslie.polzer@gmx.net>
243 * libparted/fs/ext2/interface.c (_ext2_get_resize_constraint): replaced
244   'PED_SECTOR_SIZE_DEFAULT' with device's sector_size.
245 * libparted/labels/Makefile.am: corrected crc32.c to efi_crc32.c.
246 * libparted/fs/bfs/Makefile.am, libparted/fs/bfs/bfs.c: added.
247
248 2005-12-17  Leslie Polzer <leslie.polzer@gmx.net>
249 * parted/Makefile.am, configure.ac: added BUILDINFO
250 * parted/parted.c: added build information (date, user, hostname)
251 * libparted/fs/Makefile.am, libparted/labels/Makefile.am: added
252 * libparted/crc32.c: renamed to efi_crc32.c
253 * libparted/disk_amiga.c: renamed to rdb.c
254 * libparted/labels/, libparted/fs/, libparted/cs/, libparted/arch/: added
255   and populated.
256
257 2005-12-15  Leslie Polzer <leslie.polzer@gmx.net>
258 * libparted/fs_ext2/ext2_block_relocator.c (ext2_block_relocate_grow):
259   get inode table offset from group descriptor.
260 * libparted/fs_ext2/ext2.h, libparted/fs_ext2/ext2.c,
261   libparted/fs_ext2/ext2_block_relocator.c, libparted/fs_ext2/ext2_mkfs.c,
262   libparted/fs_ext2/ext2_resize.c, libparted/fs_ext2/ext2_meta.c:
263   removed 'howmany' macro and changed its calls to 'ped_div_round_up'.
264
265 2005-12-08  Leslie Polzer <leslie.polzer@gmx.net>
266 * parted/ui.c: changed bug reporting instructions.
267
268 2005-11-18  Leslie Polzer <leslie.polzer@gmx.net>
269 * parted/command.h (struct Command): added 'non_interactive' field indicating
270   whether it makes sense to use this command in non-interactive mode.
271 * parted/command.h, parted/command.h: changed signature and body of
272   command_create to match new field 'non_interactive'.
273 * parted/ui.c (non_interactive_mode): honor 'non_interactive' field.
274 * parted/parted.c (do_print): removed display of start (should be always
275   equal to zero).
276 * parted/parted.c (do_print): changed some wordings.
277 * parted/parted.c (do_print, partition_print): added some blank lines.
278 * libparted/natmath.c (ped_alignment_intersect): added debug statement
279   facilitating the debugging of the solver.
280 * doc/API (preamble): added notice regarding deprecation.
281
282 2005-11-16  Guillaume Knispel <k_guillaume@libertysurf.fr>
283 * libparted/fs_hfs/hfs.c, libparted/fs_hfs/hfs.h: Added hfs_block_count and
284   hfsp_block_count global variables, they contain the number of FS blocks
285   allocated in memory for the copy buffer.  Renamed MAX_BUFF to BLOCK_MAX_BUFF,
286   added BYTES_MAX_BUFF = 8MB.
287 * libparted/fs_hfs/reloc.c (hfs_pack_free_space_from_block): Fill the cache
288   before allocating the copy buffer, limit the maximum buffer size to the max
289   of min(8MB, 1 HFS block) and allocate at least the size needed by the cache.
290   Store the number of HFS blocks allocated in hfs_block_count.
291 * libparted/fs_hfs/reloc.c (hfs_effect_move_extent): Copy hfs_block_count
292   blocks by hfs_block_count blocks (instead of MAX_BUFF).
293 * libparted/fs_hfs/reloc_plus.c (hfsplus_pack_free_space_from_block): Limit
294   the maximum buffer size to the max of min(8MB, 1 HFS+ block) and allocate
295   at least the size needed by the cache.  Store the number of HFS+ blocks
296   allocated in hfsp_block_count.
297 * libparted/fs_hfs/reloc_plus.c (hfsplus_effect_move_extent): Copy
298   hfsp_block_count by hfsp_block_count blocks (instead of MAX_BUFF).
299 * libparted/fs_hfs/probe.c, libparted/fs_hfs/probe.h (hfsc_can_use_geom):
300   Added - check if the sector size is really 512B.
301 * libparted/fs_hfs/probe.c (hfs_and_wrapper_probe, hfsplus_probe, hfs_probe,
302   hfsx_probe): Added calls to hfsc_can_use_geom.
303 * libparted/fs_hfs/hfs.c (hfs_open, hfsplus_open): Added calls to
304   hfsc_can_use_geom.
305 * parted/ui.c (command_line_get_sector): Handle range == NULL cleanly
306   (do_rescue uses that value...).
307 * libparted/unit.c (parse_chs, ped_unit_parse_custom): Handle range == NULL
308   cleanly too.
309
310 2005-11-14  Leslie Polzer <leslie.polzer@gmx.net>
311 * include/parted/device.h, libparted/device.c, include/parted/disk.h,
312   include/libparted/disk.c: added documentation.
313 * include/parted/device.h (struct _PedDevice): made fields sector_size and
314   phys_sector_size 64 bit wide.
315 * Doxyfile: tweaked.
316
317 2005-11-11  Otavio Salvador <otavio@debian.org>
318 * configure.ac: add AM_GNU_GETTEXT_VERSION macro to ensure that we have a
319   good gettetxt version and let autoreconf happy ;-)
320 * config.h.in, config.guess, config.sub, libtool, ltconfig, ABOUT-NLS,
321   depcomp, missing, mkinstalldirs, ltmain.sh, install.sh, INSTALL,
322   po/Makefile.in.in po/Rules-quot, m4/: removed. Those can be generated
323   when we're going to build the tarball.
324 * configure.ac, Makefile.am: don't use m4/Makefile.in since won't install
325   or process it.
326 * autogen.sh: added to be easier to us to build the tarball.
327
328 2005-11-11  Guillaume Knispel <k_guillaume@libertysurf.fr>
329 * parted/parted.c (do_print): removed diagnostic message displaying
330   if the free argument was given or if a partition number was given.
331 * parted/parted.c (do_print): "Sector" instead of "Block" size, append 'B'
332   to the values.
333 * libparted/unit.c, include/parted/unit.h, doc/API: added (declares, defined,
334   and documented) ped_unit_format_custom_byte based on ped_unit_format_custom,
335   added ped_unit_format_byte (wrapper of ped_unit_format_custom_byte),
336   transformed ped_unit_format_custom and ped_unit_format to wrappers of
337   ped_unit_format_custom_byte.
338   Depending of the unit and value to represent, ped_unit_format_custom_byte
339   can output representations with a precision up to 1/100 unit.
340 * parted/parted.c (do_print): make use of ped_unit_format_byte instead of
341   ped_unit_format to get representation of end of partitions / device
342   (point to the last byte of the last sector instead of the first byte of
343   the last sector).
344
345 2005-11-11  Leslie Polzer <leslie.polzer@gmx.net>
346 * parted/parted.c (do_mkpart, do_mkpartfs): support partition naming.
347 * parted/parted.c (do_mkpart, do_mkpartfs): ask for primary/extended only
348   when necessary.
349
350 2005-11-10  Leslie Polzer <leslie.polzer@gmx.net>
351 * include/parted/debug.h: added 'PedDebugHandler' type.
352 * include/parted/debug.h: added 'PED_DEBUG' macro.
353 * include/parted/debug.h, include/parted/debug.c: added ped_debug
354   and ped_debug_set_handler.
355 * include/parted/debug.h: added some documentation.
356 * configure.in: renamed to configure.ac.
357 * libparted/disk_loop.c (loop_probe): removed gratuitous const cast.
358 * libparted/disk_amiga.c: replaced 'dev->sector_size' with
359   'PED_SECTOR_SIZE_DEFAULT' (first see whether Amiga PTs support bs != 512).
360 * libparted/linux.c (init_generic): replaced dev->sector_size with
361   'PED_SECTOR_SIZE_DEFAULT' (non-initialized).
362 * libparted/linux.c (_device_probe_geometry): make cylinder size calculation
363   right.
364 * libparted/debug.c (ped_debug): calls 'debug_handler' now instead of
365   'default_handler'
366
367 2005-11-09  Leslie Polzer <leslie.polzer@gmx.net>
368 * include/parted/device.h (struct _PedDeviceArchOps, extern ped_device_read),
369   include/parted/disk.h (struct _PedDiskOps, _ped_disk_alloc):
370   changed the prototype of 'read', 'probe' and 'alloc' to take a const PedDevice.
371 * include/parted/unit.h: renamed 'PED_SECTOR_SIZE' to
372   'PED_SECTOR_SIZE_DEFAULT'.
373 * libparted/disk.c (_ped_disk_alloc), libparted/disk_amiga.c (_amiga_read_block,
374   _amiga_find_rdb, amiga_probe, amiga_alloc), libparted/disk_bsd.c (bsd_probe,
375   bsd_alloc), libparted/disk_dos.c (msdos_probe, msdos_alloc),
376   libparted/device.c (ped_device_read), libparted/disk_dvh.c (dvh_probe,
377   dvh_alloc), libparted/disk_gpt.c (gpt_probe, gpt_alloc, _read_header,
378   _non_metadata_constraint), libparted/disk_loop.c (loop_alloc, loop_probe),
379   libparted/disk_mac.c (mac_probe, mac_alloc), libparted/disk_pc98.c
380   (pc98_probe, pc98_alloc), libparted/disk_sun.c (sun_probe, sun_alloc),
381   libparted/linux.c (_device_seek, _read_lastoddsector, linux_read):
382   made 'dev' const and added const cast where necessary.
383 * libparted/disk_amiga.c (_amiga_checksum, amiga_probe, amiga_alloc, amiga_read,
384   amiga_write, amiga_partition_new), libparted/disk_bsd.c (bsd_alloc),
385   libparted/disk_msdos.c (probe_filesystem_for_geom), libparted/disk_gpt.c
386   (gpt_alloc, gpt_read, _write_pmbr, gpt_write, gpt_alloc_metadata),
387   libparted/fs_amiga/affs.c, libparted/fs_amiga/amiga.c,
388   libparted/fs_amiga/apfs.c, libparted/fs_amiga/asfs.c,
389   libparted/fs_ext2/interface.c, libparted/fs_hfs/advfs.c,
390   libparted/fs_hfs/advfs_plus.c, libparted/fs_hfs/cache.c,
391   libparted/fs_hfs/file.c, libparted/fs_hfs/file_plus.c, libparted/fs_hfs/hfs.c,
392   libparted/fs_hfs/journal.c, libparted/fs_hfs/probe.c, libparted/fs_hfs/reloc.c
393   libparted/fs_hfs/reloc_plus.c, libparted/fs_reiserfs/reiserfs.c,
394   libparted/gnu.c, libparted/linux.c:
395   replaced 'PED_SECTOR_SIZE' or '512' with 'PedDevice.sector_size' or
396   at least 'PED_SECTOR_SIZE_DEFAULT'.
397 * libparted/disk_amiga.c (amiga_read), libparted/disk_bsd.c (bsd_alloc),
398   libparted/disk_msdos.c (probe_filesystem_for_geom), libparted/linux.c
399   (_device_get_length, linux_read, linux_write, _blkpg_add_partition):
400   added sector size assertion.
401 * libparted/disk_gpt.c (struct _GuidPartitionTableHeader): made Reserved2
402   dynamic (need not be 420 bytes).
403 * libparted/disk_gpt.c (pth_get_size, pth_get_size_static, pth_get_size_rsv2,
404   pth_new, pth_new_zeroed, pth_new_from_raw, pth_get_raw, pth_crc32): added.
405 * libparted/disk_gpt.c (gpt_probe, gpt_clobber, _header_is_valid,
406   _read_header, _parse_header, gpt_read, _generate_header, gpt_write):
407   adapted to new Reserved2 and pth_* functions.
408 * libparted/disk_gpt.c (gpt_probe): replaced '1' with 'GPT_HEADER_SECTORS'.
409 * libparted/disk_gpt.c (_header_is_valid): added PedDevice argument.
410 * libparted/disk_gpt.c (_parse_header, _write_pmbr): replaced '92' with
411   'pth_get_size_static'.
412 * libparted/disk_gpt.c (ped_disk_gpt_init): removed header size assertion.
413 * libparted/linux.c (_device_get_sector_size): renamed to
414   '_device_set_sector_size'
415 * libparted/linux.c (_device_set_sector_size): sets real sector size now
416   instead of 512.
417 * libparted/linux.c (_device_probe_geometry): calls 'device_set_sector_size'
418   now.
419 * libparted/linux.c (init_ide): added stub for setup of
420   'PedDevice.phys_sector_size'.
421 * libparted/linux.c (_blkpg_add_partition): added assertion for 'disk'.
422 * doc/parted.texi (Related Software and Info): updated URLs for 'yaboot'
423   and 'ybin'.
424 * doc/parted.texi (Related Software and Info): parted@gnu.org ->
425   bug-parted@gnu.org.
426 * doc/parted.texi (unit): corrected note on sector size.
427
428 2005-11-07  Otavio Salvador  <otavio@debian.org>
429 * parted/parted.c (do_print): print a error when called with a invalid
430   argument.
431 * parted/parted.c (do_print): add 'free' argument that display information
432   about disk freespace.
433
434 2005-11-05  Leslie Polzer <leslie.polzer@gmx.net>
435 * parted/ui.c: updated wording of bug reporting instructions
436 * libparted/disk_gpt.c: updated to work with block sizes > 512 bytes
437
438 2005-11-02  Leslie Polzer <leslie.polzer@gmx.net>
439 * released 1.6.25
440
441 2005-10-28  Guillaume Knispel <k_guillaume@libertysurf.fr>
442 * libparted/fs_hfs/journal.c, libparted/fs_hfs/hfs.c: fix some exception
443   messages.
444 * libparted/unit.c (ped_unit_format_custom): remove unused variable "result".
445
446 2005-10-25  Guillaume Knispel <k_guillaume@libertysurf.fr>
447 * libparted/disk_mac.c (_disk_add_part_map_entry): the function didn't
448   work when mac_disk_data->last_part_entry_num was null (when the only
449   existing partition is the partition table and the user destroy it).
450
451 2005-10-24  Guillaume Knispel <k_guillaume@libertysurf.fr>
452 * parted/parted.c (prefer_snap): incorrectly chose MOVE_STILL instead
453   of MOVE_UP or MOVE_DOWN if both weren't activated.
454
455 2005-10-15  Guillaume Knispel <k_guillaume@libertysurf.fr>
456 * libparted/filesys.c (_probe_with_open): The file system was considered
457   valid if the open method was not implemented. Now openable file systems
458   are considered first (if one and only one is successfully opened,
459   return it), then if only one non openable file system is remaining,
460   return it (else return NULL).
461
462 2005-10-14  Guillaume Knispel <k_guillaume@libertysurf.fr>
463 * libparted/disk_dos.c (_log_meta_overlap_constraint): ignore inactive
464   partitions.
465 * parted/parted.c (snap_to_boundaries): didn't reliably work since the
466   range is variable, complete rewrite.
467 * parted/parted.c (try_snap): was called by snap_to_boundaries, removed.
468 * parted/parted.c (prefer_snap): new function called by snap_to_boundaries,
469   detect if the sector should be snaped to the begining of the partition
470   it belongs to, or to the end.
471
472 2005-10-13  Guillaume Knispel <k_guillaume@libertysurf.fr>
473 * libparted/disk_gpt.c (add_metadata_part): don't forget to free the
474   constraint if adding the metadata partition failed.
475
476 2005-10-04  Guillaume Knispel <k_guillaume@libertysurf.fr>
477 * doc/parted.texi: Unit command description added, based on what
478   was previously in 2.2 Using GNU Parted (which has been replaced
479   by a reference to the unit command...). Also various fixes in
480   @copying layout and some typos fixes.
481
482 2005-10-03  Otavio Salvador <otavio@debian.org>
483 * po/es.po: updated
484
485 2005-10-03  Guillaume Knispel <k_guillaume@libertysurf.fr>
486 Applied patch from Colin Watson <cjwatson@debian.org>:
487 * libparted/linux.c (_device_get_part_path): check for devfs-style /disc
488   without even testing if _have_devfs(), because udev can be used instead
489   with the same behavior.
490
491 2005-10-02  Guillaume Knispel <k_guillaume@libertysurf.fr>
492 Applied patch from Matt Zimmerman <mdz@debian.org>:
493 * include/parted/device.h: PED_DEVICE_UBD added in PedDeviceType.
494 * libparted/linux.c (_device_probe_type): recognize UML UBD devices.
495 * libparted/linux.c (linux_new): handle UML UBD devices.
496
497 2005-09-21  Guillaume Knispel <k_guillaume@libertysurf.fr>
498 * po/id.po: added (thanks to Arif E. Nugroho <arif_endro@yahoo.com>)
499 * po/es.po: updated
500 * doc/parted.8: updates from A. Costa <agcosta@gis.net>
501 Applied patch from Otavio Salvador <otavio@debian.org>:
502 * libparted/disk_dos.c (probe_partition_for_geom): Fix compiler warnings
503   while compiling with gcc 4.0.
504 * libparted/disk_sun.c (sun_read): bugfix - recognize partitions on sun
505   disklabel.
506
507 2005-08-22  Guillaume Knispel <k_guillaume@libertysurf.fr>
508 * libparted/disk_dos.c (_align_logical_no_geom): removed
509   _calc_min_logical_start() and use a true constraint instead, generated by
510   the new _log_meta_overlap_constraint(). This constraint should enforce
511   necessary gaps between logical partitions to fit the linked list of
512   partition tables. This should get ride of the infamous Assertion
513   (metadata_length > 0) failed bug for extended msdos disklabels generated
514   by Parted.
515 * libparted/disk_dos.c (_align_logical): also use
516   _log_meta_overlap_constraint() as mandatory.
517
518 2005-08-21  Guillaume Knispel <k_guillaume@libertysurf.fr>
519 * libparted/unit.c (parse_chs, ped_unit_parse_custom): set *range to NULL
520   and *sector to 0 on failure.
521 * parted/ui.c (command_line_get_sector): set *value to 0 on failure.
522 * parted/parted.c (do_mkpart, do_mkpartfs, do_move, do_resize): more memory
523   leak fixes (range_start, range_end).
524
525 2005-08-10  Leslie Polzer <leslie.polzer@gmx.net>
526 * parted/ui.c: updated wording of bug reporting instructions
527 * released 1.6.24
528
529 2005-08-09  Leslie Polzer <leslie.polzer@gmx.net>
530 Applied patch from Eduardo Righes <eduardo@tteng.com.br>, HP Brazil:
531 * include/parted/disk.h, libparted/disk.c, libparted/disk_gpt.c:
532  hidden partitions support and command to set MS Reserved partitions
533  through "set" command.
534
535 2005-08-08  Leslie Polzer <leslie.polzer@gmx.net>
536 * parted/parted.c (do_resize): fixed memory leak (range_start, range_end).
537
538 2005-08-03  Guillaume Knispel <k_guillaume@libertysurf.fr>
539 * libparted/disk_dos.c (msdos_partition_destroy): leak correction, free
540   ((DosPartitionData*)(part->disk_specific))->orig if necessary.
541 * libparted/fs_fat/traverse.c (fat_traverse_complete): leak correction, free
542   trav_info->dir_name.
543 * libparted/linux.c (_device_get_sector_size): preassign sector_size to
544   PED_SECTOR_SIZE to make Valgrind happy.
545 * parted/ui.c (command_line_get_sector): set *range to NULL in case of failure.
546
547 2005-08-01  Guillaume Knispel <k_guillaume@libertysurf.fr>
548 * libparted/disk_dos.c (probe_partition_for_geom): integer only calculation
549   of cyl_size and head_size, to avoid FP arithmetic approximation problems.
550 * doc/API: fixed documentation for PedUnit according to new prototypes.
551
552 2005-07-26  Leslie Polzer <leslie.polzer@gmx.net>
553 * parted/ui.c (command_line_get_sector): set range in default case
554
555 2005-07-19  Guillaume Knispel <k_guillaume@libertysurf.fr>
556 * all files: FSF address changed to
557   51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
558
559 2005-07-11  Guillaume Knispel <k_guillaume@libertysurf.fr>
560 CHANGE SUMMARY:
561         HFSX and journaled HFS+ / HFSX now supported.
562         The HFS+ / HFSX allocation bitmap is saved during relocation.
563         This is safer.
564 * libparted/fs_hfs/*: cosmetic changes in ped_exception_throw calls.
565 * libparted/fs_hfs/journal.c: added.
566 * libparted/fs_hfs/journal.h: added.
567 * libparted/fs_hfs/Makefile.am: journal.c and journal.h added.
568 * libparted/fs_hfs/cache.h: new tags for journal info block (CR_BTREE_CAT_JIB)
569   and journal (CR_BTREE_CAT_JL)
570 * libparted/fs_hfs/hfs.h: journal structs (HfsJJournalInfoBlock,
571   HfsJJournalHeader, HfsJBlockInfo, HfsJBlockListHeader) described.
572   HFSJ_JOURN_IN_FS, HFSJ_JOURN_OTHER_DEV, HFSJ_JOURN_NEED_INIT,
573   HFSJ_HEADER_MAGIC, HFSJ_ENDIAN_MAGIC, HFSX_CASE_FOLDING, HFSX_BINARY_COMPARE
574   added.
575   Fields dirty_alloc_map, allocation_file, jib_start_block, jl_start_block of
576   HfsPPrivateFSData added.
577 * libparted/fs_hfs/hfs.c (hfsplus_open): allocate dirty_alloc_map and open
578   allocation_file. Do not emit the warning exception about untested attributes
579   file anymore.
580   (hfsplus_close): free dirty_alloc_map and close allocation_file.
581   New HFSX descriptors hfsx_ops && hfsx_type.
582   (ped_file_system_hfs_init, ped_file_system_hfs_done): (un)register HFSX.
583 * libparted/fs_hfs/reloc.c (hfs_effect_move_extent): don't save the allocation
584   map anymore.
585   (hfs_move_extent_starting_at): save it here.
586 * libparted/fs_hfs/reloc_plus.c (hfsplus_do_move): handle journal and bitmap
587   reloc.
588   (hfsplus_move_extent_starting_at): call to the new hfsplus_save_allocation
589   added.
590 * libparted/fs_hfs/probe.c, libparted/fs_hfs/probe.h: hfsx_probe added.
591 * libparted/disk_mac.c (mac_partition_set_system): HFSX support.
592 * doc/parted.texi: updated documentation to reflect new journaled and hfsx
593   capabilities.
594
595 2005-07-10  Andrew Clausen <clausen@gnu.org>
596 * libparted/disk.c (_partition_check, _partition_check_extended): replaced
597   a specific start<=end sanity check in _partition_check_extended with
598   a generic assertion in _partition_check.
599 * libparted/parted.c (_ped_abs, _solution_check_distant, _get_left_bound,
600   _get_right_bound, _grow_over_small_freespace): removed and replaced with
601   snap_to_boundaries() et al:
602 * libparted/parted.c (snap_to_boundaries, try_snap, snap): these functions
603   do similar things to the functions above that they replace, except that
604   they constrain themselves by the recently introduced unit-specific ranges
605   rather than "small" magic numbers.  In addition, it will snap to an
606   existing partition boundary to avoid consuming slightly more free space.
607   (So, it could possibly shrink or grow)
608 * libparted/disk.c (ped_disk_add_partition, ped_disk_set_partition_geom):
609   these functions now deduce if a there are no constraint solutions because of
610   overlapping problems, and throws an appropriate exception.  This means
611   that lots of "Unable to satisfy constraints" messages will be replaced
612   with "Can't have overlapping partitions" messages where appropriate.
613 * po/pl.po: updated.
614
615 2005-07-06  Andrew Clausen <clausen@gnu.org>
616 * po/POTFILES.in: added libparted/fs_hfs/* and libparted/unit.c.
617 * po/vi.po: added (thanks to Tran Thi Hoang Quyen!)
618 * configure.in: added vi (Vietnamese) to the language list.
619 * po/ja.po po/nl.po: updated.
620 * libparted/disk_dvh (dvh_alloc, _handle_no_volume_header,
621   _get_extended_constraint): make the volume header partition include
622   the first sector of the disk (which contains the partition table.)
623 * libparted/disk_dvh (_handle_no_volume_header): removed the Ignore option
624   for disks without a volume header partition.
625 * libparted/disk_dvh (_get_primary_constraint, _get_extended_constraint):
626   don't align to cylinder boundaries any more.
627 * libparted/fs_ext2/ext2_block_relocator.c: added some comments.
628 * released 1.6.23
629
630 2005-07-04  Andrew Clausen <clausen@gnu.org>
631 * include/parted/natmath.h (ped_div_round_to_nearest): added.
632 * libparted/unit.c (ped_unit_parse_custom, geometry_from_centre_radius):
633   move out-of-disk detection into geometry_from_centre_radius(), because
634   the tolerance level depends on the radius.
635 * libparted/unit.c (ped_unit_parse_custom): clip the sector inside the
636   disk, if it passed the geometry_from_centre_radius() tolerance check.
637 * libparted/unit.c (ped_unit_format_custom): round to the nearest unit.
638 * libparted/unit.c (ped_unit_format_custom): format cylinders separately,
639   because they shouldn't be rounded.
640 * libparted/unit.c (ped_unit_parse_custom): start counting at -1, so that
641   -0 is past the end of the disk.
642 * libparted/constraint.c (ped_constraint_solve_nearest): it is not a bug
643   to have no end solution.
644 * libparted/constraint.c (_constraint_get_end_range): fixed an out-by-1
645   error on the length sanity check.
646 * libparted/unit.c (ped_unit_parse_custom): reduce the radius by 1.
647   This means a location is fuzzy only to strictly less than the unit
648   size.
649
650 2005-07-03  Andrew Clausen <clausen@gnu.org>
651 * include/parted/unit.h: rearranged the order of prototypes, and changed
652   some formatting.
653 * libparted/unit.c (ped_unit_get_size, get_sectors_per_cent, remove_punct):
654   rearranged order of functions.
655 * libparted/unit.c (ped_unit_format_custom): rewrote more compactly,
656   using ped_unit_get_name().
657 * libparted/unit.c (parse_chs, ped_unit_parse_custom): moved CHS parsing
658   into a new separate function.
659 * libparted/unit.c (parse_unit_suffix, ped_unit_parse_custom): moved
660   the unit parsing code into a separate new function.
661 * libparted/unit.c (ped_unit_parse_custom): restructed error handling.
662 * libparted/unit.c (ped_unit_get_size): make % simple: length*SECTOR_SIZE/100
663 * libparted/parted.c: applied a patch by Benno Schulenberg to clean up
664   error message / UI text strings.
665
666 2005-07-02  Leslie Polzer <leslie.polzer@gmx.net>
667 * libparted/unit.c: fixed off-by-one error
668 * doc/parted.texi: removed passage on ``='' notation and changed it
669   to document the new range handling.
670
671 2005-07-01  Leslie Polzer <leslie.polzer@gmx.net>
672 * libparted/unit.c: moved handling of negative locations to the right
673   place.
674
675 2005-06-30  Leslie Polzer <leslie.polzer@gmx.net>
676 * include/parted/unit.h (ped_unit_format): changed signature (swapped
677   order of arguments).
678 * include/parted/unit.h (ped_unit_format_custom): changed signature to
679   match new API interface.
680 * include/parted/unit.h (ped_unit_parse): changed signature to match
681   new API
682   interface (added range argument).
683 * include/parted/unit.h (ped_unit_parse_custom): changed signature to
684   match new API (added ``range'' argument)
685 * include/parted/unit.h (ped_unit_get_size): added.
686 * parted/parted.c: fixed typo in help ("MUMBER").
687 * parted/parted.c (_solution_check_distant): changed calls to match new
688   ped_unit_format signature.
689 * parted/parted.c (_grow_over_small_freespace): removed handling of
690   is_start_exact and is_end_exact.
691 * parted/parted.c (do_mkpart, do_mkpartfs, do_move, do_resize): changed
692   calls to command_line_get_sector and constraint_from_start_end to match
693   new signatures.
694 * parted/parted.c (do_move, do_print): changed calls to ped_unit_format
695   to match new signature.
696 * parted/parted.c (do_print): changed calls to ped_unit_format_custom
697   to match new signature.
698 * parted/ui.h (command_line_get_sector): changed signature
699   (replaced ``int* is_exact'' with ``PedRange** range'')
700 * parted/ui.c (command_line_get_integer): changed calls to
701   ped_unit_format to match new signature.
702 * parted/ui.c (command_line_get_sector): removed handling of
703   is_start_exact and is_end_exact and changed signature accordingly.
704 * libparted/unit.c: added API documentation.
705 * libparted/unit.c (ped_unit_format): rewrote call to
706   ped_unit_format_custom to match new signature.
707 * libparted/unit.c: (clip): added.
708 * libparted/unit.c (geometry_from_centre_radius): added.
709 * libparted/unit.c (ped_unit_parse_custom): removed differentiation
710   between double and long - double should be enough.
711 * libparted/unit.c (ped_unit_parse_custom): vast simplification due to
712   new range handling and usage of new functions
713   geometry_from_centre_radius and ped_unit_get_size.
714 * libparted/unit.c (get_sectors_per_cent): added.
715 * libparted/unit.c (ped_unit_get_size): added.
716 * libparted/disk.c (ped_disk_check): changed calls to match new
717   ped_unit_format signature.
718 * libparted/fs_fat/calc.c (fat_check_resize_geometry): changed calls to
719   match new ped_unit_format signature.
720
721 2005-06-18  Andrew Clausen <clausen@gnu.org>
722 * libparted/constraint.c: more comments.
723
724 2005-06-15  Andrew Clausen <clausen@gnu.org>
725 * po/zh_TW: added.  From Wei-Lun Chao <chaoweilun@pcmail.com.tw>.
726
727 2005-06-12  Andrew Clausen <clausen@gnu.org>
728 * libparted/disk_dos.c (probe_partition_for_geom): some OEM partitioning
729   software (?) has an out-by-one error for numbering the ending cylinder
730   of partitions.  This change supresses any exceptions, and treats the
731   CHS information as if the correct information had been given.
732
733 2005-06-11  Andrew Clausen <clausen@gnu.org>
734 * libparted/disk_dos.c (probe_partition_for_geom): the old code couldn't
735   infer any information when the start head didn't divide the end head.
736
737 2005-06-04  Andrew Clausen <clausen@gnu.org>
738 * libparted/linux.c (init_scsi, scsi_get_product_info,
739   scsi_query_product_info, read_device_sysfs_file): Use /sys to
740   fetch vendor/product names before trying the deprecated ioctl,
741   SCSI_IOCTL_SEND_COMMAND.  Based on a patch by Chris Lumens (thanks!)
742 * libparted/geom.c: added more comments.
743 * libparted/natmath.c: added more comments.
744 * libparted/constraint.c: added more comments.
745 * libparted/device.c: added more comments.
746 * libparted/timer.c: added more comments.
747 * libparted/filesys.c: added more comments.
748 * libparted/disk.c: added more comments.
749
750 2005-06-03  Andrew Clausen <clausen@gnu.org>
751 * libparted/disk_mac.c (_rawpart_is_active): empty partition names with
752   the type "Apple_Free" can also be free space partitions.
753
754 2005-06-02  Andrew Clausen <clausen@gnu.org>
755 * libparted/fs_fat/fat.c (fat_check): typecast -1 to (FatCluster).  (gcc
756   complains otherwise)
757 * libparted/linux.c (init_ide): call strip_name() on the prepared buffer
758   rather than the raw input.
759
760 2005-05-14  Andrew Clausen <clausen@gnu.org>
761 * libparted/fs_fat/fat.c (fat_check): don't complain about the information
762   sector reporting the number of free clusters as -1 ("I don't know").
763
764 2005-05-10  Andrew Clausen <clausen@gnu.org>
765 * libparted/disk_mac.c (mac_partition_set_flag): put curly braces around
766   the if body in the PED_PARTITION_BOOT case.
767
768 2005-04-20  Andrew Clausen <clausen@gnu.org>
769 * libparted/disk_mac.c (_rawpart_is_active): treat Apple_Free partitions
770   with names other than Extra as normal (active) partitions.
771 * parted/parted (do_resize): allow resizing of extended partitions,
772   even if some logical partitions are mounted.
773
774 2005-03-29  Andrew Clausen <clausen@gnu.org>
775 * everything: more punctuation / grammatical fixes from Benno Schulenberg
776   <benno@nietvergeten.nl>.
777 * libparted/disk_dvh.c (_handle_no_volume_header): only give a lax
778   constraint on the new volume header.  (Previously, if there wasn't
779   much space, then the volume header would not be created.  Now, a smaller
780   one gets created.)
781 * libparted/disk_dvh.c (_parse_partition, _generate_partition): retire the
782   hack in which the start of the volume header was temporarily represented
783   as 1 rather than 0.
784 * libparted/disk_dvh.c (_get_strict_extended_constraint): added.
785 * libparted/disk_dvh.c (dvh_partition_align): allow the volume header
786   (extended partition) to begin on sector 0 in both strict and lax
787   constraint forms.
788 * libparted/disk_dvh.c (dvh_alloc_metadata): only protect the partition
789   table with a metadata partition if the volume header (extended partition)
790   does not protect it already.
791 * libparted/disk_dvh.c (dvh_alloc_metadata): always protect the partition
792   table, but use a logical metadata partition if the volume header
793   includes the partition table.
794
795 2005-03-28  Andrew Clausen <clausen@gnu.org>
796 * everything: more punctuation / grammatical fixes from Benno Schulenberg
797   <benno@nietvergeten.nl>.
798 * everything: filesystem -> file system.  (messages / comments only)
799 * parted/parted.c (init_commands): describe "=" notation.
800 * doc/parted.texi: describe "=" notation.
801 * doc/parted.texi: link www.namesys.com/pub/libreiserfs
802
803 2005-03-27  Andrew Clausen <clausen@gnu.org>
804 * parted/parted.c (_rescue_add_partition()): fixed memory leaks.
805 * parted/parted.c (_rescue_pass()): now accepts partitions that end within
806   the allowed end range.  (Was previously buggy.)
807 * parted/parted.c (_rescue_add_partition()): use ped_constraint_exact()
808   to force the partition geometry to match the probed filesystem's
809   geometry.
810 * libparted/unit.c, doc/parted.texi: changes units to match SI standards.
811   eg: Mb -> MB, Kb -> kB.
812 * libparted/libparted.c (init_disk_types, done_disk_types): put in
813   alphabetical order.
814 * parted/ui.c parted/ui.h (command_line_get_integer, command_line_get_sector,
815   command_line_get_state, command_line_get_device, command_line_get_disk,
816   command_line_get_partition, command_line_get_fs_type,
817   command_line_get_disk_type):
818   all command_line_get_*() functions now take their default input value from
819   the same location as the output value.
820 * parted/ui.c (command_line_get_sector): "=" specifies that the user
821   would like the partition to be exactly in that location, without
822   any possibility of being moved due to alignment or other reasons.
823 * parted/parted.c (do_check, do_cp, do_mklabel, do_mkfs, do_mkpart,
824   do_mkpartfs, do_move, do_name, do_print, do_rescue, do_resize, do_rm,
825   do_select, do_set): updated to new ui.h interface.
826 * parted/parted.c (do_name): include the old name as default.
827 * everything: applied many punctuation / grammatical fixes from
828   Benno Schulenberg <benno@nietvergeten.nl>.
829
830 2005-03-21  Andrew Clausen <clausen@gnu.org>
831 * libparted/disk_mac.c (mac_partition_set_flag, _rawpart_is_lvm):
832   Now uses "Linux_LVM" in the system name, not "lvm" in the volume name.
833 * libparted/disk_mac.c (mac_partition_set_flag, _rawpart_is_raid,
834   _rawpart_analyse): Added analogous support for RAID partitions.
835 * libparted/unit.c (ped_unit_parse_custom): throw an exception if the
836   location doesn't have any numbers as input.
837 * parted/parted.c (do_print): remove padding spaces from text, and replace
838   them with numbers.  This should make life easier for the translation
839   team.
840
841 2005-03-20  Andrew Clausen <clausen@gnu.org>
842 * include/parted/unit.h: added.
843 * include/parted/parted.h: now includes unit.h.
844 * include/parted/device.h: PED_SECTOR_SIZE is now defined in unit.h.
845 * libparted/unit.c: added.
846 * libparted/disk.c (ped_disk_check): use new unit.h formatting code.
847 * libparted/fs_fat/calc.c (fat_check_resize_geometry): use new unit.h
848   formatting code.
849 * parted/parted.c (do_unit): added a command for selecting the default unit.
850 * parted/parted.c (_solution_check_distant): uses new unit.h formatting code.
851   The prototype changed to include "dev", which is required to format the "%"
852   and "cyl" units.
853 * parted/parted.c (partition_print, do_print, _rescue_add_partition):
854   uses new unit.h formatting code.
855 * parted/parted.c (do_print): changed "Minor" -> "Number".
856 * parted/ui.c (command_line_get_sector): changed to use new unit.h
857   parsing and formatting code.
858 * parted/ui.c (command_line_get_unit): added.
859 * parted/ui.h: added command_line_get_unit() prototype.
860 * doc/API: added documentation for PedUnit.
861 * parted/parted.c: updated help text to reflect change from Minor to Number.
862 * doc/parted.texi: update documentation to reflect change from Minor to Number.
863 * doc/parted.texi: update documentation to reflect units changes.
864 * include/parted/unit.h: added CHS support.  (PED_UNIT_CHS)
865 * libparted/unit.c: added CHS support.
866 * parted/parted.c: display the size of partitions, except if the unit is CHS.
867
868 2005-03-20  Andrew Clausen <clausen@gnu.org>
869 * released 1.6.22
870
871 2005-03-14  Chris Lumens  <clumens@redhat.com>
872 * libparted/fs_fat/fat.h:  Change name to a char array in _FatDirEntry.
873 * libparted/fs_fat/traverse.c (fat_dir_entry_is_active): One last unsigned
874   char vs. char compiler warning fix.
875 * libparted/device.c:  Functions named things like read, write, and check
876   can be implemented as macros which will get expanded here and cause
877   problems.  Surround the names with parentheses to prevent macro expansion.
878 * libparted/linux.c (_mount_table_search):  Ignore sccanf result.
879
880 2005-03-11  Guillaume Knispel <k_guillaume@libertysurf.fr>
881 * libparted/fs_hfs/hfs.c, libparted/fs_hfs/reloc.c,
882   libparted/fs_hfs/reloc_plus.c: Make use of ped_geometry_sync_fast in hfs
883   and hfs+ code.
884
885 2005-03-08  Chris Lumens  <clumens@redhat.com>
886 * libparted/disk_amiga.c, libparted/disk_gpt.c, libparted/disk_pc98.c,
887   libparted/disk_sun.c, libparted/linux.c, libparted/fs_hfs/reloc.c:  Fix up
888   unsigned char vs. char compiler warnings.
889
890 2005-03-07  Chris Lumens  <clumens@redhat.com>
891 * libparted/disk_mac.c: support LVM on PPC by setting the proper flags on the
892   partition (patch from Paul Nasrat <pnasrat@redhat.com>).
893
894 2005-03-06  Andrew Clausen <clausen@gnu.org>
895 * libparted/disk_sun.c: many changes, including:
896         - replaced hw_geom with bios_geom.
897         - disk_specific->length is now set to cylinder_size * label->ncyl.
898         - label->acyl is now set to 0 by default.
899
900 2005-03-05  Andrew Clausen <clausen@gnu.org>
901 * doc/parted.8: changed "mips" to "dvh" to be consistent with the Parted
902   user interface.
903 * doc/parted.texi: added http:// and ftp:// onto some URLs.
904
905 2005-03-04  Chris Lumens <clumens@redhat.com>
906 * libparted/fs_fat/context.c: fix casting typo.
907 * include/parted/constraint.h, libparted/constraint.c: remove
908   ped_constraint_none that wasn't being referenced anywhere.
909
910 2005-03-04  Andrew Clausen <clausen@gnu.org>
911 * libparted/fs_fat/count.c (flag_traverse_fat): in the assignment to
912   cluster_info [clst].units_used, store 0, rather than 64.  The code
913   has the same semantics, but no gcc4 compiler warning.  (0 == 64 when
914   you use 6-bit integers; 0 is interpreted as 64 in all relevant code)
915   (problem reported by Chris Lumens <clumens@redhat.com>)
916
917 2005-02-19  Guillaume Knispel <k_guillaume@libertysurf.fr>
918 * libparted/fs_hfs/hfs.c (hfs_resize): do nothing when nothing to do.
919 * libparted/fs_hfs/hfs.c (hfsplus_resize): do nothing when nothing to do.
920 * libparted/fs_hfs/hfs.c (hfsplus_open): leak in the error handling code
921   corrected.
922
923 2005-02-17  Guillaume Knispel <k_guillaume@libertysurf.fr>
924 * include/parted/device.h (_PedDeviceArchOps): field sync_fast added.
925 * include/parted/device.h (ped_device_sync_fast): added.
926 * include/parted/geom.h (ped_geometry_sync_fast): added.
927 * libparted/device.c (ped_device_sync_fast): added.
928 * libparted/geom.c (ped_geometry_sync_fast): added.
929 * libparted/gnu.c (gnu_dev_ops): sync_fast pointing to gnu_sync added.
930 * libparted/linux.c (linux_sync_fast): added.
931 * libparted/linux.c (linux_dev_ops): sync_fast pointing to linux_sync_fast
932   added.
933 * doc/API : new ped_device_sync_fast and ped_geometry_sync_fast API
934   documented.
935
936 2005-02-14  Chris Lumens <clumens@redhat.com>
937 * parted/parted.c : on the help for the mkfs, mkpart, and resize commands,
938   only list filesystem types that are supported
939
940 2005-02-02  Guillaume Knispel <k_guillaume@libertysurf.fr>
941 * integrated HFS Patch 16 :
942 * libparted/fs_hfs/hfs.c
943 * libparted/fs_hfs/hfs.h
944 * libparted/fs_hfs/probe.c
945 * libparted/fs_hfs/probe.h
946 * libparted/fs_hfs/cache.c
947 * libparted/fs_hfs/cache.h
948 * libparted/fs_hfs/advfs.c
949 * libparted/fs_hfs/advfs.h
950 * libparted/fs_hfs/file.c
951 * libparted/fs_hfs/file.h
952 * libparted/fs_hfs/reloc.c
953 * libparted/fs_hfs/reloc.h
954 * libparted/fs_hfs/advfs_plus.c
955 * libparted/fs_hfs/advfs_plus.h
956 * libparted/fs_hfs/file_plus.c
957 * libparted/fs_hfs/file_plus.h
958 * libparted/fs_hfs/reloc_plus.c
959 * libparted/fs_hfs/reloc_plus.h
960 * libparted/Makefile.am : modified according new source files listed above
961 * libparted/disk_mac.c (mac_partition_set_system): tag partition with type
962   "Apple_HFS" if the filesystem is "hfs+" in addition to "hfs"
963 * debug/test/test_fs_hfs : new non-regression tests for hfs
964 * debug/test/test_fs_hfsplus : new non-regression tests for hfs+
965 * debug/test/test (ped_test_get_val): allow bash evaluation of $post_command
966 * doc/parted.texi (Supported File Systems): added resize operation for hfs
967   and hfs+, and a note stating they can only be made smaller.
968 * doc/parted.texi (Command explanation Resize): talk about hfs.
969
970 2005-01-16  Andrew Clausen <clausen@gnu.org>
971 * released 1.6.21
972
973 2005-01-10  Sven Luther <luther@debian.org>
974 * libparted/disk.c, doc/parted.texi : renamed prep-boot prep partition name to
975   prep.
976
977 2005-01-08  Andrew Clausen <clausen@gnu.org>
978 * libparted/linux.c (linux_disk_commit): if the BLKPG method fails, try
979   the BLKRRPART method.
980
981 2005-01-06  Andrew Clausen <clausen@gnu.org>
982 * libparted/disk_dos.c (msdos_write): put in a unique identifier (which
983   is misleadingly called the "MBR signature" by Microsoft docs and
984   EFI specs).  Based on a patch by Matt Domsch <Matt_Domsch@dell.com>.
985
986 2005-01-05  Sven Luther <luther@debian.org>
987 * include/parted/endian.h : fixed PED_SWAP macros missing (), since it broke
988   on 64bit hardware as shown in the PED_CPU_TO_BE32(part ? part_num : LINK_END)
989   code snipplet, which applied the uint32 cast to part, and not the value.
990 * libparted/disk_amiga.c, libparted/fs_amiga/amiga.c : Added some uint32 casts.
991
992 2005-01-05  Andrew Clausen <clausen@gnu.org>
993 * libparted/disk_sun.c (sun_alloc, sun_read, sun_write): fixed
994   cylinder recording stuff.  pcylcount is now 2 more, and ncyl is now
995   2 less than it was before.
996 * libparted/filesys.c (ped_file_system_clobber): removed a useless
997   (always-thrown) assertion for file system support for clobbering.
998
999 2004-12-26  Harley D. Eades III  <hde@grics.net>
1000 * libparted/gnu.c (gnu_new): Added three new variables ro_err, rw_err and
1001   ispath.  The ispath variables is set to 1 if path is indeed a path and not a
1002   store type name.  This prevents having to use strchr more then once.  Added
1003   a check for determining if the inputted path is a path and not a store-type
1004   name.  If (const char *)path is a path then use store_open (). If (const
1005   char *)path is a store-type name use store_typed_open ().
1006
1007 2004-12-21  Andrew Clausen <clausen@gnu.org>
1008 * libparted/linux.c (_disk_sync_part_table): removed duplicate error message.
1009
1010 2004-12-19  Andrew Clausen <clausen@gnu.org>
1011 * libparted/linux.c (_device_get_part_path): only treat the device as
1012   devfs if it has /disc on the end.
1013 * libparted/linux.c (_partition_get_part_dev): added.
1014 * libparted/linux.c (_partition_is_mounted_by_dev ): added.
1015 * libparted/linux.c (_partition_is_mounted): now uses
1016   _partition_is_mounted_by_dev().  This is more reliable than guessing
1017   the partition's device name.
1018 * libparted/linux.c (_device_probe_type): sets the type to
1019   PED_DEVICE_UNKNOWN on block devices that don't fall into the
1020   standard categories.  This makes libparted correctly update
1021   the kernel's view of partition tables, etc.
1022
1023 2004-12-18  Andrew Clausen <clausen@gnu.org>
1024 * libparted/disk_dos.c (probe_partition_for_geom): improved heuristic
1025   for finding broken partition tables: test if any feasible solution
1026   geometry exists against the end cylinder rather than 1024.  This
1027   heuristic now has fewer false negatives and no false positives.
1028
1029 2004-12-18  Andrew Clausen <clausen@gnu.org>
1030 * libparted/disk_dos.c (msdos_probe): look for SBML signature at offset 0x40,
1031   rather than 0x39.  (oops!)
1032 * libparted/disk_amiga.c: added (from Sven Luther)
1033   Note: I did some cleanups, added assertions, etc.
1034 * libparted/fs_amiga/affs.c: added.
1035 * libparted/fs_amiga/affs.h: added.
1036 * libparted/fs_amiga/amiga.c: added.
1037 * libparted/fs_amiga/amiga.h: added.
1038 * libparted/fs_amiga/apfs.c: added.
1039 * libparted/fs_amiga/apfs.h: added.
1040 * libparted/fs_amiga/asfs.c: added.
1041 * libparted/fs_amiga/asfs.h: added.
1042 * libparted/fs_amiga/interface.c: added.
1043 * released 1.6.20
1044
1045 2004-12-14  Harley D. Eades III  <hde@grics.net>
1046 * libparted/disk_dos.c (msdos_probe): Fixed typo changed strcmp to
1047   strncmp.
1048
1049 2004-12-08  Andrew Clausen <clausen@gnu.org>
1050 * libparted/disk_dvh.c (_generate_boot_file): zero out the boot file name
1051   record before writing the name in.  Previously, there was a misplaced
1052   null-terminator that caused gcc to complain.
1053
1054 2004-12-04  Andrew Clausen <clausen@gnu.org>
1055 * libparted/filesys.c (ped_file_system_resize, ped_file_system_copy):
1056   only attempt to check file systems if checking is implemented for
1057   that file system type.
1058
1059 2004-11-29  Andrew Clausen <clausen@gnu.org>
1060 * libparted/fs_fat/bootsector.c (fat_boot_sector_analyse): when correcting
1061   the boot sector, use fat_boot_sector_write() to make sure the backup
1062   copy gets written (if applicable).
1063 * libparted/disk_dos.c (msdos_probe): don't treat Smart Boot Manager Loader
1064   boot blocks as FAT file systems.
1065
1066 2004-11-28  Sven Luther <luther@debian.org>
1067 * libparted/disk_dos.c: Added support for the prep-boot partition type.
1068
1069 2004-11-28  Andrew Clausen <clausen@gnu.org>
1070 * libparted/fs_fat/boot_sector.c (fat_boot_sector_analyse): if the
1071   file system's CHS geometry is insane, then let the user fix it.
1072   This is important, because Linux refuses to mount FAT file systems
1073   with insane CHS geometry.  Moreover, a few recent versions of Parted
1074   wrote some insane values here, so this allows users to fix the damage.
1075 * released 1.6.19
1076
1077 2004-11-22  Andrew Clausen <clausen@gnu.org>
1078 * parted/ui.c (_construct_prompt): previously forgot to assign "prompt = ..."
1079   in a realloc_and_cat() call.  Patch from Woody Suwalski <woodys@xandros.com>
1080
1081 2004-11-21  Andrew Clausen <clausen@gnu.org>
1082 * libparted/linux.c (linux_new): get rid of pointless exception for
1083   exotic block devices.
1084 * configure.in, libparted/fs_reiserfs/reiserfs.c (reiserfs_fs_check):
1085   applied patch by Yury to do a proper file system check.
1086
1087 2004-11-20  Andrew Clausen <clausen@gnu.org>
1088 * libparted/disk_dos.c (probe_partition_for_geom): don't attempt
1089   to infer geometry from a partition whose end can't possibly be addressed
1090   with CHS (regardless of the CHS geometry).
1091 * libparted/disk_dos.c (msdos_read): initialize bios_geom to the old
1092   value, in case no better geometry can be found.
1093 * released 1.6.18
1094 * libparted/disk_gpt.c (_generate_header): changed a misleading comment
1095   "per 1.02 spec" -> "per 1.00 spec".
1096 * libparted/disk_mac.c (mac_duplicate): don't create a partition map
1097   entry - leave that for later.
1098 * libparted/disk_dos.c (msdos_read): avoid infinite recursion.
1099 * libparted/disk_dos.c (msdos_partition_align): refuse to resize
1100   Windows Dynamic Disk partitions.
1101
1102 2004-11-19  Andrew Clausen <clausen@gnu.org>
1103 * libparted/fs_fat/resize.c (create_resize_context): copy CHS info across.
1104   (Was previously uninitialized - bug)
1105 * released 1.6.17
1106
1107 2004-11-11  Andrew Clausen <clausen@gnu.org>
1108 * libparted/disk_dos.c (msdos_partition_set_system): sun-ufs partitions
1109   now have an ID of 0xbf.
1110 * libparted/disk_dos.c (probe_partition_for_geom): rewrote with lots
1111   more comments + mathematical paranoia.
1112
1113 2004-11-10  Andrew Clausen <clausen@gnu.org>
1114 * libparted/disk_dos.c (realloc_metadata, msdos_read): better solution...
1115   just call msdos_read() again if the CHS geometry needs to be changed.
1116 * libparted/disk_gpt.c (write_pmbr): if the partition is longer than
1117   32-bits can fit, then write 0xffffffff as per GPT spec.  Patch from
1118   Matt Domsch <Matt_Domsch@dell.com>.
1119
1120 2004-11-08  Andrew Clausen <clausen@gnu.org>
1121 * libparted/disk_dos.c (realloc_metadata): stupid bug fix: reset the start/end
1122   to be the same as what they were before.
1123 * released 1.6.16
1124
1125 2004-10-17  Andrew Clausen <clausen@gnu.org>
1126 * libparted/disk_dos.c (probe_partition_for_geom): ignore CHS geometry
1127   if the start cylinder is greater than the end cylinder.
1128 * libparted/fs_fat/bootsector.h: add another __attribute__ ((packed))
1129   thingy to ensure the right alignment.
1130 * parted/parted.c (do_print, _rescue_add_partition): removed bogus
1131   (int) casts.  (%f, what was I thinking?!)
1132
1133 2004-09-19  Andrew Clausen <clausen@gnu.org>
1134 * libparted/disk_dos.c: replaced magic number 1023 with MAX_CHS_CYLINDER,
1135   and set this constant to >1021 rather than >=1023.  Some partition tables
1136   in the wild have 1022 as a "partition-too-big-for-CHS" indicator.
1137 * released 1.6.15
1138
1139 2004-09-13  Harley D. Eades III  <hde@grics.net>
1140 * libparted/gnu.c (_device_probe_geometry): Variable declaration had
1141   wrong name.
1142
1143 2004-09-08  Andrew Clausen <clausen@gnu.org>
1144 * libparted/disk_dos.c (realloc_metadata, read_table): added an ugly hack to
1145   force metadata to be reallocated according to the new BIOS geometry.
1146 * libparted/disk_dos.c (msdos_alloc_metadata): yet another overlapping case
1147   I missed: the extended partition's partition table area needs to be
1148   small enough to leave room for the logical partition (or logical partition
1149   table) that follows it.
1150 * libparted/linux.c (linux_check): s/int/PedSector/ to be on the safe side.
1151
1152 2004-09-07  Andrew Clausen <clausen@gnu.org>
1153 * libparted/gnu.c (_device_probe_geometry): fixed compile bug with the
1154   bios_geom initialization, and now initializes hw_geom as well.
1155
1156 2004-09-06  Andrew Clausen <clausen@gnu.org>
1157 * released 1.6.14
1158
1159 2004-09-05  Andrew Clausen <clausen@gnu.org>
1160 * libparted/disk_dos.c (partition_probe_bios_geometry): fixed the
1161   call ped_partition_is_active... it wasn't a function call before!
1162
1163 2004-09-04  Andrew Clausen <clausen@gnu.org>
1164 * libparted/disk_dos.c (chs_get_sector): a bitmask operation is more elegant.
1165 * libparted/disk_dos.c (chs_to_sector, probe_partition_for_geom):
1166   replaced 1022 with 1023 for consistency.
1167 * libparted/disk_dos.c (probe_partition_for_geom): added assertions that
1168   test if the goal has been met.
1169 * libparted/disk_dos.c (read_table, msdos_alloc_metadata):
1170   Use PED_PARTITION_NORMAL instead of 0.
1171 * libparted/disk_dos.c (msdos_alloc_metadata, add_startend_metadata):
1172   Now make sure the placeholder/metadata partitions never overlap with real
1173   partitions.  Should get rid of the "overlapping partitions" error message
1174   bug.
1175 * released 1.6.13
1176
1177 2004-09-03  Andrew Clausen <clausen@gnu.org>
1178 * libparted/disk_dos.c (disk_probe_bios_geometry): check if the partition
1179   is active before querying if it has the boot flag set.  This prevents
1180   some spurious error exceptions from ped_partition_get_flag().
1181 * libparted/disk_dos.c (read_table): if we have an invalid partition table
1182   signature, we now ignore the entire partition table rather than processing
1183   dodgey data.
1184
1185 2004-08-31  Andrew Clausen <clausen@gnu.org>
1186 * doc/API: fixed PedDevice documentation.
1187 * libparted/disk_dos.c (msdos_partition_duplicate): now duplicates
1188   partition->dos_data->orig.
1189
1190 2004-08-29  Andrew Clausen <clausen@gnu.org>
1191 * libparted/linux.c (_mount_table_search): now works by comparing device
1192   major/minor rather than device names.
1193 * libparted/linux.c (_partition_is_mounted, _partition_is_mounted_by_path,
1194   linux_is_busy): minor cosmetic changes.
1195 * parted/parted.c (_partition_warn_busy): removed the "Ignore" option.
1196   Users *must* unmount!
1197
1198 2004-08-17  Andrew Clausen <clausen@gnu.org>
1199 * libparted/exception.c (log2): renamed to ped_log2 to avoid clash with
1200   a new gcc builtin.  Bug reported by David Ronis (thanks!)
1201
1202 2004-08-16  Andrew Clausen <clausen@gnu.org>
1203 * released 1.6.12
1204
1205 2004-08-15  Andrew Clausen <clausen@gnu.org>
1206 * include/parted/device.h (PedDevice): replaced sectors, heads, cylinders
1207   with hw_geom and bios_geom.
1208 * libparted/disk_dos.c: rewrote to use better heuristics and have a more
1209   "subjective" view of CHS geometry.  (i.e. each partition's "opinion"
1210   may differ now)
1211 * configure.in parted/Makefile.am: fixed linker invocation.  Rumored
1212   to fix ppc64 build issues.  Sent by Jeremy Katz <katzj@redhat.com>.
1213
1214 2004-06-26  Andrew Clausen <clausen@gnu.org>
1215 * libparted/disk_dos.c (read_table): big cleanup
1216 * libparted/disk_dos.c (read_table, process_bad_chs): now probes Microsoft
1217   file systems for BIOS CHS geometry.  This idea was suggested by
1218   Steffen Winterfeldt <snwint@suse.de>.
1219
1220 2004-06-21  Andrew Clausen <clausen@gnu.org>
1221 * libparted/disk_dvh.c: some cleanups and change to fill in all fields in the
1222   header from Eric Sandeen (sandeen@sgi.com)
1223
1224 2004-06-16  Andrew Clausen <clausen@gnu.org>
1225 * libparted/fs_fat/bootsector.c: bs->cluster_size is 8-bit; removed byteswap.
1226   Patch from John Gilmore gnu@toad.com (thanks!)
1227
1228 2004-05-01  Andrew Clausen <clausen@gnu.org>
1229 * libparted/debug.c include/parted/debug.h (ped_assert): change prototype
1230   to have all (pointer) parameters to be const.  (char* -> const char *)
1231
1232 2004-04-25  Andrew Clausen <clausen@gnu.org>
1233 * libparted/linux.c (linux_read, linux_write): don't do the kludge ioctl
1234   for linux >= 2.6.0.  Patch from Matt Domsch.  (Thanks!)
1235 * libparted/fs_reiserfs/geom_dal.c, libparted/geom.c, libparted/gnu.c,
1236   libparted/linux.c: trivial patch to move pointers dereferences after
1237   "not-NULL" assertions.  Patch from Guillaume.  (Thanks!)
1238 * released 1.6.11
1239
1240 2004-04-16  Andrew Clausen <clausen@gnu.org>
1241 * libparted/disk_mac.c (mac_alloc): fixed incorrect malloc() check
1242   (alex.kiernan@thus.net)
1243 * libparted/linux.c (_device_get_sector_size): always return a sane value.
1244 * added new translation: it (thanks to Giuseppe Sacco)
1245 * added new translation: uk (thanks to Maxim V. Dziumanenko)
1246 * released 1.6.10
1247
1248 2004-04-04  Andrew Clausen <clausen@gnu.org>
1249 * re-ran libtoolize.  (Patrick LoPresti <patl@users.sf.net> pointed out that
1250   ltmain.sh was way out of date)
1251 * released 1.6.9
1252
1253 2004-03-27  Andrew Clausen <clausen@gnu.org>
1254 * configure.in: removed intl/ from AC_OUTPUT
1255 * released 1.6.8
1256
1257 2004-03-20  Andrew Clausen <clausen@gnu.org>
1258 * libparted/disk_sun.c: avoid endian conversion on a constant (Sven Luther)
1259 * libparted/linux.c (BLKGETSIZE64): pass type directly, not sizeof().
1260   (Sven Luther)
1261 * libparted/fs_reiserfs/reiserfs.h libparted/fs_ufs/ufs.c: fix padding sizes
1262   (Roman Zippel)
1263 * include/parted/disk.h libparted/disk_dos.c: add HP palo partition type.
1264   (Richard Hirst)
1265 * released 1.6.7
1266
1267 2004-03-11  gettextize  <bug-gnu-gettext@gnu.org>
1268         * Makefile.am (SUBDIRS): Add m4.
1269         (SUBDIRS): Remove intl.
1270         (ACLOCAL_AMFLAGS): New variable.
1271         (EXTRA_DIST): Add config.rpath.
1272         * configure.in (AC_OUTPUT): Add m4/Makefile.
1273
1274 2003-07-26  Andrew Clausen <clausen@gnu.org>
1275 * added new translation: zh_CN (thanks Wang Li :)
1276 * updated translation: tr
1277 * released 1.6.6
1278
1279 2003-07-21  Andrew Clausen <clausen@gnu.org>
1280 * applied updated translations: cs, fr, ja, pl
1281
1282 2003-06-30  Andrew Clausen <clausen@gnu.org>
1283 * libparted/disk_*.c (*_partition_duplicate): added new_part->num = part->num
1284   or result->num = part->num.
1285 * libparted/fs_ext2/ext2.c (ext2_open): changed "not cleanly unmounted"
1286   from a warning to an error, and default to cancel.  Added a message saying
1287   not ignoring could cause severe corruption.
1288 * parted/parted.c (_partition_warn_busy): added a message saying not ignoring
1289   could cause severe corruption.
1290 * released 1.6.6-pre2
1291 * libparted/fs_ext2/ext2_resize.c (ext2_resize): offer to disable dir_index,
1292   explaining how to reenable it later.
1293 * libparted/fs_ext2/ext2_fs.h libparted/fs_ext2/ext2.c: added DIR_INDEX
1294   stuff... now doesn't complain too much about dir_index.
1295 * doc/parted.texi: applied Thomas Hood's changes.  (thanks!)
1296
1297 2003-06-29  Andrew Clausen <clausen@gnu.org>
1298 * libparted/disk.c (ped_disk_get_maximum_geom): applied a tight constraint
1299   for restoring the geometry.  (It was loose before, and sometimes being
1300   reverted incorrectly.  Ooops!)
1301 * parted/parted.c (start_end_msg): describe semantics of negative values.
1302 * released 1.6.6-pre1
1303 * added Czech translations (thanks Miloslav :)
1304 * updated Turkish, Danish translations
1305
1306 2003-06-22  Andrew Clausen <clausen@gnu.org>
1307 * applied new Polish translations.
1308 * doc/parted.texi: s/mkparted/mkpart/ (Kent Robotti's program)
1309 * libparted/disk_gpt.c: changed some large constants to LL (long long).
1310 * parted/parted.c (do_print): translate partition type names.  ("primary", etc.)
1311 * switched to new autoconf/automake/libtool.  This means acconfig.h was
1312   removed, and comments were added to AC_DEFINE invocations in configure.in.
1313
1314 2003-02-23  Andrew Clausen <clausen@gnu.org>
1315 * libparted/disk_gpt.c: applied patch from Arun Sharma <arun.sharma@intel.com>
1316   to use write version 1.0, not 1.02 on the table, for compatibility reasons.
1317   Insignificant for copyright purposes, IMHO.
1318 * released 1.6.5
1319
1320 2003-02-16  Andrew Clausen <clausen@gnu.org>
1321 * libparted/linux.c (_disk_sync_part_table): fixed an array over-run
1322   bug reported by Sven Hartrumpf <Sven.Hartrumpf@FernUni-Hagen.de>.
1323   Applied a modified version of this patch.  Insignificant for copyright
1324   purposes, IMHO.
1325 * doc/parted.texi: fixed somes of typos and broken URLs.
1326
1327 2003-01-03  Andrew Clausen <clausen@gnu.org>
1328 * released 1.6.5-pre1
1329
1330 2002-12-26  Andrew Clausen <clausen@gnu.org>
1331 * libparted/linux.c (_match_rd_device, _compare_digit_state,
1332   _probe_proc_partitions): added, added and modified respectively to
1333   match raid devices looking like /dev/rd/c0d0, which are not partitions.
1334 * libparted/disk_dvh.c, libparted/Makefile.am, libparted/libparted.c:
1335   renamed from everything from mips to dvh, including the file name
1336   libparted/disk_mips.c.
1337
1338 2002-12-08  Andrew Clausen <clausen@gnu.org>
1339 * applied updated translations: de
1340
1341 2002-12-07  Andrew Clausen <clausen@gnu.org>
1342 * applied updated translations: fr, gl, tr, ja
1343 * configure.in parted/Makefile.am partprobe/Makefile.am:
1344   renamed PARTED_LDFLAGS to PARTEDLDFLAGS... it was causing automake to
1345   do some odd things (name-space collision?)
1346 * released 1.6.4
1347
1348 2002-12-06  Andrew Clausen <clausen@gnu.org>
1349 * libparted/fs_fat/calc.c (fat_calc_sizes, fat_recommend_min_cluster_size):
1350   for fat32, try to avoid getting more than 2,000,000 clusters by increasing
1351   the cluster size.  Otherwise, Windows coughs.
1352 * released 1.6.4-pre2
1353
1354 2002-11-15  Andrew Clausen <clausen@gnu.org>
1355 * released 1.6.4-pre1
1356
1357 2002-11-13  Andrew Clausen <clausen@gnu.org>
1358 * debug/test/test_fs_ext2: added a test for creating 0-length fs
1359 * doc/API: fixed docs for ped_disk_get_partition_by_sector() and
1360   ped_constraint_any()
1361 * doc/parted.texi: updated section on bootdisks
1362 * libparted/fs_fat/bootsector.c (fat_boot_sector_read): defined the
1363   role of error checking in this function better.  [It should guarantee
1364   fat_boot_sector_probe_type() will work].  Added a check for
1365   bs->cluster_size != 0) to satisfy this clarification.  (msw reported
1366   divide-by-zero)
1367 * libparted/linux.c (init_file): replaced assertion dev->length > 0 with
1368   a check + error message.
1369 * (_partition_is_root_device): now returns -1 ("unknown") on error
1370 * (_partition_is_mounted_by_path): re-did the logic with case statements,
1371   and now remembers if /proc/mounts and /etc/mtab are broken.  Gives
1372   a better error message.
1373 * parted/parted.c (do_print): removed cruft: we don't print free-space
1374   partitions
1375 * applied updated translations: fr, ja
1376
1377 2002-08-31  Andrew Clausen <clausen@gnu.org>
1378 * parted/parted.c (do_mkpart): moved ped_constraint_destroy() to just
1379   before the return, so error handling occurs correctly.
1380
1381 2002-08-11  Andrew Clausen <clausen@gnu.org>
1382 * released 1.6.3
1383
1384 2002-08-10  Andrew Clausen <clausen@gnu.org>
1385 * libparted/linux.c (_kernel_has_blkgetsize64, _device_get_length):
1386   applied patch from Matt Domsch that adds support for a new ioctl,
1387   BLKGETSIZE64
1388 * parted/parted.c (_done): surpress the /etc/fstab advice in script mode
1389
1390 2002-08-08  Andrew Clausen <clausen@gnu.org>
1391 * updated translations: da, de, es, fr, gl
1392 * new translations: tr (Turkish)  - thanks EyĂźp :)
1393
1394 2002-07-06  Andrew Clausen <clausen@gnu.org>
1395 * doc/parted.texi: more fixes for name, print
1396 * released 1.6.2
1397
1398 2002-07-03  Andrew Clausen <clausen@gnu.org>
1399 * doc/pt_BR-parted.texi doc/pt_BR-FAQ: added (by Bernardo JoĂŁo Torres da
1400   Silveira)
1401 * doc/Makefile.am: changes for the pt translations
1402 * doc/API: misc. fixes
1403 * doc/parted.texi: point people interested in reiserfs to reiserfs.osdn.org.ua
1404 * doc/parted.texi: updated docs for "rescue"
1405 * configure.in libparted/Makefile.am: fixed reiserfs linking issues with
1406   --enable-all-static --disable-dynamic-loading
1407 * libparted/disk.c (_disk_check_sanity): removed ugly MSDOS sanity-check.
1408   The code's well tested, and occassionally the "insane" condition occurs
1409   legitimately.
1410 * libparted/disk_pc98.c (pc98_probe, check_partition_consistency): made
1411   probing a bit stricter.
1412 * libparted/fs_fat/table.c (fat_table_read): fixed a bug in the
1413   initialization of ft->cluster_count.  It was calculating (incorrectly),
1414   rather than using fs_info->cluster_count.  This was causing assertions to
1415   fail soon after, in some situations.  This is always harmless (if you
1416   ignore).
1417 * libparted/linux.c (_mount_table_search): don't confuse "/dev/hda12"
1418   with "/dev/hda1", etc.
1419 * parted/parted.c (_timer_handler): rewrote, much simpler.  Also,
1420   friendlier to epileptics!
1421 * (do_check): added a check to see if the partition in busy
1422 * (do_rescue): new implementation: now only searches in a small radius
1423   around the start for signatures.  Much faster.
1424 * (wipe_line): from parted.c to ui.c
1425
1426 2002-05-12  Andrew Clausen <clausen@gnu.org>
1427 * updated translations: ca, es, fr, gl
1428 * debug/test/test_fs_ext2: added a test for creating "0 size" fs's.  (the
1429   constraint solver should deal with this)
1430 * libparted/fs_fat/bootsector.c (fat_boot_sector_analyse): when the FATs
1431   are apparantly too small... this isn't an error!  Just assume there are
1432   fewer clusters.
1433 * partprobe/Makefile.am: move @PARTED_LIBS@ to end of partprobe_LDADD.
1434   Static linking (--enable-all-static) failed without this.
1435 * released 1.6.1
1436
1437 2002-04-30  Andrew Clausen <clausen@gnu.org>
1438 * doc/parted.texi: removed duplication of commands
1439 * updated translations: ca, es
1440 * released 1.6.0
1441
1442 2002-04-28  Andrew Clausen <clausen@gnu.org>
1443 * parted/Makefile.am: moved @PARTED_LIBS@ after libparted in the parted
1444   rule, to satisfy dependencies correctly (--enable-all-static seemed
1445   to need this)
1446 * doc/parted.texi: updated to reflect current state of reiserfs support.
1447   Also updated legal notices to match the current situation.
1448 * doc/pt_BR-parted.8: added (thanks Minami!)
1449 * doc/Makefile.am: some automake gymnastics to get pt_BR-parted.8 installed
1450   in the right place.
1451 * updated translations: de, fr, gl, ja
1452 * debug/test/fs_reiserfs: added reiserfs regression tests
1453 * libparted/fs_reiserfs/reiserfs.c (reiserfs_get_create_constraint):
1454   was setting the minimum size too low, since it was returning in (4k) blocks,
1455   not libparted 512 blocks.
1456 * released 1.6.0-pre11
1457
1458 2002-04-25  Andrew Clausen <clausen@gnu.org>
1459 * libparted/fs_reiserfs/reiserfs.c libparted/fs_reiserfs/reiserfs.h
1460   libparted/fs_reiserfs/geom_dal.c libparted/fs_reiserfs/geom_dal.h:
1461   basically rewrote.  Now interfaces to Yura Umanets' libreiserfs
1462   which can be found at: http://reiserfs.linux.kiev.ua/
1463   This patch is mainly by Yura himself.  It supplies a similar level
1464   of support to that of current ext2 support.  (resize-the-end, etc.)
1465   Note: libreiserfs has not been widely tested yet.  Use your own judgement.
1466 * configure.in: added a "dynamic linking" option, enabled by default.
1467   Components that support this feature will only be enabled if their
1468   respective dependencies are available at *run-time*.  Only reiserfs
1469   supports this.  (It has a *soft* dependency on libreiserfs)
1470 * released 1.6.0-pre10
1471 * libparted/fs_fat/bootsector.c libparted/fs_fat/bootsector.h
1472   (fat_boot_sector_probe_fat_type): renamed from probe_fat_type(), and
1473   made global.
1474 * libparted/fs_fat/fat.c (fat_probe): doesn't fail on failure in
1475   fat_boot_sector_analyse() anymore.
1476
1477 2002-04-23  Andrew Clausen <clausen@gnu.org>
1478 * updated translations: fr.po gl.po
1479 * debug/tests/test_fs_ext2 (test_mkpartfs): added test for creating 0
1480   size file system.  (Should succeed, by constraint solver finding closest
1481   match...)
1482 * libparted/disk_gpt.c (gpt_alloc): minor bug fix (forgot /512)
1483 * (gpt_partition_new): forgot to initialize gpt_part_data->hp_service
1484 * libparted/fs_ext2/ext2_mkfs.c (ext2_mkfs): complain if the fs is too small
1485 * (_ext2_get_create_constraint): oops, the minimum size needs to be 64
1486   sectors
1487 * libparted/timer.c (ped_timer_update): need to cast to long, because the
1488   language lawyers tell us it is necessary for ia64
1489 * parted/parted.c (_timer_handler): moved fflush() and cleaned up a bit
1490 * (_solution_check_distant): better heuristic
1491 * (main): script mode now means "non-interactive mode".  This might hurt
1492   some people... please scream if it does!
1493 * parted/ui.c (command_line_get_word): minor changes in semantics.
1494 * (command_line_get_sector): use doubles, not long doubles.  (yet-another
1495   gcc bug work-around)
1496
1497 2002-04-10  Andrew Clausen <clausen@gnu.org>
1498 * "all over": moved #include <libintl.h> and friends inside #ifdef ENABLE_NLS
1499   (reported by umanets)
1500 * libparted/disk_mips.c (_flush_stale_flags): moved outside of
1501   #ifdef DISCOVER_ONLY (reported by Umanets :)
1502 * updated translations: es
1503 * include/parted/disk.h libparted/disk.c: added a flag PED_PARTITION_HPSERVICE
1504 * libparted/disk_gpt.c (gpt_partition_set_flag): fixed... wasn't setting system
1505 * libparted/disk_gpt.c: added the hp-service flag
1506 * libparted/fs_ufs/ufs.c: fixed struct ufs_super_block... wrong types for
1507   some fields... and added an assertion to ped_file_system_ufs_init() to
1508   make sure it's right (reported by Richard Hirst)
1509 * released 1.6.0-pre9
1510
1511 2002-04-08  Andrew Clausen <clausen@gnu.org>
1512 * "all over": #include <stdint.h> and use standard types
1513 * configure.in: removed checks for __u8 and friends
1514 * updated translations: de, fr, gl, nn
1515 * libparted/disk_gpt.c: comment out __attribute__ ((packed))... work around
1516   a gcc bug.
1517 * released 1.6.0-pre8
1518
1519 2002-04-05  Andrew Clausen <clausen@gnu.org>
1520 * libparted/linux.c (_flush_cache): count from 1.  (first partition is 1)
1521 * (_device_get_part_path): was a bit broken for devfs, causing segfaults
1522 * libparted/fs_fat/fat.c (fat_clobber): remove the "FAT16" or "FAT32"
1523   signatures as well, since lots of programs look for them.
1524 * parted/ui.c (non_interactive_mode): push each argument on as a line,
1525   so quoted parameters are parsed correctly, like "mkpartfs primary"
1526   is parsed as two words.
1527 * libparted/disk_mac.c (_rawpart_analyse): ignore boot region stuff,
1528   so it works properly with Mac OSX.
1529 * released 1.6.0-pre7
1530
1531 2002-04-02  Andrew Clausen <clausen@gnu.org>
1532 * libparted/disk_dos.c (msdos_probe): removed lots of pc98 voodoo... really
1533   unnecessary since pc98_probe() is very conservative.
1534
1535 2002-04-01  Andrew Clausen <clausen@gnu.org>
1536 * updated/new translations: da, de, es (new! thanks Vicente!), fr, gl, nn
1537 * doc/parted.8: updated (Timshel)
1538 * doc/partprobe.8: added (Timshel)
1539 * doc/parted.texi: updated - removed a lot of (now) unnecessary commentary
1540 * include/parted/endian.h (PED_LE64_TO_CPU): fixed... now uses PED_SWAP64
1541 * libparted/fs_linux_swap/linux_swap.c: complete restructure
1542 * parted/parted.c (do_check): return failure if ped_file_system_check()
1543   fails
1544 * (do_mkpart): removed leak on peek_word
1545 * (do_print, partition_print_flags, partition_print): added a more
1546   detailed print option for a single partition.  (eg: "print 5")
1547 * parted/ui.c (command_line_get_fs_type): s/unkown/unknown/
1548 * (_can_create_primary): out-by-one bug on for loop
1549 * (command_line_get_new_part_type): if you can't create anymore partitions,
1550   fail here.
1551 * released 1.6.0-pre6
1552
1553 2002-03-23  Andrew Clausen <clausen@gnu.org>
1554 * parted/parted.c (main): return 1 (error) if no device is found
1555 * libparted/linux.c (_dev_get_part_path): for devfs: strip off "/disc"
1556   (suggested by Woody Suwalski <woodys@xandros.com>)
1557 * libparted/disk_dos.c (msdos_partition_set_system): for raid/lvm,
1558   call ped_partition_set_system(), like everyone else.
1559
1560 2002-03-16  Andrew Clausen <clausen@gnu.org>
1561 * parted/ui.c (command_line_push_line): rewrote, and commented more.
1562 * (command_line_get_sector): now accepts "-XXX" notation, to count from the
1563   end of the device (idea from Timshel, but rewritten to a 2-line change...)
1564 * libparted/disk.c (_partition_get_overlap_constraint): subtle fixes
1565 * parted/parted.c (do_resize): set default start/end to the old start/end
1566 * debug/test/test_disk_*: updated tests to test for correction (rather than
1567   failure) of overlap problemas (via the constraint solver)
1568 * updated translations: fr, gl, ja
1569 * released 1.6.0-pre5
1570
1571 2002-03-13  Andrew Clausen <clausen@gnu.org>
1572 * libparted/filesys.c (_test_open): now calls fs_type->ops->close,
1573   not ped_file_system_close(), to be consistent with the call to
1574   fs_type->ops->open()  (it opens in a non-standard way).
1575         This also happens to fix a dev->open_count bug, since
1576   ped_file_system_close() calls ped_device_close().
1577
1578 2002-03-11  Andrew Clausen <clausen@gnu.org>
1579 * libparted/linux.c (_flush_cache): only flush partition devices if they
1580   aren't mounted.
1581 * libparted/constraint.c (_constraint_get_end_range): fixed fencepost
1582   (out-by-one) error in maths
1583 * libparted/disk.c (_partition_get_overlap_constraint): rewrote, this
1584   time running in update mode.
1585 * (ped_disk_add_partition, ped_disk_set_partition_geom): adjusted to
1586   call _partition_get_overlap_constraint() in update mode.  Much
1587   cleaner now :)  (Also, there were subtle cases that were broken
1588   before, that are correct now, since neither function require
1589   the disk to be in update mode...)
1590 * applied updated translations: ca da de
1591 * libparted/linux.c (_flush_cache): set the device to clean after flushing
1592 * released 1.6.0-pre4
1593
1594 2002-03-09  Andrew Clausen <clausen@gnu.org>
1595 * libparted/disk_dos.c: applied patch from Andreas Dilger... replaced
1596   partition magic values with #defines
1597 * libparted/linux.c (_disk_sync_part_table): applied patch from Andreas
1598   Dilger... delete all non-busy partitions and add them all back, to
1599   avoid overlap problems
1600
1601 2002-03-09  Timshel Knoll <timshel@debian.org>
1602 * libparted/disk_mips.c (_handle_no_volume_header): fixes to "variable might
1603   be used uninitialised in this function" compile warnings.  (The wrong
1604   exit goto was being called from the PED_EXCEPTION_CANCEL case)
1605 * parted.m4: don't call AC_CANONICAL_HOST, AC_REQUIRE(AC_CANONICAL_HOST)
1606   instead! This fixes getting an autoconf warning about AC_CANONICAL_HOST
1607   being invoked multiple times
1608
1609 2002-03-03  Andrew Clausen <clausen@gnu.org>
1610 * libparted/device.c (_ped_device_probe): don't need to canonicalize
1611   the path (again). (pointed out by Andreas)
1612 * libparted/disk.c (_partition_get_overlap_constraint,
1613   _disk_check_part_overlaps, _partition_check_basic_sanity,
1614   _check_extended_partition, _check_partition¸ ped_disk_add_partition,
1615   _calc_aligned_geom, _check_new_extended_geometry, _check_changed_geometry,
1616   ped_disk_set_partition_geom, ped_disk_get_max_partition_geometry):
1617   major surgery: when creating/modifying a partition, we compute an overlap
1618   constraint rather than checking if the partition overlaps after going
1619   through the alignment process
1620 * libparted/disk_dos.c (msdos_partition_set_system): check fs_type is
1621   non-null, and get the strcmp right (needed a !)
1622 * parted/parted.c (_solution_check_distant): fixed a bug... it was
1623   only saying that >=10% bigger was "distant" (not >=10% smaller)
1624 * parted/ui.c (command_line_prompt_words): if there is one possibility,
1625   then set it to default
1626 * (command_line_get_fs_type): complain if the user doesn't type in something
1627   that matches a file system
1628 * released 1.6.0-pre3
1629
1630 2002-02-21  Andrew Clausen <clausen@gnu.org>
1631 * libparted/exception.c (default_handler): default_handler now writes to
1632   stderr, not stdout (patch from Andreas Dilger)
1633
1634 2002-01-26  Anderw Clausen <clausen@gnu.org>
1635 * libparted/filesys.c (ped_file_system_copy): don't ped_device_close()
1636   new_fs->geom.  (It's still open!)  (reported by "andreas t"
1637   <FNEUWUOUTPKR@spammotel.com>)
1638 * libparted/fs_fat/resize.c (create_resize_context): copy old serial number
1639   on resizing (fs_info->serial_number)  (reported by Andreas Dilger)
1640 * libparted/linux.c (_probe_proc_partitions): use fgets(), so we don't barf
1641   on junk at end-of-line  (patch by Andreas Dilger)
1642 * (linux_probe_all): call _probe_standard_devices unconditionally...
1643   /proc/partitions might give devfs paths, even if there is no devfs,
1644   making /proc/partitions somewhat useless :/
1645 * included new/updated translations: 1.6: fr, nn  1.4: ca, da, de
1646 * released 1.6.0-pre2
1647
1648 2002-01-24  Andrew Clausen <clausen@gnu.org>
1649 * libparted/disk_dos.c (msdos_probe): changed strcmp (x, "FAT") to
1650 strncmp (x, "FAT", 3)... stupid bug
1651
1652 2002-01-23  Andrew Clausen <clausen@gnu.org>
1653 * libparted/filesys.c (ped_file_system_open): now calls fs_type->ops->open
1654   on the probed geometry returned by fs_type->ops->probe.  If this doesn't
1655   lie within the geometry passed to ped_file_system_open, then we complain
1656   loudly.  Also, this means that:
1657   ped_geometry_test_inside (geom,
1658                             ped_file_system_probe_specific (fs->type, geom))
1659   is always true.
1660 * doc/parted.texi doc/USER/Makefile.am doc/fdl.texi doc/COPYING.doc:
1661   replaced plaintext docs with texinfo versions.  This conversions was
1662   done by Richard M. Kreuter (thanks!)
1663 * released 1.6.0-pre1
1664
1665 2002-01-21  Matt Domsch <matt_domsch@dell.com>
1666 * libparted/disk_gpt.c (gpt_probe, _is_pmbr_valid): needed a few
1667   PED_CPU_TO_LEXX conversions to be safe
1668 * (swap_uuid_and_efi_guid, gpt_alloc, gpt_partition_new): Due to Intel
1669   madness, RFC-defined UUIDs and GUIDs and Intel's specification
1670   of efi_guid_t aren't quite the same.  Close, but no cigar...
1671   So, uuid_generate(uuid) gives a perfectly valid big-endian uuid, but needs
1672   to have some fields byte-swapped to be considered an efi_guid_t.  Likewise,
1673   an efi_guid_t needs to be byte-swapped back to a big-endian uuid prior to
1674   calling uuid_unparse() on it.
1675
1676 2002-01-20  Andrew Clausen <clausen@gnu.org>
1677 * libparted/linux.c (linux_refresh_close): only flush caches if there have
1678   been writes.
1679 * updated po/nn.po (thanks Kjetil)
1680 * debug/test/HOWTO: wrote/added
1681
1682 -----------------------------------------------------------------------------
1683 1.5.x
1684 -----------------------------------------------------------------------------
1685
1686 2002-01-16  Andrew Clausen <clausen@gnu.org>
1687 CHANGE SUMMARY:
1688         updated the user documentation, fixed minor FAT bugs, major MIPS
1689         partition table bugs, minor changes to UI, fixed all regression tests
1690         - all pass :)
1691 * debug/clearfat/clearfat.c (main): check if fs->type->name is fat16/fat32,
1692   not FAT
1693 * debug/test/test (ped_test_get_val, ped_test, ped_test_expect_fail):
1694   now operate in parted's script mode.  Removed support for parsing input
1695   in stdin (it gets ignored in script mode)
1696 * debug/test/test_*: remove extra parameter for stdin input
1697 * debug/test/test_disk_* (test_outside_boundary): removed... the front end
1698   deals with this, and obviously works ;)
1699 * debug/test/test_disk_msdos debug/test/test_disk_pc98 (test_primary_overlap):
1700   use fat16, not fat
1701 * debug/test/test_disk_mips: added
1702 * debug/test/test_fs_ext2 (do_diff, prepare_resize_tests): to make the diff
1703   "right", make diff ignore lost+found, rather than deleting it before
1704   the diff.
1705 * debug/test/test_fs_ext2: e2fsck -n... otherwise new version refuse to run
1706   non-interactively
1707 * debug/test/test_fs_fat (test_mkpartfs): added two tests for creating
1708   minimum size fat16 and fat32.  Give the constraint solver some work ;)
1709 * libparted/disk_*.c (*_partition_set_system): removed "special" cases
1710   for partition types, if the special case is the default
1711 * libparted/disk_mips.c (mips_read, mips_write, mips_partition_new,
1712   mips_partition_get_flag, mips_partition_set_flag):
1713   MIPSDiskData now uses partition numbers, not pointers to maintain the
1714   swap/boot/root flags.  There was a dangling pointer bug on removing
1715   partitions, which was fundamental to the old bogus design.
1716 * (_flush_stale_flags, mips_partition_enumerate): detect dangling partition
1717   nubers on swap/boot/root flags, and remove them.
1718 * (_handle_no_volume_header, mips_read): deal with missing volume header
1719   partitions better.
1720 * (_generate_partition): fixed out-by-2 bug... should be ajdusting upwards
1721   not downwards
1722 * (_get_strict_primary_constraint): renamed from (_get_strict_constraint)
1723 * (_get_strict_primary_constraint): now won't "align" a partition on top
1724   the volume header
1725 * libparted/disk_pc98.c (pc98_partition_set_flag): removed old cruft wrt
1726   part->fs_type
1727 * libparted/disk_sun.c (sun_partition_set_flag): removed old cruft wrt
1728   part->fs_type
1729 * libparted/fs_fat/calc.c libparted/fs_fat/calc.h
1730   (fat_min_cluster_size, fat_max_cluster_size): added
1731 * (calc_sizes, fat_calc_sizes): replaced first parameter (geom) with a length
1732 * (calc_sizes): make the "fat_space" adjustment only if the old value was
1733   impossible.  (This is what Windows does FWICT, but I need to collect more
1734   info)
1735 * (fat_calc_sizes, fat_calc_resize_sizes): iterate between
1736   (fat_min_cluster_size, fat_max_cluster_size)
1737 * libparted/fs_fat/fat.c (fat_create): call (fat_table_set_cluster_count),
1738   so the free cluster count is calculated properly on FAT32
1739 * (_test_resize_size): renamed from (_test_size)
1740 * (_get_min_resize_size): renamed from (_get_min_size)
1741 * (fat_get_create_constraint_fat16, fat_get_create_constraint_fat32):
1742   plugged in magic constants instead of computing.  Computing is hard, and
1743   the hack used is commented out (it's fragile).  Should be fixed...
1744 * libparted/fs_fat/resize.c (fat_resize, free_root_dir): when the fs
1745   is converted fat32 -> fat16, the root directory was been duplicated,
1746   but not referenced (fat16 has a separate area for the root dir).  This
1747   lead to these clusters appearing as "lost clusters" in dosfsck, etc.
1748   Now, we free the root directory.
1749 * parted/parted.c (_grow_over_small_freespace): only grow over freespace
1750   for big partitions
1751 * parted/parted.c (_done): give warnings about lilo and /etc/fstab
1752 * (do_mkpart): made the file system parameter optional
1753 * doc/USER: updated to match 1.5.x
1754 * released 1.5.6
1755
1756 2002-01-14  Andrew Clausen <clausen@gnu.org>
1757 CHANGE SUMMARY:
1758          updated API docs, fixed the regression tests, fixed UI code that
1759          does stupid things for non-interactive runs and bug fixes.
1760 * doc/API: updated to be consistent with the libparted API.  This involved
1761   lots of small changes, and also the addition of the new PedTimer API.
1762 * include/parted.h libparted/libparted.c libparted/disk.c: removed the PedID
1763   interface.  It was for a dead-end idea.
1764 * include/timer.h: added some comments
1765 * libparted/disk.c: misc cleanups, added assertions, etc.
1766 * libparted/disk_dos.c (read_table): merged bugfix from 1.4.x.  Nested calls
1767   to read_tables()  (on nested extended partitions) are moved out into a
1768   separate loop, to make sure they are called after logical partitions are
1769   added.  This makes the numbering consistent with Linux and fdisk.  Some
1770   versions of Disk Druid appear to make such partition tables.
1771 * libparted/disk_dos.c (msdos_partition_set_flag): use part->fs_type, rather
1772   than other magic for calling ped_partition_set_system()
1773 * libparted/linux.c: removed all <linux/*> includes, and copied relevant
1774   bits into linux.c
1775 * (linux_close): added a call to _flush_cache()
1776 * (_disk_sync_part_table): iterate to PED_MAX(last_part, 16), not PED_MIN.
1777 * parted/parted.c (_timer_handler_timer_handler): don't display a progress
1778   meter if stdout isn't a terminal.
1779 * parted/ui.c (exception_handler): don't ask the user for another chance
1780   to select an option, if stdin isn't a terminal.
1781 * (command_line_get_ex_opt): return PED_EXCEPTION_UNHANDLED on error, not
1782   0.  (They are the same number... just a philosophical change)
1783 * (command_line_get_ex_opt): iterate from PED_EXCEPTION_OPTION_FIRST not 0
1784   - likewise, same number.
1785 * debug/test/test_disk_dos (test_logical_outside_extended): uncommented
1786   test, and modified to test that the constraint solver fixes this (i.e. puts
1787   the logical partition inside the extended partition)
1788 * (test_shrink_extended_too_far): likewise
1789 * (test_outside_boundary): removed.  (the front end will "correct" this to
1790   a certain amount... there are enough assertions to catch problems
1791   with this already)
1792 * (test_move_primary, test_move_logical): use fat16 instead of fat.  (fat
1793   has been removed)
1794 * released 1.5.6-pre3
1795
1796 2002-01-01  Andrew Clausen <clausen@gnu.org>
1797 * renamed discover to partprobe in all occurances (the binary, the directory,
1798   etc.)
1799 * libparted/disk.c (ped_disk_check): when reporting a mismatch in
1800   partition and file system sizes, was out by a factor of 4
1801 * (_disk_alloc_freespace): wasn't allocating the first sector of the device
1802   to a freespace partition, even if it was free.  (in all cases except
1803   loopback, this is occupied by partition table metadata, so it didn't
1804   manifest itself much)
1805 * parted/parted.c (_grow_over_small_freespace): rewrote, old version didn't
1806   deal with some special cases gracefully
1807 * released 1.5.6-pre2
1808
1809 2001-12-31  Andrew Clausen <clausen@gnu.org>
1810 * configure.in: added --enable-debug, --enable-read-only,
1811   --enable-discover-only --enable-fs, and made correspond #define's appear
1812   in config.h (via acconfig.h beaurocracy), with the macros defined as
1813   DEBUG, READ_ONLY, DISCOVER_ONLY, ENABLE_FS respectively.  DISCOVER_ONLY
1814   #ifdef's out sanity checks in libparted/disk.c, and all write support
1815   in libparted/disk_*.c, and everything except probing in libparted/fs*/*
1816 * clearfat/clearfat.c: hacked up to compile to a no-op if
1817   --enable-discover-only is selected (it acceses fs_fat internals which
1818   are #ifndef DISCOVER_ONLY)
1819 * parted/debug.h: added #include "config.h", to see if it should enable
1820   PED_ASSERT (if DEBUG is defined)
1821 * include/parted/device.h (ped_device_get_part_path): removed stale prototype
1822 * include/parted/disk.h libparted/disk.c (ped_disk_commit_to_os,
1823   ped_disk_commit_to_arch): added to API and implemented.
1824 * (_ped_partition_attempt_align): added to internal API.  It replaces
1825   (_try_constraint) that was cut&pasted in libparted/disk_*.c.  Removed
1826   (_try_constraint), and replaced all references
1827 * include/parted/timer.h libparted/timer.c (ped_timer_destroy_nested):
1828   added to API.  Calling (ped_timer_destroy) leaked the timer's context.
1829 * libparted/constraint.c (_constraint_get_canonical_start_range): fixed,
1830   so it never attempts to initialize start_min_max_range() outside the
1831   device (and thus throw an exception, etc.)
1832 * libparted/disk_*.c libparted/fs_*: removed method prototypes, and moved
1833   the vtable and registration functions to the end of the file.
1834 * libparted/disk_gpt.c: fixed endianness in *_GUID defines
1835 * libparted/disk_gpt.c libparted/disk_mac.c (_grow_over_small_freespace):
1836   removed all references, etc.  Now the responsibility of the frontend
1837 * parted/parted.c (_grow_over_small_freespace, do_mkpart, do_mkpartfs,
1838   do_move, do_resize): added _grow_over_small_freespace, and do_* call it.
1839 * libparted/filesys.c (_raw_copy, _raw_copy_and_resize): added timer
1840 * libparted/fs_fat/clstdup.c (fat_duplicate_clusters, count_frags_to_dup,
1841   write_fragments): better timer heuristic
1842 * parted/ui.c (_readline): in script mode, don't call readline(), because
1843   it doesn't deal with EOF properly
1844 * parted/ui.c (screen_width): return a big number in script mode, so we
1845   don't do wrapping.  (Makes parsing output easier)
1846 * parted/ui.c parted/ui.h (command_line_get_sector): now has an extra
1847   parameter, dev.  This is used to "round" sectors outside of the device
1848   inside, to avoid the annoying "can't create partition outside disk"
1849   error message
1850 * released 1.5.6-pre1
1851
1852 2001-12-28  Andrew Clausen <clausen@gnu.org>
1853 * include/parted/timer.h libparted/timer.c: added timer API
1854 * include/parted/filesys.h (ped_file_system_create, ped_file_system_copy,
1855   ped_file_system_check, ped_file_system_resize): now use a timer.
1856   Updated all file systems that implement these to match the new API,
1857   and implemented basic timers.
1858 * parted/parted.c: added a timer, and use it for all FS operations than
1859   support it
1860 * released 1.5.5
1861
1862 2001-12-27  Andrew Clausen <clausen@gnu.org>
1863 * include/parted/constraint.h libparted/constraint.c: added a max_size
1864   field to PedConstraint, and updated the constraint solver, etc. to
1865   support it.
1866 * (ped_file_system_get_create_constraint,
1867   ped_file_system_get_copy_constraint): added to API, and implemented for
1868   all file systems.
1869 * parted/parted.c (do_move, do_resize, do_mkfs, do_mkpartfs): use
1870   (ped_file_system_get_resize_constraint, ped_file_system_get_copy_constraint)
1871 * applied ext2/ext3 split change that exists in 1.4.x.
1872
1873 2001-12-18  Andrew Clausen <clausen@gnu.org>
1874 * libparted/linux.c: applied modified patch from Hong H. Pham
1875 <hhp@xandros.com>:
1876  - (linux_disk_commit): Force reread of partition table if DevFS is active.
1877  - (_have_devfs): added, checks if the system is using DevFS.
1878  - (linux_disk_commit, _device_get_part_path): modified to use (_have_devfs).
1879  - (_get_linux_version): modified to use uname(2), rather than probing
1880    /proc/sys/kernel/osrelease.  Kernel version checking is done using by
1881    using the KERNEL_VERSION() macro in <linux/version.h>
1882    Affected functions are (_device_get_sector_size, _have_blkpg).
1883  - (linux_probe_all): if (_probe_proc_partitions) fails, resort
1884    to doing a blind device probe (_probe_standard_devices).  Since
1885    /proc/partitions contains all the block devices and partitions that
1886    the kernel has detected and is currently using, I do not see why we
1887    have to waste time probing for devices that do not exist, or devices
1888    that have already been probed.  A few seconds in initialisation time
1889    can be saved if we avoid the blind device probe.
1890
1891 2001-12-17  Andrew Clausen <clausen@gnu.org>
1892 * include/parted/disk.h (set_system): added to interface
1893 * (set_extended_system): removed from interface
1894 * include/parted/filesys.h libparted/filesys.c (copy, ped_file_system_copy):
1895   now returns the newly created file system
1896 * (set_system, ped_file_system_set_system): removed.  (has now become PedDisk
1897   implementations' responsibility)
1898 * libparted/disk.c (ped_partition_set_system): is now just a simple wrapper
1899   for disk->type->ops->set_system
1900 * updated all file systems and disk labels to new interface
1901 * libparted/disk_mips.c (_checksum, mips_read, mips_write): now check and set
1902   checksum appropriately
1903 * libparted/fs_fat/fat.c libparted/fs_fat/resize.c (ped_file_system_fat_init,
1904   fat_create, fat_probe, fat_copy, resize_context_assimilate): split fat_type
1905   into fat16_type and fat32_type
1906 * parted/parted.c (do_cp, do_resize): update to the new ped_file_system_copy
1907   and ped_partition_set_system interface/semantics
1908 * released 1.5.5-pre6
1909
1910 2001-12-02  Andrew Clausen <clausen@gnu.org>
1911 * libparted/disk_gpt.c: basically rewritten (based on the same file from
1912 1.4.x)
1913 * released 1.5.5-pre4
1914 * libparted/disk_mips.c: implemented
1915 * libparted/dvh.h: thieved from dvhtools
1916 * include/parted/disk_mips.h: added
1917 * po/POTFILES.IN: updated
1918 * updated all file systems to support GPT and MIPS
1919 * fixed Makefile.am, so MIPS and GPT support build properly
1920 * released 1.5.5-pre5
1921
1922 2001-12-01  Andrew Clausen <clausen@gnu.org>
1923 * PedDiskOps.free() now returns void
1924 * ped_disk_destroy() now returns void
1925
1926 2001-11-29  Andrew Clausen <clausen@gnu.org>
1927 * merged changes from 1.4.21
1928 * released 1.5.5-pre3
1929
1930 2001-11-20  Andrew Clausen <clausen@gnu.org>
1931 * libparted/linux.c (init_ide, init_scsi, init_file, init_generic,
1932   linux_destroy): applied patch from Hong H. Pham <hhp@unitycode.org>
1933   (with modifications).  All dev->model assignments now allocate
1934   memory properly (rather than returning const strings - i.e. the old
1935   code leaked, but didn't corrupt memory), and linux_destroy() frees
1936   properly.  SCSI code completely cleaned up (replaced magic numbers
1937   with good structs, etc.)
1938
1939 2001-11-19  Neal H Walfield <neal@cs.uml.edu>
1940 * libparted/gnu.c (gnu_partition_get_path): Fix typo
1941
1942 2001-11-14  Andrew Clausen <clausen@gnu.org>
1943 * libparted/disk.c (ped_disk_new, ped_disk_new_fresh, ped_disk_commit,
1944 ped_disk_clobber, ped_disk_clobber_exclude): now calls ped_device_open and
1945 ped_device_close
1946 * libparted/disk_*.c: removed calls to ped_device_open and ped_device_close
1947 * libparted/filesys.c (ped_file_system_open, ped_file_system_create,
1948 ped_file_system_copy, ped_file_system_probe, ped_file_system_clobber):
1949 added to calls to ped_device_open and ped_device_close (on error, and for
1950 normal exit for probe and clobber)
1951 * libparted/filesys.c (ped_file_system_close): now calls ped_device_close
1952
1953 2001-10-11  Andrew Clausen <clausen@gnu.org>
1954 * fixed some minor bugs in libparted/gnu.c (spelling mistakes, etc.)
1955 * released 1.5.5-pre2
1956
1957 2001-10-09  Andrew Clausen <clausen@gnu.org>
1958 * OVERVIEW OF CHANGES:
1959         The _arch_* functions in include/parted/device.h and
1960 include/parted/disk.h where removed, and replaced by vtables.  The
1961 vtables are controlled by the ped_set_architecture() function.  The
1962 motivation for this change is to allow the same libparted shared library
1963 to support multiple architectures.  "architecture" could mean IBM's EVMS,
1964 or any library that wants to expose it's own virtual devices to libparted,
1965 not just "operating system".
1966
1967 * include/parted/device_gnu.h, include/parted/device_linux.h:
1968 renamed to gnu.h and linux.h respectively
1969 * include/parted/device.h (_arch_device_new, _arch_device_destroy,
1970 _arch_device_open, _arch_device_refresh_open, _arch_device_close,
1971 _arch_device_refresh_close, _arch_device_read, _arch_device_write,
1972 _arch_device_check, _arch_device_sync, _arch_device_probe_all):
1973 removed these functions, and added them as fields to the new vtable
1974 "struct _PedDeviceArchOps".  Also, a device_is_busy() method was added.
1975 * include/parted/device.h (ped_device_is_busy): added to the API
1976 * include/parted/disk.h (_arch_partition_is_busy, _arch_disk_is_busy,
1977 _arch_disk_commit): removed these functions.
1978 * include/parted/disk.h: added "struct _PedDiskArchOps".  Contains
1979 methods partition_get_path, partition_is_busy and disk_commit.
1980 * include/parted/disk.h (ped_disk_is_busy):  Removed from API.  (Can be
1981 implemented trivially via ped_device_is_busy (disk->dev)).  Is this a bad
1982 idea?
1983 * include/parted/disk.h (ped_partition_get_path): added to the API
1984 * include/parted/parted.h (ped_set_architecture): added to the API
1985 * include/parted/parted.h: added "struct _PedArchitecture" and
1986 _ped_architecture.
1987 * libparted/Makefile.am: updated to reflect that all linux-specific stuff
1988 is now in linux.c, and gnu/hurd stuff in gnu.c
1989 * libparted/disk_arch_gnu.c, libparted/disk_arch_linux.c,
1990 libparted/device_gnu.c, libparted/device_linux.c: contents moved to
1991 libparted/gnu.c and libparted/linux.c respectively
1992 * libparted/device.c: s/_arch_/ped_architecture->dev_ops->/g
1993 * libparted/device.c (ped_device_is_busy): new function
1994 * libparted/device.c (ped_device_get_part_path): removed.  Use
1995 ped_partition_get_path() instead
1996 * libparted/disk.c: s/_arch_/ped_architecture->disk_ops->/g
1997 * libparted/disk.c (ped_disk_is_busy): removed (use ped_device_is_busy instead)
1998 * libparted/disk.c (ped_partition_get_path): new function
1999 * libparted/parted.c (ped_set_architecture): new function
2000 * libparted/parted.c (ped_architecture): new global variable
2001 * parted/ui.c (_readline): call to readline needs to cast away from
2002 (const char*) to char*, due to C brain damage.  (readline 4.1 assigns to a
2003 global variable...)
2004 * released 1.5.5-pre1
2005
2006 2001-10-07  Andrew Clausen  <clausen@gnu.org>
2007 * merged changes to 1.4.20-pre3, except gpt
2008 * released 1.5.4
2009
2010 2001-08-23  Neal H Walfield  <neal@cs.uml.edu>
2011 * configure.in (libshouldbeinlibc): Correct the text.
2012 (libstore): Likewise.
2013
2014 2001-08-24  Neal H Walfield  <neal@cs.uml.edu>
2015 * include/parted/device_gnu.h (ped_device_new_from_store): Remove the consume
2016 flag.
2017 * libparted/device_gnu.c (ped_device_new_from_store): Likewise.
2018
2019 2001-08-24  Andrew Clausen  <clausen@gnu.org>
2020 * released 1.5.4-pre3
2021
2022 2001-08-21  Neal H Walfield  <neal@cs.uml.edu>
2023 * parted.m4 (PARTED_CHECK_LIBPARTED):  Renamed from AC_CHECK_LIBPARTED.
2024 There are only two resevered autoconf namespaces: AC_* and AM_*;
2025 avoid them.  Be more verbose when printing error messages.
2026
2027 2001-08-23  Andrew Clausen  <clausen@gnu.org>
2028 * doc/API: updated to reflect new (ped_device_open, ped_device_close,
2029 ped_device_new_from_*, ped_device_destroy) semantics
2030
2031 2001-08-21  Neal H Walfield  <neal@cs.uml.edu>
2032 * include/parted/device_gnu.h (_GNUSpecific): New member, consume.
2033 (ped_device_new_from_store): Prototype it.
2034 * libparted/device_gnu.c (_init_device): General PedDevice initializer ripped
2035 from _arch_device_new.
2036 (_arch_device_new): Use _init_device.
2037 (_done_device): General PedDevice destructor, ripped from _arch_device_destroy.
2038 (_arch_device_destory): Reimplemented using _done_device.
2039 (_arch_device_open): Functionality moved from here...
2040 (_arch_device_new): ... here.
2041 (ped_device_new_from_store): New function.
2042 (_arch_device_close): Do not close the store here.
2043 (_arch_device_destory): Close it here if ARCH_SPECIFIC->consume is true.
2044
2045 2001-08-20  Andrew Clausen  <clausen@gnu.org>
2046 * include/parted/device.h (ped_device_destroy): added prototype
2047 * libparted/device.c (added ped_device_destroy): implemented
2048 * libparted/device.c (added ped_device_free_all): now calls ped_device_destroy
2049 * released 1.5.4-pre2
2050
2051 2001-08-20  Neal H Walfield  <neal@cs.uml.edu>
2052 * parted.m4: Rename AM_PATH_PARTED to AC_CHECK_LIBPARTED.
2053   (AC_CHECK_LIBPARTED): Do proper quoting.
2054   [host_os=gnu]: Check for libshouldbeinlibc and libstore.
2055   Set PARTED_LIBS to detected libraries.
2056 * configure.in: Before checking for libstore, see if an old version of
2057   libparted is installed.  When checking for libstore, include all libraries
2058   that we might need (and that were detected).
2059
2060 2001-08-20  Andrew Clausen  <clausen@gnu.org>
2061 * merged changes to 1.4.18
2062
2063 2001-08-16  Andrew Clausen  <clausen@gnu.org>
2064 * include/parted.c: removed ped_init and ped_done prototypes
2065 * libparted/libparted.c (ped_init, ped_done): replaced with a gcc constructor
2066 / destructor, (_init, _done), respectively.
2067 * libparted/exception.c (ped_exception_set_handler): if NULL is passed,
2068 default_handler() is set.
2069 * parted/parted.c (_init, _done): remove calls to ped_init() and ped_done()
2070 * debug/clearfat.c (main): likewise
2071 * parted/ui.c (done_ui): return to default exception handler
2072 * libparted/device.c (devices): Remove superfluous zero initializer.
2073 (thanks tim/neal/msw!)
2074
2075 2001-08-15  Marcus Brinkmann  <marcus@gnu.org>
2076 * configure.in: Correctly detect large file support using
2077 AC_SYS_LARGEFILE, not getconf LFS_CFLAGS.
2078
2079 2001-08-12  Neal H Walfield  <neal@cs.uml.edu>
2080 * configure.in: Add check for canonicalize_file_name.
2081 * config.h (HAVE_CANONICALIZE_FILE_NAME): New marcro.
2082 * libparted/device.c (_GNU_SOURCE): Enable GNU extensions.
2083 [!HAVE_CANONICALIZE_FILE_NAME] (canonicalize_file_name):
2084 Implement it.
2085 (_readlink): Depreciated and removed in favor of
2086 canonicalize_file_name.
2087 (_strcut): Likewise.
2088 (_remove_double_slash): Likewise.
2089 (_remove_dots): Likewise.
2090 (_normalize_path): Likewise.
2091 (_ped_device_probe): Use canonicalize_file_name, not
2092 _normalize_path.
2093 (ped_device_get): Likewise.
2094 * doc/API: Fix errors.  Update section the section on ped_disk.
2095 * libparted/device_gnu.c (_arch_device_open): Call store_typed_open, not
2096 store_open.  Don't save the error message, save the error code.
2097
2098 August 13th 2001 - Andrew Clausen <clausen@gnu.org>
2099 * merged changes to 1.4.18-pre2
2100 * released 1.5.4-pre1
2101
2102 August 12th 2001 - Andrew Clausen <clausen@gnu.org>
2103 * added a private OS-specific partition table interface, and moved relevant code
2104 from device.c to disk_arch_{linux,gnu}.c.
2105 * added blkpg sync support (for Linux)
2106
2107 August 5th 2001 - Andrew Clausen <clausen@gnu.org>
2108 * fixed mkpartfs on extended partitions
2109 * Hurd fixes (Neal)
2110
2111 July 27th 2001 - Andrew Clausen <clausen@gnu.org>
2112 * moved FAT table backup comparison out of fat_open() to fat_check()
2113 * added a checked flag to PedFileSystem.  ped_file_system_{copy,resize}()
2114 make sure a check happens first.
2115 * released 1.5.3
2116
2117 July 24th 2001 - Andrew Clausen <clausen@gnu.org>
2118 * merged changes to 1.4.17
2119
2120 July 15th 2001 - Andrew Clausen <clausen@gnu.org>
2121 * fixed jfs prober (oops)
2122 * fixed bug in ext2 mkfs code and in ext2_commit_meta(): s_block_group_nr was 0
2123 * _ext2_probe() is now intelligent about finding a superblock that has
2124 s_block_group_nr != 0: it looks for the group 0 super block.
2125 * changed the heuristics for ped_file_system_probe() and ped_disk_check(),
2126 to become less significant for when "the numbers are close".  (motivation:
2127 jfs doesn't create a small block group at the end, so it doesn't utilize
2128 the fs fully.  We don't want jfs to lose to ext2 in the probe, on a minor
2129 difference like this...)
2130 * merged changes to 1.4.16-pre1
2131
2132 July 14th 2001 - Andrew Clausen <clausen@gnu.org>
2133 * added ped_constraint_new_from_{min,max,min_max}() to the constraint API,
2134 and removed their equivalents from parted/parted.c.  Also, used them in
2135 libparted/disk_* where appropriate.
2136
2137 July 13th 2001 - Andrew Clausen <clausen@gnu.org>
2138 * hacked /usr/share/aclocal/gettext.m4, replacing ac_given_srcdir with
2139 ac_srcdir.  This fixes the problem of po/Makefile not being generated.  (Also
2140 notified bug-gnu-utils@gnu.org)  The problem seems to be that gettext 0.10.38
2141 is incompatible with autoconf 2.50.
2142 * released 1.5.3-pre1
2143
2144 July 12th 2001 - Andrew Clausen <clausen@gnu.org>
2145 * updated reiserfs_probe(), to return the probed size, rather than what was
2146 given to it.  (All that remain are hfs and ntfs)
2147 * in theory, fixed ufs's probe()  (need to test this)
2148 * added xfs and jfs probe()/clobber() support (properly ;-)
2149
2150 July 11th 2001 - Andrew Clausen <clausen@gnu.org>
2151 * added ped_disk_check()
2152 * removed assertions in file system code for fs->geom == probed geometry.
2153 (This is now done ped_disk_check())
2154 * released 1.5.2
2155
2156 July 10th 2001 - Andrew Clausen <clausen@gnu.org>
2157 * removed PED_PARTITION_PRIMARY - think of PedPartitionType as a bit-field
2158 * changed PedFileSystemOps.probe() to return a PedGeometry* (rather than int),
2159 corresponding to the size/location of the discovered file system.  Updated
2160 ped_file_system_probe() to use this as a heuristic
2161 * added a rescue command
2162 * made command_line_prompt_words() use "def" (if available) in script mode
2163
2164 June 26th 2001 - Andrew Clausen <clausen@gnu.org>
2165 * released 1.5.2-pre3 (internally)
2166
2167 June 23rd 2001 - Andrew Clausen <clausen@gnu.org>
2168 * applied more GNU/Hurd patches from Neal, and autoconfused them
2169
2170 June 17th 2001 - Andrew Clausen <clausen@gnu.org>
2171 * replaced PedGeometry's PedDisk* disk field with PedDevice* dev
2172 * released 1.5.2-pre2
2173
2174 June 13th 2001 - Andrew Clausen <clausen@gnu.org>
2175 * backed out some experimental changes (checkpoints) in PedDisk
2176 * cleaned up autoconfusion for device_*.c
2177 * merged changes to 1.4.15-pre1
2178 * released 1.5.2-pre1
2179
2180 March 16th 2001 - Andrew Clausen <clausen@gnu.org>
2181 * put libparted/device/* into one file
2182
2183 January 31st 2001 - Andrew Clausen <clausen@gnu.org>
2184 * added ped_disk_duplicate(), and implemented the code for all disk labels
2185 * added a PedDisk checkpoint API
2186 * released 1.5.1-pre1
2187
2188 January 29th 2001 - Andrew Clausen <clausen@gnu.org>
2189 * added Sun regression tests
2190 * added non-interactive mode support to new UI
2191 * released 1.5.0
2192
2193 January 26th 2001 - Andrew Clausen <clausen@gnu.org>
2194 * merged changes in 1.4.8-pre2
2195 * ported disk_sun.[ch] to the new interface
2196
2197 January 25th 2001 - Andrew Clausen <clausen@gnu.org>
2198 * merged forked parted-ui branch (which was unreleased).  Makes the
2199 interactive interface much cooler :-)
2200 * released 1.5.0-pre2
2201
2202 January 24th 2001 - Andrew Clausen <clausen@gnu.org>
2203 * added ped_disk_clobber_exclude(PedDevice* dev, PedDiskType* exclude).  This
2204 is now used by ped_disk_commit(), because you shouldn't clobber the old disk
2205 label, if it is of the same type, because it might contain information (like
2206 boot strapping) that we want to preserve.
2207
2208 January 23rd 2001 - Andrew Clausen <clausen@gnu.org>
2209 * first stage of new PedDisk interface: replaced
2210 ped_disk_{open,create,read,write,close}
2211 with ped_disk_{new,new_fresh,destroy,commit}
2212 * changed the interface between disk modules and the API, and updated the
2213 modules accordingly
2214 * released 1.5.0-pre1
2215
2216 -----------------------------------------------------------------------------
2217 1.4.x   (before fork for development version)
2218 -----------------------------------------------------------------------------
2219
2220 January 18th 2001 - Andrew Clausen <clausen@gnu.org>
2221 * we now require autoconf 2.49b to build configure from configure.in,
2222 because it provides the new AC_CHECK_SIZEOF
2223 * use new AC_CHECK_SIZEOF for off_t.
2224 * changed configure.in to match the new AC_CHECK_TYPE
2225 * hacked libtool.m4 (!)... I hope this all gets fixed properly, soon...
2226
2227 January 17th 2001 - Andrew Clausen <clausen@gnu.org>
2228 * tried to make libparted/device.c more portable
2229 * libparted/fs_fat/bootsector.h - fixed the size of the FAT16 part of the
2230 union... needed an extra byte in boot_code.  (purely aesthetic ;-)
2231
2232 January 15th 2001 - Andrew Clausen <clausen@gnu.org>
2233 * released 1.4.7
2234
2235 January 10th 2001 - Andrew Clausen <clausen@gnu.org>
2236 * fixed ped_file_system_clobber() - wasn't leaving/fetching exceptions
2237 properly
2238
2239 January 9th 2001 - Andrew Clausen <clausen@gnu.org>
2240 * fixed _calc_min_logical_start() - was horribly broken.  Only affects the new
2241 work-around for "cylinder not aligned", etc.
2242 * released 1.4.7-pre4 (internally)
2243 * don't try to guess the geometry for a second time... (introduced
2244 geom_already_guessed to PedDevice)
2245 * released 1.4.7-pre5
2246
2247 January 8th 2001 - Andrew Clausen <clausen@gnu.org>
2248 * ext2_mkfs now enables file-type by default.
2249 * ped_partition_new()  (not DISK_partition_new()) calls
2250 ped_partition_set_system() now.  Makes sure it calls ped_partition_set_system()
2251 for extended partitions too!
2252 * released 1.4.7-pre1 (internally)
2253 * added documentation for ped_file_system_clobber()
2254 * fixed semantics for ped_file_system_clobber() - they need to change, since
2255 ped_file_system_probe() is different...
2256 * released 1.4.7-pre2 (internally)
2257 * released 1.4.7-pre3
2258
2259 January 6th 2001 - Andrew Clausen <clausen@gnu.org>
2260 * msdos_partition_new() if there is no file system passed, sets the system
2261 to 0x83.  0 is a bad choice, because it means it isn't a partition.  It's
2262 an even worse choice, because it will make msdos_probe() fail.
2263 * released 1.4.6
2264
2265 January 5th 2001 - Andrew Clausen <clausen@gnu.org>
2266 * "partition not aligned" workaround (similar to that in 1.2.x)
2267 * uses dgettext (PACKAGE, ...) instead of gettext (...).  Updated API docs,
2268 to reflect this (for ped_partition_flag_get_name(), etc.)
2269 * released 1.4.6-pre1
2270 * fixed brain-dead bug, dealing with min_geom in _primary_constraint()
2271 in libparted/disk_dos.c
2272 * released 1.4.6-pre2 (internally)
2273 * fixed another bug (out-by-one, in _primary_constraint(), again)
2274 * added bindtextdomain() to ped_init()
2275 * released 1.4.6-pre3 (internally)
2276
2277 January 4th 2001 - Andrew Clausen <clausen@gnu.org>
2278 * removed that annoying "Parted's boot loader" message
2279 * ped_file_system_probe() now attempts ped_file_system_open(), if there
2280 is any ambiguouity
2281
2282 December 29th 2000 - Andrew Clausen <clausen@gnu.org>
2283 * mac_clobber() now nukes the partition map as well ;-)
2284
2285 December 28th 2000 - Andrew Clausen <clausen@gnu.org>
2286 * documented PedConstraint and PedAlignment (doc/API)
2287 * released 1.4.5
2288 * applied BSD disk label support patch (thanks Matt!)
2289
2290 December 27th 2000 - Andrew Clausen <clausen@gnu.org>
2291 * made incompatible change to API: changed ped_constraint_exact() now takes
2292 a PedGeometry, not a PedPartition (what was I thinking?!)
2293
2294 December 21st 2000 - Andrew Clausen <clausen@gnu.org>
2295 * the bug fix in 1.4.5-pre3 (wrap-around bug) was wrong.  Fixed properly now.
2296 * made the FAT16 <-> FAT32 conversion messages more friendly
2297 * released 1.4.5-pre4
2298
2299 December 20th 2000 - Andrew Clausen <clausen@gnu.org>
2300 * ext2_mkfs() now makes sparse file systems by default
2301 * rearranged ext2_mkfs() a bit, and separated generation of the super block
2302 * fixed bug in ext2_mkfs(): if there isn't enough room for per-group
2303 metadata in the last block group, then chop it off!
2304 * fixed ext2 bug in ext2_is_data_block() in ext2.h.  I forgot to
2305 endian-awarenize (?) it!!!
2306 * FAT resizer now avoids changing the fat type (FAT16 or FAT32) in script
2307 mode
2308 * removed error checking, after the "point of no return" in the FAT resizer
2309 * updated documentation, adding info about FAT16 <-> FAT32, and boot loaders
2310
2311 December 19th 2000 - Andrew Clausen <clausen@gnu.org>
2312 * fixed nasty wrap-around bug in fat_construct_directory() and
2313 fat_convert_directory(), when directories have their last cluster/sector
2314 filled.
2315 * merged in FAT32 boot loader fix (now copies the "hidden sectors")
2316 * released 1.4.5-pre3
2317
2318 December 15th 2000 - Andrew Clausen <clausen@gnu.org>
2319 * merge FAT fix from 1.2.14-pre1
2320 * Apple_Free partitions have status 0x0 (not 0x33)
2321 * released 1.4.5-pre2
2322
2323 December 8th 2000 - Andrew Clausen <clausen@gnu.org>
2324 * fixed _ext2_get_resize_constraint().  constraint->min_size was calculated
2325 in (ext2) blocks, not 512 byte sectors.  (patch from Matt Wilson)
2326
2327 December 5th 2000 - Andrew Clausen <clausen@gnu.org>
2328 * commented out "this is not a block device", because it already warns about
2329 "this is not SCSI/IDE", etc.
2330 * added another example to the documentation
2331 * released 1.4.5-pre1
2332
2333 December 4th 2000 - Andrew Clausen <clausen@gnu.org>
2334 * made the "unable to align partition" error message a bit more understandable,
2335 and allow the problem to be ignored.
2336 * added an assertion to ext2_is_data_block(), to make sure the block
2337 is in the file-system.
2338 * added a note about "make install-libs" for e2fsprogs
2339
2340 November 30th 2000 - Andrew Clausen <clausen@gnu.org>
2341 * fixed a brain-dead bug in ext2_meta.c:109.  This bug causes growth of ext2
2342 all file systems, that require more GDT blocks to get corrupted!!!  OUCH!!!
2343 * fixed regression tests, to test GDT growth
2344 * released 1.4.4
2345
2346 November 29th 2000 - Andrew Clausen <clausen@gnu.org>
2347 * ped_device_add() adds to the end now
2348 * added a check in /proc/partitions for devices
2349 * released 1.4.4-pre1
2350
2351 November 28th 2000 - Andrew Clausen <clausen@gnu.org>
2352 * added error checking to both versions doinode().  Hmmm, do I like this
2353 idea of 2 doinode()'s?
2354 * finalized the copyright assignments, and now we can get rid of lots of
2355 annoying bureaucracy (read: s/Andrew Clausen, Lennert .../Free Softw.../g)
2356 * changed "cp FROM-MINOR [TO-DEVICE] TO-MINOR" to
2357 "cp [FROM-DEVICE] FROM-MINOR TO-MINOR"
2358
2359 November 24th 2000 - Andrew Clausen <clausen@gnu.org>
2360 * added ped_file_system_clobber_exclude(), and resize/copy now use it.
2361 * fixed hfs_clobber() and reiserfs_clobber()
2362 * released 1.4.3
2363
2364 November 19th 2000 - Andrew Clausen <clausen@gnu.org>
2365 * fixed a few mistakes in doc/USER (thanks Stefan!)
2366 * now uses the en_US locale for numbers.  (quick fix, because the "lexer"
2367 isn't properly i18nized yet - I'll fix this properly next week, because
2368 I intend to do Major Surgery TM on the command parser anyway).  Basic
2369 problem is: the lexer says a number is [0-9.]+, but in Europe, s/\./,/.
2370 * released 1.4.2
2371
2372 November 16th 2000 - Andrew Clausen <clausen@gnu.org>
2373 * loop-back is now probed last.
2374 * removed dependance on <linux/fs.h>
2375 * discovered that type-casts have high precedence.  oops.
2376 s/(long) EXPR/(long) (EXPR)/, which fixes seg faults on PPC.
2377
2378 November 15th 2000 - Andrew Clausen <clausen@gnu.org>
2379 * added read-only support (useful for disk imaging from CD-ROMs)
2380 * changed default behaviour to warnings such as "not a block device" (in
2381 libparted/device.c) to PED_EXCEPTION_IGNORE.
2382 * released 1.4.1
2383
2384 November 14th 2000 - Andrew Clausen <clausen@gnu.org>
2385 * removed the scary "development version only TM" message.  OOPS!
2386
2387 November 13th 2000 - Andrew Clausen <clausen@gnu.org>
2388 * merged in changes from 1.2.13
2389 * released 1.4.0
2390
2391 -----------------------------------------------------------------------------
2392 1.3.x
2393 -----------------------------------------------------------------------------
2394
2395 November 11th 2000 - Andrew Clausen <clausen@gnu.org>
2396 * added ./configure --enable-all-static
2397 * mac_partition_new() now sets the name to "untitled".
2398
2399 November 8th 2000 - Andrew Clausen <clausen@gnu.org>
2400 * added an assertion, that the disk has the PED_DISK_TYPE_EXTENDED feature,
2401 for extended partitions, in ped_partition_new()
2402
2403 November 4th 2000 - Andrew Clausen <clausen@gnu.org>
2404 * released 1.4.0-pre8
2405 * file systems only get ped_file_system_clobber()'d if mkfs is supported for
2406 that fs
2407 * fixed hfs_probe()
2408
2409 November 3rd 2000 - Andrew Clausen <clausen@gnu.org>
2410 * fixed some bugs with the mac_partition_align() stuff
2411 * cleaned the doc/USER a bit more
2412
2413 November 2nd 2000 - Andrew Clausen <clausen@gnu.org>
2414 * Mac bug fixes & reorganisation
2415 * mac_partition_align() - greedily takes up free space now, if it is consistent
2416 with the constraints.
2417 * set policy for _partition_align() - must be in update mode.  Changed
2418 other functions to meet this.
2419 * released 1.4.0-pre6
2420 * fixed a stupid bug introduced in 1.4.0-pre6, in libparted/disk_dos.c,
2421 read_table()  Was passing a pointer to a pointer of a constraint, as opposed to
2422 the pointer.
2423 * released 1.4.0-pre7
2424
2425 October 31st 2000 - Andrew Clausen <clausen@gnu.org>
2426 * much hacking on Mac support
2427 * merged in changes to 1.2.12-pre3
2428 * released 1.4.0-pre5
2429
2430 October 22nd 2000 - Andrew Clausen <clausen@gnu.org>
2431 * fixed a bug in libparted/disk_mac.c, that broke mkpart*.  In
2432 mac_partition_new(), it was checking for failure, but missed out the '!'.
2433 * released 1.4.0-pre4
2434
2435 October 21st 2000 - Andrew Clausen <clausen@gnu.org>
2436 * commented out the linux-swap Linux 2.0 warning.  It annoys more users than it
2437 helps.
2438 * merged 1.2.11
2439 * hacked around the mac-boot & no-HFS problem, by setting the file system
2440 temporarily, in mac_partition_set_system()  (YUCK!)
2441 * applied a patch from Masahiro Sakai <ZVM01052@nifty.ne.jp>.  Now uses
2442 mbs* as opposed to iconv.  That fixes lots of brokeness, but there may be
2443 problems for utf-8 users... but this will be solved by gettext in future.
2444 * released 1.4.0-pre3
2445 * fixed the annoying linux-swap on mac bug (it was trying to set the swap
2446 flag, before setting the partition type to linux-swap, which caused the
2447 Mac disk label code to complain)
2448
2449 October 16th 2000 - Andrew Clausen <clausen@gnu.org>
2450 * uses Apple_UNIX_SVR2 (instead of Unix)
2451 * merged 1.2.11-pre1
2452
2453 October 15th 2000 - Andrew Clausen <clausen@gnu.org>
2454 * fixed a bug in ped_constraint_solve_nearest() - errr to complicated to
2455 explain - easier to look at the diff.  Basically: I wasn't taking the
2456 intersection of the allowable start and end ranges properly, WRT min_start.
2457 * removed some memory leaks from libparted/disk_dos.c, around the constraint
2458 stuff.
2459 * released 1.4.0-pre2
2460
2461 October 14th 2000 - Andrew Clausen <clausen@gnu.org>
2462 * fixed boot flag stuff for Mac
2463 * docs have been massively updated (ages ago...)
2464 * merged in changes to 1.2.10-pre3 (notably: malloc() debugging, and all the
2465 bugs / leaks fixed as a result ;-)
2466
2467 September 25th 2000 - Andrew Clausen <clausen@gnu.org>
2468 * added ped_disk_remove_partition()
2469
2470 September 24th 2000 - Andrew Clausen <clausen@gnu.org>
2471 * mac fixes: writes new signature now, s/Apple_Unix/Apple_UNIX/g
2472
2473 September 23rd 2000 - Andrew Clausen <clausen@gnu.org>
2474 * reiserfs_probe() - doesn't probe outside of the partition any more ;-)
2475 * lots of work on API docs
2476
2477 September 21st 2000 - Andrew Clausen <clausen@gnu.org>
2478 * added a bit to the documentation about how to deal with the boot disk, when
2479 it doesn't support your hardware
2480 * released 1.4.0-pre1
2481
2482 September 20th 2000 - Andrew Clausen <clausen@gnu.org>
2483 * added the LBA partition flag
2484 * ped_partition_is_busy() - for extended partitions, now checks all logical
2485 partitions for business.
2486 * constraint solver will always satisfy constraint->min_size, if possible, now.
2487 The constraint solver is now complete (the existence of a solution implies
2488 that a solution will be found :-)
2489 * fixed semantics for _best_solution() in disk_dos.c
2490 * added documentation WRT LVM and RAID
2491 * updated documentation, to much current command set
2492
2493 September 17th 2000 - Andrew Clausen <clausen@gnu.org>
2494 * constraint solver is a bit more expressive - the start and end of partitions
2495 are constrained independently.  This allows constraints for extended partitions,
2496 keeping the extended partitions big enough to fit the logical partitions.
2497 * used the new constraint solver, to fix the extended partition Issues.
2498 * released 1.3.3
2499
2500 September 10th 2000 - Andrew Clausen <clausen@gnu.org>
2501 * merged in changes from 1.2.8 to 1.2.9
2502
2503 September 3rd 2000 - Andrew Clausen <clausen@gnu.org>
2504 * ped_disk_add_partition() allows the right number of primary partitions now!
2505
2506 August 25th 2000 - Andrew Clausen <clausen@gnu.org>
2507 * fixed msdos_probe() - it didn't like LBA partitions
2508 * reverted ped_partition_set_flag().  Doesn't call ped_partition_set_system()
2509 anymore.  What was I thinking?  It's the responsibiltiy of *_set_flag() to call
2510 ped_partition_set_system().
2511 * added RAID and LVM partition flags
2512 * fixed a bug in alloc_root_dir() - now allocates enough clusters in
2513 FAT16 -> FAT32 conversions (!)  Rarely does damage (and always avoidable,
2514 if you follow the advise)
2515 * fat_get_resize_constraint() is 100% accurate now (min_size wasn't accurate
2516 before)
2517
2518 August 19th 2000 - Andrew Clausen <clausen@gnu.org>
2519 * fixed ext2_mkfs() inode thingy (!)
2520 * fixed semantics of ped_partition_set_flag() - now calls
2521 ped_partition_set_system()
2522 * added "select" command
2523 * added "move" command
2524 * fixed a bug in ped_disk_set_partition_geom() - partition list wasn't getting
2525 re-ordered, if the partition was moved about.
2526 * fixed a bug in libparted/disk_mac.c:762 _disk_count_active_partitions().  It
2527 assumed that the last partition would be the highest numbered partition.
2528 * get rid of that "BIOS geometry" message for non IDE/SCSI devices, or on
2529 non x86 arch's.
2530 * merged in changes to 1.2.8
2531
2532 August 14th 2000 - Andrew Clausen <clausen@gnu.org>
2533 * added stubs for HFS, Reiserfs and NTFS
2534
2535 August 12th 2000 - Andrew Clausen <clausen@gnu.org>
2536 * added ped_file_system_clobber() stuff (hint: needed for reiserfs :-)
2537 * merged in changes from 1.2.4-pre1 to 1.2.7
2538 * released 1.3.0
2539
2540 August 6th 2000 - Andrew Clausen <clause@gnu.org>
2541 * ext2 code now works on big-endian machines :-)
2542 * released 1.3.0-pre7
2543
2544 August 5th 2000 - Andrew Clausen <clausen@gnu.org>
2545 * more hacking on ext2 mac support.
2546 * random code-cleanup.
2547
2548 July 31st 2000 - Andrew Clausen <clausen@gnu.org>
2549 * made libparted/fs_ext2/* big-endian-aware
2550
2551 July 27th 2000 - Andrew Clausen <clausen@gnu.org>
2552 * wrote a constraint solver :-)  libparted/natmath.c, libparted/constraint.c,
2553 include/parted/natmath.h and include/parted/constraint.h
2554
2555 July 15th 2000 - Andrew Clauesn <clausen@gnu.org>
2556 * Mac read/write is looking good :-)
2557 * released 1.3.0-pre3
2558
2559 July 14th 2000 - Andrew Clausen <clausen@gnu.org>
2560 * merged in changes between 1.2.3 and 1.2.4-pre1.
2561
2562 July 13th 2000 - Masahiro SAKAI <ZVM01052@nifty.ne.jp>
2563 * improved _set_system() on PC98 disk label.
2564 * changed fat_set_system(), to preserve original ID when possible.
2565 * changed _ext2_set_system() and swap_set_system(), to correct "bootable"
2566 flag. (Linux/98 uses this flag to make a distinction between ext2 and
2567 linux-swap.)
2568
2569 July 9th 2000 - Andrew Clausen <clausen@gnu.org>
2570 * read-only Mac partition map support is semi-working :-)
2571 * PC98 is looking a bit nicer now.
2572 * released 1.3.0-pre2
2573
2574 July 3nd 2000 - Andrew Clausen <clausen@gnu.org>
2575 * got PC98 and loopback semi-working :-)
2576 * released 1.3.0-pre1
2577
2578 June 23rd 2000 - Andrew Clausen <clausen@gnu.org>
2579 * merged in changes, up to 1.2.3-pre1.  (I've been hacking on
2580 libparted/disk_mac.c, not finished yet)
2581
2582 June 15th 2000 - Andrew Clausen <clausen@gnu.org>
2583 * forked off 1.3.x series
2584
2585 -----------------------------------------------------------------------------
2586 1.2.x           Before fork off development series
2587 -----------------------------------------------------------------------------
2588 June 15th 2000 - Andrew Clausen <clausen@gnu.org>
2589 * fixed minor build bug: fixed include problem in debug/clearfat/Makefile.am.
2590 * released 1.2.1
2591
2592 June 14th 2000 - Andrew Clausen <clausen@gnu.org>
2593 * all looks well ;-)
2594 * released 1.2.0
2595
2596 -----------------------------------------------------------------------------
2597 1.1.x
2598 -----------------------------------------------------------------------------
2599
2600 June 11th 2000 - Andrew Clausen <clausen@gnu.org>
2601 * merged in changes to 1.0.17.
2602 * released 1.1.6
2603
2604 May 27th 2000 - Andrew Clausen <clausen@gnu.org>
2605 * rearranged tools and clearfat stuff.  Updated test scripts (from devtools),
2606 and included them.
2607 * released 1.1.5
2608
2609 May 20th 2000 - Andrew Clausen <clausen@gnu.org>
2610 * fixed bugs in maintaining free_cluster_count and bad_cluster_count in
2611 libparted/fs_fat/table.c
2612 * fixed fat_check_resize_geometry()
2613 * added Galacian translations (thanks Jacobo :-)
2614 * added tools/
2615 * added tools/clearfat
2616 * released 1.1.5-pre1
2617
2618 May 13th 2000 - Andrew Clausen <clausen@gnu.org>
2619 * merged in changes to 1.0.15
2620 * released 1.1.4
2621
2622 April 16th 2000 - Andrew Clausen <clausen@gnu.org>
2623 * merged in changes to 1.0.14
2624 * got it to compile ;-)
2625
2626 April 13th 2000 - Andrew Clausen <clausen@gnu.org>
2627 * merged in changes to 1.0.14-pre1
2628 * released 1.1.4-pre1
2629
2630 April 11th 2000 - Andrew Clausen <clausen@gnu.org>
2631 * merged in changes to 1.0.13
2632
2633 March 26th 2000 - Andrew Clausen <clausen@gnu.org>
2634 * merged in changes to 1.0.12
2635
2636 March 24th 2000 - Andrew Clausen <clausen@gnu.org>
2637 * merged in changes to 1.0.11
2638 * released 1.1.3
2639
2640 March 14th 2000 - Andrew Clausen <clausen@gnu.org>
2641 * merged in changes to 1.0.11-pre1
2642 * released 1.1.3-pre1
2643
2644 March 13th 2000 - Andrew Clausen <clausen@gnu.org>
2645 * finally got the off_t checks working properly!
2646
2647 March 4th 2000 - Andrew Clausen <clausen@gnu.org>
2648 * merged changes to 1.0.10 in
2649 * released 1.1.2
2650
2651 March 2nd 2000 - Andrew Clausen <clausen@gnu.org>
2652 * hacked it to work on linux-ppc (probably breaks on the Alpha now :-)
2653 Don't get too excited.  I haven't added the disk-label support yet.
2654
2655 February 15th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2656 * merged changes to 1.0.9 in
2657 * completed cluster resize down code :-)  Now to begin debugging...
2658
2659 February 11th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2660 * merged 1.0.8 with other work, to create 1.1.0-pre1, which includes the
2661 following items
2662 * made ped_device_* POSIX compliant
2663 * added fat_collect_cluster_info() - replaces the "flag map", to provide
2664 fat_get_cluster_usage() and fat_get_cluster_flag()
2665
2666 -----------------------------------------------------------------------------
2667 1.0.x           After fork off development series
2668 -----------------------------------------------------------------------------
2669
2670 June 14th 2000 - Andrew Clausen <clausen@gnu.org>
2671 * released 1.0.18
2672
2673 June 13th 2000 - Andrew Clausen <clausen@gnu.org>
2674 * merged in lots more translations (sorry, didn't keep track!)
2675 * changed the new ped_geometry_test_[overlap|inside]() functions, to
2676 require a positive result to be on the same disk ;-)
2677 * updated documentation for ped_geometry_*()
2678
2679 June 6th 2000 - Andrew Clausen <clausen@gnu.org>
2680 * merged in Galician, Dutch, Japanese and Russion translations.
2681
2682 June 5th 2000 - Andrew Clausen <clausen@gnu.org>
2683 * now tolerates empty extended partitions created with Partition Magic.
2684 (PM fills the first sector with 0xf6).  read_table() in libparted/disk_dos.c
2685 * read_table() in libparted/disk_dos.c.  Now handles the exception correctly,
2686 for a bad signature (the brackets where around the wrong way)
2687 * new German and Brazillian Portugese translations.
2688 * released 1.0.17
2689
2690 June 1st 2000 - Andrew Clausen <clausen@gnu.org>
2691 * fixed some problems with RPMs (parted.spec.in).
2692 * major work on libparted/disk.c.  Resizing extended partitions should work
2693 properly now.  Marginally less messy.  (Layout is still really bad, but you can
2694 breathe on the code without it exploding now ;-)
2695 * released 1.0.17-pre1
2696
2697 May 27th 2000 - Andrew Clausen <clausen@gnu.org>
2698 * updated Japanese translations
2699 * updated documentation, to encourage reading of Partition mini-HOWTO
2700 * released 1.0.16
2701
2702 May 22nd 2000 - Andrew Clausen <clausen@gnu.org>
2703 * fixed bug in libparted/device.c:  if probe_geometry() fails, then
2704 dev->sector_size is now set to 512.
2705 * removed redundant ped_device_probe_all() in parted/parted.c.  Should be
2706 quicker now ;-)
2707 * released 1.0.16-pre2
2708
2709 May 20th 2000 - Andrew Clausen <clausen@gnu.org>
2710 * merged bug-fixes from 1.1.5-pre1 in maintaining free_cluster_count and
2711 bad_cluster_count in libparted/fs_fat/table.c
2712 * added Galacian translations (thanks Jacobo :-)
2713 * released 1.0.16-pre1
2714
2715 May 12th 2000 - Andrew Clausen <clausen@gnu.org>
2716 * updated documentation (and Japanese documentation - thanks Okuji :-)
2717 * released 1.0.15
2718
2719 May 6th 2000 - Andrew Clausen <clausen@gnu.org>
2720 * fixed minor bugs with word wrapping.
2721 * added --help (-h) --version (-v) --script (-s) --interactive (-i)
2722 * released 1.0.15-pre3
2723
2724 May 2nd 2000 - Andrew Clausen <clausen@gnu.org>
2725 * new version of Japanese translations.
2726
2727 April 29th 2000 - Andrew Clausen <clausen@gnu.org>
2728 * after much agonizing and procrastination, decided not to have a mode command.
2729 Why would you want interactive mode if you're not an a tty?  I'm open to
2730 persuasion ;-)   (Also, it seems wrong making it "mode".  It should be a
2731 --option instead).
2732 * released 1.0.15-pre2
2733 * fixed device_get_sector_size() - now tells the user what the real sector
2734 size is (as opposed to -1).  (Thanks to Phillip Garland :-)
2735
2736 April 25th 2000 - Andrew Clausen <clausen@gnu.org>
2737 * all PED_EXCEPTION_WARNING and PED_EXCEPTION_ERROR exceptions now continue
2738 with a good default, if they get a PED_EXCEPTION_UNHANDLED.
2739
2740 April 23rd 2000 - Andrew Clausen <clausen@gnu.org>
2741 * parted.spec.in: now installs binaries/libraries in /sbin and /lib.
2742
2743 April 20th 2000 - Andrew Clausen <clausen@gnu.org>
2744 * fixed CTRL-D bug -> seg violation in _readline() (parted/ui.c)
2745
2746 April 15th 2000 - Andrew Clausen <clausen@gnu.org>
2747 * Parted boot disk image now available from ftp sites in gnu/parted/bootdisk.
2748
2749 April 14th 2000 - Andrew Clausen <clausen@gnu.org>
2750 * renamed PedExceptionClass, and PedException's member class to
2751 PedExceptionType and type, to avoid clashes with C++.
2752
2753 April 13th 2000 - Andrew Clausen <clausen@gnu.org>
2754 * released 1.0.14-pre1
2755
2756 April 12th 2000 - Andrew Clausen <clausen@gnu.org>
2757 * changed configure.in: now refuses to attempt to build included gettext.
2758 Gives appropriate (hopefully ;-) advice on how to fix the problem...
2759
2760 April 11th 2000 - Andrew Clausen <clausen@gnu.org>
2761 * uses SCSI_BLK_MAJOR rather than SCSI_DISK_MAJOR
2762
2763 April 9th 2000 - Andrew Clausen <clausen@gnu.org>
2764 * did lots more testing.  All seems well ;-)
2765 * released 1.0.13
2766
2767 April 8th 2000 - Andrew Clausen <clausen@gnu.org>
2768 * finally discovered that BLKSSZGET is broken < 2.3.3.  Andries Brouwer
2769 suggests using, only if <linux/blkpg.h> exists.
2770 * added doc/USER.jp (Japanese translation of doc/USER).  (Thanks Ryoji!)
2771 * fixed severe bug: fat_convert_directory():  new_trav and old_trav went
2772 out of sync, in some circumstances!!!  OUCH!!!  (Probably didn't show up
2773 on 99.9% people's systems, because it usually will either be out-by-zero
2774 or out-by>=two.  In both cases, there would be no problems)
2775 * fixed severe bug: fs_info->root_dir_entry_count should be set when converting
2776 FAT32 -> FAT16.  OUCH!!!  Why no bug reports??!!
2777 * released 1.0.13-pre1
2778
2779 April 4rd 2000 - Andrew Clausen <clausen@gnu.org>
2780 * restructured libparted/device.c somewhat.  Now uses BLKGETSIZE ioctl to
2781 get size of device, which can address 2 ^ (32 + 9) == 2048Gb.
2782 * ped_partition_is_busy() in libparted/disk.c now checks /proc/swaps as well as
2783 /proc/mounts.
2784
2785 April 2nd 2000 - Andrew Clausen <clausen@gnu.org>
2786 * warns very strongly that Parted isn't good with sector size != 512 bytes,
2787 in fat code (libparted/fs_fat/bootsector.c)
2788
2789 March 28th 2000 - Andrew Clausen <clausen@gnu.org>
2790 * now tells the kernel to keep trying to read the partition table. (patch from
2791 Fernando Fuganti)
2792 * released 1.0.12
2793
2794 March 26th 2000 - Andrew Clausen <clausen@gnu.org>
2795 * fixed boot loader code, and uncommented code to install it.
2796 * released 1.0.12-pre1
2797
2798 March 24th 2000 - Andrew Clausen <clausen@gnu.org>
2799 * moved parted.8 to doc/ directory
2800 * released 1.0.11
2801
2802 March 22nd 2000 - Andrew Clausen <clausen@gnu.org>
2803 * moved documentation into doc/ directory.  Changed licence of documentation
2804 to the GNU Free Documentation Licence 1.1.
2805 * released 1.0.11-pre2
2806
2807 March 19th 2000 - Andrew Clausen <clausen@gnu.org>
2808 * now checks /proc/mounts (if available) for testing if a partition is mounted.
2809
2810 March 14th 2000 - Andrew Clausen <clausen@gnu.org>
2811 * only unset LINGUAS if its non-empty in parted.spec.in (thanks Fabian :-)
2812 * reintroduce %build (thanks Fabian :-)
2813 * released 1.0.11-pre1
2814
2815 March 11th 2000 - Andrew Clausen <clausen@gnu.org>
2816 * fixed minor bug in mkpartfs command parsing.
2817 * #include <sys/sysmacros.h> directly.
2818
2819 February 29th 2000 - Andrew Clausen <clausen@gnu.org>
2820 * fixed buffer overflow bug in ext2_mkfs
2821 * fixed bug in ped_malloc(), so running out of memory will fail cleanly
2822 * made ped_exception_throw() use malloc(), to prevent infinite recursion.
2823 * released 1.0.10
2824
2825 February 27th 2000 - Andrew Clausen <clausen@gnu.org>
2826 * now warns the user about system files that may be unmovable
2827 * released 1.0.10-pre3
2828
2829 February 25th 2000 - Andrew Clausen <clausen@gnu.org>
2830 * found out semantics for drives that are slightly longer than C*H*S:
2831 last bit is simply ignored... adjusted probe_real_geom() to match behaviour
2832 * added probe_acceptable_geom()
2833 * released 1.0.10-pre2
2834
2835 February 23rd 2000 - Andrew Clausen <clausen@alphalink.com.au>
2836 * added docs for Windows NT/2000 (largely contributed by Stefan Kanthak)
2837 * added Dutch translations (contributed by Ivo Timmermans)
2838 * made process_inconsistent_table() a bit more leanient.
2839 * released 1.0.10-pre1
2840
2841 February 14th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2842 * released 1.0.9
2843
2844 February 13th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2845 * for partitions ending cylinder > 1024, now writes the CHS value as if the
2846 partition ended on cylinder 1024.
2847 * released 1.0.9-pre1
2848
2849
2850 -----------------------------------------------------------------------------
2851 1.0.x           Before fork off development series
2852 -----------------------------------------------------------------------------
2853
2854 February 7th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2855 * released 1.0.8
2856
2857 February 3rd 2000 - Andrew Clausen <clausen@alphalink.com.au>
2858 * fixed bug in fat_get_system() introduced in 1.0.8-pre1  (when fs == NULL)
2859 * released 1.0.8-pre2
2860
2861 February 1st 2000 - Andrew Clausen <clausen@alphalink.com.au>
2862 * changed fat_get_system(), to use LBA partition types for partitions with
2863 end > cylinder 1024.
2864 * released 1.0.8-pre1
2865
2866 January 23rd 2000 - Andrew Clausen <clausen@alphalink.com.au>
2867 * made ped_device_seek() a bit more portable
2868 * released 1.0.7
2869
2870 January 22nd 2000 - Andrew Clausen <clausen@alphalink.com.au>
2871 * changed type of PedDevice's heads, sector, cyl fields to int's.
2872 * added a man page, contributed by Timshel Knoll <timshel@pobox.com>
2873 * released 1.0.7-pre1
2874
2875 January 20th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2876 * released 1.0.6
2877
2878 January 19th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2879 * fixed >16gig bug in libparted/disk_dos.c  (need LE32, not LE16!!!)
2880 * released 1.0.6-pre1
2881
2882 January 12th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2883 * applied typo-clean-up patch from Tim Waugh <twaugh@redhat.com>
2884 * released 1.0.5
2885
2886 January 9th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2887 * added autoconfuse checks up-to-date linux/ext2_fs.h
2888 * imported new ext2_fs.h
2889 * imported changes from ext2resize, to add support the ext2 "filetype"
2890 feature
2891 * released 1.0.5-pre3
2892
2893 January 8th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2894 * removed -Wno-sign-compare, because it breaks older gcc
2895 * moved checks for termcap up before readline check, and get readline check
2896 to use the result of the termcap check.
2897 * the "termcap" library can be now be one of: -ltermcap, -ltermlib, -lcurses,
2898 -lncurses.
2899 * released 1.0.5-pre2
2900
2901 January 7th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2902 * fixed buglet for FAT16 cluster entries
2903 * fixed (hopefully) str_list_print_wrap()
2904 * use static for do_* in parted/parted.c
2905 * cleaned up parted.spec.in
2906 * released 1.0.5-pre1
2907
2908 January 5th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2909 * Fixed a silly bug in ped_partition_set_system() for extended partitions
2910 * released 1.0.4
2911
2912 January 4th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2913 * Arrghh!  Found (and fixed) a VERY nasty bug during partition table writes.
2914 * released 1.0.3
2915
2916 January 3rd 2000 - Andrew Clausen <clausen@alphalink.com.au>
2917 * Arrghh!  Found (and fixed) a nasty bug in the string printing code.
2918 * released 1.0.2
2919
2920 January 1st 2000 - Andrew Clausen <clausen@alphalink.com.au>
2921 * added some documentation about --without-readline and --disable-nls
2922 * released 1.0.1
2923
2924 December 29th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2925 * disable-nls works now
2926 * added --without-readline option
2927 * added Brazillian Portugese translations (thanks Eliphas!)
2928 * released 1.0.1-pre1
2929
2930 December 21st 1999 - Andrew Clausen <clausen@alphalink.com.au>
2931 * fixed some typo's in the documentation
2932 * passed lots of testing :-)
2933 * released 1.0.0
2934
2935 December 18th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2936 * fixed bug in front-end: when the BIOS geometry doesn't match Linux's, the
2937 guessed geometry wasn't being used immediately in do_print, do_mk[part]fs,
2938 and do_resize
2939 * released 1.0.0-pre14
2940
2941 December 17th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2942 * fixed lots of bugs: lots of fence-post errors (it's 4n - 4 !!!) in fat code
2943 * released 1.0.0-pre13
2944
2945 December 15th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2946 * fixed bug in ext2_do_inode() - ext2_brelse() getting called on an
2947   uninitialized buffer on an error.  Thanks Tim!
2948 * added PED_ASSERT macro, and used it all over the place
2949 * fixed cosmetic bugs in front-end
2950 * released 1.0.0-pre12
2951
2952 December 12th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2953 * added ped_file_system_get_min_size()
2954 * fixed bug in ext2 code
2955 * released 1.0.0-pre11
2956
2957 December 11th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2958 * fixed bug with extended partition handling
2959 * fixed bug in ext2 code
2960 * added support for checking minimum size of partition
2961 * released 1.0.0-pre10
2962
2963 December 7th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2964 * fixed character set issues for Japanese and Russian
2965 * released 1.0.0-pre9
2966
2967 November 8th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2968 * fixed gettext issues: includes intl/ when using included gettext, and
2969 --disable-nls works
2970 * released 1.0.0-pre6
2971
2972 November 6th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2973 * added French translations (thanks Jean-Marc :-)
2974 * fixed front-end, to use gettext properly.  Big changes.
2975 * added lots of const's to libparted
2976 * released 1.0.0-pre5
2977
2978 November 5th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2979 * removed journalling code
2980 * added German translations (thanks Martin :-)
2981
2982 November 1st 1999 - Andrew Clausen <clausen@alphalink.com.au>
2983 * released 0.0.9-pre3
2984 * now uses GNU readline
2985
2986 October 31st 1999 - Andrew Clausen <clausen@alphalink.com.au>
2987 * released 0.0.9-pre2
2988 * added PED_EXCEPTION_NO_FEATURE.  Reserve PED_EXCEPTION_BUG for REAL bugs.
2989
2990 October 29th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2991 * released 0.0.9-pre1
2992 * updated docs
2993 * added some safety checks
2994
2995 October 26th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2996 * released 0.0.8
2997 * added to the docs.
2998
2999 October 25th 1999 - Andrew Clausen <clausen@alphalink.com.au>
3000 * released version 0.0.8-pre2
3001 * better behaviour for weird geometry and inconsistant partition tables
3002
3003 October 18th 1999 - Andrew Clausen <clausen@alphalink.com.au>
3004 * released version 0.0.8-pre1
3005 * added i18n support
3006 * fixed some bugs in boot-loader.  Still not working properly though, but I
3007 got it to boot out of DOS debug :-)
3008
3009 October 16th 1999 - Andrew Clausen <clausen@alphalink.com.au>
3010 * released version 0.0.7
3011 * ext2 mkfs support
3012 * manipulation of partition flags
3013 * better error handling (particularly ext2)
3014 * lots of bug fixes.
3015
3016 October 7th 1999 - Andrew Clausen <clausen@alphalink.com.au>
3017 * released 0.0.6
3018 * fixes a major bug introduced in 0.0.5 in the FAT resizer
3019
3020 October 5th 1999 - Andrew Clausen <clausen@alphalink.com.au>
3021 * released 0.0.5
3022 * bug fixes and speed-ups
3023
3024 October 2nd 1999 - Andrew Clausen <clausen@alphalink.com.au>
3025 * released 0.0.4
3026 * fixed major bug in FAT16->FAT32 upgrade
3027 * fixed some portability issues for Alpha Linux
3028 * many minor bug fixes
3029
3030 September 27th 1999 - Andrew Clausen <clausen@alphalink.com.au>
3031 * released 0.0.3
3032 * Added linux-swap support
3033 * fixed problem with large hard disks
3034 * implemented better error handling for ext2
3035
3036 September 20th 1999 - Andrew Clausen <clausen@alphalink.com.au>
3037 * released 0.0.1
3038
3039 June 6th 1999 - Andrew Clausen <clausen@alphalink.com.au>
3040 * created initial version
3041
3042 -----------------------------------------------------------------------------
3043
3044 This file is part of GNU Parted
3045 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
3046 Free Software Foundation Inc.
3047
3048 This file may be modified and/or distributed without restriction.  This is
3049 not an invitation to misrepresent the history of GNU Parted.