reactos.git
14 years ago- Add defines needed by explorer-new. Fixes build.
Aleksey Bragin [Sat, 7 Nov 2009 20:18:04 +0000 (20:18 +0000)]
- Add defines needed by explorer-new. Fixes build.

svn path=/trunk/; revision=44019

14 years ago- Remove accidentally committed Wineisms. Build is fixed.
Aleksey Bragin [Sat, 7 Nov 2009 19:53:41 +0000 (19:53 +0000)]
- Remove accidentally committed Wineisms. Build is fixed.

svn path=/trunk/; revision=44015

14 years ago[comctl32]
Aleksey Bragin [Sat, 7 Nov 2009 19:42:57 +0000 (19:42 +0000)]
[comctl32]
- Fix a critical bug in TOOLTIPS_NotifyFormat. Its first parameter changed from HWND to infoPtr pointer, however the function was not updated accordingly.

svn path=/trunk/; revision=44014

14 years ago- Update commctrl.h to Wine-1.1.31.
Aleksey Bragin [Sat, 7 Nov 2009 19:34:59 +0000 (19:34 +0000)]
- Update commctrl.h to Wine-1.1.31.

svn path=/trunk/; revision=44013

14 years agoFix keyboard navigation of menus (up/down keys)
KJK::Hyperion [Sat, 7 Nov 2009 19:21:13 +0000 (19:21 +0000)]
Fix keyboard navigation of menus (up/down keys)
Patch by IJM <mailnew2ster AT mail.ru>

svn path=/trunk/; revision=44012

14 years ago - Remove TCPSleep and TCPWakeup (we make all oskittcp sockets non-blocking)
Cameron Gutman [Sat, 7 Nov 2009 18:12:58 +0000 (18:12 +0000)]
 - Remove TCPSleep and TCPWakeup (we make all oskittcp sockets non-blocking)
 - Crash ROS better in oskittcp_die

svn path=/trunk/; revision=44010

14 years agoUnbreak build
KJK::Hyperion [Sat, 7 Nov 2009 17:24:06 +0000 (17:24 +0000)]
Unbreak build

svn path=/trunk/; revision=44006

14 years agoglobally-defined CFLAGS, CXXFLAGS, etc. will now work, and override C compiler flags...
KJK::Hyperion [Sat, 7 Nov 2009 16:56:52 +0000 (16:56 +0000)]
globally-defined CFLAGS, CXXFLAGS, etc. will now work, and override C compiler flags, C++ compiler flags, etc. for all modules. Our makefile build system now a little closer to a real makefile build system

svn path=/trunk/; revision=44003

14 years agoDon't uppercase module name in _TARGET macros. This commit will amazingly not trigger...
KJK::Hyperion [Sat, 7 Nov 2009 15:20:45 +0000 (15:20 +0000)]
Don't uppercase module name in _TARGET macros. This commit will amazingly not trigger a full rebuild

svn path=/trunk/; revision=44000

14 years ago[DSOUND]
Johannes Anderwald [Sat, 7 Nov 2009 13:49:01 +0000 (13:49 +0000)]
[DSOUND]
- Add more checks IDirectSoundCapture::CreateCaptureBuffer
- Implement IDirectSoundNotify interface
- Needs work from ks / portcls to work on formats supported natively by the driver

svn path=/trunk/; revision=43997

14 years ago- Add a few constants and types required event handling
Johannes Anderwald [Sat, 7 Nov 2009 12:57:07 +0000 (12:57 +0000)]
- Add a few constants and types required event handling

svn path=/trunk/; revision=43996

14 years agoReport spoolsv service status at startup.
Sylvain Petreolle [Sat, 7 Nov 2009 11:43:06 +0000 (11:43 +0000)]
Report spoolsv service status at startup.
this fixes 1 advapi32:service test.

svn path=/trunk/; revision=43995

14 years ago[DSOUND_NEW]
Johannes Anderwald [Sat, 7 Nov 2009 03:43:56 +0000 (03:43 +0000)]
[DSOUND_NEW]
- Implement stereo to mono channel conversion
- Create a thread which performs the mixing
- Fixes messed up voice recording in Skype 3.6

svn path=/trunk/; revision=43994

14 years ago- Refactor stubbed HAL resource report slightly.
Stefan Ginsberg [Fri, 6 Nov 2009 23:55:08 +0000 (23:55 +0000)]
- Refactor stubbed HAL resource report slightly.
- Move the resource routines to their own file instead of sysinfo.c.
- Add missing members to PCIPBUSDATA.
- Kill old, unused generic.rbuild.

svn path=/trunk/; revision=43991

14 years agoWhiners...
Arch Blackmann [Fri, 6 Nov 2009 23:35:28 +0000 (23:35 +0000)]
Whiners...

svn path=/trunk/; revision=43990

14 years agoImplement printout the the state tables. It seems to work fine, but the tool doesn...
Arch Blackmann [Fri, 6 Nov 2009 22:42:26 +0000 (22:42 +0000)]
Implement printout the the state tables. It seems to work fine, but the tool doesn't yet generate the modified keys (shift+, ctrl+, etc) for each virtual key. This is the last thing that remains.

svn path=/trunk/; revision=43989

14 years ago- Fix check
Johannes Anderwald [Fri, 6 Nov 2009 17:00:20 +0000 (17:00 +0000)]
- Fix check

svn path=/trunk/; revision=43988

