Commit Graph

1377 Commits

Author SHA1 Message Date
Curtis Gedak 70448f4fb0 Replace sector math with get_byte_length method where appropriate
This change is in preparation for supporting sectors sizes > 512 bytes.
2010-04-27 12:54:14 -06:00
Curtis Gedak c3cae3b6eb Enhance set_valid_operations method to handle different sector sizes 2010-04-27 11:41:43 -06:00
Curtis Gedak fe9ee68385 Create get_byte_length method 2010-04-27 11:28:36 -06:00
Curtis Gedak cb08e8c7dd Remove 512 byte based units and rename _FACTOR to BYTE
With the removal of the 512 byte constants, such as MEBIBYTE, it
was possible to rename the _FACTOR constants back to BYTE
constants.  The _FACTOR constants, such as MEBI_FACTOR, were a
temporary measure to help in the transition to support devices
with sector sizes > 512 bytes.
2010-04-26 13:40:38 -06:00
Curtis Gedak 81a903cda2 Replace constant MEBIBYTE with appropriate MEBI_FACTOR math
This change is in preparation for supporting sectors sizes > 512 bytes.
2010-04-26 13:21:18 -06:00
Curtis Gedak f46fbedd34 Remove default sector size
The DEFAULT_SECTOR_SIZE was a temporary measure to help in the
transition to support devices with sector sizes > 512 bytes.  It
is no longer needed.
2010-04-26 13:04:39 -06:00
Curtis Gedak 5d2bf2ec5d Replace default sector size with appropriate sector size
This change is in preparation for supporting sectors sizes > 512 bytes.
2010-04-26 11:52:33 -06:00
Curtis Gedak 896dab7192 Enhance copy_filesystem method to work with sector sizes
This change is in preparation for supporting sectors sizes > 512 bytes.
2010-04-26 11:43:59 -06:00
Curtis Gedak c3352fb24a Clean up progress bar current status after copy/move action
Also ensure that final progress bar current status is set to
completed value when the copy blocks method completes.
2010-04-25 11:09:18 -06:00
Curtis Gedak 0d5c06f85d Add logic for copy and paste between devices with different sector sizes
This change is in preparation for supporting sectors sizes > 512 bytes.
2010-04-23 13:28:41 -06:00
Curtis Gedak 74ecd2ed3f Set sector size and add to operation and dialog methods
This change is in preparation for supporting sectors sizes > 512 bytes.
2010-04-19 19:22:31 -06:00
Curtis Gedak 4bcd0a3704 Add device sector size to partition object
The device sector size is needed in all calculations that convert
between sectors and bytes.  The device sector_size is included in
the partition object because this object is used to contain
operation information in addition to actual partitions and
unallocated space.  A second option was considered to pass the
device object to many methods, but this was considered a much
larger task that might not provide significant gains in
maintainability.
2010-04-19 19:06:08 -06:00
Gintautas Miliauskas acd29683a9 Updated Lithuanian translation by Aurimas Černius. 2010-04-19 02:00:07 +03:00
André Gondim 655a3a1b64 Updated Brazilian Portuguese translation, reviewed by Vladimir Melo <vmelo@gnome.org>. 2010-04-17 18:17:16 -04:00
Jorge González 9946f9df4a Updated Spanish translation 2010-04-17 15:02:29 +02:00
Matej Urbančič bb8b4922c5 Updated Slovenian translation 2010-04-11 19:56:36 +02:00
Jorge González d023fa7f19 Updated Spanish translation 2010-04-10 18:46:05 +02:00
Khaled Hosny ae2046f1c2 Updated Arabic translation 2010-04-08 08:59:14 +02:00
Mario Blättermann f6bf337803 Updated German translation 2010-04-07 20:58:12 +02:00
Curtis Gedak 8fb40d843d Enhance copy methods for sector sizes > 512 bytes 2010-04-07 11:39:42 -06:00
Maxim V. Dziumanenko 2363baa93a Updated Ukrainian translation 2010-04-04 11:54:04 +03:00
Dimitris Tsiolis 4a6c5c5028 Updated Greek translation for gparted 2010-03-31 17:49:46 +03:00
Cheng-Chia Tseng 432d1fa5b8 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2010-03-30 22:30:59 +08:00
Gintautas Miliauskas 2d22047c7f Updated Lithuanian translation. 2010-03-27 11:51:22 +02:00
Curtis Gedak 0a61e5cf70 Enhance Makefile generated ChangeLog entries
Convert git log entries, which are prepended to the ChangeLog, to
look more like traditional ChangeLog entries.
2010-03-25 10:54:00 -06:00
Curtis Gedak 1a498b62bf Enable copy to work on computers with only 128 MiB RAM (#613430) 2010-03-24 14:47:46 -06:00
Curtis Gedak 44e5176ee5 Enhance format_size() for sector sizes > 512 bytes 2010-03-24 14:37:08 -06:00
Curtis Gedak eb7e09aac8 Remove GParted:: prefix from in front of UNIT constants 2010-03-24 14:37:08 -06:00
Curtis Gedak 1aa81bba94 Enhance sector_to_unit() for sector sizes > 512 bytes 2010-03-24 14:37:08 -06:00
Curtis Gedak f9f603256e Convert file system maximum from sector to byte value 2010-03-24 14:37:08 -06:00
Curtis Gedak 40d7dbac4b Convert file system minimum from sector to byte value 2010-03-24 14:37:08 -06:00
Curtis Gedak 4d658a10a8 Add constants to aid in transition to support sector sizes > 512 bytes 2010-03-24 14:37:08 -06:00
Jorge González 27ccff43af Updated Spanish translation 2010-03-23 19:48:09 +01:00
Inaki Larranaga Murgoitio 65441ab994 Updated Basque language 2010-03-18 18:39:40 +01:00
Timo Jyrinki 6a590eb5e4 Updated Finnish translation by Jiri Grönroos. Via Launchpad. 2010-03-18 11:33:35 +02:00
Curtis Gedak f23746959f Fix mkswap error "UUID parsing failed" when resizing with no UUID
See following debian bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573836
2010-03-14 13:46:59 -06:00
Curtis Gedak e786bfa598 Enhance erase_filesytem_signatures() for sector sizes > 512 bytes 2010-03-14 13:46:59 -06:00
Curtis Gedak 892e56f9b6 Enhance file system detection for sector sizes > 512 bytes 2010-03-14 13:46:59 -06:00
Curtis Gedak 4c0b514e22 Set device length to value from libparted
Previously this value was calculated to end on a cylinder
boundary.  On today's larger hard drives, which simply emulate
Cylinders/Heads/Sectors, some disk space might remain after the
last cylinder.  This space would always be less than a full
cylinder in size.  Now this space will be visible to the user.
2010-03-14 13:46:59 -06:00
Adi Roiban f9867f6766 Update Romanian translation 2010-03-14 19:36:54 +02:00
Kjartan Maraas 06cd75f27f Updated Norwegian bokmål translation 2010-03-13 11:37:32 +01:00
Milo Casagrande 4435faee7a Updated Italian translation 2010-03-10 19:02:12 +01:00
Petr Uzel c722047c36 Avoid compiler warning
Report of this problem can be found in the mailing list archive:
http://sourceforge.net/mailarchive/forum.php?thread_name=4B967C26.2090608%40gmail.com&forum_name=gparted-devel
2010-03-10 09:11:40 -07:00
Curtis Gedak 7e47cf8e96 Append -git to version for continuing development 2010-03-08 10:21:13 -07:00
Curtis Gedak 161c5e4cf0 ========== gparted-0.5.2 ========== 2010-03-08 09:27:39 -07:00
Petr Kovar 7e021c796a Update Czech translation by Adrian Gunis 2010-03-08 12:57:28 +01:00
Peteris Krisjanis 9a48b24e32 Updated Latvian translation. 2010-03-08 00:21:04 +02:00
Peteris Krisjanis 227724f8b3 Updated Latvian translation. 2010-03-07 17:24:36 +02:00
Peteris Krisjanis fc8cafea06 Updated Latvian translation. 2010-03-07 15:50:09 +02:00
Fran Diéguez a11c9ffbc3 Updated Galician translation 2010-03-05 14:50:58 +01:00