reactos.git
11 years agoSync with trunk r43123
Timo Kreuzer [Wed, 23 Sep 2009 21:01:57 +0000 (21:01 +0000)]
Sync with trunk r43123

svn path=/branches/ros-amd64-bringup/; revision=43125

11 years ago[freeldr] Partition numbers are 1 based
Hervé Poussineau [Wed, 23 Sep 2009 19:07:49 +0000 (19:07 +0000)]
[freeldr] Partition numbers are 1 based

svn path=/trunk/; revision=43123

11 years agoUpdate log2lines to version 1.1. Patch by Jan Roeloffzen. Bug #4342.
Dmitry Gorbachev [Wed, 23 Sep 2009 10:33:11 +0000 (10:33 +0000)]
Update log2lines to version 1.1. Patch by Jan Roeloffzen. Bug #4342.

svn path=/trunk/; revision=43122

11 years ago - Comment out RegNotifyChangeKeyValue call until it gets implemented
Cameron Gutman [Wed, 23 Sep 2009 01:17:14 +0000 (01:17 +0000)]
 - Comment out RegNotifyChangeKeyValue call until it gets implemented
 - WSAStartup succeeds now

svn path=/trunk/; revision=43121

11 years agoAllocate a TLS slot once at process join and treat TlsIndex as an alias to it.
Art Yerkes [Wed, 23 Sep 2009 00:45:19 +0000 (00:45 +0000)]
Allocate a TLS slot once at process join and treat TlsIndex as an alias to it.

svn path=/trunk/; revision=43120

11 years ago[win32k]
Aleksey Bragin [Tue, 22 Sep 2009 21:50:33 +0000 (21:50 +0000)]
[win32k]
- Giannis Adamopoulos: Don't do callbacks to usermode when holding the lock. Fixes the famous "VMWare video driver installer 2nd stage hang" bug. Signed off by James Tabor.
See issue #2666 for more details.

svn path=/trunk/; revision=43119

11 years ago- Get rid of the KDB_MODULE_INFO and operate with LDR_DATA_TABLE_ENTRYs directly.
Colin Finck [Tue, 22 Sep 2009 21:31:55 +0000 (21:31 +0000)]
- Get rid of the KDB_MODULE_INFO and operate with LDR_DATA_TABLE_ENTRYs directly.
  This saves us from some copy steps and unneeded search operations.
- Fix loading HAL.DLL symbols.
  This module is not guaranteed to be the second one in PsLoadedModuleList due to the kernel loading bootvid.dll.
- Don't duplicate code in KdbpSymFindModule and KdbpSymFindUserModule. Use a helper function instead and call it twice from KdbpSymFindModule.
- Get rid of KdbpSymFindModuleByAddress, KdbpSymFindModuleByName and KdbpSymFindModuleByIndex. Instead use a single KdbpSymFindModule for all three variants.
- Remove some unused functions and defines.

svn path=/trunk/; revision=43118

11 years ago[freeldr] Never ever define a macro as multiple instructions. It may lead to subtle...
Hervé Poussineau [Tue, 22 Sep 2009 20:33:56 +0000 (20:33 +0000)]
[freeldr] Never ever define a macro as multiple instructions. It may lead to subtle bugs

svn path=/trunk/; revision=43117

11 years ago- Fix memory leak
Johannes Anderwald [Tue, 22 Sep 2009 20:09:11 +0000 (20:09 +0000)]
- Fix memory leak
- Fix displaying of random characters if there is no device name

svn path=/trunk/; revision=43116

11 years ago[freeldr] Rework NTFS filesystem to not be tied to boot filesystem
Hervé Poussineau [Tue, 22 Sep 2009 19:37:11 +0000 (19:37 +0000)]
[freeldr] Rework NTFS filesystem to not be tied to boot filesystem

svn path=/trunk/; revision=43115

11 years ago[freeldr] Move definition of maximum number of available file descriptors to fs.h
Hervé Poussineau [Tue, 22 Sep 2009 19:33:34 +0000 (19:33 +0000)]
[freeldr] Move definition of maximum number of available file descriptors to fs.h
Fix typos

svn path=/trunk/; revision=43114

11 years ago[freeldr] Accept to read blocks whose size is not a multiple of device sector size
Hervé Poussineau [Tue, 22 Sep 2009 19:32:35 +0000 (19:32 +0000)]
[freeldr] Accept to read blocks whose size is not a multiple of device sector size

svn path=/trunk/; revision=43113

