reactos.git
11 years ago[SAMSRV]
Eric Kohl [Tue, 6 Nov 2012 23:47:43 +0000 (23:47 +0000)]
[SAMSRV]
Fix build.

svn path=/trunk/; revision=57683

11 years ago[SAMSRV]
Eric Kohl [Tue, 6 Nov 2012 23:39:59 +0000 (23:39 +0000)]
[SAMSRV]
SamrQueryInformationAlias: When retrieving general information, return a member count of zero if the members sub key does not exist.

svn path=/trunk/; revision=57682

11 years ago[USER32_APITEST]
Jérôme Gardou [Tue, 6 Nov 2012 14:27:03 +0000 (14:27 +0000)]
[USER32_APITEST]
- Test behaviour with icons handle from foreign process

svn path=/trunk/; revision=57681

11 years ago[USER32]
Jérôme Gardou [Mon, 5 Nov 2012 23:29:52 +0000 (23:29 +0000)]
[USER32]
- Link to msvcrtex in MSC builds

svn path=/trunk/; revision=57680

11 years ago[USER32]
Jérôme Gardou [Mon, 5 Nov 2012 22:51:32 +0000 (22:51 +0000)]
[USER32]
- Avoid more rounding issues and hopefully fix MSC build

svn path=/trunk/; revision=57679

11 years ago[NETAPI32]
Eric Kohl [Mon, 5 Nov 2012 22:51:08 +0000 (22:51 +0000)]
[NETAPI32]
Start the implementation of NetpNtStatusToApiStatus and NetLocalGroupEnum.

svn path=/trunk/; revision=57678

11 years ago[USER32]
Jérôme Gardou [Mon, 5 Nov 2012 22:33:02 +0000 (22:33 +0000)]
[USER32]
- Avoid casting double to int.
Should fix MSC build

svn path=/trunk/; revision=57677

11 years ago[WIN32SS/USER]
Jérôme Gardou [Mon, 5 Nov 2012 20:23:01 +0000 (20:23 +0000)]
[WIN32SS/USER]
- Bake a parameter for NtUserFindExistingCursorIcon to differentiate between icons and cursors

svn path=/trunk/; revision=57676

11 years ago[WIN32SS]
Jérôme Gardou [Mon, 5 Nov 2012 20:20:49 +0000 (20:20 +0000)]
[WIN32SS]
- Do not link gdi32.dll and user32.dll to msvcrt

svn path=/trunk/; revision=57675

11 years ago[DOXYGEN]
Pierre Schweitzer [Mon, 5 Nov 2012 11:13:59 +0000 (11:13 +0000)]
[DOXYGEN]
ReactOS is not C only.
Enable support builtin STL.

svn path=/trunk/; revision=57674

11 years ago[NTDLL]
Hermès Bélusca-Maïto [Mon, 5 Nov 2012 00:23:58 +0000 (00:23 +0000)]
[NTDLL]
- Add parameter annotations.
- Improve CSR buffer allocation with 4-byte align.
- Simplify the capture-buffer pointers settings.

[CSRSRV]
- Remove last console structure from csrsrv.h (in next commits it will be placed in a proper header).
- Enable global CSR debugging (for debugging purposes... ;-) ).
- api.c: Enable debugging.
- api.c/.h: Remove old code and deprecated unused definitions.
- Use the Win2k3-compliant version of CsrCreateThread (code from subsystems/csr/csrsrv) (TODO: correct its usage in basesrv:BaseSrvCreateThread).
- init.c: Implement a helper routine, CsrInitCsrRootProcess, in order to initialize the per-process server data (see CSR_PROCESS structure) in the Root CSR process. New process inherit it from this Root process.
- server.c - Add a DPRINT. Remove a hack. Correct a parameter passing.
- session.c - Remove a hack (it will go to the new process initialization in consrv)
- Disable the code of CsrConnectToUser while user32:ClientThreadSetup doesn't work.
- Correct the implementation of CsrValidateMessageBuffer.
- Basic implementation of CsrValidateMessageString using CsrValidateMessageBuffer.

TODO:
- Compare CsrpHandleConnectionRequest with the other one function in api.c.
- Compare CsrValidateMessageBuffer with Win32CsrValidateBuffer ?

svn path=/branches/ros-csrss/; revision=57673

11 years ago[USER32]
Jérôme Gardou [Sun, 4 Nov 2012 12:56:44 +0000 (12:56 +0000)]
[USER32]
- Implement LookupIconIdFromDirectoryEx.
- Implement CopyImage
- Finish Implementing LoadImage
- Implement various functions.
[WIN32SS]
- Add a first working implementation for LR_SHARED cursors and icons.User32 support is there, but more work is needed in win32k.

