Commit graph

48961 commits

Author SHA1 Message Date
Pierre Schweitzer 30419eda7c [CRT]
Reimplemented _fpclass properly.
This fixes all failing _fpclass tests.
See: http://babbage.cs.qc.cuny.edu/IEEE-754/References.xhtml
Based on OpenAD implementation

svn path=/trunk/; revision=54435
2011-11-19 13:03:17 +00:00
Aleksey Bragin a3e46bb8dd [RTL/HEAP]
- Bring more awesomeness to the heap manager by zefklop's request:
* Add support for settable user values and flags in RtlAllocateHeap and RtlReAllocateHeap.
* Return error if RtlSetUserValueHeap was unable to set the value.
* Fixes remaining 2 failures of the kernel32_winetest alloc test.

svn path=/trunk/; revision=54434
2011-11-19 11:02:24 +00:00
Pierre Schweitzer 744a62956f [CRT]
_fpclass never returns SNaN class, but only QNaN class.
This fixes 4 more tests

svn path=/trunk/; revision=54433
2011-11-19 10:49:11 +00:00
Pierre Schweitzer b0adad4294 [CRT]
Fix _fpclass prototype
Fix headers included
Remove internal defines that were useless and even not matching real defines.
This fixes 4 tests

svn path=/trunk/; revision=54432
2011-11-19 10:39:58 +00:00
Pierre Schweitzer 47536a6d8e [CRT]
Windows has no _isnanl, _isinfl functions

svn path=/trunk/; revision=54431
2011-11-19 09:46:40 +00:00
Pierre Schweitzer 84212a76b6 [MSVCRT_APITEST]
Add more tests

svn path=/trunk/; revision=54430
2011-11-19 09:44:49 +00:00
James Tabor e7ee1e3edf - Removes next phase for DesktopWndProcA.
svn path=/trunk/; revision=54429
2011-11-19 05:35:35 +00:00
James Tabor 2aea093e9f [User32]
- Updating MsgiAnsiToUnicodeReply fixed bug 4856 and 6650. Mirrored with it's counterpart. More work is needed.
- Adding some future DBCS char support.
- Miscellaneous changes.

svn path=/trunk/; revision=54428
2011-11-19 05:33:26 +00:00
Rafal Harabien 2eb96d5afb [SYSSETUP]
- Close opened handles
- Improve code a bit

svn path=/trunk/; revision=54427
2011-11-19 00:24:58 +00:00
Pierre Schweitzer a31cce0995 [CRT]
Reimplemented _finite properly.
Removed unused _isinf function.

svn path=/trunk/; revision=54426
2011-11-18 22:53:13 +00:00
Pierre Schweitzer 73d88a5f6f [MSVCRT_APITEST]
Add test suite for IEEE floatting-point functions.
It's been tested on w2k3 and it has 0 failed tests.
Some are failing on ReactOS.

svn path=/trunk/; revision=54425
2011-11-18 22:26:35 +00:00
Rafal Harabien f09717ab8d [SHELL32] - Fix dereferencing context menu object twice.
svn path=/trunk/; revision=54424
2011-11-18 21:07:18 +00:00
Rafal Harabien 63bbb13d4e [SHELL32] - Fix "No text" warnings when starting control panel
svn path=/trunk/; revision=54423
2011-11-18 20:50:26 +00:00
Rafal Harabien e56b1c65be [SHELL32] - Improve method names and simplify _ILCreateCPanelApplet
svn path=/trunk/; revision=54422
2011-11-18 20:26:33 +00:00
Pierre Schweitzer f7ea2bd8c6 [EXPLORER]
Remove not needed comment

svn path=/trunk/; revision=54421
2011-11-18 19:51:02 +00:00
Pierre Schweitzer df0329148f [EXPLORER]
Remove dead code/file. ReactOS has its own implementation of those functions.
The file was even not built any longer.

svn path=/trunk/; revision=54420
2011-11-18 19:49:08 +00:00
Rafal Harabien ccdac7c24c [SHELL32] - Remove "retrieve display name from control panel app" FIXME - it's already done + minor code improvements.
svn path=/trunk/; revision=54419
2011-11-18 19:30:21 +00:00
Cameron Gutman aefaa2f4f9 [HALX86]
- Do not allow software interrupts to preempt code running with interrupts disabled during KfLowerIrql

