reactos.git
10 years ago[WINSRV]: Update the description.
Hermès Bélusca-Maïto [Fri, 11 Apr 2014 02:06:03 +0000 (02:06 +0000)]
[WINSRV]: Update the description.

svn path=/trunk/; revision=62704

10 years ago- Fix penitential crash.
James Tabor [Fri, 11 Apr 2014 00:24:30 +0000 (00:24 +0000)]
- Fix penitential crash.

svn path=/trunk/; revision=62703

10 years ago[Win32k]
James Tabor [Thu, 10 Apr 2014 23:32:34 +0000 (23:32 +0000)]
[Win32k]
- Add write back for HCBT_MOVESIZE.

svn path=/trunk/; revision=62702

10 years ago[SYSDM]
Eric Kohl [Thu, 10 Apr 2014 21:51:29 +0000 (21:51 +0000)]
[SYSDM]
- Improve the paging file management code.
- Display no paging file and system managed paging file in the list.
- Do not display the total paging file size because the calculated value is rubbish. Will be fixed next.

svn path=/trunk/; revision=62701

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Thu, 10 Apr 2014 20:24:49 +0000 (20:24 +0000)]
[CONSRV]
Fix Insert mode.

svn path=/trunk/; revision=62700

10 years ago[TRANSLATIONS]
Amine Khaldi [Thu, 10 Apr 2014 13:33:27 +0000 (13:33 +0000)]
[TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=62699

10 years ago[Win32k]
James Tabor [Thu, 10 Apr 2014 01:29:26 +0000 (01:29 +0000)]
[Win32k]
- Create call message filter for internal use.

svn path=/trunk/; revision=62698

10 years ago[USETUP]
Eric Kohl [Wed, 9 Apr 2014 21:49:30 +0000 (21:49 +0000)]
[USETUP]
Add a default pagefile entry to the registry.

svn path=/trunk/; revision=62697

10 years ago[NtUser|User32]
James Tabor [Wed, 9 Apr 2014 20:50:03 +0000 (20:50 +0000)]
[NtUser|User32]
- Sync port (more) from wine to update code before move and test. See CORE-7447.

svn path=/trunk/; revision=62696

10 years ago[KMTESTS:NPFS]
Thomas Faber [Wed, 9 Apr 2014 18:00:33 +0000 (18:00 +0000)]
[KMTESTS:NPFS]
- Add some (pretty incomplete) tests for NPFS Create, Connect and Read/Write operations
CORE-7451

svn path=/trunk/; revision=62695

10 years ago[CONTROL]
Hermès Bélusca-Maïto [Wed, 9 Apr 2014 12:29:57 +0000 (12:29 +0000)]
[CONTROL]
- Remove undeeded files.
- Fully convert the app to UNICODE.
- Code cleanup.

svn path=/trunk/; revision=62694

10 years ago[NtUser|User32]
James Tabor [Wed, 9 Apr 2014 01:26:19 +0000 (01:26 +0000)]
[NtUser|User32]
- Start moving system control functions into Win32k. See CORE-7447.
- Sync port from wine to update code before move and test.

svn path=/trunk/; revision=62692

10 years ago[RTL]
Thomas Faber [Tue, 8 Apr 2014 21:04:47 +0000 (21:04 +0000)]
[RTL]
- Fix apitest crashes in RtlFindClearBits/RtlFindSetBits

svn path=/trunk/; revision=62691

10 years ago[NTDLL_APITEST]
Thomas Faber [Tue, 8 Apr 2014 20:57:03 +0000 (20:57 +0000)]
[NTDLL_APITEST]
- Add two test cases for RtlFindClearBits/RtlFindSetBits that crash on ROS

svn path=/trunk/; revision=62690

10 years ago[NTDLL_APITEST]
Thomas Faber [Tue, 8 Apr 2014 18:35:29 +0000 (18:35 +0000)]
[NTDLL_APITEST]
- Use guarded memory for bitmap buffers in RtlBitmap test
- Add a few tests that check for buffer boundaries (which would have spotted the issue fixed in r62591)

svn path=/trunk/; revision=62689

10 years ago[INTL]
Kamil Hornicek [Tue, 8 Apr 2014 00:14:44 +0000 (00:14 +0000)]
[INTL]
- fix a leak
- fix a buffer overrun
CID #503741
CID #716119

svn path=/trunk/; revision=62685

10 years ago[DESK]
Kamil Hornicek [Mon, 7 Apr 2014 23:36:39 +0000 (23:36 +0000)]
[DESK]
- fix a bunch of buffer overruns, negative array index accesses and uninitialized variables
CID #1102296
CID #501468
CID #716755
CID #716756
CID #1102323

svn path=/trunk/; revision=62684

10 years ago[SHUTDOWN]
Kamil Hornicek [Mon, 7 Apr 2014 22:02:26 +0000 (22:02 +0000)]
[SHUTDOWN]
- fix a typo in the czech translation

[CONSOLE]
- fix a buffer overrun
CID #1102302
- update and fix the czech translation

[MAIN]
- fix the fix by taking the null terminator into account

svn path=/trunk/; revision=62682

10 years ago- Fix win tests. WIP see r62613.
James Tabor [Mon, 7 Apr 2014 02:29:03 +0000 (02:29 +0000)]
- Fix win tests. WIP see r62613.

svn path=/trunk/; revision=62679

10 years ago[FTFD]
Pierre Schweitzer [Sun, 6 Apr 2014 21:35:21 +0000 (21:35 +0000)]
[FTFD]
Fix memory leak

CID #1102396

svn path=/trunk/; revision=62678

10 years ago[MSCONFIG]
Kamil Hornicek [Sun, 6 Apr 2014 21:13:18 +0000 (21:13 +0000)]
[MSCONFIG]
- fix possible leaks
CID #716286
CID #716287

svn path=/trunk/; revision=62677

10 years ago[CDFS]
Pierre Schweitzer [Sun, 6 Apr 2014 21:02:21 +0000 (21:02 +0000)]
[CDFS]
- Fix CdfsWSubString() prototype
- Use it in CdfsCreateFCB() for string copy

CID #511047

svn path=/trunk/; revision=62676

10 years ago[CHARMAP]
Pierre Schweitzer [Sun, 6 Apr 2014 20:20:39 +0000 (20:20 +0000)]
[CHARMAP]
Use rather wcsncpy(). A bit less safe, but at least, data are copied till possible

svn path=/trunk/; revision=62675

10 years ago[CHARMAP]
Pierre Schweitzer [Sun, 6 Apr 2014 20:14:16 +0000 (20:14 +0000)]
[CHARMAP]
Fix buffer overruns. Dedicated to Thomas :-).

