Commit graph

42381 commits

Author SHA1 Message Date
Sylvain Petreolle 0ddb991b14 Hardcode GeckoCabDir to C:\ReactOS.
the mshtml installer now wants a REG_SZ string for it, which excludes using %SystemRoot%.

Fixes bootcdregtest.

svn path=/trunk/; revision=47055
2010-04-28 19:15:17 +00:00
Eric Kohl 1a9d9f441c [MKHIVE/USETUP]
- Fix buffer size calculation for the parser.
- Do not try to execute an empty registry instruction
Patches by Roel Messiant.

- Stop the parser at the first NULL character.
Patch by me.

svn path=/trunk/; revision=47053
2010-04-28 11:35:34 +00:00
Cameron Gutman 9adb79a0d9 [FREELDR]
- Remove the useless function MachDiskNormalizeSystemPath
- Rewrite DiskGetBootPath to be much less hacky (but still not hack free)
- Freeloader doesn't have to be installed on multi(0)disk(0)rdisk(0)partition(1) (IDE primary master) anymore :)
- Freeloader successfully booted ROS after loading itself from multi(0)disk(0)rdisk(1)partition(1)

svn path=/trunk/; revision=47052
2010-04-28 03:07:21 +00:00
Cameron Gutman 5f783c4e2d [FREELDR]
- Set the partition count to 0 for a floppy drive so it can be told apart from a cd-rom drive
- Add a last-chance sector size detection algorithm based on the partition number
- Add the same detection code to the xbox code too (it is essentially the same as what was already there just with more comments)
- Change DiskNormalizeSystemPath so it doesn't try to "normalize" a floppy boot path
- Fixes bug #5233

svn path=/trunk/; revision=47051
2010-04-27 22:12:11 +00:00
Eric Kohl d39102cd83 [MKHIVE]
- Add RegDeleteKeyW stub.
- Implement RegDeleteKeyA so that it calls RegDeleteKeyW.

svn path=/trunk/; revision=47050
2010-04-27 21:47:54 +00:00
Michael Martin 02c3f0fa12 [ntoskrnl/io]
- Check for null pointers before attempting to copy or free memory.

svn path=/trunk/; revision=47049
2010-04-27 13:41:37 +00:00
Michael Martin 60eddf5657 [ntoskrnl\mm]
- Fix a continuous loop bug in MiWriteProtectSystemImage.

svn path=/trunk/; revision=47048
2010-04-27 13:35:52 +00:00
Aleksey Bragin e2463c955c [KMTEST]
- Add KeStallExecutionProcessor test.

svn path=/trunk/; revision=47047
2010-04-27 13:06:42 +00:00
Daniel Reimer 2e62657924 Update rapps Database to recent Versions.
svn path=/trunk/; revision=47046
2010-04-27 06:31:32 +00:00
Jérôme Gardou 59ed1a68f0 [GDI32]
- This wasn't a fix, it was code readability.
Thanks to physicus for having pointed it.

svn path=/branches/reactos-yarotows/; revision=47045
2010-04-26 22:07:01 +00:00
Jérôme Gardou 1b5e323072 [GDI32]
- Use device string when given one in IntCreateDIC
[WIN32K]
  - Exchange pdevmode when excahnging PDEVOBJ pointers
  - Update Globals gdi devcaps when switching mode if ppdev is the primary surface

svn path=/branches/reactos-yarotows/; revision=47044
2010-04-26 21:49:09 +00:00
Johannes Anderwald 42c28cc44f [SHELL32]
- Start implementing file copy / move / delete dialog
- Not yet enabled

svn path=/trunk/; revision=47043
2010-04-26 19:50:11 +00:00
Gregor Schneider 0554e844fc [EXPLORER] Add missing 24bpp start menu icon, created by Gabriel Ilardi
See issue #5007 for more details.

svn path=/trunk/; revision=47042
2010-04-26 19:01:37 +00:00
Gregor Schneider 5d4a67e625 [NETSHELL] Fix LAN status icon resource
See issue #3813 for more details.

svn path=/trunk/; revision=47041
2010-04-26 18:30:08 +00:00
Eric Kohl 93b98b3f84 [MKHIVE]
Revert remaining changes of r47019.

svn path=/trunk/; revision=47040
2010-04-26 16:06:17 +00:00
Timo Kreuzer cc87229eb8 Comment out an ASSERT that gets trigged frequently.
See issue #5320 for more details.

svn path=/trunk/; revision=47039
2010-04-26 15:46:16 +00:00
Eric Kohl 3a0805b27a [MKHIVE]
Partial revert of r47019 because mkhive failed on Linux machines.

