Commit graph

48452 commits

Author SHA1 Message Date
Rafal Harabien bbb7e15b76 [LIBPNG] - Update libpng to 1.55. Patch by Elton Chung <elton328 [at] gmail [dot] com>.
See issue #6524 for more details.

svn path=/trunk/; revision=53922
2011-10-02 11:55:40 +00:00
Pierre Schweitzer 936342e048 [EXPLORER-NEW]
Fix memory leak

svn path=/trunk/; revision=53921
2011-10-02 11:38:22 +00:00
Amine Khaldi aa3e500d16 [ROSAPPS/SCREENSAVERS]
* Add a new Starfield screensaver. By Carlo Bramini (carlo DOT bramix AT libero DOT it).
* Adapted the build system files to get it to compile with current trunk.
See issue #6270 for more details.

svn path=/trunk/; revision=53920
2011-10-01 21:28:47 +00:00
Amine Khaldi 41cb7c488d [ADVAPI32]
* Sync CryptEnumProvidersW. Fixes some HKEY leaks.
See issue #6237 for more details.

svn path=/trunk/; revision=53919
2011-10-01 21:02:14 +00:00
Amine Khaldi ac527f3889 [HEADERS/CRT]
* We don't need this guard anymore.

svn path=/trunk/; revision=53918
2011-10-01 20:23:05 +00:00
Amine Khaldi a817cca680 [HEADERS/CRT]
* Properly check for clang.

svn path=/trunk/; revision=53917
2011-10-01 20:14:15 +00:00
Cameron Gutman a128b2a0d5 [NTOSKRNL]
- Print a message if something goes wrong during the loading process

svn path=/trunk/; revision=53916
2011-10-01 17:54:42 +00:00
Timo Kreuzer fee9838d50 [FREELDR]
Replace the fake export table with the real export table of freeldr, when loading ntbootdd.sys

svn path=/trunk/; revision=53915
2011-10-01 12:50:33 +00:00
Timo Kreuzer 6130e7f546 [FREELDR]
use a dll instead of an exe for the freeldr_pe and setupldr_pe targets and add a spec file to export scsiport stuff. This is the first step in cleaning up the scsiport import hack in freeldr

svn path=/trunk/; revision=53914
2011-10-01 12:14:45 +00:00
Cameron Gutman 21ee8eb586 [ACPI]
- Implement AcpiOsGetPhysicalAddress
- Make sure that AcpiOsGetThreadId returns a non-zero value

svn path=/trunk/; revision=53913
2011-10-01 07:19:57 +00:00
Cameron Gutman 90027438d1 [NTOSKRNL]
- Add more debugging during driver loading (not enabled by default)

svn path=/trunk/; revision=53912
2011-10-01 04:56:14 +00:00
Cameron Gutman 47c6809ec3 [I8042PRT]
- Enable all interrupts at the same time to avoid a condition where the controller stops responding to KBD_READ_MODE on some systems
- See bug #6271 for details

svn path=/trunk/; revision=53911
2011-09-30 23:01:45 +00:00
Dmitry Gorbachev 1ef964c116 [FREELDR]
Fill .bss with 0s at startup. Bug #6523.

svn path=/trunk/; revision=53910
2011-09-30 22:15:08 +00:00
Aleksey Bragin 921e734833 [NTOS/MM]
- Implement MiInitializePfnAndMakePteValid() which is basically MiInitializePfn() combined with making PTE valid and some other changes.
- Don't initialize PTE and pass valid PTE for initialization to MiInitializePfn() when allocating a page in special pool, this is wrong. Instead call a function designed to do this - MiInitializePfnAndMakePteValid(). It performs correct checks and PFN reference counting.

svn path=/trunk/; revision=53909
2011-09-30 21:45:25 +00:00
Timo Kreuzer c596e299c6 [FREELDR]
Remove DTEs for ntbootdd.sys and freeldr.sys after they are not used any longer. freeldr one will even point to invalid stack data. It only works currently, because the LoadOrderListHead is reset later. More fixes are coming.

svn path=/trunk/; revision=53908
2011-09-30 21:13:49 +00:00
Dmitry Gorbachev ce77677b0b [NTOSKRNL]
Use inline asm in KiIsNpxErrataPresent(). C code can be optimized in a wrong way.

svn path=/trunk/; revision=53907
2011-09-30 21:03:29 +00:00
Eric Kohl 107362cefc [SYSSETUP]
Update the spec file to Windows XP SP2.

svn path=/trunk/; revision=53906
2011-09-30 17:29:39 +00:00
Giannis Adamopoulos dbab32c663 [user32_apitest]
- properly cleanup when tests are completed
- Add some more tests for SetActiveWindow that prove that bringing owner/owned windows to front is done by SetActiveWindow and not by SetWindowPos