CID #515199
CID #512920

svn path=/trunk/; revision=62674

10 years ago[KBSWITCH]
Kamil Hornicek [Sun, 6 Apr 2014 20:10:24 +0000 (20:10 +0000)]
[KBSWITCH]
- fix possible buffer overrun
CID #716051
CID #716052

svn path=/trunk/; revision=62673

10 years ago[ATACTL]
Pierre Schweitzer [Sun, 6 Apr 2014 19:48:22 +0000 (19:48 +0000)]
[ATACTL]
- Fix resource leak
- Fix uninit field in struct

CID #716281
CID #716748
CID #716749
CID #716751
CID #716752
CID #716753
CID #731454

svn path=/trunk/; revision=62672

10 years ago[FONTVIEW]
Kamil Hornicek [Sun, 6 Apr 2014 18:57:16 +0000 (18:57 +0000)]
[FONTVIEW]
- add czech translation

- fix a leak
CID #731443

svn path=/trunk/; revision=62671

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 6 Apr 2014 17:46:49 +0000 (17:46 +0000)]
[CONSRV]
- text.c: Few code formatting, and remove a warning.
- guiterm.c: Implement basic word selection.

svn path=/trunk/; revision=62670

10 years ago[DXDIAG]
Kamil Hornicek [Sun, 6 Apr 2014 17:33:12 +0000 (17:33 +0000)]
[DXDIAG]
- fix a buffer overrun
CID #1102308

