reactos.git
22 min ago[NTVDM]: So..... do not overflow the Cycles count, i.e. better estimate the number... master trunk
hbelusca [Sat, 25 Oct 2014 15:36:11 +0000 (15:36 +0000)]
[NTVDM]: So..... do not overflow the Cycles count, i.e. better estimate the number of instructions per second :)

git-svn-id: file:///srv/svn/reactos/trunk@64985 97493ccd-5924-5043-b1f5-66cb403b36ce

29 min ago[ADVAPI32]
akhaldi [Sat, 25 Oct 2014 15:28:29 +0000 (15:28 +0000)]
[ADVAPI32]
* Update AllocateAndInitializeSid().
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64984 97493ccd-5924-5043-b1f5-66cb403b36ce

89 min ago[NET]
ekohl [Sat, 25 Oct 2014 14:28:38 +0000 (14:28 +0000)]
[NET]
Display local group properties and members.

git-svn-id: file:///srv/svn/reactos/trunk@64983 97493ccd-5924-5043-b1f5-66cb403b36ce

103 min ago[ADVAPI32]
akhaldi [Sat, 25 Oct 2014 14:15:00 +0000 (14:15 +0000)]
[ADVAPI32]
* Update CreateRestrictedToken().
* More advapi32:security tests run now.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64982 97493ccd-5924-5043-b1f5-66cb403b36ce

116 min ago[ADVAPI32]
akhaldi [Sat, 25 Oct 2014 14:02:23 +0000 (14:02 +0000)]
[ADVAPI32]
* Update ADVAPI_IsLocalComputer().
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64981 97493ccd-5924-5043-b1f5-66cb403b36ce

2 hours ago[ADVAPI32]
akhaldi [Sat, 25 Oct 2014 13:56:28 +0000 (13:56 +0000)]
[ADVAPI32]
* Fix set_ntstatus() to use NT_SUCCESS when performing the checks.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64980 97493ccd-5924-5043-b1f5-66cb403b36ce

3 hours ago[ADVAPI32]
akhaldi [Sat, 25 Oct 2014 12:45:57 +0000 (12:45 +0000)]
[ADVAPI32]
* Move some functions from trustee.c to security.c.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64979 97493ccd-5924-5043-b1f5-66cb403b36ce

3 hours ago[ADVAPI32]
akhaldi [Sat, 25 Oct 2014 12:30:01 +0000 (12:30 +0000)]
[ADVAPI32]
* Move some functions from sec/misc.c to security.c.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64978 97493ccd-5924-5043-b1f5-66cb403b36ce

3 hours ago[ADVAPI32]
akhaldi [Sat, 25 Oct 2014 12:27:03 +0000 (12:27 +0000)]
[ADVAPI32]
* Move CreateProcessWithLogonW() from logon.c to security.c.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64977 97493ccd-5924-5043-b1f5-66cb403b36ce

4 hours ago[Win32k]
jimtabor [Sat, 25 Oct 2014 11:45:47 +0000 (11:45 +0000)]
[Win32k]
- Fix a copy paste error, see CORE-8667.
- Set top margin to 2.

git-svn-id: file:///srv/svn/reactos/trunk@64976 97493ccd-5924-5043-b1f5-66cb403b36ce

4 hours ago[RAPPS]
dreimer [Sat, 25 Oct 2014 11:43:51 +0000 (11:43 +0000)]
[RAPPS]
Updates for some softwares.
Fix several broken mirrors and replace the in theory working one for IrfanView.
Fix some sizes.

git-svn-id: file:///srv/svn/reactos/trunk@64975 97493ccd-5924-5043-b1f5-66cb403b36ce

15 hours ago[CRT]
tfaber [Sat, 25 Oct 2014 00:08:23 +0000 (00:08 +0000)]
[CRT]
- Add frame pointer omission information to assembly string functions to fix debugging annoyances. Reviews appreciated

git-svn-id: file:///srv/svn/reactos/trunk@64974 97493ccd-5924-5043-b1f5-66cb403b36ce

19 hours ago[TASKMGR]
cwittich [Fri, 24 Oct 2014 20:41:25 +0000 (20:41 +0000)]
[TASKMGR]
fix HMENU leak in TaskManager_OnTabWndSelChange
CORE-8705

git-svn-id: file:///srv/svn/reactos/trunk@64972 97493ccd-5924-5043-b1f5-66cb403b36ce

