Gé van Geldorp [Wed, 26 Jan 2005 23:30:50 +0000 (23:30 +0000)]
Avoid crash if import directory is messed up
svn path=/trunk/; revision=13325
Aleksey Bragin [Wed, 26 Jan 2005 22:34:39 +0000 (22:34 +0000)]
This is the initial version of USB port+hub+hostcontroller drivers from a special version of Linux USB Stack. More info will be placed at ROS-Wiki.
svn path=/trunk/; revision=13324
Filip Navara [Wed, 26 Jan 2005 22:05:12 +0000 (22:05 +0000)]
Hervé Poussineau <poussine@freesurf.fr>
No need to create \??\Mouse symlink in mouse driver, it's done in mouclass.
svn path=/trunk/; revision=13323
Steven Edwards [Wed, 26 Jan 2005 22:03:05 +0000 (22:03 +0000)]
added ibrowser to the makefile
svn path=/trunk/; revision=13322
Gé van Geldorp [Wed, 26 Jan 2005 20:31:05 +0000 (20:31 +0000)]
Hervé Poussineau <poussine@freesurf.fr>
Replace GET_RETRIEVAL_DESCRIPTOR structure (undocumented) by
RETRIEVAL_POINTERS_BUFFER. Correct alignment for some structures
svn path=/trunk/; revision=13321
Hartmut Birr [Wed, 26 Jan 2005 19:43:03 +0000 (19:43 +0000)]
- Fixed a crash in PAE mode and without the '/3GB' switch.
svn path=/trunk/; revision=13319
Steven Edwards [Wed, 26 Jan 2005 19:22:37 +0000 (19:22 +0000)]
fix resouce compiling on cross-compile
svn path=/trunk/; revision=13318
Thomas Bluemel [Wed, 26 Jan 2005 19:19:07 +0000 (19:19 +0000)]
fixed typo, "fixes" bug 486
svn path=/trunk/; revision=13317
Thomas Bluemel [Wed, 26 Jan 2005 17:54:26 +0000 (17:54 +0000)]
don't return a random status code in case of probing failed, initialize the Status variable first
svn path=/trunk/; revision=13316
Thomas Bluemel [Wed, 26 Jan 2005 17:53:01 +0000 (17:53 +0000)]
Heap32ListFirst() should check the number of heaps in the list, not the numer of modules
svn path=/trunk/; revision=13315
Thomas Bluemel [Wed, 26 Jan 2005 14:38:27 +0000 (14:38 +0000)]
NtCreatePagingFile() should release the captured unicode string even if probing the other parameters failed
svn path=/trunk/; revision=13314
Thomas Bluemel [Wed, 26 Jan 2005 14:15:38 +0000 (14:15 +0000)]
Fixed GetTempPathA/W and GetCurrentDirectoryA/W. Patch by tinus, Eric Kohl and me, fixes bug #482
svn path=/trunk/; revision=13313
Eric Kohl [Wed, 26 Jan 2005 14:00:41 +0000 (14:00 +0000)]
Remove RtlImageNtHeader, RtlImageDirectoryEntryToData, RtlImageRvaToSection and RtlImageRvaToVa because these function have been moved to lib/rtl/image.c.
svn path=/trunk/; revision=13312
Alex Ionescu [Wed, 26 Jan 2005 13:58:37 +0000 (13:58 +0000)]
Standardize comment headers. Patch by Trevor McCort
svn path=/trunk/; revision=13311
Thomas Bluemel [Wed, 26 Jan 2005 13:54:53 +0000 (13:54 +0000)]
fixed usage of NtQueryDirectoryObject()
svn path=/trunk/; revision=13310
Thomas Bluemel [Wed, 26 Jan 2005 13:54:07 +0000 (13:54 +0000)]
fixed NtQueryDirectoryObject() to properly handle buffers that are not large enough
svn path=/trunk/; revision=13309
Eric Kohl [Wed, 26 Jan 2005 13:52:53 +0000 (13:52 +0000)]
Replace hardcoded values by known constants.
svn path=/trunk/; revision=13308
Eric Kohl [Wed, 26 Jan 2005 13:48:38 +0000 (13:48 +0000)]
- Replace NtQuerySystemTime by KeQuerySystemTime
- Nt->Zw
svn path=/trunk/; revision=13307
Thomas Bluemel [Wed, 26 Jan 2005 12:47:38 +0000 (12:47 +0000)]
securely access buffers in NtOpenDirectoryObject(), NtQueryDirectoryObject() and NtCreateDirectoryObject()
svn path=/trunk/; revision=13306
Alex Ionescu [Wed, 26 Jan 2005 05:00:08 +0000 (05:00 +0000)]
Dynamic 3GB support, part 1. Only multiboot.S remains to be changed, all other parts of the Kernel now used KERNEL_BASE based on the command-line (Please don't use /3gb if you don't compile 3GB)
svn path=/trunk/; revision=13305
Steven Edwards [Wed, 26 Jan 2005 00:43:49 +0000 (00:43 +0000)]
Windows is stupid. Why they hell would you be case insensitive but case retaining
svn path=/trunk/; revision=13304
Thomas Bluemel [Wed, 26 Jan 2005 00:43:24 +0000 (00:43 +0000)]
don't shift the PIDs of objects so the first bit can be used to lock objects, as the lower 2 bits of PIDs are now always zero just test and set this bit
svn path=/trunk/; revision=13303
Martin Fuchs [Wed, 26 Jan 2005 00:12:33 +0000 (00:12 +0000)]
first draft of SDI browser application derived from ROS Explorer
svn path=/trunk/; revision=13302
Thomas Bluemel [Wed, 26 Jan 2005 00:03:05 +0000 (00:03 +0000)]
1. fixed NtCreateProcess to do some buffer checks and moved the implementation to an internal function so it can be shared with PsCreateSystemProcess(). Also don't leak so many resources on failures
2. processes should acuire a cid handle for their unique process id
3. fixed several instances in structures where process ids were DWORD/ULONG instead of HANDLEs
svn path=/trunk/; revision=13301
Thomas Bluemel [Tue, 25 Jan 2005 23:57:57 +0000 (23:57 +0000)]
enable the SeSystemtimePrivilege privilege which is required to call SetLocalTime
svn path=/trunk/; revision=13300
Steven Edwards [Tue, 25 Jan 2005 23:50:22 +0000 (23:50 +0000)]
Forgot to add Makefiles
svn path=/trunk/; revision=13299
Alex Ionescu [Tue, 25 Jan 2005 23:40:05 +0000 (23:40 +0000)]
Sorry for incorrect file comiited.
svn path=/trunk/; revision=13298
Steven Edwards [Tue, 25 Jan 2005 23:39:07 +0000 (23:39 +0000)]
fixed building of setupapi.
svn path=/trunk/; revision=13297
Steven Edwards [Tue, 25 Jan 2005 23:36:57 +0000 (23:36 +0000)]
Imported setupapi from the vendor branch. (Again).
svn path=/trunk/; revision=13296
Alex Ionescu [Tue, 25 Jan 2005 23:36:23 +0000 (23:36 +0000)]
Remove debug output from user mode exceptions. Reported by hbirr.
svn path=/trunk/; revision=13295
Steven Edwards [Tue, 25 Jan 2005 23:36:16 +0000 (23:36 +0000)]
removing this to reimport it
svn path=/trunk/; revision=13294
Steven Edwards [Tue, 25 Jan 2005 23:23:38 +0000 (23:23 +0000)]
Imported vendor drop of setupapi.
svn path=/trunk/; revision=13293
Gé van Geldorp [Tue, 25 Jan 2005 22:58:47 +0000 (22:58 +0000)]
Replace wcschr. Fixes bug #488.
svn path=/trunk/; revision=13290
Hartmut Birr [Tue, 25 Jan 2005 22:51:51 +0000 (22:51 +0000)]
- Removed slab.c, because this functions are not used.
svn path=/trunk/; revision=13289
Hartmut Birr [Tue, 25 Jan 2005 22:50:47 +0000 (22:50 +0000)]
- Implemented a kernel mapping region which is process local.
This mapping can be used to map temporary memory pages from
other process's like pde's/pte's. It is also used to make
a copy of a page or to clean a page.
svn path=/trunk/; revision=13288
Hartmut Birr [Tue, 25 Jan 2005 22:36:28 +0000 (22:36 +0000)]
- Renamed UpdateProgress to VfatxUpdateProgress.
svn path=/trunk/; revision=13287
Hartmut Birr [Tue, 25 Jan 2005 22:10:39 +0000 (22:10 +0000)]
- Added vfatxlib.
svn path=/trunk/; revision=13286
Hartmut Birr [Tue, 25 Jan 2005 21:16:19 +0000 (21:16 +0000)]
- Fixed the directory index of a file for FATX.
- Initialize some values from the RFCB.
svn path=/trunk/; revision=13285
Hartmut Birr [Tue, 25 Jan 2005 21:14:57 +0000 (21:14 +0000)]
- Fixed the directory index of a file for FATX.
- Check for the file size before eache call to CcMapData. W2K doesnt like to map over the end of a directory.
svn path=/trunk/; revision=13284
Hartmut Birr [Tue, 25 Jan 2005 21:13:28 +0000 (21:13 +0000)]
- Print the major function codes if debug prints are enabled.
svn path=/trunk/; revision=13283
Hartmut Birr [Tue, 25 Jan 2005 21:12:52 +0000 (21:12 +0000)]
- Allow the second device name RosFat to make it possible to load vfatfs on W2k if fastfat is already loaded.
- Moved the initialisation of the callback and fast io functions to fastio.c.
svn path=/trunk/; revision=13282
Hartmut Birr [Tue, 25 Jan 2005 21:11:46 +0000 (21:11 +0000)]
- Fixed some problems to recognize a FATX partition on a non xbox (Should be tested on a real xbox).
- Fixed the calculation of the number of clusters.
svn path=/trunk/; revision=13281
Hartmut Birr [Tue, 25 Jan 2005 21:10:42 +0000 (21:10 +0000)]
- Print the file information class if debug prints are enabled in VfatGet/SetInformation.
- Check for the open handle count instead of the reference count if file deletion is requested.
svn path=/trunk/; revision=13280
Hartmut Birr [Tue, 25 Jan 2005 21:09:55 +0000 (21:09 +0000)]
- Implemented dummy stubs for all fast io entry points. W2K does ignore the IsFastIoPossible variable of the fcb.
- Fixed the directory index of a file for FATX.
svn path=/trunk/; revision=13279
Hartmut Birr [Tue, 25 Jan 2005 21:08:54 +0000 (21:08 +0000)]
- Check for some special file streams in VfatUpdateEntry.
W2K does open the volume for changing the date and time,
but the volume hasn't a parent fcb.
- Fixed the directory index of a file for FATX.
svn path=/trunk/; revision=13278
Hartmut Birr [Tue, 25 Jan 2005 21:07:32 +0000 (21:07 +0000)]
- Fixed the directory index of a file for FATX.
- Replaced VfatSupersedeFile with VfatSetAllocationSizeInformation.
- Check for the file size before each call to CcMapData. W2K doesn't like it to map over the end of a directory.
svn path=/trunk/; revision=13277
Hartmut Birr [Tue, 25 Jan 2005 21:05:38 +0000 (21:05 +0000)]
- Always try to uninitialize the file cache in VfatCleanupFile.
- Try to purge the file cache if the last handle is closed and deleting of the file was requested.
svn path=/trunk/; revision=13276
Mike Nordell [Tue, 25 Jan 2005 20:53:37 +0000 (20:53 +0000)]
NtGdiExtTextOut (ExtTextOut in user-mode) should now obey at least the right clipping edge with ETO_CLIPPED.
svn path=/trunk/; revision=13275
Steven Edwards [Tue, 25 Jan 2005 19:11:22 +0000 (19:11 +0000)]
added winetests for version.dll
svn path=/trunk/; revision=13274
Steven Edwards [Tue, 25 Jan 2005 17:52:28 +0000 (17:52 +0000)]
remove some duplicate definintions.
svn path=/trunk/; revision=13273
Mike Nordell [Tue, 25 Jan 2005 16:38:18 +0000 (16:38 +0000)]
Fixe use of memory after it had been free'd.
svn path=/trunk/; revision=13272
Mike Nordell [Tue, 25 Jan 2005 16:26:01 +0000 (16:26 +0000)]
Kill compiler warning.
svn path=/trunk/; revision=13271
Mike Nordell [Tue, 25 Jan 2005 14:22:50 +0000 (14:22 +0000)]
Fix declaration of WSAStartup
svn path=/trunk/; revision=13270
Gé van Geldorp [Tue, 25 Jan 2005 08:32:47 +0000 (08:32 +0000)]
tinus <o112w8r02@sneakemail.com>
Properly allow removing toolbar bitmaps by changing it into 0.
svn path=/trunk/; revision=13269
Alex Ionescu [Tue, 25 Jan 2005 05:38:01 +0000 (05:38 +0000)]
Set up ACPI Interrupt data before creating the interrupt, to fix case where interrupt is being called as soon as it's being set up, before the data is set. Patch by tinus. Fixes bug 472
svn path=/trunk/; revision=13268
Alex Ionescu [Tue, 25 Jan 2005 05:11:17 +0000 (05:11 +0000)]
Fix compiler errors. Patch by Herve Poussineau. Fixes bug 478
svn path=/trunk/; revision=13267
Alex Ionescu [Tue, 25 Jan 2005 05:00:57 +0000 (05:00 +0000)]
Fix bug 474. Patch by tinus
svn path=/trunk/; revision=13266
Steven Edwards [Tue, 25 Jan 2005 01:35:43 +0000 (01:35 +0000)]
finished merging setupapi with Winehq CVS. Tommrow I will do a vendor drop of the latest Winehq CVS.
svn path=/trunk/; revision=13265
Alex Ionescu [Tue, 25 Jan 2005 01:23:23 +0000 (01:23 +0000)]
Fix bugs on optimized build, fix RtlpDispatchException gobbling up ebx (thx ge), remove obsolete files
svn path=/trunk/; revision=13264
Steven Edwards [Tue, 25 Jan 2005 01:22:10 +0000 (01:22 +0000)]
sync'd more of Wine setupapi. Added stubs and such.
svn path=/trunk/; revision=13263
Steven Edwards [Tue, 25 Jan 2005 01:21:38 +0000 (01:21 +0000)]
update to latest setupapi.h
svn path=/trunk/; revision=13262
Hartmut Birr [Tue, 25 Jan 2005 00:28:45 +0000 (00:28 +0000)]
- Enabled SYSENTER/SYSEXIT for application processors on smp machines.
svn path=/trunk/; revision=13261
Thomas Bluemel [Tue, 25 Jan 2005 00:05:56 +0000 (00:05 +0000)]
return error status in case probing the parameters failed in IoCreateFile()
svn path=/trunk/; revision=13260
Thomas Bluemel [Mon, 24 Jan 2005 23:59:30 +0000 (23:59 +0000)]
some more parameter checks in IoCreateFile()
svn path=/trunk/; revision=13259
Hartmut Birr [Mon, 24 Jan 2005 23:23:38 +0000 (23:23 +0000)]
- Fixed my last commit.
svn path=/trunk/; revision=13258
Hartmut Birr [Mon, 24 Jan 2005 22:58:54 +0000 (22:58 +0000)]
- Interpret STATUS_TIMEOUT as error in PsLockProcess.
svn path=/trunk/; revision=13257
Gé van Geldorp [Mon, 24 Jan 2005 22:02:09 +0000 (22:02 +0000)]
Implement IO_NO_PARAMETER_CHECKING flag
svn path=/trunk/; revision=13256
Martin Fuchs [Mon, 24 Jan 2005 21:25:27 +0000 (21:25 +0000)]
adjust properties (CRLF line endlings, ignores)
svn path=/trunk/; revision=13255
Gé van Geldorp [Mon, 24 Jan 2005 21:21:17 +0000 (21:21 +0000)]
Rollback last change, since we found out that IoCreateFile can accept
usermode parameters too
svn path=/trunk/; revision=13254
Martin Fuchs [Mon, 24 Jan 2005 21:05:37 +0000 (21:05 +0000)]
fix typo and update CVS->Subversion
svn path=/trunk/; revision=13253
Gé van Geldorp [Mon, 24 Jan 2005 19:42:54 +0000 (19:42 +0000)]
IoCreateFile should be passed kernelmode parameters.
svn path=/trunk/; revision=13252
Gé van Geldorp [Mon, 24 Jan 2005 19:32:40 +0000 (19:32 +0000)]
Check error code before it is possibly clobbered. Spotted by w3seek.
svn path=/trunk/; revision=13251
Art Yerkes [Mon, 24 Jan 2005 16:58:53 +0000 (16:58 +0000)]
Minor fix to ICMP receive.
svn path=/trunk/; revision=13249
Eric Kohl [Mon, 24 Jan 2005 14:17:30 +0000 (14:17 +0000)]
Implement DuplicateString and QueryRegistryValue.
svn path=/trunk/; revision=13248
Eric Kohl [Mon, 24 Jan 2005 11:53:36 +0000 (11:53 +0000)]
MyMalloc must not zero the memory.
svn path=/trunk/; revision=13247
Gé van Geldorp [Mon, 24 Jan 2005 09:41:00 +0000 (09:41 +0000)]
tinus <o112w8r02@sneakemail.com>
Don't allow selecting disabled menu items
svn path=/trunk/; revision=13246
Gé van Geldorp [Mon, 24 Jan 2005 09:33:21 +0000 (09:33 +0000)]
Sylvain Petreolle <spetreolle@yahoo.fr>:
Add makefile for "polytest" test & enable it.
Fix compile warnings for diskspeed & zwcontinue tests
svn path=/trunk/; revision=13245
Gé van Geldorp [Mon, 24 Jan 2005 09:31:42 +0000 (09:31 +0000)]
Fix compilation
svn path=/trunk/; revision=13244
Steven Edwards [Mon, 24 Jan 2005 05:12:15 +0000 (05:12 +0000)]
Correct location of a few stubs. Getting ready to sync in a day or so.
svn path=/trunk/; revision=13243
Alex Ionescu [Mon, 24 Jan 2005 02:08:25 +0000 (02:08 +0000)]
Proper support for vfatlib and allow -j2 to work (as long as make tools && make implib && make -j2 is used).
svn path=/trunk/; revision=13242
Thomas Bluemel [Mon, 24 Jan 2005 00:44:21 +0000 (00:44 +0000)]
fixed prototype of ZwOpenSemaphore
svn path=/trunk/; revision=13241
Thomas Bluemel [Mon, 24 Jan 2005 00:43:39 +0000 (00:43 +0000)]
minor fixes
svn path=/trunk/; revision=13240
Gé van Geldorp [Mon, 24 Jan 2005 00:18:57 +0000 (00:18 +0000)]
Nt -> Zw
svn path=/trunk/; revision=13239
Gé van Geldorp [Mon, 24 Jan 2005 00:15:29 +0000 (00:15 +0000)]
Make memory layout of GET_RETRIEVAL_DESCRIPTOR match RETRIEVAL_POINTERS_BUFFER
svn path=/trunk/; revision=13238
Thomas Bluemel [Mon, 24 Jan 2005 00:09:04 +0000 (00:09 +0000)]
don't copy the entire security descriptor to the stack in SeCaptureSecurityDescriptor() when previous mode is kernel mode and capturing for kernel mode is undesired
svn path=/trunk/; revision=13237
Thomas Bluemel [Sun, 23 Jan 2005 23:51:40 +0000 (23:51 +0000)]
1. fixed the timer functions to securely access buffers
2. minor fixes due to copy+paste
svn path=/trunk/; revision=13236
Thomas Bluemel [Sun, 23 Jan 2005 23:02:19 +0000 (23:02 +0000)]
1. fixed prototypes of NtSetSystemTime and NtQuerySystemTime and made them handle passed buffers securely
2. check for the SeSystemtimePrivilege privilege in NtSetSystemTime()
3. write debug messages when privileges are missing
svn path=/trunk/; revision=13235
Emanuele Aliberti [Sun, 23 Jan 2005 22:42:31 +0000 (22:42 +0000)]
ObjectBody->Permanent setting cleaned.
svn path=/trunk/; revision=13234
Gé van Geldorp [Sun, 23 Jan 2005 22:25:11 +0000 (22:25 +0000)]
Fix typo
svn path=/trunk/; revision=13233
Thomas Bluemel [Sun, 23 Jan 2005 22:09:27 +0000 (22:09 +0000)]
fixed semaphore functions to securely access buffers and some minor fixes
svn path=/trunk/; revision=13232
Alex Ionescu [Sun, 23 Jan 2005 21:26:27 +0000 (21:26 +0000)]
Fix svn:ignore problems and remove alignment hacks
svn path=/trunk/; revision=13231
Gé van Geldorp [Sun, 23 Jan 2005 21:19:24 +0000 (21:19 +0000)]
Nt -> Zw fixes
svn path=/trunk/; revision=13230
Thomas Bluemel [Sun, 23 Jan 2005 20:58:28 +0000 (20:58 +0000)]
get rid of the reactos-only RTL_REGISTRY_ENUM flag and added more debug messages to ease debugging failures
svn path=/trunk/; revision=13229
Gé van Geldorp [Sun, 23 Jan 2005 20:57:45 +0000 (20:57 +0000)]
Make gdb stack trace back to usermode work again
svn path=/trunk/; revision=13228
Gé van Geldorp [Sun, 23 Jan 2005 20:48:19 +0000 (20:48 +0000)]
Keep usermode stack 4-byte aligned
svn path=/trunk/; revision=13227
Thomas Bluemel [Sun, 23 Jan 2005 18:18:08 +0000 (18:18 +0000)]
the system process should be called "System", not "SYSTEM"
svn path=/trunk/; revision=13226
Art Yerkes [Sun, 23 Jan 2005 11:01:51 +0000 (11:01 +0000)]
Fixed DNS lookup in ping.
Fixed output format.
Patch by Andrew Munger (WaxDragon)
svn path=/trunk/; revision=13224
Art Yerkes [Sun, 23 Jan 2005 09:51:03 +0000 (09:51 +0000)]
Fixed broadcast UDP.
lan: Added calculation of broadcast address.
fileobjs: Check for broadcast receive.
neighbor: Check for broadcast send.
interface: Use cached broadcast address.
udp: Fix port allocation.
svn path=/trunk/; revision=13223
Thomas Bluemel [Sat, 22 Jan 2005 20:59:49 +0000 (20:59 +0000)]
don't leak resources on failure
svn path=/trunk/; revision=13220
Thomas Bluemel [Sat, 22 Jan 2005 20:53:14 +0000 (20:53 +0000)]
RtlCaptureUnicodeString should also check the buffers that the UNICODE_STRING structure points to...
svn path=/trunk/; revision=13219