reactos.git
11 years ago[ADVAPI32]
Eric Kohl [Sat, 22 Sep 2012 09:23:38 +0000 (09:23 +0000)]
[ADVAPI32]
Implement LsaGetUserName and LsaOpenTrustedDomain.

svn path=/trunk/; revision=57361

11 years ago[KERNEL32]
Thomas Faber [Sat, 22 Sep 2012 09:18:34 +0000 (09:18 +0000)]
[KERNEL32]
- Fix buffer overflow in PeekNamedPipe

svn path=/trunk/; revision=57360

11 years ago[KMTEST:IO]
Thomas Faber [Fri, 21 Sep 2012 22:12:47 +0000 (22:12 +0000)]
[KMTEST:IO]
- Add a test for IoCreateNotificationEvent/IoCreateSynchronizationEvent

svn path=/trunk/; revision=57359

11 years ago[ADVAPI32]
Eric Kohl [Fri, 21 Sep 2012 17:19:54 +0000 (17:19 +0000)]
[ADVAPI32]
- Implement LsaClearAuditLog.
- Sort functions, update function headers and trace-messages.

svn path=/trunk/; revision=57358

11 years ago* Exclude host tools when setting the default build type.
Amine Khaldi [Fri, 21 Sep 2012 14:35:19 +0000 (14:35 +0000)]
* Exclude host tools when setting the default build type.

svn path=/trunk/; revision=57357

11 years ago* Make CMAKE_BUILD_TYPE default to Debug for all our builds.
Amine Khaldi [Fri, 21 Sep 2012 14:29:02 +0000 (14:29 +0000)]
* Make CMAKE_BUILD_TYPE default to Debug for all our builds.

svn path=/trunk/; revision=57356

11 years ago[RTL]
Thomas Faber [Thu, 20 Sep 2012 20:46:08 +0000 (20:46 +0000)]
[RTL]
- Separate condition calculation in RtlVerifyVersionInfo into an extra function. Patch by Hermès Bélusca (2/X)
- Don't make the Hungarian more ridiculous than it needs to be
CORE-6611

svn path=/trunk/; revision=57355

11 years ago[NTOSKRNL][NTDLL][RTL][KERNEL32]
Thomas Faber [Thu, 20 Sep 2012 19:53:14 +0000 (19:53 +0000)]
[NTOSKRNL][NTDLL][RTL][KERNEL32]
- Code simplification and clarification for version-reporting functionality. Patch by Hermès Bélusca (1/X)
CORE-6611

svn path=/trunk/; revision=57354

11 years ago[QMGR_WINETESTS]
Thomas Faber [Thu, 20 Sep 2012 15:41:32 +0000 (15:41 +0000)]
[QMGR_WINETESTS]
- Skip all qmgr tests because they cause timeouts on testbot. This should hopefully be fixed soon and they can be re-enabled.
CORE-6536

svn path=/trunk/; revision=57353

11 years ago[ADVAPI32/LSASRV]
Eric Kohl [Thu, 20 Sep 2012 13:44:24 +0000 (13:44 +0000)]
[ADVAPI32/LSASRV]
Implement LsaQuerySecret/LsarQuerySecret. Does not work due to bugs in widl.

svn path=/trunk/; revision=57352

11 years ago[LSASRV]
Eric Kohl [Thu, 20 Sep 2012 11:29:45 +0000 (11:29 +0000)]
[LSASRV]
LsarSetInfromationPolicy: Check desired access depending on the information class.
LsarLookupPrivilegeValue / LsarLookupPrivilegeName: Check desired access.

svn path=/trunk/; revision=57351

11 years ago[TRANSLATION]
Olaf Siejka [Thu, 20 Sep 2012 11:15:16 +0000 (11:15 +0000)]
[TRANSLATION]
- hungarian calc translation by Nagy Tibor(xnagytibor at gmail dot com); CORE-6511 #resolve #comment Commited. Thanks for your work
- dutch rapps translation update by stijnsanders (stijn at yoy dot be); CORE-6540 #resolve #comment Commited. Thanks for your work

svn path=/trunk/; revision=57350

