Commit Graph

45 Commits

Author SHA1 Message Date
Owen Rudge 87f41e6b40 winecfg: Add /v parameter to display current Windows version.
This patch allows winecfg to be called with the "/v" parameter to
display the current Windows version. "/v winver" will continue to allow
the Windows version to be updated.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49242
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-02 21:27:50 +02:00
Owen Rudge 1eed470674 winecfg: Ensure registry key is initialised before updating Windows version.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-02 21:27:34 +02:00
Owen Rudge 7b485dbf68 winecfg: Return 0 on success when setting Windows version.
The /V switch to winecfg was incorrectly passing the BOOL result through
as the application exit code.

Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-20 17:19:11 +02:00
Alexandre Julliard 6d582ed530 winecfg: Get rid of drive autodetection.
The dynamic device support works well enough now.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Owen Rudge 2f5a3fa16f winecfg: Add /? parameter to print help and valid versions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41559
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Owen Rudge 90c0123533 winecfg: Add support for '/v' parameter allowing Windows version to be changed.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41559
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Francois Gouget 6f64673fb5 winecfg: Remove unneeded NONAMELESSXXX directives. 2015-04-03 00:33:30 +09:00
Frédéric Delanoy 87c72332bb winecfg: Use BOOL type where appropriate. 2013-10-17 10:45:45 +02:00
Alexandre Julliard fb929be9a4 winecfg: Relaunch the 64-bit version of winecfg on Wow64. 2010-12-15 22:29:49 +01:00
Joel Holdsworth 7342bce80d winecfg: Moved about panel code into about.c. 2010-06-07 15:17:42 +02:00
Joel Holdsworth c166cb3840 winecfg: Installed a Tango compliant application icon. 2010-04-21 11:57:32 +02:00
Filipe Ferreira a933d5401e winecfg: Added Windows registration information setting. 2008-06-26 13:40:51 +02:00
Vitaliy Margolen 82a7eb7614 winecfg: Remove mostly unused properties.h. 2008-05-19 14:04:23 +02:00
Frank Richter 722ee099c1 winecfg: Make load_string public. 2006-08-16 12:51:01 +02:00
Dmitry Timoshkov f2ae9e4bdc winecfg: Avoid unnecessary casts. 2006-06-07 11:48:28 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Jung 51a3198748 winecfg: Support for setting symlinks for 'Desktop' and 'My Stuff' shell folders. 2006-02-14 13:09:30 +01:00
Mike McCormack 55303936b6 winecfg: Tidy up included headers.
Get rid of the barely used properties.c.
2006-01-19 11:55:01 +01:00
Robert Reif f0c55e7d52 winecfg: Use sound tree view for driver selection.
- Move driver selection and configuration into tree view.
- Only show loadable drivers.
2005-12-17 12:30:06 +01:00
Frank Richter 33e8e88e81 Load tab titles and property sheet caption from string resources. 2005-08-25 19:19:33 +00:00
Frank Richter 1bac61f8e5 Add an "Appearance" tab to control the currently active theme. 2005-08-24 10:59:40 +00:00
Alexandre Julliard a18f20616a Fixed registry paths to edit the real config, and removed the startup
warning message.
2005-06-16 16:15:37 +00:00
Mike McCormack ae51135ed9 Fixes for -Wmissing-declarations and -Wwrite-strings warnings. 2005-06-02 15:11:32 +00:00
Michael Jung d95a91ff52 Implemented 'Browse' functionality for the drive mapping property
sheet.
2005-03-09 16:41:30 +00:00
Michael Jung fc0061f8f9 Added support for command line parameter '/D' to do drive detection
from wineprefixcreate.
2005-02-14 21:03:52 +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
Mike Hearn cd516fd185 Display message box to alert users more reliably that winecfg is
unfinished.
2004-09-28 02:35:07 +00:00
James Hawkins 7f274205a8 Rename X11 Driver tab of winecfg to Graphics. 2004-07-30 01:35:13 +00:00
Alexandre Julliard 5488a4ed48 Avoid including windows.h since it conflicts with unistd.h. 2004-03-19 01:17:51 +00:00
Alexandre Julliard 76240a3665 Need to include config.h. 2004-03-16 01:32:36 +00:00
Chris Morgan 97d5e1638f Message box to suggest the user not run wine as root. 2004-03-15 20:10:14 +00:00
Chris Morgan 2c6ea211f0 Rename 'General tab' to 'About', move to the last position.
Make applications tab handle global and per-app winver, dosver and
winelook settings, mirroring the Libraries tab.  Code copied from
Robert van Herk's libraries tab.
Move global/app specific function and global to the x11drv tab where
it is currently used.
Add a couple of property helper functions.
Set 3D border around treeview controls.
Removed invalid resources from languages other than En.
2004-02-07 01:01:34 +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
Robert van Herk 5fd5f38490 Added a tabsheet that allows the user to change the dll overrides,
both globally and per app.
2004-01-07 00:43:40 +00:00
Mike Hearn dec10f8a18 Complete support DOS version and winelook settings. 2003-10-22 03:02:26 +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 6d4f4ac54e Normalize win2000, nt2k, nt2000 to win2k, normalize win2k3 to win2003
(spotted by Vincent Béron).
2003-09-16 01:08:02 +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
Mike Hearn cd0b789770 - Remove "PerfectGraphics", "Use XSHM extension", and "Use a private
colour map".
- Implement a simple transaction system for instant apply.
- Complete the desktop size code, this now reads and writes to the
  registry correctly.
- Remove const modifier from version accessor functions.
- Change registry root to Wine/WineCfg for testing purposes.
2003-09-08 18:58:07 +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
Alexandre Julliard 3db78b8d64 Authors: Mark Westcott <mark@houseoffish.org>, Mike Hearn <mike@theoretic.com>
- Rename hSession to configKey.
- Make the config struct a global, rename to "config".
- Correct bug in OK/Cancel handling.
- Merge X11DRV dialog code from Mark.
- Add newline to the initial FIXME.
2003-08-30 00:40:46 +00:00
Mike Hearn 4e1afc6de0 - Correct return code of loadConfig().
- Make the registry key used a constant.
- Made code slightly more consistant with itself.
- Some style changes, expanding out variable names, whitespace,
  removing unnecessary variable initializers and hungarian notation etc.
- Replace dialog box with a FIXME in WinMain() to warn of
  incompleteness.
- Implement saveConfigValue().
- Hook up support for save/load of WinVer.
2003-08-30 00:27:08 +00:00
Mike Hearn 1df015ae46 Warn users of winecfg about its incompleteness. 2003-08-25 23:50:50 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Dimitrie O. Paun 82ce2cc7df New winecfg skeleton app, based heavily on original work by Jaco
Greeff.
2003-03-31 19:41:55 +00:00