Commit graph

54240 commits

Author SHA1 Message Date
Amine Khaldi 00b4f33ecd [DBGHELPHOST]
* Fix some warnings. Brought to you by Thomas Faber.

svn path=/trunk/; revision=59507
2013-07-19 00:11:08 +00:00
Thomas Faber 9830a11818 [WIDL]
- Fix some warnings

svn path=/trunk/; revision=59506
2013-07-18 21:55:32 +00:00
Amine Khaldi 4f0694e3af * Improve the way we create rossym debug info. The effort results in ~85% *smaller* build folder with ninja all with no code changes.
[DBGHELPHOST]
* Introduce a self-contained, static library version of dbghelp, in order to leverage its PE DWARF support. Thanks to Jerome Gardou for his work on the compatibility layer, and to Thomas Faber for helping me with the review/improvements.
* Unify the new host lib with the existing dll codebase using preprocessor conditions. This prevents code duplication.
* Skip as much unneeded functionality as possible when compiling dbghelphost to keep it light and straight to the point.
[RSYM]
* Introduce the required functions that allow parsing DWARF (using dbghelphost) and using it (along with coff symbols) to create the rossym debug info. Brought to you by Awesome Arty with some bugfixes from Jerome Gardou. Many thanks to Thomas Faber for assisting me with the testing/bug hunting.
[CMAKE/GCC]
* Introduce a combination of dwarf and debug emission flags that ensure the smallest debug info size among all the possible options we have.
* Introduce compressed debug sections that I already included the support for in RosBE 2.1. Thanks to the mingw-w64 folks (Kai Tietz) for the patch.
* Don't compress debug sections of C++ modules for now due to a bug in the toolchain that leads to spamming the build at link time with a warning.
* Don't run rsym on the RC shared libraries. Thanks to Thomas Faber for spotting this.
[DBGHELP]
* Update the ros diff to reflect the changes introduced by the dbghelphost unification.

svn path=/trunk/; revision=59505
2013-07-18 21:03:01 +00:00
Thomas Faber cc5e6fe6a6 [INFLIB]
- Avoid use of swprintf, which is blatantly incompatible with -fshort-wchar
CORE-6918 #resolve

svn path=/trunk/; revision=59504
2013-07-18 20:29:18 +00:00
Thomas Faber a937917f7f [UNICODE]
- Fix missing isdigit

svn path=/trunk/; revision=59503
2013-07-18 20:08:37 +00:00
Amine Khaldi 9d7768ed60 [RSYM]
* Formatting. No intended code changes.

svn path=/trunk/; revision=59496
2013-07-17 14:42:33 +00:00
Aleksey Bragin b666ebecda [NTOS]
- Fix CcMdlReadComplete2 prototype.
- Fix a bug in Dominique Cote's code: when performing FsRtlGetFileSize, the length of the buffer should be set accordingly to the information class asked for, that is - FILE_STANDARD_INFORMATION structure. Previous calculation formula makes no sense at all and leads to memory corruption (if filesystem driver is stupid enough) or inability to get file size (if filesystem driver is coded by good developers).

svn path=/trunk/; revision=59495
2013-07-16 22:37:01 +00:00
Aleksey Bragin ee87f2a4f6 [DDK]
- Fix ExAllocateFromZone. I understand it's deprecated, but it having a broken implementation which can't work at all because the one who coded this function failed to understand basic algorithms of linked lists is nonsense.

svn path=/trunk/; revision=59494
2013-07-16 19:57:12 +00:00
Aleksey Bragin 30d0129f75 [NTOS/EX]
- ExInitializeZone: Don't add to an uninitialized TotalSegmentSize value, set it instead.

svn path=/trunk/; revision=59493
2013-07-16 19:21:55 +00:00
Aleksey Bragin 5846967dd0 Dedicated to Timo.
svn path=/trunk/; revision=59492
2013-07-16 17:44:19 +00:00
Aleksey Bragin 1f8454cef1 [NTOS]
- Implement enabling Large Pages support if it is detected. The Page Size Extension (PSE) bit in CR4 is enabled when paging is disabled. To achieve that, a temporary virtual and physical identity mapping is created, which is discarded after PSE is enabled.

svn path=/trunk/; revision=59491
2013-07-16 13:49:03 +00:00
Thomas Faber 50b0c50023 [CMAKE]
- Add configure support for VS 2013
- Add a missing /nologo to assembler invocations
- Properly complain about old MSVC versions during configure instead of failing the build

svn path=/trunk/; revision=59488
2013-07-14 21:00:42 +00:00
Eric Kohl 98cef13e0f [SAMSRV]
Add security descriptors for the account and builtin domains.

