root/ChangeLog.0

Revision 4ae6903525e60202efa78ebec336d1bb2c3bb6b4, 135.1 kB (checked in by দেবর্ষি রায় <rishi@Sunflower.(none)>, 2 years ago)

Fixed the copyright notices.

  • Property mode set to 100644
Line 
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.