Commit Graph

1812 Commits

Author SHA1 Message Date
Curtis Gedak bbd09a6321 Fix NTFS resize operation fails (#655215)
Due to a change in error handling behaviour in ntfsresize version
2.011.4.12AR.4 (libntfs-3g) GParted would fail to properly resize ntfs
file systems if the file system was marked for consistency check.

The current maintainer of ntfsprogs provided the following advice:

     "Well, though I am reverting back to the old behavior, you should
     add -ff instead of relying on an unspecified behavior when
     ntfsresize gets an error when trying to read the reply. I suppose
     you do not connect the stdin of ntfsresize, hence the error. With
     -ff no question is asked (I stress : even with the old
     ntfsresize)."

Hence I have added a second "--force" option to the ntfsresize command
for resizing NTFS file systems.

Closes Bug #655215 - NTFS partition resize fails
2011-09-13 11:20:50 -06:00
Marek Černocký 146c3bf1ea Updated Czech translation 2011-09-08 11:30:21 +02:00
Matej Urbančič 2f8250bb94 Updated Slovenian translation 2011-09-07 21:27:55 +02:00
Tiffany Antopolski 06eeaafc8c Updated Canadian English translation. 2011-09-06 11:28:59 -04:00
Daniel Mustieles 310c465d3e Updated Spanish translation 2011-09-01 19:53:51 +02:00
Alexandre Franke efc9a76e78 Update French translation 2011-09-01 15:36:25 +02:00
Mario Blättermann 3f67679414 [l10n] Updated German translation 2011-09-01 12:17:51 +02:00
Milo Casagrande a7d82c2edf [l10n] Updated Italian translation 2011-08-31 21:00:39 +02:00
Tiffany Antopolski 3b87931e87 Dialog_Rescue_Data.cc: fixed type, director --> directory
This fixes bug# 657744
2011-08-31 10:14:01 -06:00
Мирослав Николић a93b63bd92 Updated Serbian translation 2011-08-31 15:04:46 +02:00
Tiffany Antopolski 58c4187112 en_CA.po: corrected incorrect unit translations.
This patch fixes bug# 610421
2011-08-30 14:44:55 -04:00
Fran Dieguez 99594a52ca Updated galician translations 2011-08-29 10:49:18 +02:00
Milo Casagrande 09134e224d [l10n] Updated Italian translation 2011-08-21 19:10:28 +02:00
Bruno Brouard 786162146c Updated French translation 2011-07-31 17:01:58 +02:00
Mario Blättermann 21095a431c [l10n] Updated German translation 2011-07-30 21:14:27 +02:00
André Gondim f26cfc1161 Updated Brazilian Portuguese translation 2011-07-25 14:44:55 -03:00
Marek Černocký a85a822df3 Updated Czech translation 2011-07-21 09:29:53 +02:00
Daniel Mustieles daec915764 Updated Spanish translation 2011-07-20 22:27:51 +02:00
Pavol Klačanský c269391530 Updated Slovak translation 2011-07-20 09:57:40 +02:00
Matej Urbančič 0c48d9541d Updated Slovenian translation 2011-07-19 22:27:58 +02:00
Daniel Nylander 5f8cfc2a3b Updated Swedish translation 2011-07-19 12:54:57 +02:00
Curtis Gedak 4a8fef9822 Fix ISO C++ ambiguity compiler warning
Enhance code to pass compiler warning.  Prior to this change the
compiler would complain with the following message:

error: ISO C++ says that these are ambiguous, even though the worst
conversion for the first is better than the worst conversion for the
second: /usr/include/c++/4.5/bits/postypes.h:192:7: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator-(std::streamoff) const
[with _StateT = __mbstate_t, std::fpos<_StateT> =
std::fpos<__mbstate_t>, std::streamoff = long int] Utils.cc:443:27:
note: candidate 2: operator-(std::streamoff, long long int) <built-in>
2011-07-18 13:31:54 -06:00
Curtis Gedak f768cbd1b4 Fix ignoring return value compiler warnings
Add code to handle situation where realpath might return a NULL value.
Prior to this change the compiler would complain with the following
message:

error: ignoring return value of ‘char* realpath(const char*, char*)’,
declared with attribute warn_unused_result
2011-07-18 13:31:54 -06:00
Curtis Gedak 6c9d0cf6f1 Fix expression always true compiler warning
Removed expression that is always true.  Prior to this change the
compiler would complain with the following message:

error: comparison of unsigned expression >= 0 is always true
2011-07-18 13:31:54 -06:00
Curtis Gedak 55b71a77bc Fix unused parameter compiler warning
Removed unused parameter.  Prior to this change the compiler would
complain with the following message:

error: unused parameter ‘cylinder_size’
2011-07-18 13:31:54 -06:00
Curtis Gedak 026d0bd34b Fix ignoring return value compiler warning
Add code to handle situation where mkdtemp(char*) function returns
with a NULL value.  Prior to this code the compiler would complain
with the following message:

error: ignoring return value of ‘char* mkdtemp(char*)’, declared with
attribute warn_unused_result
2011-07-18 13:31:54 -06:00
Curtis Gedak 813010b148 Update AUTHORS file and minor variable rename
Add recognition for the work done by Markus Elfring.
Also minor variable rename and added comment for patch to bug #634090.
2011-07-18 13:28:49 -06:00
Markus Elfring 91b971691d Bug #634090: Change some attributes to local variables
Some classes contained private attributes which were used only by a single
member function. Such items were moved to the corresponding function implementations
to stress their limited usage scope.

A few unused variables were also deleted.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2011-07-18 13:28:49 -06:00
Curtis Gedak e7a0fa05ea Append -git to version for continuing development 2011-07-18 13:27:26 -06:00
Curtis Gedak 16e2cb1b23 ========== gparted-0.9.0 ========== 2011-07-18 10:42:32 -06:00
Daniel Korostil 3cf8ffb02c Uploaded Ukranian 2011-07-18 02:30:36 +03:00
Aurimas Černius bdd475054c Updated Lithuanian translation. 2011-07-16 15:13:26 +03:00
Yaron Shahrabani 423a95e4f4 Updated Hebrew translation. 2011-07-15 18:26:11 +03:00
Milo Casagrande 5e205845b6 [l10n] Updated Italian translation 2011-07-15 12:42:46 +02:00
Claude Paroz 0d30bc501a Updated French translation 2011-07-14 14:19:39 +02:00
Ask H. Larsen 54e60e41b5 Updated Danish translation 2011-07-14 12:07:06 +02:00
Мирослав Николић a536affb52 Updated Serbian translation 2011-07-08 18:37:42 +02:00
Muhammet Kara 800849c0e1 Updated Turkish translation 2011-07-06 18:19:52 +03:00
Şenol Korkmaz 751482d509 Updated Turkish translation 2011-07-06 17:49:25 +03:00
Piotr Drąg ee8022635c Updated Polish translation 2011-06-13 17:38:25 +02:00
Arash Mousavi f7559a0977 Updated Persian Translation 2011-06-12 23:32:09 +04:30
Curtis Gedak 8a58b5b53e Enable compile and link with libparted 3.0 (#651559)
The release of (lib)parted 3.0 includes a change to the Application
Programing Interface - API.  Most importantly, libparted 3.0 removes
many file system specific function calls, and hence the capabilities
provided by these functions.  In order for GParted to compile and link
with libparted 3.0, this libparted functionality is lost.

Specifically, the functionality that is lost when GParted is compiled
and linked with libparted 3.0 is as follows:

  - Loss of ability to grow and shrink FAT16 and FAT32 file systems
  - Loss of ability to shrink HFS and HFS+ file systems
  - Loss of ability to determine used and unused sectors in HFS and
      HFS+ file systems
  - Loss of ability to erase file system signatures on partition
      create and format

It is hoped that other free software projects will include some or all
of the above lost functionality, which can then be added back to
GParted.

This commit includes a change in how FAT16 and FAT32 file systems are
moved.  Specifically the move is now performed internally by GParted
when linked with libparted 3.0.  The move functionality is provided by
libparted for prior libparted versions (e.g. less than 3.0).

This is the final enhancement in a series of commits that enable
GParted to compile with libparted version 3.0.

Closes Bug #651559 - Doesn't compile against parted 3.0
2011-06-09 09:59:41 -06:00
Curtis Gedak 13568bcee7 Add configure check for libparted version 3.0.0 or higher
This enhancement is in preparation for addressing the following bug
report:
Bug #651559 - Doesn't compile against parted 3.0
2011-06-08 10:38:55 -06:00
Curtis Gedak 9cdd6c0092 Minor format changes to final configuration summary 2011-06-07 11:01:13 -06:00
Daniel Nylander dd6a8af544 Updated Swedish translation 2011-06-04 10:57:27 +02:00
Gil Forcada c32be7062b [l10n]Updated Catalan translation 2011-06-03 19:16:28 +02:00
Curtis Gedak ef11ab4e34 Add .csettings to .gitignore 2011-05-31 11:26:29 -06:00
Curtis Gedak 53b2b50f4a Fix size off by one sector with unrecognized disk label (#649444)
On disks with an unrecognized disk label, the end sector value
was saved as one sector larger than actual.  This caused the
Partition Information dialog to report the end sector value and
the total number of sectors on the disk as one larger than the
actual value.

Closes Bug #649444 - Partition information reports wrong sector
                     count
2011-05-31 09:45:18 -06:00
Gabor Kelemen ad129afa4d Updated Hungarian translation 2011-05-29 00:43:27 +02:00
Matej Urbančič c080e91501 Updated Slovenian translation 2011-05-27 22:52:12 +02:00