Commit Graph

312 Commits

Author SHA1 Message Date
Pete Batard bd319269aa [localization] cleanup before integration into mainline
* use ISO codes as main locale designators
* fix messages related to recent code
2013-10-15 22:12:54 +01:00
Pete Batard 0fa8c2174c Merge branch 'master' into localization 2013-10-15 21:50:27 +01:00
Pete Batard 3e0079593e [localization] add support for b(ase) instr. and .loc override
* Also add -l parameter
2013-10-15 21:43:26 +01:00
Pete Batard cf3964c8a3 [iso] upgrade to libcdio latest
* This should fix #179
* Also bump rufus-next to v1.4.0
2013-10-14 00:31:20 +01:00
Pete Batard 3c438db3fd [iso] add smart testing for Rock Ridge over Joliet
* Some ISO9660 images (such as Ubuntu) use both Joliet and Rock Ridge,
  so we have to make a choice which should be preferred.
* Since Rock Ridge allows a greater filename length compared to Joliet,
  we perform our scan pass with Joliet disabled, to find out if RR is
  being used and if a filename longer than 64 chars exist. If that is
  the case, we'll perform the extraction using RR, else we'll use Joliet.
* Also add Alt-J and Alt-K to toggle Joliet/Rock Ridge
* Closes #178
2013-10-14 00:02:32 +01:00
Pete Batard 843ce2e19a Merge branch 'master' into localization 2013-09-22 04:07:13 +01:00
Pete Batard 30dcabfac6 add missing title for Chinese notifications 2013-09-22 04:01:51 +01:00
Pete Batard 5b2e4d1721 [ui] prevent flicker on large FAT32 format.c
* Also convert 1.4TB FAT32 autolabel to 1_4TB rather than 14TB and
  use 2 decimal points rather than 1
2013-09-22 03:54:50 +01:00
Pete Batard 2945389edc [core] fix large FAT32 formatting for > 1TB disks
* Closes #159
2013-09-22 03:28:56 +01:00
Pete Batard 55ef384277 [syslinux] Update Syslinux v4 to 4.07 2013-08-14 00:53:28 +01:00
Pete Batard be6135d2d7 [localization] getting there...
* more French
* [s]ection -> [g]group, [r]esize -> re[s]ize
* fix resizing of dialog windows to include borders
* MSG_5xx -> MSG 2xx
* Fix a non UTF-8 fetch
* Fix line number offset due to section use
2013-08-04 02:15:16 +01:00
Pete Batard cb60cdc805 [localization] more grueling translation work... 2013-08-01 02:03:48 +01:00
Pete Batard 9339c20ba8 [localization] localize messages, more French translations 2013-07-31 01:43:02 +01:00
Pete Batard fed14a42f4 [localization] use embedded localization file
* Use an unique name and delete on exit
* Also add a bunch of message IDs
2013-07-28 21:26:14 +01:00
Pete Batard 79c16c0d14 [localization] improve message generation and cleanup 2013-07-28 17:58:15 +01:00
Pete Batard 0c8d0e0c60 localization: add locale block and message parsing
* Also add early left-to-right support
2013-07-27 23:16:11 +01:00
Pete Batard c7c297994d Merge branch 'master' into localization
Conflicts:
	src/rufus.c
2013-07-21 21:33:02 +01:00
Pete Batard 5f161c91b3 [vs] update VS2012 project settings
* Enable XP mode
* Set VS compilation to C mode, multiprocessor
* Unset culture
2013-07-21 21:30:55 +01:00
Pete Batard 19f986b76f [localization] fix MinGW & WDK non display of Unicode glyphs on XP
* As documented in #163, the "ccs=UNICODE" option of _wfopen() is only
  available in Visual C++ 2005 and later.
* MinGW and WDK still seem to support the option, but only for Vista and later
* To fix display of Unicode glyphs on XP, remove the use of "ccs=UNICODE"
2013-07-21 21:27:40 +01:00
Pete Batard 116b82bbbb [localization] revert back to testing mode
* Also update embedded loc file and fix a WDK warning
2013-07-21 21:26:50 +01:00
Pete Batard b5143b0d84 [oops] fix MinGW compilation broken with previous commit 2013-07-21 21:13:28 +01:00
Pete Batard 0defc28b09 [wdk] fix _fseeki64 could not be located in msvcrt.dll on XP
* Closes #162
* Also remove unwanted SetThreadLocale() in rufus.c
2013-07-21 20:56:20 +01:00
Pete Batard 3d3d05a052 [localization] add embedded Chinese loc file => v1.3.4 Chinese 2013-07-18 02:18:23 +01:00
Pete Batard b24347d47e [locale] fix multiple issues with DOS localization
* The wrong names were being used for the kbd SYS files
* Also fix a typo and improve fallback
* Closes #160
2013-07-18 00:14:43 +01:00
Pete Batard e661eff9ae [syslinux] silence a MinGW warning in libfat
* Also fix a typo in ChangeLog.txt
2013-07-18 00:10:29 +01:00
Pete Batard a976772df6 Merge branch 'master' into localization 2013-07-15 23:11:39 +01:00
Pete Batard 862365c01a v1.3.4 (build 270) 2013-07-15 19:03:33 +01:00
Pete Batard 4ac182830d [core] add UDF filesystem support
* Only supported on Vista or later
* Also disable exFAT for XP (requires a KB => not worth it)
* Also improve display of partition data for type 0x07
* Also fix and issue where exFAT/UDF would try to modify PBR
* Also logically move and simplify some of the code
* Closes #157
2013-07-09 00:14:29 +01:00
Pete Batard 081f1eefe7 [net] fix and exception with HttpOpenRequest()
* As the MSDN doc says, "Failing to properly terminate the (lplpszAcceptTypes)
  array with a NULL pointer will cause a crash."
