Commit graph

38829 commits

Author SHA1 Message Date
Timo Kreuzer
4dfeddc69f 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
2009-09-19 22:16:27 +00:00
Timo Kreuzer
db120f8686 merge from amd-64 branch:
r40992: msconfig: don't use inline functions as case labels [[Timo Kreuzer]]

svn path=/trunk/; revision=43082
2009-09-19 16:13:34 +00:00
Dmitry Chapyshev
6ca1f0de19 - 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
2009-09-19 16:04:38 +00:00
Timo Kreuzer
bd754cd1f3 convert to spec and fix duplicate definition
svn path=/branches/ros-amd64-bringup/; revision=43080
2009-09-19 14:06:47 +00:00
Timo Kreuzer
f9c2afd00a Sync with trunk r43000
svn path=/branches/ros-amd64-bringup/; revision=43079
2009-09-19 13:58:16 +00:00
Cameron Gutman
8f5ae98c4f - Fix a small bug in the route selection code
svn path=/trunk/; revision=43078
2009-09-19 03:22:26 +00:00
Cameron Gutman
9ccce3d818 - 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
2009-09-19 01:39:16 +00:00
Cameron Gutman
3db65819eb - Partial rewrite of CHEW
- Remove some unneeded work item usage
 - Remove an unused member of DISCONNECT_TYPE

svn path=/trunk/; revision=43076
2009-09-19 00:58:36 +00:00
Aleksey Bragin
13ebb47cf4 - 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
2009-09-18 22:25:34 +00:00
Stefan Ginsberg
056eed5ceb - Use msvc intrinsics in HAL instead of Ke386*
svn path=/trunk/; revision=43074
2009-09-18 20:56:49 +00:00
Stefan Ginsberg
baf7d1b796 - _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
2009-09-18 15:22:28 +00:00
Johannes Anderwald
36e9913408 - Fix a bug which broke build
svn path=/trunk/; revision=43072
2009-09-18 09:29:39 +00:00
Johannes Anderwald
8c36300c0b - 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
2009-09-18 00:48:47 +00:00
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