Commit graph

60012 commits

Author SHA1 Message Date
Pierre Schweitzer f2e863d929 [NTFS]
Warn about unimplemented sub-node browsing while looking into a MFT directory stream.
Might likely explain why we cannnot enumerate all the files on a Win7 volume.

svn path=/trunk/; revision=65474
2014-11-24 20:01:34 +00:00
Pierre Schweitzer d23756ccb7 [NTFS]
ASSERT -> NT_VERIFY

Spotted by Thomas. Thanks :-)

svn path=/trunk/; revision=65473
2014-11-24 19:54:22 +00:00
James Tabor 620eec28ea [NtUser]
- Synchronize mouse messages. Part II
- Dedicated to Giannis Adamopoulos and Amine Khaldi.
- Additional fixes are added.
- This should be more accurate, based on "Hit Testing: Which HWND is the mouse over?":
http://blogs.msdn.com/b/dwayneneed/archive/2008/09/08/transparent-windows-in-wpf.aspx
- Note: Older FireFox menu item hilite select seem to work now, do not need to keep moving the mouse to keep it hilited to be selected.
- Test results: https://reactos.org/sites/all/modules/reactos/testman/compare.php?ids=33709,33710,33713

svn path=/trunk/; revision=65472
2014-11-24 02:50:18 +00:00
Hermès Bélusca-Maïto 398b0a3c4f [CONSRV]: Implement CREATE_NO_WINDOW support.
svn path=/trunk/; revision=65471
2014-11-23 23:04:45 +00:00
Pierre Schweitzer 1dc01e0746 [NTFS]
- Fix $FILENAME_ATTRIBUTE definition to allow reading reparse points tag
- Add missing file attribute (reparse point)

svn path=/trunk/; revision=65470
2014-11-23 20:52:59 +00:00
Hermès Bélusca-Maïto f43bb8d7df [TASKMGR]
- Show programs command line in taskmgr.
  Patch by Ismael Ferreras Morezuelas with minor modifications by me.
- int nMaxCount --> ULONG nMaxCount (that makes everything clearer and removes MSVC warnings).
CORE-5467 #resolve #comment Feature committed in revision 65469, cheers ;)

svn path=/trunk/; revision=65469
2014-11-23 20:10:15 +00:00
Pierre Schweitzer 4a61f5ee5b [NTFS]
- Implement NtfsGetPositionInformation(), NtfsGetBasicInformation()
- Add a fixme in NtfsGetStandardInformation() regarding the number of links

svn path=/trunk/; revision=65468
2014-11-23 19:53:16 +00:00
Hermès Bélusca-Maïto 2fb9a4573b Fixup a potential division by zero (that happens anyway in my tests).
svn path=/trunk/; revision=65467
2014-11-23 19:16:41 +00:00
Hermès Bélusca-Maïto 734795e23e [TASKMGR]
Improve formatting memory size usage in the status bar of Task Manager.
Patch by Ismael Ferreras Morezuelas (swyter).
CORE-8810 #resolve #comment Committed in r65466, thanks d:^D

svn path=/trunk/; revision=65466
2014-11-23 18:36:25 +00:00
Hermès Bélusca-Maïto 60205c7b0b [WIN32K]: Use the logon process ID instead of a full win32k process object, it simplifies code in some parts.
svn path=/trunk/; revision=65465
2014-11-23 16:09:00 +00:00
Hermès Bélusca-Maïto 72074af697 Whitespace fixes.
svn path=/trunk/; revision=65464
2014-11-23 15:57:13 +00:00
Hermès Bélusca-Maïto d35b779e48 [WINSRV]: Pave the way for proper ReactOS shutdown. Part 1/X
CORE-8322

svn path=/trunk/; revision=65463
2014-11-23 15:50:49 +00:00
Pierre Schweitzer d010ffc7df [NTFS]
- In NtfsQueryDirectory(), don't upcase name in dir search pattern, it can conflict with POSIX names.
- In CompareFileName(), handle the fact that for Win32 & DOS we do case insensitive comparisons by upcasing name before match. Don't do it for POSIX names!

This fixes name completion in cmd for POSIX. And doesn't break it for Win32 :-).

