Commit graph

31393 commits

Author SHA1 Message Date
Daniel Reimer 8af6be8760 Synched Winfile and write with Wine HEAD.
svn path=/trunk/; revision=34400
2008-07-10 06:38:14 +00:00
James Tabor f1cf84c7f1 CS_NOKEYCVT is used to set Classname to Version when calling to register class.
svn path=/trunk/; revision=34399
2008-07-10 01:28:59 +00:00
James Tabor 6299128828 - Removed NtUserGetShellWindow, update related.
svn path=/trunk/; revision=34397
2008-07-09 22:46:17 +00:00
KJK::Hyperion 0461306bc8 modified lib/sdk/crt/crt.rbuild
modified   lib/sdk/crt/libcntpr.rbuild
   Add qsort and div to crt and libcntpr

modified   lib/sdk/crt/include/internal/tls.h
modified   lib/sdk/crt/stdlib/qsort.c
   Fixed ineptly-ported DJGPP qsort to not use TLS

svn path=/trunk/; revision=34396
2008-07-09 18:44:46 +00:00
Ged Murphy 5a9807ee6c don't try to free a NULL object.
patch by hto (hto at dev dot null)
See issue #3486 for more details.

svn path=/trunk/; revision=34393
2008-07-09 14:20:08 +00:00
Pierre Schweitzer a4302a3894 Updated usp10_ros.diff to match with r34390 changes
svn path=/trunk/; revision=34392
2008-07-09 11:40:00 +00:00
Aleksey Bragin c97e25991a - Update winetests for synced DLLs.
svn path=/trunk/; revision=34391
2008-07-09 11:34:20 +00:00
Aleksey Bragin 1e974d826c - One should not mix debug output macros and direct usage of DbgPrint.
svn path=/trunk/; revision=34390
2008-07-09 11:26:31 +00:00
Aleksey Bragin 2f5cd560df Autosyncing with Wine HEAD
svn path=/trunk/; revision=34389
2008-07-09 11:20:39 +00:00
Aleksey Bragin cc891b65c9 - Add MapVirtualKey translation types.
svn path=/trunk/; revision=34388
2008-07-09 10:27:56 +00:00
Pierre Schweitzer 52bd0bc841 - Fixed build
- Added a diff with GreatLord changes

svn path=/trunk/; revision=34387
2008-07-09 09:28:50 +00:00
Pierre Schweitzer 85ba30dcf2 Synced usp10_winetest.exe with Wine HEAD
svn path=/trunk/; revision=34386
2008-07-09 09:23:34 +00:00
Pierre Schweitzer ba32da0049 Synced shfolder.dll, stdole2.tlb, tapi32.dll, usp10.dll, winhttp.dll, wldap32.dll, wtsapi32.dll with Wine HEAD
svn path=/trunk/; revision=34385
2008-07-09 09:19:04 +00:00
Pierre Schweitzer 6e55aa8426 Fixed build
svn path=/trunk/; revision=34384
2008-07-09 09:11:53 +00:00
Daniel Reimer 99bd66e721 Bug 3466: Korean translation of Roscalc by Sengyu Kim
Bug 3468: Translate calc to norwegain by Lars Martin
Bug 3470: Translate file charmap by Lars Martin
Bug 3471: Translate file Remote desktop by Lars Martin
Polish Shell32 Translation Update by Olaf Siejka

svn path=/trunk/; revision=34383
2008-07-09 08:32:45 +00:00
Aleksey Bragin 876316be73 - Add CLSID_InProcFreeMarshaler
svn path=/trunk/; revision=34382
2008-07-09 08:02:08 +00:00
James Tabor d6ea9391da Need shared pointer to user when comparing thread info.
svn path=/trunk/; revision=34381
2008-07-09 07:23:02 +00:00
James Tabor 5b7926d225 Cleanup headers for Prop.
svn path=/trunk/; revision=34380
2008-07-09 04:44:13 +00:00
James Tabor 2a0296d191 - Removed NtUserGetWindowThreadProcessId, updated all related. Wanting to remove this since I first joined.
- Tested with all my test apps.

