Commit graph

28577 commits

Author SHA1 Message Date
Aleksey Bragin bec1436ca2 - Silence non-critical debug output.
svn path=/trunk/; revision=31158
2007-12-11 18:31:13 +00:00
Thomas Bluemel 1e9c10e4a5 Fix a buffer overflow accessing the pKeepAce array in AccRewriteSetEntriesInAcl
svn path=/trunk/; revision=31157
2007-12-11 17:52:30 +00:00
Thomas Bluemel f4985fcee6 Correctly preserve and restore last error code in AccRewriteSetEntriesInAcl
svn path=/trunk/; revision=31156
2007-12-11 17:49:49 +00:00
Thomas Bluemel 39103628df Replace GetOwner helper function with the already existing AccpGetAceSid function and enhance it to also support SYSTEM_MANDATORY_LABEL_ACE_TYPE
svn path=/trunk/; revision=31155
2007-12-11 17:22:34 +00:00
Hervé Poussineau fc12d1bd8e Partly implement AccRewriteSetEntriesInAcl()
See issue #2707 for more details.

svn path=/trunk/; revision=31153
2007-12-11 17:07:56 +00:00
Peter Ward be34a30321 - Remove unused variable.
svn path=/trunk/; revision=31152
2007-12-11 17:04:48 +00:00
Aleksey Bragin 4f78e4d3d0 - Forgot the changelog update.
svn path=/trunk/; revision=31151
2007-12-11 16:26:48 +00:00
Aleksey Bragin 337eef1b8c - Fix a bug in CmpCreateLinkNode when the link node alredy exists.
- Add some checks in CmpDoOpen to protect against illegal opens.
- Handle symlinks instead of ignoring them (fixes CurrentControlSet problem).
- Set disposition if this is an open due to a create.

svn path=/trunk/; revision=31150
2007-12-11 16:21:13 +00:00
Aleksey Bragin 23979cefb4 - Update copyright information.
- Bump version to 3.0.

svn path=/trunk/; revision=31148
2007-12-11 15:59:58 +00:00
Aleksey Bragin f7ee432ae4 - Remove all registry-writing code from FreeLDR.
- Create an empty volatile HARDWARE hive in the Kernel, and build it based on the ARC tree.

svn path=/trunk/; revision=31146
2007-12-11 15:50:30 +00:00
Aleksey Bragin 2ebd2df13f - Don't build the HARDWARE hive in FreeLDR anymore.
svn path=/trunk/; revision=31145
2007-12-11 15:32:24 +00:00
Aleksey Bragin afa05f7c36 - Add missing types to DDK.
- Fix FldrSetconfigurationData: ARC Configuration Data is a CM_PARTIAL_RESOURCE_LIST, not a CM_FULL_RESOURCE_DESCRIPTOR!
- The Interface Types for PCI BIOS and PCI IRQ Routing Table are Internal, not PCIBus.
- Disk drives are Internal, not Unknown.
- Replace CmpDumpHardwareTree by CmpSetupConfigurationTree which now calls CmpInitializeRegistryNode (a function previously used to build the CPU ARC nodes previously in the kernel). We now write the ARC tree in the HARDWARE\Description\System key.

svn path=/trunk/; revision=31144
2007-12-11 15:12:05 +00:00
Hervé Poussineau ae400012d9 Don't fail if 'HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\MultifunctionAdapter' key does not exist
svn path=/trunk/; revision=31143
2007-12-11 14:03:12 +00:00
Hervé Poussineau 5692e5315f Get some more details about interrupt in resource list.
This lets ne2000 share its interrupt with another device

svn path=/trunk/; revision=31141
2007-12-11 12:58:05 +00:00
Christoph von Wittich b3b1b632cb updated german translation
svn path=/trunk/; revision=31140
2007-12-11 11:28:22 +00:00
Hervé Poussineau 048409d7cb Handle AddReg and DelReg in Service section
svn path=/trunk/; revision=31139
2007-12-11 10:26:45 +00:00
Daniel Reimer 1eb3fdd821 Bug 2881 : Bulgarian translation of ReactOS. (sstpr<AT>narod<DOT>ru)
Bug 2882 : Ukrainian translation update. (temarez<AT>yandex<DOT>ru) 

svn path=/trunk/; revision=31138
2007-12-11 08:34:28 +00:00
Daniel Reimer 010b5920af Bug 2881 : Bulgarian translation of ReactOS. (sstpr<AT>narod<DOT>ru)
Bug 2882 : Ukrainian translation update. (temarez<AT>yandex<DOT>ru)

svn path=/trunk/; revision=31137
2007-12-11 08:34:27 +00:00
James Tabor 4a4580c880 Add stub patch for RegDeleteKeyExA/W by Stefan100 stefan__100__ at hotmail.com from IRC.
svn path=/trunk/; revision=31136
2007-12-11 05:33:31 +00:00
Aleksey Bragin 080cda6bc6 Andrey Korotaev <unc0rr@gmail.com>:
- Fix possible infinite looping in kdbg (happening e.g. when moving mouse in a reactos in qemu which entered the debugger).