11 years ago- Partly implement IBandSite, IMenuBand
Johannes Anderwald [Tue, 22 Sep 2009 18:30:39 +0000 (18:30 +0000)]
- Partly implement IBandSite, IMenuBand

svn path=/trunk/; revision=43112

11 years ago- Fix a bug spotted by Timo
Johannes Anderwald [Tue, 22 Sep 2009 13:54:33 +0000 (13:54 +0000)]
- Fix a bug spotted by Timo

svn path=/trunk/; revision=43111

11 years ago- Stubplement IBandSite interface
Johannes Anderwald [Tue, 22 Sep 2009 13:52:54 +0000 (13:52 +0000)]
- Stubplement IBandSite interface

svn path=/trunk/; revision=43110

11 years ago- don't return false on success
Kamil Hornicek [Tue, 22 Sep 2009 10:29:27 +0000 (10:29 +0000)]
- don't return false on success

svn path=/trunk/; revision=43109

11 years ago- Use __writeeflags instead of clc to clear the carry flag.
Stefan Ginsberg [Mon, 21 Sep 2009 22:08:44 +0000 (22:08 +0000)]
- Use __writeeflags instead of clc to clear the carry flag.

svn path=/trunk/; revision=43108

11 years ago- Fix up-down control spinning
Johannes Anderwald [Mon, 21 Sep 2009 19:31:19 +0000 (19:31 +0000)]
- Fix up-down control spinning

See issue #3390 for more details.

svn path=/trunk/; revision=43107

11 years ago- Fix playing global thermo nuclear war in ReactOS
Johannes Anderwald [Mon, 21 Sep 2009 18:11:52 +0000 (18:11 +0000)]
- Fix playing global thermo nuclear war in ReactOS
- Found by encoded

svn path=/trunk/; revision=43105

11 years ago- Add the missing Result return pointed out by Michael Martin.
James Tabor [Mon, 21 Sep 2009 17:29:26 +0000 (17:29 +0000)]
- Add the missing Result return pointed out by Michael Martin.

svn path=/trunk/; revision=43104

11 years agoMega compiler intrinsics patch:
Stefan Ginsberg [Mon, 21 Sep 2009 15:20:18 +0000 (15:20 +0000)]
Mega compiler intrinsics patch:

FreeLdr
- Goodbye Ke386EraseFlags & KeAmd64EraseFlags. Welcome __writeeflags.
- Respect MSVC when generating clc (clear carry flag) instruction in PcGetTime.
- Use portable __wbinvd instead of __asm__ in XboxMemInit.
- Replace broken gcc assembly by portable intrinsics in WinLdrpMapApic.
- Use portable Ke386SetSs and Ke386SetGs (new) in WinLdrSetProcessorContext.
- The far jump in WinLdrSetProcessorContext can not be expressed in masm, so we use a (untested) far return instead.

Kernel
- Replace Ke386Set/GetInterruptDescriptorTable, Ke386Save/RestoreFlags, Ke386Set/GetDr, Ki386Cpuid, Ke386Rdmsr and Ke386Wrmsr by MSVC alternatives present in intrin.h.
- Fixed Ke386Get/SetGlobalDescriptorTable, Ke386GetLocalDescriptorTable and Ke386GetTr -- the intrinsics were completely broken for MSVC and generated bogus code. Moreover, Ke386Set/GetInterruptDescriptorTable and Ke386Rdmsr were also affected. This lets us (in addition to having a bootable, working msvc compiled kernel) get rid of several hacky variable zero-initializations that hid this bug -- the way MSVC interpreted the inlined assembly resulted in uninitialized variable usage.
- Implement Ke386SetGs and add missing Ke386SetGs for gcc.
- KdPollBreakIn: Use portable KeDisableInterrupts instead of x86 intrinsics and flags.

svn path=/trunk/; revision=43103

11 years agoLogfWriteData: Add missing LeaveCriticalSection before returning from function. Found...
Michael Martin [Mon, 21 Sep 2009 12:49:25 +0000 (12:49 +0000)]
LogfWriteData: Add missing LeaveCriticalSection before returning from function. Found by Amine Khaldi

svn path=/trunk/; revision=43102

11 years ago- Working with Michael Martin to fix the LoadMenu callback bug. MenuName is a variabl...
James Tabor [Mon, 21 Sep 2009 01:22:32 +0000 (01:22 +0000)]
- Working with Michael Martin to fix the LoadMenu callback bug. MenuName is a variable string buffer and not a pointer. The minimum size is always four bytes. Initialization of the structure, zero out the memory, allowing Intersource check to function as it should. To make it Intersource, use the first word character in the buffer.