svn path=/trunk/; revision=57672

11 years ago[explorer]
Giannis Adamopoulos [Sat, 3 Nov 2012 21:00:10 +0000 (21:00 +0000)]
[explorer]
- Implement calling IShellView_TranslateAccelerator
- Fixes accelerators like Ctrl+c , Ctrl+v, etc in windows

svn path=/trunk/; revision=57671

11 years ago[ADVAPI32]
Eric Kohl [Sat, 3 Nov 2012 12:13:32 +0000 (12:13 +0000)]
[ADVAPI32]
Remove ADVAPI_GetComputerSid because it is not used any more.

svn path=/trunk/; revision=57670

11 years ago[ADVAPI32]
Eric Kohl [Fri, 2 Nov 2012 19:29:48 +0000 (19:29 +0000)]
[ADVAPI32]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=57669

11 years ago[KERNEL32]
Hermès Bélusca-Maïto [Fri, 2 Nov 2012 18:30:27 +0000 (18:30 +0000)]
[KERNEL32]
Use the new messaging structures...

svn path=/branches/ros-csrss/; revision=57668

11 years ago[KERNEL32]
Hermès Bélusca-Maïto [Fri, 2 Nov 2012 18:28:42 +0000 (18:28 +0000)]
[KERNEL32]
- Use new messaging structures, defined-names instead of hardcoded values.
- Enable temporary debugging tracing and add some DPRINTs.
- Delete an unused variable.

svn path=/branches/ros-csrss/; revision=57667

11 years ago[KERNEL32]
Hermès Bélusca-Maïto [Fri, 2 Nov 2012 18:00:47 +0000 (18:00 +0000)]
[KERNEL32]
This is the first of a series of commits aiming at making kernel32 using the new CSR messaging structures for communicating with Server Dlls.

svn path=/branches/ros-csrss/; revision=57666

11 years ago[WIN32K]
Hermès Bélusca-Maïto [Fri, 2 Nov 2012 13:50:31 +0000 (13:50 +0000)]
[WIN32K]
- Remove the now unneeded CSR messaging support.
- CsrInit() goes away also and the usage of the CsrProcess is replaced by that of gpepCSRSS.

[WINSRV]
- Use a DLL instance for loading resources, instead of calling GetModuleHandle.

[KERNEL32/NTDLL]
- Remove unneeded variables.

svn path=/branches/ros-csrss/; revision=57665

11 years ago[WIN32K/USER32/WINSRV]
Hermès Bélusca-Maïto [Fri, 2 Nov 2012 11:23:26 +0000 (11:23 +0000)]
[WIN32K/USER32/WINSRV]
- Correct an enumeration identificator initialization.
- Move the call of CSR for registering the logon application, from kernel-mode win32k to user-mode user32
  and therefore remove the unneeded co_CsrNotify function (plus some other unneeded defines).
- Comment some non-working code (#if 0) in user32/misc/misc.c and winsrv/shutdown.c.

svn path=/branches/ros-csrss/; revision=57664

11 years ago- Fix the double scrollbars in explorer
Giannis Adamopoulos [Thu, 1 Nov 2012 17:28:52 +0000 (17:28 +0000)]
- Fix the double scrollbars in explorer

svn path=/trunk/; revision=57663

11 years ago[KERNEL32/NTDLL]
Hermès Bélusca-Maïto [Thu, 1 Nov 2012 12:52:34 +0000 (12:52 +0000)]
[KERNEL32/NTDLL]
- Move the ReactOS-specific workaround described in http://jira.reactos.org/browse/CORE-6611 and http://jira.reactos.org/browse/CORE-4620
  from kernel32 to ntdll for using it by RtlGetVersion, in order to :
  * still having it available in user-mode only,
  * and having VerifyVersionInfo (and its Rtl counter-part) working properly.

[RTL/NTOSKRNL]
- Code formatting.
- Use a defined-constant instead of a hard-coded value.

svn path=/trunk/; revision=57662

11 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Wed, 31 Oct 2012 23:36:52 +0000 (23:36 +0000)]
[BOOTDATA]
Fix report of OS version: we report us as Windows Server 2003 SP1, in a consistent way, i.e. our product type is ServerNT and not WinNT (workstation).
However, for applications which would need to see us as a workstation OS, a workaround exists and can be activated manually by the user (by default it is not).
See http://jira.reactos.org/browse/CORE-4620 for a description of the workaround.

