reactos.git
18 years agoSync to Wine-20050524:
Gé van Geldorp [Thu, 26 May 2005 09:44:59 +0000 (09:44 +0000)]
Sync to Wine-20050524:
Alexandre Julliard <julliard@winehq.org>
- Free delayed import modules on PROCESS_DETACH.
- Removed no longer used support for 32-bit register entry points.
- Added support in winebuild for specifying import libraries directly on
  the command line without the -l option.
- Changed the -d option to only mark the library as delayed, the actual
  loading is now done separately.
- Generate 16-bit resources in the proper format inside the module data,
  and get rid of the special case for builtins in NE_DefResourceHandler.
- Generate the 16-bit module header in the standard on-disk format, so
  that winebuild doesn't need to know about kernel internal structures.
- Moved the generated code segment for 16-bit builtins inside the module
  structure.
- Get rid of the BUILTIN16_DESCRIPTOR structure and directly register
  the MZ header instead.
- Use RaiseException instead of RtlRaiseException in 16-bit spec files
  since they already depend on kernel32.
- Renamed __wine_(un)register_dll_16 to __wine_dll_(un)register_16 for
  consistency with the 32-bit version, and also make the register
  function use the same prototype as the 32-bit one.
- Use the exported IMAGE_OS2_HEADER to generate the module header in the
  spec file, and moved the NE_MODULE structure definition to
  kernel16_private.h.
- Avoid referencing stackframe.h from outside kernel32.
- Moved data structures for 16-bit relay calls to winbase16.h and
  removed builtin16.h.
- Store the 16-bit stack pointer in the WOW32Reserved TEB field.
- Use RaiseException instead of RtlRaiseException for delayed entry
  points load failure to avoid creating a dependency on ntdll.

svn path=/trunk/; revision=15499

18 years agoFix DPRINT1 messages to display correctly memory ranges
Hervé Poussineau [Thu, 26 May 2005 06:30:47 +0000 (06:30 +0000)]
Fix DPRINT1 messages to display correctly memory ranges

svn path=/trunk/; revision=15498

18 years agoImplement sub-allocation of small requests
Gé van Geldorp [Wed, 25 May 2005 22:36:35 +0000 (22:36 +0000)]
Implement sub-allocation of small requests

svn path=/trunk/; revision=15497

18 years agoNow UHCI HCD driver supports recognizing Memory type of resource. Should help James...
Aleksey Bragin [Wed, 25 May 2005 20:59:13 +0000 (20:59 +0000)]
Now UHCI HCD driver supports recognizing Memory type of resource. Should help James Tabor's problem (VIA chipset, getting only memory resource as unrecognized, and thus driver failing loading).

svn path=/trunk/; revision=15496

18 years agoNew normal curosr by irc:mf
Magnus Olsen [Wed, 25 May 2005 14:25:19 +0000 (14:25 +0000)]
New normal curosr by irc:mf

svn path=/trunk/; revision=15495

18 years agoBuild usetup and ntoskrnl and winmm in gcc 4.0
Alex Ionescu [Wed, 25 May 2005 13:07:27 +0000 (13:07 +0000)]
Build usetup and ntoskrnl and winmm in gcc 4.0

svn path=/trunk/; revision=15494

18 years agoCorrect bug do not enum other color deep that 8,16,24,32 it will create memmory leek...
Magnus Olsen [Wed, 25 May 2005 09:14:29 +0000 (09:14 +0000)]
Correct bug do not enum other color deep that 8,16,24,32 it will create memmory leek other wise.
in the current code.

svn path=/trunk/; revision=15493

18 years agoNonpaged Pool Liberation Day: Allow PagedPool to be used earlier, allow fast mutex...
Alex Ionescu [Wed, 25 May 2005 04:16:56 +0000 (04:16 +0000)]
Nonpaged Pool Liberation Day: Allow PagedPool to be used earlier, allow fast mutex to be used earlier on debug builds. Allocate all Se stuff from PagedPool, set the right object types to use paged pool, allocate all strings from paged pool, allocate PE sections from paged pool, and a bunch of other things which should, imo, be in paged pool. If anyone has any contradicting proof, let me know...until then, enjoy ~4-6MB more NonPagedPool

