Commit graph

58089 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 9fd5cfb5f8 [KERNEL32]
Add a bunch of missing _SEH_YIELD in 'return' clues in _SEH_TRY clauses.

[KERNEL32][CONSRV]
Make kernel32 / winsrv console CSR structures Win2k3-compliant for Read/WriteConsoleOutput functions.
The last missing ones are Alloc/Attach/FreeConsole APIs!!

Part 9/10

CORE-7931

svn path=/branches/condrv_restructure/; revision=63803
2014-08-04 16:25:12 +00:00
Hermès Bélusca-Maïto e9c6ccbd0f [CONSRV]
Fix memory section protection flag, that made console settings application fail since some recent work on virtual memory...

svn path=/branches/condrv_restructure/; revision=63801
2014-08-04 14:36:26 +00:00
Hermès Bélusca-Maïto 43ee1612b1 [KERNEL32]
Hack buffer protection check for pInputControl and lpBuffer user buffers.

svn path=/branches/condrv_restructure/; revision=63795
2014-08-01 19:03:50 +00:00
Hermès Bélusca-Maïto bf136052c0 Sync with trunk r63793.
svn path=/branches/condrv_restructure/; revision=63794
2014-08-01 18:39:52 +00:00
Hermès Bélusca-Maïto 22c9e139a1 [KERNEL32][CONSRV]
- Make kernel32 / winsrv console CSR structures Win2k3-compliant for Read/WriteConsole functions.
  An attentive code reader will see that there are structure members in CONSOLE_WRITECONSOLE that are
  indeed unused by kernel32 that can be used in ReactOS for undocumented extensions of WriteConsole...
  (for instance, adding a parameter for ANSI codes support, who knows!... :P)
- Fix a bit the support for the CONSOLE_READCONSOLE_CONTROL parameter in ReadConsole (for unicode only).
- Use the actual exe name for command history management, given via a hackish way by ReadConsole:
  the exe name is passed via the 80-byte-length limited static buffer, and is of course retrieved before
  actually using the static buffer (if needed).

[CONSRV]
- Fix writing input events in the console, but first preprocessing them for pausing commands (we treat them separately and remove them),
  then, in case we write many single events, we merge them in case they are mouse moves or repeated key down presses. This helps in not
  overflowing too quickly the input buffer, and that fixes all the remaining kernel32:console winetests!! (see CORE-8256)
- Use the actual exe name for command history management, given via a hackish way by ReadConsole (blame MS!)

Part 8/X

CORE-7931
CORE-8256 #resolve #comment Fixed in the condrv_restructure branch in revision .

svn path=/branches/condrv_restructure/; revision=63793
2014-08-01 18:08:29 +00:00
Hermès Bélusca-Maïto ac51557c0a [CONSRV]
- Start a better fix for the mouse event problem described in r62739.
- Add a hack for the problem described in CORE-8394, that fixes some Far Manager mouse issues.
CORE-8394

svn path=/branches/condrv_restructure/; revision=63792
2014-08-01 13:36:44 +00:00
Eric Kohl 8ff6c2d1c6 [SAMLIB]
SampCheckPassword: Implement the character class check.

