Commit Graph

1939 Commits

Author SHA1 Message Date
Seth Heeren 82fcb1ef0b Simplified cleanup_cursor() implementation
I hit this performance bug when I cloneda 40G NTFS partition. The actual
copy was done in under 11 minutes. After that I was shocked to find that
gparted would spend over 12 minutes in cleanup_cursor, pegging a CPU
core. (On a quad core desktop...)

Simply replacing the ustring with std::string would reduce the time to
about 1.5 minutes. Still bad. Also, I didn't want to lose UTF8
awareness.

So I rewrote the algorithm in 'streaming mode'. This has the (potential)
drawback that locale conversions are done, but performs well and
- IMHO - is a lot more readable.

On a minor note: this implementation correctly handles backspaces at the
start of a line.
2011-03-27 10:37:08 -06:00
Milo Casagrande 6c3129b972 [l10n] Updated Italian translation 2011-03-25 14:33:15 +01:00
Curtis Gedak ba28423e76 Remove one level of quoting when spawning commands
Change spawn_command_line_sync to spawn_sync to reduce the level of
quoting required when passing commands to the function.  Since
spawn_command_line_sync uses the parent's environment, the replacement
call also uses the parent's environment.

This change permits unmounting of file systems mounted with an
apostrophe in the mount point name.

Ubuntu launchpad bug 151796 - Can't unmount partition with apostrophe
                              in label
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/151796
2011-03-19 11:25:04 -06:00
Lucian Adrian Grijincu 38d9018214 Updated Romanian translation 2011-03-18 23:36:49 +01:00
Lucian Adrian Grijincu 7b8ad93754 Updated Romanian translation 2011-03-18 23:36:22 +01:00
Claude Paroz 05d6d076c5 Updated French translation 2011-02-27 22:19:33 +01:00
Curtis Gedak caa7656829 Ensure graphical error message displayed when run by non-root user
Ubuntu launchpad bug 696937 - Running gparted as non-root user
                              displays no graphical error message
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/696937
2011-02-27 11:41:40 -07:00
Curtis Gedak 3499b2327a Add openSUSE command to install dependencies to README 2011-02-26 10:20:02 -07:00
Ask H. Larsen 4c7b3928c0 Updated Danish translation 2011-02-26 11:59:12 +01:00
Ask H. Larsen 7ef2bf5c64 Updated Danish translation 2011-02-26 11:56:32 +01:00
Curtis Gedak 87acba030c Remove all usage of kpartx to avoid partition entry duplicates
Usage of the kpartx package to create partition names has been
completely removed.  Hence kpartx is no longer even an optionally used
package by gparted.

This change is related to the following bug report:

Ubuntu launchpad bug 719129 - [Natty] Gparted duplicates dmraid
                              partition devices
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/719129
2011-02-22 14:40:02 -07:00
Curtis Gedak 2f99511228 Add flag --enable-libparted-dmraid to use native libparted dmraid
The new configure option --enable-libparted-dmraid enables the native
use of /dev/mapper dmraid support in the libparted library.

If this option is not specified, or is disabled, then gparted code
will be used to support dmraid.  The gparted code uses the old dmraid
partition naming scheme of always appending the partition number to
the device name.  The letter 'p' is not inserted between the device
name and the partition number.  The gparted code is particularly
useful when used with older versions of libparted that do not support
/dev/mapper dmraid.

