Commit graph

34091 commits

Author SHA1 Message Date
James Tabor cf7857d09f - New patch by hto: Suspicious code in User32.dll, see bug 3935.
svn path=/trunk/; revision=37951
2008-12-09 01:40:37 +00:00
Johannes Anderwald 0bfc5f6d4d - implement IServiceGroup interface
- implement PcNewServiceGroup

svn path=/trunk/; revision=37950
2008-12-08 23:30:16 +00:00
Colin Finck 678aeae6f0 Revert r37916 and add some correct tests for WC_NO_BEST_FIT_CHARS, which pass under Windows XP SP3.
They show that our implementation still has some bugs here and there.

svn path=/trunk/; revision=37947
2008-12-08 22:18:50 +00:00
Johannes Anderwald c28aa247f6 - Partly implement PcRegisterIoTimeout, PcUnregisterIoTimeout
svn path=/trunk/; revision=37946
2008-12-08 21:42:44 +00:00
Johannes Anderwald 6fe59166a1 - Implement IResourceList_AddEntryFromParent
- Implement PcNewResourceSublist

svn path=/trunk/; revision=37945
2008-12-08 20:18:02 +00:00
Gregor Schneider e9c0e48377 - IntGetDeviceGammaRamp: remove unneeded code, i * 256 is always smaller than 65535 (255*256=65280 is the biggest value), CID 35
- IntSetDeviceGammaRamp: don't copy data to NULL buffer, CID 195

svn path=/trunk/; revision=37944
2008-12-08 19:44:13 +00:00
Johannes Anderwald e20af6d632 - Experimental IInterrupt object implementation
svn path=/trunk/; revision=37943
2008-12-08 19:08:07 +00:00
Johannes Anderwald 1972995045 - Add IID_IInterruptSync
svn path=/trunk/; revision=37942
2008-12-08 19:06:15 +00:00
Gregor Schneider fb604382b6 Fix two duplicate checks - obviously copy/pasted, CIDs 74 and 75
svn path=/trunk/; revision=37941
2008-12-08 17:02:19 +00:00
Gregor Schneider 866e5d59a0 - Remove unreachable code, CID 53
- Simplify parameter checks, fix return value, set last error correctly, fix typo

svn path=/trunk/; revision=37940
2008-12-08 16:27:28 +00:00
Christoph von Wittich 8019ca7330 fix ConvertStringSidToSidW
svn path=/trunk/; revision=37939
2008-12-08 15:51:53 +00:00
Stefan Ginsberg e03e004690 - 'STATIC' -> 'static'
svn path=/trunk/; revision=37936
2008-12-08 13:33:44 +00:00
Aleksey Bragin 68eb71cda7 - Move KeQueryRuntimeThread declaration to winddk.h (spotted by Stefan Ginsberg).
svn path=/trunk/; revision=37935
2008-12-08 13:13:36 +00:00
Aleksey Bragin 7b11a5fcdb - Implement KeQueryRuntimeProcess for querying total user/kernel times of a process.
- Use it for obtaining idle process times, and per-process information in QuerySystemInformation routines.
- Fix incorrect multiplier being applied to user/kernel times (should be KeMaximumIncrement instead of 100000).
- Slightly rework SystemProcessorPerformanceInformation to provide valid data.
- This fixed a bug existing since revision 24148, 2 years ago.
See issue #2329 for more details.