svn path=/trunk/; revision=63786
2014-07-30 20:59:53 +00:00
Daniel Reimer 599b47acb0 [CARDS]
Replace the old ugly 16 color cards with better looking ones. (From: http://www.united3dartists.com/forum/viewtopic.php?f=31&t=954)
Remove 10 of 12 backgrounds and add some CARD backgrounds, no ugly bubble images and stuff. 8 of 10 from my own card decks. 2 others are from deviantart image search.
Modify the ReactOS card background to look way better.
Now both, Bavarian and French cards look nicely and make our Solitaire and Spider look way more modern.

svn path=/trunk/; revision=63785
2014-07-30 14:42:29 +00:00
Jérôme Gardou b8a5316184 [NDK]
- Make the MMWSLE structure multi-arch aware

svn path=/trunk/; revision=63784
2014-07-30 13:11:55 +00:00
Daniel Reimer 22c4f629fb [GAMES]
I was asked why we do that resize at all in the background selection. It looks sorta ugly. So... Now it's full size. Dialogues modified accordingly.

svn path=/trunk/; revision=63783
2014-07-30 13:07:49 +00:00
Daniel Reimer 1837d8d069 [SOLITAIRE]
My bad, I forgot to move the whole cards drawn centralized a bit higher to have the missing frame below, but not additional space above making the frame waaay bigger.

svn path=/trunk/; revision=63782
2014-07-30 12:00:40 +00:00
Daniel Reimer bb04b17cfd [GAMES]
Add some borders in Spider and Solitaire around the location the cards will be drawn in. Now cards don't touch the frame anymore.
Increase the size of the card background previews. Now you will even see some details of them. Increase the selection dialog size accordingly. 

svn path=/trunk/; revision=63781
2014-07-30 11:41:45 +00:00
Thomas Faber 5aefebbb44 [OLE32]
- Stub CoGetStdMarshalEx, needed by Google Updater
CORE-8385

svn path=/trunk/; revision=63780
2014-07-30 10:21:16 +00:00
Thomas Faber 4a5e1b6f4e [NTOS:CM]
- Improve the hack from r63777 to return an allow-Everyone DACL. Fixes crash in advapi32:security.
CORE-8383 #resolve

svn path=/trunk/; revision=63779
2014-07-30 10:08:30 +00:00
Thomas Faber fd1986de3a [KS]
- Use correct buffer size in KspStartBusDevice. Spotted by Víctor Martínez
- Avoid wcscpy in kernel mode while we're at it

svn path=/trunk/; revision=63778
2014-07-30 07:50:28 +00:00
Thomas Faber 602fd06fa1 [NTOS:CM]
- Return a valid security descriptor for keys, even though it's hacked. Based on code removed in r26704.
CORE-8382 #resolve #comment Fixed, now we fail with E_FAIL instead. Hurray.

svn path=/trunk/; revision=63777
2014-07-29 22:21:37 +00:00
Thomas Faber 0e1dff05eb [ADVAPI32]
- Fix RegQueryInfoKeyW as per CORE-1136

svn path=/trunk/; revision=63776
2014-07-29 21:24:24 +00:00
Thomas Faber 0f63f7e80c [ADVAPI32]
- Don't skip NtQuerySecurityObject calls. The kernel can handle then just fine.

svn path=/trunk/; revision=63775
2014-07-29 21:00:30 +00:00
Thomas Faber bbe1e6a3ae [RTL]
- Fix copypasta in RtlValidSecurityDescriptor

svn path=/trunk/; revision=63774
2014-07-29 20:29:14 +00:00
Thomas Faber 4944a87c1b [CRT]
- Make some unicode printf functions actually unicode
CORE-7691

svn path=/trunk/; revision=63773
2014-07-29 16:02:55 +00:00
Hermès Bélusca-Maïto d06d5833ea [KERNEL32]
- It is supposed that user buffers are valid, and if not, access to them is protected with SEH. This fixes almost all of the kernel32_winetest:console tests.
- Add parameter annotations.

svn path=/branches/condrv_restructure/; revision=63772
2014-07-29 15:59:17 +00:00
Daniel Reimer ed834ebfdf [RAPPS]
Add NirLauncher to ReactOS downloader by Alex (jedi-to-be)
CORE-7984 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63771
2014-07-29 15:54:58 +00:00
Hermès Bélusca-Maïto 2ae25e18a8 [CONSRV]
Fix returned number of read/write codes.

svn path=/branches/condrv_restructure/; revision=63770
2014-07-29 15:54:03 +00:00
Hermès Bélusca-Maïto 4a285f0633 [CONSRV]
Add the optional "number of things read/written" parameters back.

svn path=/branches/condrv_restructure/; revision=63769
2014-07-29 14:00:46 +00:00
Hermès Bélusca-Maïto 5ce6a6c12b Simplify code.
svn path=/branches/condrv_restructure/; revision=63768
2014-07-29 13:49:03 +00:00
Daniel Reimer 056928a4b1 [TRANSLATION]
rapps: (for database) Many Improvements and Many Fixes by Erdem Ersoy
CORE-7710 #resolve #comment Committed and hopefully worked around all conflicts I generated today, thx.

svn path=/trunk/; revision=63767
2014-07-29 13:38:27 +00:00
Hermès Bélusca-Maïto 2d9a888371 [KERNEL32][CONSRV]
- Use a CODE_ELEMENT structure in order to simplify the code.
- Do not do an on-place ansi to unicode conversion.

svn path=/branches/condrv_restructure/; revision=63766
2014-07-29 13:18:59 +00:00
Daniel Reimer a503bdba07 [TRANSLATION]
general maintenance of Romanian resources by Stefan Fuela
CORE-8334 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63765
2014-07-29 13:17:00 +00:00
Hermès Bélusca-Maïto 6f772ac651 [CONSRV]
Add diagnostics ASSERTs for MultiByteToWideChar & its companion (the source and target pointers must not be the same, otherwise it doesn't work).

svn path=/branches/condrv_restructure/; revision=63764
2014-07-29 12:54:01 +00:00
Daniel Reimer c3db4c4f79 Remove a billion BOMs from the files...
@ Translators: We use UTF-8 without ANY BOM. Thx

svn path=/trunk/; revision=63763
2014-07-29 11:57:27 +00:00
Daniel Reimer 8f17c3145b [RAPPS]
Due to popular demand, add MikTEX, Ghostscript and GSview to RAPPS.
CORE-8315 #resolve #comment As you wish, added.
CORE-8316 #resolve #comment As you wish, added.

svn path=/trunk/; revision=63762
2014-07-29 11:56:38 +00:00
Daniel Reimer 00f9d13810 [RAPPS]
Database update:
Update to most recent Versions.
Change 7-zip to the MSI Installer.
Remove all those "(FIXME)" added by Erdem.

svn path=/trunk/; revision=63761
2014-07-29 11:30:52 +00:00
Daniel Reimer 279b802d17 [TRANSLATION]
system: German translation fixes + new translation of SUBST by zehnvor
Subst translation added to application by me.
CORE-8268 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63760
2014-07-29 10:29:37 +00:00
Thomas Faber f5ce4355d6 [NTDLL:LDR]
- Fix a DPRINT

svn path=/trunk/; revision=63759
2014-07-29 10:29:22 +00:00
Thomas Faber cea117cf74 [AMSTREAM_WINETEST][QUARTZ_WINETEST]
- Enable skipped tests
ROSTESTS-116 #resolve
ROSTESTS-123

svn path=/trunk/; revision=63758
2014-07-29 07:56:08 +00:00
Thomas Faber da7e9b8445 [QUARTZ][STRMBASE]
- Fix use-after-free on critical sections, which caused test hangs. Also fix some memory leaks. More fixes coming with the next Wine-sync, but this should be enough to get tests working.
ROSTESTS-116

svn path=/trunk/; revision=63757
2014-07-29 07:49:06 +00:00
Thomas Faber bfbe72017a [DSOUND]
- Do not call CoUninitialize if CoInitialize failed.
ROSTESTS-123

svn path=/trunk/; revision=63756
2014-07-29 07:32:47 +00:00
Hermès Bélusca-Maïto 19e30db97b [KERNEL32][CONSRV]
- Make kernel32 / winsrv console CSR structures Win2k3-compliant for Read/WriteConsoleCharacter/Attribute and FillConsoleOutputCharacter/Attribute functions.
  The underlying CONSOLE_READOUTPUTCODE and CONSOLE_WRITEOUTPUTCODE structures are the same.
  It should be noticed, as for the Read/WriteConsoleInput functions of r63754 and the other Read/WriteConsole*** functions, that for performance purposes Windows uses a local buffer for "small" sizes;
  we should do the same too because both the client and the server use the number of elements to actually read/write in order to determine which buffer one should use (local or some shared buffer).
- Some memcpy --> RtlCopyMemory.

Part 7/X

CORE-7931

svn path=/branches/condrv_restructure/; revision=63755
2014-07-29 00:00:21 +00:00
Hermès Bélusca-Maïto e9c7111b66 [KERNEL32][CONSRV]
- Make kernel32 / winsrv console CSR structures Win2k3-compliant for Read/WriteConsoleInput functions.
- Really fix some ASSERTS from r63108.

Part 6/X

CORE-7931

svn path=/branches/condrv_restructure/; revision=63754
2014-07-28 21:20:36 +00:00
Hermès Bélusca-Maïto dd733c2951 [KERNEL32]
- No need to use another NTSTATUS variable, since all of the information is already contained in ApiMessage.Status.
- Do not hardcode the type of the request variables in the sizeofs used in the CsrClientCallServer calls.

svn path=/branches/condrv_restructure/; revision=63753
2014-07-28 13:37:54 +00:00
Hermès Bélusca-Maïto b06a89c070 [KERNEL32][CONSRV]
Make kernel32 / winsrv console CSR structures Win2k3-compliant.

- Fix UNICODE and ANSI versions of the Alias and History APIs. Tested with unicode and ansi version of our doskey.exe
- Implement GetNumberOfConsoleMouseButtons.

Part 5/X

CORE-7931

svn path=/branches/condrv_restructure/; revision=63751
2014-07-28 13:20:54 +00:00
Jérôme Gardou 775b9bc1ed [WIN32K]
- Properly send WOC_RGN_CLIENT to the GDI driver when window client region changes
 - Increment CLIPOBJ::iUniq so that drivers know that something changed
 - Some improvements in win32k side of opengl pixel format selection
 - Hack around atom collision between the kernel atom table and the win32k one
Now vmware ICD does something decent, even if you can use it only once per ReactOS session (!)

svn path=/trunk/; revision=63749
2014-07-28 13:03:25 +00:00
Jérôme Gardou addf99a079 [WIN32K]
- Pass the right arguments to the driver-supplied function when deleting a DRIVEROBJ

svn path=/trunk/; revision=63748
2014-07-28 13:03:19 +00:00
Jérôme Gardou b6f852e3a4 [OPENGL32]
- Free resources when unloading the DLL
 - avoid potential crash in wglDescribePixelFormat
 - Prefer HW accelerated pixel formats in wglChoosePixelFormat
 - Try forwarding ICD functions to win32k when relevant (untested!)

svn path=/trunk/; revision=63747
2014-07-28 13:03:10 +00:00
Thomas Faber 84fa6f66f3 [LIBUSB]
- Don't output spurious failure message "There was no pending IRP for SCE" if everything is fine.

svn path=/trunk/; revision=63746
2014-07-28 12:22:35 +00:00
Eric Kohl b665986eb6 [MSGINA]
- Implement the legal notice dialog.
- Rename ReadRegSzKey to ReadRegSzValue.
- Rename ReadRegDwordKey to ReadRegDwordValue.

svn path=/trunk/; revision=63745
2014-07-27 21:05:42 +00:00
Hermès Bélusca-Maïto 9ed2e0b5bc Sync with trunk r63743.
svn path=/branches/condrv_restructure/; revision=63744
2014-07-27 20:52:13 +00:00
Jérôme Gardou f637c9716a [WIN32K]
- Hack around a bug (tm)

svn path=/trunk/; revision=63743
2014-07-26 15:53:20 +00:00
Jérôme Gardou 2d6704f615 [WIN32K]
- Avoid useless casts
 - Add a few debug prints
 - Add sanity check

svn path=/trunk/; revision=63742
2014-07-26 15:41:33 +00:00
Jérôme Gardou 6d7085f177 [WIN32K]
- Explicitly initialize PropListItems

svn path=/trunk/; revision=63741
2014-07-26 15:41:25 +00:00