Commit graph

19059 commits

Author SHA1 Message Date
Hervé Poussineau 3c9ea526e3 Forward ChangeServiceConfig2W call to services.exe
svn path=/trunk/; revision=20456
2005-12-30 10:29:07 +00:00
Thomas Bluemel 7caea251af protect access to buffers with SEH in NtSetSecurityObject and NtQuerySecurityObject and ask for the proper access rights
svn path=/trunk/; revision=20455
2005-12-30 01:41:02 +00:00
Filip Navara 2482000b65 Fix a cut & paste error.
svn path=/trunk/; revision=20454
2005-12-30 01:39:34 +00:00
Filip Navara 887fc26b44 Transform correctly the coordinates.
svn path=/trunk/; revision=20453
2005-12-30 01:28:29 +00:00
Filip Navara 5b6dea58e1 Transform correctly the coordinates.
svn path=/trunk/; revision=20452
2005-12-30 01:19:41 +00:00
Thomas Bluemel 484ec5bcf7 fixed returned status code in RtlAnsiStringToUnicodeString and properly free allocated memory in case converting the string failed
svn path=/trunk/; revision=20449
2005-12-30 00:18:48 +00:00
Brandon Turner 7d203ec76d Use only NtCreateKey and better suited access rights.
svn path=/trunk/; revision=20448
2005-12-29 22:54:24 +00:00
Hervé Poussineau 8ac1adfd7d Relicence newdev.dll to LGPL. Christoph von Wittich and I both agree on this licence change.
Do according changes in source to follow Wine way of code

svn path=/trunk/; revision=20447
2005-12-29 22:43:44 +00:00
Magnus Olsen a73d1b05b1 sorry did commit debug on by mistake
svn path=/trunk/; revision=20446
2005-12-29 22:43:36 +00:00
Magnus Olsen 790e422ec6 new icon from mf
svn path=/trunk/; revision=20445
2005-12-29 22:38:56 +00:00
Brandon Turner 864361fafc Correctly open the registry when using MOVEFILE_DELAY_UNTIL_REBOOT
svn path=/trunk/; revision=20444
2005-12-29 22:24:19 +00:00
Hervé Poussineau 980dfd8109 Set DI_FLAGSEX_ALLOWEXCLUDEDDRVS flag when searching a driver for a PnP device
svn path=/trunk/; revision=20443
2005-12-29 22:02:14 +00:00
Magnus Olsen c9108dbb1b Fix Bug 1217 with patch from bugzila by ravelo "If you type > or < in cmd and hit ENTER, cmd.exe crashes"
svn path=/trunk/; revision=20442
2005-12-29 21:46:40 +00:00
Thomas Bluemel 5753d6ea97 add some missing constants
svn path=/trunk/; revision=20441
2005-12-29 21:45:17 +00:00
Thomas Bluemel 847c1627b2 add the driver details dialog (not fully implemented)
svn path=/trunk/; revision=20440
2005-12-29 21:43:21 +00:00
Magnus Olsen b89e3ce2ba do not call on NtQuerySecurityObject in RegGetKeySecurity for it will always fail on reactos.
adding #ifndef __REACTOS__ around that code and should be remove when we have that call implement in reactos.

svn path=/trunk/; revision=20439
2005-12-29 21:01:51 +00:00
Thomas Bluemel 5dfcacfa42 fixed uninitialized variable error
svn path=/trunk/; revision=20438
2005-12-29 20:51:14 +00:00
Magnus Olsen 3930c5e306 do not call on NtQuerySecurityObject in RegQueryInfoKey for it will always fail on reactos.
adding #ifndef __REACTOS__ around that code and should be remove when we have that call implement in reactos.

