Thomas Bluemel [Sun, 1 Jan 2006 13:31:26 +0000 (13:31 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=20509
Eric Kohl [Sun, 1 Jan 2006 12:00:13 +0000 (12:00 +0000)]
Forward EnumDependentServicesA/W to services.exe.
svn path=/trunk/; revision=20508
Gé van Geldorp [Sun, 1 Jan 2006 11:52:34 +0000 (11:52 +0000)]
Revert accidental commit 20505
svn path=/trunk/; revision=20507
Gé van Geldorp [Sun, 1 Jan 2006 11:50:54 +0000 (11:50 +0000)]
Exiting the loop while someone else still might have a lock kind of defeats
the purpose of acquiring the lock ourselves
svn path=/trunk/; revision=20506
Gé van Geldorp [Sun, 1 Jan 2006 11:48:11 +0000 (11:48 +0000)]
Fix memory tracking
svn path=/trunk/; revision=20505
Gé van Geldorp [Sun, 1 Jan 2006 11:44:55 +0000 (11:44 +0000)]
Memory is properly released, no need to untrack it
svn path=/trunk/; revision=20504
Gé van Geldorp [Sun, 1 Jan 2006 11:41:05 +0000 (11:41 +0000)]
Fix a memory leak
svn path=/trunk/; revision=20503
Gé van Geldorp [Sun, 1 Jan 2006 11:34:59 +0000 (11:34 +0000)]
Silence debug message
svn path=/trunk/; revision=20502
Martin Fuchs [Sun, 1 Jan 2006 10:40:23 +0000 (10:40 +0000)]
explorer: merge changes from lean explorer branch (shell namespace iteration, icon extraction)
svn path=/trunk/; revision=20501
Eric Kohl [Sun, 1 Jan 2006 10:31:35 +0000 (10:31 +0000)]
Forward ChangeServiceConfig2A, QueryServiceConfig2A/W and EnumServicesStatusExA to services.exe
svn path=/trunk/; revision=20500
Gé van Geldorp [Sun, 1 Jan 2006 10:24:27 +0000 (10:24 +0000)]
Revert part of r20493. Created bug 1229 to keep track of the issue.
svn path=/trunk/; revision=20499
Magnus Olsen [Sun, 1 Jan 2006 01:09:08 +0000 (01:09 +0000)]
ShowCursor, gott a internal count to show the mouse or not, and return that value. as msdn descripe.
svn path=/trunk/; revision=20498
Gregor Anich [Sat, 31 Dec 2005 23:04:53 +0000 (23:04 +0000)]
New ibrowser icon by mf :P 4 mins late but still ;)
svn path=/trunk/; revision=20497
Eric Kohl [Sat, 31 Dec 2005 22:42:41 +0000 (22:42 +0000)]
- Service list entries use a pointer to a group list entry instead of the goup name.
- New group list entries are created in the unknown-group-list for services of unknown groups.
svn path=/trunk/; revision=20496
James Tabor [Sat, 31 Dec 2005 21:37:52 +0000 (21:37 +0000)]
Close bug 1223.
svn path=/trunk/; revision=20495
Martin Fuchs [Sat, 31 Dec 2005 20:49:43 +0000 (20:49 +0000)]
Registry entries for shell folders
svn path=/trunk/; revision=20494
Gé van Geldorp [Sat, 31 Dec 2005 19:50:29 +0000 (19:50 +0000)]
On FAT16 partitions smaller than 128MB, the cluster size is 2048, which is
smaller than PAGE_SIZE. This caused creation of the paging file on such a
partition to fail, which in turn made SMSS fail, blocking the boot process.
Creation of paging file fixed, and failure to create it is no longer a blocker
for the boot process (just try to run without paging file).
svn path=/trunk/; revision=20493
Eric Kohl [Sat, 31 Dec 2005 19:02:48 +0000 (19:02 +0000)]
SVN maintenance
svn path=/trunk/; revision=20492
Eric Kohl [Sat, 31 Dec 2005 18:56:34 +0000 (18:56 +0000)]
Move group-list related code to a separate file and keep the group name in the group record because it never changes.
svn path=/trunk/; revision=20491
Ged Murphy [Sat, 31 Dec 2005 17:27:25 +0000 (17:27 +0000)]
- Use a separate icon for minimizing windows.
- Add new icon
svn path=/trunk/; revision=20489
Hervé Poussineau [Sat, 31 Dec 2005 16:01:02 +0000 (16:01 +0000)]
Implement VideoPortGetAssociatedDeviceExtension and VideoPortCheckForDeviceExistence
svn path=/trunk/; revision=20487
Thomas Bluemel [Sat, 31 Dec 2005 15:47:15 +0000 (15:47 +0000)]
set eol-style to native
svn path=/trunk/; revision=20485
Maarten Bosma [Sat, 31 Dec 2005 15:13:01 +0000 (15:13 +0000)]
Add a tree file without subcategories.
svn path=/trunk/; revision=20484
Eric Kohl [Sat, 31 Dec 2005 11:33:46 +0000 (11:33 +0000)]
Forward StartServiceA/W to services.exe
svn path=/trunk/; revision=20480
Hervé Poussineau [Sat, 31 Dec 2005 10:11:58 +0000 (10:11 +0000)]
Fix bugs in ChangeServiceConfig2W spotted by Casper and Royce
svn path=/trunk/; revision=20478
Andrew Munger [Sat, 31 Dec 2005 01:38:59 +0000 (01:38 +0000)]
Revert 20343, which puts the implementation of QueryServiceConfigW back into place. (20255)
svn path=/trunk/; revision=20477
Alex Ionescu [Sat, 31 Dec 2005 00:03:19 +0000 (00:03 +0000)]
- Cleanup assembly files and create a header for the macros added and new ones that will be added later for syscall.S & friends.
svn path=/trunk/; revision=20476
Magnus Olsen [Fri, 30 Dec 2005 23:56:27 +0000 (23:56 +0000)]
solv the issue with mouse poiter is hide, do not show the mousepointer when you are moving the mouse. tested in winquake
svn path=/trunk/; revision=20475
Alex Ionescu [Fri, 30 Dec 2005 23:53:13 +0000 (23:53 +0000)]
- Rewrite Executive Interlocked Functions to actually work as supposed and also immensly increase their speed, most notably on non-SMP machines:
* The functions now disable interrupts as they should. This is a core functionality of the ExInterlocked functions which we did not do.
* The functions now preserve EFLAGS as they should. This is another core functionality and point of ExInterlocked functions, which we did not do.
* Use KiAcquire/ReleaseSpinlock equivalents instead of going through HAL. Also make them macros which can be later used in other assembly files.
* Write optimized versions for non-SMP machines. Namely, the spinlock macros are coded to be no-ops on UP machines, since they are not needed.
* Write all functions in assembly, so we can cleanly optimize them and properly restore/save EFLAGS and use CLI.
- Use the right interlocked macro in guarded mutex implementation.
- Fix export of Exi386InterlockedExchangeUlong
- Use documented EFLAGS definition instead of hard-coded value in some interlocked functions.
svn path=/trunk/; revision=20474
Gé van Geldorp [Fri, 30 Dec 2005 23:50:05 +0000 (23:50 +0000)]
Kaj Kaloinen <kkaloine@gmail.com>
Finnish translation
svn path=/trunk/; revision=20473
Gé van Geldorp [Fri, 30 Dec 2005 23:44:03 +0000 (23:44 +0000)]
Allocate room for terminator. Fixes bug 1203, r20343 can be re-applied.
svn path=/trunk/; revision=20472
Gé van Geldorp [Fri, 30 Dec 2005 23:42:04 +0000 (23:42 +0000)]
ExpandEnvironmentStrings returns the number of TCHARs, not bytes
svn path=/trunk/; revision=20471
Magnus Olsen [Fri, 30 Dec 2005 22:02:59 +0000 (22:02 +0000)]
Implement ShowCursor, it is a issue with quake when you moving the mouse, the mousepointer will show, when you stand still with the mouse it will not show the mousepointer.
svn path=/trunk/; revision=20470
Thomas Bluemel [Fri, 30 Dec 2005 21:18:25 +0000 (21:18 +0000)]
use a .spec file and fix the export ordinals
svn path=/trunk/; revision=20469
Alex Ionescu [Fri, 30 Dec 2005 20:31:11 +0000 (20:31 +0000)]
Make sure compiler doesn't optimize our wait loop away. Patch by Thomas Weidenmueller
svn path=/trunk/; revision=20468
Magnus Olsen [Fri, 30 Dec 2005 20:28:35 +0000 (20:28 +0000)]
languages file update for Hu.rc by Talley.
svn path=/trunk/; revision=20467
Magnus Olsen [Fri, 30 Dec 2005 20:15:07 +0000 (20:15 +0000)]
Fix a mouse bug for hide the cursor. It is working now with my test code for ShowCursor and NtShowCursor. The code for it is not finish.
and it also working now hide the mouse with EngMovePointer(SurfObj,-1,-1,NULL); and that did not work before.
svn path=/trunk/; revision=20466
Gé van Geldorp [Fri, 30 Dec 2005 19:14:58 +0000 (19:14 +0000)]
temarez <temarez@yandex.ru>:
Ukrainian translation of notepad (from bug 1179)
svn path=/trunk/; revision=20465
Klemens Friedl [Fri, 30 Dec 2005 19:12:40 +0000 (19:12 +0000)]
DJ_Smith <dj_smith_reactos@online.de>
german language file updated
svn path=/trunk/; revision=20464
Gé van Geldorp [Fri, 30 Dec 2005 19:10:43 +0000 (19:10 +0000)]
Another coordinate transformation change. Fixes final problem with bug 1201.
svn path=/trunk/; revision=20463
Ged Murphy [Fri, 30 Dec 2005 18:48:27 +0000 (18:48 +0000)]
update all resource files. All need translating.
info for translating purposes:
IDS_INETTIMESUCSYNC "The time has been successfully synchronized with <server> on <date> at <time>"
IDS_INETTIMENEXTSYNC "Next synchronization: <date> at <time>"
svn path=/trunk/; revision=20461
Gé van Geldorp [Fri, 30 Dec 2005 18:35:49 +0000 (18:35 +0000)]
- Detect end of chain
- Correct copy/paste error
Fixes bug 1212
svn path=/trunk/; revision=20460
Ged Murphy [Fri, 30 Dec 2005 18:19:24 +0000 (18:19 +0000)]
Put skeleton in place for 'internet time' tab in the 'date and time' control panel applet
svn path=/trunk/; revision=20459
Gé van Geldorp [Fri, 30 Dec 2005 15:28:43 +0000 (15:28 +0000)]
Use the BSOD color that Cutler intended
svn path=/trunk/; revision=20458
Nathan Woods [Fri, 30 Dec 2005 13:33:31 +0000 (13:33 +0000)]
Modified rbuild to generate a map file of the boot loader
svn path=/trunk/; revision=20457
Hervé Poussineau [Fri, 30 Dec 2005 10:29:07 +0000 (10:29 +0000)]
Forward ChangeServiceConfig2W call to services.exe
svn path=/trunk/; revision=20456
Thomas Bluemel [Fri, 30 Dec 2005 01:41:02 +0000 (01:41 +0000)]
protect access to buffers with SEH in NtSetSecurityObject and NtQuerySecurityObject and ask for the proper access rights
svn path=/trunk/; revision=20455
Filip Navara [Fri, 30 Dec 2005 01:39:34 +0000 (01:39 +0000)]
Fix a cut & paste error.
svn path=/trunk/; revision=20454
Filip Navara [Fri, 30 Dec 2005 01:28:29 +0000 (01:28 +0000)]
Transform correctly the coordinates.
svn path=/trunk/; revision=20453
Filip Navara [Fri, 30 Dec 2005 01:19:41 +0000 (01:19 +0000)]
Transform correctly the coordinates.
svn path=/trunk/; revision=20452
Thomas Bluemel [Fri, 30 Dec 2005 00:18:48 +0000 (00:18 +0000)]
fixed returned status code in RtlAnsiStringToUnicodeString and properly free allocated memory in case converting the string failed
svn path=/trunk/; revision=20449
Brandon Turner [Thu, 29 Dec 2005 22:54:24 +0000 (22:54 +0000)]
Use only NtCreateKey and better suited access rights.
svn path=/trunk/; revision=20448
Hervé Poussineau [Thu, 29 Dec 2005 22:43:44 +0000 (22:43 +0000)]
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
Magnus Olsen [Thu, 29 Dec 2005 22:43:36 +0000 (22:43 +0000)]
sorry did commit debug on by mistake
svn path=/trunk/; revision=20446
Magnus Olsen [Thu, 29 Dec 2005 22:38:56 +0000 (22:38 +0000)]
new icon from mf
svn path=/trunk/; revision=20445
Brandon Turner [Thu, 29 Dec 2005 22:24:19 +0000 (22:24 +0000)]
Correctly open the registry when using MOVEFILE_DELAY_UNTIL_REBOOT
svn path=/trunk/; revision=20444
Hervé Poussineau [Thu, 29 Dec 2005 22:02:14 +0000 (22:02 +0000)]
Set DI_FLAGSEX_ALLOWEXCLUDEDDRVS flag when searching a driver for a PnP device
svn path=/trunk/; revision=20443
Magnus Olsen [Thu, 29 Dec 2005 21:46:40 +0000 (21:46 +0000)]
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
Thomas Bluemel [Thu, 29 Dec 2005 21:45:17 +0000 (21:45 +0000)]
add some missing constants
svn path=/trunk/; revision=20441
Thomas Bluemel [Thu, 29 Dec 2005 21:43:21 +0000 (21:43 +0000)]
add the driver details dialog (not fully implemented)
svn path=/trunk/; revision=20440
Magnus Olsen [Thu, 29 Dec 2005 21:01:51 +0000 (21:01 +0000)]
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
Thomas Bluemel [Thu, 29 Dec 2005 20:51:14 +0000 (20:51 +0000)]
fixed uninitialized variable error
svn path=/trunk/; revision=20438
Magnus Olsen [Thu, 29 Dec 2005 20:31:22 +0000 (20:31 +0000)]
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
Alex Ionescu [Thu, 29 Dec 2005 19:54:42 +0000 (19:54 +0000)]
- 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
Alex Ionescu [Thu, 29 Dec 2005 19:12:09 +0000 (19:12 +0000)]
- 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
Alex Ionescu [Thu, 29 Dec 2005 19:02:06 +0000 (19:02 +0000)]
- Fix formatting and a bug in NtSetSystemTime.
svn path=/trunk/; revision=20434
Alex Ionescu [Thu, 29 Dec 2005 18:56:09 +0000 (18:56 +0000)]
Forgot to commit this file
svn path=/trunk/; revision=20433
Alex Ionescu [Thu, 29 Dec 2005 18:47:14 +0000 (18:47 +0000)]
- Fix some small formatting issues.
svn path=/trunk/; revision=20432
Alex Ionescu [Thu, 29 Dec 2005 18:45:16 +0000 (18:45 +0000)]
Fix build
svn path=/trunk/; revision=20431
Alex Ionescu [Thu, 29 Dec 2005 18:45:00 +0000 (18:45 +0000)]
Move pushlock definition. It is gone from MS headers now.
svn path=/trunk/; revision=20430
Alex Ionescu [Thu, 29 Dec 2005 18:28:05 +0000 (18:28 +0000)]
- Formatting fixes
- Add SEH to NtRaiseHardError.
svn path=/trunk/; revision=20429
Alex Ionescu [Thu, 29 Dec 2005 18:03:24 +0000 (18:03 +0000)]
- Fix some formatting.
svn path=/trunk/; revision=20428
Alex Ionescu [Thu, 29 Dec 2005 17:57:11 +0000 (17:57 +0000)]
- Fix some small formatting issues.
svn path=/trunk/; revision=20427
Alex Ionescu [Thu, 29 Dec 2005 17:55:31 +0000 (17:55 +0000)]
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
Magnus Olsen [Thu, 29 Dec 2005 15:14:50 +0000 (15:14 +0000)]
revert my last change to RtlClearAllBits for win32k do handle all case with NULL to it now.
svn path=/trunk/; revision=20425
Magnus Olsen [Thu, 29 Dec 2005 14:15:36 +0000 (14:15 +0000)]
PALETTE_SetMapping do not write the palette color to NULL pointer.
svn path=/trunk/; revision=20424
Magnus Olsen [Thu, 29 Dec 2005 14:00:12 +0000 (14:00 +0000)]
NtGdiCreatePalette did not check for NULL pointer when it alloc memory.
svn path=/trunk/; revision=20423
Magnus Olsen [Thu, 29 Dec 2005 13:53:35 +0000 (13:53 +0000)]
InitTimerImpl did not check for NULL pointer when it alloc memory.
svn path=/trunk/; revision=20422
Magnus Olsen [Thu, 29 Dec 2005 13:43:25 +0000 (13:43 +0000)]
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
Magnus Olsen [Thu, 29 Dec 2005 13:13:14 +0000 (13:13 +0000)]
Fix memory leak in NtUserMonitorFromRect when it return in one case.
svn path=/trunk/; revision=20420
Magnus Olsen [Thu, 29 Dec 2005 12:40:31 +0000 (12:40 +0000)]
IntRegisterClass did not check for NULL pointer when it alloc memory.
svn path=/trunk/; revision=20419
Magnus Olsen [Thu, 29 Dec 2005 12:13:02 +0000 (12:13 +0000)]
DRIVER_RegisterDriver did not check for NULL pointer when it alloc memory.
svn path=/trunk/; revision=20418
Magnus Olsen [Thu, 29 Dec 2005 11:20:30 +0000 (11:20 +0000)]
revert my last code did miss POLYGONFILL_DestroyEdgeList was at end
svn path=/trunk/; revision=20417
Magnus Olsen [Thu, 29 Dec 2005 11:16:28 +0000 (11:16 +0000)]
Fix memory leak in POLYGONFILL_MakeEdgeList when it fail.
svn path=/trunk/; revision=20416
Magnus Olsen [Thu, 29 Dec 2005 10:53:01 +0000 (10:53 +0000)]
EngSetPointerShape did not check for NULL pointer when it alloc memmory.
svn path=/trunk/; revision=20415
Alex Ionescu [Thu, 29 Dec 2005 08:43:45 +0000 (08:43 +0000)]
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
Andrew Munger [Thu, 29 Dec 2005 05:18:21 +0000 (05:18 +0000)]
Use Bitstream Vera Sans when asked for Tahoma. Addresses bug 1188.
svn path=/trunk/; revision=20413
Ged Murphy [Thu, 29 Dec 2005 01:59:55 +0000 (01:59 +0000)]
change service pack from 6 to 4
addresses bug 1169
svn path=/trunk/; revision=20412
Magnus Olsen [Thu, 29 Dec 2005 01:57:50 +0000 (01:57 +0000)]
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
Martin Fuchs [Thu, 29 Dec 2005 00:04:34 +0000 (00:04 +0000)]
update of french Explore resource script from G. Maton Bugzilla entry 1184)
svn path=/trunk/; revision=20410
Martin Fuchs [Wed, 28 Dec 2005 23:51:32 +0000 (23:51 +0000)]
clean up ibrowser resource scripts
svn path=/trunk/; revision=20409
Martin Fuchs [Wed, 28 Dec 2005 22:52:35 +0000 (22:52 +0000)]
commit patch of bugzilla entry 1073 to to compile Explorer in a Wine environment
svn path=/trunk/; revision=20408
Martin Fuchs [Wed, 28 Dec 2005 22:46:09 +0000 (22:46 +0000)]
reinitialize image list in ShellBrowser::invalidate_cache()
svn path=/trunk/; revision=20407
Thomas Bluemel [Wed, 28 Dec 2005 21:46:31 +0000 (21:46 +0000)]
Patch by David Hinz <fRy2oo5@gmail.com>:
- Update German translation of devmgr.dll
svn path=/trunk/; revision=20405
Hartmut Birr [Wed, 28 Dec 2005 20:34:10 +0000 (20:34 +0000)]
Fixed the structure allignment of some cursor/icon related structures.
svn path=/trunk/; revision=20404
Hartmut Birr [Wed, 28 Dec 2005 20:31:44 +0000 (20:31 +0000)]
Commit r20366:20368 again.
svn path=/trunk/; revision=20403
Thomas Bluemel [Wed, 28 Dec 2005 20:06:35 +0000 (20:06 +0000)]
ReAlloc should be able to move memory blocks if necessary. This fixes
some problems I ran into: syslink control, and dynamically adding
property sheets with PropSheet_AddPage/PSM_ADDPAGE. This patch was submitted to wine-patches.
svn path=/trunk/; revision=20402
Magnus Olsen [Wed, 28 Dec 2005 19:54:07 +0000 (19:54 +0000)]
update NtUserGetMouseMovePointsEx prototype to msdn
svn path=/trunk/; revision=20401
Ged Murphy [Wed, 28 Dec 2005 19:32:06 +0000 (19:32 +0000)]
Clean up code and fix memory leaks
svn path=/trunk/; revision=20400
Hervé Poussineau [Wed, 28 Dec 2005 17:10:36 +0000 (17:10 +0000)]
Validate parameters in SetupDiSetDeviceInstallParamsW
Be ready to honor DI_FLAGSEX_ALLOWEXCLUDEDDRVS flag
Fix an infinite loop in SetupDiSetSelectedDriverW
svn path=/trunk/; revision=20398