svn path=/trunk/; revision=34379
2008-07-09 04:30:10 +00:00
James Tabor dd4397b095 - Removed NtUserGetProp, updated all related.
- Tested with FF, OOo, Seamonkey, putty, etc, and standard loaded apps. We use GetProp more than anyone thinks.

svn path=/trunk/; revision=34378
2008-07-09 03:29:43 +00:00
Aleksey Bragin be356d11cd Yuriy Sidorov <jura@cp-lab.com>
- Always call ZwRaiseException in user mode and RtlDispatchException in kernel mode.
- If RtlDispatchException failed call ZwRaiseException in kernel mode. Otherwise unhandled RtlRaiseException() call in kernel mode simply ignored (do nothing)!
- Call RtlRaiseStatus in RtlRaiseException, if something went wrong.
See issue #3434 for more details.

svn path=/trunk/; revision=34377
2008-07-08 21:17:47 +00:00
Pierre Schweitzer 2c16b9c687 Apply r33078 fix to r34369 to "prevent mshtml registration (doesn't work yet)"
See issue #3189 for more details.

svn path=/trunk/; revision=34376
2008-07-08 21:12:38 +00:00
Aleksey Bragin 5d786c8989 Autosyncing with Wine HEAD
svn path=/trunk/; revision=34375
2008-07-08 20:52:29 +00:00
Pierre Schweitzer 1ac1523c04 Synced wordpad.exe with Wine HEAD
svn path=/trunk/; revision=34374
2008-07-08 20:07:27 +00:00
Pierre Schweitzer a1e82ff2da Synced riched32_winetest.exe, shlwapi_winetest.exe, urlmon_winetest.exe with Wine HEAD
svn path=/trunk/; revision=34373
2008-07-08 19:30:15 +00:00
Pierre Schweitzer e492be818a Synced riched32.dll, shlwapi.dll, urlmon.dll with Wine HEAD
svn path=/trunk/; revision=34372
2008-07-08 19:27:29 +00:00
James Tabor 9b97275fcd Fix build, I knew that commit was lite.
svn path=/trunk/; revision=34371
2008-07-08 19:06:37 +00:00
James Tabor ef1f9bd06c Win32k/User32:
- Removed NtUserGetSystemMetric, updated all related.
- Add GetConnected, this is needed, sometimes global pointers are initilized with zeros. This is normal.
- Fix prototype for NtUserDragDetect, and add the Esc key hit to DragDetect.

svn path=/trunk/; revision=34370
2008-07-08 18:58:07 +00:00
Aleksey Bragin 0a953de77e Autosyncing with Wine HEAD
svn path=/trunk/; revision=34369
2008-07-08 16:39:29 +00:00
Pierre Schweitzer 1e229a53dc Synced riched20_winetest.exe with Wine HEAD
svn path=/trunk/; revision=34368
2008-07-08 10:09:42 +00:00
Pierre Schweitzer 0fe1322cbc Synced riched20.dll with Wine HEAD
svn path=/trunk/; revision=34367
2008-07-08 10:08:54 +00:00
ReactOS Portable Systems Group b513c98fb2 - Rewrite the low-level trap/exception/system call code from the ground up:
- Do not corrupt the stack anymore
  - Use a consistent trap frame layout (enable OldIrql and PreviousMode, and set the 0xBADB0D00 debug mark)
  - Use slower but more correct trap prolog/epilog code for now.
  - Generalize all prolog/epilog code into macros just like on x86. As a result, traps are now 6 lines of code.
- Rewrite the system call interface from the ground up:
  - System calls didn't actually work: a debug print made the stack layout magical enough so that they didn't normally crush, but only slowly ate the stack.
  - Copying arguments from caller to system call was, as the comment on the original code so aptly put it, "total shit".
  - Due to ABI concerns, and to provide an actual template on how you're -supposed- to implement something like system calls on RISC processors, we now use
    a model similar to BSD, but about ten times better (with that much less code too). We'll document it later on the RosPSG Wiki.
  - This code probably contains some of the most vile-yet-elegant macro magic ever written for such low-level code as system call dispatching. 
- The result of all this is that we're at the same place as before (RamdiskAddDevice needs to be implemented by the Ramdisk guys) but with a sane low-level
  backend that isn't slowly eating away the stack, corrupting data, and basically working through random chance.
