Commit graph

38815 commits

Author SHA1 Message Date
Cameron Gutman 885d8e0656 - 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
2009-09-17 23:09:16 +00:00
Johannes Anderwald 6049b93ebc - 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
2009-09-17 22:57:50 +00:00
Stefan Ginsberg 699f0baa21 - Fix kernel build regression for MSVC from 43014
svn path=/trunk/; revision=43067
2009-09-17 18:28:26 +00:00
Art Yerkes ac0cfa98e2 Patch by maxime vernier (bugzilla bug 4661).
Fix the ghost bug and the graphical glitch with process id 0

svn path=/trunk/; revision=43066
2009-09-17 16:07:37 +00:00
Stefan Ginsberg 1b035b748d - Use __MINGW_NOTHROW instead of __attribute__
svn path=/trunk/; revision=43065
2009-09-17 15:47:35 +00:00
Stefan Ginsberg 066451d087 - 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
2009-09-17 15:46:24 +00:00
Johannes Anderwald 64b23aea12 - 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
2009-09-17 15:25:36 +00:00
Johannes Anderwald 172097561a - 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
2009-09-17 15:20:24 +00:00
Johannes Anderwald 9d87a14a91 - Fix copying of files / directories in explorer view
- Part 2/2

svn path=/trunk/; revision=43061
2009-09-17 13:45:08 +00:00
Johannes Anderwald 49f6944ab0 - Fix copying of files / directories in explorer view
- Part 1/2

svn path=/trunk/; revision=43060
2009-09-17 13:44:34 +00:00
Cameron Gutman de538d3fb3 - 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
2009-09-15 22:21:27 +00:00
Johannes Anderwald 62d4dce686 - Set ProgramFiles, CommonProgramFiles environment variable
See issue #4008 for more details.

svn path=/trunk/; revision=43057
2009-09-15 22:14:12 +00:00
James Tabor 148f6d7472 - Patch by Smiley <johnyadams@hotmail.com>: remove redundant system calls when window structure is available to user space.
svn path=/trunk/; revision=43056
2009-09-15 22:13:16 +00:00
Dmitry Chapyshev b30e6874f7 - Add validation a computer name
- Set limit for computer name length

