Fix the implementation of FSIN and FCOS:
First of all, 4 steps for a Maclaurin series is not enough.
Second, the angle should be normalized to the [-pi/2, pi/2] range.
svn path=/trunk/; revision=67894
- Move the code to copy and rename hardware profiles from the dialog procedures into separate functions.
- Use the dialogs only to retrieve the destination profile name.
- Do not copy or rename a hardware profile if it source and destination name is the same.
- Replace a hard.-coded string by a resource string.
svn path=/trunk/; revision=67889
Short commit message: implementation of (names) tunnel cache in file system RTL.
This is in the vast majority work done by Johannes Anderwald, I've just reviewed, fixed a few things, and implemented last bits.
Thanks to Johannes for his initial implementation (and huge work!).
Dedicated to Hervé's secret plans ;-).
CORE-7272
CORE-3875
svn path=/trunk/; revision=67886
Don't attempt to allocate null-size buffer when copying empty string.
Note to next generations students: test your code and DON'T LEAK MEMORY!!!!
It still leaks atm, will have a look later on.
Note to Mr Bragin, beloved ReactOS Project Coordinator: did you actually reviewed your students work?
CORE-7272
svn path=/trunk/; revision=67885
- Add a debugging assert that will save your lot of time if you attempt to manually queue a wrong IRP. You cannot queue an IRP which is set to be later queued again. This is a broken behavior.
- Remove a bit of code duplication
svn path=/trunk/; revision=67880
- Update the CrtModeControl byte in the BDA when we change video modes.
- Implement INT 10h, AX=1003h "Toggle Intensity/Blinking Bit".
- Partially implement INT 10h, AH=1Bh "Functionality/State Information (VGA)".
svn path=/trunk/; revision=67879
- Only free the IRP context in case the request is not to be queued
- Stubplement request queueing support in NtfsDispatch()
svn path=/trunk/; revision=67877
Split NtfsFsdDispatch() in two.
Now, NtfsFsdDispatch() will only take care of allocating the IRP context and complete the IRP in case it failed (that fixes a null-pointer dereference, just for the record).
NtfsDispatch() will really dispatch the IRP to the internal functions. So that it can be called either directly from NtfsFsdDispatch() or by a queued IRP (to be implemented).
svn path=/trunk/; revision=67875
Use a better algorithm for the base 2 logarithm.
Put the shared code for FPREM and FPREM1 in an inline function used by both.
svn path=/trunk/; revision=67855