Hervé Poussineau
7f582de62c
[freeldr] Never ever define a macro as multiple instructions. It may lead to subtle bugs
...
svn path=/trunk/; revision=43117
2009-09-22 20:33:56 +00:00
Johannes Anderwald
39b702d16e
- Fix memory leak
...
- Fix displaying of random characters if there is no device name
svn path=/trunk/; revision=43116
2009-09-22 20:09:11 +00:00
Hervé Poussineau
4648a3e59d
[freeldr] Rework NTFS filesystem to not be tied to boot filesystem
...
svn path=/trunk/; revision=43115
2009-09-22 19:37:11 +00:00
Hervé Poussineau
9b86293dce
[freeldr] Move definition of maximum number of available file descriptors to fs.h
...
Fix typos
svn path=/trunk/; revision=43114
2009-09-22 19:33:34 +00:00
Hervé Poussineau
16c6a54da7
[freeldr] Accept to read blocks whose size is not a multiple of device sector size
...
svn path=/trunk/; revision=43113
2009-09-22 19:32:35 +00:00
Johannes Anderwald
f03906b449
- Partly implement IBandSite, IMenuBand
...
svn path=/trunk/; revision=43112
2009-09-22 18:30:39 +00:00
Johannes Anderwald
2be3bf200c
- Fix a bug spotted by Timo
...
svn path=/trunk/; revision=43111
2009-09-22 13:54:33 +00:00
Johannes Anderwald
58184d639d
- Stubplement IBandSite interface
...
svn path=/trunk/; revision=43110
2009-09-22 13:52:54 +00:00
Kamil Hornicek
4dc423f636
- don't return false on success
...
svn path=/trunk/; revision=43109
2009-09-22 10:29:27 +00:00
Stefan Ginsberg
aaff3e2d56
- Use __writeeflags instead of clc to clear the carry flag.
...
svn path=/trunk/; revision=43108
2009-09-21 22:08:44 +00:00
Johannes Anderwald
9422016556
- Fix up-down control spinning
...
See issue #3390 for more details.
svn path=/trunk/; revision=43107
2009-09-21 19:31:19 +00:00
Johannes Anderwald
c0a4a591d8
- Fix playing global thermo nuclear war in ReactOS
...
- Found by encoded
svn path=/trunk/; revision=43105
2009-09-21 18:11:52 +00:00
James Tabor
13aafd8c95
- Add the missing Result return pointed out by Michael Martin.
...
svn path=/trunk/; revision=43104
2009-09-21 17:29:26 +00:00
Stefan Ginsberg
53231784a0
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
2009-09-21 15:20:18 +00:00
Michael Martin
302ad7c74f
LogfWriteData: Add missing LeaveCriticalSection before returning from function. Found by Amine Khaldi
...
svn path=/trunk/; revision=43102
2009-09-21 12:49:25 +00:00
James Tabor
1ebd555855
- 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
2009-09-21 01:22:32 +00:00
Cameron Gutman
bd6fba2037
- Stub and export GetAddrInfoW
...
svn path=/trunk/; revision=43100
2009-09-20 22:20:16 +00:00
Cameron Gutman
4d2e0e023f
- Simplify and fix a few bugs in datagram reassembly
...
- Implement reassembly timeout
svn path=/trunk/; revision=43099
2009-09-20 21:07:45 +00:00
Dmitry Gorbachev
5ec7ec1632
Update / add Japanese translations. Tomoya Kitagawa, bug #4852 .
...
svn path=/trunk/; revision=43098
2009-09-20 19:35:23 +00:00
Johannes Anderwald
a1aecae7e1
- Fix a crash when an application hasnt defined a event label
...
svn path=/trunk/; revision=43097
2009-09-20 17:44:52 +00:00
Johannes Anderwald
8694a0d2e3
- Rewrite sound scheme handling
...
- Implement changing sound scheme & sound action
svn path=/trunk/; revision=43096
2009-09-20 15:47:32 +00:00
Cameron Gutman
4834de3328
- 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
2009-09-20 15:00:08 +00:00
Johannes Anderwald
ba7067eafa
- 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
2009-09-20 04:21:29 +00:00
Cameron Gutman
3aee3165e0
- Remove a DbgPrint that was forgotten
...
svn path=/trunk/; revision=43093
2009-09-20 01:58:06 +00:00
Cameron Gutman
c1769578ac
- Fix GetIpNetTable
...
- Arp -a will now show a complete list of ARP information
svn path=/trunk/; revision=43092
2009-09-20 01:37:40 +00:00
James Tabor
bc07b8444d
- Update Edit wine tests.
...
svn path=/trunk/; revision=43090
2009-09-19 23:37:32 +00:00
James Tabor
ea148f5053
- Wine sync up to 1.1.29 Edit controls.
...
svn path=/trunk/; revision=43089
2009-09-19 23:31:17 +00:00
James Tabor
bbbab20bda
- Header cleanup +1.
...
svn path=/trunk/; revision=43088
2009-09-19 22:21:12 +00:00
James Tabor
9df47abb4d
- Header cleanup.
...
svn path=/trunk/; revision=43087
2009-09-19 22:20:43 +00:00
James Tabor
3cb48f661e
- Two bugs found by Michael Martin.
...
svn path=/trunk/; revision=43086
2009-09-19 22:17:25 +00:00
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