svn path=/trunk/; revision=62669

10 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 6 Apr 2014 17:18:55 +0000 (17:18 +0000)]
[NTOSKRNL]
Fix overflow

CID #701303

svn path=/trunk/; revision=62668

10 years ago[MAIN]
Kamil Hornicek [Sun, 6 Apr 2014 17:09:47 +0000 (17:09 +0000)]
[MAIN]
- fix a memory leak
CID #716340

- initialize the new cursor scheme name so it doesn't show garbage in the save dialog

The previous commit fixed:
CID #716120
CID #715936
CID #515183

svn path=/trunk/; revision=62667

10 years ago[MMEBUDDY]
Pierre Schweitzer [Sun, 6 Apr 2014 16:55:53 +0000 (16:55 +0000)]
[MMEBUDDY]
Prevent double close of a handle

CID #731736

svn path=/trunk/; revision=62666

10 years ago[MAIN]
Kamil Hornicek [Sun, 6 Apr 2014 16:45:21 +0000 (16:45 +0000)]
[MAIN]
- fix a copypasta
- fix a possible buffer overrun (x5)
- fix a negative array index access

svn path=/trunk/; revision=62665

10 years ago[MOUNTMGR]
Pierre Schweitzer [Sun, 6 Apr 2014 16:30:29 +0000 (16:30 +0000)]
[MOUNTMGR]
- Fix broken logic in OnlineMountedVolumes()
- Add missing return in MountMgrNotifyNameChange()

CID #515247
CID #716002

svn path=/trunk/; revision=62664

10 years ago[NPFS]
Pierre Schweitzer [Sun, 6 Apr 2014 16:15:06 +0000 (16:15 +0000)]
[NPFS]
- Also call NpQueryNameInfo() in FileAllInformation and return its status. This prevents from returning uninit status
- By default, return STATUS_ILLEGAL_FUNCTION in NpImpersonate(). This prevents from returning uninit status
- Fix comparison in NpQueryFsVolumeInfo() (remaining len is to be used)
- Properly set the string without space. This allows setting the complete string with 18 bytes.

CID #1102019
CID #1102505
CID #1102506

svn path=/trunk/; revision=62663

10 years ago[NTDLL_APITEST]: Add braces and remove an unneeded trace.
Hermès Bélusca-Maïto [Sun, 6 Apr 2014 15:51:38 +0000 (15:51 +0000)]
[NTDLL_APITEST]: Add braces and remove an unneeded trace.

svn path=/trunk/; revision=62662

10 years ago[FASTFAT]
Pierre Schweitzer [Sun, 6 Apr 2014 15:49:38 +0000 (15:49 +0000)]
[FASTFAT]
Remove dead code

CID #502185

svn path=/trunk/; revision=62661

10 years ago[CDFS]
Pierre Schweitzer [Sun, 6 Apr 2014 15:43:06 +0000 (15:43 +0000)]
[CDFS]
- Fix broken if statement
- Remove deadcode

CID #502181
CID #502438
CID #716663

svn path=/trunk/; revision=62660

10 years ago[SYSSETUP]
Pierre Schweitzer [Sun, 6 Apr 2014 15:31:06 +0000 (15:31 +0000)]
[SYSSETUP]
Fix buffer overrun

CID #716146

svn path=/trunk/; revision=62659

10 years ago[LSASRV]
Pierre Schweitzer [Sun, 6 Apr 2014 15:11:09 +0000 (15:11 +0000)]
[LSASRV]
Fix broken if statements

CID #513328
CID #1102024

svn path=/trunk/; revision=62658

10 years ago[KERNEL32]
Pierre Schweitzer [Sun, 6 Apr 2014 14:24:00 +0000 (14:24 +0000)]
[KERNEL32]
- Fix buffer overrun
- Fix incorrect return check

CID #514675
CID #716130
CID #731615

svn path=/trunk/; revision=62657