14 years agoImplement support for writing the virtual key to WCHAR translation for different...
Arch Blackmann [Fri, 6 Nov 2009 00:38:04 +0000 (00:38 +0000)]
Implement support for writing the virtual key to WCHAR translation for different shift states.
Only 2 shift states are supported for now, I have to add a lot more output generation code to get at least 3 states up and running.

svn path=/trunk/; revision=43985

14 years agoAdd table of shift state combinations, and add table of shift state types.
Arch Blackmann [Fri, 6 Nov 2009 00:37:06 +0000 (00:37 +0000)]
Add table of shift state combinations, and add table of shift state types.

svn path=/trunk/; revision=43984

14 years agoPrint out more state-related tables and information (still missing one large chunk...
Arch Blackmann [Thu, 5 Nov 2009 23:58:38 +0000 (23:58 +0000)]
Print out more state-related tables and information (still missing one large chunk of data). Print out the key and extended key tables for the layout. Fix up some more code.
The C source is almost fully complete for the English US test layout KLC!

svn path=/trunk/; revision=43983

14 years ago[cdfs]
Michael Martin [Thu, 5 Nov 2009 23:43:57 +0000 (23:43 +0000)]
[cdfs]
- CdfsVerifyVolume: Disable the delivery of normal Kernel APC's before acquiring resource and re-enable APC's after releasing resource. Fixes ASSERT from ntoskrnl/ex/resource.c. Noticed by Stefan.

svn path=/trunk/; revision=43982

14 years agoAdd more support for shift state output. The tool now updates CharModifiers table...
Arch Blackmann [Thu, 5 Nov 2009 19:55:57 +0000 (19:55 +0000)]
Add more support for shift state output. The tool now updates CharModifiers table based on the shift states present in the layout, building both the modification number and the key name based on the virtual key-> name table.

svn path=/trunk/; revision=43978

14 years agoGenerate modifier table. Generate extended scancode table X. Generate extended scanco...
Arch Blackmann [Thu, 5 Nov 2009 19:25:41 +0000 (19:25 +0000)]
Generate modifier table. Generate extended scancode table X. Generate extended scancode table Y.

svn path=/trunk/; revision=43977

14 years agoAdd table of modifiers.
Arch Blackmann [Thu, 5 Nov 2009 19:24:47 +0000 (19:24 +0000)]
Add table of modifiers.

svn path=/trunk/; revision=43976

14 years agoCreate layout entries for built-in non-redefined scancodes as well, based on the...
Arch Blackmann [Thu, 5 Nov 2009 19:24:24 +0000 (19:24 +0000)]
Create layout entries for built-in non-redefined scancodes as well, based on the 110-key table (mostly things like the extended keys/SpeedRacer/MediaButtons, etc).

svn path=/trunk/; revision=43975

14 years ago[shell32]
Aleksey Bragin [Thu, 5 Nov 2009 13:27:52 +0000 (13:27 +0000)]
[shell32]
- Remove extra semicolon, spotted by Gabriel.

svn path=/trunk/; revision=43973

14 years ago[shell32]
Aleksey Bragin [Thu, 5 Nov 2009 10:07:16 +0000 (10:07 +0000)]
[shell32]
Gabriel Ilardi
- Properly stub SHSetUnreadMailCountW and SHGetUnreadMailCountW to unregress Thunderbird and possibly other email clients.
See issue #4940 for more details.

svn path=/trunk/; revision=43971

14 years agoThe tool now generates 75% of a typical keyboard layout C file. Lots of stuff still...
Arch Blackmann [Thu, 5 Nov 2009 05:20:01 +0000 (05:20 +0000)]
The tool now generates 75% of a typical keyboard layout C file. Lots of stuff still missing, but most of the annoying work is done now... it just has to start filling in the dynamic data.
A full-fledged file will have ligature data, up to 8 shift states, dead keys, etc, but that's not stuff we'll have to deal with at first for simple layouts.
By tomorrow we should be able to fully process and generate latin-alphabet-based language keyboard layouts.

svn path=/trunk/; revision=43970

14 years agoNow write out the DEF file (okay that was too easy).
Arch Blackmann [Thu, 5 Nov 2009 02:04:04 +0000 (02:04 +0000)]
Now write out the DEF file (okay that was too easy).

svn path=/trunk/; revision=43967

14 years agoKbdtool can now create the resource (RC) file as well!
Arch Blackmann [Thu, 5 Nov 2009 01:57:08 +0000 (01:57 +0000)]
Kbdtool can now create the resource (RC) file as well!

svn path=/trunk/; revision=43966

14 years ago- Convert one more __invlpg to KeInvalidateTlbEntry
Stefan Ginsberg [Wed, 4 Nov 2009 22:51:00 +0000 (22:51 +0000)]
- Convert one more __invlpg to KeInvalidateTlbEntry

svn path=/trunk/; revision=43963

14 years ago- Oh snap. KDBG is not dead yet.
Stefan Ginsberg [Wed, 4 Nov 2009 22:49:46 +0000 (22:49 +0000)]
- Oh snap. KDBG is not dead yet.

svn path=/trunk/; revision=43962

14 years agoHoly shit Batman! KbdTool can now write out the keyboard layout header file! You...
Arch Blackmann [Wed, 4 Nov 2009 22:48:55 +0000 (22:48 +0000)]
Holy shit Batman! KbdTool can now write out the keyboard layout header file! You should get a Layout01.h if you run it on test.klc (in your current working directory).

svn path=/trunk/; revision=43961

14 years ago- Implement support for reading and writing physical memory for KD. The implementatio...
Stefan Ginsberg [Wed, 4 Nov 2009 22:40:18 +0000 (22:40 +0000)]
- Implement support for reading and writing physical memory for KD. The implementation uses a reserved mapping page to map the target physical address to. On x86 this page is located at virtual address 0xFFBFF000, and the PTE for this page is the last PTE of the nonpaged pool's PDE. Other architectures may need to reserve the PTE elsewhere.
- The physical memory support relies on several Mm variables and structures to be properly set up. Add a new flag, MiDbgReadyForPhysical, and set it when the debugger support can handle physical memory requests.
- Protect this page with a Memory Area to make the old Mm keep its dirty hands off it.
- Does not support I/O space or cache flags yet.
- Add generic KeInvalidateTlbEntry to invalidate a single TLB entry for a given address instead of flushing the whole TLB. Used by the debugger physical memory support as invalidating the whole TLB for every map and unmap of its debug PTE would incur significant overhead for large copies. Replace direct usage of __invlpg() with this in x86 code too.
- Fix incorrect cache flag check and set in KdpRead/WritePhysicalmemory for write combined requests. The debugger's Uncached flag was checked instead of the Write Combined flag, and the debuggers Write Combine number (0x3) was set instead of Mm's flag (0x20).
- Fix implementation of MmIsAddressValid (at least for x86; other architectures will need more checks). Just check the Address' PDE and PTE valid bits instead of using Memory Areas.
- Add missing ASSERTs to ensure the Memory Areas for paged pool, the PCR page, and the Shared User Data page are created.
- Add missing Memory Area for the 2 pages HAL currently uses for its own mappings on x86 -- previously, those pages could have been allocated by other parts of the OS, which would have resulted in serious corruptions.

svn path=/trunk/; revision=43960

14 years agoRefactoring and cleanup. Start fleshing out the output phase. Start handling exit...
Arch Blackmann [Wed, 4 Nov 2009 22:07:29 +0000 (22:07 +0000)]
Refactoring and cleanup. Start fleshing out the output phase. Start handling exit correctly. Fix a bug in DoLAYOUT. Nothing new to see here...

svn path=/trunk/; revision=43959

14 years ago- Finish the work around for the Pentium cmpxchg8b lock errata: We detected the errat...
Stefan Ginsberg [Wed, 4 Nov 2009 21:57:32 +0000 (21:57 +0000)]
- Finish the work around for the Pentium cmpxchg8b lock errata: We detected the errata and allocated the 7 first IDT entries on a write protected page, but the final piece of the work around, detecting the write fault ti the Invalid Opcode handler, was missing. Implemented this in the page fault handler to detect and dispatch the write fault to the Invalid Opcode handler.
- Fix the "fix" of un-protecting the 7 IDT entries on P5 in HAL's BIOS call code when setting the custom Invalid Opcode handler. The IDT was unprotected but the write protection wasn't reapplied after the BIOS call, breaking the work around.

Other:
- KdDebuggerEnabled is a BOOLEAN, so don't do a dword compare in KeUpdateSystemTime.
- Use better comment for the hack where we always allow page faults to be handled, even if they the fault occured with interrupts disabled.

svn path=/trunk/; revision=43958

14 years agoAdd some helpful debug output to LAYOUT parsing, and enable DoLAYOUT code. The tool...
Arch Blackmann [Wed, 4 Nov 2009 19:52:36 +0000 (19:52 +0000)]
Add some helpful debug output to LAYOUT parsing, and enable DoLAYOUT code. The tool is able to fully decode/parse the test.klc English US layout file!

svn path=/trunk/; revision=43950

14 years agoImplement getCharacterInfo so the tool can now handle most LAYOUT entries, but not...
Arch Blackmann [Wed, 4 Nov 2009 19:38:21 +0000 (19:38 +0000)]
Implement getCharacterInfo so the tool can now handle most LAYOUT entries, but not complicated ligature entries (dead keys are fine though). Also cleaned up the parsing loop of DoLAYOUT to avoid a goto, and finally added detection of SGCAP entries (in which case the tool will fail, since these are complex and not needed for now).
The main parsing loop is pretty much done, now the tool "just" has to merge the states and perform a check for duplicate entries. Then it'll be ready to generate the output files.

svn path=/trunk/; revision=43949

14 years agosync wininet with wine 1.1.32
Christoph von Wittich [Wed, 4 Nov 2009 11:16:25 +0000 (11:16 +0000)]
sync wininet with wine 1.1.32

svn path=/trunk/; revision=43948

14 years agoStarted adding support for reading the different character states and the cap data...
Arch Blackmann [Wed, 4 Nov 2009 04:49:00 +0000 (04:49 +0000)]
Started adding support for reading the different character states and the cap data (including detecting SGCAP). Now the tool has to determine the type of each character defined at every stage (dead, valid, invalid, ligature, etc...) and save the character in the appropriate slot. Dead and other keys are currently handled, as are undefined keys.
Major work remains to be done...

svn path=/trunk/; revision=43947

14 years ago- Add sanity checks
Johannes Anderwald [Wed, 4 Nov 2009 02:16:49 +0000 (02:16 +0000)]
- Add sanity checks
- Implement IDirectSoundCaptureBuffer8::Stop
- Implement changing the stream format for secondary buffers
- Silence debug flood

svn path=/trunk/; revision=43946

14 years ago[KS]
Johannes Anderwald [Wed, 4 Nov 2009 01:54:19 +0000 (01:54 +0000)]
[KS]
- Fix a bug in KsCancelIo which accessed already freed memory
[PORTCLS]
- Cancel all audio stream irps when the it is used in looped stream mode. Fixes re-opening of playback / capture devices in DSound.
- Remove dead code

svn path=/trunk/; revision=43945

14 years agoStart implementing the long task of DoLAYOUT to process the big "meat" of a KLC file...
Arch Blackmann [Tue, 3 Nov 2009 22:57:26 +0000 (22:57 +0000)]
Start implementing the long task of DoLAYOUT to process the big "meat" of a KLC file: the keyboard layout. Implement the table of recognized virtual keys (and the translation matrix). Add support for hex-entered keys (0x...).
The tool does some minimal error checking for now, and attempts to begin parsing the LAYOUT section, but fails miserably and the code won't execute unless you've enabled verbose mode. I'm just using this commit as a checkpoint for now.
Also fixed SCVK structure to use the last member as a state flag.
Finally, added definitions for LAYOUTENTRY which will keep track of each row's column's values in the LAYOUT.

svn path=/trunk/; revision=43944

14 years ago- Fix checking of flags found by Ged
Johannes Anderwald [Tue, 3 Nov 2009 22:30:36 +0000 (22:30 +0000)]
- Fix checking of flags found by Ged
- Remove unsupported DSBLOCK_FROMWRITECURSOR

svn path=/trunk/; revision=43942

14 years ago- Implement IDirectSoundCaptureBuffer8::Lock, IDirectSoundCaptureBuffer8::Unlock
Johannes Anderwald [Tue, 3 Nov 2009 22:11:43 +0000 (22:11 +0000)]
- Implement IDirectSoundCaptureBuffer8::Lock, IDirectSoundCaptureBuffer8::Unlock
- Fix pin handle leakage

svn path=/trunk/; revision=43941

14 years ago- Fix one more dsound_winetest dsound8 failure
Johannes Anderwald [Tue, 3 Nov 2009 19:20:59 +0000 (19:20 +0000)]
- Fix one more dsound_winetest dsound8 failure
- Register IDirectSound8, IDirectSoundCapture8 with COM

svn path=/trunk/; revision=43936

14 years ago[csrss]
Aleksey Bragin [Tue, 3 Nov 2009 19:18:39 +0000 (19:18 +0000)]
[csrss]
- Route unhandled messages to DefWndProc, as it's usually done for every window proc.

svn path=/trunk/; revision=43935

14 years ago[csrss]
Aleksey Bragin [Tue, 3 Nov 2009 19:03:11 +0000 (19:03 +0000)]
[csrss]
- Paint the desktop only when getting WM_ERASEBKGND message, and do nothing in WM_PAINT. This is the behavior Windows and Wine implement.
- Add WM_CLOSE stub-handler, though it doesn't change much now - all messages unhandled by the switch are going to return "0" since this proc doesn't call DefWndProcHandler.

svn path=/trunk/; revision=43934

14 years ago[DSOUND]
Johannes Anderwald [Tue, 3 Nov 2009 18:54:52 +0000 (18:54 +0000)]
[DSOUND]
- Partly implement IDirectSound8::GetCaps
- Implement IDirectSound8::Compact
- Verify if wrong guid is passed in IDirectSound8::Initialize
- Allow construction of IDirectSound8 object via CoCreateInstance
- Fix more dsound_winetest failures
- dsound_winetest dsound is now down to 31 / 178 failures

svn path=/trunk/; revision=43933

14 years ago- Partially revert 43747
Johannes Anderwald [Tue, 3 Nov 2009 11:47:06 +0000 (11:47 +0000)]
- Partially revert 43747
See issue #4936 for more details.

svn path=/trunk/; revision=43931

14 years ago- Add a few sanity checks
Johannes Anderwald [Tue, 3 Nov 2009 11:43:33 +0000 (11:43 +0000)]
- Add a few sanity checks
- Check for invalid guids passed to IDirectSoundCapture::Initialize
- Add support for creating IDirectSoundCapture object via CoCreateInstance
- Close pin handle when the capture buffer is released
- Implement IDirectSoundCaptureBuffer::GetCaps, IDirectSoundCaptureBuffer::GetCurrentPosition, IDirectSoundCaptureBuffer::GetFormat, IDirectSoundCaptureBuffer::GetStatus, IDirectSoundCaptureBuffer::Start
- Compute a compatible pin format when the format is not supported natively by the driver
- Fix shadowing of global variable (Usurp)
- Verify that directsound global info has already initialized in IDirectSound8::Initialize
- dsound now fails 49/650 on dsound_winetest test:capture (mixing needs to implemented) The remaining tests fail due to unimplemented functionality in portcls / ks / dsound

svn path=/trunk/; revision=43930

14 years ago- There is no reason to use the Kf* routines for IRQL and Spinlocks directly in HAL...
Stefan Ginsberg [Mon, 2 Nov 2009 22:54:02 +0000 (22:54 +0000)]
- There is no reason to use the Kf* routines for IRQL and Spinlocks directly in HAL -- they are defined to the Kf* versions on x86 anyway, so use the Ke* equivalents exclusively.

svn path=/trunk/; revision=43929

14 years ago- Document what the 'NoBuses' member in the PCI_REGISTRY_INFO and PCI_REGISTRY_INFO_I...
Stefan Ginsberg [Mon, 2 Nov 2009 21:46:41 +0000 (21:46 +0000)]
- Document what the 'NoBuses' member in the PCI_REGISTRY_INFO and PCI_REGISTRY_INFO_INTERNAL structures means to avoid confusion.

svn path=/trunk/; revision=43928

14 years ago - Rework our oskittcp signalling
Cameron Gutman [Mon, 2 Nov 2009 21:28:25 +0000 (21:28 +0000)]
 - Rework our oskittcp signalling
 - SignalledConnectionsList is now only used for connections that have pending requests
 - Remove another unused member from CONNECTION_ENDPOINT

svn path=/trunk/; revision=43926

14 years ago[user32]
Michael Martin [Mon, 2 Nov 2009 21:17:50 +0000 (21:17 +0000)]
[user32]
- Reapply changes from 40677 as the edit control does not receive the WM_COMMAND message from its context menu when doing clipboard ops.
- Fixes crashes in applications created with visual basic when using edit controls context menu.
- If we lose this in next sync, ill grovel and beg.

svn path=/trunk/; revision=43925

14 years ago- Fix a FreeLdr PCI detection bug introduced in revision 10742 5 years ago when PCI...
Stefan Ginsberg [Mon, 2 Nov 2009 21:13:45 +0000 (21:13 +0000)]
- Fix a FreeLdr PCI detection bug introduced in revision 10742 5 years ago when PCI detection was added. FindPciBios was setting the HardwareMechanism entry in the PCI_REGISTRY_INFO structure (then called CM_PCI_BUS_DATA) to the wrong register returned from the PCI BIOS: CL instead of AL. CL is the number of the last PCI bus in the system (0 if you only have 1 bus, 1 if you have 2 buses). AL contains bit-fields for PCI characteristics, and HAL checks the 2 first bits to determine the type of the BUS. My VMWare test environment has 2 PCI buses, so the number happened to be correct. This doesn't work if there is only 1 PCI bus, such as in QEMU and Vbox, as we then get an invalid PCI type of 0. Fix this and re-enable the PCI detection in HAL to properly detect the PCI type instead of assuming type 1.

svn path=/trunk/; revision=43924

14 years ago[User32]
Michael Martin [Mon, 2 Nov 2009 20:38:53 +0000 (20:38 +0000)]
[User32]
- menu.c: Fix a typo.

svn path=/trunk/; revision=43923

14 years ago - Fix some confusion between SignalState and State which resulted in queued IRPs...
Cameron Gutman [Mon, 2 Nov 2009 20:26:29 +0000 (20:26 +0000)]
 - Fix some confusion between SignalState and State which resulted in queued IRPs being lost on socket closure
 - Call HandleSignalledConnection directly because the connection may not be in the signalled connections list
 - Remove State from CONNECTION_ENDPOINT to prevent this from happening again

svn path=/trunk/; revision=43922

14 years ago[uniata]
Aleksey Bragin [Mon, 2 Nov 2009 20:18:24 +0000 (20:18 +0000)]
[uniata]
- Revert 40896, uniata is back to "amazingly fast" mode.

svn path=/trunk/; revision=43921

14 years ago[uniata]
Aleksey Bragin [Mon, 2 Nov 2009 20:12:19 +0000 (20:12 +0000)]
[uniata]
- Don't wait so long for drive reset. Reapplying r26470 by Dmitriy Gorbachev.

svn path=/trunk/; revision=43920

14 years agoadd missing newlines
Sylvain Petreolle [Mon, 2 Nov 2009 20:09:00 +0000 (20:09 +0000)]
add missing newlines

svn path=/trunk/; revision=43919

14 years ago- add dsound winetest
Kamil Hornicek [Mon, 2 Nov 2009 19:19:39 +0000 (19:19 +0000)]
- add dsound winetest

svn path=/trunk/; revision=43918

14 years ago- Temporarily disable the new HAL PCI detection code since it fails miserably on...
Stefan Ginsberg [Mon, 2 Nov 2009 19:03:01 +0000 (19:03 +0000)]
- Temporarily disable the new HAL PCI detection code since it fails miserably on the build server.

svn path=/trunk/; revision=43917

14 years ago- Commit something to get build server building -- Revert 20763: "Older binutils...
Stefan Ginsberg [Mon, 2 Nov 2009 18:40:24 +0000 (18:40 +0000)]
- Commit something to get build server building -- Revert 20763: "Older binutils don't understand qword ptr", use a newer binutils then.

svn path=/trunk/; revision=43916

14 years ago- Fix leftover from 43912: Add KdRefreshDebuggerNotPresent to DDK.
Stefan Ginsberg [Mon, 2 Nov 2009 18:16:12 +0000 (18:16 +0000)]
- Fix leftover from 43912: Add KdRefreshDebuggerNotPresent to DDK.

svn path=/trunk/; revision=43915

14 years ago- Fix incorrect comment, spotted by Timo.
Stefan Ginsberg [Mon, 2 Nov 2009 18:08:49 +0000 (18:08 +0000)]
- Fix incorrect comment, spotted by Timo.
- Purpouses -> Purposes.

svn path=/trunk/; revision=43914

14 years ago- Fix broken HalpQueryPciRegistryInfo: If it wasn't for the fact that it queried...
Stefan Ginsberg [Mon, 2 Nov 2009 18:05:07 +0000 (18:05 +0000)]
- Fix broken HalpQueryPciRegistryInfo: If it wasn't for the fact that it queried a subkey incorrectly ('ConfigurationData' instead of 'Configuration Data') it was setting up the basic structure correctly but forgot to RETURN IT TO THE CALLER.
- Fixes PCI detection detection as HalpInitializePciStubs no longer has to rely on a 'no info = PCI 1' assumption, making PCI 2 detection possible.
- Add support for querying the CurrentControlSet\Control\PnP\PCI\CardList key and retrieving the card list entries (not used yet). Also add the related keys to hivesys.inf so there is something to query.

svn path=/trunk/; revision=43913

14 years ago- Fix support for /CRASHDEBUG and /NODEBUG; we didn't respect those settings properly...
Stefan Ginsberg [Mon, 2 Nov 2009 17:45:51 +0000 (17:45 +0000)]
- Fix support for /CRASHDEBUG and /NODEBUG; we didn't respect those settings properly and would initialize KD at boot even if they were set.
- Re-enable the breakpoint in vDbgPrintExWithPrefixInternal() as this works properly now. Without this breakpoint some break-in requests got lost if the break-in occurred when handling a debug print (happened a lot at boot).
- Implement Command String support for DbgCommandString() -- we now handle every debug service call.
- Implement NtSetDebugFilterState() and NtQueryDebugFilterState() for KD, meaning we now support debug filters properly.
- Implement KdRefreshDebuggerNotPresent(), KdChangeOption() and KdPowerTransition(). Stub KdSystemDebugControl() to return error status instead of hanging the system.
- Stub the rest of the KD API to print a warning and return a failure packet instead of hanging.
- Set and respect KdpContextSent when getting and setting the thread context -- WinDbg doesn't seem to rely on this, but better safe than sorry.
- Support MP when getting and setting the thread context too -- if the context is operation is for another processor than the current, just get it through the KiProcessorBlock array.
- Initialize the MajorVersion in the KD version block more properly -- the high byte is the major identifier (0 for NT). Add the required DBGKD_MAJOR_TYPES enumeration to wdbgexts.h.
- Simplify setting and clearing the InDbgPrint flag in the TEB to minimize the impact on kernel execution; use 2 dedicated routines instead of a generic one.
- KdpSymbol doesn't return anything, so don't return an ignore status from KdpReportLoadSymbolsStateChange.
- Expose the KdpDefaultRetries and Kd_WIN2000_Mask variables to the registry and add them to KDBG too (unused there).
- No reason to implement KdpSysGetVersion per architecture; move it back to the generic code.
- Add some ARM offsets to the debugger data block that (N/A on other architectures).
- Fix the default size of the DbgPrint log buffer for free builds to save some space. It should be 4 KB for a free build and 32 KB for a checked build.
- Move KeDisableInterrupts to cpu.c as it fits here more than in the IRQ support code in irqobj.c.
- Use KeDisableInterrupts in KeFreezeExecution instead of checking the x86 EFLAG directly.

svn path=/trunk/; revision=43912

14 years ago[OPENGL32]
Timo Kreuzer [Mon, 2 Nov 2009 16:16:09 +0000 (16:16 +0000)]
[OPENGL32]
fix TessVertexOutData callback, too.

svn path=/trunk/; revision=43911

14 years ago- get rid of some cast frenzy, by Physicus
Kamil Hornicek [Mon, 2 Nov 2009 14:00:47 +0000 (14:00 +0000)]
- get rid of some cast frenzy, by Physicus

svn path=/trunk/; revision=43910

14 years agoBug 4893: Dutch translation for Spider Solitaire by Wouter De Vlieger
Daniel Reimer [Sun, 1 Nov 2009 21:31:21 +0000 (21:31 +0000)]
Bug 4893: Dutch translation for Spider Solitaire by Wouter De Vlieger
Bug 4900: slovak for spider and some updates by Mario Kacmar
Bug 4928: Hungarian translation of 3 apps by Gábor Balogh

Update README.WINE

svn path=/trunk/; revision=43904

14 years agoImplement the standard ISO 110-key scancode to virtual key conversion table for decod...
Arch Blackmann [Sun, 1 Nov 2009 19:04:42 +0000 (19:04 +0000)]
Implement the standard ISO 110-key scancode to virtual key conversion table for decoding the LAYOUT section. God that was tedious...

svn path=/trunk/; revision=43903

14 years agoMake some printfs DPRINT1s since they are only for debugging, and also mark LIGATURE...
Arch Blackmann [Sun, 1 Nov 2009 18:30:57 +0000 (18:30 +0000)]
Make some printfs DPRINT1s since they are only for debugging, and also mark LIGATURE, MODIFIERS, ATTRIBUTES and DEADKEY as sections that I don't yet intend to support for now (they're not required for most layouts).

