Amine Khaldi [Tue, 3 Sep 2013 12:32:48 +0000 (12:32 +0000)]
[SHELL32]
* Improve the German translation, fix the position of some new strings that are larger than English originals and fix some formatting. By Robert Naumann.
CORE-7440 #resolve #comment Committed in r59974. Thanks.
svn path=/trunk/; revision=59974
Amine Khaldi [Tue, 3 Sep 2013 12:04:47 +0000 (12:04 +0000)]
[DDK]
* Annotate scsiwmi.h.
svn path=/trunk/; revision=59973
Amine Khaldi [Tue, 3 Sep 2013 12:02:52 +0000 (12:02 +0000)]
[SMSS]
* Fix some print specifiers.
svn path=/trunk/; revision=59972
Amine Khaldi [Tue, 3 Sep 2013 11:59:51 +0000 (11:59 +0000)]
[PSDK]
* Fix a typo.
svn path=/trunk/; revision=59971
Pierre Schweitzer [Tue, 3 Sep 2013 06:20:51 +0000 (06:20 +0000)]
[FRAMEDYN]
Reduce Len variable scope * 2
svn path=/trunk/; revision=59970
Amine Khaldi [Mon, 2 Sep 2013 22:49:45 +0000 (22:49 +0000)]
[PSDK]
* Annotate usp10.h.
svn path=/trunk/; revision=59969
Amine Khaldi [Mon, 2 Sep 2013 22:43:37 +0000 (22:43 +0000)]
[SMLIB]
* Fix some print specifiers.
svn path=/trunk/; revision=59968
Hermès Bélusca-Maïto [Mon, 2 Sep 2013 22:19:41 +0000 (22:19 +0000)]
[NTOS:LPC]: Rename a flag I've introduced sooner, and remove an unneeded variable + code formatting.
svn path=/trunk/; revision=59967
Eric Kohl [Mon, 2 Sep 2013 21:10:46 +0000 (21:10 +0000)]
[NETAPI32]
Revert r59958 because the old code was correct.
svn path=/trunk/; revision=59966
Hermès Bélusca-Maïto [Mon, 2 Sep 2013 21:09:56 +0000 (21:09 +0000)]
[NTOS:LPC]: Code formatting, with hardocded_flags--;
svn path=/trunk/; revision=59965
Eric Kohl [Mon, 2 Sep 2013 20:36:42 +0000 (20:36 +0000)]
[SAMSRV]
- Use the new function SampSetObjectAttributeString to write strings to the registry. Handle empty strings properly.
- Fix SampGetObjectAttributeString to handle empty strings properly as well.
svn path=/trunk/; revision=59964
Amine Khaldi [Mon, 2 Sep 2013 17:46:10 +0000 (17:46 +0000)]
[CMLIB]
* Fix a trace.
svn path=/trunk/; revision=59963
Amine Khaldi [Mon, 2 Sep 2013 12:56:20 +0000 (12:56 +0000)]
[COMCTL32]
* Implement an undocumented flag for the rebar control. This flag is used by browseui and is needed to show the explorer window properly. Should be sent Upstream. Brought to you by Giannis Adamopoulos (Smiley).
* Update the sync diff.
svn path=/trunk/; revision=59962
Giannis Adamopoulos [Mon, 2 Sep 2013 12:18:37 +0000 (12:18 +0000)]
[shell32]
- Fix a warning
svn path=/trunk/; revision=59961
Amine Khaldi [Sun, 1 Sep 2013 23:58:37 +0000 (23:58 +0000)]
[WIN32K]
* Fix some print specifiers. Dedicated to the Island.
svn path=/trunk/; revision=59960
Eric Kohl [Sun, 1 Sep 2013 23:32:15 +0000 (23:32 +0000)]
[NETAPI32]
NetLocalGroupAdd: Set the admin comment only if it is not NULL.
svn path=/trunk/; revision=59958
Amine Khaldi [Sun, 1 Sep 2013 22:03:22 +0000 (22:03 +0000)]
[CRT]
* Annotate io_s.h.
svn path=/trunk/; revision=59957
Amine Khaldi [Sun, 1 Sep 2013 21:25:52 +0000 (21:25 +0000)]
[PSDK]
* Annotate winnetwk.h.
svn path=/trunk/; revision=59956
Amine Khaldi [Sun, 1 Sep 2013 21:17:36 +0000 (21:17 +0000)]
[PAINT]
* Fix MSVC build.
svn path=/trunk/; revision=59955
Benedikt Freisen [Sun, 1 Sep 2013 20:13:15 +0000 (20:13 +0000)]
[PAINT]
* Stretch/Skew dialog fully implemented (skewing not yet functional), please check translations
* pre Windows Vista MSPaint palette selectable via menu entry
* Attributes dialog supports setting width and height in inches and cm also
* drawing functions improved
* some variables grouped into structs
* Changed SendMessage(... WM_PAINT ...) into InvalidateRect(...), this is the way it should be and it fixes half of the repainting bugs
svn path=/trunk/; revision=59954
Amine Khaldi [Sun, 1 Sep 2013 17:55:00 +0000 (17:55 +0000)]
[KMTESTS]
* Run this block now that guard pages are supported.
ROSTESTS-107 #resolve
svn path=/trunk/; revision=59953
Giannis Adamopoulos [Sun, 1 Sep 2013 16:56:48 +0000 (16:56 +0000)]
- forgot to commit this
svn path=/trunk/; revision=59951
Giannis Adamopoulos [Sun, 1 Sep 2013 16:52:36 +0000 (16:52 +0000)]
[shell32]
- Stub CMenuDeskBar class
svn path=/trunk/; revision=59950
Amine Khaldi [Sun, 1 Sep 2013 16:13:16 +0000 (16:13 +0000)]
[RSYM]
* Addendum to r59938.
svn path=/trunk/; revision=59948
Pierre Schweitzer [Sun, 1 Sep 2013 16:10:02 +0000 (16:10 +0000)]
[FRAMEDYN]
Remove operator LPWSTR() in favor of operator LPCWSTR() const (likely to fix its export ;-))
Add missing operators implementations as inline
svn path=/trunk/; revision=59947
Amine Khaldi [Sun, 1 Sep 2013 15:51:32 +0000 (15:51 +0000)]
[FRAMEDYN]
* Fix the MSVC build for real now, so that we don't keep fixing it bit by bit until r60000.
svn path=/trunk/; revision=59946
Eric Kohl [Sun, 1 Sep 2013 15:46:00 +0000 (15:46 +0000)]
[SAMSRV]
- Improve SamRegCloseKey and fix all calls to it accordingly. Also replace all calls to NtClose by calls to SampRegCloseKey.
- Add a resource to protect the Samr functions from concurrent access.
svn path=/trunk/; revision=59945
Pierre Schweitzer [Sun, 1 Sep 2013 15:44:17 +0000 (15:44 +0000)]
[FRAMEDYN]
Comment out exports that fail
svn path=/trunk/; revision=59944
Pierre Schweitzer [Sun, 1 Sep 2013 15:34:38 +0000 (15:34 +0000)]
[FRAMEDYN]
Don't export anything on MSVC yet.
Some symbols are not found. Dunno why.
svn path=/trunk/; revision=59943
Pierre Schweitzer [Sun, 1 Sep 2013 15:04:21 +0000 (15:04 +0000)]
[FRAMEDYN]
Fix typo
svn path=/trunk/; revision=59942
Pierre Schweitzer [Sun, 1 Sep 2013 14:54:33 +0000 (14:54 +0000)]
[FRAMEDYN]
Fix a typo (and so a bug), spotted by MSVC. I don't thank you G++...
Attempt to fix build with MSVC
svn path=/trunk/; revision=59941
Pierre Schweitzer [Sun, 1 Sep 2013 14:48:09 +0000 (14:48 +0000)]
[FRAMEDYN]
Partplement framedyn.dll
So far, only CHString class is implemented in it
Regarding CHString class implementation:
It has been implemented matching Windows behavior and bugs
It might not be really nice at some points but this ensures
compatibility with applications relying on it.
As a side note: this might explain why this API was abandonned after w2k3...
Regarding the DLL itself:
Its implementation into ReactOS allows systeminfo.exe application from w2k3 to
load and start initialization into ReactOS. It stops working later on with some
IDispatch error.
The DLL cannot be used to build any application against framedyn.dll with our "default" BE (read with G++).
Only MSVC mangled name are exported so far (as on Windows ;-)) thanks to aliasing. This is why there are two spec files.
This makes G++ unable to link with it though. This is the reason why there are no framedyn_apitests so far.
Furthermore, the DLL only have exports for x86 and none for x64 for the moment.
Any help is welcome for having exports for x64 target and to be able to have aliasing for G++ (from its mangled names
to MSVC ones).
svn path=/trunk/; revision=59940
Pierre Schweitzer [Sun, 1 Sep 2013 14:30:28 +0000 (14:30 +0000)]
[PDSK]
Add two headers: chstring.h and provexce.h
They are used for framedyn.dll stuff, for instance
So far, the CHString class is not fully populated. It is only
populated with exported stuff from framedyn.dll
svn path=/trunk/; revision=59939
Amine Khaldi [Sun, 1 Sep 2013 13:23:54 +0000 (13:23 +0000)]
[RSYM]
* Don't overwrite the MZ header when there are no long section names.
* Correct an error including 4 more bytes than needed in the coff strings.
* Brought to you by Arty.
svn path=/trunk/; revision=59938
Hermès Bélusca-Maïto [Sun, 1 Sep 2013 12:41:58 +0000 (12:41 +0000)]
[APPWIZ]
- Convert some language resource files into UTF-8 without BOM (aka. ANSI as UTF-8 with Notepad++).
- Improve some French translation.
- Fix Czech translation, thanks Radek :)
(Addendum to r59924 and r59925)
svn path=/trunk/; revision=59937
Amine Khaldi [Sun, 1 Sep 2013 11:17:36 +0000 (11:17 +0000)]
[RSYM]
* Fix long section names and correct some wrong use of ULONG_PTR. Brought to you by Arty.
svn path=/trunk/; revision=59936
Amine Khaldi [Sun, 1 Sep 2013 11:11:52 +0000 (11:11 +0000)]
[DBGHELP]
* Speedup dbghelp mainly for the x64 builds. Brought to you by Arty. Should be sent upstream.
svn path=/trunk/; revision=59935
Amine Khaldi [Sun, 1 Sep 2013 10:16:29 +0000 (10:16 +0000)]
[NPFS/KERNEL32]
* Back out r59915 for a moment so we can use Patchbot.
svn path=/trunk/; revision=59934
Hermès Bélusca-Maïto [Sun, 1 Sep 2013 00:11:56 +0000 (00:11 +0000)]
[CMAKE]: Fix a comment typo only.
[NTDLL-KERNEL32-BASESRV-WINSRV]: Specify by hand (hackz for MSVC builds) that the dll will be a "Console DLL" (ie. not a native one nor a Gui DLL).
[BASESRV]: Explicitely set the DLL entry point to DllMain (unusued).
[WINSRV]: Explicitely set the DLL entry point to DllMain (unusued) AND REMOVE usage of msvcrt (that might pose problems when testing with Windows msvcrt etc...) and use libcntpr instead.
Thanks to Amine for having helped me in solving a problem with delayed imports.
svn path=/trunk/; revision=59933
Alex Ionescu [Sat, 31 Aug 2013 19:24:54 +0000 (19:24 +0000)]
[KERNEL32]: Add a DPRINT1 when failing GetCPInfo in kernel32, to highlight the fact our MSVCRT is sending us bogus codepage/locale IDs.
svn path=/trunk/; revision=59930
Hermès Bélusca-Maïto [Sat, 31 Aug 2013 17:34:37 +0000 (17:34 +0000)]
[RTL]
Implement RtlDefaultNpAcl, needed for giving a default security to named pipes. Makes Win2k3 kernel32 happy when one creates named pipes for SCM and so on.
Getting the SID of the caller is done as described in http://www.osronline.com/article.cfm?article=50 in "Extracting the SID from the Token".
svn path=/trunk/; revision=59928
Giannis Adamopoulos [Sat, 31 Aug 2013 16:55:49 +0000 (16:55 +0000)]
[browseui]
- Improve the stub for CAddressEditBox::SetOwner to make the rest of browseui happy for now
- In CShellBrowser::Initialize browse to the pidl that is passed as parameter instead of always browsing to the desktop folder
- Fix a bug in atl class CContainedWindowT::DefWindowProc that was calling the window proc with an invalid hwnd.
svn path=/trunk/; revision=59927
Aleksey Bragin [Sat, 31 Aug 2013 16:36:34 +0000 (16:36 +0000)]
[NTOS/FSRTL]
- FsRtlCopyWrite: Fix typos in local var names and comments.
- FsRtlCopyWrite: Fix copypasta in a call to FastIoCheckIfPossible: wait flag shouldn't be always TRUE in this case (it's determined by Wait parameter).
- FsRtlCopyRead: Fix updating of CurrentByteOffset.
- FsRtlAcquireFileForCcFlushEx / FsRtlReleaseFileForCcFlush: Handle the case when FastIO callback may fail and FsRtl still needs to act as if FastIO callback would be missing at all.
- Implement FsRtlAcquireFileForModWriteEx / FsRtlReleaseFileForModWrite thanks to Rajeev Nagar's book.
- Now all necessary FsRtl locking/unlocking mechanisms exist.
svn path=/trunk/; revision=59926
Amine Khaldi [Sat, 31 Aug 2013 16:28:01 +0000 (16:28 +0000)]
[APPWIZ]
* Addendum to r59924. Radek please review.
svn path=/trunk/; revision=59925
Amine Khaldi [Sat, 31 Aug 2013 16:14:12 +0000 (16:14 +0000)]
[APPWIZ]
* Remove some Wine specific text and introduce a tiny update to the German translation. By zehnvor.
CORE-7221 #resolve #comment Committed in r59924. Danke.
svn path=/trunk/; revision=59924
Amine Khaldi [Sat, 31 Aug 2013 16:02:13 +0000 (16:02 +0000)]
[NTOSKRNL]
* Fix several print specifiers.
* Add some missing variables to debug prints.
svn path=/trunk/; revision=59923
Giannis Adamopoulos [Sat, 31 Aug 2013 15:05:49 +0000 (15:05 +0000)]
really fix build
svn path=/trunk/; revision=59922
Hermès Bélusca-Maïto [Sat, 31 Aug 2013 15:01:50 +0000 (15:01 +0000)]
[FREELDR-KDCOM-KDBG]
Fix debugging issues.
svn path=/trunk/; revision=59921
Hermès Bélusca-Maïto [Sat, 31 Aug 2013 15:00:17 +0000 (15:00 +0000)]
Code formatting only
svn path=/trunk/; revision=59920
Giannis Adamopoulos [Sat, 31 Aug 2013 14:59:45 +0000 (14:59 +0000)]
[shell32]
- Remove a line that shouldn't have been committed
svn path=/trunk/; revision=59919
Giannis Adamopoulos [Sat, 31 Aug 2013 14:53:01 +0000 (14:53 +0000)]
[shell32]
- Halfplement CDesktopBrowser::BrowseObject. Now when the user tries to open a folder from the desktop we will try to create a new explorer window.
- ps: this affects only explorer_new and the rest of the shell is still not working well enough to actually show the new window
svn path=/trunk/; revision=59918
Amine Khaldi [Sat, 31 Aug 2013 11:07:09 +0000 (11:07 +0000)]
[SAL]
* Forward __callback to __inner_callback now that wincrypt.h has the proper inclusion.
svn path=/trunk/; revision=59917
Alex Ionescu [Sat, 31 Aug 2013 08:30:00 +0000 (08:30 +0000)]
[CONSRV]: One last fix to CONSRV_API_CONNECTINFO. We now have compatibility with Windows and kernel32 is much much happier.
[CONSRV]: Implement Case11 of BaseSrvNlsCreateSection, but we seem to be getting bogus locale IDs.
svn path=/trunk/; revision=59916
Alex Ionescu [Sat, 31 Aug 2013 07:29:26 +0000 (07:29 +0000)]
CORE-2198 #resolve #time 15m #comment [NPFS/KERNEL32]: Always use the right semantics.
svn path=/trunk/; revision=59915
Alex Ionescu [Sat, 31 Aug 2013 07:07:43 +0000 (07:07 +0000)]
[NPFS]: Add support for a few more volume information classes, and disable APCs like an FS should.
svn path=/trunk/; revision=59914
Alex Ionescu [Sat, 31 Aug 2013 02:19:36 +0000 (02:19 +0000)]
[NTDLL]: Use NT-style calculation in CsrClientCallServer. In special cases, structures can be padded at the end, causing the size of the structure - the size of last field, not to be equal to the offset of the last field. Doing math the NT way will, in some cases (if the CSR union is not 8-byte aligned), cause the TotalLength to be 4 bytes bigger than really needed.
[CSRSRV]: Increase the padding to 39*4 bytes, instead of 35, to match Windows.
svn path=/trunk/; revision=59913
Alex Ionescu [Sat, 31 Aug 2013 02:16:04 +0000 (02:16 +0000)]
[CPORT]: We shouldn't be DPRINT1'ing from the library designed to DPRINT...
svn path=/trunk/; revision=59912
Sylvain Petreolle [Sat, 31 Aug 2013 00:05:29 +0000 (00:05 +0000)]
configure: remove bashism.
svn path=/trunk/; revision=59910
Alex Ionescu [Fri, 30 Aug 2013 19:54:44 +0000 (19:54 +0000)]
[NTOSKRNL]: Forcefully set IMAGE_DLLCHARACTERISTICS_NO_ISOLATION on all images. See comment for more information. Windows' kernel32.dll now beautifully loads to the ReactOS winlogon screen (which nobody should ever see -- it's being shown because RtlDefaultNpAcl is not implemented in ReactOS, and thus all named pipes die (SCM, etc...)
svn path=/trunk/; revision=59909
Alex Ionescu [Fri, 30 Aug 2013 19:37:03 +0000 (19:37 +0000)]
[HIVESYS]: Set Session Manager\AppCompatibility, DisableAppCompat = TRUE in ReactOS, which avoids Kernel32 from doing app compat stuff.
svn path=/trunk/; revision=59908
Hermès Bélusca-Maïto [Fri, 30 Aug 2013 17:53:45 +0000 (17:53 +0000)]
[CONSRV]: Stubplement the remaining APIs needed for Windows kernel32.
svn path=/trunk/; revision=59907
Alex Ionescu [Fri, 30 Aug 2013 17:32:10 +0000 (17:32 +0000)]
Enable the C_ASSERT that validates our CONSRV structure matches the expected size.
svn path=/trunk/; revision=59906
Alex Ionescu [Fri, 30 Aug 2013 17:28:45 +0000 (17:28 +0000)]
[NTOSKRNL]: 903 was not supposed to have this change.
svn path=/trunk/; revision=59905
Alex Ionescu [Fri, 30 Aug 2013 17:14:41 +0000 (17:14 +0000)]
[CONSRV]: Reorganize/rename/add some fields to CONSRV_API_CONNECTINFO, partially based on an MSDN page, and a little bit of RE, which makes it closer to the Windows structure. No behavioral change should have happened as a result of these changes.
svn path=/trunk/; revision=59904
Alex Ionescu [Fri, 30 Aug 2013 15:37:10 +0000 (15:37 +0000)]
[RTL]: Make RtlUnhandledExceptionFilter show a stack trace, so at least we can see where the exception came from.
svn path=/trunk/; revision=59903
Amine Khaldi [Fri, 30 Aug 2013 14:16:47 +0000 (14:16 +0000)]
[KERNEL32]
* Fix yet another buggy DPRINT.
svn path=/trunk/; revision=59902
Hermès Bélusca-Maïto [Fri, 30 Aug 2013 11:36:22 +0000 (11:36 +0000)]
[CONSRV]: Add some DPRINT1 information.
svn path=/trunk/; revision=59901
Hermès Bélusca-Maïto [Fri, 30 Aug 2013 11:33:25 +0000 (11:33 +0000)]
[USERSRV]: Stubplement all the APIs needed for Windows kernel32.
svn path=/trunk/; revision=59900
Amine Khaldi [Fri, 30 Aug 2013 10:51:12 +0000 (10:51 +0000)]
[GDI32]
* Fix some print specifiers.
svn path=/trunk/; revision=59899
Amine Khaldi [Fri, 30 Aug 2013 10:25:16 +0000 (10:25 +0000)]
[USER32]
* Fix some print specifiers.
svn path=/trunk/; revision=59898
Amine Khaldi [Fri, 30 Aug 2013 10:17:22 +0000 (10:17 +0000)]
[PSDK]
* Annotate sspi.h.
svn path=/trunk/; revision=59897
Amine Khaldi [Fri, 30 Aug 2013 10:09:56 +0000 (10:09 +0000)]
[CMAKE]
* Set the subsystem version as 5.01 for recent MSVC toolchains.
svn path=/trunk/; revision=59896
Alex Ionescu [Fri, 30 Aug 2013 06:53:07 +0000 (06:53 +0000)]
[BASESRV]: Fix critical bug in BaseSrvNlsGetUserInfo.
svn path=/trunk/; revision=59895
Alex Ionescu [Fri, 30 Aug 2013 06:34:16 +0000 (06:34 +0000)]
[NTDLL/RTL]: Stub and export all the routines that Kernel32 needs.
svn path=/trunk/; revision=59894
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 22:24:46 +0000 (22:24 +0000)]
[NTOS]
buzdelabuz2 !! We've unveiled who you are !!
Fix header information.
svn path=/trunk/; revision=59893
Aleksey Bragin [Thu, 29 Aug 2013 22:07:24 +0000 (22:07 +0000)]
[NTOS]
- Implement two types of FsRtl locking functions: exclusive lock and Cc flushing lock, along with their releasing counterparts, without the filter callbacks support. These functions are unused in trunk now but would be needed by proper Cc/Mm/IFS in future.
svn path=/trunk/; revision=59889
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 21:37:22 +0000 (21:37 +0000)]
[BASESRV]
Fix the "fix" of r59887, i.e. add a stub for the unknown api.
svn path=/trunk/; revision=59888
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 21:29:33 +0000 (21:29 +0000)]
Here too ;)
svn path=/trunk/; revision=59887
Alex Ionescu [Thu, 29 Aug 2013 21:27:18 +0000 (21:27 +0000)]
[BASESRV]: forgot to update the name table.
svn path=/trunk/; revision=59886
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 21:23:46 +0000 (21:23 +0000)]
Partially revert r59884 because of an enum name collision (which broke build).
svn path=/trunk/; revision=59885
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 21:14:49 +0000 (21:14 +0000)]
[BASESRV]
- Fix nls.c header information.
- Rename BasepUnknown to BasepDebugProcess according to j00ru's http://j00ru.vexillium.org/csrss_list/api_list.html#Windows_2k3 and what Alex_Ionescu committed in r59879 (deprecated api).
svn path=/trunk/; revision=59884
Amine Khaldi [Thu, 29 Aug 2013 21:12:40 +0000 (21:12 +0000)]
[NTDLL]
* Fix several print specifiers.
* Add missing Status variable to a DPRINT1.
svn path=/trunk/; revision=59883
Alex Ionescu [Thu, 29 Aug 2013 21:00:54 +0000 (21:00 +0000)]
[BASESRV]: Fix definition of NLS_USER_INFO so that it matches exactly that of Server 2003 (this now makes BASE_SERVER_STATIC_DATA correct too).
[BASESRV]: Implement BaseSrvNlsGetUserInfo.
svn path=/trunk/; revision=59882
Amine Khaldi [Thu, 29 Aug 2013 20:37:02 +0000 (20:37 +0000)]
[KERNEL32]
* Fix several print specifiers.
svn path=/trunk/; revision=59881
Alex Ionescu [Thu, 29 Aug 2013 20:14:43 +0000 (20:14 +0000)]
[KERNEL32]: Passing flag 0 to QueryActCtx is valid, don't fail.
svn path=/trunk/; revision=59880
Alex Ionescu [Thu, 29 Aug 2013 20:13:31 +0000 (20:13 +0000)]
[BASESRV]: The last few APIs were off-by-one due to an unimplmented (in Windows) or deprecated api.c
[BASESRV]: Implement BaseSrvNlsCreateSection, which is needed by Windows kernel32.dll. Also implement the delay-loading functionality it needs.
svn path=/trunk/; revision=59879
Alex Ionescu [Thu, 29 Aug 2013 19:07:10 +0000 (19:07 +0000)]
[NLS]. Add NLS files.
svn path=/trunk/; revision=59878
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 18:13:24 +0000 (18:13 +0000)]
Formatting fix only.
svn path=/trunk/; revision=59877
Alex Ionescu [Thu, 29 Aug 2013 17:46:26 +0000 (17:46 +0000)]
moar failz
svn path=/trunk/; revision=59875
Alex Ionescu [Thu, 29 Aug 2013 17:44:34 +0000 (17:44 +0000)]
fix a dprint
svn path=/trunk/; revision=59874
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 17:40:21 +0000 (17:40 +0000)]
Fix variable naming.
svn path=/trunk/; revision=59873
Alex Ionescu [Thu, 29 Aug 2013 17:00:10 +0000 (17:00 +0000)]
[BASESRV]: Stubplement all the APIs so that our IDs match with Windows. Windows kernel32 now dies when calling NLSCreateSection.
svn path=/trunk/; revision=59872
Alex Ionescu [Thu, 29 Aug 2013 16:42:14 +0000 (16:42 +0000)]
[KERNEL32]: Fix a bug in QueryActCtx
svn path=/trunk/; revision=59871
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 14:31:06 +0000 (14:31 +0000)]
[KERNEL32]
Use GetSystemDirectoryW for building the path to console.dll
svn path=/trunk/; revision=59870
Hermès Bélusca-Maïto [Thu, 29 Aug 2013 12:20:29 +0000 (12:20 +0000)]
[KERNEL32]
Fix some headers information.
CORE-7421 #resolve #comment Fixed in revision r59869, thanks :)
svn path=/trunk/; revision=59869
Alex Ionescu [Thu, 29 Aug 2013 07:33:10 +0000 (07:33 +0000)]
CORE-6639 #resolve #time 1d #comment Guard pages now work ;-)
[NDK]: Fix definition of a global flag.
[RTL]: RtlpCreateUserStack: 1) If the image is invalid, bail out. 2) If the stack commit is higher than reserve, adjust reserve. 3) After allocating a guard page, the stack limit is now ABOVE the guard page, not BELOW it (stack grows backward!).
[RTL]: Remove the hack which always Commited the "StackReserve" value. Threads now have a 4-64KB stack, instead of a 1MB stack.
[NTOSKRNL]: Implement MiAccessCheck and MiCheckForUserStackOverflow, which handle guard page + stack expansion.
[USER32]: Because threads now correctly run with a smaller stack than usual (and expand as needed), remove some checks in user-mode callbacks which forced larger stacks.
svn path=/trunk/; revision=59868
Alex Ionescu [Thu, 29 Aug 2013 06:09:28 +0000 (06:09 +0000)]
[HIDPARSE]: Stop the HID debug spam.
svn path=/trunk/; revision=59867
Alex Ionescu [Thu, 29 Aug 2013 04:34:00 +0000 (04:34 +0000)]
[NDK]: Add some RTL_ACTIVATION_CONTEXT flags from the ASSERTs in the checked ntdll.dll. Guess some other ones based on what seems to be the naming pattern (can't find them on Google, so who knows).
[RTL]: Make the Wine RtlActivationContext* APIs use the native RTL flags, not the Win32 flags.
[KERNEL32]: Separate Wine-specific ActCtx code from NT-compatible ActCtx code, and reimplement the latter. Now all ActCtx APIs except CreateActCtx (which is a mess on Windows) are compatible with the real NT RtlActivationContext APIs in terms of flags.
[KERNEL32]: Fix the hacks which were sending Win32 flags to the NT Native Rtl* functions.
svn path=/trunk/; revision=59866
Alex Ionescu [Thu, 29 Aug 2013 00:07:00 +0000 (00:07 +0000)]
[KERNEL32]: Implement BaseProcessInitPostImport. Windows NTDLL now loads much, much further, all the way to lsass.exe now.
svn path=/trunk/; revision=59865
Alex Ionescu [Thu, 29 Aug 2013 00:02:15 +0000 (00:02 +0000)]
[NTDLL]: Fix CsrpConnectToServer to use the correct CSR_API_CONNECTINFO structure.
[CSRSRV]: Fix definition of CSR_API_CONNECTINFO structure. It is now compatible with Server 2003. Also, set the DebugFlag.
svn path=/trunk/; revision=59864