10 years ago[SYSDM]
Pierre Schweitzer [Sun, 6 Apr 2014 13:50:53 +0000 (13:50 +0000)]
[SYSDM]
Fix memory leaks

CID #716341
CID #716342

svn path=/trunk/; revision=62656

10 years ago[INPUT]
Pierre Schweitzer [Sun, 6 Apr 2014 13:42:27 +0000 (13:42 +0000)]
[INPUT]
Fix buffer overrun

CID #716118

svn path=/trunk/; revision=62655

10 years ago[DESK]
Pierre Schweitzer [Sun, 6 Apr 2014 13:38:06 +0000 (13:38 +0000)]
[DESK]
Fix leaks

CID #716336
CID #716337

svn path=/trunk/; revision=62654

10 years ago[ACCESS]
Pierre Schweitzer [Sun, 6 Apr 2014 13:25:28 +0000 (13:25 +0000)]
[ACCESS]
Don't leak memory

CID #716335

svn path=/trunk/; revision=62653

10 years ago[FREELDR]
Pierre Schweitzer [Sun, 6 Apr 2014 13:22:21 +0000 (13:22 +0000)]
[FREELDR]
Don't call strlen to get max len of an uninit string

CID #731721
CID #731722

svn path=/trunk/; revision=62652

10 years ago[WIN32K]
Kamil Hornicek [Sun, 6 Apr 2014 13:09:04 +0000 (13:09 +0000)]
[WIN32K]
- Fix a possible out of bounds read.
CID 731665

svn path=/trunk/; revision=62651

10 years ago[RUNDLL32]
Pierre Schweitzer [Sun, 6 Apr 2014 13:01:41 +0000 (13:01 +0000)]
[RUNDLL32]
Fix resource leak

CID #716331

svn path=/trunk/; revision=62650

10 years ago[FORMAT]
Pierre Schweitzer [Sun, 6 Apr 2014 12:59:01 +0000 (12:59 +0000)]
[FORMAT]
- Check LoadLibrary() return
- In case it doesn't match, free library

CID #716330

svn path=/trunk/; revision=62649

10 years ago[TCPSVCS]
Pierre Schweitzer [Sun, 6 Apr 2014 12:44:10 +0000 (12:44 +0000)]
[TCPSVCS]
- Fix buffer overrun
- Fix memory leak
- Properly init memory

CID #511073
CID #1102322
CID #1102405

svn path=/trunk/; revision=62648

10 years ago[EVENTLOG]
Pierre Schweitzer [Sun, 6 Apr 2014 12:35:54 +0000 (12:35 +0000)]
[EVENTLOG]
- Fix memory leak
- Fix null pointer dereference

CID #515253
CID #716316

svn path=/trunk/; revision=62647

10 years ago[TASKMGR]
Pierre Schweitzer [Sun, 6 Apr 2014 12:28:25 +0000 (12:28 +0000)]
[TASKMGR]
Don't leak handle

CID #716315

svn path=/trunk/; revision=62646

10 years ago[SC]
Pierre Schweitzer [Sun, 6 Apr 2014 12:18:05 +0000 (12:18 +0000)]
[SC]
- Remove dead code
- Fix check for memory deallocation
- Don't leak resource

CID #500056
CID #500057
CID #501497
CID #716313

svn path=/trunk/; revision=62645

10 years ago[NTOS:CC]
Thomas Faber [Sun, 6 Apr 2014 11:02:52 +0000 (11:02 +0000)]
[NTOS:CC]
- Correctly set output parameter in CcRosCreateCacheSegment failure case

svn path=/trunk/; revision=62644

10 years ago[NTOS:CC]
Thomas Faber [Sun, 6 Apr 2014 10:52:17 +0000 (10:52 +0000)]
[NTOS:CC]
- Remove unused CACHE_BITMAP feature that adds unnecessary complexity

svn path=/trunk/; revision=62643

10 years ago[ACPI]
Timo Kreuzer [Sun, 6 Apr 2014 08:55:44 +0000 (08:55 +0000)]
[ACPI]
Add some DPRINTs on failure

svn path=/trunk/; revision=62642

