Commit graph

26867 commits

Author SHA1 Message Date
Hervé Poussineau 873c9d539e Cleanup GetDirectory(), GetFilename() and GetExtension() usage
svn path=/trunk/; revision=29012
2007-09-12 07:04:32 +00:00
Andrew Greenwood b453ee14e3 Modified WINE's winmm.dll to support loading of user-installable drivers
from the registry 'Drivers' and 'Drivers32' keys, as Windows does. Also 
silenced the beep-MIDI driver (which is supported by winmm! - but 
doesn't seem to do much, at least under vmware.)

Added some Drivers32 entries to be loaded by default, to the hivesft.inf 
file.


svn path=/trunk/; revision=29011
2007-09-12 00:29:07 +00:00
Ged Murphy 48345d7b1d make the apps icon a bit neater
svn path=/trunk/; revision=29010
2007-09-11 21:56:25 +00:00
Ged Murphy 2f0dcbcdef delete comments
svn path=/trunk/; revision=29006
2007-09-11 13:06:20 +00:00
Ged Murphy b7d1b4a8f8 - Send the SERVICE_STATUS_HANDLE to the SCM so SetServiceStatus has something to work with
- Add control code to stop, pause and resume services and forward it onto the service control handler

svn path=/trunk/; revision=29005
2007-09-11 12:59:38 +00:00
Ged Murphy c047522694 - store the SERVICE_STATUS_HANDLE and use it for setting service status
- add functionality for controlling services

svn path=/trunk/; revision=29004
2007-09-11 12:56:22 +00:00
Aleksey Bragin 108d48388e - When media is changed, set VolumeDevice's DO_VERIFY_VOLUME flag so it actually gets verified.
- IoVerifyVolume() actually gives two successful statuses - STATUS_SUCCESS and STATUS_WRONG_VOLUME. Respect that when processing an device ioctl.
- "Inability to change CD after boot" issue is fixed.

svn path=/trunk/; revision=29002
2007-09-11 10:29:03 +00:00
Hervé Poussineau cf9e10327c Rename strFile/strDirectory to a more meaningful name, and move them to appropriate place
svn path=/trunk/; revision=29000
2007-09-11 07:14:32 +00:00
Ged Murphy 5425875734 fix the service name to match the registry key
svn path=/trunk/; revision=28999
2007-09-10 22:28:34 +00:00
Eric Kohl f9e9cc03c6 - Enumerate short and long date formats.
- Use the currently selected locale id instead of LOCALE_USER_DEFAULT.

svn path=/trunk/; revision=28998
2007-09-10 22:16:01 +00:00
Eric Kohl 9fe96d7b9b Add missing definitions of EnumDateFormats.
svn path=/trunk/; revision=28997
2007-09-10 22:13:52 +00:00
Eric Kohl edc540afb1 - Enumerate time formats.
- The user must able to change the locale id. Move it into a global structure.
- User the selected locale id instead of LOCALE_USER_DEFAULT.

svn path=/trunk/; revision=28996
2007-09-10 20:46:27 +00:00
Eric Kohl 4c8cd18f0e - Change the currently selected locale id instead of LOCALE_USER_DEFAULT.
- Let the user choose between 0 and 9 fractional digits.
- Fix a typo: SendMesssgeW --> SendMessage.

svn path=/trunk/; revision=28995
2007-09-10 20:40:27 +00:00
Aleksey Bragin 6f31706927 - Separate creating partitions objects into a different function (CreatePartitionsObject()).
- Slightly improve the logic of accessing the partitions list.

svn path=/trunk/; revision=28993
2007-09-10 16:25:48 +00:00
Eric Kohl 743a10f834 Add missing quotation mark and enable the german translation again.
svn path=/trunk/; revision=28992
2007-09-10 13:31:48 +00:00
Hervé Poussineau 0ee69eac89 Fix File::GetFullPath()
svn path=/trunk/; revision=28991
2007-09-10 13:20:32 +00:00
Hervé Poussineau d1a39218b2 Continue rbuild cleanup (File class)
svn path=/trunk/; revision=28990
2007-09-10 13:13:16 +00:00
Hervé Poussineau f19c8990fb Disable german resource file as it breaks build
svn path=/trunk/; revision=28989
2007-09-10 13:00:42 +00:00
Hervé Poussineau 5f5a00646d Fix rbuild files
svn path=/trunk/; revision=28988
2007-09-10 12:21:50 +00:00
Daniel Reimer c04b494d38 Bug 2643: Ukrainian translation update (temarez@yandex.ru)
Fixes in English RC file of Input and a German Translation by myself.

svn path=/trunk/; revision=28987
2007-09-10 10:59:21 +00:00
Hervé Poussineau 621618fbbb Continue rbuild cleanup (Include class)
svn path=/trunk/; revision=28986
2007-09-10 06:52:07 +00:00
James Tabor f53a2fd07d We are using it now,,, so clean up before use.
svn path=/trunk/; revision=28985
2007-09-10 05:37:57 +00:00
Aleksey Bragin f22e04dc25 - Use IoBuildAsynchronousFsdRequest() instead of IoBuildDeviceIoControlRequest()
- Use completion routine for completing that type of requests

svn path=/trunk/; revision=28984
2007-09-09 18:32:30 +00:00
Aleksey Bragin 19dc9c4a64 - Make sure CLASS2 driver returns STATUS_UNSUCCESSFUL if receiving a RESET_DEVICE ioctl.
svn path=/trunk/; revision=28983
2007-09-09 17:06:14 +00:00
Aleksey Bragin 109fe2a8fd - IoMapTransfer(NULL, ..) is an old-fashioned way, for DMA master. Changing this back to NULL, since ReactOS's implementation seem to take this into account.
svn path=/trunk/; revision=28982
2007-09-09 16:19:24 +00:00
Aleksey Bragin 6481e255c2 - Revert 27476: another attempt (previously, dgorbachev tried to "fix" this code) to double-release spinlocks. There are even comments in some uncertain cases about this.
For future generations: Have a look at SpiGetNextLunRequest(), it's full of KeReleaseSpinLock()s.

svn path=/trunk/; revision=28980
2007-09-09 14:45:38 +00:00
Colin Finck 45acb6f960 Revert r28972, the pshpack*.h and poppack.h headers are in "include/psdk".
So we're still sharing some small headers with host and target :-(

svn path=/trunk/; revision=28979
2007-09-09 13:12:28 +00:00
Aleksey Bragin 4521f6387a - Revert 28967, and fix the real issue where an overwrite occured (in KiMoveApcState()).
svn path=/trunk/; revision=28978
2007-09-09 13:00:14 +00:00
Eric Kohl 621fbe2cc1 - Remove the WS_SORT style from all comboboxes but the language and location lists in order to display list items in the desired order.
svn path=/trunk/; revision=28977
2007-09-09 12:44:33 +00:00
Aleksey Bragin 0857585ce4 - HACK: Create a missing VRefresh key when installing VMWare's video driver. This solution was proposed long time ago by Herve Poussineau and very recently by Gregor Brunmar. Now VMWare's video driver finally can work as expected, resolution setting works also (tested up to 1400x1050).
- TODO: VRefresh key is absent in the installation .inf, and should be somehow either ignored, or created by something else (not the installer).

svn path=/trunk/; revision=28976
2007-09-09 12:42:45 +00:00
Aleksey Bragin 19b92eb8ab - Improve videoprt's debug messages when accessing registry parameters.
svn path=/trunk/; revision=28975
2007-09-09 12:39:11 +00:00
Art Yerkes 4c33a58449 Mask values that control inheritability of the handle, and don't affect access.
svn path=/trunk/; revision=28973
2007-09-09 12:21:22 +00:00
Colin Finck 1f2057ff37 Remove the references to the "include/psdk" directory from "unicode", "wmc" and "wrc". Due to recent changes, they are not needed anymore.
svn path=/trunk/; revision=28972
2007-09-09 12:12:19 +00:00
Art Yerkes 10b515935a Don't dereference the object unless we actually referenced it. Cygwin apps
no longer bugcheck reactos when abnormally terminating.

svn path=/trunk/; revision=28971
2007-09-09 11:09:56 +00:00
Aleksey Bragin b4bf4d4ce9 Changes partly based on a patch and ideas by Gregor Brunmar <gregor.brunmar@home.se>:
- Fix size argument in calls to RegQueryValueEx() (if some fails, it may not be equal to sizeof(DWORD)).
- If it's impossible to read settings from vmware's registry key, obtain current screen settings and pass them.

svn path=/trunk/; revision=28970
2007-09-09 11:04:22 +00:00
Aleksey Bragin 87351e3290 - Fix typos in debug messages.
svn path=/trunk/; revision=28969
2007-09-09 10:36:52 +00:00
Aleksey Bragin 2769ad4a93 - Fix build by adding Wine-specific language definitions to WRC
- Revert 28965 and 28966 as unnecessary

svn path=/trunk/; revision=28968
2007-09-09 10:11:04 +00:00
Art Yerkes 1fa5be2cf7 Correct size of KAPC_STATE to fit in the [23] window of PKTHREAD. This is
neccessary, otherwise the APC booleans interfere with FreezeCount.

svn path=/trunk/; revision=28967
2007-09-09 09:49:35 +00:00
Magnus Olsen 8b5e1d5a72 comment out ESPERANTO and WALON languishes file, for it is not supported in windows
svn path=/trunk/; revision=28966
2007-09-09 09:44:43 +00:00
Magnus Olsen b90953ec15 comment out ESPERANTO languishes file, for it is not supported in windows
svn path=/trunk/; revision=28965
2007-09-09 09:38:55 +00:00
Hervé Poussineau 5d0fb46096 Continue rbuild cleanup (Module class)
svn path=/trunk/; revision=28964
2007-09-09 07:53:40 +00:00
Art Yerkes 8be848bceb Fix inverted logic in suspending process. Now this is symmetric with the
corresponding thaw.

svn path=/trunk/; revision=28963
2007-09-09 07:39:45 +00:00
Art Yerkes 4c4c882824 Add 2-byte packing for the DWORD size that follows the 'BM' signature.
svn path=/trunk/; revision=28962
2007-09-09 05:04:32 +00:00
Colin Finck d9bcc676f8 Temporary "fix" to get explorer to build again.
Someone please look why wrc fails for this particular file (logov.bmp). I'm out of ideas.

svn path=/trunk/; revision=28961
2007-09-08 22:32:24 +00:00
Eric Kohl 1f47962cc3 - Add sorting page and show it if a language that supports multiple sorting methods has been selected.
svn path=/trunk/; revision=28960
2007-09-08 22:27:41 +00:00
Colin Finck 3c9b25c337 - Revert my previous attempts to fix the "wmc" and "wrc" builds
- Use "typedefs_host.h" in both components now
- wrc needs *MANY* definitions from the Windows headers, therefore I created a new file "wrcrostypes.h", which contains all these definitions.

svn path=/trunk/; revision=28959
2007-09-08 21:40:36 +00:00
Colin Finck 47eb99dcf6 - Solve our wchar_t host problems the easy way by defining WCHAR to "unsigned short" (thx KJK for the hint)
- Revert my changes to the "unicode" module in r28411 and r28423
- Include "typedefs_host.h" instead of the Windows headers in "wine/unicode.h", this component doesn't depend on target headers anymore.
  To get it to work completely without Windows headers, I also had to copy some definitions from <winnls.h> to the "wine/unicode.h" file.

svn path=/trunk/; revision=28957
2007-09-08 19:50:20 +00:00
Hervé Poussineau 252118319f Let ImportLibrary class use the FileLocation concept.
I disabled def files in codeblocks and msvc backends, someone will have to update them

svn path=/trunk/; revision=28956
2007-09-08 19:27:07 +00:00
Colin Finck f77c414397 - Set g_nMatrixSpeed to 10 as the default value (150 is higher than the maximum value). Same fix is also found in Version 3.0 of the original Matrix ScreenSaver.
Under Windows NT, 2000 and XP up to SP1, this fix is not needed as the SetTimer behaviour is different there, but XP SP2 and Server 2003 have a different SetTimer behaviour (which now also applies to ReactOS).
  See http://msdn2.microsoft.com/en-us/library/ms644906.aspx for more details.
- Remove all the MSVC stuff from the translation files to get them to compile with MSVC ^^
  Sounds stupid, but the files include a non-existing "afxres.h", which lead to an error in MSVC.
- Include <stdlib.h> in "settings.c" for malloc.
- Use UCHAR values instead of int's for ParseCommandLine and chOption.
  MSVC has an assertion (ch >= 0 && ch <= 255) in the isdigit function, so negative values would lead to an error here. (for example, when no arguments are given and the variable contains lots of crap)

We still need to "merge" the cool new stuff from Matrix 3.0 :-)

svn path=/trunk/; revision=28955
2007-09-08 19:04:47 +00:00
Aleksey Bragin 19a10e41da - Don't unlock a not locked TEXTOBJ. Solves booting issue under vmware.
svn path=/trunk/; revision=28954
2007-09-08 18:44:33 +00:00