reactos.git
10 years ago[USER32]
Amine Khaldi [Thu, 9 May 2013 20:09:31 +0000 (20:09 +0000)]
[USER32]
* Fix some signed/unsigned mismatches. Brought to you by Victor Martinez.
CORE-7150 #resolve

svn path=/trunk/; revision=58977

10 years ago[FASTFAT]
Eric Kohl [Thu, 9 May 2013 15:03:51 +0000 (15:03 +0000)]
[FASTFAT]
Allow only readonly, hidden, system and archive files attributes to be set for a new file. Other file attributes must be ignored.
This fixes several tests.

svn path=/trunk/; revision=58976

10 years ago[ISAPNP]
Amine Khaldi [Thu, 9 May 2013 14:06:21 +0000 (14:06 +0000)]
[ISAPNP]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58975

10 years agoMerge my current work done on the kd++ branch:
Hermès Bélusca-Maïto [Thu, 9 May 2013 13:12:58 +0000 (13:12 +0000)]
Merge my current work done on the kd++ branch:
- FreeLdr is able now to load personalized Kernel Debugger Transport DLLs by reading at the kernel command line and interpreting the /DEBUGPORT=xxx entry (--> loads KDxxx.DLL dll in \SystemRoot\System32\).
  Therefore we can not only load the "default" kdcom.dll, but also 3rd-party ones such as kdbazis.dll from VirtualKD (from revision 58902).
- The GCC-compiled-only version of kdcom, containing legacy COM code, was removed and put directly along KDBG. It remains only a stub / template for future kdcom-like dlls. The MSVC-version remains untouched.
- Make those functions ^ use directly the CPORTLIB library.

svn path=/trunk/; revision=58974

10 years ago[NTOS]
Hermès Bélusca-Maïto [Thu, 9 May 2013 12:55:39 +0000 (12:55 +0000)]
[NTOS]
Remove the kdbg-specific tags from the tag header and put them into the kdbg-specific header.

svn path=/branches/kd++/; revision=58973

10 years agoSunc with trunk revision 58971.
Hermès Bélusca-Maïto [Thu, 9 May 2013 12:36:15 +0000 (12:36 +0000)]
Sunc with trunk revision 58971.

svn path=/branches/kd++/; revision=58972

10 years ago[FREELDR]
Hermès Bélusca-Maïto [Wed, 8 May 2013 17:52:16 +0000 (17:52 +0000)]
[FREELDR]
- Fix dprints (be careful when "Status" variables are booleans).
- Don't fail when trying to load an non-existent KD transport dll.

svn path=/branches/kd++/; revision=58971

10 years ago[KDROSDBG-NTOS]
Hermès Bélusca-Maïto [Wed, 8 May 2013 15:36:38 +0000 (15:36 +0000)]
[KDROSDBG-NTOS]
Put the 3 helper COM functions into KDBG directly.

svn path=/branches/kd++/; revision=58970

10 years ago[AFD]
Amine Khaldi [Wed, 8 May 2013 12:12:15 +0000 (12:12 +0000)]
[AFD]
* Mark SelectTimeout as a KDEFERRED_ROUTINE and fix its calling convention. This fixes a potential stack corruption.
* Brought to you by Nikolay Borisov and the MSVC static analyzer ;)
CORE-7171 #resolve

svn path=/trunk/; revision=58969

10 years ago[BEEP]
Amine Khaldi [Wed, 8 May 2013 11:55:37 +0000 (11:55 +0000)]
[BEEP]
* Properly mark some unreferenced parameters as such.
[AFD]
* Properly fix a debug print specifier.

svn path=/trunk/; revision=58968

10 years ago[AFD]
Amine Khaldi [Wed, 8 May 2013 11:33:13 +0000 (11:33 +0000)]
[AFD]
* Fix more debug print specifiers.

svn path=/trunk/; revision=58967

10 years ago[AFD]
Amine Khaldi [Wed, 8 May 2013 10:55:46 +0000 (10:55 +0000)]
[AFD]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.
* This fixes several warnings emitted by the MSVC static analyzer.
* Brought to you by Nikolay Borisov, with minor consistency styling changes by me.
CORE-7171

svn path=/trunk/; revision=58966

