Hervé Poussineau [Sun, 16 Oct 2005 14:10:29 +0000 (14:10 +0000)]
Sorry, most devices were reinstalled at each boot, as the calculated crc32 for the parent was changing.
Prevent this by using only the parent InstancePath instead of the whole DEVICE_NODE structure
svn path=/trunk/; revision=18497
Hartmut Birr [Sun, 16 Oct 2005 11:17:26 +0000 (11:17 +0000)]
Implemented SMART commands for ide devices.
svn path=/trunk/; revision=18496
Hervé Poussineau [Sun, 16 Oct 2005 11:11:35 +0000 (11:11 +0000)]
Remove registry entries for class installers we don't have
svn path=/trunk/; revision=18495
Hartmut Birr [Sun, 16 Oct 2005 11:08:01 +0000 (11:08 +0000)]
- Do only read the pci config header. Some devices/drivers don't like it
if the complete pci config space is accessed (like my Tekram DC-390F SCSI controller).
- Replaced some numeric values with nice named constants.
svn path=/trunk/; revision=18494
Hervé Poussineau [Sun, 16 Oct 2005 10:46:22 +0000 (10:46 +0000)]
Implement SetupDiDestroyDriverInfoList
svn path=/trunk/; revision=18493
Eric Kohl [Sun, 16 Oct 2005 09:58:19 +0000 (09:58 +0000)]
- Add samsrv.dll stub.
- Install cfgmgr32.dll, lsasrv.dll and samsrv.dll.
svn path=/trunk/; revision=18492
Gunnar Dalsnes [Sun, 16 Oct 2005 01:29:08 +0000 (01:29 +0000)]
fix buffer overflow
svn path=/trunk/; revision=18491
Gunnar Dalsnes [Sun, 16 Oct 2005 01:27:32 +0000 (01:27 +0000)]
fix two buffer overflows
svn path=/trunk/; revision=18490
Gunnar Dalsnes [Sun, 16 Oct 2005 01:26:52 +0000 (01:26 +0000)]
fix buffer overflow
add error checking
svn path=/trunk/; revision=18489
Gunnar Dalsnes [Sun, 16 Oct 2005 01:22:18 +0000 (01:22 +0000)]
RtlInitUnicodeString is only legal with nullterminated strings and also the string in initialized manually below...
svn path=/trunk/; revision=18488
Hartmut Birr [Sat, 15 Oct 2005 21:41:48 +0000 (21:41 +0000)]
Allocated buffers from non paged pool for all user buffers.
svn path=/trunk/; revision=18487
Christoph von Wittich [Sat, 15 Oct 2005 21:17:52 +0000 (21:17 +0000)]
* added a lot of stack-size information to *.def files
* added one more stub to secur32
svn path=/trunk/; revision=18486
Eric Kohl [Sat, 15 Oct 2005 19:34:53 +0000 (19:34 +0000)]
- CreateServiceW: Calculate the Dependency length.
- Implement NotifyBootConfigStatus.
svn path=/trunk/; revision=18485
Hartmut Birr [Sat, 15 Oct 2005 16:39:22 +0000 (16:39 +0000)]
Fixed the definition of PDEV_INSTALL_W.
svn path=/trunk/; revision=18484
Martin Fuchs [Sat, 15 Oct 2005 16:37:34 +0000 (16:37 +0000)]
Winefile:
- fix item background color for non-white windows background
- fix drive size output: wsprintf() -> _stprintf()
- declare COLOR_SELECTION_TXT
svn path=/trunk/; revision=18483
Hartmut Birr [Sat, 15 Oct 2005 13:22:13 +0000 (13:22 +0000)]
Don't use alloca in a macro, which may be used in a loop. This does fix bug #805.
svn path=/trunk/; revision=18481
Magnus Olsen [Sat, 15 Oct 2005 12:40:30 +0000 (12:40 +0000)]
Japanese translation by tsk email tsk_n@mail.goo.ne.jp
svn path=/trunk/; revision=18480
Magnus Olsen [Sat, 15 Oct 2005 12:26:40 +0000 (12:26 +0000)]
Japanese translation by tsk email tsk_n@mail.goo.ne.jp
svn path=/trunk/; revision=18479
Magnus Olsen [Sat, 15 Oct 2005 12:21:12 +0000 (12:21 +0000)]
Japanese translation by tsk email tsk_n@mail.goo.ne.jp
svn path=/trunk/; revision=18478
Magnus Olsen [Sat, 15 Oct 2005 11:52:41 +0000 (11:52 +0000)]
Spanish translation By HUMA2000
svn path=/trunk/; revision=18477
Magnus Olsen [Sat, 15 Oct 2005 11:48:07 +0000 (11:48 +0000)]
Japanese translation by tsk email tsk_n@mail.goo.ne.jp
svn path=/trunk/; revision=18476
Magnus Olsen [Sat, 15 Oct 2005 11:42:26 +0000 (11:42 +0000)]
fix no end waring
svn path=/trunk/; revision=18475
Magnus Olsen [Sat, 15 Oct 2005 11:39:54 +0000 (11:39 +0000)]
Japanese translation by tsk email tsk_n@mail.goo.ne.jp
svn path=/trunk/; revision=18474
Magnus Olsen [Sat, 15 Oct 2005 11:10:25 +0000 (11:10 +0000)]
Japanese translation by tsk email tsk_n@mail.goo.ne.jp
svn path=/trunk/; revision=18473
Magnus Olsen [Sat, 15 Oct 2005 11:08:44 +0000 (11:08 +0000)]
Japanese translation by tsk email tsk_n@mail.goo.ne.jp
remove Si.rc it was not translate, it was on english.
svn path=/trunk/; revision=18472
Magnus Olsen [Sat, 15 Oct 2005 10:47:53 +0000 (10:47 +0000)]
Japanese translation by tsk email tsk_n@mail.goo.ne.jp
svn path=/trunk/; revision=18471
Christoph von Wittich [Sat, 15 Oct 2005 10:34:38 +0000 (10:34 +0000)]
* set eol-style:native
svn path=/trunk/; revision=18470
Gé van Geldorp [Sat, 15 Oct 2005 09:53:14 +0000 (09:53 +0000)]
Make sure we don't hang forever when activating a window belonging to
another thread
svn path=/trunk/; revision=18468
Magnus Olsen [Sat, 15 Oct 2005 09:10:57 +0000 (09:10 +0000)]
forget remove struct _SURFACEALIGNMENT for it have been move to right header dmemmgr.h
svn path=/trunk/; revision=18467
Magnus Olsen [Sat, 15 Oct 2005 02:00:56 +0000 (02:00 +0000)]
Fixing directx headers from wine, by adding alot of missing struct and some struct was wrong. start fixing the header ddkernel.h
svn path=/trunk/; revision=18466
Magnus Olsen [Sat, 15 Oct 2005 00:12:49 +0000 (00:12 +0000)]
set eol-style : native
svn path=/trunk/; revision=18465
Magnus Olsen [Sat, 15 Oct 2005 00:09:45 +0000 (00:09 +0000)]
Fixing directx headers from wine, by adding alot of missing struct and some struct was wrong. Complete the header dmemmgr.h it was missing and move stuff into that header.
svn path=/trunk/; revision=18464
Christoph von Wittich [Fri, 14 Oct 2005 23:13:08 +0000 (23:13 +0000)]
* add Security.dll (redirects all calls to secur32.dll)
svn path=/trunk/; revision=18463
Gé van Geldorp [Fri, 14 Oct 2005 22:56:23 +0000 (22:56 +0000)]
Include kernelmode routines in stack backtrace
svn path=/trunk/; revision=18462
Christoph von Wittich [Fri, 14 Oct 2005 22:31:06 +0000 (22:31 +0000)]
*add some more stubs for Virtual DOS Machine Debug (six still missing)
svn path=/trunk/; revision=18461
Hervé Poussineau [Fri, 14 Oct 2005 22:04:02 +0000 (22:04 +0000)]
Fix the HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Linkage\Export value. The GUID needs to be prepended by "Tcpip_"
svn path=/trunk/; revision=18460
Ged Murphy [Fri, 14 Oct 2005 21:35:03 +0000 (21:35 +0000)]
- Implement -r Calling route.exe for output
- Rewrote DisplayOutput so simulates the MS netstat tool better and is now readable
- Fix ShowTcpTable to show correct endpoints on default, and expand it a little so it's easier to follow
- expand ShowUdpTable in the same manner
- Cleaner formatting in GetPortName
svn path=/trunk/; revision=18459
Gé van Geldorp [Fri, 14 Oct 2005 20:19:23 +0000 (20:19 +0000)]
Attach to correct process before messing around with its memory
svn path=/trunk/; revision=18458
Magnus Olsen [Fri, 14 Oct 2005 20:03:18 +0000 (20:03 +0000)]
Fixing directx headers from wine, by adding alot of missing struct and some struct was wrong.
svn path=/trunk/; revision=18457
Thomas Bluemel [Fri, 14 Oct 2005 19:48:28 +0000 (19:48 +0000)]
Fixed the declarations of GetFileVersionInfoSizeA/W and GetFileVersionInfoA/W
svn path=/trunk/; revision=18456
Gé van Geldorp [Fri, 14 Oct 2005 19:28:18 +0000 (19:28 +0000)]
Only whitespace changes, no logic
svn path=/trunk/; revision=18455
Hervé Poussineau [Fri, 14 Oct 2005 19:09:45 +0000 (19:09 +0000)]
Add missing files to bootcd
svn path=/trunk/; revision=18454
Hervé Poussineau [Fri, 14 Oct 2005 18:38:51 +0000 (18:38 +0000)]
Remove entries that are created by netcfgx.dll
svn path=/trunk/; revision=18453
Hervé Poussineau [Fri, 14 Oct 2005 18:37:10 +0000 (18:37 +0000)]
Add netcfgx.dll
This .dll contains the class installer for the network cards
svn path=/trunk/; revision=18452
Gé van Geldorp [Fri, 14 Oct 2005 18:32:38 +0000 (18:32 +0000)]
Goplat <mrnobo1024@yahoo.com>:
SetPixel should return the new color. Bug 909.
svn path=/trunk/; revision=18450
Hervé Poussineau [Fri, 14 Oct 2005 18:29:55 +0000 (18:29 +0000)]
Transform pci.sys to a Plug-and-Play driver.
Simplify most of the PciCreateCompatible*String functions
Fix error handling in FdoQueryBusRelations
=> pci.sys now manages only 1 bus. It is still using HalGetBusDataByOffset/HalGetBusData which are deprecated, but it shouldn't be too hard to remove
svn path=/trunk/; revision=18449
Hervé Poussineau [Fri, 14 Oct 2005 18:24:19 +0000 (18:24 +0000)]
Big Plug-and-Play patch for ReactOS:
- Install drivers for devices at first boot
- Remove now useless entries in hivesys.inf
At the moment, driver installation only uses .inf files in ReactOS\Inf directory, and the needed files have to be in ReactOS\Inf or their final location (ReactOS\system32 or ReactOS\system32\drivers) + the user can't provide a custom driver
Plug-and-Plays devices are only USB controllers (OHCI and UHCI) and serial ports now.
svn path=/trunk/; revision=18448
Hervé Poussineau [Fri, 14 Oct 2005 18:14:19 +0000 (18:14 +0000)]
Step 2 for a PnP ReactOS: add some (little) hacks
svn path=/trunk/; revision=18447
Hervé Poussineau [Fri, 14 Oct 2005 18:09:17 +0000 (18:09 +0000)]
Process AddReg directive in main section to install
Simplify a call to SetupInstallFromInfSectionW
Fix a warning (thanks w3seek)
svn path=/trunk/; revision=18446
Hervé Poussineau [Fri, 14 Oct 2005 18:00:39 +0000 (18:00 +0000)]
Transform ReactOS to a Plug-and-Play system. Step 1: add some .inf files
svn path=/trunk/; revision=18445
Hervé Poussineau [Fri, 14 Oct 2005 16:53:18 +0000 (16:53 +0000)]
Implement SetupDiCreateDevRegKeyW and SetupDiOpenDevRegKey
Use them in SetupDiInstallDevice
svn path=/trunk/; revision=18444
Gé van Geldorp [Fri, 14 Oct 2005 13:39:27 +0000 (13:39 +0000)]
Fix tab/space mess
svn path=/trunk/; revision=18443
Hervé Poussineau [Fri, 14 Oct 2005 13:04:11 +0000 (13:04 +0000)]
Don't always return STATUS_BUFFER_TOO_SMALL when an error occurs in ZwQueryValueKey.
The "if" was triggered because ValueInformation->DataLength is 0xcdcdcdcd at the return of the function
svn path=/trunk/; revision=18442
Gé van Geldorp [Fri, 14 Oct 2005 13:00:18 +0000 (13:00 +0000)]
Identify the process in ThreadExtraInfo
svn path=/trunk/; revision=18441
Gé van Geldorp [Fri, 14 Oct 2005 09:44:12 +0000 (09:44 +0000)]
tsk <tsk_n@mail.goo.ne.jp>:
UsageMessage is a printf format string.
svn path=/trunk/; revision=18439
Gé van Geldorp [Fri, 14 Oct 2005 09:33:31 +0000 (09:33 +0000)]
Don't install Winefile icon on desktop, it's already present in the start menu
svn path=/trunk/; revision=18437
Gé van Geldorp [Fri, 14 Oct 2005 08:03:14 +0000 (08:03 +0000)]
Mike <mikeonthecomputer@gmail.com>:
Add installation path for VMware 5.5. Fixes bug 907.
svn path=/trunk/; revision=18435
Magnus Olsen [Thu, 13 Oct 2005 19:13:47 +0000 (19:13 +0000)]
removed hard-coded comdlg filter from desk.cpl and it now searches for bmp;jpeg;png in windir patch by Christoph_vW see Bug 885
svn path=/trunk/; revision=18433
Aleksey Bragin [Thu, 13 Oct 2005 17:34:25 +0000 (17:34 +0000)]
cmd, taskmgr and userinit translations by FooDerGrosse <kevin_schnabel at gmx.de>
svn path=/trunk/; revision=18430
Gunnar Dalsnes [Thu, 13 Oct 2005 12:44:58 +0000 (12:44 +0000)]
make classes use session wide atom table. should fix bug 899
svn path=/trunk/; revision=18427
Hervé Poussineau [Thu, 13 Oct 2005 10:55:16 +0000 (10:55 +0000)]
Call specified class installer (if any) in SetupDiCallClassInstaller
Implement SetupDiOpenDeviceInterfaceA
svn path=/trunk/; revision=18426
Thomas Bluemel [Thu, 13 Oct 2005 10:29:04 +0000 (10:29 +0000)]
properly reset the reference counter in ExReInitializeRundownProtection()
svn path=/trunk/; revision=18425
Gé van Geldorp [Thu, 13 Oct 2005 08:15:52 +0000 (08:15 +0000)]
Use the pitch provided by FreeType. Fixes bug 894.
svn path=/trunk/; revision=18424
Hervé Poussineau [Thu, 13 Oct 2005 08:05:12 +0000 (08:05 +0000)]
Fix sublang IDs:
SUBLANG_ENGLISH_US for english, as we always try to load language LANG_ENGLISH/SUBLANG_ENGLISH_US
SUBLANG_NEUTRAL for the others, so all sublanguages can use the translation
svn path=/trunk/; revision=18423
Hervé Poussineau [Thu, 13 Oct 2005 07:43:25 +0000 (07:43 +0000)]
IopGetBusTypeGuidIndex: Fix an infinite loop
IopAssignDeviceResources: Allocate bus number resources
svn path=/trunk/; revision=18422
Gunnar Dalsnes [Wed, 12 Oct 2005 23:10:31 +0000 (23:10 +0000)]
add comment about KeCancelTimer pitfall
svn path=/trunk/; revision=18419
Gé van Geldorp [Wed, 12 Oct 2005 22:15:22 +0000 (22:15 +0000)]
Send window-bound timers to the correct message queue
svn path=/trunk/; revision=18418
Thomas Bluemel [Wed, 12 Oct 2005 22:04:07 +0000 (22:04 +0000)]
set eol-style to native
svn path=/trunk/; revision=18417
Gunnar Dalsnes [Wed, 12 Oct 2005 21:39:28 +0000 (21:39 +0000)]
add stubs to make clamwin run. by Christoph_vW
stub GetNativeSystemInfo better to make cpuz get further. by Christoph_vW
stub IsWow64Process better. by me
svn path=/trunk/; revision=18416
Martin Fuchs [Wed, 12 Oct 2005 20:20:18 +0000 (20:20 +0000)]
zoomin:
- allow to cange zoom factor and display zoom factor
- add accelerator table
svn path=/trunk/; revision=18415
Thomas Bluemel [Wed, 12 Oct 2005 18:56:44 +0000 (18:56 +0000)]
fixed difference in signedness warning
svn path=/trunk/; revision=18413
Hervé Poussineau [Wed, 12 Oct 2005 16:54:34 +0000 (16:54 +0000)]
In DevInstallW:
- Shut up debug messages
- First steps to display messages to the user (retrieve device description before and after device installation)
- Change to only one exit point
svn path=/trunk/; revision=18412
Gé van Geldorp [Wed, 12 Oct 2005 14:07:49 +0000 (14:07 +0000)]
Workaround for bug 899
svn path=/trunk/; revision=18411
Gé van Geldorp [Wed, 12 Oct 2005 13:00:34 +0000 (13:00 +0000)]
Terminate the new environment with a NULL pointer
svn path=/trunk/; revision=18410
Martin Fuchs [Wed, 12 Oct 2005 08:38:45 +0000 (08:38 +0000)]
Fix for Bugzilla Entry 641 - patch from j_anderw at sbox.tugraz.at
svn path=/trunk/; revision=18409
Hervé Poussineau [Wed, 12 Oct 2005 08:14:56 +0000 (08:14 +0000)]
Fix SetupDiGetDeviceRegistryPropertyA, which should return the required size and the registry data type if the buffer is too small
(typical case when you call it 2 times: 1st time to get the required size, 2nd time to get real data)
svn path=/trunk/; revision=18408
Hervé Poussineau [Tue, 11 Oct 2005 13:35:07 +0000 (13:35 +0000)]
Send the right LocaleId to device stack when querying the device description.
Don't erase device description stored by setupapi during next reboot
svn path=/trunk/; revision=18407
Gunnar Dalsnes [Tue, 11 Oct 2005 03:23:01 +0000 (03:23 +0000)]
nullterm correct string in strndup
nullterm argv list
reformat
svn path=/trunk/; revision=18406
Gregor Anich [Tue, 11 Oct 2005 00:58:45 +0000 (00:58 +0000)]
vdmdbg.dll (stubs only) by Christoph v.W. - thanks!
svn path=/trunk/; revision=18405
Gunnar Dalsnes [Mon, 10 Oct 2005 22:42:13 +0000 (22:42 +0000)]
alloc at minimum 16 bytes (spotted by WaxDragon)
realloc should free passed mem if new size is 0
svn path=/trunk/; revision=18404
Gunnar Dalsnes [Mon, 10 Oct 2005 20:18:07 +0000 (20:18 +0000)]
alloc multiple of 16 bytes
svn path=/trunk/; revision=18403
Brandon Turner [Mon, 10 Oct 2005 19:08:57 +0000 (19:08 +0000)]
set to eol-style native ;)
svn path=/trunk/; revision=18402
Brandon Turner [Mon, 10 Oct 2005 18:57:56 +0000 (18:57 +0000)]
Added a more technical readme for people that want to understand cmd.
svn path=/trunk/; revision=18401
Ged Murphy [Mon, 10 Oct 2005 18:35:33 +0000 (18:35 +0000)]
remove a header no longer needed too
svn path=/trunk/; revision=18400
Ged Murphy [Mon, 10 Oct 2005 18:33:45 +0000 (18:33 +0000)]
remove uneeded text out of the .rc file.
svn path=/trunk/; revision=18399
Ged Murphy [Mon, 10 Oct 2005 17:51:30 +0000 (17:51 +0000)]
forgot the eol-style again.
svn path=/trunk/; revision=18398
Ged Murphy [Mon, 10 Oct 2005 17:49:19 +0000 (17:49 +0000)]
Start of a rewrite for netstat.exe
- Simulate the output of the MS netstat tool
- implemented -a, -e, -n, -p, -r, -s and interval
svn path=/trunk/; revision=18397
Thomas Bluemel [Mon, 10 Oct 2005 15:42:08 +0000 (15:42 +0000)]
fixed a typo in the NtAccessCheck declaration
svn path=/trunk/; revision=18396
Andrew Munger [Mon, 10 Oct 2005 14:29:15 +0000 (14:29 +0000)]
MiTestCard is only used in DBG=1, surround with ifdef so DBG=0 builds.
svn path=/trunk/; revision=18395
Thomas Bluemel [Mon, 10 Oct 2005 13:03:55 +0000 (13:03 +0000)]
convert DefaultSetInfoBufferCheck and DefaultQueryInfoBufferCheck to inlined functions
svn path=/trunk/; revision=18394
Thomas Bluemel [Mon, 10 Oct 2005 13:03:09 +0000 (13:03 +0000)]
don't jump outside _SEH_TRY with goto in ObpCaptureObjectAttributes()
svn path=/trunk/; revision=18393
Thomas Bluemel [Mon, 10 Oct 2005 11:44:37 +0000 (11:44 +0000)]
some fixes for CheckTokenMembership:
- properly create an impersonation token from the primary token in case the thread is not impersonating
- use NtAccessCheck to perform the access check
svn path=/trunk/; revision=18392
Magnus Olsen [Sun, 9 Oct 2005 22:35:54 +0000 (22:35 +0000)]
Comment out a fixme, it make a user mode crash (ntoskrnl\ke\exception.c:94 KiRaiseException ), after this viso installer start working, thx Christoph_vW to found it.
svn path=/trunk/; revision=18391
Thomas Bluemel [Sun, 9 Oct 2005 22:35:41 +0000 (22:35 +0000)]
don't try to free the ansi strings passed by the caller
svn path=/trunk/; revision=18390
Brandon Turner [Sun, 9 Oct 2005 22:33:26 +0000 (22:33 +0000)]
Updated more cmd documentation. This included changing from eric's email to ros-dev / bugzilla for suggested way of reporting bugs.
svn path=/trunk/; revision=18389
Thomas Bluemel [Sun, 9 Oct 2005 22:30:27 +0000 (22:30 +0000)]
fixed difference in signedness warning in MulDiv()
svn path=/trunk/; revision=18388
Magnus Olsen [Sun, 9 Oct 2005 22:15:06 +0000 (22:15 +0000)]
Fix DD_Cleanup that will make Contry Strike not crashing when it does not found right reslution, thx drfred that found the bug + source cleanup and small bugfix for ntddraw
svn path=/trunk/; revision=18387
Gunnar Dalsnes [Sun, 9 Oct 2005 22:12:56 +0000 (22:12 +0000)]
Fix MulDiv. This fixes almost any progress-bar to stop showing negative values during installations or etc. Thanks to kichik for originally having found the bug.
Patch by alex ionescu
svn path=/trunk/; revision=18386
Thomas Bluemel [Sun, 9 Oct 2005 22:09:02 +0000 (22:09 +0000)]
use the correct down-level scope filter flag for the computer selection dialog
svn path=/trunk/; revision=18385
Thomas Bluemel [Sun, 9 Oct 2005 20:56:17 +0000 (20:56 +0000)]
add a not yet complete tool to dump the recycle bin databases
svn path=/trunk/; revision=18384