svn path=/trunk/; revision=15492

18 years agoTag the MDL buffer
Alex Ionescu [Wed, 25 May 2005 02:20:01 +0000 (02:20 +0000)]
Tag the MDL buffer

svn path=/trunk/; revision=15491

18 years agoremove debug message
Alex Ionescu [Wed, 25 May 2005 01:49:50 +0000 (01:49 +0000)]
remove debug message

svn path=/trunk/; revision=15490

18 years agoAdd 24bits mode strings
Magnus Olsen [Wed, 25 May 2005 00:04:12 +0000 (00:04 +0000)]
Add 24bits mode strings
hope it fix qemu

svn path=/trunk/; revision=15489

18 years agoFix Tag Usage
Alex Ionescu [Tue, 24 May 2005 21:32:47 +0000 (21:32 +0000)]
Fix Tag Usage

svn path=/trunk/; revision=15487

18 years agoFix memory leaks in object manager, use tags and use some more public types
Alex Ionescu [Tue, 24 May 2005 21:21:34 +0000 (21:21 +0000)]
Fix memory leaks in object manager, use tags and use some more public types

svn path=/trunk/; revision=15486

18 years agoFix DHCP from crashing, silence tcp and iphlp
Alex Ionescu [Tue, 24 May 2005 21:04:44 +0000 (21:04 +0000)]
Fix DHCP from crashing, silence tcp and iphlp

svn path=/trunk/; revision=15485

18 years agoChangeDisplay
Magnus Olsen [Tue, 24 May 2005 19:52:43 +0000 (19:52 +0000)]
ChangeDisplay
1. Add debug msg
2. Corrent some return value for CDS_UPDATEREGISTRY
3. Remove #ifdef CDS_VIDEOPARAMETERS

svn path=/trunk/; revision=15484

18 years agoadd CDS_VIDEOPARAMETERS for changedisplay setting it was mising in our include files
Magnus Olsen [Tue, 24 May 2005 18:42:54 +0000 (18:42 +0000)]
add CDS_VIDEOPARAMETERS for changedisplay setting it was mising in our include files

svn path=/trunk/; revision=15483

18 years agoVBE driver never write which reslutions it should use as defualt
Magnus Olsen [Tue, 24 May 2005 14:14:40 +0000 (14:14 +0000)]
VBE driver never write which reslutions it should use as defualt
therefor the change resultions did not working on bootcd
do not remove this settings. from the reg.
Thanks

svn path=/trunk/; revision=15482

18 years agoAdd ReactOS version at the start of the debug log
Hervé Poussineau [Mon, 23 May 2005 20:31:53 +0000 (20:31 +0000)]
Add ReactOS version at the start of the debug log

svn path=/trunk/; revision=15481

18 years agoWrite keyboard identifier in right registry key
Hervé Poussineau [Mon, 23 May 2005 19:30:22 +0000 (19:30 +0000)]
Write keyboard identifier in right registry key

svn path=/trunk/; revision=15480

18 years agoI give up! I fix the rest of the headers later.
James Tabor [Mon, 23 May 2005 19:17:36 +0000 (19:17 +0000)]
I give up! I fix the rest of the headers later.

svn path=/trunk/; revision=15479

18 years agoFixup sysinfo.c SystemProcessInfo header.
James Tabor [Mon, 23 May 2005 18:59:21 +0000 (18:59 +0000)]
Fixup sysinfo.c SystemProcessInfo header.

svn path=/trunk/; revision=15478

18 years agoUpdate include header and update waitreason list.
James Tabor [Mon, 23 May 2005 17:13:23 +0000 (17:13 +0000)]
Update include header and update waitreason list.

svn path=/trunk/; revision=15477

18 years ago1. remove all hardcode strings to En.rc
Magnus Olsen [Mon, 23 May 2005 16:48:22 +0000 (16:48 +0000)]
1. remove all hardcode strings to En.rc
2. make it unicode and anis

svn path=/trunk/; revision=15476