CORE-6611 #comment In r57661, our version is reported consistently.

svn path=/trunk/; revision=57661

11 years agoSynchronize with trunk's revision r57659.
Hermès Bélusca-Maïto [Wed, 31 Oct 2012 19:39:53 +0000 (19:39 +0000)]
Synchronize with trunk's revision r57659.

svn path=/branches/ros-csrss/; revision=57660

11 years ago[win32k]
Giannis Adamopoulos [Wed, 31 Oct 2012 16:19:48 +0000 (16:19 +0000)]
[win32k]
- Remove InputDesktopHandle variable because it is a handle and that means that it can only be used in the context of winlogon
- Fixes NtUserOpenInputDesktop which never really worked

svn path=/trunk/; revision=57659

11 years ago[user32_apitests]
Giannis Adamopoulos [Wed, 31 Oct 2012 15:23:11 +0000 (15:23 +0000)]
[user32_apitests]
- Add some tests for OpenInputDesktop

svn path=/trunk/; revision=57658

11 years ago[win32k]
Giannis Adamopoulos [Wed, 31 Oct 2012 14:55:23 +0000 (14:55 +0000)]
[win32k]
- Use ONEPARAM_ROUTINE_GETCURSORPOS instead of ONEPARAM_ROUTINE_GETCURSORPOSITION in GetCursorPos
- Correctly check if the current thread belongs to the active desktop

svn path=/trunk/; revision=57657

11 years ago[user32_apitest]
Giannis Adamopoulos [Wed, 31 Oct 2012 14:18:06 +0000 (14:18 +0000)]
[user32_apitest]
- Add some tests to see how SetCursorPos is affected by the current desktop

svn path=/trunk/; revision=57656

11 years ago[USER32_APITESTS]
Jérôme Gardou [Wed, 31 Oct 2012 14:08:31 +0000 (14:08 +0000)]
[USER32_APITESTS]
- Add some more test for DrawIconEx and CreateIconFromResourceEx

svn path=/trunk/; revision=57655

11 years agoForgot two files.
Hermès Bélusca-Maïto [Wed, 31 Oct 2012 00:41:02 +0000 (00:41 +0000)]
Forgot two files.

svn path=/branches/ros-csrss/; revision=57654

11 years agoSynchronize with trunk's revision r57652.
Hermès Bélusca-Maïto [Wed, 31 Oct 2012 00:26:38 +0000 (00:26 +0000)]
Synchronize with trunk's revision r57652.

svn path=/branches/ros-csrss/; revision=57653

11 years ago[win32k]
Giannis Adamopoulos [Tue, 30 Oct 2012 16:50:11 +0000 (16:50 +0000)]
[win32k]
- Fix the remaining tests that failed in user32:winstation

svn path=/trunk/; revision=57652

11 years ago[user32_apitest]
Giannis Adamopoulos [Tue, 30 Oct 2012 13:29:11 +0000 (13:29 +0000)]
[user32_apitest]
- Add a test for LR_SHARED flag for LoadImage

svn path=/trunk/; revision=57651

11 years ago[W32K_APITEST]
Jérôme Gardou [Tue, 30 Oct 2012 02:05:52 +0000 (02:05 +0000)]
[W32K_APITEST]
- Better test for NtUserGetIconInfo

svn path=/trunk/; revision=57650

11 years ago[USER32_APITEST]
Jérôme Gardou [Tue, 30 Oct 2012 01:39:28 +0000 (01:39 +0000)]
[USER32_APITEST]
- Commit forgotten file

svn path=/trunk/; revision=57649

11 years ago[USER32_APITEST]
Jérôme Gardou [Mon, 29 Oct 2012 16:14:54 +0000 (16:14 +0000)]
[USER32_APITEST]
- More thorough test for what really happens after the "destruction" of a shared cursor.

svn path=/trunk/; revision=57648

11 years ago[USER32_APITESTS]
Jérôme Gardou [Mon, 29 Oct 2012 16:12:49 +0000 (16:12 +0000)]
[USER32_APITESTS]
- Add some test for DestroyCursor/DestroyIcon

svn path=/trunk/; revision=57647

11 years ago[WIN32K]
Jérôme Gardou [Mon, 29 Oct 2012 15:50:20 +0000 (15:50 +0000)]
[WIN32K]
- put changes for the new cursor/icons implementation in a separate file

svn path=/trunk/; revision=57646

