Commit graph

22041 commits

Author SHA1 Message Date
Art Yerkes
58cdf1c29b Added gdi32, because we depend on CreateSolidBrush and kin.
svn path=/trunk/; revision=23639
2006-08-21 04:41:11 +00:00
Art Yerkes
ae19f2956d - Fixed timeout calculation.
- Fixed a couple of leaks.

svn path=/trunk/; revision=23638
2006-08-21 03:59:02 +00:00
Alex Ionescu
0ba60c4b62 - Delete bios.c and usertrap.c
- Add Ke entries to KernelFun!

svn path=/trunk/; revision=23637
2006-08-21 03:49:02 +00:00
Alex Ionescu
f038f4a895 - Gutted out KiTrapHandler. Now it is only a gateway for GPF/UD for V86 mode.
- Removed all the code in userptrap.c and removed KiKernelTrapHandler.
- Set Traps 11, 12, 16 and 17 as unhandled for now(Segment fault, stack fault, fpu fault and alignment fault). We weren't really "handling" them in the past either.
- I probably need to implement GPF handler for non-V86 mode to support Lazy segment loading and fix the vmware syscall bug that has been haunting me for two years.

svn path=/trunk/; revision=23636
2006-08-21 03:31:53 +00:00
Alex Ionescu
775b443831 - Call KiSystemFatalException directly instead of duplicating the code 5 times.
svn path=/trunk/; revision=23635
2006-08-21 03:03:52 +00:00
Alex Ionescu
03f23a9e0a - Convert 8, 9, 10, 15/F
svn path=/trunk/; revision=23634
2006-08-21 03:01:47 +00:00
Alex Ionescu
162d423eff - Switch 4, 5, 6 to common ASM dispatcher as well.
svn path=/trunk/; revision=23633
2006-08-21 02:32:08 +00:00
Alex Ionescu
4bb966cd9a - Implement generic exception dispatcher for traps (kind-of analogous to KiKernelTrapHandler/KiUserTrapHandler but in assembly and more generic/compact).
- Switch Traps 0, 1  to it.
- Trap 2 is NMI, bugcheck immediately since we can't handle them yet.

svn path=/trunk/; revision=23632
2006-08-21 02:01:07 +00:00
Alex Ionescu
c43ef4fb30 - Fixes to CONTEXT<->KTRAP_FRAME conversion.
svn path=/trunk/; revision=23631
2006-08-21 01:07:01 +00:00
Brandon Turner
4c9f6c31bb Label NtReadFileScatter as unimplemented.
svn path=/trunk/; revision=23630
2006-08-21 00:02:33 +00:00
Johannes Anderwald
44f2cc5731 * colors.c: implement color dialog (reading from registry is not yet supported)
* font.c/layout.c/console.c/options.c: add UNREFERENCED_PARAMETER macros, fix sharing of global struct
* console.def: fix building with MSVC

svn path=/trunk/; revision=23629
2006-08-20 23:55:08 +00:00
Alex Ionescu
74f108bb28 - Detect NPX/FPU in simple assembly and XMMI/SSE2 by using CPU Feature flags, replacing the old asm+c mess.
- Handle FPU/SSE saving in the CONTEXT<->KTRAP_FRAME routines directly, and using KiFlushNPXState assembly function.
- Implement a naive Trap 7 (FPU Fault) handler in assembly that properly does most of the work required to handle an FPU fault. Not yet complete however since it almost ignores user-mode faults (just like trunk). FPU isn't done in ctx switching yet.
- Remove all the other .c code that dealt with FPU stuff and had become incompatible since more then a year ago.

svn path=/trunk/; revision=23628
2006-08-20 23:53:07 +00:00
Michele Cicciotti
aabf06072b modified porting-tools/rdesktop-core-tester/activex.cpp
modified   porting-tools/rdesktop-core-tester/rdesktop-core-tester.cpp
    And from the chrysalis out came... the caterpillar. MissTosca stops just short of being demonstrable. I'll keep working on it, but the Google Summer of Code is, for all intent and purposes, over. The matter is in the hands of my judges now. Wish me luck

modified   rdesktop/iso.c
modified   rdesktop/proto.h
modified   rdesktop/rdesktop.h
modified   rdesktop/rdp.c
    Very minor fixes

modified   rdesktop/tcp.c
    Use asynchronous I/O and alertable waits to allow aborting the protocol thread ASAP

svn path=/trunk/; revision=23627
2006-08-20 21:02:10 +00:00
Art Yerkes
9cb66d7953 Add the ability to specify DNS servers and make adns work right in case they
are specified.

svn path=/trunk/; revision=23626
2006-08-20 20:51:54 +00:00
Alex Ionescu
43d5f7e90d - Remove some FPU deprecated constants and use the new ones.
- Deliver APCs on return from context switch with pending kernel APCs.

svn path=/trunk/; revision=23625
2006-08-20 20:27:03 +00:00
Alex Ionescu
893a8bcac6 - Don't use EFLAGS to store the Wait IRQL, just push directly, it's cleaner.
- Detect if kernel APCs are pending and request APC_LEVEL software interrupt from HAL if they are, returning with the right apc status.
- Also update INT21 VDM Descriptor handler when updating LDT descriptor.