svn path=/trunk/; revision=20437
2005-12-29 20:31:22 +00:00
Alex Ionescu 3785fc8f82 - Fix InterlockedBitTestAndReset and InterlockedBitTestAndSet
- Implement YieldProcessor
- Fix formatting in spinlock.c
- KiAcquireSpinlock and KiReleaseSpinLock should be no-op functions on uniprocessor machines.
- KiReleaseSpinLock does not need interlocked access to release the lock.
- Use portable code for KiAcquireSpinLock. Also use interlocked bit operations since they are faster.

svn path=/trunk/; revision=20436
2005-12-29 19:54:42 +00:00
Alex Ionescu ea4fcb6188 - Implemented InterlockedBitTestAndReset, InterlockedBitTestAndSet, InterlockedExchangeAddSizeT.
- Rundown re-implementation:

* Added inlined functions for internal system use for quickest path.
* Correctly named all functions Exf instead of Ex.
* Removed PAGED_CODE(); macro where it shouldn't be used.
* Addded multiple ASSERTS for sanity checks.
* Used macros for win64/32 portability.
* Fixed the following bugs/features:
    * ExfAcquireRundownProtection:
        ** Added specific code instead of calling the generic function. Rundown locks are
           performance critical and a dedicated path is prefered.
    * ExfAcquireRundownProtectionEx:
        ** Added a quick immediate check to see if the rundown is active.
    * ExfReleaseRundownProtection:
        ** Added specific code instead of calling the generic function. Rundown locks are
           performance critical and a dedicated path is prefered.
    * ExfReleaseRundownProtectionEx: 
        ** Simplified the loop code.
        ** Fixed a bug in signaling of the event during waitblock count removal
    * ExfWaitForRundownProtectionRelease:
        ** Add quick case when we don't actually need a full wait.
        ** Simplified loop code.
* Added stubs for cache-aware implementation.
* Documented the functions.

svn path=/trunk/; revision=20435
2005-12-29 19:12:09 +00:00
Alex Ionescu 8b5a187ddc - Fix formatting and a bug in NtSetSystemTime.
svn path=/trunk/; revision=20434
2005-12-29 19:02:06 +00:00
Alex Ionescu a0f65e8fb1 Forgot to commit this file
svn path=/trunk/; revision=20433
2005-12-29 18:56:09 +00:00
Alex Ionescu 0b7ed59da0 - Fix some small formatting issues.
svn path=/trunk/; revision=20432
2005-12-29 18:47:14 +00:00
Alex Ionescu c3366b8062 Fix build
svn path=/trunk/; revision=20431
2005-12-29 18:45:16 +00:00
Alex Ionescu d71e6cd026 Move pushlock definition. It is gone from MS headers now.
svn path=/trunk/; revision=20430
2005-12-29 18:45:00 +00:00
Alex Ionescu c505e93418 - Formatting fixes
- Add SEH to NtRaiseHardError.