svn path=/trunk/; revision=53905
2011-09-30 15:37:13 +00:00
Claudiu Mihail e68d3ad8d1 [SHELL32]
- Fix build.

svn path=/trunk/; revision=53904
2011-09-30 09:44:51 +00:00
Claudiu Mihail 7ca12737e6 [SHELL32]
- Implement SHPropStgCreate, SHPropStgReadMultiple, SHPropStgWriteMultiple based on wine
- This should fix the shellole tests

svn path=/trunk/; revision=53903
2011-09-30 09:38:43 +00:00
Timo Kreuzer 6dac8f7b1c [NTOSKRNL]
- implement helper functions MiIsMemoryTypeFree and MiIsMemoryTypeInvisible
- use symbolic names instead of hex values
- Don't ASSERT on mising large page support, just warn
- add some more mm macros for amd64

svn path=/trunk/; revision=53902
2011-09-30 09:30:52 +00:00
Timo Kreuzer b77311e07d [NTOSKRNL]
- Remove 2 amd64 hacks, remove unused variables, silence some DPRINTs

svn path=/trunk/; revision=53901
2011-09-30 07:39:48 +00:00
Timo Kreuzer 066d2b7b69 [NDK]
Fix 64 bit issues of SYSTEM_VERIFIER_INFORMATION and SYSTEM_POOLTAG. Reported by dmex.

svn path=/trunk/; revision=53900
2011-09-30 07:18:20 +00:00
Cameron Gutman f08b1c0500 [ACPI]
- Report the device's lockable status in the device capabilities request
- Only report the device as disabled if it is both not enabled and not functional

svn path=/trunk/; revision=53899
2011-09-30 04:12:31 +00:00
Cameron Gutman 2fc7134802 [ACPI]
- Remove a couple of debugging changes that were never meant to see the light of day ;)

svn path=/trunk/; revision=53898
2011-09-30 01:17:33 +00:00
Thomas Faber a20f6e3513 [SETUPAPI/FORMATTING]
- Try to fix some indentation nightmares. No code changes

svn path=/trunk/; revision=53897
2011-09-29 22:30:48 +00:00
Timo Kreuzer 761d041617 [FREELDR]
- Move some disk related stuff that is unrelated to the registry data into a new file, hwdisk.c
- Don't get the disk count from the size value of a structure that was previously calculated from the disk count, but instead save it in a global variable.
- Initialize certain data in a better place