10 years ago[XDK/DDK]
Amine Khaldi [Wed, 8 May 2013 10:26:24 +0000 (10:26 +0000)]
[XDK/DDK]
* The event parameter in IoBuildDeviceIoControlRequest is optional. Spotted by Nikolay Borisov.
CORE-7172 #resolve

svn path=/trunk/; revision=58965

10 years ago[KDROSDBG]
Hermès Bélusca-Maïto [Tue, 7 May 2013 00:14:36 +0000 (00:14 +0000)]
[KDROSDBG]
In fact, the kdcom used for KDBG (in GCC builds) is really a thin layer atop of CPORTLIB.
Remove extra code (remove also the KD_PORT_INFORMATION type) and replace it with calls to CPORTLIB functions.
Next step is to put all that thing into KDBG directly, as helper functions. Then, if one wants to make a really kdcom (as we have for MSVC builds), one has to refactor all KDBG.

svn path=/branches/kd++/; revision=58964

10 years ago[MSGINA]
Eric Kohl [Mon, 6 May 2013 21:43:03 +0000 (21:43 +0000)]
[MSGINA]
Convert tabs to spaces. No code changes!

svn path=/trunk/; revision=58963

10 years ago[KMTESTS:FSRTL]
Pierre Schweitzer [Mon, 6 May 2013 11:24:55 +0000 (11:24 +0000)]
[KMTESTS:FSRTL]
Add comments

svn path=/trunk/; revision=58962

10 years ago[KMTESTS:FSRTL]
Pierre Schweitzer [Mon, 6 May 2013 08:10:53 +0000 (08:10 +0000)]
[KMTESTS:FSRTL]
Add more tests for MCBs

svn path=/trunk/; revision=58961

10 years ago[RTL]
Pierre Schweitzer [Sun, 5 May 2013 22:31:17 +0000 (22:31 +0000)]
[RTL]
Finally reenable RtlAcquirePrivilege and RtlReleasePrivilege now that they are fixed.

[KERNEL32]
Remove the hacks in SetSystemTime() and SetLocalTime() now that RtlAcquirePrivilege is working properly.

[SYSSETUP]
Remove the hack for privileges in SetSystemLocalTime() now that SetLocalTime() can properly acquire needed privilege.

CORE-7168 #comment Fixed with r58960 #resolve

svn path=/trunk/; revision=58960

10 years ago[RTL]
Pierre Schweitzer [Sun, 5 May 2013 22:19:54 +0000 (22:19 +0000)]
[RTL]
When we are impersonating, also set the flag, so that on release, we can kill it.
This hopefully fixes 2nd stage and the whole mess it was causing in privileges.

svn path=/trunk/; revision=58959

10 years ago[KDROSDBG]
Hermès Bélusca-Maïto [Sun, 5 May 2013 21:57:42 +0000 (21:57 +0000)]
[KDROSDBG]
Place the (unimplemented) real KD functions into a dedicated file and isolate ReactOS-specific port functions. They can go into a libary along KDBG !

svn path=/branches/kd++/; revision=58958

10 years ago[KDROSDBG]
Hermès Bélusca-Maïto [Sun, 5 May 2013 21:23:20 +0000 (21:23 +0000)]
[KDROSDBG]
Comment that part too, because it was in KdPortInitialize and here, it reported an invalid port. KdPortInUse is initialized by KDBG.

svn path=/branches/kd++/; revision=58957

10 years ago[KDROSDBG]
Hermès Bélusca-Maïto [Sun, 5 May 2013 20:19:55 +0000 (20:19 +0000)]
[KDROSDBG]
One can safely remove these forward declarations.

svn path=/branches/kd++/; revision=58956

10 years ago[RTL]
Pierre Schweitzer [Sun, 5 May 2013 20:19:23 +0000 (20:19 +0000)]
[RTL]
Properly define the loop for privileges adjustement.
Spotted & fixed by Thomas.

svn path=/trunk/; revision=58955

