Commit graph

54328 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 795ebaa8b8 [FREELDR-KDCOM-KDBG]
Fix debugging issues.

svn path=/trunk/; revision=59921
2013-08-31 15:01:50 +00:00
Hermès Bélusca-Maïto aff36c042d Code formatting only
svn path=/trunk/; revision=59920
2013-08-31 15:00:17 +00:00
Giannis Adamopoulos 999fd92e73 [shell32]
- Remove a line that shouldn't have been committed

svn path=/trunk/; revision=59919
2013-08-31 14:59:45 +00:00
Giannis Adamopoulos d102ea906c [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
2013-08-31 14:53:01 +00:00
Amine Khaldi 86602e29cf [SAL]
* Forward __callback to __inner_callback now that wincrypt.h has the proper inclusion.

svn path=/trunk/; revision=59917
2013-08-31 11:07:09 +00:00
Alex Ionescu 0a79700b0d [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
2013-08-31 08:30:00 +00:00
Alex Ionescu aa796920ad CORE-2198 #resolve #time 15m #comment [NPFS/KERNEL32]: Always use the right semantics.
svn path=/trunk/; revision=59915
2013-08-31 07:29:26 +00:00
Alex Ionescu 675f4b0d71 [NPFS]: Add support for a few more volume information classes, and disable APCs like an FS should.
svn path=/trunk/; revision=59914
2013-08-31 07:07:43 +00:00
Alex Ionescu 084a679a6b [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
2013-08-31 02:19:36 +00:00
Alex Ionescu 0b45497394 [CPORT]: We shouldn't be DPRINT1'ing from the library designed to DPRINT...
svn path=/trunk/; revision=59912
2013-08-31 02:16:04 +00:00
Sylvain Petreolle 7c164e2686 configure: remove bashism.
svn path=/trunk/; revision=59910
2013-08-31 00:05:29 +00:00
Alex Ionescu 2e11e06309 [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
2013-08-30 19:54:44 +00:00
Alex Ionescu 8ee47fd2d9 [HIVESYS]: Set Session Manager\AppCompatibility, DisableAppCompat = TRUE in ReactOS, which avoids Kernel32 from doing app compat stuff.
svn path=/trunk/; revision=59908
2013-08-30 19:37:03 +00:00
Hermès Bélusca-Maïto ef6d5c266e [CONSRV]: Stubplement the remaining APIs needed for Windows kernel32.
svn path=/trunk/; revision=59907
2013-08-30 17:53:45 +00:00
Alex Ionescu a30fba55c1 Enable the C_ASSERT that validates our CONSRV structure matches the expected size.
svn path=/trunk/; revision=59906
2013-08-30 17:32:10 +00:00
Alex Ionescu 2e04ff140b [NTOSKRNL]: 903 was not supposed to have this change.
svn path=/trunk/; revision=59905
2013-08-30 17:28:45 +00:00
Alex Ionescu d9289eb230 [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
2013-08-30 17:14:41 +00:00
Alex Ionescu 0da3197b71 [RTL]: Make RtlUnhandledExceptionFilter show a stack trace, so at least we can see where the exception came from.
svn path=/trunk/; revision=59903
2013-08-30 15:37:10 +00:00
Amine Khaldi 3d4f9a8c5a [KERNEL32]
* Fix yet another buggy DPRINT.

svn path=/trunk/; revision=59902
2013-08-30 14:16:47 +00:00
Hermès Bélusca-Maïto 4f73c42009 [CONSRV]: Add some DPRINT1 information.
svn path=/trunk/; revision=59901
2013-08-30 11:36:22 +00:00
Hermès Bélusca-Maïto 27d8aa3aa9 [USERSRV]: Stubplement all the APIs needed for Windows kernel32.
svn path=/trunk/; revision=59900
2013-08-30 11:33:25 +00:00
Amine Khaldi d4931ab70e [GDI32]
* Fix some print specifiers.

svn path=/trunk/; revision=59899
2013-08-30 10:51:12 +00:00
Amine Khaldi 8e8e30befe [USER32]
* Fix some print specifiers.

svn path=/trunk/; revision=59898
2013-08-30 10:25:16 +00:00
Amine Khaldi baeeaa9cf5 [PSDK]
* Annotate sspi.h.

svn path=/trunk/; revision=59897
2013-08-30 10:17:22 +00:00
Amine Khaldi fbf42a5901 [CMAKE]
* Set the subsystem version as 5.01 for recent MSVC toolchains.

svn path=/trunk/; revision=59896
2013-08-30 10:09:56 +00:00
Alex Ionescu 7fc15017b3 [BASESRV]: Fix critical bug in BaseSrvNlsGetUserInfo.
svn path=/trunk/; revision=59895
2013-08-30 06:53:07 +00:00
Alex Ionescu 34ae4aafae [NTDLL/RTL]: Stub and export all the routines that Kernel32 needs.
svn path=/trunk/; revision=59894
2013-08-30 06:34:16 +00:00
Hermès Bélusca-Maïto 3b0c3f4ee4 [NTOS]
buzdelabuz2 !! We've unveiled who you are !!
Fix header information.

svn path=/trunk/; revision=59893
2013-08-29 22:24:46 +00:00
Aleksey Bragin a484270b02 [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
2013-08-29 22:07:24 +00:00
Hermès Bélusca-Maïto 7286005d2c [BASESRV]
Fix the "fix" of r59887, i.e. add a stub for the unknown api.

svn path=/trunk/; revision=59888
2013-08-29 21:37:22 +00:00
Hermès Bélusca-Maïto def8f5f442 Here too ;)
svn path=/trunk/; revision=59887
2013-08-29 21:29:33 +00:00
Alex Ionescu 59e1a8cedf [BASESRV]: forgot to update the name table.
svn path=/trunk/; revision=59886
2013-08-29 21:27:18 +00:00
Hermès Bélusca-Maïto abf866eeec Partially revert r59884 because of an enum name collision (which broke build).
svn path=/trunk/; revision=59885
2013-08-29 21:23:46 +00:00
Hermès Bélusca-Maïto bd732acefd [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
2013-08-29 21:14:49 +00:00
Amine Khaldi 80cb32f995 [NTDLL]
* Fix several print specifiers.
* Add missing Status variable to a DPRINT1.

svn path=/trunk/; revision=59883
2013-08-29 21:12:40 +00:00
Alex Ionescu 103ab26886 [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
2013-08-29 21:00:54 +00:00
Amine Khaldi 76ac8a4d9d [KERNEL32]
* Fix several print specifiers.

svn path=/trunk/; revision=59881
2013-08-29 20:37:02 +00:00
Alex Ionescu 9fe4035883 [KERNEL32]: Passing flag 0 to QueryActCtx is valid, don't fail.
svn path=/trunk/; revision=59880
2013-08-29 20:14:43 +00:00
Alex Ionescu ca5079dbc5 [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
2013-08-29 20:13:31 +00:00
Alex Ionescu b512a67763 [NLS]. Add NLS files.
svn path=/trunk/; revision=59878
2013-08-29 19:07:10 +00:00
Hermès Bélusca-Maïto 89a6f0d487 Formatting fix only.
svn path=/trunk/; revision=59877
2013-08-29 18:13:24 +00:00
Alex Ionescu a20cac9b5d moar failz
svn path=/trunk/; revision=59875
2013-08-29 17:46:26 +00:00
Alex Ionescu 8ed6af6f2a fix a dprint
svn path=/trunk/; revision=59874
2013-08-29 17:44:34 +00:00
Hermès Bélusca-Maïto 4a3ceaec30 Fix variable naming.
svn path=/trunk/; revision=59873
2013-08-29 17:40:21 +00:00
Alex Ionescu 93bba5bf09 [BASESRV]: Stubplement all the APIs so that our IDs match with Windows. Windows kernel32 now dies when calling NLSCreateSection.
svn path=/trunk/; revision=59872
2013-08-29 17:00:10 +00:00
Alex Ionescu b626c99f0b [KERNEL32]: Fix a bug in QueryActCtx
svn path=/trunk/; revision=59871
2013-08-29 16:42:14 +00:00
Hermès Bélusca-Maïto 95ea6a8d77 [KERNEL32]
Use GetSystemDirectoryW for building the path to console.dll

svn path=/trunk/; revision=59870
2013-08-29 14:31:06 +00:00
Hermès Bélusca-Maïto e3a5aaeb41 [KERNEL32]
Fix some headers information.
CORE-7421 #resolve #comment Fixed in revision r59869, thanks :)

svn path=/trunk/; revision=59869
2013-08-29 12:20:29 +00:00
Alex Ionescu 1bc5937959 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
2013-08-29 07:33:10 +00:00
Alex Ionescu b840c2367f [HIDPARSE]: Stop the HID debug spam.
svn path=/trunk/; revision=59867
2013-08-29 06:09:28 +00:00