svn path=/trunk/; revision=59487
2013-07-14 18:41:29 +00:00
Hermès Bélusca-Maïto 9ff782961b [KERNEL32]
Fix some broken logic: we can duplicate console handles only if both the source and the target processes are in fact the current process.

svn path=/trunk/; revision=59486
2013-07-14 16:57:26 +00:00
Hermès Bélusca-Maïto 542bb5560c [KERNEL32]
Fix parameters usage when calling NtDuplicateObject.

svn path=/trunk/; revision=59485
2013-07-14 14:52:39 +00:00
Eric Kohl 4a9c806d41 [SAMSRV]
Implement SamIFree_SAMPR_GET_MEMBERS_BUFFER.

svn path=/trunk/; revision=59484
2013-07-14 14:22:30 +00:00
Thomas Faber 19e0e8187c [BROWSEUI]
- This is not Wine source. Remove hacks accordingly

svn path=/trunk/; revision=59483
2013-07-14 13:18:32 +00:00
Thomas Faber f001f43b65 [IEFRAME][MSHTML_WINETEST]
- Use SHANDLE_PTR in IWebBrowserApp::get_HWND. Already sent to Wine.

svn path=/trunk/; revision=59482
2013-07-14 13:01:55 +00:00
Thomas Faber f76d810d43 [CMAKE]
- Do not allow add_delay_importlibs to be called on static libraries

svn path=/trunk/; revision=59481
2013-07-14 11:44:21 +00:00
Hermès Bélusca-Maïto 53dbf738e5 [WINSRV]
Fix a delayed-imports problem, catched by Timo and Thomas with a MSVC build. Caused by the fact that the static library consrv specified delayed imports for it, thinking that they will be added to the list of delayed imports of winsrv. In fact it doesn't work and those imports become real imports.

svn path=/trunk/; revision=59480
2013-07-14 11:33:26 +00:00
Thomas Faber d16e22b423 [MSHTML_WINETEST]
- Use winetest_interactive to disable tests

svn path=/trunk/; revision=59479
2013-07-14 10:11:45 +00:00
Pierre Schweitzer 25bc546159 [NTOSKRNL]
Fix return of MiProtectedPoolUnProtectLinks() which was always returning null, instead of returning
safe unprotected links when needed

svn path=/trunk/; revision=59478
2013-07-14 09:30:26 +00:00
Thomas Faber c97dc9fd31 [UUID]
- Remove unused file whose only purpose is to confuse people

svn path=/trunk/; revision=59477
2013-07-14 09:05:50 +00:00
Thomas Faber a73a5c7941 [PSDK]
- Reduce shdeprecated.idl differences to Wine. Fixes a few warnings

svn path=/trunk/; revision=59476
2013-07-14 07:12:59 +00:00
Thomas Faber 8e34f32ce6 [PSDK]
- Move some stuff around in shdeprecated.idl to reduce the difference with Wine
- Move TLENUMF to tlogstg.idl

svn path=/trunk/; revision=59475
2013-07-14 06:29:16 +00:00
Thomas Faber ac9bba8e47 [BROWSEUI][EXPLORER_NEW]
- Add missing includes aka fix build

svn path=/trunk/; revision=59474
2013-07-14 06:02:03 +00:00
Thomas Faber 1fcec5cccd [PSDK]
- Move ITravelEntry, ITravelLog, IShellService and IBrowserService* to shdeprecated.idl

svn path=/trunk/; revision=59473
2013-07-14 05:55:09 +00:00
Thomas Faber be425939ed [INCLUDE]
- Make our test/debug headers C++-compatible

svn path=/trunk/; revision=59472
2013-07-13 18:03:16 +00:00
Hermès Bélusca-Maïto a7d3ecfbb8 Forgot this file
svn path=/trunk/; revision=59471
2013-07-13 15:22:27 +00:00
Hermès Bélusca-Maïto a60aae50e9 [CONSRV]
Create a new consrv_new to study its interfacing with the console driver (condrv).

svn path=/trunk/; revision=59470
2013-07-13 15:18:34 +00:00
Thomas Faber ecf9d0b046 [BROWSEUI]
- Export CCommonBrowser, CRegTreeOptions, CGlobalFolderSettings
- Fix IBrowserService3 method signatures in CCommonBrowser
- Add IContextMenu3 to CBandSiteMenu

svn path=/trunk/; revision=59468
2013-07-13 09:23:33 +00:00
Thomas Faber 57fef2297a [BROWSEUI]
- Fix the order of some COM interfaces. This should have no functional effect, but makes testing easier.

