Sir Richard [Sat, 5 Jun 2010 16:53:54 +0000 (16:53 +0000)]
[NTOS]: Define the POOL_HEADER for x64.
[NTOS]: Define POOL_BLOCK_SIZE definition to set the minimum pool block size. In NT, this is equal to a LIST_ENTRY structure, because the Pool Allocator must be able to store a LIST_ENTRY into a freed pool block. This also determines the alignment of pool allocations. So 8 on x86, 16 on x64.
[NTOS]: Don't depend on LIST_ENTRY, but use POOL_BLOCK_SIZE instead (on IA64, if we ever want to support this, the pool block size is different from a LIST_ENTRY/POOL_HEADER).
[NTOS]: The following ASSERTs must hold: the POOL_HEADER must be as big as the the smallest pool block (POOL_BLOCK_SIZE), which must be at least as big as a LIST_ENTRY structure. 8 == 8 == 8 on x86, 16 == 16 == 16 on x64.
svn path=/trunk/; revision=47592
Sir Richard [Sat, 5 Jun 2010 14:59:50 +0000 (14:59 +0000)]
[NTOS]: Don't assume that ANY fault in the system address range, not associated to a memory area, might be ARM3. Instead, since this hack only exists for early boot page pool support, make only treat this as an ARM3 fault when it happens in the paged pool area or higher. Leads to more direct Mm crashes when invalid page access happens, instead of infinite "PAGE FAULT ON PAGE TABLES".
svn path=/trunk/; revision=47589
Sir Richard [Sat, 5 Jun 2010 14:55:17 +0000 (14:55 +0000)]
[NTOS]: In MiInitializePfnForOtherProcess, should increment the sharecount of the page table PFN entry, not the PFN entry of the PTE itself. Spotted by Stefan100.
svn path=/trunk/; revision=47588
Sir Richard [Sat, 5 Jun 2010 14:54:26 +0000 (14:54 +0000)]
[NTOS]: In MiDeleteSystemPageableVm, should also handle the case where the PTE is demand-zero. This can happen if the caller allocated, say, 12KB (3 pages) of paged pool, only touched 4KB (1 page), and then frees the allocation -- the other 2 pages will still be demand-zero at this point.
svn path=/trunk/; revision=47587
Eric Kohl [Sat, 5 Jun 2010 12:20:53 +0000 (12:20 +0000)]
[NTOSKRNL]
NtDuplicateToken: Fail, if a primary token is to be created from an impersonation token and and the impersonation level of the impersonation token is below SecurityImpersonation.
svn path=/trunk/; revision=47586
Jeffrey Morlan [Sat, 5 Jun 2010 06:10:53 +0000 (06:10 +0000)]
[WIN32CSR] Implement some basic line editing capability
svn path=/trunk/; revision=47584
Sir Richard [Sat, 5 Jun 2010 04:16:46 +0000 (04:16 +0000)]
[NTOS]: Implement MiDeleteSystemPageableVm.
[NTOS]: The paged pool free code was behaving incorrectly, assuming that paged pool was "locked down" and never paged out/reused (a valid NT operation mode), while the allocation code was assuming paged pool was a volatile, reusable, pageable resource (normal NT operation mode). The free code now assumes normal operation mode, and actually frees the freed paged pool pages, by using MiDeleteSystemPageableVm.
I have a feeling this will make ARM3 paged pool work.
svn path=/trunk/; revision=47582
Jeffrey Morlan [Sat, 5 Jun 2010 03:12:51 +0000 (03:12 +0000)]
add missing file
svn path=/trunk/; revision=47581
Jeffrey Morlan [Sat, 5 Jun 2010 00:45:08 +0000 (00:45 +0000)]
[KERNEL32], [WIN32CSR]
- Implement console history (note: not too useful yet without any way to recall it)
- Implement APIs GetConsoleCommandHistoryLength, GetConsoleCommandHistory, ExpungeConsoleCommandHistory, SetConsoleNumberOfCommands, GetConsoleHistoryInfo, SetConsoleHistoryInfo.
- Remove stub of obsolete function SetConsoleCommandHistoryMode, which no longer exists in Windows.
svn path=/trunk/; revision=47580
Sir Richard [Fri, 4 Jun 2010 22:08:40 +0000 (22:08 +0000)]
[NTOS]: When expanding paged pool, use MiRemoveAnyPage, not MmAllocPage.
[NTOS]: When expanding paged pool, initialize the PFN entry for the allocated page. Note we might be in arbitrary process space, so the PTE is not necessary valid for the process causing the expansion.
[NTOS]: Implement MiInitializePfnForOtherProcess to handle the case above.
[NTOS]: Change two static ASSERTs into C_ASSERTs. Might break non-x86 builds for a bit (vs breaking them at boot, which is worse).
Paged pool should start working soon.
svn path=/trunk/; revision=47579
Timo Kreuzer [Fri, 4 Jun 2010 21:50:06 +0000 (21:50 +0000)]
[winnt.h]
Fix definition of KNONVOLATILE_CONTEXT_POINTERS for amd64
svn path=/trunk/; revision=47578
Cameron Gutman [Fri, 4 Jun 2010 20:36:48 +0000 (20:36 +0000)]
[FREELOADER]
- Use the old method for identifying the drive type (based on partition number) which actually works for floppies now because I changed the DrivePartition value returned (floppy = 0, cdrom = 0xFF) in a previous commit
- Fixes bug 5233
svn path=/trunk/; revision=47577
Cameron Gutman [Fri, 4 Jun 2010 20:22:29 +0000 (20:22 +0000)]
[FREELOADER]
- Remove duplicated code
- Add back the Mac hack but use 0x8A for the lowest CD-ROM drive number instead of 0x90
svn path=/trunk/; revision=47576
Sir Richard [Fri, 4 Jun 2010 20:18:27 +0000 (20:18 +0000)]
[NTOS]: Build paged pool demand-zero PTE with MI_MAKE_SOFTWARE_PTE macro.
[NTOS]: Handle paged pool demand-zero fault fulfillment with MI_MAKE_HARDWARE_PTE macro.
[NTOS]: Use MiRemoveAnyPage instead of MmAllocPage, in paged pool demand-zero fault fulfillment.
These changes affect code paths that are not currently in-use.
svn path=/trunk/; revision=47575
Timo Kreuzer [Fri, 4 Jun 2010 20:16:26 +0000 (20:16 +0000)]
[DDK]
Fix definition of USE_DMA_MACROS
svn path=/trunk/; revision=47574
Timo Kreuzer [Fri, 4 Jun 2010 18:37:14 +0000 (18:37 +0000)]
[MMEBUDDY]
Make mmebuddy more 64bit compliant. Based on r40127 by Samuel Serapion with some modifications by me.
svn path=/trunk/; revision=47573
Jeffrey Morlan [Fri, 4 Jun 2010 18:26:22 +0000 (18:26 +0000)]
[WIN32CSR] Console input simplification:
- Put code for processing events for line input in one place, instead of duplicating it everywhere
- Remove "Fake" and "NotChar" fields from ConsoleInput struct. ConioProcessKey didn't actually add Fake events; they were used for the \n when converting \r to \r\n, but this is better done by the line input code.
- Build an input line completely on the server side; this will make it practical to add history and more sophisticated editing later
svn path=/trunk/; revision=47572
Sir Richard [Fri, 4 Jun 2010 17:49:36 +0000 (17:49 +0000)]
Testers: Please test this build.
[NTOS]: Implement a MI_MAKE_HARDWARE_PTE macro for the generation of valid kernel PTEs instead of always taking the ValidKernelPte and changing its flags. This macro will take into account the protection mask (up until now ignored) and use the array previously implemented to determine the correct hardware PTE settings. Assertions are also added to validate correct usage of the macro, and later revisions will fill out NT-specific fields to help deal with transition PTEs, page faults, etc.
[NTOS]: Make the stack code the first user of this macro, for the stack PTEs. Good testing base as we create kernel stacks very often.
[NTOS]: The NT MM ABI specifies that in between the allocation of a new PTE and its initialization as a valid PFN, the PTE entry should be an invalid PTE, and should only be marked valid after the PFN has been initialized. For stack PTEs, do this -- first allocating the page, making it invalid, then initializing the PFN, and then writing the valid page.
svn path=/trunk/; revision=47571
Sir Richard [Fri, 4 Jun 2010 17:40:11 +0000 (17:40 +0000)]
[NTOS]: Allocate non-paged pool pages with MiRemoveAnyPage instead of MmAllocPage.
svn path=/trunk/; revision=47570
Timo Kreuzer [Fri, 4 Jun 2010 16:56:14 +0000 (16:56 +0000)]
[HAL]
Delete empty folder
svn path=/trunk/; revision=47569
Jeffrey Morlan [Fri, 4 Jun 2010 16:31:56 +0000 (16:31 +0000)]
[WIN32CSR] Consistently store console input events internally as unicode.
svn path=/trunk/; revision=47568
Timo Kreuzer [Fri, 4 Jun 2010 15:58:43 +0000 (15:58 +0000)]
[KS]
- KSSTREAM_POINTER_OFFSET doesn't have an Alignment member on 64 bit systems. Comment the use out in these cases. It should probably be removed completely, as it's only an alignment / dummy value, but I leave this to the expert in this field.
- ULONG -> ULONG_PTR for pointer casts
svn path=/trunk/; revision=47567
Giannis Adamopoulos [Fri, 4 Jun 2010 11:30:14 +0000 (11:30 +0000)]
[win32k]
- CreateWindow: initialize window position after sending WM_GETMINMAXINFO message
svn path=/trunk/; revision=47566
Timo Kreuzer [Fri, 4 Jun 2010 10:59:19 +0000 (10:59 +0000)]
[HAL]
- Move all amd64 specific files to one amd64 folder
- Compile x86 specific timer code only on x86
- Use KeRegisterInterruptHandler instead of manual idt manipulation
- add missing stubs for amd64
svn path=/trunk/; revision=47565
Timo Kreuzer [Fri, 4 Jun 2010 10:51:44 +0000 (10:51 +0000)]
[NTOSKRNL]
Implement KeRegisterInterruptHandler and KeQueryInterruptHandler for amd64
svn path=/trunk/; revision=47564
Timo Kreuzer [Fri, 4 Jun 2010 10:17:55 +0000 (10:17 +0000)]
[HAL]
- Move memory functions from halinit.c to new memory.c
- HalpAllocPhysicalMemory: MemoryFirmwareTemporary -> LoaderFirmwareTemporary (same value, different enum)
svn path=/trunk/; revision=47563
Jeffrey Morlan [Fri, 4 Jun 2010 06:36:12 +0000 (06:36 +0000)]
[KERNEL32], [WIN32CSR]
- Make Get/SetConsoleTitle more compatible with windows; in particular, transfer title via capture buffer to allow for longer titles.
- Tighten up capture buffer validation in win32csr.
svn path=/trunk/; revision=47562
Timo Kreuzer [Fri, 4 Jun 2010 00:49:33 +0000 (00:49 +0000)]
revert 47559 and 47560 (once again... sigh)
svn path=/trunk/; revision=47561
Timo Kreuzer [Fri, 4 Jun 2010 00:26:49 +0000 (00:26 +0000)]
try to fix build
svn path=/trunk/; revision=47560
Timo Kreuzer [Fri, 4 Jun 2010 00:19:39 +0000 (00:19 +0000)]
[DDK]
Merge the rest of the old header-branch version of ntddk.h, but with a large number of additional types #if 0'ed out
svn path=/trunk/; revision=47559
Timo Kreuzer [Thu, 3 Jun 2010 23:40:33 +0000 (23:40 +0000)]
[DDK]
try to work around the testbot brokenness with an #if 0"
svn path=/trunk/; revision=47558
Timo Kreuzer [Thu, 3 Jun 2010 23:18:20 +0000 (23:18 +0000)]
[HAL]
Include the correct headers for amd64 vs i386
svn path=/trunk/; revision=47557
Timo Kreuzer [Thu, 3 Jun 2010 23:08:40 +0000 (23:08 +0000)]
[DDK]
In an incredibly daring move, add even more types to ntddk.h
svn path=/trunk/; revision=47556
Timo Kreuzer [Thu, 3 Jun 2010 22:25:25 +0000 (22:25 +0000)]
[DDK]
2nd try, this time adding half of the structures.
svn path=/trunk/; revision=47555
Timo Kreuzer [Thu, 3 Jun 2010 22:15:54 +0000 (22:15 +0000)]
Revert r47553 because testbot doesn't like it
svn path=/trunk/; revision=47554
Timo Kreuzer [Thu, 3 Jun 2010 21:55:57 +0000 (21:55 +0000)]
[DDK}
Add a number of PCI related types to ntddk.h
svn path=/trunk/; revision=47553
Timo Kreuzer [Thu, 3 Jun 2010 20:57:25 +0000 (20:57 +0000)]
[ReactOS-amd64.rbuild]
The old explorer won't compile for amd64 without massive hacking, so remove it from the build.
svn path=/trunk/; revision=47552
Timo Kreuzer [Thu, 3 Jun 2010 20:08:26 +0000 (20:08 +0000)]
[ROSTESTS]
Fix 64 bit build of some modules (Samuel Serapion, modified by me)
svn path=/trunk/; revision=47551
Timo Kreuzer [Thu, 3 Jun 2010 19:39:28 +0000 (19:39 +0000)]
[W32KNAPI]
Add few more tests for NtGdiCreateBitmap
svn path=/trunk/; revision=47550
Timo Kreuzer [Thu, 3 Jun 2010 19:35:05 +0000 (19:35 +0000)]
[GDI32API]
add IsHandleValid and use it SelectObject test
svn path=/trunk/; revision=47549
Gregor Schneider [Thu, 3 Jun 2010 18:47:37 +0000 (18:47 +0000)]
[DESK]
- Rearrange screensaver wait codes around the MsgWaitForMultipleObjects function
- Fixes screensaver configuration windows blocking the control panel
- Refs: http://blogs.msdn.com/b/oldnewthing/archive/2005/02/17/375307.aspx and http://codereflect.com/2008/09/19/when-and-how-should-we-use-msgwaitformultipleobjects/
See issue #4213 for more details.
svn path=/trunk/; revision=47548
Timo Kreuzer [Thu, 3 Jun 2010 17:56:15 +0000 (17:56 +0000)]
[COMCTRL32]
Sync listview.c with wine 1.2 rc2
svn path=/trunk/; revision=47547
Timo Kreuzer [Thu, 3 Jun 2010 17:52:23 +0000 (17:52 +0000)]
[PSDK]
add LVSIL_GROUPHEADER definition to commctrl.h
svn path=/trunk/; revision=47546
Timo Kreuzer [Thu, 3 Jun 2010 17:44:52 +0000 (17:44 +0000)]
[BROWSEUI]
merge r44391 from amd64 branch
fix 64bit build
svn path=/trunk/; revision=47545
Giannis Adamopoulos [Thu, 3 Jun 2010 16:12:43 +0000 (16:12 +0000)]
[user32]
- Remove a reactos only export (PrivateCsrssInitialized)
- Don't call NtUserGetClassLong
- Move implementation of AnyPopup to user mode
- Fix a small bug in GetParent and in IsChild
[csrss]
- Don't call PrivateCsrssInitialized
[win32k]
- Call CsrInit in NtUserInitialize so we can remove PrivateCsrssInitialized
- Romove a reactos only syscall (NtUserGetClassLong)
- Remove UserGetClassLongPtr, UserGetWindow, UserGetWindowLong, IntGetOwner. Instead access objects directly
- In WINDOW_OBJECT store pointer to the ownder window instead of a handle
svn path=/trunk/; revision=47544
Timo Kreuzer [Thu, 3 Jun 2010 15:57:52 +0000 (15:57 +0000)]
[DDK]
Make RtlLargeIntegerDivide FORCEINLINE instead of __inline to avoid multiple definitions
svn path=/trunk/; revision=47543
Timo Kreuzer [Thu, 3 Jun 2010 15:50:19 +0000 (15:50 +0000)]
[rbuild]
- cleanup obsolete rbuild flags for amd64
- undefine WIN32 for amd64, only _WIN32 should be defined
svn path=/trunk/; revision=47542
Gabriel Ilardi [Thu, 3 Jun 2010 15:09:08 +0000 (15:09 +0000)]
[SYSDM]
- Update Italian and Spanish translations.
- Add untranslated strings to the rest of the languages.
svn path=/trunk/; revision=47541
Timo Kreuzer [Thu, 3 Jun 2010 14:55:25 +0000 (14:55 +0000)]
[ACPICA]
- Hack acwin64.h, don't assume msvc for win64
svn path=/trunk/; revision=47540
Timo Kreuzer [Thu, 3 Jun 2010 14:49:47 +0000 (14:49 +0000)]
[RBUILD]
- append stdcall decoration only for i386 target
svn path=/trunk/; revision=47539
Timo Kreuzer [Thu, 3 Jun 2010 14:19:18 +0000 (14:19 +0000)]
merge 46805 from amd64 branch:
[RBUILD]
Fix some parameters (starting with --, not with -)
svn path=/trunk/; revision=47538
Eric Kohl [Thu, 3 Jun 2010 13:36:50 +0000 (13:36 +0000)]
[NTOSKRNL]
NtDuplicateToken: If the called does not provide any desired access rights the duplicate token will inherit the granted rights of the original token.
svn path=/trunk/; revision=47535
Eric Kohl [Thu, 3 Jun 2010 13:17:33 +0000 (13:17 +0000)]
[SYSDM]
- Check the custom paging file sizes for being within useful limits and display warnings if these limit were exceeded.
- Translators: Please translate the message strings!
svn path=/trunk/; revision=47534
Timo Kreuzer [Thu, 3 Jun 2010 12:47:40 +0000 (12:47 +0000)]
Merge 46523 from amd64 branch:
- Fix assert macro
- Add crt="MSVC" to a number of modules to resolve _assert
svn path=/trunk/; revision=47533
Cameron Gutman [Thu, 3 Jun 2010 08:09:42 +0000 (08:09 +0000)]
[FREELDR]
- Remove an overzealous API check and the work-around for it
svn path=/trunk/; revision=47531
Cameron Gutman [Thu, 3 Jun 2010 07:48:35 +0000 (07:48 +0000)]
[FREELDR]
- Verify that Int 13 extensions are supported before trying to use them
svn path=/trunk/; revision=47530
Michael Martin [Thu, 3 Jun 2010 07:08:07 +0000 (07:08 +0000)]
[rtl]
- len returned from mbstowcs is the required size of the destination string, so only allocate the needed size.
- When doing the actual conversion pass in the size of the ansi string not the needed size of destination.
- These changes were missed in 47527.
svn path=/trunk/; revision=47529
Michael Martin [Wed, 2 Jun 2010 23:58:28 +0000 (23:58 +0000)]
[crt]
- mbstowcs: Fix incorrect size passed as the second parameter for call to RtlMultiByteToUnicodeN.
Fixes loading assemblies when manifest is in a manifest file due to parsing failure.
svn path=/trunk/; revision=47527
Gabriel Ilardi [Wed, 2 Jun 2010 22:49:27 +0000 (22:49 +0000)]
[SYSDM]
- Update Italian and Spanish translations.
svn path=/trunk/; revision=47526
Eric Kohl [Wed, 2 Jun 2010 22:29:19 +0000 (22:29 +0000)]
[SYSDM]
- Fix a bug in the creation of the 'PagingFiles' registry value.
- Set paging file sizes only if both user defined sizes are valid numerical values and display a warning otherwise.
- Translators: Please translate the message strings!
svn path=/trunk/; revision=47525
Gabriel Ilardi [Wed, 2 Jun 2010 22:28:37 +0000 (22:28 +0000)]
[usetup]
- The last error messages were swapped in some languages, spotted by Paolo Devoti.
- Added the minimum required disk space also in the debug print.
See issue #5440 for more details.
svn path=/trunk/; revision=47524
Giannis Adamopoulos [Wed, 2 Jun 2010 18:14:53 +0000 (18:14 +0000)]
[win32k]
- Fix detection of file type while generating vcxproj files
svn path=/trunk/; revision=47523
Giannis Adamopoulos [Wed, 2 Jun 2010 16:55:21 +0000 (16:55 +0000)]
[win32k[win32k]
-Allow menus to be shown over the taskbar
See issue #5415 for more details.
svn path=/trunk/; revision=47522
Gabriel Ilardi [Wed, 2 Jun 2010 15:43:07 +0000 (15:43 +0000)]
[netshell]
- Improve current network connection status icons.
svn path=/trunk/; revision=47521
Gabriel Ilardi [Wed, 2 Jun 2010 14:04:07 +0000 (14:04 +0000)]
Several Italian translation updates by Paolo Devoti.
See issue #5438 for more details.
svn path=/trunk/; revision=47520
Stefan Ginsberg [Wed, 2 Jun 2010 13:59:47 +0000 (13:59 +0000)]
[HAL] Fix compiler preprocessor checks for the IRQL masks so other compilers than GCC get proper entries too.
[HAL] Define the HalpHardwareInterrupt macro for MSVC too.
[HAL] Replace IRQL_DEBUG with DBG so we always check for incorrect IRQL on debug. I believe incorrect IRQL raise/lower is a common and serious enough error to always be checked for on debug builds without defining some special debug option.
svn path=/trunk/; revision=47519
Daniel Reimer [Wed, 2 Jun 2010 11:34:56 +0000 (11:34 +0000)]
Polish Translation Updates by Maciej Bialas.
svn path=/trunk/; revision=47518
Aleksey Bragin [Wed, 2 Jun 2010 11:26:19 +0000 (11:26 +0000)]
[HAL]
- Fix a typo.
svn path=/trunk/; revision=47517
Cameron Gutman [Tue, 1 Jun 2010 20:06:53 +0000 (20:06 +0000)]
[NTOSKRNL]
- Revert the hack in r47514
- The ASSERT is there to make sure the PFN lock is held
- Fix the issue properly by holding the PFN lock while initializing
svn path=/trunk/; revision=47516
Gregor Schneider [Tue, 1 Jun 2010 19:36:43 +0000 (19:36 +0000)]
[FONTVIEW] Select the oldest font back into the DC, leftover from bug #5182
svn path=/trunk/; revision=47515
Johannes Anderwald [Tue, 1 Jun 2010 15:08:14 +0000 (15:08 +0000)]
[NTOS]
- Fix assertion hit during install
- Fix identation
- Remove superflous spaces
svn path=/trunk/; revision=47514
Johannes Anderwald [Tue, 1 Jun 2010 10:57:26 +0000 (10:57 +0000)]
[NPFS]
- Fix 2 memory leaks when creating a pipe fails
- Fix minor style issue
svn path=/trunk/; revision=47513
Johannes Anderwald [Tue, 1 Jun 2010 09:52:16 +0000 (09:52 +0000)]
[NPFS]
- Check if MmGetSystemAddressForMdlSafe failed
svn path=/trunk/; revision=47512
Giannis Adamopoulos [Tue, 1 Jun 2010 09:31:24 +0000 (09:31 +0000)]
[rbuild]
msvc backend:
- Start implementing real support for vcxproj files
- Fix generating sln files
- Move msvc rules in a separate folder
- Various fixes
svn path=/trunk/; revision=47511
Art Yerkes [Tue, 1 Jun 2010 09:22:10 +0000 (09:22 +0000)]
Add invariant checks and fix a bug: Copy+Paste error misusing OldFlink
svn path=/trunk/; revision=47510
Johannes Anderwald [Tue, 1 Jun 2010 09:12:32 +0000 (09:12 +0000)]
[NPFS]
- Add more buffer checks
- Clear DO_DEVICE_INITIALIZING flag
svn path=/trunk/; revision=47509
Johannes Anderwald [Tue, 1 Jun 2010 08:43:50 +0000 (08:43 +0000)]
[NPFS]
- Return buffer size if the buffer is too small
svn path=/trunk/; revision=47508
Daniel Reimer [Tue, 1 Jun 2010 06:43:47 +0000 (06:43 +0000)]
Add the non yet working FF 3.6 and AbiWord 2.8.5 to rapps to simplify testing.
Sync the rest
svn path=/trunk/; revision=47507
Cameron Gutman [Tue, 1 Jun 2010 02:44:15 +0000 (02:44 +0000)]
[NPFS]
- Acquire the cancel spin lock before calling IoSetCancelRoutine
- Remove the old cancellation code
- Don't use the CCB stored in the IRP because it could be invalid depending on the state of the IRP
- Simplify thread termination
- Fixes random crash during rpcrt4:ndr_marshall test
svn path=/trunk/; revision=47506
Eric Kohl [Mon, 31 May 2010 22:34:16 +0000 (22:34 +0000)]
[SMSS]
- Create a new default paging file if no paging files exist.
- Set the calculated paging file sizes in the registry.
- Remove predefined paging file name from the hivesys*.inf files.
Fixes bug #4048.
svn path=/trunk/; revision=47505
Gregor Schneider [Mon, 31 May 2010 20:09:13 +0000 (20:09 +0000)]
[RAPPS] Create a new download directory if the user agrees to do so, based on a patch by Seungju Kim. Translations except German and English should be updated to reflect the changed intention.
See issue #5196 for more details.
svn path=/trunk/; revision=47504
Gregor Schneider [Mon, 31 May 2010 19:16:14 +0000 (19:16 +0000)]
[EXPLORER_NEW] Display a message box if the explorer registry key cannot be loaded, patch by Katayama Hirofumi
See issue #5407 for more details.
svn path=/trunk/; revision=47503
Gregor Schneider [Mon, 31 May 2010 18:38:48 +0000 (18:38 +0000)]
[CMD] Protect certain actions with a critical section, patch by Katayama Hirofumi
See issue #5406 for more details.
svn path=/trunk/; revision=47502
Giannis Adamopoulos [Mon, 31 May 2010 17:58:05 +0000 (17:58 +0000)]
[win32k]
- Rename co_IntCreateWindowEx to co_UserCreateWindowEx and refactor it to make it readable
- Also fix the sequence of messages in co_UserCreateWindowEx
svn path=/trunk/; revision=47500
Timo Kreuzer [Mon, 31 May 2010 15:27:14 +0000 (15:27 +0000)]
[MMENT4]
Fix warning about uninitialized variable
svn path=/trunk/; revision=47499
Timo Kreuzer [Mon, 31 May 2010 15:10:25 +0000 (15:10 +0000)]
[PSDK]
Fix braces around initializers for GUIDs
Patch by Love Nystrom
See issue #5336 for more details.
svn path=/trunk/; revision=47498
Timo Kreuzer [Mon, 31 May 2010 15:07:19 +0000 (15:07 +0000)]
[ntstrsafe.h]
- Fix a number of parameter types (LPSTR/LPCSTR instead of PCHAR, PCCHAR) This is not the same, PCCHAR is a char * not a const char *
svn path=/trunk/; revision=47497
Timo Kreuzer [Mon, 31 May 2010 14:58:43 +0000 (14:58 +0000)]
[CMIDRIVER]
- Fix a number of warnings, no actual code change
- Patch by Love Nystrom, improvements by me
See issue #5336 for more details.
svn path=/trunk/; revision=47496
Timo Kreuzer [Mon, 31 May 2010 14:11:10 +0000 (14:11 +0000)]
[MMENT4]
Remove a ";" after an if (), that makes no sense and caused GetNt4SoundDeviceCapabilities to always return without doing anything.
svn path=/trunk/; revision=47494
Timo Kreuzer [Mon, 31 May 2010 14:04:24 +0000 (14:04 +0000)]
[OSKITTCP]
Improve the reactos-hack, by changing the ";" after an "if (...)" to "(void)0;" to tell the compiler that we intentionally do nothing in the if body.
svn path=/trunk/; revision=47493
Timo Kreuzer [Mon, 31 May 2010 14:00:50 +0000 (14:00 +0000)]
[LIBJPEG]
Instead of disabling a warning when using "main" as something else then the main function, define it to mainptr (it's used as a pointer variable) globally, this approach is portable.
svn path=/trunk/; revision=47492
Timo Kreuzer [Mon, 31 May 2010 13:57:33 +0000 (13:57 +0000)]
[BATTC]
- define _BATTERYCLASS_ to not get dllimport specifiers
svn path=/trunk/; revision=47491
Timo Kreuzer [Mon, 31 May 2010 13:56:29 +0000 (13:56 +0000)]
[FORMAT]
Fix "potentially insecure" usage of non-string-literals in printf.
svn path=/trunk/; revision=47490
Timo Kreuzer [Mon, 31 May 2010 13:54:38 +0000 (13:54 +0000)]
[ACPI]
- Add some missing NTAPI
- Fix AcpiInterfaceConnectVector and AcpiInterfaceDisconnectVector parameters (ACPI_INTERFACE_STANDARD version 1 not version 2)
- Patch by Amine Khaldi
svn path=/trunk/; revision=47489
Timo Kreuzer [Mon, 31 May 2010 13:45:29 +0000 (13:45 +0000)]
[MSCONFIG]
Add header guards. They are not neccessary in this case, but better to have them, especially since it uses a compilation unit.
svn path=/trunk/; revision=47488
Stefan Ginsberg [Mon, 31 May 2010 12:52:16 +0000 (12:52 +0000)]
[NTOS] Re-enable the APC debug check in the system call exit code that somehow got removed in 46247.
[NTOS] Use an inline for emitting the iret instruction in C code for portability.
[NTOS] Simplify the MSC assembly in KiSwitchToBootStack.
svn path=/trunk/; revision=47487
Michael Martin [Mon, 31 May 2010 12:36:40 +0000 (12:36 +0000)]
[win32k]
- When processing and deleting timers use a seperate timer lock instead of using the global user lock.
svn path=/trunk/; revision=47486
Jeffrey Morlan [Mon, 31 May 2010 06:28:55 +0000 (06:28 +0000)]
[WIN32CSR] Split up excessively large and disorganized conio.c into 3 separate files: one for input-related functions, one for output-related functions, and one for general/miscellaneous functions.
svn path=/trunk/; revision=47485
Timo Kreuzer [Mon, 31 May 2010 04:13:40 +0000 (04:13 +0000)]
- add explicit braces to avoid ambiguous 'else'
- fix deprecated conversion from string constant to 'char*'
svn path=/trunk/; revision=47484
Timo Kreuzer [Mon, 31 May 2010 03:32:51 +0000 (03:32 +0000)]
remove WTIME_S_DEFINED guard and move the functions from wchar_s to wchar.h (like in MS headers)
svn path=/trunk/; revision=47483