Alex Ionescu [Mon, 16 Jan 2006 22:07:38 +0000 (22:07 +0000)]
- Fix a build issue.
- Added more DBG checks for trap exits:
* Detect if exiting with incorrect IF state.
* Detect if exiting with broken stack.
* Detect if exiting with a broken trap frame (note: Disabled in Kei386EoiHelper beause this raises the assertion. The trap frame is valid, it's just that some old code is using DbgArgMark for other purposes. Will fix.)
* Detect if exiting with invalid FS.
* Detect if exiting with invalid Exception List.
* Detect if exiting with incorrect exception list and/or incorrect previmous mode on the stack (to detect macro/calling type mismatch).
The trap exit code is now complete and shareable across all 3 trap exit types, except for one broken assertion left to fix.
svn path=/trunk/; revision=20923
Alex Ionescu [Mon, 16 Jan 2006 21:41:19 +0000 (21:41 +0000)]
* Increase total system call count in KPCR for performance counter.
* Increase per-systemcall call count in the KiServiceTable if it was specified, for performance counters.
* Add sanity checks to system call handler to detect:
- User-mode system calls at > PASSIVE
- User-mode system call return at > PASSIVE
- Return to user-mode with Kernel APCs disabled.
* These features are on DBG only.
svn path=/trunk/; revision=20922
Alex Ionescu [Mon, 16 Jan 2006 21:14:32 +0000 (21:14 +0000)]
- Write the first of 3 shared trap prolog macros. Does not fully support V86 entry and DR saving yet. Used by all KiTraps (except double-fault for now) and KiDebugService.
- Update asm.h with more stuff from ks386.inc.
- Use only documented constants in syscall.S through asm.h.
svn path=/trunk/; revision=20921
Gé van Geldorp [Mon, 16 Jan 2006 21:12:13 +0000 (21:12 +0000)]
Fix build for binutils 2.15.90
svn path=/trunk/; revision=20920
Alex Ionescu [Mon, 16 Jan 2006 19:59:32 +0000 (19:59 +0000)]
- Fix another V86 Mode exit bug which could cause non-volatiles to be incorrectly restored.
- Make traps use the shared EOI (End Of Interrupt) helper instead of their own custom trap exit code.
svn path=/trunk/; revision=20919
Alex Ionescu [Mon, 16 Jan 2006 19:32:55 +0000 (19:32 +0000)]
- Fix a bad bug in the system call handler and interrupt/trap exit code which was causing a jump to the incorrect epilogue if V86 mode was detected.
- Replaced most of the trap prolog code by the KiDebugService entry trap code from syscall.S. Eventually, after remaining bugs are fixed, the code will be shared across all traps and not duplicated anymore. (For documnetation's sake, changing the prolog has the following effects: DR registers are not saved anymore (they will be later), DS/ES are set to RPL3 DATA, not RPL0 DATA, GS is not touched (it shoudl be 0, not RPL0_DATA). PreviousMode is not touched at all, the Debug Trap Frame header is properly setup).
svn path=/trunk/; revision=20918
Alex Ionescu [Mon, 16 Jan 2006 17:17:49 +0000 (17:17 +0000)]
- Update asm.h with more definitions.
svn path=/trunk/; revision=20917
Alex Ionescu [Mon, 16 Jan 2006 17:17:16 +0000 (17:17 +0000)]
- Merge breakpoint.S and tblfush.S into cpu.S
svn path=/trunk/; revision=20916
Alex Ionescu [Mon, 16 Jan 2006 17:07:45 +0000 (17:07 +0000)]
Do set ESP0, but after we save the old value for the V86 hack.
svn path=/trunk/; revision=20915
Alex Ionescu [Mon, 16 Jan 2006 17:05:50 +0000 (17:05 +0000)]
Disable correct usage of ESP0 since it seems the V86 code is still not ready to handle that. This should fix the V86 exceptions some people have been having.
svn path=/trunk/; revision=20914
Christoph von Wittich [Mon, 16 Jan 2006 16:45:27 +0000 (16:45 +0000)]
implemented HBMMENU_CALLBACK (now some of the Miranda icons are displayed)
svn path=/trunk/; revision=20913
Thomas Bluemel [Mon, 16 Jan 2006 16:29:02 +0000 (16:29 +0000)]
fixed difference in signedness warnings and a uninitialized variable warning
svn path=/trunk/; revision=20912
Alex Ionescu [Mon, 16 Jan 2006 02:21:22 +0000 (02:21 +0000)]
- Fix some nasty context switch bugs:
* We did not update the KPCR's stacklimit/initialstack with the new thread's stacklimit/initialstack.
* We always assumed V86 frame bias in KeInitializeThreadContext.
* We did not properly update ESP0 during context switch, to make space for the NPX frame and V86 bias.
* We did not update fs:18h to point to the new TEB.
* We did not clear out GS when switching processes, nor update the TSS's cr3.
* If a new LDT was being updated, we over-wrote EBP (which was supposed to point to the TSS) by the GDT pointer.
* We used a push/pop esp0 hack which hid the fact we never updated esp0.
svn path=/trunk/; revision=20911
Gé van Geldorp [Sun, 15 Jan 2006 22:25:16 +0000 (22:25 +0000)]
New wininet vendor import
svn path=/trunk/; revision=20909
Gé van Geldorp [Sun, 15 Jan 2006 22:22:02 +0000 (22:22 +0000)]
Drop old wininet in preparation for new vendor import
svn path=/trunk/; revision=20908
Gé van Geldorp [Sun, 15 Jan 2006 21:58:59 +0000 (21:58 +0000)]
wintrust vendor import
svn path=/trunk/; revision=20905
Gé van Geldorp [Sun, 15 Jan 2006 21:54:47 +0000 (21:54 +0000)]
Delete old (unused) wintrust version
svn path=/trunk/; revision=20904
Alex Ionescu [Sun, 15 Jan 2006 20:26:53 +0000 (20:26 +0000)]
- Don't bother with clearing the DRs in the CONTEXT, just clear DR7 in the trap frame after the conversion.
svn path=/trunk/; revision=20901
Magnus Olsen [Sun, 15 Jan 2006 20:25:53 +0000 (20:25 +0000)]
Implement XMillimeter and YMillimeter calculation, it not 100% correct for I assume the monitor DPI is always 72DPI
svn path=/trunk/; revision=20900
Alex Ionescu [Sun, 15 Jan 2006 20:13:08 +0000 (20:13 +0000)]
- Use old-style NPX state when creating the thread context. Fixes regression in 1st-stage install.
svn path=/trunk/; revision=20899
Ged Murphy [Sun, 15 Jan 2006 19:06:18 +0000 (19:06 +0000)]
help update
svn path=/trunk/; revision=20898
Hartmut Birr [Sun, 15 Jan 2006 18:28:40 +0000 (18:28 +0000)]
- Allocated the initial stacks page aligned.
- Add a guard page for the initial stacks.
- Fixed the size of the initial stacks.
svn path=/trunk/; revision=20897
Hartmut Birr [Sun, 15 Jan 2006 18:21:43 +0000 (18:21 +0000)]
Fixed the stack for the first thread.
svn path=/trunk/; revision=20896
Ged Murphy [Sun, 15 Jan 2006 16:47:18 +0000 (16:47 +0000)]
Change toolbars from 16 to 15 pixels high
svn path=/trunk/; revision=20895
Thomas Bluemel [Sun, 15 Jan 2006 14:34:58 +0000 (14:34 +0000)]
implemented LsaDelete() (client only)
svn path=/trunk/; revision=20894
Thomas Bluemel [Sun, 15 Jan 2006 14:18:43 +0000 (14:18 +0000)]
implemented LsarClose()
svn path=/trunk/; revision=20893
Martin Fuchs [Sun, 15 Jan 2006 13:44:14 +0000 (13:44 +0000)]
Explorer: sort drives by path name; ignore hidden attribute of NTFS volumes
This resolves Bugzilla issue 1236
svn path=/trunk/; revision=20892
Thomas Bluemel [Sun, 15 Jan 2006 13:25:50 +0000 (13:25 +0000)]
disable starting lsass.exe for now
svn path=/trunk/; revision=20891
Thomas Bluemel [Sun, 15 Jan 2006 13:19:57 +0000 (13:19 +0000)]
- use RPC for communication with lsass
- start lsass.exe on startup
svn path=/trunk/; revision=20890
Martin Fuchs [Sun, 15 Jan 2006 12:30:17 +0000 (12:30 +0000)]
change explorer sort order so that virtual folders are moved after physical folders
svn path=/trunk/; revision=20889
Hartmut Birr [Sun, 15 Jan 2006 10:17:35 +0000 (10:17 +0000)]
Fix the smp build.
svn path=/trunk/; revision=20888
Alex Ionescu [Sun, 15 Jan 2006 09:23:55 +0000 (09:23 +0000)]
- Update KeContextToTrapFrame to support separate ContextFlags parameters in the scenario where we want to convert more then the Context's flag specify
- Rename some of the internal FPU flags to external names and make them global.
- Improve context creation of new threads to initialize the virgin NPX state for new threads, to clear DR debug registers, to properly convert the context to a trap frame, to set the right segment registers, to set the debugging mark in the trap frame, and to properly set the initial eflags.
- Add stubs for upcoming support for extended/floating point registers in KeContextToTrapFrame and KeTrapFrameToContext.
svn path=/trunk/; revision=20887
Hartmut Birr [Sun, 15 Jan 2006 09:14:04 +0000 (09:14 +0000)]
Fixed the initialisation of the feature bits.
svn path=/trunk/; revision=20886
Hartmut Birr [Sun, 15 Jan 2006 08:53:01 +0000 (08:53 +0000)]
Lower the irql on exit in KeInsertQueueDpc.
svn path=/trunk/; revision=20885
Hartmut Birr [Sun, 15 Jan 2006 08:51:20 +0000 (08:51 +0000)]
Fix the check for an empty list.
svn path=/trunk/; revision=20884
Hartmut Birr [Sun, 15 Jan 2006 08:49:26 +0000 (08:49 +0000)]
Bochs debug output is only a simple print routine and not a wrapper which can handle faults.
svn path=/trunk/; revision=20883
Thomas Bluemel [Sun, 15 Jan 2006 03:11:31 +0000 (03:11 +0000)]
implemented FindFirstStreamW() and FindNextStreamW() (untested!)
svn path=/trunk/; revision=20882
Martin Fuchs [Sun, 15 Jan 2006 01:24:59 +0000 (01:24 +0000)]
release mozctl_install_semaphore semaphore when the user doesn't want to download the mozilla control
svn path=/trunk/; revision=20881
Royce Mitchell III [Sun, 15 Jan 2006 01:12:00 +0000 (01:12 +0000)]
fix "line #=0" and "missing function name" bugs in rsym data. There's one issue this fix causes - apparently macros will have their file/line # reported, instead of the location they are being invoked, but this is a far cry better than before.
svn path=/trunk/; revision=20880
Martin Fuchs [Sun, 15 Jan 2006 00:51:40 +0000 (00:51 +0000)]
remove incorrect include directory
svn path=/trunk/; revision=20879
Martin Fuchs [Sun, 15 Jan 2006 00:47:25 +0000 (00:47 +0000)]
fix Expat includes
svn path=/trunk/; revision=20878
Alex Ionescu [Sun, 15 Jan 2006 00:45:06 +0000 (00:45 +0000)]
Fix msvc warnings
svn path=/trunk/; revision=20877
Martin Fuchs [Sun, 15 Jan 2006 00:09:32 +0000 (00:09 +0000)]
Update XMLStorage to Expat 2.0
svn path=/trunk/; revision=20876
Martin Fuchs [Sun, 15 Jan 2006 00:06:30 +0000 (00:06 +0000)]
update header files to Expat Version 2.0
svn path=/trunk/; revision=20875
Martin Fuchs [Sun, 15 Jan 2006 00:06:16 +0000 (00:06 +0000)]
update to Expat Version 2.0
svn path=/trunk/; revision=20874
Thomas Bluemel [Sat, 14 Jan 2006 23:54:05 +0000 (23:54 +0000)]
RegDisablePredefinedCacheEx() should also disable the cache for HKU
svn path=/trunk/; revision=20873
Thomas Bluemel [Sat, 14 Jan 2006 23:37:56 +0000 (23:37 +0000)]
fixed a buffer overflow when the referenced domain length is 0
svn path=/trunk/; revision=20872
Nathan Woods [Sat, 14 Jan 2006 23:35:20 +0000 (23:35 +0000)]
Freeloader: Check return code of RegOpenKey() in FrLdrLoadBootDrivers() for failure
Another one...
svn path=/trunk/; revision=20871
Thomas Bluemel [Sat, 14 Jan 2006 23:17:26 +0000 (23:17 +0000)]
- implemented RegDisablePredefinedCache()
- added stubs for RegEnableReflectionKey(), RegDisableReflectionKey() and RegQueryReflectionKey()
svn path=/trunk/; revision=20870
Thomas Bluemel [Sat, 14 Jan 2006 22:47:35 +0000 (22:47 +0000)]
add stubs for CancelIoEx() and CancelSynchronousIo()
svn path=/trunk/; revision=20869
Thomas Bluemel [Sat, 14 Jan 2006 22:25:20 +0000 (22:25 +0000)]
added stubs for SetFileBandwidthReservation(), GetFileBandwidthReservation(), SetFileCompletionNotificationModes() and OpenFileById(). Thanks also to Alex
svn path=/trunk/; revision=20868
Nathan Woods [Sat, 14 Jan 2006 21:57:07 +0000 (21:57 +0000)]
Freeloader: Check return code of RegOpenKey() in FrLdrLoadBootDrivers() for failure
svn path=/trunk/; revision=20866
Thomas Bluemel [Sat, 14 Jan 2006 20:36:49 +0000 (20:36 +0000)]
remove debug information I forgot to remove
svn path=/trunk/; revision=20865
Thomas Bluemel [Sat, 14 Jan 2006 20:36:01 +0000 (20:36 +0000)]
make the initial kernel_stack large enough to have enough space for the fx savings area
svn path=/trunk/; revision=20864
Gé van Geldorp [Sat, 14 Jan 2006 19:36:04 +0000 (19:36 +0000)]
Import mapi32 from Wine
svn path=/trunk/; revision=20861
Maarten Bosma [Sat, 14 Jan 2006 18:51:22 +0000 (18:51 +0000)]
DJ_Smith (dj_smith_reactos(at)online(dot)de):
- Updated and added german translations.
- Fixed some small mistakes in .rc files.
svn path=/trunk/; revision=20858
Ged Murphy [Sat, 14 Jan 2006 17:59:59 +0000 (17:59 +0000)]
Add calculator icon
svn path=/trunk/; revision=20857
Ged Murphy [Sat, 14 Jan 2006 17:35:56 +0000 (17:35 +0000)]
- Remove licence dialog boxes and implement an about box crediting authors and stating the licence.
- Add a notepad icon
- rearrange the file structure
svn path=/trunk/; revision=20856
Thomas Bluemel [Sat, 14 Jan 2006 16:31:28 +0000 (16:31 +0000)]
fixed possible buffer overflows in LookupAccountSidW(): LSA_UNICODE_STRINGs are not necessarily NULL-terminated!
svn path=/trunk/; revision=20855
Thomas Bluemel [Sat, 14 Jan 2006 16:18:45 +0000 (16:18 +0000)]
improved error handling
svn path=/trunk/; revision=20854
Christoph von Wittich [Sat, 14 Jan 2006 16:08:57 +0000 (16:08 +0000)]
implemented PS_DOT, PS_DASH and PS_INSIDEFRAME in IntGdiCreatePenIndirect
(speeds up Thunderbird a bit (much less debug output)
svn path=/trunk/; revision=20853
Thomas Bluemel [Sat, 14 Jan 2006 14:52:50 +0000 (14:52 +0000)]
fixed SeSetWorldSecurityDescriptor() so it creates a security descriptor that is at least valid
svn path=/trunk/; revision=20851
Thomas Bluemel [Sat, 14 Jan 2006 13:37:08 +0000 (13:37 +0000)]
implemented GetFinalPathNameByHandleA() and added stub for GetFinalPathNameByHandleW()
svn path=/trunk/; revision=20850
Christoph von Wittich [Sat, 14 Jan 2006 12:42:04 +0000 (12:42 +0000)]
fixed LoadCursorIconImage (Thunderbird is now working)
svn path=/trunk/; revision=20849
Thomas Bluemel [Sat, 14 Jan 2006 12:18:10 +0000 (12:18 +0000)]
add cacls.exe to the bootcd
svn path=/trunk/; revision=20848
Martin Fuchs [Sat, 14 Jan 2006 09:04:42 +0000 (09:04 +0000)]
add the new icons to the project file
svn path=/trunk/; revision=20847
Alex Ionescu [Sat, 14 Jan 2006 08:49:10 +0000 (08:49 +0000)]
- Fix flaw in win32k hardware message queue which used KMUTEX instead of KMUTANT, thus double-disabling Kernel APCs during the parsing of the queue, which would result in actually deliving hardware message callbacks with Kernel APCs disabled when going to user-mode. This was detected when my new user-mode callback rewrite added checks for this situation, and it originally caused a bugcheck. Since the message queue code is now fixed, the bugcheck has been re-enabled, hopefully no other such violations will be detected (I was able to run/install firefox for a couple of minutes and there was no APC_INDEX_MISMATCH crash). Fixes bug 1272, and thanks to Filip for doing some late-night IRC analysis with me.
svn path=/trunk/; revision=20846
Thomas Bluemel [Sat, 14 Jan 2006 04:32:37 +0000 (04:32 +0000)]
An initial implementation of cacls.exe. Only displaying ACLs works, editing is not implemented.
svn path=/trunk/; revision=20845
Nathan Woods [Sat, 14 Jan 2006 01:00:56 +0000 (01:00 +0000)]
Rbuild: Added "description" field to the various backend factories, and then used the description field to generate the help text.
(updated the patch in bugzilla bug #790)
svn path=/trunk/; revision=20844
Ged Murphy [Sat, 14 Jan 2006 00:51:00 +0000 (00:51 +0000)]
icons are now 16x16, 24x24, 32x32, 48x48
svn path=/trunk/; revision=20843
Ged Murphy [Fri, 13 Jan 2006 23:31:21 +0000 (23:31 +0000)]
Separate mydocs and recent docs resources
svn path=/trunk/; revision=20842
Filip Navara [Fri, 13 Jan 2006 23:28:08 +0000 (23:28 +0000)]
Copy the correct number of bytes.
svn path=/trunk/; revision=20841
Ged Murphy [Fri, 13 Jan 2006 23:24:39 +0000 (23:24 +0000)]
- new icons for all control panel applets.
- icons now include 16x16, 24x24, 32x32 and 48x48
svn path=/trunk/; revision=20840
Alex Ionescu [Fri, 13 Jan 2006 22:23:31 +0000 (22:23 +0000)]
- Fix one more leak when converting from non-gui to GUI thread stack.
svn path=/trunk/; revision=20839
Alex Ionescu [Fri, 13 Jan 2006 21:56:51 +0000 (21:56 +0000)]
- Properly create, grow and delete the kernel stack. Fixes potential memory leaks introduced in 20806. Thanks to Filip for verifying my math.
svn path=/trunk/; revision=20838
Ged Murphy [Fri, 13 Jan 2006 20:37:55 +0000 (20:37 +0000)]
don't forget the ibrowser toolbar :)
svn path=/trunk/; revision=20837
Ged Murphy [Fri, 13 Jan 2006 20:00:46 +0000 (20:00 +0000)]
some new toolbar icons
svn path=/trunk/; revision=20836
Thomas Bluemel [Fri, 13 Jan 2006 17:54:37 +0000 (17:54 +0000)]
revert my last change
svn path=/trunk/; revision=20835
Thomas Bluemel [Fri, 13 Jan 2006 17:32:59 +0000 (17:32 +0000)]
remove wine's broken _beginthread() and _endthread() and implement them properly
svn path=/trunk/; revision=20834
Thomas Bluemel [Fri, 13 Jan 2006 17:24:06 +0000 (17:24 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=20833
Royce Mitchell III [Fri, 13 Jan 2006 13:56:10 +0000 (13:56 +0000)]
msvc2k5 build files
svn path=/trunk/; revision=20832
Royce Mitchell III [Fri, 13 Jan 2006 13:53:26 +0000 (13:53 +0000)]
msvc2k5 compatibility fix
svn path=/trunk/; revision=20831
Steven Edwards [Fri, 13 Jan 2006 06:35:52 +0000 (06:35 +0000)]
This screws up my grep and is not used anymore
svn path=/trunk/; revision=20830
Steven Edwards [Fri, 13 Jan 2006 05:34:04 +0000 (05:34 +0000)]
guard the private header
svn path=/trunk/; revision=20829
Thomas Bluemel [Fri, 13 Jan 2006 01:28:10 +0000 (01:28 +0000)]
pszGroupName in EnumServicesStatusEx() can be NULL
svn path=/trunk/; revision=20828
Ged Murphy [Fri, 13 Jan 2006 00:28:08 +0000 (00:28 +0000)]
submit correct icon this time
svn path=/trunk/; revision=20827
Alex Ionescu [Fri, 13 Jan 2006 00:18:21 +0000 (00:18 +0000)]
Acquire dispatcher lock if we're going to be expanding the owner table, so that we don't enter a race condition with the boost code in the wait for resource code on SMP systems
svn path=/trunk/; revision=20826
Alex Ionescu [Fri, 13 Jan 2006 00:16:51 +0000 (00:16 +0000)]
Fix typos
svn path=/trunk/; revision=20825
Ged Murphy [Fri, 13 Jan 2006 00:15:53 +0000 (00:15 +0000)]
- Split up the icon resources so each start menu entry has it's own icon
- Add many new icons to make ReactOS prettier
svn path=/trunk/; revision=20824
Alex Ionescu [Fri, 13 Jan 2006 00:15:31 +0000 (00:15 +0000)]
Fix boost loop
svn path=/trunk/; revision=20823
Christoph von Wittich [Thu, 12 Jan 2006 22:16:04 +0000 (22:16 +0000)]
added missing explorer-uk.rc (spotted by temarez@yandex.ru)
svn path=/trunk/; revision=20822
Thomas Bluemel [Thu, 12 Jan 2006 21:28:07 +0000 (21:28 +0000)]
don't use a bitmap font to draw the text in the graphs. However, it currently doesn't use the shell font because the graph controls could use some serious work.
svn path=/trunk/; revision=20821
Alex Ionescu [Thu, 12 Jan 2006 21:21:19 +0000 (21:21 +0000)]
Set KernelApcPending == TRUE in KiCheckForKernelApcDelivery if we are at APC_LEVEL. This should hopefully fix some of those silent bugs. Thanks to Ignatich for poking me about it.
svn path=/trunk/; revision=20820
Alex Ionescu [Thu, 12 Jan 2006 21:16:42 +0000 (21:16 +0000)]
- Unfsck NtGdiExtCreatePen (thanks Christopher).
svn path=/trunk/; revision=20819
Christoph von Wittich [Thu, 12 Jan 2006 21:15:38 +0000 (21:15 +0000)]
added sk kbd layout to registry patch by Malin <malin23@atlas.sk> (fixed bug 1251)
svn path=/trunk/; revision=20818
Alex Ionescu [Thu, 12 Jan 2006 20:54:35 +0000 (20:54 +0000)]
Task Manager enhs & fiexs <Pablo <pborobia@gmail.com>
- make a last used cpu usage color memory
- fix colors in the cpu history
- high refresh more offten
- fix kernel cpu usage colorbars paint
Bug 1271.
svn path=/trunk/; revision=20817
Christoph von Wittich [Thu, 12 Jan 2006 20:38:54 +0000 (20:38 +0000)]
added/updated spanish translations by samwise52 <samcharly@hotmail.com> (fixed bug 1266)
svn path=/trunk/; revision=20816
Thomas Bluemel [Thu, 12 Jan 2006 20:38:18 +0000 (20:38 +0000)]
fixed maximum wait time in EnterCriticalPolicySection
svn path=/trunk/; revision=20815
Thomas Bluemel [Thu, 12 Jan 2006 20:35:36 +0000 (20:35 +0000)]
remove incorrect comment that was accidentally copied
svn path=/trunk/; revision=20814
Thomas Bluemel [Thu, 12 Jan 2006 20:32:44 +0000 (20:32 +0000)]
implemented WaitForUserPolicyForegroundProcessing() and WaitForMachinePolicyForegroundProcessing()
svn path=/trunk/; revision=20813