reactos.git
9 years ago[FASTFAT]
Pierre Schweitzer [Thu, 27 Nov 2014 06:16:21 +0000 (06:16 +0000)]
[FASTFAT]
Set clean shutdown bit on dismount

svn path=/trunk/; revision=65501

9 years ago[SHELL] Reapply r65477 (rename explorer-new to explorer).
Amine Khaldi [Wed, 26 Nov 2014 23:24:26 +0000 (23:24 +0000)]
[SHELL] Reapply r65477 (rename explorer-new to explorer).

svn path=/trunk/; revision=65500

9 years ago[SHELL] Reapply r65476 (rename explorer to explorer-old).
Amine Khaldi [Wed, 26 Nov 2014 23:22:44 +0000 (23:22 +0000)]
[SHELL] Reapply r65476 (rename explorer to explorer-old).

svn path=/trunk/; revision=65499

9 years ago[SETUP]
Amine Khaldi [Wed, 26 Nov 2014 23:17:02 +0000 (23:17 +0000)]
[SETUP]
* Set 32bpp as default bit depth instead of 16bpp. Suggestion and patch provided by Ismael Ferreras Morezuelas (swyter).
CORE-8826 #resolve #comment Committed in r65498. Gracias!

svn path=/trunk/; revision=65498

9 years ago[SHELL] Move shlguid_undoc.h, shlobj_undoc.h and shlwapi_undoc.h to our includes...
Amine Khaldi [Wed, 26 Nov 2014 23:03:06 +0000 (23:03 +0000)]
[SHELL] Move shlguid_undoc.h, shlobj_undoc.h and shlwapi_undoc.h to our includes folder instead of the PSDK one.
CORE-7330

svn path=/trunk/; revision=65497

9 years ago* The Shell.. for a long time we dreamed of having a compatible, properly working...
Amine Khaldi [Wed, 26 Nov 2014 19:49:18 +0000 (19:49 +0000)]
* The Shell.. for a long time we dreamed of having a compatible, properly working rewrite, but it's easier said than done. Over the years this effort has been split into tasks, and this branch was the biggest overall. Now it's time to merge it back to trunk!
* This merge is also a chance to thank every single person involved directly and indirectly in this epic work, among them: Martin Fuchs for ReactOS explorer which we are respectfully retiring now, as it served the project so well over all these years. Thomas Bluemel (Thomas Weidenmueller aka w3seek) for his brave work on the shell, mainly his explorer_new. Andrew Hill for advancing the shell bringup with some impressive work. David Quintana, Giannis Adamopoulos and Huw Campbell for working as a solid team on making this branch a huge success, allowing the shell rewrite dream to finally become a reality. Again, thank you all!
* Merging this branch is not the end.. it's the beginning of some serious bug fixing based hopefully on the Community's continuous feedback.
* Finally, here are *some* of the highlights of this branch (simply put):

[BROWSEUI] Halfplement the address bar. Mostly implement the Favorites menu. Implement handling most hotkeys that should be handled by CShellBrowser. Fix various bugs.

[EXPLORER_NEW] Convert to C++ and use several wtl-like classes to simplify it. Fix several bugs and implement misc missing features.

[FILEBROWSER] A small exe file that opens a new file browser window in its own process. Tested to work in windows. It can be used to test our browseui.dll in windows.

[FONTS] A new marlett font.

[MSGINA] Add a proper shutdown dialog that's used when the user selects shutdown from the start menu (this is how it's done in Windows).

[RSHELL] A temporary module that hosts the implementation of the following classes needed for the shell: CMenuBand, CMenuDeskBar, CMenuSite, CMergedFolder, CStartMenu. These were implemented and tested in windows and for that reason they are still there. Should be moved in shell32 in the future.

[SHELL32] Reorganize files to isolate the ones that are not yet forked from wine. Fix various problems. Simplify the implementation of some shell folders. Implement filling in the file menu in the file browser.