18 years agoRevert 15473 and 15474 as Alex doesn't like them
Hervé Poussineau [Mon, 23 May 2005 08:50:29 +0000 (08:50 +0000)]
Revert 15473 and 15474 as Alex doesn't like them

svn path=/trunk/; revision=15475

18 years agoAdd ReactOS version at the start of the debug log
Hervé Poussineau [Mon, 23 May 2005 05:20:39 +0000 (05:20 +0000)]
Add ReactOS version at the start of the debug log

svn path=/trunk/; revision=15474

18 years agoRemove some debug messages at boot
Hervé Poussineau [Mon, 23 May 2005 05:00:22 +0000 (05:00 +0000)]
Remove some debug messages at boot

svn path=/trunk/; revision=15473

18 years agoRevert DPRINT1.
James Tabor [Sun, 22 May 2005 22:12:12 +0000 (22:12 +0000)]
Revert DPRINT1.

svn path=/trunk/; revision=15472

18 years agoFix compile error when NDEBUG is not set
Hervé Poussineau [Sun, 22 May 2005 22:04:57 +0000 (22:04 +0000)]
Fix compile error when NDEBUG is not set

svn path=/trunk/; revision=15471

18 years agoObInsertObject must always return STATUS_OBJECT_NAME_COLLISION if an object with...
Hartmut Birr [Sun, 22 May 2005 16:48:30 +0000 (16:48 +0000)]
ObInsertObject must always return STATUS_OBJECT_NAME_COLLISION if an object with the same name exist.

svn path=/trunk/; revision=15470

18 years agoDon't create the media change event as named object.
Hartmut Birr [Sun, 22 May 2005 16:44:36 +0000 (16:44 +0000)]
Don't create the media change event as named object.

svn path=/trunk/; revision=15469

18 years agosvn propset {keyword, eol-type}
Emanuele Aliberti [Sun, 22 May 2005 16:10:10 +0000 (16:10 +0000)]
svn propset {keyword, eol-type}

svn path=/trunk/; revision=15468

18 years agoSM: change the way sessions are managed.
Emanuele Aliberti [Sun, 22 May 2005 15:54:15 +0000 (15:54 +0000)]
SM: change the way sessions are managed.
(it may be buggy)

svn path=/trunk/; revision=15467

18 years agoThis is a CompareStringW hack to get (7z313.exe /Q) to install. If anyone else has...
James Tabor [Sun, 22 May 2005 12:29:10 +0000 (12:29 +0000)]
This is a CompareStringW hack to get (7z313.exe /Q) to install. If anyone else has a better way, go for it!

svn path=/trunk/; revision=15466

18 years agoIoRegisterDeviceInterface: Create nested keys one-by-one.
Eric Kohl [Sat, 21 May 2005 19:00:42 +0000 (19:00 +0000)]
IoRegisterDeviceInterface: Create nested keys one-by-one.

svn path=/trunk/; revision=15465

18 years agoAdd DeviceClasses key.
Eric Kohl [Sat, 21 May 2005 17:49:58 +0000 (17:49 +0000)]
Add DeviceClasses key.

svn path=/trunk/; revision=15464

18 years agoAdded russian translations for libs: mpr, msacm, msi, oledlg, shdocvw.
Aleksey Bragin [Sat, 21 May 2005 17:26:59 +0000 (17:26 +0000)]
Added russian translations for libs: mpr, msacm, msi, oledlg, shdocvw.
Thanks to: Mikhail Zvyzdochkin, Dmitry Phlilippov.

svn path=/trunk/; revision=15463

18 years agoSet STATUS_SUCCESS instead of STATUS_PIPE_CONNECTED in NpfsSignalAndRemoveListeningSe...
Hartmut Birr [Sat, 21 May 2005 17:05:38 +0000 (17:05 +0000)]
Set STATUS_SUCCESS instead of STATUS_PIPE_CONNECTED in NpfsSignalAndRemoveListeningServerInstance.

svn path=/trunk/; revision=15462

18 years agoRevert to rev 15172.
Hartmut Birr [Sat, 21 May 2005 17:02:38 +0000 (17:02 +0000)]
Revert to rev 15172.

