Commit Graph

60 Commits

Author SHA1 Message Date
Eric Pouech 27aacaa73e winecfg: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 10:59:45 +01:00
Zhiyi Zhang b2099bce9b winecfg: Pass size in bytes to RegQueryValueExW().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 11:22:28 +02:00
Alexandre Julliard fefb5da4ba mountmgr: Make creating a backup optional for shell folders.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 16:49:30 +02:00
Alexandre Julliard d02d50299b winecfg: Use Unicode functions throughout.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 21:35:54 +02:00
Alexandre Julliard a243a7af97 winecfg: Use wide character string literals.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 21:35:54 +02:00
Alexandre Julliard fe9799314b winecfg: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 21:35:54 +02:00
Alexandre Julliard 01a2b9c628 winecfg: Use mountmgr to manage shell folders.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 21:35:54 +02:00
Alexandre Julliard a9a08dbc3d libwine: Remove wine/library.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-08 16:26:17 +02:00
Michael Stefaniuc 7fdb828abf winecfg: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-18 11:20:43 +02:00
Nikolay Sivov 74c3a4a7e7 winecfg: Fix a leak when applying drive changes (Coverity). 2015-06-29 18:51:02 +09:00
Alexandre Julliard edf44bfb1e winecfg: Avoid Unicode macros. 2012-01-20 12:44:04 +01:00
Jörg Höhle 079074e006 winecfg: Provide trailing \ now required by GetVolumeInformation. 2009-06-23 15:53:01 +02:00
Michael Stefaniuc e09fc21576 winecfg: Use ULONG for a bitmask variable. 2009-04-02 16:28:30 +02:00
Jörg Höhle cda8e4410a winecfg: Prevent crash when clearing volume serial number input. 2008-12-18 14:53:55 +01:00
Alexandre Julliard abe00bbebe winecfg: Load the existing drive config from mountmgr instead of relying on QueryDosDevice. 2008-10-24 14:24:58 +02:00
Alexandre Julliard 18b66912b7 winecfg: Store the Unix device if any in the drive configuration. 2008-10-24 14:24:58 +02:00
Alexandre Julliard eb65f6a212 winecfg: Use an ioctl to the mount manager to define drives. 2008-10-24 14:24:58 +02:00
Alexandre Julliard f410cf7c98 winecfg: Update the drives only when they have changed, instead of trying to compare with the current setup. 2008-10-23 12:15:43 +02:00
Alexandre Julliard f150ddc3ed winecfg: Store the drive label as Unicode. 2008-10-17 14:11:56 +02:00
Alexandre Julliard 6483f2f201 winecfg: Store the drive serial number as a number instead of a string. 2008-10-17 13:37:04 +02:00
Dmitry Timoshkov 43a072b1cb winecfg: Fix some compatibility problems. 2007-07-31 13:36:08 +02:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Vitaliy Margolen 161a53f254 winecfg: Allow editing of broken drive links. 2006-11-17 12:45:29 +01:00
Andrew Talbot 91e3930c54 winecfg: Cast-qual warnings fix. 2006-10-07 17:46:46 +02:00
Michael Stefaniuc 381fa6588f winecfg: Win64 printf format warning fixes. 2006-10-03 11:15:41 +02:00
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