20 hours ago[CMAKE]
tkreuzer [Fri, 24 Oct 2014 19:17:58 +0000 (19:17 +0000)]
[CMAKE]
Improve configure script to allow passing multiple arguments, like "configure VSSolution RTC". Add a small help command ("help" or "/?"), allow passing CMake parameters like -DFOO:BOOL=TRUE after our custom parameters.

git-svn-id: file:///srv/svn/reactos/trunk@64971 97493ccd-5924-5043-b1f5-66cb403b36ce

20 hours ago[RTL]
tfaber [Fri, 24 Oct 2014 19:05:54 +0000 (19:05 +0000)]
[RTL]
- Implement RtlTryEnterHeapLock and use it to fix RtlpDphEnterCriticalSection

git-svn-id: file:///srv/svn/reactos/trunk@64970 97493ccd-5924-5043-b1f5-66cb403b36ce

21 hours ago[WIN32K]
jgardou [Fri, 24 Oct 2014 18:45:25 +0000 (18:45 +0000)]
[WIN32K]
 - Properly check for CBM_INIT bit in CreateDIBitmap.
 - Take into account the fact that we could be passed a BITMAPCOREHEADER
CORE-8695

git-svn-id: file:///srv/svn/reactos/trunk@64969 97493ccd-5924-5043-b1f5-66cb403b36ce

22 hours ago[ADVAPI32]
akhaldi [Fri, 24 Oct 2014 17:51:40 +0000 (17:51 +0000)]
[ADVAPI32]
* Move some functions from ac.c to security.c.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64968 97493ccd-5924-5043-b1f5-66cb403b36ce

22 hours ago[USER32]
jgardou [Fri, 24 Oct 2014 17:31:50 +0000 (17:31 +0000)]
[USER32]
 - Use CreateDIBitmap with the CDM_CREATEDIB undocumented flag to create alpha bitmaps. This permits to create display compatible yet 32bpp DDBs.
CORE-8695 #comment PLease retest, should be OK now.

git-svn-id: file:///srv/svn/reactos/trunk@64967 97493ccd-5924-5043-b1f5-66cb403b36ce

22 hours ago[WIN32K]
jgardou [Fri, 24 Oct 2014 17:31:46 +0000 (17:31 +0000)]
[WIN32K]
 - First implementation of CreateDIBitmap with the undocumented CBM_CREATEDIB flag.
CORE-8695

git-svn-id: file:///srv/svn/reactos/trunk@64966 97493ccd-5924-5043-b1f5-66cb403b36ce

22 hours ago[WIN32K]
jgardou [Fri, 24 Oct 2014 17:31:37 +0000 (17:31 +0000)]
[WIN32K]
 - Differenciate 16bpp 565 from 16bpp 555 in alphablending code.
 - Fix RGB vs BGR mismatch
CORE-8695

git-svn-id: file:///srv/svn/reactos/trunk@64965 97493ccd-5924-5043-b1f5-66cb403b36ce

22 hours ago[WIN32K]
tfaber [Fri, 24 Oct 2014 17:28:21 +0000 (17:28 +0000)]
[WIN32K]
- Move call to UserRegisterClass out of SEH. All parameters are kernel pointers, so exceptions here are critical kernel bugs that shouldn't be hidden.
CORE-8702 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@64964 97493ccd-5924-5043-b1f5-66cb403b36ce

23 hours ago[ADVAPI32]
akhaldi [Fri, 24 Oct 2014 16:57:17 +0000 (16:57 +0000)]
[ADVAPI32]
* Reorder AllocateLocallyUniqueId() to reduce difference to Wine.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64963 97493ccd-5924-5043-b1f5-66cb403b36ce

23 hours ago[ADVAPI32]
akhaldi [Fri, 24 Oct 2014 16:52:57 +0000 (16:52 +0000)]
[ADVAPI32]
* Move some functions from token.c to security.c.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64962 97493ccd-5924-5043-b1f5-66cb403b36ce

24 hours ago[ADVAPI32]
akhaldi [Fri, 24 Oct 2014 15:49:52 +0000 (15:49 +0000)]
[ADVAPI32]
* Move PrivilegeCheck() to security.c.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64959 97493ccd-5924-5043-b1f5-66cb403b36ce

24 hours ago[ADVAPI32]
akhaldi [Fri, 24 Oct 2014 15:40:29 +0000 (15:40 +0000)]
[ADVAPI32]
* Reorder functions and definitions to reduce difference to the Wine source file.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64958 97493ccd-5924-5043-b1f5-66cb403b36ce

