reactos.git
12 years ago - Make sure the socket is still open before entering oskittcp
Cameron Gutman [Sat, 31 Oct 2009 01:05:31 +0000 (01:05 +0000)]
 - 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

12 years ago- Add 'simple' implementation of MmDbgCopyMemory to read/write virtual memory in...
Stefan Ginsberg [Sat, 31 Oct 2009 01:02:35 +0000 (01:02 +0000)]
- 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

12 years ago- Clarify a check and don't cast KPCR->GDT to PKIPCR (spotted by Timo).
Stefan Ginsberg [Sat, 31 Oct 2009 00:39:16 +0000 (00:39 +0000)]
- Clarify a check and don't cast KPCR->GDT to PKIPCR (spotted by Timo).

svn path=/trunk/; revision=43862

12 years ago - Implement OskitTCPSetSockOpt and OskitTCPGetSockOpt (currently unused)
Cameron Gutman [Sat, 31 Oct 2009 00:24:38 +0000 (00:24 +0000)]
 - Implement OskitTCPSetSockOpt and OskitTCPGetSockOpt (currently unused)

svn path=/trunk/; revision=43861

12 years ago - Remove some junk code which does nothing but crash
Cameron Gutman [Fri, 30 Oct 2009 23:39:13 +0000 (23:39 +0000)]
 - Remove some junk code which does nothing but crash

svn path=/trunk/; revision=43859

12 years ago- Fix leftover
Stefan Ginsberg [Fri, 30 Oct 2009 22:15:50 +0000 (22:15 +0000)]
- Fix leftover

svn path=/trunk/; revision=43856

12 years ago- Restructure HAL bus routines a bit.
Stefan Ginsberg [Fri, 30 Oct 2009 22:07:26 +0000 (22:07 +0000)]
- Restructure HAL bus routines a bit.
- Fix some incorrect HAL types and add some that were missing.

svn path=/trunk/; revision=43855

12 years ago[freeldr] Move custom.c, drivemap.c/h, miscboot.c/h to i386 directories
Hervé Poussineau [Fri, 30 Oct 2009 21:48:21 +0000 (21:48 +0000)]
[freeldr] Move custom.c, drivemap.c/h, miscboot.c/h to i386 directories

svn path=/trunk/; revision=43854

12 years ago- Check Input Parameter (fixes a skype crash)
Johannes Anderwald [Fri, 30 Oct 2009 18:51:40 +0000 (18:51 +0000)]
- Check Input Parameter (fixes a skype crash)

svn path=/trunk/; revision=43853

12 years ago- Fix a broken cast (x64 compability)
Johannes Anderwald [Fri, 30 Oct 2009 15:36:55 +0000 (15:36 +0000)]
- Fix a broken cast (x64 compability)

svn path=/trunk/; revision=43850