11 years ago[Win32k]
James Tabor [Mon, 29 Oct 2012 04:47:55 +0000 (04:47 +0000)]
[Win32k]
- Move away from thread pointer when using hooks.

svn path=/trunk/; revision=57645

11 years ago[WIN32SS/USER]
Jérôme Gardou [Mon, 29 Oct 2012 01:43:38 +0000 (01:43 +0000)]
[WIN32SS/USER]
- Begin a rewrite of our cursor/Icons implementation.
The current one is too close to wine's.

svn path=/trunk/; revision=57644

11 years ago[NTDLL/CSR/SM]
Hermès Bélusca-Maïto [Sun, 28 Oct 2012 22:56:13 +0000 (22:56 +0000)]
[NTDLL/CSR/SM]
- Clean some headers.
- Code formatting.

svn path=/branches/ros-csrss/; revision=57643

11 years ago[win32k]
Giannis Adamopoulos [Sun, 28 Oct 2012 17:31:33 +0000 (17:31 +0000)]
[win32k]
- Plug some object leaks in callproc and clipboard code

svn path=/trunk/; revision=57642

11 years ago[WIN32K]
Jérôme Gardou [Sun, 28 Oct 2012 14:45:35 +0000 (14:45 +0000)]
[WIN32K]
- Properly handle deletion of cursor/Icon objects
- Gracefully change object owner when process closes
- Remove useless check in a macro

svn path=/trunk/; revision=57641

11 years ago[WIN32K]
Jérôme Gardou [Sun, 28 Oct 2012 14:37:40 +0000 (14:37 +0000)]
[WIN32K]
- Plug an icon leak.

svn path=/trunk/; revision=57640

11 years ago[SAMSRV]
Eric Kohl [Sun, 28 Oct 2012 13:53:39 +0000 (13:53 +0000)]
[SAMSRV]
Implement SamrRemoveMemberFromAlias and SamrRemoveMultipleMembersFromAlias.

svn path=/trunk/; revision=57639

11 years agoFix part of build.
Hermès Bélusca-Maïto [Sun, 28 Oct 2012 12:57:03 +0000 (12:57 +0000)]
Fix part of build.

svn path=/branches/ros-csrss/; revision=57638

11 years agoSynchronize with trunk's revision r57636.
Hermès Bélusca-Maïto [Sun, 28 Oct 2012 12:33:23 +0000 (12:33 +0000)]
Synchronize with trunk's revision r57636.

svn path=/branches/ros-csrss/; revision=57637

11 years ago[FREELDR]
Hermès Bélusca-Maïto [Sun, 28 Oct 2012 12:32:31 +0000 (12:32 +0000)]
[FREELDR]
Really use the 'status' variable.

svn path=/trunk/; revision=57636

11 years ago- Synchronize with trunk's revision r57633.
Hermès Bélusca-Maïto [Sun, 28 Oct 2012 12:13:03 +0000 (12:13 +0000)]
- Synchronize with trunk's revision r57633.

[WIN32CSR/BOOTDATA]
- Finally get rid of win32csr, being replaced by winsrv and consrv.
- Remove it from the subsystem command-line.

[WINSRV]
- Move a hack from win32csr to winsrv.

svn path=/branches/ros-csrss/; revision=57635

11 years ago- Fix build
Giannis Adamopoulos [Sun, 28 Oct 2012 10:43:48 +0000 (10:43 +0000)]
- Fix build

I wonder how ninja managed to compile this locally

svn path=/trunk/; revision=57633

11 years ago- Rewrite NtUserCreateDesktop and move the desktop thread completely in win32k like...
Giannis Adamopoulos [Sun, 28 Oct 2012 10:34:41 +0000 (10:34 +0000)]
- Rewrite NtUserCreateDesktop and move the desktop thread completely in win32k like in windows in order to let desktop objects to be destroyed
- Disable deleting the desktop heap until CORE-6729 is fixed
- See CORE-6723 for more details

svn path=/trunk/; revision=57632

11 years agoSynchronize with trunk's revision r57629.
Hermès Bélusca-Maïto [Sun, 28 Oct 2012 10:05:08 +0000 (10:05 +0000)]
Synchronize with trunk's revision r57629.

svn path=/branches/ros-csrss/; revision=57630

11 years ago[FREELDR]
Jérôme Gardou [Sun, 28 Oct 2012 01:58:36 +0000 (01:58 +0000)]
[FREELDR]
- Use a better workaround for the objcopy bug

svn path=/trunk/; revision=57629