svn path=/trunk/; revision=43902

14 years agoImplement DoKEYNAME (again, very similar to the previous two). Fixup KEYNAME structur...
Arch Blackmann [Sun, 1 Nov 2009 18:26:53 +0000 (18:26 +0000)]
Implement DoKEYNAME (again, very similar to the previous two). Fixup KEYNAME structure once more to make the field names portable accross different usages (LanguageCode becomes Code). The tool now supports KEYNAME, KEYNAME_EXT and KEYNAME_DEAD sections in the layout file.

svn path=/trunk/; revision=43901

14 years agoImplement LANGUAGENAMES parsing (very similar to DESCRIPTIONS). Make KEYNAME structur...
Arch Blackmann [Sun, 1 Nov 2009 18:17:30 +0000 (18:17 +0000)]
Implement LANGUAGENAMES parsing (very similar to DESCRIPTIONS). Make KEYNAME structure portable accross other parsers, not just DESCRIPTIONS.

svn path=/trunk/; revision=43900

14 years agoAdd support for DESCRIPTIONS section (tested on test.klc). Add KEYNAME structure...
Arch Blackmann [Sun, 1 Nov 2009 17:43:51 +0000 (17:43 +0000)]
Add support for DESCRIPTIONS section (tested on test.klc). Add KEYNAME structure. Fixup some of the code in the SHIFTSTATES implementation.