[STOBJECT] A shell extension responsible for misc taskbar notification icons. So far only the sound icon is implemented. Adding this is necessary as the old explorer had the sound icon built in and deprecating it needs a proper solution for these notification icons.

[WIN32K] Fix several bugs that prevented the new start menu (that was implemented and tested in Windows) from functioning properly in ReactOS, mostly due to focus issues. Fix several shell notifications to behave more like in Windows.

* Tonight! We shall feast!
* And tomorrow the US guys shall feast again, on turkey! :p

CORE-7330

svn path=/trunk/; revision=65496

9 years ago[DEVICE_MANAGER]
Ged Murphy [Wed, 26 Nov 2014 19:46:26 +0000 (19:46 +0000)]
[DEVICE_MANAGER]
- On refresh, recurse the tree and delete all the Device Ids attached to each node
- Fix SAL and a few missing comments

svn path=/trunk/; revision=65495

9 years ago* Addendum to r65483. backups/shell-experiments@75904
Amine Khaldi [Wed, 26 Nov 2014 18:02:55 +0000 (18:02 +0000)]
* Addendum to r65483.

svn path=/branches/shell-experiments/; revision=65494

9 years ago[DEVICE_MANAGER]
Ged Murphy [Wed, 26 Nov 2014 17:21:45 +0000 (17:21 +0000)]
[DEVICE_MANAGER]
- Add a class for managing the device view, and a class for managing the device objects.
- Implement listing devices by type and by connection.
- Add support for showing hidden devices
- Add support for showing unknown devices with overlay icons.
- implement showing the device properties via dounle click or hitting enter
- Add support for both Win7/8 as well as XP
- Make the code much more readable and maintainable. and easier to move to an mmc snapin if we ever get one.

I forgot this existed until today. I had some spare time so I decided to have a quick go at finishing it. Stick with the original one for now though, I ran out of time....

svn path=/trunk/; revision=65493

9 years ago* Sync up to trunk head (r65491).
Amine Khaldi [Wed, 26 Nov 2014 16:49:31 +0000 (16:49 +0000)]
* Sync up to trunk head (r65491).

svn path=/branches/shell-experiments/; revision=65492

9 years ago[Explorer]
James Tabor [Wed, 26 Nov 2014 15:29:51 +0000 (15:29 +0000)]
[Explorer]
- Restore the original four virtual window support. See CORE-6151.

svn path=/trunk/; revision=65491

9 years ago[WIN32K]
Timo Kreuzer [Tue, 25 Nov 2014 23:44:59 +0000 (23:44 +0000)]
[WIN32K]
- Implement FLOATOBJ_bConvertToLong inline function that converts a FLOATOBJ to a long or returns FALSE if the value would overflow a LONG
- Remove underscore prefixes from inline FLOATOBJ functions and use it only on those that already exist as non-inline versions.
- Remove duplicated FLOATOBJ defines for non-x86
- Fail on integer overflow in XFORMOBJ_bXformFixPoints to avoid creating bogus coordinates.

svn path=/trunk/; revision=65490

9 years agoForgot this include...
Hermès Bélusca-Maïto [Tue, 25 Nov 2014 23:36:56 +0000 (23:36 +0000)]
Forgot this include...

svn path=/trunk/; revision=65489

9 years ago[LSASS][SERVICES][WINLOGON]: As CSRSS and SMSS already, those apps should be marked...
Hermès Bélusca-Maïto [Tue, 25 Nov 2014 23:34:14 +0000 (23:34 +0000)]
[LSASS][SERVICES][WINLOGON]: As CSRSS and SMSS already, those apps should be marked as critical for the system. See geoffchappell.com/studies/windows/win32/ntdll/api/rtl/peb/setprocessiscritical.htm for more details.

svn path=/trunk/; revision=65488

9 years ago[Win32k]
James Tabor [Tue, 25 Nov 2014 23:03:43 +0000 (23:03 +0000)]
[Win32k]
- Fixes wine win.c:test_SetParent last ShowWindow test after popup dies.