svn path=/trunk/; revision=31135
2007-12-10 23:01:50 +00:00
Aleksey Bragin f64694318d - Create an empty configuration tree for Xbox machine, so that ReactOS-Xbox is able to boot further.
svn path=/trunk/; revision=31134
2007-12-10 21:11:16 +00:00
Aleksey Bragin 4529c9c1ff - Improve the FreeLDR->NTLDR conversion layer by now converting the ARC Hardware Tree.
- Apply relocation-style fixups to convert from FreeLDR to Kernel Addresses, since a contiguous buffer was used in FreeLDR, which means we only need to add a delta to each FreeLDR pointer to get the Kernel pointer.
- Don't assert if we receive an ARC tree, since we now do! Instead, pretty-print it to the debug log.
- Remove some registry debug spew.

svn path=/trunk/; revision=31133
2007-12-10 21:01:45 +00:00
Magnus Olsen 4b25246719 Fix some typo in Main_DirectDraw_QueryInterface
svn path=/trunk/; revision=31132
2007-12-10 20:29:51 +00:00
Aleksey Bragin a1c2403f66 - Pass ARC Hardware Tree in SetupLDR too.
- Zero-initialize memory from the Hardware Heap, just to be sure.
- Don't set the Version/Key/Affinity when creating the system node, let the caller do this.
- Fix the way components were added in the tree, it was busted.
- Enable setting of component information for the APM and ACPI component nodes. This was #if'ed out because it crashed the kernel while PnP was getting bus information for ATAPI/SCSIPORT, since the nodes had no component data. Add some component data to remove the crash, and then enable component information.
- The Real Mode IRQ Routing Table is a Peripheral Class, not a System Class.
- Enable the code to create component nodes for each PCI Bus, it was #if'ed out ages ago.
- Don't create any component data for the PCI BIOS, it doesn't have any.
- Create component data for the first PCI Bus component node based on the PCI_REGISTRY_INFO strucutre.
- Fix the way the BIOS Hard disk Peripheral nodes are created.
- Always create the DiskController node with floppy disk information, but don't do actual floppy detection if no floppies are there.
- Fix flags for Floppy Peripheral nodes.
- Fix vector for Floppy Peripheral node.
- Set component information for each BIOS hard disk peripheral node.
- Fix component information for Serial Peripherals, they were being created on the Serial Controller node instead.
- Set empty component information for the system node.
- TODO: Setup ACPI and APM Bios descriptor information.
- TODO: Setup ROM BIOS Block descriptor information.

svn path=/trunk/; revision=31131
2007-12-10 20:28:31 +00:00
Marc Piulachs 82b5e2eb8b * refactor the code to make it more OOP and extensible
* remove old outdated SD project files
* make it use some .NET 2.0 features as generic collections and settings 

svn path=/trunk/; revision=31130
2007-12-10 19:08:13 +00:00
Christoph von Wittich 588f8770cd Alexandre Julliard : Fix a compiler warning. <julliard at winehq.org>
svn path=/trunk/; revision=31129
2007-12-10 18:49:56 +00:00
Dmitry Chapyshev dfb70fc664 - Add icons for buttons on "Hardware Profiles" dialog
svn path=/trunk/; revision=31128
2007-12-10 18:20:02 +00:00
Dmitry Chapyshev 44d081e116 - Add some headers from wine
svn path=/trunk/; revision=31127
2007-12-10 17:46:08 +00:00
Marc Piulachs 11a1266b23 Add MSVC8 solution and project files
svn path=/trunk/; revision=31126
2007-12-10 15:48:02 +00:00
Marc Piulachs e34176dc58 * not quite ok , fix inconsistencies in spanish translation
* update catalan translation

svn path=/trunk/; revision=31124
2007-12-10 14:34:52 +00:00
Colin Finck acd9e9c3a1 Spanish translation for "find" by Grant A. Brady (bragr AT bradphi DOT com) with some fixes by encoded.
See issue #2880 for more details.

svn path=/trunk/; revision=31123
2007-12-10 14:24:42 +00:00
Christoph von Wittich 563fc21e30 fix a typo
svn path=/trunk/; revision=31122
2007-12-10 12:21:51 +00:00
Christoph von Wittich f02a249d62 fix redzone overwrite when launching solitaire
ntoskrnl\mm\/rpoolmgr.h(707): High-side redzone overwrite detected for paged pool address 0x8d882000
Tag   th(68742020), Size 4148, UserSize 4096, LoZone 87878787, HiZone 00000000

svn path=/trunk/; revision=31121
2007-12-10 09:57:30 +00:00
Magnus Olsen 13dc179a11 patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
Fixed Main_DirectDraw_GetDisplayMode for dx1, dx2 
Fixed some compile warnings 