svn path=/trunk/; revision=15461

18 years ago- fixed for FOR _NO_EXTENSIONS mode
Martin Fuchs [Sat, 21 May 2005 16:45:50 +0000 (16:45 +0000)]
- fixed for FOR _NO_EXTENSIONS mode
- implement ID_VIEW_SPLIT command

svn path=/trunk/; revision=15460

18 years agoRemove some debug messages at boot (DPRINT1 changed to DPRINT)
Hervé Poussineau [Sat, 21 May 2005 16:33:23 +0000 (16:33 +0000)]
Remove some debug messages at boot (DPRINT1 changed to DPRINT)
SVN maintenance in ntoskrnl/ex/: set svn:eol-style and svn:keywords properties

svn path=/trunk/; revision=15459

18 years agoOpen file with FILE_SHARE_READ in LdrLoadModule
Hervé Poussineau [Sat, 21 May 2005 15:49:48 +0000 (15:49 +0000)]
Open file with FILE_SHARE_READ in LdrLoadModule

svn path=/trunk/; revision=15458

18 years agoDon't interpret STATUS_PIPE_CONNECTED as error.
Hartmut Birr [Sat, 21 May 2005 13:39:09 +0000 (13:39 +0000)]
Don't interpret STATUS_PIPE_CONNECTED as error.

svn path=/trunk/; revision=15457

18 years agominor optimization
Thomas Bluemel [Sat, 21 May 2005 12:57:34 +0000 (12:57 +0000)]
minor optimization

svn path=/trunk/; revision=15456

18 years agoImplement ConcatenatePaths and MyGetFileTitle.
Eric Kohl [Sat, 21 May 2005 12:23:07 +0000 (12:23 +0000)]
Implement ConcatenatePaths and MyGetFileTitle.

svn path=/trunk/; revision=15455

18 years agoTerminate the process on exit in NtProcessStartup.
Hartmut Birr [Sat, 21 May 2005 12:21:30 +0000 (12:21 +0000)]
Terminate the process on exit in NtProcessStartup.

svn path=/trunk/; revision=15454

18 years agoFree all allocated memory in ObpDeleteObject.
Hartmut Birr [Sat, 21 May 2005 12:19:26 +0000 (12:19 +0000)]
Free all allocated memory in ObpDeleteObject.

svn path=/trunk/; revision=15453

18 years agoFree the capture buffer in ObReferenceObjectByName.
Hartmut Birr [Sat, 21 May 2005 12:11:54 +0000 (12:11 +0000)]
Free the capture buffer in ObReferenceObjectByName.

svn path=/trunk/; revision=15452

18 years agoSet the flag FO_DIRECT_DEVICE_OPEN after the call to IoCreateStreamFileObject in...
Hartmut Birr [Sat, 21 May 2005 12:08:46 +0000 (12:08 +0000)]
Set the flag FO_DIRECT_DEVICE_OPEN after the call to IoCreateStreamFileObject in IoCreateFile.

svn path=/trunk/; revision=15451

18 years agoFix ups and Clean ups.
James Tabor [Sat, 21 May 2005 11:29:53 +0000 (11:29 +0000)]
Fix ups and Clean ups.

svn path=/trunk/; revision=15450

18 years agoEnable built-in debug messages usage (via CONFIG_USB_DEBUG)
Aleksey Bragin [Sat, 21 May 2005 08:44:40 +0000 (08:44 +0000)]
Enable built-in debug messages usage (via CONFIG_USB_DEBUG)

svn path=/trunk/; revision=15449

18 years agoadd explorer-cz.rc to textinclude section
Martin Fuchs [Sat, 21 May 2005 07:35:03 +0000 (07:35 +0000)]
add explorer-cz.rc to textinclude section

svn path=/trunk/; revision=15448

18 years agoAdded Usb cromwell to build system.
James Tabor [Sat, 21 May 2005 02:00:52 +0000 (02:00 +0000)]
Added Usb cromwell to build system.

svn path=/trunk/; revision=15447

18 years agoFixups.
James Tabor [Sat, 21 May 2005 01:57:38 +0000 (01:57 +0000)]
Fixups.