12 years ago[WIN32K]
Timo Kreuzer [Fri, 30 Oct 2009 15:22:57 +0000 (15:22 +0000)]
[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

12 years ago[FORMATTING]
Timo Kreuzer [Fri, 30 Oct 2009 15:00:08 +0000 (15:00 +0000)]
[FORMATTING]
- apply consistent indentattion of 4 spaces
- remove () from return statements

svn path=/trunk/; revision=43848

12 years ago[WIN32K]
Timo Kreuzer [Fri, 30 Oct 2009 14:02:42 +0000 (14:02 +0000)]
[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

12 years ago[msi]
Michael Martin [Fri, 30 Oct 2009 12:53:19 +0000 (12:53 +0000)]
[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

12 years ago - Don't convert the host name to lower case
Cameron Gutman [Fri, 30 Oct 2009 04:29:38 +0000 (04:29 +0000)]
 - Don't convert the host name to lower case

svn path=/trunk/; revision=43844

12 years ago - Header updates for winsock rewrite
Cameron Gutman [Thu, 29 Oct 2009 20:56:47 +0000 (20:56 +0000)]
 - Header updates for winsock rewrite

svn path=/trunk/; revision=43834

12 years ago- Missed this file
Stefan Ginsberg [Thu, 29 Oct 2009 20:10:29 +0000 (20:10 +0000)]
- Missed this file

svn path=/trunk/; revision=43833

12 years ago- INITIAL_STALL_COUNT makes more sense in decimal (100) than hex (0x64) so define...
Stefan Ginsberg [Thu, 29 Oct 2009 19:58:41 +0000 (19:58 +0000)]
- 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

12 years agoundef min & max so they don't override the numeric_limits template methods
Ged Murphy [Thu, 29 Oct 2009 18:54:21 +0000 (18:54 +0000)]
undef min & max so they don't override the numeric_limits template methods

svn path=/trunk/; revision=43831

12 years agosilence debug
Sylvain Petreolle [Thu, 29 Oct 2009 18:28:27 +0000 (18:28 +0000)]
silence debug

svn path=/trunk/; revision=43830

12 years ago- Re-enable some debug prints for unsupported hardware features and make them consistent.
Stefan Ginsberg [Thu, 29 Oct 2009 18:26:22 +0000 (18:26 +0000)]
- Re-enable some debug prints for unsupported hardware features and make them consistent.

svn path=/trunk/; revision=43829

12 years ago- Implement the ThreadDescriptorTableEntry case for NtQueryInformationThread. This...
Stefan Ginsberg [Thu, 29 Oct 2009 10:04:15 +0000 (10:04 +0000)]
- 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

12 years ago- Silence debug garbage
Johannes Anderwald [Thu, 29 Oct 2009 08:28:03 +0000 (08:28 +0000)]
- Silence debug garbage

svn path=/trunk/; revision=43826

12 years agoRemove byte order mark.
Dmitry Gorbachev [Wed, 28 Oct 2009 23:53:50 +0000 (23:53 +0000)]
Remove byte order mark.

svn path=/trunk/; revision=43823

12 years agoPatch for Regional Settings applet by Viliam Lejcik (lejcik/at/gmail/com) with some...
Dmitry Gorbachev [Wed, 28 Oct 2009 23:20:28 +0000 (23:20 +0000)]
Patch for Regional Settings applet by Viliam Lejcik (lejcik/at/gmail/com) with some changes. Bug #4898.

svn path=/trunk/; revision=43821

12 years ago- Merge 43818 to trunk.
Stefan Ginsberg [Wed, 28 Oct 2009 21:49:58 +0000 (21:49 +0000)]
- Merge 43818 to trunk.
- Don't return any data for DbgKdSetBusDataApi either.

svn path=/trunk/; revision=43819

12 years ago- Add missing svn:eol-style properties.
Dmitry Gorbachev [Wed, 28 Oct 2009 20:13:23 +0000 (20:13 +0000)]
- Add missing svn:eol-style properties.
- Use consistent newline style.
- Update file COPYING.

svn path=/trunk/; revision=43817

12 years agoforgot to include winmm winetest on testcd
Sylvain Petreolle [Wed, 28 Oct 2009 18:51:17 +0000 (18:51 +0000)]
forgot to include winmm winetest on testcd

svn path=/trunk/; revision=43816

12 years ago- Silence wdmaud.drv
Johannes Anderwald [Wed, 28 Oct 2009 18:42:24 +0000 (18:42 +0000)]
- Silence wdmaud.drv

svn path=/trunk/; revision=43815

12 years agoadd winmm winetest
Sylvain Petreolle [Wed, 28 Oct 2009 15:15:59 +0000 (15:15 +0000)]
add winmm winetest

svn path=/trunk/; revision=43811

12 years ago[fastfat_new]
Aleksey Bragin [Wed, 28 Oct 2009 11:29:34 +0000 (11:29 +0000)]
[fastfat_new]
- Implement overwrite/supersede operations on an existing FCB, no on-disk writing yet.

svn path=/trunk/; revision=43809

12 years agosync widl to wine 1.1.32
Christoph von Wittich [Wed, 28 Oct 2009 11:28:26 +0000 (11:28 +0000)]
sync widl to wine 1.1.32

svn path=/trunk/; revision=43808

12 years agoAdd StringFromIID prototype
Johannes Anderwald [Wed, 28 Oct 2009 11:19:25 +0000 (11:19 +0000)]
Add StringFromIID prototype

svn path=/trunk/; revision=43807

12 years ago[fastfat_new]
Aleksey Bragin [Wed, 28 Oct 2009 10:18:57 +0000 (10:18 +0000)]
[fastfat_new]
- FatCreateCcb takes no parameters, so don't pass any. Spotted by Stefan's msvc.

svn path=/trunk/; revision=43806

12 years agoadd ac97 as optional
Christoph von Wittich [Wed, 28 Oct 2009 10:16:17 +0000 (10:16 +0000)]
add ac97 as optional

svn path=/trunk/; revision=43805

12 years agoThe winner of the 1st ReactOS Logon Sound contest has been elected. It is irc:LoneRif...
Johannes Anderwald [Wed, 28 Oct 2009 09:21:18 +0000 (09:21 +0000)]
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

12 years ago- [User32] Update MenuShowPopup with wine and add menu check for MenuTrackMenu. MenuT...
James Tabor [Wed, 28 Oct 2009 01:43:59 +0000 (01:43 +0000)]
- [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

12 years agoA dozen of Rapps Updates. Thx to Victor Martinez for fixing many dl links..
Daniel Reimer [Wed, 28 Oct 2009 00:18:45 +0000 (00:18 +0000)]
A dozen of Rapps Updates. Thx to Victor Martinez for fixing many dl links..

svn path=/trunk/; revision=43802

12 years agoSync kdcom from amd64 branch
Timo Kreuzer [Tue, 27 Oct 2009 23:38:56 +0000 (23:38 +0000)]
Sync kdcom from amd64 branch

svn path=/trunk/; revision=43801

12 years agomerge r43777 from amd64 branch
Timo Kreuzer [Tue, 27 Oct 2009 23:28:17 +0000 (23:28 +0000)]
merge r43777 from amd64 branch

svn path=/trunk/; revision=43800

12 years ago[WDMAUD.DRV][MMEBUDDY]
Johannes Anderwald [Tue, 27 Oct 2009 23:28:09 +0000 (23:28 +0000)]
[WDMAUD.DRV][MMEBUDDY]
- Implement support for DRV_QUERYDEVICEINTERFACESIZE, DRV_QUERYDEVICEINTERFACE for recording / mixer / midi-in midi-out

svn path=/trunk/; revision=43799

12 years ago- Move TI flages to main header file.
James Tabor [Tue, 27 Oct 2009 19:02:02 +0000 (19:02 +0000)]
- Move TI flages to main header file.

svn path=/trunk/; revision=43796

12 years ago[rapps]
Christoph von Wittich [Tue, 27 Oct 2009 18:45:58 +0000 (18:45 +0000)]
[rapps]
install Firefox 3.0.15 instead of 3.0.13

svn path=/trunk/; revision=43795

12 years agoRelease atsmedia.h, ddkernel.h, dmemmgr.h, dvp.h, ntstrsafe.h, objerror.h and polarit...
Stefan Ginsberg [Tue, 27 Oct 2009 16:27:33 +0000 (16:27 +0000)]
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

12 years ago- Add missing types
Johannes Anderwald [Tue, 27 Oct 2009 15:33:58 +0000 (15:33 +0000)]
- Add missing types

svn path=/trunk/; revision=43793

12 years ago- Fix a heap corruption at process shutdown
Johannes Anderwald [Tue, 27 Oct 2009 12:19:33 +0000 (12:19 +0000)]
- Fix a heap corruption at process shutdown
- Found by irc:encoded

svn path=/trunk/; revision=43791

12 years ago- Update address of Free Software Foundation.
Dmitry Gorbachev [Tue, 27 Oct 2009 10:34:16 +0000 (10:34 +0000)]
- Update address of Free Software Foundation.
- Update obsolete LGPL v2 to LGPL v2.1.

svn path=/trunk/; revision=43790

12 years ago- Replace broken implementation of HalpCalibrateStallExecution with a new implementat...
Stefan Ginsberg [Tue, 27 Oct 2009 01:03:41 +0000 (01:03 +0000)]
- 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

12 years ago[WDMAUD.DRV][WDMAUD_KERNEL][MMEBUDDY]
Johannes Anderwald [Mon, 26 Oct 2009 23:10:05 +0000 (23:10 +0000)]
[WDMAUD.DRV][WDMAUD_KERNEL][MMEBUDDY]
- Implement support for DRV_QUERYDEVICEINTERFACESIZE, DRV_QUERYDEVICEINTERFACE
- Required for DSound support

svn path=/trunk/; revision=43788

12 years ago - Add UltraVNC to the rapps list
Cameron Gutman [Mon, 26 Oct 2009 21:39:00 +0000 (21:39 +0000)]
 - Add UltraVNC to the rapps list
 - The VNC client works very well in ROS

svn path=/trunk/; revision=43787

12 years ago- Implement reading preferred playback / record device
Johannes Anderwald [Mon, 26 Oct 2009 19:40:21 +0000 (19:40 +0000)]
- Implement reading preferred playback / record device

svn path=/trunk/; revision=43784

12 years ago- Revert 43774
Johannes Anderwald [Mon, 26 Oct 2009 19:32:25 +0000 (19:32 +0000)]
- Revert 43774

svn path=/trunk/; revision=43783

12 years ago- Fix wine class test with a sync with wine edit.c.
James Tabor [Mon, 26 Oct 2009 18:26:48 +0000 (18:26 +0000)]
- Fix wine class test with a sync with wine edit.c.

svn path=/trunk/; revision=43782

12 years agofix wavemapper path
Sylvain Petreolle [Mon, 26 Oct 2009 13:54:46 +0000 (13:54 +0000)]
fix wavemapper path

svn path=/trunk/; revision=43780

12 years ago- Add an initial stub of DSound
Johannes Anderwald [Mon, 26 Oct 2009 10:54:05 +0000 (10:54 +0000)]
- Add an initial stub of DSound

svn path=/trunk/; revision=43774

12 years agoWe should send WM_SYSCOMMAND when we get a WM_SYSKEYUP , not when we get a WM_SYSKEYD...
Giannis Adamopoulos [Mon, 26 Oct 2009 08:53:47 +0000 (08:53 +0000)]
We should send WM_SYSCOMMAND when we get a WM_SYSKEYUP , not when we get a WM_SYSKEYDOWN message

svn path=/trunk/; revision=43773

12 years agoimplement IntKeyboardInput based on wine
Christoph von Wittich [Mon, 26 Oct 2009 08:50:00 +0000 (08:50 +0000)]
implement IntKeyboardInput based on wine

svn path=/trunk/; revision=43772

12 years ago - Comment out this unused code until I can get the headers sorted out in my WC
Cameron Gutman [Mon, 26 Oct 2009 03:28:43 +0000 (03:28 +0000)]
 - Comment out this unused code until I can get the headers sorted out in my WC

svn path=/trunk/; revision=43771

12 years ago - Forgot this file
Cameron Gutman [Mon, 26 Oct 2009 03:19:30 +0000 (03:19 +0000)]
 - Forgot this file

svn path=/trunk/; revision=43769

12 years ago - Update AFD's shared header
Cameron Gutman [Mon, 26 Oct 2009 03:11:44 +0000 (03:11 +0000)]
 - Update AFD's shared header
 - Add entity type check for IF_MIB_STATS_ID
 - Sort out some confusion with TDI entities
 - Implement IOCTL_AFD_GET_CONTEXT_SIZE
 - Enable debug prints for unimplemented ioctls
 - Add kernel-mode support for setting TTL

svn path=/trunk/; revision=43767

12 years ago[WDMAUD.DRV]
Johannes Anderwald [Mon, 26 Oct 2009 00:15:22 +0000 (00:15 +0000)]
[WDMAUD.DRV]
- Set the audio pin to KSSTATE_RUN if it is wave-out pin
- Implement support for manually starting / stopping a pin, which is used for recording
[WINMM]
- Add a hack for handling requests with WAVE_MAPPER
[PORTCLS]
- Pass correct flags to KsProbeStreamIrp when the irp has not already been probed (DirectKs)
[WDMAUD]
- Set correct irp dispatch code
[SYSAUDIO]
- Remove a hack
[MMEBUDDY]
- Return no error for MXDM_INIT message
- Add support for completing multiple wave headers at once
- Use new functions to implement WIDM_START / WIDM_STOP
- ReactOS now "supports" wave in recording. Tested with Audacity / sndrec32 @ XP, WIP

svn path=/trunk/; revision=43765

12 years agoJapanese font. Based on Misaki font by Num Kadoma (num_kadoma/at/yahoo/co/jp).
Dmitry Gorbachev [Sun, 25 Oct 2009 23:46:45 +0000 (23:46 +0000)]
Japanese font. Based on Misaki font by Num Kadoma (num_kadoma/at/yahoo/co/jp).

Copyright (C) 2002-2008 Num Kadoma

This font is free software.

Unlimited permission is granted to use, copy, and distribute it, with
or without modification, either commercially or noncommercially.

THIS FONT IS PROVIDED "AS IS" WITHOUT WARRANTY.

svn path=/trunk/; revision=43764

12 years agofix "no newline at end of file" errors
Sylvain Petreolle [Sun, 25 Oct 2009 23:10:28 +0000 (23:10 +0000)]
fix "no newline at end of file" errors

svn path=/trunk/; revision=43762

12 years agoremove unused file
Timo Kreuzer [Sun, 25 Oct 2009 22:04:32 +0000 (22:04 +0000)]
remove unused file

svn path=/trunk/; revision=43758

12 years ago-sync rsaenh_winetest with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 21:16:33 +0000 (21:16 +0000)]
-sync rsaenh_winetest with wine 1.1.32

svn path=/trunk/; revision=43756

12 years ago-sync rsaenh with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 21:16:15 +0000 (21:16 +0000)]
-sync rsaenh with wine 1.1.32

svn path=/trunk/; revision=43755

12 years agopartial kernel32 GetLocaleInfo sync to wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 21:02:58 +0000 (21:02 +0000)]
partial kernel32 GetLocaleInfo sync to wine 1.1.32

svn path=/trunk/; revision=43754

12 years ago-sync user32_winetest with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 20:32:13 +0000 (20:32 +0000)]
-sync user32_winetest with wine 1.1.32

