Commit graph

33350 commits

Author SHA1 Message Date
Johannes Anderwald 60cea54fbe - Check if IContextMenu_InvokeCommand succeeded
- Pass the identifiers of string as id to _InsertMenuItem function
- Should fix invoking control panel items

svn path=/trunk/; revision=37177
2008-11-03 21:44:34 +00:00
Colin Finck 1daef4a078 Carlo Bramini (carlo.bramix@libero.it)
- Fix the display of Line and Column in the Status Bar and add language resources for this

Patch was slightly modified by me to also react on WM_KEYDOWN messages, so that the line/column is already updated, when you're holding down the buttons. (like Windows' notepad does by the way)
We still have to keep WM_KEYUP though, otherwise this doesn't work properly when being used with Page Up/Page Down.

See issue #3702 for more details.

svn path=/trunk/; revision=37176
2008-11-03 21:23:57 +00:00
Johannes Anderwald 178ca611e8 - Dont display NCRP_QUERY_PROPERTY_UI when the notification object has already been created
svn path=/trunk/; revision=37173
2008-11-03 18:42:56 +00:00
Christoph von Wittich 2bf8a47670 ExFreePool -> ExFreePoolWithTag
Status != STATUS_SUCCESS -> !NT_SUCCESS(Status)

svn path=/trunk/; revision=37171
2008-11-03 16:22:44 +00:00
Christoph von Wittich 3d6eedfc0e some translations: GreatLordish -> English
svn path=/trunk/; revision=37170
2008-11-03 14:39:03 +00:00
Gregor Schneider bbf8408292 - Several ExFreePool -> ExFreePoolWithTag changes (local allocations)
- Tested for ~2 weeks now, no BAD_POOL_CALLER's so far

svn path=/trunk/; revision=37169
2008-11-03 13:26:03 +00:00
Gregor Schneider 3e1f229f1c StretchBlt:
- Enable unsupported bit depth dprint (4bpp)
- Respect the destination offset instead of always starting the blt at 0,0 (8/16bpp)
- Adapt routine from 8/16/32bpp, tested to be approx 15-25% faster than the old one (24bpp)

svn path=/trunk/; revision=37168
2008-11-03 12:40:24 +00:00
Dmitry Chapyshev bc1f150d78 - Move IsWow64Process to proc.c
- Implement FatalAppExitW (based on Wine)

svn path=/trunk/; revision=37167
2008-11-03 12:27:39 +00:00
Dmitry Chapyshev b79ada3280 - Implement IsWow64Process (based on Wine)
svn path=/trunk/; revision=37165
2008-11-03 11:46:02 +00:00
Dmitry Chapyshev 4edc51bc5a - Implement GetCPInfoExA/W (not fully)
- Move CODEPAGE_ENTRY struct to header file
- Small fix HeapWalk

svn path=/trunk/; revision=37164
2008-11-03 11:27:17 +00:00
James Tabor 3e91f16362 - Cleanup UnrealizeObject and set dvNumAxes in CreateFontIndirect.
svn path=/trunk/; revision=37163
2008-11-03 08:39:08 +00:00
Dmitry Chapyshev 315219e37d - Implement HeapWalk (based on Wine)
svn path=/trunk/; revision=37162
2008-11-03 08:37:50 +00:00
James Tabor c558a7b271 - Fix C in RealizeFontInit.
svn path=/trunk/; revision=37161
2008-11-03 07:04:04 +00:00
James Tabor cc68aa2bcc - Remove locking in gdi batch.
svn path=/trunk/; revision=37160
2008-11-03 06:52:42 +00:00
James Tabor 53586450b4 - Add new function for locking text font objects when realized. This is for batching support.
- Batching works for selected fonts, due to a system initialization bug this is disabled.
- Miscellaneous changes and updates.


svn path=/trunk/; revision=37159
2008-11-03 05:38:02 +00:00
KJK::Hyperion bed3b885b4 idndl_redist and normaliz_redist aren't ready for prime time yet
svn path=/trunk/; revision=37158
2008-11-02 22:03:31 +00:00
Jeffrey Morlan e0d327a9ec ReadBatchLine: Add a \n to the line if it doesn't already have one
svn path=/trunk/; revision=37155
2008-11-02 21:56:34 +00:00
Aleksey Bragin ae1019f232 - Remove WIN32_WINNT override.
svn path=/trunk/; revision=37154
2008-11-02 19:12:20 +00:00
Aleksey Bragin eaf88dc90a - Remove WINVER definition.
- Fix no-EOL-at-EOF warnings.