svn path=/trunk/; revision=15446

18 years agoAdded PKEVENT to init_waitqueue_head.
James Tabor [Sat, 21 May 2005 01:53:53 +0000 (01:53 +0000)]
Added PKEVENT to init_waitqueue_head.

svn path=/trunk/; revision=15445

18 years agoAdded PKEVENT to wake_up.
James Tabor [Sat, 21 May 2005 01:39:32 +0000 (01:39 +0000)]
Added PKEVENT to wake_up.

svn path=/trunk/; revision=15444

18 years agoClean up end of line.
James Tabor [Sat, 21 May 2005 01:34:50 +0000 (01:34 +0000)]
Clean up end of line.

svn path=/trunk/; revision=15443

18 years agoAdded libusbcore.a to makefile
James Tabor [Sat, 21 May 2005 01:21:29 +0000 (01:21 +0000)]
Added libusbcore.a to makefile

svn path=/trunk/; revision=15442

18 years agoFix bus pointer for initial device
Hervé Poussineau [Fri, 20 May 2005 22:31:55 +0000 (22:31 +0000)]
Fix bus pointer for initial device

svn path=/trunk/; revision=15441

18 years agoSVN maintenance:
Hervé Poussineau [Fri, 20 May 2005 21:53:08 +0000 (21:53 +0000)]
SVN maintenance:
Set svn:eol-style and svn:keywords for files
Set svn:ignore for directories

svn path=/trunk/; revision=15440

18 years agoModify some pci_hal funcs, fix obvious errors in code
Hervé Poussineau [Fri, 20 May 2005 21:43:57 +0000 (21:43 +0000)]
Modify some pci_hal funcs, fix obvious errors in code

svn path=/trunk/; revision=15439

18 years agoImplement same behavor for cd * as ms cmd cd *
Magnus Olsen [Fri, 20 May 2005 21:33:49 +0000 (21:33 +0000)]
Implement same behavor for cd * as ms cmd cd *
Left to implement is /D options for cd then it is same level as ms win2k cmd cd

En.rc
Fix a options error for cd it did say cd -, but it it is cd .

svn path=/trunk/; revision=15438

18 years ago- Create always the output file. If no debug section exist, do not create a rossym...
Hartmut Birr [Fri, 20 May 2005 18:15:44 +0000 (18:15 +0000)]
- Create always the output file. If no debug section exist, do not create a rossym section.

svn path=/trunk/; revision=15436

18 years agoAdd new thing to cd.
Magnus Olsen [Fri, 20 May 2005 12:55:09 +0000 (12:55 +0000)]
Add new thing to cd.
Make cd pr* working

svn path=/trunk/; revision=15432

18 years agoTurned on -Werror
Art Yerkes [Fri, 20 May 2005 08:06:27 +0000 (08:06 +0000)]
Turned on -Werror
Propogate AdapterBinding rather than LogicalAdapter or MiniportBlock in places
where we handle a request since we might need the protocol that did the request
later on, get rid of LogicalAdapter completely as according to Filip, it's
never needed.

Also, remove the Packet context hack in send complete if possible as this is
now unnecessary (we now send all needed information in the work item instead).

MiniQueueWorkItem, MiniDequeueWorkItem and MiniDoRequest were all changed to
take an AdapterBinding.
Added MiniRequestComplete, which handles a request complete.

Fixed hang in ipconfig and the tcpip control panel.

svn path=/trunk/; revision=15429

18 years agoLukáš "denzil" Frolka <d3nzil@gmail.com>
Filip Navara [Fri, 20 May 2005 06:21:01 +0000 (06:21 +0000)]
Lukáš "denzil" Frolka <d3nzil@gmail.com>
Czech translation of Explorer (some settings dialogs are still untranslated).

svn path=/trunk/; revision=15428

18 years agomove the rest of the alread defined tags to the private tag.h
Steven Edwards [Fri, 20 May 2005 04:33:47 +0000 (04:33 +0000)]
move the rest of the alread defined tags to the private tag.h

svn path=/trunk/; revision=15427