svn path=/trunk/; revision=43899

14 years agoImplement support for parsing shift states. Seems to work fine on the test.klc.
Arch Blackmann [Sun, 1 Nov 2009 15:46:36 +0000 (15:46 +0000)]
Implement support for parsing shift states. Seems to work fine on the test.klc.

svn path=/trunk/; revision=43898

14 years agodid put 7-zip in the wrong category, sry
Daniel Reimer [Sun, 1 Nov 2009 12:47:06 +0000 (12:47 +0000)]
did put 7-zip in the wrong category, sry

svn path=/trunk/; revision=43897

14 years ago[freeldr] Fix typos introduced in r43875
Hervé Poussineau [Sun, 1 Nov 2009 12:19:37 +0000 (12:19 +0000)]
[freeldr] Fix typos introduced in r43875

svn path=/trunk/; revision=43896

14 years ago[browseui]
Andrew Hill [Sun, 1 Nov 2009 02:26:24 +0000 (02:26 +0000)]
[browseui]
- The global class instance _AtlComModule needs to be constructed with placement new also

svn path=/trunk/; revision=43892

14 years ago[atlnew]
Andrew Hill [Sat, 31 Oct 2009 23:40:09 +0000 (23:40 +0000)]
[atlnew]
- RosBE doesn't support __ImageBase, so use GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS) instead.
- Implement CAtlBaseModule constructor.
[browseui]
- Since RosBE built DLLs don't run global constructors, use placement new to construct them in DllMain. This is a *HACK* and a better solution should be found.
- Change DllMain be be extern C so it actually gets used.

