Commit graph

44040 commits

Author SHA1 Message Date
Amine Khaldi 303e51c09c [CMAKE]
- Apply the linker script to freeldr.

svn path=/branches/cmake-bringup/; revision=49070
2010-10-09 12:53:12 +00:00
Aleksey Bragin c76fdb3cd6 [HEAP]
- Implement setting/getting heap user values and flags (very easy provided heap design is now proper). Amount of winetest failures is down to 12 (but 3 crashes in child processes).

svn path=/trunk/; revision=49069
2010-10-09 12:49:30 +00:00
Amine Khaldi 239538fb9b [CMAKE]
- Bring back explorer.

svn path=/branches/cmake-bringup/; revision=49068
2010-10-09 12:48:57 +00:00
Amine Khaldi 60ede58f09 [RAPPS]
Igor Paliychuk:
- Update some broken links.
- Changed the cyrillic "P" to a latin "P" in the beginning of the VBox driver's russian and ukrainian descriptions (rapps doesn't display it when it's cyrillic).

svn path=/trunk/; revision=49067
2010-10-09 10:35:35 +00:00
Amine Khaldi 6340b50853 [CMAKE]
- Introduce lesser verbose makefiles.

svn path=/branches/cmake-bringup/; revision=49066
2010-10-09 10:10:39 +00:00
Pierre Schweitzer ee975c3ca3 [NTDLL]
Fixed build

svn path=/trunk/; revision=49065
2010-10-09 10:01:37 +00:00
Aleksey Bragin a6dc26d616 [RTL]
- Fix RtlSetUserFlagsHeap declaration and definition.

svn path=/trunk/; revision=49064
2010-10-09 09:19:33 +00:00
Aleksey Bragin a87de8e0b6 [KERNEL32]
- Revert incorrect changes from 34404 and 40910: RtlSetUserFlagsHeap() doesn't set usual heap flags, it sets special user-settable heap entry flags. With the new heap manager such usage corrupts heap integrity (not to say prototype of this function is incorrect).
- RtlReAllocateHeap() is supposed to copy user values and flags so there is no need to set them afterwise again.
- Fix a typo in comments.

svn path=/trunk/; revision=49063
2010-10-09 09:15:50 +00:00
Amine Khaldi 2541969bd0 [CMAKE]
- More work on the base modules.

svn path=/branches/cmake-bringup/; revision=49062
2010-10-08 23:06:11 +00:00
Amine Khaldi 8db8028cbd [CMAKE]
- More work on the base modules.
- Fix a typo.
- Fix shlwapi and audio_test builds.

svn path=/branches/cmake-bringup/; revision=49061
2010-10-08 22:26:41 +00:00
Amine Khaldi 9967209aea [CMAKE]
- More work on the dlls.

svn path=/branches/cmake-bringup/; revision=49060
2010-10-08 21:34:25 +00:00
Amine Khaldi e9977ecc9f [CMAKE]
- More work on the dlls.
- libgcc is already a standard C lib, don't relink to it for executables.
- ICU isn't needed for now, disable it.

svn path=/branches/cmake-bringup/; revision=49059
2010-10-08 21:02:11 +00:00
Aleksey Bragin 46819fb8ac [HEAP]
- Roel Messiant: Fix infinite loop in RtlDestroyHeap if heap contained big blocks.

svn path=/trunk/; revision=49058
2010-10-08 20:17:39 +00:00
Aleksey Bragin 129f3f133d [HEAP]
- Set proper heap flags (tail and free checking) in case heap validation is enabled. Fixes another bunch of winetests.

svn path=/trunk/; revision=49057
2010-10-08 19:30:23 +00:00
Amine Khaldi da7764cd5c [CMAKE]
- Improve some dlls.
- Fix cmd and stlport.
- Add libgcc as a C standard lib.

svn path=/branches/cmake-bringup/; revision=49056
2010-10-08 19:10:33 +00:00
Eric Kohl 8618ae85de [EVENTLOG]
Rename the EVENTSOURCE struct to LOGHANDLE because it is currently used like a handle object. The EVENTSOURCE struct will be added again in one of the next commits.

svn path=/trunk/; revision=49055
2010-10-08 18:48:54 +00:00
Jérôme Gardou db37322eb6 [CMAKE]
- link executables against gcc and mingw_common
  - remove link dependencies from mingw_common
This puts C executables into a good shape again.

svn path=/branches/cmake-bringup/; revision=49054
2010-10-08 18:04:16 +00:00
Jérôme Gardou e20a0a30ee [CMAKE]
- Use stlport specific includes only for c++ source files
  - remove linking to ntdll, kernel32 and oldnames for mingw_common