svn path=/trunk/; revision=43101

11 years ago - Stub and export GetAddrInfoW
Cameron Gutman [Sun, 20 Sep 2009 22:20:16 +0000 (22:20 +0000)]
 - Stub and export GetAddrInfoW

svn path=/trunk/; revision=43100

11 years ago - Simplify and fix a few bugs in datagram reassembly
Cameron Gutman [Sun, 20 Sep 2009 21:07:45 +0000 (21:07 +0000)]
 - Simplify and fix a few bugs in datagram reassembly
 - Implement reassembly timeout

svn path=/trunk/; revision=43099

11 years agoUpdate / add Japanese translations. Tomoya Kitagawa, bug #4852.
Dmitry Gorbachev [Sun, 20 Sep 2009 19:35:23 +0000 (19:35 +0000)]
Update / add Japanese translations. Tomoya Kitagawa, bug #4852.

svn path=/trunk/; revision=43098

11 years ago- Fix a crash when an application hasnt defined a event label
Johannes Anderwald [Sun, 20 Sep 2009 17:44:52 +0000 (17:44 +0000)]
- Fix a crash when an application hasnt defined a event label

svn path=/trunk/; revision=43097

11 years ago- Rewrite sound scheme handling
Johannes Anderwald [Sun, 20 Sep 2009 15:47:32 +0000 (15:47 +0000)]
- Rewrite sound scheme handling
- Implement changing sound scheme & sound action

svn path=/trunk/; revision=43096

11 years ago - Partial rewrite of dispatch()
Cameron Gutman [Sun, 20 Sep 2009 15:00:08 +0000 (15:00 +0000)]
 - Partial rewrite of dispatch()
 - Header cleanup
 - Fix several bugs related to null pointer access and out-of-bounds array access
 - Found by Amine Khaldi
 - This should fix the issue with dhcp crashing and hogging tons of cpu time

svn path=/trunk/; revision=43095

11 years ago- Fix several bugs in printer ' IShellFolder implementation
Johannes Anderwald [Sun, 20 Sep 2009 04:21:29 +0000 (04:21 +0000)]
- Fix several bugs in printer ' IShellFolder implementation
- Partly implement IShellFolder::GetAttributesOf
- Implement IShellFolder::GetDisplayNameOf for root pidl
- Implement ISF_ControlPanel_fnParseDisplayName to parse display names
<spoiler>Gets rid of the annoying message box when clicking on the printer folder in the start menu</spoiler>

svn path=/trunk/; revision=43094

11 years ago - Remove a DbgPrint that was forgotten
Cameron Gutman [Sun, 20 Sep 2009 01:58:06 +0000 (01:58 +0000)]
 - Remove a DbgPrint that was forgotten

svn path=/trunk/; revision=43093

11 years ago - Fix GetIpNetTable
Cameron Gutman [Sun, 20 Sep 2009 01:37:40 +0000 (01:37 +0000)]
 - Fix GetIpNetTable
 - Arp -a will now show a complete list of ARP information

svn path=/trunk/; revision=43092

11 years ago- Update Edit wine tests.
James Tabor [Sat, 19 Sep 2009 23:37:32 +0000 (23:37 +0000)]
- Update Edit wine tests.

svn path=/trunk/; revision=43090

11 years ago- Wine sync up to 1.1.29 Edit controls.
James Tabor [Sat, 19 Sep 2009 23:31:17 +0000 (23:31 +0000)]
- Wine sync up to 1.1.29 Edit controls.

svn path=/trunk/; revision=43089

11 years ago- Header cleanup +1.
James Tabor [Sat, 19 Sep 2009 22:21:12 +0000 (22:21 +0000)]
- Header cleanup +1.

svn path=/trunk/; revision=43088

11 years ago- Header cleanup.
James Tabor [Sat, 19 Sep 2009 22:20:43 +0000 (22:20 +0000)]
- Header cleanup.

svn path=/trunk/; revision=43087

11 years ago- Two bugs found by Michael Martin.
James Tabor [Sat, 19 Sep 2009 22:17:25 +0000 (22:17 +0000)]
- Two bugs found by Michael Martin.

svn path=/trunk/; revision=43086

11 years agoMerge from amd64 branch:
Timo Kreuzer [Sat, 19 Sep 2009 22:16:27 +0000 (22:16 +0000)]
Merge from amd64 branch:

