Pete Batard
cbc54d764d
[boot] added FAT16 bootable MS-DOS support
...
* also fixed broken FAT32 bootable MS-DOS
* also added extended error report in file.c
2011-12-02 00:11:53 +00:00
Pete Batard
b6c6e37927
[mingw] switched to autotools for Makefile generation
...
* allows better integration with Clang
* use ./autogen.sh to generate compilation scripts
* old Makefile renamed to mf so that make -f mf can still be invoked
* also fixed one Clang warning
2011-12-01 19:43:45 +00:00
Pete Batard
2390b305c8
[misc] move drive related functions into their own source
2011-12-01 17:54:35 +00:00
Pete Batard
79f3e78ec3
misc] move formatting functions into their own source
...
* also add missing #pragma once in msapi_utf8.h
2011-12-01 17:20:52 +00:00
Pete Batard
bc252400a1
[misc] move I/O functions into their own source
2011-12-01 16:34:42 +00:00
Pete Batard
08d68301cd
[msvc] fix MSVC 64 bit conversion warnings
...
* use size_t in file.c
* remove obsolete Hungarian notation
2011-12-01 16:22:00 +00:00
Pete Batard
af3607715a
[ui] fs and cluster size selection improvements
...
* also added support for FCC_DONE_WITH_STRUCTURE which is used on Small FAT16 formatting
2011-12-01 15:01:10 +00:00
Pete Batard
a7d714cefd
[fs] set default cluster size according to MS defs
...
* see http://support.microsoft.com/kb/140365
* also added exFAT as supported FS
2011-12-01 02:56:44 +00:00
Pete Batard
70a5116bb7
[mingw] Makefile improvements
...
* also fixed removal of .tag in git post commit hook
2011-11-30 19:43:30 +00:00
Pete Batard
651cdcaa65
[internal] added post-commit hook for autotagging
2011-11-30 18:45:16 +00:00
Pete Batard
1b20310395
[boot] fixup for crippled WinME COMMAND.COM and IO.SYS
...
* see http://www.multiboot.ru/msdos8.htm
* also added attributes & timestamps from FAT12 image files
* reworked FAT12 handling based on ReactOS code
2011-11-30 17:42:25 +00:00
Pete Batard
7ae6715b55
[boot] write bootable mbr and fs_br (FAT32 only)
2011-11-30 02:14:59 +00:00
Pete Batard
88143701ed
[mbr] added mbr detection
...
* also added write_data() for Windows in file.h
* also merged/removed fat16/32 includes
* also removed disk-signature for zeroed MBR detection
2011-11-29 23:45:19 +00:00
Pete Batard
2d8a674b88
[misc] handle all versioning in rufus.rc
2011-11-29 22:53:00 +00:00
Pete Batard
d3d07e97bd
[mingw] add ms-sys support for MinGW and fix warnings
2011-11-29 20:48:51 +00:00
Pete Batard
c54ecd83dd
[wdk] include ms-sys files for WDK
2011-11-29 20:46:44 +00:00
Pete Batard
d20e756765
[mbr] added some mbr processing
...
* fix MS's removal of LBA from FS types in partition table
* improved GetDriveHandle()
* issue a refresh after formatting
2011-11-29 20:25:29 +00:00
Pete Batard
6e2fb54480
[mbr] added ms-sys files
2011-11-29 20:18:23 +00:00
Pete Batard
44c418714c
[internal] fix non-removal of sed script
2011-11-28 20:06:47 +00:00
Pete Batard
b541496e7e
[ui] added cluster size selection
2011-11-28 20:05:34 +00:00
Pete Batard
d35d37cf20
[internal] added pre-commit git script to increase the nano
...
* from now on, nano will reflect the distance to initial commit
* to have git run this script on commit, create a "pre-commit" in
.git/hooks/ with the following content:
#!/bin/sh
source ./_pre-commit.sh
2011-11-28 17:08:11 +00:00
Pete Batard
d6c66e0d09
[core] improved error and cancellation handling
...
* return standard Windows error codes where possible
* add custom error codes that follow the Windows error format
* automatically close cancel MessageBox if the process completes
2011-11-28 12:37:58 +00:00
Pete Batard
23b1f55338
[ui] added cancellation and control greyout during format
...
* also prevent application close during format
2011-11-28 01:32:18 +00:00
Pete Batard
99951cdb27
[core] use separate thread for format
...
* also added progressbar display
* also added copying of MS-DOS files (no bootblock yet)
2011-11-27 23:49:33 +00:00
Pete Batard
f75a9fc7cb
[boot] added MS-DOS file extraction from diskcopy.dll
...
* diskcopy.dll contains a resource ('BINFILE') that is a 1.4MB
floppy image of a bootable MS-DOS disk (FAT12)
* we can extract these files and use them for bootable USB
2011-11-27 02:09:45 +00:00
Pete Batard
60ac60ceb0
[wdk] fixed non wchar GetWindowText
2011-11-26 00:32:06 +00:00
Pete Batard
1c302ee594
[core] added formatting
...
* also added filter for hotplug detection
2011-11-26 00:25:04 +00:00
Pete Batard
7280b0c45b
[ui] use GNU fdisk's sys_type.h for FS type description
...
* also fixed persistent FS tooltip when no device is attached
2011-11-25 13:29:35 +00:00
Pete Batard
df42dadd08
[format] functional partitioning
2011-11-25 01:30:41 +00:00
Pete Batard
96e4e64447
[utf8] fix bad wchar string alloc size in ComboBox_GetLBTextU()
2011-11-25 00:03:39 +00:00
Pete Batard
f661e5c585
[ui] added FS selection and tooltip
2011-11-24 23:49:42 +00:00
Pete Batard
4f3ebdf92c
[utf8] added ComboBox_GetLBTextU() to maspi_utf8.h
2011-11-24 23:42:53 +00:00
Pete Batard
5216eac9f2
[mingw] fix array subscript out of bound warning of MinGW32
2011-11-24 20:26:20 +00:00
Pete Batard
85f065864e
[msvc] fix 64 bit warnings
2011-11-24 20:23:01 +00:00
Pete Batard
b41687ec92
[ui] smarter proposed default label
2011-11-24 20:02:14 +00:00
Pete Batard
53f236dffe
[ui] UI improvements
...
* new controls
* label display and smart selection
* popup warning on format operation
* also fixed conflicting name for WDK build.cmd
* also fixed tooltip not properly associated with combo item
due to combo list being sorted
2011-11-24 02:24:50 +00:00
Pete Batard
510fde1133
[ui] notification dialog improvements
2011-11-23 19:11:19 +00:00
Pete Batard
18986bffa4
[enum] fixed label display for drives with no label
2011-11-23 12:39:47 +00:00
Pete Batard
45406054cc
[partition] initial partitioning code
...
* also added bWriteAccess parameter to GetDriveHandle()
* also added locking (FSCTL_LOCK_VOLUME) to GetDriveHandle()
* also added extra security checks to GetDriveHandle()
* also added status output
* also added ReadSectors/WriteSectors
2011-11-23 12:27:51 +00:00
Pete Batard
af0fef1c8c
[wdk] renamed wdk_build.cmd to build.cmd
...
* also added link for WDK download
2011-11-21 22:23:17 +00:00
Pete Batard
22fa3fc131
[ui] display device description as tooltip
2011-11-21 20:25:32 +00:00
Pete Batard
f263369e55
[core] added string array manipulation
...
* for drive description report
* also added MSVC memory leak detection in debug mode
2011-11-21 20:12:23 +00:00
Pete Batard
f355c450b6
[ui] added About and License dialogs
...
* also added partition information
* also fixed enumeration of non Windows FS USB devices
2011-11-21 17:06:17 +00:00
Pete Batard
c24d150189
[make] enforce LF in Makefile
2011-11-20 22:51:16 +00:00
Pete Batard
3d1131faaf
[mingw] fixed MinGW32 compilation
2011-11-20 22:50:26 +00:00
Pete Batard
4dfb38430f
[wdk] use batch file in order to keep a Makefile
2011-11-20 22:20:28 +00:00
Pete Batard
d6f32a189a
[mingw] added MinGW support
...
* only MinGW-w64 for now
* Makefile is called GNUmakefile so as not to conflict with WDK
2011-11-20 03:30:16 +00:00
Pete Batard
67a07909b1
[wdk] added WDK build file
2011-11-20 02:34:15 +00:00
Pete Batard
8fa8faf510
[misc] renamed project to Rufus
2011-11-19 19:08:23 +00:00
Pete Batard
9cdce54ad9
[enum] added FS type retrieval
2011-11-19 01:30:20 +00:00