Commit Graph

23 Commits

Author SHA1 Message Date
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