svn path=/trunk/; revision=59467
2013-07-13 09:06:18 +00:00
Thomas Faber b05476d7af [COM_APITEST]
- Add additional classes and interfaces

svn path=/trunk/; revision=59466
2013-07-13 08:07:42 +00:00
Thomas Faber 0402c8a1e8 [COM_APITEST]
- Add support for classes with ThreadingModel values other than Apartment

svn path=/trunk/; revision=59465
2013-07-13 08:01:51 +00:00
Thomas Faber e15b19ebec [PSDK]
- Add CLSID_CCommonBrowser, CLSID_DeskBar, CLSID_DeskBarApp

svn path=/trunk/; revision=59464
2013-07-13 07:07:27 +00:00
Thomas Faber e241bb486e [KMTESTS:RTL]
- Fix a warning

svn path=/trunk/; revision=59463
2013-07-13 06:31:13 +00:00
Thomas Faber 4cdc7f487e [SYSSETUP]
- Correct spelling of 'Accessibility' in shortcuts.inf. Patch by Lee Schroeder.
CORE-7342 #resolve

svn path=/trunk/; revision=59462
2013-07-13 06:28:13 +00:00
Hermès Bélusca-Maïto cef1016047 [CONSRV-WINSRV]
Now that the console server works fine, move it into its real place (as in Windows), that is, inside winsrv.dll, instead of hosting it in consrv.dll.

svn path=/trunk/; revision=59461
2013-07-13 04:54:49 +00:00
Hermès Bélusca-Maïto d009a8d53e [KERNEL32]
CreateEvent --> NtCreateEvent --> NotificationEvent or SynchronizationEvent (contrary to CreateTimer --> NtCreateTimer).

svn path=/trunk/; revision=59459
2013-07-12 22:27:12 +00:00
Pierre Schweitzer ed44a9b246 [CONFIGURE.SH]
Fix formatting

svn path=/trunk/; revision=59458
2013-07-12 10:13:45 +00:00
Pierre Schweitzer c7f7b737c8 [CONFIGURE.SH]
Kill bashisms introduced by r59197 and replace them by sh code.

This is mainly to preserve maximum portability of the code, and to
fix configure.sh on platforms where /bin/sh doesn't point to /bin/sh ;-).

svn path=/trunk/; revision=59457
2013-07-12 10:10:23 +00:00
Eric Kohl b219de051f [SAMSRV]
SamrChangePasswordUser: Update the PasswordLastSet time after a new password has been set.

svn path=/trunk/; revision=59456
2013-07-10 23:04:49 +00:00
Hermès Bélusca-Maïto eb7721d922 Remove an unneccesary commented definition of RegOpenCurrentUser.
svn path=/trunk/; revision=59455
2013-07-10 22:28:29 +00:00
Eric Kohl dc49d97409 [SAMSRV]
SamrChangePasswordUser: Use SampSetUserPassword to set the password hashes and update the password history.

svn path=/trunk/; revision=59453
2013-07-09 21:47:55 +00:00
Eric Kohl 76feb9e733 [NPFS]
NpfsCreateNamedPipe: Check for invalid disposition values. Fixes 3 winetest failures.

svn path=/trunk/; revision=59451
2013-07-07 22:18:50 +00:00
Eric Kohl aa04fb3639 [SAMSRV]
SamrChangePasswordUser: Check the old password before storing the new one.

svn path=/trunk/; revision=59449
2013-07-07 20:27:38 +00:00
Hermès Bélusca-Maïto fd86dd4500 [CONDRV]
- Hey Arch! You're displaying Major function codes, not IOCTL codes. Also, remove unnecessary casts (coming from some old code), and a use-after free.
- Add some memory helpers.

svn path=/trunk/; revision=59448
2013-07-07 15:57:48 +00:00
Hermès Bélusca-Maïto 2f99c45433 [CONDRV]
Initial commit of the ReactOS Console Driver.
For the moment, it's just able to load/unload, creating a "controller" device
and being able to DPRINT1 lots of messages when you try to access to it.

svn path=/trunk/; revision=59447
2013-07-07 15:15:10 +00:00
Thomas Faber dd8a102390 [ATL]
- Arch, don't forget to initialize your pointer

svn path=/trunk/; revision=59446
2013-07-07 13:41:18 +00:00
Eric Kohl 56a6e6e112 [SAMSRV]
Start work on SamrChangePasswordUser. The new passwords can be stored but the required checks are still missing.

svn path=/trunk/; revision=59445
2013-07-07 12:45:03 +00:00