svn path=/trunk/; revision=47038
2010-04-26 15:35:57 +00:00
Eric Kohl 9721d8084b [USETUP]
- Use newinflib instead of inflib.
- Pass the user-selected language to the inf parser.
- Convert registry code from ANSI APIs to UNICODE APIs.
ATTENTION: This commit might break the build bot because it was not tested on a Linux system.

svn path=/trunk/; revision=47037
2010-04-26 15:10:23 +00:00
Giannis Adamopoulos 17557bfabd [win32k]
-rename w32k.h to win32k.h and win32k.h to win32kp.h

svn path=/trunk/; revision=47036
2010-04-26 13:58:46 +00:00
Johannes Anderwald 5fb94ed717 [USERINIT]
- Fix Startup Folder
- ShellExecuteEx needs lots of work
See issue #4568 for more details.

svn path=/trunk/; revision=47035
2010-04-26 13:58:09 +00:00
Johannes Anderwald 3c0e9dffbc [SHELL32]
- Assume it is an empty cdrom drive when there is no root mounted

See issue #2977 for more details.

svn path=/trunk/; revision=47033
2010-04-26 12:56:32 +00:00
Johannes Anderwald 5367720c46 [SHELL32]
- Let explorer open control panel class folder when there is no default action

See issue #4916 for more details.

svn path=/trunk/; revision=47032
2010-04-26 12:26:31 +00:00
Johannes Anderwald dd0a9f5d5f [SHELL32]
- Rewrite enumerating folder options file type dialog

svn path=/trunk/; revision=47031
2010-04-26 10:38:15 +00:00
Johannes Anderwald 224b244395 - Fix file type description
svn path=/trunk/; revision=47030
2010-04-26 09:37:08 +00:00
Cameron Gutman 540e5b6f31 [NTOSKRNL]
- Create a helper function named OpenRegistryHandlesFromSymbolicLink which opens handles to various paths associated with a symbolic link
- Store the Linked value in IoSetDeviceInterfaceState
- Implement checking if an interface is enabled by reading the Linked value
- Interfaces reported from IoGetDeviceInterfaces are only active ones now (unless the caller explicitly says that they want disabled ones too)

svn path=/trunk/; revision=47029
2010-04-26 04:54:25 +00:00
Cameron Gutman 770cc844b0 [NTOSKRNL]
- Revert r46682
- The NULL terminator is not supposed to be included in the length
- Fixes corruption when printing the symbolic link

svn path=/trunk/; revision=47028
2010-04-26 04:18:11 +00:00
Timo Kreuzer b5a39d6dd1 [WIN32CSR]
- Rewrite harderror handling.
The old code was a monster function, leaking memory, using ansi rather than unicode strings and not getting this right. It was also vulnerable to attacks, making csrss crash, when corrupt parameters were sent.

svn path=/trunk/; revision=47027
2010-04-26 01:23:21 +00:00
Timo Kreuzer 89a4d76d9d [STRSAFE]
Add strsafe.h from amd64 branch.

svn path=/trunk/; revision=47026
2010-04-26 00:41:09 +00:00
Cameron Gutman 9bab4055b3 [OSKITTCP]
- Add a sanity check
- Dedicated to Caemyr

svn path=/trunk/; revision=47024
2010-04-25 21:00:04 +00:00
Cameron Gutman fd9406974e [AFD]
- Add some sanity checks

svn path=/trunk/; revision=47023
2010-04-25 20:51:07 +00:00
Eric Kohl 79b5a24bd4 [MKHIVE]
Fix a buggy format string (%s --> %S).
Add _wcsicmp to rtl.c.

svn path=/trunk/; revision=47022
2010-04-25 20:49:29 +00:00
Gregor Schneider 3bb199b692 [MKHIVE] wcsicmp -> _wcsicmp, should fix buildbot build
svn path=/trunk/; revision=47021
2010-04-25 20:26:37 +00:00
Cameron Gutman 98acf217f9 [WS2_32]
- Add support for reading the hosts file
- Fix an off-by-one error which prevented reading the last value in the services file
- Fixes bug 4410 and bug 4880

svn path=/trunk/; revision=47020
2010-04-25 20:01:59 +00:00
Eric Kohl 318eee8241 [MKHIVE]
- Use newinflib instead of inflib.
- Add RegDeleteKeyW stub.
- Convert registry generation code from ANSI APIs to UNICODE APIs.
ATTENTION: This commit might break the build bot because it was not tested on a Linux system.

