reactos.git
9 years ago[BROWSEUI]
Thomas Faber [Sun, 10 Aug 2014 18:39:05 +0000 (18:39 +0000)]
[BROWSEUI]
- CComObject cannot be a class member and must be allocated using new. Fixes invalid free.

svn path=/trunk/; revision=63853

9 years ago[KERNEL32]
Thomas Faber [Sun, 10 Aug 2014 16:23:05 +0000 (16:23 +0000)]
[KERNEL32]
- Fix an invalid free in DefineDosDeviceW, found by kernel32_apitest:dosdev

svn path=/trunk/; revision=63852

9 years ago[KERNEL32]
Thomas Faber [Sun, 10 Aug 2014 16:20:43 +0000 (16:20 +0000)]
[KERNEL32]
- Fix some style issues in DefineDosDevice

svn path=/trunk/; revision=63851

9 years ago[NTVDM]: Studying ntvdm, we can find the significance of some of the parameters....
Hermès Bélusca-Maïto [Sat, 9 Aug 2014 18:48:31 +0000 (18:48 +0000)]
[NTVDM]: Studying ntvdm, we can find the significance of some of the parameters. Others seem unused.

svn path=/trunk/; revision=63848

9 years ago[SHELL32]
Aleksandar Andrejevic [Sat, 9 Aug 2014 13:40:13 +0000 (13:40 +0000)]
[SHELL32]
- Greatly optimize file icon retrieval by reducing the times we try to access the disk.
- Store icons in a binary tree in the shell icon cache for faster retrieval.
Patch by Huw Campbell committed at the request of Giannis Adamopoulos.

svn path=/trunk/; revision=63845

9 years ago[NTVDM]: Add a compile-time-defined switch to be able to use the RegisterConsoleVDM...
Hermès Bélusca-Maïto [Sat, 9 Aug 2014 13:22:50 +0000 (13:22 +0000)]
[NTVDM]: Add a compile-time-defined switch to be able to use the RegisterConsoleVDM API of ReactOS/Windows, or an emulated one.

svn path=/trunk/; revision=63844

9 years agoFix a typo.
Hermès Bélusca-Maïto [Sat, 9 Aug 2014 10:51:22 +0000 (10:51 +0000)]
Fix a typo.

svn path=/trunk/; revision=63843

9 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 9 Aug 2014 01:39:28 +0000 (01:39 +0000)]
[NTVDM]
Start implementing mouse support.

svn path=/trunk/; revision=63842

9 years ago[WIN32SS]
Sylvain Petreolle [Fri, 8 Aug 2014 16:14:38 +0000 (16:14 +0000)]
[WIN32SS]
Fix new cursoricon implementation build.
Dedicated to Jim and Jérome.

svn path=/trunk/; revision=63840

9 years ago[WIN32SS]
Sylvain Petreolle [Fri, 8 Aug 2014 16:12:23 +0000 (16:12 +0000)]
[WIN32SS]
Fix trace.

svn path=/trunk/; revision=63839

9 years ago[WIN32K]
Sylvain Petreolle [Fri, 8 Aug 2014 16:04:08 +0000 (16:04 +0000)]
[WIN32K]
Formatting only.

svn path=/trunk/; revision=63838

9 years ago[CMAKE]
Jérôme Gardou [Thu, 7 Aug 2014 18:20:46 +0000 (18:20 +0000)]
[CMAKE]
 - separate the custom target and the custom command generating reactos.cab, so that it isn't regenerated each time a bootcd is built
Note to make user: I tried a hack so that the sequence 'make module/fast reactos_cab/fast bootcd/fast' still works, but this is untested. Please use ninja if you really want fast dependency resolution.

svn path=/trunk/; revision=63837

9 years ago[CHARMAP]
Jérôme Gardou [Thu, 7 Aug 2014 15:19:32 +0000 (15:19 +0000)]
[CHARMAP]
 - Correctly include local header

svn path=/trunk/; revision=63835