svn path=/trunk/; revision=54418
2011-11-18 18:53:41 +00:00
Pierre Schweitzer 01323f857e [MSVCRT_APITEST]
Add msvcrt_apitest to CDs

svn path=/trunk/; revision=54417
2011-11-18 18:25:44 +00:00
Pierre Schweitzer 0bc955e9cf [MSVCRT_APITEST]
Build msvcrt_apitest

svn path=/trunk/; revision=54416
2011-11-18 18:23:43 +00:00
Cameron Gutman 84002dd3ba [I8042PRT]
- Implement support for hot plugging PS/2 mice if one was present at boot (same requirement as Windows)
- Fixes bug 1395

svn path=/trunk/; revision=54415
2011-11-17 23:41:18 +00:00
Pierre Schweitzer 1f282745da [CRT]
Fix _fpclass.
Spotted by: Vincenzo Cotugno
Reviewed by: Timo Kreuzer

svn path=/trunk/; revision=54414
2011-11-17 22:38:15 +00:00
Rafal Harabien 99f8b1fe06 [SHELL32] - Revert r54404
svn path=/trunk/; revision=54413
2011-11-17 22:19:48 +00:00
Cameron Gutman 88f0deaa71 [I8042PRT]
- Discard extra ACK packets from the mouse during reset
- Fixes certain mice that send the ACK out of order

svn path=/trunk/; revision=54412
2011-11-17 21:19:32 +00:00
Dmitry Gorbachev e4382eb7d6 [SMSS]
Limit the size of swapfile (to 2GiB). Bug #4760.

svn path=/trunk/; revision=54411
2011-11-17 20:22:16 +00:00
Cameron Gutman 6dd897228b [INF]
- Fix ServiceType value for the ne2000 driver
- Should fix ne2000 installation

svn path=/trunk/; revision=54409
2011-11-17 18:21:58 +00:00
Rafal Harabien 34a7965726 [SHELL32] - Support keys with readable name and default value set to GUID in MyComputer name space. Fixes a warning about "Controls" not beeing GUID.
svn path=/trunk/; revision=54408
2011-11-17 17:33:22 +00:00
James Tabor 44cac5c127 - Add WndProc address to error prints.
svn path=/trunk/; revision=54407
2011-11-17 17:02:01 +00:00
Rafal Harabien 73a27600f4 [KERNEL32]
- Make sure GetEnvironmentVariableW does not use uninitialized variable
- Fix GetDllLoadPath not terminating string with NULL if PATH env variable is not defined. Fixes hang on manual INF selection in New Device wizard.
See issue #6480 for more details.

svn path=/trunk/; revision=54406
2011-11-17 16:44:51 +00:00
Dmitry Gorbachev 5d3b2bfa7c [SERIAL]
Pretend that functions IOCTL_SERIAL_{GET,SET}_{CHARS,HANDFLOW} are 
implemented. It allows PuTTY to set baud rate.

svn path=/trunk/; revision=54405
2011-11-17 15:37:47 +00:00
Rafal Harabien c09009c2be [SHELL32] - Remove a not needed hack
svn path=/trunk/; revision=54404
2011-11-17 14:33:35 +00:00
Rafal Harabien 602b5f5ddd [SHELL32] - Register Printers folder in ControlPanel namespace. Fixes "Printers is not a GUID" warning
svn path=/trunk/; revision=54403
2011-11-17 14:31:19 +00:00
Cameron Gutman 0fb80083fc [NDIS]
- Fix a critical bug in registry entry parsing that was causing all REG_SZ values to be reported as NdisParameterTypeInteger
- Distinguish between NdisParameterTypeInteger and NdisParameterTypeHexInteger
- 3Com NICs are fully functional now [bug 4330]

svn path=/trunk/; revision=54402
2011-11-16 22:01:11 +00:00
Thomas Faber 6c0659ceac [ATL] - Fix buffer overflow in CComDynamicUnkArray::Add. Found by Coverity (CID 2474)
[NDK] - Remove meaningless const attribute from pointer rvalues to make Coverity's life easier