11 years ago[NTOSKRNL] Typo fail, real fix.
Alex Ionescu [Thu, 20 Sep 2012 08:20:24 +0000 (08:20 +0000)]
[NTOSKRNL] Typo fail, real fix.

svn path=/trunk/; revision=57349

11 years ago[NTOSKRNL]: CORE-6675 #resolve #time 5h #comment Fixed the ASSERTion by increasing...
Alex Ionescu [Thu, 20 Sep 2012 07:44:43 +0000 (07:44 +0000)]
[NTOSKRNL]: CORE-6675 #resolve #time 5h #comment Fixed the ASSERTion by increasing system view space to 36MB instead of 20MB. Note that the real bug is that we never free desktop heaps. But why fix the bug when the only thing people care about is "fix the tests!". So let's fix the tests instead of the bug :) Also, fix a bug in MiCheckForSessionPde which broke user32_apitest. All should be good now.

svn path=/trunk/; revision=57348

11 years ago[NTOSKRNL]: DACL and SACL should only be returned if the control flag indicates that...
Alex Ionescu [Thu, 20 Sep 2012 00:04:42 +0000 (00:04 +0000)]
[NTOSKRNL]: DACL and SACL should only be returned if the control flag indicates that they are present.

svn path=/trunk/; revision=57347

11 years ago[NTOSKRNL]: MOAR TEH SESSION SPACE PLZ. KTHXBAI.
Alex Ionescu [Wed, 19 Sep 2012 23:26:39 +0000 (23:26 +0000)]
[NTOSKRNL]: MOAR TEH SESSION SPACE PLZ. KTHXBAI.

svn path=/trunk/; revision=57346

11 years ago[CRT]
Timo Kreuzer [Wed, 19 Sep 2012 22:33:13 +0000 (22:33 +0000)]
[CRT]
Implement mbstowcs_s. passes all crt apitests.

svn path=/trunk/; revision=57345

11 years agoFix rostests build
Timo Kreuzer [Wed, 19 Sep 2012 21:40:56 +0000 (21:40 +0000)]
Fix rostests build

svn path=/trunk/; revision=57344

11 years ago[CRT_APITEST]
Timo Kreuzer [Wed, 19 Sep 2012 21:20:09 +0000 (21:20 +0000)]
[CRT_APITEST]
Add tests for mbstowcs_s

svn path=/trunk/; revision=57343

11 years ago[CRT]
Timo Kreuzer [Wed, 19 Sep 2012 21:03:27 +0000 (21:03 +0000)]
[CRT]
- Fix some MSVC warnings
- Comment out files with duplicated functions
See CORE-6684

svn path=/trunk/; revision=57342

11 years ago[PSDK]
Timo Kreuzer [Wed, 19 Sep 2012 20:36:05 +0000 (20:36 +0000)]
[PSDK]
- Add _Check_return_opt and _Check_return_wat_ annotations
[WINE]
- Add ok_size_t(), ok_char() and ok_wstr() to test.h

svn path=/trunk/; revision=57341

11 years ago[LSASRV]
Eric Kohl [Wed, 19 Sep 2012 15:33:48 +0000 (15:33 +0000)]
[LSASRV]
LsarQueryInfromationPolicy: Check desired access depending on the information class.

svn path=/trunk/; revision=57340

11 years ago[IOLOGMSG]
Eric Kohl [Wed, 19 Sep 2012 13:34:56 +0000 (13:34 +0000)]
[IOLOGMSG]
Build iologmsg.dll.

svn path=/trunk/; revision=57339

11 years ago[SAMSRV/SYSSETUP]
Eric Kohl [Wed, 19 Sep 2012 12:59:47 +0000 (12:59 +0000)]
[SAMSRV/SYSSETUP]
Use proper access rights in calls to LsaOpenPolicy.

svn path=/trunk/; revision=57338

11 years ago[BOOTDATA]
Thomas Faber [Wed, 19 Sep 2012 12:51:37 +0000 (12:51 +0000)]
[BOOTDATA]
- Re-enable /KDSERIAL

svn path=/trunk/; revision=57337

11 years ago[BOOTDATA]
Thomas Faber [Wed, 19 Sep 2012 12:51:13 +0000 (12:51 +0000)]
[BOOTDATA]
- Disable /KDSERIAL for a quick test
CORE-6678