svn path=/branches/cmake-bringup/; revision=49050
2010-10-08 13:47:39 +00:00
Jérôme Gardou 27267a3cab [CMAKE]
- add gcc dependencies to executables, not to mingw_(w)main
[STLPORT]
  - move features definitions where it belongs.
[SDK]
  - errno _must_ be defined in errno.h, nowhere else, or stlport headers choke.

svn path=/branches/cmake-bringup/; revision=49049
2010-10-08 10:46:54 +00:00
Aleksey Bragin 3dea59438f [HEAP]
- Roel Messiant: Remove old-style Peb->ProcessHeaps assignment from RTL, it's already done by MM.
- Roel Messiant: Fix a typo (missing else) between two if branches, which fixes commit routine support.
- Properly save requested size if 0 was given (1 should be allocated, but 0 saved as a requested amount). Fixes winetests.
- Remove unnecessary dprints.

svn path=/trunk/; revision=49048
2010-10-08 09:47:48 +00:00
Jérôme Gardou 1958e125aa [CMAKE]
- remove now useless libstdc++.a

svn path=/branches/cmake-bringup/; revision=49047
2010-10-08 08:32:53 +00:00
Amine Khaldi 4efda499f7 [CMAKE]
Jerome Gardou:
- Add STLport 5.2.1 (yes, STLport, the c++ stl implementation) to build. For now, it works only in user mode.
- Link some c++ executables to it
- sol.exe : one step towards a complete and modern OS.
- Dedicated to Amine for his patience and his help.
- Might Break Things! (tm)

svn path=/branches/cmake-bringup/; revision=49046
2010-10-07 22:09:31 +00:00
Aleksey Bragin 16d1640085 [NTDLL]
- Load image execution options before creating process heap (so that GlobalFlag overrides can be taken into account).
- Make LdrQueryImageFileExecutionOptions avoid heap usage when possible (and when it's not possible, fail with out of memory status).
- Fixes a dramatic count of ~100 failures in "kernel32_winetest heap".

svn path=/trunk/; revision=49045
2010-10-07 21:12:10 +00:00
Pierre Schweitzer 91397f1a7a [NTOSKRNL]
On boot, while loading drivers, make starting Loader Block available to the whole kernel to let drivers calling on-boot functions that may need it.
One of them will be implemented later.

svn path=/trunk/; revision=49044
2010-10-07 20:20:10 +00:00
Pierre Schweitzer 459c241f70 [NTOSKRNL]
Fixed a FIXME in ARC names by implementing IopStoreSystemPartitionInformation(). This make ReactOS writing boot paths to registry.

svn path=/trunk/; revision=49043
2010-10-07 20:08:24 +00:00
Pierre Schweitzer 762f577918 [NTOSKRNL]
Don't ignore IopCreateArcNames() return while booting.
At the moment, it's just returning STATUS_SUCCES but it will be changed later.

svn path=/trunk/; revision=49042
2010-10-07 19:58:22 +00:00
Eric Kohl d6c9064e9d Fix indentation. No code changes.
svn path=/trunk/; revision=49041
2010-10-07 19:58:04 +00:00
Pierre Schweitzer 5686788c8b [FREELDR]
Fix CDs checksum computation
[NTOSKRNL]
Fix ARC names accordingly

svn path=/trunk/; revision=49040
2010-10-07 19:16:09 +00:00
Giannis Adamopoulos 40dba5e526 [win32k]
- Fix an ancient FIXME in PATH_PathToRegion

svn path=/trunk/; revision=49039
2010-10-07 19:14:49 +00:00
Sir Richard 5d9bbfb9db [NTOS]: Fix copy/paste error.
svn path=/trunk/; revision=49037
2010-10-07 17:41:20 +00:00
Sir Richard 28db1e4106 [NTOS]: Hackfix a hack. Should get rid of the recent VAD assert in user32/bpp changes.
svn path=/trunk/; revision=49036
2010-10-07 17:35:25 +00:00
Sir Richard 12e7ae649b [NTOS]: Add support for user-mode VAD faults on page tables (just a couple lines of extra code).
[NTOS]: Add support for user-mode VAD demand zero faults.
[NTOS]: Remove broken ASSERT.

svn path=/trunk/; revision=49035
2010-10-07 17:27:23 +00:00
Aleksey Bragin 9dabd64349 [HEAP]
- Fix allocated/free memory fillers to match those Windows uses (winetests)
- Add missing coalesce-on-free flag check in RtlCreateHeap
- Turn on tail check/pattern filling in RtlAllocateHeap.
- Add extra stuff storage support in RtlAllocateHeap and its helpers.
- Set win32 statuses where necessary.
- Return success in RtlValidateHeap to reduce spam when running winetest.

svn path=/trunk/; revision=49034
2010-10-07 17:05:29 +00:00
Aleksey Bragin 41b74ee1f9 [NTDLL]
- Fix a typo which always set page heap enabled to true.

svn path=/trunk/; revision=49033
2010-10-07 16:51:19 +00:00
Sir Richard 538c2dfa33 [NTOS]: My attempt at making bugchecks a thing of the past has failed, someone has caught the typo. Bugchecks will now happen in ReactOS again instead of being ignored. Maybe you can "forget" to merge this one with the release branch? ;-)
svn path=/trunk/; revision=49031
2010-10-07 13:52:42 +00:00
Jérôme Gardou 4553cddf93 [CMAKE]
- add missing file to mingw_common