svn path=/trunk/; revision=54401
2011-11-16 21:17:38 +00:00
Thomas Faber 022c6505d0 [ADVAPI32_WINETEST]
- Fix running the test with a relative path. Already Sent Upstream(TM)
- Do the rest of that tiny Winesync, too, while we're at it. Now at 1.3.33
- Remove the spooler hack in the process. We don't actually need it

svn path=/trunk/; revision=54400
2011-11-16 20:53:18 +00:00
Olaf Siejka d6414908c2 [TRANSLATION]
- Romanian translation update (bug no. 6654) by Stefan Fulea;
- Simplified Chineese translation of base/shell and system (bug no. 6655) by Song Fuchang;
- Slovak translation fixes (bug no. 6658) by Mario Kacmar;

svn path=/trunk/; revision=54399
2011-11-16 20:16:21 +00:00
James Tabor e1f21de61b [Ole2]
- Fix Adobe Acrobat Reader 7.x from throwing exceptions at start up. Partial sync with wine, See bug 5560.

svn path=/trunk/; revision=54398
2011-11-16 17:01:04 +00:00
James Tabor afe0f6cd2b [Win32k|User32]
- Correct more types.

svn path=/trunk/; revision=54397
2011-11-16 16:35:50 +00:00
James Tabor cf1e809fa2 [Win32k|User32]
- Patch by Shinobu Maehara: fix for kernel-mode/user-mode marshalling of WM_DDE_ACK.

svn path=/trunk/; revision=54396
2011-11-16 16:24:18 +00:00
Cameron Gutman 2e7cf798a9 [NPFS]
- Execute the failure case while holding the mutex otherwise we crash

svn path=/trunk/; revision=54395
2011-11-16 04:39:49 +00:00
Cameron Gutman 846509e433 [NTOSKRNL]
- Fix another case where we fail to detach from a process before failing

svn path=/trunk/; revision=54394
2011-11-16 00:11:10 +00:00
Jérôme Gardou 800384214e [NTOSKRNL/MM]
- Fix bad comparison

svn path=/trunk/; revision=54393
2011-11-15 23:55:38 +00:00
Jérôme Gardou 50632f02d1 [NTOSKRNL/MM]
- Some more cleanup.
- Work with page rounded down addresses in SectionView page faults.
- You should not create a virtual mapping on a non page-aligned address range : ASSERT about that.
- Flush Tlb each time we change it
- Fix logic I broke in MmCreateVirtualMapping (thanks to Thomas Faber)

svn path=/trunk/; revision=54392
2011-11-15 23:50:04 +00:00
Jérôme Gardou a9801fa996 [NTOSKRNL]
- Cleanup a bit, sorry.

svn path=/trunk/; revision=54391
2011-11-15 22:40:20 +00:00
Jérôme Gardou 177b29fbf8 [NTOSKRNL/MM]
- ensure that all callers of MM providing an user land address also provide a process.
- ASSERT about that
- Fix broken check

svn path=/trunk/; revision=54390
2011-11-15 22:34:04 +00:00
Cameron Gutman 75ff9ef0c0 [NTOSKRNL]
- Fix 2 broken failure cases (forgot to detach from process and/or forgot to dereference process)

svn path=/trunk/; revision=54389
2011-11-15 22:16:57 +00:00
Cameron Gutman fcb309055e [NDIS]
- Implement NdisPciAssignResources

svn path=/trunk/; revision=54387
2011-11-15 18:41:34 +00:00
Jérôme Gardou 9cc9f6687b [NTOSKRNL/MM]
- call mm functions with a process, when we have one.
- Fix potential rounding issues
- Add some sanity ASSERTs
- You never use enough brackets ;-)

svn path=/trunk/; revision=54386
2011-11-15 18:36:26 +00:00
Rafal Harabien a61f0b9cff [KBDTOOL] - Fix build under MSVC
svn path=/trunk/; revision=54385
2011-11-15 11:07:31 +00:00
Rafal Harabien ba2815a03e [SYSSETUP]
- Don't redefine constants from psdk in source files
- Improve error message

svn path=/trunk/; revision=54384
2011-11-15 08:59:50 +00:00