svn path=/trunk/; revision=65487

9 years ago[NTFS]
Pierre Schweitzer [Tue, 25 Nov 2014 21:03:17 +0000 (21:03 +0000)]
[NTFS]
Make the bound check more consistent and more accurate

svn path=/trunk/; revision=65486

9 years ago[FREELDR]
Timo Kreuzer [Tue, 25 Nov 2014 20:21:16 +0000 (20:21 +0000)]
[FREELDR]
Move down MEMORY_MARGIN to 0x9A00 to fix boot on BIOSes with even larger EBDAs (see also r64945 and r65127), still leaving 48KB for the DISKREADBUFFER
CORE-8830 #resolve

svn path=/trunk/; revision=65485

9 years ago[Win32k]
James Tabor [Tue, 25 Nov 2014 19:56:40 +0000 (19:56 +0000)]
[Win32k]
- Fix wine win.c:test_mouse_input:WM_COMMAND tests.

svn path=/trunk/; revision=65484

9 years ago[EXPLORER][EXPLORER_NEW]
Amine Khaldi [Tue, 25 Nov 2014 16:17:58 +0000 (16:17 +0000)]
[EXPLORER][EXPLORER_NEW]
* Revert the renames (r65476 => r65478).
* We'll do these after we merge.

svn path=/branches/shell-experiments/; revision=65483

9 years ago* Sync up to trunk head (r65481).
Amine Khaldi [Tue, 25 Nov 2014 12:43:36 +0000 (12:43 +0000)]
* Sync up to trunk head (r65481).

svn path=/branches/shell-experiments/; revision=65482

9 years ago[PSDK/XDK]
Timo Kreuzer [Tue, 25 Nov 2014 09:46:18 +0000 (09:46 +0000)]
[PSDK/XDK]
Add back definitions that go lost in the last commit.
winnt.h is autogenerated, please do not modify it directly, but instead modify the related file in XDK and regenerate the headers from XDK.

svn path=/trunk/; revision=65481

9 years ago[PSDK]
Timo Kreuzer [Tue, 25 Nov 2014 09:08:34 +0000 (09:08 +0000)]
[PSDK]
When I wrote "the compiler can optimize this better" I was obviously referring to a sane compiler like MSVC. Optimize (U)Int32x32To64 on x86 GCC builds by using __emul(u), since the native math results in horribly inefficient code doing 3 multiplications and some shifts.

svn path=/trunk/; revision=65480

9 years ago[EXPLORER-NEW]
David Quintana [Tue, 25 Nov 2014 01:19:32 +0000 (01:19 +0000)]
[EXPLORER-NEW]
* Top-Level windows have no parent background so it makes no sense to try to draw it.

svn path=/branches/shell-experiments/; revision=65479

9 years agoOops. My bad.
David Quintana [Mon, 24 Nov 2014 23:53:28 +0000 (23:53 +0000)]
Oops. My bad.

svn path=/branches/shell-experiments/; revision=65478

9 years ago[EXPLORER-NEW]
David Quintana [Mon, 24 Nov 2014 23:10:11 +0000 (23:10 +0000)]
[EXPLORER-NEW]
* Rename the new explorer to take the now-vacant folder name, to match the output filename. Change 2/2

svn path=/branches/shell-experiments/; revision=65477

9 years ago[EXPLORER-OLD]
David Quintana [Mon, 24 Nov 2014 23:08:50 +0000 (23:08 +0000)]
[EXPLORER-OLD]
* Although the output filename was changed for almost as long as this branch has existed, I never bothered to actually rename the folders to reflect the output name. Change 1/2

svn path=/branches/shell-experiments/; revision=65476

9 years ago[NTFS]
Pierre Schweitzer [Mon, 24 Nov 2014 20:02:40 +0000 (20:02 +0000)]
[NTFS]
Add the reparse point attribute definition

svn path=/trunk/; revision=65475

