Commit graph

31794 commits

Author SHA1 Message Date
ReactOS Portable Systems Group 4f81cc1111 - Forgot to commit this with the last update -- this adds the PreviousTrapFrame member to the ARM _KTRAP_FRAME structure.
svn path=/trunk/; revision=34654
2008-07-22 05:28:14 +00:00
James Tabor 4f11e10d3d - Rewrite HOOKs, Implement CallNextHookEx and fix prototype for NtUserCallNextHookEx. Move hook structure to ntuser.h for user verifying.
- Tested with FF, Seamonkey, Abiword, and the rest of our applications.

svn path=/trunk/; revision=34653
2008-07-22 04:54:53 +00:00
Jeffrey Morlan c688052ea5 - Make console handles start at 3, not 7.
- Make CsrGetObject increment the ref count to prevent objects from being deleted while in use. Add CsrReleaseObjectByPointer calls where necessary.

svn path=/trunk/; revision=34652
2008-07-22 00:33:42 +00:00
Timo Kreuzer ff907c5360 implement HackSecureVirtualMemory as a possible workaround for missing MmSecureVirtualMemory
svn path=/trunk/; revision=34651
2008-07-21 23:56:26 +00:00
Timo Kreuzer 27afd30041 fix READ_PORT_xxx macros
svn path=/trunk/; revision=34650
2008-07-21 21:53:38 +00:00
Timo Kreuzer 533f66b5f7 fix prototypes of _beginthread and _beginthreadex
svn path=/trunk/; revision=34649
2008-07-21 21:46:24 +00:00
Jeffrey Morlan 4e1f4eaa28 MmReleasePageMemoryConsumer: When giving the page directly to a pending allocation request, zero it first. (Bug 3543)
svn path=/trunk/; revision=34647
2008-07-21 21:30:41 +00:00
Ged Murphy 03764ecabe - Fix NeedCurrentDirectoryForExePath. Based on Wine code
- Passes all kernel32:path winetests

svn path=/trunk/; revision=34644
2008-07-21 19:54:50 +00:00
Matthias Kupfer aefde24020 - Add selectable spanish and italian keyboard layout to default language.
- This fix is temporarily until GUI 1st stage setup replaces usetup.
- See issue #3313 for more details.

svn path=/trunk/; revision=34642
2008-07-21 19:17:45 +00:00
Ged Murphy 373bd4b1da Fix Rva handling code
svn path=/trunk/; revision=34641
2008-07-21 17:50:27 +00:00
ReactOS Portable Systems Group 1738564a77 - Improve system call handler by adding more debugging checks to be used later.
- Optimize and simplify trap handling by using a common exit just like on x86's Kei386EoiHelper - KiExceptionExit. This way the code isn't duplicated 6 times.
- Do the same for system calls (KiServiceExit).
- Save the previous trap frame and restore it during each system call.


svn path=/trunk/; revision=34640
2008-07-21 15:55:58 +00:00
Matthias Kupfer 3f38468f23 avoid flicker when registering components
svn path=/trunk/; revision=34638
2008-07-21 15:52:52 +00:00
Aleksey Bragin e9973c3d3a - Pass thread's CreateTime in QSI SystemProcessInformation.
- Better implementation of QSI SystemInterruptInformation.
- Minor cleanup.

svn path=/trunk/; revision=34637
2008-07-21 12:45:12 +00:00
Timo Kreuzer 7ac61f4d05 use %p in sprintf instead of %x / cast to int
svn path=/trunk/; revision=34636
2008-07-21 12:15:36 +00:00
Aleksey Bragin 4e663a7c28 - Include a "System Idle Process" as the first item in QSI SystemProcessInformation.
svn path=/trunk/; revision=34635
2008-07-21 12:14:23 +00:00
Ged Murphy ee13626507 - fix the length of the dependencies string
- spotted by bugboy <martinmnet at hotmail dot com>

