Commit graph

39584 commits

Author SHA1 Message Date
Cameron Gutman a06fc827da - Make sure the socket is still open before entering oskittcp
- Remove an unused parameter from OskitTCPBind
 - Return a status value from OskitTCPGetAddress
 - Add debug print for unhandled error codes

svn path=/trunk/; revision=43864
2009-10-31 01:05:31 +00:00
Stefan Ginsberg 82bd7858d1 - Add 'simple' implementation of MmDbgCopyMemory to read/write virtual memory in a somewhat safe way (still no support for physical memory). Properly implement KdpCopyMemoryChunks as a wrapper around MmDbgCopyMemory and make most of the remaining unsafe copies use it instead of RtlCopyMemory. This fixes most of the remaining crashes during KD debugging as WinDbg/KD relies on the kernel support to handle bad addresses.
- Stub out the remaining missing global variables for the debugger data block -- fixes some cases of WinDbg failures and gives it a chance to handle errors instead of failing on a NULL read. Several of these variables are for functionality we don't yet implement, so I tried to put them where they are "least wrong". Everything besides the MmLoadedUserImageList variable is left unitialized -- KD should mostly be able to handle this properly.
- Define correctly sized KDDEBUGGER_DATA64 for our kernel (needs to be done in a better way).

svn path=/trunk/; revision=43863
2009-10-31 01:02:35 +00:00
Stefan Ginsberg c4d8068980 - Clarify a check and don't cast KPCR->GDT to PKIPCR (spotted by Timo).
svn path=/trunk/; revision=43862
2009-10-31 00:39:16 +00:00
Cameron Gutman 43e17b4127 - Implement OskitTCPSetSockOpt and OskitTCPGetSockOpt (currently unused)
svn path=/trunk/; revision=43861
2009-10-31 00:24:38 +00:00
Cameron Gutman f28d99cab1 - Remove some junk code which does nothing but crash
svn path=/trunk/; revision=43859
2009-10-30 23:39:13 +00:00
Stefan Ginsberg bb55e9c572 - Fix leftover
svn path=/trunk/; revision=43856
2009-10-30 22:15:50 +00:00
Stefan Ginsberg e90168e57e - Restructure HAL bus routines a bit.
- Fix some incorrect HAL types and add some that were missing.

svn path=/trunk/; revision=43855
2009-10-30 22:07:26 +00:00
Hervé Poussineau 36c3408fb1 [freeldr] Move custom.c, drivemap.c/h, miscboot.c/h to i386 directories
svn path=/trunk/; revision=43854
2009-10-30 21:48:21 +00:00
Johannes Anderwald 3fa52b7b78 - Check Input Parameter (fixes a skype crash)
svn path=/trunk/; revision=43853
2009-10-30 18:51:40 +00:00
Johannes Anderwald 71c02de01b - Fix a broken cast (x64 compability)
svn path=/trunk/; revision=43850
2009-10-30 15:36:55 +00:00
Timo Kreuzer e72570afce [WIN32K]
EngCopyBits: Use goto cleanup / break instead of code duplication, fix leaking a bits lock, if the rect function fails, remove abundant MouseSafetyOnDrawEnd

svn path=/trunk/; revision=43849
2009-10-30 15:22:57 +00:00
Timo Kreuzer 38a5ae755f [FORMATTING]
- apply consistent indentattion of 4 spaces
- remove () from return statements

svn path=/trunk/; revision=43848
2009-10-30 15:00:08 +00:00
Timo Kreuzer 0fcc297839 [WIN32K]
Lock the DIB palette in NtGdiSetDIBitsToDeviceInternal instead of passing NULL to EXLATEOBJ_vInitialize. Fixes LightBox Editor regression (bug 4913 )

svn path=/trunk/; revision=43846
2009-10-30 14:02:42 +00:00
Michael Martin 95e552de39 [msi]
- Schedule a rename operation also for ERROR_USER_MAPPED_FILE. Prevents msi from aborting an install when attempting to overwrite font files. Open Office should now install successfully.