25 hours ago[ADVAPI32]
akhaldi [Fri, 24 Oct 2014 14:01:16 +0000 (14:01 +0000)]
[ADVAPI32]
* Move sid.c to the wine folder as a starting point for security.c.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64957 97493ccd-5924-5043-b1f5-66cb403b36ce

26 hours ago[ADVAPI32]
akhaldi [Fri, 24 Oct 2014 13:37:01 +0000 (13:37 +0000)]
[ADVAPI32]
* Move cred.c to the wine folder.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64956 97493ccd-5924-5043-b1f5-66cb403b36ce

28 hours ago[WIN32K]
jgardou [Fri, 24 Oct 2014 11:35:07 +0000 (11:35 +0000)]
[WIN32K]
 - Keep track of the PDEV which we create a compatible bitmap for.
 - Allow attaching a DDB to a DC if they are from the same PDEV
Fixes various problems after mode switching, including the infamous "Where is desk.cpl palette bitmap"

git-svn-id: file:///srv/svn/reactos/trunk@64955 97493ccd-5924-5043-b1f5-66cb403b36ce

28 hours ago[WIN32K]
jgardou [Fri, 24 Oct 2014 11:34:55 +0000 (11:34 +0000)]
[WIN32K]
 - Do not dereference hook objects when it's not needed.
 - Avoid use after free.
CORE-8698 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@64954 97493ccd-5924-5043-b1f5-66cb403b36ce

28 hours ago[WIN32K]
jgardou [Fri, 24 Oct 2014 11:34:45 +0000 (11:34 +0000)]
[WIN32K]
 - Add a proper Alpha blending implementation for 16bpp surfaces
CORE-8695

git-svn-id: file:///srv/svn/reactos/trunk@64953 97493ccd-5924-5043-b1f5-66cb403b36ce

29 hours ago[NTOS:IO]
tfaber [Fri, 24 Oct 2014 10:03:42 +0000 (10:03 +0000)]
[NTOS:IO]
- Serialize device enumeration requests
CORE-8697 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@64952 97493ccd-5924-5043-b1f5-66cb403b36ce

29 hours ago[NTOS:IO]
tfaber [Fri, 24 Oct 2014 10:02:14 +0000 (10:02 +0000)]
[NTOS:IO]
- Introduce IopDriverLoadResource to protect against concurrent driver loading
CORE-8696 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@64951 97493ccd-5924-5043-b1f5-66cb403b36ce

30 hours ago[NTOS:IO]
tfaber [Fri, 24 Oct 2014 09:39:15 +0000 (09:39 +0000)]
[NTOS:IO]
- Don't delete the device node for root enumerated device objects on failure. It's pointless, since IopEnumerateDevice will just recreate it, and more importantly it causes a use-after-free because IopFreeDeviceNode does not unset the DeviceNode member of the device object extension, so IopEnumerateDevice will try to access the freed node
- Set the device object's DeviceNode pointer to NULL in IopFreeDeviceNode
- Use consistent pool tagging for device nodes
CORE-8671 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@64950 97493ccd-5924-5043-b1f5-66cb403b36ce

30 hours ago[USER32]
tfaber [Fri, 24 Oct 2014 09:26:03 +0000 (09:26 +0000)]
[USER32]
- Zero-initialize result in SendMessageTimeout
CORE-8699 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@64949 97493ccd-5924-5043-b1f5-66cb403b36ce

30 hours ago[USER32_APITEST]
tfaber [Fri, 24 Oct 2014 09:16:04 +0000 (09:16 +0000)]
[USER32_APITEST]
- Add a test for SendMessageTimeout failure case
- Remove a pointless (and broken) memset (Coverity)
CORE-8699

git-svn-id: file:///srv/svn/reactos/trunk@64948 97493ccd-5924-5043-b1f5-66cb403b36ce

32 hours ago[NTOSKRNL]
tkreuzer [Fri, 24 Oct 2014 07:16:44 +0000 (07:16 +0000)]
[NTOSKRNL]
Do not try to dereference Irp->UserIosb if it is NULL, to avoid unnecessary exceptions (inside SEH).

git-svn-id: file:///srv/svn/reactos/trunk@64947 97493ccd-5924-5043-b1f5-66cb403b36ce