10 years ago[NPFS]
Thomas Faber [Sun, 6 Apr 2014 07:54:57 +0000 (07:54 +0000)]
[NPFS]
- Fix some uninitialized and over-initialized variables and some DPRINTs. CID 1102515

svn path=/trunk/; revision=62641

10 years ago[NTDLL_APITEST]
Hermès Bélusca-Maïto [Sat, 5 Apr 2014 23:58:54 +0000 (23:58 +0000)]
[NTDLL_APITEST]
Add/refine RtlDoesFileExists* and RtlDosSearchPath_U APIs tests.
CORE-6373 #comment Tests for RtlDoesFileExists* and RtlDosSearchPath_U APIs added in revision 62640.

svn path=/trunk/; revision=62640

10 years ago[RAPPS]
Pierre Schweitzer [Sat, 5 Apr 2014 22:49:18 +0000 (22:49 +0000)]
[RAPPS]
Don't pass structures by copy, give a pointer instead

CID #502621
CID #502622
CID #502623

svn path=/trunk/; revision=62639

10 years ago[SERVMAN]
Pierre Schweitzer [Sat, 5 Apr 2014 22:31:19 +0000 (22:31 +0000)]
[SERVMAN]
- Call LocalFree() to free memory allocated with LocalAlloc()
- Fix leak

CID #716291
CID #1101891
CID #1101892
CID #1101893
CID #1101894
CID #1101895
CID #1101896

svn path=/trunk/; revision=62638

10 years ago[KBSWITCH]
Pierre Schweitzer [Sat, 5 Apr 2014 22:14:53 +0000 (22:14 +0000)]
[KBSWITCH]
Fix buffer overflow. Static strings are already \0 terminated.

CID #515202

svn path=/trunk/; revision=62637

10 years ago[CHARMAP]
Pierre Schweitzer [Sat, 5 Apr 2014 22:08:57 +0000 (22:08 +0000)]
[CHARMAP]
Remove useless checks

CID #1102274

svn path=/trunk/; revision=62636

10 years ago[ROSAUTOTEST]
Pierre Schweitzer [Sat, 5 Apr 2014 21:56:15 +0000 (21:56 +0000)]
[ROSAUTOTEST]
Use matching delete operator

CID #1102027
CID #1102028

svn path=/trunk/; revision=62635

10 years ago[WIN32SS]
Pierre Schweitzer [Sat, 5 Apr 2014 21:42:48 +0000 (21:42 +0000)]
[WIN32SS]
Don't dereference an object that wasn't referenced

CID #1102086

svn path=/trunk/; revision=62634

10 years ago[SVCHOST]
Pierre Schweitzer [Sat, 5 Apr 2014 21:27:12 +0000 (21:27 +0000)]
[SVCHOST]
Fix buffer overruns in LanaFlagIsSet() and SetLanaFlag().
Normally, i shouldn't be > 7, MAX_LANA is set to 254.

CID #1102306
CID #1102305

svn path=/trunk/; revision=62633

10 years ago[MMEBUDDY]
Pierre Schweitzer [Sat, 5 Apr 2014 21:08:10 +0000 (21:08 +0000)]
[MMEBUDDY]
Fix use after free.

CID #716804

svn path=/trunk/; revision=62632

10 years ago[NDK][DDK][XDK]
Thomas Faber [Sat, 5 Apr 2014 17:17:47 +0000 (17:17 +0000)]
[NDK][DDK][XDK]
- Move BITMAP_RANGE structure to NDK where it belongs

svn path=/trunk/; revision=62631

10 years ago[PSEH3]
Timo Kreuzer [Sat, 5 Apr 2014 16:56:00 +0000 (16:56 +0000)]
[PSEH3]
Make sure _abnormal_termination() returns the correct result and make sure the compiler does not rely on register values in the finally and filter function.
The C++ PSEH tests now all pass.
=> We now have PSEH support for C++.

svn path=/trunk/; revision=62630