svn path=/trunk/; revision=43055
2009-09-15 15:36:35 +00:00
James Tabor e3083bb86d - Update win32k tests.
svn path=/trunk/; revision=43054
2009-09-15 15:25:37 +00:00
James Tabor b5f5703c66 [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
2009-09-15 15:24:09 +00:00
Dmitry Chapyshev b8395bbb78 - Partially implement "Computer Name Changes" dialog. Computer name can be changed now.
See issue #3304 for more details.

svn path=/trunk/; revision=43052
2009-09-15 13:45:34 +00:00
Johannes Anderwald d794889e14 - Check if a shortcut to shortcut is made and resolve it in that case
- Fixes bug 4720

svn path=/trunk/; revision=43051
2009-09-14 22:55:44 +00:00
Dmitry Chapyshev 75b7890a52 - Handle potential null-pointer access. Found by Amine Khaldi.
svn path=/trunk/; revision=43050
2009-09-14 11:13:54 +00:00
Michael Martin 398838e6c3 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
2009-09-14 09:21:05 +00:00
Cameron Gutman 89975fc479 - 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
2009-09-14 04:20:05 +00:00
Dmitry Chapyshev 9422642223 - Fix starting Imdisk applet. Patch by Johnny Adams (johnyadams[at]hotmail[dot]com)
See issue #4481 for more details.

svn path=/trunk/; revision=43047
2009-09-14 02:28:50 +00:00
James Tabor e30c013155 - Remove redundant null check. Spotted by Amine Khaldi.
svn path=/trunk/; revision=43046
2009-09-14 00:36:08 +00:00
Johannes Anderwald 0a2995d3a6 - Remove obsolete code
- Fix closing of virtual audio devices introduced 43035

svn path=/trunk/; revision=43045
2009-09-13 22:26:59 +00:00
Johannes Anderwald 71333f2f32 - 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
2009-09-13 22:13:48 +00:00
James Tabor 848f926415 - Add query window for real process Id.
svn path=/trunk/; revision=43043
2009-09-13 22:06:58 +00:00
Dmitry Gorbachev 1977bb8a55 Fix r43040 mistake.
svn path=/trunk/; revision=43042
2009-09-13 21:26:46 +00:00
Stefan Ginsberg 5de8f359fe - Fix some redefinition warnings caused by our headers' suckyness
svn path=/trunk/; revision=43041
2009-09-13 21:23:54 +00:00
Dmitry Gorbachev 92b08a01ef Fix GCC detection in RBuild (first check TARGET_CC).
svn path=/trunk/; revision=43040
2009-09-13 21:18:21 +00:00
Johannes Anderwald 739a12f946 - Fix typo
svn path=/trunk/; revision=43039
2009-09-13 21:10:33 +00:00
Dmitry Gorbachev 89246ee4ec Silence compiler warnings for all GCC 4.4.x versions.
svn path=/trunk/; revision=43038
2009-09-13 18:51:44 +00:00
Dmitry Chapyshev 7cf92c45bd - Fix cursor position bug after turn off word wrap. Patch by Alexey Komarov
See issue #3702 for more details.

svn path=/trunk/; revision=43037
2009-09-13 05:36:24 +00:00
Johannes Anderwald 6fd2ea71d2 [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
2009-09-12 14:35:27 +00:00
Dmitry Chapyshev d34f9b2919 - Remove unused variable. Found by Amine Khaldi.
svn path=/trunk/; revision=43034
2009-09-12 12:14:21 +00:00
Dmitry Chapyshev 2ff9fd5fcf - Add NULL pointer check. Found by Amine Khaldi.
svn path=/trunk/; revision=43033
2009-09-12 12:04:39 +00:00
Cameron Gutman 6672b72619 - Fix memory leaks when reading strings and binary values from the registry
- Fix list manipulation

svn path=/trunk/; revision=43032
2009-09-12 02:26:33 +00:00
Stefan Ginsberg 172aed5aa9 - ObpCreateDosDevicesDirectory: Check that allocation succeeded before dereference
svn path=/trunk/; revision=43031
2009-09-11 22:31:46 +00:00
Stefan Ginsberg 5c57066048 - Remove accidental change from 42918
svn path=/trunk/; revision=43030
2009-09-11 18:18:21 +00:00
James Tabor 7cdc0d481a - Quick implementation of RtlIsThreadWithinLoaderCallout.
svn path=/trunk/; revision=43029
2009-09-11 07:12:30 +00:00
Johannes Anderwald f889dc273c - Fix build #2
svn path=/trunk/; revision=43028
2009-09-11 06:53:50 +00:00
Johannes Anderwald fb611f08d0 - Fix build
svn path=/trunk/; revision=43027
2009-09-11 06:45:30 +00:00
Johannes Anderwald ad2cf72549 - Convert portcls to a C++ driver
- Tested with Vbox 2.2.4 + AC97 with Winamp
- WIP, Testing recommended

svn path=/trunk/; revision=43026
2009-09-11 06:33:55 +00:00
Johannes Anderwald 82376f839e - Remove dead code
svn path=/trunk/; revision=43025
2009-09-11 06:33:01 +00:00
Stefan Ginsberg 6469ecfb2b - 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
2009-09-10 17:41:44 +00:00
Johannes Anderwald fece42a150 - A few header updates
svn path=/trunk/; revision=43023
2009-09-10 09:52:40 +00:00
Dmitry Gorbachev c89668ac36 Correct the terms for measurement systems.
Love Nystrom (lovenystrom]at[hotmail]dot[com), bug #4838.

svn path=/trunk/; revision=43022
2009-09-10 05:11:55 +00:00
Dmitry Gorbachev 2d133c5a5f Sync translations with English file. Javier Remacha. Bug #4731.
svn path=/trunk/; revision=43021
2009-09-10 04:49:19 +00:00
Dmitry Gorbachev 761c741815 Update/add Spanish and Basque translations. Javier Remacha. Bug #4731. (2/2)
svn path=/trunk/; revision=43020
2009-09-10 04:02:33 +00:00
Dmitry Gorbachev b810a5f55a Update/add Spanish and Basque translations. Javier Remacha. Bug #4731. (1/2)
svn path=/trunk/; revision=43019
2009-09-10 04:02:22 +00:00
Dmitry Gorbachev 5b1957fe6d Japanese translations by Tomoya Kitagawa. Bug #4840. (2/2)
svn path=/trunk/; revision=43018
2009-09-09 23:43:37 +00:00