Commit Graph

776 Commits (master)

Author SHA1 Message Date
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
Stefan Huehner 712087700e Fix some -Wstrict-prototypes warnings. 2005-06-16 15:52:44 +00:00
Alexandre Julliard 6e92d382a3 Changed registry access functions to use more meaningful names. 2005-06-13 18:49:23 +00:00
Mike McCormack ae51135ed9 Fixes for -Wmissing-declarations and -Wwrite-strings warnings. 2005-06-02 15:11:32 +00:00
Henning Gerhardt 1ab7234d55 Update German resource files. 2005-06-02 15:07:55 +00:00
James Hawkins 5211e49e29 Load Show/Hide Advanced strings from resources. 2005-05-19 11:14:52 +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 0a308f2d70 Add handling for drive options. 2005-05-18 09:48:47 +00:00
James Hawkins 0c2671c6fc Add ShowDirSymLink and ShowDotFiles to the drive ui. 2005-05-17 10:19:59 +00:00
James Hawkins e2c5359e8b - Remove useless LVN_ITEMACTIVATE notification handling.
- Update controls in response to a NM_CLICK notification.
2005-05-10 13:14:49 +00:00
James Hawkins bf1061bfc6 Remove old listbox code from driveui. 2005-05-10 08:29:17 +00:00
James Hawkins 0ade757920 Set listview style LVS_SINGLESEL so only one drive can be selected. 2005-05-10 08:28:56 +00:00
James Hawkins d6eb30d289 Use a listview instead of a listbox for drives list. 2005-05-09 14:34:56 +00:00
Alexandre Julliard bf961bb144 Get rid of the DOS version combobox, normal users should never need to
change it.
2005-05-07 18:06:35 +00:00
Michael Jung e52296ccb8 The unixfs extension doesn't have a distinguished '/' node anymore.
Moved UI string into the resources.
2005-05-07 14:50:16 +00:00
Vincent Béron 0fa5e855fb Use SUBLANG_NEUTRAL for French resources. 2005-05-04 09:52:47 +00:00
James Hawkins fa316a8a92 Enlarge the license text control length. 2005-05-04 09:49:22 +00:00
James Hawkins 8091790717 Remove the corresponding registry entry when deleting a drive. 2005-05-04 09:47:56 +00:00
James Hawkins 34299c760a Don't add the same program in AppDefaults more than once. 2005-05-04 09:47:46 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Eric Pouech 05413fccc5 Fixed some signed / unsigned pointer casts. 2005-04-18 09:54:03 +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 d95a91ff52 Implemented 'Browse' functionality for the drive mapping property
sheet.
2005-03-09 16:41:30 +00:00
Paul van Schayck 6cf1b31d25 As last option for drive type detection we try the device node name. 2005-02-25 13:58:45 +00:00
Jonathan Ernst a7d85a80b0 French localization. 2005-02-24 19:38:20 +00:00
Henning Gerhardt 8cb24e729f Added German language support. 2005-02-23 20:57:51 +00:00
Marcelo Duarte 5cb9507ec1 Use "MS Shell Dlg" everywhere except for Japanese. 2005-02-21 18:38:36 +00:00
Alex Villacís Lasso 18bfe6a095 Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Paul van Schayck 654a00415d Change detection order to: OSS-ALSA-ARTS-JACK. 2005-02-16 17:51:37 +00:00
Dmitry Timoshkov 39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +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
Michael Jung 6c152520f5 Include config.h to reenable reading /etc/fstab on platforms that
support it.
Implemented a black list of mount directories, which should not be
mapped.
Ensure that the user's home directory is mapped.
2005-02-14 21:03:36 +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
Marcelo Duarte 574c0edabb Update the resources for Portuguese. 2005-02-14 11:12:30 +00:00
Michael Jung 5e161ac72a Fixed automatic drive detection for the case that the root directory
is not already mapped.
2005-02-14 11:01:16 +00:00
Alexandre Julliard ba7a43e208 Authors: Américo José Melo <mmodem00@netvisao.pt>, Francois Gouget <fgouget@codeweavers.com>
Translate the Wine resources to Portuguese.
2005-02-10 17:14:15 +00:00
Kris Marsh 9c0d46da47 Fixed window height to show all data properly.
Cleaned up drives->advanced information visuals.
2005-02-08 12:08:20 +00:00
Paul van Schayck 608d8dc64e Clean up about dialog. Remove groupbox, position logo correctly. 2005-02-03 10:41:20 +00:00
Paul van Schayck 08255295e4 Reset the type dropdown when selecting another drive. 2005-01-19 16:59:48 +00:00
Gerald Pfeifer eeca59ff0b Use switch statements instead of if-cascades. Avoid warnings. 2005-01-17 13:41:58 +00:00
Crestez Leonard 3e55df3925 Fix add application (memory error).
Fix apply button lighting up in audio tab.
Fix video tab(crash when checking desktop, apply button not lighting
up.
Deal with invalid Desktop registry value in video tab.
Fix apply button in libraries tab.
Cleaned up and documented all the conversions in the libraries tab.
2005-01-14 19:48:41 +00:00
Mike Hearn fd14bdebd4 Delete the \r not the \n in PRINTERROR. 2005-01-10 14:26:46 +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
Mike Hearn b889e29eb6 Make the UI update properly when the user adds/removes drives. 2005-01-09 18:00:46 +00:00
Mike Hearn c619152344 - Finish off the "Remove Application" button.
- Allow removal of keys from the overlay.
- One or two whitespace fixes.
2005-01-03 14:45:05 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +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
Gerald Pfeifer 61f8e1236d Again rename getkey() and setkey() for FreeBSD. 2004-11-30 21:03:36 +00:00
Gerald Pfeifer 1635947fe0 Fix compilation on systems which do not have <mntent.h>. 2004-11-28 14:53:03 +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
José Manuel Ferrer Ortiz 2a389a6979 Updated Spanish translations. 2004-11-21 15:49:24 +00:00
David Kredba 60865df566 New Czech resources. 2004-10-25 21:54:56 +00:00
Anish Mistry edf17b518e Rename getkey and setkey for FreeBSD. 2004-10-19 23:51:16 +00:00
Marcus Meissner 1b7f954a41 Return out of the default case, assert() is removed with -DNDEBUG. 2004-10-18 19:36:55 +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
Mike Hearn a5ce4ee7aa - introduce keypath() function
- rewrite and clean up appdefaults.c, use a listview rather than
  treeview
- usability tweak: reverse windows version combo so more recent
  versions come first
- usability tweak: improve the add application open dialog box
- add accelerator keys
- enable/disable controls correctly
- begin to standardise on underscore_style for consistency with the
  rest of wine
- comment out the translations for now, the UI will be changing more
- begin phasing out libc malloc in favour of the win32 heap
2004-09-28 03:16:43 +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
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Huw Davies 174e6a5d28 Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif. 2004-08-24 18:33:01 +00:00
Rein Klazes 6d0edef13c Added Dutch translation. 2004-08-22 02:00:38 +00:00
José Manuel Ferrer Ortiz a6b9d70c49 Updated some Spanish translations. 2004-08-04 18:17:10 +00:00
James Hawkins 2169e8da90 Under the Drives tab, remove the 'Windows Drive' section. 2004-07-30 04:19:11 +00:00
James Hawkins 7f274205a8 Rename X11 Driver tab of winecfg to Graphics. 2004-07-30 01:35:13 +00:00
James Hawkins a226175787 Removed the 'Windows Look:' option from winecfg. 2004-07-29 23:56:40 +00:00
James Hawkins 333d2dfe96 Remove the UseTakeFocus option from winecfg. 2004-07-29 02:35:43 +00:00
Ivan Leo Puoti 0eb21bb4dd Added Italian resources. 2004-07-22 19:45:00 +00:00
Marcelo Duarte 0b63877ed1 Visual updates to Winecfg. 2004-07-21 03:03:04 +00:00
Marcelo Duarte 95f067d3cd Update localization for Portuguese language. 2004-07-19 20:09:00 +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 abe9c975a8 Remove the rest of the Tweak look hack. 2004-04-01 21:06:14 +00:00
Chris Morgan bcaac8e158 Invalid "Desktop" values would crash winecfg, use the default value
instead.
2004-03-30 04:34:40 +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
Dimitrie O. Paun ced6ca78b8 Remove the FileSystem option from the drive configuration. 2004-03-12 19:44:04 +00:00
Alexandre Julliard 6be39b60f5 Take advantage of the new winegcc -B support. 2004-03-09 04:54:07 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Alexandre Julliard 6621b2d213 Build all the programs with winegcc. 2004-03-02 21:00:00 +00:00
Robert van Herk 2f1bc74b2e Allow user to choose "native", "native,builtin", "builtin",
"builtin,native" and "disable" for each library they override.
2004-02-17 20:26:15 +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
Marcelo Duarte ab14f1a5a2 Update of Portuguese resources. 2004-01-18 23:18:33 +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
Alexandre Julliard 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Dimitrie O. Paun c0232546bd Make the winehq.org domain the official one. 2003-11-26 03:55:01 +00:00
Marcelo Duarte 61cbe6672a Localization to Portuguese. 2003-11-17 20:03:11 +00:00
Mike Hearn 5454282946 Minor GUI relayout. 2003-10-24 04:18:17 +00:00
Mike Hearn dec10f8a18 Complete support DOS version and winelook settings. 2003-10-22 03:02:26 +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
Dimitrie O. Paun 54e6b0d938 Extract binary resources to files, to fit the standard. 2003-10-03 05:01:33 +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 fae915f0bf Remove Managed option. Add DXGrab, DesktopDoubleBuffer, UseTakeFocus. 2003-09-22 21:13:51 +00:00
Mike Hearn 81be7f7892 Add screen depth option and remove "Allocated System Colors" setting. 2003-09-22 19:26:10 +00:00
Mike Hearn 5d249cb225 - Implement "managed mode" setting.
- Make system colors setting work.
- Disable DGA setting, as enabling it breaks wine.
2003-09-18 04:32:01 +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
Igor Stepin f638678830 Added a lot of Russian translations. 2003-09-17 20:08:20 +00:00
José Manuel Ferrer Ortiz cbc1fd3698 Updated Spanish translation. 2003-09-17 20:03:26 +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 2184030c9a Added a simple TODO list. 2003-09-15 22:09:03 +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
Francois Gouget ae50013017 Fix the case of product and company names. 2003-09-08 19:38:45 +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 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
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
Alexandre Julliard 2b644d60d6 Removed wrong or unneeded codepage pragmas. 2003-08-30 00:17:33 +00:00
Rok Mandeljc d4c1ebabdb Minor updates of Slovenian translations. 2003-08-29 22:21:43 +00:00
Mike Hearn 1df015ae46 Warn users of winecfg about its incompleteness. 2003-08-25 23:50:50 +00:00
José Manuel Ferrer Ortiz 4a0dd81cf1 Some new Spanish translations and improvements to other existing
ones.
2003-08-22 05:03:19 +00:00
Lionel Ulmer 9a7fdc2fbc Remove from docs / config tool useless / obsoleted options. 2003-08-15 03:50:48 +00:00
E. C. F. Wolff 5546a02ef6 Added Windows 2k3. 2003-08-15 03:49:13 +00:00
Dmitry Timoshkov 8a8d1b93ca Added support for CP_UNIXCP. 2003-07-09 04:22:57 +00:00
Marcelo Duarte 5bb472eae1 - localization to the Portuguese of Brazil of "programs/*"
- separation of some resources that only existed in English
- lesser adjustments in menus
2003-06-23 18:15:15 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Matthew Davison 5101dfcdb2 Added some registry-loading code. 2003-04-27 00:33:07 +00:00
Alexandre Julliard c7bebba198 Warning fixes. 2003-04-04 22:13:02 +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