svn path=/branches/cmake-bringup/; revision=49030
2010-10-07 11:47:29 +00:00
Aleksey Bragin b973ba44ac [WIN32K]
- Roel Messiant: Return correct address in the user heap commit routine. Should fix boot with the new heap manager.

svn path=/trunk/; revision=49029
2010-10-07 07:56:26 +00:00
Aleksey Bragin 9a781f022b [ADVAPI32]
- Roel Messiant: Properly handle STATUS_BUFFER_TOO_SMALL in RegEnumValueW implementation.
See issue #2492 for more details.

svn path=/trunk/; revision=49028
2010-10-07 07:21:08 +00:00
Matthias Kupfer d584d4e50e Carlo Bramini <carlo DOT bramix AT libero DOT it>
- Fix for render status bar after changing line wrap and flicker issue.
- See issue #5635 for details.

svn path=/trunk/; revision=49027
2010-10-06 22:11:12 +00:00
Eric Kohl 44e8c0e71a [RTL]
Change RtlLockBootStatusData prototype according to http://cookp.com/%2F/thread/1111206/how%20can%20i%20detect%20last%20boot%20success

svn path=/trunk/; revision=49026
2010-10-06 20:43:51 +00:00
Aleksey Bragin 3e76d8224e [NTDLL]
- LoadImageFileExecutionOptions() improvements:
 * Apply certain heap flags if the process is being debugged (only if NtGlobalFlags is not overridden).
 * Implement enabling page heap and reading image-specific configuration values.
- Add page heap configuration values to the Heap Manager.

svn path=/trunk/; revision=49025
2010-10-06 20:34:30 +00:00
Amine Khaldi 9a1ab426cf [CMAKE]
- Rename netevent.mc to neteventmsg.mc
- Add some missing win32 dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49023
2010-10-06 18:57:42 +00:00
Aleksey Bragin 257ce7ee90 - Respectively fix incorrect data type for GlobalFlags in ReactOS registry.
svn path=/trunk/; revision=49022
2010-10-06 17:25:15 +00:00
Aleksey Bragin 83b1daf183 [NTDLL]
- Fix loading of GlobalFlags in Image File Execution Options. I really wonder who had that brilliant idea that bitwise flags would be stored as a string in the registry.
- If there is a GlobalFlags value specified in the registr for that specific image, it means that value should overwrite NtGlobalFlags. Fix that too (previously it was ORing which made no sense).

svn path=/trunk/; revision=49021
2010-10-06 17:18:22 +00:00
Kamil Hornicek 2ff3b055ce [CMD]
Use the full name we get from SearchForExecutable when building the command line for CreateProcess so we get proper name in argv[0] later.

svn path=/trunk/; revision=49020
2010-10-06 16:44:09 +00:00
Sir Richard c617645ef3 [NTOS]: Fix bugs in the VAD algorithms, we should be rounding up, not down.
svn path=/trunk/; revision=49019
2010-10-06 16:25:30 +00:00
Timo Kreuzer 82280e1435 [NTOSKRNL]
Alternative workaround for pentium lock errata: Instead of burdening the page fault handler, just mark the IDT page as Write-Through if the bug is present. According to http://www.rcollins.org/Errata/Dec97/F00FBug.html it shall prevent the lock up. Please test. Dedicated to elhoir.

svn path=/trunk/; revision=49018
2010-10-06 14:39:56 +00:00
Ged Murphy 90bd7eaa64 - Implement monitor bitmap support for the display dialog
- Fix incorrect codepage values
- Look for applets in windows dir as well as system dir
- Patch by Carlo Bramix
See issue #3158 for more details.

svn path=/trunk/; revision=49017
2010-10-06 14:13:00 +00:00
Sir Richard 1689cea28b [NTOS]: Temporary debugging.
svn path=/trunk/; revision=49016
2010-10-06 13:32:58 +00:00
Amine Khaldi cec00257f3 [CMAKE]
- Add win32ocx module type.
- Disable the linker script for now.

svn path=/branches/cmake-bringup/; revision=49015
2010-10-06 13:24:46 +00:00