svn path=/trunk/; revision=53896
2011-09-29 21:12:40 +00:00
Cameron Gutman 0b99db243f [ACPI]
- Update ACPICA from 20091214 to 20110922
- Rewrite a large portion of the OSL code
- Perform a full initialization of ACPI objects (don't skip devices and events)
- Please retest ACPI bugs after this commit

svn path=/trunk/; revision=53895
2011-09-29 20:57:14 +00:00
Cameron Gutman c92dfc36c6 [ACPI]
- Silence debug spam
- Add comment about the width parameter (bits not bytes)

svn path=/trunk/; revision=53894
2011-09-29 18:49:10 +00:00
Amine Khaldi e1893d56b9 [SHELL32]
* Properly stub SHPropStgCreate, SHPropStgReadMultiple and SHPropStgWriteMultiple. By Claudiu Mihail.
* Shell32 shellole winetest doesn't crash anymore.

svn path=/trunk/; revision=53893
2011-09-29 16:55:52 +00:00
Cameron Gutman 55cd785094 [ACPI]
- Add a hack to skip calling methods of the HPET object because it causes a hardlock on VMWare
- Attempt #2 at fixing VMware

svn path=/trunk/; revision=53892
2011-09-29 16:03:49 +00:00
Dmitry Gorbachev 214364804d [FREELDR]
- Silence an error about unsupported PnP BIOS function.
- Do not share edge-triggered interrupts (not implemented). Bug #6508.

svn path=/trunk/; revision=53891
2011-09-29 13:20:24 +00:00
Giannis Adamopoulos 46e910dd88 fix some relocations
svn path=/trunk/; revision=53890
2011-09-29 12:04:13 +00:00
Giannis Adamopoulos 47ead17905 [kernel32]
- Do not force the hard error dialog to appear. As a result, calling SetErrorMode now really prevents the hard error dialog from appearing. 

svn path=/trunk/; revision=53889
2011-09-29 10:07:15 +00:00
Thomas Faber 05616211a0 [NTOSKRNL]
- Fix handling of hard error string parameters from kernel mode
- Some simplification

svn path=/trunk/; revision=53888
2011-09-29 06:48:19 +00:00
Timo Kreuzer 2779f4ccdd [CRT]
implement floor and floorf for amd64 with sse2 instructions

svn path=/trunk/; revision=53887
2011-09-28 21:32:37 +00:00
Thomas Faber 6d1eecf3d9 [SERVICES]
- Minor fixes to ScmAssignNewTag
- Correctly handle an invalid parameter case in RCreateServiceW. Fixes second stage boot under certain circumstances.

svn path=/trunk/; revision=53886
2011-09-28 18:43:35 +00:00
Timo Kreuzer 5c4044777c [FREELDR]
- Remove pointless NTKRNLAPI
- remove unneeded include
- delete deprecated file amd64/loader.c
- add an #ifef __REACTOS__ around public header includes to make it possible to use an alternative header set from ntsup.h

svn path=/trunk/; revision=53885
2011-09-28 18:33:25 +00:00
Cameron Gutman b4d8554d47 [ACPI]
- Check for PCI device presence before doing the actual HAL operation
- Attempt #1 at fixing ACPI on VMware

svn path=/trunk/; revision=53884
2011-09-28 14:16:07 +00:00
Giannis Adamopoulos b1e2faf090 [user32]
- Fix a couple of misleading tests

svn path=/trunk/; revision=53883
2011-09-28 12:40:43 +00:00
Amine Khaldi 03c55fa911 [CMAKE]
* Don't detect the ASM compiler ID, we set it instead.

svn path=/trunk/; revision=53882
2011-09-28 11:13:53 +00:00
Timo Kreuzer 17d1b0cdea [FREELDR]
Cleanup headers

svn path=/trunk/; revision=53881
2011-09-28 09:54:05 +00:00
Cameron Gutman 885910a88e [ACPI]
- The width parameter in AcpiOsReadPciConfiguration and AcpiOsWritePciConfiguration was in bits but we were treating it as a width in bytes
- This caused overreads, memory corruption, and crashes when these functions were called (VMWare was particularly picky about bad accesses to the PCI configuration space)
- A hack was (unknowingly) added which prevented some crashes but had a side-effect of causing the partial disruption of ACPI's PCI configuration space accesses while the others that went through wrote bad data to the PCI config space or corrupted kernel memory

svn path=/trunk/; revision=53880
2011-09-28 04:05:34 +00:00
Timo Kreuzer b60019815f [FREELDR]
Try to fix boot with rbuild

svn path=/trunk/; revision=53879
2011-09-27 23:58:47 +00:00
Timo Kreuzer 0972356c55 [FREELDR]
- Modify some memory types to match what windows uses
- Modify PcMemGetBiosMemoryMap, so that is crops free memory to page alignment, while extending non-free memory to page alignment. This way we don't loose small firmware descriptors like the one for the extended bios data area enumerated by the bios. Fixes a warning from win 2003 about not owned memory.
- Modify MempAddMemoryBlock to map LoaderFirmwarePermanent into kernel space like ntldr, but don't map page 0! ntldr doesn't do that either. Also map LoaderXIPRom.
- After generating memory descriptors from the page lookup table, add any descriptor from the bios memory table, that is higher than MmHigestPhysical address, so we don't loose high rom descriptors. Do not map beyond LoaderPagesSpanned.

svn path=/trunk/; revision=53878
2011-09-27 22:43:52 +00:00
Amine Khaldi bed4f24279 [CMAKE]
* Prefix with ccache only when compiling c/c++ objects.
* Show a note when ccache build is enabled.

svn path=/trunk/; revision=53877
2011-09-27 21:21:59 +00:00
Timo Kreuzer bf557a26c1 [FREELDR]
- copy ebp into REGS structure on Int386
- Write pointer and size of extended bios data area in physical page 0 location 0x740 and pointers to vga rom fonts in location 0x700. This is required by windows 2003's videoprt. Now freeldr is more Windows 2003 ready then ever!

svn path=/trunk/; revision=53876
2011-09-27 20:25:51 +00:00
Timo Kreuzer 5bfa5255bf [FREELDR]
Add ebp to the bios register set.

svn path=/trunk/; revision=53875
2011-09-27 19:29:52 +00:00
Thomas Faber 23b2b84ce7 [SHELL32_WINETEST]
- Fix MSVC build. This is a (partial) Winesync

svn path=/trunk/; revision=53874
2011-09-27 19:07:21 +00:00
Eric Kohl b8329db06a [APITESTS]
Add service tag tests.

Patch by Thomas Faber.

svn path=/trunk/; revision=53873
2011-09-27 13:06:33 +00:00