11 years ago[WIN32SS/USER32]
Hermès Bélusca-Maïto [Sat, 27 Oct 2012 23:52:28 +0000 (23:52 +0000)]
[WIN32SS/USER32]
- Use the new subsystems header winmsg.h
- Use the new USER_API_MESSAGE structure, and adapt co_CsrNotify in consequence.
- Code formatting.

[KERNEL32]
- Use the new subsystems headers basemsg.h, conmsg.h, winmsg.h, etc...

[NTDLL]
- Code formatting only.

svn path=/branches/ros-csrss/; revision=57628

11 years ago[BASESRV]
Hermès Bélusca-Maïto [Sat, 27 Oct 2012 23:18:49 +0000 (23:18 +0000)]
[BASESRV]
Remove unneeded comments.

svn path=/branches/ros-csrss/; revision=57627

11 years ago[SAMSRV]
Eric Kohl [Sat, 27 Oct 2012 19:38:12 +0000 (19:38 +0000)]
[SAMSRV]
- Fix MSVC build warnings.
- Implement SamrAddMultipeMembersToAlias.
- Add missing user attributes to the user setup code.

svn path=/trunk/; revision=57626

11 years ago[NTDLL]
Hermès Bélusca-Maïto [Sat, 27 Oct 2012 19:05:10 +0000 (19:05 +0000)]
[NTDLL]
- Code formatting.
- Fix CSR message length computation.

[CSR]
- Remove unneeded comments.
- Correct arguments names.

svn path=/branches/ros-csrss/; revision=57625

11 years ago[win32k]
Giannis Adamopoulos [Sat, 27 Oct 2012 18:06:10 +0000 (18:06 +0000)]
[win32k]
- Double the size of the user handle table in order to allow the test suite to complete despite the horrible object leaks

svn path=/trunk/; revision=57624

11 years ago[win32k]
Giannis Adamopoulos [Sat, 27 Oct 2012 16:39:18 +0000 (16:39 +0000)]
[win32k]
- Fix WARN macros
- Keep a list of the PROCESSINFO of all the running processes
- Count how many handles a process owns per type in PROCESSINFO
- Improve the debug output when we run out of user handles to show all handle counts per process

svn path=/trunk/; revision=57623

11 years ago[CSRSRV]
Hermès Bélusca-Maïto [Sat, 27 Oct 2012 14:30:32 +0000 (14:30 +0000)]
[CSRSRV]
Code formatting only.

svn path=/branches/ros-csrss/; revision=57622

11 years ago[GLU32]
Jérôme Gardou [Sat, 27 Oct 2012 13:44:35 +0000 (13:44 +0000)]
[GLU32]
 - From version 9.0, mesa doesn't ship the glu library anymore. It is maintained in another tree.
 - Introduce glu 9.0 to ReactOS code base.

svn path=/trunk/; revision=57621

11 years ago[CONSRV/WINSRV]
Hermès Bélusca-Maïto [Thu, 25 Oct 2012 22:14:46 +0000 (22:14 +0000)]
[CONSRV/WINSRV]
- Fix structures usage and headers inclusions.
- Make winsrv compile.
- Deactivate some code related to processes enumeration (for testing purposes).

svn path=/branches/ros-csrss/; revision=57620

11 years ago[CSR/CONSRV/WINSRV]
Hermès Bélusca-Maïto [Thu, 25 Oct 2012 21:37:52 +0000 (21:37 +0000)]
[CSR/CONSRV/WINSRV]
- Move some structures to better place, fix code.

svn path=/branches/ros-csrss/; revision=57619

11 years ago[CSR/BASESRV/CONSRV/WINSRV]
Hermès Bélusca-Maïto [Thu, 25 Oct 2012 20:40:41 +0000 (20:40 +0000)]
[CSR/BASESRV/CONSRV/WINSRV]
- Fix code headers. No code changes.
- Rename csrcl.h to csr.h for readability purposes.
- exitros.c --> shutdown.c

svn path=/branches/ros-csrss/; revision=57618

11 years ago[USBSTOR]
Johannes Anderwald [Thu, 25 Oct 2012 17:17:25 +0000 (17:17 +0000)]
[USBSTOR]
- Don't flush srb queue because the storage stack is not ready for it yet
- Fixes crash during shutdown

svn path=/trunk/; revision=57617

11 years ago[USBHUB]
Johannes Anderwald [Thu, 25 Oct 2012 15:36:09 +0000 (15:36 +0000)]
[USBHUB]
- Partly implement IOCTL_USB_GET_NODE_CONNECTION_NAME
- Complete power irps