svn path=/trunk/; revision=43890

14 years agoImplement DoCOMPANY, DoCOPYRIGHT, DoVERSION and DoLOCALENAME... that was the easy...
Arch Blackmann [Sat, 31 Oct 2009 22:18:28 +0000 (22:18 +0000)]
Implement DoCOMPANY, DoCOPYRIGHT, DoVERSION and DoLOCALENAME... that was the easy part.
Happy Halloween everybody!

svn path=/trunk/; revision=43889

14 years agoImplement DoKBD. The tool can now handle the KBD section of a .klc layout.
Arch Blackmann [Sat, 31 Oct 2009 21:54:26 +0000 (21:54 +0000)]
Implement DoKBD. The tool can now handle the KBD section of a .klc layout.

svn path=/trunk/; revision=43888

14 years agoImplement stubs for all the different keyword stub-parsers.
Arch Blackmann [Sat, 31 Oct 2009 20:24:33 +0000 (20:24 +0000)]
Implement stubs for all the different keyword stub-parsers.

svn path=/trunk/; revision=43886

14 years agoStart implementing the main parser loop. The tool detects the keywords in the test...
Arch Blackmann [Sat, 31 Oct 2009 20:03:43 +0000 (20:03 +0000)]
Start implementing the main parser loop. The tool detects the keywords in the test.klc layout... and that's about all it does for now.