41 hours ago[NTOS:IO]
tfaber [Thu, 23 Oct 2014 22:05:56 +0000 (22:05 +0000)]
[NTOS:IO]
- Normalize, er.. simplify IopNormalizeImagePath a bit and use pool tagging

git-svn-id: file:///srv/svn/reactos/trunk@64946 97493ccd-5924-5043-b1f5-66cb403b36ce

42 hours ago[FREELDR]
tkreuzer [Thu, 23 Oct 2014 21:52:39 +0000 (21:52 +0000)]
[FREELDR]
Move the BIOS call buffer to physical address 0x4000, making another page available at the top, moving the margin down to 0x9E000. Should fix boot with machines that have a large EBDA.
CORE-8692 #comment please retest.

git-svn-id: file:///srv/svn/reactos/trunk@64945 97493ccd-5924-5043-b1f5-66cb403b36ce

43 hours ago[WIN32K]
jgardou [Thu, 23 Oct 2014 20:08:03 +0000 (20:08 +0000)]
[WIN32K]
 - Fix hook leaks.
User object manager creates object with 2 (two, deux, zwei, dos) reference counts.

git-svn-id: file:///srv/svn/reactos/trunk@64942 97493ccd-5924-5043-b1f5-66cb403b36ce

44 hours ago[WIN32K]
jgardou [Thu, 23 Oct 2014 19:41:52 +0000 (19:41 +0000)]
[WIN32K]
 - Properly free classes small icon handles
 - Do not use LR_SHARED when copying them from the large icon. There's no reason for them to outlive the class.
Should fix remaining failures in user32:class that I introduced.

git-svn-id: file:///srv/svn/reactos/trunk@64939 97493ccd-5924-5043-b1f5-66cb403b36ce

44 hours ago[WIN32K/USER32]
jgardou [Thu, 23 Oct 2014 19:41:42 +0000 (19:41 +0000)]
[WIN32K/USER32]
 - Simplify an overcomplicated way to get buffer size from win32k
 - Do not spaghettize between string length and buffer size.
 - Properly use GetModuleFileName.

git-svn-id: file:///srv/svn/reactos/trunk@64938 97493ccd-5924-5043-b1f5-66cb403b36ce

44 hours ago[ADVAPI32]
akhaldi [Thu, 23 Oct 2014 18:58:35 +0000 (18:58 +0000)]
[ADVAPI32]
* Introduce a wine folder to group the Wine synced source files.
* Use the crypt folder as a starting point. More will follow.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64937 97493ccd-5924-5043-b1f5-66cb403b36ce

45 hours ago[PCIX]
akhaldi [Thu, 23 Oct 2014 18:51:12 +0000 (18:51 +0000)]
[PCIX]
* PciIdPrintfAppend is a vararg too.

git-svn-id: file:///srv/svn/reactos/trunk@64936 97493ccd-5924-5043-b1f5-66cb403b36ce

45 hours ago[PCIX]
akhaldi [Thu, 23 Oct 2014 18:42:39 +0000 (18:42 +0000)]
[PCIX]
* PciIdPrintf is a vararg.

git-svn-id: file:///srv/svn/reactos/trunk@64935 97493ccd-5924-5043-b1f5-66cb403b36ce

45 hours ago[NET]
ekohl [Thu, 23 Oct 2014 18:36:11 +0000 (18:36 +0000)]
[NET]
Implement the first part of the NET USER command.

git-svn-id: file:///srv/svn/reactos/trunk@64934 97493ccd-5924-5043-b1f5-66cb403b36ce

45 hours ago[COMPBATT]
akhaldi [Thu, 23 Oct 2014 18:33:21 +0000 (18:33 +0000)]
[COMPBATT]
* Arch, don't return NTSTATUS instead of PCOMPBATT_BATTERY_DATA!

git-svn-id: file:///srv/svn/reactos/trunk@64933 97493ccd-5924-5043-b1f5-66cb403b36ce

45 hours ago[DSOUND]
akhaldi [Thu, 23 Oct 2014 18:07:43 +0000 (18:07 +0000)]
[DSOUND]
* ProjectVector is used in commented out code.

git-svn-id: file:///srv/svn/reactos/trunk@64932 97493ccd-5924-5043-b1f5-66cb403b36ce

45 hours ago[NTOS:FORMATTING]
tfaber [Thu, 23 Oct 2014 17:59:16 +0000 (17:59 +0000)]
[NTOS:FORMATTING]
- Try to fix indentation in iomgr/driver.c. Whitespace changes only

