Commit graph

52521 commits

Author SHA1 Message Date
Timo Kreuzer
fd43db5558 [NTOSKRNL]
Implement protection changing in NtAllocateVirtualMemory. 
Fixes "Assertion 'ChangeProtection == FALSE' failed"

svn path=/trunk/; revision=58108
2013-01-04 01:06:51 +00:00
Timo Kreuzer
5b8fa09fc2 [INCLUDE]
Delete obsolete files

svn path=/trunk/; revision=58106
2013-01-03 20:56:00 +00:00
Timo Kreuzer
1510c13569 [WIN32K]
Handle references to DC selected fonts, so we don't leak them or use fonts that are already deleted.

svn path=/trunk/; revision=58102
2013-01-03 08:45:00 +00:00
Timo Kreuzer
eb2bbd0d4b [WIN32K]
Revert the revert from r58091 and apply a correct fix (passed parameters to RECTL_vSetRect() in wrong order)

svn path=/trunk/; revision=58101
2013-01-02 14:52:34 +00:00
Timo Kreuzer
aeb1964acb [GDI32]
Set correct last error code in GetClipRgn. Fixes regression from r58089.


svn path=/trunk/; revision=58099
2013-01-02 10:54:54 +00:00
Eric Kohl
0fea31f7a2 [NETAPI32]
NetUserGetLocalGroups: Replace the simulation by a working implementation.

svn path=/trunk/; revision=58095
2013-01-01 22:54:39 +00:00
Eric Kohl
cb52c27133 [SAMSRV]
SamrGetAliasMembership:
- Change requrred access right from DOMIN_LOOKUP to DOMAIN_GET_ALIAS_MEMBERSHIP.
- Handle the case properly where a user is not a member of any alias.
- Retrieve an alias members RID correctly.

svn path=/trunk/; revision=58094
2013-01-01 22:04:41 +00:00
Eric Kohl
23e600a0d7 [SAMLIB]
Ensure that optional parameters are handled properly.

svn path=/trunk/; revision=58093
2013-01-01 21:12:38 +00:00
Hermès Bélusca-Maïto
3441210764 [SHELL32]
Fix untitled Run dialog in some languages. I wonder why it was as it since ages, in some languages but not in anothers.

svn path=/trunk/; revision=58092
2013-01-01 19:49:55 +00:00
Timo Kreuzer
7dd6427e00 [WIN32K]
Partly revert r57691. Fixes messed up icons in 32bpp.

svn path=/trunk/; revision=58091
2013-01-01 19:41:20 +00:00
Hermès Bélusca-Maïto
9792217df9 [REGEDIT]
- Revert lstrcpynW --> wcsncpy changes from r57471 back to lstrcpynW because this function automatically NULL-terminate strings
  (but I wonder if there is a replacement of lstrcpynW which has all its functionalities, in the CRT). This fixes address loading
  after editing it in the address bar. Caught by Edijus ;)
- Unicodize a little bit more regedit.

svn path=/trunk/; revision=58090
2013-01-01 19:38:47 +00:00
Timo Kreuzer
d225c3c957 [WIN32K]
- In NtGdiGetRandomRgn use the region pointers directly, instead of getting their handles. These regions might not even have a handle.
- Fix last error code

svn path=/trunk/; revision=58089
2013-01-01 19:23:30 +00:00
Hermès Bélusca-Maïto
968788ebd8 [NTOSKRNL]
Display both on the screen and on the debug console that an invalid debug service was called.

svn path=/trunk/; revision=58088
2013-01-01 16:42:07 +00:00
Hermès Bélusca-Maïto
408db391be [REGEDIT]
- Use REG_OPTION_NON_VOLATILE instead of 0 in RegCreateKeyEx.
- Do not rename keys when they have the same name, case-insensitive (as Windows does), fix for r58079 / CORE-6205.

svn path=/trunk/; revision=58087
2013-01-01 16:06:02 +00:00
Hermès Bélusca-Maïto
f4019db7f8 Fix comment
svn path=/trunk/; revision=58086
2013-01-01 14:57:12 +00:00
Hermès Bélusca-Maïto
ae0b2b2e35 [REGEDIT]
Fix totally broken InfoMessageBox function. ~=~=\|/ **** Happy New Year 2013 !!!! **** \|/=~=~

