Royce Mitchell III [Tue, 14 Dec 2004 03:46:10 +0000 (03:46 +0000)]
fix infinite loop in KeRosDumpStackFrames()
svn path=/trunk/; revision=12108
Royce Mitchell III [Tue, 14 Dec 2004 03:36:46 +0000 (03:36 +0000)]
ASSERT parameter assumptions in IntEngStretchBlt() and IntEngMaskBlt()
svn path=/trunk/; revision=12107
Royce Mitchell III [Tue, 14 Dec 2004 03:28:34 +0000 (03:28 +0000)]
IntEngBitBlt() ASSERT() some assumptions
svn path=/trunk/; revision=12106
Royce Mitchell III [Tue, 14 Dec 2004 03:23:14 +0000 (03:23 +0000)]
came across small potential kmode crash while researching another bug fix
svn path=/trunk/; revision=12105
Gunnar Dalsnes [Tue, 14 Dec 2004 01:12:51 +0000 (01:12 +0000)]
STATUSBAR_SetTextT:
-ntext wasn't freed on return if text was unicode
-part->text was allways freed, but if the previous style was SBT_OWNERDRAW, part->text would contain 32bit data (not a buffer ptr.)
svn path=/trunk/; revision=12104
Gunnar Dalsnes [Tue, 14 Dec 2004 00:41:24 +0000 (00:41 +0000)]
zw.h: correct ZwDuplicateToken proto.
advapi32\token\token.c: DuplicateTokenEx: pass correct values to NtDuplicateToken
security.c: RtlImpersonateSelf: pass correct values to NtDuplicateToken
ntoskrnl\token.c:
-NtSetInformationToken: lie and say we succeded
-NtDuplicateToken: don't deref. nullpointer
svn path=/trunk/; revision=12103
Thomas Bluemel [Tue, 14 Dec 2004 00:00:41 +0000 (00:00 +0000)]
sorry for defining structures twice...
svn path=/trunk/; revision=12102
Filip Navara [Mon, 13 Dec 2004 23:11:13 +0000 (23:11 +0000)]
- Modify RtlGetNtVersionNumbers to allow loading of WinXP SP2 MSVCRT.DLL.
svn path=/trunk/; revision=12101
Thomas Bluemel [Mon, 13 Dec 2004 21:59:28 +0000 (21:59 +0000)]
cache free gdi handles
svn path=/trunk/; revision=12100
Filip Navara [Mon, 13 Dec 2004 21:45:36 +0000 (21:45 +0000)]
- Remove duplicate typedefs.
svn path=/trunk/; revision=12099
Art Yerkes [Mon, 13 Dec 2004 21:20:38 +0000 (21:20 +0000)]
I had put an IOSB on the stack in TdiConnect. Now we use a PendingIrp
struct that associates it with an IRP. Better.
svn path=/trunk/; revision=12098
Eric Kohl [Mon, 13 Dec 2004 21:16:26 +0000 (21:16 +0000)]
- Remove Wine-isms from the profile code.
- Wrap single-line if-statements.
- Cleanup the indentation.
svn path=/trunk/; revision=12097
Eric Kohl [Mon, 13 Dec 2004 21:11:45 +0000 (21:11 +0000)]
Don't link kernel32.dll against wine.a.
svn path=/trunk/; revision=12096
Thomas Bluemel [Mon, 13 Dec 2004 20:53:25 +0000 (20:53 +0000)]
forgot this file
svn path=/trunk/; revision=12095
Art Yerkes [Mon, 13 Dec 2004 20:11:08 +0000 (20:11 +0000)]
Added stack frames and Tag printing to used blocks. This allows redzone
violations on used blocks to tell where the block was allocated.
svn path=/trunk/; revision=12094
Art Yerkes [Mon, 13 Dec 2004 20:09:26 +0000 (20:09 +0000)]
Allocate a final WCHAR for the NUL put on by wcsncat.
svn path=/trunk/; revision=12093
Thomas Bluemel [Mon, 13 Dec 2004 19:06:28 +0000 (19:06 +0000)]
added stubs for SetSecurityInfo(), GetInheritanceSourceA/W() and FreeInheritedFromArray()
svn path=/trunk/; revision=12092
Hartmut Birr [Mon, 13 Dec 2004 18:30:08 +0000 (18:30 +0000)]
- Replaced HeapAlloc, HeapFree and HeapReAlloc with alloc, free and realloc.
svn path=/trunk/; revision=12091
Thomas Bluemel [Mon, 13 Dec 2004 18:20:28 +0000 (18:20 +0000)]
cvs maintainance
svn path=/trunk/; revision=12090
Thomas Bluemel [Mon, 13 Dec 2004 18:06:39 +0000 (18:06 +0000)]
cvs maintainance
svn path=/trunk/; revision=12089
Filip Navara [Mon, 13 Dec 2004 17:16:36 +0000 (17:16 +0000)]
I was wrong, MiniSendComplete shouldn't be called at all by NDIS except if explicitly asked to by the miniport (in pending case).
svn path=/trunk/; revision=12088
Filip Navara [Mon, 13 Dec 2004 17:13:24 +0000 (17:13 +0000)]
REVERT:
- Don't call ProtocolSendComplete after NdisSend (NDIS should call it).
svn path=/trunk/; revision=12087
Filip Navara [Mon, 13 Dec 2004 16:53:38 +0000 (16:53 +0000)]
- Don't call ProtocolSendComplete after NdisSend (NDIS should call it).
svn path=/trunk/; revision=12086
Filip Navara [Mon, 13 Dec 2004 16:50:21 +0000 (16:50 +0000)]
MiniSendComplete should be called if MiniportSend routine returns STATUS_SUCCESS even for deserialized miniports.
svn path=/trunk/; revision=12085
Filip Navara [Mon, 13 Dec 2004 16:36:39 +0000 (16:36 +0000)]
- Fix compilation errors with GCC 4.0-
20041205.
svn path=/trunk/; revision=12084
Filip Navara [Mon, 13 Dec 2004 15:39:52 +0000 (15:39 +0000)]
- Fix compilation errors with GCC 4.0-
20041205.
svn path=/trunk/; revision=12082
Filip Navara [Mon, 13 Dec 2004 15:38:19 +0000 (15:38 +0000)]
Don't pass UNICODE_STRINGs in the dwTypeData of MENUITEMINFO. Pass the usual strings here.
svn path=/trunk/; revision=12081
Gé van Geldorp [Mon, 13 Dec 2004 15:07:33 +0000 (15:07 +0000)]
Fix double-spaced output in crash report
svn path=/trunk/; revision=12080
Filip Navara [Mon, 13 Dec 2004 13:32:24 +0000 (13:32 +0000)]
- Get handling of unhandled exceptions working again.
svn path=/trunk/; revision=12079
Thomas Bluemel [Mon, 13 Dec 2004 12:51:51 +0000 (12:51 +0000)]
decrement process gdi object counter on object deletion
svn path=/trunk/; revision=12078
Royce Mitchell III [Mon, 13 Dec 2004 07:09:56 +0000 (07:09 +0000)]
implemented GetUserNameA() and GetUserNameW() - thanks to kjk_hyperion and Alex Ionescu for help on how to implement them.
svn path=/trunk/; revision=12075
Royce Mitchell III [Mon, 13 Dec 2004 05:23:59 +0000 (05:23 +0000)]
BUGFIX: unhandled error conditions IntGdiCreateDC()
svn path=/trunk/; revision=12073
Gregor Anich [Mon, 13 Dec 2004 02:20:09 +0000 (02:20 +0000)]
Changed half-verbose build output a bit:
- Do not print "Entering directory ..." messages
- Do not print "Nothing to be done for ..." messages
- Print the target name before the command which is executed (does not work with wine dlls yet)
Added/Changed stuff in rules.mak:
FULL_MAP was renamed to BUILD_MAP and can be set to
- full (default, like FULL_MAP=yes was - build maps with objdump)
- yes (like FULL_MAP=no was - build maps with nm)
- no (don't build maps at all)
BUILD_SYM was added - can be set to yes/no (defaults to yes)
svn path=/trunk/; revision=12071
Royce Mitchell III [Mon, 13 Dec 2004 01:45:18 +0000 (01:45 +0000)]
BUGFIX: get rid of an incorrect ASSERT
svn path=/trunk/; revision=12070
Thomas Bluemel [Mon, 13 Dec 2004 00:11:59 +0000 (00:11 +0000)]
revert some of the changes i did to IntDestroyWindow()
svn path=/trunk/; revision=12069
Thomas Bluemel [Sun, 12 Dec 2004 23:42:35 +0000 (23:42 +0000)]
unmark dirty windows on destruction so no painting messages get generated afterwards
svn path=/trunk/; revision=12068
Filip Navara [Sun, 12 Dec 2004 23:18:55 +0000 (23:18 +0000)]
- Acquire the dispatcher lock in KeRevertToUserAffinityThread instead of just using uninintialized oldIrql variable.
svn path=/trunk/; revision=12067
Eric Kohl [Sun, 12 Dec 2004 23:09:13 +0000 (23:09 +0000)]
Replace assert by ASSERT.
svn path=/trunk/; revision=12066
Filip Navara [Sun, 12 Dec 2004 23:08:13 +0000 (23:08 +0000)]
- Fix compilation errors with GCC 4.0-
20041205.
svn path=/trunk/; revision=12065
Thomas Bluemel [Sun, 12 Dec 2004 23:03:56 +0000 (23:03 +0000)]
initialize the unhandled exception filter automatically
svn path=/trunk/; revision=12064
Thomas Bluemel [Sun, 12 Dec 2004 22:39:45 +0000 (22:39 +0000)]
make SetunhandledExceptionFilter() thread-safe
svn path=/trunk/; revision=12063
Eric Kohl [Sun, 12 Dec 2004 22:36:10 +0000 (22:36 +0000)]
- Replace hive locks and hive list lock by a global lock to make the registry thread-safe.
svn path=/trunk/; revision=12062
Royce Mitchell III [Sun, 12 Dec 2004 21:58:42 +0000 (21:58 +0000)]
BUGFIX: NtGdiGetDeviceCaps() called NtGdiEscape() with hDC when it already had it locked.
BUGFIX: fixed condition surrounding failed ASSERT in NtGdiGetTextExtentPoint32().
svn path=/trunk/; revision=12061
Royce Mitchell III [Sun, 12 Dec 2004 21:43:17 +0000 (21:43 +0000)]
add missing assertion
svn path=/trunk/; revision=12060
Royce Mitchell III [Sun, 12 Dec 2004 21:38:25 +0000 (21:38 +0000)]
BUGFIX: MouseSafety does it's own parameter validation, and this calculation was flat-out wrong anyway
svn path=/trunk/; revision=12059
Thomas Bluemel [Sun, 12 Dec 2004 21:25:05 +0000 (21:25 +0000)]
* Implement EnumDisplayDevicesA
* Better implementation of LookupAccountSidA/W stubs
* Allow enumeration of display settings in CLI mode
* Add route app to compile/install target
* Correct debug messages
Patch by Herv� Poussineau.
svn path=/trunk/; revision=12058
Royce Mitchell III [Sun, 12 Dec 2004 20:58:09 +0000 (20:58 +0000)]
testing reveals that source rect must be constrained to the boundaries of the source image. Adjust dest rect so that output still lands where user expected it. This fixes kmode crash from comctl32 handing bad data off to StretchBlt().
svn path=/trunk/; revision=12057
Thomas Bluemel [Sun, 12 Dec 2004 20:40:06 +0000 (20:40 +0000)]
MessageBoxIndirectA() should check whether the MB_USERICON bit was set, otherwise in case the lpszIcon field of the MSGBOXPARAMS structure, the application passed to it, was never initialized and is not being interpreted as an atom, it takes this random pointer and tries to convert the string inside it to unicode - which might cause an exception. it solves a problem with winzip hardon discovered.
The bug also exists in wine but doesn't appear to arise.
svn path=/trunk/; revision=12056
Hartmut Birr [Sun, 12 Dec 2004 20:14:01 +0000 (20:14 +0000)]
- Split KdInitSystem in two phases, to enable debug prints (serial line and bochs)
in the very early boot stage (before the initialisation from hal).
svn path=/trunk/; revision=12055
Filip Navara [Sun, 12 Dec 2004 18:14:22 +0000 (18:14 +0000)]
*** empty log message ***
svn path=/trunk/; revision=12054
Steven Edwards [Sun, 12 Dec 2004 18:07:44 +0000 (18:07 +0000)]
added .cvsignore
svn path=/trunk/; revision=12053
Filip Navara [Sun, 12 Dec 2004 18:01:23 +0000 (18:01 +0000)]
- Remove -DCOBJMACROS from oleaut32 makefile.
- Minor fixes to OLE interface prototypes.
svn path=/trunk/; revision=12052
Thomas Bluemel [Sun, 12 Dec 2004 17:56:52 +0000 (17:56 +0000)]
fixed problems with mouse cursor handling
svn path=/trunk/; revision=12051
Hartmut Birr [Sun, 12 Dec 2004 17:52:06 +0000 (17:52 +0000)]
- Fixed the definition of SYNCH_LEVEL.
svn path=/trunk/; revision=12050
Hartmut Birr [Sun, 12 Dec 2004 17:48:20 +0000 (17:48 +0000)]
- Used the lock prefix on smp builds.
svn path=/trunk/; revision=12049
Filip Navara [Sun, 12 Dec 2004 17:46:53 +0000 (17:46 +0000)]
Hans Leidekker <hans@it.vu.nl>
Fix compilation with GCC 4.
svn path=/trunk/; revision=12048
Hartmut Birr [Sun, 12 Dec 2004 17:42:00 +0000 (17:42 +0000)]
- Improved KeBugCheckWithTf for smp machines.
svn path=/trunk/; revision=12047
Hartmut Birr [Sun, 12 Dec 2004 17:36:00 +0000 (17:36 +0000)]
- Redefined OldIrql. It was lost while my code cleanup.
svn path=/trunk/; revision=12046
Hartmut Birr [Sun, 12 Dec 2004 17:25:53 +0000 (17:25 +0000)]
- Replaced PiThreadLock with the dispatcher databae lock.
- Fixed some problems while setting/changing the affinity of a thread.
svn path=/trunk/; revision=12045
Filip Navara [Sun, 12 Dec 2004 17:24:30 +0000 (17:24 +0000)]
- Reformulate comment.
svn path=/trunk/; revision=12044
Filip Navara [Sun, 12 Dec 2004 17:03:01 +0000 (17:03 +0000)]
- Workaround infinite loop on loopback connect.
svn path=/trunk/; revision=12043
Filip Navara [Sun, 12 Dec 2004 16:47:52 +0000 (16:47 +0000)]
- Don't call IntReleaseWindowObject with handle.
svn path=/trunk/; revision=12042
Filip Navara [Sun, 12 Dec 2004 15:57:15 +0000 (15:57 +0000)]
- Fix compilation of non-DBG builds.
svn path=/trunk/; revision=12041
Eric Kohl [Sun, 12 Dec 2004 15:17:38 +0000 (15:17 +0000)]
- Remove Wine-isms from advapi32 because it's a ReactOS DLL!
- Enforce a consistent coding style.
- Remove -D__REACTOS__
svn path=/trunk/; revision=12040
Filip Navara [Sun, 12 Dec 2004 11:48:04 +0000 (11:48 +0000)]
- Fix receiving of loopback packets.
- Fix recursive spinlock acquire in NBQueuePacket.
- Don't pend connect requests if they're satisfied during the call.
- Basic implementation of listen.
svn path=/trunk/; revision=12039
Steven Edwards [Sun, 12 Dec 2004 04:43:36 +0000 (04:43 +0000)]
Update the Wine porting documentation.
svn path=/trunk/; revision=12038
James Tabor [Sun, 12 Dec 2004 04:34:23 +0000 (04:34 +0000)]
Need -D__REACTOS__ in makefile for porting from wine.
svn path=/trunk/; revision=12037
Thomas Bluemel [Sun, 12 Dec 2004 02:15:23 +0000 (02:15 +0000)]
accidently committed this file, revert changes
svn path=/trunk/; revision=12036
Thomas Bluemel [Sun, 12 Dec 2004 01:40:39 +0000 (01:40 +0000)]
1. remove mouse cursor hacks from eng/mouse
2. implemented more win2k-like gdi handle table (handle entry lookup is not yet optimized/cached!)
3. moved cursoricon.c from objects to ntuser as it's part of the user api and not of the gdi
4. get rid of the eng handle table
5. minor fixes
svn path=/trunk/; revision=12035
Thomas Bluemel [Sat, 11 Dec 2004 22:39:38 +0000 (22:39 +0000)]
don't leak resources
svn path=/trunk/; revision=12034
Thomas Bluemel [Sat, 11 Dec 2004 21:19:41 +0000 (21:19 +0000)]
silence some debug output
svn path=/trunk/; revision=12033
Art Yerkes [Sat, 11 Dec 2004 21:07:20 +0000 (21:07 +0000)]
Fixed warnings of mismatched format and arg type.
svn path=/trunk/; revision=12032
Art Yerkes [Sat, 11 Dec 2004 20:48:33 +0000 (20:48 +0000)]
Added double complete protection so that we never call an upper-level
completion routine more than once for the same packet. This alleviates
a bug i observe with the realtek 8139, as reported by gge.
Define BREAK_ON_DOUBLE_COMPLETE to get a bugcheck if a send completion
handler would be called more than once. This define is intended to help
us determine if the actual bug is in our ndis.
svn path=/trunk/; revision=12031
Filip Navara [Sat, 11 Dec 2004 20:18:06 +0000 (20:18 +0000)]
- Minor fixes to MenuGetRosMenuItemInfo.
svn path=/trunk/; revision=12030
Steven Edwards [Sat, 11 Dec 2004 20:01:50 +0000 (20:01 +0000)]
disable 2 environ tests that fail under ros.
svn path=/trunk/; revision=12029
Steven Edwards [Sat, 11 Dec 2004 19:51:31 +0000 (19:51 +0000)]
Disable a cpp test. We need dbghelp support for name de-mangling.
svn path=/trunk/; revision=12028
Filip Navara [Sat, 11 Dec 2004 19:45:10 +0000 (19:45 +0000)]
- Fix yet another heap free error.
svn path=/trunk/; revision=12027
Thomas Bluemel [Sat, 11 Dec 2004 19:39:18 +0000 (19:39 +0000)]
1. don't dispatch sent messages to windows during destruction
2. fixed class lookup in a hacky way (get's rewritten soon anyway)
svn path=/trunk/; revision=12026
Steven Edwards [Sat, 11 Dec 2004 19:31:46 +0000 (19:31 +0000)]
Added Wine msvcrt regression tests.
I am working on making us pass all of them and disabling the ones that fail.
svn path=/trunk/; revision=12025
Steven Edwards [Sat, 11 Dec 2004 19:21:35 +0000 (19:21 +0000)]
Wineism cleanup has started.
svn path=/trunk/; revision=12024
Steven Edwards [Sat, 11 Dec 2004 19:21:11 +0000 (19:21 +0000)]
Remove some of the unneeded internal headers in a further effort
to de-wineify my bad import of msvcrt last year.
svn path=/trunk/; revision=12023
Steven Edwards [Sat, 11 Dec 2004 19:20:19 +0000 (19:20 +0000)]
msvcrt lock functions have been dewine-ifyed.
svn path=/trunk/; revision=12022
Steven Edwards [Sat, 11 Dec 2004 19:19:38 +0000 (19:19 +0000)]
de-wineifying parts of msvcrt.
svn path=/trunk/; revision=12021
Steven Edwards [Sat, 11 Dec 2004 18:43:06 +0000 (18:43 +0000)]
add wrapper code for the VkKeyScan functions around
VkKeyScanExW and GetKeyboardLayout.
(Both still need to be implemented)
svn path=/trunk/; revision=12020
Gregor Anich [Sat, 11 Dec 2004 17:53:12 +0000 (17:53 +0000)]
Fix output of the build system for VERBOSE=yes, add output for "make install" in half-verbose mode.
svn path=/trunk/; revision=12019
Filip Navara [Sat, 11 Dec 2004 16:36:06 +0000 (16:36 +0000)]
- Manage TCP ports using port set and dynamically assign TCP port number if sin_port == 0.
svn path=/trunk/; revision=12018
Steven Edwards [Sat, 11 Dec 2004 16:02:22 +0000 (16:02 +0000)]
remove accctrl.h from include. The w32api version works fine for us.
svn path=/trunk/; revision=12017
Gregor Anich [Sat, 11 Dec 2004 16:02:22 +0000 (16:02 +0000)]
Add half-verbose output to build system and make it the default (the old output is available via setting VERBOSE=yes)
svn path=/trunk/; revision=12016
Thomas Bluemel [Sat, 11 Dec 2004 15:23:51 +0000 (15:23 +0000)]
RtlLargeIntegerArithmeticShift() shouldn't return uninitialized data from the stack
svn path=/trunk/; revision=12015
Filip Navara [Sat, 11 Dec 2004 14:59:32 +0000 (14:59 +0000)]
- Implement WSPGetSockName.
- Minor AFD fixes.
svn path=/trunk/; revision=12014
Gé van Geldorp [Sat, 11 Dec 2004 14:45:00 +0000 (14:45 +0000)]
- Detect HDTV output
- Increase scrolling speed
- Blacklist more PCI slots
svn path=/trunk/; revision=12013
Martin Fuchs [Sat, 11 Dec 2004 14:15:57 +0000 (14:15 +0000)]
update Doxyfile format
svn path=/trunk/; revision=12012
Martin Fuchs [Sat, 11 Dec 2004 13:40:24 +0000 (13:40 +0000)]
enable new Doxygen option SHOW_DIRECTORIES
svn path=/trunk/; revision=12011
Filip Navara [Sat, 11 Dec 2004 00:33:13 +0000 (00:33 +0000)]
- Don't try to free pointer from union that isn't used.
svn path=/trunk/; revision=12010
Filip Navara [Sat, 11 Dec 2004 00:24:03 +0000 (00:24 +0000)]
- Use malloc/free in C++ new/delete operator implementation (resolves heap issues with Mozilla Firefox).
svn path=/trunk/; revision=12009
Thomas Bluemel [Sat, 11 Dec 2004 00:22:25 +0000 (00:22 +0000)]
forgot this file
svn path=/trunk/; revision=12008
Thomas Bluemel [Sat, 11 Dec 2004 00:21:33 +0000 (00:21 +0000)]
port crypt and trustee support from Wine. Patch by Steven Edwards.
svn path=/trunk/; revision=12007
Royce Mitchell III [Sat, 11 Dec 2004 00:13:37 +0000 (00:13 +0000)]
PagedPool improvements: differenciate between hiredzone and loredzone, added double-free detection including stack trace of free'er, keep track of Tags, two new utility functions for debugging ( VOID ExRosDumpPagedPoolByTag(ULONG) and ULONG ExRosQueryPoolTag(PVOID) ).
svn path=/trunk/; revision=12006
Thomas Bluemel [Fri, 10 Dec 2004 22:40:29 +0000 (22:40 +0000)]
fixed a bug that caused locking a not anymore existing message queue while dispatching a message. Thanks to Royce for helping me :)
svn path=/trunk/; revision=12005
Filip Navara [Fri, 10 Dec 2004 19:09:02 +0000 (19:09 +0000)]
- Update registry keys for sound blaster driver.
svn path=/trunk/; revision=12004