ReactOS Portable Systems Group
b1537513ef
- Remove debug code.
...
svn path=/trunk/; revision=34448
2008-07-13 04:22:54 +00:00
ReactOS Portable Systems Group
824f390323
- Add ramdisk class.
...
svn path=/trunk/; revision=34447
2008-07-13 04:22:42 +00:00
ReactOS Portable Systems Group
0e87f19d40
- To whom it may concern: thanks for completly fucking up mkhive support with your "fix". It broken make install and livecd on i386 AND ARM.
...
- Made the necessary changes to make it work properly by fixing mkhive and rbuild.
svn path=/trunk/; revision=34446
2008-07-13 02:32:24 +00:00
ReactOS Portable Systems Group
ae45b8fbbb
- Only print out debug data for aborts if we can't handle them. Makes the debug log easier to read.
...
svn path=/trunk/; revision=34445
2008-07-13 01:58:23 +00:00
ReactOS Portable Systems Group
53f621c80d
- Do NOT prepend _ to ARM entrypoints.
...
- Because of some ridiculously stupid design in LD, it seems if it cannot find a given entrypoint, it SILENTLY ASSUMES you meant "Hi LD, please use my base address as my entrypoint".
- As such, all our drivers were linked with the start address as the base address... for the RAMDisk driver, this ended up being RamdiskAddDevice.
- When we started implementing RamdiskAddDevice, noticed that DriverEntry wasn't actually getting called. Adding debug prints changed which function was called.
- Wasted a week, thanks LD.
svn path=/trunk/; revision=34444
2008-07-13 01:56:20 +00:00
James Tabor
b17c0af25f
The rest of rev 34442.
...
svn path=/trunk/; revision=34443
2008-07-13 00:24:05 +00:00
James Tabor
48885ed2c4
- Started NtUserRegisterClassExWOW and now using the fnIDs. Nothing is used but the IDs. I tested with these changes for over 60 days.
...
- Implemented NtUserMessageCall, moved our first victim over to use it. This is for bug 2451.
svn path=/trunk/; revision=34442
2008-07-13 00:21:51 +00:00
James Tabor
f07b8e70a7
This did not fix bug 3503 but only hid the problem. Added note about Firefox, polls IsInsideMessagePumpHook when Min/Max.
...
svn path=/trunk/; revision=34441
2008-07-12 23:49:51 +00:00
Christoph von Wittich
a267c40f5b
don't deref NULL pointer
...
svn path=/trunk/; revision=34439
2008-07-12 13:47:06 +00:00
James Tabor
8b47005e1a
Fix FF again. Sorry, I need to research this more.
...
svn path=/trunk/; revision=34438
2008-07-12 12:04:03 +00:00
Christoph von Wittich
58baa7406e
don't return success in getaddrinfo
...
fixes a crash in divx installer
svn path=/trunk/; revision=34437
2008-07-12 10:49:13 +00:00
Christoph von Wittich
b2b40553ac
fix a typo
...
svn path=/trunk/; revision=34435
2008-07-12 09:39:30 +00:00
James Tabor
613a10e37b
- Fix problem with share pointer. See bug 3503. It seems to be a problem with ntdll and msvcrt.
...
svn path=/trunk/; revision=34433
2008-07-12 01:00:58 +00:00
James Tabor
f7a34846ba
- Christoph von Wittich spotted a condition when co_MsqPostKeyboardMessage was called from KeyboardThreadMain, the thread was unlocked when waiting in co_MsqSendMessage. The problem; UserLeave was called before waiting on an event. I added checks to verify locking and if not, lock the thread. I'm not sure ATM if co_MsqPostKeyboardMessage should have full locking since it is only used by input.c.
...
- Added IdlePing to wakeup process threads before waiting on events, it look like the right place to put them.
svn path=/trunk/; revision=34430
2008-07-11 23:07:31 +00:00
Colin Finck
f25ac715b0
- Port Wine's WideCharToMultiByte implementation for conversion to a codepage to ReactOS. (with comments :-))
...
It adds support for DefaultChar, UsedDefaultChar and the flag WC_NO_BEST_FIT_CHARS.
WC_COMPOSITECHECK is also supported by the Wine implementation, but I don't have an idea how to port it to ReactOS, as we don't seem to have composition tables. I left FIXME's for this flag in the appropriate blocks, this is why some of the code might look badly structured/unoptimized at the moment.
As we completely rely on the NLS tables for the conversion now, this commit might trigger some bugs there. I already found out that the CP950 table doesn't map Unicode 0 back to MultiByte 0 (but 254), using Windows' c_950.nls it works correctly. Other tables could be buggy as well, c_1252.nls worked flawlessy for me though.
- Added comments to the CPTABLEINFO structure based on documentation from http://www.ping.uio.no/~ovehk/nls/
svn path=/trunk/; revision=34426
2008-07-11 19:11:06 +00:00
Christoph von Wittich
dfb10c4404
check for NULL pointer
...
svn path=/trunk/; revision=34425
2008-07-11 15:15:42 +00:00
James Tabor
1fa1b4e184
- Cleanup NtUserWaitForInputIdle and plug in the user call. Still testing it.
...
svn path=/trunk/; revision=34424
2008-07-11 11:22:16 +00:00
James Tabor
a704e14031
Update Eng Events and fix InputIdleEvent.
...
svn path=/trunk/; revision=34423
2008-07-11 10:57:49 +00:00
KJK::Hyperion
dee49b95a1
Don't allocate from PagedPool while interrupts are disabled. Patch by Stefan Ginsberg
...
svn path=/trunk/; revision=34420
2008-07-11 09:11:21 +00:00
James Tabor
4460003077
Improve NtUserWaitForInputIdle, still a work in progress.
...
svn path=/trunk/; revision=34419
2008-07-11 01:24:47 +00:00
James Tabor
0b35c794b5
- Port wine WaitForInputIdle. Work in progress and untested. Need input idle event to support it.
...
svn path=/trunk/; revision=34418
2008-07-11 01:02:28 +00:00
James Tabor
75ea87b3cb
- Move NtUserWaitForInputIdle to message.c.
...
svn path=/trunk/; revision=34417
2008-07-10 23:51:24 +00:00
Timo Kreuzer
793805597e
Patch by Stefan Ginsberg:
...
fix members of UNIVERSAL_FONT_ID, based on msdn
svn path=/trunk/; revision=34415
2008-07-10 20:09:23 +00:00
Colin Finck
af3974cb4a
Warning fixes for devenum by Stefan Ginsberg
...
svn path=/trunk/; revision=34414
2008-07-10 16:26:28 +00:00
Jeffrey Morlan
b72b1e87db
Some fixes for console alias functions:
...
- Pass buffers via a CSR capture buffer, instead of trying to cram them in the size-limited LPC message.
- GetConsoleAliasW: Return number of bytes written, not unrelated "Size" variable.
- GetConsoleAliasExesW: Return value is in bytes, not characters.
- GetConsoleAliasA, GetConsoleAliasExesA: Parameters and returns of corresponding W functions are in bytes, not characters.
- IntFindAliasHeader, IntGetAliasEntry: Break when current name is greater, not less.
- IntCreateAliasHeader: Fix bad use of pointer arithmetic; initialize Data to NULL.
- IntCreateAliasEntry: Fix bad use of pointer arithmetic.
- IntGetConsoleAliasesExesLength: Fix infinite loop; add sizeof(WCHAR) instead of 1.
- IntGetAllConsoleAliasesLength: Fix infinite loop.
- CsrGetConsoleAlias, CsrGetAllConsoleAliases, CsrGetConsoleAliasesExes: Don't use a winerror where an NTSTATUS is needed.
svn path=/trunk/; revision=34413
2008-07-10 15:43:06 +00:00
Christoph von Wittich
9c5c81eba2
don't deref NULL pointer
...
svn path=/trunk/; revision=34412
2008-07-10 14:00:50 +00:00
Colin Finck
6f1c458cd7
Fix ordinals of msvcrt according to Windows Server 2003 SP1's msvcrt.dll
...
svn path=/trunk/; revision=34411
2008-07-10 12:39:54 +00:00
Ged Murphy
8ca3cee755
Check for correct access right when deleting services
...
Patch by bugboy <martinmnet at hotmail dot com>
See issue #3474 for more details.
svn path=/trunk/; revision=34410
2008-07-10 11:45:06 +00:00
Aleksey Bragin
1598630aef
- Fix a typo, spotted by BugBoy.
...
svn path=/trunk/; revision=34409
2008-07-10 11:29:50 +00:00
James Tabor
69b39dc05f
- Needed to reference the previous window handle. This prevents the window object from becoming zero during it's own demise when posting send messages.
...
- See bug 3490.
svn path=/trunk/; revision=34408
2008-07-10 11:27:53 +00:00
James Tabor
326c138e1b
Need to make safe, check for zero after retrieving desktop pointer.
...
svn path=/trunk/; revision=34407
2008-07-10 11:19:24 +00:00
James Tabor
7fdb555744
- This Patch fixes RestoreDC, also lots of visual glitches. Especially in Delphi applications. See bug 3491.
...
svn path=/trunk/; revision=34406
2008-07-10 11:12:14 +00:00
Aleksey Bragin
4e301fa3a9
- Fix build.
...
svn path=/trunk/; revision=34405
2008-07-10 10:06:29 +00:00
Aleksey Bragin
e00d31206e
Yuriy Sidorov <jura@cp-lab.com>
...
- Implement RtlSetUserValueHeap, RtlSetUserFlagsHeap, RtlGetUserInfoHeap functions. It is quick implementation and it works.
- It fixes "Out of memory" error in all InnoSetup based installations. A lot of software can be at least installed in ReactOS now.
- Also it fixes Delphi applications which use TMemoryStream class.
See issue #3464 for more details.
svn path=/trunk/; revision=34404
2008-07-10 09:46:25 +00:00
Aleksey Bragin
65e234891c
- Autosyncing with Wine HEAD.
...
- Add I_RpcExceptionFilter to rpcrt4 from recent wine and export it. This allows to not do a full rpcrt4 sync right now, but still sync everything else.
svn path=/trunk/; revision=34403
2008-07-10 09:14:19 +00:00
KJK::Hyperion
ffd2740ec2
modified nls/3rdparty/icu4ros.rbuild
...
- Build fixes
added nls/3rdparty/stubs.cpp
- Stub out unused ICU dependencies
added nls/dll/idndl
added nls/dll/idndl/idndl.cpp
added nls/dll/idndl/idndl.def
added nls/dll/idndl/idndl.rbuild
- Implemented idndl.dll forwarder
added nls/dll/idndl_redist
added nls/dll/idndl_redist/data
added nls/dll/idndl_redist/data/genidldndata.cpp
added nls/dll/idndl_redist/data/idldata.cpp
added nls/dll/idndl_redist/idndl.cpp
added nls/dll/idndl_redist/idndl.def
added nls/dll/idndl_redist/idndl_redist.rbuild
added nls/dll/idndl_redist/stubs.cpp
- Implemented stand-alone idndl.dll
- Implemented DownlevelGetLocaleScripts, DownlevelGetStringScripts, DownlevelVerifyScripts
added nls/dll/normaliz
added nls/dll/normaliz/dummy.c
added nls/dll/normaliz/normaliz.def
added nls/dll/normaliz/normaliz.rbuild
- Implemented forwarder normaliz.dll
added nls/dll/normaliz_redist/data
added nls/dll/normaliz_redist/data/icudt38.c
added nls/dll/normaliz_redist/data/icudt38.lst
modified nls/dll/normaliz_redist/normaliz.cpp
modified nls/dll/normaliz_redist/normaliz.def
modified nls/dll/normaliz_redist/normaliz_redist.rbuild
- Implemented stand-alone normaliz.dll
added nls/lib/idna
added nls/lib/idna/idna.cpp
added nls/lib/idna/idna.rbuild
added nls/lib/idna/nameprep.cpp
- Implemented IdnToAscii, IdnToUnicode, IdnToNameprepUnicode
modified nls/lib/normalize/normalize.cpp
- Implemented NormalizeString, IsNormalizedString
added nls/lib/scripts
added nls/lib/scripts/scripts.cpp
added nls/lib/scripts/scripts.h
added nls/lib/scripts/scripts.rbuild
- Implemented GetStringScripts, VerifyScripts
added nls/media
- Added directory for future data files
modified nls/nls.rbuild
- Build all NLS modules
added nls/tests
added nls/tests/normalization
added nls/tests/normalization/normalizationTest.c
added nls/tests/normalization/normalizationTest.h
added nls/tests/normalization/normalizationTest.l
added nls/tests/normalization/normalizationTest.rbuild
added nls/tests/normalization/normalizationTest.sln
added nls/tests/normalization/normalizationTest.tab.c
added nls/tests/normalization/normalizationTest.tab.h
added nls/tests/normalization/NormalizationTest.txt
added nls/tests/normalization/normalizationTest.vcproj
added nls/tests/normalization/normalizationTest.y
added nls/tests/normalization/normalizationTest.yy.c
- Test harness for NormalizeString based on official Unicode 5.0 test suite. Our implementation passes all tests. Will become an actual regression test suite in the future.
svn path=/trunk/; revision=34402
2008-07-10 08:39:04 +00:00
Daniel Reimer
bb5038fc75
Bug 3492 - Bug 3497: Norwegian Translations for dxdiag sndvol32 kbswitch devmgmt eventvwr servman by Lars Martin.
...
Synched Winhlp32 with Wine HEAD.
svn path=/trunk/; revision=34401
2008-07-10 06:51:18 +00:00
Daniel Reimer
8af6be8760
Synched Winfile and write with Wine HEAD.
...
svn path=/trunk/; revision=34400
2008-07-10 06:38:14 +00:00
James Tabor
f1cf84c7f1
CS_NOKEYCVT is used to set Classname to Version when calling to register class.
...
svn path=/trunk/; revision=34399
2008-07-10 01:28:59 +00:00
James Tabor
6299128828
- Removed NtUserGetShellWindow, update related.
...
svn path=/trunk/; revision=34397
2008-07-09 22:46:17 +00:00
KJK::Hyperion
0461306bc8
modified lib/sdk/crt/crt.rbuild
...
modified lib/sdk/crt/libcntpr.rbuild
Add qsort and div to crt and libcntpr
modified lib/sdk/crt/include/internal/tls.h
modified lib/sdk/crt/stdlib/qsort.c
Fixed ineptly-ported DJGPP qsort to not use TLS
svn path=/trunk/; revision=34396
2008-07-09 18:44:46 +00:00
Ged Murphy
5a9807ee6c
don't try to free a NULL object.
...
patch by hto (hto at dev dot null)
See issue #3486 for more details.
svn path=/trunk/; revision=34393
2008-07-09 14:20:08 +00:00
Pierre Schweitzer
a4302a3894
Updated usp10_ros.diff to match with r34390 changes
...
svn path=/trunk/; revision=34392
2008-07-09 11:40:00 +00:00
Aleksey Bragin
c97e25991a
- Update winetests for synced DLLs.
...
svn path=/trunk/; revision=34391
2008-07-09 11:34:20 +00:00
Aleksey Bragin
1e974d826c
- One should not mix debug output macros and direct usage of DbgPrint.
...
svn path=/trunk/; revision=34390
2008-07-09 11:26:31 +00:00
Aleksey Bragin
2f5cd560df
Autosyncing with Wine HEAD
...
svn path=/trunk/; revision=34389
2008-07-09 11:20:39 +00:00
Aleksey Bragin
cc891b65c9
- Add MapVirtualKey translation types.
...
svn path=/trunk/; revision=34388
2008-07-09 10:27:56 +00:00
Pierre Schweitzer
52bd0bc841
- Fixed build
...
- Added a diff with GreatLord changes
svn path=/trunk/; revision=34387
2008-07-09 09:28:50 +00:00
Pierre Schweitzer
85ba30dcf2
Synced usp10_winetest.exe with Wine HEAD
...
svn path=/trunk/; revision=34386
2008-07-09 09:23:34 +00:00
Pierre Schweitzer
ba32da0049
Synced shfolder.dll, stdole2.tlb, tapi32.dll, usp10.dll, winhttp.dll, wldap32.dll, wtsapi32.dll with Wine HEAD
...
svn path=/trunk/; revision=34385
2008-07-09 09:19:04 +00:00