Commit graph

52691 commits

Author SHA1 Message Date
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
Timo Kreuzer
d15d5fabff [WIN32K]
Use the official HANDLE_TYPE enum instead of the custom USER_OBJECT_TYPE

svn path=/trunk/; revision=58041
2012-12-29 19:14:30 +00:00
Eric Kohl
8873d1a4be [INCLUDE]
Add some domain information types to ntsam.h and fix sam.idl accordingly.

svn path=/trunk/; revision=58040
2012-12-29 16:22:00 +00:00
Thomas Faber
92a7f3c0f5 [WIDL]
- Apply Wine commit "widl: Print large enum constants in hex." by Alexandre Julliard (756d33ddae316c71b1241e7c8684c07cd82b9e05)
- Remove some minor differences to Wine

svn path=/trunk/; revision=58039
2012-12-29 15:18:09 +00:00
Eric Kohl
e002133064 [SAMSRV]
Store an objects relative id in the database object. This will later be used to protect pre-defined objects from being deleted.

svn path=/trunk/; revision=58038
2012-12-29 14:44:42 +00:00
Eric Kohl
dfa3ce1995 [SAMSRV]
Fix two incorrect failure checks in the object database code.

svn path=/trunk/; revision=58037
2012-12-29 12:55:05 +00:00
Eric Kohl
39b3d23f4b [SAMSRV]
SamrQueryInformationDomain (DomainGeneralInformation/DomainGeneralInformation2): Count the number of Aliases, Groups and Users.

svn path=/trunk/; revision=58036
2012-12-29 11:50:56 +00:00
Daniel Reimer
039975e952 Update RAPPS Database to recent versions / fix dead links.
svn path=/trunk/; revision=58035
2012-12-29 10:33:51 +00:00
Johannes Anderwald
d697105863 [LIBUSBAUDIO]
- Start implementing a library which is used to parse USB configuration descriptors and construct KSFILTER_DESCRIPTOR structure, which is used with the kernel streaming driver (ks.sys) 
- The library will be used in USBAUDIO driver

svn path=/trunk/; revision=58033
2012-12-28 19:38:10 +00:00
Hermès Bélusca-Maïto
426a79eba3 [INPUT]
Add a new property sheet which aim is to manage text services (and the language bar).

svn path=/trunk/; revision=58032
2012-12-28 19:31:17 +00:00
Hermès Bélusca-Maïto
075c413d8f [INPUT]
Add the awaited ending new-line to make msvc resource compiler happy.

svn path=/trunk/; revision=58031
2012-12-28 17:57:10 +00:00
Amine Khaldi
d2c2158e78 [SHELL32]
* Correct a typo that led to incorrect Capacity value (shown in the disk properties).
* Correct some colors inversion in the Free/Used disk space chart.
* Brought to you by Victor Martinez Calvo.
CORE-6838 #resolve #comment Committed in r58030. Gracias ;)

svn path=/trunk/; revision=58030
2012-12-28 17:42:50 +00:00
Hermès Bélusca-Maïto
059e3cee33 [INPUT]
UTF-8 translation

svn path=/trunk/; revision=58029
2012-12-28 17:27:30 +00:00
Hermès Bélusca-Maïto
7c71339370 [INTL]
Fix UTF-8 Translation

svn path=/trunk/; revision=58028
2012-12-28 17:23:29 +00:00
Hermès Bélusca-Maïto
26df1dc11e [INTL]
"saise" --> "saisie"

svn path=/trunk/; revision=58027
2012-12-28 16:43:54 +00:00
Hermès Bélusca-Maïto
d8e440bc72 [INTL]
UTF-8 translation

svn path=/trunk/; revision=58026
2012-12-28 16:39:16 +00:00
Hermès Bélusca-Maïto
d023c1a9ce [INTL]
Fix French translation

svn path=/trunk/; revision=58025
2012-12-28 16:28:49 +00:00
Hermès Bélusca-Maïto
2476bad526 [NOTEPAD]
- Do not close Notepad when 'Save As' dialog is canceled (behaviour correction, makes it as under Windows). Patch by Peter Hater.
- Temporarily fix saving with invalid file name --> now return an error, don't save the file, reset the internal file name to "" (untitled) and keep Notepad opened.
  This is due to the lack of file name validation when calling Save-As file box (should be done by default, but it is not under ROS).

CORE-6836 #resolve #comment Committed in r58024. Thanks :)