svn path=/trunk/; revision=43885

14 years agoAdd sample US layout keyboard layout file. Generated with MSKLC by loading the US...
Arch Blackmann [Sat, 31 Oct 2009 19:51:27 +0000 (19:51 +0000)]
Add sample US layout keyboard layout file. Generated with MSKLC by loading the US layout in Windows 7.

svn path=/trunk/; revision=43884

14 years ago - Don't disconnect the same socket multiple times (once per TDI_SEND IRP cancelled...
Cameron Gutman [Sat, 31 Oct 2009 18:46:08 +0000 (18:46 +0000)]
 - Don't disconnect the same socket multiple times (once per TDI_SEND IRP cancelled, once per TDI_RECEIVE IRP cancelled, once per TDI_SEND IRP on a closing socket, and once per TDI_RECEIVE IRP on a closing socket)
 - Implement support for graceful socket closure
 - Fix some memory leaks

svn path=/trunk/; revision=43883

14 years agoImplement opening the layout file and printing out the target DLL architecture. Add...
Arch Blackmann [Sat, 31 Oct 2009 18:43:15 +0000 (18:43 +0000)]
Implement opening the layout file and printing out the target DLL architecture. Add missing exit(0).

svn path=/trunk/; revision=43882

14 years ago - Implement OskitTCPDisconnect
Cameron Gutman [Sat, 31 Oct 2009 18:15:23 +0000 (18:15 +0000)]
 - Implement OskitTCPDisconnect