9 years ago[NTFS]
Pierre Schweitzer [Mon, 24 Nov 2014 20:01:34 +0000 (20:01 +0000)]
[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

9 years ago[NTFS]
Pierre Schweitzer [Mon, 24 Nov 2014 19:54:22 +0000 (19:54 +0000)]
[NTFS]
ASSERT -> NT_VERIFY

Spotted by Thomas. Thanks :-)

svn path=/trunk/; revision=65473

9 years ago[NtUser]
James Tabor [Mon, 24 Nov 2014 02:50:18 +0000 (02:50 +0000)]
[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

9 years ago[CONSRV]: Implement CREATE_NO_WINDOW support.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 23:04:45 +0000 (23:04 +0000)]
[CONSRV]: Implement CREATE_NO_WINDOW support.

svn path=/trunk/; revision=65471

9 years ago[NTFS]
Pierre Schweitzer [Sun, 23 Nov 2014 20:52:59 +0000 (20:52 +0000)]
[NTFS]
- Fix $FILENAME_ATTRIBUTE definition to allow reading reparse points tag
- Add missing file attribute (reparse point)

svn path=/trunk/; revision=65470

9 years ago[TASKMGR]
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 20:10:15 +0000 (20:10 +0000)]
[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

9 years ago[NTFS]
Pierre Schweitzer [Sun, 23 Nov 2014 19:53:16 +0000 (19:53 +0000)]
[NTFS]
- Implement NtfsGetPositionInformation(), NtfsGetBasicInformation()
- Add a fixme in NtfsGetStandardInformation() regarding the number of links

svn path=/trunk/; revision=65468

9 years agoFixup a potential division by zero (that happens anyway in my tests).
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 19:16:41 +0000 (19:16 +0000)]
Fixup a potential division by zero (that happens anyway in my tests).

svn path=/trunk/; revision=65467

9 years ago[TASKMGR]
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 18:36:25 +0000 (18:36 +0000)]
[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

9 years ago[WIN32K]: Use the logon process ID instead of a full win32k process object, it simpli...
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 16:09:00 +0000 (16:09 +0000)]
[WIN32K]: Use the logon process ID instead of a full win32k process object, it simplifies code in some parts.

svn path=/trunk/; revision=65465

9 years agoWhitespace fixes.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 15:57:13 +0000 (15:57 +0000)]
Whitespace fixes.

svn path=/trunk/; revision=65464

9 years ago[WINSRV]: Pave the way for proper ReactOS shutdown. Part 1/X
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 15:50:49 +0000 (15:50 +0000)]
[WINSRV]: Pave the way for proper ReactOS shutdown. Part 1/X
CORE-8322

svn path=/trunk/; revision=65463

9 years ago[NTFS]
Pierre Schweitzer [Sun, 23 Nov 2014 15:49:24 +0000 (15:49 +0000)]
[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

9 years agoResuscitate VMS subsystem (yeah, you've correctly read: VMS!!) from revision 24496.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 15:24:49 +0000 (15:24 +0000)]
Resuscitate VMS subsystem (yeah, you've correctly read: VMS!!) from revision 24496.

svn path=/trunk/; revision=65461

9 years agoResuscitate POSIX subsystem from revision 21378.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 15:23:36 +0000 (15:23 +0000)]
Resuscitate POSIX subsystem from revision 21378.

svn path=/trunk/; revision=65460

9 years agoResuscitate OS/2 subsystem from revision 24496.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 15:22:07 +0000 (15:22 +0000)]
Resuscitate OS/2 subsystem from revision 24496.

svn path=/trunk/; revision=65459

9 years agoCreate a repository to ressuscitate our verrrrry old subsystems.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 14:50:34 +0000 (14:50 +0000)]
Create a repository to ressuscitate our verrrrry old subsystems.

svn path=/trunk/; revision=65458