git-svn-id: file:///srv/svn/reactos/trunk@64931 97493ccd-5924-5043-b1f5-66cb403b36ce

46 hours ago[WINSPOOL.DRV]
akhaldi [Thu, 23 Oct 2014 17:55:42 +0000 (17:55 +0000)]
[WINSPOOL.DRV]
* We're not using any debugging routines here.

git-svn-id: file:///srv/svn/reactos/trunk@64930 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[USER32]
jgardou [Thu, 23 Oct 2014 15:40:13 +0000 (15:40 +0000)]
[USER32]
 - Fix wrong size check.
Spotted by Thomas

git-svn-id: file:///srv/svn/reactos/trunk@64926 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[NTOS:IO]
tfaber [Thu, 23 Oct 2014 14:37:51 +0000 (14:37 +0000)]
[NTOS:IO]
- Simplify how IopLoadUnloadDriver is called by making the function queue a work item instead of its caller

git-svn-id: file:///srv/svn/reactos/trunk@64925 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[USER32]
akhaldi [Thu, 23 Oct 2014 12:24:07 +0000 (12:24 +0000)]
[USER32]
* Merge r64866 from the shell branch which had:

* Fix wrong array length passed to GetClassNameW. CID 716222
* Replace other instances of explicit array length to GetWindowTextW with _countof(x).
Based on a patch by Christoph von Wittich.

git-svn-id: file:///srv/svn/reactos/trunk@64924 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[NTVDM]: Addendum to revision 64917: remove unnecessary casts.
hbelusca [Thu, 23 Oct 2014 12:21:46 +0000 (12:21 +0000)]
[NTVDM]: Addendum to revision 64917: remove unnecessary casts.

git-svn-id: file:///srv/svn/reactos/trunk@64923 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[WIN32SS]
jgardou [Thu, 23 Oct 2014 11:46:06 +0000 (11:46 +0000)]
[WIN32SS]
 - In an incredibly daring move, enable the long awaited new cursors & icons implementation, featuring:
   - Alpha channeled cursors
   - Animated cursors (only the first frame is displayed now)
   - Less leaks (tm)
   - Tests that pass(tm)
   - Copying icons and cursors from DLL resources, for beautifuler ReactOS, your turn gigaherz ;-)
   - A lot of other things which I am very proud of.
CORE-7575 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@64921 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[WIN32K]
jgardou [Thu, 23 Oct 2014 11:46:01 +0000 (11:46 +0000)]
[WIN32K]
 - Use shared icon handles when copying the small class icon from the larger one.
CORE-7575

git-svn-id: file:///srv/svn/reactos/trunk@64920 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[USER32]
jgardou [Thu, 23 Oct 2014 11:45:55 +0000 (11:45 +0000)]
[USER32]
 - Implement CopyImage(LR_SHARED) case.
CORE-7575

git-svn-id: file:///srv/svn/reactos/trunk@64919 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[USER32]
jgardou [Thu, 23 Oct 2014 11:45:50 +0000 (11:45 +0000)]
[USER32]
 - Cursoricon objects are allocated on the user heap, not the desktop heap.
CORE-7575

git-svn-id: file:///srv/svn/reactos/trunk@64918 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[FAST486][NTVDM]
aandrejevic [Thu, 23 Oct 2014 11:44:07 +0000 (11:44 +0000)]
[FAST486][NTVDM]
Arch, I/O port numbers should always be stored in USHORT variables!

git-svn-id: file:///srv/svn/reactos/trunk@64917 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[USER32_APITEST]
jgardou [Thu, 23 Oct 2014 11:19:21 +0000 (11:19 +0000)]
[USER32_APITEST]
 - Add a test showing that CopyImage accepts LR_SHARED flag.
CORE-7575

git-svn-id: file:///srv/svn/reactos/trunk@64916 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[WIN32K]
jgardou [Thu, 23 Oct 2014 09:52:57 +0000 (09:52 +0000)]
[WIN32K]
 - Call IntDestroyCurIconObject instead of explicitly destroying the handle.
CORE-7575

git-svn-id: file:///srv/svn/reactos/trunk@64915 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[WIN32K]
jgardou [Thu, 23 Oct 2014 09:32:46 +0000 (09:32 +0000)]
[WIN32K]
 - Reference cursor and icon objects when copying a class from one heap to another.
CORE-7575