svn path=/trunk/; revision=57616

11 years ago[NTOSKRNL]
Johannes Anderwald [Thu, 25 Oct 2012 14:27:02 +0000 (14:27 +0000)]
[NTOSKRNL]
- Dereference the correct device object in the power completion routine
- Fixes crash with ftdibus.sys

svn path=/trunk/; revision=57615

11 years ago[CONFIGURE_SH]
Jérôme Gardou [Thu, 25 Oct 2012 13:05:30 +0000 (13:05 +0000)]
[CONFIGURE_SH]
- Add the ability to use the ninja generator with unix configure script

svn path=/trunk/; revision=57614

11 years ago[SHELL32]
Jérôme Gardou [Thu, 25 Oct 2012 00:10:20 +0000 (00:10 +0000)]
[SHELL32]
- remove invalid pointer from list in case of failure to add the icon to the image list

svn path=/trunk/; revision=57613

11 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Wed, 24 Oct 2012 23:35:35 +0000 (23:35 +0000)]
[BOOTDATA]
- Add winsrv and consrv to the Win32 subsystem command line. Keep win32csr but move it to another Server ID (till it disappears).

svn path=/branches/ros-csrss/; revision=57612

11 years ago[WINSRV/WIN32CSR]
Hermès Bélusca-Maïto [Wed, 24 Oct 2012 23:19:54 +0000 (23:19 +0000)]
[WINSRV/WIN32CSR]
- Move the last APIs which should be in winsrv and remove unneeded files and resources from win32csr. Keep only the desktop things.
- I'm waiting for the patch of Giannis which would act on win32csr, then I will transfer the needed changes into winsrv and I will remove definitively win32csr.
At the moment, winsrv doesn't compile, but win32csr does.

svn path=/branches/ros-csrss/; revision=57611

11 years ago[CSRSRV/WINSRV]
Hermès Bélusca-Maïto [Wed, 24 Oct 2012 22:07:46 +0000 (22:07 +0000)]
[CSRSRV/WINSRV]
- Move the last User CSR api which was in csrsrv instead of in winsrv.
- Remove unneeded file.

svn path=/branches/ros-csrss/; revision=57610

11 years ago[DLLS]
Jérôme Gardou [Wed, 24 Oct 2012 22:03:25 +0000 (22:03 +0000)]
[DLLS]
- Those libraries are actual DLLs

svn path=/trunk/; revision=57609

11 years ago[WINSRV]
Hermès Bélusca-Maïto [Wed, 24 Oct 2012 21:54:45 +0000 (21:54 +0000)]
[WINSRV]
Add some resources.

[CONSRV/WIN32CSR]
Fix resources ids.

svn path=/branches/ros-csrss/; revision=57608

11 years ago[libjpeg]
Jérôme Gardou [Wed, 24 Oct 2012 21:49:09 +0000 (21:49 +0000)]
[libjpeg]
 - fix build

svn path=/trunk/; revision=57607

11 years ago[DLLs]
Jérôme Gardou [Wed, 24 Oct 2012 21:44:47 +0000 (21:44 +0000)]
[DLLs]
 - Don't set entrypoint to 0 for those which don't provide DllMain

svn path=/trunk/; revision=57606

11 years ago[CSRSRV/BASESRV/CONSRV/WIN32CSR/WINSRV]
Hermès Bélusca-Maïto [Wed, 24 Oct 2012 21:37:22 +0000 (21:37 +0000)]
[CSRSRV/BASESRV/CONSRV/WIN32CSR/WINSRV]
- Fix resource files strings, headers, delete unuseful files... Nothing interesting.
- Add winsrv to build.

svn path=/branches/ros-csrss/; revision=57605

11 years ago[USBHUB]
Johannes Anderwald [Wed, 24 Oct 2012 15:40:46 +0000 (15:40 +0000)]
[USBHUB]
- Implement IOCTL_USB_GET_NODE_INFORMATION, IOCTL_USB_GET_NODE_CONNECTION_INFORMATION, IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME

svn path=/trunk/; revision=57604

11 years ago[MOUHID]
Johannes Anderwald [Wed, 24 Oct 2012 09:37:08 +0000 (09:37 +0000)]
[MOUHID]
- Report absolute mouse in Flags MOUSE_INPUT_DATA member
[HIDPARSER]
- Fix data conversion when extracting unscaled data from reports
- Fixes VBOX absolute pointing device
- Tested with VBOX 4.1.22
- #Core-6553 #resolve

svn path=/trunk/; revision=57603

