Commit Graph

35 Commits

Author SHA1 Message Date
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Neil Skrypuch ad4d9e7387 winecfg: Use already existing letter_to_index(). 2006-02-04 16:58:18 +01:00
Alexandre Julliard 61a370efd5 Only set label and serial number when they are actually changed. 2005-11-21 15:25:27 +00:00
Alexandre Julliard c02356b835 Added "autodetect" drive type option. 2005-10-20 13:16:46 +00:00
Alexandre Julliard 97567c2d7b Always set the drive type even if nothing else changed. 2005-10-20 11:37:46 +00:00
Mike McCormack 88bddd7ae1 Fix gcc 4.0 warnings. 2005-08-19 15:19:10 +00:00
Stefan Huehner 712087700e Fix some -Wstrict-prototypes warnings. 2005-06-16 15:52:44 +00:00
Mike McCormack ae51135ed9 Fixes for -Wmissing-declarations and -Wwrite-strings warnings. 2005-06-02 15:11:32 +00:00
Pierre d'Herbemont 342da59b0c Remove stdlib.h inclusion if winsock.h is included. 2005-05-18 15:33:20 +00:00
James Hawkins 8091790717 Remove the corresponding registry entry when deleting a drive. 2005-05-04 09:47:56 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Steven Edwards a7c1102bac Porting fixes. 2005-03-14 10:05:12 +00:00
Michael Jung 4fd4bf902d Set pointers to NULL in delete_drive to prevent heap corruption in
load_drives.
2005-02-14 20:54:21 +00:00
Mike Hearn 160f562107 Do not apply changes just because QueryDosDevice reversed the
slashes.
Change an ERR to a WARN, it's common for it to occur.
2005-01-10 14:25:58 +00:00
Mike Hearn 63afcfebff Fix a memory management bug in apply_drive_changes to stop winecfg
deleting all the drive definitions in some cases.
2005-01-09 18:01:00 +00:00
Eric Pouech bcfa5b0900 ReadFile and WriteFile must be passed a parameter for the number of
handled bytes when no overlapped operation is done.
2004-12-22 18:38:31 +00:00
Mike Hearn 7d8711e15f - More heapification.
- Split drive code into core, UI and autodetect.
- Implement drive autodetection.
- Slight redesign of drive tab.
- Code cleanup.
2004-11-23 13:50:23 +00:00
Mike Hearn 02e850efdf - switch x11drvdlg to kernel_style, and clean up some superflous code
- more win32 heapification
- move getDialogItemText into header and rename, use some more in
  x11drv page
- make label phrasing consistent in x11drv page
2004-09-28 04:05:55 +00:00
Mike Hearn 0af614e77b - rewrite the transaction system to be based on a settings overlay,
to have a nicer API, and to actually work (always a bonus)
- change the libraries page to be based on a listbox rather than a
  treeview, clean up and shrink the code
- add accelerator keys to the libraries page, focus management
- make the window title reflect what the user is currently editing
- remove bogus root warning
- remove some unused control IDs in resource.h
- start converting the x11drv dialog to kernel_style from javaStyle
- bugfixing
2004-09-28 03:55:16 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Chris Morgan 231946c332 Free up the original buffer pointer instead of the one we advanced.
Only call getDrive() once inside of addDrive().
2004-05-13 05:17:41 +00:00
Alexandre Julliard 329aa748d4 Fixed crash when selecting the drive letter combo box. 2004-05-06 23:42:34 +00:00
Chris Morgan 49f0dd3a2c Implemented an array of 26 drives and interface functions for adding,
copying, moving and deleting drives.
Added a "Show/Hide Advanced" button in the drive edit dialog that
toggles the display of advanced options and resizes/moves controls.
Disable the 'autodetect' radio button in the drive edit dialog until
we have autodetection support.
Map window 'x' button to dialog close.
2004-05-04 02:56:46 +00:00
Dimitrie O. Paun ced6ca78b8 Remove the FileSystem option from the drive configuration. 2004-03-12 19:44:04 +00:00
Chris Morgan cde7f90903 Add audio tab with first pass at autodetection of audio driver.
Double clicking a drive entry brings up drive edit window.
2004-01-20 02:07:35 +00:00
Alexandre Julliard 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Mike Hearn f388977f75 - Clear screen depth combo box on page init.
- Some appdefaults support.
- Rename hDlg to dialog in some places so enable/disable macros work.
- Don't update registry when the GUI is being initially configured.
2003-10-22 00:01:46 +00:00
Daniel Marmier 8e5bb20542 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-09 04:39:01 +00:00
Mike Hearn 498e1ce039 Move Applications tab before Libraries tab.
Improve return_if_fail.
Partly implement appdefaults UI.
Replace usage of EnableWindow with clearer enable/disable macros.
2003-09-30 00:27:55 +00:00
Mike Hearn 5a2cde6532 - All settings in the drive edit dialog are now instant apply.
- Replace OK/Cancel buttons on the right with a close button on the
  bottom.
- Warn the user when a C drive is not present.
- Add drive functionality will now always create a C drive if one
  isn't present.
- Misc crasher fixes.
- Drive list box now reflects drives that take their data from a
  device correctly.
- Various code cleanups.
2003-09-17 22:40:38 +00:00
Mike Hearn 0f4c6c9727 - Bugfixes to the transaction system.
- Better protection against incomplete config sections.
- Implement "Add Drive".
- Partly reactivate edit drive dialog.
2003-09-10 03:41:44 +00:00
Mike Hearn 1136408fc6 - Removed the central configuration structure, all changes are
committed instantly now.
- Updated the drive handling code so it loads direct from the
  registry.
- Removed DRIVE_DESC, drives are keyed by drive letter now.
- Documented drive_available_mask.
- Simplified the code somewhat.
2003-09-08 19:29:28 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Mike Hearn ff81133f57 - Path changes are saved to the struct correctly.
- Rename enable_cdrom_box to enable_labelserial_box to better reflect
  purpose.
- Rename IDC_BOX_CDROM to IDC_BOX_LABELSERIAL.
- Support for editing label for all drives, allow editing of
  serial/device for CD-ROMS.
2003-09-02 23:04:53 +00:00
Alexandre Julliard d0112aa509 Authors: Mark Westcott <mark@houseoffish.org>, Mike Hearn <mike@theoretic.com>
- Merge drive code from Mark.
- Rename saveX11DrvDlgSettings to fetchX11DrvDlgSettings.
- Make the listbox display drive title, not letter.
2003-08-30 00:49:00 +00:00