svn path=/trunk/; revision=20429
2005-12-29 18:28:05 +00:00
Alex Ionescu ba6ca2fce0 - Fix some formatting.
svn path=/trunk/; revision=20428
2005-12-29 18:03:24 +00:00
Alex Ionescu e642f64e26 - Fix some small formatting issues.
svn path=/trunk/; revision=20427
2005-12-29 17:57:11 +00:00
Alex Ionescu 39f36b9840 Move some profile stuff to NDK and fix some bugs in the executive implementation, as well as support segmented profile objects
svn path=/trunk/; revision=20426
2005-12-29 17:55:31 +00:00
Magnus Olsen 74bb1137dd revert my last change to RtlClearAllBits for win32k do handle all case with NULL to it now.
svn path=/trunk/; revision=20425
2005-12-29 15:14:50 +00:00
Magnus Olsen abe5168d1c PALETTE_SetMapping do not write the palette color to NULL pointer.
svn path=/trunk/; revision=20424
2005-12-29 14:15:36 +00:00
Magnus Olsen 3c27e2e289 NtGdiCreatePalette did not check for NULL pointer when it alloc memory.
svn path=/trunk/; revision=20423
2005-12-29 14:00:12 +00:00
Magnus Olsen 25dd71d30f InitTimerImpl did not check for NULL pointer when it alloc memory.
svn path=/trunk/; revision=20422
2005-12-29 13:53:35 +00:00
Magnus Olsen e35bf0429c some case from win32k can call to RtlClearAllBits with NULL pointer. and check for null pointer after RtlClearAllBits. This take care of those case for moment.
svn path=/trunk/; revision=20421
2005-12-29 13:43:25 +00:00
Magnus Olsen 181c0f4e30 Fix memory leak in NtUserMonitorFromRect when it return in one case.
svn path=/trunk/; revision=20420
2005-12-29 13:13:14 +00:00
Magnus Olsen f52b36d570 IntRegisterClass did not check for NULL pointer when it alloc memory.
svn path=/trunk/; revision=20419
2005-12-29 12:40:31 +00:00
Magnus Olsen 677cdc30d5 DRIVER_RegisterDriver did not check for NULL pointer when it alloc memory.
svn path=/trunk/; revision=20418
2005-12-29 12:13:02 +00:00
Magnus Olsen 4da89d0391 revert my last code did miss POLYGONFILL_DestroyEdgeList was at end
svn path=/trunk/; revision=20417
2005-12-29 11:20:30 +00:00
Magnus Olsen 5080674b38 Fix memory leak in POLYGONFILL_MakeEdgeList when it fail.
svn path=/trunk/; revision=20416
2005-12-29 11:16:28 +00:00
Magnus Olsen 262b201ee2 EngSetPointerShape did not check for NULL pointer when it alloc memmory.
svn path=/trunk/; revision=20415
2005-12-29 10:53:01 +00:00
Alex Ionescu cf56f16a98 Fix kernel-mode executive atom implementation (mostly add SEH and tidy up the code). Then fix kernel32 implementation which was sending incorrect sizes, and also re-factored the entire code, since most functions were quatriplicated. now there are 3 main functions instead of 12. Also fixed a bug in RtlCreateAtomTable.
svn path=/trunk/; revision=20414
2005-12-29 08:43:45 +00:00
Andrew Munger 00a70f69db Use Bitstream Vera Sans when asked for Tahoma. Addresses bug 1188.
svn path=/trunk/; revision=20413
2005-12-29 05:18:21 +00:00
Ged Murphy 52431ae3ad change service pack from 6 to 4
addresses bug 1169

svn path=/trunk/; revision=20412
2005-12-29 01:59:55 +00:00
Magnus Olsen 8f9ce96ecc DIB_CreateDIBSection fix do not zero out memmory if it is a null pointer it got from ExAllocatePoolWithTag
DIB_MapPaletteColors do not try write to NULL pointer if ExAllocatePoolWithTag do return a NULLL pointer. 


svn path=/trunk/; revision=20411
2005-12-29 01:57:50 +00:00
Martin Fuchs 0f301e551b update of french Explore resource script from G. Maton Bugzilla entry 1184)
svn path=/trunk/; revision=20410
2005-12-29 00:04:34 +00:00
Martin Fuchs e976cc4cf6 clean up ibrowser resource scripts
svn path=/trunk/; revision=20409
2005-12-28 23:51:32 +00:00
Martin Fuchs 09a72082c7 commit patch of bugzilla entry 1073 to to compile Explorer in a Wine environment
svn path=/trunk/; revision=20408
2005-12-28 22:52:35 +00:00
Martin Fuchs 53980699e3 reinitialize image list in ShellBrowser::invalidate_cache()
svn path=/trunk/; revision=20407
2005-12-28 22:46:09 +00:00
Thomas Bluemel 0446c2ff01 Patch by David Hinz <fRy2oo5@gmail.com>:
- Update German translation of devmgr.dll

svn path=/trunk/; revision=20405
2005-12-28 21:46:31 +00:00
Hartmut Birr dad91200d2 Fixed the structure allignment of some cursor/icon related structures.
svn path=/trunk/; revision=20404
2005-12-28 20:34:10 +00:00