* Also switch to HttpSendRequestA() since we have no use for W there.
2013-07-08 21:28:44 +01:00
Pete Batard bcd2eedbe8 Merge branch 'master' into localization 2013-07-07 02:13:07 +01:00
Pete Batard 54bb962ec4 [localization] provision of LCIDs for LC_LOCALE, fix line numbers 2013-07-07 02:12:05 +01:00
Pete Batard bb2949e557 [core] limit large FAT32 to 1 TB
* 1.5 and 2 TB formatting is too flaky for now - remove it
* This limitation can be disabled with Alt-S
* Also fix various smaller issues
2013-07-05 23:58:04 +01:00
Pete Batard 0938c56fdc [syslinux] fix crash when installing syslinux on large drives
* The check for minfatsize seems erroneous, and libfat_open()
  errors weren't checked in syslinux.c anyway
* Closes #156
2013-07-05 22:26:47 +01:00
Pete Batard d81ca7de24 [core] reinstate the call to DeletePartitions()
* But use IOCTL_DISK_CREATE_DISK and not IOCTL_DISK_DELETE_DRIVE_LAYOUT
* Also improve messaging and increase detection timeout to 15 seconds
2013-07-05 22:20:46 +01:00
Pete Batard 967ad1da33 [core] remove the call to IOCTL_DISK_DELETE_DRIVE_LAYOUT
* As per issue #122, this creates problems when formatting a drive in FAT16
* Also remove an unnecessary backslash in icon.c
2013-07-04 22:51:15 +01:00
Pete Batard 40d2f02fd9 Merge branch 'master' into localization 2013-07-02 01:04:34 +01:00
Pete Batard 9925cc945d [syslinux] download c32 files in the same directory as the app
* Rufus was downloading c32 files in the last directory browsed, which
  meant that the same file may have had to be downloaded more than once
* Closes #154
2013-07-02 00:45:47 +01:00
Pete Batard d8d1273135 Merge branch 'master' into localization 2013-06-30 03:04:31 +01:00
Pete Batard 91f2cbafe9 [oops] fix elevation when compiled with VS2012
* Visual Studio requires the settings from the manifest to be duplicated
2013-06-30 03:02:59 +01:00
Pete Batard bda34a3b7b Merge branch 'master' into localization 2013-06-30 02:38:05 +01:00
Pete Batard e5da529eca [core] force elevation for unprivileged users
* Using "highestAvailable" elevation allows standard users to run Rufus
  without being prompted for elevations, which prevents them from both
  detecting and formatting USB drives
* Since non administrator access is useless, switch to "requireAdministrator"
* Closes #153
* Also fix small issues with saving log and syslinux detection report
2013-06-30 02:32:51 +01:00
Pete Batard 949ad746ab [localization] fix dialog titles and hyperlinks
* Dialogs must be created as Unicode (W) for titles to be updated
* Also add more Chinese translation and autogenerated control codes
2013-06-29 18:45:09 +01:00
Pete Batard 7636342cf3 [localization] autogenerated control and dialog tables
* Also more translations
2013-06-29 03:25:34 +01:00
Pete Batard 9426be0bc1 Merge branch 'master' into localization 2013-06-28 02:20:56 +01:00
Pete Batard ad67467e12 [localization] add subdialog localization 2013-06-28 02:17:27 +01:00
Pete Batard bbab5a148d [ui] log display improvement
* Shift main dialog left in case of overlap
* Fix loss of application focus when displaying the log
* Display Windows version in the log
* Also switch to LZMA for UPX compression
* Closes #148
2013-06-25 23:46:53 +01:00
Pete Batard 6be21bbdbc [core] more drive handling improvements
* Use retries when locking the volume
* Wait for volume availability after partitioning
* Don't halt on errors that can be ignored
* Other small improvements and fixes
* The above should help with addressing #122
2013-06-25 18:39:07 +01:00
Pete Batard cd5665881c [core] drive handling improvements
* Use IOCTL_DISK_UPDATE_PROPERTIES after partitioning
* Use IOCTL_DISK_DELETE_DRIVE_LAYOUT to invalidate partitions before formatting
* Fix handling of unpartitioned drives
* Increase delay after partitioning
* All of the above should help with the infamous #122
* Also fix display of error messages in ms-sys' file.c as well as stdio.c
* Also add commandline option -f to list fixed drives
2013-06-25 02:55:25 +01:00
Pete Batard d7db1ebb94 [localization] move ResizeMoveCtrl() to stdlg.c
* Also set controls to visible by default
2013-06-23 01:16:13 +01:00
Pete Batard 8f3681188d Merge branch 'master' into localization 2013-06-22 01:24:34 +01:00