10 years agoLegacy code from KdPortInitialize, which was put in KdPortInitializeEx, is deactivate...
Hermès Bélusca-Maïto [Sun, 5 May 2013 20:05:50 +0000 (20:05 +0000)]
Legacy code from KdPortInitialize, which was put in KdPortInitializeEx, is deactivated because it was unusued (the actual code doesn't call KdPortInitialize).

svn path=/branches/kd++/; revision=58954

10 years ago[KERNEL32]
Pierre Schweitzer [Sun, 5 May 2013 20:01:14 +0000 (20:01 +0000)]
[KERNEL32]
Also "fix" hack of RtlAcquirePrivilege in SetSystemTime(). Spotted by Thomas.

Note for syssetup/rtl/kernel32 devs:
Make it crystal clear that this is a hack and has to be deleted once RAP is fine.
Also note that for SetLocalTime() and 2nd stage, syssetup acquires the privilege itself
in SetSystemLocalTime() before calling SetLocalTime().
This will also have to be deleted once RAP is working fine. Otherwise it will keep failing:
it is not possible to acquire a privilege already held.

svn path=/trunk/; revision=58953

10 years agoFurther remove legacy, now only 3 functions remain.
Hermès Bélusca-Maïto [Sun, 5 May 2013 19:55:42 +0000 (19:55 +0000)]
Further remove legacy, now only 3 functions remain.

svn path=/branches/kd++/; revision=58952

10 years agoI said "remove" !!
Hermès Bélusca-Maïto [Sun, 5 May 2013 19:38:12 +0000 (19:38 +0000)]
I said "remove" !!

svn path=/branches/kd++/; revision=58951

10 years ago[KDROSDBG]
Hermès Bélusca-Maïto [Sun, 5 May 2013 19:36:05 +0000 (19:36 +0000)]
[KDROSDBG]
Remove further legacy exports (the aim is to obtain at least the same exports as kdcom).

svn path=/branches/kd++/; revision=58950

10 years ago[RTL]
Pierre Schweitzer [Sun, 5 May 2013 19:24:25 +0000 (19:24 +0000)]
[RTL]
Don't allocate an extra privilege entry when not required.
Still doesn't fix issue.

svn path=/trunk/; revision=58949

10 years ago[KDROSDBG]
Hermès Bélusca-Maïto [Sun, 5 May 2013 19:21:03 +0000 (19:21 +0000)]
[KDROSDBG]
Remove some unneeded legacy.

svn path=/branches/kd++/; revision=58948

10 years agoSmall files renaming.
Hermès Bélusca-Maïto [Sun, 5 May 2013 18:25:57 +0000 (18:25 +0000)]
Small files renaming.

svn path=/branches/kd++/; revision=58947

10 years ago[RTL]
Pierre Schweitzer [Sun, 5 May 2013 17:32:00 +0000 (17:32 +0000)]
[RTL]
Add a few DPRINTs.
Fix a bug where last status was overrided in case of failure.
Still commented out...

svn path=/trunk/; revision=58946

10 years ago[KERNEL32]
Pierre Schweitzer [Sun, 5 May 2013 16:38:41 +0000 (16:38 +0000)]
[KERNEL32]
If you workaround RtlAcquirePrivilege, do it properly!
Will prevent bad address freeing...

svn path=/trunk/; revision=58945

10 years ago[HIDCLASS]
Thomas Faber [Sun, 5 May 2013 15:04:49 +0000 (15:04 +0000)]
[HIDCLASS]
- Don't return inconsistent status values from HidClass_DeviceControl

svn path=/trunk/; revision=58944

10 years ago[HID]
Johannes Anderwald [Sun, 5 May 2013 14:51:27 +0000 (14:51 +0000)]
[HID]
- Fix bug in irp completion handler
CORE-7069

svn path=/trunk/; revision=58943

10 years ago[LIBUSB]
Johannes Anderwald [Sun, 5 May 2013 14:43:39 +0000 (14:43 +0000)]
[LIBUSB]
- Remove useless debug prints, which violate the spec
- Fix identation
CORE-7009

svn path=/trunk/; revision=58942

10 years ago[FUSION]
Sylvain Petreolle [Sun, 5 May 2013 13:09:46 +0000 (13:09 +0000)]
[FUSION]
Remove baseaddress to fix address conflicts.
Reenable creation of InstallRoot .NET key in its REG_SZ form.

svn path=/trunk/; revision=58941

10 years ago[KMTESTS:MM]
Thomas Faber [Sun, 5 May 2013 12:18:49 +0000 (12:18 +0000)]
[KMTESTS:MM]
- Fix 64-bit warnings. Patch by Nikolay Borisov.
ROSTESTS-112 #resolve

svn path=/trunk/; revision=58940

10 years ago[CDMAKE]
Hermès Bélusca-Maïto [Sun, 5 May 2013 10:18:52 +0000 (10:18 +0000)]
[CDMAKE]
Reset the "volume expiration date" and the "volume effective date". They are not used.
See http://wiki.osdev.org/ISO_9660#The_Primary_Volume_Descriptor for more information.

svn path=/trunk/; revision=58939

10 years ago[RTL]
Pierre Schweitzer [Sun, 5 May 2013 09:55:32 +0000 (09:55 +0000)]
[RTL]
Comment out RtlAcquirePrivilege & RtlReleasePrivilege for the moment.
It appears we are overflowing memory and thus corrupting registry, that breaks ReactOS install.
To be investigated...

svn path=/trunk/; revision=58938

10 years ago[RTL]
Pierre Schweitzer [Sun, 5 May 2013 09:30:12 +0000 (09:30 +0000)]
[RTL]
Implement RtlAcquirePrivilege and RtlReleasePrivilege.
Reviewed by Aleksey

svn path=/trunk/; revision=58937

10 years ago{RTL]
Timo Kreuzer [Sun, 5 May 2013 09:02:36 +0000 (09:02 +0000)]
{RTL]
- Implement RtlFillMemoryUlonglong
- Add missing bitmap64.c
- Fix 64bit bitmap code

svn path=/trunk/; revision=58936

10 years ago[MSV1_0]
Eric Kohl [Sun, 5 May 2013 00:53:25 +0000 (00:53 +0000)]
[MSV1_0]
Add token data from the old logon code.

svn path=/trunk/; revision=58934

10 years ago[LSASRV]
Eric Kohl [Sun, 5 May 2013 00:39:58 +0000 (00:39 +0000)]
[LSASRV]
Free additional data returned by calls to LsaApLogonUser/Ex/2.

svn path=/trunk/; revision=58933

10 years ago[CDMAKE]
Hermès Bélusca-Maïto [Sat, 4 May 2013 22:15:26 +0000 (22:15 +0000)]
[CDMAKE]
ISO images generated by cdmake have invalid time and date.
Patch by Aleksandar Andrejevic, aka. [TheFlash]

CORE-7163 #resolve #comment Committed in revision r58932, thanks for the patch ;)

svn path=/trunk/; revision=58932

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sat, 4 May 2013 21:03:27 +0000 (21:03 +0000)]
[CONSRV]
Add heap diagnostic flags for the ConSrvHeap.