svn path=/trunk/; revision=34634
2008-07-21 11:43:55 +00:00
Matthias Kupfer 9bd87564c8 add language group for japanese keyboard layout
svn path=/trunk/; revision=34633
2008-07-21 10:55:33 +00:00
Matthias Kupfer c2e433cadf - enable japanese keyboard layout in 1st stage setup (but 2nd stage doesn't but yet)
- select Swiss keyboard layout for Liechtenstein as default

svn path=/trunk/; revision=34632
2008-07-21 10:44:18 +00:00
Aleksey Bragin 7a158b7f2d Yuriy Sidorov <jura@cp-lab.com>
- Invalid parameter error is returned if requested memory area is located above USER_SHARED_DATA address (0x7FFE0000) (WinXP compatible).
- Access violation error is returned if existing memory area found on requested address and this area have uninitialized region list.
See issue #3467 for more details.

svn path=/trunk/; revision=34630
2008-07-21 09:40:12 +00:00
Aleksey Bragin d50cea53cd - Small DPRINT typo fix.
svn path=/trunk/; revision=34629
2008-07-21 09:36:02 +00:00
Aleksey Bragin e52a7ae321 Yuriy Sidorov <jura@cp-lab.com>
- Call DbgBreakPoint() only for main thread. It fixes debugging of multithreaded apps.
- Prevent BSOD if ObReferenceObjectByHandle failed in NtGetContextThread and NtSetContextThread.
See issue #3535 for more details.

svn path=/trunk/; revision=34628
2008-07-21 09:22:28 +00:00
Aleksey Bragin 1b7106dee1 - Remove useless USE_W32API define from .rbuilds
- Fix compilation of a number of modules.
- Delete outdated fmifs.h, the one from ReactOS includes should be used instead.
- Move more libs to /lib directory.

svn path=/trunk/; revision=34627
2008-07-21 09:15:15 +00:00
Aleksey Bragin 32bd72afd4 - Fix wrong paths to some rosapps utils.
svn path=/trunk/; revision=34626
2008-07-21 09:11:30 +00:00
ReactOS Portable Systems Group c4a2e2e22b - Implement RamdiskReadWrite.
- Implement RamdiskReadWriteReal.
- We now have a working copy loop for both read and write operations.
- Need to implement RamdiskMapPages and RamdiskUnmapPages -- then we'll nearly be done!


svn path=/trunk/; revision=34625
2008-07-21 06:35:39 +00:00
Art Yerkes 861184aa18 Patch by Cameron Gutman (aicommander <at> gmail <dot> com)
- Forgot to remove UnlockRequest in last patch

svn path=/trunk/; revision=34624
2008-07-21 05:44:10 +00:00
ReactOS Portable Systems Group 9a54151f86 - Fix ARM exports to make up for the recent i386 changes.
- Implement MmGetPageProtect. MDL Probe And Lock now works.
- We get to RamdiskReadWrite now!


svn path=/trunk/; revision=34623
2008-07-21 01:41:04 +00:00
ReactOS Portable Systems Group 63c51607f5 - Get rid of 3 days of work due to complaints from our legal guy.
svn path=/trunk/; revision=34622
2008-07-21 01:15:07 +00:00
ReactOS Portable Systems Group f28f30eafa - Implement IOCTL_CDROM_GET_LAST_SESSION and IOCTL_CDROM_READ_TOC.
- The formet is a hack to support ReactOS' cdfs.


svn path=/trunk/; revision=34621
2008-07-21 01:12:17 +00:00
Timo Kreuzer 35b23ed1d4 rbuild files use tab indentation
svn path=/trunk/; revision=34620
2008-07-20 23:21:16 +00:00
Jeffrey Morlan 1ee0441036 Fix KeInsertQueueApc error checking
svn path=/trunk/; revision=34619
2008-07-20 23:00:18 +00:00
Jeffrey Morlan ec2194d205 KiMoveApcState: Fix reversal of RepairList arguments. (Bug 1720)
svn path=/trunk/; revision=34618
2008-07-20 22:48:06 +00:00
ReactOS Portable Systems Group c1937b5160 - Now it compiles.
- Add wdk_wnet_to_ros.diff to easily merge changes with any possible future WDK updates.

svn path=/trunk/; revision=34616
2008-07-20 19:56:09 +00:00
ReactOS Portable Systems Group 77a8db07f3 - Add new CDFS driver.
- Does not compile.


svn path=/trunk/; revision=34615
2008-07-20 19:52:30 +00:00
ReactOS Portable Systems Group 87f76ea54b - Our resident GCC expert just informed me of an undocumented "enable Microsoft Compiler Extensions" flag that makes things like unnnamed members work.
- Apply the switch and remove our workaround hack.


svn path=/trunk/; revision=34614
2008-07-20 19:39:55 +00:00
Jeffrey Morlan f956615435 In ConioConsoleCtrlEvent, don't wait for the thread to terminate; a misbehaving handler could hang CSRSS indefinitely that way. Testing on Windows shows that no waiting is done when Ctrl-C is pressed; however, there is a wait of up to 5 seconds when attempting to close the window, so add a comment in GuiConsoleHandleClose mentioning this.
svn path=/trunk/; revision=34613
2008-07-20 19:34:18 +00:00
ReactOS Portable Systems Group 840143e28a - Fix the way NlsOemLeadByteInfo is exported.
- Fix definition of PFAST_IO_UNLOCK_ALL_BY_KEY.
- Add IO_REPARSE and IO_REMOUNT definitions.
- Add IOCTL_CDROM_DISK_TYPE definition.
- Add FlagOn, BooleanFlagOn, SetFlag and ClearFlag definitions.
- Add FILE_READ_ONLY_VOLUME, FILE_SEQUENTIAL_WRITE_ONCE, FILE_SUPPORTS_TRANSACTIONS definitions.
- Add FSRTL_FLAG_ADVANCED_HEADER definition.
- Add FSRTL_FLAG2_PURGE_WHEN_MAPPED and FSRTL_FLAG2_IS_PAGING_FILE definitions.
- Add FILE_ID_FULL_DIR_INFORMATION and FILE_ID_BOTH_DIR_INFORMATION structures.
- Add FSRTL_FCB_HEADER_V0 and FSRTL_FCB_HEADER_V1 definitions.
- Add FSRTL_COMPARISION_RESULT enumeration.
- Add backwards compatibility support for non-AVL tree routines.
- Add RtlInsertElementGenericTableAvl, RtlDeleteElementGenericTableAvl, RtlLookupElementGenericTableAvl, RtlEnumerateGenericTableWithoutSplayingAvl prototypes.
- Add FsRtlSetupAdvancedHeader macro.
- Add FsRtlIsFatDbcsLegal prototype.
- Add FsRtlTeardownPerStreamContexts prototype.
- Add RtlFreeOemString, RtlOemStringToCountedUnicodeString, RtlUnicodeStringToCountedOemString, RtlOemToUnicodeN prototypes.
- Fix GenericTable prototypes in rtlfuncs.h
- It seems the ntoskrnl_i386.def exports file is totally incorrect with respect to mingw -- most FsRtl functions are not properly exported. We fixed the ones we need, someone needs to go fix this entire file.
- Add memcmp to the NTOS exports -- we're not entirely sure how you were even expecting 3rd party drivers to load in React?
- Fix FastFat's "VfatFastIoUnlockAllByKey" prototype to match the fixed up PFAST_IO_UNLOCK_ALL_BY_KEY definition.
- Clean-build-tested on i386.


svn path=/trunk/; revision=34611
2008-07-20 19:19:02 +00:00
Matthias Kupfer f3ddaf8067 mark the current keyboard layout as checked (in popup menu)
svn path=/trunk/; revision=34610
2008-07-20 19:08:35 +00:00
Jeffrey Morlan d9c376b18d Fix memory leak in vfwprintf: Don't change 'mem' pointer before freeing it.
svn path=/trunk/; revision=34609
2008-07-20 16:48:24 +00:00
ReactOS Portable Systems Group b1e617cc6f - Write out all the IOCTLs the RAM Disk emulation core needs to handle.
- Looks like the React CDFS driver behaves very differently from the NT CDFS driver.


svn path=/trunk/; revision=34608
2008-07-20 16:13:19 +00:00
Matthias Kupfer ba074059a5 Mario Kacmar <kario AT szm DOT sk>
- Slovak translation of several inf-files
- See #3518 for more details.

svn path=/trunk/; revision=34607
2008-07-20 14:58:35 +00:00
Matthias Kupfer 54ca4c3d3b - again, one more fix of damaged inf files
- please take care when committing this utf-16 files

svn path=/trunk/; revision=34606
2008-07-20 14:52:15 +00:00
ReactOS Portable Systems Group 9da9409da6 - Unlike NT, it seems React has a bug and does not automatically load the boot FS driver regardless of start type.
svn path=/trunk/; revision=34605
2008-07-20 06:36:27 +00:00
ReactOS Portable Systems Group 7158e5bfa9 - Fix the parameters we were sending to IoCreateDevice for our drive FDO.
- Now the kernel attempts to mount us through CDFS!
- Start stubbing the work we'll need to do in RamdiskDeviceControl -- this is where the emulation magic will happen.

svn path=/trunk/; revision=34604
2008-07-20 06:32:23 +00:00
ReactOS Portable Systems Group 3a6f964385 - Ramdisk doesn't seem to work yet, we're not getting properly initialized yet.
- We end up crashing in CcRosTryToInitialzeFileCache because there is no SectionObjectPointer, and it is assumed this always exists.
- We need to verify if this is truly the case -- in either case, add an ASSERT, since all assumptions should be ASSERTed!

svn path=/trunk/; revision=34603
2008-07-20 04:40:27 +00:00
ReactOS Portable Systems Group 14ea158446 - Finish implementing RamdiskCreateDiskDevice -- we should now have a working ramdisk drive that should receive read/write requests.
svn path=/trunk/; revision=34602
2008-07-20 04:39:01 +00:00
ReactOS Portable Systems Group 54694096a1 - Looks like this FIXME was fixed.
svn path=/trunk/; revision=34601
2008-07-20 04:38:26 +00:00
Art Yerkes 5ba974a93f Patch by Cameron Gutman (aicommander <at> gmail <dot> com)
- Fixes some issues with releasing locks
- Verify that we have an MDL before trying to unlock it

svn path=/trunk/; revision=34600
2008-07-20 04:33:53 +00:00
Sylvain Petreolle f2db1bc11f french translation for media/inf files
svn path=/trunk/; revision=34598
2008-07-20 00:44:09 +00:00
ReactOS Portable Systems Group df5fe4469c - Fixup some more structure and prototype details to make more sense.
- Start building the drive FDO extension by capturing most of the input data and our strings.

svn path=/trunk/; revision=34597
2008-07-19 22:42:18 +00:00
ReactOS Portable Systems Group 1176b541f6 - Create the RAM Disk Drive Device Object.
- Create the name for it, based on the GUID sent by the kernel.
- Create the DOS Device Symbolic Link if requested and if possible.
- Create the DOS Drive Letter if requested.
- (drivers/storage/class/ramdisk/ramdisk.c:440) Creating symbolic link: \DosDevices\C: to \Device\Ramdisk{d9b257fc-684e-4dcb-79ab-f6a2cf0350b7}
- Need to continue implementing..


svn path=/trunk/; revision=34596
2008-07-19 22:21:38 +00:00