svn path=/trunk/; revision=57336

11 years ago[LSASRV]
Eric Kohl [Wed, 19 Sep 2012 12:26:22 +0000 (12:26 +0000)]
[LSASRV]
Revert accidential changes from r57331.

svn path=/trunk/; revision=57335

11 years ago[FORMATTING]
Eric Kohl [Wed, 19 Sep 2012 12:20:39 +0000 (12:20 +0000)]
[FORMATTING]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=57334

11 years ago[NTOSKRNL]
Thomas Faber [Wed, 19 Sep 2012 06:54:42 +0000 (06:54 +0000)]
[NTOSKRNL]
- Correctly show the amount of available memory in the serial debug log. Patch by Hermès Bélusca (2/2)
CORE-6635 #comment Committed. Thanks. #resolve

svn path=/trunk/; revision=57333

11 years ago[NTOSKRNL]
Thomas Faber [Wed, 19 Sep 2012 06:09:22 +0000 (06:09 +0000)]
[NTOSKRNL]
- Fix indentation in kdio.c. No code changes. Patch by Hermès Bélusca (1/2)
CORE-6635

svn path=/trunk/; revision=57332

11 years ago[RTL]: Cleanup all the ACL functions. Mostly refactoring, commenting and styling...
Alex Ionescu [Wed, 19 Sep 2012 02:32:58 +0000 (02:32 +0000)]
[RTL]: Cleanup all the ACL functions. Mostly refactoring, commenting and styling, but there are a few important changes. First, RtlValidateAcl actually does the whole ACL validation algorithm. Second, mandatory label ACEs are not supported, because we shouldn't lie about Vista features in ntdll/kernel code.

svn path=/trunk/; revision=57331

11 years ago[WIN32K]: And all along I thought I had committed this... I guess it must work pretty...
Alex Ionescu [Wed, 19 Sep 2012 01:56:28 +0000 (01:56 +0000)]
[WIN32K]: And all along I thought I had committed this... I guess it must work pretty well if I never noticed the difference :). This patch makes Win32k use session space instead of system space, now that we've had session space for a while. tkreuzer: review?

svn path=/trunk/; revision=57330