git-svn-id: file:///srv/svn/reactos/trunk@64914 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[USER32]
jgardou [Thu, 23 Oct 2014 09:32:43 +0000 (09:32 +0000)]
[USER32]
 - Return the right value in CopyImage when copying cursors/icons
CORE-7575

git-svn-id: file:///srv/svn/reactos/trunk@64913 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[WIN32K]
jgardou [Thu, 23 Oct 2014 09:32:39 +0000 (09:32 +0000)]
[WIN32K]
 - Remove the cursor from the process cache when its handle is deleted, not after.
 - Do not return an invalid handle in NtUserSetCursor.
CORE-7575

git-svn-id: file:///srv/svn/reactos/trunk@64912 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[USER32]
jgardou [Thu, 23 Oct 2014 09:32:21 +0000 (09:32 +0000)]
[USER32]
 - Fix LookupIconIdFromDirectoryEx, returning 0 when no matching entry is found.
 - Fix error handling when opening a cursor file.
 - Various code beautification here and there
CORE-7575

git-svn-id: file:///srv/svn/reactos/trunk@64911 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[CRT/OLDNAMES]
tkreuzer [Thu, 23 Oct 2014 09:22:45 +0000 (09:22 +0000)]
[CRT/OLDNAMES]
Fix ARM build, patch by Yuntian Zhang with minor adjustment by me.
CORE-8666 #resolve #comment Committed in r64910, thanks!

git-svn-id: file:///srv/svn/reactos/trunk@64910 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[CRT]
tkreuzer [Thu, 23 Oct 2014 09:05:32 +0000 (09:05 +0000)]
[CRT]
Do not raise an exception in _invalid_parameter, which is only done in later MSVCRTs. Wine uses a symbolic constant (_MSVCR_VER) to handle this and other things and compiles their CRT code multiple times. As an alternative we could use a global version variable to avoid recompiling, once we implement other CRT dlls.
CORE-8670 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@64909 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[I8042PRT]
khornicek [Wed, 22 Oct 2014 20:05:32 +0000 (20:05 +0000)]
[I8042PRT]
- check the right buffer's length
[WIN32K]
- simplify IntKeyboardUpdateLeds a bit and mind previous mode
- fixes keyboard indicators
CORE-8547

git-svn-id: file:///srv/svn/reactos/trunk@64908 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[RTL]
tfaber [Wed, 22 Oct 2014 19:40:13 +0000 (19:40 +0000)]
[RTL]
- Address a review comment by Timo -- use more explicit comparison

git-svn-id: file:///srv/svn/reactos/trunk@64907 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[NTOS:FORMATTING]
tfaber [Wed, 22 Oct 2014 19:34:46 +0000 (19:34 +0000)]
[NTOS:FORMATTING]
- Trip trailing whitespace in Io/Pnp

git-svn-id: file:///srv/svn/reactos/trunk@64906 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[XDK/DDK]
tkreuzer [Wed, 22 Oct 2014 19:30:27 +0000 (19:30 +0000)]
[XDK/DDK]
Improve debugprint in __assert_annotationA/W

git-svn-id: file:///srv/svn/reactos/trunk@64905 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[SERVMAN]
khornicek [Wed, 22 Oct 2014 19:28:33 +0000 (19:28 +0000)]
[SERVMAN]
- better fix for CDI 513719, LVText might not be null terminated - spotted by Timo

git-svn-id: file:///srv/svn/reactos/trunk@64904 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[NTOSKRNL]
tkreuzer [Wed, 22 Oct 2014 19:20:03 +0000 (19:20 +0000)]
[NTOSKRNL]
- Fix potential use-after-free CID 732509
- Fix buffer size in call to ObQueryNameString

git-svn-id: file:///srv/svn/reactos/trunk@64903 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[NTOS:IO] Replace an error message by an assert
hpoussin [Wed, 22 Oct 2014 19:17:13 +0000 (19:17 +0000)]
[NTOS:IO] Replace an error message by an assert

This was expected to be done soon after r32518.

git-svn-id: file:///srv/svn/reactos/trunk@64902 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[ADVAPI32/CRED]
akhaldi [Wed, 22 Oct 2014 18:41:40 +0000 (18:41 +0000)]
[ADVAPI32/CRED]
* Sync with Wine 1.7.27.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64901 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[ADVAPI32/CRYPT]
akhaldi [Wed, 22 Oct 2014 18:29:59 +0000 (18:29 +0000)]
[ADVAPI32/CRYPT]
* Sync with Wine 1.7.27.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64900 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[PSDK]
akhaldi [Wed, 22 Oct 2014 18:26:47 +0000 (18:26 +0000)]
[PSDK]
* Add missing PFE_IMPORT_FUNC and WriteEncryptedFileRaw.