svn path=/trunk/; revision=43752

12 years ago-sync msxml3 with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 20:21:51 +0000 (20:21 +0000)]
-sync msxml3 with wine 1.1.32

svn path=/trunk/; revision=43751

12 years ago-sync netapi32 with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 19:24:08 +0000 (19:24 +0000)]
-sync netapi32 with wine 1.1.32

svn path=/trunk/; revision=43750

12 years ago[win32k] Stub out page to device space conversion, fixes three more gdi32 mapping...
Gregor Schneider [Sun, 25 Oct 2009 18:49:08 +0000 (18:49 +0000)]
[win32k] Stub out page to device space conversion, fixes three more gdi32 mapping winetests

svn path=/trunk/; revision=43749

12 years ago- Make sure that no duplicate wdmaud.drv audio drivers exists as winmm currently...
Johannes Anderwald [Sun, 25 Oct 2009 18:22:03 +0000 (18:22 +0000)]
- Make sure that no duplicate wdmaud.drv audio drivers exists as winmm currently not recognizes duplicate audio driver entries

svn path=/trunk/; revision=43748

12 years ago- Partially sync winmm
Johannes Anderwald [Sun, 25 Oct 2009 17:54:50 +0000 (17:54 +0000)]
- Partially sync winmm
- Remove unused code
- Fix function headers