svn path=/trunk/; revision=37152
2008-11-02 19:07:00 +00:00
Stefan Ginsberg 6eb05ceb03 - Stub out IoTranslateBusAddress, PoCancelDeviceNotify, PoRegisterDeviceNotify, PoRequestShutdownEvent, PoSetHiberRange and PoShutdownBugCheck
- Add missing KiCheckForSListAddress

svn path=/trunk/; revision=37151
2008-11-02 16:33:43 +00:00
Aleksey Bragin 83dc43c8d4 Dmitry Gorbachev
- Fix a bug in OEM to Unicode conversion code (wrong cast).
See issue #3837 for more details.

svn path=/trunk/; revision=37150
2008-11-02 15:15:37 +00:00
Stefan Ginsberg d14b6b0318 - Sync 36654 to trunk
svn path=/trunk/; revision=37149
2008-11-02 14:08:49 +00:00
James Tabor 174ffe7d8c - Move functions out of freetype. Implemented FT: GetKerningPairs and RealizationInfo. Other misc changes.
svn path=/trunk/; revision=37148
2008-11-02 12:17:15 +00:00
Stefan Ginsberg 8e1c35ecc1 - Stub out Ke386IoSetAccessProcess, Ke386SetIoAccessMap and Ke386QueryIoAccessMap
- Reference: "The Simplest Device Drivers" http://www.freewebs.com/four-f/KmdTut/kmd03.html

svn path=/trunk/; revision=37147
2008-11-02 11:48:24 +00:00
James Tabor e8c8ee7afe - Update FONTGDI and TEXTOBJ. Added support for FT WinFNT. Fixed FillTM so it can pass underline and strike out support.
svn path=/trunk/; revision=37146
2008-11-02 00:57:17 +00:00
KJK::Hyperion 75f046ab4e Arch Blackmann's rules for preprocessed spec files were quite broken (of course). Fixing them.
* Add the module name to the name of the intermediate .spec file generated by the preprocessor. Fixes race condition in parallel builds of HAL targets
 * Pass module defines and includes to the preprocessor. Fixes a future bug that would have caused Aleksey to commit suicide and ReactOS to be forked into Debian GNU/ReactOS
 * Don't silently ignore stubs defined by .pspec files. What the hell, Arch?

Bonus improvement: cleaned up linker command, generating .exp files correctly as intermediate files with the appropriate dependencies. Happy Hallowmas!

svn path=/trunk/; revision=37145
2008-11-01 23:23:02 +00:00
KJK::Hyperion 5f616878c9 Remove all <file> entries for spec/pspec files that don't define any stubs (for real this time)
svn path=/trunk/; revision=37144
2008-11-01 23:11:38 +00:00
James Tabor 09c99cdf63 - Fix property for drawing.c.
svn path=/trunk/; revision=37143
2008-11-01 23:04:56 +00:00
James Tabor fdea73d599 - Fix build, part of revision 37141.
svn path=/trunk/; revision=37142
2008-11-01 22:54:34 +00:00
James Tabor 6c481db7b0 - Patch by Daniel Zimmerman: Implement FoldStringA/W from wine, see bug 3253.
svn path=/trunk/; revision=37141
2008-11-01 22:44:54 +00:00
James Tabor f539afa537 - Update from notes: NtUserInitialize.
svn path=/trunk/; revision=37140
2008-11-01 22:12:38 +00:00
Gregor Schneider 27985bf35b TransparentBlt:
- Fix bits and offset calculation (8 << 2 is not 24!)
- Fixes Download! bitmap in 24bpp mode, see bug #1583

svn path=/trunk/; revision=37139
2008-11-01 20:44:40 +00:00
Eric Kohl 032300fbc9 SEH protect all remote calls to the Eventlog Service.
svn path=/trunk/; revision=37138
2008-11-01 20:37:04 +00:00
Stefan Ginsberg ae24c33a4f - Reapply 35812:
- RtlDispatchException: Call vectored exception handlers before doing anything else
- KiUserExceptionDispatcher: Call RtlDispatchException directly as it now takes care of vectored handling
- Rename RtlpExecuteVectoredExceptionHandlers to RtlCallVectoredExceptionHandlers, and fix return type
- References: "New Vectored Exception Handling in Windows XP" by Matt Pietrek
- New in this revision: Only call vectored handlers in user mode, as there is no such thing in kernel mode