svn path=/trunk/; revision=58085
2013-01-01 14:55:53 +00:00
Thomas Faber
7ea8822b24 [KERNEL32]
- Fix escape sequence parsing in CreateProcessInternalW. Patch by Vincenzo Cotugno.

svn path=/trunk/; revision=58084
2013-01-01 14:18:27 +00:00
Johannes Anderwald
f7c2bc2e7f [SETUP][SYSSETUP]
- Restore focus after closing GPL window
- Patch by vort
CORE-6837 #resolve #comment fixed in rev 58083

svn path=/trunk/; revision=58083
2013-01-01 12:12:19 +00:00
Timo Kreuzer
5b8a6dd3cc [WIN32K]
Rewrite EngMulDiv.

svn path=/trunk/; revision=58082
2013-01-01 12:09:53 +00:00
Timo Kreuzer
46da747829 [WIN32K]
Exchange fields individually in PDEVOBJ_vSwitchPdev() instead of duplicating a full PDEV structure on the stack. This saves a lot of stack space.

svn path=/trunk/; revision=58081
2013-01-01 11:57:58 +00:00
Timo Kreuzer
febbf7f603 [FREELDR]
Fix a copy pasta, noticed by r3ddr4g0n.

svn path=/trunk/; revision=58080
2013-01-01 11:37:59 +00:00
Johannes Anderwald
e54416f256 [REGEDIT]
- Check if the new name equals the old name. In that case don't rename key.
- Fixes regedit accidentaly deleting keys when a key is clicked and the rename field appears
CORE-6205 #resolve #comment finally regedit is usable

svn path=/trunk/; revision=58079
2013-01-01 11:28:25 +00:00
Timo Kreuzer
5becc492ad [WIN32K]
- Fix a typo from r58077

svn path=/trunk/; revision=58078
2013-01-01 11:02:11 +00:00
Timo Kreuzer
d2a161fbb5 Fix build
svn path=/trunk/; revision=58077
2013-01-01 09:50:33 +00:00
Timo Kreuzer
737708cfb0 {WIN32K]
- Add some annotations
- Fix some 64bit issues
- Fix a typo
- reduce ENUM_RECT_LIMIT to 32, which is more than enough and doesn't waste as much stack space
- remove some unused macros

svn path=/trunk/; revision=58076
2013-01-01 09:40:48 +00:00
Eric Kohl
319425e1d9 [USRMGR]
- Enable the call to NetUserAdd.

This enables us to create new user accounts. A lot of stuff is still missing, so don't be surprised if something unexpected happens. It will be fixed soon.

Happy new Year!

svn path=/trunk/; revision=58072
2012-12-31 22:04:05 +00:00
Eric Kohl
f039f501b4 [NETAPI32]
Implement parts of NetUserAdd.

svn path=/trunk/; revision=58071
2012-12-31 18:39:19 +00:00
Eric Kohl
e2273f3e3e [SAMSRV]
Implement SamrSetInformationUser2.

svn path=/trunk/; revision=58070
2012-12-31 17:59:19 +00:00
Thomas Faber
d82df6ac05 [REGEDIT]
- Fix a handle leak. Patch by Edijs Kolesnikovičs.
CORE-6853 #resolve

svn path=/trunk/; revision=58069
2012-12-31 17:10:15 +00:00
Eric Kohl
bef50fc841 [SAMLIB]
Implement SamShutdownSamServer.

svn path=/trunk/; revision=58068
2012-12-31 14:56:11 +00:00
Eric Kohl
45c809f451 [SAMSRV]
SamrSetInformationUser: Implement UserParametersInformation and UserAllInformation information classes.

svn path=/trunk/; revision=58067
2012-12-31 14:01:23 +00:00
Timo Kreuzer
2755e37848 [FREELDR]
Implement MmCheckFreeldrImageFile() to check that freeldr was properly compiled and loaded.

svn path=/trunk/; revision=58066
2012-12-31 10:08:34 +00:00
Timo Kreuzer
803933e000 [KS]
Pass a PUNICODE_STRING instead of a LPWSTR (and unused BufferSize) to FindMatchingCreateItem(), make use of the Length parameter instead of trusting on NULL termination when searching for path separators.

svn path=/trunk/; revision=58065
2012-12-31 09:48:46 +00:00
Aleksey Bragin
93be7a7d03 [RAPPS]
- Fix MPC download url. Patch CORE-6849 by serrox.