svn path=/trunk/; revision=43845
2009-10-30 12:53:19 +00:00
Cameron Gutman dbd53d6738 - Don't convert the host name to lower case
svn path=/trunk/; revision=43844
2009-10-30 04:29:38 +00:00
Cameron Gutman 92f8240011 - Header updates for winsock rewrite
svn path=/trunk/; revision=43834
2009-10-29 20:56:47 +00:00
Stefan Ginsberg 9f6cba21d3 - Missed this file
svn path=/trunk/; revision=43833
2009-10-29 20:10:29 +00:00
Stefan Ginsberg be8d9f285f - INITIAL_STALL_COUNT makes more sense in decimal (100) than hex (0x64) so define it that way.
- Protect CMOS access with the CMOS spinlock.
- Add CMOS initialization to set up the default value of the CMOS century byte offset (not used yet).
- Stub out profile interrupt support in HAL. Register and stub out the profile interrupt handler, but don't handle it yet as vital parts of the rest of the implementation is missing.
- Fix several bugs in the kernel profile implementation:
  - Don't hardcode to PROFILE_LEVEL when raising IRQL : HAL can override this, so use KiProfileIrql. Also, starting/stopping profile interrupts must be done at the profile IRQL, so don't lower it back before calling HAL, which is now enabled.
  - Fix KeSet/QueryIntervalProfile to properly set/query profile intervals through HAL -- pass the correct structures and handle the ProfileAlignmentFixup case properly, and call HAL when setting the timer interval as the interval may be overridden by it.
  - KeStartProfile returns BOOLEAN to tell if the profile was started or not, just like KeStopProfile.
- Make the interrupt implementation more portable for non-PIC architectures.
- Fix HalSystemVectorDispatchEntry; it returns a type (UCHAR), not TRUE/FALSE (BOOLEAN).
- Begin implementing the framework for querying HAL resource usage (keeping track of internal address space and vector registrations/usage).

svn path=/trunk/; revision=43832
2009-10-29 19:58:41 +00:00
Ged Murphy dca090ba4c undef min & max so they don't override the numeric_limits template methods
svn path=/trunk/; revision=43831
2009-10-29 18:54:21 +00:00
Sylvain Petreolle 9127411fdf silence debug
svn path=/trunk/; revision=43830
2009-10-29 18:28:27 +00:00
Stefan Ginsberg 24bb32e038 - Re-enable some debug prints for unsupported hardware features and make them consistent.
svn path=/trunk/; revision=43829
2009-10-29 18:26:22 +00:00
Stefan Ginsberg bec72fa6a7 - Implement the ThreadDescriptorTableEntry case for NtQueryInformationThread. This is required for the GetThreadSelectorEntry routine used by user mode debuggers.
- #if out some x86-only LDT code from PS and move it to psldt.c.

svn path=/trunk/; revision=43827
2009-10-29 10:04:15 +00:00
Johannes Anderwald 7590cdb16d - Silence debug garbage
svn path=/trunk/; revision=43826
2009-10-29 08:28:03 +00:00
Dmitry Gorbachev e5ca9dd8e3 Remove byte order mark.
svn path=/trunk/; revision=43823
2009-10-28 23:53:50 +00:00
Dmitry Gorbachev f2e942714d Patch for Regional Settings applet by Viliam Lejcik (lejcik/at/gmail/com) with some changes. Bug #4898.
svn path=/trunk/; revision=43821
2009-10-28 23:20:28 +00:00
Stefan Ginsberg b0688f07ec - Merge 43818 to trunk.
- Don't return any data for DbgKdSetBusDataApi either. 

svn path=/trunk/; revision=43819
2009-10-28 21:49:58 +00:00
Dmitry Gorbachev c9c4571300 - Add missing svn:eol-style properties.
- Use consistent newline style.
- Update file COPYING.

svn path=/trunk/; revision=43817
2009-10-28 20:13:23 +00:00
Sylvain Petreolle 008b7c72d8 forgot to include winmm winetest on testcd
svn path=/trunk/; revision=43816
2009-10-28 18:51:17 +00:00
Johannes Anderwald ad29b7974d - Silence wdmaud.drv
svn path=/trunk/; revision=43815
2009-10-28 18:42:24 +00:00
Sylvain Petreolle c021918e36 add winmm winetest
svn path=/trunk/; revision=43811
2009-10-28 15:15:59 +00:00
Aleksey Bragin 41b71cf811 [fastfat_new]
- Implement overwrite/supersede operations on an existing FCB, no on-disk writing yet.

svn path=/trunk/; revision=43809
2009-10-28 11:29:34 +00:00
Christoph von Wittich d3b074aa2c sync widl to wine 1.1.32
svn path=/trunk/; revision=43808
2009-10-28 11:28:26 +00:00
Johannes Anderwald 1f28d44b07 Add StringFromIID prototype
svn path=/trunk/; revision=43807
2009-10-28 11:19:25 +00:00
Aleksey Bragin 5275a28717 [fastfat_new]
- FatCreateCcb takes no parameters, so don't pass any. Spotted by Stefan's msvc.