git-svn-id: file:///srv/svn/reactos/trunk@64899 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[KERNEL32]
akhaldi [Wed, 22 Oct 2014 18:05:36 +0000 (18:05 +0000)]
[KERNEL32]
* Zap szCountryListName.
* Comment out unused charset_names and strcpynAtoW.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64898 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[KERNEL32]
akhaldi [Wed, 22 Oct 2014 17:58:58 +0000 (17:58 +0000)]
[KERNEL32]
* Sync GetStringTypeW with Wine 1.7.27.
* Allows more kernel32:locale tests to run.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64897 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[KERNEL32]
akhaldi [Wed, 22 Oct 2014 17:52:18 +0000 (17:52 +0000)]
[KERNEL32]
* Sync LCMapString{A,W} with Wine 1.7.27.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64896 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[CMAKE]
akhaldi [Wed, 22 Oct 2014 16:56:56 +0000 (16:56 +0000)]
[CMAKE]
* Allow the use of the LOCATION property with new CMake versions.

git-svn-id: file:///srv/svn/reactos/trunk@64894 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[TASKMGR]
akhaldi [Wed, 22 Oct 2014 16:51:25 +0000 (16:51 +0000)]
[TASKMGR]
* Minor style changes in wWinMain.

git-svn-id: file:///srv/svn/reactos/trunk@64893 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[KERNEL32]
akhaldi [Wed, 22 Oct 2014 16:43:19 +0000 (16:43 +0000)]
[KERNEL32]
* Zap NLS_RegEnumSubKey.

git-svn-id: file:///srv/svn/reactos/trunk@64892 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[KERNEL32]
akhaldi [Wed, 22 Oct 2014 16:40:54 +0000 (16:40 +0000)]
[KERNEL32]
* Replace EnumSystemGeoID with the one from Wine 1.7.27.
* Fixes some kernel32:locale tests.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64891 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[TASKMGR]
khornicek [Wed, 22 Oct 2014 16:01:24 +0000 (16:01 +0000)]
[TASKMGR]
- fix CIDs 731628 (unlikely buffer overrun), 500038 (dead code), 1101977 (unchecked return value)

git-svn-id: file:///srv/svn/reactos/trunk@64890 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[NTOS:MM]
tfaber [Wed, 22 Oct 2014 13:26:50 +0000 (13:26 +0000)]
[NTOS:MM]
- Add a way to generate a pool tag from the calling driver name if none is specified. Disabled by default.

git-svn-id: file:///srv/svn/reactos/trunk@64889 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[NTOS:MM]
tfaber [Wed, 22 Oct 2014 13:18:10 +0000 (13:18 +0000)]
[NTOS:MM]
- Add missing call to ExpSeedHotTags

git-svn-id: file:///srv/svn/reactos/trunk@64888 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[NTOS:KE]
tfaber [Wed, 22 Oct 2014 13:13:31 +0000 (13:13 +0000)]
[NTOS:KE]
- Issue the appropriate bug check codes when faulting in special pool
CORE-8680

git-svn-id: file:///srv/svn/reactos/trunk@64887 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[NTOS:MM]
tfaber [Wed, 22 Oct 2014 13:04:57 +0000 (13:04 +0000)]
[NTOS:MM]
Make special pool usable:
- Invalidate PTEs on free to catch use-after-free situations (and not confuse Mm)
- Fix pattern check not to look for more than 8 bits in a byte
- Enable POOL_FLAG_SPECIAL_POOL if special pool has been initialized
- Implement MmExpandSpecialPool
- Issue the correct SPECIAL_POOL_DETECTED_MEMORY_CORRUPTION bugcheck when problems are detected
- Magic values--
To enable special pool for a single tag, set a value for MmSpecialPoolTag in ntoskrnl/mm/ARM3/pool.c.
To enable it for more than one tag, set MmSpecialPoolTag and modify MmUseSpecialPool in ntoskrnl/mm/ARM3/special.c (e.g. to return TRUE independent of Tag).
CORE-8680 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@64886 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[NTOS:MM]
tfaber [Wed, 22 Oct 2014 12:29:31 +0000 (12:29 +0000)]
[NTOS:MM]
- Generate PAGE_FAULT_IN_NONPAGED_AREA bugcheck for PTEs that have their protection set to zero. This gives a more useful error description than the infamous 'TempPte.u.Long != 0' assertion*.
CORE-8679 #resolve

