Commit graph

33312 commits

Author SHA1 Message Date
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
Eric Kohl e4bbc4a8bf Pass machine name to RpcStringBindingComposeA/W properly.
svn path=/trunk/; revision=37117
2008-10-31 22:21:34 +00:00
Eric Kohl 5de1f53be7 EVENTLOG:
- Get rid of the globally created binding handle and use the WIDL-generated custom binding handles and context handles instead.
- Add workarounds to eventlogrpc.idl because WIDL is not yet able to handle attributes in typedefs correctly.

svn path=/trunk/; revision=37116
2008-10-31 22:18:12 +00:00
Timo Kreuzer 599b63ad89 merge 35742,35773,35780,35824,35969,36725,36952 from amd64 branch
svn path=/trunk/; revision=37115
2008-10-31 21:28:09 +00:00
Johannes Anderwald 0411efc7fc * Implement disabling network adapter (WIP, not yet supported)
svn path=/trunk/; revision=37114
2008-10-31 20:27:30 +00:00
James Tabor 75afd8303f - Update realization information and copyright notice for freetype.c.
svn path=/trunk/; revision=37113
2008-10-31 18:56:23 +00:00
Johannes Anderwald f4a0005b90 - Display drive details for CDROMs
- Fix a bug in the free space calculation

svn path=/trunk/; revision=37112
2008-10-31 18:48:15 +00:00
Stefan Ginsberg 705683b520 - Don't dereference inside an SEH block after doing unsafe writes, as this could be missed in case a pointer is bad.
svn path=/trunk/; revision=37111
2008-10-31 13:16:01 +00:00
Johannes Anderwald c28ade37e5 - Add Documentation for netshell
svn path=/trunk/; revision=37110
2008-10-31 11:26:23 +00:00
Johannes Anderwald 89ecbb1db8 - Make sure its DNS ServerList is NULL terminated
svn path=/trunk/; revision=37108
2008-10-30 20:25:27 +00:00
Johannes Anderwald f71490ce76 - Fix ...
svn path=/trunk/; revision=37107
2008-10-30 20:12:09 +00:00
Johannes Anderwald 3575fd66a9 - Try fix GetNetworkParams api
svn path=/trunk/; revision=37106
2008-10-30 19:27:58 +00:00
Stefan Ginsberg f467429483 - NtWrite/ReadFile: Don't hardcode Irp->RequestorMode to KernelMode! Instead, use the PreviousMode we saved earlier. This caused user mode APCs to be called from kernel mode, which is a...very...bad... idea.
- Spotted by bug 3607 and exposed by ntdll Winetests "file"
See issue #3607 for more details.

svn path=/trunk/; revision=37102
2008-10-30 15:59:00 +00:00
James Tabor 7bfa0b86e3 Implement GetFontUnicodeRanges, port from wine. Tested with wine gdi32 font crosstests.
svn path=/trunk/; revision=37099
2008-10-30 13:33:08 +00:00
Christoph von Wittich a233789dd4 fix Armenian, Chinese, Hebrew, Hindi, Thai do not appear in the Input Language combo box
patch by hto
See issue #3818 for more details.

svn path=/trunk/; revision=37098
2008-10-30 13:27:11 +00:00
Matthias Kupfer ffdfcde767 replacement for the white power switch (better contrast for small resolutions)
svn path=/trunk/; revision=37097
2008-10-30 13:09:58 +00:00
Johannes Anderwald aac399c13a - Forgot this one
svn path=/trunk/; revision=37095
2008-10-30 12:44:25 +00:00
Matthias Kupfer 40114270cf - new directory for generic graphics (available in alterable format e.g. svg)
- replacement for shutdown/power off icon
- additional question mark icon (allows to change to tango desktop project icon set for message box icons)

svn path=/trunk/; revision=37094
2008-10-30 12:04:39 +00:00
Dmitry Chapyshev d0418e7123 - Attempt to fix a bug 3255.
By means of Christoph_vW.
Not tested.

svn path=/trunk/; revision=37093
2008-10-30 11:14:40 +00:00
James Tabor f5883c94d4 - Update Gdi GetFontLanguageInfo.
svn path=/trunk/; revision=37092
2008-10-30 10:48:49 +00:00
Johannes Anderwald 693488f7ff - Convert recovery option dialog to unicode
- Simply & optimize LoadRecoveryOptions function
- CID 786

svn path=/trunk/; revision=37091
2008-10-30 10:46:55 +00:00
James Tabor b70d5a56a4 - Implemented: GetFontLanguageInfo based on wine. GetLanguageID, it reads the registry for default language type.
- Move more function in and out of freetype.c. Minor code fixes too.