svn path=/trunk/; revision=43806
2009-10-28 10:18:57 +00:00
Christoph von Wittich 3df137895d add ac97 as optional
svn path=/trunk/; revision=43805
2009-10-28 10:16:17 +00:00
Johannes Anderwald 6208fa37f3 The winner of the 1st ReactOS Logon Sound contest has been elected. It is irc:LoneRifle (alwyn-dot-tan-at-gmail-dot-com) Congratulations
- See http://www.reactos.org/forum/viewtopic.php?f=2&t=7339 for more details

svn path=/trunk/; revision=43804
2009-10-28 09:21:18 +00:00
James Tabor 8a57208aae - [User32] Update MenuShowPopup with wine and add menu check for MenuTrackMenu. MenuTrackMenu menu check fixed the first stop with wine menu test.
svn path=/trunk/; revision=43803
2009-10-28 01:43:59 +00:00
Daniel Reimer 7fcc966e35 A dozen of Rapps Updates. Thx to Victor Martinez for fixing many dl links..
svn path=/trunk/; revision=43802
2009-10-28 00:18:45 +00:00
Timo Kreuzer 4869ba0006 Sync kdcom from amd64 branch
svn path=/trunk/; revision=43801
2009-10-27 23:38:56 +00:00
Timo Kreuzer 0cf8717f6d merge r43777 from amd64 branch
svn path=/trunk/; revision=43800
2009-10-27 23:28:17 +00:00
Johannes Anderwald b53f1051ec [WDMAUD.DRV][MMEBUDDY]
- Implement support for DRV_QUERYDEVICEINTERFACESIZE, DRV_QUERYDEVICEINTERFACE for recording / mixer / midi-in midi-out


svn path=/trunk/; revision=43799
2009-10-27 23:28:09 +00:00
James Tabor 6185365441 - Move TI flages to main header file.
svn path=/trunk/; revision=43796
2009-10-27 19:02:02 +00:00
Christoph von Wittich d12cc30898 [rapps]
install Firefox 3.0.15 instead of 3.0.13

svn path=/trunk/; revision=43795
2009-10-27 18:45:58 +00:00
Stefan Ginsberg 3cc202c54d Release atsmedia.h, ddkernel.h, dmemmgr.h, dvp.h, ntstrsafe.h, objerror.h and polarity.h into the public domain -- Alex (ntstrsafe.h) and Magnus (the other headers) have agreed to this.
svn path=/trunk/; revision=43794
2009-10-27 16:27:33 +00:00
Johannes Anderwald 3557056c44 - Add missing types
svn path=/trunk/; revision=43793
2009-10-27 15:33:58 +00:00
Johannes Anderwald d42f65b7f8 - Fix a heap corruption at process shutdown
- Found by irc:encoded

svn path=/trunk/; revision=43791
2009-10-27 12:19:33 +00:00
Dmitry Gorbachev 145fbbd116 - Update address of Free Software Foundation.
- Update obsolete LGPL v2 to LGPL v2.1.

svn path=/trunk/; revision=43790
2009-10-27 10:34:16 +00:00
Stefan Ginsberg 838ed7f31a - Replace broken implementation of HalpCalibrateStallExecution with a new implementation by a mysterious HAL ninja and myself. The old implementation calculated the stall count factor incorrectly and produced bogus results that were off by several thousand, and varied by as much for each boot, and can best be described as "rand() made complicated". The new implementation installs its own RTC interrupt handler to accurately calculate the stall scale factor, all done in assembler instead of broken C. Fixes the hang at boot when initializing Uniata as stalls no longer takes 10 times or more as long to execute then they should.
svn path=/trunk/; revision=43789
2009-10-27 01:03:41 +00:00
Johannes Anderwald 47b50e1e0b [WDMAUD.DRV][WDMAUD_KERNEL][MMEBUDDY]
- Implement support for DRV_QUERYDEVICEINTERFACESIZE, DRV_QUERYDEVICEINTERFACE
- Required for DSound support

svn path=/trunk/; revision=43788
2009-10-26 23:10:05 +00:00
Cameron Gutman 48c283f6e6 - Add UltraVNC to the rapps list
- The VNC client works very well in ROS

svn path=/trunk/; revision=43787
2009-10-26 21:39:00 +00:00