svn path=/trunk/; revision=47019
2010-04-25 19:54:57 +00:00
Eric Kohl f995cc4ea6 [NEWINFLIB]
- Use LANGID instead of LCID.
- Move LANGID and language macros into the host typedefs header.
- Remove dead code.

svn path=/trunk/; revision=47018
2010-04-25 19:20:59 +00:00
Cameron Gutman 6ebb4c8c3b [HOSTS]
- Add a simple hosts file
- Not used yet

svn path=/trunk/; revision=47017
2010-04-25 18:36:15 +00:00
Eric Kohl 0225b59c2d [NEWINFLIB]
Add a UNICODE-aware version of the inflib library.
It is not used by other components yet but usetup and mkhive will use it in the future.
ATTENTION: This commit might break the build bot because I could not test a build on a Linux system.

svn path=/trunk/; revision=47016
2010-04-25 15:58:34 +00:00
Gregor Schneider 49496ddec6 [SYSSETUP]
- Create a modeless syssetup dialog so we can explicitly ignore intermediate WM_CLOSE messages (modal property sheets handle them automatically)
See issue #4960 for more details.

svn path=/trunk/; revision=47011
2010-04-25 12:13:01 +00:00
Gregor Schneider b8998128ea [NETCFGX]
- Save DHCP and DNS settings from the basic TCP/IP panel independently of each other
See issue #5193 for more details.

svn path=/trunk/; revision=47010
2010-04-25 10:47:10 +00:00
Gregor Schneider 8ba6c78a50 [NETCFGX]
- Improve the DNS data exchange between the basic IP settings and the advanced DNS panel
- Simplify LaunchAdvancedTcpipSettings

svn path=/trunk/; revision=47009
2010-04-25 10:45:06 +00:00
Cameron Gutman 740cd5ef90 [IP]
- Don't try to close the connection again if it has already been terminated by the remote peer

svn path=/trunk/; revision=47007
2010-04-24 22:37:45 +00:00
Gregor Schneider d35aa96218 [NETSHELL]
- Load all LAN status icons with the same size
- Only set the status icon if the icon occurred, don't set NULL icons (properties of LAN adapter window)
See issue #3813 for more details.

svn path=/trunk/; revision=47006
2010-04-24 18:12:31 +00:00
Gregor Schneider 9986cfddd8 [NETSHELL] Fix some German resources:
- Use BS_MULTILINE instead of embedding newline characters into text
- Make groupboxes and text fit into the window

svn path=/trunk/; revision=47005
2010-04-24 18:08:11 +00:00
Johannes Anderwald 16910e9140 [RBUILD]
- Fix cleaning of msvc 10 project files

svn path=/trunk/; revision=47004
2010-04-24 08:51:07 +00:00
Timo Kreuzer ee1d26e73c [FORMATTING]
- Apply consistent indentation

svn path=/trunk/; revision=47003
2010-04-23 22:16:59 +00:00
Timo Kreuzer 14347c75ad Disable gdi batch for SelectObject with fonts. Fixes font regression.
svn path=/trunk/; revision=46998
2010-04-22 22:28:49 +00:00
Cameron Gutman 1e1d4a34ac [NTOSKRNL]
- Add a stub for IRP_MN_REMOVE_DEVICE in PnpRoot
- Revert 2 incorrect changes from r46983 (DNF_ENUMERATED added to the DNF_ADDED assertion and setting the DNF_RESOURCE_REPORTED flag in IopStartDevice2)
- Set the DNF_LEGACY_DRIVER flag if the AddDevice handler is missing
- Add a helper function called IopSendRemoveDevice which sends IRP_MN_REMOVE_DEVICE to a device object
- Call IopSendRemoveDevice if IRP_MN_START_DEVICE fails
- Set the DNF_STARTED and DNF_ADDED flags for legacy drivers
- Enable the DNF_ADDED assertion in IopStartDevice2

svn path=/trunk/; revision=46997
2010-04-22 21:07:46 +00:00
Cameron Gutman c0d168b15a [PCI]
- Forward IRPs to our PDO instead of just completing them
- Handle IRP_MN_START_DEVICE on the way back up the stack (allows the PDO code to assign resources to the bus)
- Add some synchronous IRP forwarding copied from i8042prt

svn path=/trunk/; revision=46996
2010-04-22 20:35:58 +00:00
Timo Kreuzer 99d15ff5ab Update TODO.txt
svn path=/branches/reactos-yarotows/; revision=46995
2010-04-22 19:14:15 +00:00
Giannis Adamopoulos 0e1eed4d24 [win32csr]
-Handle WM_DISPLAYCHANGE

svn path=/branches/reactos-yarotows/; revision=46994
2010-04-22 19:10:46 +00:00