Commit graph

20581 commits

Author SHA1 Message Date
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
Magnus Olsen eebf35125d Fixing a ultoa bug, replacing both version with wine, copy the code from wine 0.9.0; I did add a NULL check for the string so it can not bsod. wine ntdll string only report one error, left to fix, I run wine test on windows 2000 and reactos to compare the result. Fireball report wine_ntdll_test string crach on windows xp, but it does not crash in windows 2000.
svn path=/trunk/; revision=21967
2006-05-21 18:54:21 +00:00
Magnus Olsen 80022e3b3d [AUDIT] clean from DJGPP
svn path=/trunk/; revision=21965
2006-05-21 15:41:50 +00:00
Magnus Olsen c79c53d3b3 reporting djgpp fgets to fgetws, with wine test the old version did fail on reading string, it did to far.
now we do not have a any bug in fgetws, acoding wine test, I ran the test in win2k and reactos to be 100% sure it was not wine test fualt.

svn path=/trunk/; revision=21964
2006-05-21 13:38:45 +00:00
Magnus Olsen 2ef8f0fea0 [AUDIT] clean it is base on DJGPP fgets
svn path=/trunk/; revision=21963
2006-05-21 13:31:38 +00:00
Eric Kohl 99e8a7e6cb The MSFS_PIPE struct is actually an FCB (File Control Block). Rename it accordingly and store pointers to it in FileObject->FsContext.
svn path=/trunk/; revision=21962
2006-05-21 13:19:10 +00:00
Magnus Olsen b3460406ae [AUDIT] after looking through code no signs of reverse engineering were found. Only code exists is to dllmain api rest is warper to crt.a
svn path=/trunk/; revision=21961
2006-05-21 11:49:34 +00:00
Magnus Olsen 0e3e95794f patch from w3seek : optimize FindWindowEx and fix passing a NULL window class
svn path=/trunk/; revision=21960
2006-05-21 09:21:38 +00:00
Magnus Olsen 2d54ed6453 revert r21958
svn path=/trunk/; revision=21959
2006-05-21 08:41:16 +00:00
Magnus Olsen 6a818caf88 patch from w3seek : Another fix for NtUserFindWindowEx
svn path=/trunk/; revision=21958
2006-05-21 08:39:42 +00:00
Magnus Olsen 7ece217a3e patch from w3seek : Another fix for NtUserFindWindowEx
svn path=/trunk/; revision=21957
2006-05-21 06:17:25 +00:00
Magnus Olsen 3e649bb0dc Bug 1507 patch from w3seek : This patch fixes more issues with NtUserFindWindowEx. (one example of bugs have been fixed with this patch is the tray icon)
svn path=/trunk/; revision=21956
2006-05-20 22:09:42 +00:00
Aleksey Bragin 6e418a0fd9 - Slightly update heap-related routines to wine's routines. Doesn't fix regression tests really, but just in case.
svn path=/trunk/; revision=21955
2006-05-20 20:42:26 +00:00
Aleksey Bragin 0159a46c3c [AUDIT]
- Based on Wine -> clean

svn path=/trunk/; revision=21954
2006-05-20 20:40:16 +00:00
Aleksey Bragin 001c217f07 - Update kernel32_winetest to the Wine's CVS head
svn path=/trunk/; revision=21953
2006-05-20 18:29:16 +00:00
Aleksey Bragin 591a910611 - Add programmers list for this file
- Replace silent failures with proper STUB

svn path=/trunk/; revision=21952
2006-05-20 17:30:42 +00:00