10 years ago[PSEH_TEST]
Timo Kreuzer [Sat, 5 Apr 2014 16:49:17 +0000 (16:49 +0000)]
[PSEH_TEST]
#if out a test for C++. This test only shows the limitations of PSEH and does not provide a satisfying result anyway.

svn path=/trunk/; revision=62629

10 years ago[NTOS:INVB]
Thomas Faber [Sat, 5 Apr 2014 16:46:40 +0000 (16:46 +0000)]
[NTOS:INVB]
- Do not use KeDelayExecutionThread while holding a spin lock
CORE-8052 #resolve

svn path=/trunk/; revision=62628

10 years ago[SETUP16]
Pierre Schweitzer [Sat, 5 Apr 2014 15:47:49 +0000 (15:47 +0000)]
[SETUP16]
Fix invalid free

CID #715830

svn path=/trunk/; revision=62627

10 years ago[PSEH3]
Timo Kreuzer [Sat, 5 Apr 2014 15:41:03 +0000 (15:41 +0000)]
[PSEH3]
Implement __finally support for C++

svn path=/trunk/; revision=62626

10 years ago[VFATLIB]
Pierre Schweitzer [Sat, 5 Apr 2014 15:39:09 +0000 (15:39 +0000)]
[VFATLIB]
--MagicValues;

svn path=/trunk/; revision=62625

10 years ago[DISKPART]
Pierre Schweitzer [Sat, 5 Apr 2014 15:26:12 +0000 (15:26 +0000)]
[DISKPART]
Fix leak

CID #716329

svn path=/trunk/; revision=62624

10 years ago[RTL]
Hermès Bélusca-Maïto [Sat, 5 Apr 2014 14:56:41 +0000 (14:56 +0000)]
[RTL]
Some fixes for RtlGetFullPathName_U(str):
- Start to polish RtlpCollapsePath (Work in progress)
- Correctly zero-out the path destination buffer

They fix the following tests:
* ntdll:RtlGetFullPathName_U (2 failures to full success)
* ntdll:RtlGetFullPathName_UstrEx (2 failures to full success)

svn path=/trunk/; revision=62623

10 years ago[PSEH3]
Timo Kreuzer [Sat, 5 Apr 2014 14:38:42 +0000 (14:38 +0000)]
[PSEH3]
Simplify some code

svn path=/trunk/; revision=62622

10 years ago[BASESRV]
Pierre Schweitzer [Sat, 5 Apr 2014 14:30:22 +0000 (14:30 +0000)]
[BASESRV]
Properly call RtlFillMemory in BaseSrvNLSInit. This fixes incomplete NlsUserInfo init

CID #1102265

svn path=/trunk/; revision=62621

10 years ago[PSEH2_TEST}
Timo Kreuzer [Sat, 5 Apr 2014 14:24:16 +0000 (14:24 +0000)]
[PSEH2_TEST}
Use the tests with C++, too.

svn path=/trunk/; revision=62620

10 years ago[ACPI]
Pierre Schweitzer [Sat, 5 Apr 2014 14:11:03 +0000 (14:11 +0000)]
[ACPI]
Disable PCH as it breaks build (when globally enabled)

svn path=/trunk/; revision=62619

10 years ago[RTL]
Pierre Schweitzer [Sat, 5 Apr 2014 13:13:01 +0000 (13:13 +0000)]
[RTL]
Properly check for total length in LdrpGetProcedureAddress().
It contains more than just a name.
Fixes a buffer overrun.

CID #716122

svn path=/trunk/; revision=62618

10 years ago[RAPPS]
Pierre Schweitzer [Sat, 5 Apr 2014 12:58:10 +0000 (12:58 +0000)]
[RAPPS]
Don't leak handle

CID #716310

svn path=/trunk/; revision=62617

10 years ago[RTL]
Pierre Schweitzer [Sat, 5 Apr 2014 12:44:27 +0000 (12:44 +0000)]
[RTL]
Prevent buffer overflow on copy: provide the correct copy size

CID #731655

svn path=/trunk/; revision=62616