svn path=/trunk/; revision=37090
2008-10-30 10:46:27 +00:00
Johannes Anderwald b645f2b87e - Convert LoadSoundFiles to explictely to unicode
- Fix 2 possible buffer overflows (CID 553)

svn path=/trunk/; revision=37087
2008-10-30 09:58:12 +00:00
Christoph von Wittich bcbb4cf019 fix 'Cast from pointer to integer of different size' in PickIconProc()
patch by hto
See issue #3828 for more details.

svn path=/trunk/; revision=37086
2008-10-30 09:44:36 +00:00
Dmitry Chapyshev 0f6c074a85 - Add getting system font and icon size settings
- Other small changes

svn path=/trunk/; revision=37085
2008-10-30 09:41:37 +00:00
Johannes Anderwald e23d7c8cb1 - Fix a memory leak (CID 625)
svn path=/trunk/; revision=37084
2008-10-30 08:35:15 +00:00
Johannes Anderwald 4c981d0c59 - Fix memory leak (CID 621)
svn path=/trunk/; revision=37083
2008-10-30 08:28:50 +00:00
Johannes Anderwald c87ce9e18a - Clean up resources on failure
svn path=/trunk/; revision=37082
2008-10-30 08:23:53 +00:00
Johannes Anderwald 6cf62f2a9f - Fix a potential buffer overflow in SH_ShowDriveProperties (CID 589)
- Fix a possible null dereference (CID 495)
- Fix initializing Recycle Bin Property dialog
- Add LVS_EX_FULLROWSELECT style

svn path=/trunk/; revision=37081
2008-10-30 07:59:55 +00:00
Johannes Anderwald 9332dccc8c - Fix displaying MAC of adapter
svn path=/trunk/; revision=37080
2008-10-30 07:24:37 +00:00
Thomas Bluemel 7ca1dd308b Make the task bar top-most when necessary
svn path=/trunk/; revision=37079
2008-10-30 01:58:24 +00:00
James Tabor fbcf9dd7e9 - Move code out of freetype.c.
- Implement GetRasterizerCaps.
- From wine: Patch by Bobby Bingham: Add support for the GGO_UNHINTED flag in GetGlyphOutline.

svn path=/trunk/; revision=37078
2008-10-30 01:32:44 +00:00
James Tabor 29ff9f55db - Move FreeType support to freetype.c.
- Add font.c to build system and picked our first victim to populate it.
- Implemented NtGdiSetTextJustification in text.c.

svn path=/trunk/; revision=37076
2008-10-29 21:57:04 +00:00
Stefan Ginsberg d47975c0db - Fix kernel SMP intrinsics:
- Correct typos and add missing casts
- Use IPI_APC in KiRequestApcInterrupt as we are requesting an APC IPI, not DPC
- Fix KiAcquireDispatcherObject (credit to Alex)
- Add missing SMP versions of KiAcquire/ReleaseDispatcherLockAtDpcLevel and KiAcquire/ReleaseTimerLock
- Stub out KiRundownThread for SMP

svn path=/trunk/; revision=37075
2008-10-29 21:08:20 +00:00
KJK::Hyperion b4787f49df Merging r37048, r37051, r37052, r37055 from the-real-msvc branch
svn path=/trunk/; revision=37074
2008-10-29 20:06:44 +00:00
Michael Martin 2964e2ab1a - Implement VirtualMemoryInformationClass of MemorySectionName for NtQueryVirtualMemory.
svn path=/trunk/; revision=37073
2008-10-29 19:50:55 +00:00
James Tabor dfaa1abe89 - Update width info structure.
svn path=/trunk/; revision=37072
2008-10-29 19:44:12 +00:00
Johannes Anderwald a27d48f272 - Launch Network Connections ShellFolder when clicking Network Places' properties
- Dedicated to gabriel_it

svn path=/trunk/; revision=37071
2008-10-29 17:49:00 +00:00
Colin Finck 291486f5d6 Don't decide whether to preprocess .spec files based on Kernel-Mode vs. User-Mode, but on the file extension.
.pspec files are preprocessed now, while .spec files aren't. A change like this was already done in the amd64 branch before KJK rewrote the .spec stuff in rbuild.

- Renamed currently preprocessed .spec files to .pspec and changed that in the .rbuild files appropriately
- Renamed "IsWineModule" to "IsSpecDefinitionFile",  the new name is more appropriate
- Removed some checks for uppercased file extensions, we neither use them in our tree nor it will totally work as we only support them in a few places

Commit dedicated to Timo ;-)

svn path=/trunk/; revision=37070
2008-10-29 16:42:03 +00:00