Johannes Anderwald [Wed, 21 Mar 2007 17:16:26 +0000 (17:16 +0000)]
- revert 26147
svn path=/trunk/; revision=26149
Aleksey Bragin [Wed, 21 Mar 2007 14:31:57 +0000 (14:31 +0000)]
- KiRosFrldrLpbToNtLpb(): Round up to the correct size in pages (I don't see a reason to provide a "cropped" size of modules).
- Change "FreeLDR BIAS hack" to a better one: measure sizes of all 3 codepages, and place them contiguously. Is this still required at all? On my system I didn't see a case when these tables are placed not contiguously by freeldr.
- This fixes early bugcheck in ExpInitNls().
svn path=/trunk/; revision=26148
Johannes Anderwald [Tue, 20 Mar 2007 20:12:10 +0000 (20:12 +0000)]
- fix makefiles to depend on TOOLS_OUT_ value than directly hardcoding it to $(OUTPUT)
svn path=/trunk/; revision=26147
Aleksey Bragin [Tue, 20 Mar 2007 19:09:55 +0000 (19:09 +0000)]
Fix MSVC compilation with NT4 ddk.
svn path=/trunk/; revision=26146
Dmitry Gorbachev [Tue, 20 Mar 2007 16:03:32 +0000 (16:03 +0000)]
Italian translation by Paolo Devoti.
svn path=/trunk/; revision=26145
Dmitry Gorbachev [Tue, 20 Mar 2007 16:02:01 +0000 (16:02 +0000)]
Italian translation by Paolo Devoti.
svn path=/trunk/; revision=26144
Dmitry Gorbachev [Tue, 20 Mar 2007 16:01:19 +0000 (16:01 +0000)]
Italian translation by Paolo Devoti (see bug #2027)
svn path=/trunk/; revision=26143
Alex Ionescu [Mon, 19 Mar 2007 21:53:38 +0000 (21:53 +0000)]
- Fix an important bug which was causing us to incorrectly set the DPC Stack in the Processor Region Control Block.
- Enable usage of the DPC Stack during DPCs.
- Enable usage of the DPC Stack during Fast System Calls and put back the correct push/pop code in FASTCALL_PROLOG.
svn path=/trunk/; revision=26142
Alex Ionescu [Mon, 19 Mar 2007 19:43:50 +0000 (19:43 +0000)]
- Don't use the stack in FASTCALL_PROLOG. It messes up NPX checks (this is a bug, it shouldn't happen... related to DPC stack bug.)
- Zero out the trap/npx frame for new user-mode threads.
- Use KeI386FxsrPresent and not KEI386XMMIPresent when setting up the context for a new thread.
svn path=/trunk/; revision=26141
Alex Ionescu [Mon, 19 Mar 2007 19:05:39 +0000 (19:05 +0000)]
- Fix NPX check in context switcher.
- Fix ObLogSecurityDescriptor.
- Fix some missing features in SeAccessCheck.
svn path=/trunk/; revision=26140
Alex Ionescu [Mon, 19 Mar 2007 17:55:38 +0000 (17:55 +0000)]
- Change FASTCALL_PROLOG to use the stack to update FS, since we run in the DPC stack.
- Implement KeDisableInterrupts to disable interrupts and return whether or not they were enabled.
- Implement KiCheckTimerTable, in DBG mode, to validate the timer tables.
- Implement DPC Timeout detection, in DBG mode.
- Fix a bug in KiQuantumEnd which would've affected real-time threads.
- Fix some bugs in KiRetireDpcList to avoid issues should the DPC Queue Depth drop below 0, and solve some possible races.
- Fix KeRemoveQueueDpc only to enable interrupts if it was called with interrupts enabled.
svn path=/trunk/; revision=26139
Alex Ionescu [Mon, 19 Mar 2007 05:56:27 +0000 (05:56 +0000)]
- Change the way DR_TRAP_FIXUP and V86_TRAP_FIXUP work so that they can be combined into TRAP_FIXUPS, which will also handle ABIOS Fixups later.
- Modified the way TRAP_FIXUPS and XXX_PROLOGS work, so that the fixup code doesn't depend on numerical values anymore, but instead on unique labels for each function (kitd thus becomes kitd_a and kitd_t, for entry and exit).
- Now we can put the TRAP_FIXUPS for the Interrupt Template as part of the code, and at the end.
- Enable Dr Save/Restore in lots of places where it was previously disable.
- Implement Dr Save/Restore in V86 traps.
svn path=/trunk/; revision=26138
Alex Ionescu [Mon, 19 Mar 2007 03:29:29 +0000 (03:29 +0000)]
- New ISR Timeout detection code.
- New Interrupt Storm detection code.
- Use PCR everywhere instead of fs:[ or [fs:. Significant improvements on UP builds because we use ds:[KPCRADDRESSS] for them.
- Ongoing work.
svn path=/trunk/; revision=26137
Eric Kohl [Sun, 18 Mar 2007 21:56:25 +0000 (21:56 +0000)]
Fix some dialog issues:
- Use AUTOCHECKBOXes instead of CHECKBOXes.
- Set the height of CHECKBOXes and PUSHBUTTONs to 14.
- Get rid of overlapping controls.
- Remove DS_FIXEDSYS dialog style.
- Move language-independent resources to the main .rc file.
svn path=/trunk/; revision=26136
Aleksey Bragin [Sun, 18 Mar 2007 21:55:21 +0000 (21:55 +0000)]
It's better to zero-initialize these variables before calling RtlQueryRegistryValues().
svn path=/trunk/; revision=26135
Sylvain Petreolle [Sun, 18 Mar 2007 17:12:18 +0000 (17:12 +0000)]
add KsInitializeDriver
svn path=/trunk/; revision=26134
Sylvain Petreolle [Sun, 18 Mar 2007 15:51:37 +0000 (15:51 +0000)]
reenable mpu401_ks,
it builds since andrew added the needed includes
svn path=/trunk/; revision=26133
Sylvain Petreolle [Sun, 18 Mar 2007 15:38:04 +0000 (15:38 +0000)]
various fixes
sb16_ks now builds, but cannot be built
svn path=/trunk/; revision=26132
Hervé Poussineau [Sun, 18 Mar 2007 14:33:17 +0000 (14:33 +0000)]
Add a variable to change the name of the ReactOS directory on bootcd.
If a non default name is chosen, the cdrom is created, but it is unusable as freeldr doesn't find txtsetup.inf
svn path=/trunk/; revision=26131
Hervé Poussineau [Sun, 18 Mar 2007 12:47:27 +0000 (12:47 +0000)]
Fix SeAccessCheck to perform correct checks.
When returning STATUS_ACCESS_DENIED when required (currently disabled), ReactOS boots up to login screen on 3rd boot.
Now, we just need to fix callers.
svn path=/trunk/; revision=26130
Sylvain Petreolle [Sun, 18 Mar 2007 11:39:27 +0000 (11:39 +0000)]
add missing parenthesis
svn path=/trunk/; revision=26129
Hervé Poussineau [Sun, 18 Mar 2007 00:27:02 +0000 (00:27 +0000)]
Fix warnings
svn path=/trunk/; revision=26128
Hervé Poussineau [Sat, 17 Mar 2007 23:21:23 +0000 (23:21 +0000)]
Fix some warnings
svn path=/trunk/; revision=26127
Hervé Poussineau [Sat, 17 Mar 2007 21:25:00 +0000 (21:25 +0000)]
Disable PS/2 auxiliary port detection, which is too unreliable.
svn path=/trunk/; revision=26126
Hervé Poussineau [Sat, 17 Mar 2007 21:14:11 +0000 (21:14 +0000)]
Add some missing definitions
svn path=/trunk/; revision=26125
Hervé Poussineau [Sat, 17 Mar 2007 20:53:05 +0000 (20:53 +0000)]
Fix default data sent to RtlQueryRegistryValues
svn path=/trunk/; revision=26124
Magnus Olsen [Sat, 17 Mar 2007 18:32:32 +0000 (18:32 +0000)]
fixing a gcc4 warring. why does gcc4 warning a uninsiated value but the value are being iniste in seh
svn path=/trunk/; revision=26123
Magnus Olsen [Sat, 17 Mar 2007 15:15:27 +0000 (15:15 +0000)]
Now we can call to the driver createsurface, but we fail create a surface. maybe I miss fill in some value ??
svn path=/trunk/; revision=26122
Andrew Greenwood [Sat, 17 Mar 2007 13:27:50 +0000 (13:27 +0000)]
Should compile now...
svn path=/trunk/; revision=26121
Andrew Greenwood [Sat, 17 Mar 2007 13:21:33 +0000 (13:21 +0000)]
A few header files I forgot to commit last time. Sorry!
svn path=/trunk/; revision=26120
Dmitry Gorbachev [Sat, 17 Mar 2007 08:30:26 +0000 (08:30 +0000)]
Fix my bad fix.
svn path=/trunk/; revision=26119
Magnus Olsen [Fri, 16 Mar 2007 17:04:53 +0000 (17:04 +0000)]
small typo in DdCreateSurface
svn path=/trunk/; revision=26118
Dmitry Gorbachev [Fri, 16 Mar 2007 16:54:34 +0000 (16:54 +0000)]
Fix bugs #2049 and #2084 (thanks to Peter Krawies)
svn path=/trunk/; revision=26117
Dmitry Gorbachev [Fri, 16 Mar 2007 16:53:01 +0000 (16:53 +0000)]
Fix a bug (#2054, translation by Heis Spiter)
svn path=/trunk/; revision=26116
Dmitry Gorbachev [Fri, 16 Mar 2007 16:52:36 +0000 (16:52 +0000)]
Commit a patch (attachment #1135)
svn path=/trunk/; revision=26115
Magnus Olsen [Fri, 16 Mar 2007 15:28:48 +0000 (15:28 +0000)]
start fixing NtGdiDdCreateSurface, This code are not complete and does not work for NtGdiDdCreateSurface yet. But I do not whant start 10 time write it again.
svn path=/trunk/; revision=26114
Aleksey Bragin [Fri, 16 Mar 2007 12:49:47 +0000 (12:49 +0000)]
- Fix a few simple errors in ks/portcls.h
- Exclude it from the build process since important header files are missing (Hint to Andrew: commit stdunk.h & co)
svn path=/trunk/; revision=26113
Aleksey Bragin [Fri, 16 Mar 2007 11:45:52 +0000 (11:45 +0000)]
Put ntdll dependency back.
svn path=/trunk/; revision=26112
Magnus Olsen [Fri, 16 Mar 2007 09:01:40 +0000 (09:01 +0000)]
fixing smaller bugs in NtGdiDdQueryDirectDrawObject,
like some return value are right
svn path=/trunk/; revision=26111
Hervé Poussineau [Thu, 15 Mar 2007 19:00:34 +0000 (19:00 +0000)]
Fix compilation of drivers ks, mpu401_ks and sb16_nt4
svn path=/trunk/; revision=26109
Hervé Poussineau [Thu, 15 Mar 2007 16:32:56 +0000 (16:32 +0000)]
Add missing #endif
svn path=/trunk/; revision=26108
Hervé Poussineau [Thu, 15 Mar 2007 15:42:11 +0000 (15:42 +0000)]
Split intrin.h file into architecture specific files
svn path=/trunk/; revision=26107
Hervé Poussineau [Thu, 15 Mar 2007 10:58:19 +0000 (10:58 +0000)]
Add some missing files. Trunk is still not buildable
svn path=/trunk/; revision=26106
Aleksey Bragin [Thu, 15 Mar 2007 10:37:58 +0000 (10:37 +0000)]
- "Fix" RtlQueryRegistryValues() usage (inspired by 26072)
- Typo fix
- DPRINT added for showing RegistryPath
svn path=/trunk/; revision=26105
Hervé Poussineau [Thu, 15 Mar 2007 09:14:59 +0000 (09:14 +0000)]
Fix crt compilation
svn path=/trunk/; revision=26104
Andrew Greenwood [Wed, 14 Mar 2007 21:31:31 +0000 (21:31 +0000)]
Yet more files I've been meaning to commit...
(and again they're mostly incomplete)
svn path=/trunk/; revision=26103
Andrew Greenwood [Wed, 14 Mar 2007 20:50:42 +0000 (20:50 +0000)]
Basic beginnings of an MPU401 driver (forgot to commit with last files)
svn path=/trunk/; revision=26102
Alex Ionescu [Wed, 14 Mar 2007 20:34:10 +0000 (20:34 +0000)]
- Move libcntpr to /sdk. Couldn't do rename+move atomically.
svn path=/trunk/; revision=26101
Alex Ionescu [Wed, 14 Mar 2007 20:33:22 +0000 (20:33 +0000)]
- Rename libcntptr->libcntpr. I don't know what the f*ck happened but it was named _correctly_ on my system, then got committed with the wrong name, while svn still matched it locally.
svn path=/trunk/; revision=26100
Alex Ionescu [Wed, 14 Mar 2007 20:30:32 +0000 (20:30 +0000)]
- Actually add libcntpr. Yup, I messed this up badly.
svn path=/trunk/; revision=26099
Alex Ionescu [Wed, 14 Mar 2007 20:30:00 +0000 (20:30 +0000)]
- Add missing file.
svn path=/trunk/; revision=26098
Alex Ionescu [Wed, 14 Mar 2007 20:29:24 +0000 (20:29 +0000)]
- Remove leftovers.
svn path=/trunk/; revision=26097
Alex Ionescu [Wed, 14 Mar 2007 20:28:28 +0000 (20:28 +0000)]
- Remove leftovers.
svn path=/trunk/; revision=26096
Alex Ionescu [Wed, 14 Mar 2007 20:24:57 +0000 (20:24 +0000)]
- Cleanup the /lib directory, by putting more 3rd-party libs in /3rdparty, and by creating a new directory called /sdk where libraries which emulate the ones in the WDK are present (Such as uuid, nt, crt, etc).
- Removed lib/interlck and lib/string.
- Removed math routines from lib/rtl.
- Created a new library called libcntpr which is what NT/WDK use when compiling the kernel/system libraries. This is an "NT-Private" version of the CRT which is supposed to contain what we had in lib/string and lib/rtl.
svn path=/trunk/; revision=26095
Andrew Greenwood [Wed, 14 Mar 2007 19:50:47 +0000 (19:50 +0000)]
Mostly minor updates to the source tree for portcls.
Still much work to be done!
svn path=/trunk/; revision=26094
Magnus Olsen [Wed, 14 Mar 2007 16:33:36 +0000 (16:33 +0000)]
Bug fix DdCreateSurface, it can now create one surface, the code are tested in windows, in my syscall demo for win32k. We do not support create more that one surface. mulit surface create will be add later. But code path to implement it, exist
svn path=/trunk/; revision=26093
The Wine Synchronizer [Wed, 14 Mar 2007 14:55:42 +0000 (14:55 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26092
The Wine Synchronizer [Wed, 14 Mar 2007 14:54:22 +0000 (14:54 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26091
The Wine Synchronizer [Wed, 14 Mar 2007 14:52:10 +0000 (14:52 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26090
The Wine Synchronizer [Wed, 14 Mar 2007 14:50:28 +0000 (14:50 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26089
The Wine Synchronizer [Wed, 14 Mar 2007 14:46:50 +0000 (14:46 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26088
The Wine Synchronizer [Wed, 14 Mar 2007 14:44:22 +0000 (14:44 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26087
The Wine Synchronizer [Wed, 14 Mar 2007 14:43:17 +0000 (14:43 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26086
The Wine Synchronizer [Wed, 14 Mar 2007 14:39:18 +0000 (14:39 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26085
The Wine Synchronizer [Wed, 14 Mar 2007 14:38:17 +0000 (14:38 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26084
The Wine Synchronizer [Wed, 14 Mar 2007 14:34:47 +0000 (14:34 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26083
The Wine Synchronizer [Wed, 14 Mar 2007 14:33:33 +0000 (14:33 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26082
The Wine Synchronizer [Wed, 14 Mar 2007 14:29:38 +0000 (14:29 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26081
The Wine Synchronizer [Wed, 14 Mar 2007 14:20:42 +0000 (14:20 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26080
The Wine Synchronizer [Wed, 14 Mar 2007 14:13:17 +0000 (14:13 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26079
Hervé Poussineau [Wed, 14 Mar 2007 13:05:40 +0000 (13:05 +0000)]
Add missing file for autosync of cabinet.dll
svn path=/trunk/; revision=26078
The Wine Synchronizer [Wed, 14 Mar 2007 12:55:03 +0000 (12:55 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26077
The Wine Synchronizer [Wed, 14 Mar 2007 12:48:32 +0000 (12:48 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=26076
Hervé Poussineau [Wed, 14 Mar 2007 12:44:54 +0000 (12:44 +0000)]
Prepare import of Wine library odbccp32 (sorry, this revision won't build)
svn path=/trunk/; revision=26075
Hervé Poussineau [Wed, 14 Mar 2007 12:29:18 +0000 (12:29 +0000)]
Add stubs for SetupDiGetClassInstallParamsA/W
Support SetupDiSetClassInstallParams(DIF_ADDPROPERTYPAGE_ADVANCED)
svn path=/trunk/; revision=26074
Hervé Poussineau [Wed, 14 Mar 2007 12:23:21 +0000 (12:23 +0000)]
No need to ask for more rights than needed
svn path=/trunk/; revision=26073
Alex Ionescu [Wed, 14 Mar 2007 01:44:38 +0000 (01:44 +0000)]
- Rewrite RtlQueryRegistryValues and implement all the features it requires. This is one of the most important kernel-mode API for driver support.
- Fix code in the kernel which was incorrectly calling it.
svn path=/trunk/; revision=26072
Dmitry Gorbachev [Tue, 13 Mar 2007 16:08:49 +0000 (16:08 +0000)]
Fix bug #1872
svn path=/trunk/; revision=26071
Hervé Poussineau [Tue, 13 Mar 2007 15:57:50 +0000 (15:57 +0000)]
Prevents a freeze when running the bootcd. Still needs to investigate to find the real reason.
svn path=/trunk/; revision=26070
Andrew Munger [Tue, 13 Mar 2007 11:28:18 +0000 (11:28 +0000)]
Typo fixes, patch by our friend Coviti.
svn path=/trunk/; revision=26068
Alex Ionescu [Mon, 12 Mar 2007 17:30:57 +0000 (17:30 +0000)]
- Fix some bugs in the kernel related to driver loading, which were hindering FreeLDR 2.5 support.
- Make FreeLDR relocate and process the import tables of drivers as well. This is almost FreeLDR 2.5 but is still missing some minor functionality before being completely done.
svn path=/trunk/; revision=26067
Dmitry Gorbachev [Mon, 12 Mar 2007 00:29:56 +0000 (00:29 +0000)]
Fix BSS bugs (#2068, #2072)
svn path=/trunk/; revision=26066
Magnus Olsen [Sun, 11 Mar 2007 16:28:22 +0000 (16:28 +0000)]
NtGdiDdWaitForVerticalBlank
copy user mode pointer to kmode memory
and copy back some data to user mode pointer
using seh
NtGdiDdCanCreateSurface, NtGdiDdGetScanLine
fixing a stupied bug do not crash if look
fail of hDD handler. but this should never
happen. either way
svn path=/trunk/; revision=26065
Magnus Olsen [Sun, 11 Mar 2007 15:47:49 +0000 (15:47 +0000)]
fixing smaller bug in NtGdiDdCanCreateSurface
and NtGdiDdGetScanLine
svn path=/trunk/; revision=26064
Magnus Olsen [Sun, 11 Mar 2007 15:18:12 +0000 (15:18 +0000)]
fixing smaller bug in NtGdiDdCanCreateSurface
svn path=/trunk/; revision=26063
Magnus Olsen [Sun, 11 Mar 2007 14:01:22 +0000 (14:01 +0000)]
forget clear a value in gdientry2
svn path=/trunk/; revision=26062
Alex Ionescu [Sun, 11 Mar 2007 00:42:18 +0000 (00:42 +0000)]
- Release dispatcher lock if gate is already signaled.
See issue #2083 for more details.
svn path=/trunk/; revision=26061
Eric Kohl [Sat, 10 Mar 2007 21:25:03 +0000 (21:25 +0000)]
Show custom colors in the preview window.
svn path=/trunk/; revision=26060
Dmitry Gorbachev [Sat, 10 Mar 2007 19:07:20 +0000 (19:07 +0000)]
Fix Bugzilla bug 2051 (French translation by Heis Spiter)
svn path=/trunk/; revision=26059
Dmitry Gorbachev [Sat, 10 Mar 2007 18:54:12 +0000 (18:54 +0000)]
Norwegian translation by LMH1 (bugs 1699, 1739, 1740)
svn path=/trunk/; revision=26058
Eric Kohl [Sat, 10 Mar 2007 14:32:49 +0000 (14:32 +0000)]
Get rid of the ugly dialogs. User the current shell font instead.
svn path=/trunk/; revision=26057
Dmitry Gorbachev [Sat, 10 Mar 2007 12:47:04 +0000 (12:47 +0000)]
Do not install them two times.
svn path=/trunk/; revision=26056
Dmitry Gorbachev [Sat, 10 Mar 2007 11:06:02 +0000 (11:06 +0000)]
Disable incorrect optimization
svn path=/trunk/; revision=26055
Saveliy Tretiakov [Sat, 10 Mar 2007 10:40:11 +0000 (10:40 +0000)]
Disable debug (second attempt
svn path=/trunk/; revision=26054
Eric Kohl [Sat, 10 Mar 2007 09:29:50 +0000 (09:29 +0000)]
- Let the user close dialogs by clicking the close (X) button.
svn path=/trunk/; revision=26053
KJK::Hyperion [Sat, 10 Mar 2007 06:42:05 +0000 (06:42 +0000)]
Set _SEH_ENABLE_TRACE for debug builds
svn path=/trunk/; revision=26052
KJK::Hyperion [Sat, 10 Mar 2007 03:51:27 +0000 (03:51 +0000)]
added lib/debugsup
added lib/debugsup/debugsup-ntos.def
added lib/debugsup/debugsup.rbuild
modified lib/lib.rbuild
New import-only library. Links modules that need low-level debugging functions (DbgBreakPoint, DbgBreakPointWithStatus, DbgPrint, DbgPrompt, DbgPrintEx, RtlAssert, RtlUnwind) to the correct low-level library (ntdll for user mode and ntoskrnl for kernel mode). This ensures debugging macros will always work, everywhere, and it doesn't force all modules with debugging information to link to ntdll/ntoskrnl. TODO: link RtlUnwind to kernel32 for Win32 modules
modified tools/rbuild/backend/mingw/modulehandler.cpp
modified tools/rbuild/backend/mingw/modulehandler.h
Add debugsup_ntdll/debugsup_ntoskrnl as an implicit library for all executable modules (minus the kernel)
svn path=/trunk/; revision=26051
Dmitry Gorbachev [Fri, 9 Mar 2007 22:27:04 +0000 (22:27 +0000)]
Update Russian translation.
svn path=/trunk/; revision=26050
Saveliy Tretiakov [Fri, 9 Mar 2007 21:36:35 +0000 (21:36 +0000)]
Disable debug
svn path=/trunk/; revision=26049
Saveliy Tretiakov [Fri, 9 Mar 2007 21:35:14 +0000 (21:35 +0000)]
Fix bug 2080
svn path=/trunk/; revision=26048