svn path=/trunk/; revision=23624
2006-08-20 20:09:25 +00:00
Alex Ionescu
017e14551b - Damn copy/paste bug.
svn path=/trunk/; revision=23623
2006-08-20 20:02:18 +00:00
Alex Ionescu
baf87a4cfb - Fix bug 1764 reported by alexvlas.
svn path=/trunk/; revision=23622
2006-08-20 20:00:56 +00:00
Alex Ionescu
233e643648 - Add support for APC-delivery after context-switch (not yet programmed)
- Detect and crash if context switch is done inside a DPC.
- Switch kernel stack a bit earlier
- Don't switch address space if we're still in the same process, and fix some duplicated code that was mixed up together.
- Move LDT setup out-of-line.

svn path=/trunk/; revision=23621
2006-08-20 19:55:32 +00:00
Johannes Anderwald
9348f70d7d * implement debugger settings for Control Panel Applets for MSVC2005
* in order to use, start the vcproj save sln and restart && enjoy

svn path=/trunk/; revision=23620
2006-08-20 19:19:21 +00:00
Alex Ionescu
58257141b3 - Some micro-architectural changes and cleanups.
svn path=/trunk/; revision=23619
2006-08-20 19:08:57 +00:00
Aleksey Bragin
f448f3bae0 [FORMATTING]
svn path=/trunk/; revision=23616
2006-08-20 14:01:17 +00:00
Magnus Olsen
4e7aa7365f do not hard code to Bitstream Vera Sans use MS Shell Dlg instead
svn path=/trunk/; revision=23615
2006-08-20 12:46:02 +00:00
Magnus Olsen
35b13e8bb0 Fixed some hard code font name
1. Bitstream Vera Sans to MS Sans Serif
2. Bitstream Vera Sans Mono to Courier New
This fixed some problem that bug 1191 mentor but not all. 
I tested this change in ReactOS 
1. using BootCD install whole process and run some ros own program
   and tested cmd. No problem was found with this change. 

svn path=/trunk/; revision=23614
2006-08-20 12:42:30 +00:00
Michele Cicciotti
be56b5e77c modified porting-tools/rdesktop-core-tester/activex.cpp
modified   porting-tools/rdesktop-core-tester/rdesktop-core-tester.vcproj
modified   porting-tools/rdesktop-core-tester/stdafx.h
    Support acting as both the stand-alone DLL (mstscax.dll) and the redistributable (msrdp.ocx)
    Wrap the non-standard "sealed" keyword in a macro
    Almost all state now correctly passed between rdesktop-core and the ActiveX
    Some debugging aids
    Prepared a functional DllMain
    Pulled in Common Controls, needed for the full-screen titlebar

modified   rdesktop/rdesktop.h
modified   rdesktop/rdp.c
modified   rdesktop/secure.c
    Minor clean-up

svn path=/trunk/; revision=23613
2006-08-19 21:44:41 +00:00
Michele Cicciotti
efcb331e18 modified porting-tools/rdesktop-core-tester/activex.cpp
Getting closer and closer and closer yet...

modified   porting-tools/rdesktop-core-tester/mstsclib_h.h
modified   porting-tools/rdesktop-core-tester/mstsclib_i.c
modified   porting-tools/rdesktop-core-tester/mstsclib_redist_h.h
modified   porting-tools/rdesktop-core-tester/mstsclib_redist_i.c
    Regenerated, no code changes

modified   porting-tools/rdesktop-core-tester/rdesktop-core-tester.cpp
modified   rdesktop/cache.c
modified   rdesktop/iso.c
modified   rdesktop/licence.c
modified   rdesktop/mcs.c
modified   rdesktop/orders.c
modified   rdesktop/parse.h
modified   rdesktop/proto.h
modified   rdesktop/pstcache.c
modified   rdesktop/rdesktop.h
modified   rdesktop/rdp.c
modified   rdesktop/rdp5.c
modified   rdesktop/secure.c
modified   rdesktop/tcp.c
    Trimmed down rdesktop-core library to the maximum extent possible
    Handle errors gracefully
    Use actual Unicode strings
    Fixed most warnings
    Added hooks for events happening inside the protocol's main loop

modified   porting-tools/rdesktop-core-tester/stdafx.cpp
    Clean-up

svn path=/trunk/; revision=23612
2006-08-19 18:40:53 +00:00
Aleksey Bragin
10f76ae52b Fix a bit of warnings
svn path=/trunk/; revision=23611
2006-08-19 18:09:30 +00:00
Aleksey Bragin
1f4c3ee955 - Brandon Turner's warning fixing patch
- When compiled with gcc we assume that CPU can't do TSC (the function will be rewritten anyway since it's weird to use inline assembly in a driver)
- Changed to the correct .rc file, removed duplicate one (ehci.rc)
- usbdriver now compiles with reactos build system

