Commit Graph
2014 Commits
Author SHA1 Message Date
Timo Kreuzer bdc2ba7816 [NCI]
- Fix 64bit stubs
[RSYM64]
- fix linux compilation

svn path=/trunk/; revision=46410
2010-03-24 23:03:33 +00:00
Christoph von Wittich 2e3fc85b22 [WIDL]
sync widl with wine 1.1.41

svn path=/trunk/; revision=46294
2010-03-21 12:47:24 +00:00
Dmitry Gorbachev 48cc443d59 Update log2lines to ver. 2.2. Jan Roeloffzen, bug #4342.
svn path=/trunk/; revision=46211
2010-03-15 17:03:37 +00:00
Timo Kreuzer cbdf28bb6a [HEADERS]
Reintegrate header-work branch. Thanks to hours of boring work on the ddk headers (Most of it done by Amine Khaldi), we have now a decent set, which is still incomplete but already relatively close to latest WDK. A clean rebuild is recommended.

svn path=/trunk/; revision=46155
2010-03-12 23:16:29 +00:00
Dmitry Gorbachev 05c5b82a0a Output PCH even when full dependencies are enabled.
svn path=/trunk/; revision=46113
2010-03-11 20:59:24 +00:00
Christoph von Wittich feebaff19f [WIDL]
sync widl to wine 1.1.40

svn path=/trunk/; revision=45931
2010-03-06 12:53:26 +00:00
Aleksey Bragin 7473d1aab3 [WIDL]
- Sync to Wine-1.1.39

svn path=/trunk/; revision=45833
2010-03-04 13:46:14 +00:00
Timo Kreuzer 9ea495ba33 Create a branch for header work.
svn path=/branches/header-work/; revision=45691
2010-02-26 22:57:55 +00:00
Ged Murphy c5b25b8e9b - Move from using include guards to pragma once.
- Whilst this is non-standard and potentially makes the code less portable, it's supported by both gcc and msvc and should bringg increased compilation speed due to its optimized behaviour (doesn't need to invoke the preprocessor)
- Patch by Amine Khaldi [[email protected]]

svn path=/trunk/; revision=45685
2010-02-26 11:43:19 +00:00
Aleksey Bragin 3d83b18cf3 - Don't prepend fastcall forward's target with @. Fixes binding issues in videoprt, thanks to Olaf Siejka for identifying the issue.
svn path=/trunk/; revision=45639
2010-02-20 22:53:11 +00:00
Daniel Reimer 90ce7d8b37 XML Compliance Patch for the RBUILD Files. By Samuel Serapion
svn path=/trunk/; revision=45631
2010-02-20 12:41:24 +00:00
Giannis Adamopoulos de233c67ef [rbuild]
- Major improvements in the msvc backend
- Create a .vsprops file for every configuration in the root folder. This lets us make vcproj files a lot smaller
- When building with our headers actually use all of our headers and not a mix of our sdks and the headers of the crt that comes with msvc
- Add a rule to build .s files based on the idea by jcatena
- Add a rule for .spec and .pspec files. pspec doesn't work well yet
- Various fixes
- Please note the the above are aplied only to the vcproj files and not to the vcxrpoj files

The above let us compile large parts of trunk with the generated visual studio projects

svn path=/trunk/; revision=45564
2010-02-10 21:55:51 +00:00
Dmitry Gorbachev 909e0c1b43 Update log2lines to ver. 2.1. Jan Roeloffzen, bug #4342.
svn path=/trunk/; revision=45551
2010-02-10 12:10:23 +00:00
Colin Finck 75538f4c0a The big RosBE 1.5 compatibility patch. You will need RosBE 1.5 from this point!
- Set the minimum GCC version to 4.4.0 and minimum Binutils version to 20091016.
- Remove the -fno-unit-at-a-time hacks.
- Remove dgorbachev's temporary hacks for user-mode C++ applications.
- Merge ntoskrnl's "precomp.h" and "ntoskrnl.h" again, the PCH issues have been fixed.
- Use our "ofmt_stub.a" to be compatible with newer MinGW Runtime versions.
- Use LD's new -exclude-all-symbols option to not auto-export all symbols in case no DEF file or __declspec(dllexport) was specified.
  We used to patch our LD version to work around this problem.