10 years ago[RTL]
Pierre Schweitzer [Sat, 5 Apr 2014 10:02:32 +0000 (10:02 +0000)]
[RTL]
--MagicValues;

svn path=/trunk/; revision=62615

10 years ago[EPSAPI]
Pierre Schweitzer [Sat, 5 Apr 2014 09:17:21 +0000 (09:17 +0000)]
[EPSAPI]
Fix double free in PsaCaptureSystemModules()
CID #1106329

svn path=/trunk/; revision=62614

10 years ago[Win32k]
James Tabor [Sat, 5 Apr 2014 05:06:48 +0000 (05:06 +0000)]
[Win32k]
- Fix wine win.c test_CreateWindow line 5470, pass all those tests.

svn path=/trunk/; revision=62613

10 years ago[Win32k]
James Tabor [Fri, 4 Apr 2014 17:52:23 +0000 (17:52 +0000)]
[Win32k]
- Notify FIXME HACK Alert! Are we setting parent to early?

svn path=/trunk/; revision=62612

10 years ago[User32]
James Tabor [Fri, 4 Apr 2014 14:59:19 +0000 (14:59 +0000)]
[User32]
- Add more to GetInsideRect NC.
- Sync port from wine with modifications.

svn path=/trunk/; revision=62611

10 years ago[User32]
James Tabor [Fri, 4 Apr 2014 14:49:22 +0000 (14:49 +0000)]
[User32]
- Patch by Piotr Caban : Make it possible to activate a window with parent and no WS_CHILD flag in WS_NCLBUTTONDOWN function.
- Sync port from wine with modifications and addons.

svn path=/trunk/; revision=62610

10 years ago[User32]
James Tabor [Fri, 4 Apr 2014 14:40:51 +0000 (14:40 +0000)]
[User32]
- Patch by Javier Cantero : Fix side effect in SubtractRect().
- Sync port from wine with modifications

svn path=/trunk/; revision=62609