* and is also What Windows Does(TM)

git-svn-id: file:///srv/svn/reactos/trunk@64885 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[MSCONFIG]
khornicek [Wed, 22 Oct 2014 12:13:40 +0000 (12:13 +0000)]
[MSCONFIG]
- fix CID 503793 (unlikely NULL pointer dereference), 514558 (check return value)

git-svn-id: file:///srv/svn/reactos/trunk@64884 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[KERNEL32]
akhaldi [Tue, 21 Oct 2014 23:02:21 +0000 (23:02 +0000)]
[KERNEL32]
* Replace GetGeoInfo{A,W} with the ones from Wine 1.7.27.
* Fixes many kernel32:locale tests.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64883 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[SERVMAN]
khornicek [Tue, 21 Oct 2014 22:58:23 +0000 (22:58 +0000)]
[SERVMAN]
- fix resource leaks CID 716292, 716293, 716294
- fix CID 716772 (double free), 513719 (wrong NULL check), 1206739 (cosmetic)
- make line endings CR LF when exporting the services list

git-svn-id: file:///srv/svn/reactos/trunk@64882 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[FAST486]: Rename some 0F0x opcodes to "ExtOpcode..." to clarify what they are and...
hbelusca [Tue, 21 Oct 2014 21:18:23 +0000 (21:18 +0000)]
[FAST486]: Rename some 0F0x opcodes to "ExtOpcode..." to clarify what they are and where they are used.

git-svn-id: file:///srv/svn/reactos/trunk@64881 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[USER32]
khornicek [Tue, 21 Oct 2014 21:08:51 +0000 (21:08 +0000)]
[USER32]
- fix CID 514402 (by Christoph)
[MMIXER]
- fix CID 503774, 715945, 511119
[WS2_32_NEW]
- fix a debug print

git-svn-id: file:///srv/svn/reactos/trunk@64880 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[WIN32K]
jgardou [Tue, 21 Oct 2014 19:57:03 +0000 (19:57 +0000)]
[WIN32K]
 - Fix a few usages of UserSetCursor
 - Defer the actual freeing of cursor resources to when the object is freed for real.
CORE-7575

git-svn-id: file:///srv/svn/reactos/trunk@64879 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[I_KNEW_IT]
jgardou [Tue, 21 Oct 2014 19:14:47 +0000 (19:14 +0000)]
[I_KNEW_IT]
 - InterlockedDecrement(JeromesBuildFailures)

git-svn-id: file:///srv/svn/reactos/trunk@64878 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[WIN32K]
jgardou [Tue, 21 Oct 2014 18:59:44 +0000 (18:59 +0000)]
[WIN32K]
 - "Convert" new cursor & icons implementation to the new user object handle manager.
 - Fix a few idiosyncracies in the way cursor handles are used (only with USE_NEW_CURSORICON_ENABLED)
[WIN32SS]
 - Storm out the flowers out of how classes use icon and cursor objects, with proper refcounting and all those joyous things.
Handles are for the powerless, kernel mode use pointers.
Only with USE_NEW_CURSORICON enabled (soon!)
CORE-7575

git-svn-id: file:///srv/svn/reactos/trunk@64877 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[WIN32K]
jgardou [Tue, 21 Oct 2014 18:59:39 +0000 (18:59 +0000)]
[WIN32K]
 - Use the first frame of an animated cursor in case we're trying to use one.

git-svn-id: file:///srv/svn/reactos/trunk@64876 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[WIN32K]
jgardou [Tue, 21 Oct 2014 18:59:34 +0000 (18:59 +0000)]
[WIN32K]
 - Refcount++ the process info when we're adding it to a cursor process list.
CORE-8661

git-svn-id: file:///srv/svn/reactos/trunk@64875 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[KERNEL32]
akhaldi [Tue, 21 Oct 2014 18:42:12 +0000 (18:42 +0000)]
[KERNEL32]
* Sync casemap.c with Wine 1.7.27.
CORE-8540

git-svn-id: file:///srv/svn/reactos/trunk@64874 97493ccd-5924-5043-b1f5-66cb403b36ce