Commit graph

44058 commits

Author SHA1 Message Date
Jérôme Gardou
5bc7ffddc4 [PSDK]
- remove GCC special flag, as it has no reason to exist. Thanks go to Timo for having tested this.

svn path=/branches/cmake-bringup/; revision=49297
2010-10-26 21:57:12 +00:00
Jérôme Gardou
252350f815 [WIN32 DLLS]
- fix MIDL_user_allocate once and for all

svn path=/branches/cmake-bringup/; revision=49295
2010-10-26 18:58:46 +00:00
Jérôme Gardou
3714ca7137 [PSDK]
- fix definition of MIDL_STUB_DESC

svn path=/branches/cmake-bringup/; revision=49294
2010-10-26 18:43:25 +00:00
Jérôme Gardou
f2537e5a3e [SERVICES]
- fix definition of midl_user_allocate, RQueryServiceConfigW and RQueryServiceConfigA

svn path=/branches/cmake-bringup/; revision=49293
2010-10-26 18:39:27 +00:00
Jérôme Gardou
4633d81b0a [UMPNPMGR]
- Fix definition of midl_user_allocate

svn path=/branches/cmake-bringup/; revision=49292
2010-10-26 18:38:03 +00:00
Jérôme Gardou
db8bb8c054 [CMAKE]
- rpcss depends on winesdk
[RPCSS]
  - fix declaration of MIDL_user_allocate

svn path=/branches/cmake-bringup/; revision=49291
2010-10-26 18:30:13 +00:00
Jérôme Gardou
b52b88ac96 [CMAKE]
- fix typo

svn path=/branches/cmake-bringup/; revision=49290
2010-10-26 18:01:37 +00:00
Jérôme Gardou
06537a6ad4 [CMAKE]
- midl support for building rpc server/client libraries

svn path=/branches/cmake-bringup/; revision=49289
2010-10-26 17:42:02 +00:00
Jérôme Gardou
cfbe481dc6 [WLANSVC]
- Fix wlansvc.idl for parsing with midl

svn path=/branches/cmake-bringup/; revision=49288
2010-10-26 17:36:57 +00:00
Jérôme Gardou
f22a9e6956 [CMAKE]
- WINNT isn't defined, don't redefine it. Pointed by Usurp.

svn path=/branches/cmake-bringup/; revision=49287
2010-10-26 17:23:00 +00:00
Jérôme Gardou
7c02a12b82 [SVCCTL]
- fix parsing of svcctl.idl with midl

svn path=/branches/cmake-bringup/; revision=49286
2010-10-26 17:20:00 +00:00
Jérôme Gardou
1537d3b259 [CMAKE]
- redefine _WIN32_WINNT too for building pnp rpc client and server libs

svn path=/branches/cmake-bringup/; revision=49285
2010-10-26 17:06:39 +00:00
Jérôme Gardou
85659d3f75 [LSARPC]
- define right interface in lsa.acf

svn path=/branches/cmake-bringup/; revision=49284
2010-10-26 16:55:46 +00:00
Jérôme Gardou
e829b4d212 [EVENTLOG]
- Correct definition of midl_user_allocate

svn path=/branches/cmake-bringup/; revision=49283
2010-10-26 16:36:25 +00:00
Jérôme Gardou
ec1e12e566 [PSDK]
- Add MIDL_user_allocate and MIDL_user_free definitions
  - #ifdef a GCC hack

svn path=/branches/cmake-bringup/; revision=49281
2010-10-26 16:01:08 +00:00
Jérôme Gardou
ab5836ad90 [CMAKE - MSC]
- Add set_image_base macro
  - add psdk and buildno dependencies to modules

svn path=/branches/cmake-bringup/; revision=49279
2010-10-26 07:31:04 +00:00
Sylvain Petreolle
394ca95775 [CMAKE]
Use msvc friendly macro.
Add network drivers to livecd.

svn path=/branches/cmake-bringup/; revision=49263
2010-10-24 21:19:00 +00:00
Sylvain Petreolle
9fad2797d5 [CMAKE]
Add network applications to build and livecd.

svn path=/branches/cmake-bringup/; revision=49262
2010-10-24 21:07:56 +00:00
Sylvain Petreolle
0ef2d803bf [CMAKE]
Fix winspool loading.

svn path=/branches/cmake-bringup/; revision=49260
2010-10-24 15:03:07 +00:00
Amine Khaldi
8c7563f645 [CMAKE]
- Add set_image_base macro.
- Fix ks linking.

svn path=/branches/cmake-bringup/; revision=49258
2010-10-24 12:44:36 +00:00
Sylvain Petreolle
1fb94b1cb5 [CMAKE]
sync with trunk (r49230)