35746 sserapion Convert crtdll to WINE's spec file.
35789 sserapion re-add missing api, remove unneded file
36614 sserapion convert d3d8 to spec
36930 sserapion Fix more rbuild files and fix up gdi32 and glu32 spec files.
38148 tkreuzer convert d3d8thk to spec
38151 tkreuzer convert ddraw to spec
38265 sserapion devcpux:- Fix ProcessorDlgProc definition - Convert to spec.
      slayer:- Convert to spec.
38268 sserapion devcpux:- Fix ProcessorDlgProc definition
39333 tkreuzer hid: convert to spec (taken from wine)
39345 tkreuzer ksuser: convert to spec, don't allow warnings
40991 tkreuzer msafd: convert to spec / fix 64bit build
41000 tkreuzer mswsock: convert to spec, taken from wine
41050 tkreuzer sndblast: convert to spec
43080 tkreuzer winsta: convert to spec and fix duplicate definition
41082 tkreuzer twaain_32: convert to spec
41083 tkreuzer uext: convert to spec
41084 tkreuzer ufat: convert to spec
41085 tkreuzer ufatx: convert to spec
41086 tkreuzer untfs: convert to spec
41549 tkreuzer winfax: covert to spec

svn path=/trunk/; revision=43085

11 years agowinsta: fix spec file
Timo Kreuzer [Sat, 19 Sep 2009 21:21:08 +0000 (21:21 +0000)]
winsta: fix spec file

svn path=/branches/ros-amd64-bringup/; revision=43084

11 years agoupdate syssetup.spec from trunk
Timo Kreuzer [Sat, 19 Sep 2009 20:25:10 +0000 (20:25 +0000)]
update syssetup.spec from trunk

svn path=/branches/ros-amd64-bringup/; revision=43083

11 years agomerge from amd-64 branch:
Timo Kreuzer [Sat, 19 Sep 2009 16:13:34 +0000 (16:13 +0000)]
merge from amd-64 branch:
r40992: msconfig: don't use inline functions as case labels [[Timo Kreuzer]]

svn path=/trunk/; revision=43082

11 years ago- Implement "Settings" dialog.
Dmitry Chapyshev [Sat, 19 Sep 2009 16:04:38 +0000 (16:04 +0000)]
- Implement "Settings" dialog.
- Implement save of position of a window
- Implement installation/deinstallation logs
- Implement auto updating programs list at start
- Remove unused code from loaddlg.c
- Some small changes bug fixes

svn path=/trunk/; revision=43081

11 years agoconvert to spec and fix duplicate definition
Timo Kreuzer [Sat, 19 Sep 2009 14:06:47 +0000 (14:06 +0000)]
convert to spec and fix duplicate definition

svn path=/branches/ros-amd64-bringup/; revision=43080

11 years agoSync with trunk r43000
Timo Kreuzer [Sat, 19 Sep 2009 13:58:16 +0000 (13:58 +0000)]
Sync with trunk r43000

svn path=/branches/ros-amd64-bringup/; revision=43079

11 years ago - Fix a small bug in the route selection code
Cameron Gutman [Sat, 19 Sep 2009 03:22:26 +0000 (03:22 +0000)]
 - Fix a small bug in the route selection code

svn path=/trunk/; revision=43078

11 years ago - Changed some behavior from the last neighbor cache rewrite
Cameron Gutman [Sat, 19 Sep 2009 01:39:16 +0000 (01:39 +0000)]
 - Changed some behavior from the last neighbor cache rewrite
 - NCEs are no longer destroyed when they become stale so the hardware address can be saved for direct communication
 - The route selection code has been changed to choose against stale NCEs if possible

svn path=/trunk/; revision=43077

11 years ago - Partial rewrite of CHEW
Cameron Gutman [Sat, 19 Sep 2009 00:58:36 +0000 (00:58 +0000)]
 - Partial rewrite of CHEW
 - Remove some unneeded work item usage
 - Remove an unused member of DISCONNECT_TYPE

svn path=/trunk/; revision=43076

11 years ago- Fix a couple of bugs in the uniata ATA code spotted by bearwindows. ICH8/ICH9/ICH10...
Aleksey Bragin [Fri, 18 Sep 2009 22:25:34 +0000 (22:25 +0000)]
- Fix a couple of bugs in the uniata ATA code spotted by bearwindows. ICH8/ICH9/ICH10 should be supported now.

svn path=/trunk/; revision=43075

11 years ago- Use msvc intrinsics in HAL instead of Ke386*
Stefan Ginsberg [Fri, 18 Sep 2009 20:56:49 +0000 (20:56 +0000)]
- Use msvc intrinsics in HAL instead of Ke386*