svn path=/trunk/; revision=31120
2007-12-10 07:34:54 +00:00
Dmitry Chapyshev ce09f0b1a4 - Update Russian translation
svn path=/trunk/; revision=31119
2007-12-10 07:19:34 +00:00
Christoph von Wittich f4081a9668 Alexander Nicolaysen Sørnes : Localize 'new folder' string. <alex at thehandofagony.com>
svn path=/trunk/; revision=31118
2007-12-10 07:06:29 +00:00
Thomas Bluemel 2ef4f7e239 _findnext is already implemented. Fixes a crash during Abiword startup
svn path=/trunk/; revision=31117
2007-12-10 05:07:47 +00:00
Aleksey Bragin 222172277b - Because we'll need to pass the ARC hardware information to the kernel, we need to use the usual FreeLDR trick of using a static buffer where to store the data instead of allocating memory. But, unlike our other data, this kind of information is variably-sized, and it's not possible to make arrays of arrays and start assuming upper bounds. Therefore, give us a large 16KB stash buffer, and implement a very simple array-based heap allocator so that all the ARC hardware memory will be contiguous and static as the kernel will expect it.
- Copy all configuration data, identifiers and other data passed to the arc hardware routines into a new location. This is because the caller will free this information, and we want to keep it in memory. We also want it to be contiguous and part of our stash buffer, so allocate the copies from the stash buffer described above.
- Store the root of the hardware tree in the ArchExtra ReactOS Loader Parameter Block, the kernel's freeldr->ntldr conversion routines will later deal with this data.

svn path=/trunk/; revision=31116
2007-12-09 22:57:40 +00:00
Aleksey Bragin 4fa42fad47 - Further refactor the code by completing getting rid of the registry key parameters and work only with ARC configuration component nodes; the registry key is now hidden in an opaque structure from the rest of the code.
- Fix some bugs in the ARC component node creation.

svn path=/trunk/; revision=31115
2007-12-09 22:09:37 +00:00
Aleksey Bragin 35d35bd7e9 - Start filling out ARC component data nodes for all the new refactored hardware node APIs (these are just dummies for now).
svn path=/trunk/; revision=31114
2007-12-09 21:49:17 +00:00
Aleksey Bragin 0e2f7faae4 - Refactor creation of component data under the HARDWARE\DESCRIPTION node to use separate routines in a new ARC file, so that registry routines are factored out of the process. This allows 1) Better portability with PPC branch (which will need to do the same kind of hardware work) 2) Ability to eventually get rid of the registry calls and build a true ARC hardware device tree instead (which the kernel will have to parse during boot). The idea is to remove registry writing support from freeldr (because the code is old and freeldr shouldn't be touching the registry anyway). Patch by Alex.
svn path=/trunk/; revision=31113
2007-12-09 20:17:56 +00:00
Aleksey Bragin a0da7760d4 - Our NtCreateKey currently allows building trees (which is incorrect) if the parent key is a symbolic link (which does exist), but if the target doesn't exist (Since the check 'does parent exist' is done Before the symlink is converted to its target. One side-effect is that although we create the CurrentControlSet symlink to ControlSet001, we never create ControlSet001. We end up creating it later during the boot by creating a sub-key, by exposing the bug in NtCreateKey. Since the new NtCreateKey uses the new parse routine code and doesn't exhibit this bug, we have to create ControlSet001 manually to avoid a failure. Other bugs of this nature may exist. Bug found and fixed by Alex.
- Implement the last bit of the new parse routine (creating children) and write a new version of NtCreateKey which uses the parse routine. Disable it for now until other latent bugs are fixed.

svn path=/trunk/; revision=31112
2007-12-09 19:36:04 +00:00
James Tabor 9f375e0914 Prevent crash in gdibatch.
svn path=/trunk/; revision=31111
2007-12-09 18:45:13 +00:00
Hervé Poussineau 709089678a CurrentControlSet should already be created at this point.
svn path=/trunk/; revision=31110
2007-12-09 18:07:33 +00:00
Christoph von Wittich 0b9eeb1205 fix a bug in ScConnectControlPipe
svn path=/trunk/; revision=31109
2007-12-09 18:05:02 +00:00
Christoph von Wittich 64e05ea20e Andrew Talbot : advapi32: Explicitly initialize nested array element. <Andrew.Talbot at talbotville.com>
svn path=/trunk/; revision=31108
2007-12-09 15:46:24 +00:00
Christoph von Wittich bdd068e087 regedit: Correctly parse key name containing ']' when deleting/exporting. <thestig at google.com>
svn path=/trunk/; revision=31107
2007-12-09 15:34:14 +00:00
Christoph von Wittich e24f9c4632 Lei Zhang : regedit: Allow entering - for a key in a . reg file to delete that key. <thestig at google.com>
Lei Zhang : regedit: Removed dead code from regproc.c. <thestig at google.com>

svn path=/trunk/; revision=31106
2007-12-09 15:31:41 +00:00
Christoph von Wittich 04b04c90ab forgot to save this one before committing
svn path=/trunk/; revision=31105
2007-12-09 14:16:49 +00:00
Christoph von Wittich 609e6d2ac0 Dmitry Timoshkov : wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. <dmitry at codeweavers.com>
svn path=/trunk/; revision=31104
2007-12-09 14:15:31 +00:00