Ubuntu launchpad bug 719129 - [Natty] Gparted duplicates dmraid
                              partition devices
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/719129
2011-02-22 13:22:49 -07:00
Hannie Dumoleyn 37e19bcb19 [l10n] Updated Dutch translation 2011-02-19 22:16:50 +01:00
Curtis Gedak 8bc1377c22 Add comment for documentation maximum image width recommendation 2011-02-19 11:00:36 -07:00
Hannie Dumoleyn 96708f2a56 [l10n] Updated Dutch translation 2011-02-18 17:01:13 +01:00
Khaled Hosny 6d2dbb1f60 Updated Arabic translation 2011-02-17 20:13:28 +02:00
Curtis Gedak 5216ba09aa Update NEWS with correct date for 0.8.0 release 2011-02-15 14:50:29 -07:00
Curtis Gedak 9d0ae38839 Append -git to version for continuing development 2011-02-15 12:05:33 -07:00
Daniel Șerbănescu e93dbb2546 Updated Romanian translation 2011-02-15 21:02:56 +02:00
Daniel Șerbănescu 9b2c98e3fb Updated Romanian translation 2011-02-15 20:47:03 +02:00
Curtis Gedak 1ad6bb68a0 ========== gparted-0.8.0 ========== 2011-02-15 10:16:49 -07:00
Claude Paroz dc84ae1815 Updated French translation
Contributed by Claude Paroz and Bruno Brouard
2011-02-14 19:11:29 +01:00
António Lima c50a5eb817 Updated Portuguese translation 2011-02-13 23:45:02 +00:00
Daniel Mustieles 2ce9cac524 Updated Spanish translation 2011-02-09 19:22:26 +01:00
Мирослав Николић 2380058944 Added screenshots for Serbian documentation 2011-02-08 23:28:06 +01:00
Мирослав Николић fb5439c546 Updated Serbian translation 2011-02-08 23:28:06 +01:00
Daniel Mustieles d765986922 Updated Spanish translation 2011-02-08 20:59:30 +01:00
Matej Urbančič 335ba2b26f Updated Slovenian translation 2011-02-07 18:22:35 +01:00
Marek Černocký 6c104e897e Updated Czech translation 2011-02-06 16:02:46 +01:00
Yaron Shahrabani 820ec8748d Updated Hebrew translation. 2011-02-05 14:22:08 +02:00
Chao-Hsiung Liao d3e0892ec6 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2011-02-05 17:43:14 +08:00
Mario Blättermann 3bb64c4834 [l10n] Updated German translation 2011-02-05 09:18:19 +01:00
Mario Blättermann f96b26dbe7 [l10n] Updated German doc translation 2011-02-05 09:16:45 +01:00
Milo Casagrande fc47718206 [l10n] Updated Italian translation 2011-02-04 19:28:23 +01:00
Andika Triwidada bfe8e795fd Updated Indonesian translation 2011-02-04 20:25:54 +07:00
Daniel Nylander 9f481b9271 Updated Swedish translation 2011-02-03 23:11:36 +01:00
Fran Diéguez 413cdd8918 Updated Galician translations 2011-02-03 22:53:19 +01:00
Мирослав Николић 71bc465b5f Added Serbian help translation 2011-02-03 20:38:01 +01:00
Мирослав Николић bad63478cc Added Serbian translation 2011-02-03 20:01:06 +01:00
Baurzhan Muftakhidinov e6bea83ddf Updated Kazakh translation 2011-02-03 16:39:50 +06:00
Mario Blättermann 7298f5f79b [l10n] Updated German translation 2011-01-30 15:26:56 +01:00
Paulo E Ojeda 01dfb81413 Updated Spanish translation 2011-01-30 13:36:11 +01:00
Marek Černocký 5be3faecc8 Updated Czech translation 2011-01-30 12:20:56 +01:00
Curtis Gedak 6bf8df6c4c Update README and AUTHORS for attempt data rescue 2011-01-29 15:44:23 -07:00
Curtis Gedak 12f860afb8 Add missing copyright year to help manual 2011-01-29 15:19:57 -07:00
Curtis Gedak 614a781d2f Add attempt data rescue section to help manual (#171215)
Add documentation for new feature to attempt data rescue for lost
partitions.

Closes Bug #171215 - Support lost partition recovery
2011-01-29 15:11:47 -07:00
Joan Lledó ef37bdb7de Added support to lost data recovery using gpart 2011-01-29 14:58:02 -07:00
Ask H. Larsen 9d6a307357 Updated Danish translation 2011-01-27 22:12:32 +01:00
Bruno Brouard dfafd5d056 Updated French translation 2011-01-26 22:13:37 +01:00
Daniel Mustieles 7f9a3025ef Updated Spanish translation 2011-01-26 20:32:23 +01:00