svn path=/trunk/; revision=43074

11 years ago- _mingw.h: Don't define __attribute__ to nothing -- this is only good for creating...
Stefan Ginsberg [Fri, 18 Sep 2009 15:22:28 +0000 (15:22 +0000)]
- _mingw.h: Don't define __attribute__ to nothing -- this is only good for creating bugs.
- sect_attribs.h: Define _CRTALLOC for msvc. Enable #pragma section and add missing .tls and .tls$ZZZ.
- mingw runtime: Only use __attribute__((weak)) for gcc.
- freeldr: Use #pragma pack instead of __attribute__((packed)).
- kernel32: Only alias __cxa_pure_virtual to _purecall for gcc.

svn path=/trunk/; revision=43073

11 years ago- Fix a bug which broke build
Johannes Anderwald [Fri, 18 Sep 2009 09:29:39 +0000 (09:29 +0000)]
- Fix a bug which broke build

svn path=/trunk/; revision=43072

11 years ago- Allow creating a copy of a file residing in the same directory
Johannes Anderwald [Fri, 18 Sep 2009 00:48:47 +0000 (00:48 +0000)]
- Allow creating a copy of a file residing in the same directory
- Free the correct the buffer
- Romanian language needs to be updated
See issue #4846 for more details.

svn path=/trunk/; revision=43070

11 years ago - Use proper object attributes and share access when opening the file object
Cameron Gutman [Thu, 17 Sep 2009 23:09:16 +0000 (23:09 +0000)]
 - Use proper object attributes and share access when opening the file object
 - Fixes a rare INVALID_KERNEL_HANDLE BSOD and debug log handle warnings from AFD when using Firefox
 - See bug #4796

svn path=/trunk/; revision=43069

11 years ago- Implement ISFHelper_fnCopyItems for desktop shellfolder
Johannes Anderwald [Thu, 17 Sep 2009 22:57:50 +0000 (22:57 +0000)]
- Implement ISFHelper_fnCopyItems for desktop shellfolder
- Check if the target folder desktop
- Fixes copying of files to desktop

See issue #4845 for more details.

svn path=/trunk/; revision=43068

11 years ago- Fix kernel build regression for MSVC from 43014
Stefan Ginsberg [Thu, 17 Sep 2009 18:28:26 +0000 (18:28 +0000)]
- Fix kernel build regression for MSVC from 43014

svn path=/trunk/; revision=43067

11 years agoPatch by maxime vernier (bugzilla bug 4661).
Art Yerkes [Thu, 17 Sep 2009 16:07:37 +0000 (16:07 +0000)]
Patch by maxime vernier (bugzilla bug 4661).
Fix the ghost bug and the graphical glitch with process id 0

svn path=/trunk/; revision=43066

11 years ago- Use __MINGW_NOTHROW instead of __attribute__
Stefan Ginsberg [Thu, 17 Sep 2009 15:47:35 +0000 (15:47 +0000)]
- Use __MINGW_NOTHROW instead of __attribute__

svn path=/trunk/; revision=43065

11 years ago- Fix uninitialized variable usage in DefWindowProcA/W
Stefan Ginsberg [Thu, 17 Sep 2009 15:46:24 +0000 (15:46 +0000)]
- Fix uninitialized variable usage in DefWindowProcA/W
- Don't inline EnableScrollBar as a forwarder for NtUserEnableScrollBar when it is implemented differently. Also define EXTINLINE compatibly for MSVC.

svn path=/trunk/; revision=43064