svn path=/trunk/; revision=58062
2012-12-30 19:53:50 +00:00
Timo Kreuzer
7328c943bd [PSEH3]
Tiny asm optimization.

svn path=/trunk/; revision=58060
2012-12-30 19:02:54 +00:00
Timo Kreuzer
79679fb362 [PSEH3]
Apply the same mechanism to prevent inlining SEH using functions that was already applied to PSEH2.

svn path=/trunk/; revision=58059
2012-12-30 18:01:34 +00:00
Eric Kohl
d855db8ef1 [INCLUDE]
Add some user information types to ntsam.h and fix sam.idl accordingly.

svn path=/trunk/; revision=58058
2012-12-30 17:28:21 +00:00
Timo Kreuzer
b2787225fb [PSEH3]
Hack the hack a bit more. Should fix annoying warnings about possible uninitialized variables. Also generates smaller code, by getting rid of a stray relative jump instruction.

svn path=/trunk/; revision=58057
2012-12-30 17:11:02 +00:00
Timo Kreuzer
5171e4abb2 [PSEH2_TEST]
Fix build with PSEH3

svn path=/trunk/; revision=58056
2012-12-30 13:35:30 +00:00
Timo Kreuzer
b556d39888 [GDI32_APITEST]
Fix a warning and improve code.

svn path=/trunk/; revision=58054
2012-12-30 13:21:52 +00:00
Eric Kohl
b9f59dc28a [SAMSRV]
Enable the use of generic access rights by mapping them to object specific right.

svn path=/trunk/; revision=58053
2012-12-30 13:00:02 +00:00
Timo Kreuzer
d65327d318 [GDI32_APITEST]
Add tests for SetDIBitsToDevice

svn path=/trunk/; revision=58052
2012-12-30 12:56:55 +00:00
Timo Kreuzer
2f067ab47a [NTOSKRNL]
Fix a number of 64bit issues.

svn path=/trunk/; revision=58050
2012-12-30 11:54:40 +00:00
Timo Kreuzer
df929fa5cf [NTOSKRNL]
Fix value of MmUserProbeAddress, which is MI_USER_PROBE_ADDRESS (0x7FFF0000) and not MI_HIGHEST_USER_ADDRESS (0x7FFEFFFF)!

svn path=/trunk/; revision=58049
2012-12-30 11:52:05 +00:00
Thomas Faber
73a5534922 [SHELL32]
- Fix exports
CORE-6846 #resolve

svn path=/trunk/; revision=58048
2012-12-30 10:07:38 +00:00
Timo Kreuzer
776eeb022a [NTOSKRNL]
In NtAllocateVirtualMemory, when MEM_RESET is passed, silence the DPRINT and also return STATUS_SUCCESS, since MEM_RESET is only an optimization (tells the memory manager that the contents shouldn't be written to the pagefile) and it won't hurt (except the performance) to pretend success. On the other hand paging out is probably never done anyway due to broken Mm.
This fixes spamming the log by Firefox. It does not fix the hangs that firfox suffers from.

svn path=/trunk/; revision=58047
2012-12-29 21:40:41 +00:00
Eric Kohl
56ba815b08 [NETAPI32]
Formatting! No code changes!

svn path=/trunk/; revision=58045
2012-12-29 20:51:38 +00:00
Hermès Bélusca-Maïto
2fb2a00e74 [WPP]
Apply Wine commit "wpp: Fix path separator on Windows platforms." by Hermès Bélusca-Maïto (9dbd1969fca9c31155c6d85ea8129d249467926b)
Indeed, Windows systems use ':' as part of paths and therefore, use another separator character.
This enables compiling ReactOS from source files located in a different disk partition as the generated (output) files.

CORE-6442 #resolve #comment Committed in r58044.

svn path=/trunk/; revision=58044
2012-12-29 20:16:21 +00:00
Hermès Bélusca-Maïto
be155668e0 [CONFIGURE]
Fix MSVC configure build (problem of expansion of environment variables).

svn path=/trunk/; revision=58043
2012-12-29 19:23:02 +00:00
Timo Kreuzer
4cad6be248 Fix build
svn path=/trunk/; revision=58042
2012-12-29 19:17:59 +00:00