svn path=/trunk/; revision=58931

10 years ago[PSDK]
Amine Khaldi [Sat, 4 May 2013 20:43:16 +0000 (20:43 +0000)]
[PSDK]
* Add NT_CONSOLE_PROPS and NT_FE_CONSOLE_PROPS and fix EXP_SZ_LINK.
* Add SHELL_LINK_INFO_* and some Shell Link Extra Data structures (for IShellLinkDataList).
[USERINIT][CPLS][DLLS]
* Add the now necessary wincon.h inclusion.
* Brought to you by Dominik Hornung.
CORE-7162 #resolve #comment Committed in r58930. Danke !

svn path=/trunk/; revision=58930

10 years ago[CRT]
Amine Khaldi [Sat, 4 May 2013 20:42:43 +0000 (20:42 +0000)]
[CRT]
* Annotate sys/utime.h.

svn path=/trunk/; revision=58929

10 years ago[FUSION_WINETEST]
Amine Khaldi [Sat, 4 May 2013 20:21:53 +0000 (20:21 +0000)]
[FUSION_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58928

10 years ago[FUSION]
Amine Khaldi [Sat, 4 May 2013 20:21:39 +0000 (20:21 +0000)]
[FUSION]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58927

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sat, 4 May 2013 19:28:36 +0000 (19:28 +0000)]
[CONSRV]
Hack: To try to uncover a heap corruption in CONSRV, use our own heap instead of the (default) CSR heap, so that we won't corrupt it and obtain strange bugs thrown by memory allocation in csrsrv.
Thanks to Aleksandar Andrejevic, aka. [TheFlash] for having seen that.
See CORE-7157 for more information.

svn path=/trunk/; revision=58926

10 years ago[CONSRV]
Hermès Bélusca-Maïto [Sat, 4 May 2013 15:31:19 +0000 (15:31 +0000)]
[CONSRV]
Be sure to use our local heap instead of the current application heap, to store the console title.
To simplify the code, I introduced helper functions based on well-known Rtl functions.

svn path=/trunk/; revision=58925