9 years agoSecond partial merge of the condrv_restructure branch, including additions from revis...
Hermès Bélusca-Maïto [Thu, 7 Aug 2014 13:16:49 +0000 (13:16 +0000)]
Second partial merge of the condrv_restructure branch, including additions from revisions 63818, 63819, 63820 and 63831.
CORE-7931 #comment Second partial merge of the condrv_restructure branch in revision 63834.

svn path=/trunk/; revision=63834

9 years ago[NTOS:OB]
Thomas Faber [Thu, 7 Aug 2014 13:02:59 +0000 (13:02 +0000)]
[NTOS:OB]
- Mark object types as not having ObjectCreateInfo on creation. Otherwise ObpObjectType's TypeList gets corrupted when a handle to an object type is created (as kmtest:ObTypes does) and ObpIncrementHandleCount tries to insert the list entry a second time.
CORE-8423 #resolve

svn path=/trunk/; revision=63833

9 years ago[WIN32K]
Jérôme Gardou [Thu, 7 Aug 2014 11:08:06 +0000 (11:08 +0000)]
[WIN32K]
 - Among a thousand ways to screw a commit, choose dysxelia

svn path=/trunk/; revision=63830

9 years ago[WIN32K]
Jérôme Gardou [Thu, 7 Aug 2014 10:59:54 +0000 (10:59 +0000)]
[WIN32K]
 - Among a thousand ways to loop over a list, choose the simple one.

svn path=/trunk/; revision=63829

9 years ago[NDK]
Jérôme Gardou [Thu, 7 Aug 2014 10:59:48 +0000 (10:59 +0000)]
[NDK]
 - Correct definition of SECTION_OBJECT

svn path=/trunk/; revision=63828

9 years ago[NPFS]
Thomas Faber [Thu, 7 Aug 2014 10:24:07 +0000 (10:24 +0000)]
[NPFS]
- Avoid magic values, remove a few casts and don't name an IO_STATUS_BLOCK Status. No code changes.

svn path=/trunk/; revision=63827

9 years ago[NPFS]
Thomas Faber [Thu, 7 Aug 2014 10:10:02 +0000 (10:10 +0000)]
[NPFS]
- Base data queue entry on the right struct member in NpCompleteStalledWrites. Fixes list entry corruption found in CORE-8419.

svn path=/trunk/; revision=63826

9 years ago[NTOS:OB]
Thomas Faber [Thu, 7 Aug 2014 00:16:21 +0000 (00:16 +0000)]
[NTOS:OB]
- Use ObpTypeObjectType's lock when modifying object type global properties, not the new object type's
- Correctly free string returned by RtlUnicodeStringToAnsiString

svn path=/trunk/; revision=63825

9 years ago[EXPLORER]
Dmitry Gorbachev [Wed, 6 Aug 2014 23:10:17 +0000 (23:10 +0000)]
[EXPLORER]
Use -Wno-error option when building with link-time optimization.

[BROWSEUI]
"Fix" multiple definition of (non-virtual thunk to) QueryInterface errors.
Binutils linker bug.

svn path=/trunk/; revision=63824

9 years ago[NTOSKRNL][PSEH3]
Dmitry Gorbachev [Wed, 6 Aug 2014 23:10:08 +0000 (23:10 +0000)]
[NTOSKRNL][PSEH3]
- Add inline asm dependencies to fix undefined reference errors when
building with link-time optimization.
- Improve formatting.
- No functional changes.

svn path=/trunk/; revision=63823

9 years ago[NTOS/MM]
Jérôme Gardou [Wed, 6 Aug 2014 21:53:57 +0000 (21:53 +0000)]
[NTOS/MM]
 - Call the right delete routine for ARM3 section object
 - Properly free the pages of pagefile-backed segments when those are deleted
 - Put the right assert at the right place in MmUnlinkPageFromList
 - Remove DPRINT from previous commit which is interesting but noisy

svn path=/trunk/; revision=63822