18 years agostarted moving tags to a private internal header
Steven Edwards [Fri, 20 May 2005 03:50:13 +0000 (03:50 +0000)]
started moving tags to a private internal header

svn path=/trunk/; revision=15426

18 years agoRemove some debug messages at boot
Hervé Poussineau [Fri, 20 May 2005 02:46:26 +0000 (02:46 +0000)]
Remove some debug messages at boot

svn path=/trunk/; revision=15425

18 years agoIopAssignDeviceResources():
Hervé Poussineau [Fri, 20 May 2005 02:37:51 +0000 (02:37 +0000)]
IopAssignDeviceResources():
Fix translated resource list for I/O ports and memory ranges
Fix raw resource list for interrupts

svn path=/trunk/; revision=15424

18 years agoRemoved invalid . from path in this usetup ini file as a temporary fix. Next step...
Phillip Susi [Fri, 20 May 2005 02:21:53 +0000 (02:21 +0000)]
Removed invalid . from path in this usetup ini file as a temporary fix.  Next step is to remove the darn ini file entirely

svn path=/trunk/; revision=15423

18 years agoadjust case on a header. Sorry Windows users. Do not use mixed case filenames.
Steven Edwards [Fri, 20 May 2005 02:19:00 +0000 (02:19 +0000)]
adjust case on a header. Sorry Windows users. Do not use mixed case filenames.

svn path=/trunk/; revision=15422

18 years agoSet BusNumber and SlotNumber in resource requirements list
Hervé Poussineau [Fri, 20 May 2005 01:54:10 +0000 (01:54 +0000)]
Set BusNumber and SlotNumber in resource requirements list

svn path=/trunk/; revision=15421

18 years agoRemove some debug messages at boot
Hervé Poussineau [Fri, 20 May 2005 01:10:00 +0000 (01:10 +0000)]
Remove some debug messages at boot

svn path=/trunk/; revision=15420

18 years agoRemove some debug messages at boot
Hervé Poussineau [Fri, 20 May 2005 01:08:37 +0000 (01:08 +0000)]
Remove some debug messages at boot

svn path=/trunk/; revision=15419

18 years agoSet svn:keywords and svn:eol-style properties
Hervé Poussineau [Fri, 20 May 2005 00:47:16 +0000 (00:47 +0000)]
Set svn:keywords and svn:eol-style properties
Change some DPRINT1 to DPRINT in bug.c, clock.c, gate.c

svn path=/trunk/; revision=15418

18 years agoEnsure success
Alex Ionescu [Fri, 20 May 2005 00:17:35 +0000 (00:17 +0000)]
Ensure success

svn path=/trunk/; revision=15417