svn path=/branches/cmake-bringup/; revision=49246
2010-10-23 22:14:59 +00:00
Sylvain Petreolle
956eb46aec [CMAKE]
Livecd: Add rundll32.
Cmake livecd lives !

svn path=/branches/cmake-bringup/; revision=49236
2010-10-23 11:55:36 +00:00
Sylvain Petreolle
070a3b3935 [CMAKE]
Livecd: Add inf files.
Temporarily add generated syssetup.inf from trunk.

svn path=/branches/cmake-bringup/; revision=49235
2010-10-23 11:35:26 +00:00
Amine Khaldi
b975ab079c [CMAKE]
- Create profiles related folders into the livecd iso.
- Add some missing modules to livecd.

svn path=/branches/cmake-bringup/; revision=49234
2010-10-23 10:38:48 +00:00
Amine Khaldi
885ea97149 [CMAKE]
- Add the missing resource file to explorer.

svn path=/branches/cmake-bringup/; revision=49233
2010-10-23 10:24:53 +00:00
Amine Khaldi
76697d8da4 [CMAKE]
- Add explorer, umpnpmgr, userinit and winhlp32 to livecd.

svn path=/branches/cmake-bringup/; revision=49232
2010-10-23 10:15:02 +00:00
Sylvain Petreolle
89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00
Aleksey Bragin
26164e7b2e [MSI]
- Fix freed memory access and fix freeing of invalid pointer. (from http://www.winehq.org/pipermail/wine-patches/2010-October/094849.html )
See issue #3755 for more details.

svn path=/trunk/; revision=49229
2010-10-22 16:22:21 +00:00
Amine Khaldi
5299b0db47 [CMAKE]
- Fix comdlg32 and add it to build.

svn path=/branches/cmake-bringup/; revision=49228
2010-10-22 15:20:41 +00:00
Sylvain Petreolle
cfc11b5ca5 [CMAKE]
Add comdlg32, ole32, oleaut32, rpcrt4, shell32,urlmon to build.
comdlg32 remains disabled due to build error in Danish resources.

svn path=/branches/cmake-bringup/; revision=49227
2010-10-22 15:17:45 +00:00
Sylvain Petreolle
7dce7ccce4 [CMAKE]
Add rpcss to build.

svn path=/branches/cmake-bringup/; revision=49226
2010-10-22 14:55:38 +00:00
Sylvain Petreolle
3346380aaa [CMAKE]
Livecd: Add hal, ntoskrnl, csrss, csrsrv, win32k.

svn path=/branches/cmake-bringup/; revision=49225
2010-10-22 14:15:01 +00:00
Sylvain Petreolle
fd229355cc [CMAKE]
Livecd: Add base/ modules.

svn path=/branches/cmake-bringup/; revision=49224
2010-10-22 14:10:12 +00:00
Sylvain Petreolle
c56d82e4c8 [CMAKE]
Livecd: Add dlls that aren't win32dll modules.

svn path=/branches/cmake-bringup/; revision=49223
2010-10-22 14:05:00 +00:00
Sylvain Petreolle
b7e466a220 [CMAKE]
Livecd: Add drivers.

svn path=/branches/cmake-bringup/; revision=49222
2010-10-22 13:46:11 +00:00
Sylvain Petreolle
fc6a87624a [CMAKE]
Add win32dll modules to livecd for now.
For better flexibility, this will be needed in each module file.

svn path=/branches/cmake-bringup/; revision=49221
2010-10-22 13:40:02 +00:00
Sylvain Petreolle
5d3618ef80 [CMAKE]
Livecd : Add fonts and nls files.

svn path=/branches/cmake-bringup/; revision=49220
2010-10-22 13:21:57 +00:00
Aleksey Bragin
955c4d7d77 [MSI]
- Sync to Wine-1.3.5.

svn path=/trunk/; revision=49219
2010-10-22 13:18:11 +00:00
Sylvain Petreolle
493475d8d2 [CMAKE]
Add mkhive to build.
Add livecd target.
Make filename optional in add_mini_target, using the target one as default.
Move MACRO_IDL_FILES to CMakeMacros.cmake.
Add rpcproxy macro.
Build interface definitions headers for epm and irot.

svn path=/branches/cmake-bringup/; revision=49218
2010-10-22 13:15:58 +00:00
Sylvain Petreolle
cba659a83a [CMAKE]
Make midimap msc friendly.

svn path=/branches/cmake-bringup/; revision=49217
2010-10-22 10:54:06 +00:00
Aleksey Bragin
12cded29f1 [ADVAPI32]
- Roel Messiant: Fix short-circuit evaluation.
See issue #5677 for more details.

svn path=/trunk/; revision=49216
2010-10-21 20:30:37 +00:00
Eric Kohl
824ec6597d [SERVICES]
- Remove the reference counter from the common handle type as a handle is never shared or duplicated.
- Remove the access right from the service handle as it is not used.
- Dereference service manager handles and service handles in two separate functions that SEH-protect the initial access to the handle and signature check. This will protect SCM from bogus handles.

svn path=/trunk/; revision=49214
2010-10-20 17:28:10 +00:00
Pierre Schweitzer
538b9e4fbf [NTOSKRNL]
Implemented FstubAdjustPartitionCount(), FstubConvertExtendedToLayout(), FstubCopyEntryEFI(), FstubCreateDiskMBR(), FstubCreateDiskEFI(), FstubCreateDiskRaw(), FstubDbgPrintSetPartitionEx(), FstubReadHeaderEFI(), FstubReadPartitionTableEFI(), FstubSetPartitionInformationEFI(), FstubVerifyPartitionTableEFI(), FstubWriteBootSectorEFI(), FstubWriteEntryEFI(), FstubWriteHeaderEFI(), FstubWritePartitionTableEFI(), FstubWritePartitionTableMBR(), FstubWriteSector()

Implemented IoCreateDisk(), IoGetBootDiskInformation(), IoReadDiskSignature(), IoSetPartitionInformationEx(), IoVerifyPartitionTable(), IoWritePartitionTableEx()

To sum up, this commit finishes FSTUB API implementation in the ReactOS kernel. This means one important thing: now ReactOS kernel knows about a bit about EFI and about GPT. No need to say that it's the first step into EFI support. But a lot more work is needed. Especially since the kernel is the only real entity in ReactOS to handle GPT. All the rest of the OS doesn't know anything about GPT.

A small note about FstubVerifyPartitionTableEFI(). This function is supposed to check whether a disk formated with GPT is valid, and if it's not, to fix it. First step is implemented. Second step isn't yet supported.

A general note about all that stuff: on GPT, backup table isn't properly handled for the moment, as ReactOS is experiencing disk geometry issues. That means it's not having the proper disk sectors count and then, can't find the backup table (which is located on last disk sector).

References:
http://www.intel.com/technology/efi/
http://developer.apple.com/library/mac/#technotes/tn2006/tn2166.html
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=blob;f=fs/partitions/efi.h;hb=HEAD
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=blob;f=fs/partitions/efi.c;hb=HEAD

svn path=/trunk/; revision=49212
2010-10-19 20:34:48 +00:00
Sir Richard
b238bc9126 [NTOS]: Go back to using RosMm for the NLS section since supposedly this causes issues on some systems. This is the only actual change in r206/208/209, so if Caemyr's data is correct, this fill fix it.
svn path=/trunk/; revision=49211
2010-10-19 20:23:37 +00:00
Pierre Schweitzer
60501a925e [DISK]
Hackplemented support for IOCTL_DISK_GET_PARTITION_INFO_EX. It will work fine for MBR partitions but will fake returns for GPT partitions.

svn path=/trunk/; revision=49210
2010-10-19 19:27:28 +00:00
Sir Richard
6f48b81057 [NTOS]: Fix multiple math/logic bugs in the PrototypePTE paths. Caught while trying to switch the Win32k GDI Handle Table to ARM3 sections.
svn path=/trunk/; revision=49209
2010-10-19 18:57:30 +00:00
Sir Richard
ef6bc56d6f [NTOS]: C Pointer Math will bite even the most experienced programmer in the ass. Fix wrong calculation which led to ASSERTs and memory corruption (since the last revision).
svn path=/trunk/; revision=49208
2010-10-19 17:39:22 +00:00
Timo Kreuzer
f58427d6cc [CMAKE]
disable rpcrt4 again, which was accidentally enabled


svn path=/branches/cmake-bringup/; revision=49207
2010-10-19 17:13:20 +00:00
Sir Richard
3e8034d4a5 [NTOS]: Add support for unmapping ARM3 sections, destroying segments and control areas, and clearing out subsection PTEs.
[NTOS]: Add support to MiDeletePte/MiDeleteVirtualAddresses to handle Section VADs.
[NTOS]: Add support to MiDeletePte to handle valid, prototype PTEs.
[NTOS]: Add MEM_TOP_DOWN support to ARM3 section code.
[NTOS]: Add support for unmapping currently mapped ARM3 section views at process termination.
[NTOS]: Use the new ARM3 section code for mapping the NLS section in the system (tests the system-view mapping code) and in each new process (tests the data-mapping code). Section is correctly unmapped at process termination time!

svn path=/trunk/; revision=49206
2010-10-19 17:07:11 +00:00
Sir Richard
20d602d71f [NTOS]: Use allocation attribute 0x1 instead of 0xC0000000 to let RosMm know this is an ARM3 section. 0xC0000000 is actually a valid combination of SEC_ flags, 0x1 is illegal and thus recognized.
svn path=/trunk/; revision=49205
2010-10-19 17:01:28 +00:00