9 years ago[NTOS/MM]
Jérôme Gardou [Wed, 6 Aug 2014 21:53:09 +0000 (21:53 +0000)]
[NTOS/MM]
 - Implement MiResolvePageFileFault
 - Add a debug print showing how many ARM3 pages could be used by the balancer

svn path=/trunk/; revision=63821

9 years ago[SPIDER]
Daniel Reimer [Wed, 6 Aug 2014 12:13:45 +0000 (12:13 +0000)]
[SPIDER]
CORE-8409 #resolve #comment Solution in the middle makes Spider look nice in ROS and not like a stamp AND it fits on 800x600. 640x480 won't be fixed, because having overlapped cards is NO fix, it's plain ugly.

svn path=/trunk/; revision=63817

9 years ago[SPIDER]
Daniel Reimer [Wed, 6 Aug 2014 11:24:31 +0000 (11:24 +0000)]
[SPIDER]
Optimize borders and space to the window frame even more. Hopefully fixes spider being too big for 800x600 problem.
CORE-8409 #comment Committed a "fix", please retest.

svn path=/trunk/; revision=63816

9 years ago[WINED3DCFG]
Daniel Reimer [Wed, 6 Aug 2014 10:09:46 +0000 (10:09 +0000)]
[WINED3DCFG]
PATCH: dialog resource correction for wined3dcfg by Stefan Fuela
CORE-8386 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63815

9 years ago[RAPPS]
Daniel Reimer [Wed, 6 Aug 2014 10:05:38 +0000 (10:05 +0000)]
[RAPPS]
(for database) Many Improvements and Many Fixes by Erdem Ersoy
+ USETUP translation from Bug 7861.
CORE-7710 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63814

9 years ago[TRANSLATION]
Daniel Reimer [Wed, 6 Aug 2014 09:54:57 +0000 (09:54 +0000)]
[TRANSLATION]
Turkish Translation Update by Erdem Ersoy
CORE-7861 #resolve #comment You are crazy fast in translating... Commited, thx ^^

svn path=/trunk/; revision=63813

9 years ago[NTOS:IO]
Thomas Faber [Tue, 5 Aug 2014 18:47:25 +0000 (18:47 +0000)]
[NTOS:IO]
- Fail with the correct status code if MDL allocation fails
CORE-8410

svn path=/trunk/; revision=63812

9 years agoPartial merge of the condrv_restructure branch, including:
Hermès Bélusca-Maïto [Mon, 4 Aug 2014 21:33:20 +0000 (21:33 +0000)]
Partial merge of the condrv_restructure branch, including:
- some consrv/condrv code refactoring for a better code separation,
- make kernel32 / winsrv console CSR structures Win2k3-compliant (see CORE-7931); only Alloc/Attach/FreeConsole APIs are still not Win2k3-compliant.
- fixes for CsrCaptureMessageString and implementation of CsrCaptureMessageMultiUnicodeStringsInPlace .

CORE-7931 #comment Partial merge of the condrv_restructure branch in revision 63810.

svn path=/trunk/; revision=63810

9 years ago[CONDRV]: Quick fix for ASCII strings for ConDrvWriteConsoleOutputString.
Hermès Bélusca-Maïto [Mon, 4 Aug 2014 21:09:46 +0000 (21:09 +0000)]
[CONDRV]: Quick fix for ASCII strings for ConDrvWriteConsoleOutputString.
[CONSRV]: Commit something forgotten from previous revision.

svn path=/branches/condrv_restructure/; revision=63808

9 years ago[KERNEL32]: Remove some FASTCALL.
Hermès Bélusca-Maïto [Mon, 4 Aug 2014 20:25:34 +0000 (20:25 +0000)]
[KERNEL32]: Remove some FASTCALL.

svn path=/branches/condrv_restructure/; revision=63807

9 years ago[CONSRV]
Hermès Bélusca-Maïto [Mon, 4 Aug 2014 20:23:33 +0000 (20:23 +0000)]
[CONSRV]
- Few code reshuffling before more restructuration.
- Some type fixes.