11 years ago- Fix 2 user32 winstation test failures (patch by Giannis Adamopoulos johnyadams...
Johannes Anderwald [Thu, 17 Sep 2009 15:25:36 +0000 (15:25 +0000)]
- Fix 2 user32 winstation test failures (patch by Giannis Adamopoulos johnyadams (_AT_)hotmail (D-O-T) com
- Test results verified by Amine Khaldi

svn path=/trunk/; revision=43063

11 years ago- Fix 2 user32 winstation test failures (patch by Giannis Adamopoulos johnyadams...
Johannes Anderwald [Thu, 17 Sep 2009 15:20:24 +0000 (15:20 +0000)]
- Fix 2 user32 winstation test failures (patch by Giannis Adamopoulos johnyadams (_AT_)hotmail (D-O-T) com
- Revert hack from 43061 and fix it properly
- Test results verified by Amine Khaldi

svn path=/trunk/; revision=43062

11 years ago- Fix copying of files / directories in explorer view
Johannes Anderwald [Thu, 17 Sep 2009 13:45:08 +0000 (13:45 +0000)]
- Fix copying of files / directories in explorer view
- Part 2/2

svn path=/trunk/; revision=43061

11 years ago- Fix copying of files / directories in explorer view
Johannes Anderwald [Thu, 17 Sep 2009 13:44:34 +0000 (13:44 +0000)]
- Fix copying of files / directories in explorer view
- Part 1/2

svn path=/trunk/; revision=43060

11 years ago - Call SetLastError/GetLastError to do our work for WSASetLastError/WSAGetLastError
Cameron Gutman [Tue, 15 Sep 2009 22:21:27 +0000 (22:21 +0000)]
 - Call SetLastError/GetLastError to do our work for WSASetLastError/WSAGetLastError
 - This will help find regressions before moving to ws2_32_new (ws2_32_new uses this method)

svn path=/trunk/; revision=43058

11 years ago- Set ProgramFiles, CommonProgramFiles environment variable
Johannes Anderwald [Tue, 15 Sep 2009 22:14:12 +0000 (22:14 +0000)]
- Set ProgramFiles, CommonProgramFiles environment variable

See issue #4008 for more details.

svn path=/trunk/; revision=43057

11 years ago- Patch by Smiley <johnyadams@hotmail.com>: remove redundant system calls when window...
James Tabor [Tue, 15 Sep 2009 22:13:16 +0000 (22:13 +0000)]
- Patch by Smiley <johnyadams@hotmail.com>: remove redundant system calls when window structure is available to user space.

svn path=/trunk/; revision=43056

11 years ago- Add validation a computer name
Dmitry Chapyshev [Tue, 15 Sep 2009 15:36:35 +0000 (15:36 +0000)]
- Add validation a computer name
- Set limit for computer name length

svn path=/trunk/; revision=43055

11 years ago- Update win32k tests.
James Tabor [Tue, 15 Sep 2009 15:25:37 +0000 (15:25 +0000)]
- Update win32k tests.

svn path=/trunk/; revision=43054

11 years ago[User32] Theme Support Interface
James Tabor [Tue, 15 Sep 2009 15:24:09 +0000 (15:24 +0000)]
[User32] Theme Support Interface
- This is part 1, Tested with Wine user32 tests, Seamonkey, FireFox and AbiWord.
[References:]
- http://www.reactos.org/wiki/RegisterUserApiHook
- http://www.codeproject.com/KB/miscctrl/uxtheme.aspx
- http://opcode0x90.wordpress.com/2007/05/11/user32__clientloadlibraryx/
- US Patent 6992681 and 6762767 - Theme aware management using fusion

svn path=/trunk/; revision=43053

11 years ago- Partially implement "Computer Name Changes" dialog. Computer name can be changed...
Dmitry Chapyshev [Tue, 15 Sep 2009 13:45:34 +0000 (13:45 +0000)]
- Partially implement "Computer Name Changes" dialog. Computer name can be changed now.
See issue #3304 for more details.

svn path=/trunk/; revision=43052

11 years ago- Check if a shortcut to shortcut is made and resolve it in that case
Johannes Anderwald [Mon, 14 Sep 2009 22:55:44 +0000 (22:55 +0000)]
- Check if a shortcut to shortcut is made and resolve it in that case
- Fixes bug 4720

svn path=/trunk/; revision=43051

11 years ago- Handle potential null-pointer access. Found by Amine Khaldi.
Dmitry Chapyshev [Mon, 14 Sep 2009 11:13:54 +0000 (11:13 +0000)]
- Handle potential null-pointer access. Found by Amine Khaldi.

svn path=/trunk/; revision=43050

11 years agoNtAllocateVirtualMemory: Add check to make sure that BaseAddress + RegionSize is...
Michael Martin [Mon, 14 Sep 2009 09:21:05 +0000 (09:21 +0000)]
NtAllocateVirtualMemory: Add check to make sure that BaseAddress + RegionSize is inside MemoryArea.
For AllocationType of MEM_RESET add FIXME's and return STATUS_SUCCESS, without modifying attributes of region. Fixes 2 virtual tests for kernel32_winetest.

svn path=/trunk/; revision=43049

11 years ago - Rework our aging neighbor cache system that never quite worked correctly
Cameron Gutman [Mon, 14 Sep 2009 04:20:05 +0000 (04:20 +0000)]
 - Rework our aging neighbor cache system that never quite worked correctly
 - Fixes several memory leaks
 - Fix the event timer and NCE timeouts
 - We now keep our neighbor cache updated and remove stale entries

svn path=/trunk/; revision=43048

11 years ago- Fix starting Imdisk applet. Patch by Johnny Adams (johnyadams[at]hotmail[dot]com)
Dmitry Chapyshev [Mon, 14 Sep 2009 02:28:50 +0000 (02:28 +0000)]
- Fix starting Imdisk applet. Patch by Johnny Adams (johnyadams[at]hotmail[dot]com)
See issue #4481 for more details.

svn path=/trunk/; revision=43047

11 years ago- Remove redundant null check. Spotted by Amine Khaldi.
James Tabor [Mon, 14 Sep 2009 00:36:08 +0000 (00:36 +0000)]
- Remove redundant null check. Spotted by Amine Khaldi.

svn path=/trunk/; revision=43046

11 years ago- Remove obsolete code
Johannes Anderwald [Sun, 13 Sep 2009 22:26:59 +0000 (22:26 +0000)]
- Remove obsolete code
- Fix closing of virtual audio devices introduced 43035

svn path=/trunk/; revision=43045

11 years ago- Add back PHYSICAL_ADDRESS workarround for IDmaChannel::PhysicalAddress
Johannes Anderwald [Sun, 13 Sep 2009 22:13:48 +0000 (22:13 +0000)]
- Add back PHYSICAL_ADDRESS workarround for IDmaChannel::PhysicalAddress
- Only define guids for gcc
- Add missing PURE interface function definitions
- Silence debug spam
- Initialize ResourceList members
- Fix calculation when allocating new resources entries
- Fix building of portcls with msvc

svn path=/trunk/; revision=43044

11 years ago- Add query window for real process Id.
James Tabor [Sun, 13 Sep 2009 22:06:58 +0000 (22:06 +0000)]
- Add query window for real process Id.

svn path=/trunk/; revision=43043

11 years agoFix r43040 mistake.
Dmitry Gorbachev [Sun, 13 Sep 2009 21:26:46 +0000 (21:26 +0000)]
Fix r43040 mistake.

svn path=/trunk/; revision=43042

11 years ago- Fix some redefinition warnings caused by our headers' suckyness
Stefan Ginsberg [Sun, 13 Sep 2009 21:23:54 +0000 (21:23 +0000)]
- Fix some redefinition warnings caused by our headers' suckyness

svn path=/trunk/; revision=43041

11 years agoFix GCC detection in RBuild (first check TARGET_CC).
Dmitry Gorbachev [Sun, 13 Sep 2009 21:18:21 +0000 (21:18 +0000)]
Fix GCC detection in RBuild (first check TARGET_CC).

svn path=/trunk/; revision=43040

11 years ago- Fix typo
Johannes Anderwald [Sun, 13 Sep 2009 21:10:33 +0000 (21:10 +0000)]
- Fix typo

svn path=/trunk/; revision=43039

11 years agoSilence compiler warnings for all GCC 4.4.x versions.
Dmitry Gorbachev [Sun, 13 Sep 2009 18:51:44 +0000 (18:51 +0000)]
Silence compiler warnings for all GCC 4.4.x versions.

svn path=/trunk/; revision=43038

11 years ago- Fix cursor position bug after turn off word wrap. Patch by Alexey Komarov
Dmitry Chapyshev [Sun, 13 Sep 2009 05:36:24 +0000 (05:36 +0000)]
- Fix cursor position bug after turn off word wrap. Patch by Alexey Komarov
See issue #3702 for more details.

svn path=/trunk/; revision=43037

11 years ago[KS]
Johannes Anderwald [Sat, 12 Sep 2009 14:35:27 +0000 (14:35 +0000)]
[KS]
- Store Object Header in FsContext2
- Fix allocation of create item entry in KsAllocateObjectCreateItem
- Fix de-referencing in Ks[De]ReferenceSoftwareBusObject & Ks[De]ReferenceBusObject
- Fake success in KsEnableEvent
- Check if the list empty in KspFreeEventList
- Handle GUID_NULL in KspPropertyHandler
- Return STATUS_MORE_ENTRIES if outputbuffer is too small
- Zero struct in KsRegisterWorker
[PORTCLS]
- Store dispatch context in FsContext
- Ignore return value in interrupt sync routine [[Amine Khaldi]]
- Disable assert for frame size check for now
- Free buffer only if the irp was from kernel mode(hack 2 be removed)
- remove unused includes [[Amine Khaldi]]
- Don't attempt copying an empty resource list [[Amine Khaldi]]
[WDMAUD_KERNEL]
- Check if allocation succeeded [[Amine Khaldi]]
[SYSAUDIO]
- Store dispatch context in FsContext2

svn path=/trunk/; revision=43035

11 years ago- Remove unused variable. Found by Amine Khaldi.
Dmitry Chapyshev [Sat, 12 Sep 2009 12:14:21 +0000 (12:14 +0000)]
- Remove unused variable. Found by Amine Khaldi.

svn path=/trunk/; revision=43034

11 years ago- Add NULL pointer check. Found by Amine Khaldi.
Dmitry Chapyshev [Sat, 12 Sep 2009 12:04:39 +0000 (12:04 +0000)]
- Add NULL pointer check. Found by Amine Khaldi.

svn path=/trunk/; revision=43033

11 years ago - Fix memory leaks when reading strings and binary values from the registry
Cameron Gutman [Sat, 12 Sep 2009 02:26:33 +0000 (02:26 +0000)]
 - Fix memory leaks when reading strings and binary values from the registry
 - Fix list manipulation

svn path=/trunk/; revision=43032

11 years ago- ObpCreateDosDevicesDirectory: Check that allocation succeeded before dereference
Stefan Ginsberg [Fri, 11 Sep 2009 22:31:46 +0000 (22:31 +0000)]
- ObpCreateDosDevicesDirectory: Check that allocation succeeded before dereference

svn path=/trunk/; revision=43031

11 years ago- Remove accidental change from 42918
Stefan Ginsberg [Fri, 11 Sep 2009 18:18:21 +0000 (18:18 +0000)]
- Remove accidental change from 42918

svn path=/trunk/; revision=43030

11 years ago- Quick implementation of RtlIsThreadWithinLoaderCallout.
James Tabor [Fri, 11 Sep 2009 07:12:30 +0000 (07:12 +0000)]
- Quick implementation of RtlIsThreadWithinLoaderCallout.

svn path=/trunk/; revision=43029

11 years ago- Fix build #2
Johannes Anderwald [Fri, 11 Sep 2009 06:53:50 +0000 (06:53 +0000)]
- Fix build #2

svn path=/trunk/; revision=43028

11 years ago- Fix build
Johannes Anderwald [Fri, 11 Sep 2009 06:45:30 +0000 (06:45 +0000)]
- Fix build

svn path=/trunk/; revision=43027

11 years ago- Convert portcls to a C++ driver
Johannes Anderwald [Fri, 11 Sep 2009 06:33:55 +0000 (06:33 +0000)]
- Convert portcls to a C++ driver
- Tested with Vbox 2.2.4 + AC97 with Winamp
- WIP, Testing recommended

svn path=/trunk/; revision=43026

11 years ago- Remove dead code
Johannes Anderwald [Fri, 11 Sep 2009 06:33:01 +0000 (06:33 +0000)]
- Remove dead code

svn path=/trunk/; revision=43025

11 years ago- Fix various warnings in inflib (thanks to Ged for help with what appears to be...
Stefan Ginsberg [Thu, 10 Sep 2009 17:41:44 +0000 (17:41 +0000)]
- Fix various warnings in inflib (thanks to Ged for help with what appears to be a gcc bug in push_token)
- Disable useless gcc warning in libjpeg
- Fix a 64-bit warning in pefixup

svn path=/trunk/; revision=43024

11 years ago- A few header updates
Johannes Anderwald [Thu, 10 Sep 2009 09:52:40 +0000 (09:52 +0000)]
- A few header updates

svn path=/trunk/; revision=43023

11 years agoCorrect the terms for measurement systems.
Dmitry Gorbachev [Thu, 10 Sep 2009 05:11:55 +0000 (05:11 +0000)]
Correct the terms for measurement systems.
Love Nystrom (lovenystrom]at[hotmail]dot[com), bug #4838.

svn path=/trunk/; revision=43022

11 years agoSync translations with English file. Javier Remacha. Bug #4731.
Dmitry Gorbachev [Thu, 10 Sep 2009 04:49:19 +0000 (04:49 +0000)]
Sync translations with English file. Javier Remacha. Bug #4731.

svn path=/trunk/; revision=43021

11 years agoUpdate/add Spanish and Basque translations. Javier Remacha. Bug #4731. (2/2)
Dmitry Gorbachev [Thu, 10 Sep 2009 04:02:33 +0000 (04:02 +0000)]
Update/add Spanish and Basque translations. Javier Remacha. Bug #4731. (2/2)

svn path=/trunk/; revision=43020