18 years agoFix one of the added hacks. ObpCreateHAndle not exported anymore, and win32k now...
Alex Ionescu [Thu, 19 May 2005 23:26:56 +0000 (23:26 +0000)]
Fix one of the added hacks. ObpCreateHAndle not exported anymore, and win32k now duplicates the handle nicely (Also faster since we don't have to attach/detach to csr anymore

svn path=/trunk/; revision=15416

18 years agoIoGetDeviceProperty():
Hervé Poussineau [Thu, 19 May 2005 22:04:45 +0000 (22:04 +0000)]
IoGetDeviceProperty():
Fix DevicePropertyEnumeratorName
Implement DevicePropertyPhysicalDeviceObjectName

svn path=/trunk/; revision=15415

18 years agoDon't create a new DriverObject if one is already existing
Hervé Poussineau [Thu, 19 May 2005 22:02:34 +0000 (22:02 +0000)]
Don't create a new DriverObject if one is already existing

svn path=/trunk/; revision=15414

18 years agoFix CD bug for
Magnus Olsen [Thu, 19 May 2005 15:32:22 +0000 (15:32 +0000)]
Fix CD bug for
CD "program files"
cd did only working with CD program files
now it support ""

svn path=/trunk/; revision=15410

18 years agoUnnamed objects do not have a base directory.
Alex Ionescu [Thu, 19 May 2005 05:26:35 +0000 (05:26 +0000)]
Unnamed objects do not have a base directory.

svn path=/trunk/; revision=15409

18 years agoDon't free this MDL. The I/O manager now does it for us.
Art Yerkes [Thu, 19 May 2005 03:36:20 +0000 (03:36 +0000)]
Don't free this MDL.  The I/O manager now does it for us.

svn path=/trunk/; revision=15408

18 years agoDon't free io completion packet twice
Alex Ionescu [Thu, 19 May 2005 03:24:43 +0000 (03:24 +0000)]
Don't free io completion packet twice

svn path=/trunk/; revision=15407

18 years agoCorrected uninitialized timeout variable. Will be needed later when ARP calls
Art Yerkes [Thu, 19 May 2005 02:53:52 +0000 (02:53 +0000)]
Corrected uninitialized timeout variable.  Will be needed later when ARP calls
are present in iphlpapi.

svn path=/trunk/; revision=15406

18 years agofix boot on vmware
Alex Ionescu [Thu, 19 May 2005 01:58:24 +0000 (01:58 +0000)]
fix boot on vmware

svn path=/trunk/; revision=15405

18 years agofix compiling
Alex Ionescu [Thu, 19 May 2005 01:46:49 +0000 (01:46 +0000)]
fix compiling

svn path=/trunk/; revision=15404

18 years agoRewrote usetup's file copy and cabinet extraction code to use memory mapped files
Phillip Susi [Thu, 19 May 2005 00:59:40 +0000 (00:59 +0000)]
Rewrote usetup's file copy and cabinet extraction code to use memory mapped files
This increased performance and the code is cleaner
Still needs a bit more cleaning up, but so far, looks good, needs some testing

svn path=/trunk/; revision=15403

18 years agoBasic resources device allocation (doesn't prevent conflicts)
Hervé Poussineau [Wed, 18 May 2005 22:05:11 +0000 (22:05 +0000)]
Basic resources device allocation (doesn't prevent conflicts)
Send allocated resources in IRP_MN_START_DEVICE

svn path=/trunk/; revision=15402

18 years agoUse translated resources list to get informations about interrupt
Hervé Poussineau [Wed, 18 May 2005 21:48:41 +0000 (21:48 +0000)]
Use translated resources list to get informations about interrupt

svn path=/trunk/; revision=15401

18 years agoRevert accidental commit
Alex Ionescu [Wed, 18 May 2005 21:28:12 +0000 (21:28 +0000)]
Revert accidental commit

svn path=/trunk/; revision=15400

18 years agoImplement IRP_MN_QUERY_RESOURCE_REQUIREMENTS
Hervé Poussineau [Wed, 18 May 2005 21:23:54 +0000 (21:23 +0000)]
Implement IRP_MN_QUERY_RESOURCE_REQUIREMENTS

svn path=/trunk/; revision=15399

18 years agoSwdish translations by irc:anders1 proofread by Andreas Bjerkeholt, Wacko and by...
Magnus Olsen [Wed, 18 May 2005 20:19:22 +0000 (20:19 +0000)]
Swdish translations by irc:anders1 proofread by Andreas Bjerkeholt, Wacko and by Me (GreatLord)

svn path=/trunk/; revision=15398

18 years agoSwdish translations by irc:anders1 proofread by Andreas Bjerkeholt
Magnus Olsen [Wed, 18 May 2005 19:58:27 +0000 (19:58 +0000)]
Swdish translations by irc:anders1 proofread by Andreas Bjerkeholt

svn path=/trunk/; revision=15397

18 years agoSwdish translations by irc:anders1 proofread by Andreas Bjerkeholt
Magnus Olsen [Wed, 18 May 2005 19:46:40 +0000 (19:46 +0000)]
Swdish translations by irc:anders1 proofread by Andreas Bjerkeholt

svn path=/trunk/; revision=15396

18 years agoObject Manager Patch. This patch continues the work done in the previous patch and...
Alex Ionescu [Wed, 18 May 2005 19:26:47 +0000 (19:26 +0000)]
Object Manager Patch. This patch continues the work done in the previous patch and makes the following changes in order to support OB 2.0 (it basically temporarily fixes a highly incorrect implementation so that caller code will be ready to work with the OB 2.0 without change):

1) The documented Object Create Information Structure and semantics implemented. All Object Attributes and passed data from user-mode is now probed and saved into this object create structure when ObCreateObject is called.
2) ObCreateObject does NOT PERFORM ANY OTHER OPERATION EXCEPT CREATING THE OBJECT ANYMORE. ObCreateObject will NOT insert the Object into the tree and other operations. These are now done correctly by ObInsertObject. Therefore, the biggest hurdle was changing pieces of code which assumed ObCreateObject would be enough.
3) ObInsertObject uses the captured create info for all operations isntead of the Object Attributes.
4) ObFindObject now uses the captured info as well.
5) The OBject name and directory are now stored in the documented Object Name Information, always allocated and freed from non paged pool.

