Magnus Olsen
70f6440451
clean up the getch.c remove unsused code.
...
svn path=/trunk/; revision=22021
2006-05-24 20:44:37 +00:00
Magnus Olsen
f9e014a9a7
[AUDIT] after looking through code no signs of reverse engineering were found. some of these api contain also bugs and they are document in the files.
...
svn path=/trunk/; revision=22020
2006-05-24 20:43:05 +00:00
Magnus Olsen
a63feb98f1
[AUDIT] clean imported/ported from DJGPP
...
svn path=/trunk/; revision=22019
2006-05-24 20:39:56 +00:00
Alex Ionescu
c9ae7e2e5f
[AUDIT] namespc.c: The namespace functions are publically document and wrap around a ROS-internal ObFindObject function which is very different from the way NT handles parsing. The capture of attribute information was based off a public structure, and the function used does not seem to exist in NT (based on a google search). Object Manager Initialization is internal to ROS and performs generic/trivial intialization tasks, which seem to match the description present in Windows Internals as well as Windows NT File System Internals. Finally, Object Type creation is a ROS-internal function based off documentation found in Gl00my's object manager article as well as local debugging done with WinDBG which helped define the purpose of DefaultObject.
...
svn path=/trunk/; revision=22018
2006-05-24 20:29:02 +00:00
Alex Ionescu
c9a14c3a3b
[AUDIT] security.c: All these functions are simply wrappers around the SecurityProcedure callback, which actually does all the work (and is located in /se). Their implementation is trivial and could not have been done another way (it may likely differ from the 100% NT implementation (which I am not aware of), but the current implementation seems obvious to me and I don't see anything missing.
...
svn path=/trunk/; revision=22017
2006-05-24 20:16:09 +00:00
Alex Ionescu
68121865ba
- Wipe out PROS_OBJECT_HEADER and use OBJECT_HEADER since we are now compatible.
...
svn path=/trunk/; revision=22016
2006-05-24 20:13:47 +00:00
Alex Ionescu
3ccc97c6c4
- Rewrote the Object Directory implementation to follow the NT Structures in the NDK. This got rid of the last remaining OBJECT_HEADER difference and switched over to OBJECT_DIRECTORY.
...
- The low-level implementation is based on information from "Undocumented Windows 2000 Internals: A Programmer's Cookbook", with some modifications done by myself to match the updated 2003 structures. This implementation was hackishly stuck into our messed up high-level object lookup implementation, which now has 4 more band-aids. Still needs a lot of work done to the upper echelons of object lookup, but at least this gets rid of ROS-internal stuff.
svn path=/trunk/; revision=22015
2006-05-24 20:06:13 +00:00
Magnus Olsen
238be0b59c
Do not create crash/bsod log when u logoff or shutdown of ReactOS.
...
svn path=/trunk/; revision=22014
2006-05-24 19:34:53 +00:00
Magnus Olsen
fc40c38034
sorry forget cleanup after me ;)
...
svn path=/trunk/; revision=22013
2006-05-24 19:03:01 +00:00
Magnus Olsen
68f59759a3
import cprintf from wine cvs 2006-05-23 as bug 1529 suggested, I was looking for this bug before it was reported.
...
it make most of msvcrt string test work, only one fail left to fix.
svn path=/trunk/; revision=22012
2006-05-24 18:56:29 +00:00
Magnus Olsen
983091eda8
[AUDIT] clean from DJGPP
...
svn path=/trunk/; revision=22011
2006-05-24 18:48:00 +00:00
Magnus Olsen
050efa1da2
Fixing two fail from wine gdi32 test, When HDC is NULL to NtGdiCreateDIBitmap we need create a hdc and delete the hdc when we are done.
...
svn path=/trunk/; revision=22010
2006-05-24 16:54:51 +00:00
Magnus Olsen
8954d82145
revert my change from bootvid.c now, after w3seek patch it works again for bootcd
...
svn path=/trunk/; revision=22009
2006-05-24 15:07:28 +00:00
Magnus Olsen
80770b053a
Patch from w3seek: patch to fix a couple of argument probing bugs in NtQuerySymbolicLinkObject and NtCreateSymbolicLinkObject:
...
svn path=/trunk/; revision=22008
2006-05-24 14:41:53 +00:00
Johannes Anderwald
fbb73a8f5e
fix a few typos and display issuses in german resource file
...
patch by ThePhysicist (bug 1518) and a few additional fixes by me
svn path=/trunk/; revision=22007
2006-05-24 12:17:49 +00:00
Magnus Olsen
bf04d0ad97
Fix the regress of livecd, it works now again, some how the palette color are being bigger that 256 color and then the bootvid.sys crash
...
svn path=/trunk/; revision=22006
2006-05-24 06:35:59 +00:00
Alex Ionescu
7619400890
[AUDIT] ntobj.c : The Temporary/Permanent object routines are 5-line generic wrappers which call an internal kernel function, which in itself is only a wrapper to set an internal, documented flag. The implementation is therefore trivial. NtQueryObject is only 10% complete.
...
wait.c: These are simple wrapper routines around the KeWaitForXxx functions which reference the objects and get their pointers, just like any other Nt* function does. Some parts are non-trivial, such as: various failures: these can be tested with the wait regression test however; The usage of THREAD_WAIT_OBJECTS is documented in the DDK; The failure for WaitAll with duplicated objects is documented on MSDN; The check for SYNCHRONIZE object is documented on MSDN.
svn path=/trunk/; revision=22005
2006-05-24 04:43:50 +00:00
Alex Ionescu
0b30ce7700
[AUDIT] symlink.c : The symbolic link implementation was generic, used different structures from NT (which meant some large NT features of symlinks were unimplemented) and had several bugs which gave different results from NT, so it was most certainly cleanly developed. The most recent update added the NT structure (which is documented) but did not add any functionality, except for fixing bugs which were revealed through a test app called SymlLinkTest.
...
dirobj.c: The directory object implementation is also generic and currently uses different structures from NT. Object lookup/parsing is entirely different and has nothing in common with NT. The actual Nt* APIs which expose the interface are ultra-generic and trivial.
svn path=/trunk/; revision=22004
2006-05-24 04:33:18 +00:00
Alex Ionescu
5a2f6e7faa
- Move all object directory stuff in dirobj.c and implement a simple profiler to measure the time spent in those functions until the desktop appears. Enable with #define OBP_PROFILE.
...
svn path=/trunk/; revision=22003
2006-05-24 04:28:57 +00:00
Alex Ionescu
2143c80c39
This should fix the build.
...
svn path=/trunk/; revision=22002
2006-05-24 04:19:04 +00:00
Alex Ionescu
ee3fddd2d7
- Thomas Weidenmueller (w3seek@reactos.org)
...
- Use SEH in Atom functions
- Only use result length if the caller gave one, in NtQuerySecurityObject.
svn path=/trunk/; revision=22001
2006-05-24 02:48:51 +00:00
Alex Ionescu
8a80070849
- Fix Symbolic Link implementation:
...
- Use OBJECT_SYMBOLIC_LINK structure as used by Windows NT (and added the structure to the NDK)
- Changed code to use the new names in the structure
- Only free the symlink's name if it has one, to avoid a bugcheck.
- Optimize parsing: if the new name is actually shorter then the target name, then don't allocate from pool, but re-use the buffer. This improves symlink parsing speed. Also fix a bug which made it depend on the incorrect implementation of NtCreateSymbolicLinkObject
- Re-align the link target maximum length in NtCreateSymbolicLinkObject if it's odd, and fail if the length is odd, smaller then the maximum, or if the maximum is zero.
- Originally allocate the symlink name in Paged Pool.
- Initialize new members of the structure.
- Fail in no-memory case, instead of continuing.
- Properly probe the LinkTarget in NtQuerySymbolicLinkObject.
- Properly handle which length is chosen for the copy and for the return in NtQuerySymbolicObject.
- Lock the symbolic link object type while querying it. Eventually many more parts of Ob need to do this kind of locking.
- SymLinkTest now only gives 2 failures.
- Fix some NDK bugs
svn path=/trunk/; revision=22000
2006-05-24 02:45:06 +00:00
Alex Ionescu
4b6154cfbf
- SymTest: The Symbolic Link kernel implementation tester. Tests for really wacky symlink API properties. 8 failures on ROS.
...
svn path=/trunk/; revision=21999
2006-05-24 02:01:32 +00:00
Alex Ionescu
a98a1b99c4
- Cleanup the formatting, code and function headers of most of the Object Manager interfaces.
...
svn path=/trunk/; revision=21998
2006-05-23 21:42:28 +00:00
Aleksey Bragin
632f9f99ec
- Fix build (forgot to add file) to msvcrt test
...
svn path=/trunk/; revision=21997
2006-05-23 21:32:04 +00:00
Art Yerkes
05fd384ab4
Recompute broadcast address upon ip change (spotted by elrond)
...
svn path=/trunk/; revision=21996
2006-05-23 21:24:01 +00:00
Magnus Olsen
b3edee282e
Fixing strechblt dib16 and dib32 can be compile with -O2 (gcc) reporeted by jimtalor, it did not work on real hardware with -O2 when it was run with winqauke with some setting see bug 1520
...
svn path=/trunk/; revision=21995
2006-05-23 21:18:08 +00:00
Aleksey Bragin
b6a61aafb6
Update msvcrt_winetest to Wine-23052006
...
svn path=/trunk/; revision=21994
2006-05-23 20:16:57 +00:00
Aleksey Bragin
69713a9bc1
Update ntdll_winetest to Wine-23052006
...
svn path=/trunk/; revision=21992
2006-05-23 20:05:14 +00:00
Aleksey Bragin
f2725683f8
- Update user32_winetest to Wine-23052006. Update includes changes in the following subtests: edit, winstation. Evereything else is just compilation
...
svn path=/trunk/; revision=21991
2006-05-23 19:55:45 +00:00
Johannes Anderwald
9eda943d76
prevent ncpa from crashing when no component is selected. patch & bug report by ThePhysicist (bug 1519)
...
svn path=/trunk/; revision=21990
2006-05-23 19:27:27 +00:00
Aleksey Bragin
da398bc3c0
- Thomas Weidenmuller: Fix calculating the string offset.
...
- Fixes bug 1475: Taskmanager shows mumbojumbo in the process name column
svn path=/trunk/; revision=21989
2006-05-23 16:52:51 +00:00
Magnus Olsen
de8db05f3a
[AUDIT] after looking through code no signs of reverse engineering were found. It look as the Arthur was inspired of DJGPP ansi functions. for it is alot simulare
...
svn path=/trunk/; revision=21987
2006-05-23 04:53:31 +00:00
James Tabor
eb5473a846
Add TT_PRIM_CSPLINE, from wine.
...
svn path=/trunk/; revision=21986
2006-05-23 02:14:46 +00:00
Aleksey Bragin
13df4844a7
- Update text-outputting routines in user32.dll to Wine's trunk (22052006). May fix some layout and text-placement issues.
...
- "user32_winetest.exe text" gives only 1 failure now
- Silence debug messages in win32k.sys
svn path=/trunk/; revision=21985
2006-05-22 22:05:40 +00:00
Johannes Anderwald
5d2d31ac0c
increase mouse thread priority - patch by w3seek
...
should fix 1427
svn path=/trunk/; revision=21984
2006-05-22 21:57:38 +00:00
Johannes Anderwald
caac5ed1fc
french translation by Usurp from bug 1492 :-)
...
svn path=/trunk/; revision=21983
2006-05-22 21:40:29 +00:00
Johannes Anderwald
60f50769ff
french translation by Usurp from bug 1416
...
svn path=/trunk/; revision=21982
2006-05-22 21:33:22 +00:00
Aleksey Bragin
96f2c584d0
- Update TEXT_TabbedTextOut from Wine's trunk. Reduces number of failures in "user32_winetest.exe text" from 64 to 4.
...
svn path=/trunk/; revision=21981
2006-05-22 20:12:29 +00:00
Aleksey Bragin
612e2ff4df
- Implement GetTabbedTextExtentA(), based on implementation from Wine (trunk). Reduces number of failures in "user32_winetest.exe text" from 84 to 64.
...
svn path=/trunk/; revision=21978
2006-05-22 19:07:59 +00:00
Aleksey Bragin
d778de3578
- Fix compiling of win32k without compilation units
...
svn path=/trunk/; revision=21977
2006-05-22 14:46:31 +00:00
Magnus Olsen
a28ea653f5
replace follow _wtol, _wtoi, _i64tow, _ui64tow, _ltow, _ultow, _ui64toa, _itow, _ltow, ultow with wine from wine cvs 2006-05-21
...
for we did fail on wine test on all these. In windows 2000 wine test ntdll string did not fail.
svn path=/trunk/; revision=21976
2006-05-21 22:41:35 +00:00
Johannes Anderwald
d4aaeed1ff
dont allow '=' in the environmental name in the set command
...
svn path=/trunk/; revision=21975
2006-05-21 21:31:20 +00:00
Magnus Olsen
06847e4576
[AUDIT] clean from DJGPP
...
svn path=/trunk/; revision=21974
2006-05-21 20:49:53 +00:00
Magnus Olsen
f340ab0a45
Fixing a i64ltoa bug, replacing both version with wine, copy the code from wine cvs 2005-05-21, bug report by wine test
...
svn path=/trunk/; revision=21973
2006-05-21 20:26:51 +00:00
Aleksey Bragin
c94db29865
- Fix GDIOBJ_* prototypes so win32k compiles with GDI_DEBUG compile option
...
svn path=/trunk/; revision=21972
2006-05-21 20:22:54 +00:00
Johannes Anderwald
e68cea0212
msvc compiling fix
...
svn path=/trunk/; revision=21971
2006-05-21 20:20:07 +00:00
Magnus Olsen
704b3a0362
[AUDIT] clean from DJGPP
...
svn path=/trunk/; revision=21970
2006-05-21 20:15:15 +00:00
Magnus Olsen
231155791c
[AUDIT] clean this file are clean after I look at them
...
svn path=/trunk/; revision=21969
2006-05-21 20:11:27 +00:00
Eric Kohl
c7c5cd045d
Add FSRTL_COMMON_FCB_HEADER to the beginning of the FCB.
...
svn path=/trunk/; revision=21968
2006-05-21 19:38:35 +00:00