svn path=/trunk/; revision=37137
2008-11-01 19:48:52 +00:00
Stefan Ginsberg ed9780429d - Fix release build -- attempt 2
svn path=/trunk/; revision=37136
2008-11-01 19:35:23 +00:00
Stefan Ginsberg 6b1b673dca - Fix release build
svn path=/trunk/; revision=37135
2008-11-01 19:22:43 +00:00
Stefan Ginsberg 8a6a5c0d14 - Enable building ntkrnlmp
- SMP kernel now compiles. It doesn't boot and it won't run as we lack ACPI, SMT, a (proper) MP HAL, IPI and more.
- Dedicated to Aleksey, Alex and KJK <3 <3 <3

svn path=/trunk/; revision=37134
2008-11-01 18:21:39 +00:00
Stefan Ginsberg 48d2b528d2 - Implement the MP case for KiTimerExpiration and KiTimerListExpire
svn path=/trunk/; revision=37133
2008-11-01 18:16:17 +00:00
Aleksey Bragin 42cd339c49 - Refactor timer code to share more macros (see http://www.dcl.hpi.uni-potsdam.de/research/WRK/?p=32).
- Implement expiring timers when the user changes the system time. Previously these timers would never expire if the time was set past their expiration points.
- Fix a bug in KiInsertTreeTimer where, if a timer expired while we inserted it, we kept its Inserted state to TRUE.
- Fix a bug where, when changing the system time, the modifications were not done in the correct order, possibly resulting in a race condition happening if someone else was checking the time simultaneously.
- Tested with winetest kernel32 timer.
- Thanks to Alex and Stefan.

svn path=/trunk/; revision=37132
2008-11-01 15:33:05 +00:00
Cameron Gutman 53f5e2c282 - Fix a cast
svn path=/trunk/; revision=37131
2008-11-01 14:38:44 +00:00
James Tabor 86691d3afe - Update NtUserInitialize and show where it belongs.
svn path=/trunk/; revision=37130
2008-11-01 14:31:54 +00:00
James Tabor 7c20ea6571 - Update NtGdiGetGlyphOutline and NtGdiGetGlyphIndicesW.
svn path=/trunk/; revision=37128
2008-11-01 12:08:07 +00:00
Stefan Ginsberg 380df53cc2 - Implement most of SMP KeFlushEntireTb (currently unused though)
- Update KiTbFlushTimeStamp on both UP and MP after flushing

svn path=/trunk/; revision=37127
2008-11-01 12:01:58 +00:00
Stefan Ginsberg 39d59e06dd - Disable old and unused IPI code, add new NT compatible stubs
- KiIpiSendRequest should be a fastcall named KiIpiSend, fix this and fix callers
- Implement most of SMP KeIpiGenericCall. Also use KiReverseStallIpiLock instead of an uninitialized "KiIpiLock"
- Fix KiIpiServiceRoutine -- 2nd argument should be PKEXCEPTION_FRAME

svn path=/trunk/; revision=37126
2008-11-01 11:44:04 +00:00
Cameron Gutman b949b9b7c3 - Make sure ThunkTable is not NULL before attempting to free it
- It gets set to NULL when the thunk is successfully added
 - I have no idea how this ever worked without this fix

svn path=/trunk/; revision=37125
2008-11-01 01:00:08 +00:00
Cameron Gutman eaba38bfb8 - Release the guarded mutex before we return
svn path=/trunk/; revision=37124
2008-11-01 00:36:24 +00:00
Cameron Gutman 518ef62225 - Fix the check for too many devices
svn path=/trunk/; revision=37121
2008-10-31 23:59:49 +00:00
Cameron Gutman 4ed7116ff9 - We already do this in the SEH block. No need to do it twice.
svn path=/trunk/; revision=37120
2008-10-31 23:34:54 +00:00
Johannes Anderwald f327269375 - Include zero byte in byte count to NtSetValueKey
svn path=/trunk/; revision=37119
2008-10-31 23:34:34 +00:00
Johannes Anderwald ff88c3b914 - Include zero byte in byte count to NtSetValueKey
svn path=/trunk/; revision=37118
2008-10-31 23:21:15 +00:00