10 years ago[NTDLL_APITEST]
Jérôme Gardou [Sat, 4 May 2013 15:26:48 +0000 (15:26 +0000)]
[NTDLL_APITEST]
 * Add tests for NtProtectVirtualMemory

svn path=/trunk/; revision=58924

10 years agoCode formatting only
Hermès Bélusca-Maïto [Sat, 4 May 2013 14:29:51 +0000 (14:29 +0000)]
Code formatting only

svn path=/trunk/; revision=58923

10 years ago[CSRSRV]
Hermès Bélusca-Maïto [Sat, 4 May 2013 14:27:09 +0000 (14:27 +0000)]
[CSRSRV]
- Code simplification.
- Remove unneeded casts.
- Fix comments.

svn path=/trunk/; revision=58922

10 years ago[TRANSLATION]
Olaf Siejka [Sat, 4 May 2013 14:18:45 +0000 (14:18 +0000)]
[TRANSLATION]
- turkish translation update by Erdem Ersoy: CORE-7133;
- czech translation update by Radek Liska: CORE-6953;
- added polish translation of hostname;

svn path=/trunk/; revision=58921

10 years agoCode reorganization only.
Hermès Bélusca-Maïto [Sat, 4 May 2013 14:04:35 +0000 (14:04 +0000)]
Code reorganization only.

svn path=/trunk/; revision=58920

10 years ago[KERNEL32]
Pierre Schweitzer [Sat, 4 May 2013 09:23:52 +0000 (09:23 +0000)]
[KERNEL32]
Parameters of RtlAcquirePrivilege are not booleans

svn path=/trunk/; revision=58919

10 years ago[ATL]
Thomas Faber [Sat, 4 May 2013 08:39:05 +0000 (08:39 +0000)]
[ATL]
- Simplify CComObject code. Fix warnings. Patch by Katayama Hirofumi MZ.
CORE-7105 #resolve

svn path=/trunk/; revision=58918

10 years ago[WININET_WINETEST]
Thomas Faber [Sat, 4 May 2013 08:10:58 +0000 (08:10 +0000)]
[WININET_WINETEST]
- Hackfix hanging test. There's no benefit in having testbot take longer.
ROSTESTS-73 #comment Temporary timeout added in r58917 to prevent hanging.

svn path=/trunk/; revision=58917

10 years ago[NTOSKRNL]
Pierre Schweitzer [Fri, 3 May 2013 19:31:03 +0000 (19:31 +0000)]
[NTOSKRNL]
Prevent potential double free in loop.
Fixes CID 732510

svn path=/trunk/; revision=58916

10 years ago[PSDK]
Jérôme Gardou [Fri, 3 May 2013 18:28:34 +0000 (18:28 +0000)]
[PSDK]
 * Add complete definition of KEY_INFORMATION_CLASS
[DDK]
 * Add KEY_NAME_INFORMATION structure declaration

svn path=/trunk/; revision=58915

10 years ago[ADVAPI32]
Jérôme Gardou [Fri, 3 May 2013 16:44:31 +0000 (16:44 +0000)]
[ADVAPI32]
 - SEH-ize access to the data buffer in RegSetValueExW.
Fixes winetest crash

svn path=/trunk/; revision=58914

10 years ago[WIN32SS]
Amine Khaldi [Fri, 3 May 2013 09:57:19 +0000 (09:57 +0000)]
[WIN32SS]
* Plug a leak in IntGdiAddFontResource(). Original fix by Katayama Hirofumi MZ with one more instance covered by Timo Kreuzer.
* Return 0 instead of status in the file mapping failure path. By Timo Kreuzer.

svn path=/trunk/; revision=58913

10 years ago[CRT]
Amine Khaldi [Thu, 2 May 2013 17:09:34 +0000 (17:09 +0000)]
[CRT]
* Annotate tchar.h.

svn path=/trunk/; revision=58912

10 years ago[CRT]
Amine Khaldi [Thu, 2 May 2013 14:21:18 +0000 (14:21 +0000)]
[CRT]
* Annotate memory.h.

svn path=/trunk/; revision=58911

10 years ago[NTOSKRNL]
Pierre Schweitzer [Thu, 2 May 2013 08:04:12 +0000 (08:04 +0000)]
[NTOSKRNL]
This is C, use VOID
Spotted by Thomas Faber