- Move timebase code from stubs.c to its own file, time.c.
- Silence multiple debug prints and fix a corrupted debug print in KiSystemStartup.


svn path=/trunk/; revision=34366
2008-07-08 09:11:44 +00:00
Aleksey Bragin 8249e5ced9 - Add IActiveScriptSiteDebug32 IID.
svn path=/trunk/; revision=34365
2008-07-08 07:45:31 +00:00
James Tabor 0f60c8cc54 Update the rest of the prototypes and stubs.
svn path=/trunk/; revision=34364
2008-07-08 07:38:28 +00:00
James Tabor f7a270aa2a Update more prototypes and stubs.
svn path=/trunk/; revision=34363
2008-07-08 05:43:14 +00:00
James Tabor e2dbf44d99 Update prototypes and stubs.
svn path=/trunk/; revision=34362
2008-07-08 05:11:40 +00:00
Art Yerkes 4cca77780c Move completion out of the spinlock. Spotted by aicom
svn path=/trunk/; revision=34361
2008-07-08 03:01:56 +00:00
Jeffrey Morlan f45ebc6964 IntGdiCreateBitmap: Tighten up parameter checks, preventing overflows; don't multiply by Planes twice in calculating WidthBytes.
IntCreateCompatibleBitmap: Remove 65535px maximum (Windows has no such limit); return the stock 1x1 bitmap instead of creating a new one.
BITMAPOBJ_GetRealBitsPixel: Change parameter type to UINT; remove 2bpp return (2bpp bitmaps are not actually supported)

svn path=/trunk/; revision=34358
2008-07-07 16:03:14 +00:00
Aleksey Bragin 9d160d390c - Fix build correctly this time.
svn path=/trunk/; revision=34357
2008-07-07 15:59:02 +00:00
Colin Finck 32849148f9 Attempt to fix build
svn path=/trunk/; revision=34355
2008-07-07 13:57:14 +00:00
Aleksey Bragin 22d098ac49 Autosyncing with Wine HEAD
svn path=/trunk/; revision=34354
2008-07-07 12:32:35 +00:00
Aleksey Bragin 0cb3e856ef - Remove entrypoint=0 from compstui
- No need to register cryptui, since its registering routines are stubs. Fixes ERROR_MR_MID_NOT_FOUND in 2nd stage.
See issue #2719 for more details.

svn path=/trunk/; revision=34353
2008-07-07 12:26:44 +00:00
Jeffrey Morlan f2d4e4394e Extract days-since-epoch calculation code from RtlTimeToTimeFields into own function, optimize a bit, and use it in RtlTimeFieldsToTime instead of doing a 400 iteration loop.
svn path=/trunk/; revision=34352
2008-07-07 10:23:41 +00:00
Aleksey Bragin 622a737e7f - Initialize TLS expansion bitmap properly (fixes accessing uninitialized memory when all regular TEB slots for TLS data are occupied).
svn path=/trunk/; revision=34351
2008-07-07 09:24:10 +00:00
James Tabor fe82a25252 Update SetLayeredWindowAttributes.
svn path=/trunk/; revision=34350
2008-07-07 05:54:36 +00:00
Colin Finck e32689dbb6 Fix buggy MB_LEN_MAX definition according to MSVC headers
svn path=/trunk/; revision=34348
2008-07-06 22:56:19 +00:00
Colin Finck c7f03eaf32 Revert r34346, it didn't work the way I thought because of different CRT's on every host. Using gcc/g++ as the frontend will link to it automatically.
Sorry for the wasted commit.

svn path=/trunk/; revision=34347
2008-07-06 22:32:07 +00:00
Colin Finck 8457c6f705 Also link host binaries with ld and not gcc/g++.
Same change was already done for target binaries in r34187.

svn path=/trunk/; revision=34346
2008-07-06 22:07:22 +00:00
Eric Kohl 7d872fb8bb Implement a simple dialog for adding a user to user groups.
svn path=/trunk/; revision=34345
2008-07-06 21:20:28 +00:00
Johannes Anderwald 2f76e8ade2 - fix potential buffer overflows spotted by Christoph
svn path=/trunk/; revision=34344
2008-07-06 20:52:11 +00:00