9 years ago[CONSRV]: Reduce code duplication and remove unused InputWaitHandle member.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 14:26:37 +0000 (14:26 +0000)]
[CONSRV]: Reduce code duplication and remove unused InputWaitHandle member.

svn path=/trunk/; revision=65457

9 years ago[NTFS]
Pierre Schweitzer [Sun, 23 Nov 2014 14:07:08 +0000 (14:07 +0000)]
[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

9 years ago[PSDK] Add some missing setupapi-related functions
Hervé Poussineau [Sun, 23 Nov 2014 13:48:20 +0000 (13:48 +0000)]
[PSDK] Add some missing setupapi-related functions

svn path=/trunk/; revision=65455

9 years ago[SCSIPORT] Better error messages when receiving unexpected IOCTLs of mount manager
Hervé Poussineau [Sun, 23 Nov 2014 13:48:12 +0000 (13:48 +0000)]
[SCSIPORT] Better error messages when receiving unexpected IOCTLs of mount manager

svn path=/trunk/; revision=65454

9 years ago[NTOS:CC] Fix bug in CcPinRead
Hervé Poussineau [Sun, 23 Nov 2014 13:48:06 +0000 (13:48 +0000)]
[NTOS:CC] Fix bug in CcPinRead

In fact, this bug is never exposed because CcPinMappedData always returns TRUE.

svn path=/trunk/; revision=65453

9 years ago[NTOS:MM] Fix warnings when NEWCC is enabled
Hervé Poussineau [Sun, 23 Nov 2014 13:48:01 +0000 (13:48 +0000)]
[NTOS:MM] Fix warnings when NEWCC is enabled

svn path=/trunk/; revision=65452

9 years ago[NTVDM]: Rewrite video window scrolling code more efficiently (i.e. getting rid of...
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 12:03:55 +0000 (12:03 +0000)]
[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

9 years ago[KERNEL32]
Hermès Bélusca-Maïto [Sat, 22 Nov 2014 23:13:41 +0000 (23:13 +0000)]
[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

9 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Sat, 22 Nov 2014 22:13:08 +0000 (22:13 +0000)]
[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

9 years ago[NTVDM]:
Hermès Bélusca-Maïto [Sat, 22 Nov 2014 19:18:23 +0000 (19:18 +0000)]
[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

9 years ago[FAST486]
Aleksandar Andrejevic [Sat, 22 Nov 2014 16:33:47 +0000 (16:33 +0000)]
[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

9 years ago[FAST486]: Fix a comment and use the TOGGLE_OPSIZE macro.
Hermès Bélusca-Maïto [Sat, 22 Nov 2014 16:23:59 +0000 (16:23 +0000)]
[FAST486]: Fix a comment and use the TOGGLE_OPSIZE macro.

svn path=/trunk/; revision=65446

9 years ago[WIN32K]
Timo Kreuzer [Sat, 22 Nov 2014 09:07:33 +0000 (09:07 +0000)]
[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

9 years ago[TRANSLATIONS][WDMAUD]
Amine Khaldi [Fri, 21 Nov 2014 18:57:46 +0000 (18:57 +0000)]
[TRANSLATIONS][WDMAUD]
* Reactos/ReactOs => ReactOS.

svn path=/trunk/; revision=65444

9 years ago[NTOS:PNPMGR]
Amine Khaldi [Fri, 21 Nov 2014 18:45:18 +0000 (18:45 +0000)]
[NTOS:PNPMGR]
* Attempt to address Timo's review about coding style changes.

svn path=/trunk/; revision=65443

9 years ago[NTVDM:DOS]: Don't forget to update CommandInfo.Env otherwise we would use the old...
Hermès Bélusca-Maïto [Fri, 21 Nov 2014 15:55:39 +0000 (15:55 +0000)]
[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

9 years ago[FAST486]
Aleksandar Andrejevic [Fri, 21 Nov 2014 09:46:57 +0000 (09:46 +0000)]
[FAST486]
Attempt to write the value to the stack before subtracting from the actual ESP register
in Fast486StackPush.

svn path=/trunk/; revision=65441

9 years ago[NtUser]
James Tabor [Fri, 21 Nov 2014 03:15:27 +0000 (03:15 +0000)]
[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

9 years ago[URTL]: Fix whitespace plus misspelling.
Hermès Bélusca-Maïto [Fri, 21 Nov 2014 02:35:38 +0000 (02:35 +0000)]
[URTL]: Fix whitespace plus misspelling.

svn path=/trunk/; revision=65439

9 years ago[NTVDM]: Make the environment strings list optional for some Dos app start functions.
Hermès Bélusca-Maïto [Fri, 21 Nov 2014 02:26:53 +0000 (02:26 +0000)]
[NTVDM]: Make the environment strings list optional for some Dos app start functions.

svn path=/trunk/; revision=65438

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Fri, 21 Nov 2014 00:22:48 +0000 (00:22 +0000)]
[NTVDM]
- Add stubs for VDDReserve/ReleaseIrqLine;
- Add stub implementation for Direct Memory Access;
- Add corresponding exports.

svn path=/trunk/; revision=65437

9 years ago[DDK]
Hermès Bélusca-Maïto [Fri, 21 Nov 2014 00:13:51 +0000 (00:13 +0000)]
[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

9 years ago[NTVDM]: Temporarily disable the mouse driver since mouse still doesn't fully work.
Hermès Bélusca-Maïto [Fri, 21 Nov 2014 00:11:53 +0000 (00:11 +0000)]
[NTVDM]: Temporarily disable the mouse driver since mouse still doesn't fully work.

svn path=/trunk/; revision=65435

9 years ago[NTVDM]: Static'ify some local vars & functions.
Hermès Bélusca-Maïto [Fri, 21 Nov 2014 00:11:11 +0000 (00:11 +0000)]
[NTVDM]: Static'ify some local vars & functions.

svn path=/trunk/; revision=65434

9 years ago[NET]
Sylvain Petreolle [Thu, 20 Nov 2014 22:05:58 +0000 (22:05 +0000)]
[NET]
Update spanish localization.
Patch by swyter.
CORE-8817 #resolve

svn path=/trunk/; revision=65433

9 years ago[NtUser]
James Tabor [Wed, 19 Nov 2014 06:05:39 +0000 (06:05 +0000)]
[NtUser]
- Remove over compensating code. See CORE-7447.

svn path=/trunk/; revision=65432

9 years ago[NtUser]
James Tabor [Wed, 19 Nov 2014 05:35:33 +0000 (05:35 +0000)]
[NtUser]
- Fix Process Explorer crash in Win32k. See CORE-8779 and CORE-7447.

svn path=/trunk/; revision=65431

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 18 Nov 2014 02:18:18 +0000 (02:18 +0000)]
[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

9 years ago[NTVDM]: Inline a function and fix spelling.
Hermès Bélusca-Maïto [Tue, 18 Nov 2014 00:44:24 +0000 (00:44 +0000)]
[NTVDM]: Inline a function and fix spelling.

svn path=/trunk/; revision=65429

9 years ago[RAPPS]
Amine Khaldi [Mon, 17 Nov 2014 16:33:45 +0000 (16:33 +0000)]
[RAPPS]
* Licence => License.
CORE-8804 #resolve #comment Committed in r65428. Thanks!

svn path=/trunk/; revision=65428

9 years ago* Sync up to trunk head (r65426).
Amine Khaldi [Mon, 17 Nov 2014 15:16:41 +0000 (15:16 +0000)]
* Sync up to trunk head (r65426).

svn path=/branches/shell-experiments/; revision=65427

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Mon, 17 Nov 2014 02:08:12 +0000 (02:08 +0000)]
[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

9 years ago[NTVDM]: Use the ScreenMode variable in other places too...
Hermès Bélusca-Maïto [Mon, 17 Nov 2014 00:34:29 +0000 (00:34 +0000)]
[NTVDM]: Use the ScreenMode variable in other places too...

svn path=/trunk/; revision=65425

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Mon, 17 Nov 2014 00:12:20 +0000 (00:12 +0000)]
[NTVDM]
- Do not recalculate at each refresh the new resolution that usually does not change (if it changes because of a modification of some VGA register, we detect that, and we change the vga mode). So keep the current resolution and use it in paint functions.
- Really reenter a new text/graphic mode when needed (ie. when alphanumeric bit and computed resolution change), this avoids useless console screenbuffers recreations (and flickering), things go faster, yet the VGA registers are still updated (as expected). See r65379, r65018 and r65015 for more details.

svn path=/trunk/; revision=65424

9 years ago[NTVDM]: Code formatting only!
Hermès Bélusca-Maïto [Sun, 16 Nov 2014 23:15:12 +0000 (23:15 +0000)]
[NTVDM]: Code formatting only!

svn path=/trunk/; revision=65423

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Sun, 16 Nov 2014 22:19:32 +0000 (22:19 +0000)]
[NTVDM]
- Rename flags;
- Improve VgaUpdateTextCursor a bit (and fix a bug);
- Improve a DPRINT and monitor CGA ports (for debugging purposes);
- Code styling.

svn path=/trunk/; revision=65422

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Sun, 16 Nov 2014 16:01:09 +0000 (16:01 +0000)]
[NTVDM]
- Remove some old comments (and commented DPRINTs);
- More support for Bda->VGAOptions;
- Improve implementation of VidBiosSetCursorShape (start some cursor emulation, and add a note about it);
- Implement few "Alternate Function Select" subfunctions.

svn path=/trunk/; revision=65421

9 years ago[WIN32K]
Timo Kreuzer [Sun, 16 Nov 2014 14:22:54 +0000 (14:22 +0000)]
[WIN32K]
Copy only the actual size of the BITMAPINFO back to usermode in NtGdiGetDIBitsInternal.

svn path=/trunk/; revision=65420

9 years ago[LIBS]
Timo Kreuzer [Sun, 16 Nov 2014 14:07:37 +0000 (14:07 +0000)]
[LIBS]
Remove some explicit comparisons with TRUE and make desired explicit comparison more obvious.
Patch by Love Nystrom, modified by me. Fixes a bug in RtlUpcaseUnicodeString. Not committed: modifications to freetype, since this is 3rd party code.
CORE-8799

svn path=/trunk/; revision=65419

9 years ago[NET]
Eric Kohl [Sun, 16 Nov 2014 10:34:49 +0000 (10:34 +0000)]
[NET]
Replace remaining hard coded 'padding' strings.

svn path=/trunk/; revision=65418

9 years ago[EXPLORER-NEW]
Sylvain Petreolle [Sat, 15 Nov 2014 23:12:06 +0000 (23:12 +0000)]
[EXPLORER-NEW]
Fix includes casing.

svn path=/branches/shell-experiments/; revision=65417

9 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 15 Nov 2014 22:47:51 +0000 (22:47 +0000)]
[NTOSKRNL]
Remove explicit comparisons with TRUE
Patch by Love Nystrom, adjusted by me
CORE-8799

svn path=/trunk/; revision=65416

9 years ago[SHELL32]
David Quintana [Sat, 15 Nov 2014 18:34:22 +0000 (18:34 +0000)]
[SHELL32]
* Commit the folder location fixes. They are mostly untested due to being unable to boot to desktop, but looking at the contents of the HDD after syssetup runs seems that the shortcuts are all created in their rightful place. If anyone is able to boot, feel free to test.

svn path=/branches/shell-experiments/; revision=65415

9 years ago[NTVDM]: Fix various little things in the video BIOS (and fix some video mode registers).
Hermès Bélusca-Maïto [Sat, 15 Nov 2014 16:14:04 +0000 (16:14 +0000)]
[NTVDM]: Fix various little things in the video BIOS (and fix some video mode registers).

svn path=/trunk/; revision=65414

9 years agoDeleting Old RAPPS's Readme Files And Adding New README File by Erdem Ersoy
Daniel Reimer [Sat, 15 Nov 2014 15:58:43 +0000 (15:58 +0000)]
Deleting Old RAPPS's Readme Files And Adding New README File by Erdem Ersoy
CORE-8503 #resolve #comment I have no problems with a translated readme file, but the line to the Wiki was added.

svn path=/trunk/; revision=65413

9 years agorapps: (for database) Many Improvements and Many Fixes by Erdem Ersoy
Daniel Reimer [Sat, 15 Nov 2014 15:46:30 +0000 (15:46 +0000)]
rapps: (for database) Many Improvements and Many Fixes by Erdem Ersoy
CORE-7710 #resolve #comment Committed again from the same CORE report. Note to my self, next time this thing is being reopened, I will set it to WONTFIX! Open a NEW REPORT!

svn path=/trunk/; revision=65412

9 years agoAdding New Apps for Rapps by Erdem Ersoy
Daniel Reimer [Sat, 15 Nov 2014 15:35:40 +0000 (15:35 +0000)]
Adding New Apps for Rapps by Erdem Ersoy
CORE-7493 #resolve #comment Added, but the more recent versions + changed the SF mirror to the generic one + skipped the translating of a application's english name. Thx

svn path=/trunk/; revision=65411

9 years agoAdd Inkscape to rapps by Ricardo Hanke
Daniel Reimer [Sat, 15 Nov 2014 15:33:13 +0000 (15:33 +0000)]
Add Inkscape to rapps by Ricardo Hanke
CORE-8604 #resolve #comment Added to rapps, thx for the prove that it works ^^

svn path=/trunk/; revision=65410

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 15 Nov 2014 15:12:24 +0000 (15:12 +0000)]
[ADVAPI32]
* Update ConvertSecurityDescriptorToStringSecurityDescriptor{A,W}().
CORE-8540

svn path=/trunk/; revision=65409

9 years ago[MOUHID]
Pierre Schweitzer [Sat, 15 Nov 2014 13:41:24 +0000 (13:41 +0000)]
[MOUHID]
[KBDHID]
Remove redundant code in DriverEntry()

svn path=/trunk/; revision=65408

9 years ago[MSAFD]
Amine Khaldi [Sat, 15 Nov 2014 12:28:03 +0000 (12:28 +0000)]
[MSAFD]
* Plug a leak. CID 716386.
CORE-7975

svn path=/trunk/; revision=65407

9 years ago[DEVMGR]
Amine Khaldi [Sat, 15 Nov 2014 12:09:14 +0000 (12:09 +0000)]
[DEVMGR]
* Plug a leak. CID 1105932.
CORE-7975

svn path=/trunk/; revision=65406

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 15 Nov 2014 11:57:24 +0000 (11:57 +0000)]
[ADVAPI32]
* Update CreateProcessWithTokenW().
CORE-8540

svn path=/trunk/; revision=65405

9 years ago[APPWIZ]
Eric Kohl [Sat, 15 Nov 2014 11:52:50 +0000 (11:52 +0000)]
[APPWIZ]
Formatting. No code changes!

svn path=/trunk/; revision=65404

9 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 15 Nov 2014 01:35:28 +0000 (01:35 +0000)]
[NTVDM]
In non-standalone mode, commit the memory reserved in CreateProcessInternalW instead of
allocating from the heap.

svn path=/trunk/; revision=65403

9 years ago[KMTEST]
Pierre Schweitzer [Fri, 14 Nov 2014 21:01:45 +0000 (21:01 +0000)]
[KMTEST]
Close your eyes.
Really do it! I see you kept them open...
There are closed now?
OK... All fine.
You can open them again.
Nothing happened.
Source code always used to be like that. A commented was never left by mistake in it.
Never, ok?

svn path=/trunk/; revision=65402