svn path=/trunk/; revision=37934
2008-12-08 12:57:53 +00:00
James Tabor 0e162bfb0b - Please dont break functionality due to a compiler problem, just fix it.
svn path=/trunk/; revision=37928
2008-12-08 07:57:18 +00:00
James Tabor cbe31af1b2 - Patch by hto: Suspicious code in User32.dll, see bug 3935.
svn path=/trunk/; revision=37922
2008-12-08 03:34:22 +00:00
Dmitry Gorbachev c63a203efa Put inline functions into header files.
svn path=/trunk/; revision=37921
2008-12-07 23:40:23 +00:00
Dmitry Gorbachev cdbca12bbb Remove WINVER, committed in r37916.
svn path=/trunk/; revision=37920
2008-12-07 22:03:22 +00:00
Dmitry Gorbachev 32580ec32a Silence GCC warnings.
svn path=/trunk/; revision=37919
2008-12-07 21:52:22 +00:00
Dmitry Gorbachev 2772b79efd Remove stray semicolon, change indentation.
svn path=/trunk/; revision=37918
2008-12-07 21:49:30 +00:00
Dmitry Gorbachev 309ea97e6c Add missing parentheses.
svn path=/trunk/; revision=37917
2008-12-07 21:48:44 +00:00
Dmitry Gorbachev a6d6868c53 Use WC_NO_BEST_FIT_CHARS flag for WideCharToMultiByte(). Bug #3903.
svn path=/trunk/; revision=37916
2008-12-07 21:46:16 +00:00
Stefan Ginsberg cdb295c734 - Change more ASSERT(FALSE) to KeBugCheck(MEMORY_MANAGEMENT) so it dies on release build too
svn path=/trunk/; revision=37914
2008-12-07 18:05:28 +00:00
Gregor Schneider 2c22befead - Fix drawing the status bar over the play cards, happened if no status bar was specified on sol startup (Win and ROS behavior); the bar has to be created to get the coords right - so we'll just hide it if we don't need it (like it's done when toggling status bar visibility in options)
- Additional cleanup by Roel Messiant, <roelmessiant AT gmail DOT com>:
- Replace the default options magic value by the proper constant
- Status bar height was being set wrong, but the system's constraint was fixing this behind the screens
- See bugs #3336 and #3820 for more info

svn path=/trunk/; revision=37913
2008-12-07 18:04:56 +00:00
Timo Kreuzer be0e9fd9c7 Merge 34758, 34771, 34786, 34787, 34906, 35826, 36174, 36274, 36444, 36445, 36446, 36447, 36448, 36477, 36511, 36898, 36903 from amd64 branch
svn path=/trunk/; revision=37910
2008-12-07 12:11:46 +00:00
Eric Kohl 467aff9230 - Introduce a common header file.
- Use Wine-style debug code everywhere.

svn path=/trunk/; revision=37906
2008-12-06 21:33:49 +00:00
Aleksey Bragin 5abd794cd0 - Fix a potential case of non-paged pool memory double freeing. Spotted by Michael Martin.
svn path=/trunk/; revision=37905
2008-12-06 19:35:54 +00:00
Timo Kreuzer d610c156c6 - move CONTEXT stuff from wdm.h to winddk.h / armddk.h
- inlcude intrin.h in wdm.h
- avoid redefining PCONTEXT
- use intrinsics for BitScanForward/Reverse

svn path=/trunk/; revision=37902
2008-12-06 18:31:33 +00:00
Timo Kreuzer 72d7ea8bc3 rename section "init" to "INIT", so that pefixup will actually recognize it
svn path=/trunk/; revision=37901
2008-12-06 18:25:06 +00:00
Aleksey Bragin 12376e5bfa - Implement IoGetRemainingStackSize.
svn path=/trunk/; revision=37900
2008-12-06 14:59:11 +00:00
Aleksey Bragin 3cf14110c4 - Add missing function declarations.
svn path=/trunk/; revision=37899
2008-12-06 14:52:16 +00:00
Aleksey Bragin fd38a91b3a - Merge Pierre's changes to ntifs.h from the branch, with my edits.
- Remove a duplicate structure which does not exist in official ntifs.h.
- Fix a typo in PNOTIFY_SYNC declaration.

svn path=/trunk/; revision=37898
2008-12-06 14:36:03 +00:00
Hervé Poussineau 2a8bf4162a Fix a race condition between umpnpmgr service and CMP_WaitNoPendingInstallEvents API.
svn path=/trunk/; revision=37894
2008-12-06 12:54:24 +00:00
Dmitry Chapyshev 1a716522d1 - Add localui from Wine
- Add baseaddress for localui
- Add localui to bootcd

svn path=/trunk/; revision=37893
2008-12-06 12:09:14 +00:00
Dmitry Chapyshev 52ce98d5ec - Update headers
- Add more stubs for winspool

svn path=/trunk/; revision=37892
2008-12-06 11:18:08 +00:00
Eric Kohl b7903f6d19 Replace call to ExtractIconExW (shell32.dll) by a call to PrivateExtractIconExw (user32.dll) and remove shell32.dll from the list of linked libraries because shell32.dll requires a valid user account upon initialization.
Please remember: Don't use high-level DLLs in low-level components (dll or exe)!!!!

svn path=/trunk/; revision=37891
2008-12-06 11:13:50 +00:00
Aleksey Bragin fa01d268d4 - Add reserved reparse tags definitions.
svn path=/trunk/; revision=37890
2008-12-06 11:05:21 +00:00
Dmitry Chapyshev 6928b46129 .def -> .spec
svn path=/trunk/; revision=37888
2008-12-06 10:28:06 +00:00
Dmitry Chapyshev acb0743239 - Sync mlang with Wine 1.1.10
svn path=/trunk/; revision=37885
2008-12-06 09:39:38 +00:00
Dmitry Chapyshev 6bf0881196 - Sync gdiplus wine tests
svn path=/trunk/; revision=37883
2008-12-06 09:26:52 +00:00
Dmitry Chapyshev 5efd259091 - Sync headers with Wine head
- Sync gdiplus with Wine head

svn path=/trunk/; revision=37882
2008-12-06 09:26:01 +00:00
Dmitry Chapyshev 5947224729 - Add CFSTR_SHELLIDLISTA
svn path=/trunk/; revision=37877
2008-12-06 09:10:05 +00:00
Dmitry Chapyshev 336ef53fac - Implement SetupInstallFileA/W
- Stub implement SetupPromptForDiskA/W
All from Wine.

svn path=/trunk/; revision=37876
2008-12-06 09:07:05 +00:00
Timo Kreuzer 1f8539a65e fix FIELD_OFFSET macro
svn path=/trunk/; revision=37866
2008-12-05 12:10:31 +00:00
Timo Kreuzer 8156dcd959 fix x64 definition of __readmsr()
svn path=/trunk/; revision=37865
2008-12-05 12:00:39 +00:00
Eric Kohl 7366e052b4 Sync to wine-1.1.4:
- Rob Shearman <robertshearman@gmail.com> Tue, 26 Aug 2008
widl: Raise RPC_X_SS_IN_NULL_CONTEXT exception for NULL in-only context handles instead of RPC_X_NULL_REF_PTR.

Based on a patch by Michael Martin.

- Alexandre Julliard <julliard@winehq.org> Sat, 30 Aug 2008
widl: Replace write_name() by get_name() to make the code more readable.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 2 Sep 2008
widl: Output NULL for inherited methods in the vtbl.

svn path=/trunk/; revision=37862
2008-12-04 21:22:42 +00:00
KJK::Hyperion 31b83f59b6 modified tools/rbuild/backend/mingw/modulehandler.cpp
DWARF debugging information confuses rsym, and DWARF-2 information from internal libraries (like libgcc) results in huge executables that don't even run on Windows. Therefore, before the rsym phase, strip all DWARF-2 sections
   This is a HACK for gcc builds compiled with DWARF-2 symbols (e.g. 4.3.2-tdm-1). The real solution (to be implemented soon) is to parse DWARF-2 line numbers in rsym
   Amendment to r37851: use objcopy instead of strip because strip gets us more than we bargained for, and strips all debug information too

modified   tools/rsym.c
   Don't overrun a heap block when there are discarded relocations

svn path=/trunk/; revision=37861
2008-12-04 21:13:43 +00:00
Eric Kohl 599818849a Sync to wine-1.1.3:
- Dan Hipschman <dsh@linux.ucla.edu> Thu, 7 Aug 2008
widl: Honor typedef pointer attributes.

svn path=/trunk/; revision=37860
2008-12-04 20:20:08 +00:00
Eric Kohl f12d11b4f7 Sync to wine-1.1.1 (Patch 10 of 10):
- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
Add noinput directive to all lex files to avoid a compiler warning.

svn path=/trunk/; revision=37859
2008-12-04 19:52:55 +00:00
Eric Kohl 663337847e Sync to wine-1.1.1 (Patch 9 of 10):
- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
widl: Fix a couple of uninitialized variable compiler warnings.

svn path=/trunk/; revision=37858
2008-12-04 19:37:53 +00:00