HACKS:
5) Because the registry code is horribly broken and doesn't use ObFindObjectByName, the old ObFindObject had to be temporarily duplicated into CmpFindObject.
7) Win32k used ObInsertObject in CsrInsertObject as a way to create a handle inside csrss. However, OBInsertObject now does more then this. As a temporary hack, ObpCreateHandle is exported from the kernel and called from win32k. A fix needs to be done for this, but I don't know the design of win32k+csrss well enough to find a solution.
8) SEH has been commented out in some places of the new probing code because it breaks smss and explorer. These need to be investigated (seh did not exist in the previous code, so this is not really a hack)
9) Named objects with a parent directory are NOT allowed. However because of bugs in kernel32, the new check has been temporarily disabled. (this check did not exist in the previous code, so this is not really a hack)

The next patch will add a proper ObFindObject which will support a more complete Parse Procedure with context and security information. This is needed for proper registry access (requested by Eric Kohl) and for proper functionality of the Desktop/File creation, which should use the Parse routine, and not the Create Handle Routine. This will also make it possible to remove some previous hacks and pave the way for a fixed Iop/IoCreateFile

svn path=/trunk/; revision=15395

18 years agoPrettify usetup a bit, show a warranty page before continuing installation (not a...
Alex Ionescu [Wed, 18 May 2005 19:08:00 +0000 (19:08 +0000)]
Prettify usetup a bit, show a warranty page before continuing installation (not a license agreement, simply a message stating this is a beta foss product with no warranty), make progressbars have a double border and change the copy file dialog a bit. Also changed setupldr and ntoskrnl to have a more unified text-mode look/appearance when installing. The effect is really nice and the blue screen with gray status-bar appears as soon as the CD boots and takes you all the way to usetup without any breakages or black/blue/black/blue fades and confusing messages. Also, fixed ntoskrnl not to break into KDBG if /NODEBUG is set.

svn path=/trunk/; revision=15394

18 years agoFix usetup. This hack needs to remain even though it's incorrect since it's what...
Alex Ionescu [Wed, 18 May 2005 17:17:34 +0000 (17:17 +0000)]
Fix usetup. This hack needs to remain even though it's incorrect since it's what ROS expects. I am working on rewriting IoCreateFile so these hacks can go away. Please do not remove it

svn path=/trunk/; revision=15392

18 years agoFix unicode / ansi build problem for -D_DEBUG build
Magnus Olsen [Tue, 17 May 2005 21:18:04 +0000 (21:18 +0000)]
Fix unicode / ansi build problem for -D_DEBUG build
a old bug in cmd.
Bug report 629 in bugzila
fix by tinus and his patch at bugzila

svn path=/trunk/; revision=15390

18 years agoImplement mouse packet timeout. Fixes right-click menu appearing incorrectly on qemu...
Alex Ionescu [Tue, 17 May 2005 20:51:39 +0000 (20:51 +0000)]
Implement mouse packet timeout. Fixes right-click menu appearing incorrectly on qemu if debuggins is used. Patch by Tinus

svn path=/trunk/; revision=15389

18 years agomake cabman report error when file doesnt exist. Patch by Usurp
Alex Ionescu [Tue, 17 May 2005 20:43:27 +0000 (20:43 +0000)]
make cabman report error when file doesnt exist. Patch by Usurp

svn path=/trunk/; revision=15388