svn path=/trunk/; revision=58910

10 years ago[FREELDR]
Hermès Bélusca-Maïto [Wed, 1 May 2013 22:36:42 +0000 (22:36 +0000)]
[FREELDR]
Revert an unneeded modification.

svn path=/branches/kd++/; revision=58909

10 years ago[NET]
Eric Kohl [Wed, 1 May 2013 21:54:40 +0000 (21:54 +0000)]
[NET]
Clean-up the new functions.
This should have been done by the author of the patch!

svn path=/trunk/; revision=58908

10 years ago[LSASRV]
Eric Kohl [Wed, 1 May 2013 21:29:49 +0000 (21:29 +0000)]
[LSASRV]
Implement logon token creation code.

svn path=/trunk/; revision=58907

10 years ago[NTOSKRNL]
Pierre Schweitzer [Wed, 1 May 2013 20:53:15 +0000 (20:53 +0000)]
[NTOSKRNL]
Implement post stack overflow functions (i.e. FsRtlPostStackOverflow() and FsRtlPostPagingFileStackOverflow())

svn path=/trunk/; revision=58906

10 years agoCode formatting only.
Hermès Bélusca-Maïto [Wed, 1 May 2013 19:02:10 +0000 (19:02 +0000)]
Code formatting only.

svn path=/branches/kd++/; revision=58905

10 years ago[DRIVERS]
Hermès Bélusca-Maïto [Wed, 1 May 2013 17:45:53 +0000 (17:45 +0000)]
[DRIVERS]
The *REAL* kdcom is renamed... kdcom.

svn path=/branches/kd++/; revision=58904

10 years ago[DRIVERS]
Hermès Bélusca-Maïto [Wed, 1 May 2013 17:43:11 +0000 (17:43 +0000)]
[DRIVERS]
- Move GCC-named kdcom to kdrosdbg.
- Remove an unneeded export file.

svn path=/branches/kd++/; revision=58903

10 years ago[FREELDR]
Hermès Bélusca-Maïto [Wed, 1 May 2013 17:12:56 +0000 (17:12 +0000)]
[FREELDR]
- Fix some function parameter types, so to avoid unuseful casts (from pointers to const strings to pointers to strings in particular).
- The big thing: make FreeLdr load personalized Kernel Debugger Transport DLLs by reading at the kernel command line and interpreting the /DEBUGPORT=xxx entry (--> loads KDxxx.DLL dll in \SystemRoot\System32\).
  So now, we can not only load the "default" kdcom.dll, but also 3rd-party ones such as kdbazis.dll from VirtualKD.
  Read http://www.nynaeve.net/?p=173 for a trick I used :
  "[...] Another enhancement that could be done Microsoft-side would be a better interface for replacing KD transport modules. Right now, due to the fact that ntoskrnl is static linked to KDCOM.DLL, the OS loader has a hardcoded hack that interprets the KD type in the OS loader options, loads one of the (hardcoded filenames) "kdcom.dll", "kd1394.dll", or "kdusb2.dll" modules, and inserts them into the loaded module list under the name "kdcom.dll". [...]".

svn path=/branches/kd++/; revision=58902

10 years ago[IEFRAME]
Amine Khaldi [Wed, 1 May 2013 16:00:36 +0000 (16:00 +0000)]
[IEFRAME]
* Fix the Home button label. Brought to you by Andre Guibert de Bruet.
CORE-7144 #resolve #comment Thanks !

svn path=/trunk/; revision=58901

10 years ago[INCLUDE]
Eric Kohl [Wed, 1 May 2013 13:44:24 +0000 (13:44 +0000)]
[INCLUDE]
Add missing LSA_TOKEN_INFORMATION_NULL and LSA_TOKEN_INFORMATION_V1 types.

svn path=/trunk/; revision=58900

10 years ago[NTOSKRNL]
Pierre Schweitzer [Wed, 1 May 2013 10:54:02 +0000 (10:54 +0000)]
[NTOSKRNL]
Make post stack overflow functions use the same (unimplemented) helper function

svn path=/trunk/; revision=58899

10 years ago[NET]
Amine Khaldi [Wed, 1 May 2013 10:00:06 +0000 (10:00 +0000)]
[NET]
* Fix MSVC build.

svn path=/trunk/; revision=58898

