Commit graph

53590 commits

Author SHA1 Message Date
Olaf Siejka
51bd04ab2a [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
2013-05-04 14:18:45 +00:00
Hermès Bélusca-Maïto
857fc1d093 Code reorganization only.
svn path=/trunk/; revision=58920
2013-05-04 14:04:35 +00:00
Pierre Schweitzer
2f8130c228 [KERNEL32]
Parameters of RtlAcquirePrivilege are not booleans

svn path=/trunk/; revision=58919
2013-05-04 09:23:52 +00:00
Thomas Faber
c15b763fbc [ATL]
- Simplify CComObject code. Fix warnings. Patch by Katayama Hirofumi MZ.
CORE-7105 #resolve

svn path=/trunk/; revision=58918
2013-05-04 08:39:05 +00:00
Thomas Faber
66675db02b [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
2013-05-04 08:10:58 +00:00
Pierre Schweitzer
ec1a8a5a63 [NTOSKRNL]
Prevent potential double free in loop.
Fixes CID 732510

svn path=/trunk/; revision=58916
2013-05-03 19:31:03 +00:00
Jérôme Gardou
703a1db75e [PSDK]
* Add complete definition of KEY_INFORMATION_CLASS
[DDK]
 * Add KEY_NAME_INFORMATION structure declaration

svn path=/trunk/; revision=58915
2013-05-03 18:28:34 +00:00
Jérôme Gardou
3d8186b866 [ADVAPI32]
- SEH-ize access to the data buffer in RegSetValueExW.
Fixes winetest crash

svn path=/trunk/; revision=58914
2013-05-03 16:44:31 +00:00
Amine Khaldi
816d5dc335 [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
2013-05-03 09:57:19 +00:00
Amine Khaldi
f93d55e8a9 [CRT]
* Annotate tchar.h.

svn path=/trunk/; revision=58912
2013-05-02 17:09:34 +00:00
Amine Khaldi
b3a3a9d7ac [CRT]
* Annotate memory.h.

svn path=/trunk/; revision=58911
2013-05-02 14:21:18 +00:00
Pierre Schweitzer
d955789246 [NTOSKRNL]
This is C, use VOID
Spotted by Thomas Faber

svn path=/trunk/; revision=58910
2013-05-02 08:04:12 +00:00
Hermès Bélusca-Maïto
5e4bad7a5d [FREELDR]
Revert an unneeded modification.

svn path=/branches/kd++/; revision=58909
2013-05-01 22:36:42 +00:00
Eric Kohl
96970e7413 [NET]
Clean-up the new functions.
This should have been done by the author of the patch!

svn path=/trunk/; revision=58908
2013-05-01 21:54:40 +00:00
Eric Kohl
9aff77470a [LSASRV]
Implement logon token creation code.

svn path=/trunk/; revision=58907
2013-05-01 21:29:49 +00:00
Pierre Schweitzer
44099efad5 [NTOSKRNL]
Implement post stack overflow functions (i.e. FsRtlPostStackOverflow() and FsRtlPostPagingFileStackOverflow())


svn path=/trunk/; revision=58906
2013-05-01 20:53:15 +00:00
Hermès Bélusca-Maïto
719bfaafbc Code formatting only.
svn path=/branches/kd++/; revision=58905
2013-05-01 19:02:10 +00:00
Hermès Bélusca-Maïto
c02973e346 [DRIVERS]
The *REAL* kdcom is renamed... kdcom.

svn path=/branches/kd++/; revision=58904
2013-05-01 17:45:53 +00:00
Hermès Bélusca-Maïto
67850ad4f5 [DRIVERS]
- Move GCC-named kdcom to kdrosdbg.
- Remove an unneeded export file.

svn path=/branches/kd++/; revision=58903
2013-05-01 17:43:11 +00:00
Hermès Bélusca-Maïto
a57fa92c2f [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
2013-05-01 17:12:56 +00:00
Amine Khaldi
279b9507fd [IEFRAME]
* Fix the Home button label. Brought to you by Andre Guibert de Bruet.
CORE-7144 #resolve #comment Thanks !

svn path=/trunk/; revision=58901
2013-05-01 16:00:36 +00:00
Eric Kohl
c4682b16cb [INCLUDE]
Add missing LSA_TOKEN_INFORMATION_NULL and LSA_TOKEN_INFORMATION_V1 types.

svn path=/trunk/; revision=58900
2013-05-01 13:44:24 +00:00
Pierre Schweitzer
1f1a1a9323 [NTOSKRNL]
Make post stack overflow functions use the same (unimplemented) helper function

svn path=/trunk/; revision=58899
2013-05-01 10:54:02 +00:00
Amine Khaldi
7ca3c9d2a7 [NET]
* Fix MSVC build.

svn path=/trunk/; revision=58898
2013-05-01 10:00:06 +00:00
Pierre Schweitzer
85c6b0f6b9 [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
2013-05-01 09:10:34 +00:00
Cameron Gutman
93ce06d95e [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
2013-04-30 09:33:40 +00:00
Cameron Gutman
a0d79bf7b9 [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
2013-04-30 08:16:29 +00:00
Ziliang Guo
82cd964e20 [NET]
Implementation of pause, continue, and help commands for net service application. Patch by theflash.
Core-7131 #resolve

svn path=/trunk/; revision=58894
2013-04-30 02:57:30 +00:00
Hermès Bélusca-Maïto
6cdfa4a25c [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
2013-04-29 23:49:52 +00:00
Jérôme Gardou
ec8ff3a906 [NTOSKRNL/V86VDM]
- Merge the EFLAGS register instead of overwriting it when restoring it from a POPF call.

svn path=/trunk/; revision=58892
2013-04-29 16:17:46 +00:00
Amine Khaldi
bd3b0e8ef4 [LWIP]
* Update to 1.4.1. Brought to you by Samuel Serapion.
CORE-7140

svn path=/trunk/; revision=58891
2013-04-29 12:24:39 +00:00
Aleksey Bragin
463cb69720 [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
2013-04-29 10:28:58 +00:00
Aleksey Bragin
9dfddd39d2 [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
2013-04-29 10:10:44 +00:00
Cameron Gutman
c715a8270e [NDIS]
- Queue the miniport worker only after a previous operation has completed

CORE-5734 #resolve #comment Fixed in r58888

svn path=/trunk/; revision=58888
2013-04-29 10:01:39 +00:00
Giannis Adamopoulos
177dae0796 [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
2013-04-28 20:53:57 +00:00
Hermès Bélusca-Maïto
e1ef078741 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
2013-04-28 13:26:45 +00:00
Olaf Siejka
1a40619b16 [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
2013-04-28 11:07:07 +00:00
Thomas Faber
da2746c5cb [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
2013-04-28 09:58:55 +00:00
Thomas Faber
6b3b943c2e [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
2013-04-28 09:49:09 +00:00
Thomas Faber
32bc439366 [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
2013-04-28 09:09:57 +00:00
Thomas Faber
f2139d0242 [BROWSEUI:FORMATTING]
- Use spaces instead of tabs

svn path=/trunk/; revision=58878
2013-04-28 08:42:22 +00:00
Thomas Faber
d0ad4929d7 [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
2013-04-28 07:49:41 +00:00
Hermès Bélusca-Maïto
ec77a7ee25 [KDCOM]
Add resource files for KDCOM and compile them.

svn path=/trunk/; revision=58876
2013-04-27 21:46:02 +00:00
Sylvain Petreolle
5ace783b87 [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
2013-04-27 19:33:31 +00:00
Thomas Faber
76a1dccfe2 [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
2013-04-27 18:33:50 +00:00
Thomas Faber
4c309ccd7f [KMTESTS]
- Implement a mechanism for kmtests to retrieve information from user-mode. Patch by Nikolay Borisov (nib9 at aber dot ac dot uk).
- Currently supported function: QueryVirtualMemory
ROSTESTS-96 #resolve

svn path=/trunk/; revision=58873
2013-04-27 18:18:17 +00:00
Amine Khaldi
b74ef49f87 [DINPUT]
* Add missing psdk dependency for the dinput data formats library.

svn path=/trunk/; revision=58872
2013-04-27 14:56:43 +00:00
Amine Khaldi
66773cd55c [CMAKE]
* Don't set a default list of linked libraries, let us decide that ourselves. Fixes the recent VS build issues.

svn path=/trunk/; revision=58871
2013-04-27 13:53:29 +00:00
Sylvain Petreolle
f4aedab366 Import CredMarshalCredential and CredIsMarshaledCredential from wine.
ROSTESTS-97 #resolve

svn path=/trunk/; revision=58870
2013-04-27 12:37:33 +00:00
Amine Khaldi
d9576af780 [SHELL32]
* Silence a compiler warning. Spotted by Thomas Faber.

svn path=/trunk/; revision=58869
2013-04-27 09:40:27 +00:00