svn path=/trunk/; revision=43747

12 years agopartially sync kernel32 profile to wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 17:28:35 +0000 (17:28 +0000)]
partially sync kernel32 profile to wine 1.1.32

svn path=/trunk/; revision=43746

12 years ago[win32k] GetTransform:
Gregor Schneider [Sun, 25 Oct 2009 17:23:19 +0000 (17:23 +0000)]
[win32k] GetTransform:
- Add support for more transforms
- Fix return value for invalid/unsupported transform types
- Fixes 10 gdi32 mapping winetests

svn path=/trunk/; revision=43745

12 years ago-sync kernel32_winetest with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 16:21:40 +0000 (16:21 +0000)]
-sync kernel32_winetest with wine 1.1.32

svn path=/trunk/; revision=43744

12 years agoadd define for LOCALE_RETURN_GENITIVE_NAMES
Christoph von Wittich [Sun, 25 Oct 2009 16:20:45 +0000 (16:20 +0000)]
add define for LOCALE_RETURN_GENITIVE_NAMES

svn path=/trunk/; revision=43743

12 years agobetter stub for RtlQueryHeapInformation (taken from wine)
Christoph von Wittich [Sun, 25 Oct 2009 16:20:00 +0000 (16:20 +0000)]
better stub for RtlQueryHeapInformation (taken from wine)