10 years ago[NTOSKRNL]
Pierre Schweitzer [Wed, 1 May 2013 09:10:34 +0000 (09:10 +0000)]
[NTOSKRNL]
Patch by Aleksey Bragin (he's not aware yet!):
Also implement FsRtlIs*InExpression prologue in FsRtlIsDbcsInExpression (adapted from Aleksey's work on FsRtlIsNameInExpression)
Also added support for Dbcs chars in it

svn path=/trunk/; revision=58897

10 years ago[LWIP]
Cameron Gutman [Tue, 30 Apr 2013 09:33:40 +0000 (09:33 +0000)]
[LWIP]
- Call tcp_shutdown() two different times for TX|RX shutdown to avoid the tcp_close() problem entirely
- Forcefully close the socket in LibTCPCloseCallback (not optimal, but good enough)

svn path=/trunk/; revision=58896

10 years ago[LWIP]
Cameron Gutman [Tue, 30 Apr 2013 08:16:29 +0000 (08:16 +0000)]
[LWIP]
- Don't define mem_trim() to realloc() because mem_trim() must never move the buffer pointer
- Fix realloc() which was completely broken
- Properly handle a TX|RX shutdown

svn path=/trunk/; revision=58895

10 years ago[NET]
Ziliang Guo [Tue, 30 Apr 2013 02:57:30 +0000 (02:57 +0000)]
[NET]
Implementation of pause, continue, and help commands for net service application. Patch by theflash.
Core-7131 #resolve

svn path=/trunk/; revision=58894

10 years ago[HOSTNAME]
Hermès Bélusca-Maïto [Mon, 29 Apr 2013 23:49:52 +0000 (23:49 +0000)]
[HOSTNAME]
Unicodify and add localization support.
Patch by Lee Schroeder, simplified by me.

CORE-7142 #resolve #comment Committed in revision r58893, thanks!

[REGEDIT]
"Neutralize" common resources.

svn path=/trunk/; revision=58893

10 years ago[NTOSKRNL/V86VDM]
Jérôme Gardou [Mon, 29 Apr 2013 16:17:46 +0000 (16:17 +0000)]
[NTOSKRNL/V86VDM]
 - Merge the EFLAGS register instead of overwriting it when restoring it from a POPF call.

svn path=/trunk/; revision=58892

10 years ago[LWIP]
Amine Khaldi [Mon, 29 Apr 2013 12:24:39 +0000 (12:24 +0000)]
[LWIP]
* Update to 1.4.1. Brought to you by Samuel Serapion.
CORE-7140

svn path=/trunk/; revision=58891

10 years ago[FSRTL]
Aleksey Bragin [Mon, 29 Apr 2013 10:28:58 +0000 (10:28 +0000)]
[FSRTL]
- Reformat the code for better readability. Sacrifice 80 chars max line width in favor of a readable code (sorry, but when the indentation eats 12 chars, formulas for calculating sizes are hard to fit into less than 70 chars, and they become totally unreadable).

svn path=/trunk/; revision=58890

10 years ago[FSRTL]
Aleksey Bragin [Mon, 29 Apr 2013 10:10:44 +0000 (10:10 +0000)]
[FSRTL]
- Start bringing sanity to FSRTL Large MCB implementation:
 * Get rid of the GET_LIST_HEAD macro and define a proper private struct to access its members. That's much more flexible,and that's how it's usually done in hundreds of other places in the kernel. Otherwise we might just forget about structs and invent macros to access individual virtual fields in a byte array :)
 * Going through the code (first, preliminary pass) and putting helper debug prints, especially when the code does not work as expected.
 * Move variables definitions to the beginning of the function (thus get rid of up to local vars being redifined up to 3x times within a single function).

svn path=/trunk/; revision=58889

10 years ago[NDIS]
Cameron Gutman [Mon, 29 Apr 2013 10:01:39 +0000 (10:01 +0000)]
[NDIS]
- Queue the miniport worker only after a previous operation has completed

CORE-5734 #resolve #comment Fixed in r58888

svn path=/trunk/; revision=58888

10 years ago[win32k]
Giannis Adamopoulos [Sun, 28 Apr 2013 20:53:57 +0000 (20:53 +0000)]
[win32k]
- Initialize SM_CXSCREEN and SM_CYSCREEN metrics in co_IntInitializeDesktopGraphics
- Also move some code from IntCreatePrimarySurface to co_IntInitializeDesktopGraphics

svn path=/trunk/; revision=58887

11 years agoCreate this branch to work on loading of different Kernel-Debugger DLL providers...
Hermès Bélusca-Maïto [Sun, 28 Apr 2013 13:26:45 +0000 (13:26 +0000)]
Create this branch to work on loading of different Kernel-Debugger DLL providers, and see whether it is possible to move KDBG from ntoskrnl to a new DLL called, say, KDROSDBG.DLL.

The idea then would be to have the following behaviour (when specifying the following options in the kernel command line):

/DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible.
/DEBUGPORT=FOO  --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...)
/DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port.

svn path=/branches/kd++/; revision=58883

11 years ago[TRANSLATION]
Olaf Siejka [Sun, 28 Apr 2013 11:07:07 +0000 (11:07 +0000)]
[TRANSLATION]
- turkish translation update by Erdem Ersoy:  CORE-7025,CORE-7032,CORE-7033,CORE-7034,CORE-7071;
- italian translation update by Paolo Devoti: CORE-7122;
- use the same notepad caption title as in Windows 2003 for AHK test compatibility, patch by Edijs Kolesnikovics: CORE-7023;
- added polish translation of samsrv and wlanconf, updated polish translation of rapps, msgina, consrv, console and desk;
- convert msgina to compile resources for a defined language;

svn path=/trunk/; revision=58882

11 years ago[SHELL32]
Thomas Faber [Sun, 28 Apr 2013 09:58:55 +0000 (09:58 +0000)]
[SHELL32]
- Use SHELL_LINK_HEADER instead of defining a local structure. Patch by Dominik Hornung (dominikhornung at gmx dot de).
CORE-7099

svn path=/trunk/; revision=58881

11 years ago[PSDK]
Thomas Faber [Sun, 28 Apr 2013 09:49:09 +0000 (09:49 +0000)]
[PSDK]
- Add SHELL_LINK_HEADER structure. Update SHELL_LINK_DATA_FLAGS. Patch by Dominik Hornung (dominikhornung at gmx dot de).
CORE-7099

svn path=/trunk/; revision=58880

11 years ago[BROWSEUI]
Thomas Faber [Sun, 28 Apr 2013 09:09:57 +0000 (09:09 +0000)]
[BROWSEUI]
- Remove weird broken Get/SetWindowLongPtr wrapper functions (by Katayama Hirofumi MZ)
- Fix some casts
- Remove unnecessary ROS_Headers define

svn path=/trunk/; revision=58879

11 years ago[BROWSEUI:FORMATTING]
Thomas Faber [Sun, 28 Apr 2013 08:42:22 +0000 (08:42 +0000)]
[BROWSEUI:FORMATTING]
- Use spaces instead of tabs

svn path=/trunk/; revision=58878

11 years ago[BROWSEUI:FORMATTING]
Thomas Faber [Sun, 28 Apr 2013 07:49:41 +0000 (07:49 +0000)]
[BROWSEUI:FORMATTING]
- Improve coding style (break long lines, use C++ casts, add comments, ...). Patch by Katayama Hirofumi MZ.
COTE-7121

svn path=/trunk/; revision=58877

11 years ago[KDCOM]
Hermès Bélusca-Maïto [Sat, 27 Apr 2013 21:46:02 +0000 (21:46 +0000)]
[KDCOM]
Add resource files for KDCOM and compile them.

svn path=/trunk/; revision=58876

11 years ago[MKHIVE]
Sylvain Petreolle [Sat, 27 Apr 2013 19:33:31 +0000 (19:33 +0000)]
[MKHIVE]
Set proper parent for registry keys.
Patch by theflash < theflash at sdf dot lonestar dot org >
CORE-7128 #resolve

svn path=/trunk/; revision=58875

11 years ago[KMTESTS:MM]
Thomas Faber [Sat, 27 Apr 2013 18:33:50 +0000 (18:33 +0000)]
[KMTESTS:MM]
- Add tests for ZwAllocateVirtualMemory, ZwCreateSection, ZwMapViewOfSection. Patch by Nikolay Borisov (nib9 at aber dot ac dot uk).
- Some tests are currently skipped because they crash or assert on ROS: See ROSTESTS-107, ROSTESTS-108, ROSTESTS-109, ROSTESTS-110.
ROSTESTS-105 #resolve

svn path=/trunk/; revision=58874