]>
git.tdb.fi Git - builder.git/log
Mikko Rasa [Tue, 17 Jul 2012 13:05:35 +0000 (16:05 +0300)]
Refactor create_build_info functions and fix build info application order
Mikko Rasa [Tue, 17 Jul 2012 12:26:46 +0000 (15:26 +0300)]
Merge BuildInfo::unique into update_from
Mikko Rasa [Tue, 17 Jul 2012 11:31:14 +0000 (14:31 +0300)]
Re-stat FileTargets after a successful build
Mikko Rasa [Tue, 17 Jul 2012 11:30:11 +0000 (14:30 +0300)]
Pass the full path to the Build file to SourcePackage and create a target for it
Mikko Rasa [Tue, 17 Jul 2012 10:37:56 +0000 (13:37 +0300)]
Hide the main package from the outside
Mikko Rasa [Mon, 16 Jul 2012 23:27:15 +0000 (02:27 +0300)]
Move to a more abstract way of defining warnings
Mikko Rasa [Mon, 16 Jul 2012 22:27:50 +0000 (01:27 +0300)]
Reorder Config members
Mikko Rasa [Mon, 16 Jul 2012 22:26:34 +0000 (01:26 +0300)]
Rewrite ObjectFile::generate_target_path to make it more robust
Mikko Rasa [Mon, 16 Jul 2012 22:26:07 +0000 (01:26 +0300)]
find_dependencies should not be public
Mikko Rasa [Mon, 16 Jul 2012 22:16:53 +0000 (01:16 +0300)]
Un-abbreviate some function and variable names
Mikko Rasa [Mon, 16 Jul 2012 20:58:29 +0000 (23:58 +0300)]
Target::prepare shouldn't be virtual
Mikko Rasa [Mon, 16 Jul 2012 20:56:40 +0000 (23:56 +0300)]
Call prepare_build before returning to save package configuration
Mikko Rasa [Mon, 16 Jul 2012 20:56:18 +0000 (23:56 +0300)]
Use the cached cwd value
Mikko Rasa [Mon, 16 Jul 2012 20:47:37 +0000 (23:47 +0300)]
ComponentList typedef isn't needed outside of SourcePackage
Mikko Rasa [Mon, 16 Jul 2012 20:46:26 +0000 (23:46 +0300)]
Let PackageManager take care of PKG_CONFIG_PATH
Mikko Rasa [Mon, 16 Jul 2012 19:25:26 +0000 (22:25 +0300)]
Check for missing symlinks
Mikko Rasa [Mon, 16 Jul 2012 19:24:58 +0000 (22:24 +0300)]
Miscellaneous style and comment tweaks
Mikko Rasa [Mon, 16 Jul 2012 19:23:00 +0000 (22:23 +0300)]
Rename create_targets to prepare_build and make it return bool
Mikko Rasa [Mon, 16 Jul 2012 18:24:58 +0000 (21:24 +0300)]
Trim down the package preparation code
Mikko Rasa [Mon, 16 Jul 2012 17:32:05 +0000 (20:32 +0300)]
Variables in Build files weren't such a hot idea. KISS.
Mikko Rasa [Mon, 16 Jul 2012 09:37:50 +0000 (12:37 +0300)]
Adjust option help texts
Mikko Rasa [Mon, 16 Jul 2012 09:33:50 +0000 (12:33 +0300)]
Having to specify package paths manually is stupid and un-modern
Mikko Rasa [Mon, 16 Jul 2012 09:13:31 +0000 (12:13 +0300)]
Evaluate conditions at load time to allow more flexibility
Mikko Rasa [Sun, 15 Jul 2012 21:09:37 +0000 (00:09 +0300)]
Make tempdir a global option
Mikko Rasa [Sun, 15 Jul 2012 19:27:11 +0000 (22:27 +0300)]
More reporting about reading and writing files and traversing directories
Mikko Rasa [Sun, 15 Jul 2012 17:53:55 +0000 (20:53 +0300)]
Comment changes
Mikko Rasa [Sun, 15 Jul 2012 17:29:59 +0000 (20:29 +0300)]
Add a statically linked release build type
Mikko Rasa [Sun, 15 Jul 2012 17:29:35 +0000 (20:29 +0300)]
Refactor Binary::find_depends
Mikko Rasa [Sun, 15 Jul 2012 17:18:15 +0000 (20:18 +0300)]
Move library mode into BuildInfo
Mikko Rasa [Sun, 15 Jul 2012 17:14:01 +0000 (20:14 +0300)]
Fix shared library installation
Mikko Rasa [Sun, 15 Jul 2012 16:43:45 +0000 (19:43 +0300)]
Redesign the library mode system
Mikko Rasa [Sun, 15 Jul 2012 15:59:11 +0000 (18:59 +0300)]
Fix a crash in Binary
Mikko Rasa [Sun, 15 Jul 2012 13:56:14 +0000 (16:56 +0300)]
Replace the overly generic configuration profiles with something more purposeful
Mikko Rasa [Sun, 15 Jul 2012 12:10:37 +0000 (15:10 +0300)]
Make Target::build virtual and move the unlink call to FileTarget
Mikko Rasa [Sun, 15 Jul 2012 11:41:30 +0000 (14:41 +0300)]
Rearrange Target members
Mikko Rasa [Sat, 14 Jul 2012 19:21:22 +0000 (22:21 +0300)]
Be more efficient when running commands synchronously
Mikko Rasa [Sat, 14 Jul 2012 19:18:15 +0000 (22:18 +0300)]
Utility function for capturing command output
Mikko Rasa [Sat, 14 Jul 2012 19:04:26 +0000 (22:04 +0300)]
Simpler way to check g++ version
Mikko Rasa [Sat, 14 Jul 2012 13:45:39 +0000 (16:45 +0300)]
Include the environment channel in verbose level 2
Mikko Rasa [Sat, 14 Jul 2012 13:26:58 +0000 (16:26 +0300)]
Clean up some unused cruft
Mikko Rasa [Sat, 14 Jul 2012 11:41:35 +0000 (14:41 +0300)]
Get rid of the install flags, which weren't entirely correct anyway
Mikko Rasa [Sat, 14 Jul 2012 10:31:18 +0000 (13:31 +0300)]
Externalize dry run handling from Config and DependencyCache
Mikko Rasa [Tue, 10 Jul 2012 20:54:55 +0000 (23:54 +0300)]
Make Target::add_depend take a reference since null is not allowed
Mikko Rasa [Tue, 10 Jul 2012 20:52:57 +0000 (23:52 +0300)]
Better way to set cross_prefix in architectures
Mikko Rasa [Tue, 10 Jul 2012 20:51:10 +0000 (23:51 +0300)]
Document a lot of classes and functions
Mikko Rasa [Tue, 10 Jul 2012 15:38:41 +0000 (18:38 +0300)]
Use ObjectLoaders where appropriate
Mikko Rasa [Tue, 10 Jul 2012 15:20:44 +0000 (18:20 +0300)]
Deprecate the headers component type
Mikko Rasa [Tue, 10 Jul 2012 14:32:05 +0000 (17:32 +0300)]
Remove dead code
Mikko Rasa [Tue, 10 Jul 2012 14:23:10 +0000 (17:23 +0300)]
Flexible way to specify install locations for components
Mikko Rasa [Tue, 10 Jul 2012 09:26:16 +0000 (12:26 +0300)]
Don't use -fPIC on windows since it makes mingw emit a warning
Mikko Rasa [Tue, 10 Jul 2012 09:25:52 +0000 (12:25 +0300)]
Installing only makes sense for file targets
Mikko Rasa [Tue, 10 Jul 2012 09:24:08 +0000 (12:24 +0300)]
Make install_location a path
Mikko Rasa [Mon, 9 Jul 2012 13:20:33 +0000 (16:20 +0300)]
Use correct typedefs
Mikko Rasa [Mon, 9 Jul 2012 13:08:41 +0000 (16:08 +0300)]
Refactor FileTarget and SourceFile constructors
Mikko Rasa [Mon, 9 Jul 2012 10:57:15 +0000 (13:57 +0300)]
create the tools when everything else is ready
Mikko Rasa [Sun, 8 Jul 2012 23:14:28 +0000 (02:14 +0300)]
Don't store component locally in object and source files
Mikko Rasa [Sun, 8 Jul 2012 22:58:36 +0000 (01:58 +0300)]
Put constructor helper functions next to the constructors
Mikko Rasa [Sun, 8 Jul 2012 22:53:13 +0000 (01:53 +0300)]
Remove a useless forward declaration
Mikko Rasa [Sun, 8 Jul 2012 22:50:23 +0000 (01:50 +0300)]
Binary packages can't have files, so avoid some dynamic casts
Mikko Rasa [Sun, 8 Jul 2012 22:39:37 +0000 (01:39 +0300)]
Connect to bubble_rebuild signals after preparing to avoid confusion
Mikko Rasa [Sun, 8 Jul 2012 21:07:02 +0000 (00:07 +0300)]
Make tools architecture-aware and restore cross-compilation functionality
Mikko Rasa [Sun, 8 Jul 2012 21:01:37 +0000 (00:01 +0300)]
Add a method to determine whether an architecture requires cross-compilation
Mikko Rasa [Sun, 8 Jul 2012 21:00:34 +0000 (00:00 +0300)]
Remove extraneous std:: qualifiers
Mikko Rasa [Sun, 8 Jul 2012 20:43:53 +0000 (23:43 +0300)]
It's no longer necessary to store the name in GnuCompiler
Mikko Rasa [Sun, 8 Jul 2012 20:27:44 +0000 (23:27 +0300)]
Make targets depend on their tools
Mikko Rasa [Sun, 8 Jul 2012 20:24:19 +0000 (23:24 +0300)]
Store a target representing the executable in each tool
Mikko Rasa [Sun, 8 Jul 2012 20:17:56 +0000 (23:17 +0300)]
Make VirtualFileSystem able to find binaries
Mikko Rasa [Sun, 8 Jul 2012 20:15:50 +0000 (23:15 +0300)]
Split GnuLinker into sub-tools and select the appropriate one in create_target
Mikko Rasa [Sun, 8 Jul 2012 20:11:01 +0000 (23:11 +0300)]
Add SubTool class
Mikko Rasa [Sun, 8 Jul 2012 20:08:55 +0000 (23:08 +0300)]
Allow constructing package-less Executables
Mikko Rasa [Sun, 8 Jul 2012 20:08:40 +0000 (23:08 +0300)]
Fix an incorrect exception message
Mikko Rasa [Sun, 8 Jul 2012 20:06:51 +0000 (23:06 +0300)]
Don't copy cpu from a potentially incompatible architecture
Mikko Rasa [Sun, 8 Jul 2012 14:17:29 +0000 (17:17 +0300)]
Add documentation for VirtualFileSystem::get_target
Mikko Rasa [Sun, 8 Jul 2012 14:14:58 +0000 (17:14 +0300)]
Some additional log statements
Mikko Rasa [Sun, 8 Jul 2012 14:14:10 +0000 (17:14 +0300)]
Avoid killing internal worker threads
Mikko Rasa [Sun, 8 Jul 2012 14:13:42 +0000 (17:13 +0300)]
Use Path objects to store include and library paths
Mikko Rasa [Sun, 8 Jul 2012 14:10:54 +0000 (17:10 +0300)]
Remove a stray old #include
Mikko Rasa [Sun, 8 Jul 2012 14:04:05 +0000 (17:04 +0300)]
Turn the unique function into a template and make it more efficient
Mikko Rasa [Sun, 8 Jul 2012 13:17:11 +0000 (16:17 +0300)]
Rewrite the find_* functions
Mikko Rasa [Thu, 5 Jul 2012 11:05:36 +0000 (14:05 +0300)]
Better logging system
Mikko Rasa [Sat, 23 Jun 2012 20:35:42 +0000 (23:35 +0300)]
Remove an unused member
Mikko Rasa [Sat, 23 Jun 2012 18:50:13 +0000 (21:50 +0300)]
Move package management to a separate class
Mikko Rasa [Sat, 23 Jun 2012 18:46:14 +0000 (21:46 +0300)]
Turn the force rebuild logic around
Mikko Rasa [Sat, 23 Jun 2012 18:21:02 +0000 (21:21 +0300)]
Add descriptions to some functions
Mikko Rasa [Sat, 23 Jun 2012 18:14:08 +0000 (21:14 +0300)]
Apply what-ifs after preparation so implicitly created targets may be specified
Mikko Rasa [Sat, 23 Jun 2012 17:50:09 +0000 (20:50 +0300)]
Add a signal to propagate rebuild state after preparation
Mikko Rasa [Sat, 23 Jun 2012 18:24:15 +0000 (21:24 +0300)]
Fix a forward declaration
Mikko Rasa [Wed, 20 Jun 2012 21:02:55 +0000 (00:02 +0300)]
Move some target creation logic to SourcePackage
Mikko Rasa [Fri, 8 Jun 2012 22:58:04 +0000 (01:58 +0300)]
Make BuildInfo uniquify things implicitly after update
Mikko Rasa [Fri, 8 Jun 2012 22:57:28 +0000 (01:57 +0300)]
Comment updates
Mikko Rasa [Fri, 8 Jun 2012 22:56:34 +0000 (01:56 +0300)]
Use the tool to create headers
Mikko Rasa [Fri, 8 Jun 2012 22:55:37 +0000 (01:55 +0300)]
Allow sources to be created without a component
Mikko Rasa [Fri, 8 Jun 2012 22:54:26 +0000 (01:54 +0300)]
Retrieve system paths from appropriate tools
Mikko Rasa [Fri, 8 Jun 2012 22:52:16 +0000 (01:52 +0300)]
Make tools capable of reporting a system-wide path used to locate input files
Mikko Rasa [Fri, 8 Jun 2012 22:47:17 +0000 (01:47 +0300)]
Add a list of auxiliary suffixes to Tool
Mikko Rasa [Fri, 8 Jun 2012 22:45:04 +0000 (01:45 +0300)]
Don't pass including file location to find_header
Mikko Rasa [Fri, 8 Jun 2012 07:38:52 +0000 (10:38 +0300)]
Early check for file existence to avoid exception handling
Mikko Rasa [Fri, 8 Jun 2012 07:30:05 +0000 (10:30 +0300)]
Allow omitting workdir in ExternalTask constructor call
Mikko Rasa [Fri, 8 Jun 2012 07:25:14 +0000 (10:25 +0300)]
Use a typedef for ExternalTask arguments
Mikko Rasa [Fri, 8 Jun 2012 07:22:07 +0000 (10:22 +0300)]
Check the existence of dependencies beforehand rather than catching the exception