svn path=/trunk/; revision=43742

12 years ago- DBGKD_WAIT_STATE_CHANGE64 is used in KD protocol 5, not number 6 that we use. Proto...
Stefan Ginsberg [Sun, 25 Oct 2009 15:56:38 +0000 (15:56 +0000)]
- DBGKD_WAIT_STATE_CHANGE64 is used in KD protocol 5, not number 6 that we use. Protocol 6 uses the DBGKD_ANY_WAIT_STATE_CHANGE structure which is sized according to the largest control-report structure (AMD64_DBGKD_CONTROL_REPORT currently), and is larger than DBGKD_WAIT_STATE_CHANGE64 on x86. This worked because our DBGKD_WAIT_STATE_CHANGE32/64 structures contained incorrect DBGKD_CONTROL_REPORT (used) and CONTEXT (unused) members that sized up the wait-state structure to pass WinDbg's length verification! It actually becomes larger than DBGKD_ANY_WAIT_STATE_CHANGE, but WinDbg only seems bail out only if the structure is too small. Remove the incorrect members from the protocol 5 structures and change to DBGKD_ANY_WAIT_STATE_CHANGE everywhere.
- Correct the value of SIZE_OF_FX_REGISTERS -- it was 4 times too low which resulted in KeContextToTrapFrame not properly clearing out the XMM register area. Correct the define and move it out from ke.h to x86's ketypes.h and use it in the FXSAVE format structure. Also remove the IOPM definitions from ke.h as they have been in the NDK for a while.
- KD uses STRINGs, not ANSI_STRINGs -- they are the same thing, but let's be consistent.
- ExceptionRecord32To64 should be available for both 32 and 64 bit builds (and it shouldn't be a forceinline). Get rid of CopyExceptionRecord and determine if we need to convert or can just copy it directly instead.
- Use _WIN64 instead of _M_AMD64 when determining if we need to set the DBGKD_VERS_FLAG_PTR64 flag.
- Don't check Nt/DbgQueryDebugFilterState for zero or nonzero -- it actually returns TRUE, FALSE or STATUS_INVALID_PARAMETER_1! Check for != TRUE in preparation for proper implementation of NtSet/QueryDebugFilterState.
- Fix Format parameter of DbgPrintReturnControlC -- it is const like the other DbgPrint* routines.
- Be consistent with the types used in debug.c and don't set local variables to zero if we are going to return to caller -- this doesn't seem to be required anymore.
- Fix DebugService and DebugService2: DebugService should take a ULONG followed by 4 pointers and DebugService2 doesn't return anything.
- Use ZwCurrentProcess() instead of -1 or 0xFFFFFFFF (which is incorrect for 64-bit) for the ProcessId parameter of DbgLoad/UnloadImageSymbols to clarify what is being passed. Don't use ZwCurrentProcess() in KeBugCheckWithTf for the pointer parameter of DbgUnLoadImageSymbols either. Use MAXULONG_PTR casted to PVOID instead.
- Use better named and sized variables in KdpTrap for setting the "return register" in the caller's CONTEXT.
- Correct and clarify the comment documenting under what conditions we pass user mode exceptions to the kernel debugger.

svn path=/trunk/; revision=43741

12 years ago-sync cabinet with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 13:45:15 +0000 (13:45 +0000)]
-sync cabinet with wine 1.1.32