svn path=/trunk/; revision=43881

14 years agoBegin implementing Keyboard Layout Compiler Tool, as requested by KJK::Hyperion....
Arch Blackmann [Sat, 31 Oct 2009 18:13:26 +0000 (18:13 +0000)]
Begin implementing Keyboard Layout Compiler Tool, as requested by KJK::Hyperion. This is a UNIX-style (Win32-compatible) command-line tool that will take a standard keyboard layout file (in text) and generate the source, defininition, header and resource data for it. The second part of the tool will spawn off the compiler to build the keyboard DLL, or perhaps generate an .rbuild file to perform the work.

svn path=/trunk/; revision=43880

14 years ago[KS]
Johannes Anderwald [Sat, 31 Oct 2009 18:00:05 +0000 (18:00 +0000)]
[KS]
- Add comment for using ms portcls in ReactOS
[WDMAUD_KERNEL]
- Handle error
[SYSAUDIO]
- Fix several bugs in the mixer handling code
- Disable kmixer untill all issues are resolved

svn path=/trunk/; revision=43879

14 years ago[includes]
Andrew Hill [Sat, 31 Oct 2009 16:59:33 +0000 (16:59 +0000)]
[includes]
- Fix TestCD
- IDeskBar is only defined when WIN32_IE >= _WIN32_IE_IE60, so ITrackShellMenu should also be defined only when WIN32_IE >= _WIN32_IE_IE60