svn path=/trunk/; revision=23610
2006-08-19 16:53:49 +00:00
Johannes Anderwald
6da011c669 * implement console resources
* based on a patch by Lohnegrim

svn path=/trunk/; revision=23609
2006-08-19 10:35:00 +00:00
Brandon Turner
cd6e6b75c6 include sndvol32 on the bootcd. this fixes bug 1754
svn path=/trunk/; revision=23606
2006-08-18 23:48:02 +00:00
Aleksey Bragin
c0f94a72fc According to Filip Navara, HCELL's structure is
1. No plans to support NT 3.x hives (thus no need for OldCell / NewCell)
2. Cmlib is a bit architecturally different from NT's implementation:
"... i don't need the UserData, because that is what i return ... i don't consider it part of the header anymore"

svn path=/trunk/; revision=23605
2006-08-18 22:03:36 +00:00
Brandon Turner
5cd8f73f12 Don't redefine HIWORD or LOWORD if they are defined already.
Make 2 new macros USE_NON_PENDING_IRQL, USE_BASIC_NON_PENDING_IRQL and use accordingly to remove warnings

svn path=/trunk/; revision=23604
2006-08-18 21:37:02 +00:00
Aleksey Bragin
9bd9265d9f Fixes:
- missing ";" at eol
 - some compatibility issues with newer WDK's files

svn path=/trunk/; revision=23603
2006-08-18 21:00:43 +00:00
Aleksey Bragin
430d3e90b8 Import "USB Driver stack project for Windows NT 4.0" by Zhiming/Woodhead (mypublic99@yahoo.com).
It supports UHCI/EHCI controllers.
Don't expect it to compile with ReactOS build environment. I intend to do some work on it, and use this place to keep my changes, before it's suitable for ReactOS.


"I would like to see it useful for ReactOS" (c) woodhead

 

svn path=/trunk/; revision=23602
2006-08-18 20:37:55 +00:00
Magnus Olsen
4fec2ff8db fixed msvs build
svn path=/trunk/; revision=23601
2006-08-18 09:15:26 +00:00
Magnus Olsen
2384d41068 fixed to error that was show in msvs when it compiles
svn path=/trunk/; revision=23600
2006-08-18 09:06:28 +00:00
Brandon Turner
4316d67743 minor grammatical / wording fixes. bug 1747
svn path=/trunk/; revision=23599
2006-08-18 01:51:44 +00:00
Ged Murphy
00a97e886c don't read the 0000 key.
stops the annoying 'Missing NetCfgInstanceId Entry' message box when running in Windows.

svn path=/trunk/; revision=23598
2006-08-17 20:23:10 +00:00
Ged Murphy
0731e09013 match up taskmgr with current icon theme
svn path=/trunk/; revision=23597
2006-08-17 19:11:17 +00:00
Ged Murphy
369176ea9d Don't allow ws2_32 access to apps with bad setup data
(commit correct version this time)

svn path=/trunk/; revision=23596
2006-08-17 16:48:36 +00:00
Ged Murphy
885da5be07 Don't allow ws2_32 access to apps with bad setup data
svn path=/trunk/; revision=23595
2006-08-17 16:44:54 +00:00
Alex Ionescu
22917c0ebe - Properly disable impersonation in PsDisableImpersonation if it was previously enabled, instead of not disabling it. (fix a wrong check). Thanks to Arty.
svn path=/trunk/; revision=23588
2006-08-16 03:17:21 +00:00
James Tabor
a2976ce0d4 Only lower word is used with dwTypeData as bitmap handle.
svn path=/trunk/; revision=23587
2006-08-15 18:05:18 +00:00
Ged Murphy
b01f9a2937 [AUDIT]
iprtprio
unimplemented

svn path=/trunk/; revision=23585
2006-08-14 21:48:55 +00:00
Ged Murphy
3eb1c6a341 Add debug print
svn path=/trunk/; revision=23584
2006-08-14 21:35:51 +00:00
Alex Ionescu
361a28608d - Get rid of "ChunkSize" through a sickening hack (however this should make the Hv* interface compatible enough for me to resume work on the cm branch).
svn path=/trunk/; revision=23583
2006-08-14 21:09:41 +00:00
Magnus Olsen
207e201632 uppdate Dejavu font from 2.7 to 2.9
svn path=/trunk/; revision=23582
2006-08-14 19:48:29 +00:00
Johannes Anderwald
b94a1c980f * create a directory "system" under %SystemRoot% to make dumb apps work
* fixes bug 879

svn path=/trunk/; revision=23581
2006-08-14 17:40:41 +00:00
Ged Murphy
546f463b79 [AUDIT]
ws2_32
- All exported functions are fully documented on MSDN
- All internal functions are clearly written with no signs of reversing
- Reformat all code to ReactOS standard

svn path=/trunk/; revision=23580
2006-08-14 17:26:36 +00:00
James Tabor
4fe1ff2259 - User32: menu, patch by Michael Kaufmann. Fix the keyboard navigation and some graphical glitches for multi-column menus.
svn path=/trunk/; revision=23579
2006-08-14 14:44:40 +00:00