11 years ago[CONSRV]
Hermès Bélusca-Maïto [Tue, 23 Oct 2012 22:31:36 +0000 (22:31 +0000)]
[CONSRV]
- Add consrv to compilation. It compiles now \o/
- Convert the used console-csrss structures to the new ones.

[CSR]
- Continue to move some structures, and temporary activate a symbol.

[WIN32CSR]
- Clean a header.

svn path=/branches/ros-csrss/; revision=57602

11 years ago[ADVAPI32]
Eric Kohl [Tue, 23 Oct 2012 21:59:43 +0000 (21:59 +0000)]
[ADVAPI32]
- Use LookupAccountNameW to retrieve the account SID when a user tries to log-on to a computer.
- Little clean-up of LogonUserW.
This is the first step to get rid of hard-coded logon stuff.

svn path=/trunk/; revision=57601

11 years agoSynchronize with trunk's revision r57599.
Hermès Bélusca-Maïto [Tue, 23 Oct 2012 19:54:03 +0000 (19:54 +0000)]
Synchronize with trunk's revision r57599.

svn path=/branches/ros-csrss/; revision=57600

11 years ago[NTOSKRNL]
Johannes Anderwald [Tue, 23 Oct 2012 05:42:17 +0000 (05:42 +0000)]
[NTOSKRNL]
- Unregister dope (device object power extension) from volume list when device object is deleted
- Core-6691 #resolve

svn path=/trunk/; revision=57599

11 years ago[USBD]
Johannes Anderwald [Tue, 23 Oct 2012 04:54:37 +0000 (04:54 +0000)]
[USBD]
- Don't assert on invalid usb descriptor
- Core-6574

svn path=/trunk/; revision=57598

11 years ago[CONSRV/WIN32CSR]
Hermès Bélusca-Maïto [Mon, 22 Oct 2012 23:55:51 +0000 (23:55 +0000)]
[CONSRV/WIN32CSR]
- Move all the console subsystem from win32csr to a new server dll called consrv.dll (instead of putting it directly to winsrv.dll). It's because I want to rework on this later on.
Many things must be done in order to achieve the moving (renaming functions, etc...). Tables & symbol names come from http://j00ru.vexillium.org/csrss_list/api_list.html as usual,
but here I took the Win 2k3 ones and I added few Win 7 functions which already existed in our codebase. The other table names are guessed based on what originally existed in csrsrv
and so on. Many stubs are also missing.
Cultural remark: consrv.dll originally existed in Beta releases of Windows NT 3.1 (e.g. the October 1991 one), but was soon merged with winsrv.dll and thus, in subsequent versions of
Windows, the console subsystem is also found in winsrv.dll. See http://www.logotypes.se/NT310CSRSS.txt and http://j00ru.vexillium.org/?p=349#comment-1883. One has to wait until
Windows 7 to see it moving again to conhost.exe.

[CSRSRV]
- Add an explanation comment on what the ValidTable member in the CSR_SERVER_DLL structure is for.

svn path=/branches/ros-csrss/; revision=57597

11 years ago[BASESRV]
Hermès Bélusca-Maïto [Mon, 22 Oct 2012 23:37:07 +0000 (23:37 +0000)]
[BASESRV]
- Remove an unneeded cmake comment.

[CSRSRV]
- Compile the resource file.

svn path=/branches/ros-csrss/; revision=57596

11 years ago[HIDPARSE][HIDPARSER]
Johannes Anderwald [Mon, 22 Oct 2012 21:18:30 +0000 (21:18 +0000)]
[HIDPARSE][HIDPARSER]
- Implement HidP_GetUsageValue
- Add hack to HidParser_GetScaledUsageValueWithReport
[MOUHID]
- Add partial support for absolute pointing devices
- Tested in VBOX 4.1.22 with absolute pointing devices
- Needs more work in win32k
- Core 6553

svn path=/trunk/; revision=57595

11 years ago[SAMLIB]
Eric Kohl [Mon, 22 Oct 2012 20:43:04 +0000 (20:43 +0000)]
[SAMLIB]
Implement SamRemoveMemberFromAlias, SamRemoveMemberFromForeignDomain, SamRemoveMemberFromGroup and
SamRemoveMultipleMembersFromAlias.

svn path=/trunk/; revision=57594

11 years ago[SHELL32]
Jérôme Gardou [Mon, 22 Oct 2012 13:43:03 +0000 (13:43 +0000)]
[SHELL32]
 - Add error handling when adding icons to the cache.
 - Plug more icon leaks.