svn path=/trunk/; revision=43878

14 years ago - Fix translation for OSK_EAGAIN/OSK_EWOULDBLOCK
Cameron Gutman [Sat, 31 Oct 2009 15:53:19 +0000 (15:53 +0000)]
 - Fix translation for OSK_EAGAIN/OSK_EWOULDBLOCK
 - Don't clear other socket state flags when enabling non-blocking mode
 - Remove some incorrect code that plays tricks on oskittcp

svn path=/trunk/; revision=43877

14 years ago[usetup] Update Italian and Spanish resources too, translations by Gabriel ilardi
Gregor Schneider [Sat, 31 Oct 2009 15:24:00 +0000 (15:24 +0000)]
[usetup] Update Italian and Spanish resources too, translations by Gabriel ilardi

svn path=/trunk/; revision=43876

14 years ago[freeldr/WINLDR] Simplify freeldr.ini syntax for common cases
Hervé Poussineau [Sat, 31 Oct 2009 15:09:03 +0000 (15:09 +0000)]
[freeldr/WINLDR] Simplify freeldr.ini syntax for common cases
- If boot type is not specified, autodetect bootsector and Windows types
- Try to automatically detect version of loaded Windows
- Accept boot options after name of OS
- Separate loading and scanning of system hive
As a result, lines like "multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT4" /DEBUG /BREAK" work

svn path=/trunk/; revision=43875

14 years ago- Start rewrite of DirectSound
Johannes Anderwald [Sat, 31 Oct 2009 14:53:06 +0000 (14:53 +0000)]
- Start rewrite of DirectSound
- Implemented DirectSoundEnumerateA, DirectSoundEnumerateW, DirectSoundCaptureEnumerateA, DirectSoundCaptureEnumerateW, GetDeviceID
- Partly implemented IDirectSound8 / IDirectSoundCapture8, IDirectSoundCaptureBuffer, primary / secondary IDirectSoundBuffer8 interfaces
- DllRegisterServer / DllUnregisterServer are taken from Wine DSound implementation (John K. Hohm)
- Currently only one primary + secondary buffer are supported for playback
- Mixing of IDirectSoundBuffer is not implemented
- Capture mode isnt yet supported
- Vlc now can use dsound for playback, though stutters in low quality streams are present
- Dsound is not yet added to build untill it has stabilized more

svn path=/trunk/; revision=43874

14 years ago[usetup] Apply r43870 for German resource file, fix boot loader vs boot sector confusion
Gregor Schneider [Sat, 31 Oct 2009 14:29:38 +0000 (14:29 +0000)]
[usetup] Apply r43870 for German resource file, fix boot loader vs boot sector confusion

svn path=/trunk/; revision=43873

14 years ago[browseui, shell32, explorer_new, include]
Andrew Hill [Sat, 31 Oct 2009 14:25:45 +0000 (14:25 +0000)]
[browseui, shell32, explorer_new, include]
- Convert browseui to C++/ATL. As part of this, classes in browseui and now registered with .rgs files.
- Add AddressBand, AddressEditBox, BandProxy, BaseBar, BaseBarSite, BrandBand, InternetToolbar, ShellBrowser, ToolsBand, and TravelLog.
- Add stub implementations of commonbrowser, globalfoldersettings, and regtreeoptions.
- Clean up some msvc compile problems in a few files.
- Reorganize some headers to make them better match the Platform SDK.
- Move InlineIsEqualGUID to guiddef.h.
- Create new header files shlguid_undoc.h, shlobj_undoc.h, and shlwapi_undoc.h to hold undocumented types, functions, and GUIDs.
- Move some undocumented definitions declared in explorer_new/todo.h and undoc.h to new headers.
- Rename a few interfaces in explorer_new to the correct name
- Add definition of RBSTR_CHANGERECT to commctrl.h
- IDeskBarClient inherits from IOleWindow, not IUnknown
- HMONITOR was declared in both dxsdk/axextend.idl and wine/wined3d.idl, but not in wtypes.idl where it belongs
- Added Init and Term to CComModule
- Thanks to encoded for solving the browseui linking problem!

svn path=/trunk/; revision=43872

14 years ago- Don't define the SizePcr entry to the size of the PCR PLUS the PRCB SIZE! The PRCB...
Stefan Ginsberg [Sat, 31 Oct 2009 13:46:16 +0000 (13:46 +0000)]
- Don't define the SizePcr entry to the size of the PCR PLUS the PRCB SIZE! The PRCB size is already defined in the SizePrcb entry.
- Likewise, the OffsetPrcbProcStateSpecialReg entry defines the offset to the special registers in the PRCB, not a PCR + PRCB offset + special registers offset! This can only have worked on x86 and AMD64 if WinDbg uses a hard coded offset, but define it correctly anyway.
- The OffsetPcrSelfPcr and OffsetPcrContainedPrcb entries are not applicable for ARM, so define them to 0 for it.

svn path=/trunk/; revision=43871

14 years ago[usetup]
Aleksey Bragin [Sat, 31 Oct 2009 13:31:28 +0000 (13:31 +0000)]
[usetup]
- Change "MBR" to "bootsector", as proposed in bug 4356 by Michael Trausch. Changed languages are English and Russian.

svn path=/trunk/; revision=43870