11 years ago[WIN32K]
Timo Kreuzer [Tue, 18 Sep 2012 22:01:38 +0000 (22:01 +0000)]
[WIN32K]
make sure at least one rect is allocated in REGION_PtsToRegion. Fixes failed assertion when starting pacman4000 (the game itself doesn't work though)
CORE-5431 #resolve

svn path=/trunk/; revision=57329

11 years ago[ADVAPI32/SERVICES]
Eric Kohl [Tue, 18 Sep 2012 21:54:43 +0000 (21:54 +0000)]
[ADVAPI32/SERVICES]
This patch fixes various things, from Coverity code defects to conversion
warnings :

- CID 715948 (logically dead code @ services/rpcserver.c)
- try to fix CID 716332/3 (resource leaks) by rewriting the ScmReadString
function (@ services/config.c)
- zero out the freshly allocated memory (@ services)
- try to fix CID 716126/7/8 (untrusted value as argument @
advapi32/services/sctrl.c)

Fix also some "size_t to DWORD" warnings on x64 build (@
advapi32/services/scm.c).

Patch by Hermes BELUSCA - MAITO.
Fixes CORE-6606.

svn path=/trunk/; revision=57328

11 years ago[NTOSKRNL]
Amine Khaldi [Tue, 18 Sep 2012 21:49:41 +0000 (21:49 +0000)]
[NTOSKRNL]
* Remove spurious parenthesis.

svn path=/trunk/; revision=57327

11 years ago[WIN32SS]
Amine Khaldi [Tue, 18 Sep 2012 21:45:00 +0000 (21:45 +0000)]
[WIN32SS]
* Mark some the lack of parameters in some functions using VOID. Clang now happily compiles them.

svn path=/trunk/; revision=57326

11 years ago[WIN32K]
Timo Kreuzer [Tue, 18 Sep 2012 20:55:15 +0000 (20:55 +0000)]
[WIN32K]
Allow passing NULL to EngFreeMem, like on Windows.
Fixes mode switching with cirrus driver on qemu.
CORE-6335 #resolve

svn path=/trunk/; revision=57325

11 years ago[SKEL_SERVICE]
Eric Kohl [Tue, 18 Sep 2012 20:37:51 +0000 (20:37 +0000)]
[SKEL_SERVICE]
The HandlerEx control handler is DWORD WINAPI, not VOID WINAPI .
Patch by Hermes BELUSCA - MAITO.
Fixes ROSAPPS-243.

svn path=/trunk/; revision=57324

11 years ago[MAGNIFY]
Timo Kreuzer [Tue, 18 Sep 2012 11:05:24 +0000 (11:05 +0000)]
[MAGNIFY]
Fix display of formerly trucated info text in German language.
Patch by Robert Naumann (robert dot naumann at ovgu dot de)
CORE-6218 #resolve

svn path=/trunk/; revision=57323

11 years ago[PSEH3]
Timo Kreuzer [Mon, 17 Sep 2012 23:13:02 +0000 (23:13 +0000)]
[PSEH3]
Remove excessive '\'

svn path=/trunk/; revision=57322

11 years ago[WIDL]
Timo Kreuzer [Mon, 17 Sep 2012 22:43:37 +0000 (22:43 +0000)]
[WIDL]
Add VS9 build workaround for widl, like done for wpp.
CORE-6636 #resolve

svn path=/trunk/; revision=57321

11 years ago[FATX]
Timo Kreuzer [Mon, 17 Sep 2012 22:37:58 +0000 (22:37 +0000)]
[FATX]
Restore padding that I commented out to find out the size of the boot sector.

svn path=/trunk/; revision=57320

11 years ago[FATX]
Timo Kreuzer [Mon, 17 Sep 2012 21:44:55 +0000 (21:44 +0000)]
[FATX]
Rewrite FAT bootsector. It's written to eventually replace FAT12, FAT16 and FAT32 bootsectors using the same code. Currently only used for FAT16. The complete (!) code to load freeldr has been put into a single 512 byte sector. CHS support is not implemented atm, but there's plenty space left (41 bytes). Fixes boot on harddisks smaller than 513 MB.
CORE-6610 #resolve

svn path=/trunk/; revision=57319

11 years agowinetest addition that QueryInterface with NULL dest behaves as it should.
Mike Nordell [Mon, 17 Sep 2012 20:33:22 +0000 (20:33 +0000)]
winetest addition that QueryInterface with NULL dest behaves as it should.

svn path=/trunk/; revision=57318

11 years agoMS-compatible but interface contract violating return value for QueryInterface with...
Mike Nordell [Mon, 17 Sep 2012 20:27:02 +0000 (20:27 +0000)]
MS-compatible but interface contract violating return value for QueryInterface with NULL ppvObject.

svn path=/trunk/; revision=57317

11 years ago[DEVMGMT]
Eric Kohl [Sun, 16 Sep 2012 22:59:36 +0000 (22:59 +0000)]
[DEVMGMT]
Do not enumerate the root device.
Fixes CORE-6592.

svn path=/trunk/; revision=57316

11 years ago[DEVMGR]
Eric Kohl [Sun, 16 Sep 2012 21:28:43 +0000 (21:28 +0000)]
[DEVMGR]
Replace $1 by %1 in message strings.
Patch by Hermes BELUSCA - MAITO.
Fixes CORE-6638.

svn path=/trunk/; revision=57315

11 years ago[INF]
Eric Kohl [Sun, 16 Sep 2012 21:01:06 +0000 (21:01 +0000)]
[INF]
Add german translations of device classes.

svn path=/trunk/; revision=57314

11 years ago* Don't use -momit-leaf-frame-pointer in debug gcc builds, it messes up stack traces.
Amine Khaldi [Sun, 16 Sep 2012 12:57:22 +0000 (12:57 +0000)]
* Don't use -momit-leaf-frame-pointer in debug gcc builds, it messes up stack traces.
* Remove it from the amd64 gcc builds too.

svn path=/trunk/; revision=57313

11 years ago[LIBUSB]: Handle configuration descriptors partial reads. By Jérôme Gardou.
Amine Khaldi [Sun, 16 Sep 2012 12:44:39 +0000 (12:44 +0000)]
[LIBUSB]: Handle configuration descriptors partial reads. By Jérôme Gardou.
CORE-6634 #resolve

svn path=/trunk/; revision=57312

11 years ago[User32Test]
James Tabor [Sun, 16 Sep 2012 01:09:00 +0000 (01:09 +0000)]
[User32Test]
- Update msg test to wine 1.5.13.

svn path=/trunk/; revision=57311

11 years agoFix crash in xmlnodelist_QueryInterface. Solves CORE-6665.
Mike Nordell [Sat, 15 Sep 2012 21:41:46 +0000 (21:41 +0000)]
Fix crash in xmlnodelist_QueryInterface. Solves CORE-6665.

svn path=/trunk/; revision=57310

11 years agoDisable crashing usermode test. See CORE-6640.
Mike Nordell [Sat, 15 Sep 2012 19:39:14 +0000 (19:39 +0000)]
Disable crashing usermode test. See CORE-6640.

svn path=/trunk/; revision=57309

11 years agoDisable more crashing font tests.
Mike Nordell [Sat, 15 Sep 2012 19:31:48 +0000 (19:31 +0000)]
Disable more crashing font tests.

svn path=/trunk/; revision=57308

11 years ago{CSRSRV]
Timo Kreuzer [Sat, 15 Sep 2012 16:33:30 +0000 (16:33 +0000)]
{CSRSRV]
Silence an uninformative DPRINT

svn path=/trunk/; revision=57307

11 years ago[WPP]
Timo Kreuzer [Sat, 15 Sep 2012 16:15:54 +0000 (16:15 +0000)]
[WPP]
Fix WDK build.

svn path=/trunk/; revision=57306

11 years ago* Change newinflib to inflib.
Amine Khaldi [Sat, 15 Sep 2012 16:04:32 +0000 (16:04 +0000)]
* Change newinflib to inflib.
CORE-6662 #resolve

svn path=/trunk/; revision=57305

11 years ago[WPP]
Timo Kreuzer [Sat, 15 Sep 2012 15:59:06 +0000 (15:59 +0000)]
[WPP]
Fix build with VS 9
CORE-6636 #resolve

svn path=/trunk/; revision=57304

11 years ago[INFLIB]
Eric Kohl [Sat, 15 Sep 2012 14:31:50 +0000 (14:31 +0000)]
[INFLIB]
Remove inflib because it has been replaced by newinflib.

svn path=/trunk/; revision=57303

11 years ago[CMAKE]
Amine Khaldi [Sat, 15 Sep 2012 13:56:13 +0000 (13:56 +0000)]
[CMAKE]
* Don't add the whole absolute path to GCC for preprocessing when creating RC dependency files in Ninja builds.. that complicates the already complicated quoting needs here.

svn path=/trunk/; revision=57302

11 years agoTempoarily patch away SEGV-inducing code. See JIRA 6660 and 6661.
Mike Nordell [Sat, 15 Sep 2012 00:04:58 +0000 (00:04 +0000)]
Tempoarily patch away SEGV-inducing code. See JIRA 6660 and 6661.

svn path=/trunk/; revision=57301

11 years agoTempoarily patch away SEGV-inducing code. See JIRA 6659.
Mike Nordell [Fri, 14 Sep 2012 22:46:37 +0000 (22:46 +0000)]
Tempoarily patch away SEGV-inducing code. See JIRA 6659.

svn path=/trunk/; revision=57300

11 years agoMake GpGraphics save/restore state id's a bit more like Windows. Fixes a winetest...
Mike Nordell [Fri, 14 Sep 2012 21:26:45 +0000 (21:26 +0000)]
Make GpGraphics save/restore state id's a bit more like Windows. Fixes a winetest graphics state check failure.

svn path=/trunk/; revision=57299

11 years ago[MSXML3]
Thomas Faber [Fri, 14 Sep 2012 17:22:44 +0000 (17:22 +0000)]
[MSXML3]
- Make a copy of the data type information instead of writing to the (read-only) .rsrc section. Already applied upstream.
CORE-6645 #comment Should be fixed. Can you retest with HEAD please?

svn path=/trunk/; revision=57298

11 years ago[HAL]: Automatically generate the embedded PCI database. By Hermès Bélusca with impro...
Amine Khaldi [Fri, 14 Sep 2012 13:14:47 +0000 (13:14 +0000)]
[HAL]: Automatically generate the embedded PCI database. By Hermès Bélusca with improvements from me.
CORE-6654 #resolve #comment Patch committed. Thanks !

svn path=/trunk/; revision=57297

11 years ago[HOST-TOOLS/BIN2C]: Add bin2c host tool, to be used for embedding binary files inside...
Amine Khaldi [Fri, 14 Sep 2012 11:12:40 +0000 (11:12 +0000)]
[HOST-TOOLS/BIN2C]: Add bin2c host tool, to be used for embedding binary files inside C source code, by transforming them into a byte array. By Hermès Bélusca.
CORE-6653 #resolve Committed to trunk. Cheers ;)

svn path=/trunk/; revision=57296

11 years ago[RTL]
Timo Kreuzer [Fri, 14 Sep 2012 09:56:23 +0000 (09:56 +0000)]
[RTL]
Implement RtlpSafeCopyMemory, which uses SEH to copy the memory (not in freeldr)
Make RtlLargeIntegerToChar use RtlpSafeCopyMemory to copy the string to the target buffer.
CORE-3767 #resolve

svn path=/trunk/; revision=57295

11 years ago[WIN32K]
Timo Kreuzer [Thu, 13 Sep 2012 23:02:49 +0000 (23:02 +0000)]
[WIN32K]
Fix a bug in TranslateCOLORREF(). It was depending on pdc->pSurface to be set.

svn path=/trunk/; revision=57294

11 years ago[WIN32SS]
Jérôme Gardou [Thu, 13 Sep 2012 21:49:32 +0000 (21:49 +0000)]
[WIN32SS]
* Properly implement GetNearestColor

svn path=/trunk/; revision=57293

11 years ago* Reapply r57265 now that the testbot issues are solved.
Amine Khaldi [Thu, 13 Sep 2012 21:07:44 +0000 (21:07 +0000)]
* Reapply r57265 now that the testbot issues are solved.
[UNIATA]: Sync to 0.43f5.
[ATACTL]: Sync to 0.43f5.
CORE-6563 #comment Committed the 0.43f5 sync.

svn path=/trunk/; revision=57292

11 years ago[User32]
James Tabor [Thu, 13 Sep 2012 20:44:04 +0000 (20:44 +0000)]
[User32]
- Aric Stewart : While calculating lines, discard uniscribe data for non-visible lines.
- Nikolay Sivov : Release uniscribe data on Edit control destruction (valgrind).
- Sync Port wine.
- Someone needs to post a wine bug report due to the lack of support for Ctrl+Backspace. Debug fixme was added. See bug 1419.

svn path=/trunk/; revision=57291

11 years ago[Win32SS]
James Tabor [Thu, 13 Sep 2012 01:22:33 +0000 (01:22 +0000)]
[Win32SS]
- Based on wine Alexandre Julliard: ScrollWindow should not use a cached DC, unlike ScrollWindowEx.

svn path=/trunk/; revision=57290

11 years ago[NDIS]
Cameron Gutman [Thu, 13 Sep 2012 01:04:21 +0000 (01:04 +0000)]
[NDIS]
- NdisReadConfiguration should return NdisParameterInteger for requests for NdisParameterHexInteger
- Assert that conversion to integer from string does not fail
- Always trigger the ISR function if MiniportInitialize or MiniportHalt is executing

CORE-6064 #comment Please try to replicate with DEBUG_ULTRA turned on in NDIS

svn path=/trunk/; revision=57289

11 years agoAdd comment explaining initialization.
Mike Nordell [Thu, 13 Sep 2012 00:52:12 +0000 (00:52 +0000)]
Add comment explaining initialization.

svn path=/trunk/; revision=57288

11 years ago[FREELDR]
Timo Kreuzer [Wed, 12 Sep 2012 21:20:48 +0000 (21:20 +0000)]
[FREELDR]
Fix an x64 compilation warning
Patch by Hermes Belusca
CORE-6641

svn path=/trunk/; revision=57287

11 years ago[GDI32]
Timo Kreuzer [Wed, 12 Sep 2012 18:17:10 +0000 (18:17 +0000)]
[GDI32]
Fix SetTextAlign:
- return GDI_ERROR (-1) not 0 on error
- properly handle LAYOUT_RTL

svn path=/trunk/; revision=57286

11 years ago[NTOSKRNL]: I fail.
Alex Ionescu [Wed, 12 Sep 2012 17:06:49 +0000 (17:06 +0000)]
[NTOSKRNL]: I fail.

svn path=/trunk/; revision=57285

11 years ago[NTOSKRNL]: Use the token lock acquire/release macros that were already written inste...
Alex Ionescu [Wed, 12 Sep 2012 16:29:28 +0000 (16:29 +0000)]
[NTOSKRNL]: Use the token lock acquire/release macros that were already written instead of manually doing it. Also fix the macros since they didn't work in GCC.
No functional change, just code cleanup.

svn path=/trunk/; revision=57284

11 years ago[FREELDR]
Timo Kreuzer [Tue, 11 Sep 2012 21:15:39 +0000 (21:15 +0000)]
[FREELDR]
Finally commit the patch to improve freeldr disk performance by Carlo Bramini.
Obviously someone wants to read 0 bytes and that should not fail.

svn path=/trunk/; revision=57283

11 years ago[KMIXER]
Thomas Faber [Tue, 11 Sep 2012 21:13:21 +0000 (21:13 +0000)]
[KMIXER]
- Fix Pin_fnFastWrite return value in failure case. Patch by Vincenzo Cotugno

svn path=/trunk/; revision=57282

11 years ago[FREELDR]
Timo Kreuzer [Tue, 11 Sep 2012 19:11:56 +0000 (19:11 +0000)]
[FREELDR]
Revert once again. testbot hates me. sigh...

svn path=/trunk/; revision=57281

11 years ago[FREELDR/SETUPLDR]
Amine Khaldi [Tue, 11 Sep 2012 18:10:29 +0000 (18:10 +0000)]
[FREELDR/SETUPLDR]
* Make freeldr_common depend on bugcodes and remove this dependency from the other targets.
* Improve those conditions readability a bit.

svn path=/trunk/; revision=57280

11 years agoMake FPU exception dispatching work (more?) properly.
Mike Nordell [Tue, 11 Sep 2012 17:34:49 +0000 (17:34 +0000)]
Make FPU exception dispatching work (more?) properly.

svn path=/trunk/; revision=57279

11 years ago[FREELDR]
Timo Kreuzer [Tue, 11 Sep 2012 17:34:09 +0000 (17:34 +0000)]
[FREELDR]
Apply Carlos patch again, but use MaxSectors = 1 for now. That should result in the exact identical behaviour as before.

svn path=/trunk/; revision=57278

11 years ago[SYSSETUP]
Thomas Faber [Tue, 11 Sep 2012 17:08:38 +0000 (17:08 +0000)]
[SYSSETUP]
- Use a writable buffer for lpCommandLine in CreateProcessW. Simplify starting of control panel applets. Patch by Hermès Bélusca.
- CORE-6570 #resolve #comment We need FishEye ;)

svn path=/trunk/; revision=57277

11 years ago[FREELDR]
Timo Kreuzer [Tue, 11 Sep 2012 14:45:24 +0000 (14:45 +0000)]
[FREELDR]
- Remove the FILESYSBUFFER from the memory layout, grow the DISKREADBUFFER to 64 KB

svn path=/trunk/; revision=57276

11 years agorevert r57274. Looks like testbot doesn't like it.
Timo Kreuzer [Tue, 11 Sep 2012 12:17:38 +0000 (12:17 +0000)]
revert r57274. Looks like testbot doesn't like it.

svn path=/trunk/; revision=57275

11 years ago[FREELDR]
Timo Kreuzer [Tue, 11 Sep 2012 11:45:47 +0000 (11:45 +0000)]
[FREELDR]
- Remove the FILESYSBUFFER from the memory layout, grow the DISKREADBUFFER to 64 KB
- Make use of the full disk buffer when reading sectors, speeds up hdd boot process by about a factor of 2, patch by Carlo Bramini
- See CORE-6071

svn path=/trunk/; revision=57274

11 years agoFirst tiny step towards fixing floating point exception handling.
Mike Nordell [Tue, 11 Sep 2012 06:05:11 +0000 (06:05 +0000)]
First tiny step towards fixing floating point exception handling.

svn path=/trunk/; revision=57273

11 years agoUnbreak MSVC build.
Mike Nordell [Tue, 11 Sep 2012 05:14:33 +0000 (05:14 +0000)]
Unbreak MSVC build.

svn path=/trunk/; revision=57272

11 years agoHopefully unbreak MSVC build.
Mike Nordell [Tue, 11 Sep 2012 04:52:19 +0000 (04:52 +0000)]
Hopefully unbreak MSVC build.

svn path=/trunk/; revision=57271

11 years agoTest for SetUnhandledExceptionFilter actually rerturning what it should.
Mike Nordell [Tue, 11 Sep 2012 04:34:03 +0000 (04:34 +0000)]
Test for SetUnhandledExceptionFilter actually rerturning what it should.

svn path=/trunk/; revision=57270

11 years agoMake SetUnhandledExceptionFilter return the _previous_ handler as it should. Fixes...
Mike Nordell [Tue, 11 Sep 2012 03:50:20 +0000 (03:50 +0000)]
Make SetUnhandledExceptionFilter return the _previous_ handler as it should. Fixes at least a winetest for ntdll (MinGW startup code got stuck in infinite loop due to this bug)

svn path=/trunk/; revision=57269

11 years agoUpdate rapps to new Versions
Daniel Reimer [Mon, 10 Sep 2012 21:08:55 +0000 (21:08 +0000)]
Update rapps to new Versions

svn path=/trunk/; revision=57268

11 years ago[FREELDR]
Timo Kreuzer [Mon, 10 Sep 2012 20:53:39 +0000 (20:53 +0000)]
[FREELDR]
Stop using the FILESYSBUFFER. It's a 64 KB memory region statically set up int the lower 1MB address space. This memory is rare and it doesn't make sense to put the buffer there, since it's only used to copy the data from the DISKREADBUFFER (which *must* be in the lower 1MB) to a temporary location to copy it to some other location afterwards. It's replaced with temporary heap buffers and direct reads, where possible. Also Don't read a full FAT cluster, when only a part of it is required.

svn path=/trunk/; revision=57267

11 years ago* Revert r57265 until the testbot issues caused by earlier revisions are fixed.
Amine Khaldi [Mon, 10 Sep 2012 20:45:26 +0000 (20:45 +0000)]
* Revert r57265 until the testbot issues caused by earlier revisions are fixed.

svn path=/trunk/; revision=57266

11 years ago[UNIATA]: Sync to 0.43f5.
Amine Khaldi [Mon, 10 Sep 2012 19:38:32 +0000 (19:38 +0000)]
[UNIATA]: Sync to 0.43f5.
[ATACTL]: Sync to 0.43f5.

svn path=/trunk/; revision=57265

11 years ago[CMLIB]: Forgot part of last patch.
Alex Ionescu [Mon, 10 Sep 2012 15:32:43 +0000 (15:32 +0000)]
[CMLIB]: Forgot part of last patch.

svn path=/trunk/; revision=57264

11 years ago[NTOSKRNL]: CORE-6491 #resolve #comment Implement hive list support by hbelusca,...
Alex Ionescu [Mon, 10 Sep 2012 15:25:26 +0000 (15:25 +0000)]
[NTOSKRNL]: CORE-6491 #resolve #comment Implement hive list support by hbelusca, with some minor cleanups by me. Loaded hives are now in the hivelist key.

svn path=/trunk/; revision=57263

11 years ago[NTOSKRNL]: CORE-6597 #resolve #time 5m #comment Fix incorrect double list increment
Alex Ionescu [Mon, 10 Sep 2012 15:00:16 +0000 (15:00 +0000)]
[NTOSKRNL]: CORE-6597 #resolve #time 5m #comment Fix incorrect double list increment

svn path=/trunk/; revision=57262