10 years ago[ACPICA][ACPI]
Hermès Bélusca-Maïto [Thu, 3 Apr 2014 23:44:20 +0000 (23:44 +0000)]
[ACPICA][ACPI]
Finally...
- Specify that we use MUTEXes instead of binary semaphores,
- Change two interface names in our code: ACPI_DEVICE_ID_LIST --> ACPI_PNP_DEVICE_ID_LIST and acpi_device_id --> acpi_pnp_device_id (only those names were changed in ACPICA).
- Implement AcpiOsPhysicalTableOverride which doesn't any table override (same behaviour as AcpiOsTableOverride).
- Latest ACPICA versions introduce the AcpiOsWaitEventsComplete API, which is used to wait for all asynchronous events to complete. But we do nothing at the moment ("inspired" from the behaviour from http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/dev/acpi/acpica/OsdSchedule.c , but I'm sure ReactOS ACPI specialists know better than me whether or not it is judicious to do so !!!)
- Extend AcpiOsRead/WriteMemory to be able to read/write 64-bit values, as required by the ACPICA implementation.

Fix the build. Now, only warnings from our code (not ACPICA) need to be fixed.

Real HW testers, please retest your real HW with this revision (or above) !!

CORE-8044 #comment Everything updated in revisions 62604 to 62608.

svn path=/trunk/; revision=62608

10 years ago[ACPICA]
Hermès Bélusca-Maïto [Thu, 3 Apr 2014 23:32:58 +0000 (23:32 +0000)]
[ACPICA]
Addendum to revision 62606 : because of typedefs redefinitions (we, after, include acpi.h and co. together with DDK in other acpi bus drivers), we hackishly needed to disable them in actypes.h, and now we need to include ntddk *inside* acpi.h ...
Everything would be nice only if ACPICA would not have the "clever" (read: dumb) idea to define a ACPI_BIOS_ERROR macro, which is (you guessed it) already defined.... in the DDK via the standard bugcheck code macros.
So we introduce two hacks: the firs one right after the inclusion of ntddk.h *in* acpi.h to first undefine the macro (coming from bugcheck.h), *then*, we re-undefine it *after* the inclusion of acpi.h (in the precompiled header) so that drivers that need to use acpi (via the header) can after, include the ntddk.h ...

What a hack :DD

Part 2bis of our modifications to ACPICA code.
CORE-8044

svn path=/trunk/; revision=62607

10 years ago[ACPICA]
Hermès Bélusca-Maïto [Thu, 3 Apr 2014 22:09:20 +0000 (22:09 +0000)]
[ACPICA]
Disable redundant typedefs that we already got from the inclusion of ntddk.h from elsewhere (and it was done like that in our old modifications of ACPICA).
Personally I don't like this way to go, but for the moment just apply something that (seemed to) worked before...

Part 2 of our modifications to ACPICA code.
CORE-8044

svn path=/trunk/; revision=62606

10 years ago[ACPICA]
Hermès Bélusca-Maïto [Thu, 3 Apr 2014 22:03:14 +0000 (22:03 +0000)]
[ACPICA]
Do not assume that, when compiling from Windows, we cannot use GCC. In fact we can, and this is what we did before...
Move asm-specific code to where it should belong.
I've checked that: MSVC_asm_code(old_acpica_version) == MSVC_asm_code(new_acpica_version), so that I took its GCC equivalent from our old version of ACPICA and placed it there.

Part 1 of our modifications to ACPICA code.
CORE-8044

svn path=/trunk/; revision=62605

10 years ago[ACPI]
Hermès Bélusca-Maïto [Thu, 3 Apr 2014 21:12:09 +0000 (21:12 +0000)]
[ACPI]
Update ACPICA library from 20110922 to 20140325.
Currently breaks build. Fixes are comming.
CORE-8044

svn path=/trunk/; revision=62604

10 years agoImprove config.cmake slightly.
Dmitry Gorbachev [Tue, 1 Apr 2014 08:58:08 +0000 (08:58 +0000)]
Improve config.cmake slightly.

svn path=/trunk/; revision=62599

10 years ago[BUGCODES]
Dmitry Gorbachev [Tue, 1 Apr 2014 08:57:58 +0000 (08:57 +0000)]
[BUGCODES]
- Add an error message for Proprietary Software Execution Prevention
feature supported by recent CPUs.
- TODO: Implement this feature in the kernel.

svn path=/trunk/; revision=62598

10 years agoResurrect MSVC 2008 builds.
Hermès Bélusca-Maïto [Mon, 31 Mar 2014 20:59:32 +0000 (20:59 +0000)]
Resurrect MSVC 2008 builds.
ACHTUNG! ACHTUNG! Even if you can build ROS with MSVC 2008, you cannot boot it (see the below-mentioned JIRA report) ACHTUNG! ACHTUNG!
CORE-8023 #comment MSVC 2008 build resurrected in revision 62595.

svn path=/trunk/; revision=62595

10 years ago[HOST-TOOLS]
Hermès Bélusca-Maïto [Mon, 31 Mar 2014 20:38:05 +0000 (20:38 +0000)]
[HOST-TOOLS]
For host-tools, including stdint.h when using MSVC is not reliable, so use a tried-&-tested solution (see mkshelllink & geninf tools): include stdint.h if we don't use MSVC, otherwise define just what's needed.
Another solution would be to create a include/host/stdint.h which does this same job, and in the host-tools, include this file.
CORE-8023

svn path=/trunk/; revision=62594

10 years ago[ADVAPI32]
Thomas Faber [Mon, 31 Mar 2014 20:11:32 +0000 (20:11 +0000)]
[ADVAPI32]
- Fix buffer handling in CredMarshalCredential/CredUnmarshalCredential. Fixes stack corruption during advapi32:cred
CORE-7242 #resolve

svn path=/trunk/; revision=62593

10 years ago[CMLIB][MKHIVE]
Hermès Bélusca-Maïto [Mon, 31 Mar 2014 20:05:44 +0000 (20:05 +0000)]
[CMLIB][MKHIVE]
Move some defines where they belong (they are used in mkhive because they are employed in cmlib functions, and cmlib itself uses them too).

svn path=/trunk/; revision=62592