svn path=/branches/condrv_restructure/; revision=63806

9 years ago[CONSRV]: Cosmetic changes only.
Hermès Bélusca-Maïto [Mon, 4 Aug 2014 17:53:00 +0000 (17:53 +0000)]
[CONSRV]: Cosmetic changes only.

svn path=/branches/condrv_restructure/; revision=63805

9 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Mon, 4 Aug 2014 17:13:43 +0000 (17:13 +0000)]
[KERNEL32][CONSRV]
Fix few MSVC dword -> short warnings (basically). Thanks GCC for not having noticed them...

svn path=/branches/condrv_restructure/; revision=63804

9 years ago[KERNEL32]
Hermès Bélusca-Maïto [Mon, 4 Aug 2014 16:25:12 +0000 (16:25 +0000)]
[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

9 years ago[WIN32K]
Jérôme Gardou [Mon, 4 Aug 2014 15:58:53 +0000 (15:58 +0000)]
[WIN32K]
 - Properly mark the DC as containing direty region when copying a new clip region

svn path=/trunk/; revision=63802

9 years ago[CONSRV]
Hermès Bélusca-Maïto [Mon, 4 Aug 2014 14:36:26 +0000 (14:36 +0000)]
[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

9 years ago[CARDS]
Daniel Reimer [Mon, 4 Aug 2014 14:26:51 +0000 (14:26 +0000)]
[CARDS]
Added the first results of my odyssey finding out where the original french cards are from + the known facts regarding the bavarian ones.
Bavarian:
Add the ReactOS Logo into the Bavarian Layout, too.
Remove ugly scanned background 11 and put the former Nr 1 there.
Added a frame around background 12.
French:
Added a frame around background 6.

svn path=/trunk/; revision=63800

9 years ago[CMAKE]
Jérôme Gardou [Mon, 4 Aug 2014 11:05:09 +0000 (11:05 +0000)]
[CMAKE]
 - Use cache to decide whether we use precompiled headers or not.

svn path=/trunk/; revision=63799

9 years ago[ntoskrnl]
Christoph von Wittich [Sun, 3 Aug 2014 19:05:14 +0000 (19:05 +0000)]
[ntoskrnl]
handle the case where the cpu does not support returning the brand name
CORE-7952

svn path=/trunk/; revision=63798

9 years ago[CARDS]
Daniel Reimer [Sun, 3 Aug 2014 14:04:20 +0000 (14:04 +0000)]
[CARDS]
Add borders to the new cards to make some card games look better than ours does. P.S. License stuff is not forgotten, I just have my problems to reach the authors.
CORE-8401 #comment Please retest now again.

svn path=/trunk/; revision=63797

9 years agouser32: Make GetRegisteredRawInputDevices hotpatchable.
Christoph von Wittich [Sun, 3 Aug 2014 05:38:37 +0000 (05:38 +0000)]
user32: Make GetRegisteredRawInputDevices hotpatchable.
Steam tries to hook this function and crashes without DECLSPEC_HOTPATCH.
See http://bugs.winehq.org/show_bug.cgi?id=35361#c48
patch by Stefan Dösinger stefan@codeweavers.com

svn path=/trunk/; revision=63796

9 years ago[KERNEL32]
Hermès Bélusca-Maïto [Fri, 1 Aug 2014 19:03:50 +0000 (19:03 +0000)]
[KERNEL32]
Hack buffer protection check for pInputControl and lpBuffer user buffers.

svn path=/branches/condrv_restructure/; revision=63795

9 years agoSync with trunk r63793.
Hermès Bélusca-Maïto [Fri, 1 Aug 2014 18:39:52 +0000 (18:39 +0000)]
Sync with trunk r63793.

svn path=/branches/condrv_restructure/; revision=63794

9 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Fri, 1 Aug 2014 18:08:29 +0000 (18:08 +0000)]
[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

9 years ago[CONSRV]
Hermès Bélusca-Maïto [Fri, 1 Aug 2014 13:36:44 +0000 (13:36 +0000)]
[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

9 years ago[SAMLIB]
Eric Kohl [Wed, 30 Jul 2014 20:59:53 +0000 (20:59 +0000)]
[SAMLIB]
SampCheckPassword: Implement the character class check.

svn path=/trunk/; revision=63786

9 years ago[CARDS]
Daniel Reimer [Wed, 30 Jul 2014 14:42:29 +0000 (14:42 +0000)]
[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

9 years ago[NDK]
Jérôme Gardou [Wed, 30 Jul 2014 13:11:55 +0000 (13:11 +0000)]
[NDK]
 - Make the MMWSLE structure multi-arch aware

svn path=/trunk/; revision=63784

9 years ago[GAMES]
Daniel Reimer [Wed, 30 Jul 2014 13:07:49 +0000 (13:07 +0000)]
[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

9 years ago[SOLITAIRE]
Daniel Reimer [Wed, 30 Jul 2014 12:00:40 +0000 (12:00 +0000)]
[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

9 years ago[GAMES]
Daniel Reimer [Wed, 30 Jul 2014 11:41:45 +0000 (11:41 +0000)]
[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

9 years ago[OLE32]
Thomas Faber [Wed, 30 Jul 2014 10:21:16 +0000 (10:21 +0000)]
[OLE32]
- Stub CoGetStdMarshalEx, needed by Google Updater
CORE-8385

svn path=/trunk/; revision=63780

9 years ago[NTOS:CM]
Thomas Faber [Wed, 30 Jul 2014 10:08:30 +0000 (10:08 +0000)]
[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

9 years ago[KS]
Thomas Faber [Wed, 30 Jul 2014 07:50:28 +0000 (07:50 +0000)]
[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

9 years ago[NTOS:CM]
Thomas Faber [Tue, 29 Jul 2014 22:21:37 +0000 (22:21 +0000)]
[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

9 years ago[ADVAPI32]
Thomas Faber [Tue, 29 Jul 2014 21:24:24 +0000 (21:24 +0000)]
[ADVAPI32]
- Fix RegQueryInfoKeyW as per CORE-1136

svn path=/trunk/; revision=63776

9 years ago[ADVAPI32]
Thomas Faber [Tue, 29 Jul 2014 21:00:30 +0000 (21:00 +0000)]
[ADVAPI32]
- Don't skip NtQuerySecurityObject calls. The kernel can handle then just fine.

svn path=/trunk/; revision=63775

9 years ago[RTL]
Thomas Faber [Tue, 29 Jul 2014 20:29:14 +0000 (20:29 +0000)]
[RTL]
- Fix copypasta in RtlValidSecurityDescriptor

svn path=/trunk/; revision=63774

9 years ago[CRT]
Thomas Faber [Tue, 29 Jul 2014 16:02:55 +0000 (16:02 +0000)]
[CRT]
- Make some unicode printf functions actually unicode
CORE-7691

svn path=/trunk/; revision=63773

9 years ago[KERNEL32]
Hermès Bélusca-Maïto [Tue, 29 Jul 2014 15:59:17 +0000 (15:59 +0000)]
[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

9 years ago[RAPPS]
Daniel Reimer [Tue, 29 Jul 2014 15:54:58 +0000 (15:54 +0000)]
[RAPPS]
Add NirLauncher to ReactOS downloader by Alex (jedi-to-be)
CORE-7984 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63771

9 years ago[CONSRV]
Hermès Bélusca-Maïto [Tue, 29 Jul 2014 15:54:03 +0000 (15:54 +0000)]
[CONSRV]
Fix returned number of read/write codes.

svn path=/branches/condrv_restructure/; revision=63770

9 years ago[CONSRV]
Hermès Bélusca-Maïto [Tue, 29 Jul 2014 14:00:46 +0000 (14:00 +0000)]
[CONSRV]
Add the optional "number of things read/written" parameters back.

svn path=/branches/condrv_restructure/; revision=63769

9 years agoSimplify code.
Hermès Bélusca-Maïto [Tue, 29 Jul 2014 13:49:03 +0000 (13:49 +0000)]
Simplify code.

svn path=/branches/condrv_restructure/; revision=63768

9 years ago[TRANSLATION]
Daniel Reimer [Tue, 29 Jul 2014 13:38:27 +0000 (13:38 +0000)]
[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

9 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Tue, 29 Jul 2014 13:18:59 +0000 (13:18 +0000)]
[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

9 years ago[TRANSLATION]
Daniel Reimer [Tue, 29 Jul 2014 13:17:00 +0000 (13:17 +0000)]
[TRANSLATION]
general maintenance of Romanian resources by Stefan Fuela
CORE-8334 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63765

9 years ago[CONSRV]
Hermès Bélusca-Maïto [Tue, 29 Jul 2014 12:54:01 +0000 (12:54 +0000)]
[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

9 years agoRemove a billion BOMs from the files...
Daniel Reimer [Tue, 29 Jul 2014 11:57:27 +0000 (11:57 +0000)]
Remove a billion BOMs from the files...
@ Translators: We use UTF-8 without ANY BOM. Thx

svn path=/trunk/; revision=63763

9 years ago[RAPPS]
Daniel Reimer [Tue, 29 Jul 2014 11:56:38 +0000 (11:56 +0000)]
[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

9 years ago[RAPPS]
Daniel Reimer [Tue, 29 Jul 2014 11:30:52 +0000 (11:30 +0000)]
[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

9 years ago[TRANSLATION]
Daniel Reimer [Tue, 29 Jul 2014 10:29:37 +0000 (10:29 +0000)]
[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

9 years ago[NTDLL:LDR]
Thomas Faber [Tue, 29 Jul 2014 10:29:22 +0000 (10:29 +0000)]
[NTDLL:LDR]
- Fix a DPRINT

svn path=/trunk/; revision=63759

9 years ago[AMSTREAM_WINETEST][QUARTZ_WINETEST]
Thomas Faber [Tue, 29 Jul 2014 07:56:08 +0000 (07:56 +0000)]
[AMSTREAM_WINETEST][QUARTZ_WINETEST]
- Enable skipped tests
ROSTESTS-116 #resolve
ROSTESTS-123

svn path=/trunk/; revision=63758

9 years ago[QUARTZ][STRMBASE]
Thomas Faber [Tue, 29 Jul 2014 07:49:06 +0000 (07:49 +0000)]
[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

9 years ago[DSOUND]
Thomas Faber [Tue, 29 Jul 2014 07:32:47 +0000 (07:32 +0000)]
[DSOUND]
- Do not call CoUninitialize if CoInitialize failed.
ROSTESTS-123

svn path=/trunk/; revision=63756

9 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Tue, 29 Jul 2014 00:00:21 +0000 (00:00 +0000)]
[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

9 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Mon, 28 Jul 2014 21:20:36 +0000 (21:20 +0000)]
[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

9 years ago[KERNEL32]
Hermès Bélusca-Maïto [Mon, 28 Jul 2014 13:37:54 +0000 (13:37 +0000)]
[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

9 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Mon, 28 Jul 2014 13:20:54 +0000 (13:20 +0000)]
[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

9 years ago[WIN32K]
Jérôme Gardou [Mon, 28 Jul 2014 13:03:25 +0000 (13:03 +0000)]
[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

9 years ago[WIN32K]
Jérôme Gardou [Mon, 28 Jul 2014 13:03:19 +0000 (13:03 +0000)]
[WIN32K]
 - Pass the right arguments to the driver-supplied function when deleting a DRIVEROBJ

svn path=/trunk/; revision=63748

9 years ago[OPENGL32]
Jérôme Gardou [Mon, 28 Jul 2014 13:03:10 +0000 (13:03 +0000)]
[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

9 years ago[LIBUSB]
Thomas Faber [Mon, 28 Jul 2014 12:22:35 +0000 (12:22 +0000)]
[LIBUSB]
- Don't output spurious failure message "There was no pending IRP for SCE" if everything is fine.

svn path=/trunk/; revision=63746

9 years ago[MSGINA]
Eric Kohl [Sun, 27 Jul 2014 21:05:42 +0000 (21:05 +0000)]
[MSGINA]
- Implement the legal notice dialog.
- Rename ReadRegSzKey to ReadRegSzValue.
- Rename ReadRegDwordKey to ReadRegDwordValue.

svn path=/trunk/; revision=63745

9 years agoSync with trunk r63743.
Hermès Bélusca-Maïto [Sun, 27 Jul 2014 20:52:13 +0000 (20:52 +0000)]
Sync with trunk r63743.

svn path=/branches/condrv_restructure/; revision=63744

9 years ago[WIN32K]
Jérôme Gardou [Sat, 26 Jul 2014 15:53:20 +0000 (15:53 +0000)]
[WIN32K]
 - Hack around a bug (tm)

svn path=/trunk/; revision=63743

9 years ago[WIN32K]
Jérôme Gardou [Sat, 26 Jul 2014 15:41:33 +0000 (15:41 +0000)]
[WIN32K]
 - Avoid useless casts
 - Add a few debug prints
 - Add sanity check

svn path=/trunk/; revision=63742

9 years ago[WIN32K]
Jérôme Gardou [Sat, 26 Jul 2014 15:41:25 +0000 (15:41 +0000)]
[WIN32K]
 - Explicitly initialize PropListItems

svn path=/trunk/; revision=63741

9 years ago[WIN32K]
Jérôme Gardou [Sat, 26 Jul 2014 15:41:21 +0000 (15:41 +0000)]
[WIN32K]
 - Some more DPRINT -> DEBUGCHANNEL

svn path=/trunk/; revision=63740

9 years ago[WIN32K]
Jérôme Gardou [Sat, 26 Jul 2014 15:41:08 +0000 (15:41 +0000)]
[WIN32K]
 - Improve the WNDOBJ/CLIPOBJ hack by using the same internal structure for both object.
This way a driver can enumerate WNDOBJ::coClient safely.
Also take this as an opportunity to get rid of DC::ros_dc.

svn path=/trunk/; revision=63739

9 years ago[WIN32K]
Jérôme Gardou [Sat, 26 Jul 2014 15:40:57 +0000 (15:40 +0000)]
[WIN32K]
 - Do not offset the window visible region when creating the WNDOBJ, it's already fine

svn path=/trunk/; revision=63738

9 years ago[WIN32K]
Jérôme Gardou [Sat, 26 Jul 2014 15:40:44 +0000 (15:40 +0000)]
[WIN32K]
 - Use debug channel for debug outputs

svn path=/trunk/; revision=63737

9 years ago[NTOS/MM]
Jérôme Gardou [Fri, 25 Jul 2014 22:13:35 +0000 (22:13 +0000)]
[NTOS/MM]
 - First implementation of NtProtectVirtualMemory with Transition PTE
 - Release PTE frame page after erasing the PTE to avoid useless page fault

svn path=/trunk/; revision=63736

9 years ago[WIN32K]
Jérôme Gardou [Fri, 25 Jul 2014 10:56:50 +0000 (10:56 +0000)]
[WIN32K]
 - Improve parameter checking in NtGdiExtSelectClipRgn
 - Update the DC clipping regions before getting the clipbox

svn path=/trunk/; revision=63735

9 years ago[NTOS:CC]
Thomas Faber [Thu, 24 Jul 2014 08:40:51 +0000 (08:40 +0000)]
[NTOS:CC]
- Remove useless list entry from ROS_VACB

svn path=/trunk/; revision=63734