svn path=/trunk/; revision=57593

11 years ago[USBSTOR][USBHUB]
Johannes Anderwald [Mon, 22 Oct 2012 11:33:26 +0000 (11:33 +0000)]
[USBSTOR][USBHUB]
- Append devobj number to device id
- Delete device objects
- Core-6598

svn path=/trunk/; revision=57592

11 years ago[NTDLL]
Hermès Bélusca-Maïto [Mon, 22 Oct 2012 00:09:51 +0000 (00:09 +0000)]
[NTDLL]
- Fix a variable and a header names.

[CSR]
- Move all the interesting code from the "old" csrsrv (see r57579) to the new one. TODO: finish to reorganize the code.
- Rename the headers to a standard naming I will use for the other server dlls.
- Remove now unneeded files.
(one can sometimes find commented names next to declaration of variables: it is when a variable name doesn't satisfy me because it isn't enough self-explaining for my taste).

[CONSOLE]
- Add a new header for console working (win32csr --> consrv.dll == the console part of winsrv.dll I separate from it, because I plan a profound reworking on the console after all that).

svn path=/branches/ros-csrss/; revision=57591

11 years ago[SAMLIB]
Eric Kohl [Sun, 21 Oct 2012 17:51:36 +0000 (17:51 +0000)]
[SAMLIB]
- Implement SamDeleteAlias, SamDeleteGroup, SamGetGroupsForUser, SamGetMembersInGroup, SamQuerySecurityObject, SamSetMemberAttributesOfGroup and SamSetSecurityObject.
- Add stub for SamRidToSid.

svn path=/trunk/; revision=57590

11 years ago[BASESRV]
Hermès Bélusca-Maïto [Sun, 21 Oct 2012 17:18:33 +0000 (17:18 +0000)]
[BASESRV]
- Compile basesrv and add headers.
Some other things are missing yet.

svn path=/branches/ros-csrss/; revision=57589

11 years ago[BASESRV]
Hermès Bélusca-Maïto [Sat, 20 Oct 2012 21:04:51 +0000 (21:04 +0000)]
[BASESRV]
Forget two files.

svn path=/branches/ros-csrss/; revision=57588

11 years ago[NTDLL/KERNEL32]
Hermès Bélusca-Maïto [Sat, 20 Oct 2012 21:03:32 +0000 (21:03 +0000)]
[NTDLL/KERNEL32]
- Use new naming scheme.

[CSRSRV]
- Continuing headers reorganization.
- Activate new code.

[CSRSRV/WIN32CSR]
- Move some code into basesrv.

[BASESRV]
- Add basesrv.dll
The names of the APIs tables come from http://j00ru.vexillium.org/csrss_list/api_list.html as usual,
however I used the NT 4 ones for testing purposes only. After that I will update them to 2k3 version
and add function stubs. Also some variable names are deduced from the subsystems/win32/csrss/csrsrv/server.c ones.

svn path=/branches/ros-csrss/; revision=57587

11 years ago[SAMLIB]
Eric Kohl [Sat, 20 Oct 2012 15:37:42 +0000 (15:37 +0000)]
[SAMLIB]
Implement SamAddMemberToGroup, SamAddMultipleMembersToAlias and SamDeleteUser.

svn path=/trunk/; revision=57586

11 years ago[LSASRV]
Eric Kohl [Sat, 20 Oct 2012 14:21:32 +0000 (14:21 +0000)]
[LSASRV]
Rename sids.c to lookup.c because the new name fits much better.

svn path=/trunk/; revision=57585

11 years ago[NTDLL]
Hermès Bélusca-Maïto [Sat, 20 Oct 2012 14:10:50 +0000 (14:10 +0000)]
[NTDLL]
- Activate new code (but keep the old one for the moment).

svn path=/branches/ros-csrss/; revision=57584

11 years ago[CSRSRV]
Hermès Bélusca-Maïto [Sat, 20 Oct 2012 14:07:04 +0000 (14:07 +0000)]
[CSRSRV]
- Start renaming some APIs which should not be present there, but in basesrv instead.
Names come from http://j00ru.vexillium.org/csrss_list/api_list.html#Windows_2k3

svn path=/branches/ros-csrss/; revision=57583

11 years ago[CSRSS/CSRSRV]
Hermès Bélusca-Maïto [Sat, 20 Oct 2012 13:28:09 +0000 (13:28 +0000)]
[CSRSS/CSRSRV]
- Reorganize the source code tree.

(Branch build still broken)

svn path=/branches/ros-csrss/; revision=57582