- Use LD's --start-group and --end-group parameters to allow a more flexible linking order.
- Use GCC's -fno-set-stack-executable for amd64 and i386 targets to disable adding the __enable_execute_stack code.
- Change the makefile's name to "makefile-$(ARCH).auto" for all architectures.
- Remove some -Wno-error flags.

See issue #4810 for more details.

svn path=/trunk/; revision=45535
2010-02-09 18:14:58 +00:00
evb 724f076f8a - Change NANDFlash again for Versatile support. Now the LLB and OS Loader are created in one binary blob (loaded with -kernel), while the RAMDISK is loaded with -initrd.
- Now the only complication is that RAMDISK loaded at 0x80000 which will conflict with the 0x800000 range where kernel loads. Could move RAMDISK in code through LLB, but that would be very expensive (shift by 16MB up). Instead, NANDflash creates ramdisk image starting at offset 16MB. This way, emulator thinks it's loading at 0x80000, but actually loads at 0x1800000. Would be better if QEMU not hardcoded the INITRD_LOAD_ADDR...

svn path=/trunk/; revision=45423
2010-02-04 19:49:25 +00:00
Sir Richard 59842d0e20 [RBUILD]: Fix make install and make install_registry. mkhive command was wrong (MKHIVE_TARGET instead of mkhive_TARGET) and so the executable was never launched.
svn path=/trunk/; revision=45422
2010-02-04 16:47:23 +00:00
evb 8649bab99c - Fix bugs.
- Enable non-OOB mode for Versatile.


svn path=/trunk/; revision=45402
2010-02-03 23:16:26 +00:00
Ged Murphy ce1b8768d1 Fix typo in vcproj generator code
svn path=/trunk/; revision=45389
2010-02-03 11:36:49 +00:00
Daniel Reimer 6ae884e3c9 Bug 4342: Update log2lines to Version 1.12b. (Jan Roeloffzen)
svn path=/trunk/; revision=45387
2010-02-03 07:34:59 +00:00
evb aea2ffe8bd - NANDFlash tool for building OMAP3 FLASH Images for DevBoard and QEMU-Maemo.
svn path=/trunk/; revision=45371
2010-02-01 18:29:19 +00:00
Daniel Reimer b76d8cf17a Update piperead to Version 0.3 (Jan Roeloffzen)
svn path=/trunk/; revision=45288
2010-01-27 22:13:26 +00:00
Daniel Reimer 166fa77176 Update log2lines to Version 1.11 (Jan Roeloffzen) Bug 4342
- Added -P Pipeline option for Powershell support, see below
- Renaming some structs to avoid potential naming conflicts with windows.h
- stdin/out -> stdIn/Out for redirecting
- Fixed potential mem leak
- A little more tracing and cleanup
Updated piperead (Jan Roeloffzen) Bug 5146
- Added Pipe client function, based on msdn example
- Improved option handling (try piperead -h)
- logging, error handling
- Integrated in build (pipetools.mak)

svn path=/trunk/; revision=45287
2010-01-27 19:03:52 +00:00
Dmitry Gorbachev e6111d4302 Output PCH, not dependencies.
svn path=/trunk/; revision=45279
2010-01-27 02:29:36 +00:00
Sir Richard fc405bb3c2 [RBUILD]: Use correct kernel entrypoint symbol name. Forgot to commit this earlier.
Please, next time before you harass us with e-mails, try to read your logs. LD choses a random entrypoint if the symbol cannot be found.

svn path=/trunk/; revision=45162
2010-01-20 14:09:50 +00:00
Eric Kohl ba16f69763 Removed outdated email addresses.
svn path=/trunk/; revision=45020
2010-01-09 22:43:16 +00:00
Timo Kreuzer edd63ea0b7 [GENINC]
Lots of fixes and updates.

svn path=/trunk/; revision=44767
2009-12-26 22:55:53 +00:00
Timo Kreuzer 6e3e947a79 [GENINC]
This is going to be a host tool that autogenerates assembly definitions from the target headers. This is done in two steps: 1) a raw data file is compiled with the target compiler using the target headers 2) The host tool parses this data file and creates an appropriate .h or .inc file.
So far there's only the source for the data file, which is halfway complete and currently compiled as bootloader type, as we don't seem to have raw binary target.
WIP