svn path=/trunk/; revision=58024
2012-12-28 15:50:38 +00:00
Cameron Gutman
be1984907c - Never queue a DPC for MiniportHandleInterrupt regardless of what MiniportISR requests if MiniportInitialize is executing
- Very likely fixes CORE-6064

svn path=/trunk/; revision=58022
2012-12-28 00:36:28 +00:00
Amine Khaldi
ff6c1ce972 [CRT/BUILTINS]
* memcpy should behave exactly like memmove for Windows compatibility.
CORE-6833 #resolve #comment Committed in r58021.

svn path=/trunk/; revision=58021
2012-12-27 22:26:35 +00:00
Hermès Bélusca-Maïto
b8b7caccfe [FREELDR]
- Move PcBeep function declaration to a better header.
- Resuscitate OptionMenuCustomBootReactOS() from revision r52491, update it to match recent changes in freeldr as well as making it using new boot method, and reuse ConstructArcPath.
  Why I'm doing this ? Because it can be useful to enter personalized boot options by hand at boot time rather than being obliged to edit freeldr.ini. This needs care, not brutal deletion.

svn path=/trunk/; revision=58020
2012-12-27 21:52:40 +00:00
Amine Khaldi
dcb9fa5856 * Addendum to r58018. Altered the wrong function. Also: "Should be sent to Wine (TM)" ;)
svn path=/trunk/; revision=58019
2012-12-27 12:42:31 +00:00
Amine Khaldi
69f9dc84ad [SETUPAPI]
* Fix allocating the required bytes in SetupGetFileCompressionInfoW. Brought to you by Peter Hater (7element {at} mail [dot] bg)
CORE-6815 #resolve #comment Committed in r58018. Cheers ;)

svn path=/trunk/; revision=58018
2012-12-27 12:35:10 +00:00
Eric Kohl
b2b4d4f502 [NETAPI32]
- Include a netapi32.h in most files and move the other includes into netapi32.h.
- Add functions to open account and builtin domains directly and use these functions.

svn path=/trunk/; revision=58017
2012-12-26 21:07:13 +00:00
Hermès Bélusca-Maïto
ed10069057 [MSVCRT]
Export __crtLCMapStringW and correct __crtLCMapStringA: their prototypes are :

int CDECL __crtLCMapStringW(LCID lcid, DWORD mapflags, const wchar_t *src,
    int srclen, wchar_t *dst, int dstlen, unsigned int codepage, int xflag)

and

int CDECL __crtLCMapStringA(LCID lcid, DWORD mapflags, const char* src,
    int srclen, char* dst, int dstlen, unsigned int codepage, int xflag)

Needed by SVN.

svn path=/trunk/; revision=58016
2012-12-26 19:26:08 +00:00
Eric Kohl
2d39279b16 [NETAPI32]
- Implement NetLocalGroupAdd.
- Implement and use a helper function that opens aliases by name.

svn path=/trunk/; revision=58015
2012-12-26 16:31:28 +00:00
Hermès Bélusca-Maïto
22b449d34b [MSVCRT]
Export ___lc_collate_cp_func since it exists in Win2k3 msvcrt.dll AND it is needed by SVN in RosBE 2.1.

svn path=/trunk/; revision=58014
2012-12-26 16:28:44 +00:00
Thomas Faber
ce123b9acc [EXPLORER_NEW]
- Fix some formatting and GetWindowLong[Ptr] confusion

svn path=/trunk/; revision=58013
2012-12-26 15:48:49 +00:00
Hermès Bélusca-Maïto
33e087ed1a [MAGNIFY]
Fix French translation

svn path=/trunk/; revision=58012
2012-12-26 15:28:28 +00:00
Thomas Faber
c15e94cbfc [EXPLORER_NEW]
- Add Advanced tab in task bar properties to support ReactOS-specific options (currently: show seconds in tray clock). Patch by Edijs Kolesnikovics.
CORE-5410 #comment Patch committed, thanks! Awaiting the updated save-to-registry functionality.

svn path=/trunk/; revision=58011
2012-12-26 15:14:41 +00:00
Hermès Bélusca-Maïto
a894b7ab0b [FREELDR]
Improve the way we are doing the timing: When the timeout is > 0, we refresh its display. When it becomes == 0, we exit the waiting-loop and do the right action (start the default OS, ...). However, when we press a key, it is set to -1 by convention, that means, no timeout. The timeout display is then cleared ONLY ONCE since there is no need to refresh it each time we do a waiting-loop-turn when the timeout is == -1.

svn path=/trunk/; revision=58010
2012-12-26 02:14:46 +00:00