svn path=/trunk/; revision=65462
2014-11-23 15:49:24 +00:00
Hermès Bélusca-Maïto 16aefd4c54 Resuscitate VMS subsystem (yeah, you've correctly read: VMS!!) from revision 24496.
svn path=/trunk/; revision=65461
2014-11-23 15:24:49 +00:00
Hermès Bélusca-Maïto 2ca9fcd3b0 Resuscitate POSIX subsystem from revision 21378.
svn path=/trunk/; revision=65460
2014-11-23 15:23:36 +00:00
Hermès Bélusca-Maïto 9f2787eb32 Resuscitate OS/2 subsystem from revision 24496.
svn path=/trunk/; revision=65459
2014-11-23 15:22:07 +00:00
Hermès Bélusca-Maïto ace5ce5329 Create a repository to ressuscitate our verrrrry old subsystems.
svn path=/trunk/; revision=65458
2014-11-23 14:50:34 +00:00
Hermès Bélusca-Maïto f8fc01c589 [CONSRV]: Reduce code duplication and remove unused InputWaitHandle member.
svn path=/trunk/; revision=65457
2014-11-23 14:26:37 +00:00
Pierre Schweitzer 950747c6d1 [NTFS]
- Implement GetBestFileNameFromRecord() which will select the higher subsystem name available (POSIX -> Win32 -> DOS) and return it
- Replace the hand-made implementation of it in dirctl functions relying on it (NtfsGetDirectoryInformation(), NtfsGetFullDirectoryInformation(), NtfsGetBothDirectoryInformation())
- Use it in NtfsMakeFCBFromDirEntry()

This fixes browsing POSIX volume (and opening file) in cmd. Even though, explorer doesn't seem to be happy with such change...
This doesn't fix yet the autocompletion in cmd either.

svn path=/trunk/; revision=65456
2014-11-23 14:07:08 +00:00
Hervé Poussineau c966e68f3b [PSDK] Add some missing setupapi-related functions
svn path=/trunk/; revision=65455
2014-11-23 13:48:20 +00:00
Hervé Poussineau 997dd60f96 [SCSIPORT] Better error messages when receiving unexpected IOCTLs of mount manager
svn path=/trunk/; revision=65454
2014-11-23 13:48:12 +00:00
Hervé Poussineau bcc95895c6 [NTOS:CC] Fix bug in CcPinRead
In fact, this bug is never exposed because CcPinMappedData always returns TRUE.

svn path=/trunk/; revision=65453
2014-11-23 13:48:06 +00:00
Hervé Poussineau b89c9e939b [NTOS:MM] Fix warnings when NEWCC is enabled
svn path=/trunk/; revision=65452
2014-11-23 13:48:01 +00:00
Hermès Bélusca-Maïto 5d7ced37ec [NTVDM]: Rewrite video window scrolling code more efficiently (i.e. getting rid of HeapAlloc/Free calls). As a bonus, implement scrolling horizontally.
svn path=/trunk/; revision=65451
2014-11-23 12:03:55 +00:00
Hermès Bélusca-Maïto 0f5d768793 [KERNEL32]
- Fix a misspelling.

[NTDLL]
- Fix the prototypes of RtlFormatMessageEx(Ex), this fixes strange apps kills when they use FormatMessage[A/W] with win2k3 kernel32 (that uses internally RtlFormatMessage to do the job).

svn path=/trunk/; revision=65450
2014-11-22 23:13:41 +00:00
Hermès Bélusca-Maïto b280f71b27 [KERNEL32][CONSRV]
- Remove the USE_CONSOLE_INIT_HANDLES define since now we "support" the console initialization events.
- The events in the CONSOLE_START_INFO structure are console initialization events used for asynchronous console creation, that are set whenever console creation succeeds, or fails.
- Stubplement their usage in CONSRV.

Now we are able to fully use Windows 2k3 kernel32.dll and be able to run console programs with it.

svn path=/trunk/; revision=65449
2014-11-22 22:13:08 +00:00
Hermès Bélusca-Maïto ec34daaa0a [NTVDM]:
- INT 15h offers some "OS hooks" that do nothing normally but return success.
- Stub "Switch to protected mode" INT 15h AH=89h function.

svn path=/trunk/; revision=65448
2014-11-22 19:18:23 +00:00
Aleksandar Andrejevic 9f8411bf3a [FAST486]
- Fix interrupts in V86 mode.
- CLI and STI should call Fast486GetCurrentPrivLevel in their IOPL check, since it
  always returns 3 if the VM flag is set.


svn path=/trunk/; revision=65447
2014-11-22 16:33:47 +00:00
Hermès Bélusca-Maïto e9b8b6f597 [FAST486]: Fix a comment and use the TOGGLE_OPSIZE macro.
svn path=/trunk/; revision=65446
2014-11-22 16:23:59 +00:00
Timo Kreuzer 34e909ecc9 [WIN32K]
- In XFORMOBJ_bApplyXform do not overwrite the data in the input buffer
- Make XFORMOBJ_bXformFixPoints return VOID instead of BOOL

svn path=/trunk/; revision=65445
2014-11-22 09:07:33 +00:00
Amine Khaldi 80b272de8e [TRANSLATIONS][WDMAUD]
* Reactos/ReactOs => ReactOS.

svn path=/trunk/; revision=65444
2014-11-21 18:57:46 +00:00
Amine Khaldi 1dd4984c28 [NTOS:PNPMGR]
* Attempt to address Timo's review about coding style changes.

svn path=/trunk/; revision=65443
2014-11-21 18:45:18 +00:00
Hermès Bélusca-Maïto 37a3e6af8a [NTVDM:DOS]: Don't forget to update CommandInfo.Env otherwise we would use the old environment buffer that is now invalid, hence corrupting the heap and doing other nasty things :P Debugged by V.
svn path=/trunk/; revision=65442
2014-11-21 15:55:39 +00:00
Aleksandar Andrejevic 6ad2881080 [FAST486]
Attempt to write the value to the stack before subtracting from the actual ESP register
in Fast486StackPush.


svn path=/trunk/; revision=65441
2014-11-21 09:46:57 +00:00
James Tabor 692cd5a0bb [NtUser]
- Synchronize mouse messages. Best way to do this, just post the move message while it occurs and just update it with recurrent information. The other way was to check time stamps and that was a hackish headache. Then the scorn and reticule would erupt. So it was easier to just post to the queue, update and if a mouse down up was captured than it would be in the order as it was received.
- See CORE-8779 #resolve, CORE-8394, CORE-7797, CORE-7447.

svn path=/trunk/; revision=65440
2014-11-21 03:15:27 +00:00
Hermès Bélusca-Maïto 8e44d4d4af [URTL]: Fix whitespace plus misspelling.
svn path=/trunk/; revision=65439
2014-11-21 02:35:38 +00:00
Hermès Bélusca-Maïto d8808ad153 [NTVDM]: Make the environment strings list optional for some Dos app start functions.
svn path=/trunk/; revision=65438
2014-11-21 02:26:53 +00:00
Hermès Bélusca-Maïto 83303b29d9 [NTVDM]
- Add stubs for VDDReserve/ReleaseIrqLine;
- Add stub implementation for Direct Memory Access;
- Add corresponding exports.

svn path=/trunk/; revision=65437
2014-11-21 00:22:48 +00:00
Hermès Bélusca-Maïto fc11139981 [DDK]
Add few VDD API prototypes:
- VDDReserve/ReleaseIrqLine to get a "lock" on an IRQ line (so that VDDs can check whether some IRQs are free or not).
- Add DMA services.

svn path=/trunk/; revision=65436
2014-11-21 00:13:51 +00:00
Hermès Bélusca-Maïto b17f25b733 [NTVDM]: Temporarily disable the mouse driver since mouse still doesn't fully work.
svn path=/trunk/; revision=65435
2014-11-21 00:11:53 +00:00
Hermès Bélusca-Maïto 534adb371c [NTVDM]: Static'ify some local vars & functions.
svn path=/trunk/; revision=65434
2014-11-21 00:11:11 +00:00
Sylvain Petreolle b13a724042 [NET]
Update spanish localization.
Patch by swyter.
CORE-8817 #resolve

svn path=/trunk/; revision=65433
2014-11-20 22:05:58 +00:00
James Tabor f0350171f6 [NtUser]
- Remove over compensating code. See CORE-7447.

svn path=/trunk/; revision=65432
2014-11-19 06:05:39 +00:00
James Tabor d7df3046e0 [NtUser]
- Fix Process Explorer crash in Win32k. See CORE-8779 and CORE-7447.

svn path=/trunk/; revision=65431
2014-11-19 05:35:33 +00:00
Hermès Bélusca-Maïto a60eca74a7 [NTVDM]
Code organization:
- Create directory hardware/video where to put all video emulation (VGA currently, and maybe other things in the future);
- Create directory hardware/sound where to put all sound emulation (PC speaker currently, and maybe other things in the future);
- timer.c/h --> pit.c/h;
- Adjust the necessary includes and the cmakefiles;
- Remove unneeded includes;
- NTVDM is allowed to have its own VS project ^^

svn path=/trunk/; revision=65430
2014-11-18 02:18:18 +00:00
Hermès Bélusca-Maïto d6985bdb0a [NTVDM]: Inline a function and fix spelling.
svn path=/trunk/; revision=65429
2014-11-18 00:44:24 +00:00
Amine Khaldi b868fbf04a [RAPPS]
* Licence => License.
CORE-8804 #resolve #comment Committed in r65428. Thanks!

svn path=/trunk/; revision=65428
2014-11-17 16:33:45 +00:00
Amine Khaldi 37eed35556 * Sync up to trunk head (r65426).
svn path=/branches/shell-experiments/; revision=65427
2014-11-17 15:16:41 +00:00
Hermès Bélusca-Maïto 0bbe7eda19 [NTVDM]
- Remove unneeded commented code;
- Fix few things related to committing the reserved low-memory VDM page by kernel32;
- Decommit this memory when we terminate NTVDM.

svn path=/trunk/; revision=65426
2014-11-17 02:08:12 +00:00
Hermès Bélusca-Maïto bc27bfaa6b [NTVDM]: Use the ScreenMode variable in other places too...
svn path=/trunk/; revision=65425
2014-11-17 00:34:29 +00:00