svn path=/trunk/; revision=44748
2009-12-24 03:45:21 +00:00
Dmitry Gorbachev 21ddc44f8f Update log2lines to the latest version. Jan Roeloffzen, bug #4342.
svn path=/trunk/; revision=44668
2009-12-20 12:36:26 +00:00
KJK::Hyperion 8e60110bef modified Makefile
New ${checkpoint} command to create an empty "checkpoint" file, to store the last modified date of a make target

modified   tools/rbuild/backend/mingw/rules.mak
   Rules that output more than one file at once don't mix well with parallel builds: serialize dependency checks through the use of checkpoint files. Fixes intermittent widl issues in highly parallel builds
   Bonus internal rbuild function that I had to commit one day or another

See issue #4994 for more details.

svn path=/trunk/; revision=44594
2009-12-14 23:02:28 +00:00
Dmitry Gorbachev c194b44a25 Apply r44496 change to raddr2line, too. Remove unused argument.
svn path=/trunk/; revision=44515
2009-12-10 08:55:11 +00:00
Dmitry Gorbachev d23c07b141 Update log2lines to the latest version. Jan Roeloffzen, bug #4342.
svn path=/trunk/; revision=44496
2009-12-09 21:51:19 +00:00
Timo Kreuzer 6d466854ff [WINEBUILD]
Sync winebuild to Wine_1_1_34
Lots of reactos hacks are gone now. ARM is natively supported now. Windows headers are no longer included, winglue.h is gone, the code that was previously removed is back again, there is no point in removing unused features. still there: the fastcall and pedll modifications. Added a ros-diff.

svn path=/trunk/; revision=44490
2009-12-09 17:01:35 +00:00
Dmitry Gorbachev d2ae0ff3bf Update log2lines to the latest version. Jan Roeloffzen, bug #4342.
svn path=/trunk/; revision=44472
2009-12-08 20:13:22 +00:00
Timo Kreuzer 66fe9a0793 [RTL]
Rewrite the rtl bitmap implementation.
The old one was a little .... suboptimal. The new one should outperform the old one by several orders of magnitude, especially RtlFindClearBits that was literally searching bit by bit.

svn path=/trunk/; revision=44464
2009-12-08 01:02:36 +00:00
Ged Murphy ca6850941c Start implementing Visual Studio 2010 support.
This is seriously boring, don't expect it anytime soon :(

svn path=/trunk/; revision=44406
2009-12-04 16:15:08 +00:00
Ged Murphy 0f11aa37e2 Remove perf test code I accidentally committed
svn path=/trunk/; revision=44404
2009-12-04 15:22:13 +00:00
Ged Murphy 628ba3758a Remove the devcpp backend.
svn path=/trunk/; revision=44403
2009-12-04 15:09:44 +00:00
Ged Murphy bb32402355 - Don't listen to me, my 99.9% assurance that the new backend architecture wouldn't work was wrong. Who'd have thunk it??
- Remove the 'test' file name bug I put in to stop people overwriting their vcproj files.
- Don't forget object cleanup Ged ... this isn't .NET.
- 'make msvc#' is now working again.

svn path=/trunk/; revision=44401
2009-12-04 11:33:17 +00:00
Ged Murphy b9e2cd6419 - Initial re-architecture of the msvc backend.
- Split the MSVCBackend class into it's respective worker objects :
- * Use an abstract ProjMaker base class which we can now use to better implement support for future VS releases
- * Move sln creation into its own class
- Don't create the .user files anymore, they're not required for our use.
- Remove support for Visual Studio 6, Visual Studio 2002 and Visual Studio 2003
Although I haven't tested it, I'm 99.9% sure this breaks 'make msvc#' so DON'T RUN IT yet unless you want your vcproj files destroyed.

svn path=/trunk/; revision=44377
2009-12-03 16:09:09 +00:00
Dmitry Gorbachev 0c2fe0a124 Update log2lines to version 1.5. Jan Roeloffzen, bug #4342.
svn path=/trunk/; revision=44363
2009-12-02 17:11:32 +00:00
Ged Murphy 9d7f91d6ca - Include support for makefile configurations.
- Add a new makefile config to the global configuration called RosBuild
- Use the new makefile config to process and external batch file which make use of rbuild.
- Split and partially rewrite _generate_vcproj. Configurations are now written in support functions. 
- Remove the creation of .vcproj.user files. They're rather pointless for our needs
- Start to add support for VS2010 (make msvc10), it's very incomplete at the moment so don't bother trying it.