svn path=/trunk/; revision=43740

12 years agodon't crash in msi install winetest
Christoph von Wittich [Sun, 25 Oct 2009 11:14:03 +0000 (11:14 +0000)]
don't crash in msi install winetest

svn path=/trunk/; revision=43737

12 years ago-sync msi_winetest with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 11:06:38 +0000 (11:06 +0000)]
-sync msi_winetest with wine 1.1.32

svn path=/trunk/; revision=43736

12 years ago-sync msi with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 11:06:09 +0000 (11:06 +0000)]
-sync msi with wine 1.1.32

svn path=/trunk/; revision=43735

12 years agoSync DrawText funtions with wine 1.1.32
Giannis Adamopoulos [Sun, 25 Oct 2009 09:32:01 +0000 (09:32 +0000)]
Sync DrawText funtions with wine 1.1.32
Fixes all user32 text tests

svn path=/trunk/; revision=43734

12 years agopartial wine sync to 1.1.32:
Christoph von Wittich [Sun, 25 Oct 2009 08:52:54 +0000 (08:52 +0000)]
partial wine sync to 1.1.32:
 wininet: Avoid accessing uninitialized memory.

svn path=/trunk/; revision=43733

12 years ago - Fix sending malformed ICMP packets because we read the wrong length from the wrong...
Cameron Gutman [Sun, 25 Oct 2009 04:30:28 +0000 (04:30 +0000)]
 - Fix sending malformed ICMP packets because we read the wrong length from the wrong address in the buffer
 - Fix the sequence number stored in the packet
 - Fix potential null pointer freeing
 - tracert partially works now (Setting TTL isn't implemented yet)

svn path=/trunk/; revision=43732

12 years ago - Start the sequence number at 1 instead of 0
Cameron Gutman [Sun, 25 Oct 2009 03:48:15 +0000 (03:48 +0000)]
 - Start the sequence number at 1 instead of 0

svn path=/trunk/; revision=43731

12 years ago[fastfat_new]
Aleksey Bragin [Sat, 24 Oct 2009 21:05:42 +0000 (21:05 +0000)]
[fastfat_new]
- Fix FF_Free warning.

svn path=/trunk/; revision=43725

12 years ago- Fix a sneaky breakage of MSVC built kernels. "i386" is a gcc define and we don...
Stefan Ginsberg [Sat, 24 Oct 2009 20:44:43 +0000 (20:44 +0000)]
- Fix a sneaky breakage of MSVC built kernels. "i386" is a gcc define and we don't define it in the makefiles.

svn path=/trunk/; revision=43724

12 years ago - Implement SetIpNetEntry in iphlpapi and InfoTdiSetArptableMIB in tcpip
Cameron Gutman [Sat, 24 Oct 2009 20:39:41 +0000 (20:39 +0000)]
 - Implement SetIpNetEntry in iphlpapi and InfoTdiSetArptableMIB in tcpip
 - Added buffer size checks for InfoTdiSetRoute
 - "arp -s" works now

svn path=/trunk/; revision=43723

12 years ago- Don't put PAGED_CODE() before variable declarations -- this makes MSVC very, very...
Stefan Ginsberg [Sat, 24 Oct 2009 20:35:10 +0000 (20:35 +0000)]
- Don't put PAGED_CODE() before variable declarations -- this makes MSVC very, very sad. Reformat and clean up the code a bit too.

svn path=/trunk/; revision=43722

12 years agochinese Translations by Elton Chung.
Daniel Reimer [Sat, 24 Oct 2009 19:27:51 +0000 (19:27 +0000)]
chinese Translations by Elton Chung.

svn path=/trunk/; revision=43721

12 years agoSync wordpad and winhlp32 to Wine 1.1.31
Daniel Reimer [Sat, 24 Oct 2009 17:23:52 +0000 (17:23 +0000)]
Sync wordpad and winhlp32 to Wine 1.1.31
Update 3rd Party Files.txt

svn path=/trunk/; revision=43719

12 years ago- Add reg.exe from Wine 1.1.31
Sylvain Petreolle [Sat, 24 Oct 2009 15:23:45 +0000 (15:23 +0000)]
- Add reg.exe from Wine 1.1.31

svn path=/trunk/; revision=43718

12 years agoadd missing checks
Sylvain Petreolle [Sat, 24 Oct 2009 15:13:30 +0000 (15:13 +0000)]
add missing checks
fixes winmm:mixer crash

svn path=/trunk/; revision=43717

12 years ago- Fix Russian translation
Dmitry Chapyshev [Sat, 24 Oct 2009 14:34:11 +0000 (14:34 +0000)]
- Fix Russian translation

svn path=/trunk/; revision=43716

12 years ago- merge some of the more meaningful stuff from the reactx branch
Kamil Hornicek [Sat, 24 Oct 2009 14:09:48 +0000 (14:09 +0000)]
- merge some of the more meaningful stuff from the reactx branch

svn path=/trunk/; revision=43715

12 years ago- Add reg.exe from Wine 1.1.31
Dmitry Chapyshev [Sat, 24 Oct 2009 13:32:45 +0000 (13:32 +0000)]
- Add reg.exe from Wine 1.1.31

svn path=/trunk/; revision=43714

12 years ago- Add runonce.exe to bootcd
Dmitry Chapyshev [Sat, 24 Oct 2009 13:15:38 +0000 (13:15 +0000)]
- Add runonce.exe to bootcd

svn path=/trunk/; revision=43712

12 years ago- Add some registry keys (like in Windows)
Dmitry Chapyshev [Sat, 24 Oct 2009 13:13:20 +0000 (13:13 +0000)]
- Add some registry keys (like in Windows)

svn path=/trunk/; revision=43711