After this commit, you can now use Visual Studio to build individual reactos components. Run 'make msvc9', open up any vcproj file, select the RosBuild config and hit the build/rebuild button. Working build features are 'build', 'rebuild' and 'clean'

svn path=/trunk/; revision=44343
2009-12-01 18:44:16 +00:00
Dmitry Gorbachev 378568a6d9 Update log2lines to version 1.4. Jan Roeloffzen, bug #4342.
svn path=/trunk/; revision=44335
2009-11-30 21:49:18 +00:00
Aleksey Bragin 5040fe13f1 [WIDL]
- Update widl to Wine-1.1.33.

svn path=/trunk/; revision=44284
2009-11-24 22:42:40 +00:00
KJK::Hyperion 590c766281 Reapplying r44182. Thanks to r44208, it should actually work this time
svn path=/trunk/; revision=44215
2009-11-17 16:18:34 +00:00
KJK::Hyperion 70faa1388d modified Makefile
$(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   New status line ECHO_RSP for built-in response file generator rule
   $(NL) variable that expands to a newline -- only known way to escape the newline character in GNU make

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   $(ECHO DLLTOOL) -> $(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   Generate a response file with the list of object files, instead of passing every single object file on the linker command line. Our really long linker command lines should no longer be an issue

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Clean files generated by externally-defined rules

Build issues fix 1/2 (1/3?)

svn path=/trunk/; revision=44208
2009-11-17 02:54:29 +00:00
Daniel Reimer 84e0310943 Revert yesterday's fix for now.
svn path=/trunk/; revision=44203
2009-11-16 18:32:30 +00:00
Daniel Reimer f3e43b25a8 kjk_hyperion: "Gross hack. People with RosBE installed to a path with spaces can now compile again. Emergency over."
svn path=/trunk/; revision=44182
2009-11-15 22:29:08 +00:00
KJK::Hyperion 7f4bf6c490 modified Makefile
Give poor pefixup its own echo line

modified   ReactOS-amd64.rbuild
modified   ReactOS-arm.rbuild
modified   ReactOS-i386.rbuild
   Set global linker flags globally
   Goodbye NTOSKRNL_SHARED

modified   tools/rbuild/backend/codeblocks/codeblocks.cpp
modified   tools/rbuild/backend/msvc/vcprojmaker.cpp
   Build fixes. I really want to delete these dead backends

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   Makefile rule for the linker. Also generates the .lib and .exp for DLLs, and obsoletes a whole lot of shitty rbuild code

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
   Specify module type-specific linker flags... in the specification of flags for module types, instead of wherever
   Fix generation of project-global linker and NASM flags
   Give better names to the variables that contain names of BE-provided libraries
   Don't put quotes around the names of BE-provided libraries, GNU make doesn't support quoting in any way, shape or form and quotes around filenames actually break shit on Windows (see <http://reactos-blog.blogspot.com/2009/11/gnu-make-fails-on-windows-with-multiple.html>). Just install the BE in a path without spaces in it
   Typo: LFLAGS is the flags for lex, flags for linker come from LDFLAGS

modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/module.cpp
modified   tools/rbuild/rbuild.h
   Moved generation of linker and import library generation rules out of rbuild and into sub-makefiles. A lot of code deleted, nothing of value was lost
   More LFLAGS -> LDFLAGS
   Goodbye mangledsymbols and underscoresymbols attributes, they don't do shit other than complicating my life
   If we have to add an underscore in front of the entry point name for some architectures, how about we do it in a single place?

modified   tools/rbuild/backend/mingw/rules.mak
   Minor cosmetic change

svn path=/trunk/; revision=44091
2009-11-11 03:41:14 +00:00
KJK::Hyperion 652e881f54 ... on the other hand, O_BINARY is a Win32 thing
svn path=/trunk/; revision=44060
2009-11-09 22:56:06 +00:00
KJK::Hyperion 34cce6f897 modified tools/pefixup.c
MinGW provides a good enough POSIX-like environment to do away with a couple platform checks/hacks
   Print error messages on stderr instead of stdout
   Don't print anything when pefixup does nothing - "no news is good news"

svn path=/trunk/; revision=44058
2009-11-09 22:42:17 +00:00